@pacaf/wizard-ux 3.0.8 → 3.0.9

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 P3=Object.defineProperty;var q1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r in e?P3(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n;var H=(e,r,n)=>I3(e,typeof r!="symbol"?r+"":r,n),kh=(e,r,n)=>r.has(e)||q1("Cannot "+n);var A=(e,r,n)=>(kh(e,r,"read from private field"),n?n.call(e):r.get(e)),be=(e,r,n)=>r.has(e)?q1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,n),le=(e,r,n,a)=>(kh(e,r,"write to private field"),a?a.call(e,n):r.set(e,n),n),je=(e,r,n)=>(kh(e,r,"access private method"),n);var $c=(e,r,n,a)=>({set _(s){le(e,r,s,n)},get _(){return A(e,r,a)}});function Ly(e,r){for(var n=0;n<r.length;n++){const a=r[n];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&a(u)}).observe(document,{childList:!0,subtree:!0});function n(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(s){if(s.ep)return;s.ep=!0;const c=n(s);fetch(s.href,c)}})();function Py(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bh={exports:{}},Wl={};/**
1
+ var P3=Object.defineProperty;var F1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r in e?P3(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n;var H=(e,r,n)=>I3(e,typeof r!="symbol"?r+"":r,n),kh=(e,r,n)=>r.has(e)||F1("Cannot "+n);var A=(e,r,n)=>(kh(e,r,"read from private field"),n?n.call(e):r.get(e)),be=(e,r,n)=>r.has(e)?F1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,n),le=(e,r,n,a)=>(kh(e,r,"write to private field"),a?a.call(e,n):r.set(e,n),n),je=(e,r,n)=>(kh(e,r,"access private method"),n);var $c=(e,r,n,a)=>({set _(s){le(e,r,s,n)},get _(){return A(e,r,a)}});function Py(e,r){for(var n=0;n<r.length;n++){const a=r[n];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&a(u)}).observe(document,{childList:!0,subtree:!0});function n(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(s){if(s.ep)return;s.ep=!0;const c=n(s);fetch(s.href,c)}})();function Iy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bh={exports:{}},Yl={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@ var P3=Object.defineProperty;var q1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r 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 U3(){if(F1)return Wl;F1=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function n(a,s,c){var u=null;if(c!==void 0&&(u=""+c),s.key!==void 0&&(u=""+s.key),"key"in s){c={};for(var d in s)d!=="key"&&(c[d]=s[d])}else c=s;return s=c.ref,{$$typeof:e,type:a,key:u,ref:s!==void 0?s:null,props:c}}return Wl.Fragment=r,Wl.jsx=n,Wl.jsxs=n,Wl}var H1;function V3(){return H1||(H1=1,Bh.exports=U3()),Bh.exports}var B=V3();const G3=Py(B),X3=Ly({__proto__:null,default:G3},[B]);var _h={exports:{}},Te={};/**
9
+ */var H1;function U3(){if(H1)return Yl;H1=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function n(a,s,c){var u=null;if(c!==void 0&&(u=""+c),s.key!==void 0&&(u=""+s.key),"key"in s){c={};for(var d in s)d!=="key"&&(c[d]=s[d])}else c=s;return s=c.ref,{$$typeof:e,type:a,key:u,ref:s!==void 0?s:null,props:c}}return Yl.Fragment=r,Yl.jsx=n,Yl.jsxs=n,Yl}var L1;function V3(){return L1||(L1=1,Bh.exports=U3()),Bh.exports}var B=V3();const G3=Iy(B),X3=Py({__proto__:null,default:G3},[B]);var _h={exports:{}},Te={};/**
10
10
  * @license React
11
11
  * react.production.js
12
12
  *
@@ -14,7 +14,7 @@ var P3=Object.defineProperty;var q1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r 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 L1;function W3(){if(L1)return Te;L1=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),S=Symbol.iterator;function k(D){return D===null||typeof D!="object"?null:(D=S&&D[S]||D["@@iterator"],typeof D=="function"?D:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,z={};function T(D,L,Z){this.props=D,this.context=L,this.refs=z,this.updater=Z||w}T.prototype.isReactComponent={},T.prototype.setState=function(D,L){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,L,"setState")},T.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function j(){}j.prototype=T.prototype;function N(D,L,Z){this.props=D,this.context=L,this.refs=z,this.updater=Z||w}var C=N.prototype=new j;C.constructor=N,x(C,T.prototype),C.isPureReactComponent=!0;var E=Array.isArray;function M(){}var Q={H:null,A:null,T:null,S:null},G=Object.prototype.hasOwnProperty;function oe(D,L,Z){var ne=Z.ref;return{$$typeof:e,type:D,key:L,ref:ne!==void 0?ne:null,props:Z}}function ie(D,L){return oe(D.type,L,D.props)}function ve(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function ae(D){var L={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(Z){return L[Z]})}var ue=/\/+/g;function re(D,L){return typeof D=="object"&&D!==null&&D.key!=null?ae(""+D.key):L.toString(36)}function ye(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(M,M):(D.status="pending",D.then(function(L){D.status==="pending"&&(D.status="fulfilled",D.value=L)},function(L){D.status==="pending"&&(D.status="rejected",D.reason=L)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function P(D,L,Z,ne,fe){var ke=typeof D;(ke==="undefined"||ke==="boolean")&&(D=null);var De=!1;if(D===null)De=!0;else switch(ke){case"bigint":case"string":case"number":De=!0;break;case"object":switch(D.$$typeof){case e:case r:De=!0;break;case m:return De=D._init,P(De(D._payload),L,Z,ne,fe)}}if(De)return fe=fe(D),De=ne===""?"."+re(D,0):ne,E(fe)?(Z="",De!=null&&(Z=De.replace(ue,"$&/")+"/"),P(fe,L,Z,"",function(He){return He})):fe!=null&&(ve(fe)&&(fe=ie(fe,Z+(fe.key==null||D&&D.key===fe.key?"":(""+fe.key).replace(ue,"$&/")+"/")+De)),L.push(fe)),1;De=0;var bt=ne===""?".":ne+":";if(E(D))for(var pe=0;pe<D.length;pe++)ne=D[pe],ke=bt+re(ne,pe),De+=P(ne,L,Z,ke,fe);else if(pe=k(D),typeof pe=="function")for(D=pe.call(D),pe=0;!(ne=D.next()).done;)ne=ne.value,ke=bt+re(ne,pe++),De+=P(ne,L,Z,ke,fe);else if(ke==="object"){if(typeof D.then=="function")return P(ye(D),L,Z,ne,fe);throw L=String(D),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return De}function J(D,L,Z){if(D==null)return D;var ne=[],fe=0;return P(D,ne,"","",function(ke){return L.call(Z,ke,fe++)}),ne}function te(D){if(D._status===-1){var L=D._result;L=L(),L.then(function(Z){(D._status===0||D._status===-1)&&(D._status=1,D._result=Z)},function(Z){(D._status===0||D._status===-1)&&(D._status=2,D._result=Z)}),D._status===-1&&(D._status=0,D._result=L)}if(D._status===1)return D._result.default;throw D._result}var ce=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},ze={map:J,forEach:function(D,L,Z){J(D,function(){L.apply(this,arguments)},Z)},count:function(D){var L=0;return J(D,function(){L++}),L},toArray:function(D){return J(D,function(L){return L})||[]},only:function(D){if(!ve(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Te.Activity=v,Te.Children=ze,Te.Component=T,Te.Fragment=n,Te.Profiler=s,Te.PureComponent=N,Te.StrictMode=a,Te.Suspense=g,Te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,Te.__COMPILER_RUNTIME={__proto__:null,c:function(D){return Q.H.useMemoCache(D)}},Te.cache=function(D){return function(){return D.apply(null,arguments)}},Te.cacheSignal=function(){return null},Te.cloneElement=function(D,L,Z){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var ne=x({},D.props),fe=D.key;if(L!=null)for(ke in L.key!==void 0&&(fe=""+L.key),L)!G.call(L,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&L.ref===void 0||(ne[ke]=L[ke]);var ke=arguments.length-2;if(ke===1)ne.children=Z;else if(1<ke){for(var De=Array(ke),bt=0;bt<ke;bt++)De[bt]=arguments[bt+2];ne.children=De}return oe(D.type,fe,ne)},Te.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:c,_context:D},D},Te.createElement=function(D,L,Z){var ne,fe={},ke=null;if(L!=null)for(ne in L.key!==void 0&&(ke=""+L.key),L)G.call(L,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(fe[ne]=L[ne]);var De=arguments.length-2;if(De===1)fe.children=Z;else if(1<De){for(var bt=Array(De),pe=0;pe<De;pe++)bt[pe]=arguments[pe+2];fe.children=bt}if(D&&D.defaultProps)for(ne in De=D.defaultProps,De)fe[ne]===void 0&&(fe[ne]=De[ne]);return oe(D,ke,fe)},Te.createRef=function(){return{current:null}},Te.forwardRef=function(D){return{$$typeof:d,render:D}},Te.isValidElement=ve,Te.lazy=function(D){return{$$typeof:m,_payload:{_status:-1,_result:D},_init:te}},Te.memo=function(D,L){return{$$typeof:p,type:D,compare:L===void 0?null:L}},Te.startTransition=function(D){var L=Q.T,Z={};Q.T=Z;try{var ne=D(),fe=Q.S;fe!==null&&fe(Z,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(M,ce)}catch(ke){ce(ke)}finally{L!==null&&Z.types!==null&&(L.types=Z.types),Q.T=L}},Te.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},Te.use=function(D){return Q.H.use(D)},Te.useActionState=function(D,L,Z){return Q.H.useActionState(D,L,Z)},Te.useCallback=function(D,L){return Q.H.useCallback(D,L)},Te.useContext=function(D){return Q.H.useContext(D)},Te.useDebugValue=function(){},Te.useDeferredValue=function(D,L){return Q.H.useDeferredValue(D,L)},Te.useEffect=function(D,L){return Q.H.useEffect(D,L)},Te.useEffectEvent=function(D){return Q.H.useEffectEvent(D)},Te.useId=function(){return Q.H.useId()},Te.useImperativeHandle=function(D,L,Z){return Q.H.useImperativeHandle(D,L,Z)},Te.useInsertionEffect=function(D,L){return Q.H.useInsertionEffect(D,L)},Te.useLayoutEffect=function(D,L){return Q.H.useLayoutEffect(D,L)},Te.useMemo=function(D,L){return Q.H.useMemo(D,L)},Te.useOptimistic=function(D,L){return Q.H.useOptimistic(D,L)},Te.useReducer=function(D,L,Z){return Q.H.useReducer(D,L,Z)},Te.useRef=function(D){return Q.H.useRef(D)},Te.useState=function(D){return Q.H.useState(D)},Te.useSyncExternalStore=function(D,L,Z){return Q.H.useSyncExternalStore(D,L,Z)},Te.useTransition=function(){return Q.H.useTransition()},Te.version="19.2.6",Te}var P1;function M0(){return P1||(P1=1,_h.exports=W3()),_h.exports}var y=M0();const Jh=Py(y),mu=Ly({__proto__:null,default:Jh},[y]);var zh={exports:{}},Ql={},Th={exports:{}},Nh={};/**
17
+ */var P1;function W3(){if(P1)return Te;P1=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),S=Symbol.iterator;function k(D){return D===null||typeof D!="object"?null:(D=S&&D[S]||D["@@iterator"],typeof D=="function"?D:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,z={};function T(D,L,Z){this.props=D,this.context=L,this.refs=z,this.updater=Z||w}T.prototype.isReactComponent={},T.prototype.setState=function(D,L){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,L,"setState")},T.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function j(){}j.prototype=T.prototype;function N(D,L,Z){this.props=D,this.context=L,this.refs=z,this.updater=Z||w}var C=N.prototype=new j;C.constructor=N,x(C,T.prototype),C.isPureReactComponent=!0;var E=Array.isArray;function M(){}var W={H:null,A:null,T:null,S:null},G=Object.prototype.hasOwnProperty;function oe(D,L,Z){var ne=Z.ref;return{$$typeof:e,type:D,key:L,ref:ne!==void 0?ne:null,props:Z}}function ie(D,L){return oe(D.type,L,D.props)}function ve(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function ae(D){var L={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(Z){return L[Z]})}var ue=/\/+/g;function re(D,L){return typeof D=="object"&&D!==null&&D.key!=null?ae(""+D.key):L.toString(36)}function ye(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(M,M):(D.status="pending",D.then(function(L){D.status==="pending"&&(D.status="fulfilled",D.value=L)},function(L){D.status==="pending"&&(D.status="rejected",D.reason=L)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function P(D,L,Z,ne,fe){var ke=typeof D;(ke==="undefined"||ke==="boolean")&&(D=null);var De=!1;if(D===null)De=!0;else switch(ke){case"bigint":case"string":case"number":De=!0;break;case"object":switch(D.$$typeof){case e:case r:De=!0;break;case m:return De=D._init,P(De(D._payload),L,Z,ne,fe)}}if(De)return fe=fe(D),De=ne===""?"."+re(D,0):ne,E(fe)?(Z="",De!=null&&(Z=De.replace(ue,"$&/")+"/"),P(fe,L,Z,"",function(He){return He})):fe!=null&&(ve(fe)&&(fe=ie(fe,Z+(fe.key==null||D&&D.key===fe.key?"":(""+fe.key).replace(ue,"$&/")+"/")+De)),L.push(fe)),1;De=0;var bt=ne===""?".":ne+":";if(E(D))for(var pe=0;pe<D.length;pe++)ne=D[pe],ke=bt+re(ne,pe),De+=P(ne,L,Z,ke,fe);else if(pe=k(D),typeof pe=="function")for(D=pe.call(D),pe=0;!(ne=D.next()).done;)ne=ne.value,ke=bt+re(ne,pe++),De+=P(ne,L,Z,ke,fe);else if(ke==="object"){if(typeof D.then=="function")return P(ye(D),L,Z,ne,fe);throw L=String(D),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return De}function J(D,L,Z){if(D==null)return D;var ne=[],fe=0;return P(D,ne,"","",function(ke){return L.call(Z,ke,fe++)}),ne}function te(D){if(D._status===-1){var L=D._result;L=L(),L.then(function(Z){(D._status===0||D._status===-1)&&(D._status=1,D._result=Z)},function(Z){(D._status===0||D._status===-1)&&(D._status=2,D._result=Z)}),D._status===-1&&(D._status=0,D._result=L)}if(D._status===1)return D._result.default;throw D._result}var ce=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},ze={map:J,forEach:function(D,L,Z){J(D,function(){L.apply(this,arguments)},Z)},count:function(D){var L=0;return J(D,function(){L++}),L},toArray:function(D){return J(D,function(L){return L})||[]},only:function(D){if(!ve(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Te.Activity=v,Te.Children=ze,Te.Component=T,Te.Fragment=n,Te.Profiler=s,Te.PureComponent=N,Te.StrictMode=a,Te.Suspense=g,Te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,Te.__COMPILER_RUNTIME={__proto__:null,c:function(D){return W.H.useMemoCache(D)}},Te.cache=function(D){return function(){return D.apply(null,arguments)}},Te.cacheSignal=function(){return null},Te.cloneElement=function(D,L,Z){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var ne=x({},D.props),fe=D.key;if(L!=null)for(ke in L.key!==void 0&&(fe=""+L.key),L)!G.call(L,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&L.ref===void 0||(ne[ke]=L[ke]);var ke=arguments.length-2;if(ke===1)ne.children=Z;else if(1<ke){for(var De=Array(ke),bt=0;bt<ke;bt++)De[bt]=arguments[bt+2];ne.children=De}return oe(D.type,fe,ne)},Te.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:c,_context:D},D},Te.createElement=function(D,L,Z){var ne,fe={},ke=null;if(L!=null)for(ne in L.key!==void 0&&(ke=""+L.key),L)G.call(L,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(fe[ne]=L[ne]);var De=arguments.length-2;if(De===1)fe.children=Z;else if(1<De){for(var bt=Array(De),pe=0;pe<De;pe++)bt[pe]=arguments[pe+2];fe.children=bt}if(D&&D.defaultProps)for(ne in De=D.defaultProps,De)fe[ne]===void 0&&(fe[ne]=De[ne]);return oe(D,ke,fe)},Te.createRef=function(){return{current:null}},Te.forwardRef=function(D){return{$$typeof:d,render:D}},Te.isValidElement=ve,Te.lazy=function(D){return{$$typeof:m,_payload:{_status:-1,_result:D},_init:te}},Te.memo=function(D,L){return{$$typeof:p,type:D,compare:L===void 0?null:L}},Te.startTransition=function(D){var L=W.T,Z={};W.T=Z;try{var ne=D(),fe=W.S;fe!==null&&fe(Z,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(M,ce)}catch(ke){ce(ke)}finally{L!==null&&Z.types!==null&&(L.types=Z.types),W.T=L}},Te.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},Te.use=function(D){return W.H.use(D)},Te.useActionState=function(D,L,Z){return W.H.useActionState(D,L,Z)},Te.useCallback=function(D,L){return W.H.useCallback(D,L)},Te.useContext=function(D){return W.H.useContext(D)},Te.useDebugValue=function(){},Te.useDeferredValue=function(D,L){return W.H.useDeferredValue(D,L)},Te.useEffect=function(D,L){return W.H.useEffect(D,L)},Te.useEffectEvent=function(D){return W.H.useEffectEvent(D)},Te.useId=function(){return W.H.useId()},Te.useImperativeHandle=function(D,L,Z){return W.H.useImperativeHandle(D,L,Z)},Te.useInsertionEffect=function(D,L){return W.H.useInsertionEffect(D,L)},Te.useLayoutEffect=function(D,L){return W.H.useLayoutEffect(D,L)},Te.useMemo=function(D,L){return W.H.useMemo(D,L)},Te.useOptimistic=function(D,L){return W.H.useOptimistic(D,L)},Te.useReducer=function(D,L,Z){return W.H.useReducer(D,L,Z)},Te.useRef=function(D){return W.H.useRef(D)},Te.useState=function(D){return W.H.useState(D)},Te.useSyncExternalStore=function(D,L,Z){return W.H.useSyncExternalStore(D,L,Z)},Te.useTransition=function(){return W.H.useTransition()},Te.version="19.2.6",Te}var I1;function q0(){return I1||(I1=1,_h.exports=W3()),_h.exports}var y=q0();const Jh=Iy(y),mu=Py({__proto__:null,default:Jh},[y]);var zh={exports:{}},$l={},Th={exports:{}},Nh={};/**
18
18
  * @license React
19
19
  * scheduler.production.js
20
20
  *
@@ -22,7 +22,7 @@ var P3=Object.defineProperty;var q1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r 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 Q3(){return I1||(I1=1,(function(e){function r(P,J){var te=P.length;P.push(J);e:for(;0<te;){var ce=te-1>>>1,ze=P[ce];if(0<s(ze,J))P[ce]=J,P[te]=ze,te=ce;else break e}}function n(P){return P.length===0?null:P[0]}function a(P){if(P.length===0)return null;var J=P[0],te=P.pop();if(te!==J){P[0]=te;e:for(var ce=0,ze=P.length,D=ze>>>1;ce<D;){var L=2*(ce+1)-1,Z=P[L],ne=L+1,fe=P[ne];if(0>s(Z,te))ne<ze&&0>s(fe,Z)?(P[ce]=fe,P[ne]=te,ce=ne):(P[ce]=Z,P[L]=te,ce=L);else if(ne<ze&&0>s(fe,te))P[ce]=fe,P[ne]=te,ce=ne;else break e}}return J}function s(P,J){var te=P.sortIndex-J.sortIndex;return te!==0?te:P.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var g=[],p=[],m=1,v=null,S=3,k=!1,w=!1,x=!1,z=!1,T=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function C(P){for(var J=n(p);J!==null;){if(J.callback===null)a(p);else if(J.startTime<=P)a(p),J.sortIndex=J.expirationTime,r(g,J);else break;J=n(p)}}function E(P){if(x=!1,C(P),!w)if(n(g)!==null)w=!0,M||(M=!0,ae());else{var J=n(p);J!==null&&ye(E,J.startTime-P)}}var M=!1,Q=-1,G=5,oe=-1;function ie(){return z?!0:!(e.unstable_now()-oe<G)}function ve(){if(z=!1,M){var P=e.unstable_now();oe=P;var J=!0;try{e:{w=!1,x&&(x=!1,j(Q),Q=-1),k=!0;var te=S;try{t:{for(C(P),v=n(g);v!==null&&!(v.expirationTime>P&&ie());){var ce=v.callback;if(typeof ce=="function"){v.callback=null,S=v.priorityLevel;var ze=ce(v.expirationTime<=P);if(P=e.unstable_now(),typeof ze=="function"){v.callback=ze,C(P),J=!0;break t}v===n(g)&&a(g),C(P)}else a(g);v=n(g)}if(v!==null)J=!0;else{var D=n(p);D!==null&&ye(E,D.startTime-P),J=!1}}break e}finally{v=null,S=te,k=!1}J=void 0}}finally{J?ae():M=!1}}}var ae;if(typeof N=="function")ae=function(){N(ve)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,re=ue.port2;ue.port1.onmessage=ve,ae=function(){re.postMessage(null)}}else ae=function(){T(ve,0)};function ye(P,J){Q=T(function(){P(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_next=function(P){switch(S){case 1:case 2:case 3:var J=3;break;default:J=S}var te=S;S=J;try{return P()}finally{S=te}},e.unstable_requestPaint=function(){z=!0},e.unstable_runWithPriority=function(P,J){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var te=S;S=P;try{return J()}finally{S=te}},e.unstable_scheduleCallback=function(P,J,te){var ce=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ce+te:ce):te=ce,P){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=te+ze,P={id:m++,callback:J,priorityLevel:P,startTime:te,expirationTime:ze,sortIndex:-1},te>ce?(P.sortIndex=te,r(p,P),n(g)===null&&P===n(p)&&(x?(j(Q),Q=-1):x=!0,ye(E,te-ce))):(P.sortIndex=ze,r(g,P),w||k||(w=!0,M||(M=!0,ae()))),P},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(P){var J=S;return function(){var te=S;S=J;try{return P.apply(this,arguments)}finally{S=te}}}})(Nh)),Nh}var U1;function Iy(){return U1||(U1=1,Th.exports=Q3()),Th.exports}var Ch={exports:{}},Lt={};/**
25
+ */var U1;function Q3(){return U1||(U1=1,(function(e){function r(P,J){var te=P.length;P.push(J);e:for(;0<te;){var ce=te-1>>>1,ze=P[ce];if(0<s(ze,J))P[ce]=J,P[te]=ze,te=ce;else break e}}function n(P){return P.length===0?null:P[0]}function a(P){if(P.length===0)return null;var J=P[0],te=P.pop();if(te!==J){P[0]=te;e:for(var ce=0,ze=P.length,D=ze>>>1;ce<D;){var L=2*(ce+1)-1,Z=P[L],ne=L+1,fe=P[ne];if(0>s(Z,te))ne<ze&&0>s(fe,Z)?(P[ce]=fe,P[ne]=te,ce=ne):(P[ce]=Z,P[L]=te,ce=L);else if(ne<ze&&0>s(fe,te))P[ce]=fe,P[ne]=te,ce=ne;else break e}}return J}function s(P,J){var te=P.sortIndex-J.sortIndex;return te!==0?te:P.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var g=[],p=[],m=1,v=null,S=3,k=!1,w=!1,x=!1,z=!1,T=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function C(P){for(var J=n(p);J!==null;){if(J.callback===null)a(p);else if(J.startTime<=P)a(p),J.sortIndex=J.expirationTime,r(g,J);else break;J=n(p)}}function E(P){if(x=!1,C(P),!w)if(n(g)!==null)w=!0,M||(M=!0,ae());else{var J=n(p);J!==null&&ye(E,J.startTime-P)}}var M=!1,W=-1,G=5,oe=-1;function ie(){return z?!0:!(e.unstable_now()-oe<G)}function ve(){if(z=!1,M){var P=e.unstable_now();oe=P;var J=!0;try{e:{w=!1,x&&(x=!1,j(W),W=-1),k=!0;var te=S;try{t:{for(C(P),v=n(g);v!==null&&!(v.expirationTime>P&&ie());){var ce=v.callback;if(typeof ce=="function"){v.callback=null,S=v.priorityLevel;var ze=ce(v.expirationTime<=P);if(P=e.unstable_now(),typeof ze=="function"){v.callback=ze,C(P),J=!0;break t}v===n(g)&&a(g),C(P)}else a(g);v=n(g)}if(v!==null)J=!0;else{var D=n(p);D!==null&&ye(E,D.startTime-P),J=!1}}break e}finally{v=null,S=te,k=!1}J=void 0}}finally{J?ae():M=!1}}}var ae;if(typeof N=="function")ae=function(){N(ve)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,re=ue.port2;ue.port1.onmessage=ve,ae=function(){re.postMessage(null)}}else ae=function(){T(ve,0)};function ye(P,J){W=T(function(){P(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_next=function(P){switch(S){case 1:case 2:case 3:var J=3;break;default:J=S}var te=S;S=J;try{return P()}finally{S=te}},e.unstable_requestPaint=function(){z=!0},e.unstable_runWithPriority=function(P,J){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var te=S;S=P;try{return J()}finally{S=te}},e.unstable_scheduleCallback=function(P,J,te){var ce=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ce+te:ce):te=ce,P){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=te+ze,P={id:m++,callback:J,priorityLevel:P,startTime:te,expirationTime:ze,sortIndex:-1},te>ce?(P.sortIndex=te,r(p,P),n(g)===null&&P===n(p)&&(x?(j(W),W=-1):x=!0,ye(E,te-ce))):(P.sortIndex=ze,r(g,P),w||k||(w=!0,M||(M=!0,ae()))),P},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(P){var J=S;return function(){var te=S;S=J;try{return P.apply(this,arguments)}finally{S=te}}}})(Nh)),Nh}var V1;function Uy(){return V1||(V1=1,Th.exports=Q3()),Th.exports}var Ch={exports:{}},Lt={};/**
26
26
  * @license React
27
27
  * react-dom.production.js
28
28
  *
@@ -30,7 +30,7 @@ var P3=Object.defineProperty;var q1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r 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 V1;function Y3(){if(V1)return Lt;V1=1;var e=M0();function r(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(r(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(g,p,m){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:g,containerInfo:p,implementation:m}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Lt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Lt.createPortal=function(g,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return c(g,p,null,m)},Lt.flushSync=function(g){var p=u.T,m=a.p;try{if(u.T=null,a.p=2,g)return g()}finally{u.T=p,a.p=m,a.d.f()}},Lt.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(g,p))},Lt.prefetchDNS=function(g){typeof g=="string"&&a.d.D(g)},Lt.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var m=p.as,v=d(m,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,k=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:S,fetchPriority:k}):m==="script"&&a.d.X(g,{crossOrigin:v,integrity:S,fetchPriority:k,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Lt.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=d(p.as,p.crossOrigin);a.d.M(g,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(g)},Lt.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,v=d(m,p.crossOrigin);a.d.L(g,m,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Lt.preloadModule=function(g,p){if(typeof g=="string")if(p){var m=d(p.as,p.crossOrigin);a.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(g)},Lt.requestFormReset=function(g){a.d.r(g)},Lt.unstable_batchedUpdates=function(g,p){return g(p)},Lt.useFormState=function(g,p,m){return u.H.useFormState(g,p,m)},Lt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Lt.version="19.2.6",Lt}var G1;function Uy(){if(G1)return Ch.exports;G1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),Ch.exports=Y3(),Ch.exports}/**
33
+ */var G1;function Y3(){if(G1)return Lt;G1=1;var e=q0();function r(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(r(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(g,p,m){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:g,containerInfo:p,implementation:m}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Lt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Lt.createPortal=function(g,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return c(g,p,null,m)},Lt.flushSync=function(g){var p=u.T,m=a.p;try{if(u.T=null,a.p=2,g)return g()}finally{u.T=p,a.p=m,a.d.f()}},Lt.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(g,p))},Lt.prefetchDNS=function(g){typeof g=="string"&&a.d.D(g)},Lt.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var m=p.as,v=d(m,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,k=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:S,fetchPriority:k}):m==="script"&&a.d.X(g,{crossOrigin:v,integrity:S,fetchPriority:k,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Lt.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=d(p.as,p.crossOrigin);a.d.M(g,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(g)},Lt.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,v=d(m,p.crossOrigin);a.d.L(g,m,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Lt.preloadModule=function(g,p){if(typeof g=="string")if(p){var m=d(p.as,p.crossOrigin);a.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(g)},Lt.requestFormReset=function(g){a.d.r(g)},Lt.unstable_batchedUpdates=function(g,p){return g(p)},Lt.useFormState=function(g,p,m){return u.H.useFormState(g,p,m)},Lt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Lt.version="19.2.6",Lt}var X1;function Vy(){if(X1)return Ch.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(r){console.error(r)}}return e(),Ch.exports=Y3(),Ch.exports}/**
34
34
  * @license React
35
35
  * react-dom-client.production.js
36
36
  *
@@ -38,15 +38,15 @@ var P3=Object.defineProperty;var q1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r 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 X1;function $3(){if(X1)return Ql;X1=1;var e=Iy(),r=M0(),n=Uy();function a(t){var o="https://react.dev/errors/"+t;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)o+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+t+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var o=t,i=t;if(t.alternate)for(;o.return;)o=o.return;else{t=o;do o=t,(o.flags&4098)!==0&&(i=o.return),t=o.return;while(t)}return o.tag===3?i:null}function u(t){if(t.tag===13){var o=t.memoizedState;if(o===null&&(t=t.alternate,t!==null&&(o=t.memoizedState)),o!==null)return o.dehydrated}return null}function d(t){if(t.tag===31){var o=t.memoizedState;if(o===null&&(t=t.alternate,t!==null&&(o=t.memoizedState)),o!==null)return o.dehydrated}return null}function g(t){if(c(t)!==t)throw Error(a(188))}function p(t){var o=t.alternate;if(!o){if(o=c(t),o===null)throw Error(a(188));return o!==t?null:t}for(var i=t,l=o;;){var f=i.return;if(f===null)break;var h=f.alternate;if(h===null){if(l=f.return,l!==null){i=l;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===i)return g(f),t;if(h===l)return g(f),o;h=h.sibling}throw Error(a(188))}if(i.return!==l.return)i=f,l=h;else{for(var b=!1,_=f.child;_;){if(_===i){b=!0,i=f,l=h;break}if(_===l){b=!0,l=f,i=h;break}_=_.sibling}if(!b){for(_=h.child;_;){if(_===i){b=!0,i=h,l=f;break}if(_===l){b=!0,l=h,i=f;break}_=_.sibling}if(!b)throw Error(a(189))}}if(i.alternate!==l)throw Error(a(190))}if(i.tag!==3)throw Error(a(188));return i.stateNode.current===i?t:o}function m(t){var o=t.tag;if(o===5||o===26||o===27||o===6)return t;for(t=t.child;t!==null;){if(o=m(t),o!==null)return o;t=t.sibling}return null}var v=Object.assign,S=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),N=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),ie=Symbol.for("react.memo_cache_sentinel"),ve=Symbol.iterator;function ae(t){return t===null||typeof t!="object"?null:(t=ve&&t[ve]||t["@@iterator"],typeof t=="function"?t:null)}var ue=Symbol.for("react.client.reference");function re(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 T:return"Profiler";case z:return"StrictMode";case E:return"Suspense";case M:return"SuspenseList";case oe:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case w:return"Portal";case N:return t.displayName||"Context";case j:return(t._context.displayName||"Context")+".Consumer";case C:var o=t.render;return t=t.displayName,t||(t=o.displayName||o.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Q:return o=t.displayName||null,o!==null?o:re(t.type)||"Memo";case G:o=t._payload,t=t._init;try{return re(t(o))}catch{}}return null}var ye=Array.isArray,P=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ce=[],ze=-1;function D(t){return{current:t}}function L(t){0>ze||(t.current=ce[ze],ce[ze]=null,ze--)}function Z(t,o){ze++,ce[ze]=t.current,t.current=o}var ne=D(null),fe=D(null),ke=D(null),De=D(null);function bt(t,o){switch(Z(ke,o),Z(fe,t),Z(ne,null),o.nodeType){case 9:case 11:t=(t=o.documentElement)&&(t=t.namespaceURI)?i1(t):0;break;default:if(t=o.tagName,o=o.namespaceURI)o=i1(o),t=l1(o,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}L(ne),Z(ne,t)}function pe(){L(ne),L(fe),L(ke)}function He(t){t.memoizedState!==null&&Z(De,t);var o=ne.current,i=l1(o,t.type);o!==i&&(Z(fe,t),Z(ne,i))}function To(t){fe.current===t&&(L(ne),L(fe)),De.current===t&&(L(De),Ul._currentValue=te)}var el,Rs;function Qn(t){if(el===void 0)try{throw Error()}catch(i){var o=i.stack.trim().match(/\n( *(at )?)/);el=o&&o[1]||"",Rs=-1<i.stack.indexOf(`
41
+ */var W1;function $3(){if(W1)return $l;W1=1;var e=Uy(),r=q0(),n=Vy();function a(t){var o="https://react.dev/errors/"+t;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)o+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+t+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var o=t,i=t;if(t.alternate)for(;o.return;)o=o.return;else{t=o;do o=t,(o.flags&4098)!==0&&(i=o.return),t=o.return;while(t)}return o.tag===3?i:null}function u(t){if(t.tag===13){var o=t.memoizedState;if(o===null&&(t=t.alternate,t!==null&&(o=t.memoizedState)),o!==null)return o.dehydrated}return null}function d(t){if(t.tag===31){var o=t.memoizedState;if(o===null&&(t=t.alternate,t!==null&&(o=t.memoizedState)),o!==null)return o.dehydrated}return null}function g(t){if(c(t)!==t)throw Error(a(188))}function p(t){var o=t.alternate;if(!o){if(o=c(t),o===null)throw Error(a(188));return o!==t?null:t}for(var i=t,l=o;;){var f=i.return;if(f===null)break;var h=f.alternate;if(h===null){if(l=f.return,l!==null){i=l;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===i)return g(f),t;if(h===l)return g(f),o;h=h.sibling}throw Error(a(188))}if(i.return!==l.return)i=f,l=h;else{for(var b=!1,_=f.child;_;){if(_===i){b=!0,i=f,l=h;break}if(_===l){b=!0,l=f,i=h;break}_=_.sibling}if(!b){for(_=h.child;_;){if(_===i){b=!0,i=h,l=f;break}if(_===l){b=!0,l=h,i=f;break}_=_.sibling}if(!b)throw Error(a(189))}}if(i.alternate!==l)throw Error(a(190))}if(i.tag!==3)throw Error(a(188));return i.stateNode.current===i?t:o}function m(t){var o=t.tag;if(o===5||o===26||o===27||o===6)return t;for(t=t.child;t!==null;){if(o=m(t),o!==null)return o;t=t.sibling}return null}var v=Object.assign,S=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),N=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),ie=Symbol.for("react.memo_cache_sentinel"),ve=Symbol.iterator;function ae(t){return t===null||typeof t!="object"?null:(t=ve&&t[ve]||t["@@iterator"],typeof t=="function"?t:null)}var ue=Symbol.for("react.client.reference");function re(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 T:return"Profiler";case z:return"StrictMode";case E:return"Suspense";case M:return"SuspenseList";case oe:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case w:return"Portal";case N:return t.displayName||"Context";case j:return(t._context.displayName||"Context")+".Consumer";case C:var o=t.render;return t=t.displayName,t||(t=o.displayName||o.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case W:return o=t.displayName||null,o!==null?o:re(t.type)||"Memo";case G:o=t._payload,t=t._init;try{return re(t(o))}catch{}}return null}var ye=Array.isArray,P=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ce=[],ze=-1;function D(t){return{current:t}}function L(t){0>ze||(t.current=ce[ze],ce[ze]=null,ze--)}function Z(t,o){ze++,ce[ze]=t.current,t.current=o}var ne=D(null),fe=D(null),ke=D(null),De=D(null);function bt(t,o){switch(Z(ke,o),Z(fe,t),Z(ne,null),o.nodeType){case 9:case 11:t=(t=o.documentElement)&&(t=t.namespaceURI)?l1(t):0;break;default:if(t=o.tagName,o=o.namespaceURI)o=l1(o),t=s1(o,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}L(ne),Z(ne,t)}function pe(){L(ne),L(fe),L(ke)}function He(t){t.memoizedState!==null&&Z(De,t);var o=ne.current,i=s1(o,t.type);o!==i&&(Z(fe,t),Z(ne,i))}function To(t){fe.current===t&&(L(ne),L(fe)),De.current===t&&(L(De),Gl._currentValue=te)}var ol,Rs;function Qn(t){if(ol===void 0)try{throw Error()}catch(i){var o=i.stack.trim().match(/\n( *(at )?)/);ol=o&&o[1]||"",Rs=-1<i.stack.indexOf(`
42
42
  at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
43
- `+el+t+Rs}var af=!1;function lf(t,o){if(!t||af)return"";af=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(o){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(W){var V=W}Reflect.construct(t,[],K)}else{try{K.call()}catch(W){V=W}t.call(K.prototype)}}else{try{throw Error()}catch(W){V=W}(K=t())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(W){if(W&&V&&typeof W.stack=="string")return[W.stack,V.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),b=h[0],_=h[1];if(b&&_){var R=b.split(`
43
+ `+ol+t+Rs}var af=!1;function lf(t,o){if(!t||af)return"";af=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(o){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(Q){var V=Q}Reflect.construct(t,[],K)}else{try{K.call()}catch(Q){V=Q}t.call(K.prototype)}}else{try{throw Error()}catch(Q){V=Q}(K=t())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(Q){if(Q&&V&&typeof Q.stack=="string")return[Q.stack,V.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),b=h[0],_=h[1];if(b&&_){var R=b.split(`
44
44
  `),U=_.split(`
45
45
  `);for(f=l=0;l<R.length&&!R[l].includes("DetermineComponentFrameRoot");)l++;for(;f<U.length&&!U[f].includes("DetermineComponentFrameRoot");)f++;if(l===R.length||f===U.length)for(l=R.length-1,f=U.length-1;1<=l&&0<=f&&R[l]!==U[f];)f--;for(;1<=l&&0<=f;l--,f--)if(R[l]!==U[f]){if(l!==1||f!==1)do if(l--,f--,0>f||R[l]!==U[f]){var Y=`
46
- `+R[l].replace(" at new "," at ");return t.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",t.displayName)),Y}while(1<=l&&0<=f);break}}}finally{af=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Qn(i):""}function b5(t,o){switch(t.tag){case 26:case 27:case 5:return Qn(t.type);case 16:return Qn("Lazy");case 13:return t.child!==o&&o!==null?Qn("Suspense Fallback"):Qn("Suspense");case 19:return Qn("SuspenseList");case 0:case 15:return lf(t.type,!1);case 11:return lf(t.type.render,!1);case 1:return lf(t.type,!0);case 31:return Qn("Activity");default:return""}}function qg(t){try{var o="",i=null;do o+=b5(t,i),i=t,t=t.return;while(t);return o}catch(l){return`
46
+ `+R[l].replace(" at new "," at ");return t.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",t.displayName)),Y}while(1<=l&&0<=f);break}}}finally{af=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Qn(i):""}function b5(t,o){switch(t.tag){case 26:case 27:case 5:return Qn(t.type);case 16:return Qn("Lazy");case 13:return t.child!==o&&o!==null?Qn("Suspense Fallback"):Qn("Suspense");case 19:return Qn("SuspenseList");case 0:case 15:return lf(t.type,!1);case 11:return lf(t.type.render,!1);case 1:return lf(t.type,!0);case 31:return Qn("Activity");default:return""}}function Fg(t){try{var o="",i=null;do o+=b5(t,i),i=t,t=t.return;while(t);return o}catch(l){return`
47
47
  Error generating stack: `+l.message+`
48
- `+l.stack}}var sf=Object.prototype.hasOwnProperty,cf=e.unstable_scheduleCallback,uf=e.unstable_cancelCallback,y5=e.unstable_shouldYield,x5=e.unstable_requestPaint,so=e.unstable_now,S5=e.unstable_getCurrentPriorityLevel,Fg=e.unstable_ImmediatePriority,Hg=e.unstable_UserBlockingPriority,As=e.unstable_NormalPriority,w5=e.unstable_LowPriority,Lg=e.unstable_IdlePriority,k5=e.log,B5=e.unstable_setDisableYieldValue,tl=null,co=null;function tn(t){if(typeof k5=="function"&&B5(t),co&&typeof co.setStrictMode=="function")try{co.setStrictMode(tl,t)}catch{}}var uo=Math.clz32?Math.clz32:T5,_5=Math.log,z5=Math.LN2;function T5(t){return t>>>=0,t===0?32:31-(_5(t)/z5|0)|0}var Ds=256,Os=262144,Ms=4194304;function Yn(t){var o=t&42;if(o!==0)return o;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function qs(t,o,i){var l=t.pendingLanes;if(l===0)return 0;var f=0,h=t.suspendedLanes,b=t.pingedLanes;t=t.warmLanes;var _=l&134217727;return _!==0?(l=_&~h,l!==0?f=Yn(l):(b&=_,b!==0?f=Yn(b):i||(i=_&~t,i!==0&&(f=Yn(i))))):(_=l&~h,_!==0?f=Yn(_):b!==0?f=Yn(b):i||(i=l&~t,i!==0&&(f=Yn(i)))),f===0?0:o!==0&&o!==f&&(o&h)===0&&(h=f&-f,i=o&-o,h>=i||h===32&&(i&4194048)!==0)?o:f}function ol(t,o){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&o)===0}function N5(t,o){switch(t){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pg(){var t=Ms;return Ms<<=1,(Ms&62914560)===0&&(Ms=4194304),t}function ff(t){for(var o=[],i=0;31>i;i++)o.push(t);return o}function rl(t,o){t.pendingLanes|=o,o!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function C5(t,o,i,l,f,h){var b=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var _=t.entanglements,R=t.expirationTimes,U=t.hiddenUpdates;for(i=b&~i;0<i;){var Y=31-uo(i),K=1<<Y;_[Y]=0,R[Y]=-1;var V=U[Y];if(V!==null)for(U[Y]=null,Y=0;Y<V.length;Y++){var W=V[Y];W!==null&&(W.lane&=-536870913)}i&=~K}l!==0&&Ig(t,l,0),h!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=h&~(b&~o))}function Ig(t,o,i){t.pendingLanes|=o,t.suspendedLanes&=~o;var l=31-uo(o);t.entangledLanes|=o,t.entanglements[l]=t.entanglements[l]|1073741824|i&261930}function Ug(t,o){var i=t.entangledLanes|=o;for(t=t.entanglements;i;){var l=31-uo(i),f=1<<l;f&o|t[l]&o&&(t[l]|=o),i&=~f}}function Vg(t,o){var i=o&-o;return i=(i&42)!==0?1:df(i),(i&(t.suspendedLanes|o))!==0?0:i}function df(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 hf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Gg(){var t=J.p;return t!==0?t:(t=window.event,t===void 0?32:E1(t.type))}function Xg(t,o){var i=J.p;try{return J.p=t,o()}finally{J.p=i}}var on=Math.random().toString(36).slice(2),Dt="__reactFiber$"+on,Yt="__reactProps$"+on,Ra="__reactContainer$"+on,gf="__reactEvents$"+on,E5="__reactListeners$"+on,j5="__reactHandles$"+on,Wg="__reactResources$"+on,nl="__reactMarker$"+on;function pf(t){delete t[Dt],delete t[Yt],delete t[gf],delete t[E5],delete t[j5]}function Aa(t){var o=t[Dt];if(o)return o;for(var i=t.parentNode;i;){if(o=i[Ra]||i[Dt]){if(i=o.alternate,o.child!==null||i!==null&&i.child!==null)for(t=g1(t);t!==null;){if(i=t[Dt])return i;t=g1(t)}return o}t=i,i=t.parentNode}return null}function Da(t){if(t=t[Dt]||t[Ra]){var o=t.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return t}return null}function al(t){var o=t.tag;if(o===5||o===26||o===27||o===6)return t.stateNode;throw Error(a(33))}function Oa(t){var o=t[Wg];return o||(o=t[Wg]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function Et(t){t[nl]=!0}var Qg=new Set,Yg={};function $n(t,o){Ma(t,o),Ma(t+"Capture",o)}function Ma(t,o){for(Yg[t]=o,t=0;t<o.length;t++)Qg.add(o[t])}var R5=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$g={},Kg={};function A5(t){return sf.call(Kg,t)?!0:sf.call($g,t)?!1:R5.test(t)?Kg[t]=!0:($g[t]=!0,!1)}function Fs(t,o,i){if(A5(o))if(i===null)t.removeAttribute(o);else{switch(typeof i){case"undefined":case"function":case"symbol":t.removeAttribute(o);return;case"boolean":var l=o.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(o);return}}t.setAttribute(o,""+i)}}function Hs(t,o,i){if(i===null)t.removeAttribute(o);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(o);return}t.setAttribute(o,""+i)}}function Sr(t,o,i,l){if(l===null)t.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttributeNS(o,i,""+l)}}function No(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Zg(t){var o=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function D5(t,o,i){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,o);if(!t.hasOwnProperty(o)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,h=l.set;return Object.defineProperty(t,o,{configurable:!0,get:function(){return f.call(this)},set:function(b){i=""+b,h.call(this,b)}}),Object.defineProperty(t,o,{enumerable:l.enumerable}),{getValue:function(){return i},setValue:function(b){i=""+b},stopTracking:function(){t._valueTracker=null,delete t[o]}}}}function mf(t){if(!t._valueTracker){var o=Zg(t)?"checked":"value";t._valueTracker=D5(t,o,""+t[o])}}function Jg(t){if(!t)return!1;var o=t._valueTracker;if(!o)return!0;var i=o.getValue(),l="";return t&&(l=Zg(t)?t.checked?"true":"false":t.value),t=l,t!==i?(o.setValue(t),!0):!1}function Ls(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var O5=/[\n"\\]/g;function Co(t){return t.replace(O5,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function vf(t,o,i,l,f,h,b,_){t.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.type=b:t.removeAttribute("type"),o!=null?b==="number"?(o===0&&t.value===""||t.value!=o)&&(t.value=""+No(o)):t.value!==""+No(o)&&(t.value=""+No(o)):b!=="submit"&&b!=="reset"||t.removeAttribute("value"),o!=null?bf(t,b,No(o)):i!=null?bf(t,b,No(i)):l!=null&&t.removeAttribute("value"),f==null&&h!=null&&(t.defaultChecked=!!h),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?t.name=""+No(_):t.removeAttribute("name")}function ep(t,o,i,l,f,h,b,_){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),o!=null||i!=null){if(!(h!=="submit"&&h!=="reset"||o!=null)){mf(t);return}i=i!=null?""+No(i):"",o=o!=null?""+No(o):i,_||o===t.value||(t.value=o),t.defaultValue=o}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=_?t.checked:!!l,t.defaultChecked=!!l,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.name=b),mf(t)}function bf(t,o,i){o==="number"&&Ls(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function qa(t,o,i,l){if(t=t.options,o){o={};for(var f=0;f<i.length;f++)o["$"+i[f]]=!0;for(i=0;i<t.length;i++)f=o.hasOwnProperty("$"+t[i].value),t[i].selected!==f&&(t[i].selected=f),f&&l&&(t[i].defaultSelected=!0)}else{for(i=""+No(i),o=null,f=0;f<t.length;f++){if(t[f].value===i){t[f].selected=!0,l&&(t[f].defaultSelected=!0);return}o!==null||t[f].disabled||(o=t[f])}o!==null&&(o.selected=!0)}}function tp(t,o,i){if(o!=null&&(o=""+No(o),o!==t.value&&(t.value=o),i==null)){t.defaultValue!==o&&(t.defaultValue=o);return}t.defaultValue=i!=null?""+No(i):""}function op(t,o,i,l){if(o==null){if(l!=null){if(i!=null)throw Error(a(92));if(ye(l)){if(1<l.length)throw Error(a(93));l=l[0]}i=l}i==null&&(i=""),o=i}i=No(o),t.defaultValue=i,l=t.textContent,l===i&&l!==""&&l!==null&&(t.value=l),mf(t)}function Fa(t,o){if(o){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=o;return}}t.textContent=o}var M5=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function rp(t,o,i){var l=o.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?l?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="":l?t.setProperty(o,i):typeof i!="number"||i===0||M5.has(o)?o==="float"?t.cssFloat=i:t[o]=(""+i).trim():t[o]=i+"px"}function np(t,o,i){if(o!=null&&typeof o!="object")throw Error(a(62));if(t=t.style,i!=null){for(var l in i)!i.hasOwnProperty(l)||o!=null&&o.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var f in o)l=o[f],o.hasOwnProperty(f)&&i[f]!==l&&rp(t,f,l)}else for(var h in o)o.hasOwnProperty(h)&&rp(t,h,o[h])}function yf(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var q5=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),F5=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ps(t){return F5.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function wr(){}var xf=null;function Sf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ha=null,La=null;function ap(t){var o=Da(t);if(o&&(t=o.stateNode)){var i=t[Yt]||null;e:switch(t=o.stateNode,o.type){case"input":if(vf(t,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),o=i.name,i.type==="radio"&&o!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Co(""+o)+'"][type="radio"]'),o=0;o<i.length;o++){var l=i[o];if(l!==t&&l.form===t.form){var f=l[Yt]||null;if(!f)throw Error(a(90));vf(l,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(o=0;o<i.length;o++)l=i[o],l.form===t.form&&Jg(l)}break e;case"textarea":tp(t,i.value,i.defaultValue);break e;case"select":o=i.value,o!=null&&qa(t,!!i.multiple,o,!1)}}}var wf=!1;function ip(t,o,i){if(wf)return t(o,i);wf=!0;try{var l=t(o);return l}finally{if(wf=!1,(Ha!==null||La!==null)&&(Nc(),Ha&&(o=Ha,t=La,La=Ha=null,ap(o),t)))for(o=0;o<t.length;o++)ap(t[o])}}function il(t,o){var i=t.stateNode;if(i===null)return null;var l=i[Yt]||null;if(l===null)return null;i=l[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(a(231,o,typeof i));return i}var kr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kf=!1;if(kr)try{var ll={};Object.defineProperty(ll,"passive",{get:function(){kf=!0}}),window.addEventListener("test",ll,ll),window.removeEventListener("test",ll,ll)}catch{kf=!1}var rn=null,Bf=null,Is=null;function lp(){if(Is)return Is;var t,o=Bf,i=o.length,l,f="value"in rn?rn.value:rn.textContent,h=f.length;for(t=0;t<i&&o[t]===f[t];t++);var b=i-t;for(l=1;l<=b&&o[i-l]===f[h-l];l++);return Is=f.slice(t,1<l?1-l:void 0)}function Us(t){var o=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&o===13&&(t=13)):t=o,t===10&&(t=13),32<=t||t===13?t:0}function Vs(){return!0}function sp(){return!1}function $t(t){function o(i,l,f,h,b){this._reactName=i,this._targetInst=f,this.type=l,this.nativeEvent=h,this.target=b,this.currentTarget=null;for(var _ in t)t.hasOwnProperty(_)&&(i=t[_],this[_]=i?i(h):h[_]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Vs:sp,this.isPropagationStopped=sp,this}return v(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),o}var Kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gs=$t(Kn),sl=v({},Kn,{view:0,detail:0}),H5=$t(sl),_f,zf,cl,Xs=v({},sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==cl&&(cl&&t.type==="mousemove"?(_f=t.screenX-cl.screenX,zf=t.screenY-cl.screenY):zf=_f=0,cl=t),_f)},movementY:function(t){return"movementY"in t?t.movementY:zf}}),cp=$t(Xs),L5=v({},Xs,{dataTransfer:0}),P5=$t(L5),I5=v({},sl,{relatedTarget:0}),Tf=$t(I5),U5=v({},Kn,{animationName:0,elapsedTime:0,pseudoElement:0}),V5=$t(U5),G5=v({},Kn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),X5=$t(G5),W5=v({},Kn,{data:0}),up=$t(W5),Q5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y5={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function K5(t){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(t):(t=$5[t])?!!o[t]:!1}function Nf(){return K5}var Z5=v({},sl,{key:function(t){if(t.key){var o=Q5[t.key]||t.key;if(o!=="Unidentified")return o}return t.type==="keypress"?(t=Us(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Y5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nf,charCode:function(t){return t.type==="keypress"?Us(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Us(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),J5=$t(Z5),ew=v({},Xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fp=$t(ew),tw=v({},sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nf}),ow=$t(tw),rw=v({},Kn,{propertyName:0,elapsedTime:0,pseudoElement:0}),nw=$t(rw),aw=v({},Xs,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),iw=$t(aw),lw=v({},Kn,{newState:0,oldState:0}),sw=$t(lw),cw=[9,13,27,32],Cf=kr&&"CompositionEvent"in window,ul=null;kr&&"documentMode"in document&&(ul=document.documentMode);var uw=kr&&"TextEvent"in window&&!ul,dp=kr&&(!Cf||ul&&8<ul&&11>=ul),hp=" ",gp=!1;function pp(t,o){switch(t){case"keyup":return cw.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Pa=!1;function fw(t,o){switch(t){case"compositionend":return mp(o);case"keypress":return o.which!==32?null:(gp=!0,hp);case"textInput":return t=o.data,t===hp&&gp?null:t;default:return null}}function dw(t,o){if(Pa)return t==="compositionend"||!Cf&&pp(t,o)?(t=lp(),Is=Bf=rn=null,Pa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return dp&&o.locale!=="ko"?null:o.data;default:return null}}var hw={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vp(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o==="input"?!!hw[t.type]:o==="textarea"}function bp(t,o,i,l){Ha?La?La.push(l):La=[l]:Ha=l,o=Oc(o,"onChange"),0<o.length&&(i=new Gs("onChange","change",null,i,l),t.push({event:i,listeners:o}))}var fl=null,dl=null;function gw(t){e1(t,0)}function Ws(t){var o=al(t);if(Jg(o))return t}function yp(t,o){if(t==="change")return o}var xp=!1;if(kr){var Ef;if(kr){var jf="oninput"in document;if(!jf){var Sp=document.createElement("div");Sp.setAttribute("oninput","return;"),jf=typeof Sp.oninput=="function"}Ef=jf}else Ef=!1;xp=Ef&&(!document.documentMode||9<document.documentMode)}function wp(){fl&&(fl.detachEvent("onpropertychange",kp),dl=fl=null)}function kp(t){if(t.propertyName==="value"&&Ws(dl)){var o=[];bp(o,dl,t,Sf(t)),ip(gw,o)}}function pw(t,o,i){t==="focusin"?(wp(),fl=o,dl=i,fl.attachEvent("onpropertychange",kp)):t==="focusout"&&wp()}function mw(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ws(dl)}function vw(t,o){if(t==="click")return Ws(o)}function bw(t,o){if(t==="input"||t==="change")return Ws(o)}function yw(t,o){return t===o&&(t!==0||1/t===1/o)||t!==t&&o!==o}var fo=typeof Object.is=="function"?Object.is:yw;function hl(t,o){if(fo(t,o))return!0;if(typeof t!="object"||t===null||typeof o!="object"||o===null)return!1;var i=Object.keys(t),l=Object.keys(o);if(i.length!==l.length)return!1;for(l=0;l<i.length;l++){var f=i[l];if(!sf.call(o,f)||!fo(t[f],o[f]))return!1}return!0}function Bp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function _p(t,o){var i=Bp(t);t=0;for(var l;i;){if(i.nodeType===3){if(l=t+i.textContent.length,t<=o&&l>=o)return{node:i,offset:o-t};t=l}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Bp(i)}}function zp(t,o){return t&&o?t===o?!0:t&&t.nodeType===3?!1:o&&o.nodeType===3?zp(t,o.parentNode):"contains"in t?t.contains(o):t.compareDocumentPosition?!!(t.compareDocumentPosition(o)&16):!1:!1}function Tp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var o=Ls(t.document);o instanceof t.HTMLIFrameElement;){try{var i=typeof o.contentWindow.location.href=="string"}catch{i=!1}if(i)t=o.contentWindow;else break;o=Ls(t.document)}return o}function Rf(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o&&(o==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||o==="textarea"||t.contentEditable==="true")}var xw=kr&&"documentMode"in document&&11>=document.documentMode,Ia=null,Af=null,gl=null,Df=!1;function Np(t,o,i){var l=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Df||Ia==null||Ia!==Ls(l)||(l=Ia,"selectionStart"in l&&Rf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),gl&&hl(gl,l)||(gl=l,l=Oc(Af,"onSelect"),0<l.length&&(o=new Gs("onSelect","select",null,o,i),t.push({event:o,listeners:l}),o.target=Ia)))}function Zn(t,o){var i={};return i[t.toLowerCase()]=o.toLowerCase(),i["Webkit"+t]="webkit"+o,i["Moz"+t]="moz"+o,i}var Ua={animationend:Zn("Animation","AnimationEnd"),animationiteration:Zn("Animation","AnimationIteration"),animationstart:Zn("Animation","AnimationStart"),transitionrun:Zn("Transition","TransitionRun"),transitionstart:Zn("Transition","TransitionStart"),transitioncancel:Zn("Transition","TransitionCancel"),transitionend:Zn("Transition","TransitionEnd")},Of={},Cp={};kr&&(Cp=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function Jn(t){if(Of[t])return Of[t];if(!Ua[t])return t;var o=Ua[t],i;for(i in o)if(o.hasOwnProperty(i)&&i in Cp)return Of[t]=o[i];return t}var Ep=Jn("animationend"),jp=Jn("animationiteration"),Rp=Jn("animationstart"),Sw=Jn("transitionrun"),ww=Jn("transitionstart"),kw=Jn("transitioncancel"),Ap=Jn("transitionend"),Dp=new Map,Mf="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(" ");Mf.push("scrollEnd");function Wo(t,o){Dp.set(t,o),$n(o,[t])}var Qs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Eo=[],Va=0,qf=0;function Ys(){for(var t=Va,o=qf=Va=0;o<t;){var i=Eo[o];Eo[o++]=null;var l=Eo[o];Eo[o++]=null;var f=Eo[o];Eo[o++]=null;var h=Eo[o];if(Eo[o++]=null,l!==null&&f!==null){var b=l.pending;b===null?f.next=f:(f.next=b.next,b.next=f),l.pending=f}h!==0&&Op(i,f,h)}}function $s(t,o,i,l){Eo[Va++]=t,Eo[Va++]=o,Eo[Va++]=i,Eo[Va++]=l,qf|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Ff(t,o,i,l){return $s(t,o,i,l),Ks(t)}function ea(t,o){return $s(t,null,null,o),Ks(t)}function Op(t,o,i){t.lanes|=i;var l=t.alternate;l!==null&&(l.lanes|=i);for(var f=!1,h=t.return;h!==null;)h.childLanes|=i,l=h.alternate,l!==null&&(l.childLanes|=i),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(f=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,f&&o!==null&&(f=31-uo(i),t=h.hiddenUpdates,l=t[f],l===null?t[f]=[o]:l.push(o),o.lane=i|536870912),h):null}function Ks(t){if(50<Ml)throw Ml=0,Wd=null,Error(a(185));for(var o=t.return;o!==null;)t=o,o=t.return;return t.tag===3?t.stateNode:null}var Ga={};function Bw(t,o,i,l){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ho(t,o,i,l){return new Bw(t,o,i,l)}function Hf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Br(t,o){var i=t.alternate;return i===null?(i=ho(t.tag,o,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=o,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&65011712,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,o=t.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function Mp(t,o){t.flags&=65011714;var i=t.alternate;return i===null?(t.childLanes=0,t.lanes=o,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=i.childLanes,t.lanes=i.lanes,t.child=i.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=i.memoizedProps,t.memoizedState=i.memoizedState,t.updateQueue=i.updateQueue,t.type=i.type,o=i.dependencies,t.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),t}function Zs(t,o,i,l,f,h){var b=0;if(l=t,typeof t=="function")Hf(t)&&(b=1);else if(typeof t=="string")b=C3(t,i,ne.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case oe:return t=ho(31,i,o,f),t.elementType=oe,t.lanes=h,t;case x:return ta(i.children,f,h,o);case z:b=8,f|=24;break;case T:return t=ho(12,i,o,f|2),t.elementType=T,t.lanes=h,t;case E:return t=ho(13,i,o,f),t.elementType=E,t.lanes=h,t;case M:return t=ho(19,i,o,f),t.elementType=M,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case N:b=10;break e;case j:b=9;break e;case C:b=11;break e;case Q:b=14;break e;case G:b=16,l=null;break e}b=29,i=Error(a(130,t===null?"null":typeof t,"")),l=null}return o=ho(b,i,o,f),o.elementType=t,o.type=l,o.lanes=h,o}function ta(t,o,i,l){return t=ho(7,t,l,o),t.lanes=i,t}function Lf(t,o,i){return t=ho(6,t,null,o),t.lanes=i,t}function qp(t){var o=ho(18,null,null,0);return o.stateNode=t,o}function Pf(t,o,i){return o=ho(4,t.children!==null?t.children:[],t.key,o),o.lanes=i,o.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},o}var Fp=new WeakMap;function jo(t,o){if(typeof t=="object"&&t!==null){var i=Fp.get(t);return i!==void 0?i:(o={value:t,source:o,stack:qg(o)},Fp.set(t,o),o)}return{value:t,source:o,stack:qg(o)}}var Xa=[],Wa=0,Js=null,pl=0,Ro=[],Ao=0,nn=null,cr=1,ur="";function _r(t,o){Xa[Wa++]=pl,Xa[Wa++]=Js,Js=t,pl=o}function Hp(t,o,i){Ro[Ao++]=cr,Ro[Ao++]=ur,Ro[Ao++]=nn,nn=t;var l=cr;t=ur;var f=32-uo(l)-1;l&=~(1<<f),i+=1;var h=32-uo(o)+f;if(30<h){var b=f-f%5;h=(l&(1<<b)-1).toString(32),l>>=b,f-=b,cr=1<<32-uo(o)+f|i<<f|l,ur=h+t}else cr=1<<h|i<<f|l,ur=t}function If(t){t.return!==null&&(_r(t,1),Hp(t,1,0))}function Uf(t){for(;t===Js;)Js=Xa[--Wa],Xa[Wa]=null,pl=Xa[--Wa],Xa[Wa]=null;for(;t===nn;)nn=Ro[--Ao],Ro[Ao]=null,ur=Ro[--Ao],Ro[Ao]=null,cr=Ro[--Ao],Ro[Ao]=null}function Lp(t,o){Ro[Ao++]=cr,Ro[Ao++]=ur,Ro[Ao++]=nn,cr=o.id,ur=o.overflow,nn=t}var Ot=null,rt=null,qe=!1,an=null,Do=!1,Vf=Error(a(519));function ln(t){var o=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ml(jo(o,t)),Vf}function Pp(t){var o=t.stateNode,i=t.type,l=t.memoizedProps;switch(o[Dt]=t,o[Yt]=l,i){case"dialog":Ae("cancel",o),Ae("close",o);break;case"iframe":case"object":case"embed":Ae("load",o);break;case"video":case"audio":for(i=0;i<Fl.length;i++)Ae(Fl[i],o);break;case"source":Ae("error",o);break;case"img":case"image":case"link":Ae("error",o),Ae("load",o);break;case"details":Ae("toggle",o);break;case"input":Ae("invalid",o),ep(o,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Ae("invalid",o);break;case"textarea":Ae("invalid",o),op(o,l.value,l.defaultValue,l.children)}i=l.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||o.textContent===""+i||l.suppressHydrationWarning===!0||n1(o.textContent,i)?(l.popover!=null&&(Ae("beforetoggle",o),Ae("toggle",o)),l.onScroll!=null&&Ae("scroll",o),l.onScrollEnd!=null&&Ae("scrollend",o),l.onClick!=null&&(o.onclick=wr),o=!0):o=!1,o||ln(t,!0)}function Ip(t){for(Ot=t.return;Ot;)switch(Ot.tag){case 5:case 31:case 13:Do=!1;return;case 27:case 3:Do=!0;return;default:Ot=Ot.return}}function Qa(t){if(t!==Ot)return!1;if(!qe)return Ip(t),qe=!0,!1;var o=t.tag,i;if((i=o!==3&&o!==27)&&((i=o===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||sh(t.type,t.memoizedProps)),i=!i),i&&rt&&ln(t),Ip(t),o===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));rt=h1(t)}else if(o===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));rt=h1(t)}else o===27?(o=rt,Sn(t.type)?(t=hh,hh=null,rt=t):rt=o):rt=Ot?Mo(t.stateNode.nextSibling):null;return!0}function oa(){rt=Ot=null,qe=!1}function Gf(){var t=an;return t!==null&&(eo===null?eo=t:eo.push.apply(eo,t),an=null),t}function ml(t){an===null?an=[t]:an.push(t)}var Xf=D(null),ra=null,zr=null;function sn(t,o,i){Z(Xf,o._currentValue),o._currentValue=i}function Tr(t){t._currentValue=Xf.current,L(Xf)}function Wf(t,o,i){for(;t!==null;){var l=t.alternate;if((t.childLanes&o)!==o?(t.childLanes|=o,l!==null&&(l.childLanes|=o)):l!==null&&(l.childLanes&o)!==o&&(l.childLanes|=o),t===i)break;t=t.return}}function Qf(t,o,i,l){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var h=f.dependencies;if(h!==null){var b=f.child;h=h.firstContext;e:for(;h!==null;){var _=h;h=f;for(var R=0;R<o.length;R++)if(_.context===o[R]){h.lanes|=i,_=h.alternate,_!==null&&(_.lanes|=i),Wf(h.return,i,t),l||(b=null);break e}h=_.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(a(341));b.lanes|=i,h=b.alternate,h!==null&&(h.lanes|=i),Wf(b,i,t),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===t){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function Ya(t,o,i,l){t=null;for(var f=o,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(a(387));if(b=b.memoizedProps,b!==null){var _=f.type;fo(f.pendingProps.value,b.value)||(t!==null?t.push(_):t=[_])}}else if(f===De.current){if(b=f.alternate,b===null)throw Error(a(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(Ul):t=[Ul])}f=f.return}t!==null&&Qf(o,t,i,l),o.flags|=262144}function ec(t){for(t=t.firstContext;t!==null;){if(!fo(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function na(t){ra=t,zr=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Mt(t){return Up(ra,t)}function tc(t,o){return ra===null&&na(t),Up(t,o)}function Up(t,o){var i=o._currentValue;if(o={context:o,memoizedValue:i,next:null},zr===null){if(t===null)throw Error(a(308));zr=o,t.dependencies={lanes:0,firstContext:o},t.flags|=524288}else zr=zr.next=o;return i}var _w=typeof AbortController<"u"?AbortController:function(){var t=[],o=this.signal={aborted:!1,addEventListener:function(i,l){t.push(l)}};this.abort=function(){o.aborted=!0,t.forEach(function(i){return i()})}},zw=e.unstable_scheduleCallback,Tw=e.unstable_NormalPriority,yt={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yf(){return{controller:new _w,data:new Map,refCount:0}}function vl(t){t.refCount--,t.refCount===0&&zw(Tw,function(){t.controller.abort()})}var bl=null,$f=0,$a=0,Ka=null;function Nw(t,o){if(bl===null){var i=bl=[];$f=0,$a=Jd(),Ka={status:"pending",value:void 0,then:function(l){i.push(l)}}}return $f++,o.then(Vp,Vp),o}function Vp(){if(--$f===0&&bl!==null){Ka!==null&&(Ka.status="fulfilled");var t=bl;bl=null,$a=0,Ka=null;for(var o=0;o<t.length;o++)(0,t[o])()}}function Cw(t,o){var i=[],l={status:"pending",value:null,reason:null,then:function(f){i.push(f)}};return t.then(function(){l.status="fulfilled",l.value=o;for(var f=0;f<i.length;f++)(0,i[f])(o)},function(f){for(l.status="rejected",l.reason=f,f=0;f<i.length;f++)(0,i[f])(void 0)}),l}var Gp=P.S;P.S=function(t,o){Nv=so(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&Nw(t,o),Gp!==null&&Gp(t,o)};var aa=D(null);function Kf(){var t=aa.current;return t!==null?t:tt.pooledCache}function oc(t,o){o===null?Z(aa,aa.current):Z(aa,o.pool)}function Xp(){var t=Kf();return t===null?null:{parent:yt._currentValue,pool:t}}var Za=Error(a(460)),Zf=Error(a(474)),rc=Error(a(542)),nc={then:function(){}};function Wp(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Qp(t,o,i){switch(i=t[i],i===void 0?t.push(o):i!==o&&(o.then(wr,wr),o=i),o.status){case"fulfilled":return o.value;case"rejected":throw t=o.reason,$p(t),t;default:if(typeof o.status=="string")o.then(wr,wr);else{if(t=tt,t!==null&&100<t.shellSuspendCounter)throw Error(a(482));t=o,t.status="pending",t.then(function(l){if(o.status==="pending"){var f=o;f.status="fulfilled",f.value=l}},function(l){if(o.status==="pending"){var f=o;f.status="rejected",f.reason=l}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw t=o.reason,$p(t),t}throw la=o,Za}}function ia(t){try{var o=t._init;return o(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(la=i,Za):i}}var la=null;function Yp(){if(la===null)throw Error(a(459));var t=la;return la=null,t}function $p(t){if(t===Za||t===rc)throw Error(a(483))}var Ja=null,yl=0;function ac(t){var o=yl;return yl+=1,Ja===null&&(Ja=[]),Qp(Ja,t,o)}function xl(t,o){o=o.props.ref,t.ref=o!==void 0?o:null}function ic(t,o){throw o.$$typeof===S?Error(a(525)):(t=Object.prototype.toString.call(o),Error(a(31,t==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":t)))}function Kp(t){function o(F,O){if(t){var I=F.deletions;I===null?(F.deletions=[O],F.flags|=16):I.push(O)}}function i(F,O){if(!t)return null;for(;O!==null;)o(F,O),O=O.sibling;return null}function l(F){for(var O=new Map;F!==null;)F.key!==null?O.set(F.key,F):O.set(F.index,F),F=F.sibling;return O}function f(F,O){return F=Br(F,O),F.index=0,F.sibling=null,F}function h(F,O,I){return F.index=I,t?(I=F.alternate,I!==null?(I=I.index,I<O?(F.flags|=67108866,O):I):(F.flags|=67108866,O)):(F.flags|=1048576,O)}function b(F){return t&&F.alternate===null&&(F.flags|=67108866),F}function _(F,O,I,$){return O===null||O.tag!==6?(O=Lf(I,F.mode,$),O.return=F,O):(O=f(O,I),O.return=F,O)}function R(F,O,I,$){var xe=I.type;return xe===x?Y(F,O,I.props.children,$,I.key):O!==null&&(O.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===G&&ia(xe)===O.type)?(O=f(O,I.props),xl(O,I),O.return=F,O):(O=Zs(I.type,I.key,I.props,null,F.mode,$),xl(O,I),O.return=F,O)}function U(F,O,I,$){return O===null||O.tag!==4||O.stateNode.containerInfo!==I.containerInfo||O.stateNode.implementation!==I.implementation?(O=Pf(I,F.mode,$),O.return=F,O):(O=f(O,I.children||[]),O.return=F,O)}function Y(F,O,I,$,xe){return O===null||O.tag!==7?(O=ta(I,F.mode,$,xe),O.return=F,O):(O=f(O,I),O.return=F,O)}function K(F,O,I){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Lf(""+O,F.mode,I),O.return=F,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case k:return I=Zs(O.type,O.key,O.props,null,F.mode,I),xl(I,O),I.return=F,I;case w:return O=Pf(O,F.mode,I),O.return=F,O;case G:return O=ia(O),K(F,O,I)}if(ye(O)||ae(O))return O=ta(O,F.mode,I,null),O.return=F,O;if(typeof O.then=="function")return K(F,ac(O),I);if(O.$$typeof===N)return K(F,tc(F,O),I);ic(F,O)}return null}function V(F,O,I,$){var xe=O!==null?O.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return xe!==null?null:_(F,O,""+I,$);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case k:return I.key===xe?R(F,O,I,$):null;case w:return I.key===xe?U(F,O,I,$):null;case G:return I=ia(I),V(F,O,I,$)}if(ye(I)||ae(I))return xe!==null?null:Y(F,O,I,$,null);if(typeof I.then=="function")return V(F,O,ac(I),$);if(I.$$typeof===N)return V(F,O,tc(F,I),$);ic(F,I)}return null}function W(F,O,I,$,xe){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return F=F.get(I)||null,_(O,F,""+$,xe);if(typeof $=="object"&&$!==null){switch($.$$typeof){case k:return F=F.get($.key===null?I:$.key)||null,R(O,F,$,xe);case w:return F=F.get($.key===null?I:$.key)||null,U(O,F,$,xe);case G:return $=ia($),W(F,O,I,$,xe)}if(ye($)||ae($))return F=F.get(I)||null,Y(O,F,$,xe,null);if(typeof $.then=="function")return W(F,O,I,ac($),xe);if($.$$typeof===N)return W(F,O,I,tc(O,$),xe);ic(O,$)}return null}function he(F,O,I,$){for(var xe=null,Pe=null,ge=O,Ee=O=0,Me=null;ge!==null&&Ee<I.length;Ee++){ge.index>Ee?(Me=ge,ge=null):Me=ge.sibling;var Ie=V(F,ge,I[Ee],$);if(Ie===null){ge===null&&(ge=Me);break}t&&ge&&Ie.alternate===null&&o(F,ge),O=h(Ie,O,Ee),Pe===null?xe=Ie:Pe.sibling=Ie,Pe=Ie,ge=Me}if(Ee===I.length)return i(F,ge),qe&&_r(F,Ee),xe;if(ge===null){for(;Ee<I.length;Ee++)ge=K(F,I[Ee],$),ge!==null&&(O=h(ge,O,Ee),Pe===null?xe=ge:Pe.sibling=ge,Pe=ge);return qe&&_r(F,Ee),xe}for(ge=l(ge);Ee<I.length;Ee++)Me=W(ge,F,Ee,I[Ee],$),Me!==null&&(t&&Me.alternate!==null&&ge.delete(Me.key===null?Ee:Me.key),O=h(Me,O,Ee),Pe===null?xe=Me:Pe.sibling=Me,Pe=Me);return t&&ge.forEach(function(zn){return o(F,zn)}),qe&&_r(F,Ee),xe}function we(F,O,I,$){if(I==null)throw Error(a(151));for(var xe=null,Pe=null,ge=O,Ee=O=0,Me=null,Ie=I.next();ge!==null&&!Ie.done;Ee++,Ie=I.next()){ge.index>Ee?(Me=ge,ge=null):Me=ge.sibling;var zn=V(F,ge,Ie.value,$);if(zn===null){ge===null&&(ge=Me);break}t&&ge&&zn.alternate===null&&o(F,ge),O=h(zn,O,Ee),Pe===null?xe=zn:Pe.sibling=zn,Pe=zn,ge=Me}if(Ie.done)return i(F,ge),qe&&_r(F,Ee),xe;if(ge===null){for(;!Ie.done;Ee++,Ie=I.next())Ie=K(F,Ie.value,$),Ie!==null&&(O=h(Ie,O,Ee),Pe===null?xe=Ie:Pe.sibling=Ie,Pe=Ie);return qe&&_r(F,Ee),xe}for(ge=l(ge);!Ie.done;Ee++,Ie=I.next())Ie=W(ge,F,Ee,Ie.value,$),Ie!==null&&(t&&Ie.alternate!==null&&ge.delete(Ie.key===null?Ee:Ie.key),O=h(Ie,O,Ee),Pe===null?xe=Ie:Pe.sibling=Ie,Pe=Ie);return t&&ge.forEach(function(L3){return o(F,L3)}),qe&&_r(F,Ee),xe}function Je(F,O,I,$){if(typeof I=="object"&&I!==null&&I.type===x&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case k:e:{for(var xe=I.key;O!==null;){if(O.key===xe){if(xe=I.type,xe===x){if(O.tag===7){i(F,O.sibling),$=f(O,I.props.children),$.return=F,F=$;break e}}else if(O.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===G&&ia(xe)===O.type){i(F,O.sibling),$=f(O,I.props),xl($,I),$.return=F,F=$;break e}i(F,O);break}else o(F,O);O=O.sibling}I.type===x?($=ta(I.props.children,F.mode,$,I.key),$.return=F,F=$):($=Zs(I.type,I.key,I.props,null,F.mode,$),xl($,I),$.return=F,F=$)}return b(F);case w:e:{for(xe=I.key;O!==null;){if(O.key===xe)if(O.tag===4&&O.stateNode.containerInfo===I.containerInfo&&O.stateNode.implementation===I.implementation){i(F,O.sibling),$=f(O,I.children||[]),$.return=F,F=$;break e}else{i(F,O);break}else o(F,O);O=O.sibling}$=Pf(I,F.mode,$),$.return=F,F=$}return b(F);case G:return I=ia(I),Je(F,O,I,$)}if(ye(I))return he(F,O,I,$);if(ae(I)){if(xe=ae(I),typeof xe!="function")throw Error(a(150));return I=xe.call(I),we(F,O,I,$)}if(typeof I.then=="function")return Je(F,O,ac(I),$);if(I.$$typeof===N)return Je(F,O,tc(F,I),$);ic(F,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,O!==null&&O.tag===6?(i(F,O.sibling),$=f(O,I),$.return=F,F=$):(i(F,O),$=Lf(I,F.mode,$),$.return=F,F=$),b(F)):i(F,O)}return function(F,O,I,$){try{yl=0;var xe=Je(F,O,I,$);return Ja=null,xe}catch(ge){if(ge===Za||ge===rc)throw ge;var Pe=ho(29,ge,null,F.mode);return Pe.lanes=$,Pe.return=F,Pe}finally{}}}var sa=Kp(!0),Zp=Kp(!1),cn=!1;function Jf(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ed(t,o){t=t.updateQueue,o.updateQueue===t&&(o.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function un(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function fn(t,o,i){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Ge&2)!==0){var f=l.pending;return f===null?o.next=o:(o.next=f.next,f.next=o),l.pending=o,o=Ks(t),Op(t,null,i),o}return $s(t,l,o,i),Ks(t)}function Sl(t,o,i){if(o=o.updateQueue,o!==null&&(o=o.shared,(i&4194048)!==0)){var l=o.lanes;l&=t.pendingLanes,i|=l,o.lanes=i,Ug(t,i)}}function td(t,o){var i=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,i===l)){var f=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var b={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};h===null?f=h=b:h=h.next=b,i=i.next}while(i!==null);h===null?f=h=o:h=h.next=o}else f=h=o;i={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=o:t.next=o,i.lastBaseUpdate=o}var od=!1;function wl(){if(od){var t=Ka;if(t!==null)throw t}}function kl(t,o,i,l){od=!1;var f=t.updateQueue;cn=!1;var h=f.firstBaseUpdate,b=f.lastBaseUpdate,_=f.shared.pending;if(_!==null){f.shared.pending=null;var R=_,U=R.next;R.next=null,b===null?h=U:b.next=U,b=R;var Y=t.alternate;Y!==null&&(Y=Y.updateQueue,_=Y.lastBaseUpdate,_!==b&&(_===null?Y.firstBaseUpdate=U:_.next=U,Y.lastBaseUpdate=R))}if(h!==null){var K=f.baseState;b=0,Y=U=R=null,_=h;do{var V=_.lane&-536870913,W=V!==_.lane;if(W?(Oe&V)===V:(l&V)===V){V!==0&&V===$a&&(od=!0),Y!==null&&(Y=Y.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var he=t,we=_;V=o;var Je=i;switch(we.tag){case 1:if(he=we.payload,typeof he=="function"){K=he.call(Je,K,V);break e}K=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=we.payload,V=typeof he=="function"?he.call(Je,K,V):he,V==null)break e;K=v({},K,V);break e;case 2:cn=!0}}V=_.callback,V!==null&&(t.flags|=64,W&&(t.flags|=8192),W=f.callbacks,W===null?f.callbacks=[V]:W.push(V))}else W={lane:V,tag:_.tag,payload:_.payload,callback:_.callback,next:null},Y===null?(U=Y=W,R=K):Y=Y.next=W,b|=V;if(_=_.next,_===null){if(_=f.shared.pending,_===null)break;W=_,_=W.next,W.next=null,f.lastBaseUpdate=W,f.shared.pending=null}}while(!0);Y===null&&(R=K),f.baseState=R,f.firstBaseUpdate=U,f.lastBaseUpdate=Y,h===null&&(f.shared.lanes=0),mn|=b,t.lanes=b,t.memoizedState=K}}function Jp(t,o){if(typeof t!="function")throw Error(a(191,t));t.call(o)}function em(t,o){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)Jp(i[t],o)}var ei=D(null),lc=D(0);function tm(t,o){t=Mr,Z(lc,t),Z(ei,o),Mr=t|o.baseLanes}function rd(){Z(lc,Mr),Z(ei,ei.current)}function nd(){Mr=lc.current,L(ei),L(lc)}var go=D(null),Oo=null;function dn(t){var o=t.alternate;Z(gt,gt.current&1),Z(go,t),Oo===null&&(o===null||ei.current!==null||o.memoizedState!==null)&&(Oo=t)}function ad(t){Z(gt,gt.current),Z(go,t),Oo===null&&(Oo=t)}function om(t){t.tag===22?(Z(gt,gt.current),Z(go,t),Oo===null&&(Oo=t)):hn()}function hn(){Z(gt,gt.current),Z(go,go.current)}function po(t){L(go),Oo===t&&(Oo=null),L(gt)}var gt=D(0);function sc(t){for(var o=t;o!==null;){if(o.tag===13){var i=o.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||fh(i)||dh(i)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Nr=0,Ce=null,Ke=null,xt=null,cc=!1,ti=!1,ca=!1,uc=0,Bl=0,oi=null,Ew=0;function st(){throw Error(a(321))}function id(t,o){if(o===null)return!1;for(var i=0;i<o.length&&i<t.length;i++)if(!fo(t[i],o[i]))return!1;return!0}function ld(t,o,i,l,f,h){return Nr=h,Ce=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,P.H=t===null||t.memoizedState===null?Hm:wd,ca=!1,h=i(l,f),ca=!1,ti&&(h=nm(o,i,l,f)),rm(t),h}function rm(t){P.H=Tl;var o=Ke!==null&&Ke.next!==null;if(Nr=0,xt=Ke=Ce=null,cc=!1,Bl=0,oi=null,o)throw Error(a(300));t===null||St||(t=t.dependencies,t!==null&&ec(t)&&(St=!0))}function nm(t,o,i,l){Ce=t;var f=0;do{if(ti&&(oi=null),Bl=0,ti=!1,25<=f)throw Error(a(301));if(f+=1,xt=Ke=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}P.H=Lm,h=o(i,l)}while(ti);return h}function jw(){var t=P.H,o=t.useState()[0];return o=typeof o.then=="function"?_l(o):o,t=t.useState()[0],(Ke!==null?Ke.memoizedState:null)!==t&&(Ce.flags|=1024),o}function sd(){var t=uc!==0;return uc=0,t}function cd(t,o,i){o.updateQueue=t.updateQueue,o.flags&=-2053,t.lanes&=~i}function ud(t){if(cc){for(t=t.memoizedState;t!==null;){var o=t.queue;o!==null&&(o.pending=null),t=t.next}cc=!1}Nr=0,xt=Ke=Ce=null,ti=!1,Bl=uc=0,oi=null}function Gt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xt===null?Ce.memoizedState=xt=t:xt=xt.next=t,xt}function pt(){if(Ke===null){var t=Ce.alternate;t=t!==null?t.memoizedState:null}else t=Ke.next;var o=xt===null?Ce.memoizedState:xt.next;if(o!==null)xt=o,Ke=t;else{if(t===null)throw Ce.alternate===null?Error(a(467)):Error(a(310));Ke=t,t={memoizedState:Ke.memoizedState,baseState:Ke.baseState,baseQueue:Ke.baseQueue,queue:Ke.queue,next:null},xt===null?Ce.memoizedState=xt=t:xt=xt.next=t}return xt}function fc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _l(t){var o=Bl;return Bl+=1,oi===null&&(oi=[]),t=Qp(oi,t,o),o=Ce,(xt===null?o.memoizedState:xt.next)===null&&(o=o.alternate,P.H=o===null||o.memoizedState===null?Hm:wd),t}function dc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return _l(t);if(t.$$typeof===N)return Mt(t)}throw Error(a(438,String(t)))}function fd(t){var o=null,i=Ce.updateQueue;if(i!==null&&(o=i.memoCache),o==null){var l=Ce.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(o={data:l.data.map(function(f){return f.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),i===null&&(i=fc(),Ce.updateQueue=i),i.memoCache=o,i=o.data[o.index],i===void 0)for(i=o.data[o.index]=Array(t),l=0;l<t;l++)i[l]=ie;return o.index++,i}function Cr(t,o){return typeof o=="function"?o(t):o}function hc(t){var o=pt();return dd(o,Ke,t)}function dd(t,o,i){var l=t.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=i;var f=t.baseQueue,h=l.pending;if(h!==null){if(f!==null){var b=f.next;f.next=h.next,h.next=b}o.baseQueue=f=h,l.pending=null}if(h=t.baseState,f===null)t.memoizedState=h;else{o=f.next;var _=b=null,R=null,U=o,Y=!1;do{var K=U.lane&-536870913;if(K!==U.lane?(Oe&K)===K:(Nr&K)===K){var V=U.revertLane;if(V===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),K===$a&&(Y=!0);else if((Nr&V)===V){U=U.next,V===$a&&(Y=!0);continue}else K={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},R===null?(_=R=K,b=h):R=R.next=K,Ce.lanes|=V,mn|=V;K=U.action,ca&&i(h,K),h=U.hasEagerState?U.eagerState:i(h,K)}else V={lane:K,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},R===null?(_=R=V,b=h):R=R.next=V,Ce.lanes|=K,mn|=K;U=U.next}while(U!==null&&U!==o);if(R===null?b=h:R.next=_,!fo(h,t.memoizedState)&&(St=!0,Y&&(i=Ka,i!==null)))throw i;t.memoizedState=h,t.baseState=b,t.baseQueue=R,l.lastRenderedState=h}return f===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function hd(t){var o=pt(),i=o.queue;if(i===null)throw Error(a(311));i.lastRenderedReducer=t;var l=i.dispatch,f=i.pending,h=o.memoizedState;if(f!==null){i.pending=null;var b=f=f.next;do h=t(h,b.action),b=b.next;while(b!==f);fo(h,o.memoizedState)||(St=!0),o.memoizedState=h,o.baseQueue===null&&(o.baseState=h),i.lastRenderedState=h}return[h,l]}function am(t,o,i){var l=Ce,f=pt(),h=qe;if(h){if(i===void 0)throw Error(a(407));i=i()}else i=o();var b=!fo((Ke||f).memoizedState,i);if(b&&(f.memoizedState=i,St=!0),f=f.queue,md(sm.bind(null,l,f,t),[t]),f.getSnapshot!==o||b||xt!==null&&xt.memoizedState.tag&1){if(l.flags|=2048,ri(9,{destroy:void 0},lm.bind(null,l,f,i,o),null),tt===null)throw Error(a(349));h||(Nr&127)!==0||im(l,o,i)}return i}function im(t,o,i){t.flags|=16384,t={getSnapshot:o,value:i},o=Ce.updateQueue,o===null?(o=fc(),Ce.updateQueue=o,o.stores=[t]):(i=o.stores,i===null?o.stores=[t]:i.push(t))}function lm(t,o,i,l){o.value=i,o.getSnapshot=l,cm(o)&&um(t)}function sm(t,o,i){return i(function(){cm(o)&&um(t)})}function cm(t){var o=t.getSnapshot;t=t.value;try{var i=o();return!fo(t,i)}catch{return!0}}function um(t){var o=ea(t,2);o!==null&&to(o,t,2)}function gd(t){var o=Gt();if(typeof t=="function"){var i=t;if(t=i(),ca){tn(!0);try{i()}finally{tn(!1)}}}return o.memoizedState=o.baseState=t,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:t},o}function fm(t,o,i,l){return t.baseState=i,dd(t,Ke,typeof l=="function"?l:Cr)}function Rw(t,o,i,l,f){if(mc(t))throw Error(a(485));if(t=o.action,t!==null){var h={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){h.listeners.push(b)}};P.T!==null?i(!0):h.isTransition=!1,l(h),i=o.pending,i===null?(h.next=o.pending=h,dm(o,h)):(h.next=i.next,o.pending=i.next=h)}}function dm(t,o){var i=o.action,l=o.payload,f=t.state;if(o.isTransition){var h=P.T,b={};P.T=b;try{var _=i(f,l),R=P.S;R!==null&&R(b,_),hm(t,o,_)}catch(U){pd(t,o,U)}finally{h!==null&&b.types!==null&&(h.types=b.types),P.T=h}}else try{h=i(f,l),hm(t,o,h)}catch(U){pd(t,o,U)}}function hm(t,o,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(l){gm(t,o,l)},function(l){return pd(t,o,l)}):gm(t,o,i)}function gm(t,o,i){o.status="fulfilled",o.value=i,pm(o),t.state=i,o=t.pending,o!==null&&(i=o.next,i===o?t.pending=null:(i=i.next,o.next=i,dm(t,i)))}function pd(t,o,i){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do o.status="rejected",o.reason=i,pm(o),o=o.next;while(o!==l)}t.action=null}function pm(t){t=t.listeners;for(var o=0;o<t.length;o++)(0,t[o])()}function mm(t,o){return o}function vm(t,o){if(qe){var i=tt.formState;if(i!==null){e:{var l=Ce;if(qe){if(rt){t:{for(var f=rt,h=Do;f.nodeType!==8;){if(!h){f=null;break t}if(f=Mo(f.nextSibling),f===null){f=null;break t}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){rt=Mo(f.nextSibling),l=f.data==="F!";break e}}ln(l)}l=!1}l&&(o=i[0])}}return i=Gt(),i.memoizedState=i.baseState=o,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mm,lastRenderedState:o},i.queue=l,i=Mm.bind(null,Ce,l),l.dispatch=i,l=gd(!1),h=Sd.bind(null,Ce,!1,l.queue),l=Gt(),f={state:o,dispatch:null,action:t,pending:null},l.queue=f,i=Rw.bind(null,Ce,f,h,i),f.dispatch=i,l.memoizedState=t,[o,i,!1]}function bm(t){var o=pt();return ym(o,Ke,t)}function ym(t,o,i){if(o=dd(t,o,mm)[0],t=hc(Cr)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var l=_l(o)}catch(b){throw b===Za?rc:b}else l=o;o=pt();var f=o.queue,h=f.dispatch;return i!==o.memoizedState&&(Ce.flags|=2048,ri(9,{destroy:void 0},Aw.bind(null,f,i),null)),[l,h,t]}function Aw(t,o){t.action=o}function xm(t){var o=pt(),i=Ke;if(i!==null)return ym(o,i,t);pt(),o=o.memoizedState,i=pt();var l=i.queue.dispatch;return i.memoizedState=t,[o,l,!1]}function ri(t,o,i,l){return t={tag:t,create:i,deps:l,inst:o,next:null},o=Ce.updateQueue,o===null&&(o=fc(),Ce.updateQueue=o),i=o.lastEffect,i===null?o.lastEffect=t.next=t:(l=i.next,i.next=t,t.next=l,o.lastEffect=t),t}function Sm(){return pt().memoizedState}function gc(t,o,i,l){var f=Gt();Ce.flags|=t,f.memoizedState=ri(1|o,{destroy:void 0},i,l===void 0?null:l)}function pc(t,o,i,l){var f=pt();l=l===void 0?null:l;var h=f.memoizedState.inst;Ke!==null&&l!==null&&id(l,Ke.memoizedState.deps)?f.memoizedState=ri(o,h,i,l):(Ce.flags|=t,f.memoizedState=ri(1|o,h,i,l))}function wm(t,o){gc(8390656,8,t,o)}function md(t,o){pc(2048,8,t,o)}function Dw(t){Ce.flags|=4;var o=Ce.updateQueue;if(o===null)o=fc(),Ce.updateQueue=o,o.events=[t];else{var i=o.events;i===null?o.events=[t]:i.push(t)}}function km(t){var o=pt().memoizedState;return Dw({ref:o,nextImpl:t}),function(){if((Ge&2)!==0)throw Error(a(440));return o.impl.apply(void 0,arguments)}}function Bm(t,o){return pc(4,2,t,o)}function _m(t,o){return pc(4,4,t,o)}function zm(t,o){if(typeof o=="function"){t=t();var i=o(t);return function(){typeof i=="function"?i():o(null)}}if(o!=null)return t=t(),o.current=t,function(){o.current=null}}function Tm(t,o,i){i=i!=null?i.concat([t]):null,pc(4,4,zm.bind(null,o,t),i)}function vd(){}function Nm(t,o){var i=pt();o=o===void 0?null:o;var l=i.memoizedState;return o!==null&&id(o,l[1])?l[0]:(i.memoizedState=[t,o],t)}function Cm(t,o){var i=pt();o=o===void 0?null:o;var l=i.memoizedState;if(o!==null&&id(o,l[1]))return l[0];if(l=t(),ca){tn(!0);try{t()}finally{tn(!1)}}return i.memoizedState=[l,o],l}function bd(t,o,i){return i===void 0||(Nr&1073741824)!==0&&(Oe&261930)===0?t.memoizedState=o:(t.memoizedState=i,t=Ev(),Ce.lanes|=t,mn|=t,i)}function Em(t,o,i,l){return fo(i,o)?i:ei.current!==null?(t=bd(t,i,l),fo(t,o)||(St=!0),t):(Nr&42)===0||(Nr&1073741824)!==0&&(Oe&261930)===0?(St=!0,t.memoizedState=i):(t=Ev(),Ce.lanes|=t,mn|=t,o)}function jm(t,o,i,l,f){var h=J.p;J.p=h!==0&&8>h?h:8;var b=P.T,_={};P.T=_,Sd(t,!1,o,i);try{var R=f(),U=P.S;if(U!==null&&U(_,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var Y=Cw(R,l);zl(t,o,Y,bo(t))}else zl(t,o,l,bo(t))}catch(K){zl(t,o,{then:function(){},status:"rejected",reason:K},bo())}finally{J.p=h,b!==null&&_.types!==null&&(b.types=_.types),P.T=b}}function Ow(){}function yd(t,o,i,l){if(t.tag!==5)throw Error(a(476));var f=Rm(t).queue;jm(t,f,o,te,i===null?Ow:function(){return Am(t),i(l)})}function Rm(t){var o=t.memoizedState;if(o!==null)return o;o={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:te},next:null};var i={};return o.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:i},next:null},t.memoizedState=o,t=t.alternate,t!==null&&(t.memoizedState=o),o}function Am(t){var o=Rm(t);o.next===null&&(o=t.alternate.memoizedState),zl(t,o.next.queue,{},bo())}function xd(){return Mt(Ul)}function Dm(){return pt().memoizedState}function Om(){return pt().memoizedState}function Mw(t){for(var o=t.return;o!==null;){switch(o.tag){case 24:case 3:var i=bo();t=un(i);var l=fn(o,t,i);l!==null&&(to(l,o,i),Sl(l,o,i)),o={cache:Yf()},t.payload=o;return}o=o.return}}function qw(t,o,i){var l=bo();i={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},mc(t)?qm(o,i):(i=Ff(t,o,i,l),i!==null&&(to(i,t,l),Fm(i,o,l)))}function Mm(t,o,i){var l=bo();zl(t,o,i,l)}function zl(t,o,i,l){var f={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(mc(t))qm(o,f);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=o.lastRenderedReducer,h!==null))try{var b=o.lastRenderedState,_=h(b,i);if(f.hasEagerState=!0,f.eagerState=_,fo(_,b))return $s(t,o,f,0),tt===null&&Ys(),!1}catch{}finally{}if(i=Ff(t,o,f,l),i!==null)return to(i,t,l),Fm(i,o,l),!0}return!1}function Sd(t,o,i,l){if(l={lane:2,revertLane:Jd(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},mc(t)){if(o)throw Error(a(479))}else o=Ff(t,i,l,2),o!==null&&to(o,t,2)}function mc(t){var o=t.alternate;return t===Ce||o!==null&&o===Ce}function qm(t,o){ti=cc=!0;var i=t.pending;i===null?o.next=o:(o.next=i.next,i.next=o),t.pending=o}function Fm(t,o,i){if((i&4194048)!==0){var l=o.lanes;l&=t.pendingLanes,i|=l,o.lanes=i,Ug(t,i)}}var Tl={readContext:Mt,use:dc,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useLayoutEffect:st,useInsertionEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useSyncExternalStore:st,useId:st,useHostTransitionStatus:st,useFormState:st,useActionState:st,useOptimistic:st,useMemoCache:st,useCacheRefresh:st};Tl.useEffectEvent=st;var Hm={readContext:Mt,use:dc,useCallback:function(t,o){return Gt().memoizedState=[t,o===void 0?null:o],t},useContext:Mt,useEffect:wm,useImperativeHandle:function(t,o,i){i=i!=null?i.concat([t]):null,gc(4194308,4,zm.bind(null,o,t),i)},useLayoutEffect:function(t,o){return gc(4194308,4,t,o)},useInsertionEffect:function(t,o){gc(4,2,t,o)},useMemo:function(t,o){var i=Gt();o=o===void 0?null:o;var l=t();if(ca){tn(!0);try{t()}finally{tn(!1)}}return i.memoizedState=[l,o],l},useReducer:function(t,o,i){var l=Gt();if(i!==void 0){var f=i(o);if(ca){tn(!0);try{i(o)}finally{tn(!1)}}}else f=o;return l.memoizedState=l.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},l.queue=t,t=t.dispatch=qw.bind(null,Ce,t),[l.memoizedState,t]},useRef:function(t){var o=Gt();return t={current:t},o.memoizedState=t},useState:function(t){t=gd(t);var o=t.queue,i=Mm.bind(null,Ce,o);return o.dispatch=i,[t.memoizedState,i]},useDebugValue:vd,useDeferredValue:function(t,o){var i=Gt();return bd(i,t,o)},useTransition:function(){var t=gd(!1);return t=jm.bind(null,Ce,t.queue,!0,!1),Gt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,o,i){var l=Ce,f=Gt();if(qe){if(i===void 0)throw Error(a(407));i=i()}else{if(i=o(),tt===null)throw Error(a(349));(Oe&127)!==0||im(l,o,i)}f.memoizedState=i;var h={value:i,getSnapshot:o};return f.queue=h,wm(sm.bind(null,l,h,t),[t]),l.flags|=2048,ri(9,{destroy:void 0},lm.bind(null,l,h,i,o),null),i},useId:function(){var t=Gt(),o=tt.identifierPrefix;if(qe){var i=ur,l=cr;i=(l&~(1<<32-uo(l)-1)).toString(32)+i,o="_"+o+"R_"+i,i=uc++,0<i&&(o+="H"+i.toString(32)),o+="_"}else i=Ew++,o="_"+o+"r_"+i.toString(32)+"_";return t.memoizedState=o},useHostTransitionStatus:xd,useFormState:vm,useActionState:vm,useOptimistic:function(t){var o=Gt();o.memoizedState=o.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=i,o=Sd.bind(null,Ce,!0,i),i.dispatch=o,[t,o]},useMemoCache:fd,useCacheRefresh:function(){return Gt().memoizedState=Mw.bind(null,Ce)},useEffectEvent:function(t){var o=Gt(),i={impl:t};return o.memoizedState=i,function(){if((Ge&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}},wd={readContext:Mt,use:dc,useCallback:Nm,useContext:Mt,useEffect:md,useImperativeHandle:Tm,useInsertionEffect:Bm,useLayoutEffect:_m,useMemo:Cm,useReducer:hc,useRef:Sm,useState:function(){return hc(Cr)},useDebugValue:vd,useDeferredValue:function(t,o){var i=pt();return Em(i,Ke.memoizedState,t,o)},useTransition:function(){var t=hc(Cr)[0],o=pt().memoizedState;return[typeof t=="boolean"?t:_l(t),o]},useSyncExternalStore:am,useId:Dm,useHostTransitionStatus:xd,useFormState:bm,useActionState:bm,useOptimistic:function(t,o){var i=pt();return fm(i,Ke,t,o)},useMemoCache:fd,useCacheRefresh:Om};wd.useEffectEvent=km;var Lm={readContext:Mt,use:dc,useCallback:Nm,useContext:Mt,useEffect:md,useImperativeHandle:Tm,useInsertionEffect:Bm,useLayoutEffect:_m,useMemo:Cm,useReducer:hd,useRef:Sm,useState:function(){return hd(Cr)},useDebugValue:vd,useDeferredValue:function(t,o){var i=pt();return Ke===null?bd(i,t,o):Em(i,Ke.memoizedState,t,o)},useTransition:function(){var t=hd(Cr)[0],o=pt().memoizedState;return[typeof t=="boolean"?t:_l(t),o]},useSyncExternalStore:am,useId:Dm,useHostTransitionStatus:xd,useFormState:xm,useActionState:xm,useOptimistic:function(t,o){var i=pt();return Ke!==null?fm(i,Ke,t,o):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:fd,useCacheRefresh:Om};Lm.useEffectEvent=km;function kd(t,o,i,l){o=t.memoizedState,i=i(l,o),i=i==null?o:v({},o,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var Bd={enqueueSetState:function(t,o,i){t=t._reactInternals;var l=bo(),f=un(l);f.payload=o,i!=null&&(f.callback=i),o=fn(t,f,l),o!==null&&(to(o,t,l),Sl(o,t,l))},enqueueReplaceState:function(t,o,i){t=t._reactInternals;var l=bo(),f=un(l);f.tag=1,f.payload=o,i!=null&&(f.callback=i),o=fn(t,f,l),o!==null&&(to(o,t,l),Sl(o,t,l))},enqueueForceUpdate:function(t,o){t=t._reactInternals;var i=bo(),l=un(i);l.tag=2,o!=null&&(l.callback=o),o=fn(t,l,i),o!==null&&(to(o,t,i),Sl(o,t,i))}};function Pm(t,o,i,l,f,h,b){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,h,b):o.prototype&&o.prototype.isPureReactComponent?!hl(i,l)||!hl(f,h):!0}function Im(t,o,i,l){t=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(i,l),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(i,l),o.state!==t&&Bd.enqueueReplaceState(o,o.state,null)}function ua(t,o){var i=o;if("ref"in o){i={};for(var l in o)l!=="ref"&&(i[l]=o[l])}if(t=t.defaultProps){i===o&&(i=v({},i));for(var f in t)i[f]===void 0&&(i[f]=t[f])}return i}function Um(t){Qs(t)}function Vm(t){console.error(t)}function Gm(t){Qs(t)}function vc(t,o){try{var i=t.onUncaughtError;i(o.value,{componentStack:o.stack})}catch(l){setTimeout(function(){throw l})}}function Xm(t,o,i){try{var l=t.onCaughtError;l(i.value,{componentStack:i.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function _d(t,o,i){return i=un(i),i.tag=3,i.payload={element:null},i.callback=function(){vc(t,o)},i}function Wm(t){return t=un(t),t.tag=3,t}function Qm(t,o,i,l){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var h=l.value;t.payload=function(){return f(h)},t.callback=function(){Xm(o,i,l)}}var b=i.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(t.callback=function(){Xm(o,i,l),typeof f!="function"&&(vn===null?vn=new Set([this]):vn.add(this));var _=l.stack;this.componentDidCatch(l.value,{componentStack:_!==null?_:""})})}function Fw(t,o,i,l,f){if(i.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(o=i.alternate,o!==null&&Ya(o,i,f,!0),i=go.current,i!==null){switch(i.tag){case 31:case 13:return Oo===null?Cc():i.alternate===null&&ct===0&&(ct=3),i.flags&=-257,i.flags|=65536,i.lanes=f,l===nc?i.flags|=16384:(o=i.updateQueue,o===null?i.updateQueue=new Set([l]):o.add(l),$d(t,l,f)),!1;case 22:return i.flags|=65536,l===nc?i.flags|=16384:(o=i.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([l])},i.updateQueue=o):(i=o.retryQueue,i===null?o.retryQueue=new Set([l]):i.add(l)),$d(t,l,f)),!1}throw Error(a(435,i.tag))}return $d(t,l,f),Cc(),!1}if(qe)return o=go.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=f,l!==Vf&&(t=Error(a(422),{cause:l}),ml(jo(t,i)))):(l!==Vf&&(o=Error(a(423),{cause:l}),ml(jo(o,i))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,l=jo(l,i),f=_d(t.stateNode,l,f),td(t,f),ct!==4&&(ct=2)),!1;var h=Error(a(520),{cause:l});if(h=jo(h,i),Ol===null?Ol=[h]:Ol.push(h),ct!==4&&(ct=2),o===null)return!0;l=jo(l,i),i=o;do{switch(i.tag){case 3:return i.flags|=65536,t=f&-f,i.lanes|=t,t=_d(i.stateNode,l,t),td(i,t),!1;case 1:if(o=i.type,h=i.stateNode,(i.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(vn===null||!vn.has(h))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Wm(f),Qm(f,t,i,l),td(i,f),!1}i=i.return}while(i!==null);return!1}var zd=Error(a(461)),St=!1;function qt(t,o,i,l){o.child=t===null?Zp(o,null,i,l):sa(o,t.child,i,l)}function Ym(t,o,i,l,f){i=i.render;var h=o.ref;if("ref"in l){var b={};for(var _ in l)_!=="ref"&&(b[_]=l[_])}else b=l;return na(o),l=ld(t,o,i,b,h,f),_=sd(),t!==null&&!St?(cd(t,o,f),Er(t,o,f)):(qe&&_&&If(o),o.flags|=1,qt(t,o,l,f),o.child)}function $m(t,o,i,l,f){if(t===null){var h=i.type;return typeof h=="function"&&!Hf(h)&&h.defaultProps===void 0&&i.compare===null?(o.tag=15,o.type=h,Km(t,o,h,l,f)):(t=Zs(i.type,null,l,o,o.mode,f),t.ref=o.ref,t.return=o,o.child=t)}if(h=t.child,!Dd(t,f)){var b=h.memoizedProps;if(i=i.compare,i=i!==null?i:hl,i(b,l)&&t.ref===o.ref)return Er(t,o,f)}return o.flags|=1,t=Br(h,l),t.ref=o.ref,t.return=o,o.child=t}function Km(t,o,i,l,f){if(t!==null){var h=t.memoizedProps;if(hl(h,l)&&t.ref===o.ref)if(St=!1,o.pendingProps=l=h,Dd(t,f))(t.flags&131072)!==0&&(St=!0);else return o.lanes=t.lanes,Er(t,o,f)}return Td(t,o,i,l,f)}function Zm(t,o,i,l){var f=l.children,h=t!==null?t.memoizedState:null;if(t===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((o.flags&128)!==0){if(h=h!==null?h.baseLanes|i:i,t!==null){for(l=o.child=t.child,f=0;l!==null;)f=f|l.lanes|l.childLanes,l=l.sibling;l=f&~h}else l=0,o.child=null;return Jm(t,o,h,i,l)}if((i&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},t!==null&&oc(o,h!==null?h.cachePool:null),h!==null?tm(o,h):rd(),om(o);else return l=o.lanes=536870912,Jm(t,o,h!==null?h.baseLanes|i:i,i,l)}else h!==null?(oc(o,h.cachePool),tm(o,h),hn(),o.memoizedState=null):(t!==null&&oc(o,null),rd(),hn());return qt(t,o,f,i),o.child}function Nl(t,o){return t!==null&&t.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function Jm(t,o,i,l,f){var h=Kf();return h=h===null?null:{parent:yt._currentValue,pool:h},o.memoizedState={baseLanes:i,cachePool:h},t!==null&&oc(o,null),rd(),om(o),t!==null&&Ya(t,o,l,!0),o.childLanes=f,null}function bc(t,o){return o=xc({mode:o.mode,children:o.children},t.mode),o.ref=t.ref,t.child=o,o.return=t,o}function ev(t,o,i){return sa(o,t.child,null,i),t=bc(o,o.pendingProps),t.flags|=2,po(o),o.memoizedState=null,t}function Hw(t,o,i){var l=o.pendingProps,f=(o.flags&128)!==0;if(o.flags&=-129,t===null){if(qe){if(l.mode==="hidden")return t=bc(o,l),o.lanes=536870912,Nl(null,t);if(ad(o),(t=rt)?(t=d1(t,Do),t=t!==null&&t.data==="&"?t:null,t!==null&&(o.memoizedState={dehydrated:t,treeContext:nn!==null?{id:cr,overflow:ur}:null,retryLane:536870912,hydrationErrors:null},i=qp(t),i.return=o,o.child=i,Ot=o,rt=null)):t=null,t===null)throw ln(o);return o.lanes=536870912,null}return bc(o,l)}var h=t.memoizedState;if(h!==null){var b=h.dehydrated;if(ad(o),f)if(o.flags&256)o.flags&=-257,o=ev(t,o,i);else if(o.memoizedState!==null)o.child=t.child,o.flags|=128,o=null;else throw Error(a(558));else if(St||Ya(t,o,i,!1),f=(i&t.childLanes)!==0,St||f){if(l=tt,l!==null&&(b=Vg(l,i),b!==0&&b!==h.retryLane))throw h.retryLane=b,ea(t,b),to(l,t,b),zd;Cc(),o=ev(t,o,i)}else t=h.treeContext,rt=Mo(b.nextSibling),Ot=o,qe=!0,an=null,Do=!1,t!==null&&Lp(o,t),o=bc(o,l),o.flags|=4096;return o}return t=Br(t.child,{mode:l.mode,children:l.children}),t.ref=o.ref,o.child=t,t.return=o,t}function yc(t,o){var i=o.ref;if(i===null)t!==null&&t.ref!==null&&(o.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(a(284));(t===null||t.ref!==i)&&(o.flags|=4194816)}}function Td(t,o,i,l,f){return na(o),i=ld(t,o,i,l,void 0,f),l=sd(),t!==null&&!St?(cd(t,o,f),Er(t,o,f)):(qe&&l&&If(o),o.flags|=1,qt(t,o,i,f),o.child)}function tv(t,o,i,l,f,h){return na(o),o.updateQueue=null,i=nm(o,l,i,f),rm(t),l=sd(),t!==null&&!St?(cd(t,o,h),Er(t,o,h)):(qe&&l&&If(o),o.flags|=1,qt(t,o,i,h),o.child)}function ov(t,o,i,l,f){if(na(o),o.stateNode===null){var h=Ga,b=i.contextType;typeof b=="object"&&b!==null&&(h=Mt(b)),h=new i(l,h),o.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Bd,o.stateNode=h,h._reactInternals=o,h=o.stateNode,h.props=l,h.state=o.memoizedState,h.refs={},Jf(o),b=i.contextType,h.context=typeof b=="object"&&b!==null?Mt(b):Ga,h.state=o.memoizedState,b=i.getDerivedStateFromProps,typeof b=="function"&&(kd(o,i,b,l),h.state=o.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(b=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),b!==h.state&&Bd.enqueueReplaceState(h,h.state,null),kl(o,l,h,f),wl(),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308),l=!0}else if(t===null){h=o.stateNode;var _=o.memoizedProps,R=ua(i,_);h.props=R;var U=h.context,Y=i.contextType;b=Ga,typeof Y=="object"&&Y!==null&&(b=Mt(Y));var K=i.getDerivedStateFromProps;Y=typeof K=="function"||typeof h.getSnapshotBeforeUpdate=="function",_=o.pendingProps!==_,Y||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(_||U!==b)&&Im(o,h,l,b),cn=!1;var V=o.memoizedState;h.state=V,kl(o,l,h,f),wl(),U=o.memoizedState,_||V!==U||cn?(typeof K=="function"&&(kd(o,i,K,l),U=o.memoizedState),(R=cn||Pm(o,i,R,l,V,U,b))?(Y||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(o.flags|=4194308)):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=l,o.memoizedState=U),h.props=l,h.state=U,h.context=b,l=R):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),l=!1)}else{h=o.stateNode,ed(t,o),b=o.memoizedProps,Y=ua(i,b),h.props=Y,K=o.pendingProps,V=h.context,U=i.contextType,R=Ga,typeof U=="object"&&U!==null&&(R=Mt(U)),_=i.getDerivedStateFromProps,(U=typeof _=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b!==K||V!==R)&&Im(o,h,l,R),cn=!1,V=o.memoizedState,h.state=V,kl(o,l,h,f),wl();var W=o.memoizedState;b!==K||V!==W||cn||t!==null&&t.dependencies!==null&&ec(t.dependencies)?(typeof _=="function"&&(kd(o,i,_,l),W=o.memoizedState),(Y=cn||Pm(o,i,Y,l,V,W,R)||t!==null&&t.dependencies!==null&&ec(t.dependencies))?(U||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(l,W,R),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(l,W,R)),typeof h.componentDidUpdate=="function"&&(o.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=1024),o.memoizedProps=l,o.memoizedState=W),h.props=l,h.state=W,h.context=R,l=Y):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=1024),l=!1)}return h=l,yc(t,o),l=(o.flags&128)!==0,h||l?(h=o.stateNode,i=l&&typeof i.getDerivedStateFromError!="function"?null:h.render(),o.flags|=1,t!==null&&l?(o.child=sa(o,t.child,null,f),o.child=sa(o,null,i,f)):qt(t,o,i,f),o.memoizedState=h.state,t=o.child):t=Er(t,o,f),t}function rv(t,o,i,l){return oa(),o.flags|=256,qt(t,o,i,l),o.child}var Nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cd(t){return{baseLanes:t,cachePool:Xp()}}function Ed(t,o,i){return t=t!==null?t.childLanes&~i:0,o&&(t|=vo),t}function nv(t,o,i){var l=o.pendingProps,f=!1,h=(o.flags&128)!==0,b;if((b=h)||(b=t!==null&&t.memoizedState===null?!1:(gt.current&2)!==0),b&&(f=!0,o.flags&=-129),b=(o.flags&32)!==0,o.flags&=-33,t===null){if(qe){if(f?dn(o):hn(),(t=rt)?(t=d1(t,Do),t=t!==null&&t.data!=="&"?t:null,t!==null&&(o.memoizedState={dehydrated:t,treeContext:nn!==null?{id:cr,overflow:ur}:null,retryLane:536870912,hydrationErrors:null},i=qp(t),i.return=o,o.child=i,Ot=o,rt=null)):t=null,t===null)throw ln(o);return dh(t)?o.lanes=32:o.lanes=536870912,null}var _=l.children;return l=l.fallback,f?(hn(),f=o.mode,_=xc({mode:"hidden",children:_},f),l=ta(l,f,i,null),_.return=o,l.return=o,_.sibling=l,o.child=_,l=o.child,l.memoizedState=Cd(i),l.childLanes=Ed(t,b,i),o.memoizedState=Nd,Nl(null,l)):(dn(o),jd(o,_))}var R=t.memoizedState;if(R!==null&&(_=R.dehydrated,_!==null)){if(h)o.flags&256?(dn(o),o.flags&=-257,o=Rd(t,o,i)):o.memoizedState!==null?(hn(),o.child=t.child,o.flags|=128,o=null):(hn(),_=l.fallback,f=o.mode,l=xc({mode:"visible",children:l.children},f),_=ta(_,f,i,null),_.flags|=2,l.return=o,_.return=o,l.sibling=_,o.child=l,sa(o,t.child,null,i),l=o.child,l.memoizedState=Cd(i),l.childLanes=Ed(t,b,i),o.memoizedState=Nd,o=Nl(null,l));else if(dn(o),dh(_)){if(b=_.nextSibling&&_.nextSibling.dataset,b)var U=b.dgst;b=U,l=Error(a(419)),l.stack="",l.digest=b,ml({value:l,source:null,stack:null}),o=Rd(t,o,i)}else if(St||Ya(t,o,i,!1),b=(i&t.childLanes)!==0,St||b){if(b=tt,b!==null&&(l=Vg(b,i),l!==0&&l!==R.retryLane))throw R.retryLane=l,ea(t,l),to(b,t,l),zd;fh(_)||Cc(),o=Rd(t,o,i)}else fh(_)?(o.flags|=192,o.child=t.child,o=null):(t=R.treeContext,rt=Mo(_.nextSibling),Ot=o,qe=!0,an=null,Do=!1,t!==null&&Lp(o,t),o=jd(o,l.children),o.flags|=4096);return o}return f?(hn(),_=l.fallback,f=o.mode,R=t.child,U=R.sibling,l=Br(R,{mode:"hidden",children:l.children}),l.subtreeFlags=R.subtreeFlags&65011712,U!==null?_=Br(U,_):(_=ta(_,f,i,null),_.flags|=2),_.return=o,l.return=o,l.sibling=_,o.child=l,Nl(null,l),l=o.child,_=t.child.memoizedState,_===null?_=Cd(i):(f=_.cachePool,f!==null?(R=yt._currentValue,f=f.parent!==R?{parent:R,pool:R}:f):f=Xp(),_={baseLanes:_.baseLanes|i,cachePool:f}),l.memoizedState=_,l.childLanes=Ed(t,b,i),o.memoizedState=Nd,Nl(t.child,l)):(dn(o),i=t.child,t=i.sibling,i=Br(i,{mode:"visible",children:l.children}),i.return=o,i.sibling=null,t!==null&&(b=o.deletions,b===null?(o.deletions=[t],o.flags|=16):b.push(t)),o.child=i,o.memoizedState=null,i)}function jd(t,o){return o=xc({mode:"visible",children:o},t.mode),o.return=t,t.child=o}function xc(t,o){return t=ho(22,t,null,o),t.lanes=0,t}function Rd(t,o,i){return sa(o,t.child,null,i),t=jd(o,o.pendingProps.children),t.flags|=2,o.memoizedState=null,t}function av(t,o,i){t.lanes|=o;var l=t.alternate;l!==null&&(l.lanes|=o),Wf(t.return,o,i)}function Ad(t,o,i,l,f,h){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:l,tail:i,tailMode:f,treeForkCount:h}:(b.isBackwards=o,b.rendering=null,b.renderingStartTime=0,b.last=l,b.tail=i,b.tailMode=f,b.treeForkCount=h)}function iv(t,o,i){var l=o.pendingProps,f=l.revealOrder,h=l.tail;l=l.children;var b=gt.current,_=(b&2)!==0;if(_?(b=b&1|2,o.flags|=128):b&=1,Z(gt,b),qt(t,o,l,i),l=qe?pl:0,!_&&t!==null&&(t.flags&128)!==0)e:for(t=o.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&av(t,i,o);else if(t.tag===19)av(t,i,o);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===o)break e;for(;t.sibling===null;){if(t.return===null||t.return===o)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(f){case"forwards":for(i=o.child,f=null;i!==null;)t=i.alternate,t!==null&&sc(t)===null&&(f=i),i=i.sibling;i=f,i===null?(f=o.child,o.child=null):(f=i.sibling,i.sibling=null),Ad(o,!1,f,i,h,l);break;case"backwards":case"unstable_legacy-backwards":for(i=null,f=o.child,o.child=null;f!==null;){if(t=f.alternate,t!==null&&sc(t)===null){o.child=f;break}t=f.sibling,f.sibling=i,i=f,f=t}Ad(o,!0,i,null,h,l);break;case"together":Ad(o,!1,null,null,void 0,l);break;default:o.memoizedState=null}return o.child}function Er(t,o,i){if(t!==null&&(o.dependencies=t.dependencies),mn|=o.lanes,(i&o.childLanes)===0)if(t!==null){if(Ya(t,o,i,!1),(i&o.childLanes)===0)return null}else return null;if(t!==null&&o.child!==t.child)throw Error(a(153));if(o.child!==null){for(t=o.child,i=Br(t,t.pendingProps),o.child=i,i.return=o;t.sibling!==null;)t=t.sibling,i=i.sibling=Br(t,t.pendingProps),i.return=o;i.sibling=null}return o.child}function Dd(t,o){return(t.lanes&o)!==0?!0:(t=t.dependencies,!!(t!==null&&ec(t)))}function Lw(t,o,i){switch(o.tag){case 3:bt(o,o.stateNode.containerInfo),sn(o,yt,t.memoizedState.cache),oa();break;case 27:case 5:He(o);break;case 4:bt(o,o.stateNode.containerInfo);break;case 10:sn(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,ad(o),null;break;case 13:var l=o.memoizedState;if(l!==null)return l.dehydrated!==null?(dn(o),o.flags|=128,null):(i&o.child.childLanes)!==0?nv(t,o,i):(dn(o),t=Er(t,o,i),t!==null?t.sibling:null);dn(o);break;case 19:var f=(t.flags&128)!==0;if(l=(i&o.childLanes)!==0,l||(Ya(t,o,i,!1),l=(i&o.childLanes)!==0),f){if(l)return iv(t,o,i);o.flags|=128}if(f=o.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Z(gt,gt.current),l)break;return null;case 22:return o.lanes=0,Zm(t,o,i,o.pendingProps);case 24:sn(o,yt,t.memoizedState.cache)}return Er(t,o,i)}function lv(t,o,i){if(t!==null)if(t.memoizedProps!==o.pendingProps)St=!0;else{if(!Dd(t,i)&&(o.flags&128)===0)return St=!1,Lw(t,o,i);St=(t.flags&131072)!==0}else St=!1,qe&&(o.flags&1048576)!==0&&Hp(o,pl,o.index);switch(o.lanes=0,o.tag){case 16:e:{var l=o.pendingProps;if(t=ia(o.elementType),o.type=t,typeof t=="function")Hf(t)?(l=ua(t,l),o.tag=1,o=ov(null,o,t,l,i)):(o.tag=0,o=Td(null,o,t,l,i));else{if(t!=null){var f=t.$$typeof;if(f===C){o.tag=11,o=Ym(null,o,t,l,i);break e}else if(f===Q){o.tag=14,o=$m(null,o,t,l,i);break e}}throw o=re(t)||t,Error(a(306,o,""))}}return o;case 0:return Td(t,o,o.type,o.pendingProps,i);case 1:return l=o.type,f=ua(l,o.pendingProps),ov(t,o,l,f,i);case 3:e:{if(bt(o,o.stateNode.containerInfo),t===null)throw Error(a(387));l=o.pendingProps;var h=o.memoizedState;f=h.element,ed(t,o),kl(o,l,null,i);var b=o.memoizedState;if(l=b.cache,sn(o,yt,l),l!==h.cache&&Qf(o,[yt],i,!0),wl(),l=b.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:b.cache},o.updateQueue.baseState=h,o.memoizedState=h,o.flags&256){o=rv(t,o,l,i);break e}else if(l!==f){f=jo(Error(a(424)),o),ml(f),o=rv(t,o,l,i);break e}else{switch(t=o.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(rt=Mo(t.firstChild),Ot=o,qe=!0,an=null,Do=!0,i=Zp(o,null,l,i),o.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(oa(),l===f){o=Er(t,o,i);break e}qt(t,o,l,i)}o=o.child}return o;case 26:return yc(t,o),t===null?(i=b1(o.type,null,o.pendingProps,null))?o.memoizedState=i:qe||(i=o.type,t=o.pendingProps,l=Mc(ke.current).createElement(i),l[Dt]=o,l[Yt]=t,Ft(l,i,t),Et(l),o.stateNode=l):o.memoizedState=b1(o.type,t.memoizedProps,o.pendingProps,t.memoizedState),null;case 27:return He(o),t===null&&qe&&(l=o.stateNode=p1(o.type,o.pendingProps,ke.current),Ot=o,Do=!0,f=rt,Sn(o.type)?(hh=f,rt=Mo(l.firstChild)):rt=f),qt(t,o,o.pendingProps.children,i),yc(t,o),t===null&&(o.flags|=4194304),o.child;case 5:return t===null&&qe&&((f=l=rt)&&(l=m3(l,o.type,o.pendingProps,Do),l!==null?(o.stateNode=l,Ot=o,rt=Mo(l.firstChild),Do=!1,f=!0):f=!1),f||ln(o)),He(o),f=o.type,h=o.pendingProps,b=t!==null?t.memoizedProps:null,l=h.children,sh(f,h)?l=null:b!==null&&sh(f,b)&&(o.flags|=32),o.memoizedState!==null&&(f=ld(t,o,jw,null,null,i),Ul._currentValue=f),yc(t,o),qt(t,o,l,i),o.child;case 6:return t===null&&qe&&((t=i=rt)&&(i=v3(i,o.pendingProps,Do),i!==null?(o.stateNode=i,Ot=o,rt=null,t=!0):t=!1),t||ln(o)),null;case 13:return nv(t,o,i);case 4:return bt(o,o.stateNode.containerInfo),l=o.pendingProps,t===null?o.child=sa(o,null,l,i):qt(t,o,l,i),o.child;case 11:return Ym(t,o,o.type,o.pendingProps,i);case 7:return qt(t,o,o.pendingProps,i),o.child;case 8:return qt(t,o,o.pendingProps.children,i),o.child;case 12:return qt(t,o,o.pendingProps.children,i),o.child;case 10:return l=o.pendingProps,sn(o,o.type,l.value),qt(t,o,l.children,i),o.child;case 9:return f=o.type._context,l=o.pendingProps.children,na(o),f=Mt(f),l=l(f),o.flags|=1,qt(t,o,l,i),o.child;case 14:return $m(t,o,o.type,o.pendingProps,i);case 15:return Km(t,o,o.type,o.pendingProps,i);case 19:return iv(t,o,i);case 31:return Hw(t,o,i);case 22:return Zm(t,o,i,o.pendingProps);case 24:return na(o),l=Mt(yt),t===null?(f=Kf(),f===null&&(f=tt,h=Yf(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=i),f=h),o.memoizedState={parent:l,cache:f},Jf(o),sn(o,yt,f)):((t.lanes&i)!==0&&(ed(t,o),kl(o,null,null,i),wl()),f=t.memoizedState,h=o.memoizedState,f.parent!==l?(f={parent:l,cache:l},o.memoizedState=f,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=f),sn(o,yt,l)):(l=h.cache,sn(o,yt,l),l!==f.cache&&Qf(o,[yt],i,!0))),qt(t,o,o.pendingProps.children,i),o.child;case 29:throw o.pendingProps}throw Error(a(156,o.tag))}function jr(t){t.flags|=4}function Od(t,o,i,l,f){if((o=(t.mode&32)!==0)&&(o=!1),o){if(t.flags|=16777216,(f&335544128)===f)if(t.stateNode.complete)t.flags|=8192;else if(Dv())t.flags|=8192;else throw la=nc,Zf}else t.flags&=-16777217}function sv(t,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!k1(o))if(Dv())t.flags|=8192;else throw la=nc,Zf}function Sc(t,o){o!==null&&(t.flags|=4),t.flags&16384&&(o=t.tag!==22?Pg():536870912,t.lanes|=o,li|=o)}function Cl(t,o){if(!qe)switch(t.tailMode){case"hidden":o=t.tail;for(var i=null;o!==null;)o.alternate!==null&&(i=o),o=o.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?o||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function nt(t){var o=t.alternate!==null&&t.alternate.child===t.child,i=0,l=0;if(o)for(var f=t.child;f!==null;)i|=f.lanes|f.childLanes,l|=f.subtreeFlags&65011712,l|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)i|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=l,t.childLanes=i,o}function Pw(t,o,i){var l=o.pendingProps;switch(Uf(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nt(o),null;case 1:return nt(o),null;case 3:return i=o.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),o.memoizedState.cache!==l&&(o.flags|=2048),Tr(yt),pe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(Qa(o)?jr(o):t===null||t.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Gf())),nt(o),null;case 26:var f=o.type,h=o.memoizedState;return t===null?(jr(o),h!==null?(nt(o),sv(o,h)):(nt(o),Od(o,f,null,l,i))):h?h!==t.memoizedState?(jr(o),nt(o),sv(o,h)):(nt(o),o.flags&=-16777217):(t=t.memoizedProps,t!==l&&jr(o),nt(o),Od(o,f,t,l,i)),null;case 27:if(To(o),i=ke.current,f=o.type,t!==null&&o.stateNode!=null)t.memoizedProps!==l&&jr(o);else{if(!l){if(o.stateNode===null)throw Error(a(166));return nt(o),null}t=ne.current,Qa(o)?Pp(o):(t=p1(f,l,i),o.stateNode=t,jr(o))}return nt(o),null;case 5:if(To(o),f=o.type,t!==null&&o.stateNode!=null)t.memoizedProps!==l&&jr(o);else{if(!l){if(o.stateNode===null)throw Error(a(166));return nt(o),null}if(h=ne.current,Qa(o))Pp(o);else{var b=Mc(ke.current);switch(h){case 1:h=b.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:h=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":h=b.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":h=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":h=b.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof l.is=="string"?b.createElement("select",{is:l.is}):b.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?b.createElement(f,{is:l.is}):b.createElement(f)}}h[Dt]=o,h[Yt]=l;e:for(b=o.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===o)break e;for(;b.sibling===null;){if(b.return===null||b.return===o)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}o.stateNode=h;e:switch(Ft(h,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&jr(o)}}return nt(o),Od(o,o.type,t===null?null:t.memoizedProps,o.pendingProps,i),null;case 6:if(t&&o.stateNode!=null)t.memoizedProps!==l&&jr(o);else{if(typeof l!="string"&&o.stateNode===null)throw Error(a(166));if(t=ke.current,Qa(o)){if(t=o.stateNode,i=o.memoizedProps,l=null,f=Ot,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}t[Dt]=o,t=!!(t.nodeValue===i||l!==null&&l.suppressHydrationWarning===!0||n1(t.nodeValue,i)),t||ln(o,!0)}else t=Mc(t).createTextNode(l),t[Dt]=o,o.stateNode=t}return nt(o),null;case 31:if(i=o.memoizedState,t===null||t.memoizedState!==null){if(l=Qa(o),i!==null){if(t===null){if(!l)throw Error(a(318));if(t=o.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(557));t[Dt]=o}else oa(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;nt(o),t=!1}else i=Gf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return o.flags&256?(po(o),o):(po(o),null);if((o.flags&128)!==0)throw Error(a(558))}return nt(o),null;case 13:if(l=o.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=Qa(o),l!==null&&l.dehydrated!==null){if(t===null){if(!f)throw Error(a(318));if(f=o.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[Dt]=o}else oa(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;nt(o),f=!1}else f=Gf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return o.flags&256?(po(o),o):(po(o),null)}return po(o),(o.flags&128)!==0?(o.lanes=i,o):(i=l!==null,t=t!==null&&t.memoizedState!==null,i&&(l=o.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048)),i!==t&&i&&(o.child.flags|=8192),Sc(o,o.updateQueue),nt(o),null);case 4:return pe(),t===null&&rh(o.stateNode.containerInfo),nt(o),null;case 10:return Tr(o.type),nt(o),null;case 19:if(L(gt),l=o.memoizedState,l===null)return nt(o),null;if(f=(o.flags&128)!==0,h=l.rendering,h===null)if(f)Cl(l,!1);else{if(ct!==0||t!==null&&(t.flags&128)!==0)for(t=o.child;t!==null;){if(h=sc(t),h!==null){for(o.flags|=128,Cl(l,!1),t=h.updateQueue,o.updateQueue=t,Sc(o,t),o.subtreeFlags=0,t=i,i=o.child;i!==null;)Mp(i,t),i=i.sibling;return Z(gt,gt.current&1|2),qe&&_r(o,l.treeForkCount),o.child}t=t.sibling}l.tail!==null&&so()>zc&&(o.flags|=128,f=!0,Cl(l,!1),o.lanes=4194304)}else{if(!f)if(t=sc(h),t!==null){if(o.flags|=128,f=!0,t=t.updateQueue,o.updateQueue=t,Sc(o,t),Cl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!qe)return nt(o),null}else 2*so()-l.renderingStartTime>zc&&i!==536870912&&(o.flags|=128,f=!0,Cl(l,!1),o.lanes=4194304);l.isBackwards?(h.sibling=o.child,o.child=h):(t=l.last,t!==null?t.sibling=h:o.child=h,l.last=h)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=so(),t.sibling=null,i=gt.current,Z(gt,f?i&1|2:i&1),qe&&_r(o,l.treeForkCount),t):(nt(o),null);case 22:case 23:return po(o),nd(),l=o.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(o.flags|=8192):l&&(o.flags|=8192),l?(i&536870912)!==0&&(o.flags&128)===0&&(nt(o),o.subtreeFlags&6&&(o.flags|=8192)):nt(o),i=o.updateQueue,i!==null&&Sc(o,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),l=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool),l!==i&&(o.flags|=2048),t!==null&&L(aa),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),o.memoizedState.cache!==i&&(o.flags|=2048),Tr(yt),nt(o),null;case 25:return null;case 30:return null}throw Error(a(156,o.tag))}function Iw(t,o){switch(Uf(o),o.tag){case 1:return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 3:return Tr(yt),pe(),t=o.flags,(t&65536)!==0&&(t&128)===0?(o.flags=t&-65537|128,o):null;case 26:case 27:case 5:return To(o),null;case 31:if(o.memoizedState!==null){if(po(o),o.alternate===null)throw Error(a(340));oa()}return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 13:if(po(o),t=o.memoizedState,t!==null&&t.dehydrated!==null){if(o.alternate===null)throw Error(a(340));oa()}return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 19:return L(gt),null;case 4:return pe(),null;case 10:return Tr(o.type),null;case 22:case 23:return po(o),nd(),t!==null&&L(aa),t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 24:return Tr(yt),null;case 25:return null;default:return null}}function cv(t,o){switch(Uf(o),o.tag){case 3:Tr(yt),pe();break;case 26:case 27:case 5:To(o);break;case 4:pe();break;case 31:o.memoizedState!==null&&po(o);break;case 13:po(o);break;case 19:L(gt);break;case 10:Tr(o.type);break;case 22:case 23:po(o),nd(),t!==null&&L(aa);break;case 24:Tr(yt)}}function El(t,o){try{var i=o.updateQueue,l=i!==null?i.lastEffect:null;if(l!==null){var f=l.next;i=f;do{if((i.tag&t)===t){l=void 0;var h=i.create,b=i.inst;l=h(),b.destroy=l}i=i.next}while(i!==f)}}catch(_){$e(o,o.return,_)}}function gn(t,o,i){try{var l=o.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var h=f.next;l=h;do{if((l.tag&t)===t){var b=l.inst,_=b.destroy;if(_!==void 0){b.destroy=void 0,f=o;var R=i,U=_;try{U()}catch(Y){$e(f,R,Y)}}}l=l.next}while(l!==h)}}catch(Y){$e(o,o.return,Y)}}function uv(t){var o=t.updateQueue;if(o!==null){var i=t.stateNode;try{em(o,i)}catch(l){$e(t,t.return,l)}}}function fv(t,o,i){i.props=ua(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(l){$e(t,o,l)}}function jl(t,o){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof i=="function"?t.refCleanup=i(l):i.current=l}}catch(f){$e(t,o,f)}}function fr(t,o){var i=t.ref,l=t.refCleanup;if(i!==null)if(typeof l=="function")try{l()}catch(f){$e(t,o,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){$e(t,o,f)}else i.current=null}function dv(t){var o=t.type,i=t.memoizedProps,l=t.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":i.autoFocus&&l.focus();break e;case"img":i.src?l.src=i.src:i.srcSet&&(l.srcset=i.srcSet)}}catch(f){$e(t,t.return,f)}}function Md(t,o,i){try{var l=t.stateNode;u3(l,t.type,i,o),l[Yt]=o}catch(f){$e(t,t.return,f)}}function hv(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Sn(t.type)||t.tag===4}function qd(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||hv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Sn(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 Fd(t,o,i){var l=t.tag;if(l===5||l===6)t=t.stateNode,o?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,o):(o=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,o.appendChild(t),i=i._reactRootContainer,i!=null||o.onclick!==null||(o.onclick=wr));else if(l!==4&&(l===27&&Sn(t.type)&&(i=t.stateNode,o=null),t=t.child,t!==null))for(Fd(t,o,i),t=t.sibling;t!==null;)Fd(t,o,i),t=t.sibling}function wc(t,o,i){var l=t.tag;if(l===5||l===6)t=t.stateNode,o?i.insertBefore(t,o):i.appendChild(t);else if(l!==4&&(l===27&&Sn(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(wc(t,o,i),t=t.sibling;t!==null;)wc(t,o,i),t=t.sibling}function gv(t){var o=t.stateNode,i=t.memoizedProps;try{for(var l=t.type,f=o.attributes;f.length;)o.removeAttributeNode(f[0]);Ft(o,l,i),o[Dt]=t,o[Yt]=i}catch(h){$e(t,t.return,h)}}var Rr=!1,wt=!1,Hd=!1,pv=typeof WeakSet=="function"?WeakSet:Set,jt=null;function Uw(t,o){if(t=t.containerInfo,ih=Uc,t=Tp(t),Rf(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var l=i.getSelection&&i.getSelection();if(l&&l.rangeCount!==0){i=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var b=0,_=-1,R=-1,U=0,Y=0,K=t,V=null;t:for(;;){for(var W;K!==i||f!==0&&K.nodeType!==3||(_=b+f),K!==h||l!==0&&K.nodeType!==3||(R=b+l),K.nodeType===3&&(b+=K.nodeValue.length),(W=K.firstChild)!==null;)V=K,K=W;for(;;){if(K===t)break t;if(V===i&&++U===f&&(_=b),V===h&&++Y===l&&(R=b),(W=K.nextSibling)!==null)break;K=V,V=K.parentNode}K=W}i=_===-1||R===-1?null:{start:_,end:R}}else i=null}i=i||{start:0,end:0}}else i=null;for(lh={focusedElem:t,selectionRange:i},Uc=!1,jt=o;jt!==null;)if(o=jt,t=o.child,(o.subtreeFlags&1028)!==0&&t!==null)t.return=o,jt=t;else for(;jt!==null;){switch(o=jt,h=o.alternate,t=o.flags,o.tag){case 0:if((t&4)!==0&&(t=o.updateQueue,t=t!==null?t.events:null,t!==null))for(i=0;i<t.length;i++)f=t[i],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,i=o,f=h.memoizedProps,h=h.memoizedState,l=i.stateNode;try{var he=ua(i.type,f);t=l.getSnapshotBeforeUpdate(he,h),l.__reactInternalSnapshotBeforeUpdate=t}catch(we){$e(i,i.return,we)}}break;case 3:if((t&1024)!==0){if(t=o.stateNode.containerInfo,i=t.nodeType,i===9)uh(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":uh(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(a(163))}if(t=o.sibling,t!==null){t.return=o.return,jt=t;break}jt=o.return}}function mv(t,o,i){var l=i.flags;switch(i.tag){case 0:case 11:case 15:Dr(t,i),l&4&&El(5,i);break;case 1:if(Dr(t,i),l&4)if(t=i.stateNode,o===null)try{t.componentDidMount()}catch(b){$e(i,i.return,b)}else{var f=ua(i.type,o.memoizedProps);o=o.memoizedState;try{t.componentDidUpdate(f,o,t.__reactInternalSnapshotBeforeUpdate)}catch(b){$e(i,i.return,b)}}l&64&&uv(i),l&512&&jl(i,i.return);break;case 3:if(Dr(t,i),l&64&&(t=i.updateQueue,t!==null)){if(o=null,i.child!==null)switch(i.child.tag){case 27:case 5:o=i.child.stateNode;break;case 1:o=i.child.stateNode}try{em(t,o)}catch(b){$e(i,i.return,b)}}break;case 27:o===null&&l&4&&gv(i);case 26:case 5:Dr(t,i),o===null&&l&4&&dv(i),l&512&&jl(i,i.return);break;case 12:Dr(t,i);break;case 31:Dr(t,i),l&4&&yv(t,i);break;case 13:Dr(t,i),l&4&&xv(t,i),l&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=Zw.bind(null,i),b3(t,i))));break;case 22:if(l=i.memoizedState!==null||Rr,!l){o=o!==null&&o.memoizedState!==null||wt,f=Rr;var h=wt;Rr=l,(wt=o)&&!h?Or(t,i,(i.subtreeFlags&8772)!==0):Dr(t,i),Rr=f,wt=h}break;case 30:break;default:Dr(t,i)}}function vv(t){var o=t.alternate;o!==null&&(t.alternate=null,vv(o)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(o=t.stateNode,o!==null&&pf(o)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var at=null,Kt=!1;function Ar(t,o,i){for(i=i.child;i!==null;)bv(t,o,i),i=i.sibling}function bv(t,o,i){if(co&&typeof co.onCommitFiberUnmount=="function")try{co.onCommitFiberUnmount(tl,i)}catch{}switch(i.tag){case 26:wt||fr(i,o),Ar(t,o,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:wt||fr(i,o);var l=at,f=Kt;Sn(i.type)&&(at=i.stateNode,Kt=!1),Ar(t,o,i),Ll(i.stateNode),at=l,Kt=f;break;case 5:wt||fr(i,o);case 6:if(l=at,f=Kt,at=null,Ar(t,o,i),at=l,Kt=f,at!==null)if(Kt)try{(at.nodeType===9?at.body:at.nodeName==="HTML"?at.ownerDocument.body:at).removeChild(i.stateNode)}catch(h){$e(i,o,h)}else try{at.removeChild(i.stateNode)}catch(h){$e(i,o,h)}break;case 18:at!==null&&(Kt?(t=at,u1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),pi(t)):u1(at,i.stateNode));break;case 4:l=at,f=Kt,at=i.stateNode.containerInfo,Kt=!0,Ar(t,o,i),at=l,Kt=f;break;case 0:case 11:case 14:case 15:gn(2,i,o),wt||gn(4,i,o),Ar(t,o,i);break;case 1:wt||(fr(i,o),l=i.stateNode,typeof l.componentWillUnmount=="function"&&fv(i,o,l)),Ar(t,o,i);break;case 21:Ar(t,o,i);break;case 22:wt=(l=wt)||i.memoizedState!==null,Ar(t,o,i),wt=l;break;default:Ar(t,o,i)}}function yv(t,o){if(o.memoizedState===null&&(t=o.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{pi(t)}catch(i){$e(o,o.return,i)}}}function xv(t,o){if(o.memoizedState===null&&(t=o.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{pi(t)}catch(i){$e(o,o.return,i)}}function Vw(t){switch(t.tag){case 31:case 13:case 19:var o=t.stateNode;return o===null&&(o=t.stateNode=new pv),o;case 22:return t=t.stateNode,o=t._retryCache,o===null&&(o=t._retryCache=new pv),o;default:throw Error(a(435,t.tag))}}function kc(t,o){var i=Vw(t);o.forEach(function(l){if(!i.has(l)){i.add(l);var f=Jw.bind(null,t,l);l.then(f,f)}})}function Zt(t,o){var i=o.deletions;if(i!==null)for(var l=0;l<i.length;l++){var f=i[l],h=t,b=o,_=b;e:for(;_!==null;){switch(_.tag){case 27:if(Sn(_.type)){at=_.stateNode,Kt=!1;break e}break;case 5:at=_.stateNode,Kt=!1;break e;case 3:case 4:at=_.stateNode.containerInfo,Kt=!0;break e}_=_.return}if(at===null)throw Error(a(160));bv(h,b,f),at=null,Kt=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Sv(o,t),o=o.sibling}var Qo=null;function Sv(t,o){var i=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Zt(o,t),Jt(t),l&4&&(gn(3,t,t.return),El(3,t),gn(5,t,t.return));break;case 1:Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),l&64&&Rr&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(i=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=i===null?l:i.concat(l))));break;case 26:var f=Qo;if(Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),l&4){var h=i!==null?i.memoizedState:null;if(l=t.memoizedState,i===null)if(l===null)if(t.stateNode===null){e:{l=t.type,i=t.memoizedProps,f=f.ownerDocument||f;t:switch(l){case"title":h=f.getElementsByTagName("title")[0],(!h||h[nl]||h[Dt]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(l),f.head.insertBefore(h,f.querySelector("head > title"))),Ft(h,l,i),h[Dt]=t,Et(h),l=h;break e;case"link":var b=S1("link","href",f).get(l+(i.href||""));if(b){for(var _=0;_<b.length;_++)if(h=b[_],h.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&h.getAttribute("rel")===(i.rel==null?null:i.rel)&&h.getAttribute("title")===(i.title==null?null:i.title)&&h.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){b.splice(_,1);break t}}h=f.createElement(l),Ft(h,l,i),f.head.appendChild(h);break;case"meta":if(b=S1("meta","content",f).get(l+(i.content||""))){for(_=0;_<b.length;_++)if(h=b[_],h.getAttribute("content")===(i.content==null?null:""+i.content)&&h.getAttribute("name")===(i.name==null?null:i.name)&&h.getAttribute("property")===(i.property==null?null:i.property)&&h.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&h.getAttribute("charset")===(i.charSet==null?null:i.charSet)){b.splice(_,1);break t}}h=f.createElement(l),Ft(h,l,i),f.head.appendChild(h);break;default:throw Error(a(468,l))}h[Dt]=t,Et(h),l=h}t.stateNode=l}else w1(f,t.type,t.stateNode);else t.stateNode=x1(f,l,t.memoizedProps);else h!==l?(h===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):h.count--,l===null?w1(f,t.type,t.stateNode):x1(f,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Md(t,t.memoizedProps,i.memoizedProps)}break;case 27:Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),i!==null&&l&4&&Md(t,t.memoizedProps,i.memoizedProps);break;case 5:if(Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),t.flags&32){f=t.stateNode;try{Fa(f,"")}catch(he){$e(t,t.return,he)}}l&4&&t.stateNode!=null&&(f=t.memoizedProps,Md(t,f,i!==null?i.memoizedProps:f)),l&1024&&(Hd=!0);break;case 6:if(Zt(o,t),Jt(t),l&4){if(t.stateNode===null)throw Error(a(162));l=t.memoizedProps,i=t.stateNode;try{i.nodeValue=l}catch(he){$e(t,t.return,he)}}break;case 3:if(Hc=null,f=Qo,Qo=qc(o.containerInfo),Zt(o,t),Qo=f,Jt(t),l&4&&i!==null&&i.memoizedState.isDehydrated)try{pi(o.containerInfo)}catch(he){$e(t,t.return,he)}Hd&&(Hd=!1,wv(t));break;case 4:l=Qo,Qo=qc(t.stateNode.containerInfo),Zt(o,t),Jt(t),Qo=l;break;case 12:Zt(o,t),Jt(t);break;case 31:Zt(o,t),Jt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,kc(t,l)));break;case 13:Zt(o,t),Jt(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(_c=so()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,kc(t,l)));break;case 22:f=t.memoizedState!==null;var R=i!==null&&i.memoizedState!==null,U=Rr,Y=wt;if(Rr=U||f,wt=Y||R,Zt(o,t),wt=Y,Rr=U,Jt(t),l&8192)e:for(o=t.stateNode,o._visibility=f?o._visibility&-2:o._visibility|1,f&&(i===null||R||Rr||wt||fa(t)),i=null,o=t;;){if(o.tag===5||o.tag===26){if(i===null){R=i=o;try{if(h=R.stateNode,f)b=h.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{_=R.stateNode;var K=R.memoizedProps.style,V=K!=null&&K.hasOwnProperty("display")?K.display:null;_.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(he){$e(R,R.return,he)}}}else if(o.tag===6){if(i===null){R=o;try{R.stateNode.nodeValue=f?"":R.memoizedProps}catch(he){$e(R,R.return,he)}}}else if(o.tag===18){if(i===null){R=o;try{var W=R.stateNode;f?f1(W,!0):f1(R.stateNode,!1)}catch(he){$e(R,R.return,he)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===t)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;i===o&&(i=null),o=o.return}i===o&&(i=null),o.sibling.return=o.return,o=o.sibling}l&4&&(l=t.updateQueue,l!==null&&(i=l.retryQueue,i!==null&&(l.retryQueue=null,kc(t,i))));break;case 19:Zt(o,t),Jt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,kc(t,l)));break;case 30:break;case 21:break;default:Zt(o,t),Jt(t)}}function Jt(t){var o=t.flags;if(o&2){try{for(var i,l=t.return;l!==null;){if(hv(l)){i=l;break}l=l.return}if(i==null)throw Error(a(160));switch(i.tag){case 27:var f=i.stateNode,h=qd(t);wc(t,h,f);break;case 5:var b=i.stateNode;i.flags&32&&(Fa(b,""),i.flags&=-33);var _=qd(t);wc(t,_,b);break;case 3:case 4:var R=i.stateNode.containerInfo,U=qd(t);Fd(t,U,R);break;default:throw Error(a(161))}}catch(Y){$e(t,t.return,Y)}t.flags&=-3}o&4096&&(t.flags&=-4097)}function wv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var o=t;wv(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),t=t.sibling}}function Dr(t,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)mv(t,o.alternate,o),o=o.sibling}function fa(t){for(t=t.child;t!==null;){var o=t;switch(o.tag){case 0:case 11:case 14:case 15:gn(4,o,o.return),fa(o);break;case 1:fr(o,o.return);var i=o.stateNode;typeof i.componentWillUnmount=="function"&&fv(o,o.return,i),fa(o);break;case 27:Ll(o.stateNode);case 26:case 5:fr(o,o.return),fa(o);break;case 22:o.memoizedState===null&&fa(o);break;case 30:fa(o);break;default:fa(o)}t=t.sibling}}function Or(t,o,i){for(i=i&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var l=o.alternate,f=t,h=o,b=h.flags;switch(h.tag){case 0:case 11:case 15:Or(f,h,i),El(4,h);break;case 1:if(Or(f,h,i),l=h,f=l.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(U){$e(l,l.return,U)}if(l=h,f=l.updateQueue,f!==null){var _=l.stateNode;try{var R=f.shared.hiddenCallbacks;if(R!==null)for(f.shared.hiddenCallbacks=null,f=0;f<R.length;f++)Jp(R[f],_)}catch(U){$e(l,l.return,U)}}i&&b&64&&uv(h),jl(h,h.return);break;case 27:gv(h);case 26:case 5:Or(f,h,i),i&&l===null&&b&4&&dv(h),jl(h,h.return);break;case 12:Or(f,h,i);break;case 31:Or(f,h,i),i&&b&4&&yv(f,h);break;case 13:Or(f,h,i),i&&b&4&&xv(f,h);break;case 22:h.memoizedState===null&&Or(f,h,i),jl(h,h.return);break;case 30:break;default:Or(f,h,i)}o=o.sibling}}function Ld(t,o){var i=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),t=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(t=o.memoizedState.cachePool.pool),t!==i&&(t!=null&&t.refCount++,i!=null&&vl(i))}function Pd(t,o){t=null,o.alternate!==null&&(t=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==t&&(o.refCount++,t!=null&&vl(t))}function Yo(t,o,i,l){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)kv(t,o,i,l),o=o.sibling}function kv(t,o,i,l){var f=o.flags;switch(o.tag){case 0:case 11:case 15:Yo(t,o,i,l),f&2048&&El(9,o);break;case 1:Yo(t,o,i,l);break;case 3:Yo(t,o,i,l),f&2048&&(t=null,o.alternate!==null&&(t=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==t&&(o.refCount++,t!=null&&vl(t)));break;case 12:if(f&2048){Yo(t,o,i,l),t=o.stateNode;try{var h=o.memoizedProps,b=h.id,_=h.onPostCommit;typeof _=="function"&&_(b,o.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){$e(o,o.return,R)}}else Yo(t,o,i,l);break;case 31:Yo(t,o,i,l);break;case 13:Yo(t,o,i,l);break;case 23:break;case 22:h=o.stateNode,b=o.alternate,o.memoizedState!==null?h._visibility&2?Yo(t,o,i,l):Rl(t,o):h._visibility&2?Yo(t,o,i,l):(h._visibility|=2,ni(t,o,i,l,(o.subtreeFlags&10256)!==0||!1)),f&2048&&Ld(b,o);break;case 24:Yo(t,o,i,l),f&2048&&Pd(o.alternate,o);break;default:Yo(t,o,i,l)}}function ni(t,o,i,l,f){for(f=f&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var h=t,b=o,_=i,R=l,U=b.flags;switch(b.tag){case 0:case 11:case 15:ni(h,b,_,R,f),El(8,b);break;case 23:break;case 22:var Y=b.stateNode;b.memoizedState!==null?Y._visibility&2?ni(h,b,_,R,f):Rl(h,b):(Y._visibility|=2,ni(h,b,_,R,f)),f&&U&2048&&Ld(b.alternate,b);break;case 24:ni(h,b,_,R,f),f&&U&2048&&Pd(b.alternate,b);break;default:ni(h,b,_,R,f)}o=o.sibling}}function Rl(t,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var i=t,l=o,f=l.flags;switch(l.tag){case 22:Rl(i,l),f&2048&&Ld(l.alternate,l);break;case 24:Rl(i,l),f&2048&&Pd(l.alternate,l);break;default:Rl(i,l)}o=o.sibling}}var Al=8192;function ai(t,o,i){if(t.subtreeFlags&Al)for(t=t.child;t!==null;)Bv(t,o,i),t=t.sibling}function Bv(t,o,i){switch(t.tag){case 26:ai(t,o,i),t.flags&Al&&t.memoizedState!==null&&E3(i,Qo,t.memoizedState,t.memoizedProps);break;case 5:ai(t,o,i);break;case 3:case 4:var l=Qo;Qo=qc(t.stateNode.containerInfo),ai(t,o,i),Qo=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Al,Al=16777216,ai(t,o,i),Al=l):ai(t,o,i));break;default:ai(t,o,i)}}function _v(t){var o=t.alternate;if(o!==null&&(t=o.child,t!==null)){o.child=null;do o=t.sibling,t.sibling=null,t=o;while(t!==null)}}function Dl(t){var o=t.deletions;if((t.flags&16)!==0){if(o!==null)for(var i=0;i<o.length;i++){var l=o[i];jt=l,Tv(l,t)}_v(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)zv(t),t=t.sibling}function zv(t){switch(t.tag){case 0:case 11:case 15:Dl(t),t.flags&2048&&gn(9,t,t.return);break;case 3:Dl(t);break;case 12:Dl(t);break;case 22:var o=t.stateNode;t.memoizedState!==null&&o._visibility&2&&(t.return===null||t.return.tag!==13)?(o._visibility&=-3,Bc(t)):Dl(t);break;default:Dl(t)}}function Bc(t){var o=t.deletions;if((t.flags&16)!==0){if(o!==null)for(var i=0;i<o.length;i++){var l=o[i];jt=l,Tv(l,t)}_v(t)}for(t=t.child;t!==null;){switch(o=t,o.tag){case 0:case 11:case 15:gn(8,o,o.return),Bc(o);break;case 22:i=o.stateNode,i._visibility&2&&(i._visibility&=-3,Bc(o));break;default:Bc(o)}t=t.sibling}}function Tv(t,o){for(;jt!==null;){var i=jt;switch(i.tag){case 0:case 11:case 15:gn(8,i,o);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var l=i.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:vl(i.memoizedState.cache)}if(l=i.child,l!==null)l.return=i,jt=l;else e:for(i=t;jt!==null;){l=jt;var f=l.sibling,h=l.return;if(vv(l),l===i){jt=null;break e}if(f!==null){f.return=h,jt=f;break e}jt=h}}}var Gw={getCacheForType:function(t){var o=Mt(yt),i=o.data.get(t);return i===void 0&&(i=t(),o.data.set(t,i)),i},cacheSignal:function(){return Mt(yt).controller.signal}},Xw=typeof WeakMap=="function"?WeakMap:Map,Ge=0,tt=null,Re=null,Oe=0,Ye=0,mo=null,pn=!1,ii=!1,Id=!1,Mr=0,ct=0,mn=0,da=0,Ud=0,vo=0,li=0,Ol=null,eo=null,Vd=!1,_c=0,Nv=0,zc=1/0,Tc=null,vn=null,zt=0,bn=null,si=null,qr=0,Gd=0,Xd=null,Cv=null,Ml=0,Wd=null;function bo(){return(Ge&2)!==0&&Oe!==0?Oe&-Oe:P.T!==null?Jd():Gg()}function Ev(){if(vo===0)if((Oe&536870912)===0||qe){var t=Os;Os<<=1,(Os&3932160)===0&&(Os=262144),vo=t}else vo=536870912;return t=go.current,t!==null&&(t.flags|=32),vo}function to(t,o,i){(t===tt&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)&&(ci(t,0),yn(t,Oe,vo,!1)),rl(t,i),((Ge&2)===0||t!==tt)&&(t===tt&&((Ge&2)===0&&(da|=i),ct===4&&yn(t,Oe,vo,!1)),dr(t))}function jv(t,o,i){if((Ge&6)!==0)throw Error(a(327));var l=!i&&(o&127)===0&&(o&t.expiredLanes)===0||ol(t,o),f=l?Yw(t,o):Yd(t,o,!0),h=l;do{if(f===0){ii&&!l&&yn(t,o,0,!1);break}else{if(i=t.current.alternate,h&&!Ww(i)){f=Yd(t,o,!1),h=!1;continue}if(f===2){if(h=o,t.errorRecoveryDisabledLanes&h)var b=0;else b=t.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){o=b;e:{var _=t;f=Ol;var R=_.current.memoizedState.isDehydrated;if(R&&(ci(_,b).flags|=256),b=Yd(_,b,!1),b!==2){if(Id&&!R){_.errorRecoveryDisabledLanes|=h,da|=h,f=4;break e}h=eo,eo=f,h!==null&&(eo===null?eo=h:eo.push.apply(eo,h))}f=b}if(h=!1,f!==2)continue}}if(f===1){ci(t,0),yn(t,o,0,!0);break}e:{switch(l=t,h=f,h){case 0:case 1:throw Error(a(345));case 4:if((o&4194048)!==o)break;case 6:yn(l,o,vo,!pn);break e;case 2:eo=null;break;case 3:case 5:break;default:throw Error(a(329))}if((o&62914560)===o&&(f=_c+300-so(),10<f)){if(yn(l,o,vo,!pn),qs(l,0,!0)!==0)break e;qr=o,l.timeoutHandle=s1(Rv.bind(null,l,i,eo,Tc,Vd,o,vo,da,li,pn,h,"Throttled",-0,0),f);break e}Rv(l,i,eo,Tc,Vd,o,vo,da,li,pn,h,null,-0,0)}}break}while(!0);dr(t)}function Rv(t,o,i,l,f,h,b,_,R,U,Y,K,V,W){if(t.timeoutHandle=-1,K=o.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:wr},Bv(o,h,K);var he=(h&62914560)===h?_c-so():(h&4194048)===h?Nv-so():0;if(he=j3(K,he),he!==null){qr=h,t.cancelPendingCommit=he(Lv.bind(null,t,o,h,i,l,f,b,_,R,Y,K,null,V,W)),yn(t,h,b,!U);return}}Lv(t,o,h,i,l,f,b,_,R)}function Ww(t){for(var o=t;;){var i=o.tag;if((i===0||i===11||i===15)&&o.flags&16384&&(i=o.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var l=0;l<i.length;l++){var f=i[l],h=f.getSnapshot;f=f.value;try{if(!fo(h(),f))return!1}catch{return!1}}if(i=o.child,o.subtreeFlags&16384&&i!==null)i.return=o,o=i;else{if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function yn(t,o,i,l){o&=~Ud,o&=~da,t.suspendedLanes|=o,t.pingedLanes&=~o,l&&(t.warmLanes|=o),l=t.expirationTimes;for(var f=o;0<f;){var h=31-uo(f),b=1<<h;l[h]=-1,f&=~b}i!==0&&Ig(t,i,o)}function Nc(){return(Ge&6)===0?(ql(0),!1):!0}function Qd(){if(Re!==null){if(Ye===0)var t=Re.return;else t=Re,zr=ra=null,ud(t),Ja=null,yl=0,t=Re;for(;t!==null;)cv(t.alternate,t),t=t.return;Re=null}}function ci(t,o){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,h3(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),qr=0,Qd(),tt=t,Re=i=Br(t.current,null),Oe=o,Ye=0,mo=null,pn=!1,ii=ol(t,o),Id=!1,li=vo=Ud=da=mn=ct=0,eo=Ol=null,Vd=!1,(o&8)!==0&&(o|=o&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=o;0<l;){var f=31-uo(l),h=1<<f;o|=t[f],l&=~h}return Mr=o,Ys(),i}function Av(t,o){Ce=null,P.H=Tl,o===Za||o===rc?(o=Yp(),Ye=3):o===Zf?(o=Yp(),Ye=4):Ye=o===zd?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,mo=o,Re===null&&(ct=1,vc(t,jo(o,t.current)))}function Dv(){var t=go.current;return t===null?!0:(Oe&4194048)===Oe?Oo===null:(Oe&62914560)===Oe||(Oe&536870912)!==0?t===Oo:!1}function Ov(){var t=P.H;return P.H=Tl,t===null?Tl:t}function Mv(){var t=P.A;return P.A=Gw,t}function Cc(){ct=4,pn||(Oe&4194048)!==Oe&&go.current!==null||(ii=!0),(mn&134217727)===0&&(da&134217727)===0||tt===null||yn(tt,Oe,vo,!1)}function Yd(t,o,i){var l=Ge;Ge|=2;var f=Ov(),h=Mv();(tt!==t||Oe!==o)&&(Tc=null,ci(t,o)),o=!1;var b=ct;e:do try{if(Ye!==0&&Re!==null){var _=Re,R=mo;switch(Ye){case 8:Qd(),b=6;break e;case 3:case 2:case 9:case 6:go.current===null&&(o=!0);var U=Ye;if(Ye=0,mo=null,ui(t,_,R,U),i&&ii){b=0;break e}break;default:U=Ye,Ye=0,mo=null,ui(t,_,R,U)}}Qw(),b=ct;break}catch(Y){Av(t,Y)}while(!0);return o&&t.shellSuspendCounter++,zr=ra=null,Ge=l,P.H=f,P.A=h,Re===null&&(tt=null,Oe=0,Ys()),b}function Qw(){for(;Re!==null;)qv(Re)}function Yw(t,o){var i=Ge;Ge|=2;var l=Ov(),f=Mv();tt!==t||Oe!==o?(Tc=null,zc=so()+500,ci(t,o)):ii=ol(t,o);e:do try{if(Ye!==0&&Re!==null){o=Re;var h=mo;t:switch(Ye){case 1:Ye=0,mo=null,ui(t,o,h,1);break;case 2:case 9:if(Wp(h)){Ye=0,mo=null,Fv(o);break}o=function(){Ye!==2&&Ye!==9||tt!==t||(Ye=7),dr(t)},h.then(o,o);break e;case 3:Ye=7;break e;case 4:Ye=5;break e;case 7:Wp(h)?(Ye=0,mo=null,Fv(o)):(Ye=0,mo=null,ui(t,o,h,7));break;case 5:var b=null;switch(Re.tag){case 26:b=Re.memoizedState;case 5:case 27:var _=Re;if(b?k1(b):_.stateNode.complete){Ye=0,mo=null;var R=_.sibling;if(R!==null)Re=R;else{var U=_.return;U!==null?(Re=U,Ec(U)):Re=null}break t}}Ye=0,mo=null,ui(t,o,h,5);break;case 6:Ye=0,mo=null,ui(t,o,h,6);break;case 8:Qd(),ct=6;break e;default:throw Error(a(462))}}$w();break}catch(Y){Av(t,Y)}while(!0);return zr=ra=null,P.H=l,P.A=f,Ge=i,Re!==null?0:(tt=null,Oe=0,Ys(),ct)}function $w(){for(;Re!==null&&!y5();)qv(Re)}function qv(t){var o=lv(t.alternate,t,Mr);t.memoizedProps=t.pendingProps,o===null?Ec(t):Re=o}function Fv(t){var o=t,i=o.alternate;switch(o.tag){case 15:case 0:o=tv(i,o,o.pendingProps,o.type,void 0,Oe);break;case 11:o=tv(i,o,o.pendingProps,o.type.render,o.ref,Oe);break;case 5:ud(o);default:cv(i,o),o=Re=Mp(o,Mr),o=lv(i,o,Mr)}t.memoizedProps=t.pendingProps,o===null?Ec(t):Re=o}function ui(t,o,i,l){zr=ra=null,ud(o),Ja=null,yl=0;var f=o.return;try{if(Fw(t,f,o,i,Oe)){ct=1,vc(t,jo(i,t.current)),Re=null;return}}catch(h){if(f!==null)throw Re=f,h;ct=1,vc(t,jo(i,t.current)),Re=null;return}o.flags&32768?(qe||l===1?t=!0:ii||(Oe&536870912)!==0?t=!1:(pn=t=!0,(l===2||l===9||l===3||l===6)&&(l=go.current,l!==null&&l.tag===13&&(l.flags|=16384))),Hv(o,t)):Ec(o)}function Ec(t){var o=t;do{if((o.flags&32768)!==0){Hv(o,pn);return}t=o.return;var i=Pw(o.alternate,o,Mr);if(i!==null){Re=i;return}if(o=o.sibling,o!==null){Re=o;return}Re=o=t}while(o!==null);ct===0&&(ct=5)}function Hv(t,o){do{var i=Iw(t.alternate,t);if(i!==null){i.flags&=32767,Re=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!o&&(t=t.sibling,t!==null)){Re=t;return}Re=t=i}while(t!==null);ct=6,Re=null}function Lv(t,o,i,l,f,h,b,_,R){t.cancelPendingCommit=null;do jc();while(zt!==0);if((Ge&6)!==0)throw Error(a(327));if(o!==null){if(o===t.current)throw Error(a(177));if(h=o.lanes|o.childLanes,h|=qf,C5(t,i,h,b,_,R),t===tt&&(Re=tt=null,Oe=0),si=o,bn=t,qr=i,Gd=h,Xd=f,Cv=l,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,e3(As,function(){return Gv(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||l){l=P.T,P.T=null,f=J.p,J.p=2,b=Ge,Ge|=4;try{Uw(t,o,i)}finally{Ge=b,J.p=f,P.T=l}}zt=1,Pv(),Iv(),Uv()}}function Pv(){if(zt===1){zt=0;var t=bn,o=si,i=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||i){i=P.T,P.T=null;var l=J.p;J.p=2;var f=Ge;Ge|=4;try{Sv(o,t);var h=lh,b=Tp(t.containerInfo),_=h.focusedElem,R=h.selectionRange;if(b!==_&&_&&_.ownerDocument&&zp(_.ownerDocument.documentElement,_)){if(R!==null&&Rf(_)){var U=R.start,Y=R.end;if(Y===void 0&&(Y=U),"selectionStart"in _)_.selectionStart=U,_.selectionEnd=Math.min(Y,_.value.length);else{var K=_.ownerDocument||document,V=K&&K.defaultView||window;if(V.getSelection){var W=V.getSelection(),he=_.textContent.length,we=Math.min(R.start,he),Je=R.end===void 0?we:Math.min(R.end,he);!W.extend&&we>Je&&(b=Je,Je=we,we=b);var F=_p(_,we),O=_p(_,Je);if(F&&O&&(W.rangeCount!==1||W.anchorNode!==F.node||W.anchorOffset!==F.offset||W.focusNode!==O.node||W.focusOffset!==O.offset)){var I=K.createRange();I.setStart(F.node,F.offset),W.removeAllRanges(),we>Je?(W.addRange(I),W.extend(O.node,O.offset)):(I.setEnd(O.node,O.offset),W.addRange(I))}}}}for(K=[],W=_;W=W.parentNode;)W.nodeType===1&&K.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<K.length;_++){var $=K[_];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}Uc=!!ih,lh=ih=null}finally{Ge=f,J.p=l,P.T=i}}t.current=o,zt=2}}function Iv(){if(zt===2){zt=0;var t=bn,o=si,i=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||i){i=P.T,P.T=null;var l=J.p;J.p=2;var f=Ge;Ge|=4;try{mv(t,o.alternate,o)}finally{Ge=f,J.p=l,P.T=i}}zt=3}}function Uv(){if(zt===4||zt===3){zt=0,x5();var t=bn,o=si,i=qr,l=Cv;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?zt=5:(zt=0,si=bn=null,Vv(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(vn=null),hf(i),o=o.stateNode,co&&typeof co.onCommitFiberRoot=="function")try{co.onCommitFiberRoot(tl,o,void 0,(o.current.flags&128)===128)}catch{}if(l!==null){o=P.T,f=J.p,J.p=2,P.T=null;try{for(var h=t.onRecoverableError,b=0;b<l.length;b++){var _=l[b];h(_.value,{componentStack:_.stack})}}finally{P.T=o,J.p=f}}(qr&3)!==0&&jc(),dr(t),f=t.pendingLanes,(i&261930)!==0&&(f&42)!==0?t===Wd?Ml++:(Ml=0,Wd=t):Ml=0,ql(0)}}function Vv(t,o){(t.pooledCacheLanes&=o)===0&&(o=t.pooledCache,o!=null&&(t.pooledCache=null,vl(o)))}function jc(){return Pv(),Iv(),Uv(),Gv()}function Gv(){if(zt!==5)return!1;var t=bn,o=Gd;Gd=0;var i=hf(qr),l=P.T,f=J.p;try{J.p=32>i?32:i,P.T=null,i=Xd,Xd=null;var h=bn,b=qr;if(zt=0,si=bn=null,qr=0,(Ge&6)!==0)throw Error(a(331));var _=Ge;if(Ge|=4,zv(h.current),kv(h,h.current,b,i),Ge=_,ql(0,!1),co&&typeof co.onPostCommitFiberRoot=="function")try{co.onPostCommitFiberRoot(tl,h)}catch{}return!0}finally{J.p=f,P.T=l,Vv(t,o)}}function Xv(t,o,i){o=jo(i,o),o=_d(t.stateNode,o,2),t=fn(t,o,2),t!==null&&(rl(t,2),dr(t))}function $e(t,o,i){if(t.tag===3)Xv(t,t,i);else for(;o!==null;){if(o.tag===3){Xv(o,t,i);break}else if(o.tag===1){var l=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(vn===null||!vn.has(l))){t=jo(i,t),i=Wm(2),l=fn(o,i,2),l!==null&&(Qm(i,l,o,t),rl(l,2),dr(l));break}}o=o.return}}function $d(t,o,i){var l=t.pingCache;if(l===null){l=t.pingCache=new Xw;var f=new Set;l.set(o,f)}else f=l.get(o),f===void 0&&(f=new Set,l.set(o,f));f.has(i)||(Id=!0,f.add(i),t=Kw.bind(null,t,o,i),o.then(t,t))}function Kw(t,o,i){var l=t.pingCache;l!==null&&l.delete(o),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,tt===t&&(Oe&i)===i&&(ct===4||ct===3&&(Oe&62914560)===Oe&&300>so()-_c?(Ge&2)===0&&ci(t,0):Ud|=i,li===Oe&&(li=0)),dr(t)}function Wv(t,o){o===0&&(o=Pg()),t=ea(t,o),t!==null&&(rl(t,o),dr(t))}function Zw(t){var o=t.memoizedState,i=0;o!==null&&(i=o.retryLane),Wv(t,i)}function Jw(t,o){var i=0;switch(t.tag){case 31:case 13:var l=t.stateNode,f=t.memoizedState;f!==null&&(i=f.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(a(314))}l!==null&&l.delete(o),Wv(t,i)}function e3(t,o){return cf(t,o)}var Rc=null,fi=null,Kd=!1,Ac=!1,Zd=!1,xn=0;function dr(t){t!==fi&&t.next===null&&(fi===null?Rc=fi=t:fi=fi.next=t),Ac=!0,Kd||(Kd=!0,o3())}function ql(t,o){if(!Zd&&Ac){Zd=!0;do for(var i=!1,l=Rc;l!==null;){if(t!==0){var f=l.pendingLanes;if(f===0)var h=0;else{var b=l.suspendedLanes,_=l.pingedLanes;h=(1<<31-uo(42|t)+1)-1,h&=f&~(b&~_),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(i=!0,Kv(l,h))}else h=Oe,h=qs(l,l===tt?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||ol(l,h)||(i=!0,Kv(l,h));l=l.next}while(i);Zd=!1}}function t3(){Qv()}function Qv(){Ac=Kd=!1;var t=0;xn!==0&&d3()&&(t=xn);for(var o=so(),i=null,l=Rc;l!==null;){var f=l.next,h=Yv(l,o);h===0?(l.next=null,i===null?Rc=f:i.next=f,f===null&&(fi=i)):(i=l,(t!==0||(h&3)!==0)&&(Ac=!0)),l=f}zt!==0&&zt!==5||ql(t),xn!==0&&(xn=0)}function Yv(t,o){for(var i=t.suspendedLanes,l=t.pingedLanes,f=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var b=31-uo(h),_=1<<b,R=f[b];R===-1?((_&i)===0||(_&l)!==0)&&(f[b]=N5(_,o)):R<=o&&(t.expiredLanes|=_),h&=~_}if(o=tt,i=Oe,i=qs(t,t===o?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,i===0||t===o&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&uf(l),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||ol(t,i)){if(o=i&-i,o===t.callbackPriority)return o;switch(l!==null&&uf(l),hf(i)){case 2:case 8:i=Hg;break;case 32:i=As;break;case 268435456:i=Lg;break;default:i=As}return l=$v.bind(null,t),i=cf(i,l),t.callbackPriority=o,t.callbackNode=i,o}return l!==null&&l!==null&&uf(l),t.callbackPriority=2,t.callbackNode=null,2}function $v(t,o){if(zt!==0&&zt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(jc()&&t.callbackNode!==i)return null;var l=Oe;return l=qs(t,t===tt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(jv(t,l,o),Yv(t,so()),t.callbackNode!=null&&t.callbackNode===i?$v.bind(null,t):null)}function Kv(t,o){if(jc())return null;jv(t,o,!0)}function o3(){g3(function(){(Ge&6)!==0?cf(Fg,t3):Qv()})}function Jd(){if(xn===0){var t=$a;t===0&&(t=Ds,Ds<<=1,(Ds&261888)===0&&(Ds=256)),xn=t}return xn}function Zv(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ps(""+t)}function Jv(t,o){var i=o.ownerDocument.createElement("input");return i.name=o.name,i.value=o.value,t.id&&i.setAttribute("form",t.id),o.parentNode.insertBefore(i,o),t=new FormData(t),i.parentNode.removeChild(i),t}function r3(t,o,i,l,f){if(o==="submit"&&i&&i.stateNode===f){var h=Zv((f[Yt]||null).action),b=l.submitter;b&&(o=(o=b[Yt]||null)?Zv(o.formAction):b.getAttribute("formAction"),o!==null&&(h=o,b=null));var _=new Gs("action","action",null,l,f);t.push({event:_,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(xn!==0){var R=b?Jv(f,b):new FormData(f);yd(i,{pending:!0,data:R,method:f.method,action:h},null,R)}}else typeof h=="function"&&(_.preventDefault(),R=b?Jv(f,b):new FormData(f),yd(i,{pending:!0,data:R,method:f.method,action:h},h,R))},currentTarget:f}]})}}for(var eh=0;eh<Mf.length;eh++){var th=Mf[eh],n3=th.toLowerCase(),a3=th[0].toUpperCase()+th.slice(1);Wo(n3,"on"+a3)}Wo(Ep,"onAnimationEnd"),Wo(jp,"onAnimationIteration"),Wo(Rp,"onAnimationStart"),Wo("dblclick","onDoubleClick"),Wo("focusin","onFocus"),Wo("focusout","onBlur"),Wo(Sw,"onTransitionRun"),Wo(ww,"onTransitionStart"),Wo(kw,"onTransitionCancel"),Wo(Ap,"onTransitionEnd"),Ma("onMouseEnter",["mouseout","mouseover"]),Ma("onMouseLeave",["mouseout","mouseover"]),Ma("onPointerEnter",["pointerout","pointerover"]),Ma("onPointerLeave",["pointerout","pointerover"]),$n("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$n("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$n("onBeforeInput",["compositionend","keypress","textInput","paste"]),$n("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),i3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fl));function e1(t,o){o=(o&4)!==0;for(var i=0;i<t.length;i++){var l=t[i],f=l.event;l=l.listeners;e:{var h=void 0;if(o)for(var b=l.length-1;0<=b;b--){var _=l[b],R=_.instance,U=_.currentTarget;if(_=_.listener,R!==h&&f.isPropagationStopped())break e;h=_,f.currentTarget=U;try{h(f)}catch(Y){Qs(Y)}f.currentTarget=null,h=R}else for(b=0;b<l.length;b++){if(_=l[b],R=_.instance,U=_.currentTarget,_=_.listener,R!==h&&f.isPropagationStopped())break e;h=_,f.currentTarget=U;try{h(f)}catch(Y){Qs(Y)}f.currentTarget=null,h=R}}}}function Ae(t,o){var i=o[gf];i===void 0&&(i=o[gf]=new Set);var l=t+"__bubble";i.has(l)||(t1(o,t,2,!1),i.add(l))}function oh(t,o,i){var l=0;o&&(l|=4),t1(i,t,l,o)}var Dc="_reactListening"+Math.random().toString(36).slice(2);function rh(t){if(!t[Dc]){t[Dc]=!0,Qg.forEach(function(i){i!=="selectionchange"&&(i3.has(i)||oh(i,!1,t),oh(i,!0,t))});var o=t.nodeType===9?t:t.ownerDocument;o===null||o[Dc]||(o[Dc]=!0,oh("selectionchange",!1,o))}}function t1(t,o,i,l){switch(E1(o)){case 2:var f=D3;break;case 8:f=O3;break;default:f=bh}i=f.bind(null,o,i,t),f=void 0,!kf||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(f=!0),l?f!==void 0?t.addEventListener(o,i,{capture:!0,passive:f}):t.addEventListener(o,i,!0):f!==void 0?t.addEventListener(o,i,{passive:f}):t.addEventListener(o,i,!1)}function nh(t,o,i,l,f){var h=l;if((o&1)===0&&(o&2)===0&&l!==null)e:for(;;){if(l===null)return;var b=l.tag;if(b===3||b===4){var _=l.stateNode.containerInfo;if(_===f)break;if(b===4)for(b=l.return;b!==null;){var R=b.tag;if((R===3||R===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;_!==null;){if(b=Aa(_),b===null)return;if(R=b.tag,R===5||R===6||R===26||R===27){l=h=b;continue e}_=_.parentNode}}l=l.return}ip(function(){var U=h,Y=Sf(i),K=[];e:{var V=Dp.get(t);if(V!==void 0){var W=Gs,he=t;switch(t){case"keypress":if(Us(i)===0)break e;case"keydown":case"keyup":W=J5;break;case"focusin":he="focus",W=Tf;break;case"focusout":he="blur",W=Tf;break;case"beforeblur":case"afterblur":W=Tf;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":W=cp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=P5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=ow;break;case Ep:case jp:case Rp:W=V5;break;case Ap:W=nw;break;case"scroll":case"scrollend":W=H5;break;case"wheel":W=iw;break;case"copy":case"cut":case"paste":W=X5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=fp;break;case"toggle":case"beforetoggle":W=sw}var we=(o&4)!==0,Je=!we&&(t==="scroll"||t==="scrollend"),F=we?V!==null?V+"Capture":null:V;we=[];for(var O=U,I;O!==null;){var $=O;if(I=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||I===null||F===null||($=il(O,F),$!=null&&we.push(Hl(O,$,I))),Je)break;O=O.return}0<we.length&&(V=new W(V,he,null,i,Y),K.push({event:V,listeners:we}))}}if((o&7)===0){e:{if(V=t==="mouseover"||t==="pointerover",W=t==="mouseout"||t==="pointerout",V&&i!==xf&&(he=i.relatedTarget||i.fromElement)&&(Aa(he)||he[Ra]))break e;if((W||V)&&(V=Y.window===Y?Y:(V=Y.ownerDocument)?V.defaultView||V.parentWindow:window,W?(he=i.relatedTarget||i.toElement,W=U,he=he?Aa(he):null,he!==null&&(Je=c(he),we=he.tag,he!==Je||we!==5&&we!==27&&we!==6)&&(he=null)):(W=null,he=U),W!==he)){if(we=cp,$="onMouseLeave",F="onMouseEnter",O="mouse",(t==="pointerout"||t==="pointerover")&&(we=fp,$="onPointerLeave",F="onPointerEnter",O="pointer"),Je=W==null?V:al(W),I=he==null?V:al(he),V=new we($,O+"leave",W,i,Y),V.target=Je,V.relatedTarget=I,$=null,Aa(Y)===U&&(we=new we(F,O+"enter",he,i,Y),we.target=I,we.relatedTarget=Je,$=we),Je=$,W&&he)t:{for(we=l3,F=W,O=he,I=0,$=F;$;$=we($))I++;$=0;for(var xe=O;xe;xe=we(xe))$++;for(;0<I-$;)F=we(F),I--;for(;0<$-I;)O=we(O),$--;for(;I--;){if(F===O||O!==null&&F===O.alternate){we=F;break t}F=we(F),O=we(O)}we=null}else we=null;W!==null&&o1(K,V,W,we,!1),he!==null&&Je!==null&&o1(K,Je,he,we,!0)}}e:{if(V=U?al(U):window,W=V.nodeName&&V.nodeName.toLowerCase(),W==="select"||W==="input"&&V.type==="file")var Pe=yp;else if(vp(V))if(xp)Pe=bw;else{Pe=mw;var ge=pw}else W=V.nodeName,!W||W.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?U&&yf(U.elementType)&&(Pe=yp):Pe=vw;if(Pe&&(Pe=Pe(t,U))){bp(K,Pe,i,Y);break e}ge&&ge(t,V,U),t==="focusout"&&U&&V.type==="number"&&U.memoizedProps.value!=null&&bf(V,"number",V.value)}switch(ge=U?al(U):window,t){case"focusin":(vp(ge)||ge.contentEditable==="true")&&(Ia=ge,Af=U,gl=null);break;case"focusout":gl=Af=Ia=null;break;case"mousedown":Df=!0;break;case"contextmenu":case"mouseup":case"dragend":Df=!1,Np(K,i,Y);break;case"selectionchange":if(xw)break;case"keydown":case"keyup":Np(K,i,Y)}var Ee;if(Cf)e:{switch(t){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else Pa?pp(t,i)&&(Me="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(Me="onCompositionStart");Me&&(dp&&i.locale!=="ko"&&(Pa||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&Pa&&(Ee=lp()):(rn=Y,Bf="value"in rn?rn.value:rn.textContent,Pa=!0)),ge=Oc(U,Me),0<ge.length&&(Me=new up(Me,t,null,i,Y),K.push({event:Me,listeners:ge}),Ee?Me.data=Ee:(Ee=mp(i),Ee!==null&&(Me.data=Ee)))),(Ee=uw?fw(t,i):dw(t,i))&&(Me=Oc(U,"onBeforeInput"),0<Me.length&&(ge=new up("onBeforeInput","beforeinput",null,i,Y),K.push({event:ge,listeners:Me}),ge.data=Ee)),r3(K,t,U,i,Y)}e1(K,o)})}function Hl(t,o,i){return{instance:t,listener:o,currentTarget:i}}function Oc(t,o){for(var i=o+"Capture",l=[];t!==null;){var f=t,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=il(t,i),f!=null&&l.unshift(Hl(t,f,h)),f=il(t,o),f!=null&&l.push(Hl(t,f,h))),t.tag===3)return l;t=t.return}return[]}function l3(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function o1(t,o,i,l,f){for(var h=o._reactName,b=[];i!==null&&i!==l;){var _=i,R=_.alternate,U=_.stateNode;if(_=_.tag,R!==null&&R===l)break;_!==5&&_!==26&&_!==27||U===null||(R=U,f?(U=il(i,h),U!=null&&b.unshift(Hl(i,U,R))):f||(U=il(i,h),U!=null&&b.push(Hl(i,U,R)))),i=i.return}b.length!==0&&t.push({event:o,listeners:b})}var s3=/\r\n?/g,c3=/\u0000|\uFFFD/g;function r1(t){return(typeof t=="string"?t:""+t).replace(s3,`
49
- `).replace(c3,"")}function n1(t,o){return o=r1(o),r1(t)===o}function Ze(t,o,i,l,f,h){switch(i){case"children":typeof l=="string"?o==="body"||o==="textarea"&&l===""||Fa(t,l):(typeof l=="number"||typeof l=="bigint")&&o!=="body"&&Fa(t,""+l);break;case"className":Hs(t,"class",l);break;case"tabIndex":Hs(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Hs(t,i,l);break;case"style":np(t,l,h);break;case"data":if(o!=="object"){Hs(t,"data",l);break}case"src":case"href":if(l===""&&(o!=="a"||i!=="href")){t.removeAttribute(i);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(i);break}l=Ps(""+l),t.setAttribute(i,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(i==="formAction"?(o!=="input"&&Ze(t,o,"name",f.name,f,null),Ze(t,o,"formEncType",f.formEncType,f,null),Ze(t,o,"formMethod",f.formMethod,f,null),Ze(t,o,"formTarget",f.formTarget,f,null)):(Ze(t,o,"encType",f.encType,f,null),Ze(t,o,"method",f.method,f,null),Ze(t,o,"target",f.target,f,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(i);break}l=Ps(""+l),t.setAttribute(i,l);break;case"onClick":l!=null&&(t.onclick=wr);break;case"onScroll":l!=null&&Ae("scroll",t);break;case"onScrollEnd":l!=null&&Ae("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(a(61));if(i=l.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}i=Ps(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,""+l):t.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":l===!0?t.setAttribute(i,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,l):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(i,l):t.removeAttribute(i);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(i):t.setAttribute(i,l);break;case"popover":Ae("beforetoggle",t),Ae("toggle",t),Fs(t,"popover",l);break;case"xlinkActuate":Sr(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Sr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Sr(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Sr(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Sr(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Sr(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Sr(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Sr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Sr(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Fs(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=q5.get(i)||i,Fs(t,i,l))}}function ah(t,o,i,l,f,h){switch(i){case"style":np(t,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(a(61));if(i=l.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"children":typeof l=="string"?Fa(t,l):(typeof l=="number"||typeof l=="bigint")&&Fa(t,""+l);break;case"onScroll":l!=null&&Ae("scroll",t);break;case"onScrollEnd":l!=null&&Ae("scrollend",t);break;case"onClick":l!=null&&(t.onclick=wr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Yg.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),o=i.slice(2,f?i.length-7:void 0),h=t[Yt]||null,h=h!=null?h[i]:null,typeof h=="function"&&t.removeEventListener(o,h,f),typeof l=="function")){typeof h!="function"&&h!==null&&(i in t?t[i]=null:t.hasAttribute(i)&&t.removeAttribute(i)),t.addEventListener(o,l,f);break e}i in t?t[i]=l:l===!0?t.setAttribute(i,""):Fs(t,i,l)}}}function Ft(t,o,i){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",t),Ae("load",t);var l=!1,f=!1,h;for(h in i)if(i.hasOwnProperty(h)){var b=i[h];if(b!=null)switch(h){case"src":l=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,o));default:Ze(t,o,h,b,i,null)}}f&&Ze(t,o,"srcSet",i.srcSet,i,null),l&&Ze(t,o,"src",i.src,i,null);return;case"input":Ae("invalid",t);var _=h=b=f=null,R=null,U=null;for(l in i)if(i.hasOwnProperty(l)){var Y=i[l];if(Y!=null)switch(l){case"name":f=Y;break;case"type":b=Y;break;case"checked":R=Y;break;case"defaultChecked":U=Y;break;case"value":h=Y;break;case"defaultValue":_=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(a(137,o));break;default:Ze(t,o,l,Y,i,null)}}ep(t,h,_,R,U,b,f,!1);return;case"select":Ae("invalid",t),l=b=h=null;for(f in i)if(i.hasOwnProperty(f)&&(_=i[f],_!=null))switch(f){case"value":h=_;break;case"defaultValue":b=_;break;case"multiple":l=_;default:Ze(t,o,f,_,i,null)}o=h,i=b,t.multiple=!!l,o!=null?qa(t,!!l,o,!1):i!=null&&qa(t,!!l,i,!0);return;case"textarea":Ae("invalid",t),h=f=l=null;for(b in i)if(i.hasOwnProperty(b)&&(_=i[b],_!=null))switch(b){case"value":l=_;break;case"defaultValue":f=_;break;case"children":h=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(a(91));break;default:Ze(t,o,b,_,i,null)}op(t,l,f,h);return;case"option":for(R in i)if(i.hasOwnProperty(R)&&(l=i[R],l!=null))switch(R){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ze(t,o,R,l,i,null)}return;case"dialog":Ae("beforetoggle",t),Ae("toggle",t),Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":Ae("load",t);break;case"video":case"audio":for(l=0;l<Fl.length;l++)Ae(Fl[l],t);break;case"image":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"embed":case"source":case"link":Ae("error",t),Ae("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(U in i)if(i.hasOwnProperty(U)&&(l=i[U],l!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,o));default:Ze(t,o,U,l,i,null)}return;default:if(yf(o)){for(Y in i)i.hasOwnProperty(Y)&&(l=i[Y],l!==void 0&&ah(t,o,Y,l,i,void 0));return}}for(_ in i)i.hasOwnProperty(_)&&(l=i[_],l!=null&&Ze(t,o,_,l,i,null))}function u3(t,o,i,l){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,b=null,_=null,R=null,U=null,Y=null;for(W in i){var K=i[W];if(i.hasOwnProperty(W)&&K!=null)switch(W){case"checked":break;case"value":break;case"defaultValue":R=K;default:l.hasOwnProperty(W)||Ze(t,o,W,null,l,K)}}for(var V in l){var W=l[V];if(K=i[V],l.hasOwnProperty(V)&&(W!=null||K!=null))switch(V){case"type":h=W;break;case"name":f=W;break;case"checked":U=W;break;case"defaultChecked":Y=W;break;case"value":b=W;break;case"defaultValue":_=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(a(137,o));break;default:W!==K&&Ze(t,o,V,W,l,K)}}vf(t,b,_,R,U,Y,h,f);return;case"select":W=b=_=V=null;for(h in i)if(R=i[h],i.hasOwnProperty(h)&&R!=null)switch(h){case"value":break;case"multiple":W=R;default:l.hasOwnProperty(h)||Ze(t,o,h,null,l,R)}for(f in l)if(h=l[f],R=i[f],l.hasOwnProperty(f)&&(h!=null||R!=null))switch(f){case"value":V=h;break;case"defaultValue":_=h;break;case"multiple":b=h;default:h!==R&&Ze(t,o,f,h,l,R)}o=_,i=b,l=W,V!=null?qa(t,!!i,V,!1):!!l!=!!i&&(o!=null?qa(t,!!i,o,!0):qa(t,!!i,i?[]:"",!1));return;case"textarea":W=V=null;for(_ in i)if(f=i[_],i.hasOwnProperty(_)&&f!=null&&!l.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ze(t,o,_,null,l,f)}for(b in l)if(f=l[b],h=i[b],l.hasOwnProperty(b)&&(f!=null||h!=null))switch(b){case"value":V=f;break;case"defaultValue":W=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==h&&Ze(t,o,b,f,l,h)}tp(t,V,W);return;case"option":for(var he in i)if(V=i[he],i.hasOwnProperty(he)&&V!=null&&!l.hasOwnProperty(he))switch(he){case"selected":t.selected=!1;break;default:Ze(t,o,he,null,l,V)}for(R in l)if(V=l[R],W=i[R],l.hasOwnProperty(R)&&V!==W&&(V!=null||W!=null))switch(R){case"selected":t.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:Ze(t,o,R,V,l,W)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in i)V=i[we],i.hasOwnProperty(we)&&V!=null&&!l.hasOwnProperty(we)&&Ze(t,o,we,null,l,V);for(U in l)if(V=l[U],W=i[U],l.hasOwnProperty(U)&&V!==W&&(V!=null||W!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(a(137,o));break;default:Ze(t,o,U,V,l,W)}return;default:if(yf(o)){for(var Je in i)V=i[Je],i.hasOwnProperty(Je)&&V!==void 0&&!l.hasOwnProperty(Je)&&ah(t,o,Je,void 0,l,V);for(Y in l)V=l[Y],W=i[Y],!l.hasOwnProperty(Y)||V===W||V===void 0&&W===void 0||ah(t,o,Y,V,l,W);return}}for(var F in i)V=i[F],i.hasOwnProperty(F)&&V!=null&&!l.hasOwnProperty(F)&&Ze(t,o,F,null,l,V);for(K in l)V=l[K],W=i[K],!l.hasOwnProperty(K)||V===W||V==null&&W==null||Ze(t,o,K,V,l,W)}function a1(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function f3(){if(typeof performance.getEntriesByType=="function"){for(var t=0,o=0,i=performance.getEntriesByType("resource"),l=0;l<i.length;l++){var f=i[l],h=f.transferSize,b=f.initiatorType,_=f.duration;if(h&&_&&a1(b)){for(b=0,_=f.responseEnd,l+=1;l<i.length;l++){var R=i[l],U=R.startTime;if(U>_)break;var Y=R.transferSize,K=R.initiatorType;Y&&a1(K)&&(R=R.responseEnd,b+=Y*(R<_?1:(_-U)/(R-U)))}if(--l,o+=8*(h+b)/(f.duration/1e3),t++,10<t)break}}if(0<t)return o/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ih=null,lh=null;function Mc(t){return t.nodeType===9?t:t.ownerDocument}function i1(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function l1(t,o){if(t===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&o==="foreignObject"?0:t}function sh(t,o){return t==="textarea"||t==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var ch=null;function d3(){var t=window.event;return t&&t.type==="popstate"?t===ch?!1:(ch=t,!0):(ch=null,!1)}var s1=typeof setTimeout=="function"?setTimeout:void 0,h3=typeof clearTimeout=="function"?clearTimeout:void 0,c1=typeof Promise=="function"?Promise:void 0,g3=typeof queueMicrotask=="function"?queueMicrotask:typeof c1<"u"?function(t){return c1.resolve(null).then(t).catch(p3)}:s1;function p3(t){setTimeout(function(){throw t})}function Sn(t){return t==="head"}function u1(t,o){var i=o,l=0;do{var f=i.nextSibling;if(t.removeChild(i),f&&f.nodeType===8)if(i=f.data,i==="/$"||i==="/&"){if(l===0){t.removeChild(f),pi(o);return}l--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")l++;else if(i==="html")Ll(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,Ll(i);for(var h=i.firstChild;h;){var b=h.nextSibling,_=h.nodeName;h[nl]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&h.rel.toLowerCase()==="stylesheet"||i.removeChild(h),h=b}}else i==="body"&&Ll(t.ownerDocument.body);i=f}while(i);pi(o)}function f1(t,o){var i=t;t=0;do{var l=i.nextSibling;if(i.nodeType===1?o?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(o?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),l&&l.nodeType===8)if(i=l.data,i==="/$"){if(t===0)break;t--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||t++;i=l}while(i)}function uh(t){var o=t.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var i=o;switch(o=o.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":uh(i),pf(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function m3(t,o,i,l){for(;t.nodeType===1;){var f=i;if(t.nodeName.toLowerCase()!==o.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[nl])switch(o){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==f.rel||t.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||t.getAttribute("title")!==(f.title==null?null:f.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(o==="input"&&t.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=Mo(t.nextSibling),t===null)break}return null}function v3(t,o,i){if(o==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=Mo(t.nextSibling),t===null))return null;return t}function d1(t,o){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!o||(t=Mo(t.nextSibling),t===null))return null;return t}function fh(t){return t.data==="$?"||t.data==="$~"}function dh(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function b3(t,o){var i=t.ownerDocument;if(t.data==="$~")t._reactRetry=o;else if(t.data!=="$?"||i.readyState!=="loading")o();else{var l=function(){o(),i.removeEventListener("DOMContentLoaded",l)};i.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Mo(t){for(;t!=null;t=t.nextSibling){var o=t.nodeType;if(o===1||o===3)break;if(o===8){if(o=t.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return t}var hh=null;function h1(t){t=t.nextSibling;for(var o=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(o===0)return Mo(t.nextSibling);o--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||o++}t=t.nextSibling}return null}function g1(t){t=t.previousSibling;for(var o=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(o===0)return t;o--}else i!=="/$"&&i!=="/&"||o++}t=t.previousSibling}return null}function p1(t,o,i){switch(o=Mc(i),t){case"html":if(t=o.documentElement,!t)throw Error(a(452));return t;case"head":if(t=o.head,!t)throw Error(a(453));return t;case"body":if(t=o.body,!t)throw Error(a(454));return t;default:throw Error(a(451))}}function Ll(t){for(var o=t.attributes;o.length;)t.removeAttributeNode(o[0]);pf(t)}var qo=new Map,m1=new Set;function qc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Fr=J.d;J.d={f:y3,r:x3,D:S3,C:w3,L:k3,m:B3,X:z3,S:_3,M:T3};function y3(){var t=Fr.f(),o=Nc();return t||o}function x3(t){var o=Da(t);o!==null&&o.tag===5&&o.type==="form"?Am(o):Fr.r(t)}var di=typeof document>"u"?null:document;function v1(t,o,i){var l=di;if(l&&typeof o=="string"&&o){var f=Co(o);f='link[rel="'+t+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),m1.has(f)||(m1.add(f),t={rel:t,crossOrigin:i,href:o},l.querySelector(f)===null&&(o=l.createElement("link"),Ft(o,"link",t),Et(o),l.head.appendChild(o)))}}function S3(t){Fr.D(t),v1("dns-prefetch",t,null)}function w3(t,o){Fr.C(t,o),v1("preconnect",t,o)}function k3(t,o,i){Fr.L(t,o,i);var l=di;if(l&&t&&o){var f='link[rel="preload"][as="'+Co(o)+'"]';o==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Co(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Co(i.imageSizes)+'"]')):f+='[href="'+Co(t)+'"]';var h=f;switch(o){case"style":h=hi(t);break;case"script":h=gi(t)}qo.has(h)||(t=v({rel:"preload",href:o==="image"&&i&&i.imageSrcSet?void 0:t,as:o},i),qo.set(h,t),l.querySelector(f)!==null||o==="style"&&l.querySelector(Pl(h))||o==="script"&&l.querySelector(Il(h))||(o=l.createElement("link"),Ft(o,"link",t),Et(o),l.head.appendChild(o)))}}function B3(t,o){Fr.m(t,o);var i=di;if(i&&t){var l=o&&typeof o.as=="string"?o.as:"script",f='link[rel="modulepreload"][as="'+Co(l)+'"][href="'+Co(t)+'"]',h=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=gi(t)}if(!qo.has(h)&&(t=v({rel:"modulepreload",href:t},o),qo.set(h,t),i.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Il(h)))return}l=i.createElement("link"),Ft(l,"link",t),Et(l),i.head.appendChild(l)}}}function _3(t,o,i){Fr.S(t,o,i);var l=di;if(l&&t){var f=Oa(l).hoistableStyles,h=hi(t);o=o||"default";var b=f.get(h);if(!b){var _={loading:0,preload:null};if(b=l.querySelector(Pl(h)))_.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":o},i),(i=qo.get(h))&&gh(t,i);var R=b=l.createElement("link");Et(R),Ft(R,"link",t),R._p=new Promise(function(U,Y){R.onload=U,R.onerror=Y}),R.addEventListener("load",function(){_.loading|=1}),R.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Fc(b,o,l)}b={type:"stylesheet",instance:b,count:1,state:_},f.set(h,b)}}}function z3(t,o){Fr.X(t,o);var i=di;if(i&&t){var l=Oa(i).hoistableScripts,f=gi(t),h=l.get(f);h||(h=i.querySelector(Il(f)),h||(t=v({src:t,async:!0},o),(o=qo.get(f))&&ph(t,o),h=i.createElement("script"),Et(h),Ft(h,"link",t),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function T3(t,o){Fr.M(t,o);var i=di;if(i&&t){var l=Oa(i).hoistableScripts,f=gi(t),h=l.get(f);h||(h=i.querySelector(Il(f)),h||(t=v({src:t,async:!0,type:"module"},o),(o=qo.get(f))&&ph(t,o),h=i.createElement("script"),Et(h),Ft(h,"link",t),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function b1(t,o,i,l){var f=(f=ke.current)?qc(f):null;if(!f)throw Error(a(446));switch(t){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(o=hi(i.href),i=Oa(f).hoistableStyles,l=i.get(o),l||(l={type:"style",instance:null,count:0,state:null},i.set(o,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){t=hi(i.href);var h=Oa(f).hoistableStyles,b=h.get(t);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,b),(h=f.querySelector(Pl(t)))&&!h._p&&(b.instance=h,b.state.loading=5),qo.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},qo.set(t,i),h||N3(f,t,i,b.state))),o&&l===null)throw Error(a(528,""));return b}if(o&&l!==null)throw Error(a(529,""));return null;case"script":return o=i.async,i=i.src,typeof i=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=gi(i),i=Oa(f).hoistableScripts,l=i.get(o),l||(l={type:"script",instance:null,count:0,state:null},i.set(o,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function hi(t){return'href="'+Co(t)+'"'}function Pl(t){return'link[rel="stylesheet"]['+t+"]"}function y1(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function N3(t,o,i,l){t.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=t.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),Ft(o,"link",i),Et(o),t.head.appendChild(o))}function gi(t){return'[src="'+Co(t)+'"]'}function Il(t){return"script[async]"+t}function x1(t,o,i){if(o.count++,o.instance===null)switch(o.type){case"style":var l=t.querySelector('style[data-href~="'+Co(i.href)+'"]');if(l)return o.instance=l,Et(l),l;var f=v({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Et(l),Ft(l,"style",f),Fc(l,i.precedence,t),o.instance=l;case"stylesheet":f=hi(i.href);var h=t.querySelector(Pl(f));if(h)return o.state.loading|=4,o.instance=h,Et(h),h;l=y1(i),(f=qo.get(f))&&gh(l,f),h=(t.ownerDocument||t).createElement("link"),Et(h);var b=h;return b._p=new Promise(function(_,R){b.onload=_,b.onerror=R}),Ft(h,"link",l),o.state.loading|=4,Fc(h,i.precedence,t),o.instance=h;case"script":return h=gi(i.src),(f=t.querySelector(Il(h)))?(o.instance=f,Et(f),f):(l=i,(f=qo.get(h))&&(l=v({},i),ph(l,f)),t=t.ownerDocument||t,f=t.createElement("script"),Et(f),Ft(f,"link",l),t.head.appendChild(f),o.instance=f);case"void":return null;default:throw Error(a(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(l=o.instance,o.state.loading|=4,Fc(l,i.precedence,t));return o.instance}function Fc(t,o,i){for(var l=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,h=f,b=0;b<l.length;b++){var _=l[b];if(_.dataset.precedence===o)h=_;else if(h!==f)break}h?h.parentNode.insertBefore(t,h.nextSibling):(o=i.nodeType===9?i.head:i,o.insertBefore(t,o.firstChild))}function gh(t,o){t.crossOrigin==null&&(t.crossOrigin=o.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=o.referrerPolicy),t.title==null&&(t.title=o.title)}function ph(t,o){t.crossOrigin==null&&(t.crossOrigin=o.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=o.referrerPolicy),t.integrity==null&&(t.integrity=o.integrity)}var Hc=null;function S1(t,o,i){if(Hc===null){var l=new Map,f=Hc=new Map;f.set(i,l)}else f=Hc,l=f.get(i),l||(l=new Map,f.set(i,l));if(l.has(t))return l;for(l.set(t,null),i=i.getElementsByTagName(t),f=0;f<i.length;f++){var h=i[f];if(!(h[nl]||h[Dt]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var b=h.getAttribute(o)||"";b=t+b;var _=l.get(b);_?_.push(h):l.set(b,[h])}}return l}function w1(t,o,i){t=t.ownerDocument||t,t.head.insertBefore(i,o==="title"?t.querySelector("head > title"):null)}function C3(t,o,i){if(i===1||o.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return t=o.disabled,typeof o.precedence=="string"&&t==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function k1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function E3(t,o,i,l){if(i.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var f=hi(l.href),h=o.querySelector(Pl(f));if(h){o=h._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(t.count++,t=Lc.bind(t),o.then(t,t)),i.state.loading|=4,i.instance=h,Et(h);return}h=o.ownerDocument||o,l=y1(l),(f=qo.get(f))&&gh(l,f),h=h.createElement("link"),Et(h);var b=h;b._p=new Promise(function(_,R){b.onload=_,b.onerror=R}),Ft(h,"link",l),i.instance=h}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,o),(o=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=Lc.bind(t),o.addEventListener("load",i),o.addEventListener("error",i))}}var mh=0;function j3(t,o){return t.stylesheets&&t.count===0&&Ic(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var l=setTimeout(function(){if(t.stylesheets&&Ic(t,t.stylesheets),t.unsuspend){var h=t.unsuspend;t.unsuspend=null,h()}},6e4+o);0<t.imgBytes&&mh===0&&(mh=62500*f3());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Ic(t,t.stylesheets),t.unsuspend)){var h=t.unsuspend;t.unsuspend=null,h()}},(t.imgBytes>mh?50:800)+o);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function Lc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ic(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Pc=null;function Ic(t,o){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Pc=new Map,o.forEach(R3,t),Pc=null,Lc.call(t))}function R3(t,o){if(!(o.state.loading&4)){var i=Pc.get(t);if(i)var l=i.get(null);else{i=new Map,Pc.set(t,i);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var b=f[h];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(i.set(b.dataset.precedence,b),l=b)}l&&i.set(null,l)}f=o.instance,b=f.getAttribute("data-precedence"),h=i.get(b)||l,h===l&&i.set(null,f),i.set(b,f),this.count++,l=Lc.bind(this),f.addEventListener("load",l),f.addEventListener("error",l),h?h.parentNode.insertBefore(f,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),o.state.loading|=4}}var Ul={$$typeof:N,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function A3(t,o,i,l,f,h,b,_,R){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ff(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ff(0),this.hiddenUpdates=ff(null),this.identifierPrefix=l,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function B1(t,o,i,l,f,h,b,_,R,U,Y,K){return t=new A3(t,o,i,b,R,U,Y,K,_),o=1,h===!0&&(o|=24),h=ho(3,null,null,o),t.current=h,h.stateNode=t,o=Yf(),o.refCount++,t.pooledCache=o,o.refCount++,h.memoizedState={element:l,isDehydrated:i,cache:o},Jf(h),t}function _1(t){return t?(t=Ga,t):Ga}function z1(t,o,i,l,f,h){f=_1(f),l.context===null?l.context=f:l.pendingContext=f,l=un(o),l.payload={element:i},h=h===void 0?null:h,h!==null&&(l.callback=h),i=fn(t,l,o),i!==null&&(to(i,t,o),Sl(i,t,o))}function T1(t,o){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<o?i:o}}function vh(t,o){T1(t,o),(t=t.alternate)&&T1(t,o)}function N1(t){if(t.tag===13||t.tag===31){var o=ea(t,67108864);o!==null&&to(o,t,67108864),vh(t,67108864)}}function C1(t){if(t.tag===13||t.tag===31){var o=bo();o=df(o);var i=ea(t,o);i!==null&&to(i,t,o),vh(t,o)}}var Uc=!0;function D3(t,o,i,l){var f=P.T;P.T=null;var h=J.p;try{J.p=2,bh(t,o,i,l)}finally{J.p=h,P.T=f}}function O3(t,o,i,l){var f=P.T;P.T=null;var h=J.p;try{J.p=8,bh(t,o,i,l)}finally{J.p=h,P.T=f}}function bh(t,o,i,l){if(Uc){var f=yh(l);if(f===null)nh(t,o,l,Vc,i),j1(t,l);else if(q3(f,t,o,i,l))l.stopPropagation();else if(j1(t,l),o&4&&-1<M3.indexOf(t)){for(;f!==null;){var h=Da(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var b=Yn(h.pendingLanes);if(b!==0){var _=h;for(_.pendingLanes|=2,_.entangledLanes|=2;b;){var R=1<<31-uo(b);_.entanglements[1]|=R,b&=~R}dr(h),(Ge&6)===0&&(zc=so()+500,ql(0))}}break;case 31:case 13:_=ea(h,2),_!==null&&to(_,h,2),Nc(),vh(h,2)}if(h=yh(l),h===null&&nh(t,o,l,Vc,i),h===f)break;f=h}f!==null&&l.stopPropagation()}else nh(t,o,l,null,i)}}function yh(t){return t=Sf(t),xh(t)}var Vc=null;function xh(t){if(Vc=null,t=Aa(t),t!==null){var o=c(t);if(o===null)t=null;else{var i=o.tag;if(i===13){if(t=u(o),t!==null)return t;t=null}else if(i===31){if(t=d(o),t!==null)return t;t=null}else if(i===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;t=null}else o!==t&&(t=null)}}return Vc=t,null}function E1(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(S5()){case Fg:return 2;case Hg:return 8;case As:case w5:return 32;case Lg:return 268435456;default:return 32}default:return 32}}var Sh=!1,wn=null,kn=null,Bn=null,Vl=new Map,Gl=new Map,_n=[],M3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function j1(t,o){switch(t){case"focusin":case"focusout":wn=null;break;case"dragenter":case"dragleave":kn=null;break;case"mouseover":case"mouseout":Bn=null;break;case"pointerover":case"pointerout":Vl.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gl.delete(o.pointerId)}}function Xl(t,o,i,l,f,h){return t===null||t.nativeEvent!==h?(t={blockedOn:o,domEventName:i,eventSystemFlags:l,nativeEvent:h,targetContainers:[f]},o!==null&&(o=Da(o),o!==null&&N1(o)),t):(t.eventSystemFlags|=l,o=t.targetContainers,f!==null&&o.indexOf(f)===-1&&o.push(f),t)}function q3(t,o,i,l,f){switch(o){case"focusin":return wn=Xl(wn,t,o,i,l,f),!0;case"dragenter":return kn=Xl(kn,t,o,i,l,f),!0;case"mouseover":return Bn=Xl(Bn,t,o,i,l,f),!0;case"pointerover":var h=f.pointerId;return Vl.set(h,Xl(Vl.get(h)||null,t,o,i,l,f)),!0;case"gotpointercapture":return h=f.pointerId,Gl.set(h,Xl(Gl.get(h)||null,t,o,i,l,f)),!0}return!1}function R1(t){var o=Aa(t.target);if(o!==null){var i=c(o);if(i!==null){if(o=i.tag,o===13){if(o=u(i),o!==null){t.blockedOn=o,Xg(t.priority,function(){C1(i)});return}}else if(o===31){if(o=d(i),o!==null){t.blockedOn=o,Xg(t.priority,function(){C1(i)});return}}else if(o===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gc(t){if(t.blockedOn!==null)return!1;for(var o=t.targetContainers;0<o.length;){var i=yh(t.nativeEvent);if(i===null){i=t.nativeEvent;var l=new i.constructor(i.type,i);xf=l,i.target.dispatchEvent(l),xf=null}else return o=Da(i),o!==null&&N1(o),t.blockedOn=i,!1;o.shift()}return!0}function A1(t,o,i){Gc(t)&&i.delete(o)}function F3(){Sh=!1,wn!==null&&Gc(wn)&&(wn=null),kn!==null&&Gc(kn)&&(kn=null),Bn!==null&&Gc(Bn)&&(Bn=null),Vl.forEach(A1),Gl.forEach(A1)}function Xc(t,o){t.blockedOn===o&&(t.blockedOn=null,Sh||(Sh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,F3)))}var Wc=null;function D1(t){Wc!==t&&(Wc=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wc===t&&(Wc=null);for(var o=0;o<t.length;o+=3){var i=t[o],l=t[o+1],f=t[o+2];if(typeof l!="function"){if(xh(l||i)===null)continue;break}var h=Da(i);h!==null&&(t.splice(o,3),o-=3,yd(h,{pending:!0,data:f,method:i.method,action:l},l,f))}}))}function pi(t){function o(R){return Xc(R,t)}wn!==null&&Xc(wn,t),kn!==null&&Xc(kn,t),Bn!==null&&Xc(Bn,t),Vl.forEach(o),Gl.forEach(o);for(var i=0;i<_n.length;i++){var l=_n[i];l.blockedOn===t&&(l.blockedOn=null)}for(;0<_n.length&&(i=_n[0],i.blockedOn===null);)R1(i),i.blockedOn===null&&_n.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(l=0;l<i.length;l+=3){var f=i[l],h=i[l+1],b=f[Yt]||null;if(typeof h=="function")b||D1(i);else if(b){var _=null;if(h&&h.hasAttribute("formAction")){if(f=h,b=h[Yt]||null)_=b.formAction;else if(xh(f)!==null)continue}else _=b.action;typeof _=="function"?i[l+1]=_:(i.splice(l,3),l-=3),D1(i)}}}function O1(){function t(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(b){return f=b})},focusReset:"manual",scroll:"manual"})}function o(){f!==null&&(f(),f=null),l||setTimeout(i,20)}function i(){if(!l&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,f=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(i,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),f!==null&&(f(),f=null)}}}function wh(t){this._internalRoot=t}Qc.prototype.render=wh.prototype.render=function(t){var o=this._internalRoot;if(o===null)throw Error(a(409));var i=o.current,l=bo();z1(i,l,t,o,null,null)},Qc.prototype.unmount=wh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var o=t.containerInfo;z1(t.current,2,null,t,null,null),Nc(),o[Ra]=null}};function Qc(t){this._internalRoot=t}Qc.prototype.unstable_scheduleHydration=function(t){if(t){var o=Gg();t={blockedOn:null,target:t,priority:o};for(var i=0;i<_n.length&&o!==0&&o<_n[i].priority;i++);_n.splice(i,0,t),i===0&&R1(t)}};var M1=r.version;if(M1!=="19.2.6")throw Error(a(527,M1,"19.2.6"));J.findDOMNode=function(t){var o=t._reactInternals;if(o===void 0)throw typeof t.render=="function"?Error(a(188)):(t=Object.keys(t).join(","),Error(a(268,t)));return t=p(o),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var H3={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yc.isDisabled&&Yc.supportsFiber)try{tl=Yc.inject(H3),co=Yc}catch{}}return Ql.createRoot=function(t,o){if(!s(t))throw Error(a(299));var i=!1,l="",f=Um,h=Vm,b=Gm;return o!=null&&(o.unstable_strictMode===!0&&(i=!0),o.identifierPrefix!==void 0&&(l=o.identifierPrefix),o.onUncaughtError!==void 0&&(f=o.onUncaughtError),o.onCaughtError!==void 0&&(h=o.onCaughtError),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=B1(t,1,!1,null,null,i,l,null,f,h,b,O1),t[Ra]=o.current,rh(t),new wh(o)},Ql.hydrateRoot=function(t,o,i){if(!s(t))throw Error(a(299));var l=!1,f="",h=Um,b=Vm,_=Gm,R=null;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(_=i.onRecoverableError),i.formState!==void 0&&(R=i.formState)),o=B1(t,1,!0,o,i??null,l,f,R,h,b,_,O1),o.context=_1(null),i=o.current,l=bo(),l=df(l),f=un(l),f.callback=null,fn(i,f,l),i=l,o.current.lanes=i,rl(o,i),dr(o),t[Ra]=o.current,rh(t),new Qc(o)},Ql.version="19.2.6",Ql}var W1;function K3(){if(W1)return zh.exports;W1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),zh.exports=$3(),zh.exports}var Z3=K3();/**
48
+ `+l.stack}}var sf=Object.prototype.hasOwnProperty,cf=e.unstable_scheduleCallback,uf=e.unstable_cancelCallback,y5=e.unstable_shouldYield,x5=e.unstable_requestPaint,so=e.unstable_now,S5=e.unstable_getCurrentPriorityLevel,Hg=e.unstable_ImmediatePriority,Lg=e.unstable_UserBlockingPriority,As=e.unstable_NormalPriority,w5=e.unstable_LowPriority,Pg=e.unstable_IdlePriority,k5=e.log,B5=e.unstable_setDisableYieldValue,rl=null,co=null;function tn(t){if(typeof k5=="function"&&B5(t),co&&typeof co.setStrictMode=="function")try{co.setStrictMode(rl,t)}catch{}}var uo=Math.clz32?Math.clz32:T5,_5=Math.log,z5=Math.LN2;function T5(t){return t>>>=0,t===0?32:31-(_5(t)/z5|0)|0}var Ds=256,Os=262144,Ms=4194304;function Yn(t){var o=t&42;if(o!==0)return o;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function qs(t,o,i){var l=t.pendingLanes;if(l===0)return 0;var f=0,h=t.suspendedLanes,b=t.pingedLanes;t=t.warmLanes;var _=l&134217727;return _!==0?(l=_&~h,l!==0?f=Yn(l):(b&=_,b!==0?f=Yn(b):i||(i=_&~t,i!==0&&(f=Yn(i))))):(_=l&~h,_!==0?f=Yn(_):b!==0?f=Yn(b):i||(i=l&~t,i!==0&&(f=Yn(i)))),f===0?0:o!==0&&o!==f&&(o&h)===0&&(h=f&-f,i=o&-o,h>=i||h===32&&(i&4194048)!==0)?o:f}function nl(t,o){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&o)===0}function N5(t,o){switch(t){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ig(){var t=Ms;return Ms<<=1,(Ms&62914560)===0&&(Ms=4194304),t}function ff(t){for(var o=[],i=0;31>i;i++)o.push(t);return o}function al(t,o){t.pendingLanes|=o,o!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function C5(t,o,i,l,f,h){var b=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var _=t.entanglements,R=t.expirationTimes,U=t.hiddenUpdates;for(i=b&~i;0<i;){var Y=31-uo(i),K=1<<Y;_[Y]=0,R[Y]=-1;var V=U[Y];if(V!==null)for(U[Y]=null,Y=0;Y<V.length;Y++){var Q=V[Y];Q!==null&&(Q.lane&=-536870913)}i&=~K}l!==0&&Ug(t,l,0),h!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=h&~(b&~o))}function Ug(t,o,i){t.pendingLanes|=o,t.suspendedLanes&=~o;var l=31-uo(o);t.entangledLanes|=o,t.entanglements[l]=t.entanglements[l]|1073741824|i&261930}function Vg(t,o){var i=t.entangledLanes|=o;for(t=t.entanglements;i;){var l=31-uo(i),f=1<<l;f&o|t[l]&o&&(t[l]|=o),i&=~f}}function Gg(t,o){var i=o&-o;return i=(i&42)!==0?1:df(i),(i&(t.suspendedLanes|o))!==0?0:i}function df(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 hf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Xg(){var t=J.p;return t!==0?t:(t=window.event,t===void 0?32:j1(t.type))}function Wg(t,o){var i=J.p;try{return J.p=t,o()}finally{J.p=i}}var on=Math.random().toString(36).slice(2),Dt="__reactFiber$"+on,Yt="__reactProps$"+on,Ra="__reactContainer$"+on,gf="__reactEvents$"+on,E5="__reactListeners$"+on,j5="__reactHandles$"+on,Qg="__reactResources$"+on,il="__reactMarker$"+on;function pf(t){delete t[Dt],delete t[Yt],delete t[gf],delete t[E5],delete t[j5]}function Aa(t){var o=t[Dt];if(o)return o;for(var i=t.parentNode;i;){if(o=i[Ra]||i[Dt]){if(i=o.alternate,o.child!==null||i!==null&&i.child!==null)for(t=p1(t);t!==null;){if(i=t[Dt])return i;t=p1(t)}return o}t=i,i=t.parentNode}return null}function Da(t){if(t=t[Dt]||t[Ra]){var o=t.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return t}return null}function ll(t){var o=t.tag;if(o===5||o===26||o===27||o===6)return t.stateNode;throw Error(a(33))}function Oa(t){var o=t[Qg];return o||(o=t[Qg]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function Et(t){t[il]=!0}var Yg=new Set,$g={};function $n(t,o){Ma(t,o),Ma(t+"Capture",o)}function Ma(t,o){for($g[t]=o,t=0;t<o.length;t++)Yg.add(o[t])}var R5=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Kg={},Zg={};function A5(t){return sf.call(Zg,t)?!0:sf.call(Kg,t)?!1:R5.test(t)?Zg[t]=!0:(Kg[t]=!0,!1)}function Fs(t,o,i){if(A5(o))if(i===null)t.removeAttribute(o);else{switch(typeof i){case"undefined":case"function":case"symbol":t.removeAttribute(o);return;case"boolean":var l=o.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(o);return}}t.setAttribute(o,""+i)}}function Hs(t,o,i){if(i===null)t.removeAttribute(o);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(o);return}t.setAttribute(o,""+i)}}function Sr(t,o,i,l){if(l===null)t.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttributeNS(o,i,""+l)}}function No(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Jg(t){var o=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function D5(t,o,i){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,o);if(!t.hasOwnProperty(o)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,h=l.set;return Object.defineProperty(t,o,{configurable:!0,get:function(){return f.call(this)},set:function(b){i=""+b,h.call(this,b)}}),Object.defineProperty(t,o,{enumerable:l.enumerable}),{getValue:function(){return i},setValue:function(b){i=""+b},stopTracking:function(){t._valueTracker=null,delete t[o]}}}}function mf(t){if(!t._valueTracker){var o=Jg(t)?"checked":"value";t._valueTracker=D5(t,o,""+t[o])}}function ep(t){if(!t)return!1;var o=t._valueTracker;if(!o)return!0;var i=o.getValue(),l="";return t&&(l=Jg(t)?t.checked?"true":"false":t.value),t=l,t!==i?(o.setValue(t),!0):!1}function Ls(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var O5=/[\n"\\]/g;function Co(t){return t.replace(O5,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function vf(t,o,i,l,f,h,b,_){t.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.type=b:t.removeAttribute("type"),o!=null?b==="number"?(o===0&&t.value===""||t.value!=o)&&(t.value=""+No(o)):t.value!==""+No(o)&&(t.value=""+No(o)):b!=="submit"&&b!=="reset"||t.removeAttribute("value"),o!=null?bf(t,b,No(o)):i!=null?bf(t,b,No(i)):l!=null&&t.removeAttribute("value"),f==null&&h!=null&&(t.defaultChecked=!!h),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?t.name=""+No(_):t.removeAttribute("name")}function tp(t,o,i,l,f,h,b,_){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),o!=null||i!=null){if(!(h!=="submit"&&h!=="reset"||o!=null)){mf(t);return}i=i!=null?""+No(i):"",o=o!=null?""+No(o):i,_||o===t.value||(t.value=o),t.defaultValue=o}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=_?t.checked:!!l,t.defaultChecked=!!l,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.name=b),mf(t)}function bf(t,o,i){o==="number"&&Ls(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function qa(t,o,i,l){if(t=t.options,o){o={};for(var f=0;f<i.length;f++)o["$"+i[f]]=!0;for(i=0;i<t.length;i++)f=o.hasOwnProperty("$"+t[i].value),t[i].selected!==f&&(t[i].selected=f),f&&l&&(t[i].defaultSelected=!0)}else{for(i=""+No(i),o=null,f=0;f<t.length;f++){if(t[f].value===i){t[f].selected=!0,l&&(t[f].defaultSelected=!0);return}o!==null||t[f].disabled||(o=t[f])}o!==null&&(o.selected=!0)}}function op(t,o,i){if(o!=null&&(o=""+No(o),o!==t.value&&(t.value=o),i==null)){t.defaultValue!==o&&(t.defaultValue=o);return}t.defaultValue=i!=null?""+No(i):""}function rp(t,o,i,l){if(o==null){if(l!=null){if(i!=null)throw Error(a(92));if(ye(l)){if(1<l.length)throw Error(a(93));l=l[0]}i=l}i==null&&(i=""),o=i}i=No(o),t.defaultValue=i,l=t.textContent,l===i&&l!==""&&l!==null&&(t.value=l),mf(t)}function Fa(t,o){if(o){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=o;return}}t.textContent=o}var M5=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function np(t,o,i){var l=o.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?l?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="":l?t.setProperty(o,i):typeof i!="number"||i===0||M5.has(o)?o==="float"?t.cssFloat=i:t[o]=(""+i).trim():t[o]=i+"px"}function ap(t,o,i){if(o!=null&&typeof o!="object")throw Error(a(62));if(t=t.style,i!=null){for(var l in i)!i.hasOwnProperty(l)||o!=null&&o.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var f in o)l=o[f],o.hasOwnProperty(f)&&i[f]!==l&&np(t,f,l)}else for(var h in o)o.hasOwnProperty(h)&&np(t,h,o[h])}function yf(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var q5=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),F5=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ps(t){return F5.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function wr(){}var xf=null;function Sf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ha=null,La=null;function ip(t){var o=Da(t);if(o&&(t=o.stateNode)){var i=t[Yt]||null;e:switch(t=o.stateNode,o.type){case"input":if(vf(t,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),o=i.name,i.type==="radio"&&o!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Co(""+o)+'"][type="radio"]'),o=0;o<i.length;o++){var l=i[o];if(l!==t&&l.form===t.form){var f=l[Yt]||null;if(!f)throw Error(a(90));vf(l,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(o=0;o<i.length;o++)l=i[o],l.form===t.form&&ep(l)}break e;case"textarea":op(t,i.value,i.defaultValue);break e;case"select":o=i.value,o!=null&&qa(t,!!i.multiple,o,!1)}}}var wf=!1;function lp(t,o,i){if(wf)return t(o,i);wf=!0;try{var l=t(o);return l}finally{if(wf=!1,(Ha!==null||La!==null)&&(Nc(),Ha&&(o=Ha,t=La,La=Ha=null,ip(o),t)))for(o=0;o<t.length;o++)ip(t[o])}}function sl(t,o){var i=t.stateNode;if(i===null)return null;var l=i[Yt]||null;if(l===null)return null;i=l[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(a(231,o,typeof i));return i}var kr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kf=!1;if(kr)try{var cl={};Object.defineProperty(cl,"passive",{get:function(){kf=!0}}),window.addEventListener("test",cl,cl),window.removeEventListener("test",cl,cl)}catch{kf=!1}var rn=null,Bf=null,Is=null;function sp(){if(Is)return Is;var t,o=Bf,i=o.length,l,f="value"in rn?rn.value:rn.textContent,h=f.length;for(t=0;t<i&&o[t]===f[t];t++);var b=i-t;for(l=1;l<=b&&o[i-l]===f[h-l];l++);return Is=f.slice(t,1<l?1-l:void 0)}function Us(t){var o=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&o===13&&(t=13)):t=o,t===10&&(t=13),32<=t||t===13?t:0}function Vs(){return!0}function cp(){return!1}function $t(t){function o(i,l,f,h,b){this._reactName=i,this._targetInst=f,this.type=l,this.nativeEvent=h,this.target=b,this.currentTarget=null;for(var _ in t)t.hasOwnProperty(_)&&(i=t[_],this[_]=i?i(h):h[_]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Vs:cp,this.isPropagationStopped=cp,this}return v(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),o}var Kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gs=$t(Kn),ul=v({},Kn,{view:0,detail:0}),H5=$t(ul),_f,zf,fl,Xs=v({},ul,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==fl&&(fl&&t.type==="mousemove"?(_f=t.screenX-fl.screenX,zf=t.screenY-fl.screenY):zf=_f=0,fl=t),_f)},movementY:function(t){return"movementY"in t?t.movementY:zf}}),up=$t(Xs),L5=v({},Xs,{dataTransfer:0}),P5=$t(L5),I5=v({},ul,{relatedTarget:0}),Tf=$t(I5),U5=v({},Kn,{animationName:0,elapsedTime:0,pseudoElement:0}),V5=$t(U5),G5=v({},Kn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),X5=$t(G5),W5=v({},Kn,{data:0}),fp=$t(W5),Q5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y5={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function K5(t){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(t):(t=$5[t])?!!o[t]:!1}function Nf(){return K5}var Z5=v({},ul,{key:function(t){if(t.key){var o=Q5[t.key]||t.key;if(o!=="Unidentified")return o}return t.type==="keypress"?(t=Us(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Y5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nf,charCode:function(t){return t.type==="keypress"?Us(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Us(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),J5=$t(Z5),ew=v({},Xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dp=$t(ew),tw=v({},ul,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nf}),ow=$t(tw),rw=v({},Kn,{propertyName:0,elapsedTime:0,pseudoElement:0}),nw=$t(rw),aw=v({},Xs,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),iw=$t(aw),lw=v({},Kn,{newState:0,oldState:0}),sw=$t(lw),cw=[9,13,27,32],Cf=kr&&"CompositionEvent"in window,dl=null;kr&&"documentMode"in document&&(dl=document.documentMode);var uw=kr&&"TextEvent"in window&&!dl,hp=kr&&(!Cf||dl&&8<dl&&11>=dl),gp=" ",pp=!1;function mp(t,o){switch(t){case"keyup":return cw.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Pa=!1;function fw(t,o){switch(t){case"compositionend":return vp(o);case"keypress":return o.which!==32?null:(pp=!0,gp);case"textInput":return t=o.data,t===gp&&pp?null:t;default:return null}}function dw(t,o){if(Pa)return t==="compositionend"||!Cf&&mp(t,o)?(t=sp(),Is=Bf=rn=null,Pa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return hp&&o.locale!=="ko"?null:o.data;default:return null}}var hw={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bp(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o==="input"?!!hw[t.type]:o==="textarea"}function yp(t,o,i,l){Ha?La?La.push(l):La=[l]:Ha=l,o=Oc(o,"onChange"),0<o.length&&(i=new Gs("onChange","change",null,i,l),t.push({event:i,listeners:o}))}var hl=null,gl=null;function gw(t){t1(t,0)}function Ws(t){var o=ll(t);if(ep(o))return t}function xp(t,o){if(t==="change")return o}var Sp=!1;if(kr){var Ef;if(kr){var jf="oninput"in document;if(!jf){var wp=document.createElement("div");wp.setAttribute("oninput","return;"),jf=typeof wp.oninput=="function"}Ef=jf}else Ef=!1;Sp=Ef&&(!document.documentMode||9<document.documentMode)}function kp(){hl&&(hl.detachEvent("onpropertychange",Bp),gl=hl=null)}function Bp(t){if(t.propertyName==="value"&&Ws(gl)){var o=[];yp(o,gl,t,Sf(t)),lp(gw,o)}}function pw(t,o,i){t==="focusin"?(kp(),hl=o,gl=i,hl.attachEvent("onpropertychange",Bp)):t==="focusout"&&kp()}function mw(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ws(gl)}function vw(t,o){if(t==="click")return Ws(o)}function bw(t,o){if(t==="input"||t==="change")return Ws(o)}function yw(t,o){return t===o&&(t!==0||1/t===1/o)||t!==t&&o!==o}var fo=typeof Object.is=="function"?Object.is:yw;function pl(t,o){if(fo(t,o))return!0;if(typeof t!="object"||t===null||typeof o!="object"||o===null)return!1;var i=Object.keys(t),l=Object.keys(o);if(i.length!==l.length)return!1;for(l=0;l<i.length;l++){var f=i[l];if(!sf.call(o,f)||!fo(t[f],o[f]))return!1}return!0}function _p(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function zp(t,o){var i=_p(t);t=0;for(var l;i;){if(i.nodeType===3){if(l=t+i.textContent.length,t<=o&&l>=o)return{node:i,offset:o-t};t=l}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=_p(i)}}function Tp(t,o){return t&&o?t===o?!0:t&&t.nodeType===3?!1:o&&o.nodeType===3?Tp(t,o.parentNode):"contains"in t?t.contains(o):t.compareDocumentPosition?!!(t.compareDocumentPosition(o)&16):!1:!1}function Np(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var o=Ls(t.document);o instanceof t.HTMLIFrameElement;){try{var i=typeof o.contentWindow.location.href=="string"}catch{i=!1}if(i)t=o.contentWindow;else break;o=Ls(t.document)}return o}function Rf(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o&&(o==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||o==="textarea"||t.contentEditable==="true")}var xw=kr&&"documentMode"in document&&11>=document.documentMode,Ia=null,Af=null,ml=null,Df=!1;function Cp(t,o,i){var l=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Df||Ia==null||Ia!==Ls(l)||(l=Ia,"selectionStart"in l&&Rf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ml&&pl(ml,l)||(ml=l,l=Oc(Af,"onSelect"),0<l.length&&(o=new Gs("onSelect","select",null,o,i),t.push({event:o,listeners:l}),o.target=Ia)))}function Zn(t,o){var i={};return i[t.toLowerCase()]=o.toLowerCase(),i["Webkit"+t]="webkit"+o,i["Moz"+t]="moz"+o,i}var Ua={animationend:Zn("Animation","AnimationEnd"),animationiteration:Zn("Animation","AnimationIteration"),animationstart:Zn("Animation","AnimationStart"),transitionrun:Zn("Transition","TransitionRun"),transitionstart:Zn("Transition","TransitionStart"),transitioncancel:Zn("Transition","TransitionCancel"),transitionend:Zn("Transition","TransitionEnd")},Of={},Ep={};kr&&(Ep=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function Jn(t){if(Of[t])return Of[t];if(!Ua[t])return t;var o=Ua[t],i;for(i in o)if(o.hasOwnProperty(i)&&i in Ep)return Of[t]=o[i];return t}var jp=Jn("animationend"),Rp=Jn("animationiteration"),Ap=Jn("animationstart"),Sw=Jn("transitionrun"),ww=Jn("transitionstart"),kw=Jn("transitioncancel"),Dp=Jn("transitionend"),Op=new Map,Mf="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(" ");Mf.push("scrollEnd");function Wo(t,o){Op.set(t,o),$n(o,[t])}var Qs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Eo=[],Va=0,qf=0;function Ys(){for(var t=Va,o=qf=Va=0;o<t;){var i=Eo[o];Eo[o++]=null;var l=Eo[o];Eo[o++]=null;var f=Eo[o];Eo[o++]=null;var h=Eo[o];if(Eo[o++]=null,l!==null&&f!==null){var b=l.pending;b===null?f.next=f:(f.next=b.next,b.next=f),l.pending=f}h!==0&&Mp(i,f,h)}}function $s(t,o,i,l){Eo[Va++]=t,Eo[Va++]=o,Eo[Va++]=i,Eo[Va++]=l,qf|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Ff(t,o,i,l){return $s(t,o,i,l),Ks(t)}function ea(t,o){return $s(t,null,null,o),Ks(t)}function Mp(t,o,i){t.lanes|=i;var l=t.alternate;l!==null&&(l.lanes|=i);for(var f=!1,h=t.return;h!==null;)h.childLanes|=i,l=h.alternate,l!==null&&(l.childLanes|=i),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(f=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,f&&o!==null&&(f=31-uo(i),t=h.hiddenUpdates,l=t[f],l===null?t[f]=[o]:l.push(o),o.lane=i|536870912),h):null}function Ks(t){if(50<Fl)throw Fl=0,Wd=null,Error(a(185));for(var o=t.return;o!==null;)t=o,o=t.return;return t.tag===3?t.stateNode:null}var Ga={};function Bw(t,o,i,l){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ho(t,o,i,l){return new Bw(t,o,i,l)}function Hf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Br(t,o){var i=t.alternate;return i===null?(i=ho(t.tag,o,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=o,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&65011712,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,o=t.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function qp(t,o){t.flags&=65011714;var i=t.alternate;return i===null?(t.childLanes=0,t.lanes=o,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=i.childLanes,t.lanes=i.lanes,t.child=i.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=i.memoizedProps,t.memoizedState=i.memoizedState,t.updateQueue=i.updateQueue,t.type=i.type,o=i.dependencies,t.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),t}function Zs(t,o,i,l,f,h){var b=0;if(l=t,typeof t=="function")Hf(t)&&(b=1);else if(typeof t=="string")b=C3(t,i,ne.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case oe:return t=ho(31,i,o,f),t.elementType=oe,t.lanes=h,t;case x:return ta(i.children,f,h,o);case z:b=8,f|=24;break;case T:return t=ho(12,i,o,f|2),t.elementType=T,t.lanes=h,t;case E:return t=ho(13,i,o,f),t.elementType=E,t.lanes=h,t;case M:return t=ho(19,i,o,f),t.elementType=M,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case N:b=10;break e;case j:b=9;break e;case C:b=11;break e;case W:b=14;break e;case G:b=16,l=null;break e}b=29,i=Error(a(130,t===null?"null":typeof t,"")),l=null}return o=ho(b,i,o,f),o.elementType=t,o.type=l,o.lanes=h,o}function ta(t,o,i,l){return t=ho(7,t,l,o),t.lanes=i,t}function Lf(t,o,i){return t=ho(6,t,null,o),t.lanes=i,t}function Fp(t){var o=ho(18,null,null,0);return o.stateNode=t,o}function Pf(t,o,i){return o=ho(4,t.children!==null?t.children:[],t.key,o),o.lanes=i,o.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},o}var Hp=new WeakMap;function jo(t,o){if(typeof t=="object"&&t!==null){var i=Hp.get(t);return i!==void 0?i:(o={value:t,source:o,stack:Fg(o)},Hp.set(t,o),o)}return{value:t,source:o,stack:Fg(o)}}var Xa=[],Wa=0,Js=null,vl=0,Ro=[],Ao=0,nn=null,cr=1,ur="";function _r(t,o){Xa[Wa++]=vl,Xa[Wa++]=Js,Js=t,vl=o}function Lp(t,o,i){Ro[Ao++]=cr,Ro[Ao++]=ur,Ro[Ao++]=nn,nn=t;var l=cr;t=ur;var f=32-uo(l)-1;l&=~(1<<f),i+=1;var h=32-uo(o)+f;if(30<h){var b=f-f%5;h=(l&(1<<b)-1).toString(32),l>>=b,f-=b,cr=1<<32-uo(o)+f|i<<f|l,ur=h+t}else cr=1<<h|i<<f|l,ur=t}function If(t){t.return!==null&&(_r(t,1),Lp(t,1,0))}function Uf(t){for(;t===Js;)Js=Xa[--Wa],Xa[Wa]=null,vl=Xa[--Wa],Xa[Wa]=null;for(;t===nn;)nn=Ro[--Ao],Ro[Ao]=null,ur=Ro[--Ao],Ro[Ao]=null,cr=Ro[--Ao],Ro[Ao]=null}function Pp(t,o){Ro[Ao++]=cr,Ro[Ao++]=ur,Ro[Ao++]=nn,cr=o.id,ur=o.overflow,nn=t}var Ot=null,rt=null,qe=!1,an=null,Do=!1,Vf=Error(a(519));function ln(t){var o=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bl(jo(o,t)),Vf}function Ip(t){var o=t.stateNode,i=t.type,l=t.memoizedProps;switch(o[Dt]=t,o[Yt]=l,i){case"dialog":Ae("cancel",o),Ae("close",o);break;case"iframe":case"object":case"embed":Ae("load",o);break;case"video":case"audio":for(i=0;i<Ll.length;i++)Ae(Ll[i],o);break;case"source":Ae("error",o);break;case"img":case"image":case"link":Ae("error",o),Ae("load",o);break;case"details":Ae("toggle",o);break;case"input":Ae("invalid",o),tp(o,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Ae("invalid",o);break;case"textarea":Ae("invalid",o),rp(o,l.value,l.defaultValue,l.children)}i=l.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||o.textContent===""+i||l.suppressHydrationWarning===!0||a1(o.textContent,i)?(l.popover!=null&&(Ae("beforetoggle",o),Ae("toggle",o)),l.onScroll!=null&&Ae("scroll",o),l.onScrollEnd!=null&&Ae("scrollend",o),l.onClick!=null&&(o.onclick=wr),o=!0):o=!1,o||ln(t,!0)}function Up(t){for(Ot=t.return;Ot;)switch(Ot.tag){case 5:case 31:case 13:Do=!1;return;case 27:case 3:Do=!0;return;default:Ot=Ot.return}}function Qa(t){if(t!==Ot)return!1;if(!qe)return Up(t),qe=!0,!1;var o=t.tag,i;if((i=o!==3&&o!==27)&&((i=o===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||sh(t.type,t.memoizedProps)),i=!i),i&&rt&&ln(t),Up(t),o===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));rt=g1(t)}else if(o===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));rt=g1(t)}else o===27?(o=rt,Sn(t.type)?(t=hh,hh=null,rt=t):rt=o):rt=Ot?Mo(t.stateNode.nextSibling):null;return!0}function oa(){rt=Ot=null,qe=!1}function Gf(){var t=an;return t!==null&&(eo===null?eo=t:eo.push.apply(eo,t),an=null),t}function bl(t){an===null?an=[t]:an.push(t)}var Xf=D(null),ra=null,zr=null;function sn(t,o,i){Z(Xf,o._currentValue),o._currentValue=i}function Tr(t){t._currentValue=Xf.current,L(Xf)}function Wf(t,o,i){for(;t!==null;){var l=t.alternate;if((t.childLanes&o)!==o?(t.childLanes|=o,l!==null&&(l.childLanes|=o)):l!==null&&(l.childLanes&o)!==o&&(l.childLanes|=o),t===i)break;t=t.return}}function Qf(t,o,i,l){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var h=f.dependencies;if(h!==null){var b=f.child;h=h.firstContext;e:for(;h!==null;){var _=h;h=f;for(var R=0;R<o.length;R++)if(_.context===o[R]){h.lanes|=i,_=h.alternate,_!==null&&(_.lanes|=i),Wf(h.return,i,t),l||(b=null);break e}h=_.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(a(341));b.lanes|=i,h=b.alternate,h!==null&&(h.lanes|=i),Wf(b,i,t),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===t){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function Ya(t,o,i,l){t=null;for(var f=o,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(a(387));if(b=b.memoizedProps,b!==null){var _=f.type;fo(f.pendingProps.value,b.value)||(t!==null?t.push(_):t=[_])}}else if(f===De.current){if(b=f.alternate,b===null)throw Error(a(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(Gl):t=[Gl])}f=f.return}t!==null&&Qf(o,t,i,l),o.flags|=262144}function ec(t){for(t=t.firstContext;t!==null;){if(!fo(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function na(t){ra=t,zr=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Mt(t){return Vp(ra,t)}function tc(t,o){return ra===null&&na(t),Vp(t,o)}function Vp(t,o){var i=o._currentValue;if(o={context:o,memoizedValue:i,next:null},zr===null){if(t===null)throw Error(a(308));zr=o,t.dependencies={lanes:0,firstContext:o},t.flags|=524288}else zr=zr.next=o;return i}var _w=typeof AbortController<"u"?AbortController:function(){var t=[],o=this.signal={aborted:!1,addEventListener:function(i,l){t.push(l)}};this.abort=function(){o.aborted=!0,t.forEach(function(i){return i()})}},zw=e.unstable_scheduleCallback,Tw=e.unstable_NormalPriority,yt={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yf(){return{controller:new _w,data:new Map,refCount:0}}function yl(t){t.refCount--,t.refCount===0&&zw(Tw,function(){t.controller.abort()})}var xl=null,$f=0,$a=0,Ka=null;function Nw(t,o){if(xl===null){var i=xl=[];$f=0,$a=Jd(),Ka={status:"pending",value:void 0,then:function(l){i.push(l)}}}return $f++,o.then(Gp,Gp),o}function Gp(){if(--$f===0&&xl!==null){Ka!==null&&(Ka.status="fulfilled");var t=xl;xl=null,$a=0,Ka=null;for(var o=0;o<t.length;o++)(0,t[o])()}}function Cw(t,o){var i=[],l={status:"pending",value:null,reason:null,then:function(f){i.push(f)}};return t.then(function(){l.status="fulfilled",l.value=o;for(var f=0;f<i.length;f++)(0,i[f])(o)},function(f){for(l.status="rejected",l.reason=f,f=0;f<i.length;f++)(0,i[f])(void 0)}),l}var Xp=P.S;P.S=function(t,o){Cv=so(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&Nw(t,o),Xp!==null&&Xp(t,o)};var aa=D(null);function Kf(){var t=aa.current;return t!==null?t:tt.pooledCache}function oc(t,o){o===null?Z(aa,aa.current):Z(aa,o.pool)}function Wp(){var t=Kf();return t===null?null:{parent:yt._currentValue,pool:t}}var Za=Error(a(460)),Zf=Error(a(474)),rc=Error(a(542)),nc={then:function(){}};function Qp(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Yp(t,o,i){switch(i=t[i],i===void 0?t.push(o):i!==o&&(o.then(wr,wr),o=i),o.status){case"fulfilled":return o.value;case"rejected":throw t=o.reason,Kp(t),t;default:if(typeof o.status=="string")o.then(wr,wr);else{if(t=tt,t!==null&&100<t.shellSuspendCounter)throw Error(a(482));t=o,t.status="pending",t.then(function(l){if(o.status==="pending"){var f=o;f.status="fulfilled",f.value=l}},function(l){if(o.status==="pending"){var f=o;f.status="rejected",f.reason=l}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw t=o.reason,Kp(t),t}throw la=o,Za}}function ia(t){try{var o=t._init;return o(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(la=i,Za):i}}var la=null;function $p(){if(la===null)throw Error(a(459));var t=la;return la=null,t}function Kp(t){if(t===Za||t===rc)throw Error(a(483))}var Ja=null,Sl=0;function ac(t){var o=Sl;return Sl+=1,Ja===null&&(Ja=[]),Yp(Ja,t,o)}function wl(t,o){o=o.props.ref,t.ref=o!==void 0?o:null}function ic(t,o){throw o.$$typeof===S?Error(a(525)):(t=Object.prototype.toString.call(o),Error(a(31,t==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":t)))}function Zp(t){function o(F,O){if(t){var I=F.deletions;I===null?(F.deletions=[O],F.flags|=16):I.push(O)}}function i(F,O){if(!t)return null;for(;O!==null;)o(F,O),O=O.sibling;return null}function l(F){for(var O=new Map;F!==null;)F.key!==null?O.set(F.key,F):O.set(F.index,F),F=F.sibling;return O}function f(F,O){return F=Br(F,O),F.index=0,F.sibling=null,F}function h(F,O,I){return F.index=I,t?(I=F.alternate,I!==null?(I=I.index,I<O?(F.flags|=67108866,O):I):(F.flags|=67108866,O)):(F.flags|=1048576,O)}function b(F){return t&&F.alternate===null&&(F.flags|=67108866),F}function _(F,O,I,$){return O===null||O.tag!==6?(O=Lf(I,F.mode,$),O.return=F,O):(O=f(O,I),O.return=F,O)}function R(F,O,I,$){var xe=I.type;return xe===x?Y(F,O,I.props.children,$,I.key):O!==null&&(O.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===G&&ia(xe)===O.type)?(O=f(O,I.props),wl(O,I),O.return=F,O):(O=Zs(I.type,I.key,I.props,null,F.mode,$),wl(O,I),O.return=F,O)}function U(F,O,I,$){return O===null||O.tag!==4||O.stateNode.containerInfo!==I.containerInfo||O.stateNode.implementation!==I.implementation?(O=Pf(I,F.mode,$),O.return=F,O):(O=f(O,I.children||[]),O.return=F,O)}function Y(F,O,I,$,xe){return O===null||O.tag!==7?(O=ta(I,F.mode,$,xe),O.return=F,O):(O=f(O,I),O.return=F,O)}function K(F,O,I){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Lf(""+O,F.mode,I),O.return=F,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case k:return I=Zs(O.type,O.key,O.props,null,F.mode,I),wl(I,O),I.return=F,I;case w:return O=Pf(O,F.mode,I),O.return=F,O;case G:return O=ia(O),K(F,O,I)}if(ye(O)||ae(O))return O=ta(O,F.mode,I,null),O.return=F,O;if(typeof O.then=="function")return K(F,ac(O),I);if(O.$$typeof===N)return K(F,tc(F,O),I);ic(F,O)}return null}function V(F,O,I,$){var xe=O!==null?O.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return xe!==null?null:_(F,O,""+I,$);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case k:return I.key===xe?R(F,O,I,$):null;case w:return I.key===xe?U(F,O,I,$):null;case G:return I=ia(I),V(F,O,I,$)}if(ye(I)||ae(I))return xe!==null?null:Y(F,O,I,$,null);if(typeof I.then=="function")return V(F,O,ac(I),$);if(I.$$typeof===N)return V(F,O,tc(F,I),$);ic(F,I)}return null}function Q(F,O,I,$,xe){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return F=F.get(I)||null,_(O,F,""+$,xe);if(typeof $=="object"&&$!==null){switch($.$$typeof){case k:return F=F.get($.key===null?I:$.key)||null,R(O,F,$,xe);case w:return F=F.get($.key===null?I:$.key)||null,U(O,F,$,xe);case G:return $=ia($),Q(F,O,I,$,xe)}if(ye($)||ae($))return F=F.get(I)||null,Y(O,F,$,xe,null);if(typeof $.then=="function")return Q(F,O,I,ac($),xe);if($.$$typeof===N)return Q(F,O,I,tc(O,$),xe);ic(O,$)}return null}function he(F,O,I,$){for(var xe=null,Pe=null,ge=O,Ee=O=0,Me=null;ge!==null&&Ee<I.length;Ee++){ge.index>Ee?(Me=ge,ge=null):Me=ge.sibling;var Ie=V(F,ge,I[Ee],$);if(Ie===null){ge===null&&(ge=Me);break}t&&ge&&Ie.alternate===null&&o(F,ge),O=h(Ie,O,Ee),Pe===null?xe=Ie:Pe.sibling=Ie,Pe=Ie,ge=Me}if(Ee===I.length)return i(F,ge),qe&&_r(F,Ee),xe;if(ge===null){for(;Ee<I.length;Ee++)ge=K(F,I[Ee],$),ge!==null&&(O=h(ge,O,Ee),Pe===null?xe=ge:Pe.sibling=ge,Pe=ge);return qe&&_r(F,Ee),xe}for(ge=l(ge);Ee<I.length;Ee++)Me=Q(ge,F,Ee,I[Ee],$),Me!==null&&(t&&Me.alternate!==null&&ge.delete(Me.key===null?Ee:Me.key),O=h(Me,O,Ee),Pe===null?xe=Me:Pe.sibling=Me,Pe=Me);return t&&ge.forEach(function(zn){return o(F,zn)}),qe&&_r(F,Ee),xe}function we(F,O,I,$){if(I==null)throw Error(a(151));for(var xe=null,Pe=null,ge=O,Ee=O=0,Me=null,Ie=I.next();ge!==null&&!Ie.done;Ee++,Ie=I.next()){ge.index>Ee?(Me=ge,ge=null):Me=ge.sibling;var zn=V(F,ge,Ie.value,$);if(zn===null){ge===null&&(ge=Me);break}t&&ge&&zn.alternate===null&&o(F,ge),O=h(zn,O,Ee),Pe===null?xe=zn:Pe.sibling=zn,Pe=zn,ge=Me}if(Ie.done)return i(F,ge),qe&&_r(F,Ee),xe;if(ge===null){for(;!Ie.done;Ee++,Ie=I.next())Ie=K(F,Ie.value,$),Ie!==null&&(O=h(Ie,O,Ee),Pe===null?xe=Ie:Pe.sibling=Ie,Pe=Ie);return qe&&_r(F,Ee),xe}for(ge=l(ge);!Ie.done;Ee++,Ie=I.next())Ie=Q(ge,F,Ee,Ie.value,$),Ie!==null&&(t&&Ie.alternate!==null&&ge.delete(Ie.key===null?Ee:Ie.key),O=h(Ie,O,Ee),Pe===null?xe=Ie:Pe.sibling=Ie,Pe=Ie);return t&&ge.forEach(function(L3){return o(F,L3)}),qe&&_r(F,Ee),xe}function Je(F,O,I,$){if(typeof I=="object"&&I!==null&&I.type===x&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case k:e:{for(var xe=I.key;O!==null;){if(O.key===xe){if(xe=I.type,xe===x){if(O.tag===7){i(F,O.sibling),$=f(O,I.props.children),$.return=F,F=$;break e}}else if(O.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===G&&ia(xe)===O.type){i(F,O.sibling),$=f(O,I.props),wl($,I),$.return=F,F=$;break e}i(F,O);break}else o(F,O);O=O.sibling}I.type===x?($=ta(I.props.children,F.mode,$,I.key),$.return=F,F=$):($=Zs(I.type,I.key,I.props,null,F.mode,$),wl($,I),$.return=F,F=$)}return b(F);case w:e:{for(xe=I.key;O!==null;){if(O.key===xe)if(O.tag===4&&O.stateNode.containerInfo===I.containerInfo&&O.stateNode.implementation===I.implementation){i(F,O.sibling),$=f(O,I.children||[]),$.return=F,F=$;break e}else{i(F,O);break}else o(F,O);O=O.sibling}$=Pf(I,F.mode,$),$.return=F,F=$}return b(F);case G:return I=ia(I),Je(F,O,I,$)}if(ye(I))return he(F,O,I,$);if(ae(I)){if(xe=ae(I),typeof xe!="function")throw Error(a(150));return I=xe.call(I),we(F,O,I,$)}if(typeof I.then=="function")return Je(F,O,ac(I),$);if(I.$$typeof===N)return Je(F,O,tc(F,I),$);ic(F,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,O!==null&&O.tag===6?(i(F,O.sibling),$=f(O,I),$.return=F,F=$):(i(F,O),$=Lf(I,F.mode,$),$.return=F,F=$),b(F)):i(F,O)}return function(F,O,I,$){try{Sl=0;var xe=Je(F,O,I,$);return Ja=null,xe}catch(ge){if(ge===Za||ge===rc)throw ge;var Pe=ho(29,ge,null,F.mode);return Pe.lanes=$,Pe.return=F,Pe}finally{}}}var sa=Zp(!0),Jp=Zp(!1),cn=!1;function Jf(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ed(t,o){t=t.updateQueue,o.updateQueue===t&&(o.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function un(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function fn(t,o,i){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Ge&2)!==0){var f=l.pending;return f===null?o.next=o:(o.next=f.next,f.next=o),l.pending=o,o=Ks(t),Mp(t,null,i),o}return $s(t,l,o,i),Ks(t)}function kl(t,o,i){if(o=o.updateQueue,o!==null&&(o=o.shared,(i&4194048)!==0)){var l=o.lanes;l&=t.pendingLanes,i|=l,o.lanes=i,Vg(t,i)}}function td(t,o){var i=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,i===l)){var f=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var b={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};h===null?f=h=b:h=h.next=b,i=i.next}while(i!==null);h===null?f=h=o:h=h.next=o}else f=h=o;i={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=o:t.next=o,i.lastBaseUpdate=o}var od=!1;function Bl(){if(od){var t=Ka;if(t!==null)throw t}}function _l(t,o,i,l){od=!1;var f=t.updateQueue;cn=!1;var h=f.firstBaseUpdate,b=f.lastBaseUpdate,_=f.shared.pending;if(_!==null){f.shared.pending=null;var R=_,U=R.next;R.next=null,b===null?h=U:b.next=U,b=R;var Y=t.alternate;Y!==null&&(Y=Y.updateQueue,_=Y.lastBaseUpdate,_!==b&&(_===null?Y.firstBaseUpdate=U:_.next=U,Y.lastBaseUpdate=R))}if(h!==null){var K=f.baseState;b=0,Y=U=R=null,_=h;do{var V=_.lane&-536870913,Q=V!==_.lane;if(Q?(Oe&V)===V:(l&V)===V){V!==0&&V===$a&&(od=!0),Y!==null&&(Y=Y.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var he=t,we=_;V=o;var Je=i;switch(we.tag){case 1:if(he=we.payload,typeof he=="function"){K=he.call(Je,K,V);break e}K=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=we.payload,V=typeof he=="function"?he.call(Je,K,V):he,V==null)break e;K=v({},K,V);break e;case 2:cn=!0}}V=_.callback,V!==null&&(t.flags|=64,Q&&(t.flags|=8192),Q=f.callbacks,Q===null?f.callbacks=[V]:Q.push(V))}else Q={lane:V,tag:_.tag,payload:_.payload,callback:_.callback,next:null},Y===null?(U=Y=Q,R=K):Y=Y.next=Q,b|=V;if(_=_.next,_===null){if(_=f.shared.pending,_===null)break;Q=_,_=Q.next,Q.next=null,f.lastBaseUpdate=Q,f.shared.pending=null}}while(!0);Y===null&&(R=K),f.baseState=R,f.firstBaseUpdate=U,f.lastBaseUpdate=Y,h===null&&(f.shared.lanes=0),mn|=b,t.lanes=b,t.memoizedState=K}}function em(t,o){if(typeof t!="function")throw Error(a(191,t));t.call(o)}function tm(t,o){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)em(i[t],o)}var ei=D(null),lc=D(0);function om(t,o){t=Mr,Z(lc,t),Z(ei,o),Mr=t|o.baseLanes}function rd(){Z(lc,Mr),Z(ei,ei.current)}function nd(){Mr=lc.current,L(ei),L(lc)}var go=D(null),Oo=null;function dn(t){var o=t.alternate;Z(gt,gt.current&1),Z(go,t),Oo===null&&(o===null||ei.current!==null||o.memoizedState!==null)&&(Oo=t)}function ad(t){Z(gt,gt.current),Z(go,t),Oo===null&&(Oo=t)}function rm(t){t.tag===22?(Z(gt,gt.current),Z(go,t),Oo===null&&(Oo=t)):hn()}function hn(){Z(gt,gt.current),Z(go,go.current)}function po(t){L(go),Oo===t&&(Oo=null),L(gt)}var gt=D(0);function sc(t){for(var o=t;o!==null;){if(o.tag===13){var i=o.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||fh(i)||dh(i)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Nr=0,Ce=null,Ke=null,xt=null,cc=!1,ti=!1,ca=!1,uc=0,zl=0,oi=null,Ew=0;function st(){throw Error(a(321))}function id(t,o){if(o===null)return!1;for(var i=0;i<o.length&&i<t.length;i++)if(!fo(t[i],o[i]))return!1;return!0}function ld(t,o,i,l,f,h){return Nr=h,Ce=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,P.H=t===null||t.memoizedState===null?Lm:wd,ca=!1,h=i(l,f),ca=!1,ti&&(h=am(o,i,l,f)),nm(t),h}function nm(t){P.H=Cl;var o=Ke!==null&&Ke.next!==null;if(Nr=0,xt=Ke=Ce=null,cc=!1,zl=0,oi=null,o)throw Error(a(300));t===null||St||(t=t.dependencies,t!==null&&ec(t)&&(St=!0))}function am(t,o,i,l){Ce=t;var f=0;do{if(ti&&(oi=null),zl=0,ti=!1,25<=f)throw Error(a(301));if(f+=1,xt=Ke=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}P.H=Pm,h=o(i,l)}while(ti);return h}function jw(){var t=P.H,o=t.useState()[0];return o=typeof o.then=="function"?Tl(o):o,t=t.useState()[0],(Ke!==null?Ke.memoizedState:null)!==t&&(Ce.flags|=1024),o}function sd(){var t=uc!==0;return uc=0,t}function cd(t,o,i){o.updateQueue=t.updateQueue,o.flags&=-2053,t.lanes&=~i}function ud(t){if(cc){for(t=t.memoizedState;t!==null;){var o=t.queue;o!==null&&(o.pending=null),t=t.next}cc=!1}Nr=0,xt=Ke=Ce=null,ti=!1,zl=uc=0,oi=null}function Gt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xt===null?Ce.memoizedState=xt=t:xt=xt.next=t,xt}function pt(){if(Ke===null){var t=Ce.alternate;t=t!==null?t.memoizedState:null}else t=Ke.next;var o=xt===null?Ce.memoizedState:xt.next;if(o!==null)xt=o,Ke=t;else{if(t===null)throw Ce.alternate===null?Error(a(467)):Error(a(310));Ke=t,t={memoizedState:Ke.memoizedState,baseState:Ke.baseState,baseQueue:Ke.baseQueue,queue:Ke.queue,next:null},xt===null?Ce.memoizedState=xt=t:xt=xt.next=t}return xt}function fc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tl(t){var o=zl;return zl+=1,oi===null&&(oi=[]),t=Yp(oi,t,o),o=Ce,(xt===null?o.memoizedState:xt.next)===null&&(o=o.alternate,P.H=o===null||o.memoizedState===null?Lm:wd),t}function dc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Tl(t);if(t.$$typeof===N)return Mt(t)}throw Error(a(438,String(t)))}function fd(t){var o=null,i=Ce.updateQueue;if(i!==null&&(o=i.memoCache),o==null){var l=Ce.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(o={data:l.data.map(function(f){return f.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),i===null&&(i=fc(),Ce.updateQueue=i),i.memoCache=o,i=o.data[o.index],i===void 0)for(i=o.data[o.index]=Array(t),l=0;l<t;l++)i[l]=ie;return o.index++,i}function Cr(t,o){return typeof o=="function"?o(t):o}function hc(t){var o=pt();return dd(o,Ke,t)}function dd(t,o,i){var l=t.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=i;var f=t.baseQueue,h=l.pending;if(h!==null){if(f!==null){var b=f.next;f.next=h.next,h.next=b}o.baseQueue=f=h,l.pending=null}if(h=t.baseState,f===null)t.memoizedState=h;else{o=f.next;var _=b=null,R=null,U=o,Y=!1;do{var K=U.lane&-536870913;if(K!==U.lane?(Oe&K)===K:(Nr&K)===K){var V=U.revertLane;if(V===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),K===$a&&(Y=!0);else if((Nr&V)===V){U=U.next,V===$a&&(Y=!0);continue}else K={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},R===null?(_=R=K,b=h):R=R.next=K,Ce.lanes|=V,mn|=V;K=U.action,ca&&i(h,K),h=U.hasEagerState?U.eagerState:i(h,K)}else V={lane:K,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},R===null?(_=R=V,b=h):R=R.next=V,Ce.lanes|=K,mn|=K;U=U.next}while(U!==null&&U!==o);if(R===null?b=h:R.next=_,!fo(h,t.memoizedState)&&(St=!0,Y&&(i=Ka,i!==null)))throw i;t.memoizedState=h,t.baseState=b,t.baseQueue=R,l.lastRenderedState=h}return f===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function hd(t){var o=pt(),i=o.queue;if(i===null)throw Error(a(311));i.lastRenderedReducer=t;var l=i.dispatch,f=i.pending,h=o.memoizedState;if(f!==null){i.pending=null;var b=f=f.next;do h=t(h,b.action),b=b.next;while(b!==f);fo(h,o.memoizedState)||(St=!0),o.memoizedState=h,o.baseQueue===null&&(o.baseState=h),i.lastRenderedState=h}return[h,l]}function im(t,o,i){var l=Ce,f=pt(),h=qe;if(h){if(i===void 0)throw Error(a(407));i=i()}else i=o();var b=!fo((Ke||f).memoizedState,i);if(b&&(f.memoizedState=i,St=!0),f=f.queue,md(cm.bind(null,l,f,t),[t]),f.getSnapshot!==o||b||xt!==null&&xt.memoizedState.tag&1){if(l.flags|=2048,ri(9,{destroy:void 0},sm.bind(null,l,f,i,o),null),tt===null)throw Error(a(349));h||(Nr&127)!==0||lm(l,o,i)}return i}function lm(t,o,i){t.flags|=16384,t={getSnapshot:o,value:i},o=Ce.updateQueue,o===null?(o=fc(),Ce.updateQueue=o,o.stores=[t]):(i=o.stores,i===null?o.stores=[t]:i.push(t))}function sm(t,o,i,l){o.value=i,o.getSnapshot=l,um(o)&&fm(t)}function cm(t,o,i){return i(function(){um(o)&&fm(t)})}function um(t){var o=t.getSnapshot;t=t.value;try{var i=o();return!fo(t,i)}catch{return!0}}function fm(t){var o=ea(t,2);o!==null&&to(o,t,2)}function gd(t){var o=Gt();if(typeof t=="function"){var i=t;if(t=i(),ca){tn(!0);try{i()}finally{tn(!1)}}}return o.memoizedState=o.baseState=t,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:t},o}function dm(t,o,i,l){return t.baseState=i,dd(t,Ke,typeof l=="function"?l:Cr)}function Rw(t,o,i,l,f){if(mc(t))throw Error(a(485));if(t=o.action,t!==null){var h={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){h.listeners.push(b)}};P.T!==null?i(!0):h.isTransition=!1,l(h),i=o.pending,i===null?(h.next=o.pending=h,hm(o,h)):(h.next=i.next,o.pending=i.next=h)}}function hm(t,o){var i=o.action,l=o.payload,f=t.state;if(o.isTransition){var h=P.T,b={};P.T=b;try{var _=i(f,l),R=P.S;R!==null&&R(b,_),gm(t,o,_)}catch(U){pd(t,o,U)}finally{h!==null&&b.types!==null&&(h.types=b.types),P.T=h}}else try{h=i(f,l),gm(t,o,h)}catch(U){pd(t,o,U)}}function gm(t,o,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(l){pm(t,o,l)},function(l){return pd(t,o,l)}):pm(t,o,i)}function pm(t,o,i){o.status="fulfilled",o.value=i,mm(o),t.state=i,o=t.pending,o!==null&&(i=o.next,i===o?t.pending=null:(i=i.next,o.next=i,hm(t,i)))}function pd(t,o,i){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do o.status="rejected",o.reason=i,mm(o),o=o.next;while(o!==l)}t.action=null}function mm(t){t=t.listeners;for(var o=0;o<t.length;o++)(0,t[o])()}function vm(t,o){return o}function bm(t,o){if(qe){var i=tt.formState;if(i!==null){e:{var l=Ce;if(qe){if(rt){t:{for(var f=rt,h=Do;f.nodeType!==8;){if(!h){f=null;break t}if(f=Mo(f.nextSibling),f===null){f=null;break t}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){rt=Mo(f.nextSibling),l=f.data==="F!";break e}}ln(l)}l=!1}l&&(o=i[0])}}return i=Gt(),i.memoizedState=i.baseState=o,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vm,lastRenderedState:o},i.queue=l,i=qm.bind(null,Ce,l),l.dispatch=i,l=gd(!1),h=Sd.bind(null,Ce,!1,l.queue),l=Gt(),f={state:o,dispatch:null,action:t,pending:null},l.queue=f,i=Rw.bind(null,Ce,f,h,i),f.dispatch=i,l.memoizedState=t,[o,i,!1]}function ym(t){var o=pt();return xm(o,Ke,t)}function xm(t,o,i){if(o=dd(t,o,vm)[0],t=hc(Cr)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var l=Tl(o)}catch(b){throw b===Za?rc:b}else l=o;o=pt();var f=o.queue,h=f.dispatch;return i!==o.memoizedState&&(Ce.flags|=2048,ri(9,{destroy:void 0},Aw.bind(null,f,i),null)),[l,h,t]}function Aw(t,o){t.action=o}function Sm(t){var o=pt(),i=Ke;if(i!==null)return xm(o,i,t);pt(),o=o.memoizedState,i=pt();var l=i.queue.dispatch;return i.memoizedState=t,[o,l,!1]}function ri(t,o,i,l){return t={tag:t,create:i,deps:l,inst:o,next:null},o=Ce.updateQueue,o===null&&(o=fc(),Ce.updateQueue=o),i=o.lastEffect,i===null?o.lastEffect=t.next=t:(l=i.next,i.next=t,t.next=l,o.lastEffect=t),t}function wm(){return pt().memoizedState}function gc(t,o,i,l){var f=Gt();Ce.flags|=t,f.memoizedState=ri(1|o,{destroy:void 0},i,l===void 0?null:l)}function pc(t,o,i,l){var f=pt();l=l===void 0?null:l;var h=f.memoizedState.inst;Ke!==null&&l!==null&&id(l,Ke.memoizedState.deps)?f.memoizedState=ri(o,h,i,l):(Ce.flags|=t,f.memoizedState=ri(1|o,h,i,l))}function km(t,o){gc(8390656,8,t,o)}function md(t,o){pc(2048,8,t,o)}function Dw(t){Ce.flags|=4;var o=Ce.updateQueue;if(o===null)o=fc(),Ce.updateQueue=o,o.events=[t];else{var i=o.events;i===null?o.events=[t]:i.push(t)}}function Bm(t){var o=pt().memoizedState;return Dw({ref:o,nextImpl:t}),function(){if((Ge&2)!==0)throw Error(a(440));return o.impl.apply(void 0,arguments)}}function _m(t,o){return pc(4,2,t,o)}function zm(t,o){return pc(4,4,t,o)}function Tm(t,o){if(typeof o=="function"){t=t();var i=o(t);return function(){typeof i=="function"?i():o(null)}}if(o!=null)return t=t(),o.current=t,function(){o.current=null}}function Nm(t,o,i){i=i!=null?i.concat([t]):null,pc(4,4,Tm.bind(null,o,t),i)}function vd(){}function Cm(t,o){var i=pt();o=o===void 0?null:o;var l=i.memoizedState;return o!==null&&id(o,l[1])?l[0]:(i.memoizedState=[t,o],t)}function Em(t,o){var i=pt();o=o===void 0?null:o;var l=i.memoizedState;if(o!==null&&id(o,l[1]))return l[0];if(l=t(),ca){tn(!0);try{t()}finally{tn(!1)}}return i.memoizedState=[l,o],l}function bd(t,o,i){return i===void 0||(Nr&1073741824)!==0&&(Oe&261930)===0?t.memoizedState=o:(t.memoizedState=i,t=jv(),Ce.lanes|=t,mn|=t,i)}function jm(t,o,i,l){return fo(i,o)?i:ei.current!==null?(t=bd(t,i,l),fo(t,o)||(St=!0),t):(Nr&42)===0||(Nr&1073741824)!==0&&(Oe&261930)===0?(St=!0,t.memoizedState=i):(t=jv(),Ce.lanes|=t,mn|=t,o)}function Rm(t,o,i,l,f){var h=J.p;J.p=h!==0&&8>h?h:8;var b=P.T,_={};P.T=_,Sd(t,!1,o,i);try{var R=f(),U=P.S;if(U!==null&&U(_,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var Y=Cw(R,l);Nl(t,o,Y,bo(t))}else Nl(t,o,l,bo(t))}catch(K){Nl(t,o,{then:function(){},status:"rejected",reason:K},bo())}finally{J.p=h,b!==null&&_.types!==null&&(b.types=_.types),P.T=b}}function Ow(){}function yd(t,o,i,l){if(t.tag!==5)throw Error(a(476));var f=Am(t).queue;Rm(t,f,o,te,i===null?Ow:function(){return Dm(t),i(l)})}function Am(t){var o=t.memoizedState;if(o!==null)return o;o={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:te},next:null};var i={};return o.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:i},next:null},t.memoizedState=o,t=t.alternate,t!==null&&(t.memoizedState=o),o}function Dm(t){var o=Am(t);o.next===null&&(o=t.alternate.memoizedState),Nl(t,o.next.queue,{},bo())}function xd(){return Mt(Gl)}function Om(){return pt().memoizedState}function Mm(){return pt().memoizedState}function Mw(t){for(var o=t.return;o!==null;){switch(o.tag){case 24:case 3:var i=bo();t=un(i);var l=fn(o,t,i);l!==null&&(to(l,o,i),kl(l,o,i)),o={cache:Yf()},t.payload=o;return}o=o.return}}function qw(t,o,i){var l=bo();i={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},mc(t)?Fm(o,i):(i=Ff(t,o,i,l),i!==null&&(to(i,t,l),Hm(i,o,l)))}function qm(t,o,i){var l=bo();Nl(t,o,i,l)}function Nl(t,o,i,l){var f={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(mc(t))Fm(o,f);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=o.lastRenderedReducer,h!==null))try{var b=o.lastRenderedState,_=h(b,i);if(f.hasEagerState=!0,f.eagerState=_,fo(_,b))return $s(t,o,f,0),tt===null&&Ys(),!1}catch{}finally{}if(i=Ff(t,o,f,l),i!==null)return to(i,t,l),Hm(i,o,l),!0}return!1}function Sd(t,o,i,l){if(l={lane:2,revertLane:Jd(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},mc(t)){if(o)throw Error(a(479))}else o=Ff(t,i,l,2),o!==null&&to(o,t,2)}function mc(t){var o=t.alternate;return t===Ce||o!==null&&o===Ce}function Fm(t,o){ti=cc=!0;var i=t.pending;i===null?o.next=o:(o.next=i.next,i.next=o),t.pending=o}function Hm(t,o,i){if((i&4194048)!==0){var l=o.lanes;l&=t.pendingLanes,i|=l,o.lanes=i,Vg(t,i)}}var Cl={readContext:Mt,use:dc,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useLayoutEffect:st,useInsertionEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useSyncExternalStore:st,useId:st,useHostTransitionStatus:st,useFormState:st,useActionState:st,useOptimistic:st,useMemoCache:st,useCacheRefresh:st};Cl.useEffectEvent=st;var Lm={readContext:Mt,use:dc,useCallback:function(t,o){return Gt().memoizedState=[t,o===void 0?null:o],t},useContext:Mt,useEffect:km,useImperativeHandle:function(t,o,i){i=i!=null?i.concat([t]):null,gc(4194308,4,Tm.bind(null,o,t),i)},useLayoutEffect:function(t,o){return gc(4194308,4,t,o)},useInsertionEffect:function(t,o){gc(4,2,t,o)},useMemo:function(t,o){var i=Gt();o=o===void 0?null:o;var l=t();if(ca){tn(!0);try{t()}finally{tn(!1)}}return i.memoizedState=[l,o],l},useReducer:function(t,o,i){var l=Gt();if(i!==void 0){var f=i(o);if(ca){tn(!0);try{i(o)}finally{tn(!1)}}}else f=o;return l.memoizedState=l.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},l.queue=t,t=t.dispatch=qw.bind(null,Ce,t),[l.memoizedState,t]},useRef:function(t){var o=Gt();return t={current:t},o.memoizedState=t},useState:function(t){t=gd(t);var o=t.queue,i=qm.bind(null,Ce,o);return o.dispatch=i,[t.memoizedState,i]},useDebugValue:vd,useDeferredValue:function(t,o){var i=Gt();return bd(i,t,o)},useTransition:function(){var t=gd(!1);return t=Rm.bind(null,Ce,t.queue,!0,!1),Gt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,o,i){var l=Ce,f=Gt();if(qe){if(i===void 0)throw Error(a(407));i=i()}else{if(i=o(),tt===null)throw Error(a(349));(Oe&127)!==0||lm(l,o,i)}f.memoizedState=i;var h={value:i,getSnapshot:o};return f.queue=h,km(cm.bind(null,l,h,t),[t]),l.flags|=2048,ri(9,{destroy:void 0},sm.bind(null,l,h,i,o),null),i},useId:function(){var t=Gt(),o=tt.identifierPrefix;if(qe){var i=ur,l=cr;i=(l&~(1<<32-uo(l)-1)).toString(32)+i,o="_"+o+"R_"+i,i=uc++,0<i&&(o+="H"+i.toString(32)),o+="_"}else i=Ew++,o="_"+o+"r_"+i.toString(32)+"_";return t.memoizedState=o},useHostTransitionStatus:xd,useFormState:bm,useActionState:bm,useOptimistic:function(t){var o=Gt();o.memoizedState=o.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=i,o=Sd.bind(null,Ce,!0,i),i.dispatch=o,[t,o]},useMemoCache:fd,useCacheRefresh:function(){return Gt().memoizedState=Mw.bind(null,Ce)},useEffectEvent:function(t){var o=Gt(),i={impl:t};return o.memoizedState=i,function(){if((Ge&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}},wd={readContext:Mt,use:dc,useCallback:Cm,useContext:Mt,useEffect:md,useImperativeHandle:Nm,useInsertionEffect:_m,useLayoutEffect:zm,useMemo:Em,useReducer:hc,useRef:wm,useState:function(){return hc(Cr)},useDebugValue:vd,useDeferredValue:function(t,o){var i=pt();return jm(i,Ke.memoizedState,t,o)},useTransition:function(){var t=hc(Cr)[0],o=pt().memoizedState;return[typeof t=="boolean"?t:Tl(t),o]},useSyncExternalStore:im,useId:Om,useHostTransitionStatus:xd,useFormState:ym,useActionState:ym,useOptimistic:function(t,o){var i=pt();return dm(i,Ke,t,o)},useMemoCache:fd,useCacheRefresh:Mm};wd.useEffectEvent=Bm;var Pm={readContext:Mt,use:dc,useCallback:Cm,useContext:Mt,useEffect:md,useImperativeHandle:Nm,useInsertionEffect:_m,useLayoutEffect:zm,useMemo:Em,useReducer:hd,useRef:wm,useState:function(){return hd(Cr)},useDebugValue:vd,useDeferredValue:function(t,o){var i=pt();return Ke===null?bd(i,t,o):jm(i,Ke.memoizedState,t,o)},useTransition:function(){var t=hd(Cr)[0],o=pt().memoizedState;return[typeof t=="boolean"?t:Tl(t),o]},useSyncExternalStore:im,useId:Om,useHostTransitionStatus:xd,useFormState:Sm,useActionState:Sm,useOptimistic:function(t,o){var i=pt();return Ke!==null?dm(i,Ke,t,o):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:fd,useCacheRefresh:Mm};Pm.useEffectEvent=Bm;function kd(t,o,i,l){o=t.memoizedState,i=i(l,o),i=i==null?o:v({},o,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var Bd={enqueueSetState:function(t,o,i){t=t._reactInternals;var l=bo(),f=un(l);f.payload=o,i!=null&&(f.callback=i),o=fn(t,f,l),o!==null&&(to(o,t,l),kl(o,t,l))},enqueueReplaceState:function(t,o,i){t=t._reactInternals;var l=bo(),f=un(l);f.tag=1,f.payload=o,i!=null&&(f.callback=i),o=fn(t,f,l),o!==null&&(to(o,t,l),kl(o,t,l))},enqueueForceUpdate:function(t,o){t=t._reactInternals;var i=bo(),l=un(i);l.tag=2,o!=null&&(l.callback=o),o=fn(t,l,i),o!==null&&(to(o,t,i),kl(o,t,i))}};function Im(t,o,i,l,f,h,b){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,h,b):o.prototype&&o.prototype.isPureReactComponent?!pl(i,l)||!pl(f,h):!0}function Um(t,o,i,l){t=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(i,l),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(i,l),o.state!==t&&Bd.enqueueReplaceState(o,o.state,null)}function ua(t,o){var i=o;if("ref"in o){i={};for(var l in o)l!=="ref"&&(i[l]=o[l])}if(t=t.defaultProps){i===o&&(i=v({},i));for(var f in t)i[f]===void 0&&(i[f]=t[f])}return i}function Vm(t){Qs(t)}function Gm(t){console.error(t)}function Xm(t){Qs(t)}function vc(t,o){try{var i=t.onUncaughtError;i(o.value,{componentStack:o.stack})}catch(l){setTimeout(function(){throw l})}}function Wm(t,o,i){try{var l=t.onCaughtError;l(i.value,{componentStack:i.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function _d(t,o,i){return i=un(i),i.tag=3,i.payload={element:null},i.callback=function(){vc(t,o)},i}function Qm(t){return t=un(t),t.tag=3,t}function Ym(t,o,i,l){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var h=l.value;t.payload=function(){return f(h)},t.callback=function(){Wm(o,i,l)}}var b=i.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(t.callback=function(){Wm(o,i,l),typeof f!="function"&&(vn===null?vn=new Set([this]):vn.add(this));var _=l.stack;this.componentDidCatch(l.value,{componentStack:_!==null?_:""})})}function Fw(t,o,i,l,f){if(i.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(o=i.alternate,o!==null&&Ya(o,i,f,!0),i=go.current,i!==null){switch(i.tag){case 31:case 13:return Oo===null?Cc():i.alternate===null&&ct===0&&(ct=3),i.flags&=-257,i.flags|=65536,i.lanes=f,l===nc?i.flags|=16384:(o=i.updateQueue,o===null?i.updateQueue=new Set([l]):o.add(l),$d(t,l,f)),!1;case 22:return i.flags|=65536,l===nc?i.flags|=16384:(o=i.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([l])},i.updateQueue=o):(i=o.retryQueue,i===null?o.retryQueue=new Set([l]):i.add(l)),$d(t,l,f)),!1}throw Error(a(435,i.tag))}return $d(t,l,f),Cc(),!1}if(qe)return o=go.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=f,l!==Vf&&(t=Error(a(422),{cause:l}),bl(jo(t,i)))):(l!==Vf&&(o=Error(a(423),{cause:l}),bl(jo(o,i))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,l=jo(l,i),f=_d(t.stateNode,l,f),td(t,f),ct!==4&&(ct=2)),!1;var h=Error(a(520),{cause:l});if(h=jo(h,i),ql===null?ql=[h]:ql.push(h),ct!==4&&(ct=2),o===null)return!0;l=jo(l,i),i=o;do{switch(i.tag){case 3:return i.flags|=65536,t=f&-f,i.lanes|=t,t=_d(i.stateNode,l,t),td(i,t),!1;case 1:if(o=i.type,h=i.stateNode,(i.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(vn===null||!vn.has(h))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Qm(f),Ym(f,t,i,l),td(i,f),!1}i=i.return}while(i!==null);return!1}var zd=Error(a(461)),St=!1;function qt(t,o,i,l){o.child=t===null?Jp(o,null,i,l):sa(o,t.child,i,l)}function $m(t,o,i,l,f){i=i.render;var h=o.ref;if("ref"in l){var b={};for(var _ in l)_!=="ref"&&(b[_]=l[_])}else b=l;return na(o),l=ld(t,o,i,b,h,f),_=sd(),t!==null&&!St?(cd(t,o,f),Er(t,o,f)):(qe&&_&&If(o),o.flags|=1,qt(t,o,l,f),o.child)}function Km(t,o,i,l,f){if(t===null){var h=i.type;return typeof h=="function"&&!Hf(h)&&h.defaultProps===void 0&&i.compare===null?(o.tag=15,o.type=h,Zm(t,o,h,l,f)):(t=Zs(i.type,null,l,o,o.mode,f),t.ref=o.ref,t.return=o,o.child=t)}if(h=t.child,!Dd(t,f)){var b=h.memoizedProps;if(i=i.compare,i=i!==null?i:pl,i(b,l)&&t.ref===o.ref)return Er(t,o,f)}return o.flags|=1,t=Br(h,l),t.ref=o.ref,t.return=o,o.child=t}function Zm(t,o,i,l,f){if(t!==null){var h=t.memoizedProps;if(pl(h,l)&&t.ref===o.ref)if(St=!1,o.pendingProps=l=h,Dd(t,f))(t.flags&131072)!==0&&(St=!0);else return o.lanes=t.lanes,Er(t,o,f)}return Td(t,o,i,l,f)}function Jm(t,o,i,l){var f=l.children,h=t!==null?t.memoizedState:null;if(t===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((o.flags&128)!==0){if(h=h!==null?h.baseLanes|i:i,t!==null){for(l=o.child=t.child,f=0;l!==null;)f=f|l.lanes|l.childLanes,l=l.sibling;l=f&~h}else l=0,o.child=null;return ev(t,o,h,i,l)}if((i&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},t!==null&&oc(o,h!==null?h.cachePool:null),h!==null?om(o,h):rd(),rm(o);else return l=o.lanes=536870912,ev(t,o,h!==null?h.baseLanes|i:i,i,l)}else h!==null?(oc(o,h.cachePool),om(o,h),hn(),o.memoizedState=null):(t!==null&&oc(o,null),rd(),hn());return qt(t,o,f,i),o.child}function El(t,o){return t!==null&&t.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function ev(t,o,i,l,f){var h=Kf();return h=h===null?null:{parent:yt._currentValue,pool:h},o.memoizedState={baseLanes:i,cachePool:h},t!==null&&oc(o,null),rd(),rm(o),t!==null&&Ya(t,o,l,!0),o.childLanes=f,null}function bc(t,o){return o=xc({mode:o.mode,children:o.children},t.mode),o.ref=t.ref,t.child=o,o.return=t,o}function tv(t,o,i){return sa(o,t.child,null,i),t=bc(o,o.pendingProps),t.flags|=2,po(o),o.memoizedState=null,t}function Hw(t,o,i){var l=o.pendingProps,f=(o.flags&128)!==0;if(o.flags&=-129,t===null){if(qe){if(l.mode==="hidden")return t=bc(o,l),o.lanes=536870912,El(null,t);if(ad(o),(t=rt)?(t=h1(t,Do),t=t!==null&&t.data==="&"?t:null,t!==null&&(o.memoizedState={dehydrated:t,treeContext:nn!==null?{id:cr,overflow:ur}:null,retryLane:536870912,hydrationErrors:null},i=Fp(t),i.return=o,o.child=i,Ot=o,rt=null)):t=null,t===null)throw ln(o);return o.lanes=536870912,null}return bc(o,l)}var h=t.memoizedState;if(h!==null){var b=h.dehydrated;if(ad(o),f)if(o.flags&256)o.flags&=-257,o=tv(t,o,i);else if(o.memoizedState!==null)o.child=t.child,o.flags|=128,o=null;else throw Error(a(558));else if(St||Ya(t,o,i,!1),f=(i&t.childLanes)!==0,St||f){if(l=tt,l!==null&&(b=Gg(l,i),b!==0&&b!==h.retryLane))throw h.retryLane=b,ea(t,b),to(l,t,b),zd;Cc(),o=tv(t,o,i)}else t=h.treeContext,rt=Mo(b.nextSibling),Ot=o,qe=!0,an=null,Do=!1,t!==null&&Pp(o,t),o=bc(o,l),o.flags|=4096;return o}return t=Br(t.child,{mode:l.mode,children:l.children}),t.ref=o.ref,o.child=t,t.return=o,t}function yc(t,o){var i=o.ref;if(i===null)t!==null&&t.ref!==null&&(o.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(a(284));(t===null||t.ref!==i)&&(o.flags|=4194816)}}function Td(t,o,i,l,f){return na(o),i=ld(t,o,i,l,void 0,f),l=sd(),t!==null&&!St?(cd(t,o,f),Er(t,o,f)):(qe&&l&&If(o),o.flags|=1,qt(t,o,i,f),o.child)}function ov(t,o,i,l,f,h){return na(o),o.updateQueue=null,i=am(o,l,i,f),nm(t),l=sd(),t!==null&&!St?(cd(t,o,h),Er(t,o,h)):(qe&&l&&If(o),o.flags|=1,qt(t,o,i,h),o.child)}function rv(t,o,i,l,f){if(na(o),o.stateNode===null){var h=Ga,b=i.contextType;typeof b=="object"&&b!==null&&(h=Mt(b)),h=new i(l,h),o.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Bd,o.stateNode=h,h._reactInternals=o,h=o.stateNode,h.props=l,h.state=o.memoizedState,h.refs={},Jf(o),b=i.contextType,h.context=typeof b=="object"&&b!==null?Mt(b):Ga,h.state=o.memoizedState,b=i.getDerivedStateFromProps,typeof b=="function"&&(kd(o,i,b,l),h.state=o.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(b=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),b!==h.state&&Bd.enqueueReplaceState(h,h.state,null),_l(o,l,h,f),Bl(),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308),l=!0}else if(t===null){h=o.stateNode;var _=o.memoizedProps,R=ua(i,_);h.props=R;var U=h.context,Y=i.contextType;b=Ga,typeof Y=="object"&&Y!==null&&(b=Mt(Y));var K=i.getDerivedStateFromProps;Y=typeof K=="function"||typeof h.getSnapshotBeforeUpdate=="function",_=o.pendingProps!==_,Y||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(_||U!==b)&&Um(o,h,l,b),cn=!1;var V=o.memoizedState;h.state=V,_l(o,l,h,f),Bl(),U=o.memoizedState,_||V!==U||cn?(typeof K=="function"&&(kd(o,i,K,l),U=o.memoizedState),(R=cn||Im(o,i,R,l,V,U,b))?(Y||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(o.flags|=4194308)):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=l,o.memoizedState=U),h.props=l,h.state=U,h.context=b,l=R):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),l=!1)}else{h=o.stateNode,ed(t,o),b=o.memoizedProps,Y=ua(i,b),h.props=Y,K=o.pendingProps,V=h.context,U=i.contextType,R=Ga,typeof U=="object"&&U!==null&&(R=Mt(U)),_=i.getDerivedStateFromProps,(U=typeof _=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b!==K||V!==R)&&Um(o,h,l,R),cn=!1,V=o.memoizedState,h.state=V,_l(o,l,h,f),Bl();var Q=o.memoizedState;b!==K||V!==Q||cn||t!==null&&t.dependencies!==null&&ec(t.dependencies)?(typeof _=="function"&&(kd(o,i,_,l),Q=o.memoizedState),(Y=cn||Im(o,i,Y,l,V,Q,R)||t!==null&&t.dependencies!==null&&ec(t.dependencies))?(U||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(l,Q,R),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(l,Q,R)),typeof h.componentDidUpdate=="function"&&(o.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=1024),o.memoizedProps=l,o.memoizedState=Q),h.props=l,h.state=Q,h.context=R,l=Y):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=1024),l=!1)}return h=l,yc(t,o),l=(o.flags&128)!==0,h||l?(h=o.stateNode,i=l&&typeof i.getDerivedStateFromError!="function"?null:h.render(),o.flags|=1,t!==null&&l?(o.child=sa(o,t.child,null,f),o.child=sa(o,null,i,f)):qt(t,o,i,f),o.memoizedState=h.state,t=o.child):t=Er(t,o,f),t}function nv(t,o,i,l){return oa(),o.flags|=256,qt(t,o,i,l),o.child}var Nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cd(t){return{baseLanes:t,cachePool:Wp()}}function Ed(t,o,i){return t=t!==null?t.childLanes&~i:0,o&&(t|=vo),t}function av(t,o,i){var l=o.pendingProps,f=!1,h=(o.flags&128)!==0,b;if((b=h)||(b=t!==null&&t.memoizedState===null?!1:(gt.current&2)!==0),b&&(f=!0,o.flags&=-129),b=(o.flags&32)!==0,o.flags&=-33,t===null){if(qe){if(f?dn(o):hn(),(t=rt)?(t=h1(t,Do),t=t!==null&&t.data!=="&"?t:null,t!==null&&(o.memoizedState={dehydrated:t,treeContext:nn!==null?{id:cr,overflow:ur}:null,retryLane:536870912,hydrationErrors:null},i=Fp(t),i.return=o,o.child=i,Ot=o,rt=null)):t=null,t===null)throw ln(o);return dh(t)?o.lanes=32:o.lanes=536870912,null}var _=l.children;return l=l.fallback,f?(hn(),f=o.mode,_=xc({mode:"hidden",children:_},f),l=ta(l,f,i,null),_.return=o,l.return=o,_.sibling=l,o.child=_,l=o.child,l.memoizedState=Cd(i),l.childLanes=Ed(t,b,i),o.memoizedState=Nd,El(null,l)):(dn(o),jd(o,_))}var R=t.memoizedState;if(R!==null&&(_=R.dehydrated,_!==null)){if(h)o.flags&256?(dn(o),o.flags&=-257,o=Rd(t,o,i)):o.memoizedState!==null?(hn(),o.child=t.child,o.flags|=128,o=null):(hn(),_=l.fallback,f=o.mode,l=xc({mode:"visible",children:l.children},f),_=ta(_,f,i,null),_.flags|=2,l.return=o,_.return=o,l.sibling=_,o.child=l,sa(o,t.child,null,i),l=o.child,l.memoizedState=Cd(i),l.childLanes=Ed(t,b,i),o.memoizedState=Nd,o=El(null,l));else if(dn(o),dh(_)){if(b=_.nextSibling&&_.nextSibling.dataset,b)var U=b.dgst;b=U,l=Error(a(419)),l.stack="",l.digest=b,bl({value:l,source:null,stack:null}),o=Rd(t,o,i)}else if(St||Ya(t,o,i,!1),b=(i&t.childLanes)!==0,St||b){if(b=tt,b!==null&&(l=Gg(b,i),l!==0&&l!==R.retryLane))throw R.retryLane=l,ea(t,l),to(b,t,l),zd;fh(_)||Cc(),o=Rd(t,o,i)}else fh(_)?(o.flags|=192,o.child=t.child,o=null):(t=R.treeContext,rt=Mo(_.nextSibling),Ot=o,qe=!0,an=null,Do=!1,t!==null&&Pp(o,t),o=jd(o,l.children),o.flags|=4096);return o}return f?(hn(),_=l.fallback,f=o.mode,R=t.child,U=R.sibling,l=Br(R,{mode:"hidden",children:l.children}),l.subtreeFlags=R.subtreeFlags&65011712,U!==null?_=Br(U,_):(_=ta(_,f,i,null),_.flags|=2),_.return=o,l.return=o,l.sibling=_,o.child=l,El(null,l),l=o.child,_=t.child.memoizedState,_===null?_=Cd(i):(f=_.cachePool,f!==null?(R=yt._currentValue,f=f.parent!==R?{parent:R,pool:R}:f):f=Wp(),_={baseLanes:_.baseLanes|i,cachePool:f}),l.memoizedState=_,l.childLanes=Ed(t,b,i),o.memoizedState=Nd,El(t.child,l)):(dn(o),i=t.child,t=i.sibling,i=Br(i,{mode:"visible",children:l.children}),i.return=o,i.sibling=null,t!==null&&(b=o.deletions,b===null?(o.deletions=[t],o.flags|=16):b.push(t)),o.child=i,o.memoizedState=null,i)}function jd(t,o){return o=xc({mode:"visible",children:o},t.mode),o.return=t,t.child=o}function xc(t,o){return t=ho(22,t,null,o),t.lanes=0,t}function Rd(t,o,i){return sa(o,t.child,null,i),t=jd(o,o.pendingProps.children),t.flags|=2,o.memoizedState=null,t}function iv(t,o,i){t.lanes|=o;var l=t.alternate;l!==null&&(l.lanes|=o),Wf(t.return,o,i)}function Ad(t,o,i,l,f,h){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:l,tail:i,tailMode:f,treeForkCount:h}:(b.isBackwards=o,b.rendering=null,b.renderingStartTime=0,b.last=l,b.tail=i,b.tailMode=f,b.treeForkCount=h)}function lv(t,o,i){var l=o.pendingProps,f=l.revealOrder,h=l.tail;l=l.children;var b=gt.current,_=(b&2)!==0;if(_?(b=b&1|2,o.flags|=128):b&=1,Z(gt,b),qt(t,o,l,i),l=qe?vl:0,!_&&t!==null&&(t.flags&128)!==0)e:for(t=o.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&iv(t,i,o);else if(t.tag===19)iv(t,i,o);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===o)break e;for(;t.sibling===null;){if(t.return===null||t.return===o)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(f){case"forwards":for(i=o.child,f=null;i!==null;)t=i.alternate,t!==null&&sc(t)===null&&(f=i),i=i.sibling;i=f,i===null?(f=o.child,o.child=null):(f=i.sibling,i.sibling=null),Ad(o,!1,f,i,h,l);break;case"backwards":case"unstable_legacy-backwards":for(i=null,f=o.child,o.child=null;f!==null;){if(t=f.alternate,t!==null&&sc(t)===null){o.child=f;break}t=f.sibling,f.sibling=i,i=f,f=t}Ad(o,!0,i,null,h,l);break;case"together":Ad(o,!1,null,null,void 0,l);break;default:o.memoizedState=null}return o.child}function Er(t,o,i){if(t!==null&&(o.dependencies=t.dependencies),mn|=o.lanes,(i&o.childLanes)===0)if(t!==null){if(Ya(t,o,i,!1),(i&o.childLanes)===0)return null}else return null;if(t!==null&&o.child!==t.child)throw Error(a(153));if(o.child!==null){for(t=o.child,i=Br(t,t.pendingProps),o.child=i,i.return=o;t.sibling!==null;)t=t.sibling,i=i.sibling=Br(t,t.pendingProps),i.return=o;i.sibling=null}return o.child}function Dd(t,o){return(t.lanes&o)!==0?!0:(t=t.dependencies,!!(t!==null&&ec(t)))}function Lw(t,o,i){switch(o.tag){case 3:bt(o,o.stateNode.containerInfo),sn(o,yt,t.memoizedState.cache),oa();break;case 27:case 5:He(o);break;case 4:bt(o,o.stateNode.containerInfo);break;case 10:sn(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,ad(o),null;break;case 13:var l=o.memoizedState;if(l!==null)return l.dehydrated!==null?(dn(o),o.flags|=128,null):(i&o.child.childLanes)!==0?av(t,o,i):(dn(o),t=Er(t,o,i),t!==null?t.sibling:null);dn(o);break;case 19:var f=(t.flags&128)!==0;if(l=(i&o.childLanes)!==0,l||(Ya(t,o,i,!1),l=(i&o.childLanes)!==0),f){if(l)return lv(t,o,i);o.flags|=128}if(f=o.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Z(gt,gt.current),l)break;return null;case 22:return o.lanes=0,Jm(t,o,i,o.pendingProps);case 24:sn(o,yt,t.memoizedState.cache)}return Er(t,o,i)}function sv(t,o,i){if(t!==null)if(t.memoizedProps!==o.pendingProps)St=!0;else{if(!Dd(t,i)&&(o.flags&128)===0)return St=!1,Lw(t,o,i);St=(t.flags&131072)!==0}else St=!1,qe&&(o.flags&1048576)!==0&&Lp(o,vl,o.index);switch(o.lanes=0,o.tag){case 16:e:{var l=o.pendingProps;if(t=ia(o.elementType),o.type=t,typeof t=="function")Hf(t)?(l=ua(t,l),o.tag=1,o=rv(null,o,t,l,i)):(o.tag=0,o=Td(null,o,t,l,i));else{if(t!=null){var f=t.$$typeof;if(f===C){o.tag=11,o=$m(null,o,t,l,i);break e}else if(f===W){o.tag=14,o=Km(null,o,t,l,i);break e}}throw o=re(t)||t,Error(a(306,o,""))}}return o;case 0:return Td(t,o,o.type,o.pendingProps,i);case 1:return l=o.type,f=ua(l,o.pendingProps),rv(t,o,l,f,i);case 3:e:{if(bt(o,o.stateNode.containerInfo),t===null)throw Error(a(387));l=o.pendingProps;var h=o.memoizedState;f=h.element,ed(t,o),_l(o,l,null,i);var b=o.memoizedState;if(l=b.cache,sn(o,yt,l),l!==h.cache&&Qf(o,[yt],i,!0),Bl(),l=b.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:b.cache},o.updateQueue.baseState=h,o.memoizedState=h,o.flags&256){o=nv(t,o,l,i);break e}else if(l!==f){f=jo(Error(a(424)),o),bl(f),o=nv(t,o,l,i);break e}else{switch(t=o.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(rt=Mo(t.firstChild),Ot=o,qe=!0,an=null,Do=!0,i=Jp(o,null,l,i),o.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(oa(),l===f){o=Er(t,o,i);break e}qt(t,o,l,i)}o=o.child}return o;case 26:return yc(t,o),t===null?(i=y1(o.type,null,o.pendingProps,null))?o.memoizedState=i:qe||(i=o.type,t=o.pendingProps,l=Mc(ke.current).createElement(i),l[Dt]=o,l[Yt]=t,Ft(l,i,t),Et(l),o.stateNode=l):o.memoizedState=y1(o.type,t.memoizedProps,o.pendingProps,t.memoizedState),null;case 27:return He(o),t===null&&qe&&(l=o.stateNode=m1(o.type,o.pendingProps,ke.current),Ot=o,Do=!0,f=rt,Sn(o.type)?(hh=f,rt=Mo(l.firstChild)):rt=f),qt(t,o,o.pendingProps.children,i),yc(t,o),t===null&&(o.flags|=4194304),o.child;case 5:return t===null&&qe&&((f=l=rt)&&(l=m3(l,o.type,o.pendingProps,Do),l!==null?(o.stateNode=l,Ot=o,rt=Mo(l.firstChild),Do=!1,f=!0):f=!1),f||ln(o)),He(o),f=o.type,h=o.pendingProps,b=t!==null?t.memoizedProps:null,l=h.children,sh(f,h)?l=null:b!==null&&sh(f,b)&&(o.flags|=32),o.memoizedState!==null&&(f=ld(t,o,jw,null,null,i),Gl._currentValue=f),yc(t,o),qt(t,o,l,i),o.child;case 6:return t===null&&qe&&((t=i=rt)&&(i=v3(i,o.pendingProps,Do),i!==null?(o.stateNode=i,Ot=o,rt=null,t=!0):t=!1),t||ln(o)),null;case 13:return av(t,o,i);case 4:return bt(o,o.stateNode.containerInfo),l=o.pendingProps,t===null?o.child=sa(o,null,l,i):qt(t,o,l,i),o.child;case 11:return $m(t,o,o.type,o.pendingProps,i);case 7:return qt(t,o,o.pendingProps,i),o.child;case 8:return qt(t,o,o.pendingProps.children,i),o.child;case 12:return qt(t,o,o.pendingProps.children,i),o.child;case 10:return l=o.pendingProps,sn(o,o.type,l.value),qt(t,o,l.children,i),o.child;case 9:return f=o.type._context,l=o.pendingProps.children,na(o),f=Mt(f),l=l(f),o.flags|=1,qt(t,o,l,i),o.child;case 14:return Km(t,o,o.type,o.pendingProps,i);case 15:return Zm(t,o,o.type,o.pendingProps,i);case 19:return lv(t,o,i);case 31:return Hw(t,o,i);case 22:return Jm(t,o,i,o.pendingProps);case 24:return na(o),l=Mt(yt),t===null?(f=Kf(),f===null&&(f=tt,h=Yf(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=i),f=h),o.memoizedState={parent:l,cache:f},Jf(o),sn(o,yt,f)):((t.lanes&i)!==0&&(ed(t,o),_l(o,null,null,i),Bl()),f=t.memoizedState,h=o.memoizedState,f.parent!==l?(f={parent:l,cache:l},o.memoizedState=f,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=f),sn(o,yt,l)):(l=h.cache,sn(o,yt,l),l!==f.cache&&Qf(o,[yt],i,!0))),qt(t,o,o.pendingProps.children,i),o.child;case 29:throw o.pendingProps}throw Error(a(156,o.tag))}function jr(t){t.flags|=4}function Od(t,o,i,l,f){if((o=(t.mode&32)!==0)&&(o=!1),o){if(t.flags|=16777216,(f&335544128)===f)if(t.stateNode.complete)t.flags|=8192;else if(Ov())t.flags|=8192;else throw la=nc,Zf}else t.flags&=-16777217}function cv(t,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!B1(o))if(Ov())t.flags|=8192;else throw la=nc,Zf}function Sc(t,o){o!==null&&(t.flags|=4),t.flags&16384&&(o=t.tag!==22?Ig():536870912,t.lanes|=o,li|=o)}function jl(t,o){if(!qe)switch(t.tailMode){case"hidden":o=t.tail;for(var i=null;o!==null;)o.alternate!==null&&(i=o),o=o.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?o||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function nt(t){var o=t.alternate!==null&&t.alternate.child===t.child,i=0,l=0;if(o)for(var f=t.child;f!==null;)i|=f.lanes|f.childLanes,l|=f.subtreeFlags&65011712,l|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)i|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=l,t.childLanes=i,o}function Pw(t,o,i){var l=o.pendingProps;switch(Uf(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nt(o),null;case 1:return nt(o),null;case 3:return i=o.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),o.memoizedState.cache!==l&&(o.flags|=2048),Tr(yt),pe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(Qa(o)?jr(o):t===null||t.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Gf())),nt(o),null;case 26:var f=o.type,h=o.memoizedState;return t===null?(jr(o),h!==null?(nt(o),cv(o,h)):(nt(o),Od(o,f,null,l,i))):h?h!==t.memoizedState?(jr(o),nt(o),cv(o,h)):(nt(o),o.flags&=-16777217):(t=t.memoizedProps,t!==l&&jr(o),nt(o),Od(o,f,t,l,i)),null;case 27:if(To(o),i=ke.current,f=o.type,t!==null&&o.stateNode!=null)t.memoizedProps!==l&&jr(o);else{if(!l){if(o.stateNode===null)throw Error(a(166));return nt(o),null}t=ne.current,Qa(o)?Ip(o):(t=m1(f,l,i),o.stateNode=t,jr(o))}return nt(o),null;case 5:if(To(o),f=o.type,t!==null&&o.stateNode!=null)t.memoizedProps!==l&&jr(o);else{if(!l){if(o.stateNode===null)throw Error(a(166));return nt(o),null}if(h=ne.current,Qa(o))Ip(o);else{var b=Mc(ke.current);switch(h){case 1:h=b.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:h=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":h=b.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":h=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":h=b.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof l.is=="string"?b.createElement("select",{is:l.is}):b.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?b.createElement(f,{is:l.is}):b.createElement(f)}}h[Dt]=o,h[Yt]=l;e:for(b=o.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===o)break e;for(;b.sibling===null;){if(b.return===null||b.return===o)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}o.stateNode=h;e:switch(Ft(h,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&jr(o)}}return nt(o),Od(o,o.type,t===null?null:t.memoizedProps,o.pendingProps,i),null;case 6:if(t&&o.stateNode!=null)t.memoizedProps!==l&&jr(o);else{if(typeof l!="string"&&o.stateNode===null)throw Error(a(166));if(t=ke.current,Qa(o)){if(t=o.stateNode,i=o.memoizedProps,l=null,f=Ot,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}t[Dt]=o,t=!!(t.nodeValue===i||l!==null&&l.suppressHydrationWarning===!0||a1(t.nodeValue,i)),t||ln(o,!0)}else t=Mc(t).createTextNode(l),t[Dt]=o,o.stateNode=t}return nt(o),null;case 31:if(i=o.memoizedState,t===null||t.memoizedState!==null){if(l=Qa(o),i!==null){if(t===null){if(!l)throw Error(a(318));if(t=o.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(557));t[Dt]=o}else oa(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;nt(o),t=!1}else i=Gf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return o.flags&256?(po(o),o):(po(o),null);if((o.flags&128)!==0)throw Error(a(558))}return nt(o),null;case 13:if(l=o.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=Qa(o),l!==null&&l.dehydrated!==null){if(t===null){if(!f)throw Error(a(318));if(f=o.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[Dt]=o}else oa(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;nt(o),f=!1}else f=Gf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return o.flags&256?(po(o),o):(po(o),null)}return po(o),(o.flags&128)!==0?(o.lanes=i,o):(i=l!==null,t=t!==null&&t.memoizedState!==null,i&&(l=o.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048)),i!==t&&i&&(o.child.flags|=8192),Sc(o,o.updateQueue),nt(o),null);case 4:return pe(),t===null&&rh(o.stateNode.containerInfo),nt(o),null;case 10:return Tr(o.type),nt(o),null;case 19:if(L(gt),l=o.memoizedState,l===null)return nt(o),null;if(f=(o.flags&128)!==0,h=l.rendering,h===null)if(f)jl(l,!1);else{if(ct!==0||t!==null&&(t.flags&128)!==0)for(t=o.child;t!==null;){if(h=sc(t),h!==null){for(o.flags|=128,jl(l,!1),t=h.updateQueue,o.updateQueue=t,Sc(o,t),o.subtreeFlags=0,t=i,i=o.child;i!==null;)qp(i,t),i=i.sibling;return Z(gt,gt.current&1|2),qe&&_r(o,l.treeForkCount),o.child}t=t.sibling}l.tail!==null&&so()>zc&&(o.flags|=128,f=!0,jl(l,!1),o.lanes=4194304)}else{if(!f)if(t=sc(h),t!==null){if(o.flags|=128,f=!0,t=t.updateQueue,o.updateQueue=t,Sc(o,t),jl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!qe)return nt(o),null}else 2*so()-l.renderingStartTime>zc&&i!==536870912&&(o.flags|=128,f=!0,jl(l,!1),o.lanes=4194304);l.isBackwards?(h.sibling=o.child,o.child=h):(t=l.last,t!==null?t.sibling=h:o.child=h,l.last=h)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=so(),t.sibling=null,i=gt.current,Z(gt,f?i&1|2:i&1),qe&&_r(o,l.treeForkCount),t):(nt(o),null);case 22:case 23:return po(o),nd(),l=o.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(o.flags|=8192):l&&(o.flags|=8192),l?(i&536870912)!==0&&(o.flags&128)===0&&(nt(o),o.subtreeFlags&6&&(o.flags|=8192)):nt(o),i=o.updateQueue,i!==null&&Sc(o,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),l=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool),l!==i&&(o.flags|=2048),t!==null&&L(aa),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),o.memoizedState.cache!==i&&(o.flags|=2048),Tr(yt),nt(o),null;case 25:return null;case 30:return null}throw Error(a(156,o.tag))}function Iw(t,o){switch(Uf(o),o.tag){case 1:return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 3:return Tr(yt),pe(),t=o.flags,(t&65536)!==0&&(t&128)===0?(o.flags=t&-65537|128,o):null;case 26:case 27:case 5:return To(o),null;case 31:if(o.memoizedState!==null){if(po(o),o.alternate===null)throw Error(a(340));oa()}return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 13:if(po(o),t=o.memoizedState,t!==null&&t.dehydrated!==null){if(o.alternate===null)throw Error(a(340));oa()}return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 19:return L(gt),null;case 4:return pe(),null;case 10:return Tr(o.type),null;case 22:case 23:return po(o),nd(),t!==null&&L(aa),t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 24:return Tr(yt),null;case 25:return null;default:return null}}function uv(t,o){switch(Uf(o),o.tag){case 3:Tr(yt),pe();break;case 26:case 27:case 5:To(o);break;case 4:pe();break;case 31:o.memoizedState!==null&&po(o);break;case 13:po(o);break;case 19:L(gt);break;case 10:Tr(o.type);break;case 22:case 23:po(o),nd(),t!==null&&L(aa);break;case 24:Tr(yt)}}function Rl(t,o){try{var i=o.updateQueue,l=i!==null?i.lastEffect:null;if(l!==null){var f=l.next;i=f;do{if((i.tag&t)===t){l=void 0;var h=i.create,b=i.inst;l=h(),b.destroy=l}i=i.next}while(i!==f)}}catch(_){$e(o,o.return,_)}}function gn(t,o,i){try{var l=o.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var h=f.next;l=h;do{if((l.tag&t)===t){var b=l.inst,_=b.destroy;if(_!==void 0){b.destroy=void 0,f=o;var R=i,U=_;try{U()}catch(Y){$e(f,R,Y)}}}l=l.next}while(l!==h)}}catch(Y){$e(o,o.return,Y)}}function fv(t){var o=t.updateQueue;if(o!==null){var i=t.stateNode;try{tm(o,i)}catch(l){$e(t,t.return,l)}}}function dv(t,o,i){i.props=ua(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(l){$e(t,o,l)}}function Al(t,o){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof i=="function"?t.refCleanup=i(l):i.current=l}}catch(f){$e(t,o,f)}}function fr(t,o){var i=t.ref,l=t.refCleanup;if(i!==null)if(typeof l=="function")try{l()}catch(f){$e(t,o,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){$e(t,o,f)}else i.current=null}function hv(t){var o=t.type,i=t.memoizedProps,l=t.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":i.autoFocus&&l.focus();break e;case"img":i.src?l.src=i.src:i.srcSet&&(l.srcset=i.srcSet)}}catch(f){$e(t,t.return,f)}}function Md(t,o,i){try{var l=t.stateNode;u3(l,t.type,i,o),l[Yt]=o}catch(f){$e(t,t.return,f)}}function gv(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Sn(t.type)||t.tag===4}function qd(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||gv(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&&Sn(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 Fd(t,o,i){var l=t.tag;if(l===5||l===6)t=t.stateNode,o?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,o):(o=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,o.appendChild(t),i=i._reactRootContainer,i!=null||o.onclick!==null||(o.onclick=wr));else if(l!==4&&(l===27&&Sn(t.type)&&(i=t.stateNode,o=null),t=t.child,t!==null))for(Fd(t,o,i),t=t.sibling;t!==null;)Fd(t,o,i),t=t.sibling}function wc(t,o,i){var l=t.tag;if(l===5||l===6)t=t.stateNode,o?i.insertBefore(t,o):i.appendChild(t);else if(l!==4&&(l===27&&Sn(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(wc(t,o,i),t=t.sibling;t!==null;)wc(t,o,i),t=t.sibling}function pv(t){var o=t.stateNode,i=t.memoizedProps;try{for(var l=t.type,f=o.attributes;f.length;)o.removeAttributeNode(f[0]);Ft(o,l,i),o[Dt]=t,o[Yt]=i}catch(h){$e(t,t.return,h)}}var Rr=!1,wt=!1,Hd=!1,mv=typeof WeakSet=="function"?WeakSet:Set,jt=null;function Uw(t,o){if(t=t.containerInfo,ih=Uc,t=Np(t),Rf(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var l=i.getSelection&&i.getSelection();if(l&&l.rangeCount!==0){i=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var b=0,_=-1,R=-1,U=0,Y=0,K=t,V=null;t:for(;;){for(var Q;K!==i||f!==0&&K.nodeType!==3||(_=b+f),K!==h||l!==0&&K.nodeType!==3||(R=b+l),K.nodeType===3&&(b+=K.nodeValue.length),(Q=K.firstChild)!==null;)V=K,K=Q;for(;;){if(K===t)break t;if(V===i&&++U===f&&(_=b),V===h&&++Y===l&&(R=b),(Q=K.nextSibling)!==null)break;K=V,V=K.parentNode}K=Q}i=_===-1||R===-1?null:{start:_,end:R}}else i=null}i=i||{start:0,end:0}}else i=null;for(lh={focusedElem:t,selectionRange:i},Uc=!1,jt=o;jt!==null;)if(o=jt,t=o.child,(o.subtreeFlags&1028)!==0&&t!==null)t.return=o,jt=t;else for(;jt!==null;){switch(o=jt,h=o.alternate,t=o.flags,o.tag){case 0:if((t&4)!==0&&(t=o.updateQueue,t=t!==null?t.events:null,t!==null))for(i=0;i<t.length;i++)f=t[i],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,i=o,f=h.memoizedProps,h=h.memoizedState,l=i.stateNode;try{var he=ua(i.type,f);t=l.getSnapshotBeforeUpdate(he,h),l.__reactInternalSnapshotBeforeUpdate=t}catch(we){$e(i,i.return,we)}}break;case 3:if((t&1024)!==0){if(t=o.stateNode.containerInfo,i=t.nodeType,i===9)uh(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":uh(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(a(163))}if(t=o.sibling,t!==null){t.return=o.return,jt=t;break}jt=o.return}}function vv(t,o,i){var l=i.flags;switch(i.tag){case 0:case 11:case 15:Dr(t,i),l&4&&Rl(5,i);break;case 1:if(Dr(t,i),l&4)if(t=i.stateNode,o===null)try{t.componentDidMount()}catch(b){$e(i,i.return,b)}else{var f=ua(i.type,o.memoizedProps);o=o.memoizedState;try{t.componentDidUpdate(f,o,t.__reactInternalSnapshotBeforeUpdate)}catch(b){$e(i,i.return,b)}}l&64&&fv(i),l&512&&Al(i,i.return);break;case 3:if(Dr(t,i),l&64&&(t=i.updateQueue,t!==null)){if(o=null,i.child!==null)switch(i.child.tag){case 27:case 5:o=i.child.stateNode;break;case 1:o=i.child.stateNode}try{tm(t,o)}catch(b){$e(i,i.return,b)}}break;case 27:o===null&&l&4&&pv(i);case 26:case 5:Dr(t,i),o===null&&l&4&&hv(i),l&512&&Al(i,i.return);break;case 12:Dr(t,i);break;case 31:Dr(t,i),l&4&&xv(t,i);break;case 13:Dr(t,i),l&4&&Sv(t,i),l&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=Zw.bind(null,i),b3(t,i))));break;case 22:if(l=i.memoizedState!==null||Rr,!l){o=o!==null&&o.memoizedState!==null||wt,f=Rr;var h=wt;Rr=l,(wt=o)&&!h?Or(t,i,(i.subtreeFlags&8772)!==0):Dr(t,i),Rr=f,wt=h}break;case 30:break;default:Dr(t,i)}}function bv(t){var o=t.alternate;o!==null&&(t.alternate=null,bv(o)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(o=t.stateNode,o!==null&&pf(o)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var at=null,Kt=!1;function Ar(t,o,i){for(i=i.child;i!==null;)yv(t,o,i),i=i.sibling}function yv(t,o,i){if(co&&typeof co.onCommitFiberUnmount=="function")try{co.onCommitFiberUnmount(rl,i)}catch{}switch(i.tag){case 26:wt||fr(i,o),Ar(t,o,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:wt||fr(i,o);var l=at,f=Kt;Sn(i.type)&&(at=i.stateNode,Kt=!1),Ar(t,o,i),Il(i.stateNode),at=l,Kt=f;break;case 5:wt||fr(i,o);case 6:if(l=at,f=Kt,at=null,Ar(t,o,i),at=l,Kt=f,at!==null)if(Kt)try{(at.nodeType===9?at.body:at.nodeName==="HTML"?at.ownerDocument.body:at).removeChild(i.stateNode)}catch(h){$e(i,o,h)}else try{at.removeChild(i.stateNode)}catch(h){$e(i,o,h)}break;case 18:at!==null&&(Kt?(t=at,f1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),pi(t)):f1(at,i.stateNode));break;case 4:l=at,f=Kt,at=i.stateNode.containerInfo,Kt=!0,Ar(t,o,i),at=l,Kt=f;break;case 0:case 11:case 14:case 15:gn(2,i,o),wt||gn(4,i,o),Ar(t,o,i);break;case 1:wt||(fr(i,o),l=i.stateNode,typeof l.componentWillUnmount=="function"&&dv(i,o,l)),Ar(t,o,i);break;case 21:Ar(t,o,i);break;case 22:wt=(l=wt)||i.memoizedState!==null,Ar(t,o,i),wt=l;break;default:Ar(t,o,i)}}function xv(t,o){if(o.memoizedState===null&&(t=o.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{pi(t)}catch(i){$e(o,o.return,i)}}}function Sv(t,o){if(o.memoizedState===null&&(t=o.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{pi(t)}catch(i){$e(o,o.return,i)}}function Vw(t){switch(t.tag){case 31:case 13:case 19:var o=t.stateNode;return o===null&&(o=t.stateNode=new mv),o;case 22:return t=t.stateNode,o=t._retryCache,o===null&&(o=t._retryCache=new mv),o;default:throw Error(a(435,t.tag))}}function kc(t,o){var i=Vw(t);o.forEach(function(l){if(!i.has(l)){i.add(l);var f=Jw.bind(null,t,l);l.then(f,f)}})}function Zt(t,o){var i=o.deletions;if(i!==null)for(var l=0;l<i.length;l++){var f=i[l],h=t,b=o,_=b;e:for(;_!==null;){switch(_.tag){case 27:if(Sn(_.type)){at=_.stateNode,Kt=!1;break e}break;case 5:at=_.stateNode,Kt=!1;break e;case 3:case 4:at=_.stateNode.containerInfo,Kt=!0;break e}_=_.return}if(at===null)throw Error(a(160));yv(h,b,f),at=null,Kt=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)wv(o,t),o=o.sibling}var Qo=null;function wv(t,o){var i=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Zt(o,t),Jt(t),l&4&&(gn(3,t,t.return),Rl(3,t),gn(5,t,t.return));break;case 1:Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),l&64&&Rr&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(i=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=i===null?l:i.concat(l))));break;case 26:var f=Qo;if(Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),l&4){var h=i!==null?i.memoizedState:null;if(l=t.memoizedState,i===null)if(l===null)if(t.stateNode===null){e:{l=t.type,i=t.memoizedProps,f=f.ownerDocument||f;t:switch(l){case"title":h=f.getElementsByTagName("title")[0],(!h||h[il]||h[Dt]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(l),f.head.insertBefore(h,f.querySelector("head > title"))),Ft(h,l,i),h[Dt]=t,Et(h),l=h;break e;case"link":var b=w1("link","href",f).get(l+(i.href||""));if(b){for(var _=0;_<b.length;_++)if(h=b[_],h.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&h.getAttribute("rel")===(i.rel==null?null:i.rel)&&h.getAttribute("title")===(i.title==null?null:i.title)&&h.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){b.splice(_,1);break t}}h=f.createElement(l),Ft(h,l,i),f.head.appendChild(h);break;case"meta":if(b=w1("meta","content",f).get(l+(i.content||""))){for(_=0;_<b.length;_++)if(h=b[_],h.getAttribute("content")===(i.content==null?null:""+i.content)&&h.getAttribute("name")===(i.name==null?null:i.name)&&h.getAttribute("property")===(i.property==null?null:i.property)&&h.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&h.getAttribute("charset")===(i.charSet==null?null:i.charSet)){b.splice(_,1);break t}}h=f.createElement(l),Ft(h,l,i),f.head.appendChild(h);break;default:throw Error(a(468,l))}h[Dt]=t,Et(h),l=h}t.stateNode=l}else k1(f,t.type,t.stateNode);else t.stateNode=S1(f,l,t.memoizedProps);else h!==l?(h===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):h.count--,l===null?k1(f,t.type,t.stateNode):S1(f,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Md(t,t.memoizedProps,i.memoizedProps)}break;case 27:Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),i!==null&&l&4&&Md(t,t.memoizedProps,i.memoizedProps);break;case 5:if(Zt(o,t),Jt(t),l&512&&(wt||i===null||fr(i,i.return)),t.flags&32){f=t.stateNode;try{Fa(f,"")}catch(he){$e(t,t.return,he)}}l&4&&t.stateNode!=null&&(f=t.memoizedProps,Md(t,f,i!==null?i.memoizedProps:f)),l&1024&&(Hd=!0);break;case 6:if(Zt(o,t),Jt(t),l&4){if(t.stateNode===null)throw Error(a(162));l=t.memoizedProps,i=t.stateNode;try{i.nodeValue=l}catch(he){$e(t,t.return,he)}}break;case 3:if(Hc=null,f=Qo,Qo=qc(o.containerInfo),Zt(o,t),Qo=f,Jt(t),l&4&&i!==null&&i.memoizedState.isDehydrated)try{pi(o.containerInfo)}catch(he){$e(t,t.return,he)}Hd&&(Hd=!1,kv(t));break;case 4:l=Qo,Qo=qc(t.stateNode.containerInfo),Zt(o,t),Jt(t),Qo=l;break;case 12:Zt(o,t),Jt(t);break;case 31:Zt(o,t),Jt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,kc(t,l)));break;case 13:Zt(o,t),Jt(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(_c=so()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,kc(t,l)));break;case 22:f=t.memoizedState!==null;var R=i!==null&&i.memoizedState!==null,U=Rr,Y=wt;if(Rr=U||f,wt=Y||R,Zt(o,t),wt=Y,Rr=U,Jt(t),l&8192)e:for(o=t.stateNode,o._visibility=f?o._visibility&-2:o._visibility|1,f&&(i===null||R||Rr||wt||fa(t)),i=null,o=t;;){if(o.tag===5||o.tag===26){if(i===null){R=i=o;try{if(h=R.stateNode,f)b=h.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{_=R.stateNode;var K=R.memoizedProps.style,V=K!=null&&K.hasOwnProperty("display")?K.display:null;_.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(he){$e(R,R.return,he)}}}else if(o.tag===6){if(i===null){R=o;try{R.stateNode.nodeValue=f?"":R.memoizedProps}catch(he){$e(R,R.return,he)}}}else if(o.tag===18){if(i===null){R=o;try{var Q=R.stateNode;f?d1(Q,!0):d1(R.stateNode,!1)}catch(he){$e(R,R.return,he)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===t)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;i===o&&(i=null),o=o.return}i===o&&(i=null),o.sibling.return=o.return,o=o.sibling}l&4&&(l=t.updateQueue,l!==null&&(i=l.retryQueue,i!==null&&(l.retryQueue=null,kc(t,i))));break;case 19:Zt(o,t),Jt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,kc(t,l)));break;case 30:break;case 21:break;default:Zt(o,t),Jt(t)}}function Jt(t){var o=t.flags;if(o&2){try{for(var i,l=t.return;l!==null;){if(gv(l)){i=l;break}l=l.return}if(i==null)throw Error(a(160));switch(i.tag){case 27:var f=i.stateNode,h=qd(t);wc(t,h,f);break;case 5:var b=i.stateNode;i.flags&32&&(Fa(b,""),i.flags&=-33);var _=qd(t);wc(t,_,b);break;case 3:case 4:var R=i.stateNode.containerInfo,U=qd(t);Fd(t,U,R);break;default:throw Error(a(161))}}catch(Y){$e(t,t.return,Y)}t.flags&=-3}o&4096&&(t.flags&=-4097)}function kv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var o=t;kv(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),t=t.sibling}}function Dr(t,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)vv(t,o.alternate,o),o=o.sibling}function fa(t){for(t=t.child;t!==null;){var o=t;switch(o.tag){case 0:case 11:case 14:case 15:gn(4,o,o.return),fa(o);break;case 1:fr(o,o.return);var i=o.stateNode;typeof i.componentWillUnmount=="function"&&dv(o,o.return,i),fa(o);break;case 27:Il(o.stateNode);case 26:case 5:fr(o,o.return),fa(o);break;case 22:o.memoizedState===null&&fa(o);break;case 30:fa(o);break;default:fa(o)}t=t.sibling}}function Or(t,o,i){for(i=i&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var l=o.alternate,f=t,h=o,b=h.flags;switch(h.tag){case 0:case 11:case 15:Or(f,h,i),Rl(4,h);break;case 1:if(Or(f,h,i),l=h,f=l.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(U){$e(l,l.return,U)}if(l=h,f=l.updateQueue,f!==null){var _=l.stateNode;try{var R=f.shared.hiddenCallbacks;if(R!==null)for(f.shared.hiddenCallbacks=null,f=0;f<R.length;f++)em(R[f],_)}catch(U){$e(l,l.return,U)}}i&&b&64&&fv(h),Al(h,h.return);break;case 27:pv(h);case 26:case 5:Or(f,h,i),i&&l===null&&b&4&&hv(h),Al(h,h.return);break;case 12:Or(f,h,i);break;case 31:Or(f,h,i),i&&b&4&&xv(f,h);break;case 13:Or(f,h,i),i&&b&4&&Sv(f,h);break;case 22:h.memoizedState===null&&Or(f,h,i),Al(h,h.return);break;case 30:break;default:Or(f,h,i)}o=o.sibling}}function Ld(t,o){var i=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),t=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(t=o.memoizedState.cachePool.pool),t!==i&&(t!=null&&t.refCount++,i!=null&&yl(i))}function Pd(t,o){t=null,o.alternate!==null&&(t=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==t&&(o.refCount++,t!=null&&yl(t))}function Yo(t,o,i,l){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)Bv(t,o,i,l),o=o.sibling}function Bv(t,o,i,l){var f=o.flags;switch(o.tag){case 0:case 11:case 15:Yo(t,o,i,l),f&2048&&Rl(9,o);break;case 1:Yo(t,o,i,l);break;case 3:Yo(t,o,i,l),f&2048&&(t=null,o.alternate!==null&&(t=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==t&&(o.refCount++,t!=null&&yl(t)));break;case 12:if(f&2048){Yo(t,o,i,l),t=o.stateNode;try{var h=o.memoizedProps,b=h.id,_=h.onPostCommit;typeof _=="function"&&_(b,o.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){$e(o,o.return,R)}}else Yo(t,o,i,l);break;case 31:Yo(t,o,i,l);break;case 13:Yo(t,o,i,l);break;case 23:break;case 22:h=o.stateNode,b=o.alternate,o.memoizedState!==null?h._visibility&2?Yo(t,o,i,l):Dl(t,o):h._visibility&2?Yo(t,o,i,l):(h._visibility|=2,ni(t,o,i,l,(o.subtreeFlags&10256)!==0||!1)),f&2048&&Ld(b,o);break;case 24:Yo(t,o,i,l),f&2048&&Pd(o.alternate,o);break;default:Yo(t,o,i,l)}}function ni(t,o,i,l,f){for(f=f&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var h=t,b=o,_=i,R=l,U=b.flags;switch(b.tag){case 0:case 11:case 15:ni(h,b,_,R,f),Rl(8,b);break;case 23:break;case 22:var Y=b.stateNode;b.memoizedState!==null?Y._visibility&2?ni(h,b,_,R,f):Dl(h,b):(Y._visibility|=2,ni(h,b,_,R,f)),f&&U&2048&&Ld(b.alternate,b);break;case 24:ni(h,b,_,R,f),f&&U&2048&&Pd(b.alternate,b);break;default:ni(h,b,_,R,f)}o=o.sibling}}function Dl(t,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var i=t,l=o,f=l.flags;switch(l.tag){case 22:Dl(i,l),f&2048&&Ld(l.alternate,l);break;case 24:Dl(i,l),f&2048&&Pd(l.alternate,l);break;default:Dl(i,l)}o=o.sibling}}var Ol=8192;function ai(t,o,i){if(t.subtreeFlags&Ol)for(t=t.child;t!==null;)_v(t,o,i),t=t.sibling}function _v(t,o,i){switch(t.tag){case 26:ai(t,o,i),t.flags&Ol&&t.memoizedState!==null&&E3(i,Qo,t.memoizedState,t.memoizedProps);break;case 5:ai(t,o,i);break;case 3:case 4:var l=Qo;Qo=qc(t.stateNode.containerInfo),ai(t,o,i),Qo=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Ol,Ol=16777216,ai(t,o,i),Ol=l):ai(t,o,i));break;default:ai(t,o,i)}}function zv(t){var o=t.alternate;if(o!==null&&(t=o.child,t!==null)){o.child=null;do o=t.sibling,t.sibling=null,t=o;while(t!==null)}}function Ml(t){var o=t.deletions;if((t.flags&16)!==0){if(o!==null)for(var i=0;i<o.length;i++){var l=o[i];jt=l,Nv(l,t)}zv(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Tv(t),t=t.sibling}function Tv(t){switch(t.tag){case 0:case 11:case 15:Ml(t),t.flags&2048&&gn(9,t,t.return);break;case 3:Ml(t);break;case 12:Ml(t);break;case 22:var o=t.stateNode;t.memoizedState!==null&&o._visibility&2&&(t.return===null||t.return.tag!==13)?(o._visibility&=-3,Bc(t)):Ml(t);break;default:Ml(t)}}function Bc(t){var o=t.deletions;if((t.flags&16)!==0){if(o!==null)for(var i=0;i<o.length;i++){var l=o[i];jt=l,Nv(l,t)}zv(t)}for(t=t.child;t!==null;){switch(o=t,o.tag){case 0:case 11:case 15:gn(8,o,o.return),Bc(o);break;case 22:i=o.stateNode,i._visibility&2&&(i._visibility&=-3,Bc(o));break;default:Bc(o)}t=t.sibling}}function Nv(t,o){for(;jt!==null;){var i=jt;switch(i.tag){case 0:case 11:case 15:gn(8,i,o);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var l=i.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:yl(i.memoizedState.cache)}if(l=i.child,l!==null)l.return=i,jt=l;else e:for(i=t;jt!==null;){l=jt;var f=l.sibling,h=l.return;if(bv(l),l===i){jt=null;break e}if(f!==null){f.return=h,jt=f;break e}jt=h}}}var Gw={getCacheForType:function(t){var o=Mt(yt),i=o.data.get(t);return i===void 0&&(i=t(),o.data.set(t,i)),i},cacheSignal:function(){return Mt(yt).controller.signal}},Xw=typeof WeakMap=="function"?WeakMap:Map,Ge=0,tt=null,Re=null,Oe=0,Ye=0,mo=null,pn=!1,ii=!1,Id=!1,Mr=0,ct=0,mn=0,da=0,Ud=0,vo=0,li=0,ql=null,eo=null,Vd=!1,_c=0,Cv=0,zc=1/0,Tc=null,vn=null,zt=0,bn=null,si=null,qr=0,Gd=0,Xd=null,Ev=null,Fl=0,Wd=null;function bo(){return(Ge&2)!==0&&Oe!==0?Oe&-Oe:P.T!==null?Jd():Xg()}function jv(){if(vo===0)if((Oe&536870912)===0||qe){var t=Os;Os<<=1,(Os&3932160)===0&&(Os=262144),vo=t}else vo=536870912;return t=go.current,t!==null&&(t.flags|=32),vo}function to(t,o,i){(t===tt&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)&&(ci(t,0),yn(t,Oe,vo,!1)),al(t,i),((Ge&2)===0||t!==tt)&&(t===tt&&((Ge&2)===0&&(da|=i),ct===4&&yn(t,Oe,vo,!1)),dr(t))}function Rv(t,o,i){if((Ge&6)!==0)throw Error(a(327));var l=!i&&(o&127)===0&&(o&t.expiredLanes)===0||nl(t,o),f=l?Yw(t,o):Yd(t,o,!0),h=l;do{if(f===0){ii&&!l&&yn(t,o,0,!1);break}else{if(i=t.current.alternate,h&&!Ww(i)){f=Yd(t,o,!1),h=!1;continue}if(f===2){if(h=o,t.errorRecoveryDisabledLanes&h)var b=0;else b=t.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){o=b;e:{var _=t;f=ql;var R=_.current.memoizedState.isDehydrated;if(R&&(ci(_,b).flags|=256),b=Yd(_,b,!1),b!==2){if(Id&&!R){_.errorRecoveryDisabledLanes|=h,da|=h,f=4;break e}h=eo,eo=f,h!==null&&(eo===null?eo=h:eo.push.apply(eo,h))}f=b}if(h=!1,f!==2)continue}}if(f===1){ci(t,0),yn(t,o,0,!0);break}e:{switch(l=t,h=f,h){case 0:case 1:throw Error(a(345));case 4:if((o&4194048)!==o)break;case 6:yn(l,o,vo,!pn);break e;case 2:eo=null;break;case 3:case 5:break;default:throw Error(a(329))}if((o&62914560)===o&&(f=_c+300-so(),10<f)){if(yn(l,o,vo,!pn),qs(l,0,!0)!==0)break e;qr=o,l.timeoutHandle=c1(Av.bind(null,l,i,eo,Tc,Vd,o,vo,da,li,pn,h,"Throttled",-0,0),f);break e}Av(l,i,eo,Tc,Vd,o,vo,da,li,pn,h,null,-0,0)}}break}while(!0);dr(t)}function Av(t,o,i,l,f,h,b,_,R,U,Y,K,V,Q){if(t.timeoutHandle=-1,K=o.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:wr},_v(o,h,K);var he=(h&62914560)===h?_c-so():(h&4194048)===h?Cv-so():0;if(he=j3(K,he),he!==null){qr=h,t.cancelPendingCommit=he(Pv.bind(null,t,o,h,i,l,f,b,_,R,Y,K,null,V,Q)),yn(t,h,b,!U);return}}Pv(t,o,h,i,l,f,b,_,R)}function Ww(t){for(var o=t;;){var i=o.tag;if((i===0||i===11||i===15)&&o.flags&16384&&(i=o.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var l=0;l<i.length;l++){var f=i[l],h=f.getSnapshot;f=f.value;try{if(!fo(h(),f))return!1}catch{return!1}}if(i=o.child,o.subtreeFlags&16384&&i!==null)i.return=o,o=i;else{if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function yn(t,o,i,l){o&=~Ud,o&=~da,t.suspendedLanes|=o,t.pingedLanes&=~o,l&&(t.warmLanes|=o),l=t.expirationTimes;for(var f=o;0<f;){var h=31-uo(f),b=1<<h;l[h]=-1,f&=~b}i!==0&&Ug(t,i,o)}function Nc(){return(Ge&6)===0?(Hl(0),!1):!0}function Qd(){if(Re!==null){if(Ye===0)var t=Re.return;else t=Re,zr=ra=null,ud(t),Ja=null,Sl=0,t=Re;for(;t!==null;)uv(t.alternate,t),t=t.return;Re=null}}function ci(t,o){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,h3(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),qr=0,Qd(),tt=t,Re=i=Br(t.current,null),Oe=o,Ye=0,mo=null,pn=!1,ii=nl(t,o),Id=!1,li=vo=Ud=da=mn=ct=0,eo=ql=null,Vd=!1,(o&8)!==0&&(o|=o&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=o;0<l;){var f=31-uo(l),h=1<<f;o|=t[f],l&=~h}return Mr=o,Ys(),i}function Dv(t,o){Ce=null,P.H=Cl,o===Za||o===rc?(o=$p(),Ye=3):o===Zf?(o=$p(),Ye=4):Ye=o===zd?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,mo=o,Re===null&&(ct=1,vc(t,jo(o,t.current)))}function Ov(){var t=go.current;return t===null?!0:(Oe&4194048)===Oe?Oo===null:(Oe&62914560)===Oe||(Oe&536870912)!==0?t===Oo:!1}function Mv(){var t=P.H;return P.H=Cl,t===null?Cl:t}function qv(){var t=P.A;return P.A=Gw,t}function Cc(){ct=4,pn||(Oe&4194048)!==Oe&&go.current!==null||(ii=!0),(mn&134217727)===0&&(da&134217727)===0||tt===null||yn(tt,Oe,vo,!1)}function Yd(t,o,i){var l=Ge;Ge|=2;var f=Mv(),h=qv();(tt!==t||Oe!==o)&&(Tc=null,ci(t,o)),o=!1;var b=ct;e:do try{if(Ye!==0&&Re!==null){var _=Re,R=mo;switch(Ye){case 8:Qd(),b=6;break e;case 3:case 2:case 9:case 6:go.current===null&&(o=!0);var U=Ye;if(Ye=0,mo=null,ui(t,_,R,U),i&&ii){b=0;break e}break;default:U=Ye,Ye=0,mo=null,ui(t,_,R,U)}}Qw(),b=ct;break}catch(Y){Dv(t,Y)}while(!0);return o&&t.shellSuspendCounter++,zr=ra=null,Ge=l,P.H=f,P.A=h,Re===null&&(tt=null,Oe=0,Ys()),b}function Qw(){for(;Re!==null;)Fv(Re)}function Yw(t,o){var i=Ge;Ge|=2;var l=Mv(),f=qv();tt!==t||Oe!==o?(Tc=null,zc=so()+500,ci(t,o)):ii=nl(t,o);e:do try{if(Ye!==0&&Re!==null){o=Re;var h=mo;t:switch(Ye){case 1:Ye=0,mo=null,ui(t,o,h,1);break;case 2:case 9:if(Qp(h)){Ye=0,mo=null,Hv(o);break}o=function(){Ye!==2&&Ye!==9||tt!==t||(Ye=7),dr(t)},h.then(o,o);break e;case 3:Ye=7;break e;case 4:Ye=5;break e;case 7:Qp(h)?(Ye=0,mo=null,Hv(o)):(Ye=0,mo=null,ui(t,o,h,7));break;case 5:var b=null;switch(Re.tag){case 26:b=Re.memoizedState;case 5:case 27:var _=Re;if(b?B1(b):_.stateNode.complete){Ye=0,mo=null;var R=_.sibling;if(R!==null)Re=R;else{var U=_.return;U!==null?(Re=U,Ec(U)):Re=null}break t}}Ye=0,mo=null,ui(t,o,h,5);break;case 6:Ye=0,mo=null,ui(t,o,h,6);break;case 8:Qd(),ct=6;break e;default:throw Error(a(462))}}$w();break}catch(Y){Dv(t,Y)}while(!0);return zr=ra=null,P.H=l,P.A=f,Ge=i,Re!==null?0:(tt=null,Oe=0,Ys(),ct)}function $w(){for(;Re!==null&&!y5();)Fv(Re)}function Fv(t){var o=sv(t.alternate,t,Mr);t.memoizedProps=t.pendingProps,o===null?Ec(t):Re=o}function Hv(t){var o=t,i=o.alternate;switch(o.tag){case 15:case 0:o=ov(i,o,o.pendingProps,o.type,void 0,Oe);break;case 11:o=ov(i,o,o.pendingProps,o.type.render,o.ref,Oe);break;case 5:ud(o);default:uv(i,o),o=Re=qp(o,Mr),o=sv(i,o,Mr)}t.memoizedProps=t.pendingProps,o===null?Ec(t):Re=o}function ui(t,o,i,l){zr=ra=null,ud(o),Ja=null,Sl=0;var f=o.return;try{if(Fw(t,f,o,i,Oe)){ct=1,vc(t,jo(i,t.current)),Re=null;return}}catch(h){if(f!==null)throw Re=f,h;ct=1,vc(t,jo(i,t.current)),Re=null;return}o.flags&32768?(qe||l===1?t=!0:ii||(Oe&536870912)!==0?t=!1:(pn=t=!0,(l===2||l===9||l===3||l===6)&&(l=go.current,l!==null&&l.tag===13&&(l.flags|=16384))),Lv(o,t)):Ec(o)}function Ec(t){var o=t;do{if((o.flags&32768)!==0){Lv(o,pn);return}t=o.return;var i=Pw(o.alternate,o,Mr);if(i!==null){Re=i;return}if(o=o.sibling,o!==null){Re=o;return}Re=o=t}while(o!==null);ct===0&&(ct=5)}function Lv(t,o){do{var i=Iw(t.alternate,t);if(i!==null){i.flags&=32767,Re=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!o&&(t=t.sibling,t!==null)){Re=t;return}Re=t=i}while(t!==null);ct=6,Re=null}function Pv(t,o,i,l,f,h,b,_,R){t.cancelPendingCommit=null;do jc();while(zt!==0);if((Ge&6)!==0)throw Error(a(327));if(o!==null){if(o===t.current)throw Error(a(177));if(h=o.lanes|o.childLanes,h|=qf,C5(t,i,h,b,_,R),t===tt&&(Re=tt=null,Oe=0),si=o,bn=t,qr=i,Gd=h,Xd=f,Ev=l,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,e3(As,function(){return Xv(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||l){l=P.T,P.T=null,f=J.p,J.p=2,b=Ge,Ge|=4;try{Uw(t,o,i)}finally{Ge=b,J.p=f,P.T=l}}zt=1,Iv(),Uv(),Vv()}}function Iv(){if(zt===1){zt=0;var t=bn,o=si,i=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||i){i=P.T,P.T=null;var l=J.p;J.p=2;var f=Ge;Ge|=4;try{wv(o,t);var h=lh,b=Np(t.containerInfo),_=h.focusedElem,R=h.selectionRange;if(b!==_&&_&&_.ownerDocument&&Tp(_.ownerDocument.documentElement,_)){if(R!==null&&Rf(_)){var U=R.start,Y=R.end;if(Y===void 0&&(Y=U),"selectionStart"in _)_.selectionStart=U,_.selectionEnd=Math.min(Y,_.value.length);else{var K=_.ownerDocument||document,V=K&&K.defaultView||window;if(V.getSelection){var Q=V.getSelection(),he=_.textContent.length,we=Math.min(R.start,he),Je=R.end===void 0?we:Math.min(R.end,he);!Q.extend&&we>Je&&(b=Je,Je=we,we=b);var F=zp(_,we),O=zp(_,Je);if(F&&O&&(Q.rangeCount!==1||Q.anchorNode!==F.node||Q.anchorOffset!==F.offset||Q.focusNode!==O.node||Q.focusOffset!==O.offset)){var I=K.createRange();I.setStart(F.node,F.offset),Q.removeAllRanges(),we>Je?(Q.addRange(I),Q.extend(O.node,O.offset)):(I.setEnd(O.node,O.offset),Q.addRange(I))}}}}for(K=[],Q=_;Q=Q.parentNode;)Q.nodeType===1&&K.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<K.length;_++){var $=K[_];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}Uc=!!ih,lh=ih=null}finally{Ge=f,J.p=l,P.T=i}}t.current=o,zt=2}}function Uv(){if(zt===2){zt=0;var t=bn,o=si,i=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||i){i=P.T,P.T=null;var l=J.p;J.p=2;var f=Ge;Ge|=4;try{vv(t,o.alternate,o)}finally{Ge=f,J.p=l,P.T=i}}zt=3}}function Vv(){if(zt===4||zt===3){zt=0,x5();var t=bn,o=si,i=qr,l=Ev;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?zt=5:(zt=0,si=bn=null,Gv(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(vn=null),hf(i),o=o.stateNode,co&&typeof co.onCommitFiberRoot=="function")try{co.onCommitFiberRoot(rl,o,void 0,(o.current.flags&128)===128)}catch{}if(l!==null){o=P.T,f=J.p,J.p=2,P.T=null;try{for(var h=t.onRecoverableError,b=0;b<l.length;b++){var _=l[b];h(_.value,{componentStack:_.stack})}}finally{P.T=o,J.p=f}}(qr&3)!==0&&jc(),dr(t),f=t.pendingLanes,(i&261930)!==0&&(f&42)!==0?t===Wd?Fl++:(Fl=0,Wd=t):Fl=0,Hl(0)}}function Gv(t,o){(t.pooledCacheLanes&=o)===0&&(o=t.pooledCache,o!=null&&(t.pooledCache=null,yl(o)))}function jc(){return Iv(),Uv(),Vv(),Xv()}function Xv(){if(zt!==5)return!1;var t=bn,o=Gd;Gd=0;var i=hf(qr),l=P.T,f=J.p;try{J.p=32>i?32:i,P.T=null,i=Xd,Xd=null;var h=bn,b=qr;if(zt=0,si=bn=null,qr=0,(Ge&6)!==0)throw Error(a(331));var _=Ge;if(Ge|=4,Tv(h.current),Bv(h,h.current,b,i),Ge=_,Hl(0,!1),co&&typeof co.onPostCommitFiberRoot=="function")try{co.onPostCommitFiberRoot(rl,h)}catch{}return!0}finally{J.p=f,P.T=l,Gv(t,o)}}function Wv(t,o,i){o=jo(i,o),o=_d(t.stateNode,o,2),t=fn(t,o,2),t!==null&&(al(t,2),dr(t))}function $e(t,o,i){if(t.tag===3)Wv(t,t,i);else for(;o!==null;){if(o.tag===3){Wv(o,t,i);break}else if(o.tag===1){var l=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(vn===null||!vn.has(l))){t=jo(i,t),i=Qm(2),l=fn(o,i,2),l!==null&&(Ym(i,l,o,t),al(l,2),dr(l));break}}o=o.return}}function $d(t,o,i){var l=t.pingCache;if(l===null){l=t.pingCache=new Xw;var f=new Set;l.set(o,f)}else f=l.get(o),f===void 0&&(f=new Set,l.set(o,f));f.has(i)||(Id=!0,f.add(i),t=Kw.bind(null,t,o,i),o.then(t,t))}function Kw(t,o,i){var l=t.pingCache;l!==null&&l.delete(o),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,tt===t&&(Oe&i)===i&&(ct===4||ct===3&&(Oe&62914560)===Oe&&300>so()-_c?(Ge&2)===0&&ci(t,0):Ud|=i,li===Oe&&(li=0)),dr(t)}function Qv(t,o){o===0&&(o=Ig()),t=ea(t,o),t!==null&&(al(t,o),dr(t))}function Zw(t){var o=t.memoizedState,i=0;o!==null&&(i=o.retryLane),Qv(t,i)}function Jw(t,o){var i=0;switch(t.tag){case 31:case 13:var l=t.stateNode,f=t.memoizedState;f!==null&&(i=f.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(a(314))}l!==null&&l.delete(o),Qv(t,i)}function e3(t,o){return cf(t,o)}var Rc=null,fi=null,Kd=!1,Ac=!1,Zd=!1,xn=0;function dr(t){t!==fi&&t.next===null&&(fi===null?Rc=fi=t:fi=fi.next=t),Ac=!0,Kd||(Kd=!0,o3())}function Hl(t,o){if(!Zd&&Ac){Zd=!0;do for(var i=!1,l=Rc;l!==null;){if(t!==0){var f=l.pendingLanes;if(f===0)var h=0;else{var b=l.suspendedLanes,_=l.pingedLanes;h=(1<<31-uo(42|t)+1)-1,h&=f&~(b&~_),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(i=!0,Zv(l,h))}else h=Oe,h=qs(l,l===tt?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||nl(l,h)||(i=!0,Zv(l,h));l=l.next}while(i);Zd=!1}}function t3(){Yv()}function Yv(){Ac=Kd=!1;var t=0;xn!==0&&d3()&&(t=xn);for(var o=so(),i=null,l=Rc;l!==null;){var f=l.next,h=$v(l,o);h===0?(l.next=null,i===null?Rc=f:i.next=f,f===null&&(fi=i)):(i=l,(t!==0||(h&3)!==0)&&(Ac=!0)),l=f}zt!==0&&zt!==5||Hl(t),xn!==0&&(xn=0)}function $v(t,o){for(var i=t.suspendedLanes,l=t.pingedLanes,f=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var b=31-uo(h),_=1<<b,R=f[b];R===-1?((_&i)===0||(_&l)!==0)&&(f[b]=N5(_,o)):R<=o&&(t.expiredLanes|=_),h&=~_}if(o=tt,i=Oe,i=qs(t,t===o?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,i===0||t===o&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&uf(l),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||nl(t,i)){if(o=i&-i,o===t.callbackPriority)return o;switch(l!==null&&uf(l),hf(i)){case 2:case 8:i=Lg;break;case 32:i=As;break;case 268435456:i=Pg;break;default:i=As}return l=Kv.bind(null,t),i=cf(i,l),t.callbackPriority=o,t.callbackNode=i,o}return l!==null&&l!==null&&uf(l),t.callbackPriority=2,t.callbackNode=null,2}function Kv(t,o){if(zt!==0&&zt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(jc()&&t.callbackNode!==i)return null;var l=Oe;return l=qs(t,t===tt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Rv(t,l,o),$v(t,so()),t.callbackNode!=null&&t.callbackNode===i?Kv.bind(null,t):null)}function Zv(t,o){if(jc())return null;Rv(t,o,!0)}function o3(){g3(function(){(Ge&6)!==0?cf(Hg,t3):Yv()})}function Jd(){if(xn===0){var t=$a;t===0&&(t=Ds,Ds<<=1,(Ds&261888)===0&&(Ds=256)),xn=t}return xn}function Jv(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ps(""+t)}function e1(t,o){var i=o.ownerDocument.createElement("input");return i.name=o.name,i.value=o.value,t.id&&i.setAttribute("form",t.id),o.parentNode.insertBefore(i,o),t=new FormData(t),i.parentNode.removeChild(i),t}function r3(t,o,i,l,f){if(o==="submit"&&i&&i.stateNode===f){var h=Jv((f[Yt]||null).action),b=l.submitter;b&&(o=(o=b[Yt]||null)?Jv(o.formAction):b.getAttribute("formAction"),o!==null&&(h=o,b=null));var _=new Gs("action","action",null,l,f);t.push({event:_,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(xn!==0){var R=b?e1(f,b):new FormData(f);yd(i,{pending:!0,data:R,method:f.method,action:h},null,R)}}else typeof h=="function"&&(_.preventDefault(),R=b?e1(f,b):new FormData(f),yd(i,{pending:!0,data:R,method:f.method,action:h},h,R))},currentTarget:f}]})}}for(var eh=0;eh<Mf.length;eh++){var th=Mf[eh],n3=th.toLowerCase(),a3=th[0].toUpperCase()+th.slice(1);Wo(n3,"on"+a3)}Wo(jp,"onAnimationEnd"),Wo(Rp,"onAnimationIteration"),Wo(Ap,"onAnimationStart"),Wo("dblclick","onDoubleClick"),Wo("focusin","onFocus"),Wo("focusout","onBlur"),Wo(Sw,"onTransitionRun"),Wo(ww,"onTransitionStart"),Wo(kw,"onTransitionCancel"),Wo(Dp,"onTransitionEnd"),Ma("onMouseEnter",["mouseout","mouseover"]),Ma("onMouseLeave",["mouseout","mouseover"]),Ma("onPointerEnter",["pointerout","pointerover"]),Ma("onPointerLeave",["pointerout","pointerover"]),$n("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$n("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$n("onBeforeInput",["compositionend","keypress","textInput","paste"]),$n("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ll="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(Ll));function t1(t,o){o=(o&4)!==0;for(var i=0;i<t.length;i++){var l=t[i],f=l.event;l=l.listeners;e:{var h=void 0;if(o)for(var b=l.length-1;0<=b;b--){var _=l[b],R=_.instance,U=_.currentTarget;if(_=_.listener,R!==h&&f.isPropagationStopped())break e;h=_,f.currentTarget=U;try{h(f)}catch(Y){Qs(Y)}f.currentTarget=null,h=R}else for(b=0;b<l.length;b++){if(_=l[b],R=_.instance,U=_.currentTarget,_=_.listener,R!==h&&f.isPropagationStopped())break e;h=_,f.currentTarget=U;try{h(f)}catch(Y){Qs(Y)}f.currentTarget=null,h=R}}}}function Ae(t,o){var i=o[gf];i===void 0&&(i=o[gf]=new Set);var l=t+"__bubble";i.has(l)||(o1(o,t,2,!1),i.add(l))}function oh(t,o,i){var l=0;o&&(l|=4),o1(i,t,l,o)}var Dc="_reactListening"+Math.random().toString(36).slice(2);function rh(t){if(!t[Dc]){t[Dc]=!0,Yg.forEach(function(i){i!=="selectionchange"&&(i3.has(i)||oh(i,!1,t),oh(i,!0,t))});var o=t.nodeType===9?t:t.ownerDocument;o===null||o[Dc]||(o[Dc]=!0,oh("selectionchange",!1,o))}}function o1(t,o,i,l){switch(j1(o)){case 2:var f=D3;break;case 8:f=O3;break;default:f=bh}i=f.bind(null,o,i,t),f=void 0,!kf||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(f=!0),l?f!==void 0?t.addEventListener(o,i,{capture:!0,passive:f}):t.addEventListener(o,i,!0):f!==void 0?t.addEventListener(o,i,{passive:f}):t.addEventListener(o,i,!1)}function nh(t,o,i,l,f){var h=l;if((o&1)===0&&(o&2)===0&&l!==null)e:for(;;){if(l===null)return;var b=l.tag;if(b===3||b===4){var _=l.stateNode.containerInfo;if(_===f)break;if(b===4)for(b=l.return;b!==null;){var R=b.tag;if((R===3||R===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;_!==null;){if(b=Aa(_),b===null)return;if(R=b.tag,R===5||R===6||R===26||R===27){l=h=b;continue e}_=_.parentNode}}l=l.return}lp(function(){var U=h,Y=Sf(i),K=[];e:{var V=Op.get(t);if(V!==void 0){var Q=Gs,he=t;switch(t){case"keypress":if(Us(i)===0)break e;case"keydown":case"keyup":Q=J5;break;case"focusin":he="focus",Q=Tf;break;case"focusout":he="blur",Q=Tf;break;case"beforeblur":case"afterblur":Q=Tf;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":Q=up;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=P5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=ow;break;case jp:case Rp:case Ap:Q=V5;break;case Dp:Q=nw;break;case"scroll":case"scrollend":Q=H5;break;case"wheel":Q=iw;break;case"copy":case"cut":case"paste":Q=X5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=dp;break;case"toggle":case"beforetoggle":Q=sw}var we=(o&4)!==0,Je=!we&&(t==="scroll"||t==="scrollend"),F=we?V!==null?V+"Capture":null:V;we=[];for(var O=U,I;O!==null;){var $=O;if(I=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||I===null||F===null||($=sl(O,F),$!=null&&we.push(Pl(O,$,I))),Je)break;O=O.return}0<we.length&&(V=new Q(V,he,null,i,Y),K.push({event:V,listeners:we}))}}if((o&7)===0){e:{if(V=t==="mouseover"||t==="pointerover",Q=t==="mouseout"||t==="pointerout",V&&i!==xf&&(he=i.relatedTarget||i.fromElement)&&(Aa(he)||he[Ra]))break e;if((Q||V)&&(V=Y.window===Y?Y:(V=Y.ownerDocument)?V.defaultView||V.parentWindow:window,Q?(he=i.relatedTarget||i.toElement,Q=U,he=he?Aa(he):null,he!==null&&(Je=c(he),we=he.tag,he!==Je||we!==5&&we!==27&&we!==6)&&(he=null)):(Q=null,he=U),Q!==he)){if(we=up,$="onMouseLeave",F="onMouseEnter",O="mouse",(t==="pointerout"||t==="pointerover")&&(we=dp,$="onPointerLeave",F="onPointerEnter",O="pointer"),Je=Q==null?V:ll(Q),I=he==null?V:ll(he),V=new we($,O+"leave",Q,i,Y),V.target=Je,V.relatedTarget=I,$=null,Aa(Y)===U&&(we=new we(F,O+"enter",he,i,Y),we.target=I,we.relatedTarget=Je,$=we),Je=$,Q&&he)t:{for(we=l3,F=Q,O=he,I=0,$=F;$;$=we($))I++;$=0;for(var xe=O;xe;xe=we(xe))$++;for(;0<I-$;)F=we(F),I--;for(;0<$-I;)O=we(O),$--;for(;I--;){if(F===O||O!==null&&F===O.alternate){we=F;break t}F=we(F),O=we(O)}we=null}else we=null;Q!==null&&r1(K,V,Q,we,!1),he!==null&&Je!==null&&r1(K,Je,he,we,!0)}}e:{if(V=U?ll(U):window,Q=V.nodeName&&V.nodeName.toLowerCase(),Q==="select"||Q==="input"&&V.type==="file")var Pe=xp;else if(bp(V))if(Sp)Pe=bw;else{Pe=mw;var ge=pw}else Q=V.nodeName,!Q||Q.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?U&&yf(U.elementType)&&(Pe=xp):Pe=vw;if(Pe&&(Pe=Pe(t,U))){yp(K,Pe,i,Y);break e}ge&&ge(t,V,U),t==="focusout"&&U&&V.type==="number"&&U.memoizedProps.value!=null&&bf(V,"number",V.value)}switch(ge=U?ll(U):window,t){case"focusin":(bp(ge)||ge.contentEditable==="true")&&(Ia=ge,Af=U,ml=null);break;case"focusout":ml=Af=Ia=null;break;case"mousedown":Df=!0;break;case"contextmenu":case"mouseup":case"dragend":Df=!1,Cp(K,i,Y);break;case"selectionchange":if(xw)break;case"keydown":case"keyup":Cp(K,i,Y)}var Ee;if(Cf)e:{switch(t){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else Pa?mp(t,i)&&(Me="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(Me="onCompositionStart");Me&&(hp&&i.locale!=="ko"&&(Pa||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&Pa&&(Ee=sp()):(rn=Y,Bf="value"in rn?rn.value:rn.textContent,Pa=!0)),ge=Oc(U,Me),0<ge.length&&(Me=new fp(Me,t,null,i,Y),K.push({event:Me,listeners:ge}),Ee?Me.data=Ee:(Ee=vp(i),Ee!==null&&(Me.data=Ee)))),(Ee=uw?fw(t,i):dw(t,i))&&(Me=Oc(U,"onBeforeInput"),0<Me.length&&(ge=new fp("onBeforeInput","beforeinput",null,i,Y),K.push({event:ge,listeners:Me}),ge.data=Ee)),r3(K,t,U,i,Y)}t1(K,o)})}function Pl(t,o,i){return{instance:t,listener:o,currentTarget:i}}function Oc(t,o){for(var i=o+"Capture",l=[];t!==null;){var f=t,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=sl(t,i),f!=null&&l.unshift(Pl(t,f,h)),f=sl(t,o),f!=null&&l.push(Pl(t,f,h))),t.tag===3)return l;t=t.return}return[]}function l3(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function r1(t,o,i,l,f){for(var h=o._reactName,b=[];i!==null&&i!==l;){var _=i,R=_.alternate,U=_.stateNode;if(_=_.tag,R!==null&&R===l)break;_!==5&&_!==26&&_!==27||U===null||(R=U,f?(U=sl(i,h),U!=null&&b.unshift(Pl(i,U,R))):f||(U=sl(i,h),U!=null&&b.push(Pl(i,U,R)))),i=i.return}b.length!==0&&t.push({event:o,listeners:b})}var s3=/\r\n?/g,c3=/\u0000|\uFFFD/g;function n1(t){return(typeof t=="string"?t:""+t).replace(s3,`
49
+ `).replace(c3,"")}function a1(t,o){return o=n1(o),n1(t)===o}function Ze(t,o,i,l,f,h){switch(i){case"children":typeof l=="string"?o==="body"||o==="textarea"&&l===""||Fa(t,l):(typeof l=="number"||typeof l=="bigint")&&o!=="body"&&Fa(t,""+l);break;case"className":Hs(t,"class",l);break;case"tabIndex":Hs(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Hs(t,i,l);break;case"style":ap(t,l,h);break;case"data":if(o!=="object"){Hs(t,"data",l);break}case"src":case"href":if(l===""&&(o!=="a"||i!=="href")){t.removeAttribute(i);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(i);break}l=Ps(""+l),t.setAttribute(i,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(i==="formAction"?(o!=="input"&&Ze(t,o,"name",f.name,f,null),Ze(t,o,"formEncType",f.formEncType,f,null),Ze(t,o,"formMethod",f.formMethod,f,null),Ze(t,o,"formTarget",f.formTarget,f,null)):(Ze(t,o,"encType",f.encType,f,null),Ze(t,o,"method",f.method,f,null),Ze(t,o,"target",f.target,f,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(i);break}l=Ps(""+l),t.setAttribute(i,l);break;case"onClick":l!=null&&(t.onclick=wr);break;case"onScroll":l!=null&&Ae("scroll",t);break;case"onScrollEnd":l!=null&&Ae("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(a(61));if(i=l.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}i=Ps(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,""+l):t.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":l===!0?t.setAttribute(i,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,l):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(i,l):t.removeAttribute(i);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(i):t.setAttribute(i,l);break;case"popover":Ae("beforetoggle",t),Ae("toggle",t),Fs(t,"popover",l);break;case"xlinkActuate":Sr(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Sr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Sr(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Sr(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Sr(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Sr(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Sr(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Sr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Sr(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Fs(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=q5.get(i)||i,Fs(t,i,l))}}function ah(t,o,i,l,f,h){switch(i){case"style":ap(t,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(a(61));if(i=l.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"children":typeof l=="string"?Fa(t,l):(typeof l=="number"||typeof l=="bigint")&&Fa(t,""+l);break;case"onScroll":l!=null&&Ae("scroll",t);break;case"onScrollEnd":l!=null&&Ae("scrollend",t);break;case"onClick":l!=null&&(t.onclick=wr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!$g.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),o=i.slice(2,f?i.length-7:void 0),h=t[Yt]||null,h=h!=null?h[i]:null,typeof h=="function"&&t.removeEventListener(o,h,f),typeof l=="function")){typeof h!="function"&&h!==null&&(i in t?t[i]=null:t.hasAttribute(i)&&t.removeAttribute(i)),t.addEventListener(o,l,f);break e}i in t?t[i]=l:l===!0?t.setAttribute(i,""):Fs(t,i,l)}}}function Ft(t,o,i){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",t),Ae("load",t);var l=!1,f=!1,h;for(h in i)if(i.hasOwnProperty(h)){var b=i[h];if(b!=null)switch(h){case"src":l=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,o));default:Ze(t,o,h,b,i,null)}}f&&Ze(t,o,"srcSet",i.srcSet,i,null),l&&Ze(t,o,"src",i.src,i,null);return;case"input":Ae("invalid",t);var _=h=b=f=null,R=null,U=null;for(l in i)if(i.hasOwnProperty(l)){var Y=i[l];if(Y!=null)switch(l){case"name":f=Y;break;case"type":b=Y;break;case"checked":R=Y;break;case"defaultChecked":U=Y;break;case"value":h=Y;break;case"defaultValue":_=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(a(137,o));break;default:Ze(t,o,l,Y,i,null)}}tp(t,h,_,R,U,b,f,!1);return;case"select":Ae("invalid",t),l=b=h=null;for(f in i)if(i.hasOwnProperty(f)&&(_=i[f],_!=null))switch(f){case"value":h=_;break;case"defaultValue":b=_;break;case"multiple":l=_;default:Ze(t,o,f,_,i,null)}o=h,i=b,t.multiple=!!l,o!=null?qa(t,!!l,o,!1):i!=null&&qa(t,!!l,i,!0);return;case"textarea":Ae("invalid",t),h=f=l=null;for(b in i)if(i.hasOwnProperty(b)&&(_=i[b],_!=null))switch(b){case"value":l=_;break;case"defaultValue":f=_;break;case"children":h=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(a(91));break;default:Ze(t,o,b,_,i,null)}rp(t,l,f,h);return;case"option":for(R in i)if(i.hasOwnProperty(R)&&(l=i[R],l!=null))switch(R){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ze(t,o,R,l,i,null)}return;case"dialog":Ae("beforetoggle",t),Ae("toggle",t),Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":Ae("load",t);break;case"video":case"audio":for(l=0;l<Ll.length;l++)Ae(Ll[l],t);break;case"image":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"embed":case"source":case"link":Ae("error",t),Ae("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(U in i)if(i.hasOwnProperty(U)&&(l=i[U],l!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,o));default:Ze(t,o,U,l,i,null)}return;default:if(yf(o)){for(Y in i)i.hasOwnProperty(Y)&&(l=i[Y],l!==void 0&&ah(t,o,Y,l,i,void 0));return}}for(_ in i)i.hasOwnProperty(_)&&(l=i[_],l!=null&&Ze(t,o,_,l,i,null))}function u3(t,o,i,l){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,b=null,_=null,R=null,U=null,Y=null;for(Q in i){var K=i[Q];if(i.hasOwnProperty(Q)&&K!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":R=K;default:l.hasOwnProperty(Q)||Ze(t,o,Q,null,l,K)}}for(var V in l){var Q=l[V];if(K=i[V],l.hasOwnProperty(V)&&(Q!=null||K!=null))switch(V){case"type":h=Q;break;case"name":f=Q;break;case"checked":U=Q;break;case"defaultChecked":Y=Q;break;case"value":b=Q;break;case"defaultValue":_=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(a(137,o));break;default:Q!==K&&Ze(t,o,V,Q,l,K)}}vf(t,b,_,R,U,Y,h,f);return;case"select":Q=b=_=V=null;for(h in i)if(R=i[h],i.hasOwnProperty(h)&&R!=null)switch(h){case"value":break;case"multiple":Q=R;default:l.hasOwnProperty(h)||Ze(t,o,h,null,l,R)}for(f in l)if(h=l[f],R=i[f],l.hasOwnProperty(f)&&(h!=null||R!=null))switch(f){case"value":V=h;break;case"defaultValue":_=h;break;case"multiple":b=h;default:h!==R&&Ze(t,o,f,h,l,R)}o=_,i=b,l=Q,V!=null?qa(t,!!i,V,!1):!!l!=!!i&&(o!=null?qa(t,!!i,o,!0):qa(t,!!i,i?[]:"",!1));return;case"textarea":Q=V=null;for(_ in i)if(f=i[_],i.hasOwnProperty(_)&&f!=null&&!l.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ze(t,o,_,null,l,f)}for(b in l)if(f=l[b],h=i[b],l.hasOwnProperty(b)&&(f!=null||h!=null))switch(b){case"value":V=f;break;case"defaultValue":Q=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==h&&Ze(t,o,b,f,l,h)}op(t,V,Q);return;case"option":for(var he in i)if(V=i[he],i.hasOwnProperty(he)&&V!=null&&!l.hasOwnProperty(he))switch(he){case"selected":t.selected=!1;break;default:Ze(t,o,he,null,l,V)}for(R in l)if(V=l[R],Q=i[R],l.hasOwnProperty(R)&&V!==Q&&(V!=null||Q!=null))switch(R){case"selected":t.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:Ze(t,o,R,V,l,Q)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in i)V=i[we],i.hasOwnProperty(we)&&V!=null&&!l.hasOwnProperty(we)&&Ze(t,o,we,null,l,V);for(U in l)if(V=l[U],Q=i[U],l.hasOwnProperty(U)&&V!==Q&&(V!=null||Q!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(a(137,o));break;default:Ze(t,o,U,V,l,Q)}return;default:if(yf(o)){for(var Je in i)V=i[Je],i.hasOwnProperty(Je)&&V!==void 0&&!l.hasOwnProperty(Je)&&ah(t,o,Je,void 0,l,V);for(Y in l)V=l[Y],Q=i[Y],!l.hasOwnProperty(Y)||V===Q||V===void 0&&Q===void 0||ah(t,o,Y,V,l,Q);return}}for(var F in i)V=i[F],i.hasOwnProperty(F)&&V!=null&&!l.hasOwnProperty(F)&&Ze(t,o,F,null,l,V);for(K in l)V=l[K],Q=i[K],!l.hasOwnProperty(K)||V===Q||V==null&&Q==null||Ze(t,o,K,V,l,Q)}function i1(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function f3(){if(typeof performance.getEntriesByType=="function"){for(var t=0,o=0,i=performance.getEntriesByType("resource"),l=0;l<i.length;l++){var f=i[l],h=f.transferSize,b=f.initiatorType,_=f.duration;if(h&&_&&i1(b)){for(b=0,_=f.responseEnd,l+=1;l<i.length;l++){var R=i[l],U=R.startTime;if(U>_)break;var Y=R.transferSize,K=R.initiatorType;Y&&i1(K)&&(R=R.responseEnd,b+=Y*(R<_?1:(_-U)/(R-U)))}if(--l,o+=8*(h+b)/(f.duration/1e3),t++,10<t)break}}if(0<t)return o/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ih=null,lh=null;function Mc(t){return t.nodeType===9?t:t.ownerDocument}function l1(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 s1(t,o){if(t===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&o==="foreignObject"?0:t}function sh(t,o){return t==="textarea"||t==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var ch=null;function d3(){var t=window.event;return t&&t.type==="popstate"?t===ch?!1:(ch=t,!0):(ch=null,!1)}var c1=typeof setTimeout=="function"?setTimeout:void 0,h3=typeof clearTimeout=="function"?clearTimeout:void 0,u1=typeof Promise=="function"?Promise:void 0,g3=typeof queueMicrotask=="function"?queueMicrotask:typeof u1<"u"?function(t){return u1.resolve(null).then(t).catch(p3)}:c1;function p3(t){setTimeout(function(){throw t})}function Sn(t){return t==="head"}function f1(t,o){var i=o,l=0;do{var f=i.nextSibling;if(t.removeChild(i),f&&f.nodeType===8)if(i=f.data,i==="/$"||i==="/&"){if(l===0){t.removeChild(f),pi(o);return}l--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")l++;else if(i==="html")Il(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,Il(i);for(var h=i.firstChild;h;){var b=h.nextSibling,_=h.nodeName;h[il]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&h.rel.toLowerCase()==="stylesheet"||i.removeChild(h),h=b}}else i==="body"&&Il(t.ownerDocument.body);i=f}while(i);pi(o)}function d1(t,o){var i=t;t=0;do{var l=i.nextSibling;if(i.nodeType===1?o?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(o?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),l&&l.nodeType===8)if(i=l.data,i==="/$"){if(t===0)break;t--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||t++;i=l}while(i)}function uh(t){var o=t.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var i=o;switch(o=o.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":uh(i),pf(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function m3(t,o,i,l){for(;t.nodeType===1;){var f=i;if(t.nodeName.toLowerCase()!==o.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[il])switch(o){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==f.rel||t.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||t.getAttribute("title")!==(f.title==null?null:f.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(o==="input"&&t.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=Mo(t.nextSibling),t===null)break}return null}function v3(t,o,i){if(o==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=Mo(t.nextSibling),t===null))return null;return t}function h1(t,o){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!o||(t=Mo(t.nextSibling),t===null))return null;return t}function fh(t){return t.data==="$?"||t.data==="$~"}function dh(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function b3(t,o){var i=t.ownerDocument;if(t.data==="$~")t._reactRetry=o;else if(t.data!=="$?"||i.readyState!=="loading")o();else{var l=function(){o(),i.removeEventListener("DOMContentLoaded",l)};i.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Mo(t){for(;t!=null;t=t.nextSibling){var o=t.nodeType;if(o===1||o===3)break;if(o===8){if(o=t.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return t}var hh=null;function g1(t){t=t.nextSibling;for(var o=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(o===0)return Mo(t.nextSibling);o--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||o++}t=t.nextSibling}return null}function p1(t){t=t.previousSibling;for(var o=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(o===0)return t;o--}else i!=="/$"&&i!=="/&"||o++}t=t.previousSibling}return null}function m1(t,o,i){switch(o=Mc(i),t){case"html":if(t=o.documentElement,!t)throw Error(a(452));return t;case"head":if(t=o.head,!t)throw Error(a(453));return t;case"body":if(t=o.body,!t)throw Error(a(454));return t;default:throw Error(a(451))}}function Il(t){for(var o=t.attributes;o.length;)t.removeAttributeNode(o[0]);pf(t)}var qo=new Map,v1=new Set;function qc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Fr=J.d;J.d={f:y3,r:x3,D:S3,C:w3,L:k3,m:B3,X:z3,S:_3,M:T3};function y3(){var t=Fr.f(),o=Nc();return t||o}function x3(t){var o=Da(t);o!==null&&o.tag===5&&o.type==="form"?Dm(o):Fr.r(t)}var di=typeof document>"u"?null:document;function b1(t,o,i){var l=di;if(l&&typeof o=="string"&&o){var f=Co(o);f='link[rel="'+t+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),v1.has(f)||(v1.add(f),t={rel:t,crossOrigin:i,href:o},l.querySelector(f)===null&&(o=l.createElement("link"),Ft(o,"link",t),Et(o),l.head.appendChild(o)))}}function S3(t){Fr.D(t),b1("dns-prefetch",t,null)}function w3(t,o){Fr.C(t,o),b1("preconnect",t,o)}function k3(t,o,i){Fr.L(t,o,i);var l=di;if(l&&t&&o){var f='link[rel="preload"][as="'+Co(o)+'"]';o==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Co(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Co(i.imageSizes)+'"]')):f+='[href="'+Co(t)+'"]';var h=f;switch(o){case"style":h=hi(t);break;case"script":h=gi(t)}qo.has(h)||(t=v({rel:"preload",href:o==="image"&&i&&i.imageSrcSet?void 0:t,as:o},i),qo.set(h,t),l.querySelector(f)!==null||o==="style"&&l.querySelector(Ul(h))||o==="script"&&l.querySelector(Vl(h))||(o=l.createElement("link"),Ft(o,"link",t),Et(o),l.head.appendChild(o)))}}function B3(t,o){Fr.m(t,o);var i=di;if(i&&t){var l=o&&typeof o.as=="string"?o.as:"script",f='link[rel="modulepreload"][as="'+Co(l)+'"][href="'+Co(t)+'"]',h=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=gi(t)}if(!qo.has(h)&&(t=v({rel:"modulepreload",href:t},o),qo.set(h,t),i.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Vl(h)))return}l=i.createElement("link"),Ft(l,"link",t),Et(l),i.head.appendChild(l)}}}function _3(t,o,i){Fr.S(t,o,i);var l=di;if(l&&t){var f=Oa(l).hoistableStyles,h=hi(t);o=o||"default";var b=f.get(h);if(!b){var _={loading:0,preload:null};if(b=l.querySelector(Ul(h)))_.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":o},i),(i=qo.get(h))&&gh(t,i);var R=b=l.createElement("link");Et(R),Ft(R,"link",t),R._p=new Promise(function(U,Y){R.onload=U,R.onerror=Y}),R.addEventListener("load",function(){_.loading|=1}),R.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Fc(b,o,l)}b={type:"stylesheet",instance:b,count:1,state:_},f.set(h,b)}}}function z3(t,o){Fr.X(t,o);var i=di;if(i&&t){var l=Oa(i).hoistableScripts,f=gi(t),h=l.get(f);h||(h=i.querySelector(Vl(f)),h||(t=v({src:t,async:!0},o),(o=qo.get(f))&&ph(t,o),h=i.createElement("script"),Et(h),Ft(h,"link",t),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function T3(t,o){Fr.M(t,o);var i=di;if(i&&t){var l=Oa(i).hoistableScripts,f=gi(t),h=l.get(f);h||(h=i.querySelector(Vl(f)),h||(t=v({src:t,async:!0,type:"module"},o),(o=qo.get(f))&&ph(t,o),h=i.createElement("script"),Et(h),Ft(h,"link",t),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function y1(t,o,i,l){var f=(f=ke.current)?qc(f):null;if(!f)throw Error(a(446));switch(t){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(o=hi(i.href),i=Oa(f).hoistableStyles,l=i.get(o),l||(l={type:"style",instance:null,count:0,state:null},i.set(o,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){t=hi(i.href);var h=Oa(f).hoistableStyles,b=h.get(t);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,b),(h=f.querySelector(Ul(t)))&&!h._p&&(b.instance=h,b.state.loading=5),qo.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},qo.set(t,i),h||N3(f,t,i,b.state))),o&&l===null)throw Error(a(528,""));return b}if(o&&l!==null)throw Error(a(529,""));return null;case"script":return o=i.async,i=i.src,typeof i=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=gi(i),i=Oa(f).hoistableScripts,l=i.get(o),l||(l={type:"script",instance:null,count:0,state:null},i.set(o,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function hi(t){return'href="'+Co(t)+'"'}function Ul(t){return'link[rel="stylesheet"]['+t+"]"}function x1(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function N3(t,o,i,l){t.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=t.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),Ft(o,"link",i),Et(o),t.head.appendChild(o))}function gi(t){return'[src="'+Co(t)+'"]'}function Vl(t){return"script[async]"+t}function S1(t,o,i){if(o.count++,o.instance===null)switch(o.type){case"style":var l=t.querySelector('style[data-href~="'+Co(i.href)+'"]');if(l)return o.instance=l,Et(l),l;var f=v({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Et(l),Ft(l,"style",f),Fc(l,i.precedence,t),o.instance=l;case"stylesheet":f=hi(i.href);var h=t.querySelector(Ul(f));if(h)return o.state.loading|=4,o.instance=h,Et(h),h;l=x1(i),(f=qo.get(f))&&gh(l,f),h=(t.ownerDocument||t).createElement("link"),Et(h);var b=h;return b._p=new Promise(function(_,R){b.onload=_,b.onerror=R}),Ft(h,"link",l),o.state.loading|=4,Fc(h,i.precedence,t),o.instance=h;case"script":return h=gi(i.src),(f=t.querySelector(Vl(h)))?(o.instance=f,Et(f),f):(l=i,(f=qo.get(h))&&(l=v({},i),ph(l,f)),t=t.ownerDocument||t,f=t.createElement("script"),Et(f),Ft(f,"link",l),t.head.appendChild(f),o.instance=f);case"void":return null;default:throw Error(a(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(l=o.instance,o.state.loading|=4,Fc(l,i.precedence,t));return o.instance}function Fc(t,o,i){for(var l=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,h=f,b=0;b<l.length;b++){var _=l[b];if(_.dataset.precedence===o)h=_;else if(h!==f)break}h?h.parentNode.insertBefore(t,h.nextSibling):(o=i.nodeType===9?i.head:i,o.insertBefore(t,o.firstChild))}function gh(t,o){t.crossOrigin==null&&(t.crossOrigin=o.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=o.referrerPolicy),t.title==null&&(t.title=o.title)}function ph(t,o){t.crossOrigin==null&&(t.crossOrigin=o.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=o.referrerPolicy),t.integrity==null&&(t.integrity=o.integrity)}var Hc=null;function w1(t,o,i){if(Hc===null){var l=new Map,f=Hc=new Map;f.set(i,l)}else f=Hc,l=f.get(i),l||(l=new Map,f.set(i,l));if(l.has(t))return l;for(l.set(t,null),i=i.getElementsByTagName(t),f=0;f<i.length;f++){var h=i[f];if(!(h[il]||h[Dt]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var b=h.getAttribute(o)||"";b=t+b;var _=l.get(b);_?_.push(h):l.set(b,[h])}}return l}function k1(t,o,i){t=t.ownerDocument||t,t.head.insertBefore(i,o==="title"?t.querySelector("head > title"):null)}function C3(t,o,i){if(i===1||o.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return t=o.disabled,typeof o.precedence=="string"&&t==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function B1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function E3(t,o,i,l){if(i.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var f=hi(l.href),h=o.querySelector(Ul(f));if(h){o=h._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(t.count++,t=Lc.bind(t),o.then(t,t)),i.state.loading|=4,i.instance=h,Et(h);return}h=o.ownerDocument||o,l=x1(l),(f=qo.get(f))&&gh(l,f),h=h.createElement("link"),Et(h);var b=h;b._p=new Promise(function(_,R){b.onload=_,b.onerror=R}),Ft(h,"link",l),i.instance=h}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,o),(o=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=Lc.bind(t),o.addEventListener("load",i),o.addEventListener("error",i))}}var mh=0;function j3(t,o){return t.stylesheets&&t.count===0&&Ic(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var l=setTimeout(function(){if(t.stylesheets&&Ic(t,t.stylesheets),t.unsuspend){var h=t.unsuspend;t.unsuspend=null,h()}},6e4+o);0<t.imgBytes&&mh===0&&(mh=62500*f3());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Ic(t,t.stylesheets),t.unsuspend)){var h=t.unsuspend;t.unsuspend=null,h()}},(t.imgBytes>mh?50:800)+o);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function Lc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ic(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Pc=null;function Ic(t,o){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Pc=new Map,o.forEach(R3,t),Pc=null,Lc.call(t))}function R3(t,o){if(!(o.state.loading&4)){var i=Pc.get(t);if(i)var l=i.get(null);else{i=new Map,Pc.set(t,i);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var b=f[h];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(i.set(b.dataset.precedence,b),l=b)}l&&i.set(null,l)}f=o.instance,b=f.getAttribute("data-precedence"),h=i.get(b)||l,h===l&&i.set(null,f),i.set(b,f),this.count++,l=Lc.bind(this),f.addEventListener("load",l),f.addEventListener("error",l),h?h.parentNode.insertBefore(f,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),o.state.loading|=4}}var Gl={$$typeof:N,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function A3(t,o,i,l,f,h,b,_,R){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ff(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ff(0),this.hiddenUpdates=ff(null),this.identifierPrefix=l,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function _1(t,o,i,l,f,h,b,_,R,U,Y,K){return t=new A3(t,o,i,b,R,U,Y,K,_),o=1,h===!0&&(o|=24),h=ho(3,null,null,o),t.current=h,h.stateNode=t,o=Yf(),o.refCount++,t.pooledCache=o,o.refCount++,h.memoizedState={element:l,isDehydrated:i,cache:o},Jf(h),t}function z1(t){return t?(t=Ga,t):Ga}function T1(t,o,i,l,f,h){f=z1(f),l.context===null?l.context=f:l.pendingContext=f,l=un(o),l.payload={element:i},h=h===void 0?null:h,h!==null&&(l.callback=h),i=fn(t,l,o),i!==null&&(to(i,t,o),kl(i,t,o))}function N1(t,o){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<o?i:o}}function vh(t,o){N1(t,o),(t=t.alternate)&&N1(t,o)}function C1(t){if(t.tag===13||t.tag===31){var o=ea(t,67108864);o!==null&&to(o,t,67108864),vh(t,67108864)}}function E1(t){if(t.tag===13||t.tag===31){var o=bo();o=df(o);var i=ea(t,o);i!==null&&to(i,t,o),vh(t,o)}}var Uc=!0;function D3(t,o,i,l){var f=P.T;P.T=null;var h=J.p;try{J.p=2,bh(t,o,i,l)}finally{J.p=h,P.T=f}}function O3(t,o,i,l){var f=P.T;P.T=null;var h=J.p;try{J.p=8,bh(t,o,i,l)}finally{J.p=h,P.T=f}}function bh(t,o,i,l){if(Uc){var f=yh(l);if(f===null)nh(t,o,l,Vc,i),R1(t,l);else if(q3(f,t,o,i,l))l.stopPropagation();else if(R1(t,l),o&4&&-1<M3.indexOf(t)){for(;f!==null;){var h=Da(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var b=Yn(h.pendingLanes);if(b!==0){var _=h;for(_.pendingLanes|=2,_.entangledLanes|=2;b;){var R=1<<31-uo(b);_.entanglements[1]|=R,b&=~R}dr(h),(Ge&6)===0&&(zc=so()+500,Hl(0))}}break;case 31:case 13:_=ea(h,2),_!==null&&to(_,h,2),Nc(),vh(h,2)}if(h=yh(l),h===null&&nh(t,o,l,Vc,i),h===f)break;f=h}f!==null&&l.stopPropagation()}else nh(t,o,l,null,i)}}function yh(t){return t=Sf(t),xh(t)}var Vc=null;function xh(t){if(Vc=null,t=Aa(t),t!==null){var o=c(t);if(o===null)t=null;else{var i=o.tag;if(i===13){if(t=u(o),t!==null)return t;t=null}else if(i===31){if(t=d(o),t!==null)return t;t=null}else if(i===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;t=null}else o!==t&&(t=null)}}return Vc=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(S5()){case Hg:return 2;case Lg:return 8;case As:case w5:return 32;case Pg:return 268435456;default:return 32}default:return 32}}var Sh=!1,wn=null,kn=null,Bn=null,Xl=new Map,Wl=new Map,_n=[],M3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function R1(t,o){switch(t){case"focusin":case"focusout":wn=null;break;case"dragenter":case"dragleave":kn=null;break;case"mouseover":case"mouseout":Bn=null;break;case"pointerover":case"pointerout":Xl.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wl.delete(o.pointerId)}}function Ql(t,o,i,l,f,h){return t===null||t.nativeEvent!==h?(t={blockedOn:o,domEventName:i,eventSystemFlags:l,nativeEvent:h,targetContainers:[f]},o!==null&&(o=Da(o),o!==null&&C1(o)),t):(t.eventSystemFlags|=l,o=t.targetContainers,f!==null&&o.indexOf(f)===-1&&o.push(f),t)}function q3(t,o,i,l,f){switch(o){case"focusin":return wn=Ql(wn,t,o,i,l,f),!0;case"dragenter":return kn=Ql(kn,t,o,i,l,f),!0;case"mouseover":return Bn=Ql(Bn,t,o,i,l,f),!0;case"pointerover":var h=f.pointerId;return Xl.set(h,Ql(Xl.get(h)||null,t,o,i,l,f)),!0;case"gotpointercapture":return h=f.pointerId,Wl.set(h,Ql(Wl.get(h)||null,t,o,i,l,f)),!0}return!1}function A1(t){var o=Aa(t.target);if(o!==null){var i=c(o);if(i!==null){if(o=i.tag,o===13){if(o=u(i),o!==null){t.blockedOn=o,Wg(t.priority,function(){E1(i)});return}}else if(o===31){if(o=d(i),o!==null){t.blockedOn=o,Wg(t.priority,function(){E1(i)});return}}else if(o===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gc(t){if(t.blockedOn!==null)return!1;for(var o=t.targetContainers;0<o.length;){var i=yh(t.nativeEvent);if(i===null){i=t.nativeEvent;var l=new i.constructor(i.type,i);xf=l,i.target.dispatchEvent(l),xf=null}else return o=Da(i),o!==null&&C1(o),t.blockedOn=i,!1;o.shift()}return!0}function D1(t,o,i){Gc(t)&&i.delete(o)}function F3(){Sh=!1,wn!==null&&Gc(wn)&&(wn=null),kn!==null&&Gc(kn)&&(kn=null),Bn!==null&&Gc(Bn)&&(Bn=null),Xl.forEach(D1),Wl.forEach(D1)}function Xc(t,o){t.blockedOn===o&&(t.blockedOn=null,Sh||(Sh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,F3)))}var Wc=null;function O1(t){Wc!==t&&(Wc=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wc===t&&(Wc=null);for(var o=0;o<t.length;o+=3){var i=t[o],l=t[o+1],f=t[o+2];if(typeof l!="function"){if(xh(l||i)===null)continue;break}var h=Da(i);h!==null&&(t.splice(o,3),o-=3,yd(h,{pending:!0,data:f,method:i.method,action:l},l,f))}}))}function pi(t){function o(R){return Xc(R,t)}wn!==null&&Xc(wn,t),kn!==null&&Xc(kn,t),Bn!==null&&Xc(Bn,t),Xl.forEach(o),Wl.forEach(o);for(var i=0;i<_n.length;i++){var l=_n[i];l.blockedOn===t&&(l.blockedOn=null)}for(;0<_n.length&&(i=_n[0],i.blockedOn===null);)A1(i),i.blockedOn===null&&_n.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(l=0;l<i.length;l+=3){var f=i[l],h=i[l+1],b=f[Yt]||null;if(typeof h=="function")b||O1(i);else if(b){var _=null;if(h&&h.hasAttribute("formAction")){if(f=h,b=h[Yt]||null)_=b.formAction;else if(xh(f)!==null)continue}else _=b.action;typeof _=="function"?i[l+1]=_:(i.splice(l,3),l-=3),O1(i)}}}function M1(){function t(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(b){return f=b})},focusReset:"manual",scroll:"manual"})}function o(){f!==null&&(f(),f=null),l||setTimeout(i,20)}function i(){if(!l&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,f=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(i,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),f!==null&&(f(),f=null)}}}function wh(t){this._internalRoot=t}Qc.prototype.render=wh.prototype.render=function(t){var o=this._internalRoot;if(o===null)throw Error(a(409));var i=o.current,l=bo();T1(i,l,t,o,null,null)},Qc.prototype.unmount=wh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var o=t.containerInfo;T1(t.current,2,null,t,null,null),Nc(),o[Ra]=null}};function Qc(t){this._internalRoot=t}Qc.prototype.unstable_scheduleHydration=function(t){if(t){var o=Xg();t={blockedOn:null,target:t,priority:o};for(var i=0;i<_n.length&&o!==0&&o<_n[i].priority;i++);_n.splice(i,0,t),i===0&&A1(t)}};var q1=r.version;if(q1!=="19.2.6")throw Error(a(527,q1,"19.2.6"));J.findDOMNode=function(t){var o=t._reactInternals;if(o===void 0)throw typeof t.render=="function"?Error(a(188)):(t=Object.keys(t).join(","),Error(a(268,t)));return t=p(o),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var H3={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yc.isDisabled&&Yc.supportsFiber)try{rl=Yc.inject(H3),co=Yc}catch{}}return $l.createRoot=function(t,o){if(!s(t))throw Error(a(299));var i=!1,l="",f=Vm,h=Gm,b=Xm;return o!=null&&(o.unstable_strictMode===!0&&(i=!0),o.identifierPrefix!==void 0&&(l=o.identifierPrefix),o.onUncaughtError!==void 0&&(f=o.onUncaughtError),o.onCaughtError!==void 0&&(h=o.onCaughtError),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=_1(t,1,!1,null,null,i,l,null,f,h,b,M1),t[Ra]=o.current,rh(t),new wh(o)},$l.hydrateRoot=function(t,o,i){if(!s(t))throw Error(a(299));var l=!1,f="",h=Vm,b=Gm,_=Xm,R=null;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(_=i.onRecoverableError),i.formState!==void 0&&(R=i.formState)),o=_1(t,1,!0,o,i??null,l,f,R,h,b,_,M1),o.context=z1(null),i=o.current,l=bo(),l=df(l),f=un(l),f.callback=null,fn(i,f,l),i=l,o.current.lanes=i,al(o,i),dr(o),t[Ra]=o.current,rh(t),new Qc(o)},$l.version="19.2.6",$l}var Q1;function K3(){if(Q1)return zh.exports;Q1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),zh.exports=$3(),zh.exports}var Z3=K3();/**
50
50
  * react-router v7.15.0
51
51
  *
52
52
  * Copyright (c) Remix Software Inc.
@@ -55,73 +55,73 @@ Error generating stack: `+l.message+`
55
55
  * LICENSE.md file in the root directory of this source tree.
56
56
  *
57
57
  * @license MIT
58
- */var Q1="popstate";function Y1(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function J3(e={}){function r(a,s){var p;let c=(p=s.state)==null?void 0:p.masked,{pathname:u,search:d,hash:g}=c||a.location;return e0("",{pathname:u,search:d,hash:g},s.state&&s.state.usr||null,s.state&&s.state.key||"default",c?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function n(a,s){return typeof s=="string"?s:as(s)}return tk(r,n,null,e)}function it(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function nr(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function ek(){return Math.random().toString(36).substring(2,10)}function $1(e,r){return{usr:e.state,key:e.key,idx:r,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function e0(e,r,n=null,a,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?Gi(r):r,state:n,key:r&&r.key||a||ek(),mask:s}}function as({pathname:e="/",search:r="",hash:n=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Gi(e){let r={};if(e){let n=e.indexOf("#");n>=0&&(r.hash=e.substring(n),e=e.substring(0,n));let a=e.indexOf("?");a>=0&&(r.search=e.substring(a),e=e.substring(0,a)),e&&(r.pathname=e)}return r}function tk(e,r,n,a={}){let{window:s=document.defaultView,v5Compat:c=!1}=a,u=s.history,d="POP",g=null,p=m();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function m(){return(u.state||{idx:null}).idx}function v(){d="POP";let z=m(),T=z==null?null:z-p;p=z,g&&g({action:d,location:x.location,delta:T})}function S(z,T){d="PUSH";let j=Y1(z)?z:e0(x.location,z,T);p=m()+1;let N=$1(j,p),C=x.createHref(j.mask||j);try{u.pushState(N,"",C)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(C)}c&&g&&g({action:d,location:x.location,delta:1})}function k(z,T){d="REPLACE";let j=Y1(z)?z:e0(x.location,z,T);p=m();let N=$1(j,p),C=x.createHref(j.mask||j);u.replaceState(N,"",C),c&&g&&g({action:d,location:x.location,delta:0})}function w(z){return ok(z)}let x={get action(){return d},get location(){return e(s,u)},listen(z){if(g)throw new Error("A history only accepts one active listener");return s.addEventListener(Q1,v),g=z,()=>{s.removeEventListener(Q1,v),g=null}},createHref(z){return r(s,z)},createURL:w,encodeLocation(z){let T=w(z);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:S,replace:k,go(z){return u.go(z)}};return x}function ok(e,r=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),it(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:as(e);return a=a.replace(/ $/,"%20"),!r&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function Vy(e,r,n="/"){return rk(e,r,n,!1)}function rk(e,r,n,a,s){let c=typeof r=="string"?Gi(r):r,u=Wr(c.pathname||"/",n);if(u==null)return null;let d=nk(e),g=null,p=mk(u);for(let m=0;g==null&&m<d.length;++m)g=gk(d[m],p,a);return g}function nk(e){let r=Gy(e);return ak(r),r}function Gy(e,r=[],n=[],a="",s=!1){let c=(u,d,g=s,p)=>{let m={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(a)&&g)return;it(m.relativePath.startsWith(a),`Absolute route path "${m.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(a.length)}let v=or([a,m.relativePath]),S=n.concat(m);u.children&&u.children.length>0&&(it(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Gy(u.children,r,S,v,g)),!(u.path==null&&!u.index)&&r.push({path:v,score:dk(v,u.index),routesMeta:S})};return e.forEach((u,d)=>{var g;if(u.path===""||!((g=u.path)!=null&&g.includes("?")))c(u,d);else for(let p of Xy(u.path))c(u,d,!0,p)}),r}function Xy(e){let r=e.split("/");if(r.length===0)return[];let[n,...a]=r,s=n.endsWith("?"),c=n.replace(/\?$/,"");if(a.length===0)return s?[c,""]:[c];let u=Xy(a.join("/")),d=[];return d.push(...u.map(g=>g===""?c:[c,g].join("/"))),s&&d.push(...u),d.map(g=>e.startsWith("/")&&g===""?"/":g)}function ak(e){e.sort((r,n)=>r.score!==n.score?n.score-r.score:hk(r.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var ik=/^:[\w-]+$/,lk=3,sk=2,ck=1,uk=10,fk=-2,K1=e=>e==="*";function dk(e,r){let n=e.split("/"),a=n.length;return n.some(K1)&&(a+=fk),r&&(a+=sk),n.filter(s=>!K1(s)).reduce((s,c)=>s+(ik.test(c)?lk:c===""?ck:uk),a)}function hk(e,r){return e.length===r.length&&e.slice(0,-1).every((a,s)=>a===r[s])?e[e.length-1]-r[r.length-1]:0}function gk(e,r,n=!1){let{routesMeta:a}=e,s={},c="/",u=[];for(let d=0;d<a.length;++d){let g=a[d],p=d===a.length-1,m=c==="/"?r:r.slice(c.length)||"/",v=vu({path:g.relativePath,caseSensitive:g.caseSensitive,end:p},m),S=g.route;if(!v&&p&&n&&!a[a.length-1].route.index&&(v=vu({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},m)),!v)return null;Object.assign(s,v.params),u.push({params:s,pathname:or([c,v.pathname]),pathnameBase:xk(or([c,v.pathnameBase])),route:S}),v.pathnameBase!=="/"&&(c=or([c,v.pathnameBase]))}return u}function vu(e,r){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=pk(e.path,e.caseSensitive,e.end),s=r.match(n);if(!s)return null;let c=s[0],u=c.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:a.reduce((p,{paramName:m,isOptional:v},S)=>{if(m==="*"){let w=d[S]||"";u=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const k=d[S];return v&&!k?p[m]=void 0:p[m]=(k||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:e}}function pk(e,r=!1,n=!0){nr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,g,p,m)=>{if(a.push({paramName:d,isOptional:g!=null}),g){let v=m.charAt(p+u.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),a]}function mk(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return nr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}function Wr(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let n=r.endsWith("/")?r.length-1:r.length,a=e.charAt(n);return a&&a!=="/"?null:e.slice(n)||"/"}var vk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function bk(e,r="/"){let{pathname:n,search:a="",hash:s=""}=typeof e=="string"?Gi(e):e,c;return n?(n=Wy(n),n.startsWith("/")?c=Z1(n.substring(1),"/"):c=Z1(n,r)):c=r,{pathname:c,search:Sk(a),hash:wk(s)}}function Z1(e,r){let n=bu(r).split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Eh(e,r,n,a){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function yk(e){return e.filter((r,n)=>n===0||r.route.path&&r.route.path.length>0)}function q0(e){let r=yk(e);return r.map((n,a)=>a===r.length-1?n.pathname:n.pathnameBase)}function Du(e,r,n,a=!1){let s;typeof e=="string"?s=Gi(e):(s={...e},it(!s.pathname||!s.pathname.includes("?"),Eh("?","pathname","search",s)),it(!s.pathname||!s.pathname.includes("#"),Eh("#","pathname","hash",s)),it(!s.search||!s.search.includes("#"),Eh("#","search","hash",s)));let c=e===""||s.pathname==="",u=c?"/":s.pathname,d;if(u==null)d=n;else{let v=r.length-1;if(!a&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),v-=1;s.pathname=S.join("/")}d=v>=0?r[v]:"/"}let g=bk(s,d),p=u&&u!=="/"&&u.endsWith("/"),m=(c||u===".")&&n.endsWith("/");return!g.pathname.endsWith("/")&&(p||m)&&(g.pathname+="/"),g}var Wy=e=>e.replace(/\/\/+/g,"/"),or=e=>Wy(e.join("/")),bu=e=>e.replace(/\/+$/,""),xk=e=>bu(e).replace(/^\/*/,"/"),Sk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,wk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,kk=class{constructor(e,r,n,a=!1){this.status=e,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Bk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function _k(e){let r=e.map(n=>n.route.path).filter(Boolean);return or(r)||"/"}var Qy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Yy(e,r){let n=e;if(typeof n!="string"||!vk.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,s=!1;if(Qy)try{let c=new URL(window.location.href),u=n.startsWith("//")?new URL(c.protocol+n):new URL(n),d=Wr(u.pathname,r);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:s=!0}catch{nr(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:s,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var $y=["POST","PUT","PATCH","DELETE"];new Set($y);var zk=["GET",...$y];new Set(zk);var Xi=y.createContext(null);Xi.displayName="DataRouter";var Ou=y.createContext(null);Ou.displayName="DataRouterState";var Ky=y.createContext(!1);function Tk(){return y.useContext(Ky)}var Zy=y.createContext({isTransitioning:!1});Zy.displayName="ViewTransition";var Nk=y.createContext(new Map);Nk.displayName="Fetchers";var Ck=y.createContext(null);Ck.displayName="Await";var zo=y.createContext(null);zo.displayName="Navigation";var xs=y.createContext(null);xs.displayName="Location";var lr=y.createContext({outlet:null,matches:[],isDataRoute:!1});lr.displayName="Route";var F0=y.createContext(null);F0.displayName="RouteError";var Jy="REACT_ROUTER_ERROR",Ek="REDIRECT",jk="ROUTE_ERROR_RESPONSE";function Rk(e){if(e.startsWith(`${Jy}:${Ek}:{`))try{let r=JSON.parse(e.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function Ak(e){if(e.startsWith(`${Jy}:${jk}:{`))try{let r=JSON.parse(e.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new kk(r.status,r.statusText,r.data)}catch{}}function Dk(e,{relative:r}={}){it(Wi(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=y.useContext(zo),{hash:s,pathname:c,search:u}=ws(e,{relative:r}),d=c;return n!=="/"&&(d=c==="/"?n:or([n,c])),a.createHref({pathname:d,search:u,hash:s})}function Wi(){return y.useContext(xs)!=null}function Go(){return it(Wi(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(xs).location}var ex="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function tx(e){y.useContext(zo).static||y.useLayoutEffect(e)}function Ss(){let{isDataRoute:e}=y.useContext(lr);return e?Qk():Ok()}function Ok(){it(Wi(),"useNavigate() may be used only in the context of a <Router> component.");let e=y.useContext(Xi),{basename:r,navigator:n}=y.useContext(zo),{matches:a}=y.useContext(lr),{pathname:s}=Go(),c=JSON.stringify(q0(a)),u=y.useRef(!1);return tx(()=>{u.current=!0}),y.useCallback((g,p={})=>{if(nr(u.current,ex),!u.current)return;if(typeof g=="number"){n.go(g);return}let m=Du(g,JSON.parse(c),s,p.relative==="path");e==null&&r!=="/"&&(m.pathname=m.pathname==="/"?r:or([r,m.pathname])),(p.replace?n.replace:n.push)(m,p.state,p)},[r,n,c,s,e])}y.createContext(null);function Mk(){let{matches:e}=y.useContext(lr),r=e[e.length-1];return(r==null?void 0:r.params)??{}}function ws(e,{relative:r}={}){let{matches:n}=y.useContext(lr),{pathname:a}=Go(),s=JSON.stringify(q0(n));return y.useMemo(()=>Du(e,JSON.parse(s),a,r==="path"),[e,s,a,r])}function qk(e,r){return ox(e,r)}function ox(e,r,n){var z;it(Wi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=y.useContext(zo),{matches:s}=y.useContext(lr),c=s[s.length-1],u=c?c.params:{},d=c?c.pathname:"/",g=c?c.pathnameBase:"/",p=c&&c.route;{let T=p&&p.path||"";nx(d,!p||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${T}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
58
+ */var Y1="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 J3(e={}){function r(a,s){var p;let c=(p=s.state)==null?void 0:p.masked,{pathname:u,search:d,hash:g}=c||a.location;return e0("",{pathname:u,search:d,hash:g},s.state&&s.state.usr||null,s.state&&s.state.key||"default",c?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function n(a,s){return typeof s=="string"?s:ls(s)}return tk(r,n,null,e)}function it(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function nr(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function ek(){return Math.random().toString(36).substring(2,10)}function K1(e,r){return{usr:e.state,key:e.key,idx:r,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function e0(e,r,n=null,a,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?Wi(r):r,state:n,key:r&&r.key||a||ek(),mask:s}}function ls({pathname:e="/",search:r="",hash:n=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Wi(e){let r={};if(e){let n=e.indexOf("#");n>=0&&(r.hash=e.substring(n),e=e.substring(0,n));let a=e.indexOf("?");a>=0&&(r.search=e.substring(a),e=e.substring(0,a)),e&&(r.pathname=e)}return r}function tk(e,r,n,a={}){let{window:s=document.defaultView,v5Compat:c=!1}=a,u=s.history,d="POP",g=null,p=m();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function m(){return(u.state||{idx:null}).idx}function v(){d="POP";let z=m(),T=z==null?null:z-p;p=z,g&&g({action:d,location:x.location,delta:T})}function S(z,T){d="PUSH";let j=$1(z)?z:e0(x.location,z,T);p=m()+1;let N=K1(j,p),C=x.createHref(j.mask||j);try{u.pushState(N,"",C)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(C)}c&&g&&g({action:d,location:x.location,delta:1})}function k(z,T){d="REPLACE";let j=$1(z)?z:e0(x.location,z,T);p=m();let N=K1(j,p),C=x.createHref(j.mask||j);u.replaceState(N,"",C),c&&g&&g({action:d,location:x.location,delta:0})}function w(z){return ok(z)}let x={get action(){return d},get location(){return e(s,u)},listen(z){if(g)throw new Error("A history only accepts one active listener");return s.addEventListener(Y1,v),g=z,()=>{s.removeEventListener(Y1,v),g=null}},createHref(z){return r(s,z)},createURL:w,encodeLocation(z){let T=w(z);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:S,replace:k,go(z){return u.go(z)}};return x}function ok(e,r=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),it(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:ls(e);return a=a.replace(/ $/,"%20"),!r&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function Gy(e,r,n="/"){return rk(e,r,n,!1)}function rk(e,r,n,a,s){let c=typeof r=="string"?Wi(r):r,u=Wr(c.pathname||"/",n);if(u==null)return null;let d=nk(e),g=null,p=mk(u);for(let m=0;g==null&&m<d.length;++m)g=gk(d[m],p,a);return g}function nk(e){let r=Xy(e);return ak(r),r}function Xy(e,r=[],n=[],a="",s=!1){let c=(u,d,g=s,p)=>{let m={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(a)&&g)return;it(m.relativePath.startsWith(a),`Absolute route path "${m.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(a.length)}let v=or([a,m.relativePath]),S=n.concat(m);u.children&&u.children.length>0&&(it(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Xy(u.children,r,S,v,g)),!(u.path==null&&!u.index)&&r.push({path:v,score:dk(v,u.index),routesMeta:S})};return e.forEach((u,d)=>{var g;if(u.path===""||!((g=u.path)!=null&&g.includes("?")))c(u,d);else for(let p of Wy(u.path))c(u,d,!0,p)}),r}function Wy(e){let r=e.split("/");if(r.length===0)return[];let[n,...a]=r,s=n.endsWith("?"),c=n.replace(/\?$/,"");if(a.length===0)return s?[c,""]:[c];let u=Wy(a.join("/")),d=[];return d.push(...u.map(g=>g===""?c:[c,g].join("/"))),s&&d.push(...u),d.map(g=>e.startsWith("/")&&g===""?"/":g)}function ak(e){e.sort((r,n)=>r.score!==n.score?n.score-r.score:hk(r.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var ik=/^:[\w-]+$/,lk=3,sk=2,ck=1,uk=10,fk=-2,Z1=e=>e==="*";function dk(e,r){let n=e.split("/"),a=n.length;return n.some(Z1)&&(a+=fk),r&&(a+=sk),n.filter(s=>!Z1(s)).reduce((s,c)=>s+(ik.test(c)?lk:c===""?ck:uk),a)}function hk(e,r){return e.length===r.length&&e.slice(0,-1).every((a,s)=>a===r[s])?e[e.length-1]-r[r.length-1]:0}function gk(e,r,n=!1){let{routesMeta:a}=e,s={},c="/",u=[];for(let d=0;d<a.length;++d){let g=a[d],p=d===a.length-1,m=c==="/"?r:r.slice(c.length)||"/",v=vu({path:g.relativePath,caseSensitive:g.caseSensitive,end:p},m),S=g.route;if(!v&&p&&n&&!a[a.length-1].route.index&&(v=vu({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},m)),!v)return null;Object.assign(s,v.params),u.push({params:s,pathname:or([c,v.pathname]),pathnameBase:xk(or([c,v.pathnameBase])),route:S}),v.pathnameBase!=="/"&&(c=or([c,v.pathnameBase]))}return u}function vu(e,r){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=pk(e.path,e.caseSensitive,e.end),s=r.match(n);if(!s)return null;let c=s[0],u=c.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:a.reduce((p,{paramName:m,isOptional:v},S)=>{if(m==="*"){let w=d[S]||"";u=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const k=d[S];return v&&!k?p[m]=void 0:p[m]=(k||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:e}}function pk(e,r=!1,n=!0){nr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,g,p,m)=>{if(a.push({paramName:d,isOptional:g!=null}),g){let v=m.charAt(p+u.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),a]}function mk(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return nr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}function Wr(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let n=r.endsWith("/")?r.length-1:r.length,a=e.charAt(n);return a&&a!=="/"?null:e.slice(n)||"/"}var vk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function bk(e,r="/"){let{pathname:n,search:a="",hash:s=""}=typeof e=="string"?Wi(e):e,c;return n?(n=Qy(n),n.startsWith("/")?c=J1(n.substring(1),"/"):c=J1(n,r)):c=r,{pathname:c,search:Sk(a),hash:wk(s)}}function J1(e,r){let n=bu(r).split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Eh(e,r,n,a){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function yk(e){return e.filter((r,n)=>n===0||r.route.path&&r.route.path.length>0)}function F0(e){let r=yk(e);return r.map((n,a)=>a===r.length-1?n.pathname:n.pathnameBase)}function Du(e,r,n,a=!1){let s;typeof e=="string"?s=Wi(e):(s={...e},it(!s.pathname||!s.pathname.includes("?"),Eh("?","pathname","search",s)),it(!s.pathname||!s.pathname.includes("#"),Eh("#","pathname","hash",s)),it(!s.search||!s.search.includes("#"),Eh("#","search","hash",s)));let c=e===""||s.pathname==="",u=c?"/":s.pathname,d;if(u==null)d=n;else{let v=r.length-1;if(!a&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),v-=1;s.pathname=S.join("/")}d=v>=0?r[v]:"/"}let g=bk(s,d),p=u&&u!=="/"&&u.endsWith("/"),m=(c||u===".")&&n.endsWith("/");return!g.pathname.endsWith("/")&&(p||m)&&(g.pathname+="/"),g}var Qy=e=>e.replace(/\/\/+/g,"/"),or=e=>Qy(e.join("/")),bu=e=>e.replace(/\/+$/,""),xk=e=>bu(e).replace(/^\/*/,"/"),Sk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,wk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,kk=class{constructor(e,r,n,a=!1){this.status=e,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Bk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function _k(e){let r=e.map(n=>n.route.path).filter(Boolean);return or(r)||"/"}var Yy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $y(e,r){let n=e;if(typeof n!="string"||!vk.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,s=!1;if(Yy)try{let c=new URL(window.location.href),u=n.startsWith("//")?new URL(c.protocol+n):new URL(n),d=Wr(u.pathname,r);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:s=!0}catch{nr(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:s,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ky=["POST","PUT","PATCH","DELETE"];new Set(Ky);var zk=["GET",...Ky];new Set(zk);var Qi=y.createContext(null);Qi.displayName="DataRouter";var Ou=y.createContext(null);Ou.displayName="DataRouterState";var Zy=y.createContext(!1);function Tk(){return y.useContext(Zy)}var Jy=y.createContext({isTransitioning:!1});Jy.displayName="ViewTransition";var Nk=y.createContext(new Map);Nk.displayName="Fetchers";var Ck=y.createContext(null);Ck.displayName="Await";var zo=y.createContext(null);zo.displayName="Navigation";var xs=y.createContext(null);xs.displayName="Location";var lr=y.createContext({outlet:null,matches:[],isDataRoute:!1});lr.displayName="Route";var H0=y.createContext(null);H0.displayName="RouteError";var ex="REACT_ROUTER_ERROR",Ek="REDIRECT",jk="ROUTE_ERROR_RESPONSE";function Rk(e){if(e.startsWith(`${ex}:${Ek}:{`))try{let r=JSON.parse(e.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function Ak(e){if(e.startsWith(`${ex}:${jk}:{`))try{let r=JSON.parse(e.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new kk(r.status,r.statusText,r.data)}catch{}}function Dk(e,{relative:r}={}){it(Yi(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=y.useContext(zo),{hash:s,pathname:c,search:u}=ws(e,{relative:r}),d=c;return n!=="/"&&(d=c==="/"?n:or([n,c])),a.createHref({pathname:d,search:u,hash:s})}function Yi(){return y.useContext(xs)!=null}function Go(){return it(Yi(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(xs).location}var tx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ox(e){y.useContext(zo).static||y.useLayoutEffect(e)}function Ss(){let{isDataRoute:e}=y.useContext(lr);return e?Qk():Ok()}function Ok(){it(Yi(),"useNavigate() may be used only in the context of a <Router> component.");let e=y.useContext(Qi),{basename:r,navigator:n}=y.useContext(zo),{matches:a}=y.useContext(lr),{pathname:s}=Go(),c=JSON.stringify(F0(a)),u=y.useRef(!1);return ox(()=>{u.current=!0}),y.useCallback((g,p={})=>{if(nr(u.current,tx),!u.current)return;if(typeof g=="number"){n.go(g);return}let m=Du(g,JSON.parse(c),s,p.relative==="path");e==null&&r!=="/"&&(m.pathname=m.pathname==="/"?r:or([r,m.pathname])),(p.replace?n.replace:n.push)(m,p.state,p)},[r,n,c,s,e])}y.createContext(null);function Mk(){let{matches:e}=y.useContext(lr),r=e[e.length-1];return(r==null?void 0:r.params)??{}}function ws(e,{relative:r}={}){let{matches:n}=y.useContext(lr),{pathname:a}=Go(),s=JSON.stringify(F0(n));return y.useMemo(()=>Du(e,JSON.parse(s),a,r==="path"),[e,s,a,r])}function qk(e,r){return rx(e,r)}function rx(e,r,n){var z;it(Yi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=y.useContext(zo),{matches:s}=y.useContext(lr),c=s[s.length-1],u=c?c.params:{},d=c?c.pathname:"/",g=c?c.pathnameBase:"/",p=c&&c.route;{let T=p&&p.path||"";ax(d,!p||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${T}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
59
 
60
- Please change the parent <Route path="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let m=Go(),v;if(r){let T=typeof r=="string"?Gi(r):r;it(g==="/"||((z=T.pathname)==null?void 0:z.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${T.pathname}" was given in the \`location\` prop.`),v=T}else v=m;let S=v.pathname||"/",k=S;if(g!=="/"){let T=g.replace(/^\//,"").split("/");k="/"+S.replace(/^\//,"").split("/").slice(T.length).join("/")}let w=n&&n.state.matches.length?n.state.matches.map(T=>Object.assign(T,{route:n.manifest[T.route.id]||T.route})):Vy(e,{pathname:k});nr(p||w!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),nr(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let x=Ik(w&&w.map(T=>Object.assign({},T,{params:Object.assign({},u,T.params),pathname:or([g,a.encodeLocation?a.encodeLocation(T.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?g:or([g,a.encodeLocation?a.encodeLocation(T.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),s,n);return r&&x?y.createElement(xs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},x):x}function Fk(){let e=Wk(),r=Bk(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:a},c={padding:"2px 4px",backgroundColor:a},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:c},"ErrorBoundary")," or"," ",y.createElement("code",{style:c},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},r),n?y.createElement("pre",{style:s},n):null,u)}var Hk=y.createElement(Fk,null),rx=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Ak(e.digest);n&&(e=n)}let r=e!==void 0?y.createElement(lr.Provider,{value:this.props.routeContext},y.createElement(F0.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?y.createElement(Lk,{error:e},r):r}};rx.contextType=Ky;var jh=new WeakMap;function Lk({children:e,error:r}){let{basename:n}=y.useContext(zo);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let a=Rk(r.digest);if(a){let s=jh.get(r);if(s)throw s;let c=Yy(a.location,n);if(Qy&&!jh.get(r))if(c.isExternal||a.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:a.replace}));throw jh.set(r,u),u}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function Pk({routeContext:e,match:r,children:n}){let a=y.useContext(Xi);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(lr.Provider,{value:e},n)}function Ik(e,r=[],n){let a=n==null?void 0:n.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(r.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let s=e,c=a==null?void 0:a.errors;if(c!=null){let m=s.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);it(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,m+1))}let u=!1,d=-1;if(n&&a){u=a.renderFallback;for(let m=0;m<s.length;m++){let v=s[m];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(d=m),v.route.id){let{loaderData:S,errors:k}=a,w=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!k||k[v.route.id]===void 0);if(v.route.lazy||w){n.isStatic&&(u=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let g=n==null?void 0:n.onError,p=a&&g?(m,v)=>{var S,k;g(m,{location:a.location,params:((k=(S=a.matches)==null?void 0:S[0])==null?void 0:k.params)??{},pattern:_k(a.matches),errorInfo:v})}:void 0;return s.reduceRight((m,v,S)=>{let k,w=!1,x=null,z=null;a&&(k=c&&v.route.id?c[v.route.id]:void 0,x=v.route.errorElement||Hk,u&&(d<0&&S===0?(nx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,z=null):d===S&&(w=!0,z=v.route.hydrateFallbackElement||null)));let T=r.concat(s.slice(0,S+1)),j=()=>{let N;return k?N=x:w?N=z:v.route.Component?N=y.createElement(v.route.Component,null):v.route.element?N=v.route.element:N=m,y.createElement(Pk,{match:v,routeContext:{outlet:m,matches:T,isDataRoute:a!=null},children:N})};return a&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?y.createElement(rx,{location:a.location,revalidation:a.revalidation,component:x,error:k,children:j(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:p}):j()},null)}function H0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Uk(e){let r=y.useContext(Xi);return it(r,H0(e)),r}function Vk(e){let r=y.useContext(Ou);return it(r,H0(e)),r}function Gk(e){let r=y.useContext(lr);return it(r,H0(e)),r}function L0(e){let r=Gk(e),n=r.matches[r.matches.length-1];return it(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Xk(){return L0("useRouteId")}function Wk(){var a;let e=y.useContext(F0),r=Vk("useRouteError"),n=L0("useRouteError");return e!==void 0?e:(a=r.errors)==null?void 0:a[n]}function Qk(){let{router:e}=Uk("useNavigate"),r=L0("useNavigate"),n=y.useRef(!1);return tx(()=>{n.current=!0}),y.useCallback(async(s,c={})=>{nr(n.current,ex),n.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:r,...c}))},[e,r])}var J1={};function nx(e,r,n){!r&&!J1[e]&&(J1[e]=!0,nr(!1,n))}y.memo(Yk);function Yk({routes:e,manifest:r,future:n,state:a,isStatic:s,onError:c}){return ox(e,void 0,{manifest:r,state:a,isStatic:s,onError:c})}function $k({to:e,replace:r,state:n,relative:a}){it(Wi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=y.useContext(zo);nr(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=y.useContext(lr),{pathname:u}=Go(),d=Ss(),g=Du(e,q0(c),u,a==="path"),p=JSON.stringify(g);return y.useEffect(()=>{d(JSON.parse(p),{replace:r,state:n,relative:a})},[d,p,a,r,n]),null}function bi(e){it(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Kk({basename:e="/",children:r=null,location:n,navigationType:a="POP",navigator:s,static:c=!1,useTransitions:u}){it(!Wi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),g=y.useMemo(()=>({basename:d,navigator:s,static:c,useTransitions:u,future:{}}),[d,s,c,u]);typeof n=="string"&&(n=Gi(n));let{pathname:p="/",search:m="",hash:v="",state:S=null,key:k="default",mask:w}=n,x=y.useMemo(()=>{let z=Wr(p,d);return z==null?null:{location:{pathname:z,search:m,hash:v,state:S,key:k,mask:w},navigationType:a}},[d,p,m,v,S,k,a,w]);return nr(x!=null,`<Router basename="${d}"> is not able to match the URL "${p}${m}${v}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:y.createElement(zo.Provider,{value:g},y.createElement(xs.Provider,{children:r,value:x}))}function Zk({children:e,location:r}){return qk(t0(e),r)}function t0(e,r=[]){let n=[];return y.Children.forEach(e,(a,s)=>{if(!y.isValidElement(a))return;let c=[...r,s];if(a.type===y.Fragment){n.push.apply(n,t0(a.props.children,c));return}it(a.type===bi,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),it(!a.props.index||!a.props.children,"An index route cannot have child routes.");let u={id:a.props.id||c.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(u.children=t0(a.props.children,c)),n.push(u)}),n}var su="get",cu="application/x-www-form-urlencoded";function Mu(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Jk(e){return Mu(e)&&e.tagName.toLowerCase()==="button"}function eB(e){return Mu(e)&&e.tagName.toLowerCase()==="form"}function tB(e){return Mu(e)&&e.tagName.toLowerCase()==="input"}function oB(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function rB(e,r){return e.button===0&&(!r||r==="_self")&&!oB(e)}var Kc=null;function nB(){if(Kc===null)try{new FormData(document.createElement("form"),0),Kc=!1}catch{Kc=!0}return Kc}var aB=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Rh(e){return e!=null&&!aB.has(e)?(nr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${cu}"`),null):e}function iB(e,r){let n,a,s,c,u;if(eB(e)){let d=e.getAttribute("action");a=d?Wr(d,r):null,n=e.getAttribute("method")||su,s=Rh(e.getAttribute("enctype"))||cu,c=new FormData(e)}else if(Jk(e)||tB(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=e.getAttribute("formaction")||d.getAttribute("action");if(a=g?Wr(g,r):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||su,s=Rh(e.getAttribute("formenctype"))||Rh(d.getAttribute("enctype"))||cu,c=new FormData(d,e),!nB()){let{name:p,type:m,value:v}=e;if(m==="image"){let S=p?`${p}.`:"";c.append(`${S}x`,"0"),c.append(`${S}y`,"0")}else p&&c.append(p,v)}}else{if(Mu(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=su,a=null,s=cu,u=e}return c&&s==="text/plain"&&(u=c,c=void 0),{action:a,method:n.toLowerCase(),encType:s,formData:c,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function P0(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function ax(e,r,n,a){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${a}`:s.pathname=`${s.pathname}.${a}`:s.pathname==="/"?s.pathname=`_root.${a}`:r&&Wr(s.pathname,r)==="/"?s.pathname=`${bu(r)}/_root.${a}`:s.pathname=`${bu(s.pathname)}.${a}`,s}async function lB(e,r){if(e.id in r)return r[e.id];try{let n=await import(e.module);return r[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function sB(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function cB(e,r,n){let a=await Promise.all(e.map(async s=>{let c=r.routes[s.route.id];if(c){let u=await lB(c,n);return u.links?u.links():[]}return[]}));return hB(a.flat(1).filter(sB).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function eb(e,r,n,a,s,c){let u=(g,p)=>n[p]?g.route.id!==n[p].route.id:!0,d=(g,p)=>{var m;return n[p].pathname!==g.pathname||((m=n[p].route.path)==null?void 0:m.endsWith("*"))&&n[p].params["*"]!==g.params["*"]};return c==="assets"?r.filter((g,p)=>u(g,p)||d(g,p)):c==="data"?r.filter((g,p)=>{var v;let m=a.routes[g.route.id];if(!m||!m.hasLoader)return!1;if(u(g,p)||d(g,p))return!0;if(g.route.shouldRevalidate){let S=g.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((v=n[0])==null?void 0:v.params)||{},nextUrl:new URL(e,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function uB(e,r,{includeHydrateFallback:n}={}){return fB(e.map(a=>{let s=r.routes[a.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),n&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function fB(e){return[...new Set(e)]}function dB(e){let r={},n=Object.keys(e).sort();for(let a of n)r[a]=e[a];return r}function hB(e,r){let n=new Set;return new Set(r),e.reduce((a,s)=>{let c=JSON.stringify(dB(s));return n.has(c)||(n.add(c),a.push({key:c,link:s})),a},[])}function I0(){let e=y.useContext(Xi);return P0(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function gB(){let e=y.useContext(Ou);return P0(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var U0=y.createContext(void 0);U0.displayName="FrameworkContext";function V0(){let e=y.useContext(U0);return P0(e,"You must render this element inside a <HydratedRouter> element"),e}function pB(e,r){let n=y.useContext(U0),[a,s]=y.useState(!1),[c,u]=y.useState(!1),{onFocus:d,onBlur:g,onMouseEnter:p,onMouseLeave:m,onTouchStart:v}=r,S=y.useRef(null);y.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let x=T=>{T.forEach(j=>{u(j.isIntersecting)})},z=new IntersectionObserver(x,{threshold:.5});return S.current&&z.observe(S.current),()=>{z.disconnect()}}},[e]),y.useEffect(()=>{if(a){let x=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(x)}}},[a]);let k=()=>{s(!0)},w=()=>{s(!1),u(!1)};return n?e!=="intent"?[c,S,{}]:[c,S,{onFocus:Yl(d,k),onBlur:Yl(g,w),onMouseEnter:Yl(p,k),onMouseLeave:Yl(m,w),onTouchStart:Yl(v,k)}]:[!1,S,{}]}function Yl(e,r){return n=>{e&&e(n),n.defaultPrevented||r(n)}}function mB({page:e,...r}){let n=Tk(),{router:a}=I0(),s=y.useMemo(()=>Vy(a.routes,e,a.basename),[a.routes,e,a.basename]);return s?n?y.createElement(bB,{page:e,matches:s,...r}):y.createElement(yB,{page:e,matches:s,...r}):null}function vB(e){let{manifest:r,routeModules:n}=V0(),[a,s]=y.useState([]);return y.useEffect(()=>{let c=!1;return cB(e,r,n).then(u=>{c||s(u)}),()=>{c=!0}},[e,r,n]),a}function bB({page:e,matches:r,...n}){let a=Go(),{future:s}=V0(),{basename:c}=I0(),u=y.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=ax(e,c,s.unstable_trailingSlashAwareDataRequests,"rsc"),g=!1,p=[];for(let m of r)typeof m.route.shouldRevalidate=="function"?g=!0:p.push(m.route.id);return g&&p.length>0&&d.searchParams.set("_routes",p.join(",")),[d.pathname+d.search]},[c,s.unstable_trailingSlashAwareDataRequests,e,a,r]);return y.createElement(y.Fragment,null,u.map(d=>y.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...n})))}function yB({page:e,matches:r,...n}){let a=Go(),{future:s,manifest:c,routeModules:u}=V0(),{basename:d}=I0(),{loaderData:g,matches:p}=gB(),m=y.useMemo(()=>eb(e,r,p,c,a,"data"),[e,r,p,c,a]),v=y.useMemo(()=>eb(e,r,p,c,a,"assets"),[e,r,p,c,a]),S=y.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let x=new Set,z=!1;if(r.forEach(j=>{var C;let N=c.routes[j.route.id];!N||!N.hasLoader||(!m.some(E=>E.route.id===j.route.id)&&j.route.id in g&&((C=u[j.route.id])!=null&&C.shouldRevalidate)||N.hasClientLoader?z=!0:x.add(j.route.id))}),x.size===0)return[];let T=ax(e,d,s.unstable_trailingSlashAwareDataRequests,"data");return z&&x.size>0&&T.searchParams.set("_routes",r.filter(j=>x.has(j.route.id)).map(j=>j.route.id).join(",")),[T.pathname+T.search]},[d,s.unstable_trailingSlashAwareDataRequests,g,a,c,m,r,e,u]),k=y.useMemo(()=>uB(v,c),[v,c]),w=vB(v);return y.createElement(y.Fragment,null,S.map(x=>y.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...n})),k.map(x=>y.createElement("link",{key:x,rel:"modulepreload",href:x,...n})),w.map(({key:x,link:z})=>y.createElement("link",{key:x,nonce:n.nonce,...z,crossOrigin:z.crossOrigin??n.crossOrigin})))}function xB(...e){return r=>{e.forEach(n=>{typeof n=="function"?n(r):n!=null&&(n.current=r)})}}var SB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{SB&&(window.__reactRouterVersion="7.15.0")}catch{}function wB({basename:e,children:r,useTransitions:n,window:a}){let s=y.useRef();s.current==null&&(s.current=J3({window:a,v5Compat:!0}));let c=s.current,[u,d]=y.useState({action:c.action,location:c.location}),g=y.useCallback(p=>{n===!1?d(p):y.startTransition(()=>d(p))},[n]);return y.useLayoutEffect(()=>c.listen(g),[c,g]),y.createElement(Kk,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:c,useTransitions:n})}var ix=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vr=y.forwardRef(function({onClick:r,discover:n="render",prefetch:a="none",relative:s,reloadDocument:c,replace:u,mask:d,state:g,target:p,to:m,preventScrollReset:v,viewTransition:S,defaultShouldRevalidate:k,...w},x){let{basename:z,navigator:T,useTransitions:j}=y.useContext(zo),N=typeof m=="string"&&ix.test(m),C=Yy(m,z);m=C.to;let E=Dk(m,{relative:s}),M=Go(),Q=null;if(d){let ye=Du(d,[],M.mask?M.mask.pathname:"/",!0);z!=="/"&&(ye.pathname=ye.pathname==="/"?z:or([z,ye.pathname])),Q=T.createHref(ye)}let[G,oe,ie]=pB(a,w),ve=zB(m,{replace:u,mask:d,state:g,target:p,preventScrollReset:v,relative:s,viewTransition:S,defaultShouldRevalidate:k,useTransitions:j});function ae(ye){r&&r(ye),ye.defaultPrevented||ve(ye)}let ue=!(C.isExternal||c),re=y.createElement("a",{...w,...ie,href:(ue?Q:void 0)||C.absoluteURL||E,onClick:ue?ae:r,ref:xB(x,oe),target:p,"data-discover":!N&&n==="render"?"true":void 0});return G&&!N?y.createElement(y.Fragment,null,re,y.createElement(mB,{page:E})):re});Vr.displayName="Link";var kB=y.forwardRef(function({"aria-current":r="page",caseSensitive:n=!1,className:a="",end:s=!1,style:c,to:u,viewTransition:d,children:g,...p},m){let v=ws(u,{relative:p.relative}),S=Go(),k=y.useContext(Ou),{navigator:w,basename:x}=y.useContext(zo),z=k!=null&&jB(v)&&d===!0,T=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,j=S.pathname,N=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;n||(j=j.toLowerCase(),N=N?N.toLowerCase():null,T=T.toLowerCase()),N&&x&&(N=Wr(N,x)||N);const C=T!=="/"&&T.endsWith("/")?T.length-1:T.length;let E=j===T||!s&&j.startsWith(T)&&j.charAt(C)==="/",M=N!=null&&(N===T||!s&&N.startsWith(T)&&N.charAt(T.length)==="/"),Q={isActive:E,isPending:M,isTransitioning:z},G=E?r:void 0,oe;typeof a=="function"?oe=a(Q):oe=[a,E?"active":null,M?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let ie=typeof c=="function"?c(Q):c;return y.createElement(Vr,{...p,"aria-current":G,className:oe,ref:m,style:ie,to:u,viewTransition:d},typeof g=="function"?g(Q):g)});kB.displayName="NavLink";var BB=y.forwardRef(({discover:e="render",fetcherKey:r,navigate:n,reloadDocument:a,replace:s,state:c,method:u=su,action:d,onSubmit:g,relative:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S,...k},w)=>{let{useTransitions:x}=y.useContext(zo),z=CB(),T=EB(d,{relative:p}),j=u.toLowerCase()==="get"?"get":"post",N=typeof d=="string"&&ix.test(d),C=E=>{if(g&&g(E),E.defaultPrevented)return;E.preventDefault();let M=E.nativeEvent.submitter,Q=(M==null?void 0:M.getAttribute("formmethod"))||u,G=()=>z(M||E.currentTarget,{fetcherKey:r,method:Q,navigate:n,replace:s,state:c,relative:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S});x&&n!==!1?y.startTransition(()=>G()):G()};return y.createElement("form",{ref:w,method:j,action:T,onSubmit:a?g:C,...k,"data-discover":!N&&e==="render"?"true":void 0})});BB.displayName="Form";function _B(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lx(e){let r=y.useContext(Xi);return it(r,_B(e)),r}function zB(e,{target:r,replace:n,mask:a,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:g,useTransitions:p}={}){let m=Ss(),v=Go(),S=ws(e,{relative:u});return y.useCallback(k=>{if(rB(k,r)){k.preventDefault();let w=n!==void 0?n:as(v)===as(S),x=()=>m(e,{replace:w,mask:a,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:g});p?y.startTransition(()=>x()):x()}},[v,m,S,n,a,s,r,e,c,u,d,g,p])}var TB=0,NB=()=>`__${String(++TB)}__`;function CB(){let{router:e}=lx("useSubmit"),{basename:r}=y.useContext(zo),n=Xk(),a=e.fetch,s=e.navigate;return y.useCallback(async(c,u={})=>{let{action:d,method:g,encType:p,formData:m,body:v}=iB(c,r);if(u.navigate===!1){let S=u.fetcherKey||NB();await a(S,n,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:v,formMethod:u.method||g,formEncType:u.encType||p,flushSync:u.flushSync})}else await s(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:v,formMethod:u.method||g,formEncType:u.encType||p,replace:u.replace,state:u.state,fromRouteId:n,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,s,r,n])}function EB(e,{relative:r}={}){let{basename:n}=y.useContext(zo),a=y.useContext(lr);it(a,"useFormAction must be used inside a RouteContext");let[s]=a.matches.slice(-1),c={...ws(e||".",{relative:r})},u=Go();if(e==null){c.search=u.search;let d=new URLSearchParams(c.search),g=d.getAll("index");if(g.some(m=>m==="")){d.delete("index"),g.filter(v=>v).forEach(v=>d.append("index",v));let m=d.toString();c.search=m?`?${m}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(c.pathname=c.pathname==="/"?n:or([n,c.pathname])),as(c)}function jB(e,{relative:r}={}){let n=y.useContext(Zy);it(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=lx("useViewTransitionState"),s=ws(e,{relative:r});if(!n.isTransitioning)return!1;let c=Wr(n.currentLocation.pathname,a)||n.currentLocation.pathname,u=Wr(n.nextLocation.pathname,a)||n.nextLocation.pathname;return vu(s.pathname,u)!=null||vu(s.pathname,c)!=null}var o0=Uy(),Qi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(r){return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},va,Cn,_i,Cy,RB=(Cy=class extends Qi{constructor(){super();be(this,va);be(this,Cn);be(this,_i);le(this,_i,r=>{if(typeof window<"u"&&window.addEventListener){const n=()=>r();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,Cn)||this.setEventListener(A(this,_i))}onUnsubscribe(){var r;this.hasListeners()||((r=A(this,Cn))==null||r.call(this),le(this,Cn,void 0))}setEventListener(r){var n;le(this,_i,r),(n=A(this,Cn))==null||n.call(this),le(this,Cn,r(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(r){A(this,va)!==r&&(le(this,va,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(n=>{n(r)})}isFocused(){var r;return typeof A(this,va)=="boolean"?A(this,va):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},va=new WeakMap,Cn=new WeakMap,_i=new WeakMap,Cy),G0=new RB,AB={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:e=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:e=>clearInterval(e)},En,O0,Ey,DB=(Ey=class{constructor(){be(this,En,AB);be(this,O0,!1)}setTimeoutProvider(e){le(this,En,e)}setTimeout(e,r){return A(this,En).setTimeout(e,r)}clearTimeout(e){A(this,En).clearTimeout(e)}setInterval(e,r){return A(this,En).setInterval(e,r)}clearInterval(e){A(this,En).clearInterval(e)}},En=new WeakMap,O0=new WeakMap,Ey),pa=new DB;function OB(e){setTimeout(e,0)}var MB=typeof window>"u"||"Deno"in globalThis;function Qt(){}function qB(e,r){return typeof e=="function"?e(r):e}function r0(e){return typeof e=="number"&&e>=0&&e!==1/0}function sx(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Ln(e,r){return typeof e=="function"?e(r):e}function xo(e,r){return typeof e=="function"?e(r):e}function tb(e,r){const{type:n="all",exact:a,fetchStatus:s,predicate:c,queryKey:u,stale:d}=e;if(u){if(a){if(r.queryHash!==X0(u,r.options))return!1}else if(!is(r.queryKey,u))return!1}if(n!=="all"){const g=r.isActive();if(n==="active"&&!g||n==="inactive"&&g)return!1}return!(typeof d=="boolean"&&r.isStale()!==d||s&&s!==r.state.fetchStatus||c&&!c(r))}function ob(e,r){const{exact:n,status:a,predicate:s,mutationKey:c}=e;if(c){if(!r.options.mutationKey)return!1;if(n){if(Ta(r.options.mutationKey)!==Ta(c))return!1}else if(!is(r.options.mutationKey,c))return!1}return!(a&&r.state.status!==a||s&&!s(r))}function X0(e,r){return((r==null?void 0:r.queryKeyHashFn)||Ta)(e)}function Ta(e){return JSON.stringify(e,(r,n)=>n0(n)?Object.keys(n).sort().reduce((a,s)=>(a[s]=n[s],a),{}):n)}function is(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(n=>is(e[n],r[n])):!1}var FB=Object.prototype.hasOwnProperty;function cx(e,r,n=0){if(e===r)return e;if(n>500)return r;const a=rb(e)&&rb(r);if(!a&&!(n0(e)&&n0(r)))return r;const c=(a?e:Object.keys(e)).length,u=a?r:Object.keys(r),d=u.length,g=a?new Array(d):{};let p=0;for(let m=0;m<d;m++){const v=a?m:u[m],S=e[v],k=r[v];if(S===k){g[v]=S,(a?m<c:FB.call(e,v))&&p++;continue}if(S===null||k===null||typeof S!="object"||typeof k!="object"){g[v]=k;continue}const w=cx(S,k,n+1);g[v]=w,w===S&&p++}return c===d&&p===c?e:g}function yu(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const n in e)if(e[n]!==r[n])return!1;return!0}function rb(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function n0(e){if(!nb(e))return!1;const r=e.constructor;if(r===void 0)return!0;const n=r.prototype;return!(!nb(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function nb(e){return Object.prototype.toString.call(e)==="[object Object]"}function HB(e){return new Promise(r=>{pa.setTimeout(r,e)})}function a0(e,r,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,r):n.structuralSharing!==!1?cx(e,r):r}function LB(e,r,n=0){const a=[...e,r];return n&&a.length>n?a.slice(1):a}function PB(e,r,n=0){const a=[r,...e];return n&&a.length>n?a.slice(0,-1):a}var W0=Symbol();function ux(e,r){return!e.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!e.queryFn||e.queryFn===W0?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Q0(e,r){return typeof e=="function"?e(...r):!!e}function IB(e,r,n){let a=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=r()),a||(a=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var ls=(()=>{let e=()=>MB;return{isServer(){return e()},setIsServer(r){e=r}}})();function i0(){let e,r;const n=new Promise((s,c)=>{e=s,r=c});n.status="pending",n.catch(()=>{});function a(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{a({status:"fulfilled",value:s}),e(s)},n.reject=s=>{a({status:"rejected",reason:s}),r(s)},n}var UB=OB;function VB(){let e=[],r=0,n=d=>{d()},a=d=>{d()},s=UB;const c=d=>{r?e.push(d):s(()=>{n(d)})},u=()=>{const d=e;e=[],d.length&&s(()=>{a(()=>{d.forEach(g=>{n(g)})})})};return{batch:d=>{let g;r++;try{g=d()}finally{r--,r||u()}return g},batchCalls:d=>(...g)=>{c(()=>{d(...g)})},schedule:c,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{s=d}}}var Nt=VB(),zi,jn,Ti,jy,GB=(jy=class extends Qi{constructor(){super();be(this,zi,!0);be(this,jn);be(this,Ti);le(this,Ti,r=>{if(typeof window<"u"&&window.addEventListener){const n=()=>r(!0),a=()=>r(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}})}onSubscribe(){A(this,jn)||this.setEventListener(A(this,Ti))}onUnsubscribe(){var r;this.hasListeners()||((r=A(this,jn))==null||r.call(this),le(this,jn,void 0))}setEventListener(r){var n;le(this,Ti,r),(n=A(this,jn))==null||n.call(this),le(this,jn,r(this.setOnline.bind(this)))}setOnline(r){A(this,zi)!==r&&(le(this,zi,r),this.listeners.forEach(a=>{a(r)}))}isOnline(){return A(this,zi)}},zi=new WeakMap,jn=new WeakMap,Ti=new WeakMap,jy),xu=new GB;function XB(e){return Math.min(1e3*2**e,3e4)}function fx(e){return(e??"online")==="online"?xu.isOnline():!0}var l0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function dx(e){let r=!1,n=0,a;const s=i0(),c=()=>s.status!=="pending",u=x=>{var z;if(!c()){const T=new l0(x);S(T),(z=e.onCancel)==null||z.call(e,T)}},d=()=>{r=!0},g=()=>{r=!1},p=()=>G0.isFocused()&&(e.networkMode==="always"||xu.isOnline())&&e.canRun(),m=()=>fx(e.networkMode)&&e.canRun(),v=x=>{c()||(a==null||a(),s.resolve(x))},S=x=>{c()||(a==null||a(),s.reject(x))},k=()=>new Promise(x=>{var z;a=T=>{(c()||p())&&x(T)},(z=e.onPause)==null||z.call(e)}).then(()=>{var x;a=void 0,c()||(x=e.onContinue)==null||x.call(e)}),w=()=>{if(c())return;let x;const z=n===0?e.initialPromise:void 0;try{x=z??e.fn()}catch(T){x=Promise.reject(T)}Promise.resolve(x).then(v).catch(T=>{var M;if(c())return;const j=e.retry??(ls.isServer()?0:3),N=e.retryDelay??XB,C=typeof N=="function"?N(n,T):N,E=j===!0||typeof j=="number"&&n<j||typeof j=="function"&&j(n,T);if(r||!E){S(T);return}n++,(M=e.onFail)==null||M.call(e,n,T),HB(C).then(()=>p()?void 0:k()).then(()=>{r?S(T):w()})})};return{promise:s,status:()=>s.status,cancel:u,continue:()=>(a==null||a(),s),cancelRetry:d,continueRetry:g,canStart:m,start:()=>(m()?w():k().then(w),s)}}var ba,Ry,hx=(Ry=class{constructor(){be(this,ba)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),r0(this.gcTime)&&le(this,ba,pa.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ls.isServer()?1/0:300*1e3))}clearGcTimeout(){A(this,ba)!==void 0&&(pa.clearTimeout(A(this,ba)),le(this,ba,void 0))}},ba=new WeakMap,Ry);function WB(e){return{onFetch:(r,n)=>{var m,v,S,k,w;const a=r.options,s=(S=(v=(m=r.fetchOptions)==null?void 0:m.meta)==null?void 0:v.fetchMore)==null?void 0:S.direction,c=((k=r.state.data)==null?void 0:k.pages)||[],u=((w=r.state.data)==null?void 0:w.pageParams)||[];let d={pages:[],pageParams:[]},g=0;const p=async()=>{let x=!1;const z=N=>{IB(N,()=>r.signal,()=>x=!0)},T=ux(r.options,r.fetchOptions),j=async(N,C,E)=>{if(x)return Promise.reject(r.signal.reason);if(C==null&&N.pages.length)return Promise.resolve(N);const Q=(()=>{const ve={client:r.client,queryKey:r.queryKey,pageParam:C,direction:E?"backward":"forward",meta:r.options.meta};return z(ve),ve})(),G=await T(Q),{maxPages:oe}=r.options,ie=E?PB:LB;return{pages:ie(N.pages,G,oe),pageParams:ie(N.pageParams,C,oe)}};if(s&&c.length){const N=s==="backward",C=N?QB:ab,E={pages:c,pageParams:u},M=C(a,E);d=await j(E,M,N)}else{const N=e??c.length;do{const C=g===0?u[0]??a.initialPageParam:ab(a,d);if(g>0&&C==null)break;d=await j(d,C),g++}while(g<N)}return d};r.options.persister?r.fetchFn=()=>{var x,z;return(z=(x=r.options).persister)==null?void 0:z.call(x,p,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},n)}:r.fetchFn=p}}}function ab(e,{pages:r,pageParams:n}){const a=r.length-1;return r.length>0?e.getNextPageParam(r[a],r,n[a],n):void 0}function QB(e,{pages:r,pageParams:n}){var a;return r.length>0?(a=e.getPreviousPageParam)==null?void 0:a.call(e,r[0],r,n[0],n):void 0}var Ni,ya,Ci,Fo,xa,Rt,ps,Sa,yo,gx,Hr,Ay,YB=(Ay=class extends hx{constructor(r){super();be(this,yo);be(this,Ni);be(this,ya);be(this,Ci);be(this,Fo);be(this,xa);be(this,Rt);be(this,ps);be(this,Sa);le(this,Sa,!1),le(this,ps,r.defaultOptions),this.setOptions(r.options),this.observers=[],le(this,xa,r.client),le(this,Fo,A(this,xa).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,le(this,ya,lb(this.options)),this.state=r.state??A(this,ya),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return A(this,Ni)}get promise(){var r;return(r=A(this,Rt))==null?void 0:r.promise}setOptions(r){if(this.options={...A(this,ps),...r},r!=null&&r._type&&le(this,Ni,r._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=lb(this.options);n.data!==void 0&&(this.setState(ib(n.data,n.dataUpdatedAt)),le(this,ya,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,Fo).remove(this)}setData(r,n){const a=a0(this.state.data,r,this.options);return je(this,yo,Hr).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(r){je(this,yo,Hr).call(this,{type:"setState",state:r})}cancel(r){var a,s;const n=(a=A(this,Rt))==null?void 0:a.promise;return(s=A(this,Rt))==null||s.cancel(r),n?n.then(Qt).catch(Qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return A(this,ya)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(r=>xo(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===W0||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>Ln(r.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(r=0){return this.state.data===void 0?!0:r==="static"?!1:this.state.isInvalidated?!0:!sx(this.state.dataUpdatedAt,r)}onFocus(){var n;const r=this.observers.find(a=>a.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(n=A(this,Rt))==null||n.continue()}onOnline(){var n;const r=this.observers.find(a=>a.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(n=A(this,Rt))==null||n.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),A(this,Fo).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(n=>n!==r),this.observers.length||(A(this,Rt)&&(A(this,Sa)||je(this,yo,gx).call(this)?A(this,Rt).cancel({revert:!0}):A(this,Rt).cancelRetry()),this.scheduleGc()),A(this,Fo).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,yo,Hr).call(this,{type:"invalidate"})}async fetch(r,n){var p,m,v,S,k,w,x,z,T,j,N;if(this.state.fetchStatus!=="idle"&&((p=A(this,Rt))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,Rt))return A(this,Rt).continueRetry(),A(this,Rt).promise}if(r&&this.setOptions(r),!this.options.queryFn){const C=this.observers.find(E=>E.options.queryFn);C&&this.setOptions(C.options)}const a=new AbortController,s=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(le(this,Sa,!0),a.signal)})},c=()=>{const C=ux(this.options,n),M=(()=>{const Q={client:A(this,xa),queryKey:this.queryKey,meta:this.meta};return s(Q),Q})();return le(this,Sa,!1),this.options.persister?this.options.persister(C,M,this):C(M)},d=(()=>{const C={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,xa),state:this.state,fetchFn:c};return s(C),C})(),g=A(this,Ni)==="infinite"?WB(this.options.pages):this.options.behavior;g==null||g.onFetch(d,this),le(this,Ci,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((m=d.fetchOptions)==null?void 0:m.meta))&&je(this,yo,Hr).call(this,{type:"fetch",meta:(v=d.fetchOptions)==null?void 0:v.meta}),le(this,Rt,dx({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:C=>{C instanceof l0&&C.revert&&this.setState({...A(this,Ci),fetchStatus:"idle"}),a.abort()},onFail:(C,E)=>{je(this,yo,Hr).call(this,{type:"failed",failureCount:C,error:E})},onPause:()=>{je(this,yo,Hr).call(this,{type:"pause"})},onContinue:()=>{je(this,yo,Hr).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const C=await A(this,Rt).start();if(C===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(C),(k=(S=A(this,Fo).config).onSuccess)==null||k.call(S,C,this),(x=(w=A(this,Fo).config).onSettled)==null||x.call(w,C,this.state.error,this),C}catch(C){if(C instanceof l0){if(C.silent)return A(this,Rt).promise;if(C.revert){if(this.state.data===void 0)throw C;return this.state.data}}throw je(this,yo,Hr).call(this,{type:"error",error:C}),(T=(z=A(this,Fo).config).onError)==null||T.call(z,C,this),(N=(j=A(this,Fo).config).onSettled)==null||N.call(j,this.state.data,C,this),C}finally{this.scheduleGc()}}},Ni=new WeakMap,ya=new WeakMap,Ci=new WeakMap,Fo=new WeakMap,xa=new WeakMap,Rt=new WeakMap,ps=new WeakMap,Sa=new WeakMap,yo=new WeakSet,gx=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Hr=function(r){const n=a=>{switch(r.type){case"failed":return{...a,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...px(a.data,this.options),fetchMeta:r.meta??null};case"success":const s={...a,...ib(r.data,r.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return le(this,Ci,r.manual?s:void 0),s;case"error":const c=r.error;return{...a,error:c,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...r.state}}};this.state=n(this.state),Nt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),A(this,Fo).notify({query:this,type:"updated",action:r})})},Ay);function px(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:fx(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ib(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function lb(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,n=r!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var ro,Fe,ms,Wt,wa,Ei,Lr,Rn,vs,ji,Ri,ka,Ba,An,Ai,Qe,Jl,s0,c0,u0,f0,d0,h0,g0,mx,Dy,$B=(Dy=class extends Qi{constructor(r,n){super();be(this,Qe);be(this,ro);be(this,Fe);be(this,ms);be(this,Wt);be(this,wa);be(this,Ei);be(this,Lr);be(this,Rn);be(this,vs);be(this,ji);be(this,Ri);be(this,ka);be(this,Ba);be(this,An);be(this,Ai,new Set);this.options=n,le(this,ro,r),le(this,Rn,null),le(this,Lr,i0()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(A(this,Fe).addObserver(this),sb(A(this,Fe),this.options)?je(this,Qe,Jl).call(this):this.updateResult(),je(this,Qe,f0).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return p0(A(this,Fe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return p0(A(this,Fe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,Qe,d0).call(this),je(this,Qe,h0).call(this),A(this,Fe).removeObserver(this)}setOptions(r){const n=this.options,a=A(this,Fe);if(this.options=A(this,ro).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof xo(this.options.enabled,A(this,Fe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,Qe,g0).call(this),A(this,Fe).setOptions(this.options),n._defaulted&&!yu(this.options,n)&&A(this,ro).getQueryCache().notify({type:"observerOptionsUpdated",query:A(this,Fe),observer:this});const s=this.hasListeners();s&&cb(A(this,Fe),a,this.options,n)&&je(this,Qe,Jl).call(this),this.updateResult(),s&&(A(this,Fe)!==a||xo(this.options.enabled,A(this,Fe))!==xo(n.enabled,A(this,Fe))||Ln(this.options.staleTime,A(this,Fe))!==Ln(n.staleTime,A(this,Fe)))&&je(this,Qe,s0).call(this);const c=je(this,Qe,c0).call(this);s&&(A(this,Fe)!==a||xo(this.options.enabled,A(this,Fe))!==xo(n.enabled,A(this,Fe))||c!==A(this,An))&&je(this,Qe,u0).call(this,c)}getOptimisticResult(r){const n=A(this,ro).getQueryCache().build(A(this,ro),r),a=this.createResult(n,r);return ZB(this,a)&&(le(this,Wt,a),le(this,Ei,this.options),le(this,wa,A(this,Fe).state)),a}getCurrentResult(){return A(this,Wt)}trackResult(r,n){return new Proxy(r,{get:(a,s)=>(this.trackProp(s),n==null||n(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&A(this,Lr).status==="pending"&&A(this,Lr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,s))})}trackProp(r){A(this,Ai).add(r)}getCurrentQuery(){return A(this,Fe)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const n=A(this,ro).defaultQueryOptions(r),a=A(this,ro).getQueryCache().build(A(this,ro),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(r){return je(this,Qe,Jl).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),A(this,Wt)))}createResult(r,n){var oe;const a=A(this,Fe),s=this.options,c=A(this,Wt),u=A(this,wa),d=A(this,Ei),p=r!==a?r.state:A(this,ms),{state:m}=r;let v={...m},S=!1,k;if(n._optimisticResults){const ie=this.hasListeners(),ve=!ie&&sb(r,n),ae=ie&&cb(r,a,n,s);(ve||ae)&&(v={...v,...px(m.data,r.options)}),n._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:w,errorUpdatedAt:x,status:z}=v;k=v.data;let T=!1;if(n.placeholderData!==void 0&&k===void 0&&z==="pending"){let ie;c!=null&&c.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(ie=c.data,T=!0):ie=typeof n.placeholderData=="function"?n.placeholderData((oe=A(this,Ri))==null?void 0:oe.state.data,A(this,Ri)):n.placeholderData,ie!==void 0&&(z="success",k=a0(c==null?void 0:c.data,ie,n),S=!0)}if(n.select&&k!==void 0&&!T)if(c&&k===(u==null?void 0:u.data)&&n.select===A(this,vs))k=A(this,ji);else try{le(this,vs,n.select),k=n.select(k),k=a0(c==null?void 0:c.data,k,n),le(this,ji,k),le(this,Rn,null)}catch(ie){le(this,Rn,ie)}A(this,Rn)&&(w=A(this,Rn),k=A(this,ji),x=Date.now(),z="error");const j=v.fetchStatus==="fetching",N=z==="pending",C=z==="error",E=N&&j,M=k!==void 0,G={status:z,fetchStatus:v.fetchStatus,isPending:N,isSuccess:z==="success",isError:C,isInitialLoading:E,isLoading:E,data:k,dataUpdatedAt:v.dataUpdatedAt,error:w,errorUpdatedAt:x,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:r.isFetched(),isFetchedAfterMount:v.dataUpdateCount>p.dataUpdateCount||v.errorUpdateCount>p.errorUpdateCount,isFetching:j,isRefetching:j&&!N,isLoadingError:C&&!M,isPaused:v.fetchStatus==="paused",isPlaceholderData:S,isRefetchError:C&&M,isStale:Y0(r,n),refetch:this.refetch,promise:A(this,Lr),isEnabled:xo(n.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const ie=G.data!==void 0,ve=G.status==="error"&&!ie,ae=ye=>{ve?ye.reject(G.error):ie&&ye.resolve(G.data)},ue=()=>{const ye=le(this,Lr,G.promise=i0());ae(ye)},re=A(this,Lr);switch(re.status){case"pending":r.queryHash===a.queryHash&&ae(re);break;case"fulfilled":(ve||G.data!==re.value)&&ue();break;case"rejected":(!ve||G.error!==re.reason)&&ue();break}}return G}updateResult(){const r=A(this,Wt),n=this.createResult(A(this,Fe),this.options);if(le(this,wa,A(this,Fe).state),le(this,Ei,this.options),A(this,wa).data!==void 0&&le(this,Ri,A(this,Fe)),yu(n,r))return;le(this,Wt,n);const a=()=>{if(!r)return!0;const{notifyOnChangeProps:s}=this.options,c=typeof s=="function"?s():s;if(c==="all"||!c&&!A(this,Ai).size)return!0;const u=new Set(c??A(this,Ai));return this.options.throwOnError&&u.add("error"),Object.keys(A(this,Wt)).some(d=>{const g=d;return A(this,Wt)[g]!==r[g]&&u.has(g)})};je(this,Qe,mx).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,Qe,f0).call(this)}},ro=new WeakMap,Fe=new WeakMap,ms=new WeakMap,Wt=new WeakMap,wa=new WeakMap,Ei=new WeakMap,Lr=new WeakMap,Rn=new WeakMap,vs=new WeakMap,ji=new WeakMap,Ri=new WeakMap,ka=new WeakMap,Ba=new WeakMap,An=new WeakMap,Ai=new WeakMap,Qe=new WeakSet,Jl=function(r){je(this,Qe,g0).call(this);let n=A(this,Fe).fetch(this.options,r);return r!=null&&r.throwOnError||(n=n.catch(Qt)),n},s0=function(){je(this,Qe,d0).call(this);const r=Ln(this.options.staleTime,A(this,Fe));if(ls.isServer()||A(this,Wt).isStale||!r0(r))return;const a=sx(A(this,Wt).dataUpdatedAt,r)+1;le(this,ka,pa.setTimeout(()=>{A(this,Wt).isStale||this.updateResult()},a))},c0=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(A(this,Fe)):this.options.refetchInterval)??!1},u0=function(r){je(this,Qe,h0).call(this),le(this,An,r),!(ls.isServer()||xo(this.options.enabled,A(this,Fe))===!1||!r0(A(this,An))||A(this,An)===0)&&le(this,Ba,pa.setInterval(()=>{(this.options.refetchIntervalInBackground||G0.isFocused())&&je(this,Qe,Jl).call(this)},A(this,An)))},f0=function(){je(this,Qe,s0).call(this),je(this,Qe,u0).call(this,je(this,Qe,c0).call(this))},d0=function(){A(this,ka)!==void 0&&(pa.clearTimeout(A(this,ka)),le(this,ka,void 0))},h0=function(){A(this,Ba)!==void 0&&(pa.clearInterval(A(this,Ba)),le(this,Ba,void 0))},g0=function(){const r=A(this,ro).getQueryCache().build(A(this,ro),this.options);if(r===A(this,Fe))return;const n=A(this,Fe);le(this,Fe,r),le(this,ms,r.state),this.hasListeners()&&(n==null||n.removeObserver(this),r.addObserver(this))},mx=function(r){Nt.batch(()=>{r.listeners&&this.listeners.forEach(n=>{n(A(this,Wt))}),A(this,ro).getQueryCache().notify({query:A(this,Fe),type:"observerResultsUpdated"})})},Dy);function KB(e,r){return xo(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&xo(r.retryOnMount,e)===!1)}function sb(e,r){return KB(e,r)||e.state.data!==void 0&&p0(e,r,r.refetchOnMount)}function p0(e,r,n){if(xo(r.enabled,e)!==!1&&Ln(r.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&Y0(e,r)}return!1}function cb(e,r,n,a){return(e!==r||xo(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Y0(e,n)}function Y0(e,r){return xo(r.enabled,e)!==!1&&e.isStaleByTime(Ln(r.staleTime,e))}function ZB(e,r){return!yu(e.getCurrentResult(),r)}var bs,gr,Pt,_a,pr,Nn,Oy,JB=(Oy=class extends hx{constructor(r){super();be(this,pr);be(this,bs);be(this,gr);be(this,Pt);be(this,_a);le(this,bs,r.client),this.mutationId=r.mutationId,le(this,Pt,r.mutationCache),le(this,gr,[]),this.state=r.state||vx(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){A(this,gr).includes(r)||(A(this,gr).push(r),this.clearGcTimeout(),A(this,Pt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){le(this,gr,A(this,gr).filter(n=>n!==r)),this.scheduleGc(),A(this,Pt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){A(this,gr).length||(this.state.status==="pending"?this.scheduleGc():A(this,Pt).remove(this))}continue(){var r;return((r=A(this,_a))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var u,d,g,p,m,v,S,k,w,x,z,T,j,N,C,E,M,Q;const n=()=>{je(this,pr,Nn).call(this,{type:"continue"})},a={client:A(this,bs),meta:this.options.meta,mutationKey:this.options.mutationKey};le(this,_a,dx({fn:()=>this.options.mutationFn?this.options.mutationFn(r,a):Promise.reject(new Error("No mutationFn found")),onFail:(G,oe)=>{je(this,pr,Nn).call(this,{type:"failed",failureCount:G,error:oe})},onPause:()=>{je(this,pr,Nn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,Pt).canRun(this)}));const s=this.state.status==="pending",c=!A(this,_a).canStart();try{if(s)n();else{je(this,pr,Nn).call(this,{type:"pending",variables:r,isPaused:c}),A(this,Pt).config.onMutate&&await A(this,Pt).config.onMutate(r,this,a);const oe=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,r,a));oe!==this.state.context&&je(this,pr,Nn).call(this,{type:"pending",context:oe,variables:r,isPaused:c})}const G=await A(this,_a).start();return await((p=(g=A(this,Pt).config).onSuccess)==null?void 0:p.call(g,G,r,this.state.context,this,a)),await((v=(m=this.options).onSuccess)==null?void 0:v.call(m,G,r,this.state.context,a)),await((k=(S=A(this,Pt).config).onSettled)==null?void 0:k.call(S,G,null,this.state.variables,this.state.context,this,a)),await((x=(w=this.options).onSettled)==null?void 0:x.call(w,G,null,r,this.state.context,a)),je(this,pr,Nn).call(this,{type:"success",data:G}),G}catch(G){try{await((T=(z=A(this,Pt).config).onError)==null?void 0:T.call(z,G,r,this.state.context,this,a))}catch(oe){Promise.reject(oe)}try{await((N=(j=this.options).onError)==null?void 0:N.call(j,G,r,this.state.context,a))}catch(oe){Promise.reject(oe)}try{await((E=(C=A(this,Pt).config).onSettled)==null?void 0:E.call(C,void 0,G,this.state.variables,this.state.context,this,a))}catch(oe){Promise.reject(oe)}try{await((Q=(M=this.options).onSettled)==null?void 0:Q.call(M,void 0,G,r,this.state.context,a))}catch(oe){Promise.reject(oe)}throw je(this,pr,Nn).call(this,{type:"error",error:G}),G}finally{A(this,Pt).runNext(this)}}},bs=new WeakMap,gr=new WeakMap,Pt=new WeakMap,_a=new WeakMap,pr=new WeakSet,Nn=function(r){const n=a=>{switch(r.type){case"failed":return{...a,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...a,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:r.error,failureCount:a.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Nt.batch(()=>{A(this,gr).forEach(a=>{a.onMutationUpdate(r)}),A(this,Pt).notify({mutation:this,type:"updated",action:r})})},Oy);function vx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Pr,Zo,ys,My,e4=(My=class extends Qi{constructor(r={}){super();be(this,Pr);be(this,Zo);be(this,ys);this.config=r,le(this,Pr,new Set),le(this,Zo,new Map),le(this,ys,0)}build(r,n,a){const s=new JB({client:r,mutationCache:this,mutationId:++$c(this,ys)._,options:r.defaultMutationOptions(n),state:a});return this.add(s),s}add(r){A(this,Pr).add(r);const n=Zc(r);if(typeof n=="string"){const a=A(this,Zo).get(n);a?a.push(r):A(this,Zo).set(n,[r])}this.notify({type:"added",mutation:r})}remove(r){if(A(this,Pr).delete(r)){const n=Zc(r);if(typeof n=="string"){const a=A(this,Zo).get(n);if(a)if(a.length>1){const s=a.indexOf(r);s!==-1&&a.splice(s,1)}else a[0]===r&&A(this,Zo).delete(n)}}this.notify({type:"removed",mutation:r})}canRun(r){const n=Zc(r);if(typeof n=="string"){const a=A(this,Zo).get(n),s=a==null?void 0:a.find(c=>c.state.status==="pending");return!s||s===r}else return!0}runNext(r){var a;const n=Zc(r);if(typeof n=="string"){const s=(a=A(this,Zo).get(n))==null?void 0:a.find(c=>c!==r&&c.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Nt.batch(()=>{A(this,Pr).forEach(r=>{this.notify({type:"removed",mutation:r})}),A(this,Pr).clear(),A(this,Zo).clear()})}getAll(){return Array.from(A(this,Pr))}find(r){const n={exact:!0,...r};return this.getAll().find(a=>ob(n,a))}findAll(r={}){return this.getAll().filter(n=>ob(r,n))}notify(r){Nt.batch(()=>{this.listeners.forEach(n=>{n(r)})})}resumePausedMutations(){const r=this.getAll().filter(n=>n.state.isPaused);return Nt.batch(()=>Promise.all(r.map(n=>n.continue().catch(Qt))))}},Pr=new WeakMap,Zo=new WeakMap,ys=new WeakMap,My);function Zc(e){var r;return(r=e.options.scope)==null?void 0:r.id}var Ir,Dn,no,Ur,Xr,uu,m0,qy,t4=(qy=class extends Qi{constructor(n,a){super();be(this,Xr);be(this,Ir);be(this,Dn);be(this,no);be(this,Ur);le(this,Ir,n),this.setOptions(a),this.bindMethods(),je(this,Xr,uu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const a=this.options;this.options=A(this,Ir).defaultMutationOptions(n),yu(this.options,a)||A(this,Ir).getMutationCache().notify({type:"observerOptionsUpdated",mutation:A(this,no),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&Ta(a.mutationKey)!==Ta(this.options.mutationKey)?this.reset():((s=A(this,no))==null?void 0:s.state.status)==="pending"&&A(this,no).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=A(this,no))==null||n.removeObserver(this)}onMutationUpdate(n){je(this,Xr,uu).call(this),je(this,Xr,m0).call(this,n)}getCurrentResult(){return A(this,Dn)}reset(){var n;(n=A(this,no))==null||n.removeObserver(this),le(this,no,void 0),je(this,Xr,uu).call(this),je(this,Xr,m0).call(this)}mutate(n,a){var s;return le(this,Ur,a),(s=A(this,no))==null||s.removeObserver(this),le(this,no,A(this,Ir).getMutationCache().build(A(this,Ir),this.options)),A(this,no).addObserver(this),A(this,no).execute(n)}},Ir=new WeakMap,Dn=new WeakMap,no=new WeakMap,Ur=new WeakMap,Xr=new WeakSet,uu=function(){var a;const n=((a=A(this,no))==null?void 0:a.state)??vx();le(this,Dn,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},m0=function(n){Nt.batch(()=>{var a,s,c,u,d,g,p,m;if(A(this,Ur)&&this.hasListeners()){const v=A(this,Dn).variables,S=A(this,Dn).context,k={client:A(this,Ir),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(s=(a=A(this,Ur)).onSuccess)==null||s.call(a,n.data,v,S,k)}catch(w){Promise.reject(w)}try{(u=(c=A(this,Ur)).onSettled)==null||u.call(c,n.data,null,v,S,k)}catch(w){Promise.reject(w)}}else if((n==null?void 0:n.type)==="error"){try{(g=(d=A(this,Ur)).onError)==null||g.call(d,n.error,v,S,k)}catch(w){Promise.reject(w)}try{(m=(p=A(this,Ur)).onSettled)==null||m.call(p,void 0,n.error,v,S,k)}catch(w){Promise.reject(w)}}}this.listeners.forEach(v=>{v(A(this,Dn))})})},qy),mr,Fy,o4=(Fy=class extends Qi{constructor(r={}){super();be(this,mr);this.config=r,le(this,mr,new Map)}build(r,n,a){const s=n.queryKey,c=n.queryHash??X0(s,n);let u=this.get(c);return u||(u=new YB({client:r,queryKey:s,queryHash:c,options:r.defaultQueryOptions(n),state:a,defaultOptions:r.getQueryDefaults(s)}),this.add(u)),u}add(r){A(this,mr).has(r.queryHash)||(A(this,mr).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const n=A(this,mr).get(r.queryHash);n&&(r.destroy(),n===r&&A(this,mr).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){Nt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return A(this,mr).get(r)}getAll(){return[...A(this,mr).values()]}find(r){const n={exact:!0,...r};return this.getAll().find(a=>tb(n,a))}findAll(r={}){const n=this.getAll();return Object.keys(r).length>0?n.filter(a=>tb(r,a)):n}notify(r){Nt.batch(()=>{this.listeners.forEach(n=>{n(r)})})}onFocus(){Nt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){Nt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},mr=new WeakMap,Fy),ut,On,Mn,Di,Oi,qn,Mi,qi,Hy,r4=(Hy=class{constructor(e={}){be(this,ut);be(this,On);be(this,Mn);be(this,Di);be(this,Oi);be(this,qn);be(this,Mi);be(this,qi);le(this,ut,e.queryCache||new o4),le(this,On,e.mutationCache||new e4),le(this,Mn,e.defaultOptions||{}),le(this,Di,new Map),le(this,Oi,new Map),le(this,qn,0)}mount(){$c(this,qn)._++,A(this,qn)===1&&(le(this,Mi,G0.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ut).onFocus())})),le(this,qi,xu.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ut).onOnline())})))}unmount(){var e,r;$c(this,qn)._--,A(this,qn)===0&&((e=A(this,Mi))==null||e.call(this),le(this,Mi,void 0),(r=A(this,qi))==null||r.call(this),le(this,qi,void 0))}isFetching(e){return A(this,ut).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,On).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const r=this.defaultQueryOptions({queryKey:e});return(n=A(this,ut).get(r.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),n=A(this,ut).build(this,r),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ln(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(a))}getQueriesData(e){return A(this,ut).findAll(e).map(({queryKey:r,state:n})=>{const a=n.data;return[r,a]})}setQueryData(e,r,n){const a=this.defaultQueryOptions({queryKey:e}),s=A(this,ut).get(a.queryHash),c=s==null?void 0:s.state.data,u=qB(r,c);if(u!==void 0)return A(this,ut).build(this,a).setData(u,{...n,manual:!0})}setQueriesData(e,r,n){return Nt.batch(()=>A(this,ut).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,r,n)]))}getQueryState(e){var n;const r=this.defaultQueryOptions({queryKey:e});return(n=A(this,ut).get(r.queryHash))==null?void 0:n.state}removeQueries(e){const r=A(this,ut);Nt.batch(()=>{r.findAll(e).forEach(n=>{r.remove(n)})})}resetQueries(e,r){const n=A(this,ut);return Nt.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const n={revert:!0,...r},a=Nt.batch(()=>A(this,ut).findAll(e).map(s=>s.cancel(n)));return Promise.all(a).then(Qt).catch(Qt)}invalidateQueries(e,r={}){return Nt.batch(()=>(A(this,ut).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},r)))}refetchQueries(e,r={}){const n={...r,cancelRefetch:r.cancelRefetch??!0},a=Nt.batch(()=>A(this,ut).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let c=s.fetch(void 0,n);return n.throwOnError||(c=c.catch(Qt)),s.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(Qt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const n=A(this,ut).build(this,r);return n.isStaleByTime(Ln(r.staleTime,n))?n.fetch(r):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Qt).catch(Qt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Qt).catch(Qt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return xu.isOnline()?A(this,On).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ut)}getMutationCache(){return A(this,On)}getDefaultOptions(){return A(this,Mn)}setDefaultOptions(e){le(this,Mn,e)}setQueryDefaults(e,r){A(this,Di).set(Ta(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...A(this,Di).values()],n={};return r.forEach(a=>{is(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,r){A(this,Oi).set(Ta(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...A(this,Oi).values()],n={};return r.forEach(a=>{is(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const r={...A(this,Mn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=X0(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===W0&&(r.enabled=!1),r}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Mn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ut).clear(),A(this,On).clear()}},ut=new WeakMap,On=new WeakMap,Mn=new WeakMap,Di=new WeakMap,Oi=new WeakMap,qn=new WeakMap,Mi=new WeakMap,qi=new WeakMap,Hy),bx=y.createContext(void 0),qu=e=>{const r=y.useContext(bx);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},n4=({client:e,children:r})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),B.jsx(bx.Provider,{value:e,children:r})),yx=y.createContext(!1),a4=()=>y.useContext(yx);yx.Provider;function i4(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var l4=y.createContext(i4()),s4=()=>y.useContext(l4),c4=(e,r,n)=>{const a=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Q0(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(r.isReset()||(e.retryOnMount=!1))},u4=e=>{y.useEffect(()=>{e.clearReset()},[e])},f4=({result:e,errorResetBoundary:r,throwOnError:n,query:a,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&a&&(s&&e.data===void 0||Q0(n,[e.error,a])),d4=e=>{if(e.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),a=e.staleTime;e.staleTime=typeof a=="function"?(...s)=>n(a(...s)):n(a),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},h4=(e,r)=>e.isLoading&&e.isFetching&&!r,g4=(e,r)=>(e==null?void 0:e.suspense)&&r.isPending,ub=(e,r,n)=>r.fetchOptimistic(e).catch(()=>{n.clearReset()});function p4(e,r,n){var S,k,w,x;const a=a4(),s=s4(),c=qu(),u=c.defaultQueryOptions(e);(k=(S=c.getDefaultOptions().queries)==null?void 0:S._experimental_beforeQuery)==null||k.call(S,u);const d=c.getQueryCache().get(u.queryHash);u._optimisticResults=a?"isRestoring":"optimistic",d4(u),c4(u,s,d),u4(s);const g=!c.getQueryCache().get(u.queryHash),[p]=y.useState(()=>new r(c,u)),m=p.getOptimisticResult(u),v=!a&&e.subscribed!==!1;if(y.useSyncExternalStore(y.useCallback(z=>{const T=v?p.subscribe(Nt.batchCalls(z)):Qt;return p.updateResult(),T},[p,v]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),y.useEffect(()=>{p.setOptions(u)},[u,p]),g4(u,m))throw ub(u,p,s);if(f4({result:m,errorResetBoundary:s,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw m.error;if((x=(w=c.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||x.call(w,u,m),u.experimental_prefetchInRender&&!ls.isServer()&&h4(m,a)){const z=g?ub(u,p,s):d==null?void 0:d.promise;z==null||z.catch(Qt).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?m:p.trackResult(m)}function Fu(e,r){return p4(e,$B)}function xx(e,r){const n=qu(),[a]=y.useState(()=>new t4(n,e));y.useEffect(()=>{a.setOptions(e)},[a,e]);const s=y.useSyncExternalStore(y.useCallback(u=>a.subscribe(Nt.batchCalls(u)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=y.useCallback((u,d)=>{a.mutate(u,d).catch(Qt)},[a]);if(s.error&&Q0(a.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:c,mutateAsync:s.mutate}}const Ah=typeof window>"u"?global:window,Dh="@griffel/";function m4(e,r){return Ah[Symbol.for(Dh+e)]||(Ah[Symbol.for(Dh+e)]=r),Ah[Symbol.for(Dh+e)]}const v0=m4("DEFINITION_LOOKUP_TABLE",{}),ts="data-make-styles-bucket",v4="data-priority",b0="f",y0=7,$0="___",b4=$0.length+y0,y4=0,x4=1,S4={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},x0="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function ss(e){for(var r=0,n,a=0,s=e.length;s>=4;++a,s-=4)n=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,r=(n&65535)*1540483477+((n>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(s){case 3:r^=(e.charCodeAt(a+2)&255)<<16;case 2:r^=(e.charCodeAt(a+1)&255)<<8;case 1:r^=e.charCodeAt(a)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function w4(e){const r=e.length;if(r===y0)return e;for(let n=r;n<y0;n++)e+="0";return e}function Sx(e,r,n=[]){return $0+w4(ss(e+r))}function wx(e,r){let n="",a="";for(const s in e){const c=e[s];if(c===0){a+=s+" ";continue}const u=Array.isArray(c),d=r==="rtl"?(u?c[1]:c)+" ":(u?c[0]:c)+" ";n+=d,a+=d}return[n.slice(0,-1),a.slice(0,-1)]}function Su(e,r){const n={};for(const a in e){const[s,c]=wx(e[a],r);if(c===""){n[a]="";continue}const u=Sx(c,r),d=u+(s===""?"":" "+s);v0[u]=[e[a],r],n[a]=d}return n}const fb={};function me(){let e=null,r="",n="";const a=new Array(arguments.length);for(let v=0;v<arguments.length;v++){const S=arguments[v];if(typeof S=="string"&&S!==""){const k=S.indexOf($0);if(k===-1)r+=S+" ";else{const w=S.substr(k,b4);k>0&&(r+=S.slice(0,k)),n+=w,a[v]=w}}}if(n==="")return r.slice(0,-1);const s=fb[n];if(s!==void 0)return r+s;const c=[];for(let v=0;v<arguments.length;v++){const S=a[v];if(S){const k=v0[S];k&&(c.push(k[y4]),e=k[x4])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,g]=wx(u,e),p=Sx(g,e,a),m=p+" "+d;return fb[n]=m,v0[p]=[u,e],r+m}function k4(e){return Array.isArray(e)?e:[e]}function B4(e,r,n,a){const s=[];if(a[ts]=r,a[v4]=String(n),e)for(const u in a)e.setAttribute(u,a[u]);function c(u){return e!=null&&e.sheet?e.sheet.insertRule(u,e.sheet.cssRules.length):s.push(u)}return{elementAttributes:a,insertRule:c,element:e,bucketName:r,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(u=>u.cssText):s}}}const _4=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],db=_4.reduce((e,r,n)=>(e[r]=n,e),{});function z4(e,r,n){return(e==="m"?e+r:e)+n}function T4(e,r,n,a,s={}){var c,u;const d=e==="m",g=(c=s.m)!==null&&c!==void 0?c:"0",p=(u=s.p)!==null&&u!==void 0?u:0,m=z4(e,g,p);if(!a.stylesheets[m]){const v=r&&r.createElement("style"),S=B4(v,e,p,{...a.styleElementAttributes,...d&&{media:g}});a.stylesheets[m]=S,r!=null&&r.head&&v&&r.head.insertBefore(v,C4(r,n,e,a,s))}return a.stylesheets[m]}function N4(e,r,n){var a,s;const c=r+((a=n.m)!==null&&a!==void 0?a:""),u=e.getAttribute(ts)+((s=e.media)!==null&&s!==void 0?s:"");return c===u}function C4(e,r,n,a,s={}){var c,u;const d=db[n],g=(c=s.m)!==null&&c!==void 0?c:"",p=(u=s.p)!==null&&u!==void 0?u:0;let m=x=>d-db[x.getAttribute(ts)],v=e.head.querySelectorAll(`[${ts}]`);if(n==="m"){const x=e.head.querySelectorAll(`[${ts}="${n}"]`);x.length&&(v=x,m=z=>a.compareMediaQueries(g,z.media))}const S=x=>N4(x,n,s)?p-Number(x.getAttribute("data-priority")):m(x),k=v.length;let w=k-1;for(;w>=0;){const x=v.item(w);if(S(x)>0)return x.nextSibling;w--}return k>0?v.item(0):r?r.nextSibling:null}function hb(e,r){try{e.insertRule(r)}catch{}}let E4=0;const j4=(e,r)=>e<r?-1:e>r?1:0;function R4(e=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:n,unstable_filterCSSRule:a,insertionPoint:s,styleElementAttributes:c,compareMediaQueries:u=j4}=r,d={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${E4++}`,insertCSSRules(g){for(const p in g){const m=g[p];for(let v=0,S=m.length;v<S;v++){const[k,w]=k4(m[v]),x=T4(p,e,s||null,d,w);d.insertionCache[k]||(d.insertionCache[k]=p,a?a(k)&&hb(x,k):hb(x,k))}}}};return d}const K0=()=>{const e={};return function(n,a){e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}};function kx(e){return e.reduce(function(r,n){var a=n[0],s=n[1];return r[a]=s,r[s]=a,r},{})}function A4(e){return typeof e=="boolean"}function D4(e){return typeof e=="function"}function es(e){return typeof e=="number"}function O4(e){return e===null||typeof e>"u"}function M4(e){return e&&typeof e=="object"}function q4(e){return typeof e=="string"}function fu(e,r){return e.indexOf(r)!==-1}function F4(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Jc(e,r,n,a){return r+F4(n)+a}function H4(e){var r=e.indexOf(".");if(r===-1)e=100-parseFloat(e)+"%";else{var n=e.length-r-2;e=100-parseFloat(e),e=e.toFixed(n)+"%"}return e}function Bx(e){return e.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,n){var a=r.list,s=r.state,c=(n.match(/\(/g)||[]).length,u=(n.match(/\)/g)||[]).length;return s.parensDepth>0?a[a.length-1]=a[a.length-1]+" "+n:a.push(n),s.parensDepth+=c-u,{list:a,state:s}},{list:[],state:{parensDepth:0}}).list}function gb(e){var r=Bx(e);if(r.length<=3||r.length>4)return e;var n=r[0],a=r[1],s=r[2],c=r[3];return[n,c,s,a].join(" ")}function L4(e){return!A4(e)&&!O4(e)}function P4(e){for(var r=[],n=0,a=0,s=!1;a<e.length;)!s&&e[a]===","?(r.push(e.substring(n,a).trim()),a++,n=a):e[a]==="("?(s=!0,a++):(e[a]===")"&&(s=!1),a++);return n!=a&&r.push(e.substring(n,a+1)),r}var ee={padding:function(r){var n=r.value;return es(n)?n:gb(n)},textShadow:function(r){var n=r.value,a=P4(n).map(function(s){return s.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,d,g){if(g==="0")return c;var p=d===""?"-":"";return""+u+p+g})});return a.join(",")},borderColor:function(r){var n=r.value;return gb(n)},borderRadius:function(r){var n=r.value;if(es(n))return n;if(fu(n,"/")){var a=n.split("/"),s=a[0],c=a[1],u=ee.borderRadius({value:s.trim()}),d=ee.borderRadius({value:c.trim()});return u+" / "+d}var g=Bx(n);switch(g.length){case 2:return g.reverse().join(" ");case 4:{var p=g[0],m=g[1],v=g[2],S=g[3];return[m,p,S,v].join(" ")}default:return n}},background:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgImgDirectionRegex,u=r.bgPosDirectionRegex;if(es(n))return n;var d=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(d,ee.backgroundPosition({value:d,valuesToConvert:a,isRtl:s,bgPosDirectionRegex:u})),ee.backgroundImage({value:n,valuesToConvert:a,bgImgDirectionRegex:c})},backgroundImage:function(r){var n=r.value,a=r.valuesToConvert,s=r.bgImgDirectionRegex;return!fu(n,"url(")&&!fu(n,"linear-gradient(")?n:n.replace(s,function(c,u,d){return c.replace(d,a[d])})},backgroundPosition:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgPosDirectionRegex;return n.replace(s?/^((-|\d|\.)+%)/:null,function(u,d){return H4(d)}).replace(c,function(u){return a[u]})},backgroundPositionX:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgPosDirectionRegex;return es(n)?n:ee.backgroundPosition({value:n,valuesToConvert:a,isRtl:s,bgPosDirectionRegex:c})},transition:function(r){var n=r.value,a=r.propertiesToConvert;return n.split(/,\s*/g).map(function(s){var c=s.split(" ");return c[0]=a[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(r){var n=r.value,a=r.propertiesToConvert;return n.split(/,\s*/g).map(function(s){return a[s]||s}).join(", ")},transform:function(r){var n=r.value,a="[^\\u0020-\\u007e]",s="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+a+"|"+s+")")+("(?:[_a-z0-9-]|"+a+"|"+s+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),d=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),g=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),p=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,Jc).replace(d,Jc).replace(g,Jc).replace(p,Jc)}};ee.objectPosition=ee.backgroundPosition;ee.margin=ee.padding;ee.borderWidth=ee.padding;ee.boxShadow=ee.textShadow;ee.webkitBoxShadow=ee.boxShadow;ee.mozBoxShadow=ee.boxShadow;ee.WebkitBoxShadow=ee.boxShadow;ee.MozBoxShadow=ee.boxShadow;ee.borderStyle=ee.borderColor;ee.webkitTransform=ee.transform;ee.mozTransform=ee.transform;ee.WebkitTransform=ee.transform;ee.MozTransform=ee.transform;ee.transformOrigin=ee.backgroundPosition;ee.webkitTransformOrigin=ee.transformOrigin;ee.mozTransformOrigin=ee.transformOrigin;ee.WebkitTransformOrigin=ee.transformOrigin;ee.MozTransformOrigin=ee.transformOrigin;ee.webkitTransition=ee.transition;ee.mozTransition=ee.transition;ee.WebkitTransition=ee.transition;ee.MozTransition=ee.transition;ee.webkitTransitionProperty=ee.transitionProperty;ee.mozTransitionProperty=ee.transitionProperty;ee.WebkitTransitionProperty=ee.transitionProperty;ee.MozTransitionProperty=ee.transitionProperty;ee["text-shadow"]=ee.textShadow;ee["border-color"]=ee.borderColor;ee["border-radius"]=ee.borderRadius;ee["background-image"]=ee.backgroundImage;ee["background-position"]=ee.backgroundPosition;ee["background-position-x"]=ee.backgroundPositionX;ee["object-position"]=ee.objectPosition;ee["border-width"]=ee.padding;ee["box-shadow"]=ee.textShadow;ee["-webkit-box-shadow"]=ee.textShadow;ee["-moz-box-shadow"]=ee.textShadow;ee["border-style"]=ee.borderColor;ee["-webkit-transform"]=ee.transform;ee["-moz-transform"]=ee.transform;ee["transform-origin"]=ee.transformOrigin;ee["-webkit-transform-origin"]=ee.transformOrigin;ee["-moz-transform-origin"]=ee.transformOrigin;ee["-webkit-transition"]=ee.transition;ee["-moz-transition"]=ee.transition;ee["transition-property"]=ee.transitionProperty;ee["-webkit-transition-property"]=ee.transitionProperty;ee["-moz-transition-property"]=ee.transitionProperty;var _x=kx([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),I4=["content"],pb=kx([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),U4=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),V4=new RegExp("(left)|(right)");function zx(e){return Object.keys(e).reduce(function(r,n){var a=e[n];if(q4(a)&&(a=a.trim()),fu(I4,n))return r[n]=a,r;var s=S0(n,a),c=s.key,u=s.value;return r[c]=u,r},Array.isArray(e)?[]:{})}function S0(e,r){var n=/\/\*\s?@noflip\s?\*\//.test(r),a=n?e:G4(e),s=n?r:X4(a,r);return{key:a,value:s}}function G4(e){return _x[e]||e}function X4(e,r){if(!L4(r))return r;if(M4(r))return zx(r);var n=es(r),a=D4(r),s=n||a?r:r.replace(/ !important.*?$/,""),c=!n&&s.length!==r.length,u=ee[e],d;return u?d=u({value:s,valuesToConvert:pb,propertiesToConvert:_x,isRtl:!0,bgImgDirectionRegex:U4,bgPosDirectionRegex:V4}):d=pb[s]||s,c?d+" !important":d}var os="-moz-",$o="-webkit-",Tx="comm",Hu="rule",Z0="decl",W4="@media",Q4="@import",Y4="@supports",$4="@namespace",K4="@keyframes",Nx="@layer",Z4=Math.abs,Si=String.fromCharCode,J4=Object.assign;function e6(e,r){return Ut(e,0)^45?(((r<<2^Ut(e,0))<<2^Ut(e,1))<<2^Ut(e,2))<<2^Ut(e,3):0}function Cx(e){return e.trim()}function Ex(e,r){return(e=r.exec(e))?e[0]:e}function So(e,r,n){return e.replace(r,n)}function t6(e,r){return e.indexOf(r)}function Ut(e,r){return e.charCodeAt(r)|0}function Fi(e,r,n){return e.slice(r,n)}function Jo(e){return e.length}function jx(e){return e.length}function ma(e,r){return r.push(e),e}function o6(e,r){return e.map(r).join("")}var Lu=1,Hi=1,Rx=0,Bo=0,lt=0,Yi="";function Pu(e,r,n,a,s,c,u,d){return{value:e,root:r,parent:n,type:a,props:s,children:c,line:Lu,column:Hi,length:u,return:"",siblings:d}}function Oh(e,r){return J4(Pu("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function r6(){return lt}function n6(){return lt=Bo>0?Ut(Yi,--Bo):0,Hi--,lt===10&&(Hi=1,Lu--),lt}function Uo(){return lt=Bo<Rx?Ut(Yi,Bo++):0,Hi++,lt===10&&(Hi=1,Lu++),lt}function Fn(){return Ut(Yi,Bo)}function du(){return Bo}function Iu(e,r){return Fi(Yi,e,r)}function Li(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ax(e){return Lu=Hi=1,Rx=Jo(Yi=e),Bo=0,[]}function Dx(e){return Yi="",e}function hu(e){return Cx(Iu(Bo-1,w0(e===91?e+2:e===40?e+1:e)))}function a6(e){return Dx(l6(Ax(e)))}function i6(e){for(;(lt=Fn())&&lt<33;)Uo();return Li(e)>2||Li(lt)>3?"":" "}function l6(e){for(;Uo();)switch(Li(lt)){case 0:ma(Ox(Bo-1),e);break;case 2:ma(hu(lt),e);break;default:ma(Si(lt),e)}return e}function s6(e,r){for(;--r&&Uo()&&!(lt<48||lt>102||lt>57&&lt<65||lt>70&&lt<97););return Iu(e,du()+(r<6&&Fn()==32&&Uo()==32))}function w0(e){for(;Uo();)switch(lt){case e:return Bo;case 34:case 39:e!==34&&e!==39&&w0(lt);break;case 40:e===41&&w0(e);break;case 92:Uo();break}return Bo}function c6(e,r){for(;Uo()&&e+lt!==57;)if(e+lt===84&&Fn()===47)break;return"/*"+Iu(r,Bo-1)+"*"+Si(e===47?e:Uo())}function Ox(e){for(;!Li(Fn());)Uo();return Iu(e,Bo)}function Mx(e){return Dx(gu("",null,null,null,[""],e=Ax(e),0,[0],e))}function gu(e,r,n,a,s,c,u,d,g){for(var p=0,m=0,v=u,S=0,k=0,w=0,x=1,z=1,T=1,j=0,N=0,C="",E=s,M=c,Q=a,G=C;z;)switch(w=N,N=Uo()){case 40:w!=108&&Ut(G,v-1)==58?(j++,G+="("):G+=hu(N);break;case 41:j--,G+=")";break;case 34:case 39:case 91:G+=hu(N);break;case 9:case 10:case 13:case 32:if(j>0){G+=Si(N);break}G+=i6(w);break;case 92:G+=s6(du()-1,7);continue;case 47:switch(Fn()){case 42:case 47:ma(u6(c6(Uo(),du()),r,n,g),g),(Li(w||1)==5||Li(Fn()||1)==5)&&Jo(G)&&Fi(G,-1,void 0)!==" "&&(G+=" ");break;default:G+="/"}break;case 123*x:d[p++]=Jo(G)*T;case 125*x:case 59:case 0:if(j>0&&N){G+=Si(N);break}switch(N){case 0:case 125:z=0;case 59+m:T==-1&&(G=So(G,/\f/g,"")),k>0&&(Jo(G)-v||x===0)&&ma(k>32?vb(G+";",a,n,v-1,g):vb(So(G," ","")+";",a,n,v-2,g),g);break;case 59:G+=";";default:if(ma(Q=mb(G,r,n,p,m,s,d,C,E=[],M=[],v,c),c),N===123)if(m===0)gu(G,r,Q,Q,E,c,v,d,M);else{switch(S){case 99:if(Ut(G,3)===110)break;case 108:if(Ut(G,2)===97)break;default:m=0;case 100:case 109:case 115:}m?gu(e,Q,Q,a&&ma(mb(e,Q,Q,0,0,s,d,C,s,E=[],v,M),M),s,M,v,d,a?E:M):gu(G,Q,Q,Q,[""],M,0,d,M)}}p=m=k=0,x=T=1,C=G="",v=u;break;case 58:v=1+Jo(G),k=w;default:if(x<1){if(N==123)--x;else if(N==125&&x++==0&&n6()==125)continue}switch(G+=Si(N),N*x){case 38:T=m>0?1:(G+="\f",-1);break;case 44:if(j>0)break;d[p++]=(Jo(G)-1)*T,T=1;break;case 64:Fn()===45&&(G+=hu(Uo())),S=Fn(),m=v=Jo(C=G+=Ox(du())),N++;break;case 45:w===45&&Jo(G)==2&&(x=0)}}return c}function mb(e,r,n,a,s,c,u,d,g,p,m,v){for(var S=s-1,k=s===0?c:[""],w=jx(k),x=0,z=0,T=0;x<a;++x)for(var j=0,N=Fi(e,S+1,S=Z4(z=u[x])),C=e;j<w;++j)(C=Cx(z>0?k[j]+" "+N:So(N,/&\f/g,k[j])))&&(g[T++]=C);return Pu(e,r,n,s===0?Hu:d,g,p,m,v)}function u6(e,r,n,a){return Pu(e,r,n,Tx,Si(r6()),Fi(e,2,-2),0,a)}function vb(e,r,n,a,s){return Pu(e,r,n,Z0,Fi(e,0,a),Fi(e,a+1,-1),a,s)}function Pi(e,r){for(var n="",a=0;a<e.length;a++)n+=r(e[a],a,e,r)||"";return n}function qx(e,r,n,a){switch(e.type){case Nx:if(e.children.length)break;case Q4:case $4:case Z0:return e.return=e.return||e.value;case Tx:return"";case K4:return e.return=e.value+"{"+Pi(e.children,a)+"}";case Hu:if(!Jo(e.value=e.props.join(",")))return""}return Jo(n=Pi(e.children,a))?e.return=e.value+"{"+n+"}":""}function Fx(e){var r=jx(e);return function(n,a,s,c){for(var u="",d=0;d<r;d++)u+=e[d](n,a,s,c)||"";return u}}function Hx(e){return function(r){r.root||(r=r.return)&&e(r)}}const f6=e=>{switch(e.type){case Hu:if(typeof e.props=="string")return;e.props=e.props.map(r=>r.indexOf(":global(")===-1?r:a6(r).reduce((n,a,s,c)=>{if(a==="")return n;if(a===":"&&c[s+1]==="global"){const u=c[s+2].slice(1,-1)+" ";return n.unshift(u),c[s+1]="",c[s+2]="",n}return n.push(a),n},[]).join(""))}};function Lx(e,r,n){switch(e6(e,r)){case 5103:return $o+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return $o+e+e;case 4215:if(Ut(e,9)===102||Ut(e,r+1)===116)return $o+e+e;break;case 4789:return os+e+e;case 5349:case 4246:case 6968:return $o+e+os+e+e;case 6187:if(!Ex(e,/grab/))return So(So(So(e,/(zoom-|grab)/,$o+"$1"),/(image-set)/,$o+"$1"),e,"")+e;case 5495:case 3959:return So(e,/(image-set\([^]*)/,$o+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return So(e,/(.+)-inline(.+)/,$o+"$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(Jo(e)-1-r>6)switch(Ut(e,r+1)){case 102:if(Ut(e,r+3)===108)return So(e,/(.+:)(.+)-([^]+)/,"$1"+$o+"$2-$3$1"+os+(Ut(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~t6(e,"stretch")?Lx(So(e,"stretch","fill-available"),r)+e:e}break}return e}function Px(e,r,n,a){if(e.length>-1&&!e.return)switch(e.type){case Z0:e.return=Lx(e.value,e.length);return;case Hu:if(e.length)return o6(e.props,function(s){switch(Ex(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pi([Oh(e,{props:[So(s,/:(read-\w+)/,":"+os+"$1")]})],a);case"::placeholder":return Pi([Oh(e,{props:[So(s,/:(plac\w+)/,":"+$o+"input-$1")]}),Oh(e,{props:[So(s,/:(plac\w+)/,":"+os+"$1")]})],a)}return""})}}function d6(e){switch(e.type){case"@container":case W4:case Y4:case Nx:return!0}return!1}const h6=e=>{d6(e)&&Array.isArray(e.children)&&e.children.sort((r,n)=>r.props[0]>n.props[0]?1:-1)};function g6(e,r){const n=[];return Pi(Mx(e),Fx([f6,h6,Px,qx,Hx(a=>n.push(a))])),n}const p6=/[A-Z]/g,m6=/^ms-/,Mh={};function v6(e){return"-"+e.toLowerCase()}function yi(e){if(Object.prototype.hasOwnProperty.call(Mh,e))return Mh[e];if(e.substr(0,2)==="--")return e;const r=e.replace(p6,v6);return Mh[e]=m6.test(r)?"-"+r:r}function Ix(e){return e.charAt(0)==="&"?e.slice(1):e}const b6=/,( *[^ &])/g;function y6(e){return"&"+Ix(e.replace(b6,",&$1"))}function bb(e,r){return r.reduceRight((n,a)=>`${y6(a)} { ${n} }`,e)}function yb(e,r){const{className:n,selectors:a,property:s,rtlClassName:c,rtlProperty:u,rtlValue:d,value:g}=e,{container:p,layer:m,media:v,scope:S,supports:k}=r,w=`.${n}`,x=Array.isArray(g)?`${g.map(j=>`${yi(s)}: ${j}`).join(";")};`:`${yi(s)}: ${g};`,z=bb(x,a);let T=S?`@scope (${w}) ${S} { :scope{${z}} }`:`${w}{${z}}`;if(u&&c){const j=`.${c}`,N=Array.isArray(d)?`${d.map(E=>`${yi(u)}: ${E}`).join(";")};`:`${yi(u)}: ${d};`,C=bb(N,a);T+=S?`@scope (${j}) ${S} { :scope{${C}} }`:`${j}{${C}}`}return v&&(T=`@media ${v} { ${T} }`),m&&(T=`@layer ${m} { ${T} }`),k&&(T=`@supports ${k} { ${T} }`),p&&(T=`@container ${p} { ${T} }`),g6(T)}function x6(e){let r="";for(const n in e){const a=e[n];if(typeof a=="string"||typeof a=="number"){r+=yi(n)+":"+a+";";continue}if(Array.isArray(a))for(const s of a)r+=yi(n)+":"+s+";"}return r}function xb(e){let r="";for(const n in e)r+=`${n}{${x6(e[n])}}`;return r}function Sb(e,r){const n=`@keyframes ${e} {${r}}`,a=[];return Pi(Mx(n),Fx([qx,Px,Hx(s=>a.push(s))])),a}const wb={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function kb(e,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(e.length>0){const n=e[0].trim();if(n.charCodeAt(0)===58)return wb[n.slice(4,8)]||wb[n.slice(3,5)]||"d"}return"d"}const S6={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Bb(e,r){return e.length===0?r:`${e} and ${r}`}function $l(e,r){return e&&r+e}function Ux(e){return $l(e.container,"c")+$l(e.media,"m")+$l(e.layer,"l")+$l(e.supports,"s")+$l(e.scope,"o")}function qh(e,r,n){const a=e+Ux(n)+r,s=ss(a),c=s.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+s.slice(1):s}function eu({property:e,selector:r,salt:n,value:a},s){return b0+ss(n+r+Ux(s)+e+a.trim())}function w6(e){return e.substring(0,10)==="@container"}function k6(e){return e.substr(0,6)==="@layer"}function B6(e){return e.substr(0,6)==="@media"}const _6=/^(:|\[|>|&)/;function z6(e){return _6.test(e)}function T6(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function N6(e){return e===x0}function C6(e){return e.substring(0,6)==="@scope"}function E6(e){return e.substr(0,9)==="@supports"}function Fh(e){return e.replace(/>\s+/g,">")}function _b(e){return S6[e]}function zb(e){var r;return(r=e==null?void 0:e[0])!==null&&r!==void 0?r:0}function Hh(e,r,n,a){e[r]=a?[n,a]:n}function Tb(e,r){return r.length>0?[e,Object.fromEntries(r)]:e}function Lh(e,r,n,a,s,c){var u;const d=[];c!==0&&d.push(["p",c]),r==="m"&&s&&d.push(["m",s]),(u=e[r])!==null&&u!==void 0||(e[r]=[]),n&&e[r].push(Tb(n,d)),a&&e[r].push(Tb(a,d))}function hr(e,r="",n=[],a={container:"",layer:"",media:"",supports:"",scope:""},s={},c={},u){for(const d in e){if(S4.hasOwnProperty(d)){e[d];continue}const g=e[d];if(g!=null){if(N6(g)){const p=Fh(n.join("")),m=qh(p,d,a);Hh(s,m,0,void 0);continue}if(typeof g=="string"||typeof g=="number"){const p=Fh(n.join("")),m=_b(d);if(m){const C=m[1],E=Object.fromEntries(C.map(M=>[M,x0]));hr(E,r,n,a,s,c)}const v=qh(p,d,a),S=eu({value:g.toString(),salt:r,selector:p,property:d},a),k=u&&{key:d,value:u}||S0(d,g),w=k.key!==d||k.value!==g,x=w?eu({value:k.value.toString(),property:k.key,salt:r,selector:p},a):void 0,z=w?{rtlClassName:x,rtlProperty:k.key,rtlValue:k.value}:void 0,T=kb(n,a),[j,N]=yb({className:S,selectors:n,property:d,value:g,...z},a);Hh(s,v,S,x),Lh(c,T,j,N,a.media,zb(m))}else if(d==="animationName"){const p=Array.isArray(g)?g:[g],m=[],v=[];for(const S of p){const k=xb(S),w=xb(zx(S)),x=b0+ss(k);let z;const T=Sb(x,k);let j=[];k===w?z=x:(z=b0+ss(w),j=Sb(z,w));for(let N=0;N<T.length;N++)Lh(c,"k",T[N],j[N],a.media,0);m.push(x),v.push(z)}hr({animationName:m.join(", ")},r,n,a,s,c,v.join(", "))}else if(Array.isArray(g)){if(g.length===0)continue;const p=Fh(n.join("")),m=_b(d);if(m){const E=m[1],M=Object.fromEntries(E.map(Q=>[Q,x0]));hr(M,r,n,a,s,c)}const v=qh(p,d,a),S=eu({value:g.map(E=>(E??"").toString()).join(";"),salt:r,selector:p,property:d},a),k=g.map(E=>S0(d,E));if(!!k.some(E=>E.key!==k[0].key))continue;const x=k[0].key!==d||k.some((E,M)=>E.value!==g[M]),z=x?eu({value:k.map(E=>{var M;return((M=E==null?void 0:E.value)!==null&&M!==void 0?M:"").toString()}).join(";"),salt:r,property:k[0].key,selector:p},a):void 0,T=x?{rtlClassName:z,rtlProperty:k[0].key,rtlValue:k.map(E=>E.value)}:void 0,j=kb(n,a),[N,C]=yb({className:S,selectors:n,property:d,value:g,...T},a);Hh(s,v,S,z),Lh(c,j,N,C,a.media,zb(m))}else if(T6(g)){if(z6(d))hr(g,r,n.concat(Ix(d)),a,s,c);else if(B6(d)){const p=Bb(a.media,d.slice(6).trim());hr(g,r,n,{...a,media:p},s,c)}else if(k6(d)){const p=(a.layer?`${a.layer}.`:"")+d.slice(6).trim();hr(g,r,n,{...a,layer:p},s,c)}else if(E6(d)){const p=Bb(a.supports,d.slice(9).trim());hr(g,r,n,{...a,supports:p},s,c)}else if(w6(d)){const p=d.slice(10).trim();hr(g,r,n,{...a,container:p},s,c)}else if(C6(d)){if(a.scope)continue;const p=d.slice(6).trim();if(p===""||!p.startsWith("to "))continue;hr(g,r,n,{...a,scope:p},s,c)}}}}return[s,c]}function j6(e,r=""){const n={},a={};for(const s in e){const c=e[s],[u,d]=hr(c,r);n[s]=u,Object.keys(d).forEach(g=>{a[g]=(a[g]||[]).concat(d[g])})}return[n,a]}function R6(e,r=K0){const n=r();let a=null,s=null,c=null,u=null;function d(g){const{dir:p,renderer:m}=g;a===null&&([a,s]=j6(e,m.classNameHashSalt));const v=p==="ltr";return v?c===null&&(c=Su(a,p)):u===null&&(u=Su(a,p)),n(m,s),v?c:u}return d}function Vx(e,r,n=K0){const a=n();let s=null,c=null;function u(d){const{dir:g,renderer:p}=d,m=g==="ltr";return m?s===null&&(s=Su(e,g)):c===null&&(c=Su(e,g)),a(p,r),m?s:c}return u}function A6(e,r,n,a=K0){const s=a();function c(u){const{dir:d,renderer:g}=u,p=d==="ltr"?e:r||e;return s(g,Array.isArray(n)?{r:n}:n),p}return c}function D6(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Nb=Jh.useInsertionEffect?Jh.useInsertionEffect:void 0,J0=()=>{const e={};return function(n,a){if(Nb&&D6()){Nb(()=>{n.insertCSSRules(a)},[n,a]);return}e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}},O6=y.createContext(R4());function ks(){return y.useContext(O6)}const Gx=y.createContext("ltr"),M6=({children:e,dir:r})=>B.jsx(Gx.Provider,{value:r,children:e});function eg(){return y.useContext(Gx)}function sr(e){const r=R6(e,J0);return function(){const a=eg(),s=ks();return r({dir:a,renderer:s})}}function Se(e,r){const n=Vx(e,r,J0);return function(){const s=eg(),c=ks();return n({dir:s,renderer:c})}}function Le(e,r,n){const a=A6(e,r,n,J0);return function(){const c=eg(),u=ks();return a({dir:c,renderer:u})}}const q6={"<":"\\3C ",">":"\\3E "};function F6(e){return e.replace(/[<>]/g,r=>q6[r])}function H6(e,r){if(r){const n=Object.keys(r).reduce((a,s)=>`${a}--${s}: ${r[s]}; `,"");return`${e} { ${F6(n)} }`}return`${e} {}`}const wu=Symbol.for("fui.slotRenderFunction"),Ii=Symbol.for("fui.slotElementType"),Xx=Symbol.for("fui.slotClassNameProp");function Ve(e,r){const{defaultProps:n,elementType:a}=r,s=L6(e),c={...n,...s,[Ii]:a,[Xx]:(s==null?void 0:s.className)||(n==null?void 0:n.className)};return s&&typeof s.children=="function"&&(c[wu]=s.children,c.children=n==null?void 0:n.children),c}function et(e,r){if(!(e===null||e===void 0&&!r.renderByDefault))return Ve(e,r)}function L6(e){return typeof e=="string"||typeof e=="number"||P6(e)||y.isValidElement(e)?{children:e}:e}const P6=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Wx(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!y.isValidElement(e)}function Cb(e){return!!(e!=null&&e.hasOwnProperty(Ii))}const ot=(...e)=>{const r={};for(const n of e){const a=Array.isArray(n)?n:Object.keys(n);for(const s of a)r[s]=1}return r},I6=ot(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),U6=ot(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),V6=ot(["itemID","itemProp","itemRef","itemScope","itemType"]),_t=ot(U6,I6,V6),G6=ot(_t,["form"]),Qx=ot(_t,["height","loop","muted","preload","src","width"]),X6=ot(Qx,["poster"]),W6=ot(_t,["start"]),Q6=ot(_t,["value"]),Y6=ot(_t,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),$6=ot(_t,["dateTime"]),Uu=ot(_t,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),K6=ot(Uu,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Z6=ot(Uu,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),J6=ot(Uu,["form","multiple","required"]),e_=ot(_t,["selected","value"]),t_=ot(_t,["cellPadding","cellSpacing"]),o_=_t,r_=ot(_t,["colSpan","rowSpan","scope"]),n_=ot(_t,["colSpan","headers","rowSpan","scope"]),a_=ot(_t,["span"]),i_=ot(_t,["span"]),l_=ot(_t,["disabled","form"]),s_=ot(_t,["acceptCharset","action","encType","encType","method","noValidate","target"]),c_=ot(_t,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),u_=ot(_t,["alt","crossOrigin","height","src","srcSet","useMap","width"]),f_=ot(_t,["open","onCancel","onClose"]);function d_(e,r,n){const a=Array.isArray(r),s={},c=Object.keys(e);for(const u of c)(!a&&r[u]||a&&r.indexOf(u)>=0||u.indexOf("data-")===0||u.indexOf("aria-")===0)&&(!n||(n==null?void 0:n.indexOf(u))===-1)&&(s[u]=e[u]);return s}const h_={label:G6,audio:Qx,video:X6,ol:W6,li:Q6,a:Y6,button:Uu,input:K6,textarea:Z6,select:J6,option:e_,table:t_,tr:o_,th:r_,td:n_,colGroup:a_,col:i_,fieldset:l_,form:s_,iframe:c_,img:u_,time:$6,dialog:f_};function Yx(e,r,n){const a=e&&h_[e]||_t;return a.as=1,d_(r,a,n)}const Bs=({primarySlotTagName:e,props:r,excludedPropNames:n})=>({root:{style:r.style,className:r.className},primary:Yx(e,r,[...n||[],"style","className"])}),Vt=(e,r,n)=>{var a;return Yx((a=r.as)!==null&&a!==void 0?a:e,r,n)};function g_(e,r){const n=y.useRef(void 0),a=y.useCallback((c,u)=>(n.current!==void 0&&r(n.current),n.current=e(c,u),n.current),[r,e]),s=y.useCallback(()=>{n.current!==void 0&&(r(n.current),n.current=void 0)},[r]);return y.useEffect(()=>s,[s]),[a,s]}const $x=y.createContext(void 0),p_=$x.Provider,Kx=y.createContext(void 0),m_="",v_=Kx.Provider;function b_(){var e;return(e=y.useContext(Kx))!==null&&e!==void 0?e:m_}const Zx=y.createContext(void 0),y_={},x_=Zx.Provider;function S_(){var e;return(e=y.useContext(Zx))!==null&&e!==void 0?e:y_}const Jx=y.createContext(void 0),w_={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},k_=Jx.Provider;function dt(){var e;return(e=y.useContext(Jx))!==null&&e!==void 0?e:w_}const e2=y.createContext(void 0),B_=e2.Provider;function tg(){var e;return(e=y.useContext(e2))!==null&&e!==void 0?e:{}}const og=y.createContext(void 0),__=()=>{},z_=og.Provider,ht=e=>{var r,n;return(n=(r=y.useContext(og))===null||r===void 0?void 0:r[e])!==null&&n!==void 0?n:__},t2=y.createContext(void 0);t2.Provider;function T_(){return y.useContext(t2)}const o2=y.createContext(void 0);o2.Provider;function N_(){var e;return(e=y.useContext(o2))!==null&&e!==void 0?e:{announce:()=>{}}}function C_(e){return typeof e=="function"}const Qr=e=>{"use no memo";const[r,n]=y.useState(()=>e.defaultState===void 0?e.initialState:E_(e.defaultState)?e.defaultState():e.defaultState),a=y.useRef(e.state);y.useEffect(()=>{a.current=e.state},[e.state]);const s=y.useCallback(c=>{C_(c)&&c(a.current)},[]);return j_(e.state)?[e.state,s]:[r,n]};function E_(e){return typeof e=="function"}const j_=e=>{"use no memo";const[r]=y.useState(()=>e!==void 0);return r};function Vu(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const r2={current:0},R_=y.createContext(void 0);function n2(){var e;return(e=y.useContext(R_))!==null&&e!==void 0?e:r2}function A_(){const e=n2()!==r2,[r,n]=y.useState(e);return Vu()&&e&&y.useLayoutEffect(()=>{n(!1)},[]),r}const At=Vu()?y.useLayoutEffect:y.useEffect,_e=e=>{const r=y.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return At(()=>{r.current=e},[e]),y.useCallback((...n)=>{const a=r.current;return a(...n)},[r])};function a2(){const e=y.useRef(!0);return y.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function D_(){return y.useReducer(e=>e+1,0)[1]}const i2=y.createContext(void 0);i2.Provider;function O_(){return y.useContext(i2)||""}function Xo(e="fui-",r){"use no memo";const n=n2(),a=O_(),s=mu.useId;if(s){const c=s(),u=y.useMemo(()=>c.replace(/:/g,""),[c]);return r||`${a}${e}${u}`}return y.useMemo(()=>r||`${a}${e}${++n.current}`,[a,e,r,n])}function Ct(...e){"use no memo";const r=y.useCallback(n=>{r.current=n;for(const a of e)typeof a=="function"?a(n):a&&(a.current=n)},[...e]);return r}const l2=(e,r)=>!!(e!=null&&e.contains(r)),s2=e=>{const{targetDocument:r}=dt(),n=r==null?void 0:r.defaultView,{refs:a,callback:s,element:c,disabled:u,disabledFocusOnIframe:d,contains:g=l2}=e,p=y.useRef(void 0);q_({element:c,disabled:d||u,callback:s,refs:a,contains:g});const m=y.useRef(!1),v=_e(k=>{if(m.current){m.current=!1;return}const w=k.composedPath()[0];a.every(z=>!g(z.current||null,w))&&!u&&s(k)}),S=_e(k=>{m.current=a.some(w=>g(w.current||null,k.target))});y.useEffect(()=>{if(u)return;let k=M_(n);const w=x=>{if(x===k){k=void 0;return}v(x)};return c==null||c.addEventListener("click",w,!0),c==null||c.addEventListener("touchstart",w,!0),c==null||c.addEventListener("contextmenu",w,!0),c==null||c.addEventListener("mousedown",S,!0),p.current=n==null?void 0:n.setTimeout(()=>{k=void 0},1),()=>{c==null||c.removeEventListener("click",w,!0),c==null||c.removeEventListener("touchstart",w,!0),c==null||c.removeEventListener("contextmenu",w,!0),c==null||c.removeEventListener("mousedown",S,!0),n==null||n.clearTimeout(p.current),k=void 0}},[v,c,u,S,n])},M_=e=>{if(e){var r,n;if(typeof e.window=="object"&&e.window===e)return e.event;var a;return(a=(n=e.ownerDocument)===null||n===void 0||(r=n.defaultView)===null||r===void 0?void 0:r.event)!==null&&a!==void 0?a:void 0}},Ph="fuiframefocus",q_=e=>{const{disabled:r,element:n,callback:a,contains:s=l2,pollDuration:c=100,refs:u}=e,d=y.useRef(void 0),g=_e(p=>{u.every(v=>!s(v.current||null,p.target))&&!r&&a(p)});y.useEffect(()=>{if(!r)return n==null||n.addEventListener(Ph,g,!0),()=>{n==null||n.removeEventListener(Ph,g,!0)}},[n,r,g]),y.useEffect(()=>{var p;if(!r)return d.current=n==null||(p=n.defaultView)===null||p===void 0?void 0:p.setInterval(()=>{const m=n==null?void 0:n.activeElement;if((m==null?void 0:m.tagName)==="IFRAME"||(m==null?void 0:m.tagName)==="WEBVIEW"){const v=new CustomEvent(Ph,{bubbles:!0});m.dispatchEvent(v)}},c),()=>{var m;n==null||(m=n.defaultView)===null||m===void 0||m.clearInterval(d.current)}},[n,r,c])},F_=e=>{const{refs:r,callback:n,element:a,disabled:s,contains:c}=e,u=_e(d=>{const g=c||((v,S)=>!!(v!=null&&v.contains(S))),p=d.composedPath()[0];r.every(v=>!g(v.current||null,p))&&!s&&n(d)});y.useEffect(()=>{if(!s)return a==null||a.addEventListener("wheel",u),a==null||a.addEventListener("touchmove",u),()=>{a==null||a.removeEventListener("wheel",u),a==null||a.removeEventListener("touchmove",u)}},[u,a,s])},H_=e=>-1,L_=e=>{};function rg(){const{targetDocument:e}=dt(),r=e==null?void 0:e.defaultView,n=r?r.setTimeout:H_,a=r?r.clearTimeout:L_;return g_(n,a)}const P_=parseInt(y.version,10)>=19;function Gu(e){if(e)return P_?e.props.ref:e.ref}function We(e,r){return(...n)=>{e==null||e(...n),r==null||r(...n)}}function Vn(e,r){var n;const a=e;var s;return!!(!(a==null||(n=a.ownerDocument)===null||n===void 0)&&n.defaultView&&a instanceof a.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function c2(e){return!!e.type.isFluentTriggerComponent}function ng(e,r){return typeof e=="function"?e(r):e?u2(e,r):e||null}function u2(e,r){if(!y.isValidElement(e)||e.type===y.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(c2(e)){const n=u2(e.props.children,r);return y.cloneElement(e,void 0,n)}else return y.cloneElement(e,r)}function Xu(e){return y.isValidElement(e)?c2(e)?Xu(e.props.children):e:null}function I_(e){return e&&!!e._virtual}function U_(e){return I_(e)&&e._virtual.parent||null}function f2(e,r={}){if(!e)return null;if(!r.skipVirtual){const a=U_(e);if(a)return a}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Eb(e,r){if(!e||!r)return!1;if(e===r)return!0;{const n=new WeakSet;for(;r;){const a=f2(r,{skipVirtual:n.has(r)});if(n.add(r),a===e)return!0;r=a}}return!1}function jb(e,r){e&&Object.assign(e,{_virtual:{parent:r}})}function V_(e,r){return{...r,[Ii]:e}}function d2(e,r){return function(a,s,c,u,d){return Cb(s)?r(V_(a,s),null,c,u,d):Cb(a)?r(a,s,c,u,d):e(a,s,c,u,d)}}function h2(e){const{as:r,[Xx]:n,[Ii]:a,[wu]:s,...c}=e,u=c,d=typeof a=="string"?r??a:a;return typeof d!="string"&&r&&(u.as=r),{elementType:d,props:u,renderFunction:s}}const za=X3,G_=(e,r,n)=>{const{elementType:a,renderFunction:s,props:c}=h2(e),u={...c,...r};return s?za.jsx(y.Fragment,{children:s(a,u)},n):za.jsx(a,u,n)},X_=(e,r,n)=>{const{elementType:a,renderFunction:s,props:c}=h2(e),u={...c,...r};return s?za.jsx(y.Fragment,{children:s(a,{...u,children:za.jsxs(y.Fragment,{children:u.children},void 0)})},n):za.jsxs(a,u,n)},se=d2(za.jsx,G_),Bt=d2(za.jsxs,X_),g2=y.createContext(void 0),W_={},Q_=g2.Provider,Y_=()=>{const e=y.useContext(g2);return e??W_},$_=(e,r)=>se(k_,{value:r.provider,children:se(p_,{value:r.theme,children:se(v_,{value:r.themeClassName,children:se(z_,{value:r.customStyleHooks_unstable,children:se(x_,{value:r.tooltip,children:se(M6,{dir:r.textDirection,children:se(Q_,{value:r.iconDirection,children:se(B_,{value:r.overrides_unstable,children:Bt(e.root,{children:[Vu()?null:se("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});/*!
60
+ Please change the parent <Route path="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let m=Go(),v;if(r){let T=typeof r=="string"?Wi(r):r;it(g==="/"||((z=T.pathname)==null?void 0:z.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${T.pathname}" was given in the \`location\` prop.`),v=T}else v=m;let S=v.pathname||"/",k=S;if(g!=="/"){let T=g.replace(/^\//,"").split("/");k="/"+S.replace(/^\//,"").split("/").slice(T.length).join("/")}let w=n&&n.state.matches.length?n.state.matches.map(T=>Object.assign(T,{route:n.manifest[T.route.id]||T.route})):Gy(e,{pathname:k});nr(p||w!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),nr(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let x=Ik(w&&w.map(T=>Object.assign({},T,{params:Object.assign({},u,T.params),pathname:or([g,a.encodeLocation?a.encodeLocation(T.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?g:or([g,a.encodeLocation?a.encodeLocation(T.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),s,n);return r&&x?y.createElement(xs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},x):x}function Fk(){let e=Wk(),r=Bk(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:a},c={padding:"2px 4px",backgroundColor:a},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:c},"ErrorBoundary")," or"," ",y.createElement("code",{style:c},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},r),n?y.createElement("pre",{style:s},n):null,u)}var Hk=y.createElement(Fk,null),nx=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Ak(e.digest);n&&(e=n)}let r=e!==void 0?y.createElement(lr.Provider,{value:this.props.routeContext},y.createElement(H0.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?y.createElement(Lk,{error:e},r):r}};nx.contextType=Zy;var jh=new WeakMap;function Lk({children:e,error:r}){let{basename:n}=y.useContext(zo);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let a=Rk(r.digest);if(a){let s=jh.get(r);if(s)throw s;let c=$y(a.location,n);if(Yy&&!jh.get(r))if(c.isExternal||a.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:a.replace}));throw jh.set(r,u),u}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function Pk({routeContext:e,match:r,children:n}){let a=y.useContext(Qi);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(lr.Provider,{value:e},n)}function Ik(e,r=[],n){let a=n==null?void 0:n.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(r.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let s=e,c=a==null?void 0:a.errors;if(c!=null){let m=s.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);it(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,m+1))}let u=!1,d=-1;if(n&&a){u=a.renderFallback;for(let m=0;m<s.length;m++){let v=s[m];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(d=m),v.route.id){let{loaderData:S,errors:k}=a,w=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!k||k[v.route.id]===void 0);if(v.route.lazy||w){n.isStatic&&(u=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let g=n==null?void 0:n.onError,p=a&&g?(m,v)=>{var S,k;g(m,{location:a.location,params:((k=(S=a.matches)==null?void 0:S[0])==null?void 0:k.params)??{},pattern:_k(a.matches),errorInfo:v})}:void 0;return s.reduceRight((m,v,S)=>{let k,w=!1,x=null,z=null;a&&(k=c&&v.route.id?c[v.route.id]:void 0,x=v.route.errorElement||Hk,u&&(d<0&&S===0?(ax("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,z=null):d===S&&(w=!0,z=v.route.hydrateFallbackElement||null)));let T=r.concat(s.slice(0,S+1)),j=()=>{let N;return k?N=x:w?N=z:v.route.Component?N=y.createElement(v.route.Component,null):v.route.element?N=v.route.element:N=m,y.createElement(Pk,{match:v,routeContext:{outlet:m,matches:T,isDataRoute:a!=null},children:N})};return a&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?y.createElement(nx,{location:a.location,revalidation:a.revalidation,component:x,error:k,children:j(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:p}):j()},null)}function L0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Uk(e){let r=y.useContext(Qi);return it(r,L0(e)),r}function Vk(e){let r=y.useContext(Ou);return it(r,L0(e)),r}function Gk(e){let r=y.useContext(lr);return it(r,L0(e)),r}function P0(e){let r=Gk(e),n=r.matches[r.matches.length-1];return it(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Xk(){return P0("useRouteId")}function Wk(){var a;let e=y.useContext(H0),r=Vk("useRouteError"),n=P0("useRouteError");return e!==void 0?e:(a=r.errors)==null?void 0:a[n]}function Qk(){let{router:e}=Uk("useNavigate"),r=P0("useNavigate"),n=y.useRef(!1);return ox(()=>{n.current=!0}),y.useCallback(async(s,c={})=>{nr(n.current,tx),n.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:r,...c}))},[e,r])}var eb={};function ax(e,r,n){!r&&!eb[e]&&(eb[e]=!0,nr(!1,n))}y.memo(Yk);function Yk({routes:e,manifest:r,future:n,state:a,isStatic:s,onError:c}){return rx(e,void 0,{manifest:r,state:a,isStatic:s,onError:c})}function $k({to:e,replace:r,state:n,relative:a}){it(Yi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=y.useContext(zo);nr(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=y.useContext(lr),{pathname:u}=Go(),d=Ss(),g=Du(e,F0(c),u,a==="path"),p=JSON.stringify(g);return y.useEffect(()=>{d(JSON.parse(p),{replace:r,state:n,relative:a})},[d,p,a,r,n]),null}function bi(e){it(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Kk({basename:e="/",children:r=null,location:n,navigationType:a="POP",navigator:s,static:c=!1,useTransitions:u}){it(!Yi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),g=y.useMemo(()=>({basename:d,navigator:s,static:c,useTransitions:u,future:{}}),[d,s,c,u]);typeof n=="string"&&(n=Wi(n));let{pathname:p="/",search:m="",hash:v="",state:S=null,key:k="default",mask:w}=n,x=y.useMemo(()=>{let z=Wr(p,d);return z==null?null:{location:{pathname:z,search:m,hash:v,state:S,key:k,mask:w},navigationType:a}},[d,p,m,v,S,k,a,w]);return nr(x!=null,`<Router basename="${d}"> is not able to match the URL "${p}${m}${v}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:y.createElement(zo.Provider,{value:g},y.createElement(xs.Provider,{children:r,value:x}))}function Zk({children:e,location:r}){return qk(t0(e),r)}function t0(e,r=[]){let n=[];return y.Children.forEach(e,(a,s)=>{if(!y.isValidElement(a))return;let c=[...r,s];if(a.type===y.Fragment){n.push.apply(n,t0(a.props.children,c));return}it(a.type===bi,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),it(!a.props.index||!a.props.children,"An index route cannot have child routes.");let u={id:a.props.id||c.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(u.children=t0(a.props.children,c)),n.push(u)}),n}var su="get",cu="application/x-www-form-urlencoded";function Mu(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Jk(e){return Mu(e)&&e.tagName.toLowerCase()==="button"}function eB(e){return Mu(e)&&e.tagName.toLowerCase()==="form"}function tB(e){return Mu(e)&&e.tagName.toLowerCase()==="input"}function oB(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function rB(e,r){return e.button===0&&(!r||r==="_self")&&!oB(e)}var Kc=null;function nB(){if(Kc===null)try{new FormData(document.createElement("form"),0),Kc=!1}catch{Kc=!0}return Kc}var aB=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Rh(e){return e!=null&&!aB.has(e)?(nr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${cu}"`),null):e}function iB(e,r){let n,a,s,c,u;if(eB(e)){let d=e.getAttribute("action");a=d?Wr(d,r):null,n=e.getAttribute("method")||su,s=Rh(e.getAttribute("enctype"))||cu,c=new FormData(e)}else if(Jk(e)||tB(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=e.getAttribute("formaction")||d.getAttribute("action");if(a=g?Wr(g,r):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||su,s=Rh(e.getAttribute("formenctype"))||Rh(d.getAttribute("enctype"))||cu,c=new FormData(d,e),!nB()){let{name:p,type:m,value:v}=e;if(m==="image"){let S=p?`${p}.`:"";c.append(`${S}x`,"0"),c.append(`${S}y`,"0")}else p&&c.append(p,v)}}else{if(Mu(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=su,a=null,s=cu,u=e}return c&&s==="text/plain"&&(u=c,c=void 0),{action:a,method:n.toLowerCase(),encType:s,formData:c,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function I0(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function ix(e,r,n,a){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${a}`:s.pathname=`${s.pathname}.${a}`:s.pathname==="/"?s.pathname=`_root.${a}`:r&&Wr(s.pathname,r)==="/"?s.pathname=`${bu(r)}/_root.${a}`:s.pathname=`${bu(s.pathname)}.${a}`,s}async function lB(e,r){if(e.id in r)return r[e.id];try{let n=await import(e.module);return r[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function sB(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function cB(e,r,n){let a=await Promise.all(e.map(async s=>{let c=r.routes[s.route.id];if(c){let u=await lB(c,n);return u.links?u.links():[]}return[]}));return hB(a.flat(1).filter(sB).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function tb(e,r,n,a,s,c){let u=(g,p)=>n[p]?g.route.id!==n[p].route.id:!0,d=(g,p)=>{var m;return n[p].pathname!==g.pathname||((m=n[p].route.path)==null?void 0:m.endsWith("*"))&&n[p].params["*"]!==g.params["*"]};return c==="assets"?r.filter((g,p)=>u(g,p)||d(g,p)):c==="data"?r.filter((g,p)=>{var v;let m=a.routes[g.route.id];if(!m||!m.hasLoader)return!1;if(u(g,p)||d(g,p))return!0;if(g.route.shouldRevalidate){let S=g.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((v=n[0])==null?void 0:v.params)||{},nextUrl:new URL(e,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function uB(e,r,{includeHydrateFallback:n}={}){return fB(e.map(a=>{let s=r.routes[a.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),n&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function fB(e){return[...new Set(e)]}function dB(e){let r={},n=Object.keys(e).sort();for(let a of n)r[a]=e[a];return r}function hB(e,r){let n=new Set;return new Set(r),e.reduce((a,s)=>{let c=JSON.stringify(dB(s));return n.has(c)||(n.add(c),a.push({key:c,link:s})),a},[])}function U0(){let e=y.useContext(Qi);return I0(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function gB(){let e=y.useContext(Ou);return I0(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var V0=y.createContext(void 0);V0.displayName="FrameworkContext";function G0(){let e=y.useContext(V0);return I0(e,"You must render this element inside a <HydratedRouter> element"),e}function pB(e,r){let n=y.useContext(V0),[a,s]=y.useState(!1),[c,u]=y.useState(!1),{onFocus:d,onBlur:g,onMouseEnter:p,onMouseLeave:m,onTouchStart:v}=r,S=y.useRef(null);y.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let x=T=>{T.forEach(j=>{u(j.isIntersecting)})},z=new IntersectionObserver(x,{threshold:.5});return S.current&&z.observe(S.current),()=>{z.disconnect()}}},[e]),y.useEffect(()=>{if(a){let x=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(x)}}},[a]);let k=()=>{s(!0)},w=()=>{s(!1),u(!1)};return n?e!=="intent"?[c,S,{}]:[c,S,{onFocus:Kl(d,k),onBlur:Kl(g,w),onMouseEnter:Kl(p,k),onMouseLeave:Kl(m,w),onTouchStart:Kl(v,k)}]:[!1,S,{}]}function Kl(e,r){return n=>{e&&e(n),n.defaultPrevented||r(n)}}function mB({page:e,...r}){let n=Tk(),{router:a}=U0(),s=y.useMemo(()=>Gy(a.routes,e,a.basename),[a.routes,e,a.basename]);return s?n?y.createElement(bB,{page:e,matches:s,...r}):y.createElement(yB,{page:e,matches:s,...r}):null}function vB(e){let{manifest:r,routeModules:n}=G0(),[a,s]=y.useState([]);return y.useEffect(()=>{let c=!1;return cB(e,r,n).then(u=>{c||s(u)}),()=>{c=!0}},[e,r,n]),a}function bB({page:e,matches:r,...n}){let a=Go(),{future:s}=G0(),{basename:c}=U0(),u=y.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=ix(e,c,s.unstable_trailingSlashAwareDataRequests,"rsc"),g=!1,p=[];for(let m of r)typeof m.route.shouldRevalidate=="function"?g=!0:p.push(m.route.id);return g&&p.length>0&&d.searchParams.set("_routes",p.join(",")),[d.pathname+d.search]},[c,s.unstable_trailingSlashAwareDataRequests,e,a,r]);return y.createElement(y.Fragment,null,u.map(d=>y.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...n})))}function yB({page:e,matches:r,...n}){let a=Go(),{future:s,manifest:c,routeModules:u}=G0(),{basename:d}=U0(),{loaderData:g,matches:p}=gB(),m=y.useMemo(()=>tb(e,r,p,c,a,"data"),[e,r,p,c,a]),v=y.useMemo(()=>tb(e,r,p,c,a,"assets"),[e,r,p,c,a]),S=y.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let x=new Set,z=!1;if(r.forEach(j=>{var C;let N=c.routes[j.route.id];!N||!N.hasLoader||(!m.some(E=>E.route.id===j.route.id)&&j.route.id in g&&((C=u[j.route.id])!=null&&C.shouldRevalidate)||N.hasClientLoader?z=!0:x.add(j.route.id))}),x.size===0)return[];let T=ix(e,d,s.unstable_trailingSlashAwareDataRequests,"data");return z&&x.size>0&&T.searchParams.set("_routes",r.filter(j=>x.has(j.route.id)).map(j=>j.route.id).join(",")),[T.pathname+T.search]},[d,s.unstable_trailingSlashAwareDataRequests,g,a,c,m,r,e,u]),k=y.useMemo(()=>uB(v,c),[v,c]),w=vB(v);return y.createElement(y.Fragment,null,S.map(x=>y.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...n})),k.map(x=>y.createElement("link",{key:x,rel:"modulepreload",href:x,...n})),w.map(({key:x,link:z})=>y.createElement("link",{key:x,nonce:n.nonce,...z,crossOrigin:z.crossOrigin??n.crossOrigin})))}function xB(...e){return r=>{e.forEach(n=>{typeof n=="function"?n(r):n!=null&&(n.current=r)})}}var SB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{SB&&(window.__reactRouterVersion="7.15.0")}catch{}function wB({basename:e,children:r,useTransitions:n,window:a}){let s=y.useRef();s.current==null&&(s.current=J3({window:a,v5Compat:!0}));let c=s.current,[u,d]=y.useState({action:c.action,location:c.location}),g=y.useCallback(p=>{n===!1?d(p):y.startTransition(()=>d(p))},[n]);return y.useLayoutEffect(()=>c.listen(g),[c,g]),y.createElement(Kk,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:c,useTransitions:n})}var lx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vr=y.forwardRef(function({onClick:r,discover:n="render",prefetch:a="none",relative:s,reloadDocument:c,replace:u,mask:d,state:g,target:p,to:m,preventScrollReset:v,viewTransition:S,defaultShouldRevalidate:k,...w},x){let{basename:z,navigator:T,useTransitions:j}=y.useContext(zo),N=typeof m=="string"&&lx.test(m),C=$y(m,z);m=C.to;let E=Dk(m,{relative:s}),M=Go(),W=null;if(d){let ye=Du(d,[],M.mask?M.mask.pathname:"/",!0);z!=="/"&&(ye.pathname=ye.pathname==="/"?z:or([z,ye.pathname])),W=T.createHref(ye)}let[G,oe,ie]=pB(a,w),ve=zB(m,{replace:u,mask:d,state:g,target:p,preventScrollReset:v,relative:s,viewTransition:S,defaultShouldRevalidate:k,useTransitions:j});function ae(ye){r&&r(ye),ye.defaultPrevented||ve(ye)}let ue=!(C.isExternal||c),re=y.createElement("a",{...w,...ie,href:(ue?W:void 0)||C.absoluteURL||E,onClick:ue?ae:r,ref:xB(x,oe),target:p,"data-discover":!N&&n==="render"?"true":void 0});return G&&!N?y.createElement(y.Fragment,null,re,y.createElement(mB,{page:E})):re});Vr.displayName="Link";var kB=y.forwardRef(function({"aria-current":r="page",caseSensitive:n=!1,className:a="",end:s=!1,style:c,to:u,viewTransition:d,children:g,...p},m){let v=ws(u,{relative:p.relative}),S=Go(),k=y.useContext(Ou),{navigator:w,basename:x}=y.useContext(zo),z=k!=null&&jB(v)&&d===!0,T=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,j=S.pathname,N=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;n||(j=j.toLowerCase(),N=N?N.toLowerCase():null,T=T.toLowerCase()),N&&x&&(N=Wr(N,x)||N);const C=T!=="/"&&T.endsWith("/")?T.length-1:T.length;let E=j===T||!s&&j.startsWith(T)&&j.charAt(C)==="/",M=N!=null&&(N===T||!s&&N.startsWith(T)&&N.charAt(T.length)==="/"),W={isActive:E,isPending:M,isTransitioning:z},G=E?r:void 0,oe;typeof a=="function"?oe=a(W):oe=[a,E?"active":null,M?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let ie=typeof c=="function"?c(W):c;return y.createElement(Vr,{...p,"aria-current":G,className:oe,ref:m,style:ie,to:u,viewTransition:d},typeof g=="function"?g(W):g)});kB.displayName="NavLink";var BB=y.forwardRef(({discover:e="render",fetcherKey:r,navigate:n,reloadDocument:a,replace:s,state:c,method:u=su,action:d,onSubmit:g,relative:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S,...k},w)=>{let{useTransitions:x}=y.useContext(zo),z=CB(),T=EB(d,{relative:p}),j=u.toLowerCase()==="get"?"get":"post",N=typeof d=="string"&&lx.test(d),C=E=>{if(g&&g(E),E.defaultPrevented)return;E.preventDefault();let M=E.nativeEvent.submitter,W=(M==null?void 0:M.getAttribute("formmethod"))||u,G=()=>z(M||E.currentTarget,{fetcherKey:r,method:W,navigate:n,replace:s,state:c,relative:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S});x&&n!==!1?y.startTransition(()=>G()):G()};return y.createElement("form",{ref:w,method:j,action:T,onSubmit:a?g:C,...k,"data-discover":!N&&e==="render"?"true":void 0})});BB.displayName="Form";function _B(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sx(e){let r=y.useContext(Qi);return it(r,_B(e)),r}function zB(e,{target:r,replace:n,mask:a,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:g,useTransitions:p}={}){let m=Ss(),v=Go(),S=ws(e,{relative:u});return y.useCallback(k=>{if(rB(k,r)){k.preventDefault();let w=n!==void 0?n:ls(v)===ls(S),x=()=>m(e,{replace:w,mask:a,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:g});p?y.startTransition(()=>x()):x()}},[v,m,S,n,a,s,r,e,c,u,d,g,p])}var TB=0,NB=()=>`__${String(++TB)}__`;function CB(){let{router:e}=sx("useSubmit"),{basename:r}=y.useContext(zo),n=Xk(),a=e.fetch,s=e.navigate;return y.useCallback(async(c,u={})=>{let{action:d,method:g,encType:p,formData:m,body:v}=iB(c,r);if(u.navigate===!1){let S=u.fetcherKey||NB();await a(S,n,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:v,formMethod:u.method||g,formEncType:u.encType||p,flushSync:u.flushSync})}else await s(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:v,formMethod:u.method||g,formEncType:u.encType||p,replace:u.replace,state:u.state,fromRouteId:n,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,s,r,n])}function EB(e,{relative:r}={}){let{basename:n}=y.useContext(zo),a=y.useContext(lr);it(a,"useFormAction must be used inside a RouteContext");let[s]=a.matches.slice(-1),c={...ws(e||".",{relative:r})},u=Go();if(e==null){c.search=u.search;let d=new URLSearchParams(c.search),g=d.getAll("index");if(g.some(m=>m==="")){d.delete("index"),g.filter(v=>v).forEach(v=>d.append("index",v));let m=d.toString();c.search=m?`?${m}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(c.pathname=c.pathname==="/"?n:or([n,c.pathname])),ls(c)}function jB(e,{relative:r}={}){let n=y.useContext(Jy);it(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=sx("useViewTransitionState"),s=ws(e,{relative:r});if(!n.isTransitioning)return!1;let c=Wr(n.currentLocation.pathname,a)||n.currentLocation.pathname,u=Wr(n.nextLocation.pathname,a)||n.nextLocation.pathname;return vu(s.pathname,u)!=null||vu(s.pathname,c)!=null}var o0=Vy(),$i=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(r){return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},va,Cn,_i,Ey,RB=(Ey=class extends $i{constructor(){super();be(this,va);be(this,Cn);be(this,_i);le(this,_i,r=>{if(typeof window<"u"&&window.addEventListener){const n=()=>r();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,Cn)||this.setEventListener(A(this,_i))}onUnsubscribe(){var r;this.hasListeners()||((r=A(this,Cn))==null||r.call(this),le(this,Cn,void 0))}setEventListener(r){var n;le(this,_i,r),(n=A(this,Cn))==null||n.call(this),le(this,Cn,r(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(r){A(this,va)!==r&&(le(this,va,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(n=>{n(r)})}isFocused(){var r;return typeof A(this,va)=="boolean"?A(this,va):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},va=new WeakMap,Cn=new WeakMap,_i=new WeakMap,Ey),X0=new RB,AB={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:e=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:e=>clearInterval(e)},En,M0,jy,DB=(jy=class{constructor(){be(this,En,AB);be(this,M0,!1)}setTimeoutProvider(e){le(this,En,e)}setTimeout(e,r){return A(this,En).setTimeout(e,r)}clearTimeout(e){A(this,En).clearTimeout(e)}setInterval(e,r){return A(this,En).setInterval(e,r)}clearInterval(e){A(this,En).clearInterval(e)}},En=new WeakMap,M0=new WeakMap,jy),pa=new DB;function OB(e){setTimeout(e,0)}var MB=typeof window>"u"||"Deno"in globalThis;function Qt(){}function qB(e,r){return typeof e=="function"?e(r):e}function r0(e){return typeof e=="number"&&e>=0&&e!==1/0}function cx(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Ln(e,r){return typeof e=="function"?e(r):e}function xo(e,r){return typeof e=="function"?e(r):e}function ob(e,r){const{type:n="all",exact:a,fetchStatus:s,predicate:c,queryKey:u,stale:d}=e;if(u){if(a){if(r.queryHash!==W0(u,r.options))return!1}else if(!ss(r.queryKey,u))return!1}if(n!=="all"){const g=r.isActive();if(n==="active"&&!g||n==="inactive"&&g)return!1}return!(typeof d=="boolean"&&r.isStale()!==d||s&&s!==r.state.fetchStatus||c&&!c(r))}function rb(e,r){const{exact:n,status:a,predicate:s,mutationKey:c}=e;if(c){if(!r.options.mutationKey)return!1;if(n){if(Ta(r.options.mutationKey)!==Ta(c))return!1}else if(!ss(r.options.mutationKey,c))return!1}return!(a&&r.state.status!==a||s&&!s(r))}function W0(e,r){return((r==null?void 0:r.queryKeyHashFn)||Ta)(e)}function Ta(e){return JSON.stringify(e,(r,n)=>n0(n)?Object.keys(n).sort().reduce((a,s)=>(a[s]=n[s],a),{}):n)}function ss(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(n=>ss(e[n],r[n])):!1}var FB=Object.prototype.hasOwnProperty;function ux(e,r,n=0){if(e===r)return e;if(n>500)return r;const a=nb(e)&&nb(r);if(!a&&!(n0(e)&&n0(r)))return r;const c=(a?e:Object.keys(e)).length,u=a?r:Object.keys(r),d=u.length,g=a?new Array(d):{};let p=0;for(let m=0;m<d;m++){const v=a?m:u[m],S=e[v],k=r[v];if(S===k){g[v]=S,(a?m<c:FB.call(e,v))&&p++;continue}if(S===null||k===null||typeof S!="object"||typeof k!="object"){g[v]=k;continue}const w=ux(S,k,n+1);g[v]=w,w===S&&p++}return c===d&&p===c?e:g}function yu(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const n in e)if(e[n]!==r[n])return!1;return!0}function nb(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function n0(e){if(!ab(e))return!1;const r=e.constructor;if(r===void 0)return!0;const n=r.prototype;return!(!ab(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ab(e){return Object.prototype.toString.call(e)==="[object Object]"}function HB(e){return new Promise(r=>{pa.setTimeout(r,e)})}function a0(e,r,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,r):n.structuralSharing!==!1?ux(e,r):r}function LB(e,r,n=0){const a=[...e,r];return n&&a.length>n?a.slice(1):a}function PB(e,r,n=0){const a=[r,...e];return n&&a.length>n?a.slice(0,-1):a}var Q0=Symbol();function fx(e,r){return!e.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!e.queryFn||e.queryFn===Q0?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Y0(e,r){return typeof e=="function"?e(...r):!!e}function IB(e,r,n){let a=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=r()),a||(a=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var cs=(()=>{let e=()=>MB;return{isServer(){return e()},setIsServer(r){e=r}}})();function i0(){let e,r;const n=new Promise((s,c)=>{e=s,r=c});n.status="pending",n.catch(()=>{});function a(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{a({status:"fulfilled",value:s}),e(s)},n.reject=s=>{a({status:"rejected",reason:s}),r(s)},n}var UB=OB;function VB(){let e=[],r=0,n=d=>{d()},a=d=>{d()},s=UB;const c=d=>{r?e.push(d):s(()=>{n(d)})},u=()=>{const d=e;e=[],d.length&&s(()=>{a(()=>{d.forEach(g=>{n(g)})})})};return{batch:d=>{let g;r++;try{g=d()}finally{r--,r||u()}return g},batchCalls:d=>(...g)=>{c(()=>{d(...g)})},schedule:c,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{s=d}}}var Nt=VB(),zi,jn,Ti,Ry,GB=(Ry=class extends $i{constructor(){super();be(this,zi,!0);be(this,jn);be(this,Ti);le(this,Ti,r=>{if(typeof window<"u"&&window.addEventListener){const n=()=>r(!0),a=()=>r(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}})}onSubscribe(){A(this,jn)||this.setEventListener(A(this,Ti))}onUnsubscribe(){var r;this.hasListeners()||((r=A(this,jn))==null||r.call(this),le(this,jn,void 0))}setEventListener(r){var n;le(this,Ti,r),(n=A(this,jn))==null||n.call(this),le(this,jn,r(this.setOnline.bind(this)))}setOnline(r){A(this,zi)!==r&&(le(this,zi,r),this.listeners.forEach(a=>{a(r)}))}isOnline(){return A(this,zi)}},zi=new WeakMap,jn=new WeakMap,Ti=new WeakMap,Ry),xu=new GB;function XB(e){return Math.min(1e3*2**e,3e4)}function dx(e){return(e??"online")==="online"?xu.isOnline():!0}var l0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function hx(e){let r=!1,n=0,a;const s=i0(),c=()=>s.status!=="pending",u=x=>{var z;if(!c()){const T=new l0(x);S(T),(z=e.onCancel)==null||z.call(e,T)}},d=()=>{r=!0},g=()=>{r=!1},p=()=>X0.isFocused()&&(e.networkMode==="always"||xu.isOnline())&&e.canRun(),m=()=>dx(e.networkMode)&&e.canRun(),v=x=>{c()||(a==null||a(),s.resolve(x))},S=x=>{c()||(a==null||a(),s.reject(x))},k=()=>new Promise(x=>{var z;a=T=>{(c()||p())&&x(T)},(z=e.onPause)==null||z.call(e)}).then(()=>{var x;a=void 0,c()||(x=e.onContinue)==null||x.call(e)}),w=()=>{if(c())return;let x;const z=n===0?e.initialPromise:void 0;try{x=z??e.fn()}catch(T){x=Promise.reject(T)}Promise.resolve(x).then(v).catch(T=>{var M;if(c())return;const j=e.retry??(cs.isServer()?0:3),N=e.retryDelay??XB,C=typeof N=="function"?N(n,T):N,E=j===!0||typeof j=="number"&&n<j||typeof j=="function"&&j(n,T);if(r||!E){S(T);return}n++,(M=e.onFail)==null||M.call(e,n,T),HB(C).then(()=>p()?void 0:k()).then(()=>{r?S(T):w()})})};return{promise:s,status:()=>s.status,cancel:u,continue:()=>(a==null||a(),s),cancelRetry:d,continueRetry:g,canStart:m,start:()=>(m()?w():k().then(w),s)}}var ba,Ay,gx=(Ay=class{constructor(){be(this,ba)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),r0(this.gcTime)&&le(this,ba,pa.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(cs.isServer()?1/0:300*1e3))}clearGcTimeout(){A(this,ba)!==void 0&&(pa.clearTimeout(A(this,ba)),le(this,ba,void 0))}},ba=new WeakMap,Ay);function WB(e){return{onFetch:(r,n)=>{var m,v,S,k,w;const a=r.options,s=(S=(v=(m=r.fetchOptions)==null?void 0:m.meta)==null?void 0:v.fetchMore)==null?void 0:S.direction,c=((k=r.state.data)==null?void 0:k.pages)||[],u=((w=r.state.data)==null?void 0:w.pageParams)||[];let d={pages:[],pageParams:[]},g=0;const p=async()=>{let x=!1;const z=N=>{IB(N,()=>r.signal,()=>x=!0)},T=fx(r.options,r.fetchOptions),j=async(N,C,E)=>{if(x)return Promise.reject(r.signal.reason);if(C==null&&N.pages.length)return Promise.resolve(N);const W=(()=>{const ve={client:r.client,queryKey:r.queryKey,pageParam:C,direction:E?"backward":"forward",meta:r.options.meta};return z(ve),ve})(),G=await T(W),{maxPages:oe}=r.options,ie=E?PB:LB;return{pages:ie(N.pages,G,oe),pageParams:ie(N.pageParams,C,oe)}};if(s&&c.length){const N=s==="backward",C=N?QB:ib,E={pages:c,pageParams:u},M=C(a,E);d=await j(E,M,N)}else{const N=e??c.length;do{const C=g===0?u[0]??a.initialPageParam:ib(a,d);if(g>0&&C==null)break;d=await j(d,C),g++}while(g<N)}return d};r.options.persister?r.fetchFn=()=>{var x,z;return(z=(x=r.options).persister)==null?void 0:z.call(x,p,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},n)}:r.fetchFn=p}}}function ib(e,{pages:r,pageParams:n}){const a=r.length-1;return r.length>0?e.getNextPageParam(r[a],r,n[a],n):void 0}function QB(e,{pages:r,pageParams:n}){var a;return r.length>0?(a=e.getPreviousPageParam)==null?void 0:a.call(e,r[0],r,n[0],n):void 0}var Ni,ya,Ci,Fo,xa,Rt,ps,Sa,yo,px,Hr,Dy,YB=(Dy=class extends gx{constructor(r){super();be(this,yo);be(this,Ni);be(this,ya);be(this,Ci);be(this,Fo);be(this,xa);be(this,Rt);be(this,ps);be(this,Sa);le(this,Sa,!1),le(this,ps,r.defaultOptions),this.setOptions(r.options),this.observers=[],le(this,xa,r.client),le(this,Fo,A(this,xa).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,le(this,ya,sb(this.options)),this.state=r.state??A(this,ya),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return A(this,Ni)}get promise(){var r;return(r=A(this,Rt))==null?void 0:r.promise}setOptions(r){if(this.options={...A(this,ps),...r},r!=null&&r._type&&le(this,Ni,r._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=sb(this.options);n.data!==void 0&&(this.setState(lb(n.data,n.dataUpdatedAt)),le(this,ya,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,Fo).remove(this)}setData(r,n){const a=a0(this.state.data,r,this.options);return je(this,yo,Hr).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(r){je(this,yo,Hr).call(this,{type:"setState",state:r})}cancel(r){var a,s;const n=(a=A(this,Rt))==null?void 0:a.promise;return(s=A(this,Rt))==null||s.cancel(r),n?n.then(Qt).catch(Qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return A(this,ya)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(r=>xo(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Q0||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>Ln(r.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(r=0){return this.state.data===void 0?!0:r==="static"?!1:this.state.isInvalidated?!0:!cx(this.state.dataUpdatedAt,r)}onFocus(){var n;const r=this.observers.find(a=>a.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(n=A(this,Rt))==null||n.continue()}onOnline(){var n;const r=this.observers.find(a=>a.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(n=A(this,Rt))==null||n.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),A(this,Fo).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(n=>n!==r),this.observers.length||(A(this,Rt)&&(A(this,Sa)||je(this,yo,px).call(this)?A(this,Rt).cancel({revert:!0}):A(this,Rt).cancelRetry()),this.scheduleGc()),A(this,Fo).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,yo,Hr).call(this,{type:"invalidate"})}async fetch(r,n){var p,m,v,S,k,w,x,z,T,j,N;if(this.state.fetchStatus!=="idle"&&((p=A(this,Rt))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,Rt))return A(this,Rt).continueRetry(),A(this,Rt).promise}if(r&&this.setOptions(r),!this.options.queryFn){const C=this.observers.find(E=>E.options.queryFn);C&&this.setOptions(C.options)}const a=new AbortController,s=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(le(this,Sa,!0),a.signal)})},c=()=>{const C=fx(this.options,n),M=(()=>{const W={client:A(this,xa),queryKey:this.queryKey,meta:this.meta};return s(W),W})();return le(this,Sa,!1),this.options.persister?this.options.persister(C,M,this):C(M)},d=(()=>{const C={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,xa),state:this.state,fetchFn:c};return s(C),C})(),g=A(this,Ni)==="infinite"?WB(this.options.pages):this.options.behavior;g==null||g.onFetch(d,this),le(this,Ci,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((m=d.fetchOptions)==null?void 0:m.meta))&&je(this,yo,Hr).call(this,{type:"fetch",meta:(v=d.fetchOptions)==null?void 0:v.meta}),le(this,Rt,hx({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:C=>{C instanceof l0&&C.revert&&this.setState({...A(this,Ci),fetchStatus:"idle"}),a.abort()},onFail:(C,E)=>{je(this,yo,Hr).call(this,{type:"failed",failureCount:C,error:E})},onPause:()=>{je(this,yo,Hr).call(this,{type:"pause"})},onContinue:()=>{je(this,yo,Hr).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const C=await A(this,Rt).start();if(C===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(C),(k=(S=A(this,Fo).config).onSuccess)==null||k.call(S,C,this),(x=(w=A(this,Fo).config).onSettled)==null||x.call(w,C,this.state.error,this),C}catch(C){if(C instanceof l0){if(C.silent)return A(this,Rt).promise;if(C.revert){if(this.state.data===void 0)throw C;return this.state.data}}throw je(this,yo,Hr).call(this,{type:"error",error:C}),(T=(z=A(this,Fo).config).onError)==null||T.call(z,C,this),(N=(j=A(this,Fo).config).onSettled)==null||N.call(j,this.state.data,C,this),C}finally{this.scheduleGc()}}},Ni=new WeakMap,ya=new WeakMap,Ci=new WeakMap,Fo=new WeakMap,xa=new WeakMap,Rt=new WeakMap,ps=new WeakMap,Sa=new WeakMap,yo=new WeakSet,px=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Hr=function(r){const n=a=>{switch(r.type){case"failed":return{...a,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...mx(a.data,this.options),fetchMeta:r.meta??null};case"success":const s={...a,...lb(r.data,r.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return le(this,Ci,r.manual?s:void 0),s;case"error":const c=r.error;return{...a,error:c,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...r.state}}};this.state=n(this.state),Nt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),A(this,Fo).notify({query:this,type:"updated",action:r})})},Dy);function mx(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dx(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function lb(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function sb(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,n=r!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var ro,Fe,ms,Wt,wa,Ei,Lr,Rn,vs,ji,Ri,ka,Ba,An,Ai,Qe,ts,s0,c0,u0,f0,d0,h0,g0,vx,Oy,$B=(Oy=class extends $i{constructor(r,n){super();be(this,Qe);be(this,ro);be(this,Fe);be(this,ms);be(this,Wt);be(this,wa);be(this,Ei);be(this,Lr);be(this,Rn);be(this,vs);be(this,ji);be(this,Ri);be(this,ka);be(this,Ba);be(this,An);be(this,Ai,new Set);this.options=n,le(this,ro,r),le(this,Rn,null),le(this,Lr,i0()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(A(this,Fe).addObserver(this),cb(A(this,Fe),this.options)?je(this,Qe,ts).call(this):this.updateResult(),je(this,Qe,f0).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return p0(A(this,Fe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return p0(A(this,Fe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,Qe,d0).call(this),je(this,Qe,h0).call(this),A(this,Fe).removeObserver(this)}setOptions(r){const n=this.options,a=A(this,Fe);if(this.options=A(this,ro).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof xo(this.options.enabled,A(this,Fe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,Qe,g0).call(this),A(this,Fe).setOptions(this.options),n._defaulted&&!yu(this.options,n)&&A(this,ro).getQueryCache().notify({type:"observerOptionsUpdated",query:A(this,Fe),observer:this});const s=this.hasListeners();s&&ub(A(this,Fe),a,this.options,n)&&je(this,Qe,ts).call(this),this.updateResult(),s&&(A(this,Fe)!==a||xo(this.options.enabled,A(this,Fe))!==xo(n.enabled,A(this,Fe))||Ln(this.options.staleTime,A(this,Fe))!==Ln(n.staleTime,A(this,Fe)))&&je(this,Qe,s0).call(this);const c=je(this,Qe,c0).call(this);s&&(A(this,Fe)!==a||xo(this.options.enabled,A(this,Fe))!==xo(n.enabled,A(this,Fe))||c!==A(this,An))&&je(this,Qe,u0).call(this,c)}getOptimisticResult(r){const n=A(this,ro).getQueryCache().build(A(this,ro),r),a=this.createResult(n,r);return ZB(this,a)&&(le(this,Wt,a),le(this,Ei,this.options),le(this,wa,A(this,Fe).state)),a}getCurrentResult(){return A(this,Wt)}trackResult(r,n){return new Proxy(r,{get:(a,s)=>(this.trackProp(s),n==null||n(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&A(this,Lr).status==="pending"&&A(this,Lr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,s))})}trackProp(r){A(this,Ai).add(r)}getCurrentQuery(){return A(this,Fe)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const n=A(this,ro).defaultQueryOptions(r),a=A(this,ro).getQueryCache().build(A(this,ro),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(r){return je(this,Qe,ts).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),A(this,Wt)))}createResult(r,n){var oe;const a=A(this,Fe),s=this.options,c=A(this,Wt),u=A(this,wa),d=A(this,Ei),p=r!==a?r.state:A(this,ms),{state:m}=r;let v={...m},S=!1,k;if(n._optimisticResults){const ie=this.hasListeners(),ve=!ie&&cb(r,n),ae=ie&&ub(r,a,n,s);(ve||ae)&&(v={...v,...mx(m.data,r.options)}),n._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:w,errorUpdatedAt:x,status:z}=v;k=v.data;let T=!1;if(n.placeholderData!==void 0&&k===void 0&&z==="pending"){let ie;c!=null&&c.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(ie=c.data,T=!0):ie=typeof n.placeholderData=="function"?n.placeholderData((oe=A(this,Ri))==null?void 0:oe.state.data,A(this,Ri)):n.placeholderData,ie!==void 0&&(z="success",k=a0(c==null?void 0:c.data,ie,n),S=!0)}if(n.select&&k!==void 0&&!T)if(c&&k===(u==null?void 0:u.data)&&n.select===A(this,vs))k=A(this,ji);else try{le(this,vs,n.select),k=n.select(k),k=a0(c==null?void 0:c.data,k,n),le(this,ji,k),le(this,Rn,null)}catch(ie){le(this,Rn,ie)}A(this,Rn)&&(w=A(this,Rn),k=A(this,ji),x=Date.now(),z="error");const j=v.fetchStatus==="fetching",N=z==="pending",C=z==="error",E=N&&j,M=k!==void 0,G={status:z,fetchStatus:v.fetchStatus,isPending:N,isSuccess:z==="success",isError:C,isInitialLoading:E,isLoading:E,data:k,dataUpdatedAt:v.dataUpdatedAt,error:w,errorUpdatedAt:x,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:r.isFetched(),isFetchedAfterMount:v.dataUpdateCount>p.dataUpdateCount||v.errorUpdateCount>p.errorUpdateCount,isFetching:j,isRefetching:j&&!N,isLoadingError:C&&!M,isPaused:v.fetchStatus==="paused",isPlaceholderData:S,isRefetchError:C&&M,isStale:$0(r,n),refetch:this.refetch,promise:A(this,Lr),isEnabled:xo(n.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const ie=G.data!==void 0,ve=G.status==="error"&&!ie,ae=ye=>{ve?ye.reject(G.error):ie&&ye.resolve(G.data)},ue=()=>{const ye=le(this,Lr,G.promise=i0());ae(ye)},re=A(this,Lr);switch(re.status){case"pending":r.queryHash===a.queryHash&&ae(re);break;case"fulfilled":(ve||G.data!==re.value)&&ue();break;case"rejected":(!ve||G.error!==re.reason)&&ue();break}}return G}updateResult(){const r=A(this,Wt),n=this.createResult(A(this,Fe),this.options);if(le(this,wa,A(this,Fe).state),le(this,Ei,this.options),A(this,wa).data!==void 0&&le(this,Ri,A(this,Fe)),yu(n,r))return;le(this,Wt,n);const a=()=>{if(!r)return!0;const{notifyOnChangeProps:s}=this.options,c=typeof s=="function"?s():s;if(c==="all"||!c&&!A(this,Ai).size)return!0;const u=new Set(c??A(this,Ai));return this.options.throwOnError&&u.add("error"),Object.keys(A(this,Wt)).some(d=>{const g=d;return A(this,Wt)[g]!==r[g]&&u.has(g)})};je(this,Qe,vx).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,Qe,f0).call(this)}},ro=new WeakMap,Fe=new WeakMap,ms=new WeakMap,Wt=new WeakMap,wa=new WeakMap,Ei=new WeakMap,Lr=new WeakMap,Rn=new WeakMap,vs=new WeakMap,ji=new WeakMap,Ri=new WeakMap,ka=new WeakMap,Ba=new WeakMap,An=new WeakMap,Ai=new WeakMap,Qe=new WeakSet,ts=function(r){je(this,Qe,g0).call(this);let n=A(this,Fe).fetch(this.options,r);return r!=null&&r.throwOnError||(n=n.catch(Qt)),n},s0=function(){je(this,Qe,d0).call(this);const r=Ln(this.options.staleTime,A(this,Fe));if(cs.isServer()||A(this,Wt).isStale||!r0(r))return;const a=cx(A(this,Wt).dataUpdatedAt,r)+1;le(this,ka,pa.setTimeout(()=>{A(this,Wt).isStale||this.updateResult()},a))},c0=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(A(this,Fe)):this.options.refetchInterval)??!1},u0=function(r){je(this,Qe,h0).call(this),le(this,An,r),!(cs.isServer()||xo(this.options.enabled,A(this,Fe))===!1||!r0(A(this,An))||A(this,An)===0)&&le(this,Ba,pa.setInterval(()=>{(this.options.refetchIntervalInBackground||X0.isFocused())&&je(this,Qe,ts).call(this)},A(this,An)))},f0=function(){je(this,Qe,s0).call(this),je(this,Qe,u0).call(this,je(this,Qe,c0).call(this))},d0=function(){A(this,ka)!==void 0&&(pa.clearTimeout(A(this,ka)),le(this,ka,void 0))},h0=function(){A(this,Ba)!==void 0&&(pa.clearInterval(A(this,Ba)),le(this,Ba,void 0))},g0=function(){const r=A(this,ro).getQueryCache().build(A(this,ro),this.options);if(r===A(this,Fe))return;const n=A(this,Fe);le(this,Fe,r),le(this,ms,r.state),this.hasListeners()&&(n==null||n.removeObserver(this),r.addObserver(this))},vx=function(r){Nt.batch(()=>{r.listeners&&this.listeners.forEach(n=>{n(A(this,Wt))}),A(this,ro).getQueryCache().notify({query:A(this,Fe),type:"observerResultsUpdated"})})},Oy);function KB(e,r){return xo(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&xo(r.retryOnMount,e)===!1)}function cb(e,r){return KB(e,r)||e.state.data!==void 0&&p0(e,r,r.refetchOnMount)}function p0(e,r,n){if(xo(r.enabled,e)!==!1&&Ln(r.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&$0(e,r)}return!1}function ub(e,r,n,a){return(e!==r||xo(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&$0(e,n)}function $0(e,r){return xo(r.enabled,e)!==!1&&e.isStaleByTime(Ln(r.staleTime,e))}function ZB(e,r){return!yu(e.getCurrentResult(),r)}var bs,gr,Pt,_a,pr,Nn,My,JB=(My=class extends gx{constructor(r){super();be(this,pr);be(this,bs);be(this,gr);be(this,Pt);be(this,_a);le(this,bs,r.client),this.mutationId=r.mutationId,le(this,Pt,r.mutationCache),le(this,gr,[]),this.state=r.state||bx(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){A(this,gr).includes(r)||(A(this,gr).push(r),this.clearGcTimeout(),A(this,Pt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){le(this,gr,A(this,gr).filter(n=>n!==r)),this.scheduleGc(),A(this,Pt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){A(this,gr).length||(this.state.status==="pending"?this.scheduleGc():A(this,Pt).remove(this))}continue(){var r;return((r=A(this,_a))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var u,d,g,p,m,v,S,k,w,x,z,T,j,N,C,E,M,W;const n=()=>{je(this,pr,Nn).call(this,{type:"continue"})},a={client:A(this,bs),meta:this.options.meta,mutationKey:this.options.mutationKey};le(this,_a,hx({fn:()=>this.options.mutationFn?this.options.mutationFn(r,a):Promise.reject(new Error("No mutationFn found")),onFail:(G,oe)=>{je(this,pr,Nn).call(this,{type:"failed",failureCount:G,error:oe})},onPause:()=>{je(this,pr,Nn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,Pt).canRun(this)}));const s=this.state.status==="pending",c=!A(this,_a).canStart();try{if(s)n();else{je(this,pr,Nn).call(this,{type:"pending",variables:r,isPaused:c}),A(this,Pt).config.onMutate&&await A(this,Pt).config.onMutate(r,this,a);const oe=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,r,a));oe!==this.state.context&&je(this,pr,Nn).call(this,{type:"pending",context:oe,variables:r,isPaused:c})}const G=await A(this,_a).start();return await((p=(g=A(this,Pt).config).onSuccess)==null?void 0:p.call(g,G,r,this.state.context,this,a)),await((v=(m=this.options).onSuccess)==null?void 0:v.call(m,G,r,this.state.context,a)),await((k=(S=A(this,Pt).config).onSettled)==null?void 0:k.call(S,G,null,this.state.variables,this.state.context,this,a)),await((x=(w=this.options).onSettled)==null?void 0:x.call(w,G,null,r,this.state.context,a)),je(this,pr,Nn).call(this,{type:"success",data:G}),G}catch(G){try{await((T=(z=A(this,Pt).config).onError)==null?void 0:T.call(z,G,r,this.state.context,this,a))}catch(oe){Promise.reject(oe)}try{await((N=(j=this.options).onError)==null?void 0:N.call(j,G,r,this.state.context,a))}catch(oe){Promise.reject(oe)}try{await((E=(C=A(this,Pt).config).onSettled)==null?void 0:E.call(C,void 0,G,this.state.variables,this.state.context,this,a))}catch(oe){Promise.reject(oe)}try{await((W=(M=this.options).onSettled)==null?void 0:W.call(M,void 0,G,r,this.state.context,a))}catch(oe){Promise.reject(oe)}throw je(this,pr,Nn).call(this,{type:"error",error:G}),G}finally{A(this,Pt).runNext(this)}}},bs=new WeakMap,gr=new WeakMap,Pt=new WeakMap,_a=new WeakMap,pr=new WeakSet,Nn=function(r){const n=a=>{switch(r.type){case"failed":return{...a,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...a,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:r.error,failureCount:a.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Nt.batch(()=>{A(this,gr).forEach(a=>{a.onMutationUpdate(r)}),A(this,Pt).notify({mutation:this,type:"updated",action:r})})},My);function bx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Pr,Zo,ys,qy,e4=(qy=class extends $i{constructor(r={}){super();be(this,Pr);be(this,Zo);be(this,ys);this.config=r,le(this,Pr,new Set),le(this,Zo,new Map),le(this,ys,0)}build(r,n,a){const s=new JB({client:r,mutationCache:this,mutationId:++$c(this,ys)._,options:r.defaultMutationOptions(n),state:a});return this.add(s),s}add(r){A(this,Pr).add(r);const n=Zc(r);if(typeof n=="string"){const a=A(this,Zo).get(n);a?a.push(r):A(this,Zo).set(n,[r])}this.notify({type:"added",mutation:r})}remove(r){if(A(this,Pr).delete(r)){const n=Zc(r);if(typeof n=="string"){const a=A(this,Zo).get(n);if(a)if(a.length>1){const s=a.indexOf(r);s!==-1&&a.splice(s,1)}else a[0]===r&&A(this,Zo).delete(n)}}this.notify({type:"removed",mutation:r})}canRun(r){const n=Zc(r);if(typeof n=="string"){const a=A(this,Zo).get(n),s=a==null?void 0:a.find(c=>c.state.status==="pending");return!s||s===r}else return!0}runNext(r){var a;const n=Zc(r);if(typeof n=="string"){const s=(a=A(this,Zo).get(n))==null?void 0:a.find(c=>c!==r&&c.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Nt.batch(()=>{A(this,Pr).forEach(r=>{this.notify({type:"removed",mutation:r})}),A(this,Pr).clear(),A(this,Zo).clear()})}getAll(){return Array.from(A(this,Pr))}find(r){const n={exact:!0,...r};return this.getAll().find(a=>rb(n,a))}findAll(r={}){return this.getAll().filter(n=>rb(r,n))}notify(r){Nt.batch(()=>{this.listeners.forEach(n=>{n(r)})})}resumePausedMutations(){const r=this.getAll().filter(n=>n.state.isPaused);return Nt.batch(()=>Promise.all(r.map(n=>n.continue().catch(Qt))))}},Pr=new WeakMap,Zo=new WeakMap,ys=new WeakMap,qy);function Zc(e){var r;return(r=e.options.scope)==null?void 0:r.id}var Ir,Dn,no,Ur,Xr,uu,m0,Fy,t4=(Fy=class extends $i{constructor(n,a){super();be(this,Xr);be(this,Ir);be(this,Dn);be(this,no);be(this,Ur);le(this,Ir,n),this.setOptions(a),this.bindMethods(),je(this,Xr,uu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const a=this.options;this.options=A(this,Ir).defaultMutationOptions(n),yu(this.options,a)||A(this,Ir).getMutationCache().notify({type:"observerOptionsUpdated",mutation:A(this,no),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&Ta(a.mutationKey)!==Ta(this.options.mutationKey)?this.reset():((s=A(this,no))==null?void 0:s.state.status)==="pending"&&A(this,no).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=A(this,no))==null||n.removeObserver(this)}onMutationUpdate(n){je(this,Xr,uu).call(this),je(this,Xr,m0).call(this,n)}getCurrentResult(){return A(this,Dn)}reset(){var n;(n=A(this,no))==null||n.removeObserver(this),le(this,no,void 0),je(this,Xr,uu).call(this),je(this,Xr,m0).call(this)}mutate(n,a){var s;return le(this,Ur,a),(s=A(this,no))==null||s.removeObserver(this),le(this,no,A(this,Ir).getMutationCache().build(A(this,Ir),this.options)),A(this,no).addObserver(this),A(this,no).execute(n)}},Ir=new WeakMap,Dn=new WeakMap,no=new WeakMap,Ur=new WeakMap,Xr=new WeakSet,uu=function(){var a;const n=((a=A(this,no))==null?void 0:a.state)??bx();le(this,Dn,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},m0=function(n){Nt.batch(()=>{var a,s,c,u,d,g,p,m;if(A(this,Ur)&&this.hasListeners()){const v=A(this,Dn).variables,S=A(this,Dn).context,k={client:A(this,Ir),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(s=(a=A(this,Ur)).onSuccess)==null||s.call(a,n.data,v,S,k)}catch(w){Promise.reject(w)}try{(u=(c=A(this,Ur)).onSettled)==null||u.call(c,n.data,null,v,S,k)}catch(w){Promise.reject(w)}}else if((n==null?void 0:n.type)==="error"){try{(g=(d=A(this,Ur)).onError)==null||g.call(d,n.error,v,S,k)}catch(w){Promise.reject(w)}try{(m=(p=A(this,Ur)).onSettled)==null||m.call(p,void 0,n.error,v,S,k)}catch(w){Promise.reject(w)}}}this.listeners.forEach(v=>{v(A(this,Dn))})})},Fy),mr,Hy,o4=(Hy=class extends $i{constructor(r={}){super();be(this,mr);this.config=r,le(this,mr,new Map)}build(r,n,a){const s=n.queryKey,c=n.queryHash??W0(s,n);let u=this.get(c);return u||(u=new YB({client:r,queryKey:s,queryHash:c,options:r.defaultQueryOptions(n),state:a,defaultOptions:r.getQueryDefaults(s)}),this.add(u)),u}add(r){A(this,mr).has(r.queryHash)||(A(this,mr).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const n=A(this,mr).get(r.queryHash);n&&(r.destroy(),n===r&&A(this,mr).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){Nt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return A(this,mr).get(r)}getAll(){return[...A(this,mr).values()]}find(r){const n={exact:!0,...r};return this.getAll().find(a=>ob(n,a))}findAll(r={}){const n=this.getAll();return Object.keys(r).length>0?n.filter(a=>ob(r,a)):n}notify(r){Nt.batch(()=>{this.listeners.forEach(n=>{n(r)})})}onFocus(){Nt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){Nt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},mr=new WeakMap,Hy),ut,On,Mn,Di,Oi,qn,Mi,qi,Ly,r4=(Ly=class{constructor(e={}){be(this,ut);be(this,On);be(this,Mn);be(this,Di);be(this,Oi);be(this,qn);be(this,Mi);be(this,qi);le(this,ut,e.queryCache||new o4),le(this,On,e.mutationCache||new e4),le(this,Mn,e.defaultOptions||{}),le(this,Di,new Map),le(this,Oi,new Map),le(this,qn,0)}mount(){$c(this,qn)._++,A(this,qn)===1&&(le(this,Mi,X0.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ut).onFocus())})),le(this,qi,xu.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ut).onOnline())})))}unmount(){var e,r;$c(this,qn)._--,A(this,qn)===0&&((e=A(this,Mi))==null||e.call(this),le(this,Mi,void 0),(r=A(this,qi))==null||r.call(this),le(this,qi,void 0))}isFetching(e){return A(this,ut).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,On).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const r=this.defaultQueryOptions({queryKey:e});return(n=A(this,ut).get(r.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),n=A(this,ut).build(this,r),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ln(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(a))}getQueriesData(e){return A(this,ut).findAll(e).map(({queryKey:r,state:n})=>{const a=n.data;return[r,a]})}setQueryData(e,r,n){const a=this.defaultQueryOptions({queryKey:e}),s=A(this,ut).get(a.queryHash),c=s==null?void 0:s.state.data,u=qB(r,c);if(u!==void 0)return A(this,ut).build(this,a).setData(u,{...n,manual:!0})}setQueriesData(e,r,n){return Nt.batch(()=>A(this,ut).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,r,n)]))}getQueryState(e){var n;const r=this.defaultQueryOptions({queryKey:e});return(n=A(this,ut).get(r.queryHash))==null?void 0:n.state}removeQueries(e){const r=A(this,ut);Nt.batch(()=>{r.findAll(e).forEach(n=>{r.remove(n)})})}resetQueries(e,r){const n=A(this,ut);return Nt.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const n={revert:!0,...r},a=Nt.batch(()=>A(this,ut).findAll(e).map(s=>s.cancel(n)));return Promise.all(a).then(Qt).catch(Qt)}invalidateQueries(e,r={}){return Nt.batch(()=>(A(this,ut).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},r)))}refetchQueries(e,r={}){const n={...r,cancelRefetch:r.cancelRefetch??!0},a=Nt.batch(()=>A(this,ut).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let c=s.fetch(void 0,n);return n.throwOnError||(c=c.catch(Qt)),s.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(Qt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const n=A(this,ut).build(this,r);return n.isStaleByTime(Ln(r.staleTime,n))?n.fetch(r):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Qt).catch(Qt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Qt).catch(Qt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return xu.isOnline()?A(this,On).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ut)}getMutationCache(){return A(this,On)}getDefaultOptions(){return A(this,Mn)}setDefaultOptions(e){le(this,Mn,e)}setQueryDefaults(e,r){A(this,Di).set(Ta(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...A(this,Di).values()],n={};return r.forEach(a=>{ss(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,r){A(this,Oi).set(Ta(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...A(this,Oi).values()],n={};return r.forEach(a=>{ss(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const r={...A(this,Mn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=W0(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===Q0&&(r.enabled=!1),r}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Mn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ut).clear(),A(this,On).clear()}},ut=new WeakMap,On=new WeakMap,Mn=new WeakMap,Di=new WeakMap,Oi=new WeakMap,qn=new WeakMap,Mi=new WeakMap,qi=new WeakMap,Ly),yx=y.createContext(void 0),qu=e=>{const r=y.useContext(yx);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},n4=({client:e,children:r})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),B.jsx(yx.Provider,{value:e,children:r})),xx=y.createContext(!1),a4=()=>y.useContext(xx);xx.Provider;function i4(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var l4=y.createContext(i4()),s4=()=>y.useContext(l4),c4=(e,r,n)=>{const a=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Y0(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(r.isReset()||(e.retryOnMount=!1))},u4=e=>{y.useEffect(()=>{e.clearReset()},[e])},f4=({result:e,errorResetBoundary:r,throwOnError:n,query:a,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&a&&(s&&e.data===void 0||Y0(n,[e.error,a])),d4=e=>{if(e.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),a=e.staleTime;e.staleTime=typeof a=="function"?(...s)=>n(a(...s)):n(a),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},h4=(e,r)=>e.isLoading&&e.isFetching&&!r,g4=(e,r)=>(e==null?void 0:e.suspense)&&r.isPending,fb=(e,r,n)=>r.fetchOptimistic(e).catch(()=>{n.clearReset()});function p4(e,r,n){var S,k,w,x;const a=a4(),s=s4(),c=qu(),u=c.defaultQueryOptions(e);(k=(S=c.getDefaultOptions().queries)==null?void 0:S._experimental_beforeQuery)==null||k.call(S,u);const d=c.getQueryCache().get(u.queryHash);u._optimisticResults=a?"isRestoring":"optimistic",d4(u),c4(u,s,d),u4(s);const g=!c.getQueryCache().get(u.queryHash),[p]=y.useState(()=>new r(c,u)),m=p.getOptimisticResult(u),v=!a&&e.subscribed!==!1;if(y.useSyncExternalStore(y.useCallback(z=>{const T=v?p.subscribe(Nt.batchCalls(z)):Qt;return p.updateResult(),T},[p,v]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),y.useEffect(()=>{p.setOptions(u)},[u,p]),g4(u,m))throw fb(u,p,s);if(f4({result:m,errorResetBoundary:s,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw m.error;if((x=(w=c.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||x.call(w,u,m),u.experimental_prefetchInRender&&!cs.isServer()&&h4(m,a)){const z=g?fb(u,p,s):d==null?void 0:d.promise;z==null||z.catch(Qt).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?m:p.trackResult(m)}function Fu(e,r){return p4(e,$B)}function Sx(e,r){const n=qu(),[a]=y.useState(()=>new t4(n,e));y.useEffect(()=>{a.setOptions(e)},[a,e]);const s=y.useSyncExternalStore(y.useCallback(u=>a.subscribe(Nt.batchCalls(u)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=y.useCallback((u,d)=>{a.mutate(u,d).catch(Qt)},[a]);if(s.error&&Y0(a.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:c,mutateAsync:s.mutate}}const Ah=typeof window>"u"?global:window,Dh="@griffel/";function m4(e,r){return Ah[Symbol.for(Dh+e)]||(Ah[Symbol.for(Dh+e)]=r),Ah[Symbol.for(Dh+e)]}const v0=m4("DEFINITION_LOOKUP_TABLE",{}),rs="data-make-styles-bucket",v4="data-priority",b0="f",y0=7,K0="___",b4=K0.length+y0,y4=0,x4=1,S4={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},x0="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function us(e){for(var r=0,n,a=0,s=e.length;s>=4;++a,s-=4)n=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,r=(n&65535)*1540483477+((n>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(s){case 3:r^=(e.charCodeAt(a+2)&255)<<16;case 2:r^=(e.charCodeAt(a+1)&255)<<8;case 1:r^=e.charCodeAt(a)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function w4(e){const r=e.length;if(r===y0)return e;for(let n=r;n<y0;n++)e+="0";return e}function wx(e,r,n=[]){return K0+w4(us(e+r))}function kx(e,r){let n="",a="";for(const s in e){const c=e[s];if(c===0){a+=s+" ";continue}const u=Array.isArray(c),d=r==="rtl"?(u?c[1]:c)+" ":(u?c[0]:c)+" ";n+=d,a+=d}return[n.slice(0,-1),a.slice(0,-1)]}function Su(e,r){const n={};for(const a in e){const[s,c]=kx(e[a],r);if(c===""){n[a]="";continue}const u=wx(c,r),d=u+(s===""?"":" "+s);v0[u]=[e[a],r],n[a]=d}return n}const db={};function me(){let e=null,r="",n="";const a=new Array(arguments.length);for(let v=0;v<arguments.length;v++){const S=arguments[v];if(typeof S=="string"&&S!==""){const k=S.indexOf(K0);if(k===-1)r+=S+" ";else{const w=S.substr(k,b4);k>0&&(r+=S.slice(0,k)),n+=w,a[v]=w}}}if(n==="")return r.slice(0,-1);const s=db[n];if(s!==void 0)return r+s;const c=[];for(let v=0;v<arguments.length;v++){const S=a[v];if(S){const k=v0[S];k&&(c.push(k[y4]),e=k[x4])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,g]=kx(u,e),p=wx(g,e,a),m=p+" "+d;return db[n]=m,v0[p]=[u,e],r+m}function k4(e){return Array.isArray(e)?e:[e]}function B4(e,r,n,a){const s=[];if(a[rs]=r,a[v4]=String(n),e)for(const u in a)e.setAttribute(u,a[u]);function c(u){return e!=null&&e.sheet?e.sheet.insertRule(u,e.sheet.cssRules.length):s.push(u)}return{elementAttributes:a,insertRule:c,element:e,bucketName:r,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(u=>u.cssText):s}}}const _4=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],hb=_4.reduce((e,r,n)=>(e[r]=n,e),{});function z4(e,r,n){return(e==="m"?e+r:e)+n}function T4(e,r,n,a,s={}){var c,u;const d=e==="m",g=(c=s.m)!==null&&c!==void 0?c:"0",p=(u=s.p)!==null&&u!==void 0?u:0,m=z4(e,g,p);if(!a.stylesheets[m]){const v=r&&r.createElement("style"),S=B4(v,e,p,{...a.styleElementAttributes,...d&&{media:g}});a.stylesheets[m]=S,r!=null&&r.head&&v&&r.head.insertBefore(v,C4(r,n,e,a,s))}return a.stylesheets[m]}function N4(e,r,n){var a,s;const c=r+((a=n.m)!==null&&a!==void 0?a:""),u=e.getAttribute(rs)+((s=e.media)!==null&&s!==void 0?s:"");return c===u}function C4(e,r,n,a,s={}){var c,u;const d=hb[n],g=(c=s.m)!==null&&c!==void 0?c:"",p=(u=s.p)!==null&&u!==void 0?u:0;let m=x=>d-hb[x.getAttribute(rs)],v=e.head.querySelectorAll(`[${rs}]`);if(n==="m"){const x=e.head.querySelectorAll(`[${rs}="${n}"]`);x.length&&(v=x,m=z=>a.compareMediaQueries(g,z.media))}const S=x=>N4(x,n,s)?p-Number(x.getAttribute("data-priority")):m(x),k=v.length;let w=k-1;for(;w>=0;){const x=v.item(w);if(S(x)>0)return x.nextSibling;w--}return k>0?v.item(0):r?r.nextSibling:null}function gb(e,r){try{e.insertRule(r)}catch{}}let E4=0;const j4=(e,r)=>e<r?-1:e>r?1:0;function R4(e=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:n,unstable_filterCSSRule:a,insertionPoint:s,styleElementAttributes:c,compareMediaQueries:u=j4}=r,d={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${E4++}`,insertCSSRules(g){for(const p in g){const m=g[p];for(let v=0,S=m.length;v<S;v++){const[k,w]=k4(m[v]),x=T4(p,e,s||null,d,w);d.insertionCache[k]||(d.insertionCache[k]=p,a?a(k)&&gb(x,k):gb(x,k))}}}};return d}const Z0=()=>{const e={};return function(n,a){e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}};function Bx(e){return e.reduce(function(r,n){var a=n[0],s=n[1];return r[a]=s,r[s]=a,r},{})}function A4(e){return typeof e=="boolean"}function D4(e){return typeof e=="function"}function os(e){return typeof e=="number"}function O4(e){return e===null||typeof e>"u"}function M4(e){return e&&typeof e=="object"}function q4(e){return typeof e=="string"}function fu(e,r){return e.indexOf(r)!==-1}function F4(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Jc(e,r,n,a){return r+F4(n)+a}function H4(e){var r=e.indexOf(".");if(r===-1)e=100-parseFloat(e)+"%";else{var n=e.length-r-2;e=100-parseFloat(e),e=e.toFixed(n)+"%"}return e}function _x(e){return e.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,n){var a=r.list,s=r.state,c=(n.match(/\(/g)||[]).length,u=(n.match(/\)/g)||[]).length;return s.parensDepth>0?a[a.length-1]=a[a.length-1]+" "+n:a.push(n),s.parensDepth+=c-u,{list:a,state:s}},{list:[],state:{parensDepth:0}}).list}function pb(e){var r=_x(e);if(r.length<=3||r.length>4)return e;var n=r[0],a=r[1],s=r[2],c=r[3];return[n,c,s,a].join(" ")}function L4(e){return!A4(e)&&!O4(e)}function P4(e){for(var r=[],n=0,a=0,s=!1;a<e.length;)!s&&e[a]===","?(r.push(e.substring(n,a).trim()),a++,n=a):e[a]==="("?(s=!0,a++):(e[a]===")"&&(s=!1),a++);return n!=a&&r.push(e.substring(n,a+1)),r}var ee={padding:function(r){var n=r.value;return os(n)?n:pb(n)},textShadow:function(r){var n=r.value,a=P4(n).map(function(s){return s.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,d,g){if(g==="0")return c;var p=d===""?"-":"";return""+u+p+g})});return a.join(",")},borderColor:function(r){var n=r.value;return pb(n)},borderRadius:function(r){var n=r.value;if(os(n))return n;if(fu(n,"/")){var a=n.split("/"),s=a[0],c=a[1],u=ee.borderRadius({value:s.trim()}),d=ee.borderRadius({value:c.trim()});return u+" / "+d}var g=_x(n);switch(g.length){case 2:return g.reverse().join(" ");case 4:{var p=g[0],m=g[1],v=g[2],S=g[3];return[m,p,S,v].join(" ")}default:return n}},background:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgImgDirectionRegex,u=r.bgPosDirectionRegex;if(os(n))return n;var d=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(d,ee.backgroundPosition({value:d,valuesToConvert:a,isRtl:s,bgPosDirectionRegex:u})),ee.backgroundImage({value:n,valuesToConvert:a,bgImgDirectionRegex:c})},backgroundImage:function(r){var n=r.value,a=r.valuesToConvert,s=r.bgImgDirectionRegex;return!fu(n,"url(")&&!fu(n,"linear-gradient(")?n:n.replace(s,function(c,u,d){return c.replace(d,a[d])})},backgroundPosition:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgPosDirectionRegex;return n.replace(s?/^((-|\d|\.)+%)/:null,function(u,d){return H4(d)}).replace(c,function(u){return a[u]})},backgroundPositionX:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgPosDirectionRegex;return os(n)?n:ee.backgroundPosition({value:n,valuesToConvert:a,isRtl:s,bgPosDirectionRegex:c})},transition:function(r){var n=r.value,a=r.propertiesToConvert;return n.split(/,\s*/g).map(function(s){var c=s.split(" ");return c[0]=a[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(r){var n=r.value,a=r.propertiesToConvert;return n.split(/,\s*/g).map(function(s){return a[s]||s}).join(", ")},transform:function(r){var n=r.value,a="[^\\u0020-\\u007e]",s="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+a+"|"+s+")")+("(?:[_a-z0-9-]|"+a+"|"+s+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),d=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),g=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),p=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,Jc).replace(d,Jc).replace(g,Jc).replace(p,Jc)}};ee.objectPosition=ee.backgroundPosition;ee.margin=ee.padding;ee.borderWidth=ee.padding;ee.boxShadow=ee.textShadow;ee.webkitBoxShadow=ee.boxShadow;ee.mozBoxShadow=ee.boxShadow;ee.WebkitBoxShadow=ee.boxShadow;ee.MozBoxShadow=ee.boxShadow;ee.borderStyle=ee.borderColor;ee.webkitTransform=ee.transform;ee.mozTransform=ee.transform;ee.WebkitTransform=ee.transform;ee.MozTransform=ee.transform;ee.transformOrigin=ee.backgroundPosition;ee.webkitTransformOrigin=ee.transformOrigin;ee.mozTransformOrigin=ee.transformOrigin;ee.WebkitTransformOrigin=ee.transformOrigin;ee.MozTransformOrigin=ee.transformOrigin;ee.webkitTransition=ee.transition;ee.mozTransition=ee.transition;ee.WebkitTransition=ee.transition;ee.MozTransition=ee.transition;ee.webkitTransitionProperty=ee.transitionProperty;ee.mozTransitionProperty=ee.transitionProperty;ee.WebkitTransitionProperty=ee.transitionProperty;ee.MozTransitionProperty=ee.transitionProperty;ee["text-shadow"]=ee.textShadow;ee["border-color"]=ee.borderColor;ee["border-radius"]=ee.borderRadius;ee["background-image"]=ee.backgroundImage;ee["background-position"]=ee.backgroundPosition;ee["background-position-x"]=ee.backgroundPositionX;ee["object-position"]=ee.objectPosition;ee["border-width"]=ee.padding;ee["box-shadow"]=ee.textShadow;ee["-webkit-box-shadow"]=ee.textShadow;ee["-moz-box-shadow"]=ee.textShadow;ee["border-style"]=ee.borderColor;ee["-webkit-transform"]=ee.transform;ee["-moz-transform"]=ee.transform;ee["transform-origin"]=ee.transformOrigin;ee["-webkit-transform-origin"]=ee.transformOrigin;ee["-moz-transform-origin"]=ee.transformOrigin;ee["-webkit-transition"]=ee.transition;ee["-moz-transition"]=ee.transition;ee["transition-property"]=ee.transitionProperty;ee["-webkit-transition-property"]=ee.transitionProperty;ee["-moz-transition-property"]=ee.transitionProperty;var zx=Bx([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),I4=["content"],mb=Bx([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),U4=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),V4=new RegExp("(left)|(right)");function Tx(e){return Object.keys(e).reduce(function(r,n){var a=e[n];if(q4(a)&&(a=a.trim()),fu(I4,n))return r[n]=a,r;var s=S0(n,a),c=s.key,u=s.value;return r[c]=u,r},Array.isArray(e)?[]:{})}function S0(e,r){var n=/\/\*\s?@noflip\s?\*\//.test(r),a=n?e:G4(e),s=n?r:X4(a,r);return{key:a,value:s}}function G4(e){return zx[e]||e}function X4(e,r){if(!L4(r))return r;if(M4(r))return Tx(r);var n=os(r),a=D4(r),s=n||a?r:r.replace(/ !important.*?$/,""),c=!n&&s.length!==r.length,u=ee[e],d;return u?d=u({value:s,valuesToConvert:mb,propertiesToConvert:zx,isRtl:!0,bgImgDirectionRegex:U4,bgPosDirectionRegex:V4}):d=mb[s]||s,c?d+" !important":d}var ns="-moz-",$o="-webkit-",Nx="comm",Hu="rule",J0="decl",W4="@media",Q4="@import",Y4="@supports",$4="@namespace",K4="@keyframes",Cx="@layer",Z4=Math.abs,Si=String.fromCharCode,J4=Object.assign;function e6(e,r){return Ut(e,0)^45?(((r<<2^Ut(e,0))<<2^Ut(e,1))<<2^Ut(e,2))<<2^Ut(e,3):0}function Ex(e){return e.trim()}function jx(e,r){return(e=r.exec(e))?e[0]:e}function So(e,r,n){return e.replace(r,n)}function t6(e,r){return e.indexOf(r)}function Ut(e,r){return e.charCodeAt(r)|0}function Fi(e,r,n){return e.slice(r,n)}function Jo(e){return e.length}function Rx(e){return e.length}function ma(e,r){return r.push(e),e}function o6(e,r){return e.map(r).join("")}var Lu=1,Hi=1,Ax=0,Bo=0,lt=0,Ki="";function Pu(e,r,n,a,s,c,u,d){return{value:e,root:r,parent:n,type:a,props:s,children:c,line:Lu,column:Hi,length:u,return:"",siblings:d}}function Oh(e,r){return J4(Pu("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function r6(){return lt}function n6(){return lt=Bo>0?Ut(Ki,--Bo):0,Hi--,lt===10&&(Hi=1,Lu--),lt}function Uo(){return lt=Bo<Ax?Ut(Ki,Bo++):0,Hi++,lt===10&&(Hi=1,Lu++),lt}function Fn(){return Ut(Ki,Bo)}function du(){return Bo}function Iu(e,r){return Fi(Ki,e,r)}function Li(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 Dx(e){return Lu=Hi=1,Ax=Jo(Ki=e),Bo=0,[]}function Ox(e){return Ki="",e}function hu(e){return Ex(Iu(Bo-1,w0(e===91?e+2:e===40?e+1:e)))}function a6(e){return Ox(l6(Dx(e)))}function i6(e){for(;(lt=Fn())&&lt<33;)Uo();return Li(e)>2||Li(lt)>3?"":" "}function l6(e){for(;Uo();)switch(Li(lt)){case 0:ma(Mx(Bo-1),e);break;case 2:ma(hu(lt),e);break;default:ma(Si(lt),e)}return e}function s6(e,r){for(;--r&&Uo()&&!(lt<48||lt>102||lt>57&&lt<65||lt>70&&lt<97););return Iu(e,du()+(r<6&&Fn()==32&&Uo()==32))}function w0(e){for(;Uo();)switch(lt){case e:return Bo;case 34:case 39:e!==34&&e!==39&&w0(lt);break;case 40:e===41&&w0(e);break;case 92:Uo();break}return Bo}function c6(e,r){for(;Uo()&&e+lt!==57;)if(e+lt===84&&Fn()===47)break;return"/*"+Iu(r,Bo-1)+"*"+Si(e===47?e:Uo())}function Mx(e){for(;!Li(Fn());)Uo();return Iu(e,Bo)}function qx(e){return Ox(gu("",null,null,null,[""],e=Dx(e),0,[0],e))}function gu(e,r,n,a,s,c,u,d,g){for(var p=0,m=0,v=u,S=0,k=0,w=0,x=1,z=1,T=1,j=0,N=0,C="",E=s,M=c,W=a,G=C;z;)switch(w=N,N=Uo()){case 40:w!=108&&Ut(G,v-1)==58?(j++,G+="("):G+=hu(N);break;case 41:j--,G+=")";break;case 34:case 39:case 91:G+=hu(N);break;case 9:case 10:case 13:case 32:if(j>0){G+=Si(N);break}G+=i6(w);break;case 92:G+=s6(du()-1,7);continue;case 47:switch(Fn()){case 42:case 47:ma(u6(c6(Uo(),du()),r,n,g),g),(Li(w||1)==5||Li(Fn()||1)==5)&&Jo(G)&&Fi(G,-1,void 0)!==" "&&(G+=" ");break;default:G+="/"}break;case 123*x:d[p++]=Jo(G)*T;case 125*x:case 59:case 0:if(j>0&&N){G+=Si(N);break}switch(N){case 0:case 125:z=0;case 59+m:T==-1&&(G=So(G,/\f/g,"")),k>0&&(Jo(G)-v||x===0)&&ma(k>32?bb(G+";",a,n,v-1,g):bb(So(G," ","")+";",a,n,v-2,g),g);break;case 59:G+=";";default:if(ma(W=vb(G,r,n,p,m,s,d,C,E=[],M=[],v,c),c),N===123)if(m===0)gu(G,r,W,W,E,c,v,d,M);else{switch(S){case 99:if(Ut(G,3)===110)break;case 108:if(Ut(G,2)===97)break;default:m=0;case 100:case 109:case 115:}m?gu(e,W,W,a&&ma(vb(e,W,W,0,0,s,d,C,s,E=[],v,M),M),s,M,v,d,a?E:M):gu(G,W,W,W,[""],M,0,d,M)}}p=m=k=0,x=T=1,C=G="",v=u;break;case 58:v=1+Jo(G),k=w;default:if(x<1){if(N==123)--x;else if(N==125&&x++==0&&n6()==125)continue}switch(G+=Si(N),N*x){case 38:T=m>0?1:(G+="\f",-1);break;case 44:if(j>0)break;d[p++]=(Jo(G)-1)*T,T=1;break;case 64:Fn()===45&&(G+=hu(Uo())),S=Fn(),m=v=Jo(C=G+=Mx(du())),N++;break;case 45:w===45&&Jo(G)==2&&(x=0)}}return c}function vb(e,r,n,a,s,c,u,d,g,p,m,v){for(var S=s-1,k=s===0?c:[""],w=Rx(k),x=0,z=0,T=0;x<a;++x)for(var j=0,N=Fi(e,S+1,S=Z4(z=u[x])),C=e;j<w;++j)(C=Ex(z>0?k[j]+" "+N:So(N,/&\f/g,k[j])))&&(g[T++]=C);return Pu(e,r,n,s===0?Hu:d,g,p,m,v)}function u6(e,r,n,a){return Pu(e,r,n,Nx,Si(r6()),Fi(e,2,-2),0,a)}function bb(e,r,n,a,s){return Pu(e,r,n,J0,Fi(e,0,a),Fi(e,a+1,-1),a,s)}function Pi(e,r){for(var n="",a=0;a<e.length;a++)n+=r(e[a],a,e,r)||"";return n}function Fx(e,r,n,a){switch(e.type){case Cx:if(e.children.length)break;case Q4:case $4:case J0:return e.return=e.return||e.value;case Nx:return"";case K4:return e.return=e.value+"{"+Pi(e.children,a)+"}";case Hu:if(!Jo(e.value=e.props.join(",")))return""}return Jo(n=Pi(e.children,a))?e.return=e.value+"{"+n+"}":""}function Hx(e){var r=Rx(e);return function(n,a,s,c){for(var u="",d=0;d<r;d++)u+=e[d](n,a,s,c)||"";return u}}function Lx(e){return function(r){r.root||(r=r.return)&&e(r)}}const f6=e=>{switch(e.type){case Hu:if(typeof e.props=="string")return;e.props=e.props.map(r=>r.indexOf(":global(")===-1?r:a6(r).reduce((n,a,s,c)=>{if(a==="")return n;if(a===":"&&c[s+1]==="global"){const u=c[s+2].slice(1,-1)+" ";return n.unshift(u),c[s+1]="",c[s+2]="",n}return n.push(a),n},[]).join(""))}};function Px(e,r,n){switch(e6(e,r)){case 5103:return $o+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return $o+e+e;case 4215:if(Ut(e,9)===102||Ut(e,r+1)===116)return $o+e+e;break;case 4789:return ns+e+e;case 5349:case 4246:case 6968:return $o+e+ns+e+e;case 6187:if(!jx(e,/grab/))return So(So(So(e,/(zoom-|grab)/,$o+"$1"),/(image-set)/,$o+"$1"),e,"")+e;case 5495:case 3959:return So(e,/(image-set\([^]*)/,$o+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return So(e,/(.+)-inline(.+)/,$o+"$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(Jo(e)-1-r>6)switch(Ut(e,r+1)){case 102:if(Ut(e,r+3)===108)return So(e,/(.+:)(.+)-([^]+)/,"$1"+$o+"$2-$3$1"+ns+(Ut(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~t6(e,"stretch")?Px(So(e,"stretch","fill-available"),r)+e:e}break}return e}function Ix(e,r,n,a){if(e.length>-1&&!e.return)switch(e.type){case J0:e.return=Px(e.value,e.length);return;case Hu:if(e.length)return o6(e.props,function(s){switch(jx(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pi([Oh(e,{props:[So(s,/:(read-\w+)/,":"+ns+"$1")]})],a);case"::placeholder":return Pi([Oh(e,{props:[So(s,/:(plac\w+)/,":"+$o+"input-$1")]}),Oh(e,{props:[So(s,/:(plac\w+)/,":"+ns+"$1")]})],a)}return""})}}function d6(e){switch(e.type){case"@container":case W4:case Y4:case Cx:return!0}return!1}const h6=e=>{d6(e)&&Array.isArray(e.children)&&e.children.sort((r,n)=>r.props[0]>n.props[0]?1:-1)};function g6(e,r){const n=[];return Pi(qx(e),Hx([f6,h6,Ix,Fx,Lx(a=>n.push(a))])),n}const p6=/[A-Z]/g,m6=/^ms-/,Mh={};function v6(e){return"-"+e.toLowerCase()}function yi(e){if(Object.prototype.hasOwnProperty.call(Mh,e))return Mh[e];if(e.substr(0,2)==="--")return e;const r=e.replace(p6,v6);return Mh[e]=m6.test(r)?"-"+r:r}function Ux(e){return e.charAt(0)==="&"?e.slice(1):e}const b6=/,( *[^ &])/g;function y6(e){return"&"+Ux(e.replace(b6,",&$1"))}function yb(e,r){return r.reduceRight((n,a)=>`${y6(a)} { ${n} }`,e)}function xb(e,r){const{className:n,selectors:a,property:s,rtlClassName:c,rtlProperty:u,rtlValue:d,value:g}=e,{container:p,layer:m,media:v,scope:S,supports:k}=r,w=`.${n}`,x=Array.isArray(g)?`${g.map(j=>`${yi(s)}: ${j}`).join(";")};`:`${yi(s)}: ${g};`,z=yb(x,a);let T=S?`@scope (${w}) ${S} { :scope{${z}} }`:`${w}{${z}}`;if(u&&c){const j=`.${c}`,N=Array.isArray(d)?`${d.map(E=>`${yi(u)}: ${E}`).join(";")};`:`${yi(u)}: ${d};`,C=yb(N,a);T+=S?`@scope (${j}) ${S} { :scope{${C}} }`:`${j}{${C}}`}return v&&(T=`@media ${v} { ${T} }`),m&&(T=`@layer ${m} { ${T} }`),k&&(T=`@supports ${k} { ${T} }`),p&&(T=`@container ${p} { ${T} }`),g6(T)}function x6(e){let r="";for(const n in e){const a=e[n];if(typeof a=="string"||typeof a=="number"){r+=yi(n)+":"+a+";";continue}if(Array.isArray(a))for(const s of a)r+=yi(n)+":"+s+";"}return r}function Sb(e){let r="";for(const n in e)r+=`${n}{${x6(e[n])}}`;return r}function wb(e,r){const n=`@keyframes ${e} {${r}}`,a=[];return Pi(qx(n),Hx([Fx,Ix,Lx(s=>a.push(s))])),a}const kb={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Bb(e,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(e.length>0){const n=e[0].trim();if(n.charCodeAt(0)===58)return kb[n.slice(4,8)]||kb[n.slice(3,5)]||"d"}return"d"}const S6={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function _b(e,r){return e.length===0?r:`${e} and ${r}`}function Zl(e,r){return e&&r+e}function Vx(e){return Zl(e.container,"c")+Zl(e.media,"m")+Zl(e.layer,"l")+Zl(e.supports,"s")+Zl(e.scope,"o")}function qh(e,r,n){const a=e+Vx(n)+r,s=us(a),c=s.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+s.slice(1):s}function eu({property:e,selector:r,salt:n,value:a},s){return b0+us(n+r+Vx(s)+e+a.trim())}function w6(e){return e.substring(0,10)==="@container"}function k6(e){return e.substr(0,6)==="@layer"}function B6(e){return e.substr(0,6)==="@media"}const _6=/^(:|\[|>|&)/;function z6(e){return _6.test(e)}function T6(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function N6(e){return e===x0}function C6(e){return e.substring(0,6)==="@scope"}function E6(e){return e.substr(0,9)==="@supports"}function Fh(e){return e.replace(/>\s+/g,">")}function zb(e){return S6[e]}function Tb(e){var r;return(r=e==null?void 0:e[0])!==null&&r!==void 0?r:0}function Hh(e,r,n,a){e[r]=a?[n,a]:n}function Nb(e,r){return r.length>0?[e,Object.fromEntries(r)]:e}function Lh(e,r,n,a,s,c){var u;const d=[];c!==0&&d.push(["p",c]),r==="m"&&s&&d.push(["m",s]),(u=e[r])!==null&&u!==void 0||(e[r]=[]),n&&e[r].push(Nb(n,d)),a&&e[r].push(Nb(a,d))}function hr(e,r="",n=[],a={container:"",layer:"",media:"",supports:"",scope:""},s={},c={},u){for(const d in e){if(S4.hasOwnProperty(d)){e[d];continue}const g=e[d];if(g!=null){if(N6(g)){const p=Fh(n.join("")),m=qh(p,d,a);Hh(s,m,0,void 0);continue}if(typeof g=="string"||typeof g=="number"){const p=Fh(n.join("")),m=zb(d);if(m){const C=m[1],E=Object.fromEntries(C.map(M=>[M,x0]));hr(E,r,n,a,s,c)}const v=qh(p,d,a),S=eu({value:g.toString(),salt:r,selector:p,property:d},a),k=u&&{key:d,value:u}||S0(d,g),w=k.key!==d||k.value!==g,x=w?eu({value:k.value.toString(),property:k.key,salt:r,selector:p},a):void 0,z=w?{rtlClassName:x,rtlProperty:k.key,rtlValue:k.value}:void 0,T=Bb(n,a),[j,N]=xb({className:S,selectors:n,property:d,value:g,...z},a);Hh(s,v,S,x),Lh(c,T,j,N,a.media,Tb(m))}else if(d==="animationName"){const p=Array.isArray(g)?g:[g],m=[],v=[];for(const S of p){const k=Sb(S),w=Sb(Tx(S)),x=b0+us(k);let z;const T=wb(x,k);let j=[];k===w?z=x:(z=b0+us(w),j=wb(z,w));for(let N=0;N<T.length;N++)Lh(c,"k",T[N],j[N],a.media,0);m.push(x),v.push(z)}hr({animationName:m.join(", ")},r,n,a,s,c,v.join(", "))}else if(Array.isArray(g)){if(g.length===0)continue;const p=Fh(n.join("")),m=zb(d);if(m){const E=m[1],M=Object.fromEntries(E.map(W=>[W,x0]));hr(M,r,n,a,s,c)}const v=qh(p,d,a),S=eu({value:g.map(E=>(E??"").toString()).join(";"),salt:r,selector:p,property:d},a),k=g.map(E=>S0(d,E));if(!!k.some(E=>E.key!==k[0].key))continue;const x=k[0].key!==d||k.some((E,M)=>E.value!==g[M]),z=x?eu({value:k.map(E=>{var M;return((M=E==null?void 0:E.value)!==null&&M!==void 0?M:"").toString()}).join(";"),salt:r,property:k[0].key,selector:p},a):void 0,T=x?{rtlClassName:z,rtlProperty:k[0].key,rtlValue:k.map(E=>E.value)}:void 0,j=Bb(n,a),[N,C]=xb({className:S,selectors:n,property:d,value:g,...T},a);Hh(s,v,S,z),Lh(c,j,N,C,a.media,Tb(m))}else if(T6(g)){if(z6(d))hr(g,r,n.concat(Ux(d)),a,s,c);else if(B6(d)){const p=_b(a.media,d.slice(6).trim());hr(g,r,n,{...a,media:p},s,c)}else if(k6(d)){const p=(a.layer?`${a.layer}.`:"")+d.slice(6).trim();hr(g,r,n,{...a,layer:p},s,c)}else if(E6(d)){const p=_b(a.supports,d.slice(9).trim());hr(g,r,n,{...a,supports:p},s,c)}else if(w6(d)){const p=d.slice(10).trim();hr(g,r,n,{...a,container:p},s,c)}else if(C6(d)){if(a.scope)continue;const p=d.slice(6).trim();if(p===""||!p.startsWith("to "))continue;hr(g,r,n,{...a,scope:p},s,c)}}}}return[s,c]}function j6(e,r=""){const n={},a={};for(const s in e){const c=e[s],[u,d]=hr(c,r);n[s]=u,Object.keys(d).forEach(g=>{a[g]=(a[g]||[]).concat(d[g])})}return[n,a]}function R6(e,r=Z0){const n=r();let a=null,s=null,c=null,u=null;function d(g){const{dir:p,renderer:m}=g;a===null&&([a,s]=j6(e,m.classNameHashSalt));const v=p==="ltr";return v?c===null&&(c=Su(a,p)):u===null&&(u=Su(a,p)),n(m,s),v?c:u}return d}function Gx(e,r,n=Z0){const a=n();let s=null,c=null;function u(d){const{dir:g,renderer:p}=d,m=g==="ltr";return m?s===null&&(s=Su(e,g)):c===null&&(c=Su(e,g)),a(p,r),m?s:c}return u}function A6(e,r,n,a=Z0){const s=a();function c(u){const{dir:d,renderer:g}=u,p=d==="ltr"?e:r||e;return s(g,Array.isArray(n)?{r:n}:n),p}return c}function D6(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Cb=Jh.useInsertionEffect?Jh.useInsertionEffect:void 0,eg=()=>{const e={};return function(n,a){if(Cb&&D6()){Cb(()=>{n.insertCSSRules(a)},[n,a]);return}e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}},O6=y.createContext(R4());function ks(){return y.useContext(O6)}const Xx=y.createContext("ltr"),M6=({children:e,dir:r})=>B.jsx(Xx.Provider,{value:r,children:e});function tg(){return y.useContext(Xx)}function sr(e){const r=R6(e,eg);return function(){const a=tg(),s=ks();return r({dir:a,renderer:s})}}function Se(e,r){const n=Gx(e,r,eg);return function(){const s=tg(),c=ks();return n({dir:s,renderer:c})}}function Le(e,r,n){const a=A6(e,r,n,eg);return function(){const c=tg(),u=ks();return a({dir:c,renderer:u})}}const q6={"<":"\\3C ",">":"\\3E "};function F6(e){return e.replace(/[<>]/g,r=>q6[r])}function H6(e,r){if(r){const n=Object.keys(r).reduce((a,s)=>`${a}--${s}: ${r[s]}; `,"");return`${e} { ${F6(n)} }`}return`${e} {}`}const wu=Symbol.for("fui.slotRenderFunction"),Ii=Symbol.for("fui.slotElementType"),Wx=Symbol.for("fui.slotClassNameProp");function Ve(e,r){const{defaultProps:n,elementType:a}=r,s=L6(e),c={...n,...s,[Ii]:a,[Wx]:(s==null?void 0:s.className)||(n==null?void 0:n.className)};return s&&typeof s.children=="function"&&(c[wu]=s.children,c.children=n==null?void 0:n.children),c}function et(e,r){if(!(e===null||e===void 0&&!r.renderByDefault))return Ve(e,r)}function L6(e){return typeof e=="string"||typeof e=="number"||P6(e)||y.isValidElement(e)?{children:e}:e}const P6=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Qx(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!y.isValidElement(e)}function Eb(e){return!!(e!=null&&e.hasOwnProperty(Ii))}const ot=(...e)=>{const r={};for(const n of e){const a=Array.isArray(n)?n:Object.keys(n);for(const s of a)r[s]=1}return r},I6=ot(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),U6=ot(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),V6=ot(["itemID","itemProp","itemRef","itemScope","itemType"]),_t=ot(U6,I6,V6),G6=ot(_t,["form"]),Yx=ot(_t,["height","loop","muted","preload","src","width"]),X6=ot(Yx,["poster"]),W6=ot(_t,["start"]),Q6=ot(_t,["value"]),Y6=ot(_t,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),$6=ot(_t,["dateTime"]),Uu=ot(_t,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),K6=ot(Uu,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Z6=ot(Uu,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),J6=ot(Uu,["form","multiple","required"]),e_=ot(_t,["selected","value"]),t_=ot(_t,["cellPadding","cellSpacing"]),o_=_t,r_=ot(_t,["colSpan","rowSpan","scope"]),n_=ot(_t,["colSpan","headers","rowSpan","scope"]),a_=ot(_t,["span"]),i_=ot(_t,["span"]),l_=ot(_t,["disabled","form"]),s_=ot(_t,["acceptCharset","action","encType","encType","method","noValidate","target"]),c_=ot(_t,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),u_=ot(_t,["alt","crossOrigin","height","src","srcSet","useMap","width"]),f_=ot(_t,["open","onCancel","onClose"]);function d_(e,r,n){const a=Array.isArray(r),s={},c=Object.keys(e);for(const u of c)(!a&&r[u]||a&&r.indexOf(u)>=0||u.indexOf("data-")===0||u.indexOf("aria-")===0)&&(!n||(n==null?void 0:n.indexOf(u))===-1)&&(s[u]=e[u]);return s}const h_={label:G6,audio:Yx,video:X6,ol:W6,li:Q6,a:Y6,button:Uu,input:K6,textarea:Z6,select:J6,option:e_,table:t_,tr:o_,th:r_,td:n_,colGroup:a_,col:i_,fieldset:l_,form:s_,iframe:c_,img:u_,time:$6,dialog:f_};function $x(e,r,n){const a=e&&h_[e]||_t;return a.as=1,d_(r,a,n)}const Bs=({primarySlotTagName:e,props:r,excludedPropNames:n})=>({root:{style:r.style,className:r.className},primary:$x(e,r,[...n||[],"style","className"])}),Vt=(e,r,n)=>{var a;return $x((a=r.as)!==null&&a!==void 0?a:e,r,n)};function g_(e,r){const n=y.useRef(void 0),a=y.useCallback((c,u)=>(n.current!==void 0&&r(n.current),n.current=e(c,u),n.current),[r,e]),s=y.useCallback(()=>{n.current!==void 0&&(r(n.current),n.current=void 0)},[r]);return y.useEffect(()=>s,[s]),[a,s]}const Kx=y.createContext(void 0),p_=Kx.Provider,Zx=y.createContext(void 0),m_="",v_=Zx.Provider;function b_(){var e;return(e=y.useContext(Zx))!==null&&e!==void 0?e:m_}const Jx=y.createContext(void 0),y_={},x_=Jx.Provider;function S_(){var e;return(e=y.useContext(Jx))!==null&&e!==void 0?e:y_}const e2=y.createContext(void 0),w_={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},k_=e2.Provider;function dt(){var e;return(e=y.useContext(e2))!==null&&e!==void 0?e:w_}const t2=y.createContext(void 0),B_=t2.Provider;function og(){var e;return(e=y.useContext(t2))!==null&&e!==void 0?e:{}}const rg=y.createContext(void 0),__=()=>{},z_=rg.Provider,ht=e=>{var r,n;return(n=(r=y.useContext(rg))===null||r===void 0?void 0:r[e])!==null&&n!==void 0?n:__},o2=y.createContext(void 0);o2.Provider;function T_(){return y.useContext(o2)}const r2=y.createContext(void 0);r2.Provider;function N_(){var e;return(e=y.useContext(r2))!==null&&e!==void 0?e:{announce:()=>{}}}function C_(e){return typeof e=="function"}const Qr=e=>{"use no memo";const[r,n]=y.useState(()=>e.defaultState===void 0?e.initialState:E_(e.defaultState)?e.defaultState():e.defaultState),a=y.useRef(e.state);y.useEffect(()=>{a.current=e.state},[e.state]);const s=y.useCallback(c=>{C_(c)&&c(a.current)},[]);return j_(e.state)?[e.state,s]:[r,n]};function E_(e){return typeof e=="function"}const j_=e=>{"use no memo";const[r]=y.useState(()=>e!==void 0);return r};function Vu(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const n2={current:0},R_=y.createContext(void 0);function a2(){var e;return(e=y.useContext(R_))!==null&&e!==void 0?e:n2}function A_(){const e=a2()!==n2,[r,n]=y.useState(e);return Vu()&&e&&y.useLayoutEffect(()=>{n(!1)},[]),r}const At=Vu()?y.useLayoutEffect:y.useEffect,_e=e=>{const r=y.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return At(()=>{r.current=e},[e]),y.useCallback((...n)=>{const a=r.current;return a(...n)},[r])};function i2(){const e=y.useRef(!0);return y.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function D_(){return y.useReducer(e=>e+1,0)[1]}const l2=y.createContext(void 0);l2.Provider;function O_(){return y.useContext(l2)||""}function Xo(e="fui-",r){"use no memo";const n=a2(),a=O_(),s=mu.useId;if(s){const c=s(),u=y.useMemo(()=>c.replace(/:/g,""),[c]);return r||`${a}${e}${u}`}return y.useMemo(()=>r||`${a}${e}${++n.current}`,[a,e,r,n])}function Ct(...e){"use no memo";const r=y.useCallback(n=>{r.current=n;for(const a of e)typeof a=="function"?a(n):a&&(a.current=n)},[...e]);return r}const s2=(e,r)=>!!(e!=null&&e.contains(r)),c2=e=>{const{targetDocument:r}=dt(),n=r==null?void 0:r.defaultView,{refs:a,callback:s,element:c,disabled:u,disabledFocusOnIframe:d,contains:g=s2}=e,p=y.useRef(void 0);q_({element:c,disabled:d||u,callback:s,refs:a,contains:g});const m=y.useRef(!1),v=_e(k=>{if(m.current){m.current=!1;return}const w=k.composedPath()[0];a.every(z=>!g(z.current||null,w))&&!u&&s(k)}),S=_e(k=>{m.current=a.some(w=>g(w.current||null,k.target))});y.useEffect(()=>{if(u)return;let k=M_(n);const w=x=>{if(x===k){k=void 0;return}v(x)};return c==null||c.addEventListener("click",w,!0),c==null||c.addEventListener("touchstart",w,!0),c==null||c.addEventListener("contextmenu",w,!0),c==null||c.addEventListener("mousedown",S,!0),p.current=n==null?void 0:n.setTimeout(()=>{k=void 0},1),()=>{c==null||c.removeEventListener("click",w,!0),c==null||c.removeEventListener("touchstart",w,!0),c==null||c.removeEventListener("contextmenu",w,!0),c==null||c.removeEventListener("mousedown",S,!0),n==null||n.clearTimeout(p.current),k=void 0}},[v,c,u,S,n])},M_=e=>{if(e){var r,n;if(typeof e.window=="object"&&e.window===e)return e.event;var a;return(a=(n=e.ownerDocument)===null||n===void 0||(r=n.defaultView)===null||r===void 0?void 0:r.event)!==null&&a!==void 0?a:void 0}},Ph="fuiframefocus",q_=e=>{const{disabled:r,element:n,callback:a,contains:s=s2,pollDuration:c=100,refs:u}=e,d=y.useRef(void 0),g=_e(p=>{u.every(v=>!s(v.current||null,p.target))&&!r&&a(p)});y.useEffect(()=>{if(!r)return n==null||n.addEventListener(Ph,g,!0),()=>{n==null||n.removeEventListener(Ph,g,!0)}},[n,r,g]),y.useEffect(()=>{var p;if(!r)return d.current=n==null||(p=n.defaultView)===null||p===void 0?void 0:p.setInterval(()=>{const m=n==null?void 0:n.activeElement;if((m==null?void 0:m.tagName)==="IFRAME"||(m==null?void 0:m.tagName)==="WEBVIEW"){const v=new CustomEvent(Ph,{bubbles:!0});m.dispatchEvent(v)}},c),()=>{var m;n==null||(m=n.defaultView)===null||m===void 0||m.clearInterval(d.current)}},[n,r,c])},F_=e=>{const{refs:r,callback:n,element:a,disabled:s,contains:c}=e,u=_e(d=>{const g=c||((v,S)=>!!(v!=null&&v.contains(S))),p=d.composedPath()[0];r.every(v=>!g(v.current||null,p))&&!s&&n(d)});y.useEffect(()=>{if(!s)return a==null||a.addEventListener("wheel",u),a==null||a.addEventListener("touchmove",u),()=>{a==null||a.removeEventListener("wheel",u),a==null||a.removeEventListener("touchmove",u)}},[u,a,s])},H_=e=>-1,L_=e=>{};function ng(){const{targetDocument:e}=dt(),r=e==null?void 0:e.defaultView,n=r?r.setTimeout:H_,a=r?r.clearTimeout:L_;return g_(n,a)}const P_=parseInt(y.version,10)>=19;function Gu(e){if(e)return P_?e.props.ref:e.ref}function We(e,r){return(...n)=>{e==null||e(...n),r==null||r(...n)}}function Vn(e,r){var n;const a=e;var s;return!!(!(a==null||(n=a.ownerDocument)===null||n===void 0)&&n.defaultView&&a instanceof a.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function u2(e){return!!e.type.isFluentTriggerComponent}function ag(e,r){return typeof e=="function"?e(r):e?f2(e,r):e||null}function f2(e,r){if(!y.isValidElement(e)||e.type===y.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(u2(e)){const n=f2(e.props.children,r);return y.cloneElement(e,void 0,n)}else return y.cloneElement(e,r)}function Xu(e){return y.isValidElement(e)?u2(e)?Xu(e.props.children):e:null}function I_(e){return e&&!!e._virtual}function U_(e){return I_(e)&&e._virtual.parent||null}function d2(e,r={}){if(!e)return null;if(!r.skipVirtual){const a=U_(e);if(a)return a}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function jb(e,r){if(!e||!r)return!1;if(e===r)return!0;{const n=new WeakSet;for(;r;){const a=d2(r,{skipVirtual:n.has(r)});if(n.add(r),a===e)return!0;r=a}}return!1}function Rb(e,r){e&&Object.assign(e,{_virtual:{parent:r}})}function V_(e,r){return{...r,[Ii]:e}}function h2(e,r){return function(a,s,c,u,d){return Eb(s)?r(V_(a,s),null,c,u,d):Eb(a)?r(a,s,c,u,d):e(a,s,c,u,d)}}function g2(e){const{as:r,[Wx]:n,[Ii]:a,[wu]:s,...c}=e,u=c,d=typeof a=="string"?r??a:a;return typeof d!="string"&&r&&(u.as=r),{elementType:d,props:u,renderFunction:s}}const za=X3,G_=(e,r,n)=>{const{elementType:a,renderFunction:s,props:c}=g2(e),u={...c,...r};return s?za.jsx(y.Fragment,{children:s(a,u)},n):za.jsx(a,u,n)},X_=(e,r,n)=>{const{elementType:a,renderFunction:s,props:c}=g2(e),u={...c,...r};return s?za.jsx(y.Fragment,{children:s(a,{...u,children:za.jsxs(y.Fragment,{children:u.children},void 0)})},n):za.jsxs(a,u,n)},se=h2(za.jsx,G_),Bt=h2(za.jsxs,X_),p2=y.createContext(void 0),W_={},Q_=p2.Provider,Y_=()=>{const e=y.useContext(p2);return e??W_},$_=(e,r)=>se(k_,{value:r.provider,children:se(p_,{value:r.theme,children:se(v_,{value:r.themeClassName,children:se(z_,{value:r.customStyleHooks_unstable,children:se(x_,{value:r.tooltip,children:se(M6,{dir:r.textDirection,children:se(Q_,{value:r.iconDirection,children:se(B_,{value:r.overrides_unstable,children:Bt(e.root,{children:[Vu()?null:se("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 Pn="data-tabster",K_="data-tabster-dummy",p2=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,wi={EscapeGroupper:1,Restorer:2,Deloser:3},Ui={Source:0,Target:1},Z_={Outside:2};/*!
63
+ */const Pn="data-tabster",K_="data-tabster-dummy",m2=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,wi={EscapeGroupper:1,Restorer:2,Deloser:3},Ui={Source:0,Target:1},Z_={Outside:2};/*!
64
64
  * Copyright (c) Microsoft Corporation. All rights reserved.
65
65
  * Licensed under the MIT License.
66
- */function Vo(e,r){var n;return(n=e.storageEntry(r))==null?void 0:n.tabster}function m2(e,r,n){var p,m;const a=n||e._noop?void 0:r.getAttribute(Pn);let s=e.storageEntry(r),c;if(a)if(a!==((p=s==null?void 0:s.attr)==null?void 0:p.string))try{const v=JSON.parse(a);if(typeof v!="object")throw new Error(`Value is not a JSON object, got '${a}'.`);c={string:a,object:v}}catch{}else return;else if(!s)return;s||(s=e.storageEntry(r,!0)),s.tabster||(s.tabster={});const u=s.tabster||{},d=((m=s.attr)==null?void 0:m.object)||{},g=(c==null?void 0:c.object)||{};for(const v of Object.keys(d))if(!g[v]){if(v==="root"){const S=u[v];S&&e.root.onRoot(S,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const S=u[v];S&&(S.dispose(),delete u[v]);break;case"observed":delete u[v],e.observedElement&&e.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[v];break}}for(const v of Object.keys(g)){const S=g.sys;switch(v){case"root":u.root?u.root.setProps(g.root):u.root=e.root.createRoot(r,g.root,S),e.root.onRoot(u.root);break;case"focusable":u.focusable=g.focusable;break;case"observed":e.observedElement&&(u.observed=g.observed,e.observedElement.onObservedElementUpdate(r));break;case"uncontrolled":u.uncontrolled=g.uncontrolled;break;case"outline":e.outline&&(u.outline=g.outline);break;case"sys":u.sys=g.sys;break;default:{const k=e.attrHandlers.get(v);k&&(u[v]=k(r,u[v],g[v],d==null?void 0:d[v],S))}}}c?s.attr=c:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(r,!1))}/*!
66
+ */function Vo(e,r){var n;return(n=e.storageEntry(r))==null?void 0:n.tabster}function v2(e,r,n){var p,m;const a=n||e._noop?void 0:r.getAttribute(Pn);let s=e.storageEntry(r),c;if(a)if(a!==((p=s==null?void 0:s.attr)==null?void 0:p.string))try{const v=JSON.parse(a);if(typeof v!="object")throw new Error(`Value is not a JSON object, got '${a}'.`);c={string:a,object:v}}catch{}else return;else if(!s)return;s||(s=e.storageEntry(r,!0)),s.tabster||(s.tabster={});const u=s.tabster||{},d=((m=s.attr)==null?void 0:m.object)||{},g=(c==null?void 0:c.object)||{};for(const v of Object.keys(d))if(!g[v]){if(v==="root"){const S=u[v];S&&e.root.onRoot(S,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const S=u[v];S&&(S.dispose(),delete u[v]);break;case"observed":delete u[v],e.observedElement&&e.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[v];break}}for(const v of Object.keys(g)){const S=g.sys;switch(v){case"root":u.root?u.root.setProps(g.root):u.root=e.root.createRoot(r,g.root,S),e.root.onRoot(u.root);break;case"focusable":u.focusable=g.focusable;break;case"observed":e.observedElement&&(u.observed=g.observed,e.observedElement.onObservedElementUpdate(r));break;case"uncontrolled":u.uncontrolled=g.uncontrolled;break;case"outline":e.outline&&(u.outline=g.outline);break;case"sys":u.sys=g.sys;break;default:{const k=e.attrHandlers.get(v);k&&(u[v]=k(r,u[v],g[v],d==null?void 0:d[v],S))}}}c?s.attr=c:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(r,!1))}/*!
67
67
  * Copyright (c) Microsoft Corporation. All rights reserved.
68
68
  * Licensed under the MIT License.
69
69
  */const vr=(e,r,n)=>{e.addEventListener(r,n,!0)},Po=(e,r,n)=>{e.removeEventListener(r,n,!0)};/*!
70
70
  * Copyright (c) Microsoft Corporation. All rights reserved.
71
71
  * Licensed under the MIT License.
72
- */const _o="keyborg:focusin",cs="keyborg:focusout",Rb=0,Ab=1,Db=2,tu=3;function J_(e){const r=e.HTMLElement,n=r.prototype.focus;let a=!1;return r.prototype.focus=function(){a=!0},e.document.createElement("button").focus(),r.prototype.focus=n,a}let Ih=!1;function Na(e){const r=e.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(e):e.focus()}function ez(e){const r=e,n=r.document,a=r.HTMLElement.prototype;Ih||(Ih=J_(r));const s=a.focus;if(s.__keyborgNativeFocus)return;a.focus=m;const c=new Set,u=S=>{const k=S.target;if(!k)return;const w=new CustomEvent(cs,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:S}});k.dispatchEvent(w)},d=S=>{const k=S.target;if(!k)return;let w=S.composedPath()[0];const x=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(x.add(w),w=w.host):w=w.parentNode;for(const z of c){const T=z.deref();(!T||!x.has(T))&&(c.delete(z),T&&(Po(T,"focusin",d),Po(T,"focusout",u)))}g(k,S.relatedTarget||void 0)},g=(S,k,w)=>{var j;const x=S.shadowRoot;if(x){for(const N of c)if(N.deref()===x)return;vr(x,"focusin",d),vr(x,"focusout",u),c.add(new WeakRef(x));return}const z={relatedTarget:k,originalEvent:w},T=new CustomEvent(_o,{cancelable:!0,bubbles:!0,composed:!0,detail:z});T.details=z,(Ih||p[tu])&&(z.isFocusedProgrammatically=S===((j=p[tu])==null?void 0:j.deref()),p[tu]=void 0),S.dispatchEvent(T)},p=[d,u,c];r.__keyborgData=p,vr(n,"focusin",d),vr(n,"focusout",u);function m(){const S=r.__keyborgData;return S&&(S[tu]=new WeakRef(this)),s.apply(this,arguments)}let v=n.activeElement;for(;v&&v.shadowRoot;)g(v),v=v.shadowRoot.activeElement;m.__keyborgNativeFocus=s}function tz(e){const r=e,n=r.HTMLElement.prototype,a=n.focus.__keyborgNativeFocus,s=r.__keyborgData;if(s){const c=r.document;Po(c,"focusin",s[Rb]),Po(c,"focusout",s[Ab]);for(const u of s[Db]){const d=u.deref();d&&(Po(d,"focusin",s[Rb]),Po(d,"focusout",s[Ab]))}s[Db].clear(),delete r.__keyborgData}a&&(n.focus=a)}let oz=0;function rz(e,r){let n=e,a=!1,s;const c=()=>{var x;const w=(x=n==null?void 0:n.__keyborg)==null?void 0:x.refs;if(w)for(const z of Object.keys(w))w[z]._cb.forEach(T=>T(a))},u=w=>{a!==w&&(a=w,c())},d=w=>{if(w.key==="Tab")return!0;const x=n==null?void 0:n.document.activeElement,z=!0,T=x&&(x.tagName==="INPUT"||x.tagName==="TEXTAREA"||x.isContentEditable);return z&&!T},g=w=>{if(s||a)return;const x=w.detail;x.relatedTarget&&(x.isFocusedProgrammatically||x.isFocusedProgrammatically===void 0||u(!0))},p=()=>{n&&(s&&n.clearTimeout(s),s=n.setTimeout(()=>{s=void 0},1e3)),u(!1)},m=w=>{w.buttons===0||w.clientX===0&&w.clientY===0&&w.screenX===0&&w.screenY===0||p()},v=w=>{a||d(w)&&u(!0)},S=e.document;return vr(S,_o,g),vr(S,"mousedown",m),vr(e,"keydown",v),vr(S,"touchstart",p),vr(S,"touchend",p),vr(S,"touchcancel",p),ez(e),{dispose:()=>{if(!n)return;s&&(n.clearTimeout(s),s=void 0),tz(n);const w=n.document;Po(w,_o,g),Po(w,"mousedown",m),Po(n,"keydown",v),Po(w,"touchstart",p),Po(w,"touchend",p),Po(w,"touchcancel",p),n=void 0},get isNavigatingWithKeyboard(){return a},set isNavigatingWithKeyboard(w){u(w)}}}function Wu(e,r){const n=e,a="k"+ ++oz;let s=n,c;const u=[],d=n.__keyborg;d?c=d.core:c=rz(n);const g={isNavigatingWithKeyboard(){return!!(c!=null&&c.isNavigatingWithKeyboard)},subscribe(p){u.push(p)},unsubscribe(p){const m=u.indexOf(p);m>=0&&u.splice(m,1)},setVal(p){c&&(c.isNavigatingWithKeyboard=p)},_cb:u,dispose(){const p=s==null?void 0:s.__keyborg;p!=null&&p.refs[a]&&(delete p.refs[a],Object.keys(p.refs).length===0&&(p.core.dispose(),delete s.__keyborg)),u.length=0,c=void 0,s=void 0}};return d?d.refs[a]=g:n.__keyborg={core:c,refs:{[a]:g}},g}function Qu(e){e.dispose()}/*!
72
+ */const _o="keyborg:focusin",fs="keyborg:focusout",Ab=0,Db=1,Ob=2,tu=3;function J_(e){const r=e.HTMLElement,n=r.prototype.focus;let a=!1;return r.prototype.focus=function(){a=!0},e.document.createElement("button").focus(),r.prototype.focus=n,a}let Ih=!1;function Na(e){const r=e.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(e):e.focus()}function ez(e){const r=e,n=r.document,a=r.HTMLElement.prototype;Ih||(Ih=J_(r));const s=a.focus;if(s.__keyborgNativeFocus)return;a.focus=m;const c=new Set,u=S=>{const k=S.target;if(!k)return;const w=new CustomEvent(fs,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:S}});k.dispatchEvent(w)},d=S=>{const k=S.target;if(!k)return;let w=S.composedPath()[0];const x=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(x.add(w),w=w.host):w=w.parentNode;for(const z of c){const T=z.deref();(!T||!x.has(T))&&(c.delete(z),T&&(Po(T,"focusin",d),Po(T,"focusout",u)))}g(k,S.relatedTarget||void 0)},g=(S,k,w)=>{var j;const x=S.shadowRoot;if(x){for(const N of c)if(N.deref()===x)return;vr(x,"focusin",d),vr(x,"focusout",u),c.add(new WeakRef(x));return}const z={relatedTarget:k,originalEvent:w},T=new CustomEvent(_o,{cancelable:!0,bubbles:!0,composed:!0,detail:z});T.details=z,(Ih||p[tu])&&(z.isFocusedProgrammatically=S===((j=p[tu])==null?void 0:j.deref()),p[tu]=void 0),S.dispatchEvent(T)},p=[d,u,c];r.__keyborgData=p,vr(n,"focusin",d),vr(n,"focusout",u);function m(){const S=r.__keyborgData;return S&&(S[tu]=new WeakRef(this)),s.apply(this,arguments)}let v=n.activeElement;for(;v&&v.shadowRoot;)g(v),v=v.shadowRoot.activeElement;m.__keyborgNativeFocus=s}function tz(e){const r=e,n=r.HTMLElement.prototype,a=n.focus.__keyborgNativeFocus,s=r.__keyborgData;if(s){const c=r.document;Po(c,"focusin",s[Ab]),Po(c,"focusout",s[Db]);for(const u of s[Ob]){const d=u.deref();d&&(Po(d,"focusin",s[Ab]),Po(d,"focusout",s[Db]))}s[Ob].clear(),delete r.__keyborgData}a&&(n.focus=a)}let oz=0;function rz(e,r){let n=e,a=!1,s;const c=()=>{var x;const w=(x=n==null?void 0:n.__keyborg)==null?void 0:x.refs;if(w)for(const z of Object.keys(w))w[z]._cb.forEach(T=>T(a))},u=w=>{a!==w&&(a=w,c())},d=w=>{if(w.key==="Tab")return!0;const x=n==null?void 0:n.document.activeElement,z=!0,T=x&&(x.tagName==="INPUT"||x.tagName==="TEXTAREA"||x.isContentEditable);return z&&!T},g=w=>{if(s||a)return;const x=w.detail;x.relatedTarget&&(x.isFocusedProgrammatically||x.isFocusedProgrammatically===void 0||u(!0))},p=()=>{n&&(s&&n.clearTimeout(s),s=n.setTimeout(()=>{s=void 0},1e3)),u(!1)},m=w=>{w.buttons===0||w.clientX===0&&w.clientY===0&&w.screenX===0&&w.screenY===0||p()},v=w=>{a||d(w)&&u(!0)},S=e.document;return vr(S,_o,g),vr(S,"mousedown",m),vr(e,"keydown",v),vr(S,"touchstart",p),vr(S,"touchend",p),vr(S,"touchcancel",p),ez(e),{dispose:()=>{if(!n)return;s&&(n.clearTimeout(s),s=void 0),tz(n);const w=n.document;Po(w,_o,g),Po(w,"mousedown",m),Po(n,"keydown",v),Po(w,"touchstart",p),Po(w,"touchend",p),Po(w,"touchcancel",p),n=void 0},get isNavigatingWithKeyboard(){return a},set isNavigatingWithKeyboard(w){u(w)}}}function Wu(e,r){const n=e,a="k"+ ++oz;let s=n,c;const u=[],d=n.__keyborg;d?c=d.core:c=rz(n);const g={isNavigatingWithKeyboard(){return!!(c!=null&&c.isNavigatingWithKeyboard)},subscribe(p){u.push(p)},unsubscribe(p){const m=u.indexOf(p);m>=0&&u.splice(m,1)},setVal(p){c&&(c.isNavigatingWithKeyboard=p)},_cb:u,dispose(){const p=s==null?void 0:s.__keyborg;p!=null&&p.refs[a]&&(delete p.refs[a],Object.keys(p.refs).length===0&&(p.core.dispose(),delete s.__keyborg)),u.length=0,c=void 0,s=void 0}};return d?d.refs[a]=g:n.__keyborg={core:c,refs:{[a]:g}},g}function Qu(e){e.dispose()}/*!
73
73
  * Copyright (c) Microsoft Corporation. All rights reserved.
74
74
  * Licensed under the MIT License.
75
- */const nz="tabster:focusin",az="tabster:focusout",iz="tabster:movefocus",lz="tabster:modalizer:active",sz="tabster:modalizer:inactive",k0="tabster:restorer:restore-focus",cz="tabster:root:focus",uz="tabster:root:blur",fz=typeof CustomEvent<"u"?CustomEvent:function(){};class Xn extends fz{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a});H(this,"details");this.details=a}}class dz extends Xn{constructor(r){super(nz,r)}}class hz extends Xn{constructor(r){super(az,r)}}class rs extends Xn{constructor(r){super(iz,r)}}class gz extends Xn{constructor(r){super(lz,r)}}class pz extends Xn{constructor(r){super(sz,r)}}class Ob extends Xn{constructor(){super(k0)}}class mz extends Xn{constructor(r){super(cz,r)}}class vz extends Xn{constructor(r){super(uz,r)}}/*!
75
+ */const nz="tabster:focusin",az="tabster:focusout",iz="tabster:movefocus",lz="tabster:modalizer:active",sz="tabster:modalizer:inactive",k0="tabster:restorer:restore-focus",cz="tabster:root:focus",uz="tabster:root:blur",fz=typeof CustomEvent<"u"?CustomEvent:function(){};class Xn extends fz{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a});H(this,"details");this.details=a}}class dz extends Xn{constructor(r){super(nz,r)}}class hz extends Xn{constructor(r){super(az,r)}}class as extends Xn{constructor(r){super(iz,r)}}class gz extends Xn{constructor(r){super(lz,r)}}class pz extends Xn{constructor(r){super(sz,r)}}class Mb extends Xn{constructor(){super(k0)}}class mz extends Xn{constructor(r){super(cz,r)}}class vz extends Xn{constructor(r){super(uz,r)}}/*!
76
76
  * Copyright (c) Microsoft Corporation. All rights reserved.
77
77
  * Licensed under the MIT License.
78
78
  */const bz=e=>new MutationObserver(e),yz=(e,r,n,a)=>e.createTreeWalker(r,n,a),xz=e=>e?e.parentNode:null,Sz=e=>e?e.parentElement:null,wz=(e,r)=>!!(r&&(e!=null&&e.contains(r))),kz=e=>e.activeElement,Bz=(e,r)=>e.querySelector(r),_z=(e,r)=>Array.prototype.slice.call(e.querySelectorAll(r),0),zz=(e,r)=>e.getElementById(r),Tz=e=>(e==null?void 0:e.firstChild)||null,Nz=e=>(e==null?void 0:e.lastChild)||null,Cz=e=>(e==null?void 0:e.nextSibling)||null,Ez=e=>(e==null?void 0:e.previousSibling)||null,jz=e=>(e==null?void 0:e.firstElementChild)||null,Rz=e=>(e==null?void 0:e.lastElementChild)||null,Az=e=>(e==null?void 0:e.nextElementSibling)||null,Dz=e=>(e==null?void 0:e.previousElementSibling)||null,Oz=(e,r)=>e.appendChild(r),Mz=(e,r,n)=>e.insertBefore(r,n),qz=e=>{var r;return((r=e.ownerDocument)==null?void 0:r.getSelection())||null},Fz=(e,r)=>e.ownerDocument.getElementsByName(r),de={createMutationObserver:bz,createTreeWalker:yz,getParentNode:xz,getParentElement:Sz,nodeContains:wz,getActiveElement:kz,querySelector:Bz,querySelectorAll:_z,getElementById:zz,getFirstChild:Tz,getLastChild:Nz,getNextSibling:Cz,getPreviousSibling:Ez,getFirstElementChild:jz,getLastElementChild:Rz,getNextElementSibling:Az,getPreviousElementSibling:Dz,appendChild:Oz,insertBefore:Mz,getSelection:qz,getElementsByName:Fz};function Hz(e){for(const r of Object.keys(e))de[r]=e[r]}/*!
79
79
  * Copyright (c) Microsoft Corporation. All rights reserved.
80
80
  * Licensed under the MIT License.
81
- */let Lz=0;function ag(e){const r=e();let n=r.__tabsterInstanceContext;return n||(n={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},r.__tabsterInstanceContext=n),n}function Pz(e){const r=e.__tabsterInstanceContext;r&&(r.elementByUId={},r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function Iz(e){return!!e.querySelector(p2)}class rr{constructor(r,n){H(this,"_ref");H(this,"_data");this._ref=new WeakRef(r),this._data=n}get(){const r=this._ref;let n;return r&&(n=r.deref(),n||delete this._ref),n}getData(){return this._data}}function v2(e,r,n){if(r.nodeType===Node.ELEMENT_NODE)return de.createTreeWalker(e,r,NodeFilter.SHOW_ELEMENT,{acceptNode:n})}function Uz(e){e.__shouldIgnoreFocus=!0}function b2(e){return!!e.__shouldIgnoreFocus}function Vz(e){const r=new Uint32Array(4);e.crypto.getRandomValues(r);const n=[];for(let a=0;a<r.length;a++)n.push(r[a].toString(36));return n.push("|"),n.push((++Lz).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Gz(e,r){const n=ag(e);let a=r.__tabsterElementUID;return a||(a=r.__tabsterElementUID=Vz(e())),!n.elementByUId[a]&&y2(r.ownerDocument,r)&&(n.elementByUId[a]=new rr(r)),a}function Mb(e,r){const n=ag(e);for(const a of Object.keys(n.elementByUId)){const s=n.elementByUId[a],c=s&&s.get();c&&r&&!de.nodeContains(r,c)||delete n.elementByUId[a]}}function y2(e,r){return de.nodeContains(e==null?void 0:e.body,r)}function Xz(e,r){return typeof e.matches=="function"&&e.matches(r)}let Wz=0;class ig{constructor(r,n,a){H(this,"_tabster");H(this,"_element");H(this,"_props");H(this,"id");this._tabster=r,this._element=new rr(n),this._props={...a},this.id="i"+ ++Wz}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}function x2(e){let r=null;for(let n=de.getLastElementChild(e);n;n=de.getLastElementChild(n))r=n;return r||void 0}function Uh(e,r,n,a){const s=e.storageEntry(r,!0);let c=!1;if(!s.aug){if(a===void 0)return c;s.aug={}}if(a===void 0){if(n in s.aug){const u=s.aug[n];delete s.aug[n],u===null?r.removeAttribute(n):r.setAttribute(n,u),c=!0}}else{let u;n in s.aug||(u=r.getAttribute(n)),u!==void 0&&u!==a&&(s.aug[n]=u,a===null?r.removeAttribute(n):r.setAttribute(n,a),c=!0)}return a===void 0&&Object.keys(s.aug).length===0&&(delete s.aug,e.storageEntry(r,!1)),c}function Qz(e){var a,s;const r=e.ownerDocument,n=(a=r.defaultView)==null?void 0:a.getComputedStyle(e);return e.offsetParent===null&&r.body!==e&&(n==null?void 0:n.position)!=="fixed"||(n==null?void 0:n.visibility)==="hidden"||(n==null?void 0:n.position)==="fixed"&&(n.display==="none"||((s=e.parentElement)==null?void 0:s.offsetParent)===null&&r.body!==e.parentElement)}function B0(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Yz(e){if(!B0(e))return;const r=e.name;let n=Array.from(de.getElementsByName(e,r)),a;return n=n.filter(s=>B0(s)?(s.checked&&(a=s),!0):!1),{name:r,buttons:new Set(n),checked:a}}/*!
81
+ */let Lz=0;function ig(e){const r=e();let n=r.__tabsterInstanceContext;return n||(n={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},r.__tabsterInstanceContext=n),n}function Pz(e){const r=e.__tabsterInstanceContext;r&&(r.elementByUId={},r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function Iz(e){return!!e.querySelector(m2)}class rr{constructor(r,n){H(this,"_ref");H(this,"_data");this._ref=new WeakRef(r),this._data=n}get(){const r=this._ref;let n;return r&&(n=r.deref(),n||delete this._ref),n}getData(){return this._data}}function b2(e,r,n){if(r.nodeType===Node.ELEMENT_NODE)return de.createTreeWalker(e,r,NodeFilter.SHOW_ELEMENT,{acceptNode:n})}function Uz(e){e.__shouldIgnoreFocus=!0}function y2(e){return!!e.__shouldIgnoreFocus}function Vz(e){const r=new Uint32Array(4);e.crypto.getRandomValues(r);const n=[];for(let a=0;a<r.length;a++)n.push(r[a].toString(36));return n.push("|"),n.push((++Lz).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Gz(e,r){const n=ig(e);let a=r.__tabsterElementUID;return a||(a=r.__tabsterElementUID=Vz(e())),!n.elementByUId[a]&&x2(r.ownerDocument,r)&&(n.elementByUId[a]=new rr(r)),a}function qb(e,r){const n=ig(e);for(const a of Object.keys(n.elementByUId)){const s=n.elementByUId[a],c=s&&s.get();c&&r&&!de.nodeContains(r,c)||delete n.elementByUId[a]}}function x2(e,r){return de.nodeContains(e==null?void 0:e.body,r)}function Xz(e,r){return typeof e.matches=="function"&&e.matches(r)}let Wz=0;class lg{constructor(r,n,a){H(this,"_tabster");H(this,"_element");H(this,"_props");H(this,"id");this._tabster=r,this._element=new rr(n),this._props={...a},this.id="i"+ ++Wz}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}function S2(e){let r=null;for(let n=de.getLastElementChild(e);n;n=de.getLastElementChild(n))r=n;return r||void 0}function Uh(e,r,n,a){const s=e.storageEntry(r,!0);let c=!1;if(!s.aug){if(a===void 0)return c;s.aug={}}if(a===void 0){if(n in s.aug){const u=s.aug[n];delete s.aug[n],u===null?r.removeAttribute(n):r.setAttribute(n,u),c=!0}}else{let u;n in s.aug||(u=r.getAttribute(n)),u!==void 0&&u!==a&&(s.aug[n]=u,a===null?r.removeAttribute(n):r.setAttribute(n,a),c=!0)}return a===void 0&&Object.keys(s.aug).length===0&&(delete s.aug,e.storageEntry(r,!1)),c}function Qz(e){var a,s;const r=e.ownerDocument,n=(a=r.defaultView)==null?void 0:a.getComputedStyle(e);return e.offsetParent===null&&r.body!==e&&(n==null?void 0:n.position)!=="fixed"||(n==null?void 0:n.visibility)==="hidden"||(n==null?void 0:n.position)==="fixed"&&(n.display==="none"||((s=e.parentElement)==null?void 0:s.offsetParent)===null&&r.body!==e.parentElement)}function B0(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Yz(e){if(!B0(e))return;const r=e.name;let n=Array.from(de.getElementsByName(e,r)),a;return n=n.filter(s=>B0(s)?(s.checked&&(a=s),!0):!1),{name:r,buttons:new Set(n),checked:a}}/*!
82
82
  * Copyright (c) Microsoft Corporation. All rights reserved.
83
83
  * Licensed under the MIT License.
84
- */const Vh=100;class ku{constructor(r,n,a,s,c){H(this,"_isPhantom");H(this,"_fixedTarget");H(this,"_disposeTimer");H(this,"_clearDisposeTimeout");H(this,"input");H(this,"useDefaultAction");H(this,"isFirst");H(this,"isOutside");H(this,"onFocusIn");H(this,"onFocusOut");H(this,"_focusIn",r=>{if(this._fixedTarget){const a=this._fixedTarget.get();a&&Na(a);return}const n=this.input;if(this.onFocusIn&&n){const a=r.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,a),a)}});H(this,"_focusOut",r=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const n=this.input;if(this.onFocusOut&&n){const a=r.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,a),a)}});const u=r(),d=u.document.createElement("i");d.tabIndex=0,d.setAttribute("role","none"),d.setAttribute(K_,""),d.setAttribute("aria-hidden","true");const g=d.style;g.position="fixed",g.width=g.height="1px",g.opacity="0.001",g.zIndex="-1",g.setProperty("content-visibility","hidden"),Uz(d),this.input=d,this.isFirst=a.isFirst,this.isOutside=n,this._isPhantom=a.isPhantom??!1,this._fixedTarget=c,d.addEventListener("focusin",this._focusIn),d.addEventListener("focusout",this._focusOut),d.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=u.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(u.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var n;this._clearDisposeTimeout&&this._clearDisposeTimeout();const r=this.input;r&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,r.removeEventListener("focusin",this._focusIn),r.removeEventListener("focusout",this._focusOut),delete r.__tabsterDummyContainer,(n=de.getParentNode(r))==null||n.removeChild(r))}setTopLeft(r,n){var s;const a=(s=this.input)==null?void 0:s.style;a&&(a.top=`${r}px`,a.left=`${n}px`)}_isBackward(r,n,a){return r&&!a?!this.isFirst:!!(a&&n.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING)}}const S2={Root:1,Modalizer:2};class Bu{constructor(r,n,a,s,c,u){H(this,"_instance");H(this,"_onFocusIn");H(this,"_onFocusOut");H(this,"_element");this._element=n,this._instance=new Kz(r,n,this,a,s,c,u)}_setHandlers(r,n){this._onFocusIn=r,this._onFocusOut=n}moveOut(r){var n;(n=this._instance)==null||n.moveOut(r)}moveOutWithDefaultAction(r,n){var a;(a=this._instance)==null||a.moveOutWithDefaultAction(r,n)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var n;(n=this._instance)==null||n.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,n,a,s,c){const d=new ku(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let g,p;if(n.tagName==="BODY")g=n,p=a&&s||!a&&!s?de.getFirstElementChild(n):null;else{a&&(!s||s&&!r.focusable.isFocusable(n,!1,!0,!0))?(g=n,p=s?n.firstElementChild:null):(g=de.getParentElement(n),p=a&&s||!a&&!s?n:de.getNextElementSibling(n));let m,v;do m=a&&s||!a&&!s?de.getPreviousElementSibling(p):p,v=lg(m),v===n?p=a&&s||!a&&!s?m:de.getNextElementSibling(m):v=null;while(v)}g!=null&&g.dispatchEvent(new rs({by:"root",owner:g,next:null,relatedEvent:c}))&&(de.insertBefore(g,d,p),Na(d))}}static addPhantomDummyWithTarget(r,n,a,s){const u=new ku(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new rr(s)).input;if(u){let d,g;Iz(n)&&!a?(d=n,g=de.getFirstElementChild(n)):(d=de.getParentElement(n),g=a?n:de.getNextElementSibling(n)),d&&de.insertBefore(d,u,g)}}}class $z{constructor(r){H(this,"_win");H(this,"_updateQueue",new Set);H(this,"_updateTimer");H(this,"_lastUpdateQueueTime",0);H(this,"_changedParents",new WeakSet);H(this,"_updateDummyInputsTimer");H(this,"_dummyElements",[]);H(this,"_dummyCallbacks",new WeakMap);H(this,"_domChanged",r=>{var n;this._changedParents.has(r)||(this._changedParents.add(r),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(n=this._win)==null?void 0:n.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const a of this._dummyElements){const s=a.get();if(s){const c=this._dummyCallbacks.get(s);if(c){const u=de.getParentNode(s);(!u||this._changedParents.has(u))&&c()}}}this._changedParents=new WeakSet},Vh)))});this._win=r}add(r,n){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new rr(r)),this._dummyCallbacks.set(r,n),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(n=>{const a=n.get();return a&&a!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var n;const r=(n=this._win)==null?void 0:n.call(this);this._updateTimer&&(r==null||r.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(r==null||r.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)==null?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Vh<=Date.now()){const n=new Map,a=[];for(const s of this._updateQueue)a.push(s(n));this._updateQueue.clear();for(const s of a)s();n.clear()}else this._scheduledUpdatePositions()},Vh))}}class Kz{constructor(r,n,a,s,c,u,d){H(this,"_tabster");H(this,"_addTimer");H(this,"_getWindow");H(this,"_wrappers",[]);H(this,"_element");H(this,"_isOutside",!1);H(this,"_firstDummy");H(this,"_lastDummy");H(this,"_transformElements",new Set);H(this,"_callForDefaultAction");H(this,"_onFocusIn",(r,n,a)=>{this._onFocus(!0,r,n,a)});H(this,"_onFocusOut",(r,n,a)=>{this._onFocus(!1,r,n,a)});H(this,"moveOut",r=>{var s;const n=this._firstDummy,a=this._lastDummy;if(n&&a){this._ensurePosition();const c=n.input,u=a.input,d=(s=this._element)==null?void 0:s.get();if(c&&u&&d){let g;r?(c.tabIndex=0,g=c):(u.tabIndex=0,g=u),g&&Na(g)}}});H(this,"moveOutWithDefaultAction",(r,n)=>{var c;const a=this._firstDummy,s=this._lastDummy;if(a&&s){this._ensurePosition();const u=a.input,d=s.input,g=(c=this._element)==null?void 0:c.get();if(u&&d&&g){let p;r?!a.isOutside&&this._tabster.focusable.isFocusable(g,!0,!0,!0)?p=g:(a.useDefaultAction=!0,u.tabIndex=0,p=u):(s.useDefaultAction=!0,d.tabIndex=0,p=d),p&&g.dispatchEvent(new rs({by:"root",owner:g,next:null,relatedEvent:n}))&&Na(p)}}});H(this,"setTabbable",(r,n)=>{var s,c;for(const u of this._wrappers)if(u.manager===r){u.tabbable=n;break}const a=this._getCurrent();if(a){const u=a.tabbable?0:-1;let d=(s=this._firstDummy)==null?void 0:s.input;d&&(d.tabIndex=u),d=(c=this._lastDummy)==null?void 0:c.input,d&&(d.tabIndex=u)}});H(this,"_addDummyInputs",()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))});H(this,"_addTransformOffsets",()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)});H(this,"_computeTransformOffsets",r=>{var g,p;const n=((g=this._firstDummy)==null?void 0:g.input)||((p=this._lastDummy)==null?void 0:p.input),a=this._transformElements,s=new Set;let c=0,u=0;const d=this._getWindow();for(let m=n;m&&m.nodeType===Node.ELEMENT_NODE;m=de.getParentElement(m)){let v=r.get(m);if(v===void 0){const S=d.getComputedStyle(m).transform;S&&S!=="none"&&(v={scrollTop:m.scrollTop,scrollLeft:m.scrollLeft}),r.set(m,v||null)}v&&(s.add(m),a.has(m)||m.addEventListener("scroll",this._addTransformOffsets),c+=v.scrollTop,u+=v.scrollLeft)}for(const m of a)s.has(m)||m.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=s,()=>{var m,v;(m=this._firstDummy)==null||m.setTopLeft(c,u),(v=this._lastDummy)==null||v.setTopLeft(c,u)}});const g=n.get();if(!g)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=d;const p=g.__tabsterDummy;if((p||this)._wrappers.push({manager:a,priority:s,tabbable:!0}),p)return p;g.__tabsterDummy=this;const m=c==null?void 0:c.dummyInputsPosition,v=g.tagName;this._isOutside=m?m===Z_.Outside:(u||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"),this._firstDummy=new ku(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new ku(this._getWindow,this._isOutside,{isFirst:!1},n);const S=this._firstDummy.input;S&&r._dummyObserver.add(S,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=n,this._addDummyInputs()}dispose(r,n){var s,c,u,d;if((this._wrappers=this._wrappers.filter(g=>g.manager!==r&&!n)).length===0){delete((s=this._element)==null?void 0:s.get()).__tabsterDummy;for(const m of this._transformElements)m.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const g=this._getWindow();this._addTimer&&(g.clearTimeout(this._addTimer),delete this._addTimer);const p=(c=this._firstDummy)==null?void 0:c.input;p&&this._tabster._dummyObserver.remove(p),(u=this._firstDummy)==null||u.dispose(),(d=this._lastDummy)==null||d.dispose()}}_onFocus(r,n,a,s){var u;const c=this._getCurrent();c&&(!n.useDefaultAction||this._callForDefaultAction)&&((u=c.manager.getHandler(r))==null||u(n,a,s))}_getCurrent(){return this._wrappers.sort((r,n)=>r.tabbable!==n.tabbable?r.tabbable?-1:1:r.priority-n.priority),this._wrappers[0]}_ensurePosition(){var s,c,u;const r=(s=this._element)==null?void 0:s.get(),n=(c=this._firstDummy)==null?void 0:c.input,a=(u=this._lastDummy)==null?void 0:u.input;if(!(!r||!n||!a))if(this._isOutside){const d=de.getParentNode(r);if(d){const g=de.getNextSibling(r);g!==a&&de.insertBefore(d,a,g),de.getPreviousElementSibling(r)!==n&&de.insertBefore(d,n,r)}}else{de.getLastElementChild(r)!==a&&de.appendChild(r,a);const d=de.getFirstElementChild(r);d&&d!==n&&d.parentNode&&de.insertBefore(d.parentNode,n,d)}}}function lg(e){var r;return((r=e==null?void 0:e.__tabsterDummyContainer)==null?void 0:r.get())||null}/*!
84
+ */const Vh=100;class ku{constructor(r,n,a,s,c){H(this,"_isPhantom");H(this,"_fixedTarget");H(this,"_disposeTimer");H(this,"_clearDisposeTimeout");H(this,"input");H(this,"useDefaultAction");H(this,"isFirst");H(this,"isOutside");H(this,"onFocusIn");H(this,"onFocusOut");H(this,"_focusIn",r=>{if(this._fixedTarget){const a=this._fixedTarget.get();a&&Na(a);return}const n=this.input;if(this.onFocusIn&&n){const a=r.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,a),a)}});H(this,"_focusOut",r=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const n=this.input;if(this.onFocusOut&&n){const a=r.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,a),a)}});const u=r(),d=u.document.createElement("i");d.tabIndex=0,d.setAttribute("role","none"),d.setAttribute(K_,""),d.setAttribute("aria-hidden","true");const g=d.style;g.position="fixed",g.width=g.height="1px",g.opacity="0.001",g.zIndex="-1",g.setProperty("content-visibility","hidden"),Uz(d),this.input=d,this.isFirst=a.isFirst,this.isOutside=n,this._isPhantom=a.isPhantom??!1,this._fixedTarget=c,d.addEventListener("focusin",this._focusIn),d.addEventListener("focusout",this._focusOut),d.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=u.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(u.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var n;this._clearDisposeTimeout&&this._clearDisposeTimeout();const r=this.input;r&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,r.removeEventListener("focusin",this._focusIn),r.removeEventListener("focusout",this._focusOut),delete r.__tabsterDummyContainer,(n=de.getParentNode(r))==null||n.removeChild(r))}setTopLeft(r,n){var s;const a=(s=this.input)==null?void 0:s.style;a&&(a.top=`${r}px`,a.left=`${n}px`)}_isBackward(r,n,a){return r&&!a?!this.isFirst:!!(a&&n.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING)}}const w2={Root:1,Modalizer:2};class Bu{constructor(r,n,a,s,c,u){H(this,"_instance");H(this,"_onFocusIn");H(this,"_onFocusOut");H(this,"_element");this._element=n,this._instance=new Kz(r,n,this,a,s,c,u)}_setHandlers(r,n){this._onFocusIn=r,this._onFocusOut=n}moveOut(r){var n;(n=this._instance)==null||n.moveOut(r)}moveOutWithDefaultAction(r,n){var a;(a=this._instance)==null||a.moveOutWithDefaultAction(r,n)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var n;(n=this._instance)==null||n.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,n,a,s,c){const d=new ku(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let g,p;if(n.tagName==="BODY")g=n,p=a&&s||!a&&!s?de.getFirstElementChild(n):null;else{a&&(!s||s&&!r.focusable.isFocusable(n,!1,!0,!0))?(g=n,p=s?n.firstElementChild:null):(g=de.getParentElement(n),p=a&&s||!a&&!s?n:de.getNextElementSibling(n));let m,v;do m=a&&s||!a&&!s?de.getPreviousElementSibling(p):p,v=sg(m),v===n?p=a&&s||!a&&!s?m:de.getNextElementSibling(m):v=null;while(v)}g!=null&&g.dispatchEvent(new as({by:"root",owner:g,next:null,relatedEvent:c}))&&(de.insertBefore(g,d,p),Na(d))}}static addPhantomDummyWithTarget(r,n,a,s){const u=new ku(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new rr(s)).input;if(u){let d,g;Iz(n)&&!a?(d=n,g=de.getFirstElementChild(n)):(d=de.getParentElement(n),g=a?n:de.getNextElementSibling(n)),d&&de.insertBefore(d,u,g)}}}class $z{constructor(r){H(this,"_win");H(this,"_updateQueue",new Set);H(this,"_updateTimer");H(this,"_lastUpdateQueueTime",0);H(this,"_changedParents",new WeakSet);H(this,"_updateDummyInputsTimer");H(this,"_dummyElements",[]);H(this,"_dummyCallbacks",new WeakMap);H(this,"_domChanged",r=>{var n;this._changedParents.has(r)||(this._changedParents.add(r),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(n=this._win)==null?void 0:n.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const a of this._dummyElements){const s=a.get();if(s){const c=this._dummyCallbacks.get(s);if(c){const u=de.getParentNode(s);(!u||this._changedParents.has(u))&&c()}}}this._changedParents=new WeakSet},Vh)))});this._win=r}add(r,n){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new rr(r)),this._dummyCallbacks.set(r,n),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(n=>{const a=n.get();return a&&a!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var n;const r=(n=this._win)==null?void 0:n.call(this);this._updateTimer&&(r==null||r.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(r==null||r.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)==null?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Vh<=Date.now()){const n=new Map,a=[];for(const s of this._updateQueue)a.push(s(n));this._updateQueue.clear();for(const s of a)s();n.clear()}else this._scheduledUpdatePositions()},Vh))}}class Kz{constructor(r,n,a,s,c,u,d){H(this,"_tabster");H(this,"_addTimer");H(this,"_getWindow");H(this,"_wrappers",[]);H(this,"_element");H(this,"_isOutside",!1);H(this,"_firstDummy");H(this,"_lastDummy");H(this,"_transformElements",new Set);H(this,"_callForDefaultAction");H(this,"_onFocusIn",(r,n,a)=>{this._onFocus(!0,r,n,a)});H(this,"_onFocusOut",(r,n,a)=>{this._onFocus(!1,r,n,a)});H(this,"moveOut",r=>{var s;const n=this._firstDummy,a=this._lastDummy;if(n&&a){this._ensurePosition();const c=n.input,u=a.input,d=(s=this._element)==null?void 0:s.get();if(c&&u&&d){let g;r?(c.tabIndex=0,g=c):(u.tabIndex=0,g=u),g&&Na(g)}}});H(this,"moveOutWithDefaultAction",(r,n)=>{var c;const a=this._firstDummy,s=this._lastDummy;if(a&&s){this._ensurePosition();const u=a.input,d=s.input,g=(c=this._element)==null?void 0:c.get();if(u&&d&&g){let p;r?!a.isOutside&&this._tabster.focusable.isFocusable(g,!0,!0,!0)?p=g:(a.useDefaultAction=!0,u.tabIndex=0,p=u):(s.useDefaultAction=!0,d.tabIndex=0,p=d),p&&g.dispatchEvent(new as({by:"root",owner:g,next:null,relatedEvent:n}))&&Na(p)}}});H(this,"setTabbable",(r,n)=>{var s,c;for(const u of this._wrappers)if(u.manager===r){u.tabbable=n;break}const a=this._getCurrent();if(a){const u=a.tabbable?0:-1;let d=(s=this._firstDummy)==null?void 0:s.input;d&&(d.tabIndex=u),d=(c=this._lastDummy)==null?void 0:c.input,d&&(d.tabIndex=u)}});H(this,"_addDummyInputs",()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))});H(this,"_addTransformOffsets",()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)});H(this,"_computeTransformOffsets",r=>{var g,p;const n=((g=this._firstDummy)==null?void 0:g.input)||((p=this._lastDummy)==null?void 0:p.input),a=this._transformElements,s=new Set;let c=0,u=0;const d=this._getWindow();for(let m=n;m&&m.nodeType===Node.ELEMENT_NODE;m=de.getParentElement(m)){let v=r.get(m);if(v===void 0){const S=d.getComputedStyle(m).transform;S&&S!=="none"&&(v={scrollTop:m.scrollTop,scrollLeft:m.scrollLeft}),r.set(m,v||null)}v&&(s.add(m),a.has(m)||m.addEventListener("scroll",this._addTransformOffsets),c+=v.scrollTop,u+=v.scrollLeft)}for(const m of a)s.has(m)||m.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=s,()=>{var m,v;(m=this._firstDummy)==null||m.setTopLeft(c,u),(v=this._lastDummy)==null||v.setTopLeft(c,u)}});const g=n.get();if(!g)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=d;const p=g.__tabsterDummy;if((p||this)._wrappers.push({manager:a,priority:s,tabbable:!0}),p)return p;g.__tabsterDummy=this;const m=c==null?void 0:c.dummyInputsPosition,v=g.tagName;this._isOutside=m?m===Z_.Outside:(u||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"),this._firstDummy=new ku(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new ku(this._getWindow,this._isOutside,{isFirst:!1},n);const S=this._firstDummy.input;S&&r._dummyObserver.add(S,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=n,this._addDummyInputs()}dispose(r,n){var s,c,u,d;if((this._wrappers=this._wrappers.filter(g=>g.manager!==r&&!n)).length===0){delete((s=this._element)==null?void 0:s.get()).__tabsterDummy;for(const m of this._transformElements)m.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const g=this._getWindow();this._addTimer&&(g.clearTimeout(this._addTimer),delete this._addTimer);const p=(c=this._firstDummy)==null?void 0:c.input;p&&this._tabster._dummyObserver.remove(p),(u=this._firstDummy)==null||u.dispose(),(d=this._lastDummy)==null||d.dispose()}}_onFocus(r,n,a,s){var u;const c=this._getCurrent();c&&(!n.useDefaultAction||this._callForDefaultAction)&&((u=c.manager.getHandler(r))==null||u(n,a,s))}_getCurrent(){return this._wrappers.sort((r,n)=>r.tabbable!==n.tabbable?r.tabbable?-1:1:r.priority-n.priority),this._wrappers[0]}_ensurePosition(){var s,c,u;const r=(s=this._element)==null?void 0:s.get(),n=(c=this._firstDummy)==null?void 0:c.input,a=(u=this._lastDummy)==null?void 0:u.input;if(!(!r||!n||!a))if(this._isOutside){const d=de.getParentNode(r);if(d){const g=de.getNextSibling(r);g!==a&&de.insertBefore(d,a,g),de.getPreviousElementSibling(r)!==n&&de.insertBefore(d,n,r)}}else{de.getLastElementChild(r)!==a&&de.appendChild(r,a);const d=de.getFirstElementChild(r);d&&d!==n&&d.parentNode&&de.insertBefore(d.parentNode,n,d)}}}function sg(e){var r;return((r=e==null?void 0:e.__tabsterDummyContainer)==null?void 0:r.get())||null}/*!
85
85
  * Copyright (c) Microsoft Corporation. All rights reserved.
86
86
  * Licensed under the MIT License.
87
- */function w2(e,r){return JSON.stringify(e)}function Zz(e,r){for(const n of Object.keys(r)){const a=r[n];a?e[n]=a:delete e[n]}}function Jz(e,r,n){let a;{const s=e.getAttribute(Pn);if(s)try{a=JSON.parse(s)}catch{}}a||(a={}),Zz(a,r),Object.keys(a).length>0?e.setAttribute(Pn,w2(a)):e.removeAttribute(Pn)}/*!
87
+ */function k2(e,r){return JSON.stringify(e)}function Zz(e,r){for(const n of Object.keys(r)){const a=r[n];a?e[n]=a:delete e[n]}}function Jz(e,r,n){let a;{const s=e.getAttribute(Pn);if(s)try{a=JSON.parse(s)}catch{}}a||(a={}),Zz(a,r),Object.keys(a).length>0?e.setAttribute(Pn,k2(a)):e.removeAttribute(Pn)}/*!
88
88
  * Copyright (c) Microsoft Corporation. All rights reserved.
89
89
  * Licensed under the MIT License.
90
- */class qb extends Bu{constructor(n,a,s,c){super(n,a,S2.Root,c,void 0,!0);H(this,"_tabster");H(this,"_setFocused");H(this,"_onDummyInputFocus",n=>{var a;if(n.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const s=this._element.get();if(s){this._setFocused(!0);const c=this._tabster.focusedElement.getFirstOrLastTabbable(n.isFirst,{container:s,ignoreAccessibility:!0});if(c){Na(c);return}}(a=n.input)==null||a.blur()}});this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=s}}class eT extends ig{constructor(n,a,s,c,u){super(n,a,c);H(this,"uid");H(this,"_dummyManager");H(this,"_sys");H(this,"_isFocused",!1);H(this,"_setFocusedTimer");H(this,"_onDispose");H(this,"_setFocused",n=>{var s;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===n)return;const a=this._element.get();a&&(n?(this._isFocused=!0,(s=this._dummyManager)==null||s.setTabbable(!1),a.dispatchEvent(new mz({element:a}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var c;delete this._setFocusedTimer,this._isFocused=!1,(c=this._dummyManager)==null||c.setTabbable(!0),a.dispatchEvent(new vz({element:a}))},0))});H(this,"_onFocusIn",n=>{const a=this._tabster.getParent,s=this._element.get();let c=n.composedPath()[0];do{if(c===s){this._setFocused(!0);return}c=c&&a(c)}while(c)});H(this,"_onFocusOut",()=>{this._setFocused(!1)});this._onDispose=s;const d=n.getWindow;this.uid=Gz(d,a),this._sys=u,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const p=d().document;p.addEventListener(_o,this._onFocusIn),p.addEventListener(cs,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new qb(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var s;this._onDispose(this);const n=this._tabster.getWindow(),a=n.document;a.removeEventListener(_o,this._onFocusIn),a.removeEventListener(cs,this._onFocusOut),this._setFocusedTimer&&(n.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(s=this._dummyManager)==null||s.dispose(),this._remove()}moveOutWithDefaultAction(n,a){const s=this._dummyManager;if(s)s.moveOutWithDefaultAction(n,a);else{const c=this.getElement();c&&qb.moveWithPhantomDummy(this._tabster,c,!0,n,a)}}_add(){}_remove(){}}class kt{constructor(r,n){H(this,"_tabster");H(this,"_win");H(this,"_autoRoot");H(this,"_autoRootWaiting",!1);H(this,"_roots",{});H(this,"_forceDummy",!1);H(this,"rootById",{});H(this,"_autoRootCreate",()=>{var a;const r=this._win().document,n=r.body;if(n){this._autoRootUnwait(r);const s=this._autoRoot;if(s)return Jz(n,{root:s}),m2(this._tabster,n),(a=Vo(this._tabster,n))==null?void 0:a.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,r.addEventListener("readystatechange",this._autoRootCreate))});H(this,"_onRootDispose",r=>{delete this._roots[r.id]});this._tabster=r,this._win=r.getWindow,this._autoRoot=n,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(n=>{this._roots[n]&&(this._roots[n].dispose(),delete this._roots[n])}),this.rootById={}}createRoot(r,n,a){const s=new eT(this._tabster,r,this._onRootDispose,n,a);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const n of Object.keys(r))r[n].addDummyInputs()}static getRootByUId(r,n){const a=r().__tabsterInstance;return a&&a.root.rootById[n]}static getTabsterContext(r,n,a={}){var N,C,E,M;if(!n.ownerDocument)return;const{checkRtl:s,referenceElement:c}=a,u=r.getParent;r.drainInitQueue();let d,g,p,m,v=!1,S,k,w,x,z=c||n;const T={};for(;z&&(!d||s);){const Q=Vo(r,z);if(s&&w===void 0){const ae=z.dir;ae&&(w=ae.toLowerCase()==="rtl")}if(!Q){z=u(z);continue}const G=z.tagName;(Q.uncontrolled||G==="IFRAME"||G==="WEBVIEW")&&r.focusable.isVisible(z)&&(x=z),!m&&((N=Q.focusable)!=null&&N.excludeFromMover)&&!p&&(v=!0);const oe=Q.modalizer,ie=Q.groupper,ve=Q.mover;!g&&oe&&(g=oe),!p&&ie&&(!g||oe)&&(g?(!ie.isActive()&&ie.getProps().tabbability&&g.userId!==((C=r.modalizer)==null?void 0:C.activeId)&&(g=void 0,p=ie),k=ie):p=ie),!m&&ve&&(!g||oe)&&(!ie||z!==n)&&z.contains(n)&&(m=ve,S=!!p&&p!==ie),Q.root&&(d=Q.root),(E=Q.focusable)!=null&&E.ignoreKeydown&&Object.assign(T,Q.focusable.ignoreKeydown),z=u(z)}if(!d){const Q=r.root;Q._autoRoot&&(M=n.ownerDocument)!=null&&M.body&&(d=Q._autoRootCreate())}return p&&!m&&(S=!0),d?{root:d,modalizer:g,groupper:p,mover:m,groupperBeforeMover:S,modalizerInGroupper:k,rtl:s?!!w:void 0,uncontrolled:x,excludedFromMover:v,ignoreKeydown:Q=>!!T[Q.key]}:void 0}static getRoot(r,n){var s;const a=r.getParent;for(let c=n;c;c=a(c)){const u=(s=Vo(r,c))==null?void 0:s.root;if(u)return u}}onRoot(r,n){n?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
90
+ */class Fb extends Bu{constructor(n,a,s,c){super(n,a,w2.Root,c,void 0,!0);H(this,"_tabster");H(this,"_setFocused");H(this,"_onDummyInputFocus",n=>{var a;if(n.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const s=this._element.get();if(s){this._setFocused(!0);const c=this._tabster.focusedElement.getFirstOrLastTabbable(n.isFirst,{container:s,ignoreAccessibility:!0});if(c){Na(c);return}}(a=n.input)==null||a.blur()}});this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=s}}class eT extends lg{constructor(n,a,s,c,u){super(n,a,c);H(this,"uid");H(this,"_dummyManager");H(this,"_sys");H(this,"_isFocused",!1);H(this,"_setFocusedTimer");H(this,"_onDispose");H(this,"_setFocused",n=>{var s;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===n)return;const a=this._element.get();a&&(n?(this._isFocused=!0,(s=this._dummyManager)==null||s.setTabbable(!1),a.dispatchEvent(new mz({element:a}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var c;delete this._setFocusedTimer,this._isFocused=!1,(c=this._dummyManager)==null||c.setTabbable(!0),a.dispatchEvent(new vz({element:a}))},0))});H(this,"_onFocusIn",n=>{const a=this._tabster.getParent,s=this._element.get();let c=n.composedPath()[0];do{if(c===s){this._setFocused(!0);return}c=c&&a(c)}while(c)});H(this,"_onFocusOut",()=>{this._setFocused(!1)});this._onDispose=s;const d=n.getWindow;this.uid=Gz(d,a),this._sys=u,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const p=d().document;p.addEventListener(_o,this._onFocusIn),p.addEventListener(fs,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Fb(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var s;this._onDispose(this);const n=this._tabster.getWindow(),a=n.document;a.removeEventListener(_o,this._onFocusIn),a.removeEventListener(fs,this._onFocusOut),this._setFocusedTimer&&(n.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(s=this._dummyManager)==null||s.dispose(),this._remove()}moveOutWithDefaultAction(n,a){const s=this._dummyManager;if(s)s.moveOutWithDefaultAction(n,a);else{const c=this.getElement();c&&Fb.moveWithPhantomDummy(this._tabster,c,!0,n,a)}}_add(){}_remove(){}}class kt{constructor(r,n){H(this,"_tabster");H(this,"_win");H(this,"_autoRoot");H(this,"_autoRootWaiting",!1);H(this,"_roots",{});H(this,"_forceDummy",!1);H(this,"rootById",{});H(this,"_autoRootCreate",()=>{var a;const r=this._win().document,n=r.body;if(n){this._autoRootUnwait(r);const s=this._autoRoot;if(s)return Jz(n,{root:s}),v2(this._tabster,n),(a=Vo(this._tabster,n))==null?void 0:a.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,r.addEventListener("readystatechange",this._autoRootCreate))});H(this,"_onRootDispose",r=>{delete this._roots[r.id]});this._tabster=r,this._win=r.getWindow,this._autoRoot=n,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(n=>{this._roots[n]&&(this._roots[n].dispose(),delete this._roots[n])}),this.rootById={}}createRoot(r,n,a){const s=new eT(this._tabster,r,this._onRootDispose,n,a);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const n of Object.keys(r))r[n].addDummyInputs()}static getRootByUId(r,n){const a=r().__tabsterInstance;return a&&a.root.rootById[n]}static getTabsterContext(r,n,a={}){var N,C,E,M;if(!n.ownerDocument)return;const{checkRtl:s,referenceElement:c}=a,u=r.getParent;r.drainInitQueue();let d,g,p,m,v=!1,S,k,w,x,z=c||n;const T={};for(;z&&(!d||s);){const W=Vo(r,z);if(s&&w===void 0){const ae=z.dir;ae&&(w=ae.toLowerCase()==="rtl")}if(!W){z=u(z);continue}const G=z.tagName;(W.uncontrolled||G==="IFRAME"||G==="WEBVIEW")&&r.focusable.isVisible(z)&&(x=z),!m&&((N=W.focusable)!=null&&N.excludeFromMover)&&!p&&(v=!0);const oe=W.modalizer,ie=W.groupper,ve=W.mover;!g&&oe&&(g=oe),!p&&ie&&(!g||oe)&&(g?(!ie.isActive()&&ie.getProps().tabbability&&g.userId!==((C=r.modalizer)==null?void 0:C.activeId)&&(g=void 0,p=ie),k=ie):p=ie),!m&&ve&&(!g||oe)&&(!ie||z!==n)&&z.contains(n)&&(m=ve,S=!!p&&p!==ie),W.root&&(d=W.root),(E=W.focusable)!=null&&E.ignoreKeydown&&Object.assign(T,W.focusable.ignoreKeydown),z=u(z)}if(!d){const W=r.root;W._autoRoot&&(M=n.ownerDocument)!=null&&M.body&&(d=W._autoRootCreate())}return p&&!m&&(S=!0),d?{root:d,modalizer:g,groupper:p,mover:m,groupperBeforeMover:S,modalizerInGroupper:k,rtl:s?!!w:void 0,uncontrolled:x,excludedFromMover:v,ignoreKeydown:W=>!!T[W.key]}:void 0}static getRoot(r,n){var s;const a=r.getParent;for(let c=n;c;c=a(c)){const u=(s=Vo(r,c))==null?void 0:s.root;if(u)return u}}onRoot(r,n){n?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
91
91
  * Copyright (c) Microsoft Corporation. All rights reserved.
92
92
  * Licensed under the MIT License.
93
- */class tT{constructor(r){H(this,"_tabster");this._tabster=r}dispose(){}getProps(r){const n=Vo(this._tabster,r);return n&&n.focusable||{}}isFocusable(r,n,a,s){return Xz(r,p2)&&(n||r.tabIndex!==-1)?(a||this.isVisible(r))&&(s||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||Qz(r))return!1;const n=r.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0)}isAccessible(r){var n;for(let a=r;a;a=de.getParentElement(a)){const s=Vo(this._tabster,a);if(this._isHidden(a)||!((n=s==null?void 0:s.focusable)==null?void 0:n.ignoreAriaDisabled)&&this._isDisabled(a))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var a;const n=r.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!((a=this._tabster.modalizer)!=null&&a.isAugmented(r)))}findFirst(r,n){return this.findElement({...r},n)}findLast(r,n){return this.findElement({isBackward:!0,...r},n)}findNext(r,n){return this.findElement({...r},n)}findPrev(r,n){return this.findElement({...r,isBackward:!0},n)}findDefault(r,n){return this.findElement({...r,acceptCondition:a=>this.isFocusable(a,r.includeProgrammaticallyFocusable)&&!!this.getProps(a).isDefault},n)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,n){const a=this._findElements(!1,r,n);return a&&a[0]}_findElements(r,n,a){var j,N,C;const{container:s,currentElement:c=null,includeProgrammaticallyFocusable:u,useActiveModalizer:d,ignoreAccessibility:g,modalizerId:p,isBackward:m,onElement:v}=n;a||(a={});const S=[];let{acceptCondition:k}=n;const w=!!k;if(!s)return null;k||(k=E=>this.isFocusable(E,u,!1,g));const x={container:s,modalizerUserId:p===void 0&&d?(j=this._tabster.modalizer)==null?void 0:j.activeId:p||((C=(N=kt.getTabsterContext(this._tabster,s))==null?void 0:N.modalizer)==null?void 0:C.userId),from:c||s,isBackward:m,isFindAll:r,acceptCondition:k,hasCustomCondition:w,includeProgrammaticallyFocusable:u,ignoreAccessibility:g,cachedGrouppers:{},cachedRadioGroups:{}},z=v2(s.ownerDocument,s,E=>this._acceptElement(E,x));if(!z)return null;const T=E=>{var Q;const M=x.foundElement??x.foundBackward;return M&&S.push(M),r?M&&(x.found=!1,delete x.foundElement,delete x.foundBackward,delete x.fromCtx,x.from=M,v&&!v(M))?!1:!!(M||E):(M&&a&&(a.uncontrolled=(Q=kt.getTabsterContext(this._tabster,M))==null?void 0:Q.uncontrolled),!!(E&&!M))};if(c||(a.outOfDOMOrder=!0),c&&de.nodeContains(s,c))z.currentNode=c;else if(m){const E=x2(s);if(!E)return null;if(this._acceptElement(E,x)===NodeFilter.FILTER_ACCEPT&&!T(!0))return x.skippedFocusable&&(a.outOfDOMOrder=!0),S;z.currentNode=E}do m?z.previousNode():z.nextNode();while(T());return x.skippedFocusable&&(a.outOfDOMOrder=!0),S.length?S:null}_acceptElement(r,n){var v,S,k;if(n.found)return NodeFilter.FILTER_ACCEPT;const a=n.foundBackward;if(a&&(r===a||!de.nodeContains(a,r)))return n.found=!0,n.foundElement=a,NodeFilter.FILTER_ACCEPT;const s=n.container;if(r===s)return NodeFilter.FILTER_SKIP;if(!de.nodeContains(s,r)||lg(r)||de.nodeContains(n.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const c=n.currentCtx=kt.getTabsterContext(this._tabster,r);if(!c)return NodeFilter.FILTER_SKIP;if(b2(r))return this.isFocusable(r,void 0,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!n.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((v=c.modalizer)==null?void 0:v.userId)===((S=this._tabster.modalizer)==null?void 0:S.activeId)?(n.found=!0,n.rejectElementsFrom=n.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!n.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let u,d=n.fromCtx;d||(d=n.fromCtx=kt.getTabsterContext(this._tabster,n.from));const g=d==null?void 0:d.mover;let p=c.groupper,m=c.mover;if(u=(k=this._tabster.modalizer)==null?void 0:k.acceptElement(r,n),u!==void 0&&(n.skippedFocusable=!0),u===void 0&&(p||m||g)){const w=p==null?void 0:p.getElement(),x=g==null?void 0:g.getElement();let z=m==null?void 0:m.getElement();if(z&&de.nodeContains(x,z)&&de.nodeContains(s,x)&&(!w||!m||de.nodeContains(x,w))&&(m=g,z=x),w){if(w===s||!de.nodeContains(s,w))p=void 0;else if(!de.nodeContains(w,r))return NodeFilter.FILTER_REJECT}if(z){if(!de.nodeContains(s,z))m=void 0;else if(!de.nodeContains(z,r))return NodeFilter.FILTER_REJECT}p&&m&&(z&&w&&!de.nodeContains(w,z)?m=void 0:p=void 0),p&&(u=p.acceptElement(r,n)),m&&(u=m.acceptElement(r,n))}if(u===void 0&&(u=n.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,u===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(n.skippedFocusable=!0)),u===NodeFilter.FILTER_ACCEPT&&!n.found){if(!n.isFindAll&&B0(r)&&!r.checked){const w=r.name;let x=n.cachedRadioGroups[w];if(x||(x=Yz(r),x&&(n.cachedRadioGroups[w]=x)),x!=null&&x.checked&&x.checked!==r)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=r,u=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=r)}return u}}/*!
93
+ */class tT{constructor(r){H(this,"_tabster");this._tabster=r}dispose(){}getProps(r){const n=Vo(this._tabster,r);return n&&n.focusable||{}}isFocusable(r,n,a,s){return Xz(r,m2)&&(n||r.tabIndex!==-1)?(a||this.isVisible(r))&&(s||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||Qz(r))return!1;const n=r.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0)}isAccessible(r){var n;for(let a=r;a;a=de.getParentElement(a)){const s=Vo(this._tabster,a);if(this._isHidden(a)||!((n=s==null?void 0:s.focusable)==null?void 0:n.ignoreAriaDisabled)&&this._isDisabled(a))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var a;const n=r.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!((a=this._tabster.modalizer)!=null&&a.isAugmented(r)))}findFirst(r,n){return this.findElement({...r},n)}findLast(r,n){return this.findElement({isBackward:!0,...r},n)}findNext(r,n){return this.findElement({...r},n)}findPrev(r,n){return this.findElement({...r,isBackward:!0},n)}findDefault(r,n){return this.findElement({...r,acceptCondition:a=>this.isFocusable(a,r.includeProgrammaticallyFocusable)&&!!this.getProps(a).isDefault},n)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,n){const a=this._findElements(!1,r,n);return a&&a[0]}_findElements(r,n,a){var j,N,C;const{container:s,currentElement:c=null,includeProgrammaticallyFocusable:u,useActiveModalizer:d,ignoreAccessibility:g,modalizerId:p,isBackward:m,onElement:v}=n;a||(a={});const S=[];let{acceptCondition:k}=n;const w=!!k;if(!s)return null;k||(k=E=>this.isFocusable(E,u,!1,g));const x={container:s,modalizerUserId:p===void 0&&d?(j=this._tabster.modalizer)==null?void 0:j.activeId:p||((C=(N=kt.getTabsterContext(this._tabster,s))==null?void 0:N.modalizer)==null?void 0:C.userId),from:c||s,isBackward:m,isFindAll:r,acceptCondition:k,hasCustomCondition:w,includeProgrammaticallyFocusable:u,ignoreAccessibility:g,cachedGrouppers:{},cachedRadioGroups:{}},z=b2(s.ownerDocument,s,E=>this._acceptElement(E,x));if(!z)return null;const T=E=>{var W;const M=x.foundElement??x.foundBackward;return M&&S.push(M),r?M&&(x.found=!1,delete x.foundElement,delete x.foundBackward,delete x.fromCtx,x.from=M,v&&!v(M))?!1:!!(M||E):(M&&a&&(a.uncontrolled=(W=kt.getTabsterContext(this._tabster,M))==null?void 0:W.uncontrolled),!!(E&&!M))};if(c||(a.outOfDOMOrder=!0),c&&de.nodeContains(s,c))z.currentNode=c;else if(m){const E=S2(s);if(!E)return null;if(this._acceptElement(E,x)===NodeFilter.FILTER_ACCEPT&&!T(!0))return x.skippedFocusable&&(a.outOfDOMOrder=!0),S;z.currentNode=E}do m?z.previousNode():z.nextNode();while(T());return x.skippedFocusable&&(a.outOfDOMOrder=!0),S.length?S:null}_acceptElement(r,n){var v,S,k;if(n.found)return NodeFilter.FILTER_ACCEPT;const a=n.foundBackward;if(a&&(r===a||!de.nodeContains(a,r)))return n.found=!0,n.foundElement=a,NodeFilter.FILTER_ACCEPT;const s=n.container;if(r===s)return NodeFilter.FILTER_SKIP;if(!de.nodeContains(s,r)||sg(r)||de.nodeContains(n.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const c=n.currentCtx=kt.getTabsterContext(this._tabster,r);if(!c)return NodeFilter.FILTER_SKIP;if(y2(r))return this.isFocusable(r,void 0,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!n.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((v=c.modalizer)==null?void 0:v.userId)===((S=this._tabster.modalizer)==null?void 0:S.activeId)?(n.found=!0,n.rejectElementsFrom=n.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!n.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let u,d=n.fromCtx;d||(d=n.fromCtx=kt.getTabsterContext(this._tabster,n.from));const g=d==null?void 0:d.mover;let p=c.groupper,m=c.mover;if(u=(k=this._tabster.modalizer)==null?void 0:k.acceptElement(r,n),u!==void 0&&(n.skippedFocusable=!0),u===void 0&&(p||m||g)){const w=p==null?void 0:p.getElement(),x=g==null?void 0:g.getElement();let z=m==null?void 0:m.getElement();if(z&&de.nodeContains(x,z)&&de.nodeContains(s,x)&&(!w||!m||de.nodeContains(x,w))&&(m=g,z=x),w){if(w===s||!de.nodeContains(s,w))p=void 0;else if(!de.nodeContains(w,r))return NodeFilter.FILTER_REJECT}if(z){if(!de.nodeContains(s,z))m=void 0;else if(!de.nodeContains(z,r))return NodeFilter.FILTER_REJECT}p&&m&&(z&&w&&!de.nodeContains(w,z)?m=void 0:p=void 0),p&&(u=p.acceptElement(r,n)),m&&(u=m.acceptElement(r,n))}if(u===void 0&&(u=n.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,u===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(n.skippedFocusable=!0)),u===NodeFilter.FILTER_ACCEPT&&!n.found){if(!n.isFindAll&&B0(r)&&!r.checked){const w=r.name;let x=n.cachedRadioGroups[w];if(x||(x=Yz(r),x&&(n.cachedRadioGroups[w]=x)),x!=null&&x.checked&&x.checked!==r)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=r,u=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=r)}return u}}/*!
94
94
  * Copyright (c) Microsoft Corporation. All rights reserved.
95
95
  * Licensed under the MIT License.
96
- */const k2={Tab:"Tab",Escape:"Escape"};/*!
96
+ */const B2={Tab:"Tab",Escape:"Escape"};/*!
97
97
  * Copyright (c) Microsoft Corporation. All rights reserved.
98
98
  * Licensed under the MIT License.
99
- */class B2{constructor(){H(this,"_val");H(this,"_callbacks",[])}dispose(){this._callbacks=[],delete this._val}subscribe(r){const n=this._callbacks;n.indexOf(r)<0&&n.push(r)}subscribeFirst(r){const n=this._callbacks,a=n.indexOf(r);a>=0&&n.splice(a,1),n.unshift(r)}unsubscribe(r){const n=this._callbacks.indexOf(r);n>=0&&this._callbacks.splice(n,1)}setVal(r,n){this._val!==r&&(this._val=r,this._callCallbacks(r,n))}getVal(){return this._val}trigger(r,n){this._callCallbacks(r,n)}_callCallbacks(r,n){this._callbacks.forEach(a=>a(r,n))}}/*!
99
+ */class _2{constructor(){H(this,"_val");H(this,"_callbacks",[])}dispose(){this._callbacks=[],delete this._val}subscribe(r){const n=this._callbacks;n.indexOf(r)<0&&n.push(r)}subscribeFirst(r){const n=this._callbacks,a=n.indexOf(r);a>=0&&n.splice(a,1),n.unshift(r)}unsubscribe(r){const n=this._callbacks.indexOf(r);n>=0&&this._callbacks.splice(n,1)}setVal(r,n){this._val!==r&&(this._val=r,this._callCallbacks(r,n))}getVal(){return this._val}trigger(r,n){this._callCallbacks(r,n)}_callCallbacks(r,n){this._callbacks.forEach(a=>a(r,n))}}/*!
100
100
  * Copyright (c) Microsoft Corporation. All rights reserved.
101
101
  * Licensed under the MIT License.
102
- */function oT(e,r){var s;const n=e.getParent;let a=r;do{const c=(s=Vo(e,a))==null?void 0:s.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(a,!!c.completely))return a;a=n(a)}while(a)}const Fb={[wi.Restorer]:0,[wi.Deloser]:1,[wi.EscapeGroupper]:2},Tt=class Tt extends B2{constructor(n,a){super();H(this,"_tabster");H(this,"_win");H(this,"_nextVal");H(this,"_lastVal");H(this,"_asyncFocus");H(this,"_init",()=>{const n=this._win(),a=n.document;a.addEventListener(_o,this._onFocusIn,!0),a.addEventListener(cs,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const s=de.getActiveElement(a);s&&s!==a.body&&this._setFocusedElement(s),this.subscribe(this._onChanged)});H(this,"_onFocusIn",n=>{const a=n.composedPath()[0];a&&this._setFocusedElement(a,n.detail.relatedTarget,n.detail.isFocusedProgrammatically)});H(this,"_onFocusOut",n=>{var a;this._setFocusedElement(void 0,(a=n.detail)==null?void 0:a.originalEvent.relatedTarget)});H(this,"_validateFocusedElement",n=>{});H(this,"_onKeyDown",n=>{if(n.key!==k2.Tab||n.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const s=this._tabster,c=s.controlTab,u=kt.getTabsterContext(s,a);if(!u||u.ignoreKeydown(n))return;const d=n.shiftKey,g=Tt.findNextTabbable(s,u,void 0,a,void 0,d,!0),p=u.root.getElement();if(!p)return;const m=g==null?void 0:g.element,v=oT(s,a);if(m){const S=g.uncontrolled;if(u.uncontrolled||de.nodeContains(S,a)){if(!g.outOfDOMOrder&&S===u.uncontrolled||v&&!de.nodeContains(v,m))return;Bu.addPhantomDummyWithTarget(s,a,d,m);return}if(S&&s.focusable.isVisible(S)||m.tagName==="IFRAME"&&s.focusable.isVisible(m)){p.dispatchEvent(new rs({by:"root",owner:p,next:m,relatedEvent:n}))&&Bu.moveWithPhantomDummy(s,S??m,!1,d,n);return}(c||g!=null&&g.outOfDOMOrder)&&p.dispatchEvent(new rs({by:"root",owner:p,next:m,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),Na(m))}else!v&&p.dispatchEvent(new rs({by:"root",owner:p,next:null,relatedEvent:n}))&&u.root.moveOutWithDefaultAction(d,n)});H(this,"_onChanged",(n,a)=>{var s,c;if(n)n.dispatchEvent(new dz(a));else{const u=(s=this._lastVal)==null?void 0:s.get();if(u){const d={...a},g=kt.getTabsterContext(this._tabster,u),p=(c=g==null?void 0:g.modalizer)==null?void 0:c.userId;p&&(d.modalizerId=p),u.dispatchEvent(new hz(d))}}});this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(_o,this._onFocusIn,!0),a.removeEventListener(cs,this._onFocusOut,!0),n.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const s=this._asyncFocus;s&&(n.clearTimeout(s.timeout),delete this._asyncFocus),delete Tt._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(n,a){var u,d;let s=Tt._lastResetElement,c=s&&s.get();c&&de.nodeContains(a,c)&&delete Tt._lastResetElement,c=(d=(u=n._nextVal)==null?void 0:u.element)==null?void 0:d.get(),c&&de.nodeContains(a,c)&&delete n._nextVal,s=n._lastVal,c=s&&s.get(),c&&de.nodeContains(a,c)&&delete n._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var a;let n=(a=this._lastVal)==null?void 0:a.get();return(!n||n&&!y2(n.ownerDocument,n))&&(this._lastVal=n=void 0),n}focus(n,a,s,c){return this._tabster.focusable.isFocusable(n,a,!1,s)?(n.focus({preventScroll:c}),!0):!1}focusDefault(n){const a=this._tabster.focusable.findDefault({container:n});return a?(this._tabster.focusedElement.focus(a),!0):!1}getFirstOrLastTabbable(n,a){var d;const{container:s,ignoreAccessibility:c}=a;let u;if(s){const g=kt.getTabsterContext(this._tabster,s);g&&(u=(d=Tt.findNextTabbable(this._tabster,g,s,void 0,void 0,!n,c))==null?void 0:d.element)}return u&&!de.nodeContains(s,u)&&(u=void 0),u||void 0}_focusFirstOrLast(n,a){const s=this.getFirstOrLastTabbable(n,a);return s?(this.focus(s,!1,!0),!0):!1}focusFirst(n){return this._focusFirstOrLast(!0,n)}focusLast(n){return this._focusFirstOrLast(!1,n)}resetFocus(n){if(!this._tabster.focusable.isVisible(n))return!1;if(this._tabster.focusable.isFocusable(n,!0,!0,!0))this.focus(n);else{const a=n.getAttribute("tabindex"),s=n.getAttribute("aria-hidden");n.tabIndex=-1,n.setAttribute("aria-hidden","true"),Tt._lastResetElement=new rr(n),this.focus(n,!0,!0),this._setOrRemoveAttribute(n,"tabindex",a),this._setOrRemoveAttribute(n,"aria-hidden",s)}return!0}requestAsyncFocus(n,a,s){const c=this._tabster.getWindow(),u=this._asyncFocus;if(u){if(Fb[n]>Fb[u.source])return;c.clearTimeout(u.timeout)}this._asyncFocus={source:n,callback:a,timeout:c.setTimeout(()=>{this._asyncFocus=void 0,a()},s)}}cancelAsyncFocus(n){const a=this._asyncFocus;(a==null?void 0:a.source)===n&&(this._tabster.getWindow().clearTimeout(a.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(n,a,s){s===null?n.removeAttribute(a):n.setAttribute(a,s)}_setFocusedElement(n,a,s){var d,g;if(this._tabster._noop)return;const c={relatedTarget:a};if(n){const p=(d=Tt._lastResetElement)==null?void 0:d.get();if(Tt._lastResetElement=void 0,p===n||b2(n))return;c.isFocusedProgrammatically=s;const m=kt.getTabsterContext(this._tabster,n),v=(g=m==null?void 0:m.modalizer)==null?void 0:g.userId;v&&(c.modalizerId=v)}const u=this._nextVal={element:n?new 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,s,c,u,d,g){const p=s||a.root.getElement();if(!p)return null;let m=null;const v=Tt._isTabbingTimer,S=n.getWindow();v&&S.clearTimeout(v),Tt.isTabbing=!0,Tt._isTabbingTimer=S.setTimeout(()=>{delete Tt._isTabbingTimer,Tt.isTabbing=!1},0);const k=a.modalizer,w=a.groupper,x=a.mover,z=T=>{if(m=T.findNextTabbable(c,u,d,g),c&&!(m!=null&&m.element)){const j=T!==k&&de.getParentElement(T.getElement());if(j){const N=kt.getTabsterContext(n,c,{referenceElement:j});if(N){const C=T.getElement(),E=d?C:C&&x2(C)||C;E&&(m=Tt.findNextTabbable(n,N,s,E,j,d,g),m&&(m.outOfDOMOrder=!0))}}}};if(w&&x)z(a.groupperBeforeMover?w:x);else if(w)z(w);else if(x)z(x);else if(k)z(k);else{const T={container:p,currentElement:c,referenceElement:u,ignoreAccessibility:g,useActiveModalizer:!0},j={};m={element:n.focusable[d?"findPrev":"findNext"](T,j),outOfDOMOrder:j.outOfDOMOrder,uncontrolled:j.uncontrolled}}return m}};H(Tt,"_lastResetElement"),H(Tt,"_isTabbingTimer"),H(Tt,"isTabbing",!1);let us=Tt;/*!
102
+ */function oT(e,r){var s;const n=e.getParent;let a=r;do{const c=(s=Vo(e,a))==null?void 0:s.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(a,!!c.completely))return a;a=n(a)}while(a)}const Hb={[wi.Restorer]:0,[wi.Deloser]:1,[wi.EscapeGroupper]:2},Tt=class Tt extends _2{constructor(n,a){super();H(this,"_tabster");H(this,"_win");H(this,"_nextVal");H(this,"_lastVal");H(this,"_asyncFocus");H(this,"_init",()=>{const n=this._win(),a=n.document;a.addEventListener(_o,this._onFocusIn,!0),a.addEventListener(fs,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const s=de.getActiveElement(a);s&&s!==a.body&&this._setFocusedElement(s),this.subscribe(this._onChanged)});H(this,"_onFocusIn",n=>{const a=n.composedPath()[0];a&&this._setFocusedElement(a,n.detail.relatedTarget,n.detail.isFocusedProgrammatically)});H(this,"_onFocusOut",n=>{var a;this._setFocusedElement(void 0,(a=n.detail)==null?void 0:a.originalEvent.relatedTarget)});H(this,"_validateFocusedElement",n=>{});H(this,"_onKeyDown",n=>{if(n.key!==B2.Tab||n.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const s=this._tabster,c=s.controlTab,u=kt.getTabsterContext(s,a);if(!u||u.ignoreKeydown(n))return;const d=n.shiftKey,g=Tt.findNextTabbable(s,u,void 0,a,void 0,d,!0),p=u.root.getElement();if(!p)return;const m=g==null?void 0:g.element,v=oT(s,a);if(m){const S=g.uncontrolled;if(u.uncontrolled||de.nodeContains(S,a)){if(!g.outOfDOMOrder&&S===u.uncontrolled||v&&!de.nodeContains(v,m))return;Bu.addPhantomDummyWithTarget(s,a,d,m);return}if(S&&s.focusable.isVisible(S)||m.tagName==="IFRAME"&&s.focusable.isVisible(m)){p.dispatchEvent(new as({by:"root",owner:p,next:m,relatedEvent:n}))&&Bu.moveWithPhantomDummy(s,S??m,!1,d,n);return}(c||g!=null&&g.outOfDOMOrder)&&p.dispatchEvent(new as({by:"root",owner:p,next:m,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),Na(m))}else!v&&p.dispatchEvent(new as({by:"root",owner:p,next:null,relatedEvent:n}))&&u.root.moveOutWithDefaultAction(d,n)});H(this,"_onChanged",(n,a)=>{var s,c;if(n)n.dispatchEvent(new dz(a));else{const u=(s=this._lastVal)==null?void 0:s.get();if(u){const d={...a},g=kt.getTabsterContext(this._tabster,u),p=(c=g==null?void 0:g.modalizer)==null?void 0:c.userId;p&&(d.modalizerId=p),u.dispatchEvent(new hz(d))}}});this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(_o,this._onFocusIn,!0),a.removeEventListener(fs,this._onFocusOut,!0),n.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const s=this._asyncFocus;s&&(n.clearTimeout(s.timeout),delete this._asyncFocus),delete Tt._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(n,a){var u,d;let s=Tt._lastResetElement,c=s&&s.get();c&&de.nodeContains(a,c)&&delete Tt._lastResetElement,c=(d=(u=n._nextVal)==null?void 0:u.element)==null?void 0:d.get(),c&&de.nodeContains(a,c)&&delete n._nextVal,s=n._lastVal,c=s&&s.get(),c&&de.nodeContains(a,c)&&delete n._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var a;let n=(a=this._lastVal)==null?void 0:a.get();return(!n||n&&!x2(n.ownerDocument,n))&&(this._lastVal=n=void 0),n}focus(n,a,s,c){return this._tabster.focusable.isFocusable(n,a,!1,s)?(n.focus({preventScroll:c}),!0):!1}focusDefault(n){const a=this._tabster.focusable.findDefault({container:n});return a?(this._tabster.focusedElement.focus(a),!0):!1}getFirstOrLastTabbable(n,a){var d;const{container:s,ignoreAccessibility:c}=a;let u;if(s){const g=kt.getTabsterContext(this._tabster,s);g&&(u=(d=Tt.findNextTabbable(this._tabster,g,s,void 0,void 0,!n,c))==null?void 0:d.element)}return u&&!de.nodeContains(s,u)&&(u=void 0),u||void 0}_focusFirstOrLast(n,a){const s=this.getFirstOrLastTabbable(n,a);return s?(this.focus(s,!1,!0),!0):!1}focusFirst(n){return this._focusFirstOrLast(!0,n)}focusLast(n){return this._focusFirstOrLast(!1,n)}resetFocus(n){if(!this._tabster.focusable.isVisible(n))return!1;if(this._tabster.focusable.isFocusable(n,!0,!0,!0))this.focus(n);else{const a=n.getAttribute("tabindex"),s=n.getAttribute("aria-hidden");n.tabIndex=-1,n.setAttribute("aria-hidden","true"),Tt._lastResetElement=new rr(n),this.focus(n,!0,!0),this._setOrRemoveAttribute(n,"tabindex",a),this._setOrRemoveAttribute(n,"aria-hidden",s)}return!0}requestAsyncFocus(n,a,s){const c=this._tabster.getWindow(),u=this._asyncFocus;if(u){if(Hb[n]>Hb[u.source])return;c.clearTimeout(u.timeout)}this._asyncFocus={source:n,callback:a,timeout:c.setTimeout(()=>{this._asyncFocus=void 0,a()},s)}}cancelAsyncFocus(n){const a=this._asyncFocus;(a==null?void 0:a.source)===n&&(this._tabster.getWindow().clearTimeout(a.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(n,a,s){s===null?n.removeAttribute(a):n.setAttribute(a,s)}_setFocusedElement(n,a,s){var d,g;if(this._tabster._noop)return;const c={relatedTarget:a};if(n){const p=(d=Tt._lastResetElement)==null?void 0:d.get();if(Tt._lastResetElement=void 0,p===n||y2(n))return;c.isFocusedProgrammatically=s;const m=kt.getTabsterContext(this._tabster,n),v=(g=m==null?void 0:m.modalizer)==null?void 0:g.userId;v&&(c.modalizerId=v)}const u=this._nextVal={element:n?new 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,s,c,u,d,g){const p=s||a.root.getElement();if(!p)return null;let m=null;const v=Tt._isTabbingTimer,S=n.getWindow();v&&S.clearTimeout(v),Tt.isTabbing=!0,Tt._isTabbingTimer=S.setTimeout(()=>{delete Tt._isTabbingTimer,Tt.isTabbing=!1},0);const k=a.modalizer,w=a.groupper,x=a.mover,z=T=>{if(m=T.findNextTabbable(c,u,d,g),c&&!(m!=null&&m.element)){const j=T!==k&&de.getParentElement(T.getElement());if(j){const N=kt.getTabsterContext(n,c,{referenceElement:j});if(N){const C=T.getElement(),E=d?C:C&&S2(C)||C;E&&(m=Tt.findNextTabbable(n,N,s,E,j,d,g),m&&(m.outOfDOMOrder=!0))}}}};if(w&&x)z(a.groupperBeforeMover?w:x);else if(w)z(w);else if(x)z(x);else if(k)z(k);else{const T={container:p,currentElement:c,referenceElement:u,ignoreAccessibility:g,useActiveModalizer:!0},j={};m={element:n.focusable[d?"findPrev":"findNext"](T,j),outOfDOMOrder:j.outOfDOMOrder,uncontrolled:j.uncontrolled}}return m}};H(Tt,"_lastResetElement"),H(Tt,"_isTabbingTimer"),H(Tt,"isTabbing",!1);let ds=Tt;/*!
103
103
  * Copyright (c) Microsoft Corporation. All rights reserved.
104
104
  * Licensed under the MIT License.
105
- */class rT extends B2{constructor(n){super();H(this,"_keyborg");H(this,"_onChange",n=>{this.setVal(n,void 0)});this._keyborg=Wu(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Qu(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 rT extends _2{constructor(n){super();H(this,"_keyborg");H(this,"_onChange",n=>{this.setVal(n,void 0)});this._keyborg=Wu(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Qu(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 nT(e,r,n,a){if(typeof MutationObserver>"u")return()=>{};const s=r.getWindow;let c;const u=m=>{var S,k,w,x,z;const v=new Set;for(const T of m){const j=T.target,N=T.removedNodes,C=T.addedNodes;if(T.type==="attributes")T.attributeName===Pn&&(v.has(j)||n(r,j));else{for(let E=0;E<N.length;E++){const M=N[E];v.add(M),d(M,!0),(k=(S=r._dummyObserver).domChanged)==null||k.call(S,j)}for(let E=0;E<C.length;E++)d(C[E]),(x=(w=r._dummyObserver).domChanged)==null||x.call(w,j)}}v.clear(),(z=r.modalizer)==null||z.hiddenUpdate()};function d(m,v){c||(c=ag(s).elementByUId),g(m,v);const S=v2(e,m,k=>g(k,v));if(S)for(;S.nextNode(););}function g(m,v){if(!m.getAttribute)return NodeFilter.FILTER_SKIP;const S=m.__tabsterElementUID;return S&&c&&(v?delete c[S]:c[S]??(c[S]=new rr(m))),(Vo(r,m)||m.hasAttribute(Pn))&&n(r,m,v),NodeFilter.FILTER_SKIP}const p=de.createMutationObserver(u);return a&&d(s().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Pn]}),()=>{p.disconnect()}}/*!
108
+ */function nT(e,r,n,a){if(typeof MutationObserver>"u")return()=>{};const s=r.getWindow;let c;const u=m=>{var S,k,w,x,z;const v=new Set;for(const T of m){const j=T.target,N=T.removedNodes,C=T.addedNodes;if(T.type==="attributes")T.attributeName===Pn&&(v.has(j)||n(r,j));else{for(let E=0;E<N.length;E++){const M=N[E];v.add(M),d(M,!0),(k=(S=r._dummyObserver).domChanged)==null||k.call(S,j)}for(let E=0;E<C.length;E++)d(C[E]),(x=(w=r._dummyObserver).domChanged)==null||x.call(w,j)}}v.clear(),(z=r.modalizer)==null||z.hiddenUpdate()};function d(m,v){c||(c=ig(s).elementByUId),g(m,v);const S=b2(e,m,k=>g(k,v));if(S)for(;S.nextNode(););}function g(m,v){if(!m.getAttribute)return NodeFilter.FILTER_SKIP;const S=m.__tabsterElementUID;return S&&c&&(v?delete c[S]:c[S]??(c[S]=new rr(m))),(Vo(r,m)||m.hasAttribute(Pn))&&n(r,m,v),NodeFilter.FILTER_SKIP}const p=de.createMutationObserver(u);return a&&d(s().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Pn]}),()=>{p.disconnect()}}/*!
109
109
  * Copyright (c) Microsoft Corporation. All rights reserved.
110
110
  * Licensed under the MIT License.
111
111
  */class aT{constructor(r){H(this,"_isUncontrolledCompletely");this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,n){var s;const a=(s=this._isUncontrolledCompletely)==null?void 0:s.call(this,r,n);return a===void 0?n:a}}/*!
112
112
  * Copyright (c) Microsoft Corporation. All rights reserved.
113
113
  * Licensed under the MIT License.
114
- */let iT=0;const Gh="aria-hidden";class lT extends Bu{constructor(r,n,a){super(n,r,S2.Modalizer,a),this._setHandlers((s,c)=>{var m,v;const u=r.get(),d=u&&((m=kt.getRoot(n,u))==null?void 0:m.getElement()),g=s.input;let p;if(d&&g){const S=lg(g),k=kt.getTabsterContext(n,S||g);k&&(p=(v=us.findNextTabbable(n,k,d,g,void 0,c,!0))==null?void 0:v.element),p&&Na(p)}})}}class sT extends ig{constructor(n,a,s,c,u,d){super(n,a,c);H(this,"userId");H(this,"_isActive");H(this,"_wasFocused",0);H(this,"_onDispose");H(this,"_activeElements");H(this,"dummyManager");this.userId=c.id,this._onDispose=s,this._activeElements=d,n.controlTab||(this.dummyManager=new lT(this._element,n,u))}makeActive(n){if(this._isActive!==n){this._isActive=n;const a=this.getElement();if(a){const s=this._activeElements,c=s.map(u=>u.get()).indexOf(a);n?c<0&&s.push(new rr(a)):c>=0&&s.splice(c,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++iT),this._wasFocused}setProps(n){n.id&&(this.userId=n.id),this._props={...n}}dispose(){var n;this.makeActive(!1),this._onDispose(this),(n=this.dummyManager)==null||n.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(n){return de.nodeContains(this.getElement(),n)}findNextTabbable(n,a,s,c){var S,k;if(!this.getElement())return null;const d=this._tabster;let g=null,p=!1,m;const v=n&&((S=kt.getRoot(d,n))==null?void 0:S.getElement());if(v){const w={container:v,currentElement:n,referenceElement:a,ignoreAccessibility:c,useActiveModalizer:!0},x={};g=d.focusable[s?"findPrev":"findNext"](w,x),!g&&this._props.isTrapped&&((k=d.modalizer)!=null&&k.activeId)?(g=d.focusable[s?"findLast":"findFirst"]({container:v,ignoreAccessibility:c,useActiveModalizer:!0},x),g===null&&(g=n),p=!0):p=!!x.outOfDOMOrder,m=x.uncontrolled}return{element:g,uncontrolled:m,outOfDOMOrder:p}}_dispatchEvent(n,a){const s=this.getElement();let c=!1;if(s){const u=a?this._activeElements.map(d=>d.get()):[s];for(const d of u)if(d){const g={id:this.userId,element:s},p=n?new gz(g):new pz(g);d.dispatchEvent(p),p.defaultPrevented&&(c=!0)}}return c}_remove(){}}class cT{constructor(r,n,a){H(this,"_tabster");H(this,"_win");H(this,"_restoreModalizerFocusTimer");H(this,"_modalizers");H(this,"_parts");H(this,"_augMap");H(this,"_aug");H(this,"_hiddenUpdateTimer");H(this,"_alwaysAccessibleSelector");H(this,"_accessibleCheck");H(this,"_activationHistory");H(this,"activeId");H(this,"currentIsOthersAccessible");H(this,"activeElements");H(this,"_onModalizerDispose",r=>{const n=r.id,a=r.userId,s=this._parts[a];if(delete this._modalizers[n],s&&(delete s[n],Object.keys(s).length===0)){delete this._parts[a];const c=this._activationHistory,u=[];let d;for(let g=c.length;g--;){const p=c[g];p!==a&&p!==d&&(d=p,(p||u.length>0)&&u.unshift(p))}if(this._activationHistory=u,this.activeId===a){const g=u[0],p=g?Object.values(this._parts[g])[0]:void 0;this.setActive(p)}}});H(this,"_onKeyDown",r=>{var s;if(r.key!==k2.Escape)return;const n=this._tabster,a=n.focusedElement.getFocusedElement();if(a){const c=kt.getTabsterContext(n,a),u=c==null?void 0:c.modalizer;if(c&&!c.groupper&&(u!=null&&u.isActive())&&!c.ignoreKeydown(r)){const d=u.userId;if(d){const g=this._parts[d];if(g){const p=Object.keys(g).map(m=>{var w;const v=g[m],S=v.getElement();let k;return S&&(k=(w=Vo(n,S))==null?void 0:w.groupper),v&&S&&k?{el:S,focusedSince:v.focused(!0)}:{focusedSince:0}}).filter(m=>m.focusedSince>0).sort((m,v)=>m.focusedSince>v.focusedSince?-1:m.focusedSince<v.focusedSince?1:0);if(p.length){const m=p[0].el;m&&((s=n.groupper)==null||s.handleKeyPress(m,r,!0))}}}}}});H(this,"_onFocus",(r,n)=>{var p;const a=this._tabster,s=r&&kt.getTabsterContext(a,r);if(!s||!r)return;const c=this._augMap;for(let m=r;m;m=de.getParentElement(m))c.has(m)&&(c.delete(m),Uh(a,m,Gh));let u=s.modalizer;const d=Vo(a,r),g=d==null?void 0:d.modalizer;if(g&&(g.focused(),g.userId===this.activeId&&d.groupper)){const m=a.getParent(r),v=m&&((p=kt.getTabsterContext(a,m))==null?void 0:p.modalizer);if(v)u=v;else{this.setActive(void 0);return}}if(u==null||u.focused(),(u==null?void 0:u.userId)===this.activeId){this.currentIsOthersAccessible=u==null?void 0:u.getProps().isOthersAccessible;return}if(n.isFocusedProgrammatically||this.currentIsOthersAccessible||u!=null&&u.getProps().isAlwaysAccessible)this.setActive(u);else{const m=this._win();m.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=m.setTimeout(()=>this._restoreModalizerFocus(r),100)}});this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=n,this._accessibleCheck=a,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(n=>{this._modalizers[n]&&(this._modalizers[n].dispose(),delete this._modalizers[n])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,n,a){const s=new sT(this._tabster,r,this._onModalizerDispose,n,a,this.activeElements),c=s.id,u=n.id;this._modalizers[c]=s;let d=this._parts[u];d||(d=this._parts[u]={}),d[c]=s;const g=this._tabster.focusedElement.getFocusedElement()??null;return r!==g&&de.nodeContains(r,g)&&(u!==this.activeId?this.setActive(s):s.makeActive(!0)),s}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const n=r==null?void 0:r.userId,a=this.activeId;if(a===n)return;if(this.activeId=n,a){const c=this._parts[a];if(c)for(const u of Object.keys(c))c[u].makeActive(!1)}if(n){const c=this._parts[n];if(c)for(const u of Object.keys(c))c[u].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const s=this._activationHistory;s[0]!==n&&(n!==void 0||s.length>0)&&s.unshift(n)}focus(r,n,a){const s=this._tabster,c=kt.getTabsterContext(s,r),u=c==null?void 0:c.modalizer;if(u){this.setActive(u);const d=u.getProps(),g=u.getElement();if(g){if(n===void 0&&(n=d.isNoFocusFirst),!n&&s.keyboardNavigation.isNavigatingWithKeyboard()&&s.focusedElement.focusFirst({container:g})||(a===void 0&&(a=d.isNoFocusDefault),!a&&s.focusedElement.focusDefault(g)))return!0;s.focusedElement.resetFocus(g)}}return!1}activate(r){var a;const n=r?(a=kt.getTabsterContext(this._tabster,r))==null?void 0:a.modalizer:void 0;return!r||n?(this.setActive(n),!0):!1}acceptElement(r,n){var u;const a=n.modalizerUserId,s=(u=n.currentCtx)==null?void 0:u.modalizer;if(a)for(const d of this.activeElements){const g=d.get();if(g&&(de.nodeContains(r,g)||g===r))return NodeFilter.FILTER_SKIP}const c=a===(s==null?void 0:s.userId)||!a&&(s!=null&&s.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return c!==void 0&&(n.skippedFocusable=!0),c}_hiddenUpdate(){var z;const r=this._tabster,n=r.getWindow().document.body,a=this.activeId,s=this._parts,c=[],u=[],d=this._alwaysAccessibleSelector,g=d?Array.from(de.querySelectorAll(n,d)):[],p=[];for(const T of Object.keys(s)){const j=s[T];for(const N of Object.keys(j)){const C=j[N],E=C.getElement(),Q=C.getProps().isAlwaysAccessible;E&&(T===a?(p.push(E),this.currentIsOthersAccessible||c.push(E)):Q?g.push(E):u.push(E))}}const m=this._augMap,v=c.length>0?[...c,...g]:void 0,S=[],k=new WeakMap,w=(T,j)=>{var E;const N=T.tagName;if(N==="SCRIPT"||N==="STYLE")return;let C=!1;m.has(T)?j?C=!0:(m.delete(T),Uh(r,T,Gh)):j&&!((E=this._accessibleCheck)!=null&&E.call(this,T,p))&&Uh(r,T,Gh,"true")&&(m.set(T,!0),C=!0),C&&(S.push(new rr(T)),k.set(T,!0))},x=T=>{var j;for(let N=de.getFirstElementChild(T);N;N=de.getNextElementSibling(N)){let C=!1,E=!1,M=!1;if(v){const Q=r.getParent(N);for(const G of v){if(N===G){C=!0;break}if(de.nodeContains(N,G)){E=!0;break}else de.nodeContains(G,Q)&&(M=!0)}E||(j=N.__tabsterElementFlags)!=null&&j.noDirectAriaHidden?x(N):!C&&!M&&w(N,!0)}else w(N,!1)}};v||g.forEach(T=>w(T,!1)),u.forEach(T=>w(T,!0)),n&&x(n),(z=this._aug)==null||z.map(T=>T.get()).forEach(T=>{T&&!k.get(T)&&w(T,!1)}),this._aug=S,this._augMap=k}_restoreModalizerFocus(r){var m;const n=r==null?void 0:r.ownerDocument;if(!r||!n)return;const a=this._tabster.focusedElement.getFocusedElement(),s=a&&((m=kt.getTabsterContext(this._tabster,a))==null?void 0:m.modalizer);if(!a||a&&(s==null?void 0:s.userId)===this.activeId)return;const c=this._tabster,u=kt.getTabsterContext(c,r),d=u==null?void 0:u.modalizer,g=this.activeId;if(!d&&!g||d&&g===d.userId)return;const p=u==null?void 0:u.root.getElement();if(p){let v=c.focusable.findFirst({container:p,useActiveModalizer:!0});if(v){if(r.compareDocumentPosition(v)&document.DOCUMENT_POSITION_PRECEDING&&(v=c.focusable.findLast({container:p,useActiveModalizer:!0}),!v))throw new Error("Something went wrong.");c.focusedElement.focus(v);return}}r.blur()}}/*!
114
+ */let iT=0;const Gh="aria-hidden";class lT extends Bu{constructor(r,n,a){super(n,r,w2.Modalizer,a),this._setHandlers((s,c)=>{var m,v;const u=r.get(),d=u&&((m=kt.getRoot(n,u))==null?void 0:m.getElement()),g=s.input;let p;if(d&&g){const S=sg(g),k=kt.getTabsterContext(n,S||g);k&&(p=(v=ds.findNextTabbable(n,k,d,g,void 0,c,!0))==null?void 0:v.element),p&&Na(p)}})}}class sT extends lg{constructor(n,a,s,c,u,d){super(n,a,c);H(this,"userId");H(this,"_isActive");H(this,"_wasFocused",0);H(this,"_onDispose");H(this,"_activeElements");H(this,"dummyManager");this.userId=c.id,this._onDispose=s,this._activeElements=d,n.controlTab||(this.dummyManager=new lT(this._element,n,u))}makeActive(n){if(this._isActive!==n){this._isActive=n;const a=this.getElement();if(a){const s=this._activeElements,c=s.map(u=>u.get()).indexOf(a);n?c<0&&s.push(new rr(a)):c>=0&&s.splice(c,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++iT),this._wasFocused}setProps(n){n.id&&(this.userId=n.id),this._props={...n}}dispose(){var n;this.makeActive(!1),this._onDispose(this),(n=this.dummyManager)==null||n.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(n){return de.nodeContains(this.getElement(),n)}findNextTabbable(n,a,s,c){var S,k;if(!this.getElement())return null;const d=this._tabster;let g=null,p=!1,m;const v=n&&((S=kt.getRoot(d,n))==null?void 0:S.getElement());if(v){const w={container:v,currentElement:n,referenceElement:a,ignoreAccessibility:c,useActiveModalizer:!0},x={};g=d.focusable[s?"findPrev":"findNext"](w,x),!g&&this._props.isTrapped&&((k=d.modalizer)!=null&&k.activeId)?(g=d.focusable[s?"findLast":"findFirst"]({container:v,ignoreAccessibility:c,useActiveModalizer:!0},x),g===null&&(g=n),p=!0):p=!!x.outOfDOMOrder,m=x.uncontrolled}return{element:g,uncontrolled:m,outOfDOMOrder:p}}_dispatchEvent(n,a){const s=this.getElement();let c=!1;if(s){const u=a?this._activeElements.map(d=>d.get()):[s];for(const d of u)if(d){const g={id:this.userId,element:s},p=n?new gz(g):new pz(g);d.dispatchEvent(p),p.defaultPrevented&&(c=!0)}}return c}_remove(){}}class cT{constructor(r,n,a){H(this,"_tabster");H(this,"_win");H(this,"_restoreModalizerFocusTimer");H(this,"_modalizers");H(this,"_parts");H(this,"_augMap");H(this,"_aug");H(this,"_hiddenUpdateTimer");H(this,"_alwaysAccessibleSelector");H(this,"_accessibleCheck");H(this,"_activationHistory");H(this,"activeId");H(this,"currentIsOthersAccessible");H(this,"activeElements");H(this,"_onModalizerDispose",r=>{const n=r.id,a=r.userId,s=this._parts[a];if(delete this._modalizers[n],s&&(delete s[n],Object.keys(s).length===0)){delete this._parts[a];const c=this._activationHistory,u=[];let d;for(let g=c.length;g--;){const p=c[g];p!==a&&p!==d&&(d=p,(p||u.length>0)&&u.unshift(p))}if(this._activationHistory=u,this.activeId===a){const g=u[0],p=g?Object.values(this._parts[g])[0]:void 0;this.setActive(p)}}});H(this,"_onKeyDown",r=>{var s;if(r.key!==B2.Escape)return;const n=this._tabster,a=n.focusedElement.getFocusedElement();if(a){const c=kt.getTabsterContext(n,a),u=c==null?void 0:c.modalizer;if(c&&!c.groupper&&(u!=null&&u.isActive())&&!c.ignoreKeydown(r)){const d=u.userId;if(d){const g=this._parts[d];if(g){const p=Object.keys(g).map(m=>{var w;const v=g[m],S=v.getElement();let k;return S&&(k=(w=Vo(n,S))==null?void 0:w.groupper),v&&S&&k?{el:S,focusedSince:v.focused(!0)}:{focusedSince:0}}).filter(m=>m.focusedSince>0).sort((m,v)=>m.focusedSince>v.focusedSince?-1:m.focusedSince<v.focusedSince?1:0);if(p.length){const m=p[0].el;m&&((s=n.groupper)==null||s.handleKeyPress(m,r,!0))}}}}}});H(this,"_onFocus",(r,n)=>{var p;const a=this._tabster,s=r&&kt.getTabsterContext(a,r);if(!s||!r)return;const c=this._augMap;for(let m=r;m;m=de.getParentElement(m))c.has(m)&&(c.delete(m),Uh(a,m,Gh));let u=s.modalizer;const d=Vo(a,r),g=d==null?void 0:d.modalizer;if(g&&(g.focused(),g.userId===this.activeId&&d.groupper)){const m=a.getParent(r),v=m&&((p=kt.getTabsterContext(a,m))==null?void 0:p.modalizer);if(v)u=v;else{this.setActive(void 0);return}}if(u==null||u.focused(),(u==null?void 0:u.userId)===this.activeId){this.currentIsOthersAccessible=u==null?void 0:u.getProps().isOthersAccessible;return}if(n.isFocusedProgrammatically||this.currentIsOthersAccessible||u!=null&&u.getProps().isAlwaysAccessible)this.setActive(u);else{const m=this._win();m.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=m.setTimeout(()=>this._restoreModalizerFocus(r),100)}});this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=n,this._accessibleCheck=a,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(n=>{this._modalizers[n]&&(this._modalizers[n].dispose(),delete this._modalizers[n])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,n,a){const s=new sT(this._tabster,r,this._onModalizerDispose,n,a,this.activeElements),c=s.id,u=n.id;this._modalizers[c]=s;let d=this._parts[u];d||(d=this._parts[u]={}),d[c]=s;const g=this._tabster.focusedElement.getFocusedElement()??null;return r!==g&&de.nodeContains(r,g)&&(u!==this.activeId?this.setActive(s):s.makeActive(!0)),s}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const n=r==null?void 0:r.userId,a=this.activeId;if(a===n)return;if(this.activeId=n,a){const c=this._parts[a];if(c)for(const u of Object.keys(c))c[u].makeActive(!1)}if(n){const c=this._parts[n];if(c)for(const u of Object.keys(c))c[u].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const s=this._activationHistory;s[0]!==n&&(n!==void 0||s.length>0)&&s.unshift(n)}focus(r,n,a){const s=this._tabster,c=kt.getTabsterContext(s,r),u=c==null?void 0:c.modalizer;if(u){this.setActive(u);const d=u.getProps(),g=u.getElement();if(g){if(n===void 0&&(n=d.isNoFocusFirst),!n&&s.keyboardNavigation.isNavigatingWithKeyboard()&&s.focusedElement.focusFirst({container:g})||(a===void 0&&(a=d.isNoFocusDefault),!a&&s.focusedElement.focusDefault(g)))return!0;s.focusedElement.resetFocus(g)}}return!1}activate(r){var a;const n=r?(a=kt.getTabsterContext(this._tabster,r))==null?void 0:a.modalizer:void 0;return!r||n?(this.setActive(n),!0):!1}acceptElement(r,n){var u;const a=n.modalizerUserId,s=(u=n.currentCtx)==null?void 0:u.modalizer;if(a)for(const d of this.activeElements){const g=d.get();if(g&&(de.nodeContains(r,g)||g===r))return NodeFilter.FILTER_SKIP}const c=a===(s==null?void 0:s.userId)||!a&&(s!=null&&s.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return c!==void 0&&(n.skippedFocusable=!0),c}_hiddenUpdate(){var z;const r=this._tabster,n=r.getWindow().document.body,a=this.activeId,s=this._parts,c=[],u=[],d=this._alwaysAccessibleSelector,g=d?Array.from(de.querySelectorAll(n,d)):[],p=[];for(const T of Object.keys(s)){const j=s[T];for(const N of Object.keys(j)){const C=j[N],E=C.getElement(),W=C.getProps().isAlwaysAccessible;E&&(T===a?(p.push(E),this.currentIsOthersAccessible||c.push(E)):W?g.push(E):u.push(E))}}const m=this._augMap,v=c.length>0?[...c,...g]:void 0,S=[],k=new WeakMap,w=(T,j)=>{var E;const N=T.tagName;if(N==="SCRIPT"||N==="STYLE")return;let C=!1;m.has(T)?j?C=!0:(m.delete(T),Uh(r,T,Gh)):j&&!((E=this._accessibleCheck)!=null&&E.call(this,T,p))&&Uh(r,T,Gh,"true")&&(m.set(T,!0),C=!0),C&&(S.push(new rr(T)),k.set(T,!0))},x=T=>{var j;for(let N=de.getFirstElementChild(T);N;N=de.getNextElementSibling(N)){let C=!1,E=!1,M=!1;if(v){const W=r.getParent(N);for(const G of v){if(N===G){C=!0;break}if(de.nodeContains(N,G)){E=!0;break}else de.nodeContains(G,W)&&(M=!0)}E||(j=N.__tabsterElementFlags)!=null&&j.noDirectAriaHidden?x(N):!C&&!M&&w(N,!0)}else w(N,!1)}};v||g.forEach(T=>w(T,!1)),u.forEach(T=>w(T,!0)),n&&x(n),(z=this._aug)==null||z.map(T=>T.get()).forEach(T=>{T&&!k.get(T)&&w(T,!1)}),this._aug=S,this._augMap=k}_restoreModalizerFocus(r){var m;const n=r==null?void 0:r.ownerDocument;if(!r||!n)return;const a=this._tabster.focusedElement.getFocusedElement(),s=a&&((m=kt.getTabsterContext(this._tabster,a))==null?void 0:m.modalizer);if(!a||a&&(s==null?void 0:s.userId)===this.activeId)return;const c=this._tabster,u=kt.getTabsterContext(c,r),d=u==null?void 0:u.modalizer,g=this.activeId;if(!d&&!g||d&&g===d.userId)return;const p=u==null?void 0:u.root.getElement();if(p){let v=c.focusable.findFirst({container:p,useActiveModalizer:!0});if(v){if(r.compareDocumentPosition(v)&document.DOCUMENT_POSITION_PRECEDING&&(v=c.focusable.findLast({container:p,useActiveModalizer:!0}),!v))throw new Error("Something went wrong.");c.focusedElement.focus(v);return}}r.blur()}}/*!
115
115
  * Copyright (c) Microsoft Corporation. All rights reserved.
116
116
  * Licensed under the MIT License.
117
- */function _2(e,r,n){const a=e.core;if(!a.modalizer){const s=new cT(a,r,n);a.modalizer=s,a.attrHandlers.set("modalizer",(c,u,d,g,p)=>u?d.id&&(g==null?void 0:g.id)!==d.id?(u.dispose(),s.createModalizer(c,d,p)):(u.setProps(d),u):s.createModalizer(c,d,p))}return a.modalizer}/*!
117
+ */function z2(e,r,n){const a=e.core;if(!a.modalizer){const s=new cT(a,r,n);a.modalizer=s,a.attrHandlers.set("modalizer",(c,u,d,g,p)=>u?d.id&&(g==null?void 0:g.id)!==d.id?(u.dispose(),s.createModalizer(c,d,p)):(u.setProps(d),u):s.createModalizer(c,d,p))}return a.modalizer}/*!
118
118
  * Copyright (c) Microsoft Corporation. All rights reserved.
119
119
  * Licensed under the MIT License.
120
- */class uT extends ig{constructor(n,a,s){var c;super(n,a,s);H(this,"_hasFocus",!1);H(this,"_onFocusOut",n=>{var s;const a=(s=this._element)==null?void 0:s.get();a&&n.relatedTarget===null&&a.dispatchEvent(new Ob),a&&!de.nodeContains(a,n.relatedTarget)&&(this._hasFocus=!1)});H(this,"_onFocusIn",()=>{this._hasFocus=!0});if(this._props.type===Ui.Source){const u=(c=this._element)==null?void 0:c.get();u==null||u.addEventListener("focusout",this._onFocusOut),u==null||u.addEventListener("focusin",this._onFocusIn),this._hasFocus=de.nodeContains(u,u&&de.getActiveElement(u.ownerDocument))}}dispose(){var n;if(this._props.type===Ui.Source){const a=(n=this._element)==null?void 0:n.get();a==null||a.removeEventListener("focusout",this._onFocusOut),a==null||a.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Ob)}}}const Au=class Au{constructor(r){H(this,"_stack",[]);H(this,"_getWindow");this._getWindow=r}push(r){var n;((n=this._stack[this._stack.length-1])==null?void 0:n.get())!==r&&(this._stack.length>Au.DEPTH&&this._stack.shift(),this._stack.push(new rr(r)))}pop(r=()=>!0){var a;const n=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const c=(a=this._stack.pop())==null?void 0:a.get();if(c&&de.nodeContains(n.body,de.getParentElement(c))&&r(c))return c}}};H(Au,"DEPTH",10);let _0=Au;class fT{constructor(r){H(this,"_tabster");H(this,"_history");H(this,"_keyboardNavState");H(this,"_focusedElementState");H(this,"_getWindow");H(this,"_onRestoreFocus",r=>{var a,s;this._focusedElementState.cancelAsyncFocus(wi.Restorer);const n=r.composedPath()[0];if(n){const c=(s=(a=Vo(this._tabster,n))==null?void 0:a.restorer)==null?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(wi.Restorer,()=>this._restoreFocus(n,c),0)}});H(this,"_onFocusIn",r=>{var a;if(!r)return;const n=Vo(this._tabster,r);((a=n==null?void 0:n.restorer)==null?void 0:a.getProps().type)===Ui.Target&&this._history.push(r)});H(this,"_restoreFocus",(r,n)=>{var c;const a=this._getWindow().document;if(de.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&de.nodeContains(a.body,r))return;const s=u=>{var g,p;const d=(p=(g=Vo(this._tabster,u))==null?void 0:g.restorer)==null?void 0:p.getProps();return d?d.id:null};(c=this._history.pop(u=>n===s(u)))==null||c.focus()});this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(k0,this._onRestoreFocus),this._history=new _0(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(wi.Restorer),r.removeEventListener(k0,this._onRestoreFocus)}createRestorer(r,n){const a=new uT(this._tabster,r,n);return n.type===Ui.Target&&de.getActiveElement(r.ownerDocument)===r&&this._history.push(r),a}}/*!
120
+ */class uT extends lg{constructor(n,a,s){var c;super(n,a,s);H(this,"_hasFocus",!1);H(this,"_onFocusOut",n=>{var s;const a=(s=this._element)==null?void 0:s.get();a&&n.relatedTarget===null&&a.dispatchEvent(new Mb),a&&!de.nodeContains(a,n.relatedTarget)&&(this._hasFocus=!1)});H(this,"_onFocusIn",()=>{this._hasFocus=!0});if(this._props.type===Ui.Source){const u=(c=this._element)==null?void 0:c.get();u==null||u.addEventListener("focusout",this._onFocusOut),u==null||u.addEventListener("focusin",this._onFocusIn),this._hasFocus=de.nodeContains(u,u&&de.getActiveElement(u.ownerDocument))}}dispose(){var n;if(this._props.type===Ui.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 Mb)}}}const Au=class Au{constructor(r){H(this,"_stack",[]);H(this,"_getWindow");this._getWindow=r}push(r){var n;((n=this._stack[this._stack.length-1])==null?void 0:n.get())!==r&&(this._stack.length>Au.DEPTH&&this._stack.shift(),this._stack.push(new rr(r)))}pop(r=()=>!0){var a;const n=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const c=(a=this._stack.pop())==null?void 0:a.get();if(c&&de.nodeContains(n.body,de.getParentElement(c))&&r(c))return c}}};H(Au,"DEPTH",10);let _0=Au;class fT{constructor(r){H(this,"_tabster");H(this,"_history");H(this,"_keyboardNavState");H(this,"_focusedElementState");H(this,"_getWindow");H(this,"_onRestoreFocus",r=>{var a,s;this._focusedElementState.cancelAsyncFocus(wi.Restorer);const n=r.composedPath()[0];if(n){const c=(s=(a=Vo(this._tabster,n))==null?void 0:a.restorer)==null?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(wi.Restorer,()=>this._restoreFocus(n,c),0)}});H(this,"_onFocusIn",r=>{var a;if(!r)return;const n=Vo(this._tabster,r);((a=n==null?void 0:n.restorer)==null?void 0:a.getProps().type)===Ui.Target&&this._history.push(r)});H(this,"_restoreFocus",(r,n)=>{var c;const a=this._getWindow().document;if(de.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&de.nodeContains(a.body,r))return;const s=u=>{var g,p;const d=(p=(g=Vo(this._tabster,u))==null?void 0:g.restorer)==null?void 0:p.getProps();return d?d.id:null};(c=this._history.pop(u=>n===s(u)))==null||c.focus()});this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(k0,this._onRestoreFocus),this._history=new _0(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(wi.Restorer),r.removeEventListener(k0,this._onRestoreFocus)}createRestorer(r,n){const a=new uT(this._tabster,r,n);return n.type===Ui.Target&&de.getActiveElement(r.ownerDocument)===r&&this._history.push(r),a}}/*!
121
121
  * Copyright (c) Microsoft Corporation. All rights reserved.
122
122
  * Licensed under the MIT License.
123
123
  */function dT(e){const r=e.core;if(!r.restorer){const n=new fT(r);r.restorer=n,r.attrHandlers.set("restorer",(a,s,c)=>s?(s.setProps(c),s):n.createRestorer(a,c))}return r.restorer}/*!
124
124
  * Copyright (c) Microsoft Corporation. All rights reserved.
125
125
  * Licensed under the MIT License.
126
- */class hT{constructor(r){H(this,"keyboardNavigation");H(this,"focusedElement");H(this,"focusable");H(this,"root");H(this,"uncontrolled");H(this,"core");this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class gT{constructor(r,n){H(this,"_storage");H(this,"_unobserve");H(this,"_win");H(this,"_forgetMemorizedTimer");H(this,"_forgetMemorizedElements",[]);H(this,"_wrappers",new Set);H(this,"_initTimer");H(this,"_initQueue",[]);H(this,"_version","8.8.0");H(this,"_noop",!1);H(this,"controlTab");H(this,"rootDummyInputs");H(this,"attrHandlers",new Map);H(this,"keyboardNavigation");H(this,"focusedElement");H(this,"focusable");H(this,"root");H(this,"uncontrolled");H(this,"internal");H(this,"_dummyObserver");H(this,"groupper");H(this,"mover");H(this,"outline");H(this,"deloser");H(this,"modalizer");H(this,"observedElement");H(this,"crossOrigin");H(this,"restorer");H(this,"getParent");H(this,"getWindow",()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win});this._storage=new WeakMap,this._win=r;const a=this.getWindow;n!=null&&n.DOMAPI&&Hz({...n.DOMAPI}),this.keyboardNavigation=new rT(a),this.focusedElement=new us(this,a),this.focusable=new tT(this),this.root=new kt(this,n==null?void 0:n.autoRoot),this.uncontrolled=new aT((n==null?void 0:n.checkUncontrolledCompletely)||(n==null?void 0:n.checkUncontrolledTrappingFocus)),this.controlTab=(n==null?void 0:n.controlTab)??!0,this.rootDummyInputs=!!(n!=null&&n.rootDummyInputs),this._dummyObserver=new $z(a),this.getParent=(n==null?void 0:n.getParent)??de.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const c=a().document;this._unobserve=nT(c,this,m2,s)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){r&&(this.getParent=r.getParent??this.getParent)}createTabster(r,n){const a=new hT(this);return r||this._wrappers.add(a),this._mergeProps(n),a}disposeTabster(r,n){n?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var n,a,s,c,u,d,g,p;this.internal.stopObserver();const r=this._win;r==null||r.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],r&&this._forgetMemorizedTimer&&(r.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(n=this.outline)==null||n.dispose(),(a=this.crossOrigin)==null||a.dispose(),(s=this.deloser)==null||s.dispose(),(c=this.groupper)==null||c.dispose(),(u=this.mover)==null||u.dispose(),(d=this.modalizer)==null||d.dispose(),(g=this.observedElement)==null||g.dispose(),(p=this.restorer)==null||p.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),Mb(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),r&&(Pz(r),delete r.__tabsterInstance,delete this._win)}storageEntry(r,n){const a=this._storage;let s=a.get(r);return s?n===!1&&Object.keys(s).length===0&&a.delete(r):n===!0&&(s={},a.set(r,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())Mb(this.getWindow,r),us.forgetMemorized(this.focusedElement,r)},0)))}queueInit(r){var n;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(n=this._win)==null?void 0:n.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(n=>n())}}function pT(e,r){let n=vT(e);return n?n.createTabster(!1,r):(n=new gT(e,r),e.__tabsterInstance=n,n.createTabster())}function mT(e,r){e.core.disposeTabster(e,r)}function vT(e){return e.__tabsterInstance}const bT=e=>e;function yT(e){const r=(e==null?void 0:e.defaultView)||void 0,n=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return pT(r,{autoRoot:{},controlTab:!1,getParent:f2,checkUncontrolledCompletely:a=>{var s;return((s=a.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:n})}function Yu(e=bT){const{targetDocument:r}=dt(),n=y.useRef(null);return At(()=>{const a=yT(r);if(a)return n.current=e(a),()=>{mT(a),n.current=null}},[r,e]),n}const Hb=e=>{Yu();const r=w2(e);return y.useMemo(()=>({[Pn]:r}),[r])},z2=()=>{const e=Yu(),{targetDocument:r}=dt(),n=y.useCallback((d,g)=>{var p;return d&&((p=e.current)===null||p===void 0?void 0:p.focusable.findAll({container:d,acceptCondition:g}))||[]},[e]),a=y.useCallback(d=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findFirst({container:d}))},[e]),s=y.useCallback(d=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findLast({container:d}))},[e]),c=y.useCallback((d,g={})=>{if(!e.current||!r||!d)return null;const{container:p=r.body}=g;return e.current.focusable.findNext({currentElement:d,container:p})},[e,r]),u=y.useCallback((d,g={})=>{if(!e.current||!r||!d)return null;const{container:p=r.body}=g;return e.current.focusable.findPrev({currentElement:d,container:p})},[e,r]);return{findAllFocusable:n,findFirstFocusable:a,findLastFocusable:s,findNextFocusable:c,findPrevFocusable:u}},Lb="data-fui-focus-visible",T2="data-fui-focus-within";function xT(e,r){if(N2(e))return()=>{};const n={current:void 0},a=Wu(r);function s(g){a.isNavigatingWithKeyboard()&&Vn(g)&&(n.current=g,g.setAttribute(Lb,""))}function c(){n.current&&(n.current.removeAttribute(Lb),n.current=void 0)}a.subscribe(g=>{g?s(r.document.activeElement):c()});const u=g=>{c();const p=g.composedPath()[0];s(p)},d=g=>{(!g.relatedTarget||Vn(g.relatedTarget)&&!e.contains(g.relatedTarget))&&c()};return e.addEventListener(_o,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(r.document.activeElement)&&s(r.document.activeElement),()=>{c(),e.removeEventListener(_o,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,Qu(a)}}function N2(e){return e?e.focusVisible?!0:N2(e==null?void 0:e.parentElement):!1}function C2(e={}){const r=dt(),n=y.useRef(null);var a;const s=(a=e.targetDocument)!==null&&a!==void 0?a:r.targetDocument;return y.useEffect(()=>{if(s!=null&&s.defaultView&&n.current)return xT(n.current,s.defaultView)},[n,s]),n}function ST(e,r){const n=Wu(r);n.subscribe(c=>{c||Pb(e)});const a=c=>{n.isNavigatingWithKeyboard()&&Ib(c.target)&&wT(e)},s=c=>{(!c.relatedTarget||Ib(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Pb(e)};return e.addEventListener(_o,a),e.addEventListener("focusout",s),()=>{e.removeEventListener(_o,a),e.removeEventListener("focusout",s),Qu(n)}}function wT(e){e.setAttribute(T2,"")}function Pb(e){e.removeAttribute(T2)}function Ib(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function E2(){const{targetDocument:e}=dt(),r=y.useRef(null);return y.useEffect(()=>{if(e!=null&&e.defaultView&&r.current)return ST(r.current,e.defaultView)},[r,e]),r}function sg(){const{targetDocument:e}=dt(),r=y.useRef(null);return y.useEffect(()=>{const n=e==null?void 0:e.defaultView;if(n){const a=Wu(n);return r.current=a,()=>{Qu(a),r.current=null}}},[e]),r}function j2(e){const r=sg(),n=_e(e);y.useEffect(()=>{const a=r.current;if(a){const s=c=>{n(c)};return a.subscribe(s),s(a.isNavigatingWithKeyboard()),()=>{a.unsubscribe(s)}}},[r,n])}const kT="data-tabster-never-hide",BT=e=>e.hasAttribute(kT);function _T(e){_2(e,void 0,BT),dT(e)}const $u=(e={})=>{const{trapFocus:r,alwaysFocusable:n,legacyTrapFocus:a}=e;Yu(_T);const s=Xo("modal-",e.id),c=Hb({restorer:{type:Ui.Source},...r&&{modalizer:{id:s,isOthersAccessible:!r,isAlwaysAccessible:n,isTrapped:a&&r}}}),u=Hb({restorer:{type:Ui.Target}});return{modalAttributes:c,triggerAttributes:u}};function zT(){const e=sg();return y.useCallback(()=>{var r,n;return(n=(r=e.current)===null||r===void 0?void 0:r.isNavigatingWithKeyboard())!==null&&n!==void 0?n:!1},[e])}function TT(){const e=sg();return y.useCallback(r=>{var n;(n=e.current)===null||n===void 0||n.setVal(r)},[e])}function NT(){const e=Yu(_2),[r]=rg();return y.useCallback(a=>{r(()=>{var s;(s=e.current)===null||s===void 0||s.activate(a)},0)},[e,r])}const X={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"},It={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)"},Ho={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)"},CT={50:"rgba(26, 26, 26, 0.5)"},ET={70:"rgba(31, 31, 31, 0.7)"},Ub={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Be="#ffffff",pu="#000000",jT={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},R2={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},RT={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},AT={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},DT={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},OT={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},MT={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},qT={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},FT={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},HT={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},LT={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},PT={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},IT={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},UT={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},VT={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},A2={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},GT={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},XT={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},WT={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},QT={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},YT={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},$T={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},KT={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},ZT={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},JT={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},eN={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},tN={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},oN={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},rN={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},nN={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},aN={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},iN={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},lN={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},sN={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},cN={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},uN={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Xe={red:RT,green:A2,darkOrange:AT,yellow:FT,berry:oN,lightGreen:VT,marigold:qT},In={darkRed:jT,cranberry:R2,pumpkin:DT,peach:MT,gold:HT,brass:LT,brown:PT,forest:IT,seafoam:UT,darkGreen:GT,lightTeal:XT,teal:WT,steel:QT,blue:YT,royalBlue:$T,cornflower:KT,navy:ZT,lavender:JT,purple:eN,grape:tN,lilac:rN,pink:nN,magenta:aN,plum:iN,beige:lN,mink:sN,platinum:cN,anchor:uN},Ue={cranberry:R2,green:A2,orange:OT},D2=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],O2=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],lo={success:"green",warning:"orange",danger:"cranberry"},_s=D2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background1`]:Xe[r].tint60,[`colorPalette${n}Background2`]:Xe[r].tint40,[`colorPalette${n}Background3`]:Xe[r].primary,[`colorPalette${n}Foreground1`]:Xe[r].shade10,[`colorPalette${n}Foreground2`]:Xe[r].shade30,[`colorPalette${n}Foreground3`]:Xe[r].primary,[`colorPalette${n}BorderActive`]:Xe[r].primary,[`colorPalette${n}Border1`]:Xe[r].tint40,[`colorPalette${n}Border2`]:Xe[r].primary};return Object.assign(e,a)},{});_s.colorPaletteYellowForeground1=Xe.yellow.shade30;_s.colorPaletteRedForegroundInverted=Xe.red.tint20;_s.colorPaletteGreenForegroundInverted=Xe.green.tint20;_s.colorPaletteYellowForegroundInverted=Xe.yellow.tint40;const fN=O2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background2`]:In[r].tint40,[`colorPalette${n}Foreground2`]:In[r].shade30,[`colorPalette${n}BorderActive`]:In[r].primary};return Object.assign(e,a)},{}),dN={..._s,...fN},$i=Object.entries(lo).reduce((e,[r,n])=>{const a=r.slice(0,1).toUpperCase()+r.slice(1),s={[`colorStatus${a}Background1`]:Ue[n].tint60,[`colorStatus${a}Background2`]:Ue[n].tint40,[`colorStatus${a}Background3`]:Ue[n].primary,[`colorStatus${a}Foreground1`]:Ue[n].shade10,[`colorStatus${a}Foreground2`]:Ue[n].shade30,[`colorStatus${a}Foreground3`]:Ue[n].primary,[`colorStatus${a}ForegroundInverted`]:Ue[n].tint30,[`colorStatus${a}BorderActive`]:Ue[n].primary,[`colorStatus${a}Border1`]:Ue[n].tint40,[`colorStatus${a}Border2`]:Ue[n].primary};return Object.assign(e,s)},{});$i.colorStatusDangerBackground3Hover=Ue[lo.danger].shade10;$i.colorStatusDangerBackground3Pressed=Ue[lo.danger].shade20;$i.colorStatusWarningForeground1=Ue[lo.warning].shade20;$i.colorStatusWarningForeground3=Ue[lo.warning].shade20;$i.colorStatusWarningBorder2=Ue[lo.warning].shade20;const hN=e=>({colorNeutralForeground1:X[14],colorNeutralForeground1Hover:X[14],colorNeutralForeground1Pressed:X[14],colorNeutralForeground1Selected:X[14],colorNeutralForeground2:X[26],colorNeutralForeground2Hover:X[14],colorNeutralForeground2Pressed:X[14],colorNeutralForeground2Selected:X[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:X[38],colorNeutralForeground3Hover:X[26],colorNeutralForeground3Pressed:X[26],colorNeutralForeground3Selected:X[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:X[44],colorNeutralForeground5:X[38],colorNeutralForeground5Hover:X[14],colorNeutralForeground5Pressed:X[14],colorNeutralForeground5Selected:X[14],colorNeutralForegroundDisabled:X[74],colorNeutralForegroundInvertedDisabled:It[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:X[26],colorNeutralForeground2LinkHover:X[14],colorNeutralForeground2LinkPressed:X[14],colorNeutralForeground2LinkSelected:X[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:X[14],colorNeutralForegroundStaticInverted:Be,colorNeutralForegroundInverted:Be,colorNeutralForegroundInvertedHover:Be,colorNeutralForegroundInvertedPressed:Be,colorNeutralForegroundInvertedSelected:Be,colorNeutralForegroundInverted2:Be,colorNeutralForegroundOnBrand:Be,colorNeutralForegroundInvertedLink:Be,colorNeutralForegroundInvertedLinkHover:Be,colorNeutralForegroundInvertedLinkPressed:Be,colorNeutralForegroundInvertedLinkSelected:Be,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Be,colorNeutralBackground1Hover:X[96],colorNeutralBackground1Pressed:X[88],colorNeutralBackground1Selected:X[92],colorNeutralBackground2:X[98],colorNeutralBackground2Hover:X[94],colorNeutralBackground2Pressed:X[86],colorNeutralBackground2Selected:X[90],colorNeutralBackground3:X[96],colorNeutralBackground3Hover:X[92],colorNeutralBackground3Pressed:X[84],colorNeutralBackground3Selected:X[88],colorNeutralBackground4:X[94],colorNeutralBackground4Hover:X[98],colorNeutralBackground4Pressed:X[96],colorNeutralBackground4Selected:Be,colorNeutralBackground5:X[92],colorNeutralBackground5Hover:X[96],colorNeutralBackground5Pressed:X[94],colorNeutralBackground5Selected:X[98],colorNeutralBackground6:X[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:X[92],colorNeutralBackground7Pressed:X[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:X[99],colorNeutralBackgroundInverted:X[16],colorNeutralBackgroundInvertedHover:X[24],colorNeutralBackgroundInvertedPressed:X[12],colorNeutralBackgroundInvertedSelected:X[22],colorNeutralBackgroundStatic:X[20],colorNeutralBackgroundAlpha:It[50],colorNeutralBackgroundAlpha2:It[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:X[96],colorSubtleBackgroundPressed:X[88],colorSubtleBackgroundSelected:X[92],colorSubtleBackgroundLightAlphaHover:It[70],colorSubtleBackgroundLightAlphaPressed:It[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Ho[10],colorSubtleBackgroundInvertedPressed:Ho[30],colorSubtleBackgroundInvertedSelected:Ho[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:X[94],colorNeutralBackgroundDisabled2:Be,colorNeutralBackgroundInvertedDisabled:It[10],colorNeutralStencil1:X[90],colorNeutralStencil2:X[98],colorNeutralStencil1Alpha:Ho[10],colorNeutralStencil2Alpha:Ho[5],colorBackgroundOverlay:Ho[40],colorScrollbarOverlay:Ho[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Be,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:X[98],colorNeutralCardBackgroundHover:Be,colorNeutralCardBackgroundPressed:X[96],colorNeutralCardBackgroundSelected:X[92],colorNeutralCardBackgroundDisabled:X[94],colorNeutralStrokeAccessible:X[38],colorNeutralStrokeAccessibleHover:X[34],colorNeutralStrokeAccessiblePressed:X[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:X[82],colorNeutralStroke1Hover:X[78],colorNeutralStroke1Pressed:X[70],colorNeutralStroke1Selected:X[74],colorNeutralStroke2:X[88],colorNeutralStroke3:X[94],colorNeutralStroke4:X[92],colorNeutralStroke4Hover:X[88],colorNeutralStroke4Pressed:X[84],colorNeutralStroke4Selected:X[92],colorNeutralStrokeSubtle:X[88],colorNeutralStrokeOnBrand:Be,colorNeutralStrokeOnBrand2:Be,colorNeutralStrokeOnBrand2Hover:Be,colorNeutralStrokeOnBrand2Pressed:Be,colorNeutralStrokeOnBrand2Selected:Be,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:X[88],colorNeutralStrokeDisabled2:X[92],colorNeutralStrokeInvertedDisabled:It[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Ho[5],colorNeutralStrokeAlpha2:It[20],colorStrokeFocus1:Be,colorStrokeFocus2:pu,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),M2={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},q2={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},F2={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},H2={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},L2={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},P2={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},I2={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},ft={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},U2={spacingHorizontalNone:ft.none,spacingHorizontalXXS:ft.xxs,spacingHorizontalXS:ft.xs,spacingHorizontalSNudge:ft.sNudge,spacingHorizontalS:ft.s,spacingHorizontalMNudge:ft.mNudge,spacingHorizontalM:ft.m,spacingHorizontalL:ft.l,spacingHorizontalXL:ft.xl,spacingHorizontalXXL:ft.xxl,spacingHorizontalXXXL:ft.xxxl},V2={spacingVerticalNone:ft.none,spacingVerticalXXS:ft.xxs,spacingVerticalXS:ft.xs,spacingVerticalSNudge:ft.sNudge,spacingVerticalS:ft.s,spacingVerticalMNudge:ft.mNudge,spacingVerticalM:ft.m,spacingVerticalL:ft.l,spacingVerticalXL:ft.xl,spacingVerticalXXL:ft.xxl,spacingVerticalXXXL:ft.xxxl},G2={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},q={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightSemibold:"var(--fontWeightSemibold)",lineHeightBase200:"var(--lineHeightBase200)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)"};function _u(e,r,n=""){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${r}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${r}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${r}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${r}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${r}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${r}`}}const gN=e=>{const r=hN(e);return{...M2,...H2,...L2,...I2,...P2,...G2,...U2,...V2,...F2,...q2,...r,...dN,...$i,..._u(r.colorNeutralShadowAmbient,r.colorNeutralShadowKey),..._u(r.colorBrandShadowAmbient,r.colorBrandShadowKey,"Brand")}},xr=D2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background1`]:Xe[r].shade40,[`colorPalette${n}Background2`]:Xe[r].shade30,[`colorPalette${n}Background3`]:Xe[r].primary,[`colorPalette${n}Foreground1`]:Xe[r].tint30,[`colorPalette${n}Foreground2`]:Xe[r].tint40,[`colorPalette${n}Foreground3`]:Xe[r].tint20,[`colorPalette${n}BorderActive`]:Xe[r].tint30,[`colorPalette${n}Border1`]:Xe[r].primary,[`colorPalette${n}Border2`]:Xe[r].tint20};return Object.assign(e,a)},{});xr.colorPaletteRedForeground3=Xe.red.tint30;xr.colorPaletteRedBorder2=Xe.red.tint30;xr.colorPaletteGreenForeground3=Xe.green.tint40;xr.colorPaletteGreenBorder2=Xe.green.tint40;xr.colorPaletteDarkOrangeForeground3=Xe.darkOrange.tint30;xr.colorPaletteDarkOrangeBorder2=Xe.darkOrange.tint30;xr.colorPaletteRedForegroundInverted=Xe.red.primary;xr.colorPaletteGreenForegroundInverted=Xe.green.primary;xr.colorPaletteYellowForegroundInverted=Xe.yellow.shade30;const cg=O2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background2`]:In[r].shade30,[`colorPalette${n}Foreground2`]:In[r].tint40,[`colorPalette${n}BorderActive`]:In[r].tint30};return Object.assign(e,a)},{});cg.colorPaletteDarkRedBackground2=In.darkRed.shade20;cg.colorPalettePlumBackground2=In.plum.shade20;const pN={...xr,...cg},Wn=Object.entries(lo).reduce((e,[r,n])=>{const a=r.slice(0,1).toUpperCase()+r.slice(1),s={[`colorStatus${a}Background1`]:Ue[n].shade40,[`colorStatus${a}Background2`]:Ue[n].shade30,[`colorStatus${a}Background3`]:Ue[n].primary,[`colorStatus${a}Foreground1`]:Ue[n].tint30,[`colorStatus${a}Foreground2`]:Ue[n].tint40,[`colorStatus${a}Foreground3`]:Ue[n].tint20,[`colorStatus${a}BorderActive`]:Ue[n].tint30,[`colorStatus${a}ForegroundInverted`]:Ue[n].shade10,[`colorStatus${a}Border1`]:Ue[n].primary,[`colorStatus${a}Border2`]:Ue[n].tint20};return Object.assign(e,s)},{});Wn.colorStatusDangerBackground3Hover=Ue[lo.danger].shade10;Wn.colorStatusDangerBackground3Pressed=Ue[lo.danger].shade20;Wn.colorStatusDangerForeground3=Ue[lo.danger].tint40;Wn.colorStatusDangerBorder2=Ue[lo.danger].tint30;Wn.colorStatusSuccessForeground3=Ue[lo.success].tint40;Wn.colorStatusSuccessBorder2=Ue[lo.success].tint40;Wn.colorStatusWarningForegroundInverted=Ue[lo.warning].shade20;const mN=e=>({colorNeutralForeground1:Be,colorNeutralForeground1Hover:Be,colorNeutralForeground1Pressed:Be,colorNeutralForeground1Selected:Be,colorNeutralForeground2:X[84],colorNeutralForeground2Hover:Be,colorNeutralForeground2Pressed:Be,colorNeutralForeground2Selected:Be,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:X[68],colorNeutralForeground3Hover:X[84],colorNeutralForeground3Pressed:X[84],colorNeutralForeground3Selected:X[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:X[60],colorNeutralForeground5:X[68],colorNeutralForeground5Hover:Be,colorNeutralForeground5Pressed:Be,colorNeutralForeground5Selected:Be,colorNeutralForegroundDisabled:X[36],colorNeutralForegroundInvertedDisabled:It[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:X[84],colorNeutralForeground2LinkHover:Be,colorNeutralForeground2LinkPressed:Be,colorNeutralForeground2LinkSelected:Be,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:X[14],colorNeutralForegroundStaticInverted:Be,colorNeutralForegroundInverted:X[14],colorNeutralForegroundInvertedHover:X[14],colorNeutralForegroundInvertedPressed:X[14],colorNeutralForegroundInvertedSelected:X[14],colorNeutralForegroundInverted2:X[14],colorNeutralForegroundOnBrand:Be,colorNeutralForegroundInvertedLink:Be,colorNeutralForegroundInvertedLinkHover:Be,colorNeutralForegroundInvertedLinkPressed:Be,colorNeutralForegroundInvertedLinkSelected:Be,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:X[16],colorNeutralBackground1Hover:X[24],colorNeutralBackground1Pressed:X[12],colorNeutralBackground1Selected:X[22],colorNeutralBackground2:X[12],colorNeutralBackground2Hover:X[20],colorNeutralBackground2Pressed:X[8],colorNeutralBackground2Selected:X[18],colorNeutralBackground3:X[8],colorNeutralBackground3Hover:X[16],colorNeutralBackground3Pressed:X[4],colorNeutralBackground3Selected:X[14],colorNeutralBackground4:X[4],colorNeutralBackground4Hover:X[12],colorNeutralBackground4Pressed:pu,colorNeutralBackground4Selected:X[10],colorNeutralBackground5:pu,colorNeutralBackground5Hover:X[8],colorNeutralBackground5Pressed:X[2],colorNeutralBackground5Selected:X[6],colorNeutralBackground6:X[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:X[10],colorNeutralBackground7Pressed:X[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:X[16],colorNeutralBackgroundInverted:Be,colorNeutralBackgroundInvertedHover:X[96],colorNeutralBackgroundInvertedPressed:X[88],colorNeutralBackgroundInvertedSelected:X[92],colorNeutralBackgroundStatic:X[24],colorNeutralBackgroundAlpha:CT[50],colorNeutralBackgroundAlpha2:ET[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:X[22],colorSubtleBackgroundPressed:X[18],colorSubtleBackgroundSelected:X[20],colorSubtleBackgroundLightAlphaHover:Ub[80],colorSubtleBackgroundLightAlphaPressed:Ub[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Ho[10],colorSubtleBackgroundInvertedPressed:Ho[30],colorSubtleBackgroundInvertedSelected:Ho[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:X[8],colorNeutralBackgroundDisabled2:X[16],colorNeutralBackgroundInvertedDisabled:It[10],colorNeutralStencil1:X[34],colorNeutralStencil2:X[20],colorNeutralStencil1Alpha:It[10],colorNeutralStencil2Alpha:It[5],colorBackgroundOverlay:Ho[50],colorScrollbarOverlay:It[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Be,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:X[20],colorNeutralCardBackgroundHover:X[24],colorNeutralCardBackgroundPressed:X[18],colorNeutralCardBackgroundSelected:X[22],colorNeutralCardBackgroundDisabled:X[8],colorNeutralStrokeAccessible:X[68],colorNeutralStrokeAccessibleHover:X[74],colorNeutralStrokeAccessiblePressed:X[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:X[40],colorNeutralStroke1Hover:X[46],colorNeutralStroke1Pressed:X[42],colorNeutralStroke1Selected:X[44],colorNeutralStroke2:X[32],colorNeutralStroke3:X[24],colorNeutralStroke4:X[24],colorNeutralStroke4Hover:X[18],colorNeutralStroke4Pressed:X[14],colorNeutralStroke4Selected:X[24],colorNeutralStrokeSubtle:X[4],colorNeutralStrokeOnBrand:X[16],colorNeutralStrokeOnBrand2:Be,colorNeutralStrokeOnBrand2Hover:Be,colorNeutralStrokeOnBrand2Pressed:Be,colorNeutralStrokeOnBrand2Selected:Be,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:X[26],colorNeutralStrokeDisabled2:X[24],colorNeutralStrokeInvertedDisabled:It[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:It[10],colorNeutralStrokeAlpha2:It[20],colorStrokeFocus1:pu,colorStrokeFocus2:Be,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),vN=e=>{const r=mN(e);return{...M2,...H2,...L2,...I2,...P2,...G2,...U2,...V2,...F2,...q2,...r,...pN,...Wn,..._u(r.colorNeutralShadowAmbient,r.colorNeutralShadowKey),..._u(r.colorBrandShadowAmbient,r.colorBrandShadowKey,"Brand")}},X2={root:"fui-FluentProvider"},bN=Vx({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),yN=e=>{"use no memo";const r=ks(),n=bN({dir:e.dir,renderer:r});return e.root.className=me(X2.root,e.themeClassName,n.root,e.root.className),e},xN=y.useInsertionEffect?y.useInsertionEffect:At,SN=(e,r)=>{if(!(e!=null&&e.head))return;const n=e.createElement("style");return Object.keys(r).forEach(a=>{n.setAttribute(a,r[a])}),e.head.appendChild(n),n},wN=(e,r)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(r,0))},kN=e=>{"use no memo";const{targetDocument:r,theme:n,rendererAttributes:a}=e,s=y.useRef(void 0),c=Xo(X2.root),u=a,d=y.useMemo(()=>H6(`.${c}`,n),[n,c]);return BN(r,c),xN(()=>{const g=r==null?void 0:r.getElementById(c);return g?s.current=g:(s.current=SN(r,{...u,id:c}),s.current&&wN(s.current,d)),()=>{var p;(p=s.current)===null||p===void 0||p.remove()}},[c,r,d,u]),{styleTagId:c,rule:d}};function BN(e,r){y.useState(()=>{if(!e)return;const n=e.getElementById(r);n&&e.head.append(n)})}const _N={},zN={},TN=(e,r)=>{"use no memo";const n=dt(),a=NN(),s=tg(),c=y.useContext(og)||_N,{applyStylesToPortals:u=!0,customStyleHooks_unstable:d,dir:g=n.dir,targetDocument:p=n.targetDocument,theme:m,overrides_unstable:v={}}=e,S=Xh(a,m),k=Xh(s,v),w=Xh(c,d),x=ks();var z;const{styleTagId:T,rule:j}=kN({theme:S,targetDocument:p,rendererAttributes:(z=x.styleElementAttributes)!==null&&z!==void 0?z:zN});return{applyStylesToPortals:u,customStyleHooks_unstable:w,dir:g,targetDocument:p,theme:S,overrides_unstable:k,themeClassName:T,components:{root:"div"},root:Ve(Vt("div",{...e,dir:g,ref:Ct(r,C2({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:j,attributes:{...x.styleElementAttributes,id:T}}}};function Xh(e,r){return e&&r?{...e,...r}:e||r}function NN(){return y.useContext($x)}function CN(e){const{applyStylesToPortals:r,customStyleHooks_unstable:n,dir:a,root:s,targetDocument:c,theme:u,themeClassName:d,overrides_unstable:g}=e,p=y.useMemo(()=>({dir:a,targetDocument:c}),[a,c]),[m]=y.useState(()=>({})),v=y.useMemo(()=>({textDirection:a}),[a]);return{customStyleHooks_unstable:n,overrides_unstable:g,provider:p,textDirection:a,iconDirection:v,tooltip:m,theme:u,themeClassName:r?s.className:d}}const W2=y.forwardRef((e,r)=>{const n=TN(e,r);yN(n);const a=CN(n);return $_(n,a)});W2.displayName="FluentProvider";var Vb=Iy();const EN=e=>n=>{const a=y.useRef(n.value),s=y.useRef(null);return s.current||(s.current={value:a,listeners:[]}),At(()=>{a.current=n.value,Vb.unstable_runWithPriority(Vb.unstable_NormalPriority,()=>{s.current.listeners.forEach(c=>{c(n.value)})})},[n.value]),y.createElement(e,{value:s.current},n.children)},Ku=e=>{const r=y.createContext({value:{current:e},listeners:[],isDefault:!0});return r.Provider=EN(r.Provider),delete r.Consumer,r},ug=(e,r)=>{const n=y.useContext(e),{value:a,listeners:s}=n,c=r(a.current),[,u]=y.useReducer(p=>p+1,0),d=y.useRef(r),g=y.useRef(c);return At(()=>{d.current=r,g.current=c}),At(()=>{const p=m=>{try{const v=d.current(m);Object.is(g.current,v)||u()}catch{}};return s.push(p),p(a.current),()=>{const m=s.indexOf(p);m!==-1&&s.splice(m,1)}},[s,a]),c};function fg(e){return!y.useContext(e).isDefault}const ns="Enter",Hn=" ",jN="Tab",Gb="ArrowDown",RN="ArrowLeft",AN="ArrowRight",Wh="ArrowUp",DN="End",ON="Home",MN="PageDown",qN="PageUp",Zu="Escape";function zu(e,r){const{disabled:n,disabledFocusable:a=!1,["aria-disabled"]:s,onClick:c,onKeyDown:u,onKeyUp:d,...g}=r??{},p=typeof s=="string"?s==="true":s,m=n||a||p,v=_e(w=>{m?(w.preventDefault(),w.stopPropagation()):c==null||c(w)}),S=_e(w=>{if(u==null||u(w),w.isDefaultPrevented())return;const x=w.key;if(m&&(x===ns||x===Hn)){w.preventDefault(),w.stopPropagation();return}if(x===Hn){w.preventDefault();return}else x===ns&&(w.preventDefault(),w.currentTarget.click())}),k=_e(w=>{if(d==null||d(w),w.isDefaultPrevented())return;const x=w.key;if(m&&(x===ns||x===Hn)){w.preventDefault(),w.stopPropagation();return}x===Hn&&(w.preventDefault(),w.currentTarget.click())});if(e==="button"||e===void 0)return{...g,disabled:n&&!a,"aria-disabled":a?!0:p,onClick:a?void 0:v,onKeyUp:a?void 0:d,onKeyDown:a?void 0:u};{const w=!!g.href;let x=w?void 0:"button";!x&&m&&(x="link");const z={role:x,tabIndex:a||!w&&!n?0:void 0,...g,onClick:v,onKeyUp:k,onKeyDown:S,"aria-disabled":m};return e==="a"&&m&&(z.href=void 0),z}}const oo=()=>{},FN={controller:{active:oo,blur:oo,find:oo,first:oo,focus:oo,focusLastActive:oo,scrollActiveIntoView:oo,last:oo,next:oo,prev:oo,showAttributes:oo,hideAttributes:oo,showFocusVisibleAttributes:oo,hideFocusVisibleAttributes:oo}},dg=y.createContext(void 0),Q2=dg.Provider,Y2=()=>{var e;return(e=y.useContext(dg))!==null&&e!==void 0?e:FN},HN=()=>!!y.useContext(dg);function LN(e){const{matchOption:r}=e,{targetDocument:n}=dt(),a=y.useRef(null),s=y.useRef(null),c=y.useCallback(g=>Vn(g)&&r(g)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[r]),u=y.useCallback(g=>{g&&n?(s.current=g,a.current=n.createTreeWalker(g,NodeFilter.SHOW_ELEMENT,c)):(s.current=null,a.current=null)},[n,c]);return{optionWalker:y.useMemo(()=>({first:()=>!a.current||!s.current?null:(a.current.currentNode=s.current,a.current.firstChild()),last:()=>!a.current||!s.current?null:(a.current.currentNode=s.current,a.current.lastChild()),next:()=>a.current?a.current.nextNode():null,prev:()=>a.current?a.current.previousNode():null,find:(g,p)=>{if(!a.current||!s.current)return null;const m=p?n==null?void 0:n.getElementById(p):null;a.current.currentNode=m??s.current;let v=a.current.currentNode;for(;v&&!g(v.id);)v=a.current.nextNode();return v},setCurrent:g=>{a.current&&(a.current.currentNode=g)}}),[n]),listboxCallbackRef:u}}const Xb="data-activedescendant",mi="data-activedescendant-focusvisible",Wb=e=>{if(!e)return;const r=$2(e.parentElement);if(!r)return;const{offsetHeight:n}=e,a=K2(e,r),{scrollMarginTop:s,scrollMarginBottom:c}=PN(e),{offsetHeight:u,scrollTop:d}=r,g=a-s<d,p=a+n+c>d+u,m=2;g?r.scrollTo(0,a-s-m):p&&r.scrollTo(0,a+n+c-u+m)},$2=e=>e?e.scrollHeight>e.offsetHeight?e:$2(e.parentElement):null,K2=(e,r)=>!e||e===r?0:e.contains(r)?r.offsetTop*-1:e.offsetTop+K2(e.offsetParent,r),PN=e=>{var r;const n=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const a=n.getComputedStyle(e);var s;const c=(s=ou(a.scrollMarginTop))!==null&&s!==void 0?s:ou(a.scrollMarginBlockStart);var u;const d=(u=ou(a.scrollMarginBottom))!==null&&u!==void 0?u:ou(a.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:d}},ou=e=>e?parseInt(e,10):0,IN=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function Z2(e){const{imperativeRef:r,matchOption:n}=e,a=y.useRef(!1),s=y.useRef(!0),c=y.useRef(null),u=y.useRef(null),d=y.useRef(null),g=y.useRef(!0),p=y.useCallback(()=>{var C;(C=d.current)===null||C===void 0||C.removeAttribute("aria-activedescendant")},[]),m=y.useCallback(C=>{if(C&&(c.current=C),g.current&&c.current){var E;(E=d.current)===null||E===void 0||E.setAttribute("aria-activedescendant",c.current)}},[]);j2(C=>{a.current=C;const E=x();E&&(C&&s.current?E.setAttribute(mi,""):E.removeAttribute(mi))});const v=_e(n),S=y.useRef(null),{optionWalker:k,listboxCallbackRef:w}=LN({matchOption:v}),x=y.useCallback(()=>{var C;return(C=S.current)===null||C===void 0?void 0:C.querySelector(`#${c.current}`)},[S]),z=y.useCallback(C=>{s.current=C;const E=x();E&&(C&&a.current?E.setAttribute(mi,""):E.removeAttribute(mi))},[x]),T=y.useCallback(()=>{const C=x();C&&(C.removeAttribute(Xb),C.removeAttribute(mi)),p(),u.current=c.current,c.current=null;var E;return(E=C==null?void 0:C.id)!==null&&E!==void 0?E:null},[x,p]),j=y.useCallback(C=>{if(!C)return;const E=T();Wb(C),m(C.id),C.setAttribute(Xb,""),a.current&&s.current&&C.setAttribute(mi,"");const M=IN({id:C.id,previousId:E});C.dispatchEvent(M)},[T,m]),N=y.useMemo(()=>({first:({passive:C}={})=>{const E=k.first();return C||j(E),E==null?void 0:E.id},last:({passive:C}={})=>{const E=k.last();return C||j(E),E==null?void 0:E.id},next:({passive:C}={})=>{const E=x();if(!E)return;k.setCurrent(E);const M=k.next();return C||j(M),M==null?void 0:M.id},prev:({passive:C}={})=>{const E=x();if(!E)return;k.setCurrent(E);const M=k.prev();return C||j(M),M==null?void 0:M.id},blur:()=>{T()},active:()=>{var C;return(C=x())===null||C===void 0?void 0:C.id},focus:C=>{if(!S.current)return;const E=S.current.querySelector(`#${C}`);E&&j(E)},focusLastActive:()=>{if(!S.current||!u.current)return;const C=S.current.querySelector(`#${u.current}`);if(C)return j(C),!0},find(C,{passive:E,startFrom:M}={}){const Q=k.find(C,M);return E||j(Q),Q==null?void 0:Q.id},scrollActiveIntoView:()=>{if(!S.current)return;const C=x();C&&Wb(C)},showAttributes(){g.current=!0,m()},hideAttributes(){g.current=!1,p()},showFocusVisibleAttributes(){z(!0)},hideFocusVisibleAttributes(){z(!1)}}),[k,S,m,p,j,T,x,z]);return y.useImperativeHandle(r,()=>N),{listboxRef:Ct(S,w),activeParentRef:d,controller:N}}const UN=Se({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),VN=(e,r)=>{const{filled:n,title:a,primaryFill:s="currentColor",...c}=e,u={...c,fill:s},d=UN(),g=Y_();return u.className=me(d.root,(r==null?void 0:r.flipInRtl)&&(g==null?void 0:g.textDirection)==="rtl"&&d.rtl,u.className),a&&(u["aria-label"]=a),!u["aria-label"]&&!u["aria-labelledby"]?u["aria-hidden"]=!0:u.role="img",u},GN=Se({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),XN="fui-Icon",Ne=(e,r,n,a)=>{const s=r==="1em"?"20":r,c=y.forwardRef((u,d)=>{const g=GN(),p=VN(u,{flipInRtl:a==null?void 0:a.flipInRtl}),m={...p,className:me(XN,p.className,g.root),ref:d,width:r,height:r,viewBox:`0 0 ${s} ${s}`,xmlns:"http://www.w3.org/2000/svg"};return typeof n=="string"?y.createElement("svg",{...m,dangerouslySetInnerHTML:{__html:n}}):y.createElement("svg",m,...n.map(v=>y.createElement("path",{d:v,fill:m.fill})))});return c.displayName=e,c},J2=Ne("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"]),vi=Ne("DocumentBulletListRegular","1em",["M6 10.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm.5 1.5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM6 14.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0ZM8.5 10a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM8 12.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]),WN=Ne("CopyRegular","1em",["M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z"]),Qb=Ne("OpenRegular","1em",["M6 4a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2v-2.5a.5.5 0 0 1 1 0V14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2.5a.5.5 0 0 1 0 1H6Zm5-.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V4.7l-4.15 4.15a.5.5 0 0 1-.7-.7L15.29 4H11.5a.5.5 0 0 1-.5-.5Z"]),QN=Ne("WarningFilled","1em",["M7.37 3.56a3 3 0 0 1 5.26 0l5.5 10A3 3 0 0 1 15.5 18h-11a3 3 0 0 1-2.63-4.44l5.5-10ZM10 12.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0-6.25a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 1 0V7a.5.5 0 0 0-.5-.5Z"]),YN=Ne("WeatherMoonRegular","1em",["M15.5 13.5A6.98 6.98 0 0 1 4 14.39c2.83-1.09 4.56-2.42 5.6-4.4 1.04-2 1.33-4.16.75-6.9A6.98 6.98 0 0 1 15.5 13.5ZM5.45 16.92A7.98 7.98 0 1 0 9.88 2.04a.6.6 0 0 0-.61.73c.69 2.82.43 4.88-.55 6.76-.94 1.78-2.55 3.03-5.55 4.1a.6.6 0 0 0-.3.9 7.95 7.95 0 0 0 2.59 2.39Z"]),$N=Ne("WeatherSunnyRegular","1em",["M10 2c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm0 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm7.5-2.5a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1h1ZM10 16c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm-6.5-5.5a.5.5 0 0 0 0-1H2.46a.5.5 0 0 0 0 1H3.5Zm.65-6.35c.2-.2.5-.2.7 0l1 1a.5.5 0 1 1-.7.7l-1-1a.5.5 0 0 1 0-.7Zm.7 11.7a.5.5 0 0 1-.7-.7l1-1a.5.5 0 0 1 .7.7l-1 1Zm11-11.7a.5.5 0 0 0-.7 0l-1 1a.5.5 0 0 0 .7.7l1-1a.5.5 0 0 0 0-.7Zm-.7 11.7a.5.5 0 0 0 .7-.7l-1-1a.5.5 0 0 0-.7.7l1 1Z"]),KN=Ne("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"]),Tu=Ne("InfoRegular","1em",["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]),ZN=Ne("PlayRegular","1em",["M17.22 8.69a1.5 1.5 0 0 1 0 2.62l-10 5.5A1.5 1.5 0 0 1 5 15.5v-11A1.5 1.5 0 0 1 7.22 3.2l10 5.5Zm-.48 1.75a.5.5 0 0 0 0-.88l-10-5.5A.5.5 0 0 0 6 4.5v11c0 .38.4.62.74.44l10-5.5Z"]),JN=Ne("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"]),hg=Ne("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),gg=Ne("CircleRegular","1em",["M10 3a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-8 7a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),eC=Ne("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]),tC=Ne("LockClosedRegular","1em",["M10 1a4 4 0 0 1 4 4v2.05a2.5 2.5 0 0 1 2 2.45v6a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 4 15.5v-6c0-1.2.86-2.22 2-2.45V5a4 4 0 0 1 4-4ZM6.5 8C5.67 8 5 8.67 5 9.5v6c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-6c0-.83-.67-1.5-1.5-1.5h-7Zm3.5 3.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM10 2a3 3 0 0 0-3 3v2h6V5a3 3 0 0 0-3-3Z"]),eS=Ne("WindowConsoleRegular","1em",["M5.65 9.15c.2-.2.5-.2.7 0l2 2a.5.5 0 0 1 0 .7l-2 2a.5.5 0 0 1-.7-.7l1.64-1.65-1.64-1.65a.5.5 0 0 1 0-.7ZM14.5 13h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1ZM3 5.5A2.5 2.5 0 0 1 5.5 3h9A2.5 2.5 0 0 1 17 5.5v9a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 3 14.5v-9ZM16 6v-.5c0-.83-.68-1.5-1.5-1.5h-9C4.67 4 4 4.67 4 5.5V6h12ZM4 7v7.5c0 .83.67 1.5 1.5 1.5h9c.82 0 1.5-.67 1.5-1.5V7H4Z"]),oC=Ne("BookGlobeRegular","1em",["M4 16V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v11a1 1 0 0 1-1 1H5a1 1 0 0 0 1 1h9.5a.5.5 0 0 1 0 1H6a2 2 0 0 1-2-2ZM15 4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11h10V4ZM7.04 8h.97c.05-.77.2-1.49.42-2.06A3 3 0 0 0 7.04 8ZM6 8.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.96-.5a3 3 0 0 0-1.4-2.06c.23.57.38 1.29.43 2.06h.97Zm-.97 1c-.05.77-.2 1.49-.42 2.06A3 3 0 0 0 12.96 9h-.97Zm-1-1a5.56 5.56 0 0 0-.39-1.78 1.88 1.88 0 0 0-.37-.59c-.11-.11-.2-.13-.23-.13-.04 0-.12.02-.23.13-.12.12-.25.31-.37.6-.2.45-.34 1.06-.38 1.77h1.96ZM9.01 9c.04.7.18 1.32.38 1.78.12.28.25.47.37.59.11.11.2.13.23.13.04 0 .12-.02.23-.13.12-.12.25-.31.37-.6.2-.45.34-1.06.38-1.77H9.02Zm-1 0h-.98a3 3 0 0 0 1.4 2.06A6.75 6.75 0 0 1 8 9Z"]),rC=Ne("ArrowDownloadRegular","1em",["M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z"]),nC=Ne("ArrowLeftRegular","1em",["M9.16 16.87a.5.5 0 1 0 .67-.74L3.67 10.5H17.5a.5.5 0 0 0 0-1H3.67l6.16-5.63a.5.5 0 0 0-.67-.74L2.24 9.44a.75.75 0 0 0 0 1.11l6.92 6.32Z"]),aC=Ne("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}),Gr=Ne("ArrowRightFilled","1em",["M11.27 3.2a.75.75 0 0 0-1.04 1.1l5.24 4.95H2.75a.75.75 0 0 0 0 1.5h12.73l-5.25 4.96a.75.75 0 1 0 1.04 1.09l6.41-6.07a1 1 0 0 0 0-1.46l-6.41-6.06Z"]),iC=Ne("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]),lC=Ne("BranchRegular","1em",["M10 5a3 3 0 0 1-2.15 2.88A5.76 5.76 0 0 0 12 9.98a3 3 0 1 1 .17 1.01A6.8 6.8 0 0 1 7.5 9v3.05a3 3 0 1 1-1 0V7.96A3 3 0 1 1 10 5ZM7 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm10 3a2 2 0 1 0-4 0 2 2 0 0 0 4 0ZM7 17a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"]),sC=Ne("BroomRegular","1em",["M17.91 2.18c.2.2.2.51 0 .7l-5.32 5.33a4.5 4.5 0 0 1-.34 6l-.66.66-2.09 3.48a.5.5 0 0 1-.78.1l-7.07-7.08a.5.5 0 0 1 .1-.78L5.22 8.5l.66-.66a4.5 4.5 0 0 1 5.99-.34l5.32-5.32c.2-.2.51-.2.71 0ZM6.24 8.9l4.95 4.95.36-.35A3.5 3.5 0 1 0 6.6 8.55l-.36.35Zm-.78.63L2.8 11.12l6.16 6.17 1.6-2.66-5.11-5.1Z"]),cC=Ne("ShieldKeyholeRegular","1em",["M11.5 9c0 .65-.42 1.2-1 1.41v2.09a.5.5 0 0 1-1 0v-2.09a1.5 1.5 0 1 1 2-1.41Zm-1.22-6.92a.5.5 0 0 0-.56 0 15.05 15.05 0 0 1-6.3 2.43A.5.5 0 0 0 3 5v4.5c0 3.9 2.3 6.73 6.82 8.47a.5.5 0 0 0 .36 0C14.69 16.23 17 13.39 17 9.5V5a.5.5 0 0 0-.43-.5 15.05 15.05 0 0 1-6.3-2.42ZM4 5.43a15.97 15.97 0 0 0 5.6-2.08l.4-.25.4.25A15.97 15.97 0 0 0 16 5.43V9.5c0 3.4-1.97 5.86-6 7.46-4.03-1.6-6-4.07-6-7.46V5.43Z"]),uC=Ne("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"]),Yr=Ne("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),fC=Ne("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),tS=Ne("HomeRegular","1em",["M9 2.39a1.5 1.5 0 0 1 2 0l5.5 4.94c.32.28.5.69.5 1.12v7.05c0 .83-.67 1.5-1.5 1.5H13a1.5 1.5 0 0 1-1.5-1.5V12a.5.5 0 0 0-.5-.5H9a.5.5 0 0 0-.5.5v3.5c0 .83-.67 1.5-1.5 1.5H4.5A1.5 1.5 0 0 1 3 15.5V8.45c0-.43.18-.84.5-1.12L9 2.39Zm1.33.74a.5.5 0 0 0-.66 0l-5.5 4.94a.5.5 0 0 0-.17.38v7.05c0 .28.22.5.5.5H7a.5.5 0 0 0 .5-.5V12c0-.83.67-1.5 1.5-1.5h2c.83 0 1.5.67 1.5 1.5v3.5c0 .28.22.5.5.5h2.5a.5.5 0 0 0 .5-.5V8.45a.5.5 0 0 0-.17-.38l-5.5-4.94Z"]),dC=Ne("BoxMultipleRegular","1em",["M13.58 2.38a3 3 0 0 0-2.16 0L7.96 3.71A1.5 1.5 0 0 0 7 5.11v1.1a4 4 0 0 1 1 0v-1.1c0-.2.13-.4.32-.47l3.46-1.33a2 2 0 0 1 1.44 0l3.46 1.33c.2.08.32.26.32.47v7.78c0 .2-.13.4-.32.47L14 14.39v.5c0 .2-.03.4-.07.6l3.1-1.2c.59-.22.97-.78.97-1.4V5.11a1.5 1.5 0 0 0-.96-1.4l-3.46-1.33Zm2.51 2.92a.5.5 0 0 0-.64-.3l-2.77 1.07a.5.5 0 0 1-.36 0L9.55 5.01a.5.5 0 1 0-.35.93l2.76 1.07c.35.13.73.13 1.08 0l2.76-1.07a.5.5 0 0 0 .3-.64Zm-5 5a.5.5 0 0 0-.64-.3L7.5 11.15l-2.95-1.13a.5.5 0 0 0-.35.93L7 12.02v2.49a.5.5 0 1 0 1 0v-2.49l2.8-1.08a.5.5 0 0 0 .3-.64ZM8.58 7.38a3 3 0 0 0-2.16 0L2.96 8.71a1.5 1.5 0 0 0-.96 1.4v4.78c0 .62.38 1.18.96 1.4l3.46 1.33a3 3 0 0 0 2.16 0l3.46-1.33c.58-.22.96-.78.96-1.4v-4.78a1.5 1.5 0 0 0-.96-1.4L8.58 7.38Zm-1.8.93a2 2 0 0 1 1.44 0l3.46 1.33c.2.08.32.26.32.47v4.78c0 .2-.13.4-.32.47l-3.46 1.33a2 2 0 0 1-1.44 0l-3.46-1.33a.5.5 0 0 1-.32-.47v-4.78c0-.2.13-.4.32-.47l3.46-1.33Z"]),hC=Ne("DiamondDismissFilled","1em",["M7.88 1.88a3 3 0 0 1 4.24 0l6 6a3 3 0 0 1 0 4.24l-6 6a3 3 0 0 1-4.24 0l-6-6a3 3 0 0 1 0-4.24l6-6ZM13.1 6.9a.5.5 0 0 0-.7 0L10 9.3 7.6 6.9a.5.5 0 0 0-.7.7L9.3 10l-2.4 2.4a.5.5 0 0 0 .7.7l2.4-2.4 2.4 2.4a.5.5 0 0 0 .7-.7L10.7 10l2.4-2.4a.5.5 0 0 0 0-.7Z"]),gC=Ne("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),pC=Ne("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]),mC=Ne("RocketRegular","1em",["M10.76 6.43a2 2 0 1 1 2.82 2.82 2 2 0 0 1-2.82-2.82Zm2.11.7a1 1 0 1 0-1.4 1.42 1 1 0 0 0 1.4-1.42Zm-1.12 7.37a1.5 1.5 0 0 1-1.7-.3l-.61-.6-.74 1.22a.5.5 0 0 1-.78.1L5.1 12.09a.5.5 0 0 1 .1-.79l1.22-.73-.61-.6a1.5 1.5 0 0 1-.3-1.71L4.38 7.14a.5.5 0 0 1 0-.7l1.06-1.07a3 3 0 0 1 3.42-.59l.93-.93a6.3 6.3 0 0 1 6.33-1.56c.76.24 1.36.83 1.6 1.6a6.3 6.3 0 0 1-1.56 6.32l-.94.94a3 3 0 0 1-.58 3.41l-1.06 1.06a.5.5 0 0 1-.71 0l-1.12-1.12Zm4.08-11.26a5.3 5.3 0 0 0-5.33 1.31l-.81.82-.7.7h-.01L6.86 8.2l-.4.4a.5.5 0 0 0 .05.66l4.24 4.24c.18.18.46.2.66.05l.4-.4 2.12-2.12.7-.71.82-.81a5.3 5.3 0 0 0 1.31-5.33c-.14-.45-.49-.8-.93-.94Zm-3.31 10.62.7.7.7-.7a2 2 0 0 0 .53-1.93l-1.93 1.93Zm-4.44-8.3a2 2 0 0 0-1.93.52l-.7.7.7.71 1.93-1.93Zm.63 7.31L7.14 11.3l-.89.53 1.93 1.93.53-.89Zm-2.9 2.04a.5.5 0 1 0-.71-.7l-1.77 1.76a.5.5 0 1 0 .7.71l1.77-1.77ZM4.38 12.8c.2.2.2.51 0 .7l-.71.72a.5.5 0 0 1-.7-.71l.7-.71c.2-.2.51-.2.7 0Zm2.83 3.54a.5.5 0 0 0-.7-.71l-.72.7a.5.5 0 1 0 .7.72l.72-.71Z"]),vC=Ne("QuestionCircleRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]),bC=Ne("Warning12Filled","12",["M4.28 1.97a2 2 0 0 1 3.43 0l3 5A2 2 0 0 1 9 10H3A2 2 0 0 1 1.3 6.98l3-5ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM6 3.5a.5.5 0 0 0-.5.5v1.5a.5.5 0 0 0 1 0V4a.5.5 0 0 0-.5-.5Z"]),oS=Ne("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),yC=Ne("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),xC=Ne("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),SC=Ne("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),wC=Ne("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),kC=Ne("DiamondDismiss12Filled","12",["M4.59 1.09a2 2 0 0 1 2.82 0l3.5 3.5a2 2 0 0 1 0 2.82l-3.5 3.5a2 2 0 0 1-2.82 0l-3.5-3.5a2 2 0 0 1 0-2.83l3.5-3.5Zm3.26 3.06a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15a.5.5 0 0 0-.7.7L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14a.5.5 0 1 0 .7-.7L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]),BC=Ne("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),_C={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},zC={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},vt={..._C,...zC};function TC(e){if(e.playState==="running"){var r;if(e.overallProgress!==void 0){var n;const d=(n=e.overallProgress)!==null&&n!==void 0?n:0;return d>0&&d<1}var a;const c=Number((a=e.currentTime)!==null&&a!==void 0?a:0);var s;const u=Number((s=(r=e.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&s!==void 0?s:0);return c>0&&c<u}return!1}const NC={fill:"forwards"},CC={duration:1};function EC(e){return{set playbackRate(r){e.forEach(n=>{n.playbackRate=r})},setMotionEndCallbacks(r,n){const a=e.map(s=>new Promise((c,u)=>{s.onfinish=()=>c(),s.oncancel=()=>u()}));Promise.all(a).then(()=>{r()}).catch(()=>{n()})},isRunning(){return e.some(r=>TC(r))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(r=>{r.cancel()})},pause:()=>{e.forEach(r=>{r.pause()})},play:()=>{e.forEach(r=>{r.play()})},finish:()=>{e.forEach(r=>{r.finish()})},reverse:()=>{e.forEach(r=>{r.reverse()})}}}function jC(){var e;const r=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return y.useCallback((n,a,s)=>{const c=Array.isArray(a)?a:[a],{isReducedMotion:u}=s,d=c.map(g=>{const{keyframes:p,reducedMotion:m=CC,...v}=g,{keyframes:S=p,...k}=m,w=u?S:p,x={...NC,...v,...u&&k};try{const T=n.animate(w,x);if(r)T==null||T.persist();else{const j=w[w.length-1];var z;Object.assign((z=n.style)!==null&&z!==void 0?z:{},j)}return T}catch{return null}}).filter(g=>!!g);return EC(d)},[r])}function rS(){"use no memo";return jC()}function nS(e){const r=y.useRef(void 0);return y.useImperativeHandle(e,()=>({setPlayState:n=>{if(n==="running"){var a;(a=r.current)===null||a===void 0||a.play()}if(n==="paused"){var s;(s=r.current)===null||s===void 0||s.pause()}},setPlaybackRate:n=>{r.current&&(r.current.playbackRate=n)}})),r}const RC="screen and (prefers-reduced-motion: reduce)";function aS(){const{targetDocument:e}=dt();var r;const n=(r=e==null?void 0:e.defaultView)!==null&&r!==void 0?r:null,a=y.useRef(!1),s=y.useCallback(()=>a.current,[]);return At(()=>{if(n===null||typeof n.matchMedia!="function")return;const c=n.matchMedia(RC);c.matches&&(a.current=!0);const u=d=>{a.current=d.matches};return c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[n]),s}const AC=["@fluentui/react-motion: Invalid child element.",`
127
- `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function iS(e,r=!0){const n=y.useRef(null);y.useEffect(()=>{},[r]);try{const a=y.Children.only(e);if(y.isValidElement(a))return[y.cloneElement(a,{ref:Ct(n,Gu(a))}),n]}catch{}throw new Error(AC)}const lS=y.createContext(void 0);lS.Provider;const sS=()=>{var e;return(e=y.useContext(lS))!==null&&e!==void 0?e:"default"},DC=Symbol("MOTION_DEFINITION");function Yb(e){return Object.assign(n=>{"use no memo";const{children:a,imperativeRef:s,onMotionFinish:c,onMotionStart:u,onMotionCancel:d,...g}=n,p=g,[m,v]=iS(a),S=nS(s),k=sS()==="skip",w=y.useRef({skipMotions:k,params:p}),x=rS(),z=aS(),T=_e(()=>{u==null||u(null)}),j=_e(()=>{c==null||c(null)}),N=_e(()=>{d==null||d(null)});return At(()=>{w.current={skipMotions:k,params:p}}),At(()=>{const C=v.current;if(C){const E=typeof e=="function"?e({element:C,...w.current.params}):e;T();const M=x(C,E,{isReducedMotion:z()});return S.current=M,M.setMotionEndCallbacks(j,N),w.current.skipMotions&&M.finish(),()=>{M.cancel()}}},[x,v,S,z,j,T,N]),m},{[DC]:typeof e=="function"?e:()=>e})}const cS=y.createContext(void 0);cS.Provider;function OC(e=!1,r=!1){const n=y.useRef(r?e:!0),a=D_(),s=y.useCallback(c=>{n.current!==c&&(n.current=c,a())},[a]);return y.useEffect(()=>{e&&(n.current=e)}),[e||n.current,s]}const uS=Symbol("PRESENCE_MOTION_DEFINITION"),MC=Symbol.for("interruptablePresence");function Ju(e){return Object.assign(r=>{"use no memo";const a={...y.useContext(cS),...r},s=sS()==="skip",{appear:c,children:u,imperativeRef:d,onExit:g,onMotionFinish:p,onMotionStart:m,onMotionCancel:v,visible:S,unmountOnExit:k,...w}=a,x=w,[z,T]=OC(S,k),[j,N]=iS(u,z),C=nS(d),E=y.useRef({appear:c,params:x,skipMotions:s}),M=rS(),Q=a2(),G=aS(),oe=_e(ae=>{m==null||m(null,{direction:ae})}),ie=_e(ae=>{p==null||p(null,{direction:ae}),ae==="exit"&&k&&(T(!1),g==null||g())}),ve=_e(ae=>{v==null||v(null,{direction:ae})});return At(()=>{E.current={appear:c,params:x,skipMotions:s}}),At(()=>{const ae=N.current;if(!ae)return;let ue;function re(){ue&&(P&&ue.isRunning()||(ue.cancel(),C.current=void 0))}const ye=typeof e=="function"?e({element:ae,...E.current.params}):e,P=ye[MC];if(P&&(ue=C.current,ue&&ue.isRunning()))return ue.reverse(),re;const J=S?ye.enter:ye.exit,te=S?"enter":"exit",ce=!E.current.appear&&Q,ze=E.current.skipMotions;return ce||oe(te),ue=M(ae,J,{isReducedMotion:G()}),ce?(ue.finish(),re):(C.current=ue,ue.setMotionEndCallbacks(()=>ie(te),()=>ve(te)),ze&&ue.finish(),re)},[M,N,C,G,ie,oe,ve,S]),y.useEffect(()=>{if(k&&!z){var ae;(ae=C.current)===null||ae===void 0||ae.dispose()}},[C,k,z]),z?j:null},{[uS]:typeof e=="function"?e:()=>e},{In:Yb(typeof e=="function"?(...r)=>e(...r).enter:e.enter),Out:Yb(typeof e=="function"?(...r)=>e(...r).exit:e.exit)})}function qC(e,r){return a=>e({...r,...a})}function zs(e,r){const n=e[uS],a=qC(n,r);return Ju(a)}const pg=y.createContext(void 0);function mg(){return y.useContext(pg)}const vg=y.forwardRef((e,r)=>y.createElement(pg.Provider,{value:r},e.children));vg.displayName="MotionRefForwarder";const fS=e=>y.createElement(pg.Provider,{value:void 0},e.children);fS.displayName="MotionRefForwarderReset";function bg(e,r){const{as:n,children:a,...s}=e??{};if(e===null){const u=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,d=(g,p)=>u?null:y.createElement(y.Fragment,null,p.children);return{[wu]:d,[Ii]:r.elementType}}const c={...r.defaultProps,...s,[Ii]:r.elementType};return typeof a=="function"&&(c[wu]=a),c}const fs=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outOpacity:s=0,inOpacity:c=1})=>{const u=[{opacity:s},{opacity:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:r,easing:n,delay:a,fill:"both"}},FC=({duration:e=vt.durationNormal,easing:r=vt.curveEasyEase,delay:n=0,exitDuration:a=e,exitEasing:s=r,exitDelay:c=n,outOpacity:u=0,inOpacity:d=1})=>({enter:fs({direction:"enter",duration:e,easing:r,delay:n,outOpacity:u,inOpacity:d}),exit:fs({direction:"exit",duration:a,easing:s,delay:c,outOpacity:u,inOpacity:d})}),dS=Ju(FC);zs(dS,{duration:vt.durationFast});const HC=zs(dS,{duration:vt.durationGentle}),$b=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outScale:s=.9,inScale:c=1})=>{const u=[{scale:s},{scale:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:r,easing:n,delay:a}},LC=({duration:e=vt.durationGentle,easing:r=vt.curveDecelerateMax,delay:n=0,exitDuration:a=vt.durationNormal,exitEasing:s=vt.curveAccelerateMax,exitDelay:c=n,outScale:u=.9,inScale:d=1,animateOpacity:g=!0})=>{const p=[$b({direction:"enter",duration:e,easing:r,delay:n,outScale:u,inScale:d})],m=[$b({direction:"exit",duration:a,easing:s,delay:c,outScale:u,inScale:d})];return g&&(p.push(fs({direction:"enter",duration:e,easing:r,delay:n})),m.push(fs({direction:"exit",duration:a,easing:s,delay:c}))),{enter:p,exit:m}},yg=Ju(LC);zs(yg,{duration:vt.durationNormal,exitDuration:vt.durationFast});zs(yg,{duration:vt.durationSlow,exitDuration:vt.durationGentle});const PC=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outX:s="0px",outY:c="0px",inX:u="0px",inY:d="0px"})=>({keyframes:[{translate:`${s} ${c}`},{translate:`${u} ${d}`}],duration:r,easing:n,delay:a}),IC=(e,r)=>{const{shape:n="circular",size:a="medium",appearance:s="filled",color:c="brand",...u}=e;return{...UC(u,r),shape:n,size:a,appearance:s,color:c}},UC=(e,r)=>{const{iconPosition:n="before"}=e;return{iconPosition:n,components:{root:"div",icon:"span"},root:Ve(Vt("div",{ref:r,...e}),{elementType:"div"}),icon:et(e.icon,{elementType:"span"})}},Kb={root:"fui-Badge",icon:"fui-Badge__icon"},VC=Le("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),GC=Se({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),XC=Le("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),WC=Se({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),QC=e=>{"use no memo";const r=VC(),n=GC(),a=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=me(Kb.root,r,a&&n.fontSmallToTiny,n[e.size],n[e.shape],e.shape==="rounded"&&a&&n.roundedSmallToTiny,e.appearance==="ghost"&&n.borderGhost,n[e.appearance],n[`${e.appearance}-${e.color}`],e.root.className);const s=XC(),c=WC();if(e.icon){let u;y.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?u=e.iconPosition==="after"?c.afterTextXL:c.beforeTextXL:u=e.iconPosition==="after"?c.afterText:c.beforeText),e.icon.className=me(Kb.icon,s,u,c[e.size],e.icon.className)}return e},YC=e=>Bt(e.root,{children:[e.iconPosition==="before"&&e.icon&&se(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&se(e.icon,{})]}),er=y.forwardRef((e,r)=>{const n=IC(e,r);return QC(n),ht("useBadgeStyles_unstable")(n),YC(n)});er.displayName="Badge";function $C(e){const r=e.clientX,n=e.clientY,a=r+1,s=n+1;function c(){return{left:r,top:n,right:a,bottom:s,x:r,y:n,height:1,width:1}}return{getBoundingClientRect:c}}const Zb="data-popper-is-intersecting",Jb="data-popper-escaped",ey="data-popper-reference-hidden",KC="data-popper-placement",z0="fui-positioningend",T0="--fui-positioning-slide-direction-x",N0="--fui-positioning-slide-direction-y";function ZC(e){const r=e.split("-")[0];let n=0,a=1;return r==="right"?(n=-1,a=0):r==="bottom"?(n=0,a=-1):r==="left"&&(n=1,a=0),{x:n,y:a}}function JC(e){const{targetDocument:r,onPositioningEnd:n}=e,a=_e(s=>{n==null||n(s);const c=s.target,u=s.detail.placement;if(!Vn(c))return;const{x:d,y:g}=ZC(u);c.style.setProperty(T0,`${d}px`),c.style.setProperty(N0,`${g}px`)});return y.useEffect(()=>{var s,c,u;const d=(u=r==null||(c=r.defaultView)===null||c===void 0||(s=c.CSS)===null||s===void 0?void 0:s.registerProperty)!==null&&u!==void 0?u:()=>{};try{d({name:T0,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:N0,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[r]),a}const eE=({options:e})=>e,hS=y.createContext(void 0);hS.Provider;const tE=()=>{var e;return(e=y.useContext(hS))!==null&&e!==void 0?e:eE},oE=["top","right","bottom","left"],Ca=Math.min,Io=Math.max,Nu=Math.round,yr=e=>({x:e,y:e}),rE={left:"right",right:"left",bottom:"top",top:"bottom"};function C0(e,r,n){return Io(e,Ca(r,n))}function $r(e,r){return typeof e=="function"?e(r):e}function Kr(e){return e.split("-")[0]}function Ki(e){return e.split("-")[1]}function xg(e){return e==="x"?"y":"x"}function Sg(e){return e==="y"?"height":"width"}function br(e){const r=e[0];return r==="t"||r==="b"?"y":"x"}function wg(e){return xg(br(e))}function nE(e,r,n){n===void 0&&(n=!1);const a=Ki(e),s=wg(e),c=Sg(s);let u=s==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(u=Cu(u)),[u,Cu(u)]}function aE(e){const r=Cu(e);return[E0(e),r,E0(r)]}function E0(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ty=["left","right"],oy=["right","left"],iE=["top","bottom"],lE=["bottom","top"];function sE(e,r,n){switch(e){case"top":case"bottom":return n?r?oy:ty:r?ty:oy;case"left":case"right":return r?iE:lE;default:return[]}}function cE(e,r,n,a){const s=Ki(e);let c=sE(Kr(e),n==="start",a);return s&&(c=c.map(u=>u+"-"+s),r&&(c=c.concat(c.map(E0)))),c}function Cu(e){const r=Kr(e);return rE[r]+e.slice(r.length)}function uE(e){return{top:0,right:0,bottom:0,left:0,...e}}function gS(e){return typeof e!="number"?uE(e):{top:e,right:e,bottom:e,left:e}}function Eu(e){const{x:r,y:n,width:a,height:s}=e;return{width:a,height:s,top:n,left:r,right:r+a,bottom:n+s,x:r,y:n}}function ry(e,r,n){let{reference:a,floating:s}=e;const c=br(r),u=wg(r),d=Sg(u),g=Kr(r),p=c==="y",m=a.x+a.width/2-s.width/2,v=a.y+a.height/2-s.height/2,S=a[d]/2-s[d]/2;let k;switch(g){case"top":k={x:m,y:a.y-s.height};break;case"bottom":k={x:m,y:a.y+a.height};break;case"right":k={x:a.x+a.width,y:v};break;case"left":k={x:a.x-s.width,y:v};break;default:k={x:a.x,y:a.y}}switch(Ki(r)){case"start":k[u]-=S*(n&&p?-1:1);break;case"end":k[u]+=S*(n&&p?-1:1);break}return k}async function pS(e,r){var n;r===void 0&&(r={});const{x:a,y:s,platform:c,rects:u,elements:d,strategy:g}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:v="floating",altBoundary:S=!1,padding:k=0}=$r(r,e),w=gS(k),z=d[S?v==="floating"?"reference":"floating":v],T=Eu(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(z)))==null||n?z:z.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:p,rootBoundary:m,strategy:g})),j=v==="floating"?{x:a,y:s,width:u.floating.width,height:u.floating.height}:u.reference,N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),C=await(c.isElement==null?void 0:c.isElement(N))?await(c.getScale==null?void 0:c.getScale(N))||{x:1,y:1}:{x:1,y:1},E=Eu(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:j,offsetParent:N,strategy:g}):j);return{top:(T.top-E.top+w.top)/C.y,bottom:(E.bottom-T.bottom+w.bottom)/C.y,left:(T.left-E.left+w.left)/C.x,right:(E.right-T.right+w.right)/C.x}}const fE=50,dE=async(e,r,n)=>{const{placement:a="bottom",strategy:s="absolute",middleware:c=[],platform:u}=n,d=u.detectOverflow?u:{...u,detectOverflow:pS},g=await(u.isRTL==null?void 0:u.isRTL(r));let p=await u.getElementRects({reference:e,floating:r,strategy:s}),{x:m,y:v}=ry(p,a,g),S=a,k=0;const w={};for(let x=0;x<c.length;x++){const z=c[x];if(!z)continue;const{name:T,fn:j}=z,{x:N,y:C,data:E,reset:M}=await j({x:m,y:v,initialPlacement:a,placement:S,strategy:s,middlewareData:w,rects:p,platform:d,elements:{reference:e,floating:r}});m=N??m,v=C??v,w[T]={...w[T],...E},M&&k<fE&&(k++,typeof M=="object"&&(M.placement&&(S=M.placement),M.rects&&(p=M.rects===!0?await u.getElementRects({reference:e,floating:r,strategy:s}):M.rects),{x:m,y:v}=ry(p,S,g)),x=-1)}return{x:m,y:v,placement:S,strategy:s,middlewareData:w}},hE=e=>({name:"arrow",options:e,async fn(r){const{x:n,y:a,placement:s,rects:c,platform:u,elements:d,middlewareData:g}=r,{element:p,padding:m=0}=$r(e,r)||{};if(p==null)return{};const v=gS(m),S={x:n,y:a},k=wg(s),w=Sg(k),x=await u.getDimensions(p),z=k==="y",T=z?"top":"left",j=z?"bottom":"right",N=z?"clientHeight":"clientWidth",C=c.reference[w]+c.reference[k]-S[k]-c.floating[w],E=S[k]-c.reference[k],M=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let Q=M?M[N]:0;(!Q||!await(u.isElement==null?void 0:u.isElement(M)))&&(Q=d.floating[N]||c.floating[w]);const G=C/2-E/2,oe=Q/2-x[w]/2-1,ie=Ca(v[T],oe),ve=Ca(v[j],oe),ae=ie,ue=Q-x[w]-ve,re=Q/2-x[w]/2+G,ye=C0(ae,re,ue),P=!g.arrow&&Ki(s)!=null&&re!==ye&&c.reference[w]/2-(re<ae?ie:ve)-x[w]/2<0,J=P?re<ae?re-ae:re-ue:0;return{[k]:S[k]+J,data:{[k]:ye,centerOffset:re-ye-J,...P&&{alignmentOffset:J}},reset:P}}}),gE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var n,a;const{placement:s,middlewareData:c,rects:u,initialPlacement:d,platform:g,elements:p}=r,{mainAxis:m=!0,crossAxis:v=!0,fallbackPlacements:S,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:x=!0,...z}=$r(e,r);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const T=Kr(s),j=br(d),N=Kr(d)===d,C=await(g.isRTL==null?void 0:g.isRTL(p.floating)),E=S||(N||!x?[Cu(d)]:aE(d)),M=w!=="none";!S&&M&&E.push(...cE(d,x,w,C));const Q=[d,...E],G=await g.detectOverflow(r,z),oe=[];let ie=((a=c.flip)==null?void 0:a.overflows)||[];if(m&&oe.push(G[T]),v){const re=nE(s,u,C);oe.push(G[re[0]],G[re[1]])}if(ie=[...ie,{placement:s,overflows:oe}],!oe.every(re=>re<=0)){var ve,ae;const re=(((ve=c.flip)==null?void 0:ve.index)||0)+1,ye=Q[re];if(ye&&(!(v==="alignment"?j!==br(ye):!1)||ie.every(te=>br(te.placement)===j?te.overflows[0]>0:!0)))return{data:{index:re,overflows:ie},reset:{placement:ye}};let P=(ae=ie.filter(J=>J.overflows[0]<=0).sort((J,te)=>J.overflows[1]-te.overflows[1])[0])==null?void 0:ae.placement;if(!P)switch(k){case"bestFit":{var ue;const J=(ue=ie.filter(te=>{if(M){const ce=br(te.placement);return ce===j||ce==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(ce=>ce>0).reduce((ce,ze)=>ce+ze,0)]).sort((te,ce)=>te[1]-ce[1])[0])==null?void 0:ue[0];J&&(P=J);break}case"initialPlacement":P=d;break}if(s!==P)return{reset:{placement:P}}}return{}}}};function ny(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function ay(e){return oE.some(r=>e[r]>=0)}const pE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:n,platform:a}=r,{strategy:s="referenceHidden",...c}=$r(e,r);switch(s){case"referenceHidden":{const u=await a.detectOverflow(r,{...c,elementContext:"reference"}),d=ny(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:ay(d)}}}case"escaped":{const u=await a.detectOverflow(r,{...c,altBoundary:!0}),d=ny(u,n.floating);return{data:{escapedOffsets:d,escaped:ay(d)}}}default:return{}}}}},mS=new Set(["left","top"]);async function mE(e,r){const{placement:n,platform:a,elements:s}=e,c=await(a.isRTL==null?void 0:a.isRTL(s.floating)),u=Kr(n),d=Ki(n),g=br(n)==="y",p=mS.has(u)?-1:1,m=c&&g?-1:1,v=$r(r,e);let{mainAxis:S,crossAxis:k,alignmentAxis:w}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return d&&typeof w=="number"&&(k=d==="end"?w*-1:w),g?{x:k*m,y:S*p}:{x:S*p,y:k*m}}const vE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var n,a;const{x:s,y:c,placement:u,middlewareData:d}=r,g=await mE(r,e);return u===((n=d.offset)==null?void 0:n.placement)&&(a=d.arrow)!=null&&a.alignmentOffset?{}:{x:s+g.x,y:c+g.y,data:{...g,placement:u}}}}},bE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:n,y:a,placement:s,platform:c}=r,{mainAxis:u=!0,crossAxis:d=!1,limiter:g={fn:T=>{let{x:j,y:N}=T;return{x:j,y:N}}},...p}=$r(e,r),m={x:n,y:a},v=await c.detectOverflow(r,p),S=br(Kr(s)),k=xg(S);let w=m[k],x=m[S];if(u){const T=k==="y"?"top":"left",j=k==="y"?"bottom":"right",N=w+v[T],C=w-v[j];w=C0(N,w,C)}if(d){const T=S==="y"?"top":"left",j=S==="y"?"bottom":"right",N=x+v[T],C=x-v[j];x=C0(N,x,C)}const z=g.fn({...r,[k]:w,[S]:x});return{...z,data:{x:z.x-n,y:z.y-a,enabled:{[k]:u,[S]:d}}}}}},yE=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:n,y:a,placement:s,rects:c,middlewareData:u}=r,{offset:d=0,mainAxis:g=!0,crossAxis:p=!0}=$r(e,r),m={x:n,y:a},v=br(s),S=xg(v);let k=m[S],w=m[v];const x=$r(d,r),z=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(g){const N=S==="y"?"height":"width",C=c.reference[S]-c.floating[N]+z.mainAxis,E=c.reference[S]+c.reference[N]-z.mainAxis;k<C?k=C:k>E&&(k=E)}if(p){var T,j;const N=S==="y"?"width":"height",C=mS.has(Kr(s)),E=c.reference[v]-c.floating[N]+(C&&((T=u.offset)==null?void 0:T[v])||0)+(C?0:z.crossAxis),M=c.reference[v]+c.reference[N]+(C?0:((j=u.offset)==null?void 0:j[v])||0)-(C?z.crossAxis:0);w<E?w=E:w>M&&(w=M)}return{[S]:k,[v]:w}}}},xE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){var n,a;const{placement:s,rects:c,platform:u,elements:d}=r,{apply:g=()=>{},...p}=$r(e,r),m=await u.detectOverflow(r,p),v=Kr(s),S=Ki(s),k=br(s)==="y",{width:w,height:x}=c.floating;let z,T;v==="top"||v==="bottom"?(z=v,T=S===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(T=v,z=S==="end"?"top":"bottom");const j=x-m.top-m.bottom,N=w-m.left-m.right,C=Ca(x-m[z],j),E=Ca(w-m[T],N),M=!r.middlewareData.shift;let Q=C,G=E;if((n=r.middlewareData.shift)!=null&&n.enabled.x&&(G=N),(a=r.middlewareData.shift)!=null&&a.enabled.y&&(Q=j),M&&!S){const ie=Io(m.left,0),ve=Io(m.right,0),ae=Io(m.top,0),ue=Io(m.bottom,0);k?G=w-2*(ie!==0||ve!==0?ie+ve:Io(m.left,m.right)):Q=x-2*(ae!==0||ue!==0?ae+ue:Io(m.top,m.bottom))}await g({...r,availableWidth:G,availableHeight:Q});const oe=await u.getDimensions(d.floating);return w!==oe.width||x!==oe.height?{reset:{rects:!0}}:{}}}};function ef(){return typeof window<"u"}function Zi(e){return vS(e)?(e.nodeName||"").toLowerCase():"#document"}function ko(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Jr(e){var r;return(r=(vS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function vS(e){return ef()?e instanceof Node||e instanceof ko(e).Node:!1}function ar(e){return ef()?e instanceof Element||e instanceof ko(e).Element:!1}function en(e){return ef()?e instanceof HTMLElement||e instanceof ko(e).HTMLElement:!1}function iy(e){return!ef()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ko(e).ShadowRoot}function Ts(e){const{overflow:r,overflowX:n,overflowY:a,display:s}=ir(e);return/auto|scroll|overlay|hidden|clip/.test(r+a+n)&&s!=="inline"&&s!=="contents"}function SE(e){return/^(table|td|th)$/.test(Zi(e))}function tf(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const wE=/transform|translate|scale|rotate|perspective|filter/,kE=/paint|layout|strict|content/,ha=e=>!!e&&e!=="none";let Qh;function kg(e){const r=ar(e)?ir(e):e;return ha(r.transform)||ha(r.translate)||ha(r.scale)||ha(r.rotate)||ha(r.perspective)||!Bg()&&(ha(r.backdropFilter)||ha(r.filter))||wE.test(r.willChange||"")||kE.test(r.contain||"")}function BE(e){let r=Gn(e);for(;en(r)&&!Vi(r);){if(kg(r))return r;if(tf(r))return null;r=Gn(r)}return null}function Bg(){return Qh==null&&(Qh=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Qh}function Vi(e){return/^(html|body|#document)$/.test(Zi(e))}function ir(e){return ko(e).getComputedStyle(e)}function of(e){return ar(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Gn(e){if(Zi(e)==="html")return e;const r=e.assignedSlot||e.parentNode||iy(e)&&e.host||Jr(e);return iy(r)?r.host:r}function bS(e){const r=Gn(e);return Vi(r)?e.ownerDocument?e.ownerDocument.body:e.body:en(r)&&Ts(r)?r:bS(r)}function yS(e,r,n){var a;r===void 0&&(r=[]);const s=bS(e),c=s===((a=e.ownerDocument)==null?void 0:a.body),u=ko(s);return c?(j0(u),r.concat(u,u.visualViewport||[],Ts(s)?s:[],[])):r.concat(s,yS(s,[]))}function j0(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function xS(e){const r=ir(e);let n=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const s=en(e),c=s?e.offsetWidth:n,u=s?e.offsetHeight:a,d=Nu(n)!==c||Nu(a)!==u;return d&&(n=c,a=u),{width:n,height:a,$:d}}function SS(e){return ar(e)?e:e.contextElement}function ki(e){const r=SS(e);if(!en(r))return yr(1);const n=r.getBoundingClientRect(),{width:a,height:s,$:c}=xS(r);let u=(c?Nu(n.width):n.width)/a,d=(c?Nu(n.height):n.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const _E=yr(0);function wS(e){const r=ko(e);return!Bg()||!r.visualViewport?_E:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function zE(e,r,n){return r===void 0&&(r=!1),!n||r&&n!==ko(e)?!1:r}function ds(e,r,n,a){r===void 0&&(r=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),c=SS(e);let u=yr(1);r&&(a?ar(a)&&(u=ki(a)):u=ki(e));const d=zE(c,n,a)?wS(c):yr(0);let g=(s.left+d.x)/u.x,p=(s.top+d.y)/u.y,m=s.width/u.x,v=s.height/u.y;if(c){const S=ko(c),k=a&&ar(a)?ko(a):a;let w=S,x=j0(w);for(;x&&a&&k!==w;){const z=ki(x),T=x.getBoundingClientRect(),j=ir(x),N=T.left+(x.clientLeft+parseFloat(j.paddingLeft))*z.x,C=T.top+(x.clientTop+parseFloat(j.paddingTop))*z.y;g*=z.x,p*=z.y,m*=z.x,v*=z.y,g+=N,p+=C,w=ko(x),x=j0(w)}}return Eu({width:m,height:v,x:g,y:p})}function rf(e,r){const n=of(e).scrollLeft;return r?r.left+n:ds(Jr(e)).left+n}function kS(e,r){const n=e.getBoundingClientRect(),a=n.left+r.scrollLeft-rf(e,n),s=n.top+r.scrollTop;return{x:a,y:s}}function TE(e){let{elements:r,rect:n,offsetParent:a,strategy:s}=e;const c=s==="fixed",u=Jr(a),d=r?tf(r.floating):!1;if(a===u||d&&c)return n;let g={scrollLeft:0,scrollTop:0},p=yr(1);const m=yr(0),v=en(a);if((v||!v&&!c)&&((Zi(a)!=="body"||Ts(u))&&(g=of(a)),v)){const k=ds(a);p=ki(a),m.x=k.x+a.clientLeft,m.y=k.y+a.clientTop}const S=u&&!v&&!c?kS(u,g):yr(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-g.scrollLeft*p.x+m.x+S.x,y:n.y*p.y-g.scrollTop*p.y+m.y+S.y}}function NE(e){return Array.from(e.getClientRects())}function CE(e){const r=Jr(e),n=of(e),a=e.ownerDocument.body,s=Io(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),c=Io(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let u=-n.scrollLeft+rf(e);const d=-n.scrollTop;return ir(a).direction==="rtl"&&(u+=Io(r.clientWidth,a.clientWidth)-s),{width:s,height:c,x:u,y:d}}const ly=25;function EE(e,r){const n=ko(e),a=Jr(e),s=n.visualViewport;let c=a.clientWidth,u=a.clientHeight,d=0,g=0;if(s){c=s.width,u=s.height;const m=Bg();(!m||m&&r==="fixed")&&(d=s.offsetLeft,g=s.offsetTop)}const p=rf(a);if(p<=0){const m=a.ownerDocument,v=m.body,S=getComputedStyle(v),k=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,w=Math.abs(a.clientWidth-v.clientWidth-k);w<=ly&&(c-=w)}else p<=ly&&(c+=p);return{width:c,height:u,x:d,y:g}}function jE(e,r){const n=ds(e,!0,r==="fixed"),a=n.top+e.clientTop,s=n.left+e.clientLeft,c=en(e)?ki(e):yr(1),u=e.clientWidth*c.x,d=e.clientHeight*c.y,g=s*c.x,p=a*c.y;return{width:u,height:d,x:g,y:p}}function sy(e,r,n){let a;if(r==="viewport")a=EE(e,n);else if(r==="document")a=CE(Jr(e));else if(ar(r))a=jE(r,n);else{const s=wS(e);a={x:r.x-s.x,y:r.y-s.y,width:r.width,height:r.height}}return Eu(a)}function BS(e,r){const n=Gn(e);return n===r||!ar(n)||Vi(n)?!1:ir(n).position==="fixed"||BS(n,r)}function RE(e,r){const n=r.get(e);if(n)return n;let a=yS(e,[]).filter(d=>ar(d)&&Zi(d)!=="body"),s=null;const c=ir(e).position==="fixed";let u=c?Gn(e):e;for(;ar(u)&&!Vi(u);){const d=ir(u),g=kg(u);!g&&d.position==="fixed"&&(s=null),(c?!g&&!s:!g&&d.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||Ts(u)&&!g&&BS(e,u))?a=a.filter(m=>m!==u):s=d,u=Gn(u)}return r.set(e,a),a}function AE(e){let{element:r,boundary:n,rootBoundary:a,strategy:s}=e;const u=[...n==="clippingAncestors"?tf(r)?[]:RE(r,this._c):[].concat(n),a],d=sy(r,u[0],s);let g=d.top,p=d.right,m=d.bottom,v=d.left;for(let S=1;S<u.length;S++){const k=sy(r,u[S],s);g=Io(k.top,g),p=Ca(k.right,p),m=Ca(k.bottom,m),v=Io(k.left,v)}return{width:p-v,height:m-g,x:v,y:g}}function DE(e){const{width:r,height:n}=xS(e);return{width:r,height:n}}function OE(e,r,n){const a=en(r),s=Jr(r),c=n==="fixed",u=ds(e,!0,c,r);let d={scrollLeft:0,scrollTop:0};const g=yr(0);function p(){g.x=rf(s)}if(a||!a&&!c)if((Zi(r)!=="body"||Ts(s))&&(d=of(r)),a){const k=ds(r,!0,c,r);g.x=k.x+r.clientLeft,g.y=k.y+r.clientTop}else s&&p();c&&!a&&s&&p();const m=s&&!a&&!c?kS(s,d):yr(0),v=u.left+d.scrollLeft-g.x-m.x,S=u.top+d.scrollTop-g.y-m.y;return{x:v,y:S,width:u.width,height:u.height}}function Yh(e){return ir(e).position==="static"}function cy(e,r){if(!en(e)||ir(e).position==="fixed")return null;if(r)return r(e);let n=e.offsetParent;return Jr(e)===n&&(n=n.ownerDocument.body),n}function _S(e,r){const n=ko(e);if(tf(e))return n;if(!en(e)){let s=Gn(e);for(;s&&!Vi(s);){if(ar(s)&&!Yh(s))return s;s=Gn(s)}return n}let a=cy(e,r);for(;a&&SE(a)&&Yh(a);)a=cy(a,r);return a&&Vi(a)&&Yh(a)&&!kg(a)?n:a||BE(e)||n}const ME=async function(e){const r=this.getOffsetParent||_S,n=this.getDimensions,a=await n(e.floating);return{reference:OE(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function qE(e){return ir(e).direction==="rtl"}const FE={convertOffsetParentRelativeRectToViewportRelativeRect:TE,getDocumentElement:Jr,getClippingRect:AE,getOffsetParent:_S,getElementRects:ME,getClientRects:NE,getDimensions:DE,getScale:ki,isElement:ar,isRTL:qE},HE=pS,LE=vE,PE=bE,IE=gE,UE=xE,uy=pE,VE=hE,fy=yE,GE=(e,r,n)=>{const a=new Map,s={platform:FE,...n},c={...s.platform,_c:a};return dE(e,r,{...s,platform:c})};function zS(e){const r=e.split("-");return{side:r[0],alignment:r[1]}}const XE=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,WE=e=>{var r;if(e.nodeType!==1)return{};const n=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;return n?n.getComputedStyle(e,null):{}},nf=e=>{const r=e&&XE(e);if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}const{overflow:n,overflowX:a,overflowY:s}=WE(r);return/(auto|scroll|overlay)/.test(n+s+a)?r:nf(r)},QE=e=>{var r;const n=nf(e);return n?n!==((r=n.ownerDocument)===null||r===void 0?void 0:r.body):!1};function _g(e,r){if(r==="window")return e==null?void 0:e.ownerDocument.documentElement;if(r==="clippingParents")return"clippingAncestors";if(r==="scrollParent"){let n=nf(e);return n.nodeName==="BODY"&&(n=e==null?void 0:e.ownerDocument.documentElement),n}return r}function TS(e,r){return typeof e=="number"||typeof e=="object"&&e!==null?$h(e,r):typeof e=="function"?n=>{const a=e(n);return $h(a,r)}:{mainAxis:r}}const $h=(e,r)=>{if(typeof e=="number")return{mainAxis:e+r};var n;return{...e,mainAxis:((n=e.mainAxis)!==null&&n!==void 0?n:0)+r}};function NS(e,r){if(typeof e=="number")return e;const{start:n,end:a,...s}=e,c=s,u=r?"end":"start",d=r?"start":"end";return e[u]&&(c.left=e[u]),e[d]&&(c.right=e[d]),c}const YE=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),$E=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),KE=(e,r)=>{const n=e==="above"||e==="below",a=r==="top"||r==="bottom";return n&&a||!n&&!a},CS=(e,r,n)=>{const a=KE(r,e)?"center":e,s=r&&YE(n)[r],c=a&&$E()[a];return s&&c?`${s}-${c}`:s},ZE=()=>({top:"above",bottom:"below",right:"after",left:"before"}),JE=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},e7=e=>{const{side:r,alignment:n}=zS(e),a=ZE()[r],s=n&&JE(a)[n];return{position:a,alignment:s}},t7={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function Ns(e){return e==null?{}:typeof e=="string"?t7[e]:e}function Kh(e,r,n){const a=y.useRef(!0),[s]=y.useState(()=>({value:e,callback:r,facade:{get current(){return s.value},set current(c){const u=s.value;u!==c&&(s.value=c,s.callback(c,u))}}}));return At(()=>{a.current=!1},[]),s.callback=r,s.facade}function o7(e){let r;return()=>(r||(r=new Promise(n=>{Promise.resolve().then(()=>{r=void 0,n(e())})})),r)}function r7(e){const{arrow:r,middlewareData:n}=e;if(!n.arrow||!r)return;const{x:a,y:s}=n.arrow;Object.assign(r.style,{left:a!=null?`${a}px`:"",top:s!=null?`${s}px`:""})}function n7(e){var r,n,a;const{container:s,placement:c,middlewareData:u,strategy:d,lowPPI:g,coordinates:p,useTransform:m=!0}=e;if(!s)return;s.setAttribute(KC,c),s.removeAttribute(Zb),u.intersectionObserver.intersecting&&s.setAttribute(Zb,""),s.removeAttribute(Jb),!((r=u.hide)===null||r===void 0)&&r.escaped&&s.setAttribute(Jb,""),s.removeAttribute(ey),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&s.setAttribute(ey,"");const v=((a=s.ownerDocument.defaultView)===null||a===void 0?void 0:a.devicePixelRatio)||1,S=Math.round(p.x*v)/v,k=Math.round(p.y*v)/v;if(Object.assign(s.style,{position:d}),m){Object.assign(s.style,{transform:g?`translate(${S}px, ${k}px)`:`translate3d(${S}px, ${k}px, 0)`});return}Object.assign(s.style,{left:`${S}px`,top:`${k}px`})}const a7=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function dy(e){const r=[];let n=e;for(;n;){const a=nf(n);if(e.ownerDocument.body===a){r.push(a);break}if(a.nodeName==="BODY"&&a!==e.ownerDocument.body)break;r.push(a),n=a}return r}function i7(e,r){return new e.ResizeObserver(r)}function l7(e){let r=!1;const{container:n,target:a,arrow:s,strategy:c,middleware:u,placement:d,useTransform:g=!0,disableUpdateOnResize:p=!1}=e,m=n.ownerDocument.defaultView;if(!a||!n||!m)return{updatePosition:()=>{},dispose:()=>{}};const v=p?null:i7(m,T=>{T.every(N=>N.contentRect.width>0&&N.contentRect.height>0)&&x()});let S=!0;const k=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const w=()=>{r||(S&&(dy(n).forEach(T=>k.add(T)),Vn(a)&&dy(a).forEach(T=>k.add(T)),k.forEach(T=>{T.addEventListener("scroll",x,{passive:!0})}),v==null||v.observe(n),Vn(a)&&(v==null||v.observe(a)),S=!1),Object.assign(n.style,{position:c}),GE(a,n,{placement:d,middleware:u,strategy:c}).then(({x:T,y:j,middlewareData:N,placement:C})=>{r||(r7({arrow:s,middlewareData:N}),n7({container:n,middlewareData:N,placement:C,coordinates:{x:T,y:j},lowPPI:((m==null?void 0:m.devicePixelRatio)||1)<=1,strategy:c,useTransform:g}),n.dispatchEvent(new CustomEvent(z0,{detail:{placement:C}})))}).catch(T=>{}))},x=o7(()=>w()),z=()=>{r=!0,m&&(m.removeEventListener("scroll",x),m.removeEventListener("resize",x)),k.forEach(T=>{T.removeEventListener("scroll",x)}),k.clear(),v==null||v.disconnect()};return m&&(m.addEventListener("scroll",x,{passive:!0}),m.addEventListener("resize",x)),x(),{updatePosition:x,dispose:z}}function s7(){return{name:"coverTarget",fn:e=>{const{placement:r,rects:n,x:a,y:s}=e,c=zS(r).side,u={x:a,y:s};switch(c){case"bottom":u.y-=n.reference.height;break;case"top":u.y+=n.reference.height;break;case"left":u.x+=n.reference.width;break;case"right":u.x-=n.reference.width;break}return u}}}function c7(e){const{hasScrollableElement:r,flipBoundary:n,container:a,fallbackPositions:s=[],isRtl:c}=e,u=s.reduce((d,g)=>{const{position:p,align:m}=Ns(g),v=CS(m,p,c);return v&&d.push(v),d},[]);return IE({...r&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:_g(a,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function u7(){return{name:"intersectionObserver",fn:async e=>{const r=e.rects.floating,n=await HE(e,{altBoundary:!0}),a=n.top<r.height&&n.top>0,s=n.bottom<r.height&&n.bottom>0;return{data:{intersecting:a||s}}}}}const f7=e=>({name:"resetMaxSize",fn({middlewareData:r,elements:n}){var a;if(!((a=r.resetMaxSize)===null||a===void 0)&&a.maxSizeAlreadyReset)return{};const{applyMaxWidth:s,applyMaxHeight:c}=e;return s&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-width"),n.floating.style.removeProperty("width")),c&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-height"),n.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function d7(e,r){const{container:n,overflowBoundary:a,overflowBoundaryPadding:s,isRtl:c}=r;return UE({...s&&{padding:NS(s,c)},...a&&{altBoundary:!0,boundary:_g(n,a)},apply({availableHeight:u,availableWidth:d,elements:g,rects:p}){const m=(k,w,x)=>{if(k&&(g.floating.style.setProperty("box-sizing","border-box"),g.floating.style.setProperty(`max-${w}`,`${x}px`),p.floating[w]>x)){g.floating.style.setProperty(w,`${x}px`);const z=w==="width"?"x":"y";g.floating.style.getPropertyValue(`overflow-${z}`)||g.floating.style.setProperty(`overflow-${z}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:S}=e;m(v,"width",d),m(S,"height",u)}})}function h7(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:r,reference:n},placement:a})=>{const{position:s,alignment:c}=e7(a);return e({positionedRect:r,targetRect:n,position:s,alignment:c})}}function g7(e){const r=h7(e);return LE(r)}function p7(e){const{hasScrollableElement:r,shiftToCoverTarget:n,disableTether:a,overflowBoundary:s,container:c,overflowBoundaryPadding:u,isRtl:d}=e;return PE({...r&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:fy({crossAxis:!0,mainAxis:!1})},...a&&{crossAxis:a==="all",limiter:fy({crossAxis:a!=="all",mainAxis:!1})},...u&&{padding:NS(u,d)},...s&&{altBoundary:!0,boundary:_g(c,s)}})}const hy="--fui-match-target-size";function m7(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:r,floating:n},elements:{floating:a},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:s=!1}={}}}=e;if(r.width===n.width||s)return{};const{width:c}=r;return a.style.setProperty(hy,`${c}px`),a.style.width||(a.style.width=`var(${hy})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function v7(e,r){const{align:n,arrowPadding:a,autoSize:s,coverTarget:c,disableUpdateOnResize:u,flipBoundary:d,offset:g,overflowBoundary:p,pinned:m,position:v,unstable_disableTether:S,strategy:k,overflowBoundaryPadding:w,fallbackPositions:x,useTransform:z,matchTargetSize:T,shiftToCoverTarget:j}=r;return y.useCallback((N,C)=>e({container:N,arrow:C,options:{autoSize:s,disableUpdateOnResize:u,matchTargetSize:T,offset:g,strategy:k,coverTarget:c,flipBoundary:d,overflowBoundary:p,useTransform:z,overflowBoundaryPadding:w,pinned:m,arrowPadding:a,align:n,fallbackPositions:x,shiftToCoverTarget:j,position:v,unstable_disableTether:S}}),[s,u,T,g,k,c,d,p,z,w,m,a,n,x,j,v,S,e])}function b7(e){const{dir:r,targetDocument:n}=dt(),a=r==="rtl",s=v7(tE(),e),{positionFixed:c}=e;return y.useCallback((u,d)=>{const g=QE(u),p=s(u,d),{autoSize:m,disableUpdateOnResize:v,matchTargetSize:S,offset:k,coverTarget:w,flipBoundary:x,overflowBoundary:z,useTransform:T,overflowBoundaryPadding:j,pinned:N,position:C,arrowPadding:E,strategy:M,align:Q,fallbackPositions:G,shiftToCoverTarget:oe,unstable_disableTether:ie}=p,ve=a7(m),ae=[ve&&f7(ve),S&&m7(),k&&g7(k),w&&s7(),!N&&c7({container:u,flipBoundary:x,hasScrollableElement:g,isRtl:a,fallbackPositions:G}),p7({container:u,hasScrollableElement:g,overflowBoundary:z,disableTether:ie,overflowBoundaryPadding:j,isRtl:a,shiftToCoverTarget:oe}),ve&&d7(ve,{container:u,overflowBoundary:z,overflowBoundaryPadding:j,isRtl:a}),u7(),d&&VE({element:d,padding:E}),uy({strategy:"referenceHidden"}),uy({strategy:"escaped"}),!1].filter(Boolean);return{placement:CS(Q,C,a),middleware:ae,strategy:M??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:T}},[s,a,n,c])}function zg(e){"use no memo";const r=y.useRef(null),n=y.useRef(null),a=y.useRef(null),s=y.useRef(null),c=y.useRef(null),{enabled:u=!0}=e,d=b7(e),g=y.useCallback(()=>{r.current&&r.current.dispose(),r.current=null;var w;const x=(w=a.current)!==null&&w!==void 0?w:n.current;u&&Vu()&&x&&s.current&&(r.current=l7({container:s.current,target:x,arrow:c.current,...d(s.current,c.current)}))},[u,d]),p=_e(w=>{a.current=w,g()});y.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var w;return(w=r.current)===null||w===void 0?void 0:w.updatePosition()},setTarget:w=>{e.target,p(w)}}),[e.target,p]),At(()=>{var w;p((w=e.target)!==null&&w!==void 0?w:null)},[e.target,p]),At(()=>{g()},[g]);const m=Kh(null,w=>{n.current!==w&&(n.current=w,g())}),v=_e(w=>{var x;return(x=e.onPositioningEnd)===null||x===void 0?void 0:x.call(e,w)}),S=Kh(null,w=>{if(s.current!==w){var x;(x=s.current)===null||x===void 0||x.removeEventListener(z0,v),w==null||w.addEventListener(z0,v),s.current=w,g()}}),k=Kh(null,w=>{c.current!==w&&(c.current=w,g())});return{targetRef:m,containerRef:S,arrowRef:k}}const y7=e=>{const[r,n]=y.useState(e);return[r,s=>{if(s==null){n(void 0);return}let c;s instanceof MouseEvent?c=s:c=s.nativeEvent;const u=$C(c);n(u)}]},Tg=Ku(void 0),ES={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};Tg.Provider;const Ht=e=>ug(Tg,(r=ES)=>e(r)),x7=(e,r)=>{const n=Ht(u=>u.size),a=Ht(u=>u.appearance),s=mg(),c=S7(e,Ct(r,s));return{appearance:a,size:n,...c}},S7=(e,r)=>{const n=Ht(z=>z.contentRef),a=Ht(z=>z.openOnHover),s=Ht(z=>z.setOpen),c=Ht(z=>z.mountNode),u=Ht(z=>z.arrowRef),d=Ht(z=>z.withArrow),g=Ht(z=>z.trapFocus),p=Ht(z=>z.inertTrapFocus),m=Ht(z=>z.inline),{modalAttributes:v}=$u({trapFocus:g,legacyTrapFocus:!p,alwaysFocusable:!g}),S={inline:m,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ve({ref:Ct(r,n),role:g?"dialog":"group","aria-modal":g?!0:void 0,...v,...e},{elementType:"div"})},{onMouseEnter:k,onMouseLeave:w,onKeyDown:x}=S.root;return S.root.onMouseEnter=z=>{a&&s(z,!0),k==null||k(z)},S.root.onMouseLeave=z=>{a&&s(z,!1),w==null||w(z)},S.root.onKeyDown=z=>{var T;z.key==="Escape"&&(!((T=n.current)===null||T===void 0)&&T.contains(z.target))&&(z.preventDefault(),s(z,!1)),x==null||x(z)},S};function w7(e){return Vn(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const k7=mu.useInsertionEffect?mu.useInsertionEffect:At,jS=Symbol.for("fui-portal-style-ref-count"),B7="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",RS="fui-portal-styles";function AS(e){var r;return(r=e[jS])!==null&&r!==void 0?r:0}function R0(e,r){e[jS]=r}function _7(e){var r;const n=AS(e);if(n>0){R0(e,n+1);return}const a=e.createElement("style");a.id=RS,e.head.prepend(a),(r=a.sheet)===null||r===void 0||r.insertRule(B7),R0(e,1)}function z7(e){const r=AS(e);if(r===0)return;const n=r-1;if(n===0){var a;(a=e.head.querySelector(`#${RS}`))===null||a===void 0||a.remove()}R0(e,n)}function T7(e){const{targetDocument:r}=dt();k7(()=>{if(!(e||!r))return _7(r),()=>z7(r)},[e,r])}const DS=mu.useInsertionEffect,N7=e=>{"use no memo";const{className:r,dir:n,focusVisibleRef:a,targetNode:s}=e,c=y.useMemo(()=>{if(s===void 0||e.disabled)return null;const u=s.ownerDocument.createElement("div");return s.appendChild(u),u},[s,e.disabled]);return y.useMemo(()=>{c&&(c.className=r,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),a.current=c)},[r,n,c,a]),y.useEffect(()=>()=>{c==null||c.remove()},[c]),c},C7=()=>{let e;function r(a,s){return e||(s&&(e=a.ownerDocument.createElement("div"),a.appendChild(e)),e)}function n(){e&&(e.remove(),e=void 0)}return{get:r,dispose:n}},E7=e=>{"use no memo";const{className:r,dir:n,focusVisibleRef:a,targetNode:s}=e,[c]=y.useState(C7),u=y.useMemo(()=>s===void 0||e.disabled?null:new Proxy({},{get(d,g){if(g==="nodeType")return 1;if(g==="remove"){const v=c.get(s,!1);return v&&v.childNodes.length===0&&c.dispose(),()=>{}}const p=c.get(s,!0),m=p?p[g]:void 0;return typeof m=="function"?m.bind(p):m},set(d,g,p){const m=g==="_virtual"||g==="focusVisible",v=m?c.get(s,!1):c.get(s,!0);return m&&!v?!0:v?(Object.assign(v,{[g]:p}),!0):!1}}),[c,s,e.disabled]);return DS(()=>{if(u)return u.setAttribute("class",r),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),a.current=u,()=>{u.removeAttribute("class"),u.removeAttribute("dir")}},[r,n,u,a]),y.useEffect(()=>()=>{u==null||u.remove()},[u]),u},j7=DS?E7:N7,R7=e=>{"use no memo";const{targetDocument:r,dir:n}=dt(),a=T_(),s=C2(),c=b_(),u={dir:n,disabled:e.disabled,focusVisibleRef:s,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(r==null?void 0:r.body)};return T7(e.disabled),j7(u)},A7=e=>{const{element:r,className:n}=w7(e.mountNode),a=y.useRef(null),s=R7({disabled:!!r,className:n}),c=r??s,u={children:e.children,mountNode:c,virtualParentRootRef:a};return y.useEffect(()=>{if(!c)return;const d=a.current,g=c.contains(d);if(d&&!g)return jb(c,d),()=>{jb(c,void 0)}},[a,c]),u},D7=e=>y.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&o0.createPortal(y.createElement(y.Fragment,null,e.children,y.createElement("span",{hidden:!0})),e.mountNode)),Cs=e=>{const r=A7(e);return D7(r)};Cs.displayName="Portal";const O7=e=>{const r=Bt(e.root,{children:[e.withArrow&&se("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?r:se(Cs,{mountNode:e.mountNode,children:r})},M7={root:"fui-PopoverSurface"},q7={small:6,medium:8,large:8},F7=Se({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),H7=e=>{"use no memo";const r=F7();return e.root.className=me(M7.root,r.root,e.inline&&r.inline,e.size==="small"&&r.smallPadding,e.size==="medium"&&r.mediumPadding,e.size==="large"&&r.largePadding,e.appearance==="inverted"&&r.inverted,e.appearance==="brand"&&r.brand,e.root.className),e.arrowClassName=me(r.arrow,e.size==="small"?r.smallArrow:r.mediumLargeArrow),e},OS=y.forwardRef((e,r)=>{const n=x7(e,r);return H7(n),ht("usePopoverSurfaceStyles_unstable")(n),O7(n)});OS.displayName="PopoverSurface";const L7=4,gy=vt.durationSlower,py=vt.curveDecelerateMid,my=Ju(({distance:e=10})=>({enter:[fs({duration:gy,easing:py,direction:"enter"}),{...PC({duration:gy,easing:py,direction:"enter",outX:`calc(var(${T0}, 0px) * ${e})`,outY:`calc(var(${N0}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),P7=e=>{const{appearance:r,size:n="medium"}=e,a=Ns(e.positioning),s=e.withArrow&&!a.coverTarget,{targetDocument:c}=dt(),u=JC({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=I7({...e,positioning:{...a,onPositioningEnd:u,...s?{offset:TS(a.offset,q7[n])}:{}}});return{components:{surfaceMotion:my},appearance:r,size:n,...d,surfaceMotion:bg(e.surfaceMotion,{elementType:my,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},I7=e=>{const[r,n]=y7(),a={contextTarget:r,setContextTarget:n,...e},s=y.Children.toArray(e.children);let c,u;s.length===2?(c=s[0],u=s[1]):s.length===1&&(u=s[0]);const[d,g]=U7(a),[p,m]=rg(),v=_e((E,M)=>{if(m(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var Q;p(()=>{g(E,M)},(Q=e.mouseLeaveDelay)!==null&&Q!==void 0?Q:500)}else g(E,M)}),S=y.useCallback(E=>{v(E,!d)},[v,d]),k=V7(a),{targetDocument:w}=dt();var x;s2({contains:Eb,element:w,callback:E=>v(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d,disabledFocusOnIframe:!(!((x=e.closeOnIframeFocus)!==null&&x!==void 0)||x)});const z=a.openOnContext||a.closeOnScroll;F_({contains:Eb,element:w,callback:E=>v(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d||!z});const{findFirstFocusable:T}=z2(),j=NT();y.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=k.contentRef.current;if(d&&E){var M;const Q=!isNaN((M=E.getAttribute("tabIndex"))!==null&&M!==void 0?M:void 0),G=Q?E:T(E);G==null||G.focus(),Q&&j(E)}},[T,j,d,k.contentRef,e.unstable_disableAutoFocus]);var N,C;return{...a,...k,inertTrapFocus:(N=e.inertTrapFocus)!==null&&N!==void 0?N:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:v,toggleOpen:S,setContextTarget:n,contextTarget:r,inline:(C=e.inline)!==null&&C!==void 0?C:!1}};function U7(e){"use no memo";const r=_e((u,d)=>{var g;return(g=e.onOpenChange)===null||g===void 0?void 0:g.call(e,u,d)}),[n,a]=Qr({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=n!==void 0?n:e.open;const s=e.setContextTarget,c=y.useCallback((u,d)=>{d&&u.type==="contextmenu"&&s(u),d||s(void 0),a(d),r==null||r(u,{open:d})},[a,r,s]);return[n,c]}function V7(e){"use no memo";const r={position:"above",align:"center",arrowPadding:2*L7,target:e.openOnContext?e.contextTarget:void 0,...Ns(e.positioning)};r.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:s}=zg(r);return{triggerRef:n,contentRef:a,arrowRef:s}}function G7(e){const{appearance:r,arrowRef:n,contentRef:a,inline:s,mountNode:c,open:u,openOnContext:d,openOnHover:g,setOpen:p,size:m,toggleOpen:v,trapFocus:S,triggerRef:k,withArrow:w,inertTrapFocus:x}=e;return{popover:y.useMemo(()=>({appearance:r,arrowRef:n,contentRef:a,inline:s,mountNode:c,open:u,openOnContext:d,openOnHover:g,setOpen:p,size:m,toggleOpen:v,trapFocus:S,triggerRef:k,withArrow:w,inertTrapFocus:x}),[r,n,a,s,c,u,d,g,p,m,v,S,k,w,x])}}const X7=(e,r)=>{var n;return Bt(Tg.Provider,{value:(n=r==null?void 0:r.popover)!==null&&n!==void 0?n:ES,children:[e.popoverTrigger,e.popoverSurface&&se(e.surfaceMotion,{children:se(vg,{children:e.popoverSurface})})]})},MS=e=>{const r=P7(e),n=G7(r);return X7(r,n)};MS.displayName="Popover";const W7=e=>{const{children:r,disableButtonEnhancement:n=!1}=e,a=Xu(r),s=Ht(N=>N.open),c=Ht(N=>N.setOpen),u=Ht(N=>N.toggleOpen),d=Ht(N=>N.triggerRef),g=Ht(N=>N.openOnHover),p=Ht(N=>N.openOnContext),{triggerAttributes:m}=$u(),v=N=>{p&&(N.preventDefault(),c(N,!0))},S=N=>{p||u(N)},k=N=>{N.key===Zu&&s&&!N.isDefaultPrevented()&&(c(N,!1),N.preventDefault())},w=N=>{g&&c(N,!0)},x=N=>{g&&c(N,!1)},z={...m,"aria-expanded":`${s}`,...a==null?void 0:a.props,onMouseEnter:_e(We(a==null?void 0:a.props.onMouseEnter,w)),onMouseLeave:_e(We(a==null?void 0:a.props.onMouseLeave,x)),onContextMenu:_e(We(a==null?void 0:a.props.onContextMenu,v)),ref:Ct(d,Gu(a))},T={...z,onClick:_e(We(a==null?void 0:a.props.onClick,S)),onKeyDown:_e(We(a==null?void 0:a.props.onKeyDown,k))},j=zu((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",T);return{children:ng(e.children,zu((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?z:n?T:j))}},Q7=e=>e.children,Ng=e=>{const r=W7(e);return Q7(r)};Ng.displayName="PopoverTrigger";Ng.isFluentTriggerComponent=!0;const Y7=6,$7=4,K7=e=>-1,Z7=e=>{};function J7(e){const{targetDocument:r}=dt(),n=r==null?void 0:r.defaultView,a=n?n.setTimeout:K7,s=n?n.clearTimeout:Z7,c=y.useRef(void 0),u=y.useCallback((g,p)=>(c.current!==void 0&&s(c.current),c.current=a(g,p??0),c.current),[s,a]),d=y.useCallback(()=>{c.current!==void 0&&(s(c.current),c.current=void 0)},[s]);return y.useEffect(()=>{const g=e.current;return()=>{(!g||!g.isConnected)&&d()}},[d,e]),[u,d]}const e8=e=>{"use no memo";var r,n,a,s,c,u,d;const g=S_(),p=A_(),{targetDocument:m}=dt(),[v,S]=Qr({state:e.visible,initialState:!1}),{children:k,content:w,withArrow:x=!1,positioning:z="above",onVisibleChange:T,relationship:j,showDelay:N=250,hideDelay:C=250,mountNode:E}=e,M={withArrow:x,positioning:z,showDelay:N,hideDelay:C,relationship:j,visible:v,shouldRenderTooltip:v,mountNode:E,components:{content:"div"},content:Ve(w,{defaultProps:{role:"tooltip"},elementType:"div"})};M.content.id=Xo("tooltip-",M.content.id);const Q={enabled:M.visible,arrowPadding:2*$7,position:"above",align:"center",offset:4,...Ns(M.positioning)};M.withArrow&&(Q.offset=TS(Q.offset,Y7));const{targetRef:G,containerRef:oe,arrowRef:ie}=zg(Q),[ve,ae]=J7(oe),ue=y.useCallback((L,Z)=>{ae(),S(ne=>(Z.visible!==ne&&(T==null||T(L,Z)),Z.visible))},[ae,S,T]);M.content.ref=Ct(M.content.ref,oe),M.arrowRef=ie,At(()=>{if(v){var L;const Z={hide:fe=>ue(void 0,{visible:!1,documentKeyboardEvent:fe})};(L=g.visibleTooltip)===null||L===void 0||L.hide(),g.visibleTooltip=Z;const ne=fe=>{fe.key===Zu&&!fe.defaultPrevented&&(Z.hide(fe),fe.preventDefault())};return m==null||m.addEventListener("keydown",ne,{capture:!0}),()=>{g.visibleTooltip===Z&&(g.visibleTooltip=void 0),m==null||m.removeEventListener("keydown",ne,{capture:!0})}}},[g,m,v,ue]);const re=y.useRef(!1),ye=y.useCallback(L=>{if(L.type==="focus"&&re.current){re.current=!1;return}const Z=g.visibleTooltip?0:M.showDelay;ve(()=>{ue(L,{visible:!0})},Z),L.persist()},[ve,ue,M.showDelay,g]),P=zT(),[J]=y.useState(()=>{const L=ne=>{var fe;!((fe=ne.detail)===null||fe===void 0)&&fe.isFocusedProgrammatically&&!P()&&(re.current=!0)};let Z=null;return ne=>{Z==null||Z.removeEventListener(_o,L),ne==null||ne.addEventListener(_o,L),Z=ne}}),te=y.useCallback(L=>{let Z=M.hideDelay;L.type==="blur"&&(Z=0,re.current=(m==null?void 0:m.activeElement)===L.target),ve(()=>{ue(L,{visible:!1})},Z),L.persist()},[ve,ue,M.hideDelay,m]);M.content.onPointerEnter=We(M.content.onPointerEnter,ae),M.content.onPointerLeave=We(M.content.onPointerLeave,te),M.content.onFocus=We(M.content.onFocus,ae),M.content.onBlur=We(M.content.onBlur,te);const ce=Xu(k),ze={},D=(ce==null||(r=ce.props)===null||r===void 0?void 0:r["aria-haspopup"])&&((ce==null||(n=ce.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(ce==null||(a=ce.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return j==="label"?typeof M.content.children=="string"?ze["aria-label"]=M.content.children:(ze["aria-labelledby"]=M.content.id,M.shouldRenderTooltip=!0):j==="description"&&(ze["aria-describedby"]=M.content.id,M.shouldRenderTooltip=!0),(p||D)&&(M.shouldRenderTooltip=!1),M.children=ng(k,{...ze,...ce==null?void 0:ce.props,ref:Ct(Gu(ce),J,Q.target===void 0?G:void 0),onPointerEnter:_e(We(ce==null||(s=ce.props)===null||s===void 0?void 0:s.onPointerEnter,ye)),onPointerLeave:_e(We(ce==null||(c=ce.props)===null||c===void 0?void 0:c.onPointerLeave,te)),onFocus:_e(We(ce==null||(u=ce.props)===null||u===void 0?void 0:u.onFocus,ye)),onBlur:_e(We(ce==null||(d=ce.props)===null||d===void 0?void 0:d.onBlur,te))}),M},t8=e=>{"use no memo";const{appearance:r="normal",...n}=e,a=e8(n);return{appearance:r,...a}},o8=e=>Bt(y.Fragment,{children:[e.children,e.shouldRenderTooltip&&se(Cs,{mountNode:e.mountNode,children:Bt(e.content,{children:[e.withArrow&&se("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),r8={content:"fui-Tooltip__content"},n8=Se({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),a8=e=>{"use no memo";const r=n8();return e.content.className=me(r8.content,r.root,e.appearance==="inverted"&&r.inverted,e.visible&&r.visible,e.content.className),e.arrowClassName=r.arrow,e},Cg=e=>{const r=t8(e);return a8(r),ht("useTooltipStyles_unstable")(r),o8(r)};Cg.displayName="Tooltip";Cg.isFluentTriggerComponent=!0;const i8=e=>{const{iconOnly:r,iconPosition:n}=e;return Bt(e.root,{children:[n!=="after"&&e.icon&&se(e.icon,{}),!r&&e.root.children,n==="after"&&e.icon&&se(e.icon,{})]})},qS=y.createContext(void 0),l8={};qS.Provider;const s8=()=>{var e;return(e=y.useContext(qS))!==null&&e!==void 0?e:l8},c8=(e,r)=>{const{size:n}=s8(),{appearance:a="secondary",shape:s="rounded",size:c=n??"medium",...u}=e,d=u8(u,r);return{appearance:a,shape:s,size:c,...d}},u8=(e,r)=>{const{icon:n,iconPosition:a="before",...s}=e,c=et(n,{elementType:"span"});var u,d;return{disabled:(u=e.disabled)!==null&&u!==void 0?u:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:a,iconOnly:!!(c!=null&&c.children&&!e.children),components:{root:"button",icon:"span"},root:Ve(zu(s.as,s),{elementType:"button",defaultProps:{ref:r,type:e.as!=="a"?"button":void 0}}),icon:c}},vy={root:"fui-Button",icon:"fui-Button__icon"},f8=Le("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),d8=Le("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),h8=Se({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),g8=Se({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),p8=Se({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),m8=Se({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),v8=Se({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),b8=e=>{"use no memo";const r=f8(),n=d8(),a=h8(),s=g8(),c=p8(),u=m8(),d=v8(),{appearance:g,disabled:p,disabledFocusable:m,icon:v,iconOnly:S,iconPosition:k,shape:w,size:x}=e;return e.root.className=me(vy.root,r,g&&a[g],a[x],v&&x==="small"&&a.smallWithIcon,v&&x==="large"&&a.largeWithIcon,a[w],(p||m)&&s.base,(p||m)&&s.highContrast,g&&(p||m)&&s[g],g==="primary"&&c.primary,c[x],c[w],S&&u[x],e.root.className),e.icon&&(e.icon.className=me(vy.icon,n,!!e.root.children&&d[k],d[x],e.icon.className)),e},mt=y.forwardRef((e,r)=>{const n=c8(e,r);return b8(n),ht("useButtonStyles_unstable")(n),i8(n)});mt.displayName="Button";const FS=y.createContext(void 0),y8=FS.Provider,x8=()=>y.useContext(FS),S8=e=>{var r,n,a,s;const{generatedControlId:c,orientation:u,required:d,size:g,validationState:p}=e,m=(r=e.label)===null||r===void 0?void 0:r.htmlFor,v=(n=e.label)===null||n===void 0?void 0:n.id,S=(a=e.validationMessage)===null||a===void 0?void 0:a.id,k=(s=e.hint)===null||s===void 0?void 0:s.id;return{field:y.useMemo(()=>({generatedControlId:c,hintId:k,labelFor:m,labelId:v,orientation:u,required:d,size:g,validationMessageId:S,validationState:p}),[c,k,m,v,u,d,g,S,p])}};function Ji(e,r){return HS(x8(),e,r)}function HS(e,r,n){if(!e)return r;r={...r};const{generatedControlId:a,hintId:s,labelFor:c,labelId:u,required:d,validationMessageId:g,validationState:p}=e;if(a){var m,v;(v=(m=r).id)!==null&&v!==void 0||(m.id=a)}if(u&&(!(n!=null&&n.supportsLabelFor)||c!==r.id)){var S,k,w;(w=(S=r)[k="aria-labelledby"])!==null&&w!==void 0||(S[k]=u)}if((g||s)&&(r["aria-describedby"]=[g,s,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var x,z,T;(T=(x=r)[z="aria-invalid"])!==null&&T!==void 0||(x[z]=!0)}if(d)if(n!=null&&n.supportsRequired){var j,N;(N=(j=r).required)!==null&&N!==void 0||(j.required=!0)}else{var C,E,M;(M=(C=r)[E="aria-required"])!==null&&M!==void 0||(C[E]=!0)}if(n!=null&&n.supportsSize){var Q,G;(G=(Q=r).size)!==null&&G!==void 0||(Q.size=e.size)}return r}const w8=(e,r)=>{let{children:n}=e;return typeof n=="function"&&(n=n(HS(r.field)||{})),se(y8,{value:r==null?void 0:r.field,children:Bt(e.root,{children:[e.label&&se(e.label,{}),n,e.validationMessage&&Bt(e.validationMessage,{children:[e.validationMessageIcon&&se(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&se(e.hint,{})]})})},k8=(e,r)=>{const{weight:n="regular",size:a="medium",...s}=e,c=B8(s,r);return{weight:n,size:a,...c}},B8=(e,r)=>{const{disabled:n=!1,required:a=!1,...s}=e;return{disabled:n,required:et(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ve(Vt("label",{ref:r,...s}),{elementType:"label"})}},_8=e=>Bt(e.root,{children:[e.root.children,e.required&&se(e.required,{})]}),by={root:"fui-Label",required:"fui-Label__required"},z8=Se({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),T8=e=>{"use no memo";const r=z8();return e.root.className=me(by.root,r.root,e.disabled&&r.disabled,r[e.size],e.weight==="semibold"&&r.semibold,e.root.className),e.required&&(e.required.className=me(by.required,r.required,e.disabled&&r.disabled,e.required.className)),e},Zr=y.forwardRef((e,r)=>{const n=k8(e,r);return T8(n),ht("useLabelStyles_unstable")(n),_8(n)});Zr.displayName="Label";const N8=(e,r)=>{const{children:n,required:a=!1,validationState:s=e.validationMessage?"error":"none"}=e,c=Xo("field-"),u=c+"__control",d=Ve(Vt("div",{...e,ref:r},["children"]),{elementType:"div"}),g=et(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),p=et(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:s==="error"||s==="warning"?"alert":void 0},elementType:"div"}),m=et(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),v=et(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:n,generatedControlId:u,required:a,validationState:s,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:g,validationMessageIcon:v,validationMessage:p,hint:m}},C8={error:y.createElement(kC,null),warning:y.createElement(bC,null),success:y.createElement(xC,null),none:void 0},E8=(e,r)=>{const{orientation:n="vertical",size:a="medium",...s}=e,c=N8(s,r),u=C8[c.validationState];return{...c,components:{...c.components,label:Zr},label:et(e.label,{defaultProps:{size:a,...c.label},elementType:Zr}),validationMessageIcon:et(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},Kl={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},j8=Se({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),R8=Se({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),A8=Le("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),D8=Se({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),O8=Le("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),M8=Se({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),q8=e=>{"use no memo";const{validationState:r,size:n}=e,a=e.orientation==="horizontal",s=j8();e.root.className=me(Kl.root,s.base,a&&s.horizontal,a&&!e.label&&s.horizontalNoLabel,e.root.className);const c=R8();e.label&&(e.label.className=me(Kl.label,c.base,a&&c.horizontal,a&&n==="small"&&c.horizontalSmall,a&&n==="large"&&c.horizontalLarge,!a&&c.vertical,!a&&n==="large"&&c.verticalLarge,e.label.className));const u=O8(),d=M8();e.validationMessageIcon&&(e.validationMessageIcon.className=me(Kl.validationMessageIcon,u,r!=="none"&&d[r],e.validationMessageIcon.className));const g=A8(),p=D8();return e.validationMessage&&(e.validationMessage.className=me(Kl.validationMessage,g,r==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=me(Kl.hint,g,e.hint.className)),e},LS=y.forwardRef((e,r)=>{const n=E8(e,r);q8(n),ht("useFieldStyles_unstable")(n);const a=S8(n);return w8(n,a)});LS.displayName="Field";const F8=(e,r)=>{"use no memo";e=Ji(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...s}=e,c=H8(s,r),u=c.checked==="mixed";let d;if(u?n==="circular"?d=y.createElement(hg,null):d=a==="large"?y.createElement(wC,null):y.createElement(SC,null):c.checked&&(d=a==="large"?y.createElement(yC,null):y.createElement(oS,null)),c.indicator){var g,p;(p=(g=c.indicator).children)!==null&&p!==void 0||(g.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:Zr},label:et(e.label,{defaultProps:{...c.label,size:"medium"},elementType:Zr})}},H8=(e,r)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:s="after",onChange:c}=e,[u,d]=Qr({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),g=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",m=Xo("checkbox-",g.primary.id),v={checked:u,disabled:n,labelPosition:s,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ve(e.root,{defaultProps:{ref:E2(),...g.root},elementType:"span"}),input:Ve(e.input,{defaultProps:{type:"checkbox",id:m,ref:r,checked:u===!0,...g.primary},elementType:"input"}),label:et(e.label,{defaultProps:{htmlFor:m,disabled:n,required:a},elementType:"label"}),indicator:et(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};v.input.onChange=We(v.input.onChange,k=>{const w=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;c==null||c(k,{checked:w}),d(w)});const S=Ct(v.input.ref);return v.input.ref=S,At(()=>{S.current&&(S.current.indeterminate=p)},[S,p]),v},L8=e=>Bt(e.root,{children:[se(e.input,{}),e.labelPosition==="before"&&e.label&&se(e.label,{}),e.indicator&&se(e.indicator,{}),e.labelPosition==="after"&&e.label&&se(e.label,{})]}),ru={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},P8=Le("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),I8=Se({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),U8=Le("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),V8=Se({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),G8=Le("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),X8=Se({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),W8=Se({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),Q8=e=>{"use no memo";const{checked:r,disabled:n,labelPosition:a,shape:s,size:c}=e,u=P8(),d=I8();e.root.className=me(ru.root,u,n?d.disabled:r==="mixed"?d.mixed:r?d.checked:d.unchecked,e.root.className);const g=U8(),p=V8();e.input.className=me(ru.input,g,c==="large"&&p.large,p[a],e.input.className);const m=G8(),v=X8();e.indicator&&(e.indicator.className=me(ru.indicator,m,c==="large"&&v.large,s==="circular"&&v.circular,e.indicator.className));const S=W8();return e.label&&(e.label.className=me(ru.label,S.base,S[c],S[a],e.label.className)),e},PS=y.forwardRef((e,r)=>{const n=F8(e,r);return Q8(n),ht("useCheckboxStyles_unstable")(n),L8(n)});PS.displayName="Checkbox";const IS=Ku({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});IS.Provider;const Y8={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Es=Ku(void 0),wo=e=>ug(Es,(r=Y8)=>e(r)),$8=Es.Provider;function K8(e){const{appearance:r,open:n,getOptionById:a,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:d,setOpen:g,size:p,activeDescendantController:m,onOptionClick:v,onActiveDescendantChange:S}=e,k={activeOption:void 0,appearance:r,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:g,size:p},w={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:S},x=y.useMemo(()=>({controller:m}),[m]);return{combobox:k,activeDescendant:x,listbox:w}}function Z8(e){const r=fg(Es),{getOptionById:n,getOptionsMatchingValue:a,multiselect:s,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:g}=e,p=wo(x=>x.registerOption),m=wo(x=>x.onOptionClick),v=wo(x=>x.onActiveDescendantChange),k={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:s,registerOption:r?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:m,onActiveDescendantChange:v},w=y.useMemo(()=>({controller:g}),[g]);return{listbox:k,activeDescendant:w}}function ju(e,r={}){const{open:n=!0,multiselect:a=!1}=r,s=e.key,{altKey:c,ctrlKey:u,key:d,metaKey:g}=e;return d.length===1&&s!==Hn&&!c&&!u&&!g?"Type":n?s===Wh&&c||s===ns||!a&&s===Hn?"CloseSelect":a&&s===Hn?"Select":s===Zu?"Close":s===Gb?"Next":s===Wh?"Previous":s===ON?"First":s===DN?"Last":s===qN?"PageUp":s===MN?"PageDown":s===jN?"Tab":"None":s===Gb||s===Wh||s===ns||s===Hn?"Open":"None"}const US=()=>{const e=y.useRef(new Map),r=y.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:m})=>p(m)),getOptionsMatchingValue:p=>{const m=[];for(const v of e.current.values())p(v.value)&&m.push(v);return m}}),[]),n=y.useCallback(a=>(e.current.set(a.id,a),()=>e.current.delete(a.id)),[]);return{...r,options:Array.from(e.current.values()),registerOption:n}},VS=e=>{const{defaultSelectedOptions:r,multiselect:n,onOptionSelect:a}=e,[s,c]=Qr({state:e.selectedOptions,defaultState:r,initialState:[]}),u=y.useCallback((g,p)=>{if(p.disabled)return;let m=[p.value];if(n){const v=s.findIndex(S=>S===p.value);v>-1?m=[...s.slice(0,v),...s.slice(v+1)]:m=[...s,p.value]}c(m),a==null||a(g,{optionValue:p.value,optionText:p.text,selectedOptions:m})},[a,n,s,c]);return{clearSelection:g=>{c([]),a==null||a(g,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:s}},Ru={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},J8=Se({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),e9=e=>{"use no memo";const{disabled:r,multiselect:n,selected:a}=e,s=J8();return e.root.className=me(Ru.root,s.root,s.active,r&&s.disabled,a&&s.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=me(Ru.checkIcon,s.checkIcon,n&&s.multiselectCheck,a&&s.selectedCheck,a&&n&&s.selectedMultiselectCheck,r&&s.checkDisabled,r&&n&&s.multiselectCheckDisabled,e.checkIcon.className)),e},yy={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},t9=(e,r)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,s=US(),{listboxRef:c,activeParentRef:u,controller:d}=Z2({matchOption:re=>re.classList.contains(Ru.root)}),g=fg(Es),p=wo(re=>re.onActiveDescendantChange),m=wo(re=>re.getOptionById),v=wo(re=>re.getOptionsMatchingValue),S=g?m:s.getOptionById,k=g?v:s.getOptionsMatchingValue,w=y.useMemo(()=>{let re=null;const ye=P=>{const J=P;p==null||p(J)};return P=>{if(!P){re==null||re.removeEventListener("activedescendantchange",ye);return}re=P,re.addEventListener("activedescendantchange",ye)}},[p]),[x,z]=y.useState(!1);j2(z);const T=Y2(),j=HN(),N=j?T.controller:d,{clearSelection:C,selectedOptions:E,selectOption:M}=VS(e),Q=re=>{const ye=ju(re,{open:!0}),P=N.active(),J=P?S(P):null;switch(ye){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":re.preventDefault();break}switch(ye){case"Next":J?N.next():N.first();break;case"Previous":J?N.prev():N.first();break;case"PageUp":case"First":N.first();break;case"PageDown":case"Last":N.last();break;case"Select":case"CloseSelect":J&&M(re,J);break}},G=wo(re=>re.selectedOptions),oe=wo(re=>re.selectOption),ie=g?{selectedOptions:G,selectOption:oe,...yy}:{selectedOptions:E,selectOption:M,...yy};y.useEffect(()=>{if(!j){if(N.hideFocusVisibleAttributes(),!a)if(!n&&ie.selectedOptions.length>0){const re=k(ye=>ye===ie.selectedOptions[0]).pop();re!=null&&re.id&&N.focus(re.id)}else N.first();return()=>{N.blur()}}},[]);const ve=y.useCallback(()=>{j||(N.showFocusVisibleAttributes(),x&&N.scrollActiveIntoView())},[N,j,x]),ae=y.useCallback(()=>{j||N.hideFocusVisibleAttributes()},[N,j]),ue={components:{root:"div"},root:Ve(Vt("div",{ref:Ct(r,u,c,w),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!g,multiselect:n,clearSelection:C,activeDescendantController:N,onActiveDescendantChange:p,...s,...ie};return ue.root.onKeyDown=_e(We(ue.root.onKeyDown,Q)),ue.root.onFocus=_e(We(ue.root.onFocus,ve)),ue.root.onBlur=_e(We(ue.root.onBlur,ae)),ue},o9=(e,r)=>se(Q2,{value:r.activeDescendant,children:se(Es.Provider,{value:r.listbox,children:se(e.root,{})})}),r9={root:"fui-Listbox"},n9=Se({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),a9=e=>{"use no memo";const r=n9();return e.root.className=me(r9.root,r.root,e.root.className),e},Eg=y.forwardRef((e,r)=>{const n=t9(e,r),a=Z8(n);return a9(n),ht("useListboxStyles_unstable")(n),o9(n,a)});Eg.displayName="Listbox";function i9(e,r){if(e!==void 0)return e;let n="",a=!1;return y.Children.forEach(r,s=>{typeof s=="string"?n+=s:a=!0}),a&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const l9=(e,r)=>{"use no memo";const n=s9(e,r);let a=y.createElement(uC,null);if(n.multiselect&&(a=n.selected?y.createElement(oS,null):""),n.checkIcon){var s,c;(c=(s=n.checkIcon).children)!==null&&c!==void 0||(s.children=a)}return n},s9=(e,r)=>{const{children:n,disabled:a,text:s,value:c}=e,u=y.useRef(null),d=i9(s,n),g=c??d,p=Xo("fluent-option",e.id),m=y.useMemo(()=>({id:p,disabled:a,text:d,value:g}),[p,a,d,g]),{controller:v}=Y2(),S=wo(N=>N.multiselect),k=wo(N=>N.registerOption),w=wo(N=>{const C=N.selectedOptions;return g!==void 0&&C.find(E=>E===g)!==void 0}),x=wo(N=>N.selectOption),z=wo(N=>N.onOptionClick),T=N=>{var C;if(a){N.preventDefault();return}v.focus(p),x(N,m),z(N),(C=e.onClick)===null||C===void 0||C.call(e,N)};y.useEffect(()=>{if(p&&u.current)return k(m,u.current)},[p,m,k]);const j=S?{role:"menuitemcheckbox","aria-checked":w}:{role:"option","aria-selected":w};return{components:{root:"div",checkIcon:"span"},root:Ve(Vt("div",{ref:Ct(r,u),"aria-disabled":a?"true":void 0,id:p,...j,...e,onClick:T}),{elementType:"div"}),checkIcon:et(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:S,selected:w,focusVisible:!1,active:!1}},c9=e=>Bt(e.root,{children:[e.checkIcon&&se(e.checkIcon,{}),e.root.children]}),GS=y.forwardRef((e,r)=>{const n=l9(e,r);return e9(n),ht("useOptionStyles_unstable")(n),c9(n)});GS.displayName="Option";const u9=e=>{"use no memo";const{appearance:r="outline",disableAutoFocus:n,children:a,clearable:s=!1,editable:c=!1,inlinePopup:u=!1,mountNode:d=void 0,multiselect:g,onOpenChange:p,size:m="medium",activeDescendantController:v,freeform:S=!1,disabled:k=!1,onActiveOptionChange:w=null}=e,x=US(),{getOptionsMatchingValue:z}=x,{getOptionById:T}=x,j=y.useCallback(()=>{const L=v.active();return L?T(L):void 0},[v,T]),N=j(),C=y.useCallback(L=>{let Z;if(typeof L=="function"){const ne=j();Z=L(ne)}Z?v.focus(Z.id):v.blur()},[v,j]),[E,M]=y.useState(!1),[Q,G]=y.useState(!1),oe=y.useRef(!1),ie=a2(),[ve,ae]=Qr({state:e.value,initialState:void 0}),{selectedOptions:ue,selectOption:re,clearSelection:ye}=VS(e),P=y.useCallback((L,Z)=>{o0.unstable_batchedUpdates(()=>{ae(void 0),re(L,Z)})},[ae,re]),J=y.useMemo(()=>{if(ve!==void 0)return ve;if(ie&&e.defaultValue!==void 0)return e.defaultValue;const L=z(Z=>ue.includes(Z)).map(Z=>Z.text);return g?c?"":L.join(", "):L[0]},[ve,c,z,g,ue]),[te,ce]=Qr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),ze=y.useCallback((L,Z)=>{k||(p==null||p(L,{open:Z}),o0.unstable_batchedUpdates(()=>{!Z&&!S&&ae(void 0),ce(Z)}))},[p,ce,ae,S,k]);y.useEffect(()=>{if(te){if(!g&&ue.length>0){const L=z(Z=>Z===ue[0]).pop();L!=null&&L.id&&v.focus(L.id)}}else v.blur()},[te,v]),y.useEffect(()=>{te&&!n&&!v.active()&&v.first()},[te,a,n,v,T]);const D=_e(L=>{const Z=L.detail.previousId?x.getOptionById(L.detail.previousId):null,ne=x.getOptionById(L.detail.id);w==null||w(L,{event:L,type:"change",previousOption:Z,nextOption:ne})});return{...x,freeform:S,disabled:k,selectOption:P,clearSelection:ye,selectedOptions:ue,activeOption:N,appearance:r,clearable:s,focusVisible:E,ignoreNextBlur:oe,inlinePopup:u,mountNode:d,open:te,hasFocus:Q,setActiveOption:C,setFocusVisible:M,setHasFocus:G,setOpen:ze,setValue:ae,size:m,value:J,multiselect:g,onOptionClick:_e(L=>{g||ze(L,!1)}),onActiveDescendantChange:D}};function f9(e){const{positioning:r}=e,a={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Ns(r)},{targetRef:s,containerRef:c}=zg(a);return[c,s]}function d9(e,r,n){const{state:{multiselect:a},triggerRef:s,defaultProps:c}=n,u=Xo("fluent-listbox",Wx(e)?e.id:void 0),d=et(e,{renderByDefault:!0,elementType:Eg,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),g=Ji({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&g["aria-labelledby"]&&(d["aria-labelledby"]=g["aria-labelledby"]);const p=_e(We(S=>{S.preventDefault()},d==null?void 0:d.onMouseDown)),m=_e(We(S=>{var k;S.preventDefault(),(k=s.current)===null||k===void 0||k.focus()},d==null?void 0:d.onClick)),v=Ct(d==null?void 0:d.ref,r);return d&&(d.ref=v,d.onMouseDown=p,d.onClick=m),d}function h9(e,r,n){const{state:{open:a,setOpen:s,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:g}=n,p=Ve(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),m=y.useRef(null);return p.ref=Ct(m,p.ref,r),p.onBlur=We(v=>{s(v,!1),c(!1)},p.onBlur),p.onFocus=We(v=>{v.target===v.currentTarget&&c(!0)},p.onFocus),p.onClick=We(v=>{s(v,!a)},p.onClick),p.onKeyDown=We(g9({activeDescendantController:g,...n.state}),p.onKeyDown),p}function g9(e){const{activeDescendantController:r,getOptionById:n,setOpen:a,selectOption:s,multiselect:c,open:u}=e,d=y.useCallback(()=>{const x=r.active();return x?n(x):void 0},[r,n]),g=()=>{r.first()},p=()=>{r.last()},m=x=>{x?r.next():r.first()},v=x=>{x?r.prev():r.first()},S=()=>{for(let x=0;x<10;x++)r.prev()},k=()=>{for(let x=0;x<10;x++)r.next()},w=TT();return _e(x=>{const z=ju(x,{open:u,multiselect:c}),T=d();switch(z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":x.preventDefault();break}switch(w(!0),z){case"First":g();break;case"Last":p();break;case"Next":m(T);break;case"Previous":v(T);break;case"PageDown":k();break;case"PageUp":S();break;case"Open":a(x,!0);break;case"Close":x.stopPropagation(),a(x,!1);break;case"CloseSelect":!c&&!(T!=null&&T.disabled)&&a(x,!1);case"Select":T&&s(x,T);break;case"Tab":!c&&T&&s(x,T);break}})}function p9(e,r,n){"use no memo";const{state:{open:a,value:s,selectOption:c,setValue:u,multiselect:d,selectedOptions:g,clearSelection:p,getOptionById:m,setOpen:v},freeform:S,defaultProps:k,activeDescendantController:w}=n,x=G=>{if(!a&&!S){const oe=w.active(),ie=oe?m(oe):null;s&&ie&&s.trim().toLowerCase()===(ie==null?void 0:ie.text.toLowerCase())&&c(G,ie),u(void 0)}},z=G=>{const oe=G==null?void 0:G.trim().toLowerCase();if(!oe||oe.length===0){w.blur();return}const ie=ae=>ae.toLowerCase().indexOf(oe)===0,ve=w.find(ae=>{const ue=m(ae);return!!ue&&ie(ue.text)});if(!ve){w.blur();return}return m(ve)},T=G=>{const oe=G.target.value;u(oe);const ie=z(oe);!d&&g.length===1&&(oe.length<1||!ie)&&p(G)},j=h9(e,r,{state:n.state,defaultProps:k,elementType:"input",activeDescendantController:w});j.onChange=We(j.onChange,T),j.onBlur=We(j.onBlur,x);const[N,C]=y.useState(!1),E=y.useRef(!1),M=j.onKeyDown,Q=_e(G=>{!a&&ju(G)==="Type"&&v(G,!0),G.key===RN||G.key===AN?C(!0):C(!1);const oe=ju(G,{open:a,multiselect:d});if(oe==="Type"?E.current=!0:(oe==="Open"&&G.key!==" "||oe==="Next"||oe==="Previous"||oe==="First"||oe==="Last"||oe==="PageUp"||oe==="PageDown")&&(E.current=!1),(E.current||!a)&&G.key===" "){var ie;e==null||(ie=e.onKeyDown)===null||ie===void 0||ie.call(e,G);return}M==null||M(G)});return j.onKeyDown=Q,N&&(j["aria-activedescendant"]=void 0),j}const m9=(e,r)=>{"use no memo";var n,a;e=Ji(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:s,activeParentRef:c,controller:u}=Z2({matchOption:fe=>fe.classList.contains(Ru.root)}),d=u9({...e,editable:!0,activeDescendantController:u}),{appearance:g,size:p,...m}=d,{clearable:v,clearSelection:S,disabled:k,multiselect:w,open:x,selectedOptions:z,setOpen:T,value:j,hasFocus:N}=m,[C,E]=f9(e),{disableAutoFocus:M=!1,freeform:Q,inlinePopup:G}=e,oe=Xo("combobox-"),{primary:ie,root:ve}=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ae=y.useRef(null),ue=d9(e.listbox,Ct(C,s),{state:d,triggerRef:ae,defaultProps:{children:e.children,disableAutoFocus:M}});var re;const ye=p9((re=e.input)!==null&&re!==void 0?re:{},Ct(ae,c,r),{state:d,freeform:Q,defaultProps:{type:"text",value:j??"","aria-controls":x?ue==null?void 0:ue.id:void 0,...ie},activeDescendantController:u}),P=Ve(e.root,{defaultProps:{"aria-owns":!G&&x?ue==null?void 0:ue.id:void 0,...ve},elementType:"div"});P.ref=Ct(P.ref,E);const J=z.length>0&&!k&&v&&!w,te={components:{root:"div",input:"input",expandIcon:"span",listbox:Eg,clearIcon:"span"},root:P,input:ye,listbox:x||N?ue:void 0,clearIcon:et(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:et(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":k?"true":void 0,"aria-expanded":x,role:"button"},elementType:"span"}),showClearIcon:J,activeDescendantController:u,...m},{targetDocument:ce}=dt();s2({element:ce,callback:fe=>T(fe,!1),refs:[ae,C,E],disabled:!x});const{onMouseDown:ze}=te.expandIcon||{},D=_e(We(ze,fe=>{var ke;fe.preventDefault(),te.setOpen(fe,!te.open),(ke=ae.current)===null||ke===void 0||ke.focus()}));if(te.expandIcon){te.expandIcon.onMouseDown=D;const fe=te.expandIcon["aria-label"]||te.expandIcon["aria-labelledby"],ke="Open";if(!fe)if(e["aria-labelledby"]){var L;const De=(L=te.expandIcon.id)!==null&&L!==void 0?L:`${oe}-chevron`,bt=`${De} ${te.input["aria-labelledby"]}`;te.expandIcon["aria-label"]=ke,te.expandIcon.id=De,te.expandIcon["aria-labelledby"]=bt}else e["aria-label"]?te.expandIcon["aria-label"]=`${ke} ${e["aria-label"]}`:te.expandIcon["aria-label"]=ke}const Z=_e(We((n=te.clearIcon)===null||n===void 0?void 0:n.onMouseDown,fe=>{fe.preventDefault()})),ne=_e(We((a=te.clearIcon)===null||a===void 0?void 0:a.onClick,fe=>{S(fe)}));return te.clearIcon&&(te.clearIcon.onMouseDown=Z,te.clearIcon.onClick=ne),w&&(te.clearIcon=void 0),te},v9=(e,r)=>{"use no memo";const{appearance:n="outline",size:a="medium",...s}=e,c=m9(s,r);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=y.createElement(gC,null))}if(c.expandIcon){var g,p;(p=(g=c.expandIcon).children)!==null&&p!==void 0||(g.children=y.createElement(fC,null))}return{...c,appearance:n,size:a}},b9=(e,r)=>se(e.root,{children:se(Q2,{value:r.activeDescendant,children:se($8,{value:r.listbox,children:Bt(IS.Provider,{value:r.combobox,children:[se(e.input,{}),e.clearIcon&&se(e.clearIcon,{}),e.expandIcon&&se(e.expandIcon,{}),e.listbox&&(e.inlinePopup?se(e.listbox,{}):se(Cs,{mountNode:e.mountNode,children:se(e.listbox,{})}))]})})})}),Zl={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},y9=Se({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),x9=Se({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),S9=Se({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),w9=e=>{"use no memo";const{appearance:r,open:n,size:a,showClearIcon:s}=e,c=`${e.input["aria-invalid"]}`=="true",u=e.input.disabled,d=y9(),g=S9(),p=x9();return e.root.className=me(Zl.root,d.root,d[r],d[a],!u&&r==="outline"&&d.outlineInteractive,c&&r!=="underline"&&d.invalid,c&&r==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=me(Zl.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=me(Zl.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=me(Zl.expandIcon,g.icon,g[a],u&&g.disabled,s&&g.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=me(Zl.clearIcon,g.icon,g[a],u&&g.disabled,!s&&g.hidden,e.clearIcon.className)),e},XS=y.forwardRef((e,r)=>{const n=v9(e,r),a=K8(n);return w9(n),ht("useComboboxStyles_unstable")(n),b9(n,a)});XS.displayName="Combobox";const k9=(e,r)=>{e=Ji(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=tg();var a;const{size:s="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=B9(u,r);return{size:s,appearance:c,...d}},B9=(e,r)=>{const{onChange:n}=e,[a,s]=Qr({state:e.value,defaultState:e.defaultValue,initialState:""}),c=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ve(e.input,{defaultProps:{type:"text",ref:r,...c.primary},elementType:"input"}),contentAfter:et(e.contentAfter,{elementType:"span"}),contentBefore:et(e.contentBefore,{elementType:"span"}),root:Ve(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=_e(d=>{const g=d.target.value;n==null||n(d,{value:g}),s(g)}),u},_9=e=>Bt(e.root,{children:[e.contentBefore&&se(e.contentBefore,{}),se(e.input,{}),e.contentAfter&&se(e.contentAfter,{})]}),nu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},z9=Le("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),T9=Se({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),N9=Le("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),C9=Se({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),E9=Le("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),j9=Se({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),R9=e=>{"use no memo";const{size:r,appearance:n}=e,a=e.input.disabled,s=`${e.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=T9(),d=C9(),g=j9();e.root.className=me(nu.root,z9(),u[r],e.contentBefore&&u[`${r}WithContentBefore`],e.contentAfter&&u[`${r}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&s&&u.invalid,a&&u.disabled,e.root.className),e.input.className=me(nu.input,N9(),d[r],e.contentBefore&&d[`${r}WithContentBefore`],e.contentAfter&&d[`${r}WithContentAfter`],a&&d.disabled,e.input.className);const p=[E9(),a&&g.disabled,g[r]];return e.contentBefore&&(e.contentBefore.className=me(nu.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=me(nu.contentAfter,...p,e.contentAfter.className)),e},A0=y.forwardRef((e,r)=>{const n=k9(e,r);return R9(n),ht("useInputStyles_unstable")(n),_9(n)});A0.displayName="Input";const A9=y.createContext(void 0),D9=A9.Provider,WS=y.createContext(void 0),O9={};WS.Provider;const M9=()=>{var e;return(e=y.useContext(WS))!==null&&e!==void 0?e:O9},q9=(e,r)=>{const{size:n}=M9(),{appearance:a="primary",size:s=n??"medium",...c}=e,u=F9(c,r);return{...u,appearance:a,size:s,components:{...u.components,label:Zr},label:et(e.label,{defaultProps:u.label,elementType:Zr})}},F9=(e,r)=>{const{delay:n=0,labelPosition:a="after"}=e,s=Xo("spinner"),{role:c="progressbar",...u}=e,d=Ve(Vt("div",{ref:r,role:c,...u}),{elementType:"div"}),[g,p]=y.useState(!1),[m,v]=rg();y.useEffect(()=>{if(!(n<=0))return m(()=>{p(!0)},n),()=>{v()}},[m,v,n]);const S=et(e.label,{defaultProps:{id:s},renderByDefault:!1,elementType:"label"}),k=et(e.spinner,{renderByDefault:!0,elementType:"span"});return S&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=S.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||g,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:k,spinnerTail:Ve(e.spinnerTail,{elementType:"span"}),label:S}},H9=e=>{const{labelPosition:r,shouldRenderSpinner:n}=e;return Bt(e.root,{children:[e.label&&n&&(r==="above"||r==="before")&&se(e.label,{}),e.spinner&&n&&se(e.spinner,{children:e.spinnerTail&&se(e.spinnerTail,{})}),e.label&&n&&(r==="below"||r==="after")&&se(e.label,{})]})},au={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},L9=Le("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),P9=Se({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),I9=Le("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),U9=Le("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),V9=Se({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),G9=Se({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),X9=e=>{"use no memo";const{labelPosition:r,size:n,appearance:a}=e,{dir:s}=dt(),c=L9(),u=P9(),d=I9(),g=V9(),p=U9(),m=G9();return e.root.className=me(au.root,c,(r==="above"||r==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=me(au.spinner,d,g[n],a==="inverted"&&g.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=me(au.spinnerTail,p,s==="rtl"&&g.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=me(au.label,m[n],a==="inverted"&&m.inverted,e.label.className)),e},Un=y.forwardRef((e,r)=>{const n=q9(e,r);return X9(n),ht("useSpinnerStyles_unstable")(n),H9(n)});Un.displayName="Spinner";const W9=(e,r)=>{var n;const{size:a="medium",...s}=e,c=Q9(s,r);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=y.createElement(hg,null)),{...c,components:{...c.components,label:Zr},size:a,label:et(e.label,{defaultProps:{size:"medium",...c.label},elementType:Zr})}},Q9=(e,r)=>{e=Ji(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:s,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:g}=e,p=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),m=Xo("switch-",p.primary.id),v=Ve(e.root,{defaultProps:{ref:E2(),...p.root},elementType:"div"}),S=Ve(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),k=Ve(e.input,{defaultProps:{checked:n,defaultChecked:a,id:m,ref:r,role:"switch",type:"checkbox",...p.primary,disabled:s&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});k.onChange=We(k.onChange,x=>d==null?void 0:d(x,{checked:x.currentTarget.checked})),k.onClick=We(k.onClick,x=>{c&&x.preventDefault()}),k.onKeyDown=We(k.onKeyDown,x=>{c&&(x.key===" "||x.key==="Enter")&&x.preventDefault()});const w=et(e.label,{defaultProps:{disabled:s||c,htmlFor:m,required:g},elementType:"label"});return{disabledFocusable:c,labelPosition:u,components:{root:"div",indicator:"div",input:"input",label:"label"},root:v,indicator:S,input:k,label:w}},Y9=e=>{const{labelPosition:r}=e;return Bt(e.root,{children:[se(e.input,{}),r!=="after"&&e.label&&se(e.label,{}),se(e.indicator,{}),r==="after"&&e.label&&se(e.label,{})]})},iu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},$9=Le("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),K9=Se({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Z9=Le("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),J9=Se({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),ej=Le("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),tj=Se({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),oj=Se({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),rj=e=>{"use no memo";const r=$9(),n=K9(),a=Z9(),s=J9(),c=ej(),u=tj(),d=oj(),{label:g,labelPosition:p,size:m}=e;return e.root.className=me(iu.root,r,p==="above"&&n.vertical,e.root.className),e.indicator.className=me(iu.indicator,a,g&&p==="above"&&s.labelAbove,m==="small"&&s.sizeSmall,e.indicator.className),e.input.className=me(iu.input,c,g&&u[p],m==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=me(iu.label,d.base,d[p],m==="small"&&d.sizeSmall,e.label.className)),e},QS=y.forwardRef((e,r)=>{const n=W9(e,r);return rj(n),ht("useSwitchStyles_unstable")(n),Y9(n)});QS.displayName="Switch";const nj=(e,r)=>{const{wrap:n,truncate:a,block:s,italic:c,underline:u,strikethrough:d,size:g,font:p,weight:m,align:v}=e;return{align:v??"start",block:s??!1,font:p??"base",italic:c??!1,size:g??300,strikethrough:d??!1,truncate:a??!1,underline:u??!1,weight:m??"regular",wrap:n??!0,components:{root:"span"},root:Ve(Vt("span",{ref:r,...e}),{elementType:"span"})}},aj=e=>se(e.root,{}),ij={root:"fui-Text"},lj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),sj=e=>{"use no memo";const r=lj();return e.root.className=me(ij.root,r.root,e.wrap===!1&&r.nowrap,e.truncate&&r.truncate,e.block&&r.block,e.italic&&r.italic,e.underline&&r.underline,e.strikethrough&&r.strikethrough,e.underline&&e.strikethrough&&r.strikethroughUnderline,e.size===100&&r.base100,e.size===200&&r.base200,e.size===400&&r.base400,e.size===500&&r.base500,e.size===600&&r.base600,e.size===700&&r.hero700,e.size===800&&r.hero800,e.size===900&&r.hero900,e.size===1e3&&r.hero1000,e.font==="monospace"&&r.monospace,e.font==="numeric"&&r.numeric,e.weight==="medium"&&r.weightMedium,e.weight==="semibold"&&r.weightSemibold,e.weight==="bold"&&r.weightBold,e.align==="center"&&r.alignCenter,e.align==="end"&&r.alignEnd,e.align==="justify"&&r.alignJustify,e.root.className),e};function ja(e){const{useStyles:r,className:n,displayName:a}=e,s=y.forwardRef((c,u)=>{"use no memo";const d=r(),g=nj(c,u);return sj(g),g.root.className=me(n,g.root.className,d.root,c.className),aj(g)});return s.displayName=a,s}const cj={root:"fui-Body1"},uj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),tr=ja({useStyles:uj,className:cj.root,displayName:"Body1"}),fj={root:"fui-Body1Strong"},dj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),YS=ja({useStyles:dj,className:fj.root,displayName:"Body1Strong"}),hj={root:"fui-Body2"},gj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),jg=ja({useStyles:gj,className:hj.root,displayName:"Body2"}),pj={root:"fui-Caption1"},mj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),io=ja({useStyles:mj,className:pj.root,displayName:"Caption1"}),vj={root:"fui-Subtitle2"},bj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Lo=ja({useStyles:bj,className:vj.root,displayName:"Subtitle2"}),yj={root:"fui-Title2"},xj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),D0=ja({useStyles:xj,className:yj.root,displayName:"Title2"}),Sj={root:"fui-Title3"},wj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),xi=ja({useStyles:wj,className:Sj.root,displayName:"Title3"}),kj=e=>se(e.root,{children:se(e.textarea,{})}),Bj=(e,r)=>{const n=tg();var a;const{size:s="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{..._j(u,r),size:s,appearance:c}},_j=(e,r)=>{e=Ji(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[s,c]=Qr({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=Bs({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ve(e.textarea,{defaultProps:{ref:r,...u.primary},elementType:"textarea"}),root:Ve(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=s,d.textarea.onChange=_e(g=>{const p=g.target.value;a==null||a(g,{value:p}),c(p)}),d},xy={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},zj=Se({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),Tj=Se({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Nj=Se({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),Cj=e=>{"use no memo";const{size:r,appearance:n,resize:a}=e,s=e.textarea.disabled,c=`${e.textarea["aria-invalid"]}`=="true",u=n.startsWith("filled"),d=zj();e.root.className=me(xy.root,d.base,s&&d.disabled,!s&&u&&d.filled,!s&&d[n],!s&&d.interactive,!s&&n==="outline"&&d.outlineInteractive,!s&&c&&d.invalid,e.root.className);const g=Tj(),p=Nj();return e.textarea.className=me(xy.textarea,g.base,g[r],p[a],s&&g.disabled,e.textarea.className),e},$S=y.forwardRef((e,r)=>{const n=Bj(e,r);return Cj(n),ht("useTextareaStyles_unstable")(n),kj(n)});$S.displayName="Textarea";const Ej=Le("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),jj=Le("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Rj(){const e=Ej(),r=jj(),{targetDocument:n}=dt(),a=y.useCallback(()=>{var c;if(!n)return;var u;Math.floor(n.body.getBoundingClientRect().height)>((u=(c=n.defaultView)===null||c===void 0?void 0:c.innerHeight)!==null&&u!==void 0?u:0)&&(n.documentElement.classList.add(e),n.body.classList.add(r))},[n,e,r]),s=y.useCallback(()=>{n&&(n.documentElement.classList.remove(e),n.body.classList.remove(r))},[n,e,r]);return{disableBodyScroll:a,enableBodyScroll:s}}function Aj(e,r){const{findFirstFocusable:n}=z2(),{targetDocument:a}=dt(),s=y.useRef(null);return y.useEffect(()=>{if(!e)return;const c=s.current&&n(s.current);if(c)c.focus();else{var u;(u=s.current)===null||u===void 0||u.focus()}},[n,e,r,a]),s}const Dj={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Rg=Ku(void 0),Oj=Rg.Provider,Ko=e=>ug(Rg,(r=Dj)=>e(r)),Mj=!1,KS=y.createContext(void 0),ZS=KS.Provider,qj=()=>{var e;return(e=y.useContext(KS))!==null&&e!==void 0?e:Mj},JS=y.createContext(void 0);JS.Provider;const Fj=()=>y.useContext(JS),Sy=zs(yg,{outScale:.85,easing:vt.curveDecelerateMid,duration:vt.durationGentle,exitEasing:vt.curveAccelerateMin,exitDuration:vt.durationGentle}),Hj=e=>{const{children:r,modalType:n="modal",onOpenChange:a,inertTrapFocus:s=!1,unmountOnClose:c=!0}=e,u=Xo("dialog-title-"),[d,g]=Lj(r),[p,m]=Qr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),v=_e(z=>{a==null||a(z.event,z),z.event.isDefaultPrevented()||m(z.open)}),S=Aj(p,n),{modalAttributes:k,triggerAttributes:w}=$u({trapFocus:n!=="non-modal",legacyTrapFocus:!s}),x=fg(Rg);return{components:{surfaceMotion:Sy},inertTrapFocus:s,open:p,modalType:n,content:g,trigger:d,requestOpenChange:v,dialogTitleId:u,isNestedDialog:x,unmountOnClose:c,dialogRef:S,modalAttributes:k,triggerAttributes:w,surfaceMotion:bg(e.surfaceMotion,{elementType:Sy,defaultProps:{visible:p,appear:c,unmountOnExit:c}})}};function Lj(e){const r=y.Children.toArray(e);switch(r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const Pj=(e,r)=>se(Oj,{value:r.dialog,children:Bt(ZS,{value:r.dialogSurface,children:[e.trigger,e.content&&se(e.surfaceMotion,{children:se(vg,{children:e.content})})]})});function Ij(e){const{modalType:r,open:n,dialogRef:a,dialogTitleId:s,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:g,triggerAttributes:p,unmountOnClose:m}=e;return{dialog:y.useMemo(()=>({open:n,modalType:r,dialogRef:a,dialogTitleId:s,isNestedDialog:c,inertTrapFocus:u,modalAttributes:g,triggerAttributes:p,unmountOnClose:m,requestOpenChange:d}),[n,r,a,s,c,u,g,p,m,d]),dialogSurface:!1}}const e5=y.memo(e=>{const r=Hj(e),n=Ij(r);return Pj(r,n)});e5.displayName="Dialog";const Uj=e=>{const r=qj(),{children:n,disableButtonEnhancement:a=!1,action:s=r?"close":"open"}=e,c=Xu(n),u=Ko(v=>v.requestOpenChange),{triggerAttributes:d}=$u(),g=_e(v=>{var S,k;c==null||(S=(k=c.props).onClick)===null||S===void 0||S.call(k,v),v.isDefaultPrevented()||u({event:v,type:"triggerClick",open:s==="open"})}),p={...c==null?void 0:c.props,ref:Gu(c),onClick:g,...d},m=zu((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:ng(n,a?p:m)}},Vj=e=>e.children,Bi=e=>{const r=Uj(e);return Vj(r)};Bi.displayName="DialogTrigger";Bi.isFluentTriggerComponent=!0;const Gj=(e,r)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ve(Vt("div",{ref:r,...e}),{elementType:"div"}),position:n,fluid:a}},Xj=e=>se(e.root,{}),Wj={root:"fui-DialogActions"},Qj=Le("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),Yj=Se({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),$j=e=>{"use no memo";const r=Qj(),n=Yj();return e.root.className=me(Wj.root,r,e.position==="start"&&n.gridPositionStart,e.position==="end"&&n.gridPositionEnd,e.fluid&&e.position==="start"&&n.fluidStart,e.fluid&&e.position==="end"&&n.fluidEnd,e.root.className),e},t5=y.forwardRef((e,r)=>{const n=Gj(e,r);return $j(n),ht("useDialogActionsStyles_unstable")(n),Xj(n)});t5.displayName="DialogActions";const Kj=(e,r)=>{var n;return{components:{root:"div"},root:Ve(Vt((n=e.as)!==null&&n!==void 0?n:"div",{ref:r,...e}),{elementType:"div"})}},Zj=e=>se(e.root,{}),Jj={root:"fui-DialogBody"},eR=Le("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),tR=e=>{"use no memo";const r=eR();return e.root.className=me(Jj.root,r,e.root.className),e},o5=y.forwardRef((e,r)=>{const n=Kj(e,r);return tR(n),ht("useDialogBodyStyles_unstable")(n),Zj(n)});o5.displayName="DialogBody";const wy={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},oR=Le("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),rR=Se({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),nR=Le("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),aR=Le("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),iR=e=>{"use no memo";const r=oR(),n=nR(),a=rR();return e.root.className=me(wy.root,r,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=me(wy.action,n,e.action.className)),e},lR=(e,r)=>{const{action:n}=e,a=Ko(c=>c.modalType),s=aR();return{components:{root:"h2",action:"div"},root:Ve(Vt("h2",{ref:r,id:Ko(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:et(n,{renderByDefault:a==="non-modal",defaultProps:{children:y.createElement(Bi,{disableButtonEnhancement:!0,action:"close"},y.createElement("button",{type:"button",className:s,"aria-label":"close"},y.createElement(BC,null)))},elementType:"div"})}},sR=e=>Bt(y.Fragment,{children:[se(e.root,{children:e.root.children}),e.action&&se(e.action,{})]}),r5=y.forwardRef((e,r)=>{const n=lR(e,r);return iR(n),ht("useDialogTitleStyles_unstable")(n),sR(n)});r5.displayName="DialogTitle";const ky=HC,cR=(e,r)=>{const n=mg(),a=Ko(N=>N.modalType),s=Ko(N=>N.isNestedDialog),c=Fj(),u=c??s,d=Ko(N=>N.modalAttributes),g=Ko(N=>N.dialogRef),p=Ko(N=>N.requestOpenChange),m=Ko(N=>N.dialogTitleId),v=Ko(N=>N.open),S=Ko(N=>N.unmountOnClose),k=_e(N=>{if(Wx(e.backdrop)){var C,E;(C=(E=e.backdrop).onClick)===null||C===void 0||C.call(E,N)}a==="modal"&&!N.isDefaultPrevented()&&p({event:N,open:!1,type:"backdropClick"})}),w=_e(N=>{var C;(C=e.onKeyDown)===null||C===void 0||C.call(e,N),N.key===Zu&&!N.isDefaultPrevented()&&(p({event:N,open:!1,type:"escapeKeyDown"}),N.preventDefault())}),x=et(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),z=x==null?void 0:x.appearance;x&&(x.onClick=k,delete x.appearance);const{disableBodyScroll:T,enableBodyScroll:j}=Rj();return At(()=>{if(!v){j();return}if(!(s||a==="non-modal"))return T(),()=>j()},[v,a,s,T,j]),{components:{backdrop:"div",root:"div",backdropMotion:ky},open:v,backdrop:x,isNestedDialog:s,treatBackdropAsNested:u,backdropAppearance:z,unmountOnClose:S,mountNode:e.mountNode,root:Ve(Vt("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:m,"aria-hidden":!S&&!v?!0:void 0,...e,...d,onKeyDown:w,ref:Ct(r,n,g)}),{elementType:"div"}),backdropMotion:bg(e.backdropMotion,{elementType:ky,defaultProps:{appear:S,visible:v}}),transitionStatus:void 0}},uR=(e,r)=>Bt(Cs,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&se(e.backdropMotion,{children:se(e.backdrop,{})}),se(fS,{children:se(ZS,{value:r.dialogSurface,children:se(e.root,{})})})]}),By={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},fR=Le("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),dR=Le("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),hR=Se({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),gR=e=>{"use no memo";const{root:r,backdrop:n,open:a,unmountOnClose:s,treatBackdropAsNested:c,backdropAppearance:u}=e,d=fR(),g=dR(),p=hR(),m=u?u==="transparent":c,v=!s&&!a;return r.className=me(By.root,d,v&&p.dialogHidden,r.className),n&&(n.className=me(By.backdrop,g,v&&p.dialogHidden,m&&p.nestedDialogBackdrop,n.className)),e};function pR(e){return{dialogSurface:!0}}const n5=y.forwardRef((e,r)=>{const n=cR(e,r),a=pR();return gR(n),ht("useDialogSurfaceStyles_unstable")(n),uR(n,a)});n5.displayName="DialogSurface";const mR=(e,r)=>{var n;return{components:{root:"div"},root:Ve(Vt((n=e.as)!==null&&n!==void 0?n:"div",{ref:r,...e}),{elementType:"div"})}},vR=e=>se(e.root,{}),bR={root:"fui-DialogContent"},yR=Le("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),xR=e=>{"use no memo";const r=yR();return e.root.className=me(bR.root,r,e.root.className),e},a5=y.forwardRef((e,r)=>{const n=mR(e,r);return xR(n),ht("useDialogContentStyles_unstable")(n),vR(n)});a5.displayName="DialogContent";function SR(e){switch(e){case"info":return y.createElement(KN,null);case"warning":return y.createElement(QN,null);case"error":return y.createElement(hC,null);case"success":return y.createElement(Yr,null);default:return null}}function wR(e=!1){const{targetDocument:r}=dt(),n=y.useReducer(()=>({}),{})[1],a=y.useRef(!1),s=y.useRef(null),c=y.useRef(-1),u=y.useCallback(g=>{var p,m;const v=g[0];var S;const k=(S=v==null||(m=v.borderBoxSize)===null||m===void 0||(p=m[0])===null||p===void 0?void 0:p.inlineSize)!==null&&S!==void 0?S:v==null?void 0:v.target.getBoundingClientRect().width;if(k===void 0||!v)return;const{target:w}=v;if(!Vn(w))return;let x;if(a.current)c.current<k&&(x=!1);else{const z=w.scrollWidth;k<z&&(x=!0)}c.current=k,typeof x<"u"&&a.current!==x&&(a.current=x,n())},[n]),d=y.useCallback(g=>{var p;if(!e||!g||!(r!=null&&r.defaultView))return;(p=s.current)===null||p===void 0||p.disconnect();const m=r.defaultView,v=new m.ResizeObserver(u);s.current=v,v.observe(g,{box:"border-box"})},[r,u,e]);return y.useEffect(()=>()=>{var g;(g=s.current)===null||g===void 0||g.disconnect()},[]),{ref:d,reflowing:a.current}}const i5=y.createContext(void 0),kR={className:"",nodeRef:y.createRef()};i5.Provider;const BR=()=>{var e;return(e=y.useContext(i5))!==null&&e!==void 0?e:kR},_R=(e,r)=>{const{layout:n="auto",intent:a="info",politeness:s}=e,c=s??a==="info"?"polite":"assertive",u=n==="auto",{ref:d,reflowing:g}=wR(u),p=u?g?"multiline":"singleline":n,{className:m,nodeRef:v}=BR(),S=mg(),k=y.useRef(null),w=y.useRef(null),{announce:x}=N_(),z=Xo();return y.useEffect(()=>{var T,j;const N=(T=w.current)===null||T===void 0?void 0:T.textContent,C=(j=k.current)===null||j===void 0?void 0:j.textContent,E=[N,C].filter(Boolean).join(",");x(E,{polite:c==="polite",alert:c==="assertive"})},[w,k,x,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ve(Vt("div",{ref:Ct(r,d,v,S),role:"group","aria-labelledby":z,...e}),{elementType:"div"}),icon:et(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:et(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:m,actionsRef:k,bodyRef:w,titleId:z}},zR=(e,r)=>{const{shape:n="rounded",...a}=e,s=_R(a,r);return{...s,shape:n,icon:et(e.icon,{defaultProps:{children:SR(s.intent)},renderByDefault:!0,elementType:"div"})}},l5=y.createContext(void 0),TR={titleId:"",layout:"singleline",actionsRef:y.createRef(),bodyRef:y.createRef()},NR=l5.Provider,s5=()=>{var e;return(e=y.useContext(l5))!==null&&e!==void 0?e:TR},CR=(e,r)=>se(NR,{value:r.messageBar,children:Bt(e.root,{children:[e.icon&&se(e.icon,{}),e.root.children,e.bottomReflowSpacer&&se(e.bottomReflowSpacer,{})]})}),Zh={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},ER=Le("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),jR=Le("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),RR=Le("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),AR=Se({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),DR=Se({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),OR=Se({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),MR=e=>{"use no memo";const r=ER(),n=jR(),a=DR(),s=OR(),c=RR(),u=AR();return e.root.className=me(Zh.root,r,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,s[e.intent],e.root.className),e.icon&&(e.icon.className=me(Zh.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=me(Zh.bottomReflowSpacer,c)),e};function qR(e){const{layout:r,actionsRef:n,bodyRef:a,titleId:s}=e;return{messageBar:y.useMemo(()=>({layout:r,actionsRef:n,bodyRef:a,titleId:s}),[r,n,a,s])}}const hs=y.forwardRef((e,r)=>{const n=zR(e,r);return MR(n),ht("useMessageBarStyles_unstable")(n),CR(n,qR(n))});hs.displayName="MessageBar";const FR=(e,r)=>{const{titleId:n}=s5();return{components:{root:"span"},root:Ve(Vt("span",{ref:r,id:n,...e}),{elementType:"span"})}},HR=e=>se(e.root,{}),LR={root:"fui-MessageBarTitle"},PR=Le("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),IR=e=>{"use no memo";const r=PR();return e.root.className=me(LR.root,r,e.root.className),e},c5=y.forwardRef((e,r)=>{const n=FR(e,r);return IR(n),ht("useMessageBarTitleStyles_unstable")(n),HR(n)});c5.displayName="MessageBarTitle";const UR=(e,r)=>{const{bodyRef:n}=s5();return{components:{root:"div"},root:Ve(Vt("div",{ref:Ct(r,n),...e}),{elementType:"div"})}},VR=(e,r)=>se(D9,{value:r.link,children:se(e.root,{})}),GR={root:"fui-MessageBarBody"},XR=Le("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),WR=e=>{"use no memo";const r=XR();return e.root.className=me(GR.root,r,e.root.className),e};function QR(e){return{link:y.useMemo(()=>({inline:!0}),[])}}const gs=y.forwardRef((e,r)=>{const n=UR(e,r),a=QR();return WR(n),ht("useMessageBarBodyStyles_unstable")(n),VR(n,a)});gs.displayName="MessageBarBody";const u5={10:"#001120",20:"#002A4D",30:"#003E70",40:"#005091",50:"#0061AC",60:"#0078D4",70:"#1B8AE0",80:"#3398E8",90:"#4FA7EE",100:"#6BB6F2",110:"#85C3F5",120:"#9FCFF7",130:"#B7DBF9",140:"#CCE5FB",150:"#DEEDFC",160:"#EFF6FE"},ao={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},YR={...gN(u5)},js={...vN(u5)};js.colorNeutralBackground1="#0E1620";js.colorNeutralBackground2="#131F2D";js.colorNeutralBackground3="#1A2838";js.colorNeutralBackground4="#223145";const _y="wizardux.theme",f5=y.createContext(null);function zy(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function $R({children:e}){const[r,n]=y.useState(()=>localStorage.getItem(_y)||"system"),[a,s]=y.useState(zy);y.useEffect(()=>{const g=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>s(zy());return g.addEventListener("change",p),()=>g.removeEventListener("change",p)},[]),y.useEffect(()=>{localStorage.setItem(_y,r)},[r]);const c=r==="system"?a:r,u=c==="dark"?js:YR;y.useEffect(()=>{document.body.style.background=u.colorNeutralBackground1,document.body.style.color=u.colorNeutralForeground1},[u]);const d=y.useMemo(()=>({mode:r,resolved:c,setMode:n}),[r,c]);return B.jsx(f5.Provider,{value:d,children:B.jsx(W2,{theme:u,style:{height:"100%"},children:e})})}function KR(){const e=y.useContext(f5);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}const ZR=sr({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:q.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:ao.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:q.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:q.colorNeutralForeground2,textDecoration:"none",fontSize:q.fontSizeBase300},navLinkActive:{backgroundColor:q.colorNeutralBackground3,color:q.colorNeutralForeground1}});function JR(){const e=ZR(),{mode:r,setMode:n}=KR(),a=Go(),s=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=r==="system"?"light":r==="light"?"dark":"system",u=r==="dark"?YN:r==="light"?$N:J2;return B.jsxs("header",{className:e.root,children:[B.jsxs(Vr,{to:"/",className:e.brand,children:[B.jsx("div",{className:e.badge,children:"F"}),B.jsx(YS,{children:"Foundations"})]}),B.jsx("div",{className:e.spacer}),B.jsxs("nav",{className:e.navLinks,children:[B.jsxs(Vr,{to:"/",className:me(e.navLink,s("/")&&e.navLinkActive),children:[B.jsx(tS,{})," Home"]}),B.jsxs(Vr,{to:"/summary",className:me(e.navLink,s("/summary")&&e.navLinkActive),children:[B.jsx(dC,{})," Summary"]}),B.jsxs(Vr,{to:"/diagnostics",className:me(e.navLink,s("/diagnostics")&&e.navLinkActive),children:[B.jsx(Tu,{})," Diagnostics"]})]}),B.jsx(Cg,{relationship:"label",content:`Theme: ${r}. Click to cycle.`,children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})})]})}const eA=sr({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function d5(){const e=eA(),r=y.useRef(null);return y.useEffect(()=>{const n=r.current;if(!n)return;const a=n.getContext("2d");if(!a)return;const s=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let c=0;function u(){const g=Math.min(window.devicePixelRatio||1,2);n.width=n.clientWidth*g,n.height=n.clientHeight*g,a.scale(g,g)}u(),window.addEventListener("resize",u);function d(g){const p=n.clientWidth,m=n.clientHeight;a.clearRect(0,0,p,m);const v=s?0:g/6e3,S=p*(.28+.15*Math.sin(v)),k=m*(.38+.1*Math.cos(v*1.2)),w=a.createRadialGradient(S,k,0,S,k,Math.max(p,m)*.7);w.addColorStop(0,"rgba(0, 120, 212, 0.55)"),w.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=w,a.fillRect(0,0,p,m);const x=p*(.72+.1*Math.cos(v*.8)),z=m*(.55+.12*Math.sin(v*1.5)),T=a.createRadialGradient(x,z,0,x,z,Math.max(p,m)*.6);T.addColorStop(0,"rgba(92, 45, 145, 0.45)"),T.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=T,a.fillRect(0,0,p,m);const j=p*(.4+.18*Math.cos(v*.6+1.7)),N=m*(.85+.1*Math.sin(v*.9)),C=a.createRadialGradient(j,N,0,j,N,Math.max(p,m)*.55);C.addColorStop(0,"rgba(0, 130, 114, 0.35)"),C.addColorStop(1,"rgba(0, 130, 114, 0)"),a.fillStyle=C,a.fillRect(0,0,p,m),s||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),B.jsx("canvas",{ref:r,className:e.canvas,"aria-hidden":"true"})}let lu=null;async function tA(){if(lu)return lu;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return lu=(await e.json()).csrfToken,lu}async function Tn(e,r,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await tA());const s=await fetch(r,{method:e,headers:a,body:n!==void 0?JSON.stringify(n):void 0,credentials:"same-origin"});if(!s.ok){let c=null;try{c=await s.json()}catch{}const u=(c==null?void 0:c.error)||`${e} ${r} failed (${s.status})`,d=new Error(u);throw d.payload=c,d.status=s.status,d}return s.json()}const Ea={state:()=>Tn("GET","/api/state"),saveState:e=>Tn("PUT","/api/state",e),resetState:()=>Tn("POST","/api/state/reset",{}),jumpTo:e=>Tn("POST","/api/state/jump",{step:e}),system:()=>Tn("GET","/api/system"),steps:()=>Tn("GET","/api/steps"),questions:e=>Tn("GET",`/api/steps/${e}/questions`),apply:(e,r)=>Tn("POST",`/api/steps/${e}/apply`,{answers:r})};function Ag(){return Fu({queryKey:["state"],queryFn:()=>Ea.state(),refetchInterval:5e3})}function h5(){return Fu({queryKey:["system"],queryFn:()=>Ea.system(),staleTime:3e4})}function Dg(){return Fu({queryKey:["steps"],queryFn:()=>Ea.steps(),refetchInterval:5e3})}function oA(e){return Fu({queryKey:["questions",e],queryFn:()=>Ea.questions(e),enabled:e!=null})}const rA=sr({root:{position:"relative",height:"100%",overflowY:"auto"},hero:{position:"relative",minHeight:"340px",display:"grid",placeItems:"center",padding:"64px 32px 40px"},heroInner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"660px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:q.colorNeutralBackground1,border:`1px solid ${q.colorNeutralStroke2}`,boxShadow:q.shadow4,fontSize:q.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:q.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:ao.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(32px, 4.5vw, 48px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:q.colorNeutralForeground2,fontSize:q.fontSizeBase300,lineHeight:1.55,maxWidth:"520px"},body:{position:"relative",zIndex:1,maxWidth:"720px",margin:"0 auto",padding:"0 32px 60px",display:"grid",gap:"32px"},ctaCard:{position:"relative",padding:"28px 32px",borderRadius:"16px",background:ao.accentSoft,border:`1px solid ${q.colorNeutralStroke2}`,boxShadow:q.shadow16,overflow:"hidden"},ctaInner:{display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},ctaText:{flex:1,minWidth:"220px"},ctaActions:{display:"flex",gap:"12px",flexWrap:"wrap"},ctaPrimary:{background:ao.accent,color:"#ffffff",border:"none",boxShadow:q.shadow8,minWidth:"180px",height:"44px",fontSize:q.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:q.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:ao.accent,transition:"width 280ms ease"},systemBar:{display:"flex",flexWrap:"wrap",gap:"8px",justifyContent:"center"},stepSection:{display:"grid",gap:"2px",borderRadius:"12px",overflow:"hidden",border:`1px solid ${q.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:q.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:q.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:q.colorPaletteGreenForeground1},stepCurrent:{color:q.colorBrandForeground1},stepPending:{color:q.colorNeutralForeground4},stepLabel:{flex:1,fontSize:q.fontSizeBase300,fontWeight:q.fontWeightSemibold,color:q.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:q.fontSizeBase300,fontWeight:q.fontWeightRegular,color:q.colorNeutralForeground3},stepBadge:{fontSize:q.fontSizeBase200,color:q.colorNeutralForeground3},footer:{textAlign:"center",color:q.colorNeutralForeground3,fontSize:q.fontSizeBase200}});function nA(){var k,w,x,z,T,j;const e=rA(),r=Ss(),n=Ag(),a=Dg(),s=h5(),c=qu(),u=xx({mutationFn:()=>Ea.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((k=n.data)==null?void 0:k.completed)??0,g=((w=n.data)==null?void 0:w.next)??1,p=((x=n.data)==null?void 0:x.totalSteps)??9,m=((T=(z=n.data)==null?void 0:z.state)==null?void 0:T.APP_NAME)||"",v=d>0,S=Math.round(d/Math.max(1,p)*100);return B.jsxs("div",{className:e.root,children:[B.jsxs("div",{className:e.hero,children:[B.jsx(d5,{}),B.jsxs("div",{className:e.heroInner,children:[B.jsxs("div",{className:e.pill,children:[B.jsx(mC,{})," Foundations"]}),B.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),B.jsx(tr,{className:e.subtitle,children:"Nine guided steps from zero to a deployed Power Apps Code App. Every decision is captured and every step is re-runnable."})]})]}),B.jsxs("div",{className:e.body,children:[B.jsx("div",{className:e.ctaCard,children:B.jsxs("div",{className:e.ctaInner,children:[B.jsx("div",{className:e.ctaText,children:v?B.jsxs(B.Fragment,{children:[B.jsxs(Lo,{style:{display:"block",color:q.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",m?`, ${m}`:""]}),B.jsxs(D0,{style:{margin:0},children:["Pick up at step ",g," of ",p]}),B.jsxs(tr,{style:{marginTop:"6px",color:q.colorNeutralForeground3},children:[d," of ",p," steps complete · ",S,"%"]}),B.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:B.jsx("div",{className:e.ctaFill,style:{width:`${S}%`}})})]}):B.jsxs(B.Fragment,{children:[B.jsx(D0,{style:{margin:0},children:"Ready when you are"}),B.jsx(tr,{style:{marginTop:"6px",color:q.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),B.jsxs("div",{className:e.ctaActions,children:[B.jsx(mt,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(Gr,{}),onClick:()=>r(`/step/${g}`),children:v?"Resume":"Get started"}),v&&B.jsxs(e5,{children:[B.jsx(Bi,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(aC,{}),children:"Start over"})}),B.jsx(n5,{children:B.jsxs(o5,{children:[B.jsx(r5,{children:"Reset wizard state?"}),B.jsx(a5,{children:"This clears all collected answers. Your project files are not affected."}),B.jsxs(t5,{children:[B.jsx(Bi,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"secondary",children:"Cancel"})}),B.jsx(Bi,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?B.jsx(Un,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),s.data&&B.jsxs("div",{className:e.systemBar,children:[B.jsxs(er,{appearance:"filled",color:s.data.node?"success":"danger",children:["Node ",s.data.node||"—"]}),B.jsxs(er,{appearance:"filled",color:s.data.git?"success":"danger",children:["Git ",s.data.git||"missing"]}),B.jsxs(er,{appearance:"filled",color:s.data.dotnet?"success":"danger",children:[".NET ",s.data.dotnet||"missing"]}),B.jsxs(er,{appearance:"filled",color:s.data.pac?"success":"danger",children:["PAC ",s.data.pac||"missing"]}),B.jsx(er,{appearance:"filled",color:s.data.op?"success":"informative",children:s.data.op?`1Password ${s.data.op}`:"1Password (optional)"})]}),a.data&&B.jsx("div",{className:e.stepSection,children:a.data.steps.map(N=>{const C=N.status==="done",E=N.status==="current";return B.jsxs("div",{className:e.stepRow,role:"button",tabIndex:0,onClick:()=>r(`/step/${N.number}`),onKeyDown:M=>{(M.key==="Enter"||M.key===" ")&&r(`/step/${N.number}`)},children:[C?B.jsx(Yr,{className:`${e.stepIcon} ${e.stepDone}`}):E?B.jsx(iC,{className:`${e.stepIcon} ${e.stepCurrent}`}):B.jsx(gg,{className:`${e.stepIcon} ${e.stepPending}`}),B.jsxs("span",{className:C||E?e.stepLabel:e.stepLabelDim,children:[N.number,". ",N.title]}),C&&B.jsx("span",{className:e.stepBadge,children:"Done"}),E&&B.jsx(er,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},N.number)})}),((j=s.data)==null?void 0:j.rootDir)&&B.jsxs("div",{className:e.footer,children:[B.jsx(oC,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",B.jsx("code",{children:s.data.rootDir})]}),u.isError&&B.jsx(hs,{intent:"error",children:B.jsxs(gs,{children:[B.jsx(c5,{children:"Reset failed"}),u.error.message]})})]})]})}function aA(e,r){const[n,a]=y.useState({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return y.useEffect(()=>{if(!r||!e){a({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return}a({lines:[],status:"running",error:null,exitCode:null,deviceCode:null});const s=`/api/steps/${e}/stream?runId=${encodeURIComponent(r)}`,c=new EventSource(s,{withCredentials:!0});return c.addEventListener("line",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,lines:[...g.lines,d]}))}catch{}}),c.addEventListener("deviceCode",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,deviceCode:d}))}catch{}}),c.addEventListener("end",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,status:d.status,exitCode:d.exitCode,error:d.error}))}catch{}c.close()}),c.onerror=()=>{a(u=>({...u,status:u.status==="running"?"error":u.status,error:"Stream connection lost"})),c.close()},()=>c.close()},[e,r]),n}const iA=sr({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground2},heading:{color:q.colorNeutralForeground3,paddingLeft:"8px",marginBottom:"6px"},item:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 10px",borderRadius:"8px",cursor:"pointer",border:"1px solid transparent",transition:"background-color 150ms ease-out",":hover":{backgroundColor:q.colorNeutralBackground3}},itemActive:{backgroundColor:q.colorBrandBackground2,border:`1px solid ${q.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:q.colorPaletteGreenForeground1},current:{color:q.colorBrandForeground1},pending:{color:q.colorNeutralForeground3},terminal:{color:q.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:q.fontWeightSemibold,fontSize:q.fontSizeBase300}});function lA({steps:e,current:r}){const n=iA(),a=Ss(),s=Go();return B.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[B.jsx(io,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===r&&s.pathname.includes("/step/"),d=c.status==="done"?Yr:c.status==="current"?Gr:c.canRunInBrowser?gg:eS,g=c.status==="done"?n.done:c.status==="current"?n.current:c.canRunInBrowser?n.pending:n.terminal;return B.jsxs("div",{className:[n.item,u&&n.itemActive].filter(Boolean).join(" "),onClick:()=>a(`/step/${c.number}`),role:"button",tabIndex:0,onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[B.jsx("div",{className:`${n.iconCol} ${g}`,children:B.jsx(d,{})}),B.jsxs(jg,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}function Ty(e){const r=/https?:\/\/[^\s)]+/g,n=[];let a=0,s;for(;(s=r.exec(e))!==null;){s.index>a&&n.push(e.slice(a,s.index));const c=s[0].replace(/[.,;:!?]+$/,"");n.push(B.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",children:c},s.index)),a=s.index+s[0].length}return a<e.length&&n.push(e.slice(a)),n}const Og=sr({card:{padding:"16px",borderRadius:"10px",backgroundColor:q.colorNeutralBackground2,border:`1px solid ${q.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:q.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:q.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:q.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${q.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:q.fontSizeBase200,color:q.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:q.colorNeutralForeground3,":hover":{color:q.colorBrandForeground1}},labelRow:{display:"flex",alignItems:"center",gap:"4px"},checkboxList:{display:"flex",flexDirection:"column",gap:"6px"},savedSecret:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",background:q.colorNeutralBackground3,border:`1px solid ${q.colorNeutralStroke2}`,color:q.colorNeutralForeground2,fontSize:q.fontSizeBase200},savedSecretIcon:{color:q.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Ny(e,r){return(Array.isArray(e)?e:[e]).every(a=>{const s=r[a.id];return"contains"in a?Array.isArray(s)&&s.includes(a.contains):s===a.equals})}function Mg(e,r){return!!(e.showIf&&!Ny(e.showIf,r)||e.hideIf&&Ny(e.hideIf,r))}function sA(e){if(!e)return null;const r=/^https?:\/\//i.test(e)?e:`https://${e}`;try{return new URL(r).protocol.startsWith("https")?null:"Must be an https:// URL"}catch{return"Not a valid URL"}}function cA(e,r,n){return e.required&&(r==null||r==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof r=="string"?sA(r):null}function g5({question:e,value:r,onChange:n,showError:a,answers:s}){var N;const c=Og(),u=cA(e,r,a),[d,g]=y.useState(!1),p=e.type==="secret"&&e.savedHint&&!r&&!d,m=e.dynamicOptions,v=m?String(s[m.dependsOn]??""):"",[S,k]=y.useState([]),[w,x]=y.useState(!1),z=y.useRef(v);y.useEffect(()=>{if(!m)return;if(!v||v==="false"||v==="0"||v.startsWith("__")){k([]),z.current=v;return}if(v===z.current&&S.length>0)return;z.current=v,x(!0);const E=new AbortController;return fetch(`${m.endpoint}?${m.param}=${encodeURIComponent(v)}`,{signal:E.signal}).then(M=>M.json()).then(M=>{const Q=M[m.responseKey]||[];k(Q),x(!1)}).catch(()=>{E.signal.aborted||x(!1)}),()=>E.abort()},[m,v]);const T=y.useMemo(()=>{if(!m)return e.options||[];const C=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...S,...C]},[m,e.options,S]),j=B.jsxs("span",{className:c.labelRow,children:[e.label,e.required?B.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&B.jsxs(MS,{withArrow:!0,children:[B.jsx(Ng,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"transparent",icon:B.jsx(vC,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),B.jsx(OS,{children:B.jsx("div",{className:c.why,children:Ty(e.why)})})]})]});return B.jsxs(B.Fragment,{children:[B.jsx(LS,{label:j,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?B.jsx(A0,{value:r??"",onChange:(C,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?p?B.jsxs("div",{className:c.savedSecret,children:[B.jsx(tC,{className:c.savedSecretIcon}),B.jsx("span",{children:e.savedHint}),B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(eC,{}),className:c.savedSecretEdit,onClick:()=>g(!0),children:"Change"})]}):B.jsx(A0,{type:"password",value:r??"",onChange:(C,E)=>n(e.id,E.value),placeholder:e.savedHint?"Enter new value to replace":void 0,"aria-required":e.required||void 0}):e.type==="confirm"?B.jsx(QS,{checked:!!r,onChange:(C,E)=>n(e.id,E.checked)}):e.type==="select"?w?B.jsx(Un,{size:"tiny",label:"Loading options…"}):B.jsx(XS,{value:((N=T.find(C=>C.value===r))==null?void 0:N.label)??"",selectedOptions:r?[String(r)]:[],onOptionSelect:(C,E)=>n(e.id,E.optionValue),children:T.map(C=>B.jsx(GS,{value:C.value,children:C.label},C.value))}):e.type==="multiselect"?B.jsx($S,{value:Array.isArray(r)?r.join(", "):"",onChange:(C,E)=>n(e.id,E.value.split(",").map(M=>M.trim()).filter(Boolean))}):e.type==="checkboxes"?B.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(C=>{const E=Array.isArray(r)&&r.includes(C.value);return B.jsx(PS,{label:C.label,checked:E,onChange:(M,Q)=>{const G=Array.isArray(r)?[...r]:[];n(e.id,Q.checked?Array.from(new Set([...G,C.value])):G.filter(oe=>oe!==C.value))}},C.value)})}):B.jsxs(io,{children:["Unsupported question type: ",e.type]})}),e.help&&B.jsx(jg,{className:c.help,children:Ty(e.help)})]})}function uA({question:e,answers:r,value:n,onChange:a,showError:s}){const c=Og();return Mg(e,r)?null:B.jsx("div",{className:c.card,children:B.jsx(g5,{question:e,answers:r,value:n,onChange:a,showError:s})})}function fA({group:e,questions:r,answers:n,onChange:a,showError:s}){const c=Og(),u=r.filter(d=>!Mg(d,n));return u.length===0?null:B.jsxs("div",{className:c.card,children:[B.jsxs("div",{className:c.groupHeader,children:[B.jsx(tr,{className:c.groupTitle,children:e.label}),e.help&&B.jsx(jg,{className:c.help,children:e.help})]}),B.jsx("div",{className:c.groupItems,children:u.map((d,g)=>B.jsx("div",{className:`${c.groupItem} ${g===0?c.firstGroupItem:""}`,children:B.jsx(g5,{question:d,answers:n,value:n[d.id],onChange:a,showError:s})},d.id))})]})}const dA=sr({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr",backgroundColor:q.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${q.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:q.fontFamilyMonospace,fontSize:q.fontSizeBase200,lineHeight:q.lineHeightBase200,color:q.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:q.colorPaletteRedForeground1},info:{color:q.colorNeutralForeground3,fontStyle:"italic"}});function hA({lines:e,status:r,onClear:n}){const a=dA(),s=y.useRef(null);y.useEffect(()=>{s.current&&(s.current.scrollTop=s.current.scrollHeight)},[e]);function c(){const u=e.map(m=>m.text).join(""),d=new Blob([u],{type:"text/plain"}),g=URL.createObjectURL(d),p=document.createElement("a");p.href=g,p.download=`wizardux-log-${Date.now()}.txt`,p.click(),URL.revokeObjectURL(g)}return B.jsxs("div",{className:a.root,children:[B.jsxs("div",{className:a.toolbar,children:[B.jsx(YS,{children:"Live output"}),B.jsx(io,{style:{color:r==="error"?q.colorPaletteRedForeground1:r==="done"?q.colorPaletteGreenForeground1:q.colorNeutralForeground3},children:r==="idle"?"Idle":r==="running"?"Running…":r==="done"?"Complete":"Failed"}),B.jsx("div",{className:a.spacer}),B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(rC,{}),onClick:c,disabled:e.length===0,children:"Save"}),n&&B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(sC,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),B.jsx("pre",{ref:s,className:a.output,"aria-live":"polite",children:e.length===0?B.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((u,d)=>B.jsx("span",{className:u.stream==="stderr"?a.err:void 0,children:u.text},d))})]})}const gA=sr({root:{height:"100%",display:"flex"},main:{flex:1,height:"100%",minWidth:0,overflow:"hidden"},pane:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"},formWrap:{height:"100%",overflowY:"auto",padding:"24px 32px 32px",display:"flex",flexDirection:"column",gap:"16px",maxWidth:"820px",margin:"0 auto",width:"100%"},header:{display:"flex",alignItems:"center",gap:"12px",paddingBottom:"12px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:q.colorNeutralBackground3,color:q.colorNeutralForeground2},stepBadgeDone:{background:q.colorPaletteGreenBackground2,color:q.colorPaletteGreenForeground1},stepBadgeBrand:{background:ao.accent,color:"#ffffff"},headerText:{flex:1,display:"flex",flexDirection:"column",gap:"2px",minWidth:0},questions:{display:"flex",flexDirection:"column",gap:"12px"},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${q.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${q.colorNeutralStroke2}`,borderRadius:"10px",overflow:"hidden",minHeight:"180px",maxHeight:"320px",display:"flex",flexDirection:"column"},successBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"16px 20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(16,124,16,0.10), rgba(0,120,212,0.08))",border:`1px solid ${q.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:q.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:ao.accent,color:"#ffffff",border:"none",boxShadow:q.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:q.colorNeutralBackground3,border:`1px solid ${q.colorNeutralStroke2}`,color:q.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:q.colorBrandForeground1,flexShrink:0},deviceCodeCard:{display:"flex",flexDirection:"column",gap:"12px",padding:"20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(0,120,212,0.08), rgba(0,150,255,0.04))",border:`1.5px solid ${q.colorBrandStroke1}`},deviceCodeHeader:{display:"flex",alignItems:"center",gap:"8px",fontWeight:600},deviceCodeBody:{display:"flex",alignItems:"center",gap:"16px",flexWrap:"wrap"},deviceCodeValue:{fontFamily:"monospace",fontSize:"28px",fontWeight:700,letterSpacing:"4px",color:q.colorBrandForeground1,padding:"8px 16px",background:q.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${q.colorNeutralStroke2}`,userSelect:"all"}});function pA(){var ze,D,L,Z,ne,fe,ke,De,bt;const e=gA(),r=Mk(),n=Math.max(1,Math.min(9,parseInt(r.n||"1",10))),a=Ss(),s=qu(),c=Dg(),u=oA(n),[d,g]=y.useState({}),[p,m]=y.useState({}),[v,S]=y.useState(!1),[k,w]=y.useState(null),x=y.useRef(null),z=y.useMemo(()=>{var pe;return JSON.stringify((((pe=u.data)==null?void 0:pe.questions)??[]).map(He=>[He.id,He.defaultValue??""]))},[(ze=u.data)==null?void 0:ze.questions]);y.useEffect(()=>{if(!u.data)return;const pe={};for(const He of u.data.questions)pe[He.id]=He.defaultValue??"";g(pe),m(pe),S(!1)},[(D=u.data)==null?void 0:D.meta.number,z]),y.useEffect(()=>{w(null)},[n]);const T=xx({mutationFn:pe=>Ea.apply(n,pe),onSuccess:pe=>{w(pe.runId)}}),j=aA(n,k);y.useEffect(()=>{j.status==="done"&&(x.current&&(m(x.current),x.current=null),s.invalidateQueries({queryKey:["state"]}),s.invalidateQueries({queryKey:["steps"]}),s.invalidateQueries({queryKey:["questions"]}))},[j.status,s,n]);const N=y.useMemo(()=>j.lines.some(pe=>pe.stream==="stderr"),[j.lines]),C=y.useRef(null);y.useEffect(()=>{var pe;if(j.status==="done"&&!N){const He=((pe=c.data)==null?void 0:pe.totalSteps)??9;C.current=setTimeout(()=>{n>=He?a("/summary"):a(`/step/${n+1}`)},1500)}return()=>{C.current&&clearTimeout(C.current)}},[j.status,n,(L=c.data)==null?void 0:L.totalSteps,a]);const E=(Z=u.data)==null?void 0:Z.meta,M=((ne=u.data)==null?void 0:ne.questions)??[],Q=y.useMemo(()=>{const pe=[];for(const He of M){if(!He.group){pe.push({kind:"question",question:He});continue}const To=pe[pe.length-1];(To==null?void 0:To.kind)==="group"&&To.group.id===He.group.id?To.questions.push(He):pe.push({kind:"group",group:He.group,questions:[He]})}return pe},[M]),G=y.useMemo(()=>JSON.stringify(d)!==JSON.stringify(p),[d,p]),oe=y.useRef(null);y.useEffect(()=>{if(u.data&&G)return oe.current&&clearTimeout(oe.current),oe.current=setTimeout(()=>{const pe={};for(const He of Object.keys(d))JSON.stringify(d[He])!==JSON.stringify(p[He])&&(pe[He]=d[He]);Object.keys(pe).length>0&&Ea.saveState(pe).catch(()=>{})},600),()=>{oe.current&&clearTimeout(oe.current)}},[d,p,G,u.data]);const ie=y.useMemo(()=>{if(!(E!=null&&E.canRunInBrowser))return[];const pe=[];for(const He of M)Mg(He,d)||He.required&&(d[He.id]==null||d[He.id]==="")&&pe.push(He.label);return pe},[M,d,E]);function ve(){if(E!=null&&E.canRunInBrowser){if(M.length>0&&ie.length>0){S(!0);return}x.current=d,T.mutate(d)}}const ae=((ke=(fe=c.data)==null?void 0:fe.steps.find(pe=>pe.number===n))==null?void 0:ke.status)??"pending",ue=T.isPending||j.status==="running",re=j.status==="done",ye=((De=c.data)==null?void 0:De.totalSteps)??9,P=n>=ye,J=E==null?void 0:E.canRunInBrowser,te=ue?E!=null&&E.readOnly?"Checking…":"Running…":re&&N?P?"Finish":"Continue":re?P?"Finish":"Continuing…":ae==="done"&&G?"Save & re-run":E!=null&&E.readOnly?"Run checks":ae==="done"?"Re-run":M.length===0?"Run":"Save & run";function ce(){if(re){C.current&&clearTimeout(C.current),a(P?"/summary":`/step/${n+1}`);return}ve()}return B.jsxs("div",{className:e.root,children:[c.data&&B.jsx(lA,{steps:c.data.steps,current:n}),B.jsx("div",{className:e.main,children:B.jsx("div",{className:e.pane,children:B.jsxs("div",{className:e.formWrap,children:[B.jsxs("div",{className:e.header,children:[B.jsx("div",{className:[e.stepBadge,ae==="done"?e.stepBadgeDone:ae==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:ae==="done"?B.jsx(Yr,{}):n}),B.jsxs("div",{className:e.headerText,children:[B.jsx(D0,{style:{margin:0},children:(E==null?void 0:E.title)||"Loading…"}),B.jsxs(io,{style:{color:q.colorNeutralForeground3},children:["Step ",n," of ",ye,E!=null&&E.optional?" · optional":""]})]})]}),(E==null?void 0:E.description)&&B.jsx(tr,{style:{color:q.colorNeutralForeground2},children:E.description}),u.isLoading&&(n===8?B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[B.jsx(Un,{size:"small"}),B.jsx(io,{style:{color:q.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):B.jsx(Un,{size:"small"})),E&&!J&&B.jsxs("div",{className:e.terminalNote,children:[B.jsx(eS,{className:e.terminalIcon}),B.jsx(tr,{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."})]}),J&&M.length>0&&B.jsx("div",{className:e.questions,children:Q.map(pe=>{const He=(To,el)=>g(Rs=>({...Rs,[To]:el}));return pe.kind==="group"?B.jsx(fA,{group:pe.group,questions:pe.questions,answers:d,onChange:He,showError:v},pe.group.id):B.jsx(uA,{question:pe.question,answers:d,value:d[pe.question.id],onChange:He,showError:v},pe.question.id)})}),T.isError&&B.jsx(hs,{intent:"error",children:B.jsx(gs,{children:T.error.message})}),j.status==="error"&&B.jsx(hs,{intent:"error",children:B.jsx(gs,{children:j.error||"Step failed — see output above."})}),((bt=j.deviceCode)==null?void 0:bt.code)&&j.status==="running"&&B.jsxs("div",{className:e.deviceCodeCard,children:[B.jsxs("div",{className:e.deviceCodeHeader,children:[B.jsx(Qb,{style:{color:q.colorBrandForeground1}}),B.jsx(tr,{children:"Sign in with a device code"})]}),B.jsx(io,{style:{color:q.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),B.jsxs("div",{className:e.deviceCodeBody,children:[B.jsx("span",{className:e.deviceCodeValue,children:j.deviceCode.code}),B.jsx(mt,{appearance:"subtle",icon:B.jsx(WN,{}),onClick:()=>navigator.clipboard.writeText(j.deviceCode.code),children:"Copy code"})]}),B.jsxs(mt,{appearance:"primary",icon:B.jsx(Qb,{}),as:"a",href:j.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",j.deviceCode.url]})]}),re&&B.jsxs("div",{className:e.successBanner,children:[B.jsx(Yr,{className:e.successIcon}),B.jsxs("div",{className:e.successText,children:[B.jsx(tr,{style:{fontWeight:600},children:P?"All steps complete!":N?"Step complete — review items above":"Step complete"}),B.jsx(io,{style:{color:q.colorNeutralForeground3},children:P?"Heading to summary…":N?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),B.jsx(mt,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(Gr,{}),onClick:()=>{C.current&&clearTimeout(C.current),a(P?"/summary":`/step/${n+1}`)},children:P?"View summary":"Continue now"})]}),J&&(j.status==="running"||j.lines.length>0)&&B.jsx("div",{className:e.inlineLog,children:B.jsx(hA,{lines:j.lines,status:j.status})}),B.jsxs("div",{className:e.actions,children:[B.jsx(mt,{appearance:"subtle",icon:B.jsx(nC,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),B.jsx("div",{className:e.spacer}),J?B.jsx(mt,{appearance:"primary",icon:ue?B.jsx(Un,{size:"tiny"}):re?B.jsx(Gr,{}):B.jsx(ZN,{}),iconPosition:re?"after":"before",onClick:ce,disabled:ue,children:te}):B.jsx(mt,{appearance:"primary",iconPosition:"after",icon:B.jsx(Gr,{}),onClick:()=>{a(P?"/summary":`/step/${n+1}`)},children:P?"Finish":"Next"})]})]})})})]})}const mA=sr({hero:{position:"relative",minHeight:"260px",display:"grid",placeItems:"center",paddingTop:"56px",paddingRight:"32px",paddingBottom:"36px",paddingLeft:"32px"},inner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"760px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow4,fontSize:q.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:q.colorBrandForeground1},title:{margin:0,background:ao.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(30px, 4.2vw, 44px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:q.colorNeutralForeground2,fontSize:q.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function p5({eyebrowIcon:e,eyebrow:r,title:n,subtitle:a}){const s=mA();return B.jsxs("div",{className:s.hero,children:[B.jsx(d5,{}),B.jsxs("div",{className:s.inner,children:[B.jsxs("div",{className:s.pill,children:[e,r]}),B.jsx("h1",{className:s.title,children:n}),a&&B.jsx(tr,{className:s.subtitle,children:a})]})]})}const m5=sr({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:ao.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:q.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:ao.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:q.colorBrandForeground1,fontSize:q.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:"16px"},card:{padding:"20px",borderRadius:"12px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:q.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:ao.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},field:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:q.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:q.fontFamilyMonospace,color:q.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:q.colorNeutralForeground4,fontStyle:"italic",fontFamily:q.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:q.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:q.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:q.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:ao.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:q.shadow8,minWidth:"200px",height:"44px",fontWeight:600},launchCard:{padding:"22px 24px",borderRadius:"14px",background:"linear-gradient(145deg, rgba(16,124,16,0.12), rgba(0,120,212,0.1))",borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:q.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:q.fontFamilyMonospace,background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,color:q.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:ao.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:q.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function Xt({label:e,value:r}){const n=m5(),a=!r||r.trim()==="";return B.jsxs("div",{className:n.field,children:[B.jsx(io,{className:n.fieldLabel,children:e}),B.jsx(io,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":r})]})}function vA(){var v,S,k,w,x,z,T,j,N;const e=m5(),r=Ag(),n=Dg(),a=((v=r.data)==null?void 0:v.state)??{},s=((S=r.data)==null?void 0:S.completed)??0,c=((k=r.data)==null?void 0:k.totalSteps)??9,u=((w=r.data)==null?void 0:w.next)??1,d=Math.round(s/Math.max(1,c)*100),g=s>=c,p=((z=(x=r.data)==null?void 0:x.powerApp)==null?void 0:z.launchUrl)||"",m=((j=(T=r.data)==null?void 0:T.powerApp)==null?void 0:j.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return B.jsxs("div",{className:e.root,children:[B.jsx(p5,{eyebrowIcon:B.jsx(vi,{}),eyebrow:"Project Summary",title:"Everything captured for this project",subtitle:"Live values from .wizard-state.json — the single source of truth for how your Code App is wired together."}),B.jsxs("div",{className:e.body,children:[B.jsxs("div",{className:e.progressCard,children:[B.jsxs("div",{className:e.progressText,children:[B.jsx(Lo,{style:{display:"block",color:q.colorBrandForeground1,marginBottom:"4px"},children:g?"Setup complete":"In progress"}),B.jsxs(xi,{style:{margin:0},children:[s," of ",c," steps complete · ",d,"%"]}),B.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:B.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!g&&B.jsx(Vr,{to:`/step/${u}`,children:B.jsx(mt,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(Gr,{}),children:"Continue setup"})}),g&&p&&B.jsx(mt,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(Gr,{}),children:"Open Power App"})]}),g&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Launch"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),B.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?B.jsxs(B.Fragment,{children:[B.jsxs(Lo,{className:e.launchTitle,children:["Power Apps URL (",String(m).toUpperCase(),")"]}),B.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),B.jsx("div",{className:e.launchActions,children:B.jsx(mt,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(Gr,{}),children:"Launch App Now"})})]}):B.jsxs(B.Fragment,{children:[B.jsx(Lo,{className:e.launchTitle,children:"Power Apps URL not available yet"}),B.jsx(io,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Project values"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),B.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Project"})]}),B.jsx(Xt,{label:"App name",value:a.APP_NAME}),B.jsx(Xt,{label:"Project dir",value:a.PROJECT_DIR})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Environments"})]}),B.jsx(Xt,{label:"Dev",value:a.PP_ENV_DEV}),B.jsx(Xt,{label:"Test",value:a.PP_ENV_TEST}),B.jsx(Xt,{label:"Prod",value:a.PP_ENV_PROD}),B.jsx(Xt,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Identity"})]}),B.jsx(Xt,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Xt,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Xt,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Xt,{label:"Credential storage",value:a.AUTH_MODE})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Publisher"})]}),B.jsx(Xt,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),B.jsx(Xt,{label:"Prefix",value:a.PUBLISHER_PREFIX}),B.jsx(Xt,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Solution"})]}),B.jsx(Xt,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),B.jsx(Xt,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),B.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&B.jsx(Un,{size:"small"}),(N=n.data)==null?void 0:N.steps.map(C=>B.jsxs("div",{className:e.stepRow,children:[C.status==="done"&&B.jsx(Yr,{className:e.stepIconDone}),C.status==="current"&&B.jsx(hg,{className:e.stepIconCurrent}),C.status==="pending"&&B.jsx(gg,{className:e.stepIconPending}),B.jsxs(tr,{style:{flex:1},children:[B.jsx("span",{style:{color:q.colorNeutralForeground3,marginRight:"8px"},children:String(C.number).padStart(2,"0")}),C.title]}),C.status==="done"&&B.jsx(er,{appearance:"filled",color:"success",size:"small",children:"Done"}),C.status==="current"&&B.jsx(er,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},C.number))]})]}),!r.data&&B.jsx(hs,{intent:"info",children:B.jsx(gs,{children:"Loading state…"})}),B.jsxs("div",{className:e.actions,children:[B.jsx(Vr,{to:"/",children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(tS,{}),children:"Home"})}),!g&&B.jsx(Vr,{to:`/step/${u}`,children:B.jsx(mt,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(Gr,{}),children:"Continue setup"})})]})]})]})}const v5=sr({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},sectionLabel:{display:"block",color:q.colorBrandForeground1,fontSize:q.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(320px, 1fr))",gap:"16px",marginTop:"20px"},card:{padding:"20px",borderRadius:"12px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:ao.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},row:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:q.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:q.fontFamilyMonospace,color:q.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:q.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:q.fontFamilyBase},pre:{margin:0,padding:"16px",background:q.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:q.fontFamilyMonospace,fontSize:q.fontSizeBase200,lineHeight:1.6,color:q.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function ga({icon:e,label:r,value:n,ok:a,neutral:s}){const c=v5(),u=!n,d=s?B.jsx(Tu,{style:{color:q.colorBrandForeground1}}):a?B.jsx(Yr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(pC,{style:{color:q.colorPaletteRedForeground1}});return B.jsxs("div",{className:c.row,children:[B.jsxs(io,{className:c.rowLabel,children:[d,e,r]}),B.jsx(io,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function bA(){var s;const e=v5(),r=h5(),n=Ag(),a=r.data;return B.jsxs("div",{className:e.root,children:[B.jsx(p5,{eyebrowIcon:B.jsx(JN,{}),eyebrow:"Diagnostics",title:"What the wizard sees on this machine",subtitle:"A read-only view of system tooling and the raw .wizard-state.json. If something looks off, this is where you check first."}),B.jsxs("div",{className:e.body,children:[!a&&B.jsx(Un,{size:"medium"}),a&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Environment"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),B.jsxs("div",{className:e.grid,children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(J2,{})}),B.jsx(Lo,{children:"Host"})]}),B.jsx(ga,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),B.jsx(ga,{ok:!!a.node,label:"Node.js",value:a.node}),B.jsx(ga,{ok:!!a.git,label:"Git",value:a.git}),B.jsx(ga,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(cC,{})}),B.jsx(Lo,{children:"Power Platform tooling"})]}),B.jsx(ga,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),B.jsxs("div",{className:e.row,children:[B.jsxs(io,{className:e.rowLabel,children:[a.op?B.jsx(Yr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(Tu,{style:{color:q.colorBrandForeground1}}),"1Password CLI"]}),B.jsx(er,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(lC,{})}),B.jsx(Lo,{children:"Repository"})]}),B.jsx(ga,{neutral:!0,label:"Branch",value:a.branch}),B.jsxs("div",{className:e.row,children:[B.jsxs(io,{className:e.rowLabel,children:[a.repoIsClean?B.jsx(Yr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(Tu,{style:{color:q.colorPaletteYellowForeground1}}),"Working tree"]}),B.jsx(er,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),B.jsx(ga,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Raw state"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),B.jsx(tr,{style:{color:q.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),B.jsx("pre",{className:e.pre,children:JSON.stringify(((s=n.data)==null?void 0:s.state)??{},null,2)})]})]})]})}const yA=sr({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:q.colorNeutralBackground1,color:q.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function xA(){const e=yA();return B.jsxs("div",{className:e.root,children:[B.jsx(JR,{}),B.jsx("div",{className:e.body,children:B.jsxs(Zk,{children:[B.jsx(bi,{path:"/",element:B.jsx(nA,{})}),B.jsx(bi,{path:"/step/:n",element:B.jsx(pA,{})}),B.jsx(bi,{path:"/summary",element:B.jsx(vA,{})}),B.jsx(bi,{path:"/diagnostics",element:B.jsx(bA,{})}),B.jsx(bi,{path:"*",element:B.jsx($k,{to:"/",replace:!0})})]})})]})}const SA=new r4({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),wA=document.getElementById("root");Z3.createRoot(wA).render(B.jsx(y.StrictMode,{children:B.jsx(n4,{client:SA,children:B.jsx($R,{children:B.jsx(wB,{children:B.jsx(xA,{})})})})}));
126
+ */class hT{constructor(r){H(this,"keyboardNavigation");H(this,"focusedElement");H(this,"focusable");H(this,"root");H(this,"uncontrolled");H(this,"core");this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class gT{constructor(r,n){H(this,"_storage");H(this,"_unobserve");H(this,"_win");H(this,"_forgetMemorizedTimer");H(this,"_forgetMemorizedElements",[]);H(this,"_wrappers",new Set);H(this,"_initTimer");H(this,"_initQueue",[]);H(this,"_version","8.8.0");H(this,"_noop",!1);H(this,"controlTab");H(this,"rootDummyInputs");H(this,"attrHandlers",new Map);H(this,"keyboardNavigation");H(this,"focusedElement");H(this,"focusable");H(this,"root");H(this,"uncontrolled");H(this,"internal");H(this,"_dummyObserver");H(this,"groupper");H(this,"mover");H(this,"outline");H(this,"deloser");H(this,"modalizer");H(this,"observedElement");H(this,"crossOrigin");H(this,"restorer");H(this,"getParent");H(this,"getWindow",()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win});this._storage=new WeakMap,this._win=r;const a=this.getWindow;n!=null&&n.DOMAPI&&Hz({...n.DOMAPI}),this.keyboardNavigation=new rT(a),this.focusedElement=new ds(this,a),this.focusable=new tT(this),this.root=new kt(this,n==null?void 0:n.autoRoot),this.uncontrolled=new aT((n==null?void 0:n.checkUncontrolledCompletely)||(n==null?void 0:n.checkUncontrolledTrappingFocus)),this.controlTab=(n==null?void 0:n.controlTab)??!0,this.rootDummyInputs=!!(n!=null&&n.rootDummyInputs),this._dummyObserver=new $z(a),this.getParent=(n==null?void 0:n.getParent)??de.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const c=a().document;this._unobserve=nT(c,this,v2,s)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){r&&(this.getParent=r.getParent??this.getParent)}createTabster(r,n){const a=new hT(this);return r||this._wrappers.add(a),this._mergeProps(n),a}disposeTabster(r,n){n?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var n,a,s,c,u,d,g,p;this.internal.stopObserver();const r=this._win;r==null||r.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],r&&this._forgetMemorizedTimer&&(r.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(n=this.outline)==null||n.dispose(),(a=this.crossOrigin)==null||a.dispose(),(s=this.deloser)==null||s.dispose(),(c=this.groupper)==null||c.dispose(),(u=this.mover)==null||u.dispose(),(d=this.modalizer)==null||d.dispose(),(g=this.observedElement)==null||g.dispose(),(p=this.restorer)==null||p.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),qb(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),r&&(Pz(r),delete r.__tabsterInstance,delete this._win)}storageEntry(r,n){const a=this._storage;let s=a.get(r);return s?n===!1&&Object.keys(s).length===0&&a.delete(r):n===!0&&(s={},a.set(r,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())qb(this.getWindow,r),ds.forgetMemorized(this.focusedElement,r)},0)))}queueInit(r){var n;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(n=this._win)==null?void 0:n.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(n=>n())}}function pT(e,r){let n=vT(e);return n?n.createTabster(!1,r):(n=new gT(e,r),e.__tabsterInstance=n,n.createTabster())}function mT(e,r){e.core.disposeTabster(e,r)}function vT(e){return e.__tabsterInstance}const bT=e=>e;function yT(e){const r=(e==null?void 0:e.defaultView)||void 0,n=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return pT(r,{autoRoot:{},controlTab:!1,getParent:d2,checkUncontrolledCompletely:a=>{var s;return((s=a.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:n})}function Yu(e=bT){const{targetDocument:r}=dt(),n=y.useRef(null);return At(()=>{const a=yT(r);if(a)return n.current=e(a),()=>{mT(a),n.current=null}},[r,e]),n}const Lb=e=>{Yu();const r=k2(e);return y.useMemo(()=>({[Pn]:r}),[r])},T2=()=>{const e=Yu(),{targetDocument:r}=dt(),n=y.useCallback((d,g)=>{var p;return d&&((p=e.current)===null||p===void 0?void 0:p.focusable.findAll({container:d,acceptCondition:g}))||[]},[e]),a=y.useCallback(d=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findFirst({container:d}))},[e]),s=y.useCallback(d=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findLast({container:d}))},[e]),c=y.useCallback((d,g={})=>{if(!e.current||!r||!d)return null;const{container:p=r.body}=g;return e.current.focusable.findNext({currentElement:d,container:p})},[e,r]),u=y.useCallback((d,g={})=>{if(!e.current||!r||!d)return null;const{container:p=r.body}=g;return e.current.focusable.findPrev({currentElement:d,container:p})},[e,r]);return{findAllFocusable:n,findFirstFocusable:a,findLastFocusable:s,findNextFocusable:c,findPrevFocusable:u}},Pb="data-fui-focus-visible",N2="data-fui-focus-within";function xT(e,r){if(C2(e))return()=>{};const n={current:void 0},a=Wu(r);function s(g){a.isNavigatingWithKeyboard()&&Vn(g)&&(n.current=g,g.setAttribute(Pb,""))}function c(){n.current&&(n.current.removeAttribute(Pb),n.current=void 0)}a.subscribe(g=>{g?s(r.document.activeElement):c()});const u=g=>{c();const p=g.composedPath()[0];s(p)},d=g=>{(!g.relatedTarget||Vn(g.relatedTarget)&&!e.contains(g.relatedTarget))&&c()};return e.addEventListener(_o,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(r.document.activeElement)&&s(r.document.activeElement),()=>{c(),e.removeEventListener(_o,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,Qu(a)}}function C2(e){return e?e.focusVisible?!0:C2(e==null?void 0:e.parentElement):!1}function E2(e={}){const r=dt(),n=y.useRef(null);var a;const s=(a=e.targetDocument)!==null&&a!==void 0?a:r.targetDocument;return y.useEffect(()=>{if(s!=null&&s.defaultView&&n.current)return xT(n.current,s.defaultView)},[n,s]),n}function ST(e,r){const n=Wu(r);n.subscribe(c=>{c||Ib(e)});const a=c=>{n.isNavigatingWithKeyboard()&&Ub(c.target)&&wT(e)},s=c=>{(!c.relatedTarget||Ub(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Ib(e)};return e.addEventListener(_o,a),e.addEventListener("focusout",s),()=>{e.removeEventListener(_o,a),e.removeEventListener("focusout",s),Qu(n)}}function wT(e){e.setAttribute(N2,"")}function Ib(e){e.removeAttribute(N2)}function Ub(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function j2(){const{targetDocument:e}=dt(),r=y.useRef(null);return y.useEffect(()=>{if(e!=null&&e.defaultView&&r.current)return ST(r.current,e.defaultView)},[r,e]),r}function cg(){const{targetDocument:e}=dt(),r=y.useRef(null);return y.useEffect(()=>{const n=e==null?void 0:e.defaultView;if(n){const a=Wu(n);return r.current=a,()=>{Qu(a),r.current=null}}},[e]),r}function R2(e){const r=cg(),n=_e(e);y.useEffect(()=>{const a=r.current;if(a){const s=c=>{n(c)};return a.subscribe(s),s(a.isNavigatingWithKeyboard()),()=>{a.unsubscribe(s)}}},[r,n])}const kT="data-tabster-never-hide",BT=e=>e.hasAttribute(kT);function _T(e){z2(e,void 0,BT),dT(e)}const $u=(e={})=>{const{trapFocus:r,alwaysFocusable:n,legacyTrapFocus:a}=e;Yu(_T);const s=Xo("modal-",e.id),c=Lb({restorer:{type:Ui.Source},...r&&{modalizer:{id:s,isOthersAccessible:!r,isAlwaysAccessible:n,isTrapped:a&&r}}}),u=Lb({restorer:{type:Ui.Target}});return{modalAttributes:c,triggerAttributes:u}};function zT(){const e=cg();return y.useCallback(()=>{var r,n;return(n=(r=e.current)===null||r===void 0?void 0:r.isNavigatingWithKeyboard())!==null&&n!==void 0?n:!1},[e])}function TT(){const e=cg();return y.useCallback(r=>{var n;(n=e.current)===null||n===void 0||n.setVal(r)},[e])}function NT(){const e=Yu(z2),[r]=ng();return y.useCallback(a=>{r(()=>{var s;(s=e.current)===null||s===void 0||s.activate(a)},0)},[e,r])}const X={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"},It={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)"},Ho={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)"},CT={50:"rgba(26, 26, 26, 0.5)"},ET={70:"rgba(31, 31, 31, 0.7)"},Vb={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Be="#ffffff",pu="#000000",jT={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},A2={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},RT={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},AT={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},DT={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},OT={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},MT={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},qT={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},FT={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},HT={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},LT={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},PT={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},IT={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},UT={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},VT={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},D2={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},GT={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},XT={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},WT={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},QT={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},YT={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},$T={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},KT={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},ZT={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},JT={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},eN={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},tN={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},oN={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},rN={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},nN={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},aN={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},iN={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},lN={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},sN={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},cN={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},uN={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Xe={red:RT,green:D2,darkOrange:AT,yellow:FT,berry:oN,lightGreen:VT,marigold:qT},In={darkRed:jT,cranberry:A2,pumpkin:DT,peach:MT,gold:HT,brass:LT,brown:PT,forest:IT,seafoam:UT,darkGreen:GT,lightTeal:XT,teal:WT,steel:QT,blue:YT,royalBlue:$T,cornflower:KT,navy:ZT,lavender:JT,purple:eN,grape:tN,lilac:rN,pink:nN,magenta:aN,plum:iN,beige:lN,mink:sN,platinum:cN,anchor:uN},Ue={cranberry:A2,green:D2,orange:OT},O2=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],M2=["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"],lo={success:"green",warning:"orange",danger:"cranberry"},_s=O2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background1`]:Xe[r].tint60,[`colorPalette${n}Background2`]:Xe[r].tint40,[`colorPalette${n}Background3`]:Xe[r].primary,[`colorPalette${n}Foreground1`]:Xe[r].shade10,[`colorPalette${n}Foreground2`]:Xe[r].shade30,[`colorPalette${n}Foreground3`]:Xe[r].primary,[`colorPalette${n}BorderActive`]:Xe[r].primary,[`colorPalette${n}Border1`]:Xe[r].tint40,[`colorPalette${n}Border2`]:Xe[r].primary};return Object.assign(e,a)},{});_s.colorPaletteYellowForeground1=Xe.yellow.shade30;_s.colorPaletteRedForegroundInverted=Xe.red.tint20;_s.colorPaletteGreenForegroundInverted=Xe.green.tint20;_s.colorPaletteYellowForegroundInverted=Xe.yellow.tint40;const fN=M2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background2`]:In[r].tint40,[`colorPalette${n}Foreground2`]:In[r].shade30,[`colorPalette${n}BorderActive`]:In[r].primary};return Object.assign(e,a)},{}),dN={..._s,...fN},Zi=Object.entries(lo).reduce((e,[r,n])=>{const a=r.slice(0,1).toUpperCase()+r.slice(1),s={[`colorStatus${a}Background1`]:Ue[n].tint60,[`colorStatus${a}Background2`]:Ue[n].tint40,[`colorStatus${a}Background3`]:Ue[n].primary,[`colorStatus${a}Foreground1`]:Ue[n].shade10,[`colorStatus${a}Foreground2`]:Ue[n].shade30,[`colorStatus${a}Foreground3`]:Ue[n].primary,[`colorStatus${a}ForegroundInverted`]:Ue[n].tint30,[`colorStatus${a}BorderActive`]:Ue[n].primary,[`colorStatus${a}Border1`]:Ue[n].tint40,[`colorStatus${a}Border2`]:Ue[n].primary};return Object.assign(e,s)},{});Zi.colorStatusDangerBackground3Hover=Ue[lo.danger].shade10;Zi.colorStatusDangerBackground3Pressed=Ue[lo.danger].shade20;Zi.colorStatusWarningForeground1=Ue[lo.warning].shade20;Zi.colorStatusWarningForeground3=Ue[lo.warning].shade20;Zi.colorStatusWarningBorder2=Ue[lo.warning].shade20;const hN=e=>({colorNeutralForeground1:X[14],colorNeutralForeground1Hover:X[14],colorNeutralForeground1Pressed:X[14],colorNeutralForeground1Selected:X[14],colorNeutralForeground2:X[26],colorNeutralForeground2Hover:X[14],colorNeutralForeground2Pressed:X[14],colorNeutralForeground2Selected:X[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:X[38],colorNeutralForeground3Hover:X[26],colorNeutralForeground3Pressed:X[26],colorNeutralForeground3Selected:X[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:X[44],colorNeutralForeground5:X[38],colorNeutralForeground5Hover:X[14],colorNeutralForeground5Pressed:X[14],colorNeutralForeground5Selected:X[14],colorNeutralForegroundDisabled:X[74],colorNeutralForegroundInvertedDisabled:It[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:X[26],colorNeutralForeground2LinkHover:X[14],colorNeutralForeground2LinkPressed:X[14],colorNeutralForeground2LinkSelected:X[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:X[14],colorNeutralForegroundStaticInverted:Be,colorNeutralForegroundInverted:Be,colorNeutralForegroundInvertedHover:Be,colorNeutralForegroundInvertedPressed:Be,colorNeutralForegroundInvertedSelected:Be,colorNeutralForegroundInverted2:Be,colorNeutralForegroundOnBrand:Be,colorNeutralForegroundInvertedLink:Be,colorNeutralForegroundInvertedLinkHover:Be,colorNeutralForegroundInvertedLinkPressed:Be,colorNeutralForegroundInvertedLinkSelected:Be,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Be,colorNeutralBackground1Hover:X[96],colorNeutralBackground1Pressed:X[88],colorNeutralBackground1Selected:X[92],colorNeutralBackground2:X[98],colorNeutralBackground2Hover:X[94],colorNeutralBackground2Pressed:X[86],colorNeutralBackground2Selected:X[90],colorNeutralBackground3:X[96],colorNeutralBackground3Hover:X[92],colorNeutralBackground3Pressed:X[84],colorNeutralBackground3Selected:X[88],colorNeutralBackground4:X[94],colorNeutralBackground4Hover:X[98],colorNeutralBackground4Pressed:X[96],colorNeutralBackground4Selected:Be,colorNeutralBackground5:X[92],colorNeutralBackground5Hover:X[96],colorNeutralBackground5Pressed:X[94],colorNeutralBackground5Selected:X[98],colorNeutralBackground6:X[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:X[92],colorNeutralBackground7Pressed:X[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:X[99],colorNeutralBackgroundInverted:X[16],colorNeutralBackgroundInvertedHover:X[24],colorNeutralBackgroundInvertedPressed:X[12],colorNeutralBackgroundInvertedSelected:X[22],colorNeutralBackgroundStatic:X[20],colorNeutralBackgroundAlpha:It[50],colorNeutralBackgroundAlpha2:It[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:X[96],colorSubtleBackgroundPressed:X[88],colorSubtleBackgroundSelected:X[92],colorSubtleBackgroundLightAlphaHover:It[70],colorSubtleBackgroundLightAlphaPressed:It[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Ho[10],colorSubtleBackgroundInvertedPressed:Ho[30],colorSubtleBackgroundInvertedSelected:Ho[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:X[94],colorNeutralBackgroundDisabled2:Be,colorNeutralBackgroundInvertedDisabled:It[10],colorNeutralStencil1:X[90],colorNeutralStencil2:X[98],colorNeutralStencil1Alpha:Ho[10],colorNeutralStencil2Alpha:Ho[5],colorBackgroundOverlay:Ho[40],colorScrollbarOverlay:Ho[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Be,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:X[98],colorNeutralCardBackgroundHover:Be,colorNeutralCardBackgroundPressed:X[96],colorNeutralCardBackgroundSelected:X[92],colorNeutralCardBackgroundDisabled:X[94],colorNeutralStrokeAccessible:X[38],colorNeutralStrokeAccessibleHover:X[34],colorNeutralStrokeAccessiblePressed:X[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:X[82],colorNeutralStroke1Hover:X[78],colorNeutralStroke1Pressed:X[70],colorNeutralStroke1Selected:X[74],colorNeutralStroke2:X[88],colorNeutralStroke3:X[94],colorNeutralStroke4:X[92],colorNeutralStroke4Hover:X[88],colorNeutralStroke4Pressed:X[84],colorNeutralStroke4Selected:X[92],colorNeutralStrokeSubtle:X[88],colorNeutralStrokeOnBrand:Be,colorNeutralStrokeOnBrand2:Be,colorNeutralStrokeOnBrand2Hover:Be,colorNeutralStrokeOnBrand2Pressed:Be,colorNeutralStrokeOnBrand2Selected:Be,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:X[88],colorNeutralStrokeDisabled2:X[92],colorNeutralStrokeInvertedDisabled:It[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Ho[5],colorNeutralStrokeAlpha2:It[20],colorStrokeFocus1:Be,colorStrokeFocus2:pu,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)"}),q2={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},F2={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)"},H2={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},L2={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},P2={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},I2={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},U2={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},ft={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},V2={spacingHorizontalNone:ft.none,spacingHorizontalXXS:ft.xxs,spacingHorizontalXS:ft.xs,spacingHorizontalSNudge:ft.sNudge,spacingHorizontalS:ft.s,spacingHorizontalMNudge:ft.mNudge,spacingHorizontalM:ft.m,spacingHorizontalL:ft.l,spacingHorizontalXL:ft.xl,spacingHorizontalXXL:ft.xxl,spacingHorizontalXXXL:ft.xxxl},G2={spacingVerticalNone:ft.none,spacingVerticalXXS:ft.xxs,spacingVerticalXS:ft.xs,spacingVerticalSNudge:ft.sNudge,spacingVerticalS:ft.s,spacingVerticalMNudge:ft.mNudge,spacingVerticalM:ft.m,spacingVerticalL:ft.l,spacingVerticalXL:ft.xl,spacingVerticalXXL:ft.xxl,spacingVerticalXXXL:ft.xxxl},X2={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},q={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightSemibold:"var(--fontWeightSemibold)",lineHeightBase200:"var(--lineHeightBase200)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)"};function _u(e,r,n=""){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${r}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${r}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${r}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${r}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${r}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${r}`}}const gN=e=>{const r=hN(e);return{...q2,...L2,...P2,...U2,...I2,...X2,...V2,...G2,...H2,...F2,...r,...dN,...Zi,..._u(r.colorNeutralShadowAmbient,r.colorNeutralShadowKey),..._u(r.colorBrandShadowAmbient,r.colorBrandShadowKey,"Brand")}},xr=O2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background1`]:Xe[r].shade40,[`colorPalette${n}Background2`]:Xe[r].shade30,[`colorPalette${n}Background3`]:Xe[r].primary,[`colorPalette${n}Foreground1`]:Xe[r].tint30,[`colorPalette${n}Foreground2`]:Xe[r].tint40,[`colorPalette${n}Foreground3`]:Xe[r].tint20,[`colorPalette${n}BorderActive`]:Xe[r].tint30,[`colorPalette${n}Border1`]:Xe[r].primary,[`colorPalette${n}Border2`]:Xe[r].tint20};return Object.assign(e,a)},{});xr.colorPaletteRedForeground3=Xe.red.tint30;xr.colorPaletteRedBorder2=Xe.red.tint30;xr.colorPaletteGreenForeground3=Xe.green.tint40;xr.colorPaletteGreenBorder2=Xe.green.tint40;xr.colorPaletteDarkOrangeForeground3=Xe.darkOrange.tint30;xr.colorPaletteDarkOrangeBorder2=Xe.darkOrange.tint30;xr.colorPaletteRedForegroundInverted=Xe.red.primary;xr.colorPaletteGreenForegroundInverted=Xe.green.primary;xr.colorPaletteYellowForegroundInverted=Xe.yellow.shade30;const ug=M2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background2`]:In[r].shade30,[`colorPalette${n}Foreground2`]:In[r].tint40,[`colorPalette${n}BorderActive`]:In[r].tint30};return Object.assign(e,a)},{});ug.colorPaletteDarkRedBackground2=In.darkRed.shade20;ug.colorPalettePlumBackground2=In.plum.shade20;const pN={...xr,...ug},Wn=Object.entries(lo).reduce((e,[r,n])=>{const a=r.slice(0,1).toUpperCase()+r.slice(1),s={[`colorStatus${a}Background1`]:Ue[n].shade40,[`colorStatus${a}Background2`]:Ue[n].shade30,[`colorStatus${a}Background3`]:Ue[n].primary,[`colorStatus${a}Foreground1`]:Ue[n].tint30,[`colorStatus${a}Foreground2`]:Ue[n].tint40,[`colorStatus${a}Foreground3`]:Ue[n].tint20,[`colorStatus${a}BorderActive`]:Ue[n].tint30,[`colorStatus${a}ForegroundInverted`]:Ue[n].shade10,[`colorStatus${a}Border1`]:Ue[n].primary,[`colorStatus${a}Border2`]:Ue[n].tint20};return Object.assign(e,s)},{});Wn.colorStatusDangerBackground3Hover=Ue[lo.danger].shade10;Wn.colorStatusDangerBackground3Pressed=Ue[lo.danger].shade20;Wn.colorStatusDangerForeground3=Ue[lo.danger].tint40;Wn.colorStatusDangerBorder2=Ue[lo.danger].tint30;Wn.colorStatusSuccessForeground3=Ue[lo.success].tint40;Wn.colorStatusSuccessBorder2=Ue[lo.success].tint40;Wn.colorStatusWarningForegroundInverted=Ue[lo.warning].shade20;const mN=e=>({colorNeutralForeground1:Be,colorNeutralForeground1Hover:Be,colorNeutralForeground1Pressed:Be,colorNeutralForeground1Selected:Be,colorNeutralForeground2:X[84],colorNeutralForeground2Hover:Be,colorNeutralForeground2Pressed:Be,colorNeutralForeground2Selected:Be,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:X[68],colorNeutralForeground3Hover:X[84],colorNeutralForeground3Pressed:X[84],colorNeutralForeground3Selected:X[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:X[60],colorNeutralForeground5:X[68],colorNeutralForeground5Hover:Be,colorNeutralForeground5Pressed:Be,colorNeutralForeground5Selected:Be,colorNeutralForegroundDisabled:X[36],colorNeutralForegroundInvertedDisabled:It[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:X[84],colorNeutralForeground2LinkHover:Be,colorNeutralForeground2LinkPressed:Be,colorNeutralForeground2LinkSelected:Be,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:X[14],colorNeutralForegroundStaticInverted:Be,colorNeutralForegroundInverted:X[14],colorNeutralForegroundInvertedHover:X[14],colorNeutralForegroundInvertedPressed:X[14],colorNeutralForegroundInvertedSelected:X[14],colorNeutralForegroundInverted2:X[14],colorNeutralForegroundOnBrand:Be,colorNeutralForegroundInvertedLink:Be,colorNeutralForegroundInvertedLinkHover:Be,colorNeutralForegroundInvertedLinkPressed:Be,colorNeutralForegroundInvertedLinkSelected:Be,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:X[16],colorNeutralBackground1Hover:X[24],colorNeutralBackground1Pressed:X[12],colorNeutralBackground1Selected:X[22],colorNeutralBackground2:X[12],colorNeutralBackground2Hover:X[20],colorNeutralBackground2Pressed:X[8],colorNeutralBackground2Selected:X[18],colorNeutralBackground3:X[8],colorNeutralBackground3Hover:X[16],colorNeutralBackground3Pressed:X[4],colorNeutralBackground3Selected:X[14],colorNeutralBackground4:X[4],colorNeutralBackground4Hover:X[12],colorNeutralBackground4Pressed:pu,colorNeutralBackground4Selected:X[10],colorNeutralBackground5:pu,colorNeutralBackground5Hover:X[8],colorNeutralBackground5Pressed:X[2],colorNeutralBackground5Selected:X[6],colorNeutralBackground6:X[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:X[10],colorNeutralBackground7Pressed:X[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:X[16],colorNeutralBackgroundInverted:Be,colorNeutralBackgroundInvertedHover:X[96],colorNeutralBackgroundInvertedPressed:X[88],colorNeutralBackgroundInvertedSelected:X[92],colorNeutralBackgroundStatic:X[24],colorNeutralBackgroundAlpha:CT[50],colorNeutralBackgroundAlpha2:ET[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:X[22],colorSubtleBackgroundPressed:X[18],colorSubtleBackgroundSelected:X[20],colorSubtleBackgroundLightAlphaHover:Vb[80],colorSubtleBackgroundLightAlphaPressed:Vb[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Ho[10],colorSubtleBackgroundInvertedPressed:Ho[30],colorSubtleBackgroundInvertedSelected:Ho[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:X[8],colorNeutralBackgroundDisabled2:X[16],colorNeutralBackgroundInvertedDisabled:It[10],colorNeutralStencil1:X[34],colorNeutralStencil2:X[20],colorNeutralStencil1Alpha:It[10],colorNeutralStencil2Alpha:It[5],colorBackgroundOverlay:Ho[50],colorScrollbarOverlay:It[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Be,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:X[20],colorNeutralCardBackgroundHover:X[24],colorNeutralCardBackgroundPressed:X[18],colorNeutralCardBackgroundSelected:X[22],colorNeutralCardBackgroundDisabled:X[8],colorNeutralStrokeAccessible:X[68],colorNeutralStrokeAccessibleHover:X[74],colorNeutralStrokeAccessiblePressed:X[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:X[40],colorNeutralStroke1Hover:X[46],colorNeutralStroke1Pressed:X[42],colorNeutralStroke1Selected:X[44],colorNeutralStroke2:X[32],colorNeutralStroke3:X[24],colorNeutralStroke4:X[24],colorNeutralStroke4Hover:X[18],colorNeutralStroke4Pressed:X[14],colorNeutralStroke4Selected:X[24],colorNeutralStrokeSubtle:X[4],colorNeutralStrokeOnBrand:X[16],colorNeutralStrokeOnBrand2:Be,colorNeutralStrokeOnBrand2Hover:Be,colorNeutralStrokeOnBrand2Pressed:Be,colorNeutralStrokeOnBrand2Selected:Be,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:X[26],colorNeutralStrokeDisabled2:X[24],colorNeutralStrokeInvertedDisabled:It[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:It[10],colorNeutralStrokeAlpha2:It[20],colorStrokeFocus1:pu,colorStrokeFocus2:Be,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),vN=e=>{const r=mN(e);return{...q2,...L2,...P2,...U2,...I2,...X2,...V2,...G2,...H2,...F2,...r,...pN,...Wn,..._u(r.colorNeutralShadowAmbient,r.colorNeutralShadowKey),..._u(r.colorBrandShadowAmbient,r.colorBrandShadowKey,"Brand")}},W2={root:"fui-FluentProvider"},bN=Gx({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),yN=e=>{"use no memo";const r=ks(),n=bN({dir:e.dir,renderer:r});return e.root.className=me(W2.root,e.themeClassName,n.root,e.root.className),e},xN=y.useInsertionEffect?y.useInsertionEffect:At,SN=(e,r)=>{if(!(e!=null&&e.head))return;const n=e.createElement("style");return Object.keys(r).forEach(a=>{n.setAttribute(a,r[a])}),e.head.appendChild(n),n},wN=(e,r)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(r,0))},kN=e=>{"use no memo";const{targetDocument:r,theme:n,rendererAttributes:a}=e,s=y.useRef(void 0),c=Xo(W2.root),u=a,d=y.useMemo(()=>H6(`.${c}`,n),[n,c]);return BN(r,c),xN(()=>{const g=r==null?void 0:r.getElementById(c);return g?s.current=g:(s.current=SN(r,{...u,id:c}),s.current&&wN(s.current,d)),()=>{var p;(p=s.current)===null||p===void 0||p.remove()}},[c,r,d,u]),{styleTagId:c,rule:d}};function BN(e,r){y.useState(()=>{if(!e)return;const n=e.getElementById(r);n&&e.head.append(n)})}const _N={},zN={},TN=(e,r)=>{"use no memo";const n=dt(),a=NN(),s=og(),c=y.useContext(rg)||_N,{applyStylesToPortals:u=!0,customStyleHooks_unstable:d,dir:g=n.dir,targetDocument:p=n.targetDocument,theme:m,overrides_unstable:v={}}=e,S=Xh(a,m),k=Xh(s,v),w=Xh(c,d),x=ks();var z;const{styleTagId:T,rule:j}=kN({theme:S,targetDocument:p,rendererAttributes:(z=x.styleElementAttributes)!==null&&z!==void 0?z:zN});return{applyStylesToPortals:u,customStyleHooks_unstable:w,dir:g,targetDocument:p,theme:S,overrides_unstable:k,themeClassName:T,components:{root:"div"},root:Ve(Vt("div",{...e,dir:g,ref:Ct(r,E2({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:j,attributes:{...x.styleElementAttributes,id:T}}}};function Xh(e,r){return e&&r?{...e,...r}:e||r}function NN(){return y.useContext(Kx)}function CN(e){const{applyStylesToPortals:r,customStyleHooks_unstable:n,dir:a,root:s,targetDocument:c,theme:u,themeClassName:d,overrides_unstable:g}=e,p=y.useMemo(()=>({dir:a,targetDocument:c}),[a,c]),[m]=y.useState(()=>({})),v=y.useMemo(()=>({textDirection:a}),[a]);return{customStyleHooks_unstable:n,overrides_unstable:g,provider:p,textDirection:a,iconDirection:v,tooltip:m,theme:u,themeClassName:r?s.className:d}}const Q2=y.forwardRef((e,r)=>{const n=TN(e,r);yN(n);const a=CN(n);return $_(n,a)});Q2.displayName="FluentProvider";var Gb=Uy();const EN=e=>n=>{const a=y.useRef(n.value),s=y.useRef(null);return s.current||(s.current={value:a,listeners:[]}),At(()=>{a.current=n.value,Gb.unstable_runWithPriority(Gb.unstable_NormalPriority,()=>{s.current.listeners.forEach(c=>{c(n.value)})})},[n.value]),y.createElement(e,{value:s.current},n.children)},Ku=e=>{const r=y.createContext({value:{current:e},listeners:[],isDefault:!0});return r.Provider=EN(r.Provider),delete r.Consumer,r},fg=(e,r)=>{const n=y.useContext(e),{value:a,listeners:s}=n,c=r(a.current),[,u]=y.useReducer(p=>p+1,0),d=y.useRef(r),g=y.useRef(c);return At(()=>{d.current=r,g.current=c}),At(()=>{const p=m=>{try{const v=d.current(m);Object.is(g.current,v)||u()}catch{}};return s.push(p),p(a.current),()=>{const m=s.indexOf(p);m!==-1&&s.splice(m,1)}},[s,a]),c};function dg(e){return!y.useContext(e).isDefault}const is="Enter",Hn=" ",jN="Tab",Xb="ArrowDown",RN="ArrowLeft",AN="ArrowRight",Wh="ArrowUp",DN="End",ON="Home",MN="PageDown",qN="PageUp",Zu="Escape";function zu(e,r){const{disabled:n,disabledFocusable:a=!1,["aria-disabled"]:s,onClick:c,onKeyDown:u,onKeyUp:d,...g}=r??{},p=typeof s=="string"?s==="true":s,m=n||a||p,v=_e(w=>{m?(w.preventDefault(),w.stopPropagation()):c==null||c(w)}),S=_e(w=>{if(u==null||u(w),w.isDefaultPrevented())return;const x=w.key;if(m&&(x===is||x===Hn)){w.preventDefault(),w.stopPropagation();return}if(x===Hn){w.preventDefault();return}else x===is&&(w.preventDefault(),w.currentTarget.click())}),k=_e(w=>{if(d==null||d(w),w.isDefaultPrevented())return;const x=w.key;if(m&&(x===is||x===Hn)){w.preventDefault(),w.stopPropagation();return}x===Hn&&(w.preventDefault(),w.currentTarget.click())});if(e==="button"||e===void 0)return{...g,disabled:n&&!a,"aria-disabled":a?!0:p,onClick:a?void 0:v,onKeyUp:a?void 0:d,onKeyDown:a?void 0:u};{const w=!!g.href;let x=w?void 0:"button";!x&&m&&(x="link");const z={role:x,tabIndex:a||!w&&!n?0:void 0,...g,onClick:v,onKeyUp:k,onKeyDown:S,"aria-disabled":m};return e==="a"&&m&&(z.href=void 0),z}}const oo=()=>{},FN={controller:{active:oo,blur:oo,find:oo,first:oo,focus:oo,focusLastActive:oo,scrollActiveIntoView:oo,last:oo,next:oo,prev:oo,showAttributes:oo,hideAttributes:oo,showFocusVisibleAttributes:oo,hideFocusVisibleAttributes:oo}},hg=y.createContext(void 0),Y2=hg.Provider,$2=()=>{var e;return(e=y.useContext(hg))!==null&&e!==void 0?e:FN},HN=()=>!!y.useContext(hg);function LN(e){const{matchOption:r}=e,{targetDocument:n}=dt(),a=y.useRef(null),s=y.useRef(null),c=y.useCallback(g=>Vn(g)&&r(g)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[r]),u=y.useCallback(g=>{g&&n?(s.current=g,a.current=n.createTreeWalker(g,NodeFilter.SHOW_ELEMENT,c)):(s.current=null,a.current=null)},[n,c]);return{optionWalker:y.useMemo(()=>({first:()=>!a.current||!s.current?null:(a.current.currentNode=s.current,a.current.firstChild()),last:()=>!a.current||!s.current?null:(a.current.currentNode=s.current,a.current.lastChild()),next:()=>a.current?a.current.nextNode():null,prev:()=>a.current?a.current.previousNode():null,find:(g,p)=>{if(!a.current||!s.current)return null;const m=p?n==null?void 0:n.getElementById(p):null;a.current.currentNode=m??s.current;let v=a.current.currentNode;for(;v&&!g(v.id);)v=a.current.nextNode();return v},setCurrent:g=>{a.current&&(a.current.currentNode=g)}}),[n]),listboxCallbackRef:u}}const Wb="data-activedescendant",mi="data-activedescendant-focusvisible",Qb=e=>{if(!e)return;const r=K2(e.parentElement);if(!r)return;const{offsetHeight:n}=e,a=Z2(e,r),{scrollMarginTop:s,scrollMarginBottom:c}=PN(e),{offsetHeight:u,scrollTop:d}=r,g=a-s<d,p=a+n+c>d+u,m=2;g?r.scrollTo(0,a-s-m):p&&r.scrollTo(0,a+n+c-u+m)},K2=e=>e?e.scrollHeight>e.offsetHeight?e:K2(e.parentElement):null,Z2=(e,r)=>!e||e===r?0:e.contains(r)?r.offsetTop*-1:e.offsetTop+Z2(e.offsetParent,r),PN=e=>{var r;const n=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const a=n.getComputedStyle(e);var s;const c=(s=ou(a.scrollMarginTop))!==null&&s!==void 0?s:ou(a.scrollMarginBlockStart);var u;const d=(u=ou(a.scrollMarginBottom))!==null&&u!==void 0?u:ou(a.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:d}},ou=e=>e?parseInt(e,10):0,IN=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function J2(e){const{imperativeRef:r,matchOption:n}=e,a=y.useRef(!1),s=y.useRef(!0),c=y.useRef(null),u=y.useRef(null),d=y.useRef(null),g=y.useRef(!0),p=y.useCallback(()=>{var C;(C=d.current)===null||C===void 0||C.removeAttribute("aria-activedescendant")},[]),m=y.useCallback(C=>{if(C&&(c.current=C),g.current&&c.current){var E;(E=d.current)===null||E===void 0||E.setAttribute("aria-activedescendant",c.current)}},[]);R2(C=>{a.current=C;const E=x();E&&(C&&s.current?E.setAttribute(mi,""):E.removeAttribute(mi))});const v=_e(n),S=y.useRef(null),{optionWalker:k,listboxCallbackRef:w}=LN({matchOption:v}),x=y.useCallback(()=>{var C;return(C=S.current)===null||C===void 0?void 0:C.querySelector(`#${c.current}`)},[S]),z=y.useCallback(C=>{s.current=C;const E=x();E&&(C&&a.current?E.setAttribute(mi,""):E.removeAttribute(mi))},[x]),T=y.useCallback(()=>{const C=x();C&&(C.removeAttribute(Wb),C.removeAttribute(mi)),p(),u.current=c.current,c.current=null;var E;return(E=C==null?void 0:C.id)!==null&&E!==void 0?E:null},[x,p]),j=y.useCallback(C=>{if(!C)return;const E=T();Qb(C),m(C.id),C.setAttribute(Wb,""),a.current&&s.current&&C.setAttribute(mi,"");const M=IN({id:C.id,previousId:E});C.dispatchEvent(M)},[T,m]),N=y.useMemo(()=>({first:({passive:C}={})=>{const E=k.first();return C||j(E),E==null?void 0:E.id},last:({passive:C}={})=>{const E=k.last();return C||j(E),E==null?void 0:E.id},next:({passive:C}={})=>{const E=x();if(!E)return;k.setCurrent(E);const M=k.next();return C||j(M),M==null?void 0:M.id},prev:({passive:C}={})=>{const E=x();if(!E)return;k.setCurrent(E);const M=k.prev();return C||j(M),M==null?void 0:M.id},blur:()=>{T()},active:()=>{var C;return(C=x())===null||C===void 0?void 0:C.id},focus:C=>{if(!S.current)return;const E=S.current.querySelector(`#${C}`);E&&j(E)},focusLastActive:()=>{if(!S.current||!u.current)return;const C=S.current.querySelector(`#${u.current}`);if(C)return j(C),!0},find(C,{passive:E,startFrom:M}={}){const W=k.find(C,M);return E||j(W),W==null?void 0:W.id},scrollActiveIntoView:()=>{if(!S.current)return;const C=x();C&&Qb(C)},showAttributes(){g.current=!0,m()},hideAttributes(){g.current=!1,p()},showFocusVisibleAttributes(){z(!0)},hideFocusVisibleAttributes(){z(!1)}}),[k,S,m,p,j,T,x,z]);return y.useImperativeHandle(r,()=>N),{listboxRef:Ct(S,w),activeParentRef:d,controller:N}}const UN=Se({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),VN=(e,r)=>{const{filled:n,title:a,primaryFill:s="currentColor",...c}=e,u={...c,fill:s},d=UN(),g=Y_();return u.className=me(d.root,(r==null?void 0:r.flipInRtl)&&(g==null?void 0:g.textDirection)==="rtl"&&d.rtl,u.className),a&&(u["aria-label"]=a),!u["aria-label"]&&!u["aria-labelledby"]?u["aria-hidden"]=!0:u.role="img",u},GN=Se({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),XN="fui-Icon",Ne=(e,r,n,a)=>{const s=r==="1em"?"20":r,c=y.forwardRef((u,d)=>{const g=GN(),p=VN(u,{flipInRtl:a==null?void 0:a.flipInRtl}),m={...p,className:me(XN,p.className,g.root),ref:d,width:r,height:r,viewBox:`0 0 ${s} ${s}`,xmlns:"http://www.w3.org/2000/svg"};return typeof n=="string"?y.createElement("svg",{...m,dangerouslySetInnerHTML:{__html:n}}):y.createElement("svg",m,...n.map(v=>y.createElement("path",{d:v,fill:m.fill})))});return c.displayName=e,c},eS=Ne("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"]),vi=Ne("DocumentBulletListRegular","1em",["M6 10.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm.5 1.5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM6 14.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0ZM8.5 10a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM8 12.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]),WN=Ne("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"]),Yb=Ne("OpenRegular","1em",["M6 4a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2v-2.5a.5.5 0 0 1 1 0V14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2.5a.5.5 0 0 1 0 1H6Zm5-.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V4.7l-4.15 4.15a.5.5 0 0 1-.7-.7L15.29 4H11.5a.5.5 0 0 1-.5-.5Z"]),QN=Ne("WarningFilled","1em",["M7.37 3.56a3 3 0 0 1 5.26 0l5.5 10A3 3 0 0 1 15.5 18h-11a3 3 0 0 1-2.63-4.44l5.5-10ZM10 12.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0-6.25a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 1 0V7a.5.5 0 0 0-.5-.5Z"]),YN=Ne("WeatherMoonRegular","1em",["M15.5 13.5A6.98 6.98 0 0 1 4 14.39c2.83-1.09 4.56-2.42 5.6-4.4 1.04-2 1.33-4.16.75-6.9A6.98 6.98 0 0 1 15.5 13.5ZM5.45 16.92A7.98 7.98 0 1 0 9.88 2.04a.6.6 0 0 0-.61.73c.69 2.82.43 4.88-.55 6.76-.94 1.78-2.55 3.03-5.55 4.1a.6.6 0 0 0-.3.9 7.95 7.95 0 0 0 2.59 2.39Z"]),$N=Ne("WeatherSunnyRegular","1em",["M10 2c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm0 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm7.5-2.5a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1h1ZM10 16c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm-6.5-5.5a.5.5 0 0 0 0-1H2.46a.5.5 0 0 0 0 1H3.5Zm.65-6.35c.2-.2.5-.2.7 0l1 1a.5.5 0 1 1-.7.7l-1-1a.5.5 0 0 1 0-.7Zm.7 11.7a.5.5 0 0 1-.7-.7l1-1a.5.5 0 0 1 .7.7l-1 1Zm11-11.7a.5.5 0 0 0-.7 0l-1 1a.5.5 0 0 0 .7.7l1-1a.5.5 0 0 0 0-.7Zm-.7 11.7a.5.5 0 0 0 .7-.7l-1-1a.5.5 0 0 0-.7.7l1 1Z"]),KN=Ne("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"]),Tu=Ne("InfoRegular","1em",["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]),ZN=Ne("PlayRegular","1em",["M17.22 8.69a1.5 1.5 0 0 1 0 2.62l-10 5.5A1.5 1.5 0 0 1 5 15.5v-11A1.5 1.5 0 0 1 7.22 3.2l10 5.5Zm-.48 1.75a.5.5 0 0 0 0-.88l-10-5.5A.5.5 0 0 0 6 4.5v11c0 .38.4.62.74.44l10-5.5Z"]),JN=Ne("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"]),gg=Ne("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),pg=Ne("CircleRegular","1em",["M10 3a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-8 7a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),eC=Ne("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]),tC=Ne("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"]),tS=Ne("WindowConsoleRegular","1em",["M5.65 9.15c.2-.2.5-.2.7 0l2 2a.5.5 0 0 1 0 .7l-2 2a.5.5 0 0 1-.7-.7l1.64-1.65-1.64-1.65a.5.5 0 0 1 0-.7ZM14.5 13h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1ZM3 5.5A2.5 2.5 0 0 1 5.5 3h9A2.5 2.5 0 0 1 17 5.5v9a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 3 14.5v-9ZM16 6v-.5c0-.83-.68-1.5-1.5-1.5h-9C4.67 4 4 4.67 4 5.5V6h12ZM4 7v7.5c0 .83.67 1.5 1.5 1.5h9c.82 0 1.5-.67 1.5-1.5V7H4Z"]),oC=Ne("BookGlobeRegular","1em",["M4 16V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v11a1 1 0 0 1-1 1H5a1 1 0 0 0 1 1h9.5a.5.5 0 0 1 0 1H6a2 2 0 0 1-2-2ZM15 4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11h10V4ZM7.04 8h.97c.05-.77.2-1.49.42-2.06A3 3 0 0 0 7.04 8ZM6 8.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.96-.5a3 3 0 0 0-1.4-2.06c.23.57.38 1.29.43 2.06h.97Zm-.97 1c-.05.77-.2 1.49-.42 2.06A3 3 0 0 0 12.96 9h-.97Zm-1-1a5.56 5.56 0 0 0-.39-1.78 1.88 1.88 0 0 0-.37-.59c-.11-.11-.2-.13-.23-.13-.04 0-.12.02-.23.13-.12.12-.25.31-.37.6-.2.45-.34 1.06-.38 1.77h1.96ZM9.01 9c.04.7.18 1.32.38 1.78.12.28.25.47.37.59.11.11.2.13.23.13.04 0 .12-.02.23-.13.12-.12.25-.31.37-.6.2-.45.34-1.06.38-1.77H9.02Zm-1 0h-.98a3 3 0 0 0 1.4 2.06A6.75 6.75 0 0 1 8 9Z"]),rC=Ne("ArrowDownloadRegular","1em",["M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z"]),nC=Ne("ArrowLeftRegular","1em",["M9.16 16.87a.5.5 0 1 0 .67-.74L3.67 10.5H17.5a.5.5 0 0 0 0-1H3.67l6.16-5.63a.5.5 0 0 0-.67-.74L2.24 9.44a.75.75 0 0 0 0 1.11l6.92 6.32Z"]),aC=Ne("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}),Gr=Ne("ArrowRightFilled","1em",["M11.27 3.2a.75.75 0 0 0-1.04 1.1l5.24 4.95H2.75a.75.75 0 0 0 0 1.5h12.73l-5.25 4.96a.75.75 0 1 0 1.04 1.09l6.41-6.07a1 1 0 0 0 0-1.46l-6.41-6.06Z"]),iC=Ne("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]),lC=Ne("BranchRegular","1em",["M10 5a3 3 0 0 1-2.15 2.88A5.76 5.76 0 0 0 12 9.98a3 3 0 1 1 .17 1.01A6.8 6.8 0 0 1 7.5 9v3.05a3 3 0 1 1-1 0V7.96A3 3 0 1 1 10 5ZM7 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm10 3a2 2 0 1 0-4 0 2 2 0 0 0 4 0ZM7 17a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"]),sC=Ne("BroomRegular","1em",["M17.91 2.18c.2.2.2.51 0 .7l-5.32 5.33a4.5 4.5 0 0 1-.34 6l-.66.66-2.09 3.48a.5.5 0 0 1-.78.1l-7.07-7.08a.5.5 0 0 1 .1-.78L5.22 8.5l.66-.66a4.5 4.5 0 0 1 5.99-.34l5.32-5.32c.2-.2.51-.2.71 0ZM6.24 8.9l4.95 4.95.36-.35A3.5 3.5 0 1 0 6.6 8.55l-.36.35Zm-.78.63L2.8 11.12l6.16 6.17 1.6-2.66-5.11-5.1Z"]),cC=Ne("ShieldKeyholeRegular","1em",["M11.5 9c0 .65-.42 1.2-1 1.41v2.09a.5.5 0 0 1-1 0v-2.09a1.5 1.5 0 1 1 2-1.41Zm-1.22-6.92a.5.5 0 0 0-.56 0 15.05 15.05 0 0 1-6.3 2.43A.5.5 0 0 0 3 5v4.5c0 3.9 2.3 6.73 6.82 8.47a.5.5 0 0 0 .36 0C14.69 16.23 17 13.39 17 9.5V5a.5.5 0 0 0-.43-.5 15.05 15.05 0 0 1-6.3-2.42ZM4 5.43a15.97 15.97 0 0 0 5.6-2.08l.4-.25.4.25A15.97 15.97 0 0 0 16 5.43V9.5c0 3.4-1.97 5.86-6 7.46-4.03-1.6-6-4.07-6-7.46V5.43Z"]),uC=Ne("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"]),Yr=Ne("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),fC=Ne("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"]),oS=Ne("HomeRegular","1em",["M9 2.39a1.5 1.5 0 0 1 2 0l5.5 4.94c.32.28.5.69.5 1.12v7.05c0 .83-.67 1.5-1.5 1.5H13a1.5 1.5 0 0 1-1.5-1.5V12a.5.5 0 0 0-.5-.5H9a.5.5 0 0 0-.5.5v3.5c0 .83-.67 1.5-1.5 1.5H4.5A1.5 1.5 0 0 1 3 15.5V8.45c0-.43.18-.84.5-1.12L9 2.39Zm1.33.74a.5.5 0 0 0-.66 0l-5.5 4.94a.5.5 0 0 0-.17.38v7.05c0 .28.22.5.5.5H7a.5.5 0 0 0 .5-.5V12c0-.83.67-1.5 1.5-1.5h2c.83 0 1.5.67 1.5 1.5v3.5c0 .28.22.5.5.5h2.5a.5.5 0 0 0 .5-.5V8.45a.5.5 0 0 0-.17-.38l-5.5-4.94Z"]),dC=Ne("BoxMultipleRegular","1em",["M13.58 2.38a3 3 0 0 0-2.16 0L7.96 3.71A1.5 1.5 0 0 0 7 5.11v1.1a4 4 0 0 1 1 0v-1.1c0-.2.13-.4.32-.47l3.46-1.33a2 2 0 0 1 1.44 0l3.46 1.33c.2.08.32.26.32.47v7.78c0 .2-.13.4-.32.47L14 14.39v.5c0 .2-.03.4-.07.6l3.1-1.2c.59-.22.97-.78.97-1.4V5.11a1.5 1.5 0 0 0-.96-1.4l-3.46-1.33Zm2.51 2.92a.5.5 0 0 0-.64-.3l-2.77 1.07a.5.5 0 0 1-.36 0L9.55 5.01a.5.5 0 1 0-.35.93l2.76 1.07c.35.13.73.13 1.08 0l2.76-1.07a.5.5 0 0 0 .3-.64Zm-5 5a.5.5 0 0 0-.64-.3L7.5 11.15l-2.95-1.13a.5.5 0 0 0-.35.93L7 12.02v2.49a.5.5 0 1 0 1 0v-2.49l2.8-1.08a.5.5 0 0 0 .3-.64ZM8.58 7.38a3 3 0 0 0-2.16 0L2.96 8.71a1.5 1.5 0 0 0-.96 1.4v4.78c0 .62.38 1.18.96 1.4l3.46 1.33a3 3 0 0 0 2.16 0l3.46-1.33c.58-.22.96-.78.96-1.4v-4.78a1.5 1.5 0 0 0-.96-1.4L8.58 7.38Zm-1.8.93a2 2 0 0 1 1.44 0l3.46 1.33c.2.08.32.26.32.47v4.78c0 .2-.13.4-.32.47l-3.46 1.33a2 2 0 0 1-1.44 0l-3.46-1.33a.5.5 0 0 1-.32-.47v-4.78c0-.2.13-.4.32-.47l3.46-1.33Z"]),hC=Ne("DiamondDismissFilled","1em",["M7.88 1.88a3 3 0 0 1 4.24 0l6 6a3 3 0 0 1 0 4.24l-6 6a3 3 0 0 1-4.24 0l-6-6a3 3 0 0 1 0-4.24l6-6ZM13.1 6.9a.5.5 0 0 0-.7 0L10 9.3 7.6 6.9a.5.5 0 0 0-.7.7L9.3 10l-2.4 2.4a.5.5 0 0 0 .7.7l2.4-2.4 2.4 2.4a.5.5 0 0 0 .7-.7L10.7 10l2.4-2.4a.5.5 0 0 0 0-.7Z"]),gC=Ne("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),pC=Ne("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]),mC=Ne("RocketRegular","1em",["M10.76 6.43a2 2 0 1 1 2.82 2.82 2 2 0 0 1-2.82-2.82Zm2.11.7a1 1 0 1 0-1.4 1.42 1 1 0 0 0 1.4-1.42Zm-1.12 7.37a1.5 1.5 0 0 1-1.7-.3l-.61-.6-.74 1.22a.5.5 0 0 1-.78.1L5.1 12.09a.5.5 0 0 1 .1-.79l1.22-.73-.61-.6a1.5 1.5 0 0 1-.3-1.71L4.38 7.14a.5.5 0 0 1 0-.7l1.06-1.07a3 3 0 0 1 3.42-.59l.93-.93a6.3 6.3 0 0 1 6.33-1.56c.76.24 1.36.83 1.6 1.6a6.3 6.3 0 0 1-1.56 6.32l-.94.94a3 3 0 0 1-.58 3.41l-1.06 1.06a.5.5 0 0 1-.71 0l-1.12-1.12Zm4.08-11.26a5.3 5.3 0 0 0-5.33 1.31l-.81.82-.7.7h-.01L6.86 8.2l-.4.4a.5.5 0 0 0 .05.66l4.24 4.24c.18.18.46.2.66.05l.4-.4 2.12-2.12.7-.71.82-.81a5.3 5.3 0 0 0 1.31-5.33c-.14-.45-.49-.8-.93-.94Zm-3.31 10.62.7.7.7-.7a2 2 0 0 0 .53-1.93l-1.93 1.93Zm-4.44-8.3a2 2 0 0 0-1.93.52l-.7.7.7.71 1.93-1.93Zm.63 7.31L7.14 11.3l-.89.53 1.93 1.93.53-.89Zm-2.9 2.04a.5.5 0 1 0-.71-.7l-1.77 1.76a.5.5 0 1 0 .7.71l1.77-1.77ZM4.38 12.8c.2.2.2.51 0 .7l-.71.72a.5.5 0 0 1-.7-.71l.7-.71c.2-.2.51-.2.7 0Zm2.83 3.54a.5.5 0 0 0-.7-.71l-.72.7a.5.5 0 1 0 .7.72l.72-.71Z"]),vC=Ne("QuestionCircleRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]),bC=Ne("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"]),rS=Ne("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),yC=Ne("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),xC=Ne("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),SC=Ne("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),wC=Ne("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),kC=Ne("DiamondDismiss12Filled","12",["M4.59 1.09a2 2 0 0 1 2.82 0l3.5 3.5a2 2 0 0 1 0 2.82l-3.5 3.5a2 2 0 0 1-2.82 0l-3.5-3.5a2 2 0 0 1 0-2.83l3.5-3.5Zm3.26 3.06a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15a.5.5 0 0 0-.7.7L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14a.5.5 0 1 0 .7-.7L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]),BC=Ne("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),_C={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},zC={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},vt={..._C,...zC};function TC(e){if(e.playState==="running"){var r;if(e.overallProgress!==void 0){var n;const d=(n=e.overallProgress)!==null&&n!==void 0?n:0;return d>0&&d<1}var a;const c=Number((a=e.currentTime)!==null&&a!==void 0?a:0);var s;const u=Number((s=(r=e.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&s!==void 0?s:0);return c>0&&c<u}return!1}const NC={fill:"forwards"},CC={duration:1};function EC(e){return{set playbackRate(r){e.forEach(n=>{n.playbackRate=r})},setMotionEndCallbacks(r,n){const a=e.map(s=>new Promise((c,u)=>{s.onfinish=()=>c(),s.oncancel=()=>u()}));Promise.all(a).then(()=>{r()}).catch(()=>{n()})},isRunning(){return e.some(r=>TC(r))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(r=>{r.cancel()})},pause:()=>{e.forEach(r=>{r.pause()})},play:()=>{e.forEach(r=>{r.play()})},finish:()=>{e.forEach(r=>{r.finish()})},reverse:()=>{e.forEach(r=>{r.reverse()})}}}function jC(){var e;const r=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return y.useCallback((n,a,s)=>{const c=Array.isArray(a)?a:[a],{isReducedMotion:u}=s,d=c.map(g=>{const{keyframes:p,reducedMotion:m=CC,...v}=g,{keyframes:S=p,...k}=m,w=u?S:p,x={...NC,...v,...u&&k};try{const T=n.animate(w,x);if(r)T==null||T.persist();else{const j=w[w.length-1];var z;Object.assign((z=n.style)!==null&&z!==void 0?z:{},j)}return T}catch{return null}}).filter(g=>!!g);return EC(d)},[r])}function nS(){"use no memo";return jC()}function aS(e){const r=y.useRef(void 0);return y.useImperativeHandle(e,()=>({setPlayState:n=>{if(n==="running"){var a;(a=r.current)===null||a===void 0||a.play()}if(n==="paused"){var s;(s=r.current)===null||s===void 0||s.pause()}},setPlaybackRate:n=>{r.current&&(r.current.playbackRate=n)}})),r}const RC="screen and (prefers-reduced-motion: reduce)";function iS(){const{targetDocument:e}=dt();var r;const n=(r=e==null?void 0:e.defaultView)!==null&&r!==void 0?r:null,a=y.useRef(!1),s=y.useCallback(()=>a.current,[]);return At(()=>{if(n===null||typeof n.matchMedia!="function")return;const c=n.matchMedia(RC);c.matches&&(a.current=!0);const u=d=>{a.current=d.matches};return c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[n]),s}const AC=["@fluentui/react-motion: Invalid child element.",`
127
+ `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function lS(e,r=!0){const n=y.useRef(null);y.useEffect(()=>{},[r]);try{const a=y.Children.only(e);if(y.isValidElement(a))return[y.cloneElement(a,{ref:Ct(n,Gu(a))}),n]}catch{}throw new Error(AC)}const sS=y.createContext(void 0);sS.Provider;const cS=()=>{var e;return(e=y.useContext(sS))!==null&&e!==void 0?e:"default"},DC=Symbol("MOTION_DEFINITION");function $b(e){return Object.assign(n=>{"use no memo";const{children:a,imperativeRef:s,onMotionFinish:c,onMotionStart:u,onMotionCancel:d,...g}=n,p=g,[m,v]=lS(a),S=aS(s),k=cS()==="skip",w=y.useRef({skipMotions:k,params:p}),x=nS(),z=iS(),T=_e(()=>{u==null||u(null)}),j=_e(()=>{c==null||c(null)}),N=_e(()=>{d==null||d(null)});return At(()=>{w.current={skipMotions:k,params:p}}),At(()=>{const C=v.current;if(C){const E=typeof e=="function"?e({element:C,...w.current.params}):e;T();const M=x(C,E,{isReducedMotion:z()});return S.current=M,M.setMotionEndCallbacks(j,N),w.current.skipMotions&&M.finish(),()=>{M.cancel()}}},[x,v,S,z,j,T,N]),m},{[DC]:typeof e=="function"?e:()=>e})}const uS=y.createContext(void 0);uS.Provider;function OC(e=!1,r=!1){const n=y.useRef(r?e:!0),a=D_(),s=y.useCallback(c=>{n.current!==c&&(n.current=c,a())},[a]);return y.useEffect(()=>{e&&(n.current=e)}),[e||n.current,s]}const fS=Symbol("PRESENCE_MOTION_DEFINITION"),MC=Symbol.for("interruptablePresence");function Ju(e){return Object.assign(r=>{"use no memo";const a={...y.useContext(uS),...r},s=cS()==="skip",{appear:c,children:u,imperativeRef:d,onExit:g,onMotionFinish:p,onMotionStart:m,onMotionCancel:v,visible:S,unmountOnExit:k,...w}=a,x=w,[z,T]=OC(S,k),[j,N]=lS(u,z),C=aS(d),E=y.useRef({appear:c,params:x,skipMotions:s}),M=nS(),W=i2(),G=iS(),oe=_e(ae=>{m==null||m(null,{direction:ae})}),ie=_e(ae=>{p==null||p(null,{direction:ae}),ae==="exit"&&k&&(T(!1),g==null||g())}),ve=_e(ae=>{v==null||v(null,{direction:ae})});return At(()=>{E.current={appear:c,params:x,skipMotions:s}}),At(()=>{const ae=N.current;if(!ae)return;let ue;function re(){ue&&(P&&ue.isRunning()||(ue.cancel(),C.current=void 0))}const ye=typeof e=="function"?e({element:ae,...E.current.params}):e,P=ye[MC];if(P&&(ue=C.current,ue&&ue.isRunning()))return ue.reverse(),re;const J=S?ye.enter:ye.exit,te=S?"enter":"exit",ce=!E.current.appear&&W,ze=E.current.skipMotions;return ce||oe(te),ue=M(ae,J,{isReducedMotion:G()}),ce?(ue.finish(),re):(C.current=ue,ue.setMotionEndCallbacks(()=>ie(te),()=>ve(te)),ze&&ue.finish(),re)},[M,N,C,G,ie,oe,ve,S]),y.useEffect(()=>{if(k&&!z){var ae;(ae=C.current)===null||ae===void 0||ae.dispose()}},[C,k,z]),z?j:null},{[fS]:typeof e=="function"?e:()=>e},{In:$b(typeof e=="function"?(...r)=>e(...r).enter:e.enter),Out:$b(typeof e=="function"?(...r)=>e(...r).exit:e.exit)})}function qC(e,r){return a=>e({...r,...a})}function zs(e,r){const n=e[fS],a=qC(n,r);return Ju(a)}const mg=y.createContext(void 0);function vg(){return y.useContext(mg)}const bg=y.forwardRef((e,r)=>y.createElement(mg.Provider,{value:r},e.children));bg.displayName="MotionRefForwarder";const dS=e=>y.createElement(mg.Provider,{value:void 0},e.children);dS.displayName="MotionRefForwarderReset";function yg(e,r){const{as:n,children:a,...s}=e??{};if(e===null){const u=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,d=(g,p)=>u?null:y.createElement(y.Fragment,null,p.children);return{[wu]:d,[Ii]:r.elementType}}const c={...r.defaultProps,...s,[Ii]:r.elementType};return typeof a=="function"&&(c[wu]=a),c}const hs=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outOpacity:s=0,inOpacity:c=1})=>{const u=[{opacity:s},{opacity:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:r,easing:n,delay:a,fill:"both"}},FC=({duration:e=vt.durationNormal,easing:r=vt.curveEasyEase,delay:n=0,exitDuration:a=e,exitEasing:s=r,exitDelay:c=n,outOpacity:u=0,inOpacity:d=1})=>({enter:hs({direction:"enter",duration:e,easing:r,delay:n,outOpacity:u,inOpacity:d}),exit:hs({direction:"exit",duration:a,easing:s,delay:c,outOpacity:u,inOpacity:d})}),hS=Ju(FC);zs(hS,{duration:vt.durationFast});const HC=zs(hS,{duration:vt.durationGentle}),Kb=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outScale:s=.9,inScale:c=1})=>{const u=[{scale:s},{scale:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:r,easing:n,delay:a}},LC=({duration:e=vt.durationGentle,easing:r=vt.curveDecelerateMax,delay:n=0,exitDuration:a=vt.durationNormal,exitEasing:s=vt.curveAccelerateMax,exitDelay:c=n,outScale:u=.9,inScale:d=1,animateOpacity:g=!0})=>{const p=[Kb({direction:"enter",duration:e,easing:r,delay:n,outScale:u,inScale:d})],m=[Kb({direction:"exit",duration:a,easing:s,delay:c,outScale:u,inScale:d})];return g&&(p.push(hs({direction:"enter",duration:e,easing:r,delay:n})),m.push(hs({direction:"exit",duration:a,easing:s,delay:c}))),{enter:p,exit:m}},xg=Ju(LC);zs(xg,{duration:vt.durationNormal,exitDuration:vt.durationFast});zs(xg,{duration:vt.durationSlow,exitDuration:vt.durationGentle});const PC=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outX:s="0px",outY:c="0px",inX:u="0px",inY:d="0px"})=>({keyframes:[{translate:`${s} ${c}`},{translate:`${u} ${d}`}],duration:r,easing:n,delay:a}),IC=(e,r)=>{const{shape:n="circular",size:a="medium",appearance:s="filled",color:c="brand",...u}=e;return{...UC(u,r),shape:n,size:a,appearance:s,color:c}},UC=(e,r)=>{const{iconPosition:n="before"}=e;return{iconPosition:n,components:{root:"div",icon:"span"},root:Ve(Vt("div",{ref:r,...e}),{elementType:"div"}),icon:et(e.icon,{elementType:"span"})}},Zb={root:"fui-Badge",icon:"fui-Badge__icon"},VC=Le("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),GC=Se({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),XC=Le("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),WC=Se({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),QC=e=>{"use no memo";const r=VC(),n=GC(),a=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=me(Zb.root,r,a&&n.fontSmallToTiny,n[e.size],n[e.shape],e.shape==="rounded"&&a&&n.roundedSmallToTiny,e.appearance==="ghost"&&n.borderGhost,n[e.appearance],n[`${e.appearance}-${e.color}`],e.root.className);const s=XC(),c=WC();if(e.icon){let u;y.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?u=e.iconPosition==="after"?c.afterTextXL:c.beforeTextXL:u=e.iconPosition==="after"?c.afterText:c.beforeText),e.icon.className=me(Zb.icon,s,u,c[e.size],e.icon.className)}return e},YC=e=>Bt(e.root,{children:[e.iconPosition==="before"&&e.icon&&se(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&se(e.icon,{})]}),er=y.forwardRef((e,r)=>{const n=IC(e,r);return QC(n),ht("useBadgeStyles_unstable")(n),YC(n)});er.displayName="Badge";function $C(e){const r=e.clientX,n=e.clientY,a=r+1,s=n+1;function c(){return{left:r,top:n,right:a,bottom:s,x:r,y:n,height:1,width:1}}return{getBoundingClientRect:c}}const Jb="data-popper-is-intersecting",ey="data-popper-escaped",ty="data-popper-reference-hidden",KC="data-popper-placement",z0="fui-positioningend",T0="--fui-positioning-slide-direction-x",N0="--fui-positioning-slide-direction-y";function ZC(e){const r=e.split("-")[0];let n=0,a=1;return r==="right"?(n=-1,a=0):r==="bottom"?(n=0,a=-1):r==="left"&&(n=1,a=0),{x:n,y:a}}function JC(e){const{targetDocument:r,onPositioningEnd:n}=e,a=_e(s=>{n==null||n(s);const c=s.target,u=s.detail.placement;if(!Vn(c))return;const{x:d,y:g}=ZC(u);c.style.setProperty(T0,`${d}px`),c.style.setProperty(N0,`${g}px`)});return y.useEffect(()=>{var s,c,u;const d=(u=r==null||(c=r.defaultView)===null||c===void 0||(s=c.CSS)===null||s===void 0?void 0:s.registerProperty)!==null&&u!==void 0?u:()=>{};try{d({name:T0,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:N0,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[r]),a}const eE=({options:e})=>e,gS=y.createContext(void 0);gS.Provider;const tE=()=>{var e;return(e=y.useContext(gS))!==null&&e!==void 0?e:eE},oE=["top","right","bottom","left"],Ca=Math.min,Io=Math.max,Nu=Math.round,yr=e=>({x:e,y:e}),rE={left:"right",right:"left",bottom:"top",top:"bottom"};function C0(e,r,n){return Io(e,Ca(r,n))}function $r(e,r){return typeof e=="function"?e(r):e}function Kr(e){return e.split("-")[0]}function Ji(e){return e.split("-")[1]}function Sg(e){return e==="x"?"y":"x"}function wg(e){return e==="y"?"height":"width"}function br(e){const r=e[0];return r==="t"||r==="b"?"y":"x"}function kg(e){return Sg(br(e))}function nE(e,r,n){n===void 0&&(n=!1);const a=Ji(e),s=kg(e),c=wg(s);let u=s==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(u=Cu(u)),[u,Cu(u)]}function aE(e){const r=Cu(e);return[E0(e),r,E0(r)]}function E0(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const oy=["left","right"],ry=["right","left"],iE=["top","bottom"],lE=["bottom","top"];function sE(e,r,n){switch(e){case"top":case"bottom":return n?r?ry:oy:r?oy:ry;case"left":case"right":return r?iE:lE;default:return[]}}function cE(e,r,n,a){const s=Ji(e);let c=sE(Kr(e),n==="start",a);return s&&(c=c.map(u=>u+"-"+s),r&&(c=c.concat(c.map(E0)))),c}function Cu(e){const r=Kr(e);return rE[r]+e.slice(r.length)}function uE(e){return{top:0,right:0,bottom:0,left:0,...e}}function pS(e){return typeof e!="number"?uE(e):{top:e,right:e,bottom:e,left:e}}function Eu(e){const{x:r,y:n,width:a,height:s}=e;return{width:a,height:s,top:n,left:r,right:r+a,bottom:n+s,x:r,y:n}}function ny(e,r,n){let{reference:a,floating:s}=e;const c=br(r),u=kg(r),d=wg(u),g=Kr(r),p=c==="y",m=a.x+a.width/2-s.width/2,v=a.y+a.height/2-s.height/2,S=a[d]/2-s[d]/2;let k;switch(g){case"top":k={x:m,y:a.y-s.height};break;case"bottom":k={x:m,y:a.y+a.height};break;case"right":k={x:a.x+a.width,y:v};break;case"left":k={x:a.x-s.width,y:v};break;default:k={x:a.x,y:a.y}}switch(Ji(r)){case"start":k[u]-=S*(n&&p?-1:1);break;case"end":k[u]+=S*(n&&p?-1:1);break}return k}async function mS(e,r){var n;r===void 0&&(r={});const{x:a,y:s,platform:c,rects:u,elements:d,strategy:g}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:v="floating",altBoundary:S=!1,padding:k=0}=$r(r,e),w=pS(k),z=d[S?v==="floating"?"reference":"floating":v],T=Eu(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(z)))==null||n?z:z.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:p,rootBoundary:m,strategy:g})),j=v==="floating"?{x:a,y:s,width:u.floating.width,height:u.floating.height}:u.reference,N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),C=await(c.isElement==null?void 0:c.isElement(N))?await(c.getScale==null?void 0:c.getScale(N))||{x:1,y:1}:{x:1,y:1},E=Eu(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:j,offsetParent:N,strategy:g}):j);return{top:(T.top-E.top+w.top)/C.y,bottom:(E.bottom-T.bottom+w.bottom)/C.y,left:(T.left-E.left+w.left)/C.x,right:(E.right-T.right+w.right)/C.x}}const fE=50,dE=async(e,r,n)=>{const{placement:a="bottom",strategy:s="absolute",middleware:c=[],platform:u}=n,d=u.detectOverflow?u:{...u,detectOverflow:mS},g=await(u.isRTL==null?void 0:u.isRTL(r));let p=await u.getElementRects({reference:e,floating:r,strategy:s}),{x:m,y:v}=ny(p,a,g),S=a,k=0;const w={};for(let x=0;x<c.length;x++){const z=c[x];if(!z)continue;const{name:T,fn:j}=z,{x:N,y:C,data:E,reset:M}=await j({x:m,y:v,initialPlacement:a,placement:S,strategy:s,middlewareData:w,rects:p,platform:d,elements:{reference:e,floating:r}});m=N??m,v=C??v,w[T]={...w[T],...E},M&&k<fE&&(k++,typeof M=="object"&&(M.placement&&(S=M.placement),M.rects&&(p=M.rects===!0?await u.getElementRects({reference:e,floating:r,strategy:s}):M.rects),{x:m,y:v}=ny(p,S,g)),x=-1)}return{x:m,y:v,placement:S,strategy:s,middlewareData:w}},hE=e=>({name:"arrow",options:e,async fn(r){const{x:n,y:a,placement:s,rects:c,platform:u,elements:d,middlewareData:g}=r,{element:p,padding:m=0}=$r(e,r)||{};if(p==null)return{};const v=pS(m),S={x:n,y:a},k=kg(s),w=wg(k),x=await u.getDimensions(p),z=k==="y",T=z?"top":"left",j=z?"bottom":"right",N=z?"clientHeight":"clientWidth",C=c.reference[w]+c.reference[k]-S[k]-c.floating[w],E=S[k]-c.reference[k],M=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let W=M?M[N]:0;(!W||!await(u.isElement==null?void 0:u.isElement(M)))&&(W=d.floating[N]||c.floating[w]);const G=C/2-E/2,oe=W/2-x[w]/2-1,ie=Ca(v[T],oe),ve=Ca(v[j],oe),ae=ie,ue=W-x[w]-ve,re=W/2-x[w]/2+G,ye=C0(ae,re,ue),P=!g.arrow&&Ji(s)!=null&&re!==ye&&c.reference[w]/2-(re<ae?ie:ve)-x[w]/2<0,J=P?re<ae?re-ae:re-ue:0;return{[k]:S[k]+J,data:{[k]:ye,centerOffset:re-ye-J,...P&&{alignmentOffset:J}},reset:P}}}),gE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var n,a;const{placement:s,middlewareData:c,rects:u,initialPlacement:d,platform:g,elements:p}=r,{mainAxis:m=!0,crossAxis:v=!0,fallbackPlacements:S,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:x=!0,...z}=$r(e,r);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const T=Kr(s),j=br(d),N=Kr(d)===d,C=await(g.isRTL==null?void 0:g.isRTL(p.floating)),E=S||(N||!x?[Cu(d)]:aE(d)),M=w!=="none";!S&&M&&E.push(...cE(d,x,w,C));const W=[d,...E],G=await g.detectOverflow(r,z),oe=[];let ie=((a=c.flip)==null?void 0:a.overflows)||[];if(m&&oe.push(G[T]),v){const re=nE(s,u,C);oe.push(G[re[0]],G[re[1]])}if(ie=[...ie,{placement:s,overflows:oe}],!oe.every(re=>re<=0)){var ve,ae;const re=(((ve=c.flip)==null?void 0:ve.index)||0)+1,ye=W[re];if(ye&&(!(v==="alignment"?j!==br(ye):!1)||ie.every(te=>br(te.placement)===j?te.overflows[0]>0:!0)))return{data:{index:re,overflows:ie},reset:{placement:ye}};let P=(ae=ie.filter(J=>J.overflows[0]<=0).sort((J,te)=>J.overflows[1]-te.overflows[1])[0])==null?void 0:ae.placement;if(!P)switch(k){case"bestFit":{var ue;const J=(ue=ie.filter(te=>{if(M){const ce=br(te.placement);return ce===j||ce==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(ce=>ce>0).reduce((ce,ze)=>ce+ze,0)]).sort((te,ce)=>te[1]-ce[1])[0])==null?void 0:ue[0];J&&(P=J);break}case"initialPlacement":P=d;break}if(s!==P)return{reset:{placement:P}}}return{}}}};function ay(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function iy(e){return oE.some(r=>e[r]>=0)}const pE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:n,platform:a}=r,{strategy:s="referenceHidden",...c}=$r(e,r);switch(s){case"referenceHidden":{const u=await a.detectOverflow(r,{...c,elementContext:"reference"}),d=ay(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:iy(d)}}}case"escaped":{const u=await a.detectOverflow(r,{...c,altBoundary:!0}),d=ay(u,n.floating);return{data:{escapedOffsets:d,escaped:iy(d)}}}default:return{}}}}},vS=new Set(["left","top"]);async function mE(e,r){const{placement:n,platform:a,elements:s}=e,c=await(a.isRTL==null?void 0:a.isRTL(s.floating)),u=Kr(n),d=Ji(n),g=br(n)==="y",p=vS.has(u)?-1:1,m=c&&g?-1:1,v=$r(r,e);let{mainAxis:S,crossAxis:k,alignmentAxis:w}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return d&&typeof w=="number"&&(k=d==="end"?w*-1:w),g?{x:k*m,y:S*p}:{x:S*p,y:k*m}}const vE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var n,a;const{x:s,y:c,placement:u,middlewareData:d}=r,g=await mE(r,e);return u===((n=d.offset)==null?void 0:n.placement)&&(a=d.arrow)!=null&&a.alignmentOffset?{}:{x:s+g.x,y:c+g.y,data:{...g,placement:u}}}}},bE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:n,y:a,placement:s,platform:c}=r,{mainAxis:u=!0,crossAxis:d=!1,limiter:g={fn:T=>{let{x:j,y:N}=T;return{x:j,y:N}}},...p}=$r(e,r),m={x:n,y:a},v=await c.detectOverflow(r,p),S=br(Kr(s)),k=Sg(S);let w=m[k],x=m[S];if(u){const T=k==="y"?"top":"left",j=k==="y"?"bottom":"right",N=w+v[T],C=w-v[j];w=C0(N,w,C)}if(d){const T=S==="y"?"top":"left",j=S==="y"?"bottom":"right",N=x+v[T],C=x-v[j];x=C0(N,x,C)}const z=g.fn({...r,[k]:w,[S]:x});return{...z,data:{x:z.x-n,y:z.y-a,enabled:{[k]:u,[S]:d}}}}}},yE=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:n,y:a,placement:s,rects:c,middlewareData:u}=r,{offset:d=0,mainAxis:g=!0,crossAxis:p=!0}=$r(e,r),m={x:n,y:a},v=br(s),S=Sg(v);let k=m[S],w=m[v];const x=$r(d,r),z=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(g){const N=S==="y"?"height":"width",C=c.reference[S]-c.floating[N]+z.mainAxis,E=c.reference[S]+c.reference[N]-z.mainAxis;k<C?k=C:k>E&&(k=E)}if(p){var T,j;const N=S==="y"?"width":"height",C=vS.has(Kr(s)),E=c.reference[v]-c.floating[N]+(C&&((T=u.offset)==null?void 0:T[v])||0)+(C?0:z.crossAxis),M=c.reference[v]+c.reference[N]+(C?0:((j=u.offset)==null?void 0:j[v])||0)-(C?z.crossAxis:0);w<E?w=E:w>M&&(w=M)}return{[S]:k,[v]:w}}}},xE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){var n,a;const{placement:s,rects:c,platform:u,elements:d}=r,{apply:g=()=>{},...p}=$r(e,r),m=await u.detectOverflow(r,p),v=Kr(s),S=Ji(s),k=br(s)==="y",{width:w,height:x}=c.floating;let z,T;v==="top"||v==="bottom"?(z=v,T=S===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(T=v,z=S==="end"?"top":"bottom");const j=x-m.top-m.bottom,N=w-m.left-m.right,C=Ca(x-m[z],j),E=Ca(w-m[T],N),M=!r.middlewareData.shift;let W=C,G=E;if((n=r.middlewareData.shift)!=null&&n.enabled.x&&(G=N),(a=r.middlewareData.shift)!=null&&a.enabled.y&&(W=j),M&&!S){const ie=Io(m.left,0),ve=Io(m.right,0),ae=Io(m.top,0),ue=Io(m.bottom,0);k?G=w-2*(ie!==0||ve!==0?ie+ve:Io(m.left,m.right)):W=x-2*(ae!==0||ue!==0?ae+ue:Io(m.top,m.bottom))}await g({...r,availableWidth:G,availableHeight:W});const oe=await u.getDimensions(d.floating);return w!==oe.width||x!==oe.height?{reset:{rects:!0}}:{}}}};function ef(){return typeof window<"u"}function el(e){return bS(e)?(e.nodeName||"").toLowerCase():"#document"}function ko(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Jr(e){var r;return(r=(bS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function bS(e){return ef()?e instanceof Node||e instanceof ko(e).Node:!1}function ar(e){return ef()?e instanceof Element||e instanceof ko(e).Element:!1}function en(e){return ef()?e instanceof HTMLElement||e instanceof ko(e).HTMLElement:!1}function ly(e){return!ef()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ko(e).ShadowRoot}function Ts(e){const{overflow:r,overflowX:n,overflowY:a,display:s}=ir(e);return/auto|scroll|overlay|hidden|clip/.test(r+a+n)&&s!=="inline"&&s!=="contents"}function SE(e){return/^(table|td|th)$/.test(el(e))}function tf(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const wE=/transform|translate|scale|rotate|perspective|filter/,kE=/paint|layout|strict|content/,ha=e=>!!e&&e!=="none";let Qh;function Bg(e){const r=ar(e)?ir(e):e;return ha(r.transform)||ha(r.translate)||ha(r.scale)||ha(r.rotate)||ha(r.perspective)||!_g()&&(ha(r.backdropFilter)||ha(r.filter))||wE.test(r.willChange||"")||kE.test(r.contain||"")}function BE(e){let r=Gn(e);for(;en(r)&&!Vi(r);){if(Bg(r))return r;if(tf(r))return null;r=Gn(r)}return null}function _g(){return Qh==null&&(Qh=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Qh}function Vi(e){return/^(html|body|#document)$/.test(el(e))}function ir(e){return ko(e).getComputedStyle(e)}function of(e){return ar(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Gn(e){if(el(e)==="html")return e;const r=e.assignedSlot||e.parentNode||ly(e)&&e.host||Jr(e);return ly(r)?r.host:r}function yS(e){const r=Gn(e);return Vi(r)?e.ownerDocument?e.ownerDocument.body:e.body:en(r)&&Ts(r)?r:yS(r)}function xS(e,r,n){var a;r===void 0&&(r=[]);const s=yS(e),c=s===((a=e.ownerDocument)==null?void 0:a.body),u=ko(s);return c?(j0(u),r.concat(u,u.visualViewport||[],Ts(s)?s:[],[])):r.concat(s,xS(s,[]))}function j0(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function SS(e){const r=ir(e);let n=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const s=en(e),c=s?e.offsetWidth:n,u=s?e.offsetHeight:a,d=Nu(n)!==c||Nu(a)!==u;return d&&(n=c,a=u),{width:n,height:a,$:d}}function wS(e){return ar(e)?e:e.contextElement}function ki(e){const r=wS(e);if(!en(r))return yr(1);const n=r.getBoundingClientRect(),{width:a,height:s,$:c}=SS(r);let u=(c?Nu(n.width):n.width)/a,d=(c?Nu(n.height):n.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const _E=yr(0);function kS(e){const r=ko(e);return!_g()||!r.visualViewport?_E:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function zE(e,r,n){return r===void 0&&(r=!1),!n||r&&n!==ko(e)?!1:r}function gs(e,r,n,a){r===void 0&&(r=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),c=wS(e);let u=yr(1);r&&(a?ar(a)&&(u=ki(a)):u=ki(e));const d=zE(c,n,a)?kS(c):yr(0);let g=(s.left+d.x)/u.x,p=(s.top+d.y)/u.y,m=s.width/u.x,v=s.height/u.y;if(c){const S=ko(c),k=a&&ar(a)?ko(a):a;let w=S,x=j0(w);for(;x&&a&&k!==w;){const z=ki(x),T=x.getBoundingClientRect(),j=ir(x),N=T.left+(x.clientLeft+parseFloat(j.paddingLeft))*z.x,C=T.top+(x.clientTop+parseFloat(j.paddingTop))*z.y;g*=z.x,p*=z.y,m*=z.x,v*=z.y,g+=N,p+=C,w=ko(x),x=j0(w)}}return Eu({width:m,height:v,x:g,y:p})}function rf(e,r){const n=of(e).scrollLeft;return r?r.left+n:gs(Jr(e)).left+n}function BS(e,r){const n=e.getBoundingClientRect(),a=n.left+r.scrollLeft-rf(e,n),s=n.top+r.scrollTop;return{x:a,y:s}}function TE(e){let{elements:r,rect:n,offsetParent:a,strategy:s}=e;const c=s==="fixed",u=Jr(a),d=r?tf(r.floating):!1;if(a===u||d&&c)return n;let g={scrollLeft:0,scrollTop:0},p=yr(1);const m=yr(0),v=en(a);if((v||!v&&!c)&&((el(a)!=="body"||Ts(u))&&(g=of(a)),v)){const k=gs(a);p=ki(a),m.x=k.x+a.clientLeft,m.y=k.y+a.clientTop}const S=u&&!v&&!c?BS(u,g):yr(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-g.scrollLeft*p.x+m.x+S.x,y:n.y*p.y-g.scrollTop*p.y+m.y+S.y}}function NE(e){return Array.from(e.getClientRects())}function CE(e){const r=Jr(e),n=of(e),a=e.ownerDocument.body,s=Io(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),c=Io(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let u=-n.scrollLeft+rf(e);const d=-n.scrollTop;return ir(a).direction==="rtl"&&(u+=Io(r.clientWidth,a.clientWidth)-s),{width:s,height:c,x:u,y:d}}const sy=25;function EE(e,r){const n=ko(e),a=Jr(e),s=n.visualViewport;let c=a.clientWidth,u=a.clientHeight,d=0,g=0;if(s){c=s.width,u=s.height;const m=_g();(!m||m&&r==="fixed")&&(d=s.offsetLeft,g=s.offsetTop)}const p=rf(a);if(p<=0){const m=a.ownerDocument,v=m.body,S=getComputedStyle(v),k=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,w=Math.abs(a.clientWidth-v.clientWidth-k);w<=sy&&(c-=w)}else p<=sy&&(c+=p);return{width:c,height:u,x:d,y:g}}function jE(e,r){const n=gs(e,!0,r==="fixed"),a=n.top+e.clientTop,s=n.left+e.clientLeft,c=en(e)?ki(e):yr(1),u=e.clientWidth*c.x,d=e.clientHeight*c.y,g=s*c.x,p=a*c.y;return{width:u,height:d,x:g,y:p}}function cy(e,r,n){let a;if(r==="viewport")a=EE(e,n);else if(r==="document")a=CE(Jr(e));else if(ar(r))a=jE(r,n);else{const s=kS(e);a={x:r.x-s.x,y:r.y-s.y,width:r.width,height:r.height}}return Eu(a)}function _S(e,r){const n=Gn(e);return n===r||!ar(n)||Vi(n)?!1:ir(n).position==="fixed"||_S(n,r)}function RE(e,r){const n=r.get(e);if(n)return n;let a=xS(e,[]).filter(d=>ar(d)&&el(d)!=="body"),s=null;const c=ir(e).position==="fixed";let u=c?Gn(e):e;for(;ar(u)&&!Vi(u);){const d=ir(u),g=Bg(u);!g&&d.position==="fixed"&&(s=null),(c?!g&&!s:!g&&d.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||Ts(u)&&!g&&_S(e,u))?a=a.filter(m=>m!==u):s=d,u=Gn(u)}return r.set(e,a),a}function AE(e){let{element:r,boundary:n,rootBoundary:a,strategy:s}=e;const u=[...n==="clippingAncestors"?tf(r)?[]:RE(r,this._c):[].concat(n),a],d=cy(r,u[0],s);let g=d.top,p=d.right,m=d.bottom,v=d.left;for(let S=1;S<u.length;S++){const k=cy(r,u[S],s);g=Io(k.top,g),p=Ca(k.right,p),m=Ca(k.bottom,m),v=Io(k.left,v)}return{width:p-v,height:m-g,x:v,y:g}}function DE(e){const{width:r,height:n}=SS(e);return{width:r,height:n}}function OE(e,r,n){const a=en(r),s=Jr(r),c=n==="fixed",u=gs(e,!0,c,r);let d={scrollLeft:0,scrollTop:0};const g=yr(0);function p(){g.x=rf(s)}if(a||!a&&!c)if((el(r)!=="body"||Ts(s))&&(d=of(r)),a){const k=gs(r,!0,c,r);g.x=k.x+r.clientLeft,g.y=k.y+r.clientTop}else s&&p();c&&!a&&s&&p();const m=s&&!a&&!c?BS(s,d):yr(0),v=u.left+d.scrollLeft-g.x-m.x,S=u.top+d.scrollTop-g.y-m.y;return{x:v,y:S,width:u.width,height:u.height}}function Yh(e){return ir(e).position==="static"}function uy(e,r){if(!en(e)||ir(e).position==="fixed")return null;if(r)return r(e);let n=e.offsetParent;return Jr(e)===n&&(n=n.ownerDocument.body),n}function zS(e,r){const n=ko(e);if(tf(e))return n;if(!en(e)){let s=Gn(e);for(;s&&!Vi(s);){if(ar(s)&&!Yh(s))return s;s=Gn(s)}return n}let a=uy(e,r);for(;a&&SE(a)&&Yh(a);)a=uy(a,r);return a&&Vi(a)&&Yh(a)&&!Bg(a)?n:a||BE(e)||n}const ME=async function(e){const r=this.getOffsetParent||zS,n=this.getDimensions,a=await n(e.floating);return{reference:OE(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function qE(e){return ir(e).direction==="rtl"}const FE={convertOffsetParentRelativeRectToViewportRelativeRect:TE,getDocumentElement:Jr,getClippingRect:AE,getOffsetParent:zS,getElementRects:ME,getClientRects:NE,getDimensions:DE,getScale:ki,isElement:ar,isRTL:qE},HE=mS,LE=vE,PE=bE,IE=gE,UE=xE,fy=pE,VE=hE,dy=yE,GE=(e,r,n)=>{const a=new Map,s={platform:FE,...n},c={...s.platform,_c:a};return dE(e,r,{...s,platform:c})};function TS(e){const r=e.split("-");return{side:r[0],alignment:r[1]}}const XE=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,WE=e=>{var r;if(e.nodeType!==1)return{};const n=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;return n?n.getComputedStyle(e,null):{}},nf=e=>{const r=e&&XE(e);if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}const{overflow:n,overflowX:a,overflowY:s}=WE(r);return/(auto|scroll|overlay)/.test(n+s+a)?r:nf(r)},QE=e=>{var r;const n=nf(e);return n?n!==((r=n.ownerDocument)===null||r===void 0?void 0:r.body):!1};function zg(e,r){if(r==="window")return e==null?void 0:e.ownerDocument.documentElement;if(r==="clippingParents")return"clippingAncestors";if(r==="scrollParent"){let n=nf(e);return n.nodeName==="BODY"&&(n=e==null?void 0:e.ownerDocument.documentElement),n}return r}function NS(e,r){return typeof e=="number"||typeof e=="object"&&e!==null?$h(e,r):typeof e=="function"?n=>{const a=e(n);return $h(a,r)}:{mainAxis:r}}const $h=(e,r)=>{if(typeof e=="number")return{mainAxis:e+r};var n;return{...e,mainAxis:((n=e.mainAxis)!==null&&n!==void 0?n:0)+r}};function CS(e,r){if(typeof e=="number")return e;const{start:n,end:a,...s}=e,c=s,u=r?"end":"start",d=r?"start":"end";return e[u]&&(c.left=e[u]),e[d]&&(c.right=e[d]),c}const YE=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),$E=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),KE=(e,r)=>{const n=e==="above"||e==="below",a=r==="top"||r==="bottom";return n&&a||!n&&!a},ES=(e,r,n)=>{const a=KE(r,e)?"center":e,s=r&&YE(n)[r],c=a&&$E()[a];return s&&c?`${s}-${c}`:s},ZE=()=>({top:"above",bottom:"below",right:"after",left:"before"}),JE=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},e7=e=>{const{side:r,alignment:n}=TS(e),a=ZE()[r],s=n&&JE(a)[n];return{position:a,alignment:s}},t7={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function Ns(e){return e==null?{}:typeof e=="string"?t7[e]:e}function Kh(e,r,n){const a=y.useRef(!0),[s]=y.useState(()=>({value:e,callback:r,facade:{get current(){return s.value},set current(c){const u=s.value;u!==c&&(s.value=c,s.callback(c,u))}}}));return At(()=>{a.current=!1},[]),s.callback=r,s.facade}function o7(e){let r;return()=>(r||(r=new Promise(n=>{Promise.resolve().then(()=>{r=void 0,n(e())})})),r)}function r7(e){const{arrow:r,middlewareData:n}=e;if(!n.arrow||!r)return;const{x:a,y:s}=n.arrow;Object.assign(r.style,{left:a!=null?`${a}px`:"",top:s!=null?`${s}px`:""})}function n7(e){var r,n,a;const{container:s,placement:c,middlewareData:u,strategy:d,lowPPI:g,coordinates:p,useTransform:m=!0}=e;if(!s)return;s.setAttribute(KC,c),s.removeAttribute(Jb),u.intersectionObserver.intersecting&&s.setAttribute(Jb,""),s.removeAttribute(ey),!((r=u.hide)===null||r===void 0)&&r.escaped&&s.setAttribute(ey,""),s.removeAttribute(ty),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&s.setAttribute(ty,"");const v=((a=s.ownerDocument.defaultView)===null||a===void 0?void 0:a.devicePixelRatio)||1,S=Math.round(p.x*v)/v,k=Math.round(p.y*v)/v;if(Object.assign(s.style,{position:d}),m){Object.assign(s.style,{transform:g?`translate(${S}px, ${k}px)`:`translate3d(${S}px, ${k}px, 0)`});return}Object.assign(s.style,{left:`${S}px`,top:`${k}px`})}const a7=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function hy(e){const r=[];let n=e;for(;n;){const a=nf(n);if(e.ownerDocument.body===a){r.push(a);break}if(a.nodeName==="BODY"&&a!==e.ownerDocument.body)break;r.push(a),n=a}return r}function i7(e,r){return new e.ResizeObserver(r)}function l7(e){let r=!1;const{container:n,target:a,arrow:s,strategy:c,middleware:u,placement:d,useTransform:g=!0,disableUpdateOnResize:p=!1}=e,m=n.ownerDocument.defaultView;if(!a||!n||!m)return{updatePosition:()=>{},dispose:()=>{}};const v=p?null:i7(m,T=>{T.every(N=>N.contentRect.width>0&&N.contentRect.height>0)&&x()});let S=!0;const k=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const w=()=>{r||(S&&(hy(n).forEach(T=>k.add(T)),Vn(a)&&hy(a).forEach(T=>k.add(T)),k.forEach(T=>{T.addEventListener("scroll",x,{passive:!0})}),v==null||v.observe(n),Vn(a)&&(v==null||v.observe(a)),S=!1),Object.assign(n.style,{position:c}),GE(a,n,{placement:d,middleware:u,strategy:c}).then(({x:T,y:j,middlewareData:N,placement:C})=>{r||(r7({arrow:s,middlewareData:N}),n7({container:n,middlewareData:N,placement:C,coordinates:{x:T,y:j},lowPPI:((m==null?void 0:m.devicePixelRatio)||1)<=1,strategy:c,useTransform:g}),n.dispatchEvent(new CustomEvent(z0,{detail:{placement:C}})))}).catch(T=>{}))},x=o7(()=>w()),z=()=>{r=!0,m&&(m.removeEventListener("scroll",x),m.removeEventListener("resize",x)),k.forEach(T=>{T.removeEventListener("scroll",x)}),k.clear(),v==null||v.disconnect()};return m&&(m.addEventListener("scroll",x,{passive:!0}),m.addEventListener("resize",x)),x(),{updatePosition:x,dispose:z}}function s7(){return{name:"coverTarget",fn:e=>{const{placement:r,rects:n,x:a,y:s}=e,c=TS(r).side,u={x:a,y:s};switch(c){case"bottom":u.y-=n.reference.height;break;case"top":u.y+=n.reference.height;break;case"left":u.x+=n.reference.width;break;case"right":u.x-=n.reference.width;break}return u}}}function c7(e){const{hasScrollableElement:r,flipBoundary:n,container:a,fallbackPositions:s=[],isRtl:c}=e,u=s.reduce((d,g)=>{const{position:p,align:m}=Ns(g),v=ES(m,p,c);return v&&d.push(v),d},[]);return IE({...r&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:zg(a,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function u7(){return{name:"intersectionObserver",fn:async e=>{const r=e.rects.floating,n=await HE(e,{altBoundary:!0}),a=n.top<r.height&&n.top>0,s=n.bottom<r.height&&n.bottom>0;return{data:{intersecting:a||s}}}}}const f7=e=>({name:"resetMaxSize",fn({middlewareData:r,elements:n}){var a;if(!((a=r.resetMaxSize)===null||a===void 0)&&a.maxSizeAlreadyReset)return{};const{applyMaxWidth:s,applyMaxHeight:c}=e;return s&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-width"),n.floating.style.removeProperty("width")),c&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-height"),n.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function d7(e,r){const{container:n,overflowBoundary:a,overflowBoundaryPadding:s,isRtl:c}=r;return UE({...s&&{padding:CS(s,c)},...a&&{altBoundary:!0,boundary:zg(n,a)},apply({availableHeight:u,availableWidth:d,elements:g,rects:p}){const m=(k,w,x)=>{if(k&&(g.floating.style.setProperty("box-sizing","border-box"),g.floating.style.setProperty(`max-${w}`,`${x}px`),p.floating[w]>x)){g.floating.style.setProperty(w,`${x}px`);const z=w==="width"?"x":"y";g.floating.style.getPropertyValue(`overflow-${z}`)||g.floating.style.setProperty(`overflow-${z}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:S}=e;m(v,"width",d),m(S,"height",u)}})}function h7(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:r,reference:n},placement:a})=>{const{position:s,alignment:c}=e7(a);return e({positionedRect:r,targetRect:n,position:s,alignment:c})}}function g7(e){const r=h7(e);return LE(r)}function p7(e){const{hasScrollableElement:r,shiftToCoverTarget:n,disableTether:a,overflowBoundary:s,container:c,overflowBoundaryPadding:u,isRtl:d}=e;return PE({...r&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:dy({crossAxis:!0,mainAxis:!1})},...a&&{crossAxis:a==="all",limiter:dy({crossAxis:a!=="all",mainAxis:!1})},...u&&{padding:CS(u,d)},...s&&{altBoundary:!0,boundary:zg(c,s)}})}const gy="--fui-match-target-size";function m7(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:r,floating:n},elements:{floating:a},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:s=!1}={}}}=e;if(r.width===n.width||s)return{};const{width:c}=r;return a.style.setProperty(gy,`${c}px`),a.style.width||(a.style.width=`var(${gy})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function v7(e,r){const{align:n,arrowPadding:a,autoSize:s,coverTarget:c,disableUpdateOnResize:u,flipBoundary:d,offset:g,overflowBoundary:p,pinned:m,position:v,unstable_disableTether:S,strategy:k,overflowBoundaryPadding:w,fallbackPositions:x,useTransform:z,matchTargetSize:T,shiftToCoverTarget:j}=r;return y.useCallback((N,C)=>e({container:N,arrow:C,options:{autoSize:s,disableUpdateOnResize:u,matchTargetSize:T,offset:g,strategy:k,coverTarget:c,flipBoundary:d,overflowBoundary:p,useTransform:z,overflowBoundaryPadding:w,pinned:m,arrowPadding:a,align:n,fallbackPositions:x,shiftToCoverTarget:j,position:v,unstable_disableTether:S}}),[s,u,T,g,k,c,d,p,z,w,m,a,n,x,j,v,S,e])}function b7(e){const{dir:r,targetDocument:n}=dt(),a=r==="rtl",s=v7(tE(),e),{positionFixed:c}=e;return y.useCallback((u,d)=>{const g=QE(u),p=s(u,d),{autoSize:m,disableUpdateOnResize:v,matchTargetSize:S,offset:k,coverTarget:w,flipBoundary:x,overflowBoundary:z,useTransform:T,overflowBoundaryPadding:j,pinned:N,position:C,arrowPadding:E,strategy:M,align:W,fallbackPositions:G,shiftToCoverTarget:oe,unstable_disableTether:ie}=p,ve=a7(m),ae=[ve&&f7(ve),S&&m7(),k&&g7(k),w&&s7(),!N&&c7({container:u,flipBoundary:x,hasScrollableElement:g,isRtl:a,fallbackPositions:G}),p7({container:u,hasScrollableElement:g,overflowBoundary:z,disableTether:ie,overflowBoundaryPadding:j,isRtl:a,shiftToCoverTarget:oe}),ve&&d7(ve,{container:u,overflowBoundary:z,overflowBoundaryPadding:j,isRtl:a}),u7(),d&&VE({element:d,padding:E}),fy({strategy:"referenceHidden"}),fy({strategy:"escaped"}),!1].filter(Boolean);return{placement:ES(W,C,a),middleware:ae,strategy:M??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:T}},[s,a,n,c])}function Tg(e){"use no memo";const r=y.useRef(null),n=y.useRef(null),a=y.useRef(null),s=y.useRef(null),c=y.useRef(null),{enabled:u=!0}=e,d=b7(e),g=y.useCallback(()=>{r.current&&r.current.dispose(),r.current=null;var w;const x=(w=a.current)!==null&&w!==void 0?w:n.current;u&&Vu()&&x&&s.current&&(r.current=l7({container:s.current,target:x,arrow:c.current,...d(s.current,c.current)}))},[u,d]),p=_e(w=>{a.current=w,g()});y.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var w;return(w=r.current)===null||w===void 0?void 0:w.updatePosition()},setTarget:w=>{e.target,p(w)}}),[e.target,p]),At(()=>{var w;p((w=e.target)!==null&&w!==void 0?w:null)},[e.target,p]),At(()=>{g()},[g]);const m=Kh(null,w=>{n.current!==w&&(n.current=w,g())}),v=_e(w=>{var x;return(x=e.onPositioningEnd)===null||x===void 0?void 0:x.call(e,w)}),S=Kh(null,w=>{if(s.current!==w){var x;(x=s.current)===null||x===void 0||x.removeEventListener(z0,v),w==null||w.addEventListener(z0,v),s.current=w,g()}}),k=Kh(null,w=>{c.current!==w&&(c.current=w,g())});return{targetRef:m,containerRef:S,arrowRef:k}}const y7=e=>{const[r,n]=y.useState(e);return[r,s=>{if(s==null){n(void 0);return}let c;s instanceof MouseEvent?c=s:c=s.nativeEvent;const u=$C(c);n(u)}]},Ng=Ku(void 0),jS={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};Ng.Provider;const Ht=e=>fg(Ng,(r=jS)=>e(r)),x7=(e,r)=>{const n=Ht(u=>u.size),a=Ht(u=>u.appearance),s=vg(),c=S7(e,Ct(r,s));return{appearance:a,size:n,...c}},S7=(e,r)=>{const n=Ht(z=>z.contentRef),a=Ht(z=>z.openOnHover),s=Ht(z=>z.setOpen),c=Ht(z=>z.mountNode),u=Ht(z=>z.arrowRef),d=Ht(z=>z.withArrow),g=Ht(z=>z.trapFocus),p=Ht(z=>z.inertTrapFocus),m=Ht(z=>z.inline),{modalAttributes:v}=$u({trapFocus:g,legacyTrapFocus:!p,alwaysFocusable:!g}),S={inline:m,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ve({ref:Ct(r,n),role:g?"dialog":"group","aria-modal":g?!0:void 0,...v,...e},{elementType:"div"})},{onMouseEnter:k,onMouseLeave:w,onKeyDown:x}=S.root;return S.root.onMouseEnter=z=>{a&&s(z,!0),k==null||k(z)},S.root.onMouseLeave=z=>{a&&s(z,!1),w==null||w(z)},S.root.onKeyDown=z=>{var T;z.key==="Escape"&&(!((T=n.current)===null||T===void 0)&&T.contains(z.target))&&(z.preventDefault(),s(z,!1)),x==null||x(z)},S};function w7(e){return Vn(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const k7=mu.useInsertionEffect?mu.useInsertionEffect:At,RS=Symbol.for("fui-portal-style-ref-count"),B7="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",AS="fui-portal-styles";function DS(e){var r;return(r=e[RS])!==null&&r!==void 0?r:0}function R0(e,r){e[RS]=r}function _7(e){var r;const n=DS(e);if(n>0){R0(e,n+1);return}const a=e.createElement("style");a.id=AS,e.head.prepend(a),(r=a.sheet)===null||r===void 0||r.insertRule(B7),R0(e,1)}function z7(e){const r=DS(e);if(r===0)return;const n=r-1;if(n===0){var a;(a=e.head.querySelector(`#${AS}`))===null||a===void 0||a.remove()}R0(e,n)}function T7(e){const{targetDocument:r}=dt();k7(()=>{if(!(e||!r))return _7(r),()=>z7(r)},[e,r])}const OS=mu.useInsertionEffect,N7=e=>{"use no memo";const{className:r,dir:n,focusVisibleRef:a,targetNode:s}=e,c=y.useMemo(()=>{if(s===void 0||e.disabled)return null;const u=s.ownerDocument.createElement("div");return s.appendChild(u),u},[s,e.disabled]);return y.useMemo(()=>{c&&(c.className=r,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),a.current=c)},[r,n,c,a]),y.useEffect(()=>()=>{c==null||c.remove()},[c]),c},C7=()=>{let e;function r(a,s){return e||(s&&(e=a.ownerDocument.createElement("div"),a.appendChild(e)),e)}function n(){e&&(e.remove(),e=void 0)}return{get:r,dispose:n}},E7=e=>{"use no memo";const{className:r,dir:n,focusVisibleRef:a,targetNode:s}=e,[c]=y.useState(C7),u=y.useMemo(()=>s===void 0||e.disabled?null:new Proxy({},{get(d,g){if(g==="nodeType")return 1;if(g==="remove"){const v=c.get(s,!1);return v&&v.childNodes.length===0&&c.dispose(),()=>{}}const p=c.get(s,!0),m=p?p[g]:void 0;return typeof m=="function"?m.bind(p):m},set(d,g,p){const m=g==="_virtual"||g==="focusVisible",v=m?c.get(s,!1):c.get(s,!0);return m&&!v?!0:v?(Object.assign(v,{[g]:p}),!0):!1}}),[c,s,e.disabled]);return OS(()=>{if(u)return u.setAttribute("class",r),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),a.current=u,()=>{u.removeAttribute("class"),u.removeAttribute("dir")}},[r,n,u,a]),y.useEffect(()=>()=>{u==null||u.remove()},[u]),u},j7=OS?E7:N7,R7=e=>{"use no memo";const{targetDocument:r,dir:n}=dt(),a=T_(),s=E2(),c=b_(),u={dir:n,disabled:e.disabled,focusVisibleRef:s,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(r==null?void 0:r.body)};return T7(e.disabled),j7(u)},A7=e=>{const{element:r,className:n}=w7(e.mountNode),a=y.useRef(null),s=R7({disabled:!!r,className:n}),c=r??s,u={children:e.children,mountNode:c,virtualParentRootRef:a};return y.useEffect(()=>{if(!c)return;const d=a.current,g=c.contains(d);if(d&&!g)return Rb(c,d),()=>{Rb(c,void 0)}},[a,c]),u},D7=e=>y.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&o0.createPortal(y.createElement(y.Fragment,null,e.children,y.createElement("span",{hidden:!0})),e.mountNode)),Cs=e=>{const r=A7(e);return D7(r)};Cs.displayName="Portal";const O7=e=>{const r=Bt(e.root,{children:[e.withArrow&&se("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?r:se(Cs,{mountNode:e.mountNode,children:r})},M7={root:"fui-PopoverSurface"},q7={small:6,medium:8,large:8},F7=Se({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),H7=e=>{"use no memo";const r=F7();return e.root.className=me(M7.root,r.root,e.inline&&r.inline,e.size==="small"&&r.smallPadding,e.size==="medium"&&r.mediumPadding,e.size==="large"&&r.largePadding,e.appearance==="inverted"&&r.inverted,e.appearance==="brand"&&r.brand,e.root.className),e.arrowClassName=me(r.arrow,e.size==="small"?r.smallArrow:r.mediumLargeArrow),e},MS=y.forwardRef((e,r)=>{const n=x7(e,r);return H7(n),ht("usePopoverSurfaceStyles_unstable")(n),O7(n)});MS.displayName="PopoverSurface";const L7=4,py=vt.durationSlower,my=vt.curveDecelerateMid,vy=Ju(({distance:e=10})=>({enter:[hs({duration:py,easing:my,direction:"enter"}),{...PC({duration:py,easing:my,direction:"enter",outX:`calc(var(${T0}, 0px) * ${e})`,outY:`calc(var(${N0}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),P7=e=>{const{appearance:r,size:n="medium"}=e,a=Ns(e.positioning),s=e.withArrow&&!a.coverTarget,{targetDocument:c}=dt(),u=JC({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=I7({...e,positioning:{...a,onPositioningEnd:u,...s?{offset:NS(a.offset,q7[n])}:{}}});return{components:{surfaceMotion:vy},appearance:r,size:n,...d,surfaceMotion:yg(e.surfaceMotion,{elementType:vy,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},I7=e=>{const[r,n]=y7(),a={contextTarget:r,setContextTarget:n,...e},s=y.Children.toArray(e.children);let c,u;s.length===2?(c=s[0],u=s[1]):s.length===1&&(u=s[0]);const[d,g]=U7(a),[p,m]=ng(),v=_e((E,M)=>{if(m(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var W;p(()=>{g(E,M)},(W=e.mouseLeaveDelay)!==null&&W!==void 0?W:500)}else g(E,M)}),S=y.useCallback(E=>{v(E,!d)},[v,d]),k=V7(a),{targetDocument:w}=dt();var x;c2({contains:jb,element:w,callback:E=>v(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d,disabledFocusOnIframe:!(!((x=e.closeOnIframeFocus)!==null&&x!==void 0)||x)});const z=a.openOnContext||a.closeOnScroll;F_({contains:jb,element:w,callback:E=>v(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d||!z});const{findFirstFocusable:T}=T2(),j=NT();y.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=k.contentRef.current;if(d&&E){var M;const W=!isNaN((M=E.getAttribute("tabIndex"))!==null&&M!==void 0?M:void 0),G=W?E:T(E);G==null||G.focus(),W&&j(E)}},[T,j,d,k.contentRef,e.unstable_disableAutoFocus]);var N,C;return{...a,...k,inertTrapFocus:(N=e.inertTrapFocus)!==null&&N!==void 0?N:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:v,toggleOpen:S,setContextTarget:n,contextTarget:r,inline:(C=e.inline)!==null&&C!==void 0?C:!1}};function U7(e){"use no memo";const r=_e((u,d)=>{var g;return(g=e.onOpenChange)===null||g===void 0?void 0:g.call(e,u,d)}),[n,a]=Qr({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=n!==void 0?n:e.open;const s=e.setContextTarget,c=y.useCallback((u,d)=>{d&&u.type==="contextmenu"&&s(u),d||s(void 0),a(d),r==null||r(u,{open:d})},[a,r,s]);return[n,c]}function V7(e){"use no memo";const r={position:"above",align:"center",arrowPadding:2*L7,target:e.openOnContext?e.contextTarget:void 0,...Ns(e.positioning)};r.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:s}=Tg(r);return{triggerRef:n,contentRef:a,arrowRef:s}}function G7(e){const{appearance:r,arrowRef:n,contentRef:a,inline:s,mountNode:c,open:u,openOnContext:d,openOnHover:g,setOpen:p,size:m,toggleOpen:v,trapFocus:S,triggerRef:k,withArrow:w,inertTrapFocus:x}=e;return{popover:y.useMemo(()=>({appearance:r,arrowRef:n,contentRef:a,inline:s,mountNode:c,open:u,openOnContext:d,openOnHover:g,setOpen:p,size:m,toggleOpen:v,trapFocus:S,triggerRef:k,withArrow:w,inertTrapFocus:x}),[r,n,a,s,c,u,d,g,p,m,v,S,k,w,x])}}const X7=(e,r)=>{var n;return Bt(Ng.Provider,{value:(n=r==null?void 0:r.popover)!==null&&n!==void 0?n:jS,children:[e.popoverTrigger,e.popoverSurface&&se(e.surfaceMotion,{children:se(bg,{children:e.popoverSurface})})]})},qS=e=>{const r=P7(e),n=G7(r);return X7(r,n)};qS.displayName="Popover";const W7=e=>{const{children:r,disableButtonEnhancement:n=!1}=e,a=Xu(r),s=Ht(N=>N.open),c=Ht(N=>N.setOpen),u=Ht(N=>N.toggleOpen),d=Ht(N=>N.triggerRef),g=Ht(N=>N.openOnHover),p=Ht(N=>N.openOnContext),{triggerAttributes:m}=$u(),v=N=>{p&&(N.preventDefault(),c(N,!0))},S=N=>{p||u(N)},k=N=>{N.key===Zu&&s&&!N.isDefaultPrevented()&&(c(N,!1),N.preventDefault())},w=N=>{g&&c(N,!0)},x=N=>{g&&c(N,!1)},z={...m,"aria-expanded":`${s}`,...a==null?void 0:a.props,onMouseEnter:_e(We(a==null?void 0:a.props.onMouseEnter,w)),onMouseLeave:_e(We(a==null?void 0:a.props.onMouseLeave,x)),onContextMenu:_e(We(a==null?void 0:a.props.onContextMenu,v)),ref:Ct(d,Gu(a))},T={...z,onClick:_e(We(a==null?void 0:a.props.onClick,S)),onKeyDown:_e(We(a==null?void 0:a.props.onKeyDown,k))},j=zu((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",T);return{children:ag(e.children,zu((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?z:n?T:j))}},Q7=e=>e.children,Cg=e=>{const r=W7(e);return Q7(r)};Cg.displayName="PopoverTrigger";Cg.isFluentTriggerComponent=!0;const Y7=6,$7=4,K7=e=>-1,Z7=e=>{};function J7(e){const{targetDocument:r}=dt(),n=r==null?void 0:r.defaultView,a=n?n.setTimeout:K7,s=n?n.clearTimeout:Z7,c=y.useRef(void 0),u=y.useCallback((g,p)=>(c.current!==void 0&&s(c.current),c.current=a(g,p??0),c.current),[s,a]),d=y.useCallback(()=>{c.current!==void 0&&(s(c.current),c.current=void 0)},[s]);return y.useEffect(()=>{const g=e.current;return()=>{(!g||!g.isConnected)&&d()}},[d,e]),[u,d]}const e8=e=>{"use no memo";var r,n,a,s,c,u,d;const g=S_(),p=A_(),{targetDocument:m}=dt(),[v,S]=Qr({state:e.visible,initialState:!1}),{children:k,content:w,withArrow:x=!1,positioning:z="above",onVisibleChange:T,relationship:j,showDelay:N=250,hideDelay:C=250,mountNode:E}=e,M={withArrow:x,positioning:z,showDelay:N,hideDelay:C,relationship:j,visible:v,shouldRenderTooltip:v,mountNode:E,components:{content:"div"},content:Ve(w,{defaultProps:{role:"tooltip"},elementType:"div"})};M.content.id=Xo("tooltip-",M.content.id);const W={enabled:M.visible,arrowPadding:2*$7,position:"above",align:"center",offset:4,...Ns(M.positioning)};M.withArrow&&(W.offset=NS(W.offset,Y7));const{targetRef:G,containerRef:oe,arrowRef:ie}=Tg(W),[ve,ae]=J7(oe),ue=y.useCallback((L,Z)=>{ae(),S(ne=>(Z.visible!==ne&&(T==null||T(L,Z)),Z.visible))},[ae,S,T]);M.content.ref=Ct(M.content.ref,oe),M.arrowRef=ie,At(()=>{if(v){var L;const Z={hide:fe=>ue(void 0,{visible:!1,documentKeyboardEvent:fe})};(L=g.visibleTooltip)===null||L===void 0||L.hide(),g.visibleTooltip=Z;const ne=fe=>{fe.key===Zu&&!fe.defaultPrevented&&(Z.hide(fe),fe.preventDefault())};return m==null||m.addEventListener("keydown",ne,{capture:!0}),()=>{g.visibleTooltip===Z&&(g.visibleTooltip=void 0),m==null||m.removeEventListener("keydown",ne,{capture:!0})}}},[g,m,v,ue]);const re=y.useRef(!1),ye=y.useCallback(L=>{if(L.type==="focus"&&re.current){re.current=!1;return}const Z=g.visibleTooltip?0:M.showDelay;ve(()=>{ue(L,{visible:!0})},Z),L.persist()},[ve,ue,M.showDelay,g]),P=zT(),[J]=y.useState(()=>{const L=ne=>{var fe;!((fe=ne.detail)===null||fe===void 0)&&fe.isFocusedProgrammatically&&!P()&&(re.current=!0)};let Z=null;return ne=>{Z==null||Z.removeEventListener(_o,L),ne==null||ne.addEventListener(_o,L),Z=ne}}),te=y.useCallback(L=>{let Z=M.hideDelay;L.type==="blur"&&(Z=0,re.current=(m==null?void 0:m.activeElement)===L.target),ve(()=>{ue(L,{visible:!1})},Z),L.persist()},[ve,ue,M.hideDelay,m]);M.content.onPointerEnter=We(M.content.onPointerEnter,ae),M.content.onPointerLeave=We(M.content.onPointerLeave,te),M.content.onFocus=We(M.content.onFocus,ae),M.content.onBlur=We(M.content.onBlur,te);const ce=Xu(k),ze={},D=(ce==null||(r=ce.props)===null||r===void 0?void 0:r["aria-haspopup"])&&((ce==null||(n=ce.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(ce==null||(a=ce.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return j==="label"?typeof M.content.children=="string"?ze["aria-label"]=M.content.children:(ze["aria-labelledby"]=M.content.id,M.shouldRenderTooltip=!0):j==="description"&&(ze["aria-describedby"]=M.content.id,M.shouldRenderTooltip=!0),(p||D)&&(M.shouldRenderTooltip=!1),M.children=ag(k,{...ze,...ce==null?void 0:ce.props,ref:Ct(Gu(ce),J,W.target===void 0?G:void 0),onPointerEnter:_e(We(ce==null||(s=ce.props)===null||s===void 0?void 0:s.onPointerEnter,ye)),onPointerLeave:_e(We(ce==null||(c=ce.props)===null||c===void 0?void 0:c.onPointerLeave,te)),onFocus:_e(We(ce==null||(u=ce.props)===null||u===void 0?void 0:u.onFocus,ye)),onBlur:_e(We(ce==null||(d=ce.props)===null||d===void 0?void 0:d.onBlur,te))}),M},t8=e=>{"use no memo";const{appearance:r="normal",...n}=e,a=e8(n);return{appearance:r,...a}},o8=e=>Bt(y.Fragment,{children:[e.children,e.shouldRenderTooltip&&se(Cs,{mountNode:e.mountNode,children:Bt(e.content,{children:[e.withArrow&&se("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),r8={content:"fui-Tooltip__content"},n8=Se({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),a8=e=>{"use no memo";const r=n8();return e.content.className=me(r8.content,r.root,e.appearance==="inverted"&&r.inverted,e.visible&&r.visible,e.content.className),e.arrowClassName=r.arrow,e},Eg=e=>{const r=t8(e);return a8(r),ht("useTooltipStyles_unstable")(r),o8(r)};Eg.displayName="Tooltip";Eg.isFluentTriggerComponent=!0;const i8=e=>{const{iconOnly:r,iconPosition:n}=e;return Bt(e.root,{children:[n!=="after"&&e.icon&&se(e.icon,{}),!r&&e.root.children,n==="after"&&e.icon&&se(e.icon,{})]})},FS=y.createContext(void 0),l8={};FS.Provider;const s8=()=>{var e;return(e=y.useContext(FS))!==null&&e!==void 0?e:l8},c8=(e,r)=>{const{size:n}=s8(),{appearance:a="secondary",shape:s="rounded",size:c=n??"medium",...u}=e,d=u8(u,r);return{appearance:a,shape:s,size:c,...d}},u8=(e,r)=>{const{icon:n,iconPosition:a="before",...s}=e,c=et(n,{elementType:"span"});var u,d;return{disabled:(u=e.disabled)!==null&&u!==void 0?u:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:a,iconOnly:!!(c!=null&&c.children&&!e.children),components:{root:"button",icon:"span"},root:Ve(zu(s.as,s),{elementType:"button",defaultProps:{ref:r,type:e.as!=="a"?"button":void 0}}),icon:c}},by={root:"fui-Button",icon:"fui-Button__icon"},f8=Le("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),d8=Le("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),h8=Se({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),g8=Se({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),p8=Se({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),m8=Se({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),v8=Se({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),b8=e=>{"use no memo";const r=f8(),n=d8(),a=h8(),s=g8(),c=p8(),u=m8(),d=v8(),{appearance:g,disabled:p,disabledFocusable:m,icon:v,iconOnly:S,iconPosition:k,shape:w,size:x}=e;return e.root.className=me(by.root,r,g&&a[g],a[x],v&&x==="small"&&a.smallWithIcon,v&&x==="large"&&a.largeWithIcon,a[w],(p||m)&&s.base,(p||m)&&s.highContrast,g&&(p||m)&&s[g],g==="primary"&&c.primary,c[x],c[w],S&&u[x],e.root.className),e.icon&&(e.icon.className=me(by.icon,n,!!e.root.children&&d[k],d[x],e.icon.className)),e},mt=y.forwardRef((e,r)=>{const n=c8(e,r);return b8(n),ht("useButtonStyles_unstable")(n),i8(n)});mt.displayName="Button";const HS=y.createContext(void 0),y8=HS.Provider,x8=()=>y.useContext(HS),S8=e=>{var r,n,a,s;const{generatedControlId:c,orientation:u,required:d,size:g,validationState:p}=e,m=(r=e.label)===null||r===void 0?void 0:r.htmlFor,v=(n=e.label)===null||n===void 0?void 0:n.id,S=(a=e.validationMessage)===null||a===void 0?void 0:a.id,k=(s=e.hint)===null||s===void 0?void 0:s.id;return{field:y.useMemo(()=>({generatedControlId:c,hintId:k,labelFor:m,labelId:v,orientation:u,required:d,size:g,validationMessageId:S,validationState:p}),[c,k,m,v,u,d,g,S,p])}};function tl(e,r){return LS(x8(),e,r)}function LS(e,r,n){if(!e)return r;r={...r};const{generatedControlId:a,hintId:s,labelFor:c,labelId:u,required:d,validationMessageId:g,validationState:p}=e;if(a){var m,v;(v=(m=r).id)!==null&&v!==void 0||(m.id=a)}if(u&&(!(n!=null&&n.supportsLabelFor)||c!==r.id)){var S,k,w;(w=(S=r)[k="aria-labelledby"])!==null&&w!==void 0||(S[k]=u)}if((g||s)&&(r["aria-describedby"]=[g,s,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var x,z,T;(T=(x=r)[z="aria-invalid"])!==null&&T!==void 0||(x[z]=!0)}if(d)if(n!=null&&n.supportsRequired){var j,N;(N=(j=r).required)!==null&&N!==void 0||(j.required=!0)}else{var C,E,M;(M=(C=r)[E="aria-required"])!==null&&M!==void 0||(C[E]=!0)}if(n!=null&&n.supportsSize){var W,G;(G=(W=r).size)!==null&&G!==void 0||(W.size=e.size)}return r}const w8=(e,r)=>{let{children:n}=e;return typeof n=="function"&&(n=n(LS(r.field)||{})),se(y8,{value:r==null?void 0:r.field,children:Bt(e.root,{children:[e.label&&se(e.label,{}),n,e.validationMessage&&Bt(e.validationMessage,{children:[e.validationMessageIcon&&se(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&se(e.hint,{})]})})},k8=(e,r)=>{const{weight:n="regular",size:a="medium",...s}=e,c=B8(s,r);return{weight:n,size:a,...c}},B8=(e,r)=>{const{disabled:n=!1,required:a=!1,...s}=e;return{disabled:n,required:et(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ve(Vt("label",{ref:r,...s}),{elementType:"label"})}},_8=e=>Bt(e.root,{children:[e.root.children,e.required&&se(e.required,{})]}),yy={root:"fui-Label",required:"fui-Label__required"},z8=Se({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),T8=e=>{"use no memo";const r=z8();return e.root.className=me(yy.root,r.root,e.disabled&&r.disabled,r[e.size],e.weight==="semibold"&&r.semibold,e.root.className),e.required&&(e.required.className=me(yy.required,r.required,e.disabled&&r.disabled,e.required.className)),e},Zr=y.forwardRef((e,r)=>{const n=k8(e,r);return T8(n),ht("useLabelStyles_unstable")(n),_8(n)});Zr.displayName="Label";const N8=(e,r)=>{const{children:n,required:a=!1,validationState:s=e.validationMessage?"error":"none"}=e,c=Xo("field-"),u=c+"__control",d=Ve(Vt("div",{...e,ref:r},["children"]),{elementType:"div"}),g=et(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),p=et(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:s==="error"||s==="warning"?"alert":void 0},elementType:"div"}),m=et(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),v=et(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:n,generatedControlId:u,required:a,validationState:s,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:g,validationMessageIcon:v,validationMessage:p,hint:m}},C8={error:y.createElement(kC,null),warning:y.createElement(bC,null),success:y.createElement(xC,null),none:void 0},E8=(e,r)=>{const{orientation:n="vertical",size:a="medium",...s}=e,c=N8(s,r),u=C8[c.validationState];return{...c,components:{...c.components,label:Zr},label:et(e.label,{defaultProps:{size:a,...c.label},elementType:Zr}),validationMessageIcon:et(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},Jl={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},j8=Se({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),R8=Se({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),A8=Le("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),D8=Se({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),O8=Le("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),M8=Se({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),q8=e=>{"use no memo";const{validationState:r,size:n}=e,a=e.orientation==="horizontal",s=j8();e.root.className=me(Jl.root,s.base,a&&s.horizontal,a&&!e.label&&s.horizontalNoLabel,e.root.className);const c=R8();e.label&&(e.label.className=me(Jl.label,c.base,a&&c.horizontal,a&&n==="small"&&c.horizontalSmall,a&&n==="large"&&c.horizontalLarge,!a&&c.vertical,!a&&n==="large"&&c.verticalLarge,e.label.className));const u=O8(),d=M8();e.validationMessageIcon&&(e.validationMessageIcon.className=me(Jl.validationMessageIcon,u,r!=="none"&&d[r],e.validationMessageIcon.className));const g=A8(),p=D8();return e.validationMessage&&(e.validationMessage.className=me(Jl.validationMessage,g,r==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=me(Jl.hint,g,e.hint.className)),e},PS=y.forwardRef((e,r)=>{const n=E8(e,r);q8(n),ht("useFieldStyles_unstable")(n);const a=S8(n);return w8(n,a)});PS.displayName="Field";const F8=(e,r)=>{"use no memo";e=tl(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...s}=e,c=H8(s,r),u=c.checked==="mixed";let d;if(u?n==="circular"?d=y.createElement(gg,null):d=a==="large"?y.createElement(wC,null):y.createElement(SC,null):c.checked&&(d=a==="large"?y.createElement(yC,null):y.createElement(rS,null)),c.indicator){var g,p;(p=(g=c.indicator).children)!==null&&p!==void 0||(g.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:Zr},label:et(e.label,{defaultProps:{...c.label,size:"medium"},elementType:Zr})}},H8=(e,r)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:s="after",onChange:c}=e,[u,d]=Qr({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),g=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",m=Xo("checkbox-",g.primary.id),v={checked:u,disabled:n,labelPosition:s,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ve(e.root,{defaultProps:{ref:j2(),...g.root},elementType:"span"}),input:Ve(e.input,{defaultProps:{type:"checkbox",id:m,ref:r,checked:u===!0,...g.primary},elementType:"input"}),label:et(e.label,{defaultProps:{htmlFor:m,disabled:n,required:a},elementType:"label"}),indicator:et(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};v.input.onChange=We(v.input.onChange,k=>{const w=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;c==null||c(k,{checked:w}),d(w)});const S=Ct(v.input.ref);return v.input.ref=S,At(()=>{S.current&&(S.current.indeterminate=p)},[S,p]),v},L8=e=>Bt(e.root,{children:[se(e.input,{}),e.labelPosition==="before"&&e.label&&se(e.label,{}),e.indicator&&se(e.indicator,{}),e.labelPosition==="after"&&e.label&&se(e.label,{})]}),ru={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},P8=Le("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),I8=Se({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),U8=Le("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),V8=Se({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),G8=Le("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),X8=Se({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),W8=Se({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),Q8=e=>{"use no memo";const{checked:r,disabled:n,labelPosition:a,shape:s,size:c}=e,u=P8(),d=I8();e.root.className=me(ru.root,u,n?d.disabled:r==="mixed"?d.mixed:r?d.checked:d.unchecked,e.root.className);const g=U8(),p=V8();e.input.className=me(ru.input,g,c==="large"&&p.large,p[a],e.input.className);const m=G8(),v=X8();e.indicator&&(e.indicator.className=me(ru.indicator,m,c==="large"&&v.large,s==="circular"&&v.circular,e.indicator.className));const S=W8();return e.label&&(e.label.className=me(ru.label,S.base,S[c],S[a],e.label.className)),e},IS=y.forwardRef((e,r)=>{const n=F8(e,r);return Q8(n),ht("useCheckboxStyles_unstable")(n),L8(n)});IS.displayName="Checkbox";const US=Ku({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});US.Provider;const Y8={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Es=Ku(void 0),wo=e=>fg(Es,(r=Y8)=>e(r)),$8=Es.Provider;function K8(e){const{appearance:r,open:n,getOptionById:a,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:d,setOpen:g,size:p,activeDescendantController:m,onOptionClick:v,onActiveDescendantChange:S}=e,k={activeOption:void 0,appearance:r,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:g,size:p},w={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:S},x=y.useMemo(()=>({controller:m}),[m]);return{combobox:k,activeDescendant:x,listbox:w}}function Z8(e){const r=dg(Es),{getOptionById:n,getOptionsMatchingValue:a,multiselect:s,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:g}=e,p=wo(x=>x.registerOption),m=wo(x=>x.onOptionClick),v=wo(x=>x.onActiveDescendantChange),k={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:s,registerOption:r?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:m,onActiveDescendantChange:v},w=y.useMemo(()=>({controller:g}),[g]);return{listbox:k,activeDescendant:w}}function ju(e,r={}){const{open:n=!0,multiselect:a=!1}=r,s=e.key,{altKey:c,ctrlKey:u,key:d,metaKey:g}=e;return d.length===1&&s!==Hn&&!c&&!u&&!g?"Type":n?s===Wh&&c||s===is||!a&&s===Hn?"CloseSelect":a&&s===Hn?"Select":s===Zu?"Close":s===Xb?"Next":s===Wh?"Previous":s===ON?"First":s===DN?"Last":s===qN?"PageUp":s===MN?"PageDown":s===jN?"Tab":"None":s===Xb||s===Wh||s===is||s===Hn?"Open":"None"}const VS=()=>{const e=y.useRef(new Map),r=y.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:m})=>p(m)),getOptionsMatchingValue:p=>{const m=[];for(const v of e.current.values())p(v.value)&&m.push(v);return m}}),[]),n=y.useCallback(a=>(e.current.set(a.id,a),()=>e.current.delete(a.id)),[]);return{...r,options:Array.from(e.current.values()),registerOption:n}},GS=e=>{const{defaultSelectedOptions:r,multiselect:n,onOptionSelect:a}=e,[s,c]=Qr({state:e.selectedOptions,defaultState:r,initialState:[]}),u=y.useCallback((g,p)=>{if(p.disabled)return;let m=[p.value];if(n){const v=s.findIndex(S=>S===p.value);v>-1?m=[...s.slice(0,v),...s.slice(v+1)]:m=[...s,p.value]}c(m),a==null||a(g,{optionValue:p.value,optionText:p.text,selectedOptions:m})},[a,n,s,c]);return{clearSelection:g=>{c([]),a==null||a(g,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:s}},Ru={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},J8=Se({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),ej=e=>{"use no memo";const{disabled:r,multiselect:n,selected:a}=e,s=J8();return e.root.className=me(Ru.root,s.root,s.active,r&&s.disabled,a&&s.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=me(Ru.checkIcon,s.checkIcon,n&&s.multiselectCheck,a&&s.selectedCheck,a&&n&&s.selectedMultiselectCheck,r&&s.checkDisabled,r&&n&&s.multiselectCheckDisabled,e.checkIcon.className)),e},xy={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},tj=(e,r)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,s=VS(),{listboxRef:c,activeParentRef:u,controller:d}=J2({matchOption:re=>re.classList.contains(Ru.root)}),g=dg(Es),p=wo(re=>re.onActiveDescendantChange),m=wo(re=>re.getOptionById),v=wo(re=>re.getOptionsMatchingValue),S=g?m:s.getOptionById,k=g?v:s.getOptionsMatchingValue,w=y.useMemo(()=>{let re=null;const ye=P=>{const J=P;p==null||p(J)};return P=>{if(!P){re==null||re.removeEventListener("activedescendantchange",ye);return}re=P,re.addEventListener("activedescendantchange",ye)}},[p]),[x,z]=y.useState(!1);R2(z);const T=$2(),j=HN(),N=j?T.controller:d,{clearSelection:C,selectedOptions:E,selectOption:M}=GS(e),W=re=>{const ye=ju(re,{open:!0}),P=N.active(),J=P?S(P):null;switch(ye){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":re.preventDefault();break}switch(ye){case"Next":J?N.next():N.first();break;case"Previous":J?N.prev():N.first();break;case"PageUp":case"First":N.first();break;case"PageDown":case"Last":N.last();break;case"Select":case"CloseSelect":J&&M(re,J);break}},G=wo(re=>re.selectedOptions),oe=wo(re=>re.selectOption),ie=g?{selectedOptions:G,selectOption:oe,...xy}:{selectedOptions:E,selectOption:M,...xy};y.useEffect(()=>{if(!j){if(N.hideFocusVisibleAttributes(),!a)if(!n&&ie.selectedOptions.length>0){const re=k(ye=>ye===ie.selectedOptions[0]).pop();re!=null&&re.id&&N.focus(re.id)}else N.first();return()=>{N.blur()}}},[]);const ve=y.useCallback(()=>{j||(N.showFocusVisibleAttributes(),x&&N.scrollActiveIntoView())},[N,j,x]),ae=y.useCallback(()=>{j||N.hideFocusVisibleAttributes()},[N,j]),ue={components:{root:"div"},root:Ve(Vt("div",{ref:Ct(r,u,c,w),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!g,multiselect:n,clearSelection:C,activeDescendantController:N,onActiveDescendantChange:p,...s,...ie};return ue.root.onKeyDown=_e(We(ue.root.onKeyDown,W)),ue.root.onFocus=_e(We(ue.root.onFocus,ve)),ue.root.onBlur=_e(We(ue.root.onBlur,ae)),ue},oj=(e,r)=>se(Y2,{value:r.activeDescendant,children:se(Es.Provider,{value:r.listbox,children:se(e.root,{})})}),rj={root:"fui-Listbox"},nj=Se({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),aj=e=>{"use no memo";const r=nj();return e.root.className=me(rj.root,r.root,e.root.className),e},jg=y.forwardRef((e,r)=>{const n=tj(e,r),a=Z8(n);return aj(n),ht("useListboxStyles_unstable")(n),oj(n,a)});jg.displayName="Listbox";function ij(e,r){if(e!==void 0)return e;let n="",a=!1;return y.Children.forEach(r,s=>{typeof s=="string"?n+=s:a=!0}),a&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const lj=(e,r)=>{"use no memo";const n=sj(e,r);let a=y.createElement(uC,null);if(n.multiselect&&(a=n.selected?y.createElement(rS,null):""),n.checkIcon){var s,c;(c=(s=n.checkIcon).children)!==null&&c!==void 0||(s.children=a)}return n},sj=(e,r)=>{const{children:n,disabled:a,text:s,value:c}=e,u=y.useRef(null),d=ij(s,n),g=c??d,p=Xo("fluent-option",e.id),m=y.useMemo(()=>({id:p,disabled:a,text:d,value:g}),[p,a,d,g]),{controller:v}=$2(),S=wo(N=>N.multiselect),k=wo(N=>N.registerOption),w=wo(N=>{const C=N.selectedOptions;return g!==void 0&&C.find(E=>E===g)!==void 0}),x=wo(N=>N.selectOption),z=wo(N=>N.onOptionClick),T=N=>{var C;if(a){N.preventDefault();return}v.focus(p),x(N,m),z(N),(C=e.onClick)===null||C===void 0||C.call(e,N)};y.useEffect(()=>{if(p&&u.current)return k(m,u.current)},[p,m,k]);const j=S?{role:"menuitemcheckbox","aria-checked":w}:{role:"option","aria-selected":w};return{components:{root:"div",checkIcon:"span"},root:Ve(Vt("div",{ref:Ct(r,u),"aria-disabled":a?"true":void 0,id:p,...j,...e,onClick:T}),{elementType:"div"}),checkIcon:et(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:S,selected:w,focusVisible:!1,active:!1}},cj=e=>Bt(e.root,{children:[e.checkIcon&&se(e.checkIcon,{}),e.root.children]}),XS=y.forwardRef((e,r)=>{const n=lj(e,r);return ej(n),ht("useOptionStyles_unstable")(n),cj(n)});XS.displayName="Option";const uj=e=>{"use no memo";const{appearance:r="outline",disableAutoFocus:n,children:a,clearable:s=!1,editable:c=!1,inlinePopup:u=!1,mountNode:d=void 0,multiselect:g,onOpenChange:p,size:m="medium",activeDescendantController:v,freeform:S=!1,disabled:k=!1,onActiveOptionChange:w=null}=e,x=VS(),{getOptionsMatchingValue:z}=x,{getOptionById:T}=x,j=y.useCallback(()=>{const L=v.active();return L?T(L):void 0},[v,T]),N=j(),C=y.useCallback(L=>{let Z;if(typeof L=="function"){const ne=j();Z=L(ne)}Z?v.focus(Z.id):v.blur()},[v,j]),[E,M]=y.useState(!1),[W,G]=y.useState(!1),oe=y.useRef(!1),ie=i2(),[ve,ae]=Qr({state:e.value,initialState:void 0}),{selectedOptions:ue,selectOption:re,clearSelection:ye}=GS(e),P=y.useCallback((L,Z)=>{o0.unstable_batchedUpdates(()=>{ae(void 0),re(L,Z)})},[ae,re]),J=y.useMemo(()=>{if(ve!==void 0)return ve;if(ie&&e.defaultValue!==void 0)return e.defaultValue;const L=z(Z=>ue.includes(Z)).map(Z=>Z.text);return g?c?"":L.join(", "):L[0]},[ve,c,z,g,ue]),[te,ce]=Qr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),ze=y.useCallback((L,Z)=>{k||(p==null||p(L,{open:Z}),o0.unstable_batchedUpdates(()=>{!Z&&!S&&ae(void 0),ce(Z)}))},[p,ce,ae,S,k]);y.useEffect(()=>{if(te){if(!g&&ue.length>0){const L=z(Z=>Z===ue[0]).pop();L!=null&&L.id&&v.focus(L.id)}}else v.blur()},[te,v]),y.useEffect(()=>{te&&!n&&!v.active()&&v.first()},[te,a,n,v,T]);const D=_e(L=>{const Z=L.detail.previousId?x.getOptionById(L.detail.previousId):null,ne=x.getOptionById(L.detail.id);w==null||w(L,{event:L,type:"change",previousOption:Z,nextOption:ne})});return{...x,freeform:S,disabled:k,selectOption:P,clearSelection:ye,selectedOptions:ue,activeOption:N,appearance:r,clearable:s,focusVisible:E,ignoreNextBlur:oe,inlinePopup:u,mountNode:d,open:te,hasFocus:W,setActiveOption:C,setFocusVisible:M,setHasFocus:G,setOpen:ze,setValue:ae,size:m,value:J,multiselect:g,onOptionClick:_e(L=>{g||ze(L,!1)}),onActiveDescendantChange:D}};function fj(e){const{positioning:r}=e,a={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Ns(r)},{targetRef:s,containerRef:c}=Tg(a);return[c,s]}function dj(e,r,n){const{state:{multiselect:a},triggerRef:s,defaultProps:c}=n,u=Xo("fluent-listbox",Qx(e)?e.id:void 0),d=et(e,{renderByDefault:!0,elementType:jg,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),g=tl({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&g["aria-labelledby"]&&(d["aria-labelledby"]=g["aria-labelledby"]);const p=_e(We(S=>{S.preventDefault()},d==null?void 0:d.onMouseDown)),m=_e(We(S=>{var k;S.preventDefault(),(k=s.current)===null||k===void 0||k.focus()},d==null?void 0:d.onClick)),v=Ct(d==null?void 0:d.ref,r);return d&&(d.ref=v,d.onMouseDown=p,d.onClick=m),d}function hj(e,r,n){const{state:{open:a,setOpen:s,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:g}=n,p=Ve(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),m=y.useRef(null);return p.ref=Ct(m,p.ref,r),p.onBlur=We(v=>{s(v,!1),c(!1)},p.onBlur),p.onFocus=We(v=>{v.target===v.currentTarget&&c(!0)},p.onFocus),p.onClick=We(v=>{s(v,!a)},p.onClick),p.onKeyDown=We(gj({activeDescendantController:g,...n.state}),p.onKeyDown),p}function gj(e){const{activeDescendantController:r,getOptionById:n,setOpen:a,selectOption:s,multiselect:c,open:u}=e,d=y.useCallback(()=>{const x=r.active();return x?n(x):void 0},[r,n]),g=()=>{r.first()},p=()=>{r.last()},m=x=>{x?r.next():r.first()},v=x=>{x?r.prev():r.first()},S=()=>{for(let x=0;x<10;x++)r.prev()},k=()=>{for(let x=0;x<10;x++)r.next()},w=TT();return _e(x=>{const z=ju(x,{open:u,multiselect:c}),T=d();switch(z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":x.preventDefault();break}switch(w(!0),z){case"First":g();break;case"Last":p();break;case"Next":m(T);break;case"Previous":v(T);break;case"PageDown":k();break;case"PageUp":S();break;case"Open":a(x,!0);break;case"Close":x.stopPropagation(),a(x,!1);break;case"CloseSelect":!c&&!(T!=null&&T.disabled)&&a(x,!1);case"Select":T&&s(x,T);break;case"Tab":!c&&T&&s(x,T);break}})}function pj(e,r,n){"use no memo";const{state:{open:a,value:s,selectOption:c,setValue:u,multiselect:d,selectedOptions:g,clearSelection:p,getOptionById:m,setOpen:v},freeform:S,defaultProps:k,activeDescendantController:w}=n,x=G=>{if(!a&&!S){const oe=w.active(),ie=oe?m(oe):null;s&&ie&&s.trim().toLowerCase()===(ie==null?void 0:ie.text.toLowerCase())&&c(G,ie),u(void 0)}},z=G=>{const oe=G==null?void 0:G.trim().toLowerCase();if(!oe||oe.length===0){w.blur();return}const ie=ae=>ae.toLowerCase().indexOf(oe)===0,ve=w.find(ae=>{const ue=m(ae);return!!ue&&ie(ue.text)});if(!ve){w.blur();return}return m(ve)},T=G=>{const oe=G.target.value;u(oe);const ie=z(oe);!d&&g.length===1&&(oe.length<1||!ie)&&p(G)},j=hj(e,r,{state:n.state,defaultProps:k,elementType:"input",activeDescendantController:w});j.onChange=We(j.onChange,T),j.onBlur=We(j.onBlur,x);const[N,C]=y.useState(!1),E=y.useRef(!1),M=j.onKeyDown,W=_e(G=>{!a&&ju(G)==="Type"&&v(G,!0),G.key===RN||G.key===AN?C(!0):C(!1);const oe=ju(G,{open:a,multiselect:d});if(oe==="Type"?E.current=!0:(oe==="Open"&&G.key!==" "||oe==="Next"||oe==="Previous"||oe==="First"||oe==="Last"||oe==="PageUp"||oe==="PageDown")&&(E.current=!1),(E.current||!a)&&G.key===" "){var ie;e==null||(ie=e.onKeyDown)===null||ie===void 0||ie.call(e,G);return}M==null||M(G)});return j.onKeyDown=W,N&&(j["aria-activedescendant"]=void 0),j}const mj=(e,r)=>{"use no memo";var n,a;e=tl(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:s,activeParentRef:c,controller:u}=J2({matchOption:fe=>fe.classList.contains(Ru.root)}),d=uj({...e,editable:!0,activeDescendantController:u}),{appearance:g,size:p,...m}=d,{clearable:v,clearSelection:S,disabled:k,multiselect:w,open:x,selectedOptions:z,setOpen:T,value:j,hasFocus:N}=m,[C,E]=fj(e),{disableAutoFocus:M=!1,freeform:W,inlinePopup:G}=e,oe=Xo("combobox-"),{primary:ie,root:ve}=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ae=y.useRef(null),ue=dj(e.listbox,Ct(C,s),{state:d,triggerRef:ae,defaultProps:{children:e.children,disableAutoFocus:M}});var re;const ye=pj((re=e.input)!==null&&re!==void 0?re:{},Ct(ae,c,r),{state:d,freeform:W,defaultProps:{type:"text",value:j??"","aria-controls":x?ue==null?void 0:ue.id:void 0,...ie},activeDescendantController:u}),P=Ve(e.root,{defaultProps:{"aria-owns":!G&&x?ue==null?void 0:ue.id:void 0,...ve},elementType:"div"});P.ref=Ct(P.ref,E);const J=z.length>0&&!k&&v&&!w,te={components:{root:"div",input:"input",expandIcon:"span",listbox:jg,clearIcon:"span"},root:P,input:ye,listbox:x||N?ue:void 0,clearIcon:et(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:et(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":k?"true":void 0,"aria-expanded":x,role:"button"},elementType:"span"}),showClearIcon:J,activeDescendantController:u,...m},{targetDocument:ce}=dt();c2({element:ce,callback:fe=>T(fe,!1),refs:[ae,C,E],disabled:!x});const{onMouseDown:ze}=te.expandIcon||{},D=_e(We(ze,fe=>{var ke;fe.preventDefault(),te.setOpen(fe,!te.open),(ke=ae.current)===null||ke===void 0||ke.focus()}));if(te.expandIcon){te.expandIcon.onMouseDown=D;const fe=te.expandIcon["aria-label"]||te.expandIcon["aria-labelledby"],ke="Open";if(!fe)if(e["aria-labelledby"]){var L;const De=(L=te.expandIcon.id)!==null&&L!==void 0?L:`${oe}-chevron`,bt=`${De} ${te.input["aria-labelledby"]}`;te.expandIcon["aria-label"]=ke,te.expandIcon.id=De,te.expandIcon["aria-labelledby"]=bt}else e["aria-label"]?te.expandIcon["aria-label"]=`${ke} ${e["aria-label"]}`:te.expandIcon["aria-label"]=ke}const Z=_e(We((n=te.clearIcon)===null||n===void 0?void 0:n.onMouseDown,fe=>{fe.preventDefault()})),ne=_e(We((a=te.clearIcon)===null||a===void 0?void 0:a.onClick,fe=>{S(fe)}));return te.clearIcon&&(te.clearIcon.onMouseDown=Z,te.clearIcon.onClick=ne),w&&(te.clearIcon=void 0),te},vj=(e,r)=>{"use no memo";const{appearance:n="outline",size:a="medium",...s}=e,c=mj(s,r);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=y.createElement(gC,null))}if(c.expandIcon){var g,p;(p=(g=c.expandIcon).children)!==null&&p!==void 0||(g.children=y.createElement(fC,null))}return{...c,appearance:n,size:a}},bj=(e,r)=>se(e.root,{children:se(Y2,{value:r.activeDescendant,children:se($8,{value:r.listbox,children:Bt(US.Provider,{value:r.combobox,children:[se(e.input,{}),e.clearIcon&&se(e.clearIcon,{}),e.expandIcon&&se(e.expandIcon,{}),e.listbox&&(e.inlinePopup?se(e.listbox,{}):se(Cs,{mountNode:e.mountNode,children:se(e.listbox,{})}))]})})})}),es={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},yj=Se({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),xj=Se({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),Sj=Se({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),wj=e=>{"use no memo";const{appearance:r,open:n,size:a,showClearIcon:s}=e,c=`${e.input["aria-invalid"]}`=="true",u=e.input.disabled,d=yj(),g=Sj(),p=xj();return e.root.className=me(es.root,d.root,d[r],d[a],!u&&r==="outline"&&d.outlineInteractive,c&&r!=="underline"&&d.invalid,c&&r==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=me(es.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=me(es.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=me(es.expandIcon,g.icon,g[a],u&&g.disabled,s&&g.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=me(es.clearIcon,g.icon,g[a],u&&g.disabled,!s&&g.hidden,e.clearIcon.className)),e},WS=y.forwardRef((e,r)=>{const n=vj(e,r),a=K8(n);return wj(n),ht("useComboboxStyles_unstable")(n),bj(n,a)});WS.displayName="Combobox";const kj=(e,r)=>{e=tl(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=og();var a;const{size:s="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=Bj(u,r);return{size:s,appearance:c,...d}},Bj=(e,r)=>{const{onChange:n}=e,[a,s]=Qr({state:e.value,defaultState:e.defaultValue,initialState:""}),c=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ve(e.input,{defaultProps:{type:"text",ref:r,...c.primary},elementType:"input"}),contentAfter:et(e.contentAfter,{elementType:"span"}),contentBefore:et(e.contentBefore,{elementType:"span"}),root:Ve(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=_e(d=>{const g=d.target.value;n==null||n(d,{value:g}),s(g)}),u},_j=e=>Bt(e.root,{children:[e.contentBefore&&se(e.contentBefore,{}),se(e.input,{}),e.contentAfter&&se(e.contentAfter,{})]}),nu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},zj=Le("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),Tj=Se({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),Nj=Le("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),Cj=Se({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Ej=Le("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),jj=Se({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),Rj=e=>{"use no memo";const{size:r,appearance:n}=e,a=e.input.disabled,s=`${e.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=Tj(),d=Cj(),g=jj();e.root.className=me(nu.root,zj(),u[r],e.contentBefore&&u[`${r}WithContentBefore`],e.contentAfter&&u[`${r}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&s&&u.invalid,a&&u.disabled,e.root.className),e.input.className=me(nu.input,Nj(),d[r],e.contentBefore&&d[`${r}WithContentBefore`],e.contentAfter&&d[`${r}WithContentAfter`],a&&d.disabled,e.input.className);const p=[Ej(),a&&g.disabled,g[r]];return e.contentBefore&&(e.contentBefore.className=me(nu.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=me(nu.contentAfter,...p,e.contentAfter.className)),e},A0=y.forwardRef((e,r)=>{const n=kj(e,r);return Rj(n),ht("useInputStyles_unstable")(n),_j(n)});A0.displayName="Input";const Aj=y.createContext(void 0),Dj=Aj.Provider,QS=y.createContext(void 0),Oj={};QS.Provider;const Mj=()=>{var e;return(e=y.useContext(QS))!==null&&e!==void 0?e:Oj},qj=(e,r)=>{const{size:n}=Mj(),{appearance:a="primary",size:s=n??"medium",...c}=e,u=Fj(c,r);return{...u,appearance:a,size:s,components:{...u.components,label:Zr},label:et(e.label,{defaultProps:u.label,elementType:Zr})}},Fj=(e,r)=>{const{delay:n=0,labelPosition:a="after"}=e,s=Xo("spinner"),{role:c="progressbar",...u}=e,d=Ve(Vt("div",{ref:r,role:c,...u}),{elementType:"div"}),[g,p]=y.useState(!1),[m,v]=ng();y.useEffect(()=>{if(!(n<=0))return m(()=>{p(!0)},n),()=>{v()}},[m,v,n]);const S=et(e.label,{defaultProps:{id:s},renderByDefault:!1,elementType:"label"}),k=et(e.spinner,{renderByDefault:!0,elementType:"span"});return S&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=S.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||g,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:k,spinnerTail:Ve(e.spinnerTail,{elementType:"span"}),label:S}},Hj=e=>{const{labelPosition:r,shouldRenderSpinner:n}=e;return Bt(e.root,{children:[e.label&&n&&(r==="above"||r==="before")&&se(e.label,{}),e.spinner&&n&&se(e.spinner,{children:e.spinnerTail&&se(e.spinnerTail,{})}),e.label&&n&&(r==="below"||r==="after")&&se(e.label,{})]})},au={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},Lj=Le("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),Pj=Se({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Ij=Le("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Uj=Le("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Vj=Se({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Gj=Se({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Xj=e=>{"use no memo";const{labelPosition:r,size:n,appearance:a}=e,{dir:s}=dt(),c=Lj(),u=Pj(),d=Ij(),g=Vj(),p=Uj(),m=Gj();return e.root.className=me(au.root,c,(r==="above"||r==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=me(au.spinner,d,g[n],a==="inverted"&&g.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=me(au.spinnerTail,p,s==="rtl"&&g.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=me(au.label,m[n],a==="inverted"&&m.inverted,e.label.className)),e},Un=y.forwardRef((e,r)=>{const n=qj(e,r);return Xj(n),ht("useSpinnerStyles_unstable")(n),Hj(n)});Un.displayName="Spinner";const Wj=(e,r)=>{var n;const{size:a="medium",...s}=e,c=Qj(s,r);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=y.createElement(gg,null)),{...c,components:{...c.components,label:Zr},size:a,label:et(e.label,{defaultProps:{size:"medium",...c.label},elementType:Zr})}},Qj=(e,r)=>{e=tl(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:s,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:g}=e,p=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),m=Xo("switch-",p.primary.id),v=Ve(e.root,{defaultProps:{ref:j2(),...p.root},elementType:"div"}),S=Ve(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),k=Ve(e.input,{defaultProps:{checked:n,defaultChecked:a,id:m,ref:r,role:"switch",type:"checkbox",...p.primary,disabled:s&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});k.onChange=We(k.onChange,x=>d==null?void 0:d(x,{checked:x.currentTarget.checked})),k.onClick=We(k.onClick,x=>{c&&x.preventDefault()}),k.onKeyDown=We(k.onKeyDown,x=>{c&&(x.key===" "||x.key==="Enter")&&x.preventDefault()});const w=et(e.label,{defaultProps:{disabled:s||c,htmlFor:m,required:g},elementType:"label"});return{disabledFocusable:c,labelPosition:u,components:{root:"div",indicator:"div",input:"input",label:"label"},root:v,indicator:S,input:k,label:w}},Yj=e=>{const{labelPosition:r}=e;return Bt(e.root,{children:[se(e.input,{}),r!=="after"&&e.label&&se(e.label,{}),se(e.indicator,{}),r==="after"&&e.label&&se(e.label,{})]})},iu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},$j=Le("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Kj=Se({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Zj=Le("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),Jj=Se({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),e9=Le("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),t9=Se({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),o9=Se({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),r9=e=>{"use no memo";const r=$j(),n=Kj(),a=Zj(),s=Jj(),c=e9(),u=t9(),d=o9(),{label:g,labelPosition:p,size:m}=e;return e.root.className=me(iu.root,r,p==="above"&&n.vertical,e.root.className),e.indicator.className=me(iu.indicator,a,g&&p==="above"&&s.labelAbove,m==="small"&&s.sizeSmall,e.indicator.className),e.input.className=me(iu.input,c,g&&u[p],m==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=me(iu.label,d.base,d[p],m==="small"&&d.sizeSmall,e.label.className)),e},YS=y.forwardRef((e,r)=>{const n=Wj(e,r);return r9(n),ht("useSwitchStyles_unstable")(n),Yj(n)});YS.displayName="Switch";const n9=(e,r)=>{const{wrap:n,truncate:a,block:s,italic:c,underline:u,strikethrough:d,size:g,font:p,weight:m,align:v}=e;return{align:v??"start",block:s??!1,font:p??"base",italic:c??!1,size:g??300,strikethrough:d??!1,truncate:a??!1,underline:u??!1,weight:m??"regular",wrap:n??!0,components:{root:"span"},root:Ve(Vt("span",{ref:r,...e}),{elementType:"span"})}},a9=e=>se(e.root,{}),i9={root:"fui-Text"},l9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),s9=e=>{"use no memo";const r=l9();return e.root.className=me(i9.root,r.root,e.wrap===!1&&r.nowrap,e.truncate&&r.truncate,e.block&&r.block,e.italic&&r.italic,e.underline&&r.underline,e.strikethrough&&r.strikethrough,e.underline&&e.strikethrough&&r.strikethroughUnderline,e.size===100&&r.base100,e.size===200&&r.base200,e.size===400&&r.base400,e.size===500&&r.base500,e.size===600&&r.base600,e.size===700&&r.hero700,e.size===800&&r.hero800,e.size===900&&r.hero900,e.size===1e3&&r.hero1000,e.font==="monospace"&&r.monospace,e.font==="numeric"&&r.numeric,e.weight==="medium"&&r.weightMedium,e.weight==="semibold"&&r.weightSemibold,e.weight==="bold"&&r.weightBold,e.align==="center"&&r.alignCenter,e.align==="end"&&r.alignEnd,e.align==="justify"&&r.alignJustify,e.root.className),e};function ja(e){const{useStyles:r,className:n,displayName:a}=e,s=y.forwardRef((c,u)=>{"use no memo";const d=r(),g=n9(c,u);return s9(g),g.root.className=me(n,g.root.className,d.root,c.className),a9(g)});return s.displayName=a,s}const c9={root:"fui-Body1"},u9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),tr=ja({useStyles:u9,className:c9.root,displayName:"Body1"}),f9={root:"fui-Body1Strong"},d9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),$S=ja({useStyles:d9,className:f9.root,displayName:"Body1Strong"}),h9={root:"fui-Body2"},g9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Rg=ja({useStyles:g9,className:h9.root,displayName:"Body2"}),p9={root:"fui-Caption1"},m9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),io=ja({useStyles:m9,className:p9.root,displayName:"Caption1"}),v9={root:"fui-Subtitle2"},b9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Lo=ja({useStyles:b9,className:v9.root,displayName:"Subtitle2"}),y9={root:"fui-Title2"},x9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),D0=ja({useStyles:x9,className:y9.root,displayName:"Title2"}),S9={root:"fui-Title3"},w9=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),xi=ja({useStyles:w9,className:S9.root,displayName:"Title3"}),k9=e=>se(e.root,{children:se(e.textarea,{})}),B9=(e,r)=>{const n=og();var a;const{size:s="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{..._9(u,r),size:s,appearance:c}},_9=(e,r)=>{e=tl(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[s,c]=Qr({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=Bs({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ve(e.textarea,{defaultProps:{ref:r,...u.primary},elementType:"textarea"}),root:Ve(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=s,d.textarea.onChange=_e(g=>{const p=g.target.value;a==null||a(g,{value:p}),c(p)}),d},Sy={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},z9=Se({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),T9=Se({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),N9=Se({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),C9=e=>{"use no memo";const{size:r,appearance:n,resize:a}=e,s=e.textarea.disabled,c=`${e.textarea["aria-invalid"]}`=="true",u=n.startsWith("filled"),d=z9();e.root.className=me(Sy.root,d.base,s&&d.disabled,!s&&u&&d.filled,!s&&d[n],!s&&d.interactive,!s&&n==="outline"&&d.outlineInteractive,!s&&c&&d.invalid,e.root.className);const g=T9(),p=N9();return e.textarea.className=me(Sy.textarea,g.base,g[r],p[a],s&&g.disabled,e.textarea.className),e},KS=y.forwardRef((e,r)=>{const n=B9(e,r);return C9(n),ht("useTextareaStyles_unstable")(n),k9(n)});KS.displayName="Textarea";const E9=Le("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),j9=Le("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function R9(){const e=E9(),r=j9(),{targetDocument:n}=dt(),a=y.useCallback(()=>{var c;if(!n)return;var u;Math.floor(n.body.getBoundingClientRect().height)>((u=(c=n.defaultView)===null||c===void 0?void 0:c.innerHeight)!==null&&u!==void 0?u:0)&&(n.documentElement.classList.add(e),n.body.classList.add(r))},[n,e,r]),s=y.useCallback(()=>{n&&(n.documentElement.classList.remove(e),n.body.classList.remove(r))},[n,e,r]);return{disableBodyScroll:a,enableBodyScroll:s}}function A9(e,r){const{findFirstFocusable:n}=T2(),{targetDocument:a}=dt(),s=y.useRef(null);return y.useEffect(()=>{if(!e)return;const c=s.current&&n(s.current);if(c)c.focus();else{var u;(u=s.current)===null||u===void 0||u.focus()}},[n,e,r,a]),s}const D9={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Ag=Ku(void 0),O9=Ag.Provider,Ko=e=>fg(Ag,(r=D9)=>e(r)),M9=!1,ZS=y.createContext(void 0),JS=ZS.Provider,q9=()=>{var e;return(e=y.useContext(ZS))!==null&&e!==void 0?e:M9},e5=y.createContext(void 0);e5.Provider;const F9=()=>y.useContext(e5),wy=zs(xg,{outScale:.85,easing:vt.curveDecelerateMid,duration:vt.durationGentle,exitEasing:vt.curveAccelerateMin,exitDuration:vt.durationGentle}),H9=e=>{const{children:r,modalType:n="modal",onOpenChange:a,inertTrapFocus:s=!1,unmountOnClose:c=!0}=e,u=Xo("dialog-title-"),[d,g]=L9(r),[p,m]=Qr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),v=_e(z=>{a==null||a(z.event,z),z.event.isDefaultPrevented()||m(z.open)}),S=A9(p,n),{modalAttributes:k,triggerAttributes:w}=$u({trapFocus:n!=="non-modal",legacyTrapFocus:!s}),x=dg(Ag);return{components:{surfaceMotion:wy},inertTrapFocus:s,open:p,modalType:n,content:g,trigger:d,requestOpenChange:v,dialogTitleId:u,isNestedDialog:x,unmountOnClose:c,dialogRef:S,modalAttributes:k,triggerAttributes:w,surfaceMotion:yg(e.surfaceMotion,{elementType:wy,defaultProps:{visible:p,appear:c,unmountOnExit:c}})}};function L9(e){const r=y.Children.toArray(e);switch(r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const P9=(e,r)=>se(O9,{value:r.dialog,children:Bt(JS,{value:r.dialogSurface,children:[e.trigger,e.content&&se(e.surfaceMotion,{children:se(bg,{children:e.content})})]})});function I9(e){const{modalType:r,open:n,dialogRef:a,dialogTitleId:s,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:g,triggerAttributes:p,unmountOnClose:m}=e;return{dialog:y.useMemo(()=>({open:n,modalType:r,dialogRef:a,dialogTitleId:s,isNestedDialog:c,inertTrapFocus:u,modalAttributes:g,triggerAttributes:p,unmountOnClose:m,requestOpenChange:d}),[n,r,a,s,c,u,g,p,m,d]),dialogSurface:!1}}const t5=y.memo(e=>{const r=H9(e),n=I9(r);return P9(r,n)});t5.displayName="Dialog";const U9=e=>{const r=q9(),{children:n,disableButtonEnhancement:a=!1,action:s=r?"close":"open"}=e,c=Xu(n),u=Ko(v=>v.requestOpenChange),{triggerAttributes:d}=$u(),g=_e(v=>{var S,k;c==null||(S=(k=c.props).onClick)===null||S===void 0||S.call(k,v),v.isDefaultPrevented()||u({event:v,type:"triggerClick",open:s==="open"})}),p={...c==null?void 0:c.props,ref:Gu(c),onClick:g,...d},m=zu((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:ag(n,a?p:m)}},V9=e=>e.children,Bi=e=>{const r=U9(e);return V9(r)};Bi.displayName="DialogTrigger";Bi.isFluentTriggerComponent=!0;const G9=(e,r)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ve(Vt("div",{ref:r,...e}),{elementType:"div"}),position:n,fluid:a}},X9=e=>se(e.root,{}),W9={root:"fui-DialogActions"},Q9=Le("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),Y9=Se({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),$9=e=>{"use no memo";const r=Q9(),n=Y9();return e.root.className=me(W9.root,r,e.position==="start"&&n.gridPositionStart,e.position==="end"&&n.gridPositionEnd,e.fluid&&e.position==="start"&&n.fluidStart,e.fluid&&e.position==="end"&&n.fluidEnd,e.root.className),e},o5=y.forwardRef((e,r)=>{const n=G9(e,r);return $9(n),ht("useDialogActionsStyles_unstable")(n),X9(n)});o5.displayName="DialogActions";const K9=(e,r)=>{var n;return{components:{root:"div"},root:Ve(Vt((n=e.as)!==null&&n!==void 0?n:"div",{ref:r,...e}),{elementType:"div"})}},Z9=e=>se(e.root,{}),J9={root:"fui-DialogBody"},eR=Le("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),tR=e=>{"use no memo";const r=eR();return e.root.className=me(J9.root,r,e.root.className),e},r5=y.forwardRef((e,r)=>{const n=K9(e,r);return tR(n),ht("useDialogBodyStyles_unstable")(n),Z9(n)});r5.displayName="DialogBody";const ky={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},oR=Le("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),rR=Se({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),nR=Le("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),aR=Le("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),iR=e=>{"use no memo";const r=oR(),n=nR(),a=rR();return e.root.className=me(ky.root,r,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=me(ky.action,n,e.action.className)),e},lR=(e,r)=>{const{action:n}=e,a=Ko(c=>c.modalType),s=aR();return{components:{root:"h2",action:"div"},root:Ve(Vt("h2",{ref:r,id:Ko(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:et(n,{renderByDefault:a==="non-modal",defaultProps:{children:y.createElement(Bi,{disableButtonEnhancement:!0,action:"close"},y.createElement("button",{type:"button",className:s,"aria-label":"close"},y.createElement(BC,null)))},elementType:"div"})}},sR=e=>Bt(y.Fragment,{children:[se(e.root,{children:e.root.children}),e.action&&se(e.action,{})]}),n5=y.forwardRef((e,r)=>{const n=lR(e,r);return iR(n),ht("useDialogTitleStyles_unstable")(n),sR(n)});n5.displayName="DialogTitle";const By=HC,cR=(e,r)=>{const n=vg(),a=Ko(N=>N.modalType),s=Ko(N=>N.isNestedDialog),c=F9(),u=c??s,d=Ko(N=>N.modalAttributes),g=Ko(N=>N.dialogRef),p=Ko(N=>N.requestOpenChange),m=Ko(N=>N.dialogTitleId),v=Ko(N=>N.open),S=Ko(N=>N.unmountOnClose),k=_e(N=>{if(Qx(e.backdrop)){var C,E;(C=(E=e.backdrop).onClick)===null||C===void 0||C.call(E,N)}a==="modal"&&!N.isDefaultPrevented()&&p({event:N,open:!1,type:"backdropClick"})}),w=_e(N=>{var C;(C=e.onKeyDown)===null||C===void 0||C.call(e,N),N.key===Zu&&!N.isDefaultPrevented()&&(p({event:N,open:!1,type:"escapeKeyDown"}),N.preventDefault())}),x=et(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),z=x==null?void 0:x.appearance;x&&(x.onClick=k,delete x.appearance);const{disableBodyScroll:T,enableBodyScroll:j}=R9();return At(()=>{if(!v){j();return}if(!(s||a==="non-modal"))return T(),()=>j()},[v,a,s,T,j]),{components:{backdrop:"div",root:"div",backdropMotion:By},open:v,backdrop:x,isNestedDialog:s,treatBackdropAsNested:u,backdropAppearance:z,unmountOnClose:S,mountNode:e.mountNode,root:Ve(Vt("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:m,"aria-hidden":!S&&!v?!0:void 0,...e,...d,onKeyDown:w,ref:Ct(r,n,g)}),{elementType:"div"}),backdropMotion:yg(e.backdropMotion,{elementType:By,defaultProps:{appear:S,visible:v}}),transitionStatus:void 0}},uR=(e,r)=>Bt(Cs,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&se(e.backdropMotion,{children:se(e.backdrop,{})}),se(dS,{children:se(JS,{value:r.dialogSurface,children:se(e.root,{})})})]}),_y={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},fR=Le("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),dR=Le("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),hR=Se({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),gR=e=>{"use no memo";const{root:r,backdrop:n,open:a,unmountOnClose:s,treatBackdropAsNested:c,backdropAppearance:u}=e,d=fR(),g=dR(),p=hR(),m=u?u==="transparent":c,v=!s&&!a;return r.className=me(_y.root,d,v&&p.dialogHidden,r.className),n&&(n.className=me(_y.backdrop,g,v&&p.dialogHidden,m&&p.nestedDialogBackdrop,n.className)),e};function pR(e){return{dialogSurface:!0}}const a5=y.forwardRef((e,r)=>{const n=cR(e,r),a=pR();return gR(n),ht("useDialogSurfaceStyles_unstable")(n),uR(n,a)});a5.displayName="DialogSurface";const mR=(e,r)=>{var n;return{components:{root:"div"},root:Ve(Vt((n=e.as)!==null&&n!==void 0?n:"div",{ref:r,...e}),{elementType:"div"})}},vR=e=>se(e.root,{}),bR={root:"fui-DialogContent"},yR=Le("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),xR=e=>{"use no memo";const r=yR();return e.root.className=me(bR.root,r,e.root.className),e},i5=y.forwardRef((e,r)=>{const n=mR(e,r);return xR(n),ht("useDialogContentStyles_unstable")(n),vR(n)});i5.displayName="DialogContent";function SR(e){switch(e){case"info":return y.createElement(KN,null);case"warning":return y.createElement(QN,null);case"error":return y.createElement(hC,null);case"success":return y.createElement(Yr,null);default:return null}}function wR(e=!1){const{targetDocument:r}=dt(),n=y.useReducer(()=>({}),{})[1],a=y.useRef(!1),s=y.useRef(null),c=y.useRef(-1),u=y.useCallback(g=>{var p,m;const v=g[0];var S;const k=(S=v==null||(m=v.borderBoxSize)===null||m===void 0||(p=m[0])===null||p===void 0?void 0:p.inlineSize)!==null&&S!==void 0?S:v==null?void 0:v.target.getBoundingClientRect().width;if(k===void 0||!v)return;const{target:w}=v;if(!Vn(w))return;let x;if(a.current)c.current<k&&(x=!1);else{const z=w.scrollWidth;k<z&&(x=!0)}c.current=k,typeof x<"u"&&a.current!==x&&(a.current=x,n())},[n]),d=y.useCallback(g=>{var p;if(!e||!g||!(r!=null&&r.defaultView))return;(p=s.current)===null||p===void 0||p.disconnect();const m=r.defaultView,v=new m.ResizeObserver(u);s.current=v,v.observe(g,{box:"border-box"})},[r,u,e]);return y.useEffect(()=>()=>{var g;(g=s.current)===null||g===void 0||g.disconnect()},[]),{ref:d,reflowing:a.current}}const l5=y.createContext(void 0),kR={className:"",nodeRef:y.createRef()};l5.Provider;const BR=()=>{var e;return(e=y.useContext(l5))!==null&&e!==void 0?e:kR},_R=(e,r)=>{const{layout:n="auto",intent:a="info",politeness:s}=e,c=s??a==="info"?"polite":"assertive",u=n==="auto",{ref:d,reflowing:g}=wR(u),p=u?g?"multiline":"singleline":n,{className:m,nodeRef:v}=BR(),S=vg(),k=y.useRef(null),w=y.useRef(null),{announce:x}=N_(),z=Xo();return y.useEffect(()=>{var T,j;const N=(T=w.current)===null||T===void 0?void 0:T.textContent,C=(j=k.current)===null||j===void 0?void 0:j.textContent,E=[N,C].filter(Boolean).join(",");x(E,{polite:c==="polite",alert:c==="assertive"})},[w,k,x,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ve(Vt("div",{ref:Ct(r,d,v,S),role:"group","aria-labelledby":z,...e}),{elementType:"div"}),icon:et(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:et(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:m,actionsRef:k,bodyRef:w,titleId:z}},zR=(e,r)=>{const{shape:n="rounded",...a}=e,s=_R(a,r);return{...s,shape:n,icon:et(e.icon,{defaultProps:{children:SR(s.intent)},renderByDefault:!0,elementType:"div"})}},s5=y.createContext(void 0),TR={titleId:"",layout:"singleline",actionsRef:y.createRef(),bodyRef:y.createRef()},NR=s5.Provider,c5=()=>{var e;return(e=y.useContext(s5))!==null&&e!==void 0?e:TR},CR=(e,r)=>se(NR,{value:r.messageBar,children:Bt(e.root,{children:[e.icon&&se(e.icon,{}),e.root.children,e.bottomReflowSpacer&&se(e.bottomReflowSpacer,{})]})}),Zh={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},ER=Le("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),jR=Le("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),RR=Le("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),AR=Se({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),DR=Se({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),OR=Se({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),MR=e=>{"use no memo";const r=ER(),n=jR(),a=DR(),s=OR(),c=RR(),u=AR();return e.root.className=me(Zh.root,r,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,s[e.intent],e.root.className),e.icon&&(e.icon.className=me(Zh.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=me(Zh.bottomReflowSpacer,c)),e};function qR(e){const{layout:r,actionsRef:n,bodyRef:a,titleId:s}=e;return{messageBar:y.useMemo(()=>({layout:r,actionsRef:n,bodyRef:a,titleId:s}),[r,n,a,s])}}const Gi=y.forwardRef((e,r)=>{const n=zR(e,r);return MR(n),ht("useMessageBarStyles_unstable")(n),CR(n,qR(n))});Gi.displayName="MessageBar";const FR=(e,r)=>{const{titleId:n}=c5();return{components:{root:"span"},root:Ve(Vt("span",{ref:r,id:n,...e}),{elementType:"span"})}},HR=e=>se(e.root,{}),LR={root:"fui-MessageBarTitle"},PR=Le("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),IR=e=>{"use no memo";const r=PR();return e.root.className=me(LR.root,r,e.root.className),e},O0=y.forwardRef((e,r)=>{const n=FR(e,r);return IR(n),ht("useMessageBarTitleStyles_unstable")(n),HR(n)});O0.displayName="MessageBarTitle";const UR=(e,r)=>{const{bodyRef:n}=c5();return{components:{root:"div"},root:Ve(Vt("div",{ref:Ct(r,n),...e}),{elementType:"div"})}},VR=(e,r)=>se(Dj,{value:r.link,children:se(e.root,{})}),GR={root:"fui-MessageBarBody"},XR=Le("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),WR=e=>{"use no memo";const r=XR();return e.root.className=me(GR.root,r,e.root.className),e};function QR(e){return{link:y.useMemo(()=>({inline:!0}),[])}}const Xi=y.forwardRef((e,r)=>{const n=UR(e,r),a=QR();return WR(n),ht("useMessageBarBodyStyles_unstable")(n),VR(n,a)});Xi.displayName="MessageBarBody";const u5={10:"#001120",20:"#002A4D",30:"#003E70",40:"#005091",50:"#0061AC",60:"#0078D4",70:"#1B8AE0",80:"#3398E8",90:"#4FA7EE",100:"#6BB6F2",110:"#85C3F5",120:"#9FCFF7",130:"#B7DBF9",140:"#CCE5FB",150:"#DEEDFC",160:"#EFF6FE"},ao={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},YR={...gN(u5)},js={...vN(u5)};js.colorNeutralBackground1="#0E1620";js.colorNeutralBackground2="#131F2D";js.colorNeutralBackground3="#1A2838";js.colorNeutralBackground4="#223145";const zy="wizardux.theme",f5=y.createContext(null);function Ty(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function $R({children:e}){const[r,n]=y.useState(()=>localStorage.getItem(zy)||"system"),[a,s]=y.useState(Ty);y.useEffect(()=>{const g=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>s(Ty());return g.addEventListener("change",p),()=>g.removeEventListener("change",p)},[]),y.useEffect(()=>{localStorage.setItem(zy,r)},[r]);const c=r==="system"?a:r,u=c==="dark"?js:YR;y.useEffect(()=>{document.body.style.background=u.colorNeutralBackground1,document.body.style.color=u.colorNeutralForeground1},[u]);const d=y.useMemo(()=>({mode:r,resolved:c,setMode:n}),[r,c]);return B.jsx(f5.Provider,{value:d,children:B.jsx(Q2,{theme:u,style:{height:"100%"},children:e})})}function KR(){const e=y.useContext(f5);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}const ZR=sr({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:q.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:ao.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:q.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:q.colorNeutralForeground2,textDecoration:"none",fontSize:q.fontSizeBase300},navLinkActive:{backgroundColor:q.colorNeutralBackground3,color:q.colorNeutralForeground1}});function JR(){const e=ZR(),{mode:r,setMode:n}=KR(),a=Go(),s=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=r==="system"?"light":r==="light"?"dark":"system",u=r==="dark"?YN:r==="light"?$N:eS;return B.jsxs("header",{className:e.root,children:[B.jsxs(Vr,{to:"/",className:e.brand,children:[B.jsx("div",{className:e.badge,children:"F"}),B.jsx($S,{children:"Foundations"})]}),B.jsx("div",{className:e.spacer}),B.jsxs("nav",{className:e.navLinks,children:[B.jsxs(Vr,{to:"/",className:me(e.navLink,s("/")&&e.navLinkActive),children:[B.jsx(oS,{})," Home"]}),B.jsxs(Vr,{to:"/summary",className:me(e.navLink,s("/summary")&&e.navLinkActive),children:[B.jsx(dC,{})," Summary"]}),B.jsxs(Vr,{to:"/diagnostics",className:me(e.navLink,s("/diagnostics")&&e.navLinkActive),children:[B.jsx(Tu,{})," Diagnostics"]})]}),B.jsx(Eg,{relationship:"label",content:`Theme: ${r}. Click to cycle.`,children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})})]})}const eA=sr({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function d5(){const e=eA(),r=y.useRef(null);return y.useEffect(()=>{const n=r.current;if(!n)return;const a=n.getContext("2d");if(!a)return;const s=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let c=0;function u(){const g=Math.min(window.devicePixelRatio||1,2);n.width=n.clientWidth*g,n.height=n.clientHeight*g,a.scale(g,g)}u(),window.addEventListener("resize",u);function d(g){const p=n.clientWidth,m=n.clientHeight;a.clearRect(0,0,p,m);const v=s?0:g/6e3,S=p*(.28+.15*Math.sin(v)),k=m*(.38+.1*Math.cos(v*1.2)),w=a.createRadialGradient(S,k,0,S,k,Math.max(p,m)*.7);w.addColorStop(0,"rgba(0, 120, 212, 0.55)"),w.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=w,a.fillRect(0,0,p,m);const x=p*(.72+.1*Math.cos(v*.8)),z=m*(.55+.12*Math.sin(v*1.5)),T=a.createRadialGradient(x,z,0,x,z,Math.max(p,m)*.6);T.addColorStop(0,"rgba(92, 45, 145, 0.45)"),T.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=T,a.fillRect(0,0,p,m);const j=p*(.4+.18*Math.cos(v*.6+1.7)),N=m*(.85+.1*Math.sin(v*.9)),C=a.createRadialGradient(j,N,0,j,N,Math.max(p,m)*.55);C.addColorStop(0,"rgba(0, 130, 114, 0.35)"),C.addColorStop(1,"rgba(0, 130, 114, 0)"),a.fillStyle=C,a.fillRect(0,0,p,m),s||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),B.jsx("canvas",{ref:r,className:e.canvas,"aria-hidden":"true"})}let lu=null;async function tA(){if(lu)return lu;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return lu=(await e.json()).csrfToken,lu}async function Tn(e,r,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await tA());const s=await fetch(r,{method:e,headers:a,body:n!==void 0?JSON.stringify(n):void 0,credentials:"same-origin"});if(!s.ok){let c=null;try{c=await s.json()}catch{}const u=(c==null?void 0:c.error)||`${e} ${r} failed (${s.status})`,d=new Error(u);throw d.payload=c,d.status=s.status,d}return s.json()}const Ea={state:()=>Tn("GET","/api/state"),saveState:e=>Tn("PUT","/api/state",e),resetState:()=>Tn("POST","/api/state/reset",{}),jumpTo:e=>Tn("POST","/api/state/jump",{step:e}),system:()=>Tn("GET","/api/system"),steps:()=>Tn("GET","/api/steps"),questions:e=>Tn("GET",`/api/steps/${e}/questions`),apply:(e,r)=>Tn("POST",`/api/steps/${e}/apply`,{answers:r})};function Dg(){return Fu({queryKey:["state"],queryFn:()=>Ea.state(),refetchInterval:5e3})}function h5(){return Fu({queryKey:["system"],queryFn:()=>Ea.system(),staleTime:3e4})}function Og(){return Fu({queryKey:["steps"],queryFn:()=>Ea.steps(),refetchInterval:5e3})}function oA(e){return Fu({queryKey:["questions",e],queryFn:()=>Ea.questions(e),enabled:e!=null})}const rA=sr({root:{position:"relative",height:"100%",overflowY:"auto"},hero:{position:"relative",minHeight:"340px",display:"grid",placeItems:"center",padding:"64px 32px 40px"},heroInner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"660px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:q.colorNeutralBackground1,border:`1px solid ${q.colorNeutralStroke2}`,boxShadow:q.shadow4,fontSize:q.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:q.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:ao.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(32px, 4.5vw, 48px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:q.colorNeutralForeground2,fontSize:q.fontSizeBase300,lineHeight:1.55,maxWidth:"520px"},body:{position:"relative",zIndex:1,maxWidth:"720px",margin:"0 auto",padding:"0 32px 60px",display:"grid",gap:"32px"},ctaCard:{position:"relative",padding:"28px 32px",borderRadius:"16px",background:ao.accentSoft,border:`1px solid ${q.colorNeutralStroke2}`,boxShadow:q.shadow16,overflow:"hidden"},ctaInner:{display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},ctaText:{flex:1,minWidth:"220px"},ctaActions:{display:"flex",gap:"12px",flexWrap:"wrap"},ctaPrimary:{background:ao.accent,color:"#ffffff",border:"none",boxShadow:q.shadow8,minWidth:"180px",height:"44px",fontSize:q.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:q.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:ao.accent,transition:"width 280ms ease"},systemBar:{display:"flex",flexWrap:"wrap",gap:"8px",justifyContent:"center"},stepSection:{display:"grid",gap:"2px",borderRadius:"12px",overflow:"hidden",border:`1px solid ${q.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:q.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:q.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:q.colorPaletteGreenForeground1},stepCurrent:{color:q.colorBrandForeground1},stepPending:{color:q.colorNeutralForeground4},stepLabel:{flex:1,fontSize:q.fontSizeBase300,fontWeight:q.fontWeightSemibold,color:q.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:q.fontSizeBase300,fontWeight:q.fontWeightRegular,color:q.colorNeutralForeground3},stepBadge:{fontSize:q.fontSizeBase200,color:q.colorNeutralForeground3},footer:{textAlign:"center",color:q.colorNeutralForeground3,fontSize:q.fontSizeBase200}});function nA(){var k,w,x,z,T,j,N,C;const e=rA(),r=Ss(),n=Dg(),a=Og(),s=h5(),c=qu(),u=Sx({mutationFn:()=>Ea.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((k=n.data)==null?void 0:k.completed)??0,g=((w=n.data)==null?void 0:w.next)??1,p=((x=n.data)==null?void 0:x.totalSteps)??9,m=((T=(z=n.data)==null?void 0:z.state)==null?void 0:T.APP_NAME)||"",v=d>0,S=Math.round(d/Math.max(1,p)*100);return B.jsxs("div",{className:e.root,children:[B.jsxs("div",{className:e.hero,children:[B.jsx(d5,{}),B.jsxs("div",{className:e.heroInner,children:[B.jsxs("div",{className:e.pill,children:[B.jsx(mC,{})," Foundations"]}),B.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),B.jsx(tr,{className:e.subtitle,children:"Nine guided steps from zero to a deployed Power Apps Code App. Every decision is captured and every step is re-runnable."})]})]}),B.jsxs("div",{className:e.body,children:[B.jsx("div",{className:e.ctaCard,children:B.jsxs("div",{className:e.ctaInner,children:[B.jsx("div",{className:e.ctaText,children:v?B.jsxs(B.Fragment,{children:[B.jsxs(Lo,{style:{display:"block",color:q.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",m?`, ${m}`:""]}),B.jsxs(D0,{style:{margin:0},children:["Pick up at step ",g," of ",p]}),B.jsxs(tr,{style:{marginTop:"6px",color:q.colorNeutralForeground3},children:[d," of ",p," steps complete · ",S,"%"]}),B.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:B.jsx("div",{className:e.ctaFill,style:{width:`${S}%`}})})]}):B.jsxs(B.Fragment,{children:[B.jsx(D0,{style:{margin:0},children:"Ready when you are"}),B.jsx(tr,{style:{marginTop:"6px",color:q.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),B.jsxs("div",{className:e.ctaActions,children:[B.jsx(mt,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(Gr,{}),onClick:()=>r(`/step/${g}`),children:v?"Resume":"Get started"}),v&&B.jsxs(t5,{children:[B.jsx(Bi,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(aC,{}),children:"Start over"})}),B.jsx(a5,{children:B.jsxs(r5,{children:[B.jsx(n5,{children:"Reset wizard state?"}),B.jsx(i5,{children:"This clears all collected answers. Your project files are not affected."}),B.jsxs(o5,{children:[B.jsx(Bi,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"secondary",children:"Cancel"})}),B.jsx(Bi,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?B.jsx(Un,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),s.data&&B.jsxs("div",{className:e.systemBar,children:[B.jsxs(er,{appearance:"filled",color:s.data.node?"success":"danger",children:["Node ",s.data.node||"—"]}),B.jsxs(er,{appearance:"filled",color:s.data.git?"success":"danger",children:["Git ",s.data.git||"missing"]}),B.jsxs(er,{appearance:"filled",color:s.data.dotnet?"success":"danger",children:[".NET ",s.data.dotnet||"missing"]}),B.jsxs(er,{appearance:"filled",color:s.data.pac?"success":"danger",children:["PAC ",s.data.pac||"missing"]}),B.jsx(er,{appearance:"filled",color:s.data.op?"success":"informative",children:s.data.op?`1Password ${s.data.op}`:"1Password (optional)"})]}),a.data&&B.jsx("div",{className:e.stepSection,children:a.data.steps.map(E=>{const M=E.status==="done",W=E.status==="current";return B.jsxs("div",{className:e.stepRow,role:"button",tabIndex:0,onClick:()=>r(`/step/${E.number}`),onKeyDown:G=>{(G.key==="Enter"||G.key===" ")&&r(`/step/${E.number}`)},children:[M?B.jsx(Yr,{className:`${e.stepIcon} ${e.stepDone}`}):W?B.jsx(iC,{className:`${e.stepIcon} ${e.stepCurrent}`}):B.jsx(pg,{className:`${e.stepIcon} ${e.stepPending}`}),B.jsxs("span",{className:M||W?e.stepLabel:e.stepLabelDim,children:[E.number,". ",E.title]}),M&&B.jsx("span",{className:e.stepBadge,children:"Done"}),W&&B.jsx(er,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},E.number)})}),((j=s.data)==null?void 0:j.rootDir)&&B.jsxs("div",{className:e.footer,children:[B.jsx(oC,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",B.jsx("code",{children:s.data.rootDir})]}),((C=(N=s.data)==null?void 0:N.cloudSync)==null?void 0:C.detected)&&B.jsx(Gi,{intent:"warning",children:B.jsxs(Xi,{children:[B.jsxs(O0,{children:["Project is inside ",s.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",B.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",B.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",s.data.cloudSync.provider,", or choosing ",B.jsx("strong",{children:"1Password"})," storage in Step 4. See ",B.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&B.jsx(Gi,{intent:"error",children:B.jsxs(Xi,{children:[B.jsx(O0,{children:"Reset failed"}),u.error.message]})})]})]})}function aA(e,r){const[n,a]=y.useState({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return y.useEffect(()=>{if(!r||!e){a({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return}a({lines:[],status:"running",error:null,exitCode:null,deviceCode:null});const s=`/api/steps/${e}/stream?runId=${encodeURIComponent(r)}`,c=new EventSource(s,{withCredentials:!0});return c.addEventListener("line",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,lines:[...g.lines,d]}))}catch{}}),c.addEventListener("deviceCode",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,deviceCode:d}))}catch{}}),c.addEventListener("end",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,status:d.status,exitCode:d.exitCode,error:d.error}))}catch{}c.close()}),c.onerror=()=>{a(u=>({...u,status:u.status==="running"?"error":u.status,error:"Stream connection lost"})),c.close()},()=>c.close()},[e,r]),n}const iA=sr({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground2},heading:{color:q.colorNeutralForeground3,paddingLeft:"8px",marginBottom:"6px"},item:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 10px",borderRadius:"8px",cursor:"pointer",border:"1px solid transparent",transition:"background-color 150ms ease-out",":hover":{backgroundColor:q.colorNeutralBackground3}},itemActive:{backgroundColor:q.colorBrandBackground2,border:`1px solid ${q.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:q.colorPaletteGreenForeground1},current:{color:q.colorBrandForeground1},pending:{color:q.colorNeutralForeground3},terminal:{color:q.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:q.fontWeightSemibold,fontSize:q.fontSizeBase300}});function lA({steps:e,current:r}){const n=iA(),a=Ss(),s=Go();return B.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[B.jsx(io,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===r&&s.pathname.includes("/step/"),d=c.status==="done"?Yr:c.status==="current"?Gr:c.canRunInBrowser?pg:tS,g=c.status==="done"?n.done:c.status==="current"?n.current:c.canRunInBrowser?n.pending:n.terminal;return B.jsxs("div",{className:[n.item,u&&n.itemActive].filter(Boolean).join(" "),onClick:()=>a(`/step/${c.number}`),role:"button",tabIndex:0,onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[B.jsx("div",{className:`${n.iconCol} ${g}`,children:B.jsx(d,{})}),B.jsxs(Rg,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}function Ny(e){const r=/https?:\/\/[^\s)]+/g,n=[];let a=0,s;for(;(s=r.exec(e))!==null;){s.index>a&&n.push(e.slice(a,s.index));const c=s[0].replace(/[.,;:!?]+$/,"");n.push(B.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",children:c},s.index)),a=s.index+s[0].length}return a<e.length&&n.push(e.slice(a)),n}const Mg=sr({card:{padding:"16px",borderRadius:"10px",backgroundColor:q.colorNeutralBackground2,border:`1px solid ${q.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:q.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:q.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:q.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${q.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:q.fontSizeBase200,color:q.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:q.colorNeutralForeground3,":hover":{color:q.colorBrandForeground1}},labelRow:{display:"flex",alignItems:"center",gap:"4px"},checkboxList:{display:"flex",flexDirection:"column",gap:"6px"},savedSecret:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",background:q.colorNeutralBackground3,border:`1px solid ${q.colorNeutralStroke2}`,color:q.colorNeutralForeground2,fontSize:q.fontSizeBase200},savedSecretIcon:{color:q.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Cy(e,r){return(Array.isArray(e)?e:[e]).every(a=>{const s=r[a.id];return"contains"in a?Array.isArray(s)&&s.includes(a.contains):s===a.equals})}function qg(e,r){return!!(e.showIf&&!Cy(e.showIf,r)||e.hideIf&&Cy(e.hideIf,r))}function sA(e){if(!e)return null;const r=/^https?:\/\//i.test(e)?e:`https://${e}`;try{return new URL(r).protocol.startsWith("https")?null:"Must be an https:// URL"}catch{return"Not a valid URL"}}function cA(e,r,n){return e.required&&(r==null||r==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof r=="string"?sA(r):null}function g5({question:e,value:r,onChange:n,showError:a,answers:s}){var N;const c=Mg(),u=cA(e,r,a),[d,g]=y.useState(!1),p=e.type==="secret"&&e.savedHint&&!r&&!d,m=e.dynamicOptions,v=m?String(s[m.dependsOn]??""):"",[S,k]=y.useState([]),[w,x]=y.useState(!1),z=y.useRef(v);y.useEffect(()=>{if(!m)return;if(!v||v==="false"||v==="0"||v.startsWith("__")){k([]),z.current=v;return}if(v===z.current&&S.length>0)return;z.current=v,x(!0);const E=new AbortController;return fetch(`${m.endpoint}?${m.param}=${encodeURIComponent(v)}`,{signal:E.signal}).then(M=>M.json()).then(M=>{const W=M[m.responseKey]||[];k(W),x(!1)}).catch(()=>{E.signal.aborted||x(!1)}),()=>E.abort()},[m,v]);const T=y.useMemo(()=>{if(!m)return e.options||[];const C=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...S,...C]},[m,e.options,S]),j=B.jsxs("span",{className:c.labelRow,children:[e.label,e.required?B.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&B.jsxs(qS,{withArrow:!0,children:[B.jsx(Cg,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"transparent",icon:B.jsx(vC,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),B.jsx(MS,{children:B.jsx("div",{className:c.why,children:Ny(e.why)})})]})]});return B.jsxs(B.Fragment,{children:[B.jsx(PS,{label:j,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?B.jsx(A0,{value:r??"",onChange:(C,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?p?B.jsxs("div",{className:c.savedSecret,children:[B.jsx(tC,{className:c.savedSecretIcon}),B.jsx("span",{children:e.savedHint}),B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(eC,{}),className:c.savedSecretEdit,onClick:()=>g(!0),children:"Change"})]}):B.jsx(A0,{type:"password",value:r??"",onChange:(C,E)=>n(e.id,E.value),placeholder:e.savedHint?"Enter new value to replace":void 0,"aria-required":e.required||void 0}):e.type==="confirm"?B.jsx(YS,{checked:!!r,onChange:(C,E)=>n(e.id,E.checked)}):e.type==="select"?w?B.jsx(Un,{size:"tiny",label:"Loading options…"}):B.jsx(WS,{value:((N=T.find(C=>C.value===r))==null?void 0:N.label)??"",selectedOptions:r?[String(r)]:[],onOptionSelect:(C,E)=>n(e.id,E.optionValue),children:T.map(C=>B.jsx(XS,{value:C.value,children:C.label},C.value))}):e.type==="multiselect"?B.jsx(KS,{value:Array.isArray(r)?r.join(", "):"",onChange:(C,E)=>n(e.id,E.value.split(",").map(M=>M.trim()).filter(Boolean))}):e.type==="checkboxes"?B.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(C=>{const E=Array.isArray(r)&&r.includes(C.value);return B.jsx(IS,{label:C.label,checked:E,onChange:(M,W)=>{const G=Array.isArray(r)?[...r]:[];n(e.id,W.checked?Array.from(new Set([...G,C.value])):G.filter(oe=>oe!==C.value))}},C.value)})}):B.jsxs(io,{children:["Unsupported question type: ",e.type]})}),e.help&&B.jsx(Rg,{className:c.help,children:Ny(e.help)})]})}function uA({question:e,answers:r,value:n,onChange:a,showError:s}){const c=Mg();return qg(e,r)?null:B.jsx("div",{className:c.card,children:B.jsx(g5,{question:e,answers:r,value:n,onChange:a,showError:s})})}function fA({group:e,questions:r,answers:n,onChange:a,showError:s}){const c=Mg(),u=r.filter(d=>!qg(d,n));return u.length===0?null:B.jsxs("div",{className:c.card,children:[B.jsxs("div",{className:c.groupHeader,children:[B.jsx(tr,{className:c.groupTitle,children:e.label}),e.help&&B.jsx(Rg,{className:c.help,children:e.help})]}),B.jsx("div",{className:c.groupItems,children:u.map((d,g)=>B.jsx("div",{className:`${c.groupItem} ${g===0?c.firstGroupItem:""}`,children:B.jsx(g5,{question:d,answers:n,value:n[d.id],onChange:a,showError:s})},d.id))})]})}const dA=sr({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr",backgroundColor:q.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${q.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:q.fontFamilyMonospace,fontSize:q.fontSizeBase200,lineHeight:q.lineHeightBase200,color:q.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:q.colorPaletteRedForeground1},info:{color:q.colorNeutralForeground3,fontStyle:"italic"}});function hA({lines:e,status:r,onClear:n}){const a=dA(),s=y.useRef(null);y.useEffect(()=>{s.current&&(s.current.scrollTop=s.current.scrollHeight)},[e]);function c(){const u=e.map(m=>m.text).join(""),d=new Blob([u],{type:"text/plain"}),g=URL.createObjectURL(d),p=document.createElement("a");p.href=g,p.download=`wizardux-log-${Date.now()}.txt`,p.click(),URL.revokeObjectURL(g)}return B.jsxs("div",{className:a.root,children:[B.jsxs("div",{className:a.toolbar,children:[B.jsx($S,{children:"Live output"}),B.jsx(io,{style:{color:r==="error"?q.colorPaletteRedForeground1:r==="done"?q.colorPaletteGreenForeground1:q.colorNeutralForeground3},children:r==="idle"?"Idle":r==="running"?"Running…":r==="done"?"Complete":"Failed"}),B.jsx("div",{className:a.spacer}),B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(rC,{}),onClick:c,disabled:e.length===0,children:"Save"}),n&&B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(sC,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),B.jsx("pre",{ref:s,className:a.output,"aria-live":"polite",children:e.length===0?B.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((u,d)=>B.jsx("span",{className:u.stream==="stderr"?a.err:void 0,children:u.text},d))})]})}const gA=sr({root:{height:"100%",display:"flex"},main:{flex:1,height:"100%",minWidth:0,overflow:"hidden"},pane:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"},formWrap:{height:"100%",overflowY:"auto",padding:"24px 32px 32px",display:"flex",flexDirection:"column",gap:"16px",maxWidth:"820px",margin:"0 auto",width:"100%"},header:{display:"flex",alignItems:"center",gap:"12px",paddingBottom:"12px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:q.colorNeutralBackground3,color:q.colorNeutralForeground2},stepBadgeDone:{background:q.colorPaletteGreenBackground2,color:q.colorPaletteGreenForeground1},stepBadgeBrand:{background:ao.accent,color:"#ffffff"},headerText:{flex:1,display:"flex",flexDirection:"column",gap:"2px",minWidth:0},questions:{display:"flex",flexDirection:"column",gap:"12px"},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${q.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${q.colorNeutralStroke2}`,borderRadius:"10px",overflow:"hidden",minHeight:"180px",maxHeight:"320px",display:"flex",flexDirection:"column"},successBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"16px 20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(16,124,16,0.10), rgba(0,120,212,0.08))",border:`1px solid ${q.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:q.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:ao.accent,color:"#ffffff",border:"none",boxShadow:q.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:q.colorNeutralBackground3,border:`1px solid ${q.colorNeutralStroke2}`,color:q.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:q.colorBrandForeground1,flexShrink:0},deviceCodeCard:{display:"flex",flexDirection:"column",gap:"12px",padding:"20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(0,120,212,0.08), rgba(0,150,255,0.04))",border:`1.5px solid ${q.colorBrandStroke1}`},deviceCodeHeader:{display:"flex",alignItems:"center",gap:"8px",fontWeight:600},deviceCodeBody:{display:"flex",alignItems:"center",gap:"16px",flexWrap:"wrap"},deviceCodeValue:{fontFamily:"monospace",fontSize:"28px",fontWeight:700,letterSpacing:"4px",color:q.colorBrandForeground1,padding:"8px 16px",background:q.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${q.colorNeutralStroke2}`,userSelect:"all"}});function pA(){var ze,D,L,Z,ne,fe,ke,De,bt;const e=gA(),r=Mk(),n=Math.max(1,Math.min(9,parseInt(r.n||"1",10))),a=Ss(),s=qu(),c=Og(),u=oA(n),[d,g]=y.useState({}),[p,m]=y.useState({}),[v,S]=y.useState(!1),[k,w]=y.useState(null),x=y.useRef(null),z=y.useMemo(()=>{var pe;return JSON.stringify((((pe=u.data)==null?void 0:pe.questions)??[]).map(He=>[He.id,He.defaultValue??""]))},[(ze=u.data)==null?void 0:ze.questions]);y.useEffect(()=>{if(!u.data)return;const pe={};for(const He of u.data.questions)pe[He.id]=He.defaultValue??"";g(pe),m(pe),S(!1)},[(D=u.data)==null?void 0:D.meta.number,z]),y.useEffect(()=>{w(null)},[n]);const T=Sx({mutationFn:pe=>Ea.apply(n,pe),onSuccess:pe=>{w(pe.runId)}}),j=aA(n,k);y.useEffect(()=>{j.status==="done"&&(x.current&&(m(x.current),x.current=null),s.invalidateQueries({queryKey:["state"]}),s.invalidateQueries({queryKey:["steps"]}),s.invalidateQueries({queryKey:["questions"]}))},[j.status,s,n]);const N=y.useMemo(()=>j.lines.some(pe=>pe.stream==="stderr"),[j.lines]),C=y.useRef(null);y.useEffect(()=>{var pe;if(j.status==="done"&&!N){const He=((pe=c.data)==null?void 0:pe.totalSteps)??9;C.current=setTimeout(()=>{n>=He?a("/summary"):a(`/step/${n+1}`)},1500)}return()=>{C.current&&clearTimeout(C.current)}},[j.status,n,(L=c.data)==null?void 0:L.totalSteps,a]);const E=(Z=u.data)==null?void 0:Z.meta,M=((ne=u.data)==null?void 0:ne.questions)??[],W=y.useMemo(()=>{const pe=[];for(const He of M){if(!He.group){pe.push({kind:"question",question:He});continue}const To=pe[pe.length-1];(To==null?void 0:To.kind)==="group"&&To.group.id===He.group.id?To.questions.push(He):pe.push({kind:"group",group:He.group,questions:[He]})}return pe},[M]),G=y.useMemo(()=>JSON.stringify(d)!==JSON.stringify(p),[d,p]),oe=y.useRef(null);y.useEffect(()=>{if(u.data&&G)return oe.current&&clearTimeout(oe.current),oe.current=setTimeout(()=>{const pe={};for(const He of Object.keys(d))JSON.stringify(d[He])!==JSON.stringify(p[He])&&(pe[He]=d[He]);Object.keys(pe).length>0&&Ea.saveState(pe).catch(()=>{})},600),()=>{oe.current&&clearTimeout(oe.current)}},[d,p,G,u.data]);const ie=y.useMemo(()=>{if(!(E!=null&&E.canRunInBrowser))return[];const pe=[];for(const He of M)qg(He,d)||He.required&&(d[He.id]==null||d[He.id]==="")&&pe.push(He.label);return pe},[M,d,E]);function ve(){if(E!=null&&E.canRunInBrowser){if(M.length>0&&ie.length>0){S(!0);return}x.current=d,T.mutate(d)}}const ae=((ke=(fe=c.data)==null?void 0:fe.steps.find(pe=>pe.number===n))==null?void 0:ke.status)??"pending",ue=T.isPending||j.status==="running",re=j.status==="done",ye=((De=c.data)==null?void 0:De.totalSteps)??9,P=n>=ye,J=E==null?void 0:E.canRunInBrowser,te=ue?E!=null&&E.readOnly?"Checking…":"Running…":re&&N?P?"Finish":"Continue":re?P?"Finish":"Continuing…":ae==="done"&&G?"Save & re-run":E!=null&&E.readOnly?"Run checks":ae==="done"?"Re-run":M.length===0?"Run":"Save & run";function ce(){if(re){C.current&&clearTimeout(C.current),a(P?"/summary":`/step/${n+1}`);return}ve()}return B.jsxs("div",{className:e.root,children:[c.data&&B.jsx(lA,{steps:c.data.steps,current:n}),B.jsx("div",{className:e.main,children:B.jsx("div",{className:e.pane,children:B.jsxs("div",{className:e.formWrap,children:[B.jsxs("div",{className:e.header,children:[B.jsx("div",{className:[e.stepBadge,ae==="done"?e.stepBadgeDone:ae==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:ae==="done"?B.jsx(Yr,{}):n}),B.jsxs("div",{className:e.headerText,children:[B.jsx(D0,{style:{margin:0},children:(E==null?void 0:E.title)||"Loading…"}),B.jsxs(io,{style:{color:q.colorNeutralForeground3},children:["Step ",n," of ",ye,E!=null&&E.optional?" · optional":""]})]})]}),(E==null?void 0:E.description)&&B.jsx(tr,{style:{color:q.colorNeutralForeground2},children:E.description}),u.isLoading&&(n===8?B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[B.jsx(Un,{size:"small"}),B.jsx(io,{style:{color:q.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):B.jsx(Un,{size:"small"})),E&&!J&&B.jsxs("div",{className:e.terminalNote,children:[B.jsx(tS,{className:e.terminalIcon}),B.jsx(tr,{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."})]}),J&&M.length>0&&B.jsx("div",{className:e.questions,children:W.map(pe=>{const He=(To,ol)=>g(Rs=>({...Rs,[To]:ol}));return pe.kind==="group"?B.jsx(fA,{group:pe.group,questions:pe.questions,answers:d,onChange:He,showError:v},pe.group.id):B.jsx(uA,{question:pe.question,answers:d,value:d[pe.question.id],onChange:He,showError:v},pe.question.id)})}),T.isError&&B.jsx(Gi,{intent:"error",children:B.jsx(Xi,{children:T.error.message})}),j.status==="error"&&B.jsx(Gi,{intent:"error",children:B.jsx(Xi,{children:j.error||"Step failed — see output above."})}),((bt=j.deviceCode)==null?void 0:bt.code)&&j.status==="running"&&B.jsxs("div",{className:e.deviceCodeCard,children:[B.jsxs("div",{className:e.deviceCodeHeader,children:[B.jsx(Yb,{style:{color:q.colorBrandForeground1}}),B.jsx(tr,{children:"Sign in with a device code"})]}),B.jsx(io,{style:{color:q.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),B.jsxs("div",{className:e.deviceCodeBody,children:[B.jsx("span",{className:e.deviceCodeValue,children:j.deviceCode.code}),B.jsx(mt,{appearance:"subtle",icon:B.jsx(WN,{}),onClick:()=>navigator.clipboard.writeText(j.deviceCode.code),children:"Copy code"})]}),B.jsxs(mt,{appearance:"primary",icon:B.jsx(Yb,{}),as:"a",href:j.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",j.deviceCode.url]})]}),re&&B.jsxs("div",{className:e.successBanner,children:[B.jsx(Yr,{className:e.successIcon}),B.jsxs("div",{className:e.successText,children:[B.jsx(tr,{style:{fontWeight:600},children:P?"All steps complete!":N?"Step complete — review items above":"Step complete"}),B.jsx(io,{style:{color:q.colorNeutralForeground3},children:P?"Heading to summary…":N?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),B.jsx(mt,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(Gr,{}),onClick:()=>{C.current&&clearTimeout(C.current),a(P?"/summary":`/step/${n+1}`)},children:P?"View summary":"Continue now"})]}),J&&(j.status==="running"||j.lines.length>0)&&B.jsx("div",{className:e.inlineLog,children:B.jsx(hA,{lines:j.lines,status:j.status})}),B.jsxs("div",{className:e.actions,children:[B.jsx(mt,{appearance:"subtle",icon:B.jsx(nC,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),B.jsx("div",{className:e.spacer}),J?B.jsx(mt,{appearance:"primary",icon:ue?B.jsx(Un,{size:"tiny"}):re?B.jsx(Gr,{}):B.jsx(ZN,{}),iconPosition:re?"after":"before",onClick:ce,disabled:ue,children:te}):B.jsx(mt,{appearance:"primary",iconPosition:"after",icon:B.jsx(Gr,{}),onClick:()=>{a(P?"/summary":`/step/${n+1}`)},children:P?"Finish":"Next"})]})]})})})]})}const mA=sr({hero:{position:"relative",minHeight:"260px",display:"grid",placeItems:"center",paddingTop:"56px",paddingRight:"32px",paddingBottom:"36px",paddingLeft:"32px"},inner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"760px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow4,fontSize:q.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:q.colorBrandForeground1},title:{margin:0,background:ao.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(30px, 4.2vw, 44px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:q.colorNeutralForeground2,fontSize:q.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function p5({eyebrowIcon:e,eyebrow:r,title:n,subtitle:a}){const s=mA();return B.jsxs("div",{className:s.hero,children:[B.jsx(d5,{}),B.jsxs("div",{className:s.inner,children:[B.jsxs("div",{className:s.pill,children:[e,r]}),B.jsx("h1",{className:s.title,children:n}),a&&B.jsx(tr,{className:s.subtitle,children:a})]})]})}const m5=sr({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:ao.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:q.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:ao.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:q.colorBrandForeground1,fontSize:q.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:"16px"},card:{padding:"20px",borderRadius:"12px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:q.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:ao.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},field:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:q.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:q.fontFamilyMonospace,color:q.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:q.colorNeutralForeground4,fontStyle:"italic",fontFamily:q.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:q.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:q.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:q.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:ao.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:q.shadow8,minWidth:"200px",height:"44px",fontWeight:600},launchCard:{padding:"22px 24px",borderRadius:"14px",background:"linear-gradient(145deg, rgba(16,124,16,0.12), rgba(0,120,212,0.1))",borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:q.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:q.fontFamilyMonospace,background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,color:q.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:ao.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:q.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function Xt({label:e,value:r}){const n=m5(),a=!r||r.trim()==="";return B.jsxs("div",{className:n.field,children:[B.jsx(io,{className:n.fieldLabel,children:e}),B.jsx(io,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":r})]})}function vA(){var v,S,k,w,x,z,T,j,N;const e=m5(),r=Dg(),n=Og(),a=((v=r.data)==null?void 0:v.state)??{},s=((S=r.data)==null?void 0:S.completed)??0,c=((k=r.data)==null?void 0:k.totalSteps)??9,u=((w=r.data)==null?void 0:w.next)??1,d=Math.round(s/Math.max(1,c)*100),g=s>=c,p=((z=(x=r.data)==null?void 0:x.powerApp)==null?void 0:z.launchUrl)||"",m=((j=(T=r.data)==null?void 0:T.powerApp)==null?void 0:j.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return B.jsxs("div",{className:e.root,children:[B.jsx(p5,{eyebrowIcon:B.jsx(vi,{}),eyebrow:"Project Summary",title:"Everything captured for this project",subtitle:"Live values from .wizard-state.json — the single source of truth for how your Code App is wired together."}),B.jsxs("div",{className:e.body,children:[B.jsxs("div",{className:e.progressCard,children:[B.jsxs("div",{className:e.progressText,children:[B.jsx(Lo,{style:{display:"block",color:q.colorBrandForeground1,marginBottom:"4px"},children:g?"Setup complete":"In progress"}),B.jsxs(xi,{style:{margin:0},children:[s," of ",c," steps complete · ",d,"%"]}),B.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:B.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!g&&B.jsx(Vr,{to:`/step/${u}`,children:B.jsx(mt,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(Gr,{}),children:"Continue setup"})}),g&&p&&B.jsx(mt,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(Gr,{}),children:"Open Power App"})]}),g&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Launch"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),B.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?B.jsxs(B.Fragment,{children:[B.jsxs(Lo,{className:e.launchTitle,children:["Power Apps URL (",String(m).toUpperCase(),")"]}),B.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),B.jsx("div",{className:e.launchActions,children:B.jsx(mt,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(Gr,{}),children:"Launch App Now"})})]}):B.jsxs(B.Fragment,{children:[B.jsx(Lo,{className:e.launchTitle,children:"Power Apps URL not available yet"}),B.jsx(io,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Project values"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),B.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Project"})]}),B.jsx(Xt,{label:"App name",value:a.APP_NAME}),B.jsx(Xt,{label:"Project dir",value:a.PROJECT_DIR})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Environments"})]}),B.jsx(Xt,{label:"Dev",value:a.PP_ENV_DEV}),B.jsx(Xt,{label:"Test",value:a.PP_ENV_TEST}),B.jsx(Xt,{label:"Prod",value:a.PP_ENV_PROD}),B.jsx(Xt,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Identity"})]}),B.jsx(Xt,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Xt,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Xt,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Xt,{label:"Credential storage",value:a.AUTH_MODE})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Publisher"})]}),B.jsx(Xt,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),B.jsx(Xt,{label:"Prefix",value:a.PUBLISHER_PREFIX}),B.jsx(Xt,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(vi,{})}),B.jsx(Lo,{children:"Solution"})]}),B.jsx(Xt,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),B.jsx(Xt,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),B.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&B.jsx(Un,{size:"small"}),(N=n.data)==null?void 0:N.steps.map(C=>B.jsxs("div",{className:e.stepRow,children:[C.status==="done"&&B.jsx(Yr,{className:e.stepIconDone}),C.status==="current"&&B.jsx(gg,{className:e.stepIconCurrent}),C.status==="pending"&&B.jsx(pg,{className:e.stepIconPending}),B.jsxs(tr,{style:{flex:1},children:[B.jsx("span",{style:{color:q.colorNeutralForeground3,marginRight:"8px"},children:String(C.number).padStart(2,"0")}),C.title]}),C.status==="done"&&B.jsx(er,{appearance:"filled",color:"success",size:"small",children:"Done"}),C.status==="current"&&B.jsx(er,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},C.number))]})]}),!r.data&&B.jsx(Gi,{intent:"info",children:B.jsx(Xi,{children:"Loading state…"})}),B.jsxs("div",{className:e.actions,children:[B.jsx(Vr,{to:"/",children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(oS,{}),children:"Home"})}),!g&&B.jsx(Vr,{to:`/step/${u}`,children:B.jsx(mt,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(Gr,{}),children:"Continue setup"})})]})]})]})}const v5=sr({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},sectionLabel:{display:"block",color:q.colorBrandForeground1,fontSize:q.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(320px, 1fr))",gap:"16px",marginTop:"20px"},card:{padding:"20px",borderRadius:"12px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:ao.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},row:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:q.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:q.fontFamilyMonospace,color:q.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:q.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:q.fontFamilyBase},pre:{margin:0,padding:"16px",background:q.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:q.fontFamilyMonospace,fontSize:q.fontSizeBase200,lineHeight:1.6,color:q.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function ga({icon:e,label:r,value:n,ok:a,neutral:s}){const c=v5(),u=!n,d=s?B.jsx(Tu,{style:{color:q.colorBrandForeground1}}):a?B.jsx(Yr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(pC,{style:{color:q.colorPaletteRedForeground1}});return B.jsxs("div",{className:c.row,children:[B.jsxs(io,{className:c.rowLabel,children:[d,e,r]}),B.jsx(io,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function bA(){var s;const e=v5(),r=h5(),n=Dg(),a=r.data;return B.jsxs("div",{className:e.root,children:[B.jsx(p5,{eyebrowIcon:B.jsx(JN,{}),eyebrow:"Diagnostics",title:"What the wizard sees on this machine",subtitle:"A read-only view of system tooling and the raw .wizard-state.json. If something looks off, this is where you check first."}),B.jsxs("div",{className:e.body,children:[!a&&B.jsx(Un,{size:"medium"}),a&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Environment"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),B.jsxs("div",{className:e.grid,children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(eS,{})}),B.jsx(Lo,{children:"Host"})]}),B.jsx(ga,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),B.jsx(ga,{ok:!!a.node,label:"Node.js",value:a.node}),B.jsx(ga,{ok:!!a.git,label:"Git",value:a.git}),B.jsx(ga,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(cC,{})}),B.jsx(Lo,{children:"Power Platform tooling"})]}),B.jsx(ga,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),B.jsxs("div",{className:e.row,children:[B.jsxs(io,{className:e.rowLabel,children:[a.op?B.jsx(Yr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(Tu,{style:{color:q.colorBrandForeground1}}),"1Password CLI"]}),B.jsx(er,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(lC,{})}),B.jsx(Lo,{children:"Repository"})]}),B.jsx(ga,{neutral:!0,label:"Branch",value:a.branch}),B.jsxs("div",{className:e.row,children:[B.jsxs(io,{className:e.rowLabel,children:[a.repoIsClean?B.jsx(Yr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(Tu,{style:{color:q.colorPaletteYellowForeground1}}),"Working tree"]}),B.jsx(er,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),B.jsx(ga,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Raw state"}),B.jsx(xi,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),B.jsx(tr,{style:{color:q.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),B.jsx("pre",{className:e.pre,children:JSON.stringify(((s=n.data)==null?void 0:s.state)??{},null,2)})]})]})]})}const yA=sr({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:q.colorNeutralBackground1,color:q.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function xA(){const e=yA();return B.jsxs("div",{className:e.root,children:[B.jsx(JR,{}),B.jsx("div",{className:e.body,children:B.jsxs(Zk,{children:[B.jsx(bi,{path:"/",element:B.jsx(nA,{})}),B.jsx(bi,{path:"/step/:n",element:B.jsx(pA,{})}),B.jsx(bi,{path:"/summary",element:B.jsx(vA,{})}),B.jsx(bi,{path:"/diagnostics",element:B.jsx(bA,{})}),B.jsx(bi,{path:"*",element:B.jsx($k,{to:"/",replace:!0})})]})})]})}const SA=new r4({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),wA=document.getElementById("root");Z3.createRoot(wA).render(B.jsx(y.StrictMode,{children:B.jsx(n4,{client:SA,children:B.jsx($R,{children:B.jsx(wB,{children:B.jsx(xA,{})})})})}));