var v_=Object.defineProperty;var y_=(e,t,r)=>t in e?v_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Be=(e,t,r)=>y_(e,typeof t!="symbol"?t+"":t,r);function iS(e,t){for(var r=0;r<t.length;r++){const o=t[r];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(o,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var p2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function x_(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),r}var $h={exports:{}},tu={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var b2;function w_(){if(b2)return tu;b2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(o,i,s){var c=null;if(s!==void 0&&(c=""+s),i.key!==void 0&&(c=""+i.key),"key"in i){s={};for(var d in i)d!=="key"&&(s[d]=i[d])}else s=i;return i=s.ref,{$$typeof:e,type:o,key:c,ref:i!==void 0?i:null,props:s}}return tu.Fragment=t,tu.jsx=r,tu.jsxs=r,tu}var v2;function S_(){return v2||(v2=1,$h.exports=w_()),$h.exports}var E=S_();const k_=Yd(E),B_=iS({__proto__:null,default:k_},[E]);var Xh={exports:{}},Ue={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var y2;function __(){if(y2)return Ue;y2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),w=Symbol.iterator;function v(A){return A===null||typeof A!="object"?null:(A=w&&A[w]||A["@@iterator"],typeof A=="function"?A:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,k={};function B(A,U,ae){this.props=A,this.context=U,this.refs=k,this.updater=ae||x}B.prototype.isReactComponent={},B.prototype.setState=function(A,U){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,U,"setState")},B.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function _(){}_.prototype=B.prototype;function C(A,U,ae){this.props=A,this.context=U,this.refs=k,this.updater=ae||x}var N=C.prototype=new _;N.constructor=C,y(N,B.prototype),N.isPureReactComponent=!0;var R=Array.isArray;function j(){}var D={H:null,A:null,T:null,S:null},M=Object.prototype.hasOwnProperty;function I(A,U,ae){var me=ae.ref;return{$$typeof:e,type:A,key:U,ref:me!==void 0?me:null,props:ae}}function G(A,U){return I(A.type,U,A.props)}function X(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function re(A){var U={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ae){return U[ae]})}var ue=/\/+/g;function ne(A,U){return typeof A=="object"&&A!==null&&A.key!=null?re(""+A.key):U.toString(36)}function fe(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(j,j):(A.status="pending",A.then(function(U){A.status==="pending"&&(A.status="fulfilled",A.value=U)},function(U){A.status==="pending"&&(A.status="rejected",A.reason=U)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function O(A,U,ae,me,Te){var Ae=typeof A;(Ae==="undefined"||Ae==="boolean")&&(A=null);var Le=!1;if(A===null)Le=!0;else switch(Ae){case"bigint":case"string":case"number":Le=!0;break;case"object":switch(A.$$typeof){case e:case t:Le=!0;break;case m:return Le=A._init,O(Le(A._payload),U,ae,me,Te)}}if(Le)return Te=Te(A),Le=me===""?"."+ne(A,0):me,R(Te)?(ae="",Le!=null&&(ae=Le.replace(ue,"$&/")+"/"),O(Te,U,ae,"",function(Ge){return Ge})):Te!=null&&(X(Te)&&(Te=G(Te,ae+(Te.key==null||A&&A.key===Te.key?"":(""+Te.key).replace(ue,"$&/")+"/")+Le)),U.push(Te)),1;Le=0;var Ft=me===""?".":me+":";if(R(A))for(var Qe=0;Qe<A.length;Qe++)me=A[Qe],Ae=Ft+ne(me,Qe),Le+=O(me,U,ae,Ae,Te);else if(Qe=v(A),typeof Qe=="function")for(A=Qe.call(A),Qe=0;!(me=A.next()).done;)me=me.value,Ae=Ft+ne(me,Qe++),Le+=O(me,U,ae,Ae,Te);else if(Ae==="object"){if(typeof A.then=="function")return O(fe(A),U,ae,me,Te);throw U=String(A),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Le}function W(A,U,ae){if(A==null)return A;var me=[],Te=0;return O(A,me,"","",function(Ae){return U.call(ae,Ae,Te++)}),me}function L(A){if(A._status===-1){var U=A._result;U=U(),U.then(function(ae){(A._status===0||A._status===-1)&&(A._status=1,A._result=ae)},function(ae){(A._status===0||A._status===-1)&&(A._status=2,A._result=ae)}),A._status===-1&&(A._status=0,A._result=U)}if(A._status===1)return A._result.default;throw A._result}var Z=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},se={map:W,forEach:function(A,U,ae){W(A,function(){U.apply(this,arguments)},ae)},count:function(A){var U=0;return W(A,function(){U++}),U},toArray:function(A){return W(A,function(U){return U})||[]},only:function(A){if(!X(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return Ue.Activity=p,Ue.Children=se,Ue.Component=B,Ue.Fragment=r,Ue.Profiler=i,Ue.PureComponent=C,Ue.StrictMode=o,Ue.Suspense=f,Ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,Ue.__COMPILER_RUNTIME={__proto__:null,c:function(A){return D.H.useMemoCache(A)}},Ue.cache=function(A){return function(){return A.apply(null,arguments)}},Ue.cacheSignal=function(){return null},Ue.cloneElement=function(A,U,ae){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var me=y({},A.props),Te=A.key;if(U!=null)for(Ae in U.key!==void 0&&(Te=""+U.key),U)!M.call(U,Ae)||Ae==="key"||Ae==="__self"||Ae==="__source"||Ae==="ref"&&U.ref===void 0||(me[Ae]=U[Ae]);var Ae=arguments.length-2;if(Ae===1)me.children=ae;else if(1<Ae){for(var Le=Array(Ae),Ft=0;Ft<Ae;Ft++)Le[Ft]=arguments[Ft+2];me.children=Le}return I(A.type,Te,me)},Ue.createContext=function(A){return A={$$typeof:c,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:s,_context:A},A},Ue.createElement=function(A,U,ae){var me,Te={},Ae=null;if(U!=null)for(me in U.key!==void 0&&(Ae=""+U.key),U)M.call(U,me)&&me!=="key"&&me!=="__self"&&me!=="__source"&&(Te[me]=U[me]);var Le=arguments.length-2;if(Le===1)Te.children=ae;else if(1<Le){for(var Ft=Array(Le),Qe=0;Qe<Le;Qe++)Ft[Qe]=arguments[Qe+2];Te.children=Ft}if(A&&A.defaultProps)for(me in Le=A.defaultProps,Le)Te[me]===void 0&&(Te[me]=Le[me]);return I(A,Ae,Te)},Ue.createRef=function(){return{current:null}},Ue.forwardRef=function(A){return{$$typeof:d,render:A}},Ue.isValidElement=X,Ue.lazy=function(A){return{$$typeof:m,_payload:{_status:-1,_result:A},_init:L}},Ue.memo=function(A,U){return{$$typeof:h,type:A,compare:U===void 0?null:U}},Ue.startTransition=function(A){var U=D.T,ae={};D.T=ae;try{var me=A(),Te=D.S;Te!==null&&Te(ae,me),typeof me=="object"&&me!==null&&typeof me.then=="function"&&me.then(j,Z)}catch(Ae){Z(Ae)}finally{U!==null&&ae.types!==null&&(U.types=ae.types),D.T=U}},Ue.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},Ue.use=function(A){return D.H.use(A)},Ue.useActionState=function(A,U,ae){return D.H.useActionState(A,U,ae)},Ue.useCallback=function(A,U){return D.H.useCallback(A,U)},Ue.useContext=function(A){return D.H.useContext(A)},Ue.useDebugValue=function(){},Ue.useDeferredValue=function(A,U){return D.H.useDeferredValue(A,U)},Ue.useEffect=function(A,U){return D.H.useEffect(A,U)},Ue.useEffectEvent=function(A){return D.H.useEffectEvent(A)},Ue.useId=function(){return D.H.useId()},Ue.useImperativeHandle=function(A,U,ae){return D.H.useImperativeHandle(A,U,ae)},Ue.useInsertionEffect=function(A,U){return D.H.useInsertionEffect(A,U)},Ue.useLayoutEffect=function(A,U){return D.H.useLayoutEffect(A,U)},Ue.useMemo=function(A,U){return D.H.useMemo(A,U)},Ue.useOptimistic=function(A,U){return D.H.useOptimistic(A,U)},Ue.useReducer=function(A,U,ae){return D.H.useReducer(A,U,ae)},Ue.useRef=function(A){return D.H.useRef(A)},Ue.useState=function(A){return D.H.useState(A)},Ue.useSyncExternalStore=function(A,U,ae){return D.H.useSyncExternalStore(A,U,ae)},Ue.useTransition=function(){return D.H.useTransition()},Ue.version="19.2.1",Ue}var x2;function Tp(){return x2||(x2=1,Xh.exports=__()),Xh.exports}var S=Tp();const Dd=Yd(S),jd=iS({__proto__:null,default:Dd},[S]);var Kh={exports:{}},ru={},Yh={exports:{}},Zh={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var w2;function T_(){return w2||(w2=1,function(e){function t(O,W){var L=O.length;O.push(W);e:for(;0<L;){var Z=L-1>>>1,se=O[Z];if(0<i(se,W))O[Z]=W,O[L]=se,L=Z;else break e}}function r(O){return O.length===0?null:O[0]}function o(O){if(O.length===0)return null;var W=O[0],L=O.pop();if(L!==W){O[0]=L;e:for(var Z=0,se=O.length,A=se>>>1;Z<A;){var U=2*(Z+1)-1,ae=O[U],me=U+1,Te=O[me];if(0>i(ae,L))me<se&&0>i(Te,ae)?(O[Z]=Te,O[me]=L,Z=me):(O[Z]=ae,O[U]=L,Z=U);else if(me<se&&0>i(Te,L))O[Z]=Te,O[me]=L,Z=me;else break e}}return W}function i(O,W){var L=O.sortIndex-W.sortIndex;return L!==0?L:O.id-W.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],h=[],m=1,p=null,w=3,v=!1,x=!1,y=!1,k=!1,B=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function N(O){for(var W=r(h);W!==null;){if(W.callback===null)o(h);else if(W.startTime<=O)o(h),W.sortIndex=W.expirationTime,t(f,W);else break;W=r(h)}}function R(O){if(y=!1,N(O),!x)if(r(f)!==null)x=!0,j||(j=!0,re());else{var W=r(h);W!==null&&fe(R,W.startTime-O)}}var j=!1,D=-1,M=5,I=-1;function G(){return k?!0:!(e.unstable_now()-I<M)}function X(){if(k=!1,j){var O=e.unstable_now();I=O;var W=!0;try{e:{x=!1,y&&(y=!1,_(D),D=-1),v=!0;var L=w;try{t:{for(N(O),p=r(f);p!==null&&!(p.expirationTime>O&&G());){var Z=p.callback;if(typeof Z=="function"){p.callback=null,w=p.priorityLevel;var se=Z(p.expirationTime<=O);if(O=e.unstable_now(),typeof se=="function"){p.callback=se,N(O),W=!0;break t}p===r(f)&&o(f),N(O)}else o(f);p=r(f)}if(p!==null)W=!0;else{var A=r(h);A!==null&&fe(R,A.startTime-O),W=!1}}break e}finally{p=null,w=L,v=!1}W=void 0}}finally{W?re():j=!1}}}var re;if(typeof C=="function")re=function(){C(X)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,ne=ue.port2;ue.port1.onmessage=X,re=function(){ne.postMessage(null)}}else re=function(){B(X,0)};function fe(O,W){D=B(function(){O(e.unstable_now())},W)}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(O){O.callback=null},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(O){switch(w){case 1:case 2:case 3:var W=3;break;default:W=w}var L=w;w=W;try{return O()}finally{w=L}},e.unstable_requestPaint=function(){k=!0},e.unstable_runWithPriority=function(O,W){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var L=w;w=O;try{return W()}finally{w=L}},e.unstable_scheduleCallback=function(O,W,L){var Z=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?Z+L:Z):L=Z,O){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=L+se,O={id:m++,callback:W,priorityLevel:O,startTime:L,expirationTime:se,sortIndex:-1},L>Z?(O.sortIndex=L,t(h,O),r(f)===null&&O===r(h)&&(y?(_(D),D=-1):y=!0,fe(R,L-Z))):(O.sortIndex=se,t(f,O),x||v||(x=!0,j||(j=!0,re()))),O},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(O){var W=w;return function(){var L=w;w=W;try{return O.apply(this,arguments)}finally{w=L}}}}(Zh)),Zh}var S2;function C_(){return S2||(S2=1,Yh.exports=T_()),Yh.exports}var Qh={exports:{}},$r={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var k2;function E_(){if(k2)return $r;k2=1;var e=Tp();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var o={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(f,h,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:p==null?null:""+p,children:f,containerInfo:h,implementation:m}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return $r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,$r.createPortal=function(f,h){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return s(f,h,null,m)},$r.flushSync=function(f){var h=c.T,m=o.p;try{if(c.T=null,o.p=2,f)return f()}finally{c.T=h,o.p=m,o.d.f()}},$r.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,o.d.C(f,h))},$r.prefetchDNS=function(f){typeof f=="string"&&o.d.D(f)},$r.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var m=h.as,p=d(m,h.crossOrigin),w=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;m==="style"?o.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:w,fetchPriority:v}):m==="script"&&o.d.X(f,{crossOrigin:p,integrity:w,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},$r.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var m=d(h.as,h.crossOrigin);o.d.M(f,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&o.d.M(f)},$r.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var m=h.as,p=d(m,h.crossOrigin);o.d.L(f,m,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},$r.preloadModule=function(f,h){if(typeof f=="string")if(h){var m=d(h.as,h.crossOrigin);o.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else o.d.m(f)},$r.requestFormReset=function(f){o.d.r(f)},$r.unstable_batchedUpdates=function(f,h){return f(h)},$r.useFormState=function(f,h,m){return c.H.useFormState(f,h,m)},$r.useFormStatus=function(){return c.H.useHostTransitionStatus()},$r.version="19.2.1",$r}var B2;function lS(){if(B2)return Qh.exports;B2=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(t){console.error(t)}}return e(),Qh.exports=E_(),Qh.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var _2;function N_(){if(_2)return ru;_2=1;var e=C_(),t=Tp(),r=lS();function o(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)a+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function s(n){var a=n,l=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(l=a.return),n=a.return;while(n)}return a.tag===3?l:null}function c(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function d(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function f(n){if(s(n)!==n)throw Error(o(188))}function h(n){var a=n.alternate;if(!a){if(a=s(n),a===null)throw Error(o(188));return a!==n?null:n}for(var l=n,u=a;;){var g=l.return;if(g===null)break;var b=g.alternate;if(b===null){if(u=g.return,u!==null){l=u;continue}break}if(g.child===b.child){for(b=g.child;b;){if(b===l)return f(g),n;if(b===u)return f(g),a;b=b.sibling}throw Error(o(188))}if(l.return!==u.return)l=g,u=b;else{for(var T=!1,z=g.child;z;){if(z===l){T=!0,l=g,u=b;break}if(z===u){T=!0,u=g,l=b;break}z=z.sibling}if(!T){for(z=b.child;z;){if(z===l){T=!0,l=b,u=g;break}if(z===u){T=!0,u=b,l=g;break}z=z.sibling}if(!T)throw Error(o(189))}}if(l.alternate!==u)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?n:a}function m(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=m(n),a!==null)return a;n=n.sibling}return null}var p=Object.assign,w=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),C=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),G=Symbol.for("react.memo_cache_sentinel"),X=Symbol.iterator;function re(n){return n===null||typeof n!="object"?null:(n=X&&n[X]||n["@@iterator"],typeof n=="function"?n:null)}var ue=Symbol.for("react.client.reference");function ne(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ue?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case y:return"Fragment";case B:return"Profiler";case k:return"StrictMode";case R:return"Suspense";case j:return"SuspenseList";case I:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case x:return"Portal";case C:return n.displayName||"Context";case _:return(n._context.displayName||"Context")+".Consumer";case N:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case D:return a=n.displayName||null,a!==null?a:ne(n.type)||"Memo";case M:a=n._payload,n=n._init;try{return ne(n(a))}catch{}}return null}var fe=Array.isArray,O=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},Z=[],se=-1;function A(n){return{current:n}}function U(n){0>se||(n.current=Z[se],Z[se]=null,se--)}function ae(n,a){se++,Z[se]=n.current,n.current=a}var me=A(null),Te=A(null),Ae=A(null),Le=A(null);function Ft(n,a){switch(ae(Ae,a),ae(Te,n),ae(me,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Py(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Py(a),n=Iy(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}U(me),ae(me,n)}function Qe(){U(me),U(Te),U(Ae)}function Ge(n){n.memoizedState!==null&&ae(Le,n);var a=me.current,l=Iy(a,n.type);a!==l&&(ae(Te,n),ae(me,l))}function zt(n){Te.current===n&&(U(me),U(Te)),Le.current===n&&(U(Le),Zs._currentValue=L)}var dt,$t;function Pt(n){if(dt===void 0)try{throw Error()}catch(l){var a=l.stack.trim().match(/\n( *(at )?)/);dt=a&&a[1]||"",$t=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+dt+n+$t}var Er=!1;function tr(n,a){if(!n||Er)return"";Er=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(a){var he=function(){throw Error()};if(Object.defineProperty(he.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(he,[])}catch(oe){var Q=oe}Reflect.construct(n,[],he)}else{try{he.call()}catch(oe){Q=oe}n.call(he.prototype)}}else{try{throw Error()}catch(oe){Q=oe}(he=n())&&typeof he.catch=="function"&&he.catch(function(){})}}catch(oe){if(oe&&Q&&typeof oe.stack=="string")return[oe.stack,Q.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=u.DetermineComponentFrameRoot(),T=b[0],z=b[1];if(T&&z){var P=T.split(`
`),Y=z.split(`
`);for(g=u=0;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;for(;g<Y.length&&!Y[g].includes("DetermineComponentFrameRoot");)g++;if(u===P.length||g===Y.length)for(u=P.length-1,g=Y.length-1;1<=u&&0<=g&&P[u]!==Y[g];)g--;for(;1<=u&&0<=g;u--,g--)if(P[u]!==Y[g]){if(u!==1||g!==1)do if(u--,g--,0>g||P[u]!==Y[g]){var le=`
`+P[u].replace(" at new "," at ");return n.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",n.displayName)),le}while(1<=u&&0<=g);break}}}finally{Er=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?Pt(l):""}function Nr(n,a){switch(n.tag){case 26:case 27:case 5:return Pt(n.type);case 16:return Pt("Lazy");case 13:return n.child!==a&&a!==null?Pt("Suspense Fallback"):Pt("Suspense");case 19:return Pt("SuspenseList");case 0:case 15:return tr(n.type,!1);case 11:return tr(n.type.render,!1);case 1:return tr(n.type,!0);case 31:return Pt("Activity");default:return""}}function Or(n){try{var a="",l=null;do a+=Nr(n,l),l=n,n=n.return;while(n);return a}catch(u){return`
Error generating stack: `+u.message+`
`+u.stack}}var An=Object.prototype.hasOwnProperty,Zr=e.unstable_scheduleCallback,Mr=e.unstable_cancelCallback,po=e.unstable_shouldYield,eo=e.unstable_requestPaint,Rt=e.unstable_now,Li=e.unstable_getCurrentPriorityLevel,to=e.unstable_ImmediatePriority,bo=e.unstable_UserBlockingPriority,Mo=e.unstable_NormalPriority,qo=e.unstable_LowPriority,pa=e.unstable_IdlePriority,Hi=e.log,us=e.unstable_setDisableYieldValue,Fo=null,gr=null;function Qr(n){if(typeof Hi=="function"&&us(n),gr&&typeof gr.setStrictMode=="function")try{gr.setStrictMode(Fo,n)}catch{}}var $=Math.clz32?Math.clz32:pt,ee=Math.log,et=Math.LN2;function pt(n){return n>>>=0,n===0?32:31-(ee(n)/et|0)|0}var ut=256,He=262144,Wr=4194304;function rr(n){var a=n&42;if(a!==0)return a;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function q(n,a,l){var u=n.pendingLanes;if(u===0)return 0;var g=0,b=n.suspendedLanes,T=n.pingedLanes;n=n.warmLanes;var z=u&134217727;return z!==0?(u=z&~b,u!==0?g=rr(u):(T&=z,T!==0?g=rr(T):l||(l=z&~n,l!==0&&(g=rr(l))))):(z=u&~b,z!==0?g=rr(z):T!==0?g=rr(T):l||(l=u&~n,l!==0&&(g=rr(l)))),g===0?0:a!==0&&a!==g&&(a&b)===0&&(b=g&-g,l=a&-a,b>=l||b===32&&(l&4194048)!==0)?a:g}function ie(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Se(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 qe(){var n=Wr;return Wr<<=1,(Wr&62914560)===0&&(Wr=4194304),n}function tt(n){for(var a=[],l=0;31>l;l++)a.push(n);return a}function yt(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Ce(n,a,l,u,g,b){var T=n.pendingLanes;n.pendingLanes=l,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=l,n.entangledLanes&=l,n.errorRecoveryDisabledLanes&=l,n.shellSuspendCounter=0;var z=n.entanglements,P=n.expirationTimes,Y=n.hiddenUpdates;for(l=T&~l;0<l;){var le=31-$(l),he=1<<le;z[le]=0,P[le]=-1;var Q=Y[le];if(Q!==null)for(Y[le]=null,le=0;le<Q.length;le++){var oe=Q[le];oe!==null&&(oe.lane&=-536870913)}l&=~he}u!==0&&_e(n,u,0),b!==0&&g===0&&n.tag!==0&&(n.suspendedLanes|=b&~(T&~a))}function _e(n,a,l){n.pendingLanes|=a,n.suspendedLanes&=~a;var u=31-$(a);n.entangledLanes|=a,n.entanglements[u]=n.entanglements[u]|1073741824|l&261930}function Oe(n,a){var l=n.entangledLanes|=a;for(n=n.entanglements;l;){var u=31-$(l),g=1<<u;g&a|n[u]&a&&(n[u]|=a),l&=~g}}function Ht(n,a){var l=a&-a;return l=(l&42)!==0?1:kt(l),(l&(n.suspendedLanes|a))!==0?0:l}function kt(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function gn(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function vo(){var n=W.p;return n!==0?n:(n=window.event,n===void 0?32:u2(n.type))}function Po(n,a){var l=W.p;try{return W.p=n,a()}finally{W.p=l}}var pn=Math.random().toString(36).slice(2),Ut="__reactFiber$"+pn,Tr="__reactProps$"+pn,Dn="__reactContainer$"+pn,ba="__reactEvents$"+pn,Ui="__reactListeners$"+pn,yo="__reactHandles$"+pn,ro="__reactResources$"+pn,jn="__reactMarker$"+pn;function li(n){delete n[Ut],delete n[Tr],delete n[ba],delete n[Ui],delete n[yo]}function zr(n){var a=n[Ut];if(a)return a;for(var l=n.parentNode;l;){if(a=l[Dn]||l[Ut]){if(l=a.alternate,a.child!==null||l!==null&&l.child!==null)for(n=$y(n);n!==null;){if(l=n[Ut])return l;n=$y(n)}return a}n=l,l=n.parentNode}return null}function Io(n){if(n=n[Ut]||n[Dn]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function va(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(o(33))}function ya(n){var a=n[ro];return a||(a=n[ro]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function pr(n){n[jn]=!0}var Uu=new Set,si={};function Lo(n,a){ye(n,a),ye(n+"Capture",a)}function ye(n,a){for(si[n]=a,n=0;n<a.length;n++)Uu.add(a[n])}var De=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]*$"),Je={},Bt={};function dr(n){return An.call(Bt,n)?!0:An.call(Je,n)?!1:De.test(n)?Bt[n]=!0:(Je[n]=!0,!1)}function Gr(n,a,l){if(dr(a))if(l===null)n.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var u=a.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+l)}}function bn(n,a,l){if(l===null)n.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+l)}}function tn(n,a,l,u){if(u===null)n.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttributeNS(a,l,""+u)}}function It(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function vn(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Vu(n,a,l){var u=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var g=u.get,b=u.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return g.call(this)},set:function(T){l=""+T,b.call(this,T)}}),Object.defineProperty(n,a,{enumerable:u.enumerable}),{getValue:function(){return l},setValue:function(T){l=""+T},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Vi(n){if(!n._valueTracker){var a=vn(n)?"checked":"value";n._valueTracker=Vu(n,a,""+n[a])}}function cs(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var l=a.getValue(),u="";return n&&(u=vn(n)?n.checked?"true":"false":n.value),n=u,n!==l?(a.setValue(n),!0):!1}function Wi(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Gf=/[\n"\\]/g;function rn(n){return n.replace(Gf,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function ds(n,a,l,u,g,b,T,z){n.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?n.type=T:n.removeAttribute("type"),a!=null?T==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+It(a)):n.value!==""+It(a)&&(n.value=""+It(a)):T!=="submit"&&T!=="reset"||n.removeAttribute("value"),a!=null?Gi(n,T,It(a)):l!=null?Gi(n,T,It(l)):u!=null&&n.removeAttribute("value"),g==null&&b!=null&&(n.defaultChecked=!!b),g!=null&&(n.checked=g&&typeof g!="function"&&typeof g!="symbol"),z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?n.name=""+It(z):n.removeAttribute("name")}function ui(n,a,l,u,g,b,T,z){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.type=b),a!=null||l!=null){if(!(b!=="submit"&&b!=="reset"||a!=null)){Vi(n);return}l=l!=null?""+It(l):"",a=a!=null?""+It(a):l,z||a===n.value||(n.value=a),n.defaultValue=a}u=u??g,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=z?n.checked:!!u,n.defaultChecked=!!u,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(n.name=T),Vi(n)}function Gi(n,a,l){a==="number"&&Wi(n.ownerDocument)===n||n.defaultValue===""+l||(n.defaultValue=""+l)}function qr(n,a,l,u){if(n=n.options,a){a={};for(var g=0;g<l.length;g++)a["$"+l[g]]=!0;for(l=0;l<n.length;l++)g=a.hasOwnProperty("$"+n[l].value),n[l].selected!==g&&(n[l].selected=g),g&&u&&(n[l].defaultSelected=!0)}else{for(l=""+It(l),a=null,g=0;g<n.length;g++){if(n[g].value===l){n[g].selected=!0,u&&(n[g].defaultSelected=!0);return}a!==null||n[g].disabled||(a=n[g])}a!==null&&(a.selected=!0)}}function Wu(n,a,l){if(a!=null&&(a=""+It(a),a!==n.value&&(n.value=a),l==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=l!=null?""+It(l):""}function $i(n,a,l,u){if(a==null){if(u!=null){if(l!=null)throw Error(o(92));if(fe(u)){if(1<u.length)throw Error(o(93));u=u[0]}l=u}l==null&&(l=""),a=l}l=It(a),n.defaultValue=l,u=n.textContent,u===l&&u!==""&&u!==null&&(n.value=u),Vi(n)}function Ie(n,a){if(a){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=a;return}}n.textContent=a}var Gu=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 br(n,a,l){var u=a.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?u?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":u?n.setProperty(a,l):typeof l!="number"||l===0||Gu.has(a)?a==="float"?n.cssFloat=l:n[a]=(""+l).trim():n[a]=l+"px"}function _t(n,a,l){if(a!=null&&typeof a!="object")throw Error(o(62));if(n=n.style,l!=null){for(var u in l)!l.hasOwnProperty(u)||a!=null&&a.hasOwnProperty(u)||(u.indexOf("--")===0?n.setProperty(u,""):u==="float"?n.cssFloat="":n[u]="");for(var g in a)u=a[g],a.hasOwnProperty(g)&&l[g]!==u&&br(n,g,u)}else for(var b in a)a.hasOwnProperty(b)&&br(n,b,a[b])}function xa(n){if(n.indexOf("-")===-1)return!1;switch(n){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 Ho=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"]]),fs=/^[\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 wa(n){return fs.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function we(){}var ze=null;function $e(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var at=null,Yt=null;function On(n){var a=Io(n);if(a&&(n=a.stateNode)){var l=n[Tr]||null;e:switch(n=a.stateNode,a.type){case"input":if(ds(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),a=l.name,l.type==="radio"&&a!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+rn(""+a)+'"][type="radio"]'),a=0;a<l.length;a++){var u=l[a];if(u!==n&&u.form===n.form){var g=u[Tr]||null;if(!g)throw Error(o(90));ds(u,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(a=0;a<l.length;a++)u=l[a],u.form===n.form&&cs(u)}break e;case"textarea":Wu(n,l.value,l.defaultValue);break e;case"select":a=l.value,a!=null&&qr(n,!!l.multiple,a,!1)}}}var hs=!1;function $u(n,a,l){if(hs)return n(a,l);hs=!0;try{var u=n(a);return u}finally{if(hs=!1,(at!==null||Yt!==null)&&(jc(),at&&(a=at,n=Yt,Yt=at=null,On(a),n)))for(a=0;a<n.length;a++)On(n[a])}}function ms(n,a){var l=n.stateNode;if(l===null)return null;var u=l[Tr]||null;if(u===null)return null;l=u[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(o(231,a,typeof l));return l}var Uo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$f=!1;if(Uo)try{var gs={};Object.defineProperty(gs,"passive",{get:function(){$f=!0}}),window.addEventListener("test",gs,gs),window.removeEventListener("test",gs,gs)}catch{$f=!1}var Sa=null,Xf=null,Xu=null;function I1(){if(Xu)return Xu;var n,a=Xf,l=a.length,u,g="value"in Sa?Sa.value:Sa.textContent,b=g.length;for(n=0;n<l&&a[n]===g[n];n++);var T=l-n;for(u=1;u<=T&&a[l-u]===g[b-u];u++);return Xu=g.slice(n,1<u?1-u:void 0)}function Ku(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function Yu(){return!0}function L1(){return!1}function nn(n){function a(l,u,g,b,T){this._reactName=l,this._targetInst=g,this.type=u,this.nativeEvent=b,this.target=T,this.currentTarget=null;for(var z in n)n.hasOwnProperty(z)&&(l=n[z],this[z]=l?l(b):b[z]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Yu:L1,this.isPropagationStopped=L1,this}return p(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Yu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Yu)},persist:function(){},isPersistent:Yu}),a}var ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zu=nn(ci),ps=p({},ci,{view:0,detail:0}),p8=nn(ps),Kf,Yf,bs,Qu=p({},ps,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==bs&&(bs&&n.type==="mousemove"?(Kf=n.screenX-bs.screenX,Yf=n.screenY-bs.screenY):Yf=Kf=0,bs=n),Kf)},movementY:function(n){return"movementY"in n?n.movementY:Yf}}),H1=nn(Qu),b8=p({},Qu,{dataTransfer:0}),v8=nn(b8),y8=p({},ps,{relatedTarget:0}),Zf=nn(y8),x8=p({},ci,{animationName:0,elapsedTime:0,pseudoElement:0}),w8=nn(x8),S8=p({},ci,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),k8=nn(S8),B8=p({},ci,{data:0}),U1=nn(B8),_8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},T8={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"},C8={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E8(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=C8[n])?!!a[n]:!1}function Qf(){return E8}var N8=p({},ps,{key:function(n){if(n.key){var a=_8[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=Ku(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?T8[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qf,charCode:function(n){return n.type==="keypress"?Ku(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Ku(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),z8=nn(N8),R8=p({},Qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),V1=nn(R8),A8=p({},ps,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qf}),D8=nn(A8),j8=p({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),O8=nn(j8),M8=p({},Qu,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),q8=nn(M8),F8=p({},ci,{newState:0,oldState:0}),P8=nn(F8),I8=[9,13,27,32],Jf=Uo&&"CompositionEvent"in window,vs=null;Uo&&"documentMode"in document&&(vs=document.documentMode);var L8=Uo&&"TextEvent"in window&&!vs,W1=Uo&&(!Jf||vs&&8<vs&&11>=vs),G1=" ",$1=!1;function X1(n,a){switch(n){case"keyup":return I8.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function K1(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Xi=!1;function H8(n,a){switch(n){case"compositionend":return K1(a);case"keypress":return a.which!==32?null:($1=!0,G1);case"textInput":return n=a.data,n===G1&&$1?null:n;default:return null}}function U8(n,a){if(Xi)return n==="compositionend"||!Jf&&X1(n,a)?(n=I1(),Xu=Xf=Sa=null,Xi=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return W1&&a.locale!=="ko"?null:a.data;default:return null}}var V8={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 Y1(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!V8[n.type]:a==="textarea"}function Z1(n,a,l,u){at?Yt?Yt.push(u):Yt=[u]:at=u,a=Lc(a,"onChange"),0<a.length&&(l=new Zu("onChange","change",null,l,u),n.push({event:l,listeners:a}))}var ys=null,xs=null;function W8(n){Dy(n,0)}function Ju(n){var a=va(n);if(cs(a))return n}function Q1(n,a){if(n==="change")return a}var J1=!1;if(Uo){var e0;if(Uo){var t0="oninput"in document;if(!t0){var eb=document.createElement("div");eb.setAttribute("oninput","return;"),t0=typeof eb.oninput=="function"}e0=t0}else e0=!1;J1=e0&&(!document.documentMode||9<document.documentMode)}function tb(){ys&&(ys.detachEvent("onpropertychange",rb),xs=ys=null)}function rb(n){if(n.propertyName==="value"&&Ju(xs)){var a=[];Z1(a,xs,n,$e(n)),$u(W8,a)}}function G8(n,a,l){n==="focusin"?(tb(),ys=a,xs=l,ys.attachEvent("onpropertychange",rb)):n==="focusout"&&tb()}function $8(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ju(xs)}function X8(n,a){if(n==="click")return Ju(a)}function K8(n,a){if(n==="input"||n==="change")return Ju(a)}function Y8(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var yn=typeof Object.is=="function"?Object.is:Y8;function ws(n,a){if(yn(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var l=Object.keys(n),u=Object.keys(a);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var g=l[u];if(!An.call(a,g)||!yn(n[g],a[g]))return!1}return!0}function nb(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function ob(n,a){var l=nb(n);n=0;for(var u;l;){if(l.nodeType===3){if(u=n+l.textContent.length,n<=a&&u>=a)return{node:l,offset:a-n};n=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=nb(l)}}function ab(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?ab(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function ib(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Wi(n.document);a instanceof n.HTMLIFrameElement;){try{var l=typeof a.contentWindow.location.href=="string"}catch{l=!1}if(l)n=a.contentWindow;else break;a=Wi(n.document)}return a}function r0(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var Z8=Uo&&"documentMode"in document&&11>=document.documentMode,Ki=null,n0=null,Ss=null,o0=!1;function lb(n,a,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;o0||Ki==null||Ki!==Wi(u)||(u=Ki,"selectionStart"in u&&r0(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ss&&ws(Ss,u)||(Ss=u,u=Lc(n0,"onSelect"),0<u.length&&(a=new Zu("onSelect","select",null,a,l),n.push({event:a,listeners:u}),a.target=Ki)))}function di(n,a){var l={};return l[n.toLowerCase()]=a.toLowerCase(),l["Webkit"+n]="webkit"+a,l["Moz"+n]="moz"+a,l}var Yi={animationend:di("Animation","AnimationEnd"),animationiteration:di("Animation","AnimationIteration"),animationstart:di("Animation","AnimationStart"),transitionrun:di("Transition","TransitionRun"),transitionstart:di("Transition","TransitionStart"),transitioncancel:di("Transition","TransitionCancel"),transitionend:di("Transition","TransitionEnd")},a0={},sb={};Uo&&(sb=document.createElement("div").style,"AnimationEvent"in window||(delete Yi.animationend.animation,delete Yi.animationiteration.animation,delete Yi.animationstart.animation),"TransitionEvent"in window||delete Yi.transitionend.transition);function fi(n){if(a0[n])return a0[n];if(!Yi[n])return n;var a=Yi[n],l;for(l in a)if(a.hasOwnProperty(l)&&l in sb)return a0[n]=a[l];return n}var ub=fi("animationend"),cb=fi("animationiteration"),db=fi("animationstart"),Q8=fi("transitionrun"),J8=fi("transitionstart"),eB=fi("transitioncancel"),fb=fi("transitionend"),hb=new Map,i0="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(" ");i0.push("scrollEnd");function no(n,a){hb.set(n,a),Lo(a,[n])}var ec=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Mn=[],Zi=0,l0=0;function tc(){for(var n=Zi,a=l0=Zi=0;a<n;){var l=Mn[a];Mn[a++]=null;var u=Mn[a];Mn[a++]=null;var g=Mn[a];Mn[a++]=null;var b=Mn[a];if(Mn[a++]=null,u!==null&&g!==null){var T=u.pending;T===null?g.next=g:(g.next=T.next,T.next=g),u.pending=g}b!==0&&mb(l,g,b)}}function rc(n,a,l,u){Mn[Zi++]=n,Mn[Zi++]=a,Mn[Zi++]=l,Mn[Zi++]=u,l0|=u,n.lanes|=u,n=n.alternate,n!==null&&(n.lanes|=u)}function s0(n,a,l,u){return rc(n,a,l,u),nc(n)}function hi(n,a){return rc(n,null,null,a),nc(n)}function mb(n,a,l){n.lanes|=l;var u=n.alternate;u!==null&&(u.lanes|=l);for(var g=!1,b=n.return;b!==null;)b.childLanes|=l,u=b.alternate,u!==null&&(u.childLanes|=l),b.tag===22&&(n=b.stateNode,n===null||n._visibility&1||(g=!0)),n=b,b=b.return;return n.tag===3?(b=n.stateNode,g&&a!==null&&(g=31-$(l),n=b.hiddenUpdates,u=n[g],u===null?n[g]=[a]:u.push(a),a.lane=l|536870912),b):null}function nc(n){if(50<Vs)throw Vs=0,bh=null,Error(o(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var Qi={};function tB(n,a,l,u){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xn(n,a,l,u){return new tB(n,a,l,u)}function u0(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Vo(n,a){var l=n.alternate;return l===null?(l=xn(n.tag,a,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=a,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&65011712,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,a=n.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l.refCleanup=n.refCleanup,l}function gb(n,a){n.flags&=65011714;var l=n.alternate;return l===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=l.childLanes,n.lanes=l.lanes,n.child=l.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=l.memoizedProps,n.memoizedState=l.memoizedState,n.updateQueue=l.updateQueue,n.type=l.type,a=l.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function oc(n,a,l,u,g,b){var T=0;if(u=n,typeof n=="function")u0(n)&&(T=1);else if(typeof n=="string")T=i_(n,l,me.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case I:return n=xn(31,l,a,g),n.elementType=I,n.lanes=b,n;case y:return mi(l.children,g,b,a);case k:T=8,g|=24;break;case B:return n=xn(12,l,a,g|2),n.elementType=B,n.lanes=b,n;case R:return n=xn(13,l,a,g),n.elementType=R,n.lanes=b,n;case j:return n=xn(19,l,a,g),n.elementType=j,n.lanes=b,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case C:T=10;break e;case _:T=9;break e;case N:T=11;break e;case D:T=14;break e;case M:T=16,u=null;break e}T=29,l=Error(o(130,n===null?"null":typeof n,"")),u=null}return a=xn(T,l,a,g),a.elementType=n,a.type=u,a.lanes=b,a}function mi(n,a,l,u){return n=xn(7,n,u,a),n.lanes=l,n}function c0(n,a,l){return n=xn(6,n,null,a),n.lanes=l,n}function pb(n){var a=xn(18,null,null,0);return a.stateNode=n,a}function d0(n,a,l){return a=xn(4,n.children!==null?n.children:[],n.key,a),a.lanes=l,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var bb=new WeakMap;function qn(n,a){if(typeof n=="object"&&n!==null){var l=bb.get(n);return l!==void 0?l:(a={value:n,source:a,stack:Or(a)},bb.set(n,a),a)}return{value:n,source:a,stack:Or(a)}}var Ji=[],el=0,ac=null,ks=0,Fn=[],Pn=0,ka=null,xo=1,wo="";function Wo(n,a){Ji[el++]=ks,Ji[el++]=ac,ac=n,ks=a}function vb(n,a,l){Fn[Pn++]=xo,Fn[Pn++]=wo,Fn[Pn++]=ka,ka=n;var u=xo;n=wo;var g=32-$(u)-1;u&=~(1<<g),l+=1;var b=32-$(a)+g;if(30<b){var T=g-g%5;b=(u&(1<<T)-1).toString(32),u>>=T,g-=T,xo=1<<32-$(a)+g|l<<g|u,wo=b+n}else xo=1<<b|l<<g|u,wo=n}function f0(n){n.return!==null&&(Wo(n,1),vb(n,1,0))}function h0(n){for(;n===ac;)ac=Ji[--el],Ji[el]=null,ks=Ji[--el],Ji[el]=null;for(;n===ka;)ka=Fn[--Pn],Fn[Pn]=null,wo=Fn[--Pn],Fn[Pn]=null,xo=Fn[--Pn],Fn[Pn]=null}function yb(n,a){Fn[Pn++]=xo,Fn[Pn++]=wo,Fn[Pn++]=ka,xo=a.id,wo=a.overflow,ka=n}var Fr=null,Vt=null,st=!1,Ba=null,In=!1,m0=Error(o(519));function _a(n){var a=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Bs(qn(a,n)),m0}function xb(n){var a=n.stateNode,l=n.type,u=n.memoizedProps;switch(a[Ut]=n,a[Tr]=u,l){case"dialog":nt("cancel",a),nt("close",a);break;case"iframe":case"object":case"embed":nt("load",a);break;case"video":case"audio":for(l=0;l<Gs.length;l++)nt(Gs[l],a);break;case"source":nt("error",a);break;case"img":case"image":case"link":nt("error",a),nt("load",a);break;case"details":nt("toggle",a);break;case"input":nt("invalid",a),ui(a,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":nt("invalid",a);break;case"textarea":nt("invalid",a),$i(a,u.value,u.defaultValue,u.children)}l=u.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||a.textContent===""+l||u.suppressHydrationWarning===!0||qy(a.textContent,l)?(u.popover!=null&&(nt("beforetoggle",a),nt("toggle",a)),u.onScroll!=null&&nt("scroll",a),u.onScrollEnd!=null&&nt("scrollend",a),u.onClick!=null&&(a.onclick=we),a=!0):a=!1,a||_a(n,!0)}function wb(n){for(Fr=n.return;Fr;)switch(Fr.tag){case 5:case 31:case 13:In=!1;return;case 27:case 3:In=!0;return;default:Fr=Fr.return}}function tl(n){if(n!==Fr)return!1;if(!st)return wb(n),st=!0,!1;var a=n.tag,l;if((l=a!==3&&a!==27)&&((l=a===5)&&(l=n.type,l=!(l!=="form"&&l!=="button")||Ah(n.type,n.memoizedProps)),l=!l),l&&Vt&&_a(n),wb(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));Vt=Gy(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));Vt=Gy(n)}else a===27?(a=Vt,Pa(n.type)?(n=qh,qh=null,Vt=n):Vt=a):Vt=Fr?Hn(n.stateNode.nextSibling):null;return!0}function gi(){Vt=Fr=null,st=!1}function g0(){var n=Ba;return n!==null&&(sn===null?sn=n:sn.push.apply(sn,n),Ba=null),n}function Bs(n){Ba===null?Ba=[n]:Ba.push(n)}var p0=A(null),pi=null,Go=null;function Ta(n,a,l){ae(p0,a._currentValue),a._currentValue=l}function $o(n){n._currentValue=p0.current,U(p0)}function b0(n,a,l){for(;n!==null;){var u=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,u!==null&&(u.childLanes|=a)):u!==null&&(u.childLanes&a)!==a&&(u.childLanes|=a),n===l)break;n=n.return}}function v0(n,a,l,u){var g=n.child;for(g!==null&&(g.return=n);g!==null;){var b=g.dependencies;if(b!==null){var T=g.child;b=b.firstContext;e:for(;b!==null;){var z=b;b=g;for(var P=0;P<a.length;P++)if(z.context===a[P]){b.lanes|=l,z=b.alternate,z!==null&&(z.lanes|=l),b0(b.return,l,n),u||(T=null);break e}b=z.next}}else if(g.tag===18){if(T=g.return,T===null)throw Error(o(341));T.lanes|=l,b=T.alternate,b!==null&&(b.lanes|=l),b0(T,l,n),T=null}else T=g.child;if(T!==null)T.return=g;else for(T=g;T!==null;){if(T===n){T=null;break}if(g=T.sibling,g!==null){g.return=T.return,T=g;break}T=T.return}g=T}}function rl(n,a,l,u){n=null;for(var g=a,b=!1;g!==null;){if(!b){if((g.flags&524288)!==0)b=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var T=g.alternate;if(T===null)throw Error(o(387));if(T=T.memoizedProps,T!==null){var z=g.type;yn(g.pendingProps.value,T.value)||(n!==null?n.push(z):n=[z])}}else if(g===Le.current){if(T=g.alternate,T===null)throw Error(o(387));T.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(n!==null?n.push(Zs):n=[Zs])}g=g.return}n!==null&&v0(a,n,l,u),a.flags|=262144}function ic(n){for(n=n.firstContext;n!==null;){if(!yn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function bi(n){pi=n,Go=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Pr(n){return Sb(pi,n)}function lc(n,a){return pi===null&&bi(n),Sb(n,a)}function Sb(n,a){var l=a._currentValue;if(a={context:a,memoizedValue:l,next:null},Go===null){if(n===null)throw Error(o(308));Go=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else Go=Go.next=a;return l}var rB=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(l,u){n.push(u)}};this.abort=function(){a.aborted=!0,n.forEach(function(l){return l()})}},nB=e.unstable_scheduleCallback,oB=e.unstable_NormalPriority,vr={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function y0(){return{controller:new rB,data:new Map,refCount:0}}function _s(n){n.refCount--,n.refCount===0&&nB(oB,function(){n.controller.abort()})}var Ts=null,x0=0,nl=0,ol=null;function aB(n,a){if(Ts===null){var l=Ts=[];x0=0,nl=kh(),ol={status:"pending",value:void 0,then:function(u){l.push(u)}}}return x0++,a.then(kb,kb),a}function kb(){if(--x0===0&&Ts!==null){ol!==null&&(ol.status="fulfilled");var n=Ts;Ts=null,nl=0,ol=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function iB(n,a){var l=[],u={status:"pending",value:null,reason:null,then:function(g){l.push(g)}};return n.then(function(){u.status="fulfilled",u.value=a;for(var g=0;g<l.length;g++)(0,l[g])(a)},function(g){for(u.status="rejected",u.reason=g,g=0;g<l.length;g++)(0,l[g])(void 0)}),u}var Bb=O.S;O.S=function(n,a){ly=Rt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&aB(n,a),Bb!==null&&Bb(n,a)};var vi=A(null);function w0(){var n=vi.current;return n!==null?n:qt.pooledCache}function sc(n,a){a===null?ae(vi,vi.current):ae(vi,a.pool)}function _b(){var n=w0();return n===null?null:{parent:vr._currentValue,pool:n}}var al=Error(o(460)),S0=Error(o(474)),uc=Error(o(542)),cc={then:function(){}};function Tb(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Cb(n,a,l){switch(l=n[l],l===void 0?n.push(a):l!==a&&(a.then(we,we),a=l),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Nb(n),n;default:if(typeof a.status=="string")a.then(we,we);else{if(n=qt,n!==null&&100<n.shellSuspendCounter)throw Error(o(482));n=a,n.status="pending",n.then(function(u){if(a.status==="pending"){var g=a;g.status="fulfilled",g.value=u}},function(u){if(a.status==="pending"){var g=a;g.status="rejected",g.reason=u}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Nb(n),n}throw xi=a,al}}function yi(n){try{var a=n._init;return a(n._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(xi=l,al):l}}var xi=null;function Eb(){if(xi===null)throw Error(o(459));var n=xi;return xi=null,n}function Nb(n){if(n===al||n===uc)throw Error(o(483))}var il=null,Cs=0;function dc(n){var a=Cs;return Cs+=1,il===null&&(il=[]),Cb(il,n,a)}function Es(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function fc(n,a){throw a.$$typeof===w?Error(o(525)):(n=Object.prototype.toString.call(a),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function zb(n){function a(V,H){if(n){var K=V.deletions;K===null?(V.deletions=[H],V.flags|=16):K.push(H)}}function l(V,H){if(!n)return null;for(;H!==null;)a(V,H),H=H.sibling;return null}function u(V){for(var H=new Map;V!==null;)V.key!==null?H.set(V.key,V):H.set(V.index,V),V=V.sibling;return H}function g(V,H){return V=Vo(V,H),V.index=0,V.sibling=null,V}function b(V,H,K){return V.index=K,n?(K=V.alternate,K!==null?(K=K.index,K<H?(V.flags|=67108866,H):K):(V.flags|=67108866,H)):(V.flags|=1048576,H)}function T(V){return n&&V.alternate===null&&(V.flags|=67108866),V}function z(V,H,K,ce){return H===null||H.tag!==6?(H=c0(K,V.mode,ce),H.return=V,H):(H=g(H,K),H.return=V,H)}function P(V,H,K,ce){var Me=K.type;return Me===y?le(V,H,K.props.children,ce,K.key):H!==null&&(H.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===M&&yi(Me)===H.type)?(H=g(H,K.props),Es(H,K),H.return=V,H):(H=oc(K.type,K.key,K.props,null,V.mode,ce),Es(H,K),H.return=V,H)}function Y(V,H,K,ce){return H===null||H.tag!==4||H.stateNode.containerInfo!==K.containerInfo||H.stateNode.implementation!==K.implementation?(H=d0(K,V.mode,ce),H.return=V,H):(H=g(H,K.children||[]),H.return=V,H)}function le(V,H,K,ce,Me){return H===null||H.tag!==7?(H=mi(K,V.mode,ce,Me),H.return=V,H):(H=g(H,K),H.return=V,H)}function he(V,H,K){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=c0(""+H,V.mode,K),H.return=V,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case v:return K=oc(H.type,H.key,H.props,null,V.mode,K),Es(K,H),K.return=V,K;case x:return H=d0(H,V.mode,K),H.return=V,H;case M:return H=yi(H),he(V,H,K)}if(fe(H)||re(H))return H=mi(H,V.mode,K,null),H.return=V,H;if(typeof H.then=="function")return he(V,dc(H),K);if(H.$$typeof===C)return he(V,lc(V,H),K);fc(V,H)}return null}function Q(V,H,K,ce){var Me=H!==null?H.key:null;if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return Me!==null?null:z(V,H,""+K,ce);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case v:return K.key===Me?P(V,H,K,ce):null;case x:return K.key===Me?Y(V,H,K,ce):null;case M:return K=yi(K),Q(V,H,K,ce)}if(fe(K)||re(K))return Me!==null?null:le(V,H,K,ce,null);if(typeof K.then=="function")return Q(V,H,dc(K),ce);if(K.$$typeof===C)return Q(V,H,lc(V,K),ce);fc(V,K)}return null}function oe(V,H,K,ce,Me){if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return V=V.get(K)||null,z(H,V,""+ce,Me);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case v:return V=V.get(ce.key===null?K:ce.key)||null,P(H,V,ce,Me);case x:return V=V.get(ce.key===null?K:ce.key)||null,Y(H,V,ce,Me);case M:return ce=yi(ce),oe(V,H,K,ce,Me)}if(fe(ce)||re(ce))return V=V.get(K)||null,le(H,V,ce,Me,null);if(typeof ce.then=="function")return oe(V,H,K,dc(ce),Me);if(ce.$$typeof===C)return oe(V,H,K,lc(H,ce),Me);fc(H,ce)}return null}function Ee(V,H,K,ce){for(var Me=null,ft=null,Re=H,Ze=H=0,lt=null;Re!==null&&Ze<K.length;Ze++){Re.index>Ze?(lt=Re,Re=null):lt=Re.sibling;var ht=Q(V,Re,K[Ze],ce);if(ht===null){Re===null&&(Re=lt);break}n&&Re&&ht.alternate===null&&a(V,Re),H=b(ht,H,Ze),ft===null?Me=ht:ft.sibling=ht,ft=ht,Re=lt}if(Ze===K.length)return l(V,Re),st&&Wo(V,Ze),Me;if(Re===null){for(;Ze<K.length;Ze++)Re=he(V,K[Ze],ce),Re!==null&&(H=b(Re,H,Ze),ft===null?Me=Re:ft.sibling=Re,ft=Re);return st&&Wo(V,Ze),Me}for(Re=u(Re);Ze<K.length;Ze++)lt=oe(Re,V,Ze,K[Ze],ce),lt!==null&&(n&&lt.alternate!==null&&Re.delete(lt.key===null?Ze:lt.key),H=b(lt,H,Ze),ft===null?Me=lt:ft.sibling=lt,ft=lt);return n&&Re.forEach(function(Va){return a(V,Va)}),st&&Wo(V,Ze),Me}function Fe(V,H,K,ce){if(K==null)throw Error(o(151));for(var Me=null,ft=null,Re=H,Ze=H=0,lt=null,ht=K.next();Re!==null&&!ht.done;Ze++,ht=K.next()){Re.index>Ze?(lt=Re,Re=null):lt=Re.sibling;var Va=Q(V,Re,ht.value,ce);if(Va===null){Re===null&&(Re=lt);break}n&&Re&&Va.alternate===null&&a(V,Re),H=b(Va,H,Ze),ft===null?Me=Va:ft.sibling=Va,ft=Va,Re=lt}if(ht.done)return l(V,Re),st&&Wo(V,Ze),Me;if(Re===null){for(;!ht.done;Ze++,ht=K.next())ht=he(V,ht.value,ce),ht!==null&&(H=b(ht,H,Ze),ft===null?Me=ht:ft.sibling=ht,ft=ht);return st&&Wo(V,Ze),Me}for(Re=u(Re);!ht.done;Ze++,ht=K.next())ht=oe(Re,V,Ze,ht.value,ce),ht!==null&&(n&&ht.alternate!==null&&Re.delete(ht.key===null?Ze:ht.key),H=b(ht,H,Ze),ft===null?Me=ht:ft.sibling=ht,ft=ht);return n&&Re.forEach(function(b_){return a(V,b_)}),st&&Wo(V,Ze),Me}function jt(V,H,K,ce){if(typeof K=="object"&&K!==null&&K.type===y&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case v:e:{for(var Me=K.key;H!==null;){if(H.key===Me){if(Me=K.type,Me===y){if(H.tag===7){l(V,H.sibling),ce=g(H,K.props.children),ce.return=V,V=ce;break e}}else if(H.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===M&&yi(Me)===H.type){l(V,H.sibling),ce=g(H,K.props),Es(ce,K),ce.return=V,V=ce;break e}l(V,H);break}else a(V,H);H=H.sibling}K.type===y?(ce=mi(K.props.children,V.mode,ce,K.key),ce.return=V,V=ce):(ce=oc(K.type,K.key,K.props,null,V.mode,ce),Es(ce,K),ce.return=V,V=ce)}return T(V);case x:e:{for(Me=K.key;H!==null;){if(H.key===Me)if(H.tag===4&&H.stateNode.containerInfo===K.containerInfo&&H.stateNode.implementation===K.implementation){l(V,H.sibling),ce=g(H,K.children||[]),ce.return=V,V=ce;break e}else{l(V,H);break}else a(V,H);H=H.sibling}ce=d0(K,V.mode,ce),ce.return=V,V=ce}return T(V);case M:return K=yi(K),jt(V,H,K,ce)}if(fe(K))return Ee(V,H,K,ce);if(re(K)){if(Me=re(K),typeof Me!="function")throw Error(o(150));return K=Me.call(K),Fe(V,H,K,ce)}if(typeof K.then=="function")return jt(V,H,dc(K),ce);if(K.$$typeof===C)return jt(V,H,lc(V,K),ce);fc(V,K)}return typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint"?(K=""+K,H!==null&&H.tag===6?(l(V,H.sibling),ce=g(H,K),ce.return=V,V=ce):(l(V,H),ce=c0(K,V.mode,ce),ce.return=V,V=ce),T(V)):l(V,H)}return function(V,H,K,ce){try{Cs=0;var Me=jt(V,H,K,ce);return il=null,Me}catch(Re){if(Re===al||Re===uc)throw Re;var ft=xn(29,Re,null,V.mode);return ft.lanes=ce,ft.return=V,ft}finally{}}}var wi=zb(!0),Rb=zb(!1),Ca=!1;function k0(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function B0(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ea(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Na(n,a,l){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(bt&2)!==0){var g=u.pending;return g===null?a.next=a:(a.next=g.next,g.next=a),u.pending=a,a=nc(n),mb(n,null,l),a}return rc(n,u,a,l),nc(n)}function Ns(n,a,l){if(a=a.updateQueue,a!==null&&(a=a.shared,(l&4194048)!==0)){var u=a.lanes;u&=n.pendingLanes,l|=u,a.lanes=l,Oe(n,l)}}function _0(n,a){var l=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var g=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var T={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};b===null?g=b=T:b=b.next=T,l=l.next}while(l!==null);b===null?g=b=a:b=b.next=a}else g=b=a;l={baseState:u.baseState,firstBaseUpdate:g,lastBaseUpdate:b,shared:u.shared,callbacks:u.callbacks},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=a:n.next=a,l.lastBaseUpdate=a}var T0=!1;function zs(){if(T0){var n=ol;if(n!==null)throw n}}function Rs(n,a,l,u){T0=!1;var g=n.updateQueue;Ca=!1;var b=g.firstBaseUpdate,T=g.lastBaseUpdate,z=g.shared.pending;if(z!==null){g.shared.pending=null;var P=z,Y=P.next;P.next=null,T===null?b=Y:T.next=Y,T=P;var le=n.alternate;le!==null&&(le=le.updateQueue,z=le.lastBaseUpdate,z!==T&&(z===null?le.firstBaseUpdate=Y:z.next=Y,le.lastBaseUpdate=P))}if(b!==null){var he=g.baseState;T=0,le=Y=P=null,z=b;do{var Q=z.lane&-536870913,oe=Q!==z.lane;if(oe?(it&Q)===Q:(u&Q)===Q){Q!==0&&Q===nl&&(T0=!0),le!==null&&(le=le.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});e:{var Ee=n,Fe=z;Q=a;var jt=l;switch(Fe.tag){case 1:if(Ee=Fe.payload,typeof Ee=="function"){he=Ee.call(jt,he,Q);break e}he=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=Fe.payload,Q=typeof Ee=="function"?Ee.call(jt,he,Q):Ee,Q==null)break e;he=p({},he,Q);break e;case 2:Ca=!0}}Q=z.callback,Q!==null&&(n.flags|=64,oe&&(n.flags|=8192),oe=g.callbacks,oe===null?g.callbacks=[Q]:oe.push(Q))}else oe={lane:Q,tag:z.tag,payload:z.payload,callback:z.callback,next:null},le===null?(Y=le=oe,P=he):le=le.next=oe,T|=Q;if(z=z.next,z===null){if(z=g.shared.pending,z===null)break;oe=z,z=oe.next,oe.next=null,g.lastBaseUpdate=oe,g.shared.pending=null}}while(!0);le===null&&(P=he),g.baseState=P,g.firstBaseUpdate=Y,g.lastBaseUpdate=le,b===null&&(g.shared.lanes=0),ja|=T,n.lanes=T,n.memoizedState=he}}function Ab(n,a){if(typeof n!="function")throw Error(o(191,n));n.call(a)}function Db(n,a){var l=n.callbacks;if(l!==null)for(n.callbacks=null,n=0;n<l.length;n++)Ab(l[n],a)}var ll=A(null),hc=A(0);function jb(n,a){n=ra,ae(hc,n),ae(ll,a),ra=n|a.baseLanes}function C0(){ae(hc,ra),ae(ll,ll.current)}function E0(){ra=hc.current,U(ll),U(hc)}var wn=A(null),Ln=null;function za(n){var a=n.alternate;ae(fr,fr.current&1),ae(wn,n),Ln===null&&(a===null||ll.current!==null||a.memoizedState!==null)&&(Ln=n)}function N0(n){ae(fr,fr.current),ae(wn,n),Ln===null&&(Ln=n)}function Ob(n){n.tag===22?(ae(fr,fr.current),ae(wn,n),Ln===null&&(Ln=n)):Ra()}function Ra(){ae(fr,fr.current),ae(wn,wn.current)}function Sn(n){U(wn),Ln===n&&(Ln=null),U(fr)}var fr=A(0);function mc(n){for(var a=n;a!==null;){if(a.tag===13){var l=a.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Oh(l)||Mh(l)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Xo=0,Ke=null,At=null,yr=null,gc=!1,sl=!1,Si=!1,pc=0,As=0,ul=null,lB=0;function nr(){throw Error(o(321))}function z0(n,a){if(a===null)return!1;for(var l=0;l<a.length&&l<n.length;l++)if(!yn(n[l],a[l]))return!1;return!0}function R0(n,a,l,u,g,b){return Xo=b,Ke=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,O.H=n===null||n.memoizedState===null?vv:G0,Si=!1,b=l(u,g),Si=!1,sl&&(b=qb(a,l,u,g)),Mb(n),b}function Mb(n){O.H=Os;var a=At!==null&&At.next!==null;if(Xo=0,yr=At=Ke=null,gc=!1,As=0,ul=null,a)throw Error(o(300));n===null||xr||(n=n.dependencies,n!==null&&ic(n)&&(xr=!0))}function qb(n,a,l,u){Ke=n;var g=0;do{if(sl&&(ul=null),As=0,sl=!1,25<=g)throw Error(o(301));if(g+=1,yr=At=null,n.updateQueue!=null){var b=n.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}O.H=yv,b=a(l,u)}while(sl);return b}function sB(){var n=O.H,a=n.useState()[0];return a=typeof a.then=="function"?Ds(a):a,n=n.useState()[0],(At!==null?At.memoizedState:null)!==n&&(Ke.flags|=1024),a}function A0(){var n=pc!==0;return pc=0,n}function D0(n,a,l){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~l}function j0(n){if(gc){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}gc=!1}Xo=0,yr=At=Ke=null,sl=!1,As=pc=0,ul=null}function Jr(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yr===null?Ke.memoizedState=yr=n:yr=yr.next=n,yr}function hr(){if(At===null){var n=Ke.alternate;n=n!==null?n.memoizedState:null}else n=At.next;var a=yr===null?Ke.memoizedState:yr.next;if(a!==null)yr=a,At=n;else{if(n===null)throw Ke.alternate===null?Error(o(467)):Error(o(310));At=n,n={memoizedState:At.memoizedState,baseState:At.baseState,baseQueue:At.baseQueue,queue:At.queue,next:null},yr===null?Ke.memoizedState=yr=n:yr=yr.next=n}return yr}function bc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ds(n){var a=As;return As+=1,ul===null&&(ul=[]),n=Cb(ul,n,a),a=Ke,(yr===null?a.memoizedState:yr.next)===null&&(a=a.alternate,O.H=a===null||a.memoizedState===null?vv:G0),n}function vc(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Ds(n);if(n.$$typeof===C)return Pr(n)}throw Error(o(438,String(n)))}function O0(n){var a=null,l=Ke.updateQueue;if(l!==null&&(a=l.memoCache),a==null){var u=Ke.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(a={data:u.data.map(function(g){return g.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),l===null&&(l=bc(),Ke.updateQueue=l),l.memoCache=a,l=a.data[a.index],l===void 0)for(l=a.data[a.index]=Array(n),u=0;u<n;u++)l[u]=G;return a.index++,l}function Ko(n,a){return typeof a=="function"?a(n):a}function yc(n){var a=hr();return M0(a,At,n)}function M0(n,a,l){var u=n.queue;if(u===null)throw Error(o(311));u.lastRenderedReducer=l;var g=n.baseQueue,b=u.pending;if(b!==null){if(g!==null){var T=g.next;g.next=b.next,b.next=T}a.baseQueue=g=b,u.pending=null}if(b=n.baseState,g===null)n.memoizedState=b;else{a=g.next;var z=T=null,P=null,Y=a,le=!1;do{var he=Y.lane&-536870913;if(he!==Y.lane?(it&he)===he:(Xo&he)===he){var Q=Y.revertLane;if(Q===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),he===nl&&(le=!0);else if((Xo&Q)===Q){Y=Y.next,Q===nl&&(le=!0);continue}else he={lane:0,revertLane:Y.revertLane,gesture:null,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},P===null?(z=P=he,T=b):P=P.next=he,Ke.lanes|=Q,ja|=Q;he=Y.action,Si&&l(b,he),b=Y.hasEagerState?Y.eagerState:l(b,he)}else Q={lane:he,revertLane:Y.revertLane,gesture:Y.gesture,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},P===null?(z=P=Q,T=b):P=P.next=Q,Ke.lanes|=he,ja|=he;Y=Y.next}while(Y!==null&&Y!==a);if(P===null?T=b:P.next=z,!yn(b,n.memoizedState)&&(xr=!0,le&&(l=ol,l!==null)))throw l;n.memoizedState=b,n.baseState=T,n.baseQueue=P,u.lastRenderedState=b}return g===null&&(u.lanes=0),[n.memoizedState,u.dispatch]}function q0(n){var a=hr(),l=a.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=n;var u=l.dispatch,g=l.pending,b=a.memoizedState;if(g!==null){l.pending=null;var T=g=g.next;do b=n(b,T.action),T=T.next;while(T!==g);yn(b,a.memoizedState)||(xr=!0),a.memoizedState=b,a.baseQueue===null&&(a.baseState=b),l.lastRenderedState=b}return[b,u]}function Fb(n,a,l){var u=Ke,g=hr(),b=st;if(b){if(l===void 0)throw Error(o(407));l=l()}else l=a();var T=!yn((At||g).memoizedState,l);if(T&&(g.memoizedState=l,xr=!0),g=g.queue,I0(Lb.bind(null,u,g,n),[n]),g.getSnapshot!==a||T||yr!==null&&yr.memoizedState.tag&1){if(u.flags|=2048,cl(9,{destroy:void 0},Ib.bind(null,u,g,l,a),null),qt===null)throw Error(o(349));b||(Xo&127)!==0||Pb(u,a,l)}return l}function Pb(n,a,l){n.flags|=16384,n={getSnapshot:a,value:l},a=Ke.updateQueue,a===null?(a=bc(),Ke.updateQueue=a,a.stores=[n]):(l=a.stores,l===null?a.stores=[n]:l.push(n))}function Ib(n,a,l,u){a.value=l,a.getSnapshot=u,Hb(a)&&Ub(n)}function Lb(n,a,l){return l(function(){Hb(a)&&Ub(n)})}function Hb(n){var a=n.getSnapshot;n=n.value;try{var l=a();return!yn(n,l)}catch{return!0}}function Ub(n){var a=hi(n,2);a!==null&&un(a,n,2)}function F0(n){var a=Jr();if(typeof n=="function"){var l=n;if(n=l(),Si){Qr(!0);try{l()}finally{Qr(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:n},a}function Vb(n,a,l,u){return n.baseState=l,M0(n,At,typeof u=="function"?u:Ko)}function uB(n,a,l,u,g){if(Sc(n))throw Error(o(485));if(n=a.action,n!==null){var b={payload:g,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(T){b.listeners.push(T)}};O.T!==null?l(!0):b.isTransition=!1,u(b),l=a.pending,l===null?(b.next=a.pending=b,Wb(a,b)):(b.next=l.next,a.pending=l.next=b)}}function Wb(n,a){var l=a.action,u=a.payload,g=n.state;if(a.isTransition){var b=O.T,T={};O.T=T;try{var z=l(g,u),P=O.S;P!==null&&P(T,z),Gb(n,a,z)}catch(Y){P0(n,a,Y)}finally{b!==null&&T.types!==null&&(b.types=T.types),O.T=b}}else try{b=l(g,u),Gb(n,a,b)}catch(Y){P0(n,a,Y)}}function Gb(n,a,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(u){$b(n,a,u)},function(u){return P0(n,a,u)}):$b(n,a,l)}function $b(n,a,l){a.status="fulfilled",a.value=l,Xb(a),n.state=l,a=n.pending,a!==null&&(l=a.next,l===a?n.pending=null:(l=l.next,a.next=l,Wb(n,l)))}function P0(n,a,l){var u=n.pending;if(n.pending=null,u!==null){u=u.next;do a.status="rejected",a.reason=l,Xb(a),a=a.next;while(a!==u)}n.action=null}function Xb(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Kb(n,a){return a}function Yb(n,a){if(st){var l=qt.formState;if(l!==null){e:{var u=Ke;if(st){if(Vt){t:{for(var g=Vt,b=In;g.nodeType!==8;){if(!b){g=null;break t}if(g=Hn(g.nextSibling),g===null){g=null;break t}}b=g.data,g=b==="F!"||b==="F"?g:null}if(g){Vt=Hn(g.nextSibling),u=g.data==="F!";break e}}_a(u)}u=!1}u&&(a=l[0])}}return l=Jr(),l.memoizedState=l.baseState=a,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kb,lastRenderedState:a},l.queue=u,l=gv.bind(null,Ke,u),u.dispatch=l,u=F0(!1),b=W0.bind(null,Ke,!1,u.queue),u=Jr(),g={state:a,dispatch:null,action:n,pending:null},u.queue=g,l=uB.bind(null,Ke,g,b,l),g.dispatch=l,u.memoizedState=n,[a,l,!1]}function Zb(n){var a=hr();return Qb(a,At,n)}function Qb(n,a,l){if(a=M0(n,a,Kb)[0],n=yc(Ko)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var u=Ds(a)}catch(T){throw T===al?uc:T}else u=a;a=hr();var g=a.queue,b=g.dispatch;return l!==a.memoizedState&&(Ke.flags|=2048,cl(9,{destroy:void 0},cB.bind(null,g,l),null)),[u,b,n]}function cB(n,a){n.action=a}function Jb(n){var a=hr(),l=At;if(l!==null)return Qb(a,l,n);hr(),a=a.memoizedState,l=hr();var u=l.queue.dispatch;return l.memoizedState=n,[a,u,!1]}function cl(n,a,l,u){return n={tag:n,create:l,deps:u,inst:a,next:null},a=Ke.updateQueue,a===null&&(a=bc(),Ke.updateQueue=a),l=a.lastEffect,l===null?a.lastEffect=n.next=n:(u=l.next,l.next=n,n.next=u,a.lastEffect=n),n}function ev(){return hr().memoizedState}function xc(n,a,l,u){var g=Jr();Ke.flags|=n,g.memoizedState=cl(1|a,{destroy:void 0},l,u===void 0?null:u)}function wc(n,a,l,u){var g=hr();u=u===void 0?null:u;var b=g.memoizedState.inst;At!==null&&u!==null&&z0(u,At.memoizedState.deps)?g.memoizedState=cl(a,b,l,u):(Ke.flags|=n,g.memoizedState=cl(1|a,b,l,u))}function tv(n,a){xc(8390656,8,n,a)}function I0(n,a){wc(2048,8,n,a)}function dB(n){Ke.flags|=4;var a=Ke.updateQueue;if(a===null)a=bc(),Ke.updateQueue=a,a.events=[n];else{var l=a.events;l===null?a.events=[n]:l.push(n)}}function rv(n){var a=hr().memoizedState;return dB({ref:a,nextImpl:n}),function(){if((bt&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}function nv(n,a){return wc(4,2,n,a)}function ov(n,a){return wc(4,4,n,a)}function av(n,a){if(typeof a=="function"){n=n();var l=a(n);return function(){typeof l=="function"?l():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function iv(n,a,l){l=l!=null?l.concat([n]):null,wc(4,4,av.bind(null,a,n),l)}function L0(){}function lv(n,a){var l=hr();a=a===void 0?null:a;var u=l.memoizedState;return a!==null&&z0(a,u[1])?u[0]:(l.memoizedState=[n,a],n)}function sv(n,a){var l=hr();a=a===void 0?null:a;var u=l.memoizedState;if(a!==null&&z0(a,u[1]))return u[0];if(u=n(),Si){Qr(!0);try{n()}finally{Qr(!1)}}return l.memoizedState=[u,a],u}function H0(n,a,l){return l===void 0||(Xo&1073741824)!==0&&(it&261930)===0?n.memoizedState=a:(n.memoizedState=l,n=uy(),Ke.lanes|=n,ja|=n,l)}function uv(n,a,l,u){return yn(l,a)?l:ll.current!==null?(n=H0(n,l,u),yn(n,a)||(xr=!0),n):(Xo&42)===0||(Xo&1073741824)!==0&&(it&261930)===0?(xr=!0,n.memoizedState=l):(n=uy(),Ke.lanes|=n,ja|=n,a)}function cv(n,a,l,u,g){var b=W.p;W.p=b!==0&&8>b?b:8;var T=O.T,z={};O.T=z,W0(n,!1,a,l);try{var P=g(),Y=O.S;if(Y!==null&&Y(z,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var le=iB(P,u);js(n,a,le,_n(n))}else js(n,a,u,_n(n))}catch(he){js(n,a,{then:function(){},status:"rejected",reason:he},_n())}finally{W.p=b,T!==null&&z.types!==null&&(T.types=z.types),O.T=T}}function fB(){}function U0(n,a,l,u){if(n.tag!==5)throw Error(o(476));var g=dv(n).queue;cv(n,g,a,L,l===null?fB:function(){return fv(n),l(u)})}function dv(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:L},next:null};var l={};return a.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:l},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function fv(n){var a=dv(n);a.next===null&&(a=n.alternate.memoizedState),js(n,a.next.queue,{},_n())}function V0(){return Pr(Zs)}function hv(){return hr().memoizedState}function mv(){return hr().memoizedState}function hB(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var l=_n();n=Ea(l);var u=Na(a,n,l);u!==null&&(un(u,a,l),Ns(u,a,l)),a={cache:y0()},n.payload=a;return}a=a.return}}function mB(n,a,l){var u=_n();l={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Sc(n)?pv(a,l):(l=s0(n,a,l,u),l!==null&&(un(l,n,u),bv(l,a,u)))}function gv(n,a,l){var u=_n();js(n,a,l,u)}function js(n,a,l,u){var g={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Sc(n))pv(a,g);else{var b=n.alternate;if(n.lanes===0&&(b===null||b.lanes===0)&&(b=a.lastRenderedReducer,b!==null))try{var T=a.lastRenderedState,z=b(T,l);if(g.hasEagerState=!0,g.eagerState=z,yn(z,T))return rc(n,a,g,0),qt===null&&tc(),!1}catch{}finally{}if(l=s0(n,a,g,u),l!==null)return un(l,n,u),bv(l,a,u),!0}return!1}function W0(n,a,l,u){if(u={lane:2,revertLane:kh(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Sc(n)){if(a)throw Error(o(479))}else a=s0(n,l,u,2),a!==null&&un(a,n,2)}function Sc(n){var a=n.alternate;return n===Ke||a!==null&&a===Ke}function pv(n,a){sl=gc=!0;var l=n.pending;l===null?a.next=a:(a.next=l.next,l.next=a),n.pending=a}function bv(n,a,l){if((l&4194048)!==0){var u=a.lanes;u&=n.pendingLanes,l|=u,a.lanes=l,Oe(n,l)}}var Os={readContext:Pr,use:vc,useCallback:nr,useContext:nr,useEffect:nr,useImperativeHandle:nr,useLayoutEffect:nr,useInsertionEffect:nr,useMemo:nr,useReducer:nr,useRef:nr,useState:nr,useDebugValue:nr,useDeferredValue:nr,useTransition:nr,useSyncExternalStore:nr,useId:nr,useHostTransitionStatus:nr,useFormState:nr,useActionState:nr,useOptimistic:nr,useMemoCache:nr,useCacheRefresh:nr};Os.useEffectEvent=nr;var vv={readContext:Pr,use:vc,useCallback:function(n,a){return Jr().memoizedState=[n,a===void 0?null:a],n},useContext:Pr,useEffect:tv,useImperativeHandle:function(n,a,l){l=l!=null?l.concat([n]):null,xc(4194308,4,av.bind(null,a,n),l)},useLayoutEffect:function(n,a){return xc(4194308,4,n,a)},useInsertionEffect:function(n,a){xc(4,2,n,a)},useMemo:function(n,a){var l=Jr();a=a===void 0?null:a;var u=n();if(Si){Qr(!0);try{n()}finally{Qr(!1)}}return l.memoizedState=[u,a],u},useReducer:function(n,a,l){var u=Jr();if(l!==void 0){var g=l(a);if(Si){Qr(!0);try{l(a)}finally{Qr(!1)}}}else g=a;return u.memoizedState=u.baseState=g,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:g},u.queue=n,n=n.dispatch=mB.bind(null,Ke,n),[u.memoizedState,n]},useRef:function(n){var a=Jr();return n={current:n},a.memoizedState=n},useState:function(n){n=F0(n);var a=n.queue,l=gv.bind(null,Ke,a);return a.dispatch=l,[n.memoizedState,l]},useDebugValue:L0,useDeferredValue:function(n,a){var l=Jr();return H0(l,n,a)},useTransition:function(){var n=F0(!1);return n=cv.bind(null,Ke,n.queue,!0,!1),Jr().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,l){var u=Ke,g=Jr();if(st){if(l===void 0)throw Error(o(407));l=l()}else{if(l=a(),qt===null)throw Error(o(349));(it&127)!==0||Pb(u,a,l)}g.memoizedState=l;var b={value:l,getSnapshot:a};return g.queue=b,tv(Lb.bind(null,u,b,n),[n]),u.flags|=2048,cl(9,{destroy:void 0},Ib.bind(null,u,b,l,a),null),l},useId:function(){var n=Jr(),a=qt.identifierPrefix;if(st){var l=wo,u=xo;l=(u&~(1<<32-$(u)-1)).toString(32)+l,a="_"+a+"R_"+l,l=pc++,0<l&&(a+="H"+l.toString(32)),a+="_"}else l=lB++,a="_"+a+"r_"+l.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:V0,useFormState:Yb,useActionState:Yb,useOptimistic:function(n){var a=Jr();a.memoizedState=a.baseState=n;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=l,a=W0.bind(null,Ke,!0,l),l.dispatch=a,[n,a]},useMemoCache:O0,useCacheRefresh:function(){return Jr().memoizedState=hB.bind(null,Ke)},useEffectEvent:function(n){var a=Jr(),l={impl:n};return a.memoizedState=l,function(){if((bt&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},G0={readContext:Pr,use:vc,useCallback:lv,useContext:Pr,useEffect:I0,useImperativeHandle:iv,useInsertionEffect:nv,useLayoutEffect:ov,useMemo:sv,useReducer:yc,useRef:ev,useState:function(){return yc(Ko)},useDebugValue:L0,useDeferredValue:function(n,a){var l=hr();return uv(l,At.memoizedState,n,a)},useTransition:function(){var n=yc(Ko)[0],a=hr().memoizedState;return[typeof n=="boolean"?n:Ds(n),a]},useSyncExternalStore:Fb,useId:hv,useHostTransitionStatus:V0,useFormState:Zb,useActionState:Zb,useOptimistic:function(n,a){var l=hr();return Vb(l,At,n,a)},useMemoCache:O0,useCacheRefresh:mv};G0.useEffectEvent=rv;var yv={readContext:Pr,use:vc,useCallback:lv,useContext:Pr,useEffect:I0,useImperativeHandle:iv,useInsertionEffect:nv,useLayoutEffect:ov,useMemo:sv,useReducer:q0,useRef:ev,useState:function(){return q0(Ko)},useDebugValue:L0,useDeferredValue:function(n,a){var l=hr();return At===null?H0(l,n,a):uv(l,At.memoizedState,n,a)},useTransition:function(){var n=q0(Ko)[0],a=hr().memoizedState;return[typeof n=="boolean"?n:Ds(n),a]},useSyncExternalStore:Fb,useId:hv,useHostTransitionStatus:V0,useFormState:Jb,useActionState:Jb,useOptimistic:function(n,a){var l=hr();return At!==null?Vb(l,At,n,a):(l.baseState=n,[n,l.queue.dispatch])},useMemoCache:O0,useCacheRefresh:mv};yv.useEffectEvent=rv;function $0(n,a,l,u){a=n.memoizedState,l=l(u,a),l=l==null?a:p({},a,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var X0={enqueueSetState:function(n,a,l){n=n._reactInternals;var u=_n(),g=Ea(u);g.payload=a,l!=null&&(g.callback=l),a=Na(n,g,u),a!==null&&(un(a,n,u),Ns(a,n,u))},enqueueReplaceState:function(n,a,l){n=n._reactInternals;var u=_n(),g=Ea(u);g.tag=1,g.payload=a,l!=null&&(g.callback=l),a=Na(n,g,u),a!==null&&(un(a,n,u),Ns(a,n,u))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var l=_n(),u=Ea(l);u.tag=2,a!=null&&(u.callback=a),a=Na(n,u,l),a!==null&&(un(a,n,l),Ns(a,n,l))}};function xv(n,a,l,u,g,b,T){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,b,T):a.prototype&&a.prototype.isPureReactComponent?!ws(l,u)||!ws(g,b):!0}function wv(n,a,l,u){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(l,u),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(l,u),a.state!==n&&X0.enqueueReplaceState(a,a.state,null)}function ki(n,a){var l=a;if("ref"in a){l={};for(var u in a)u!=="ref"&&(l[u]=a[u])}if(n=n.defaultProps){l===a&&(l=p({},l));for(var g in n)l[g]===void 0&&(l[g]=n[g])}return l}function Sv(n){ec(n)}function kv(n){console.error(n)}function Bv(n){ec(n)}function kc(n,a){try{var l=n.onUncaughtError;l(a.value,{componentStack:a.stack})}catch(u){setTimeout(function(){throw u})}}function _v(n,a,l){try{var u=n.onCaughtError;u(l.value,{componentStack:l.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function K0(n,a,l){return l=Ea(l),l.tag=3,l.payload={element:null},l.callback=function(){kc(n,a)},l}function Tv(n){return n=Ea(n),n.tag=3,n}function Cv(n,a,l,u){var g=l.type.getDerivedStateFromError;if(typeof g=="function"){var b=u.value;n.payload=function(){return g(b)},n.callback=function(){_v(a,l,u)}}var T=l.stateNode;T!==null&&typeof T.componentDidCatch=="function"&&(n.callback=function(){_v(a,l,u),typeof g!="function"&&(Oa===null?Oa=new Set([this]):Oa.add(this));var z=u.stack;this.componentDidCatch(u.value,{componentStack:z!==null?z:""})})}function gB(n,a,l,u,g){if(l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(a=l.alternate,a!==null&&rl(a,l,g,!0),l=wn.current,l!==null){switch(l.tag){case 31:case 13:return Ln===null?Oc():l.alternate===null&&or===0&&(or=3),l.flags&=-257,l.flags|=65536,l.lanes=g,u===cc?l.flags|=16384:(a=l.updateQueue,a===null?l.updateQueue=new Set([u]):a.add(u),xh(n,u,g)),!1;case 22:return l.flags|=65536,u===cc?l.flags|=16384:(a=l.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([u])},l.updateQueue=a):(l=a.retryQueue,l===null?a.retryQueue=new Set([u]):l.add(u)),xh(n,u,g)),!1}throw Error(o(435,l.tag))}return xh(n,u,g),Oc(),!1}if(st)return a=wn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=g,u!==m0&&(n=Error(o(422),{cause:u}),Bs(qn(n,l)))):(u!==m0&&(a=Error(o(423),{cause:u}),Bs(qn(a,l))),n=n.current.alternate,n.flags|=65536,g&=-g,n.lanes|=g,u=qn(u,l),g=K0(n.stateNode,u,g),_0(n,g),or!==4&&(or=2)),!1;var b=Error(o(520),{cause:u});if(b=qn(b,l),Us===null?Us=[b]:Us.push(b),or!==4&&(or=2),a===null)return!0;u=qn(u,l),l=a;do{switch(l.tag){case 3:return l.flags|=65536,n=g&-g,l.lanes|=n,n=K0(l.stateNode,u,n),_0(l,n),!1;case 1:if(a=l.type,b=l.stateNode,(l.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Oa===null||!Oa.has(b))))return l.flags|=65536,g&=-g,l.lanes|=g,g=Tv(g),Cv(g,n,l,u),_0(l,g),!1}l=l.return}while(l!==null);return!1}var Y0=Error(o(461)),xr=!1;function Ir(n,a,l,u){a.child=n===null?Rb(a,null,l,u):wi(a,n.child,l,u)}function Ev(n,a,l,u,g){l=l.render;var b=a.ref;if("ref"in u){var T={};for(var z in u)z!=="ref"&&(T[z]=u[z])}else T=u;return bi(a),u=R0(n,a,l,T,b,g),z=A0(),n!==null&&!xr?(D0(n,a,g),Yo(n,a,g)):(st&&z&&f0(a),a.flags|=1,Ir(n,a,u,g),a.child)}function Nv(n,a,l,u,g){if(n===null){var b=l.type;return typeof b=="function"&&!u0(b)&&b.defaultProps===void 0&&l.compare===null?(a.tag=15,a.type=b,zv(n,a,b,u,g)):(n=oc(l.type,null,u,a,a.mode,g),n.ref=a.ref,n.return=a,a.child=n)}if(b=n.child,!oh(n,g)){var T=b.memoizedProps;if(l=l.compare,l=l!==null?l:ws,l(T,u)&&n.ref===a.ref)return Yo(n,a,g)}return a.flags|=1,n=Vo(b,u),n.ref=a.ref,n.return=a,a.child=n}function zv(n,a,l,u,g){if(n!==null){var b=n.memoizedProps;if(ws(b,u)&&n.ref===a.ref)if(xr=!1,a.pendingProps=u=b,oh(n,g))(n.flags&131072)!==0&&(xr=!0);else return a.lanes=n.lanes,Yo(n,a,g)}return Z0(n,a,l,u,g)}function Rv(n,a,l,u){var g=u.children,b=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((a.flags&128)!==0){if(b=b!==null?b.baseLanes|l:l,n!==null){for(u=a.child=n.child,g=0;u!==null;)g=g|u.lanes|u.childLanes,u=u.sibling;u=g&~b}else u=0,a.child=null;return Av(n,a,b,l,u)}if((l&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&sc(a,b!==null?b.cachePool:null),b!==null?jb(a,b):C0(),Ob(a);else return u=a.lanes=536870912,Av(n,a,b!==null?b.baseLanes|l:l,l,u)}else b!==null?(sc(a,b.cachePool),jb(a,b),Ra(),a.memoizedState=null):(n!==null&&sc(a,null),C0(),Ra());return Ir(n,a,g,l),a.child}function Ms(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function Av(n,a,l,u,g){var b=w0();return b=b===null?null:{parent:vr._currentValue,pool:b},a.memoizedState={baseLanes:l,cachePool:b},n!==null&&sc(a,null),C0(),Ob(a),n!==null&&rl(n,a,u,!0),a.childLanes=g,null}function Bc(n,a){return a=Tc({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function Dv(n,a,l){return wi(a,n.child,null,l),n=Bc(a,a.pendingProps),n.flags|=2,Sn(a),a.memoizedState=null,n}function pB(n,a,l){var u=a.pendingProps,g=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(st){if(u.mode==="hidden")return n=Bc(a,u),a.lanes=536870912,Ms(null,n);if(N0(a),(n=Vt)?(n=Wy(n,In),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:ka!==null?{id:xo,overflow:wo}:null,retryLane:536870912,hydrationErrors:null},l=pb(n),l.return=a,a.child=l,Fr=a,Vt=null)):n=null,n===null)throw _a(a);return a.lanes=536870912,null}return Bc(a,u)}var b=n.memoizedState;if(b!==null){var T=b.dehydrated;if(N0(a),g)if(a.flags&256)a.flags&=-257,a=Dv(n,a,l);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(o(558));else if(xr||rl(n,a,l,!1),g=(l&n.childLanes)!==0,xr||g){if(u=qt,u!==null&&(T=Ht(u,l),T!==0&&T!==b.retryLane))throw b.retryLane=T,hi(n,T),un(u,n,T),Y0;Oc(),a=Dv(n,a,l)}else n=b.treeContext,Vt=Hn(T.nextSibling),Fr=a,st=!0,Ba=null,In=!1,n!==null&&yb(a,n),a=Bc(a,u),a.flags|=4096;return a}return n=Vo(n.child,{mode:u.mode,children:u.children}),n.ref=a.ref,a.child=n,n.return=a,n}function _c(n,a){var l=a.ref;if(l===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(n===null||n.ref!==l)&&(a.flags|=4194816)}}function Z0(n,a,l,u,g){return bi(a),l=R0(n,a,l,u,void 0,g),u=A0(),n!==null&&!xr?(D0(n,a,g),Yo(n,a,g)):(st&&u&&f0(a),a.flags|=1,Ir(n,a,l,g),a.child)}function jv(n,a,l,u,g,b){return bi(a),a.updateQueue=null,l=qb(a,u,l,g),Mb(n),u=A0(),n!==null&&!xr?(D0(n,a,b),Yo(n,a,b)):(st&&u&&f0(a),a.flags|=1,Ir(n,a,l,b),a.child)}function Ov(n,a,l,u,g){if(bi(a),a.stateNode===null){var b=Qi,T=l.contextType;typeof T=="object"&&T!==null&&(b=Pr(T)),b=new l(u,b),a.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=X0,a.stateNode=b,b._reactInternals=a,b=a.stateNode,b.props=u,b.state=a.memoizedState,b.refs={},k0(a),T=l.contextType,b.context=typeof T=="object"&&T!==null?Pr(T):Qi,b.state=a.memoizedState,T=l.getDerivedStateFromProps,typeof T=="function"&&($0(a,l,T,u),b.state=a.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(T=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),T!==b.state&&X0.enqueueReplaceState(b,b.state,null),Rs(a,u,b,g),zs(),b.state=a.memoizedState),typeof b.componentDidMount=="function"&&(a.flags|=4194308),u=!0}else if(n===null){b=a.stateNode;var z=a.memoizedProps,P=ki(l,z);b.props=P;var Y=b.context,le=l.contextType;T=Qi,typeof le=="object"&&le!==null&&(T=Pr(le));var he=l.getDerivedStateFromProps;le=typeof he=="function"||typeof b.getSnapshotBeforeUpdate=="function",z=a.pendingProps!==z,le||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(z||Y!==T)&&wv(a,b,u,T),Ca=!1;var Q=a.memoizedState;b.state=Q,Rs(a,u,b,g),zs(),Y=a.memoizedState,z||Q!==Y||Ca?(typeof he=="function"&&($0(a,l,he,u),Y=a.memoizedState),(P=Ca||xv(a,l,P,u,Q,Y,T))?(le||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(a.flags|=4194308)):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=u,a.memoizedState=Y),b.props=u,b.state=Y,b.context=T,u=P):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),u=!1)}else{b=a.stateNode,B0(n,a),T=a.memoizedProps,le=ki(l,T),b.props=le,he=a.pendingProps,Q=b.context,Y=l.contextType,P=Qi,typeof Y=="object"&&Y!==null&&(P=Pr(Y)),z=l.getDerivedStateFromProps,(Y=typeof z=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(T!==he||Q!==P)&&wv(a,b,u,P),Ca=!1,Q=a.memoizedState,b.state=Q,Rs(a,u,b,g),zs();var oe=a.memoizedState;T!==he||Q!==oe||Ca||n!==null&&n.dependencies!==null&&ic(n.dependencies)?(typeof z=="function"&&($0(a,l,z,u),oe=a.memoizedState),(le=Ca||xv(a,l,le,u,Q,oe,P)||n!==null&&n.dependencies!==null&&ic(n.dependencies))?(Y||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(u,oe,P),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(u,oe,P)),typeof b.componentDidUpdate=="function"&&(a.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof b.componentDidUpdate!="function"||T===n.memoizedProps&&Q===n.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&Q===n.memoizedState||(a.flags|=1024),a.memoizedProps=u,a.memoizedState=oe),b.props=u,b.state=oe,b.context=P,u=le):(typeof b.componentDidUpdate!="function"||T===n.memoizedProps&&Q===n.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&Q===n.memoizedState||(a.flags|=1024),u=!1)}return b=u,_c(n,a),u=(a.flags&128)!==0,b||u?(b=a.stateNode,l=u&&typeof l.getDerivedStateFromError!="function"?null:b.render(),a.flags|=1,n!==null&&u?(a.child=wi(a,n.child,null,g),a.child=wi(a,null,l,g)):Ir(n,a,l,g),a.memoizedState=b.state,n=a.child):n=Yo(n,a,g),n}function Mv(n,a,l,u){return gi(),a.flags|=256,Ir(n,a,l,u),a.child}var Q0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function J0(n){return{baseLanes:n,cachePool:_b()}}function eh(n,a,l){return n=n!==null?n.childLanes&~l:0,a&&(n|=Bn),n}function qv(n,a,l){var u=a.pendingProps,g=!1,b=(a.flags&128)!==0,T;if((T=b)||(T=n!==null&&n.memoizedState===null?!1:(fr.current&2)!==0),T&&(g=!0,a.flags&=-129),T=(a.flags&32)!==0,a.flags&=-33,n===null){if(st){if(g?za(a):Ra(),(n=Vt)?(n=Wy(n,In),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:ka!==null?{id:xo,overflow:wo}:null,retryLane:536870912,hydrationErrors:null},l=pb(n),l.return=a,a.child=l,Fr=a,Vt=null)):n=null,n===null)throw _a(a);return Mh(n)?a.lanes=32:a.lanes=536870912,null}var z=u.children;return u=u.fallback,g?(Ra(),g=a.mode,z=Tc({mode:"hidden",children:z},g),u=mi(u,g,l,null),z.return=a,u.return=a,z.sibling=u,a.child=z,u=a.child,u.memoizedState=J0(l),u.childLanes=eh(n,T,l),a.memoizedState=Q0,Ms(null,u)):(za(a),th(a,z))}var P=n.memoizedState;if(P!==null&&(z=P.dehydrated,z!==null)){if(b)a.flags&256?(za(a),a.flags&=-257,a=rh(n,a,l)):a.memoizedState!==null?(Ra(),a.child=n.child,a.flags|=128,a=null):(Ra(),z=u.fallback,g=a.mode,u=Tc({mode:"visible",children:u.children},g),z=mi(z,g,l,null),z.flags|=2,u.return=a,z.return=a,u.sibling=z,a.child=u,wi(a,n.child,null,l),u=a.child,u.memoizedState=J0(l),u.childLanes=eh(n,T,l),a.memoizedState=Q0,a=Ms(null,u));else if(za(a),Mh(z)){if(T=z.nextSibling&&z.nextSibling.dataset,T)var Y=T.dgst;T=Y,u=Error(o(419)),u.stack="",u.digest=T,Bs({value:u,source:null,stack:null}),a=rh(n,a,l)}else if(xr||rl(n,a,l,!1),T=(l&n.childLanes)!==0,xr||T){if(T=qt,T!==null&&(u=Ht(T,l),u!==0&&u!==P.retryLane))throw P.retryLane=u,hi(n,u),un(T,n,u),Y0;Oh(z)||Oc(),a=rh(n,a,l)}else Oh(z)?(a.flags|=192,a.child=n.child,a=null):(n=P.treeContext,Vt=Hn(z.nextSibling),Fr=a,st=!0,Ba=null,In=!1,n!==null&&yb(a,n),a=th(a,u.children),a.flags|=4096);return a}return g?(Ra(),z=u.fallback,g=a.mode,P=n.child,Y=P.sibling,u=Vo(P,{mode:"hidden",children:u.children}),u.subtreeFlags=P.subtreeFlags&65011712,Y!==null?z=Vo(Y,z):(z=mi(z,g,l,null),z.flags|=2),z.return=a,u.return=a,u.sibling=z,a.child=u,Ms(null,u),u=a.child,z=n.child.memoizedState,z===null?z=J0(l):(g=z.cachePool,g!==null?(P=vr._currentValue,g=g.parent!==P?{parent:P,pool:P}:g):g=_b(),z={baseLanes:z.baseLanes|l,cachePool:g}),u.memoizedState=z,u.childLanes=eh(n,T,l),a.memoizedState=Q0,Ms(n.child,u)):(za(a),l=n.child,n=l.sibling,l=Vo(l,{mode:"visible",children:u.children}),l.return=a,l.sibling=null,n!==null&&(T=a.deletions,T===null?(a.deletions=[n],a.flags|=16):T.push(n)),a.child=l,a.memoizedState=null,l)}function th(n,a){return a=Tc({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Tc(n,a){return n=xn(22,n,null,a),n.lanes=0,n}function rh(n,a,l){return wi(a,n.child,null,l),n=th(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Fv(n,a,l){n.lanes|=a;var u=n.alternate;u!==null&&(u.lanes|=a),b0(n.return,a,l)}function nh(n,a,l,u,g,b){var T=n.memoizedState;T===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:g,treeForkCount:b}:(T.isBackwards=a,T.rendering=null,T.renderingStartTime=0,T.last=u,T.tail=l,T.tailMode=g,T.treeForkCount=b)}function Pv(n,a,l){var u=a.pendingProps,g=u.revealOrder,b=u.tail;u=u.children;var T=fr.current,z=(T&2)!==0;if(z?(T=T&1|2,a.flags|=128):T&=1,ae(fr,T),Ir(n,a,u,l),u=st?ks:0,!z&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Fv(n,l,a);else if(n.tag===19)Fv(n,l,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(g){case"forwards":for(l=a.child,g=null;l!==null;)n=l.alternate,n!==null&&mc(n)===null&&(g=l),l=l.sibling;l=g,l===null?(g=a.child,a.child=null):(g=l.sibling,l.sibling=null),nh(a,!1,g,l,b,u);break;case"backwards":case"unstable_legacy-backwards":for(l=null,g=a.child,a.child=null;g!==null;){if(n=g.alternate,n!==null&&mc(n)===null){a.child=g;break}n=g.sibling,g.sibling=l,l=g,g=n}nh(a,!0,l,null,b,u);break;case"together":nh(a,!1,null,null,void 0,u);break;default:a.memoizedState=null}return a.child}function Yo(n,a,l){if(n!==null&&(a.dependencies=n.dependencies),ja|=a.lanes,(l&a.childLanes)===0)if(n!==null){if(rl(n,a,l,!1),(l&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(o(153));if(a.child!==null){for(n=a.child,l=Vo(n,n.pendingProps),a.child=l,l.return=a;n.sibling!==null;)n=n.sibling,l=l.sibling=Vo(n,n.pendingProps),l.return=a;l.sibling=null}return a.child}function oh(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&ic(n)))}function bB(n,a,l){switch(a.tag){case 3:Ft(a,a.stateNode.containerInfo),Ta(a,vr,n.memoizedState.cache),gi();break;case 27:case 5:Ge(a);break;case 4:Ft(a,a.stateNode.containerInfo);break;case 10:Ta(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,N0(a),null;break;case 13:var u=a.memoizedState;if(u!==null)return u.dehydrated!==null?(za(a),a.flags|=128,null):(l&a.child.childLanes)!==0?qv(n,a,l):(za(a),n=Yo(n,a,l),n!==null?n.sibling:null);za(a);break;case 19:var g=(n.flags&128)!==0;if(u=(l&a.childLanes)!==0,u||(rl(n,a,l,!1),u=(l&a.childLanes)!==0),g){if(u)return Pv(n,a,l);a.flags|=128}if(g=a.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),ae(fr,fr.current),u)break;return null;case 22:return a.lanes=0,Rv(n,a,l,a.pendingProps);case 24:Ta(a,vr,n.memoizedState.cache)}return Yo(n,a,l)}function Iv(n,a,l){if(n!==null)if(n.memoizedProps!==a.pendingProps)xr=!0;else{if(!oh(n,l)&&(a.flags&128)===0)return xr=!1,bB(n,a,l);xr=(n.flags&131072)!==0}else xr=!1,st&&(a.flags&1048576)!==0&&vb(a,ks,a.index);switch(a.lanes=0,a.tag){case 16:e:{var u=a.pendingProps;if(n=yi(a.elementType),a.type=n,typeof n=="function")u0(n)?(u=ki(n,u),a.tag=1,a=Ov(null,a,n,u,l)):(a.tag=0,a=Z0(null,a,n,u,l));else{if(n!=null){var g=n.$$typeof;if(g===N){a.tag=11,a=Ev(null,a,n,u,l);break e}else if(g===D){a.tag=14,a=Nv(null,a,n,u,l);break e}}throw a=ne(n)||n,Error(o(306,a,""))}}return a;case 0:return Z0(n,a,a.type,a.pendingProps,l);case 1:return u=a.type,g=ki(u,a.pendingProps),Ov(n,a,u,g,l);case 3:e:{if(Ft(a,a.stateNode.containerInfo),n===null)throw Error(o(387));u=a.pendingProps;var b=a.memoizedState;g=b.element,B0(n,a),Rs(a,u,null,l);var T=a.memoizedState;if(u=T.cache,Ta(a,vr,u),u!==b.cache&&v0(a,[vr],l,!0),zs(),u=T.element,b.isDehydrated)if(b={element:u,isDehydrated:!1,cache:T.cache},a.updateQueue.baseState=b,a.memoizedState=b,a.flags&256){a=Mv(n,a,u,l);break e}else if(u!==g){g=qn(Error(o(424)),a),Bs(g),a=Mv(n,a,u,l);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Vt=Hn(n.firstChild),Fr=a,st=!0,Ba=null,In=!0,l=Rb(a,null,u,l),a.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(gi(),u===g){a=Yo(n,a,l);break e}Ir(n,a,u,l)}a=a.child}return a;case 26:return _c(n,a),n===null?(l=Zy(a.type,null,a.pendingProps,null))?a.memoizedState=l:st||(l=a.type,n=a.pendingProps,u=Hc(Ae.current).createElement(l),u[Ut]=a,u[Tr]=n,Lr(u,l,n),pr(u),a.stateNode=u):a.memoizedState=Zy(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return Ge(a),n===null&&st&&(u=a.stateNode=Xy(a.type,a.pendingProps,Ae.current),Fr=a,In=!0,g=Vt,Pa(a.type)?(qh=g,Vt=Hn(u.firstChild)):Vt=g),Ir(n,a,a.pendingProps.children,l),_c(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&st&&((g=u=Vt)&&(u=$B(u,a.type,a.pendingProps,In),u!==null?(a.stateNode=u,Fr=a,Vt=Hn(u.firstChild),In=!1,g=!0):g=!1),g||_a(a)),Ge(a),g=a.type,b=a.pendingProps,T=n!==null?n.memoizedProps:null,u=b.children,Ah(g,b)?u=null:T!==null&&Ah(g,T)&&(a.flags|=32),a.memoizedState!==null&&(g=R0(n,a,sB,null,null,l),Zs._currentValue=g),_c(n,a),Ir(n,a,u,l),a.child;case 6:return n===null&&st&&((n=l=Vt)&&(l=XB(l,a.pendingProps,In),l!==null?(a.stateNode=l,Fr=a,Vt=null,n=!0):n=!1),n||_a(a)),null;case 13:return qv(n,a,l);case 4:return Ft(a,a.stateNode.containerInfo),u=a.pendingProps,n===null?a.child=wi(a,null,u,l):Ir(n,a,u,l),a.child;case 11:return Ev(n,a,a.type,a.pendingProps,l);case 7:return Ir(n,a,a.pendingProps,l),a.child;case 8:return Ir(n,a,a.pendingProps.children,l),a.child;case 12:return Ir(n,a,a.pendingProps.children,l),a.child;case 10:return u=a.pendingProps,Ta(a,a.type,u.value),Ir(n,a,u.children,l),a.child;case 9:return g=a.type._context,u=a.pendingProps.children,bi(a),g=Pr(g),u=u(g),a.flags|=1,Ir(n,a,u,l),a.child;case 14:return Nv(n,a,a.type,a.pendingProps,l);case 15:return zv(n,a,a.type,a.pendingProps,l);case 19:return Pv(n,a,l);case 31:return pB(n,a,l);case 22:return Rv(n,a,l,a.pendingProps);case 24:return bi(a),u=Pr(vr),n===null?(g=w0(),g===null&&(g=qt,b=y0(),g.pooledCache=b,b.refCount++,b!==null&&(g.pooledCacheLanes|=l),g=b),a.memoizedState={parent:u,cache:g},k0(a),Ta(a,vr,g)):((n.lanes&l)!==0&&(B0(n,a),Rs(a,null,null,l),zs()),g=n.memoizedState,b=a.memoizedState,g.parent!==u?(g={parent:u,cache:u},a.memoizedState=g,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=g),Ta(a,vr,u)):(u=b.cache,Ta(a,vr,u),u!==g.cache&&v0(a,[vr],l,!0))),Ir(n,a,a.pendingProps.children,l),a.child;case 29:throw a.pendingProps}throw Error(o(156,a.tag))}function Zo(n){n.flags|=4}function ah(n,a,l,u,g){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(g&335544128)===g)if(n.stateNode.complete)n.flags|=8192;else if(hy())n.flags|=8192;else throw xi=cc,S0}else n.flags&=-16777217}function Lv(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!r2(a))if(hy())n.flags|=8192;else throw xi=cc,S0}function Cc(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?qe():536870912,n.lanes|=a,ml|=a)}function qs(n,a){if(!st)switch(n.tailMode){case"hidden":a=n.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function Wt(n){var a=n.alternate!==null&&n.alternate.child===n.child,l=0,u=0;if(a)for(var g=n.child;g!==null;)l|=g.lanes|g.childLanes,u|=g.subtreeFlags&65011712,u|=g.flags&65011712,g.return=n,g=g.sibling;else for(g=n.child;g!==null;)l|=g.lanes|g.childLanes,u|=g.subtreeFlags,u|=g.flags,g.return=n,g=g.sibling;return n.subtreeFlags|=u,n.childLanes=l,a}function vB(n,a,l){var u=a.pendingProps;switch(h0(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wt(a),null;case 1:return Wt(a),null;case 3:return l=a.stateNode,u=null,n!==null&&(u=n.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),$o(vr),Qe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(n===null||n.child===null)&&(tl(a)?Zo(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,g0())),Wt(a),null;case 26:var g=a.type,b=a.memoizedState;return n===null?(Zo(a),b!==null?(Wt(a),Lv(a,b)):(Wt(a),ah(a,g,null,u,l))):b?b!==n.memoizedState?(Zo(a),Wt(a),Lv(a,b)):(Wt(a),a.flags&=-16777217):(n=n.memoizedProps,n!==u&&Zo(a),Wt(a),ah(a,g,n,u,l)),null;case 27:if(zt(a),l=Ae.current,g=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==u&&Zo(a);else{if(!u){if(a.stateNode===null)throw Error(o(166));return Wt(a),null}n=me.current,tl(a)?xb(a):(n=Xy(g,u,l),a.stateNode=n,Zo(a))}return Wt(a),null;case 5:if(zt(a),g=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==u&&Zo(a);else{if(!u){if(a.stateNode===null)throw Error(o(166));return Wt(a),null}if(b=me.current,tl(a))xb(a);else{var T=Hc(Ae.current);switch(b){case 1:b=T.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:b=T.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":b=T.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":b=T.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":b=T.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof u.is=="string"?T.createElement("select",{is:u.is}):T.createElement("select"),u.multiple?b.multiple=!0:u.size&&(b.size=u.size);break;default:b=typeof u.is=="string"?T.createElement(g,{is:u.is}):T.createElement(g)}}b[Ut]=a,b[Tr]=u;e:for(T=a.child;T!==null;){if(T.tag===5||T.tag===6)b.appendChild(T.stateNode);else if(T.tag!==4&&T.tag!==27&&T.child!==null){T.child.return=T,T=T.child;continue}if(T===a)break e;for(;T.sibling===null;){if(T.return===null||T.return===a)break e;T=T.return}T.sibling.return=T.return,T=T.sibling}a.stateNode=b;e:switch(Lr(b,g,u),g){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Zo(a)}}return Wt(a),ah(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,l),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==u&&Zo(a);else{if(typeof u!="string"&&a.stateNode===null)throw Error(o(166));if(n=Ae.current,tl(a)){if(n=a.stateNode,l=a.memoizedProps,u=null,g=Fr,g!==null)switch(g.tag){case 27:case 5:u=g.memoizedProps}n[Ut]=a,n=!!(n.nodeValue===l||u!==null&&u.suppressHydrationWarning===!0||qy(n.nodeValue,l)),n||_a(a,!0)}else n=Hc(n).createTextNode(u),n[Ut]=a,a.stateNode=n}return Wt(a),null;case 31:if(l=a.memoizedState,n===null||n.memoizedState!==null){if(u=tl(a),l!==null){if(n===null){if(!u)throw Error(o(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(557));n[Ut]=a}else gi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Wt(a),n=!1}else l=g0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=l),n=!0;if(!n)return a.flags&256?(Sn(a),a):(Sn(a),null);if((a.flags&128)!==0)throw Error(o(558))}return Wt(a),null;case 13:if(u=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(g=tl(a),u!==null&&u.dehydrated!==null){if(n===null){if(!g)throw Error(o(318));if(g=a.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(o(317));g[Ut]=a}else gi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Wt(a),g=!1}else g=g0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=g),g=!0;if(!g)return a.flags&256?(Sn(a),a):(Sn(a),null)}return Sn(a),(a.flags&128)!==0?(a.lanes=l,a):(l=u!==null,n=n!==null&&n.memoizedState!==null,l&&(u=a.child,g=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(g=u.alternate.memoizedState.cachePool.pool),b=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(b=u.memoizedState.cachePool.pool),b!==g&&(u.flags|=2048)),l!==n&&l&&(a.child.flags|=8192),Cc(a,a.updateQueue),Wt(a),null);case 4:return Qe(),n===null&&Ch(a.stateNode.containerInfo),Wt(a),null;case 10:return $o(a.type),Wt(a),null;case 19:if(U(fr),u=a.memoizedState,u===null)return Wt(a),null;if(g=(a.flags&128)!==0,b=u.rendering,b===null)if(g)qs(u,!1);else{if(or!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(b=mc(n),b!==null){for(a.flags|=128,qs(u,!1),n=b.updateQueue,a.updateQueue=n,Cc(a,n),a.subtreeFlags=0,n=l,l=a.child;l!==null;)gb(l,n),l=l.sibling;return ae(fr,fr.current&1|2),st&&Wo(a,u.treeForkCount),a.child}n=n.sibling}u.tail!==null&&Rt()>Ac&&(a.flags|=128,g=!0,qs(u,!1),a.lanes=4194304)}else{if(!g)if(n=mc(b),n!==null){if(a.flags|=128,g=!0,n=n.updateQueue,a.updateQueue=n,Cc(a,n),qs(u,!0),u.tail===null&&u.tailMode==="hidden"&&!b.alternate&&!st)return Wt(a),null}else 2*Rt()-u.renderingStartTime>Ac&&l!==536870912&&(a.flags|=128,g=!0,qs(u,!1),a.lanes=4194304);u.isBackwards?(b.sibling=a.child,a.child=b):(n=u.last,n!==null?n.sibling=b:a.child=b,u.last=b)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Rt(),n.sibling=null,l=fr.current,ae(fr,g?l&1|2:l&1),st&&Wo(a,u.treeForkCount),n):(Wt(a),null);case 22:case 23:return Sn(a),E0(),u=a.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(a.flags|=8192):u&&(a.flags|=8192),u?(l&536870912)!==0&&(a.flags&128)===0&&(Wt(a),a.subtreeFlags&6&&(a.flags|=8192)):Wt(a),l=a.updateQueue,l!==null&&Cc(a,l.retryQueue),l=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==l&&(a.flags|=2048),n!==null&&U(vi),null;case 24:return l=null,n!==null&&(l=n.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),$o(vr),Wt(a),null;case 25:return null;case 30:return null}throw Error(o(156,a.tag))}function yB(n,a){switch(h0(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return $o(vr),Qe(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return zt(a),null;case 31:if(a.memoizedState!==null){if(Sn(a),a.alternate===null)throw Error(o(340));gi()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Sn(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(o(340));gi()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return U(fr),null;case 4:return Qe(),null;case 10:return $o(a.type),null;case 22:case 23:return Sn(a),E0(),n!==null&&U(vi),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return $o(vr),null;case 25:return null;default:return null}}function Hv(n,a){switch(h0(a),a.tag){case 3:$o(vr),Qe();break;case 26:case 27:case 5:zt(a);break;case 4:Qe();break;case 31:a.memoizedState!==null&&Sn(a);break;case 13:Sn(a);break;case 19:U(fr);break;case 10:$o(a.type);break;case 22:case 23:Sn(a),E0(),n!==null&&U(vi);break;case 24:$o(vr)}}function Fs(n,a){try{var l=a.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var g=u.next;l=g;do{if((l.tag&n)===n){u=void 0;var b=l.create,T=l.inst;u=b(),T.destroy=u}l=l.next}while(l!==g)}}catch(z){Ct(a,a.return,z)}}function Aa(n,a,l){try{var u=a.updateQueue,g=u!==null?u.lastEffect:null;if(g!==null){var b=g.next;u=b;do{if((u.tag&n)===n){var T=u.inst,z=T.destroy;if(z!==void 0){T.destroy=void 0,g=a;var P=l,Y=z;try{Y()}catch(le){Ct(g,P,le)}}}u=u.next}while(u!==b)}}catch(le){Ct(a,a.return,le)}}function Uv(n){var a=n.updateQueue;if(a!==null){var l=n.stateNode;try{Db(a,l)}catch(u){Ct(n,n.return,u)}}}function Vv(n,a,l){l.props=ki(n.type,n.memoizedProps),l.state=n.memoizedState;try{l.componentWillUnmount()}catch(u){Ct(n,a,u)}}function Ps(n,a){try{var l=n.ref;if(l!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof l=="function"?n.refCleanup=l(u):l.current=u}}catch(g){Ct(n,a,g)}}function So(n,a){var l=n.ref,u=n.refCleanup;if(l!==null)if(typeof u=="function")try{u()}catch(g){Ct(n,a,g)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(g){Ct(n,a,g)}else l.current=null}function Wv(n){var a=n.type,l=n.memoizedProps,u=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":l.autoFocus&&u.focus();break e;case"img":l.src?u.src=l.src:l.srcSet&&(u.srcset=l.srcSet)}}catch(g){Ct(n,n.return,g)}}function ih(n,a,l){try{var u=n.stateNode;LB(u,n.type,l,a),u[Tr]=a}catch(g){Ct(n,n.return,g)}}function Gv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Pa(n.type)||n.tag===4}function lh(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Gv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Pa(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function sh(n,a,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,a?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(n,a):(a=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,a.appendChild(n),l=l._reactRootContainer,l!=null||a.onclick!==null||(a.onclick=we));else if(u!==4&&(u===27&&Pa(n.type)&&(l=n.stateNode,a=null),n=n.child,n!==null))for(sh(n,a,l),n=n.sibling;n!==null;)sh(n,a,l),n=n.sibling}function Ec(n,a,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,a?l.insertBefore(n,a):l.appendChild(n);else if(u!==4&&(u===27&&Pa(n.type)&&(l=n.stateNode),n=n.child,n!==null))for(Ec(n,a,l),n=n.sibling;n!==null;)Ec(n,a,l),n=n.sibling}function $v(n){var a=n.stateNode,l=n.memoizedProps;try{for(var u=n.type,g=a.attributes;g.length;)a.removeAttributeNode(g[0]);Lr(a,u,l),a[Ut]=n,a[Tr]=l}catch(b){Ct(n,n.return,b)}}var Qo=!1,wr=!1,uh=!1,Xv=typeof WeakSet=="function"?WeakSet:Set,Rr=null;function xB(n,a){if(n=n.containerInfo,zh=Kc,n=ib(n),r0(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var g=u.anchorOffset,b=u.focusNode;u=u.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var T=0,z=-1,P=-1,Y=0,le=0,he=n,Q=null;t:for(;;){for(var oe;he!==l||g!==0&&he.nodeType!==3||(z=T+g),he!==b||u!==0&&he.nodeType!==3||(P=T+u),he.nodeType===3&&(T+=he.nodeValue.length),(oe=he.firstChild)!==null;)Q=he,he=oe;for(;;){if(he===n)break t;if(Q===l&&++Y===g&&(z=T),Q===b&&++le===u&&(P=T),(oe=he.nextSibling)!==null)break;he=Q,Q=he.parentNode}he=oe}l=z===-1||P===-1?null:{start:z,end:P}}else l=null}l=l||{start:0,end:0}}else l=null;for(Rh={focusedElem:n,selectionRange:l},Kc=!1,Rr=a;Rr!==null;)if(a=Rr,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Rr=n;else for(;Rr!==null;){switch(a=Rr,b=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(l=0;l<n.length;l++)g=n[l],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&b!==null){n=void 0,l=a,g=b.memoizedProps,b=b.memoizedState,u=l.stateNode;try{var Ee=ki(l.type,g);n=u.getSnapshotBeforeUpdate(Ee,b),u.__reactInternalSnapshotBeforeUpdate=n}catch(Fe){Ct(l,l.return,Fe)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,l=n.nodeType,l===9)jh(n);else if(l===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":jh(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(o(163))}if(n=a.sibling,n!==null){n.return=a.return,Rr=n;break}Rr=a.return}}function Kv(n,a,l){var u=l.flags;switch(l.tag){case 0:case 11:case 15:ea(n,l),u&4&&Fs(5,l);break;case 1:if(ea(n,l),u&4)if(n=l.stateNode,a===null)try{n.componentDidMount()}catch(T){Ct(l,l.return,T)}else{var g=ki(l.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(g,a,n.__reactInternalSnapshotBeforeUpdate)}catch(T){Ct(l,l.return,T)}}u&64&&Uv(l),u&512&&Ps(l,l.return);break;case 3:if(ea(n,l),u&64&&(n=l.updateQueue,n!==null)){if(a=null,l.child!==null)switch(l.child.tag){case 27:case 5:a=l.child.stateNode;break;case 1:a=l.child.stateNode}try{Db(n,a)}catch(T){Ct(l,l.return,T)}}break;case 27:a===null&&u&4&&$v(l);case 26:case 5:ea(n,l),a===null&&u&4&&Wv(l),u&512&&Ps(l,l.return);break;case 12:ea(n,l);break;case 31:ea(n,l),u&4&&Qv(n,l);break;case 13:ea(n,l),u&4&&Jv(n,l),u&64&&(n=l.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(l=NB.bind(null,l),KB(n,l))));break;case 22:if(u=l.memoizedState!==null||Qo,!u){a=a!==null&&a.memoizedState!==null||wr,g=Qo;var b=wr;Qo=u,(wr=a)&&!b?ta(n,l,(l.subtreeFlags&8772)!==0):ea(n,l),Qo=g,wr=b}break;case 30:break;default:ea(n,l)}}function Yv(n){var a=n.alternate;a!==null&&(n.alternate=null,Yv(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&li(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Xt=null,on=!1;function Jo(n,a,l){for(l=l.child;l!==null;)Zv(n,a,l),l=l.sibling}function Zv(n,a,l){if(gr&&typeof gr.onCommitFiberUnmount=="function")try{gr.onCommitFiberUnmount(Fo,l)}catch{}switch(l.tag){case 26:wr||So(l,a),Jo(n,a,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:wr||So(l,a);var u=Xt,g=on;Pa(l.type)&&(Xt=l.stateNode,on=!1),Jo(n,a,l),Xs(l.stateNode),Xt=u,on=g;break;case 5:wr||So(l,a);case 6:if(u=Xt,g=on,Xt=null,Jo(n,a,l),Xt=u,on=g,Xt!==null)if(on)try{(Xt.nodeType===9?Xt.body:Xt.nodeName==="HTML"?Xt.ownerDocument.body:Xt).removeChild(l.stateNode)}catch(b){Ct(l,a,b)}else try{Xt.removeChild(l.stateNode)}catch(b){Ct(l,a,b)}break;case 18:Xt!==null&&(on?(n=Xt,Uy(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,l.stateNode),Sl(n)):Uy(Xt,l.stateNode));break;case 4:u=Xt,g=on,Xt=l.stateNode.containerInfo,on=!0,Jo(n,a,l),Xt=u,on=g;break;case 0:case 11:case 14:case 15:Aa(2,l,a),wr||Aa(4,l,a),Jo(n,a,l);break;case 1:wr||(So(l,a),u=l.stateNode,typeof u.componentWillUnmount=="function"&&Vv(l,a,u)),Jo(n,a,l);break;case 21:Jo(n,a,l);break;case 22:wr=(u=wr)||l.memoizedState!==null,Jo(n,a,l),wr=u;break;default:Jo(n,a,l)}}function Qv(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Sl(n)}catch(l){Ct(a,a.return,l)}}}function Jv(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Sl(n)}catch(l){Ct(a,a.return,l)}}function wB(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new Xv),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new Xv),a;default:throw Error(o(435,n.tag))}}function Nc(n,a){var l=wB(n);a.forEach(function(u){if(!l.has(u)){l.add(u);var g=zB.bind(null,n,u);u.then(g,g)}})}function an(n,a){var l=a.deletions;if(l!==null)for(var u=0;u<l.length;u++){var g=l[u],b=n,T=a,z=T;e:for(;z!==null;){switch(z.tag){case 27:if(Pa(z.type)){Xt=z.stateNode,on=!1;break e}break;case 5:Xt=z.stateNode,on=!1;break e;case 3:case 4:Xt=z.stateNode.containerInfo,on=!0;break e}z=z.return}if(Xt===null)throw Error(o(160));Zv(b,T,g),Xt=null,on=!1,b=g.alternate,b!==null&&(b.return=null),g.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)ey(a,n),a=a.sibling}var oo=null;function ey(n,a){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:an(a,n),ln(n),u&4&&(Aa(3,n,n.return),Fs(3,n),Aa(5,n,n.return));break;case 1:an(a,n),ln(n),u&512&&(wr||l===null||So(l,l.return)),u&64&&Qo&&(n=n.updateQueue,n!==null&&(u=n.callbacks,u!==null&&(l=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=l===null?u:l.concat(u))));break;case 26:var g=oo;if(an(a,n),ln(n),u&512&&(wr||l===null||So(l,l.return)),u&4){var b=l!==null?l.memoizedState:null;if(u=n.memoizedState,l===null)if(u===null)if(n.stateNode===null){e:{u=n.type,l=n.memoizedProps,g=g.ownerDocument||g;t:switch(u){case"title":b=g.getElementsByTagName("title")[0],(!b||b[jn]||b[Ut]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=g.createElement(u),g.head.insertBefore(b,g.querySelector("head > title"))),Lr(b,u,l),b[Ut]=n,pr(b),u=b;break e;case"link":var T=e2("link","href",g).get(u+(l.href||""));if(T){for(var z=0;z<T.length;z++)if(b=T[z],b.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&b.getAttribute("rel")===(l.rel==null?null:l.rel)&&b.getAttribute("title")===(l.title==null?null:l.title)&&b.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){T.splice(z,1);break t}}b=g.createElement(u),Lr(b,u,l),g.head.appendChild(b);break;case"meta":if(T=e2("meta","content",g).get(u+(l.content||""))){for(z=0;z<T.length;z++)if(b=T[z],b.getAttribute("content")===(l.content==null?null:""+l.content)&&b.getAttribute("name")===(l.name==null?null:l.name)&&b.getAttribute("property")===(l.property==null?null:l.property)&&b.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&b.getAttribute("charset")===(l.charSet==null?null:l.charSet)){T.splice(z,1);break t}}b=g.createElement(u),Lr(b,u,l),g.head.appendChild(b);break;default:throw Error(o(468,u))}b[Ut]=n,pr(b),u=b}n.stateNode=u}else t2(g,n.type,n.stateNode);else n.stateNode=Jy(g,u,n.memoizedProps);else b!==u?(b===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):b.count--,u===null?t2(g,n.type,n.stateNode):Jy(g,u,n.memoizedProps)):u===null&&n.stateNode!==null&&ih(n,n.memoizedProps,l.memoizedProps)}break;case 27:an(a,n),ln(n),u&512&&(wr||l===null||So(l,l.return)),l!==null&&u&4&&ih(n,n.memoizedProps,l.memoizedProps);break;case 5:if(an(a,n),ln(n),u&512&&(wr||l===null||So(l,l.return)),n.flags&32){g=n.stateNode;try{Ie(g,"")}catch(Ee){Ct(n,n.return,Ee)}}u&4&&n.stateNode!=null&&(g=n.memoizedProps,ih(n,g,l!==null?l.memoizedProps:g)),u&1024&&(uh=!0);break;case 6:if(an(a,n),ln(n),u&4){if(n.stateNode===null)throw Error(o(162));u=n.memoizedProps,l=n.stateNode;try{l.nodeValue=u}catch(Ee){Ct(n,n.return,Ee)}}break;case 3:if(Wc=null,g=oo,oo=Uc(a.containerInfo),an(a,n),oo=g,ln(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{Sl(a.containerInfo)}catch(Ee){Ct(n,n.return,Ee)}uh&&(uh=!1,ty(n));break;case 4:u=oo,oo=Uc(n.stateNode.containerInfo),an(a,n),ln(n),oo=u;break;case 12:an(a,n),ln(n);break;case 31:an(a,n),ln(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Nc(n,u)));break;case 13:an(a,n),ln(n),n.child.flags&8192&&n.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Rc=Rt()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Nc(n,u)));break;case 22:g=n.memoizedState!==null;var P=l!==null&&l.memoizedState!==null,Y=Qo,le=wr;if(Qo=Y||g,wr=le||P,an(a,n),wr=le,Qo=Y,ln(n),u&8192)e:for(a=n.stateNode,a._visibility=g?a._visibility&-2:a._visibility|1,g&&(l===null||P||Qo||wr||Bi(n)),l=null,a=n;;){if(a.tag===5||a.tag===26){if(l===null){P=l=a;try{if(b=P.stateNode,g)T=b.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none";else{z=P.stateNode;var he=P.memoizedProps.style,Q=he!=null&&he.hasOwnProperty("display")?he.display:null;z.style.display=Q==null||typeof Q=="boolean"?"":(""+Q).trim()}}catch(Ee){Ct(P,P.return,Ee)}}}else if(a.tag===6){if(l===null){P=a;try{P.stateNode.nodeValue=g?"":P.memoizedProps}catch(Ee){Ct(P,P.return,Ee)}}}else if(a.tag===18){if(l===null){P=a;try{var oe=P.stateNode;g?Vy(oe,!0):Vy(P.stateNode,!1)}catch(Ee){Ct(P,P.return,Ee)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;l===a&&(l=null),a=a.return}l===a&&(l=null),a.sibling.return=a.return,a=a.sibling}u&4&&(u=n.updateQueue,u!==null&&(l=u.retryQueue,l!==null&&(u.retryQueue=null,Nc(n,l))));break;case 19:an(a,n),ln(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Nc(n,u)));break;case 30:break;case 21:break;default:an(a,n),ln(n)}}function ln(n){var a=n.flags;if(a&2){try{for(var l,u=n.return;u!==null;){if(Gv(u)){l=u;break}u=u.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var g=l.stateNode,b=lh(n);Ec(n,b,g);break;case 5:var T=l.stateNode;l.flags&32&&(Ie(T,""),l.flags&=-33);var z=lh(n);Ec(n,z,T);break;case 3:case 4:var P=l.stateNode.containerInfo,Y=lh(n);sh(n,Y,P);break;default:throw Error(o(161))}}catch(le){Ct(n,n.return,le)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function ty(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;ty(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function ea(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Kv(n,a.alternate,a),a=a.sibling}function Bi(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:Aa(4,a,a.return),Bi(a);break;case 1:So(a,a.return);var l=a.stateNode;typeof l.componentWillUnmount=="function"&&Vv(a,a.return,l),Bi(a);break;case 27:Xs(a.stateNode);case 26:case 5:So(a,a.return),Bi(a);break;case 22:a.memoizedState===null&&Bi(a);break;case 30:Bi(a);break;default:Bi(a)}n=n.sibling}}function ta(n,a,l){for(l=l&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var u=a.alternate,g=n,b=a,T=b.flags;switch(b.tag){case 0:case 11:case 15:ta(g,b,l),Fs(4,b);break;case 1:if(ta(g,b,l),u=b,g=u.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(Y){Ct(u,u.return,Y)}if(u=b,g=u.updateQueue,g!==null){var z=u.stateNode;try{var P=g.shared.hiddenCallbacks;if(P!==null)for(g.shared.hiddenCallbacks=null,g=0;g<P.length;g++)Ab(P[g],z)}catch(Y){Ct(u,u.return,Y)}}l&&T&64&&Uv(b),Ps(b,b.return);break;case 27:$v(b);case 26:case 5:ta(g,b,l),l&&u===null&&T&4&&Wv(b),Ps(b,b.return);break;case 12:ta(g,b,l);break;case 31:ta(g,b,l),l&&T&4&&Qv(g,b);break;case 13:ta(g,b,l),l&&T&4&&Jv(g,b);break;case 22:b.memoizedState===null&&ta(g,b,l),Ps(b,b.return);break;case 30:break;default:ta(g,b,l)}a=a.sibling}}function ch(n,a){var l=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==l&&(n!=null&&n.refCount++,l!=null&&_s(l))}function dh(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&_s(n))}function ao(n,a,l,u){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)ry(n,a,l,u),a=a.sibling}function ry(n,a,l,u){var g=a.flags;switch(a.tag){case 0:case 11:case 15:ao(n,a,l,u),g&2048&&Fs(9,a);break;case 1:ao(n,a,l,u);break;case 3:ao(n,a,l,u),g&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&_s(n)));break;case 12:if(g&2048){ao(n,a,l,u),n=a.stateNode;try{var b=a.memoizedProps,T=b.id,z=b.onPostCommit;typeof z=="function"&&z(T,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(P){Ct(a,a.return,P)}}else ao(n,a,l,u);break;case 31:ao(n,a,l,u);break;case 13:ao(n,a,l,u);break;case 23:break;case 22:b=a.stateNode,T=a.alternate,a.memoizedState!==null?b._visibility&2?ao(n,a,l,u):Is(n,a):b._visibility&2?ao(n,a,l,u):(b._visibility|=2,dl(n,a,l,u,(a.subtreeFlags&10256)!==0||!1)),g&2048&&ch(T,a);break;case 24:ao(n,a,l,u),g&2048&&dh(a.alternate,a);break;default:ao(n,a,l,u)}}function dl(n,a,l,u,g){for(g=g&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var b=n,T=a,z=l,P=u,Y=T.flags;switch(T.tag){case 0:case 11:case 15:dl(b,T,z,P,g),Fs(8,T);break;case 23:break;case 22:var le=T.stateNode;T.memoizedState!==null?le._visibility&2?dl(b,T,z,P,g):Is(b,T):(le._visibility|=2,dl(b,T,z,P,g)),g&&Y&2048&&ch(T.alternate,T);break;case 24:dl(b,T,z,P,g),g&&Y&2048&&dh(T.alternate,T);break;default:dl(b,T,z,P,g)}a=a.sibling}}function Is(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var l=n,u=a,g=u.flags;switch(u.tag){case 22:Is(l,u),g&2048&&ch(u.alternate,u);break;case 24:Is(l,u),g&2048&&dh(u.alternate,u);break;default:Is(l,u)}a=a.sibling}}var Ls=8192;function fl(n,a,l){if(n.subtreeFlags&Ls)for(n=n.child;n!==null;)ny(n,a,l),n=n.sibling}function ny(n,a,l){switch(n.tag){case 26:fl(n,a,l),n.flags&Ls&&n.memoizedState!==null&&l_(l,oo,n.memoizedState,n.memoizedProps);break;case 5:fl(n,a,l);break;case 3:case 4:var u=oo;oo=Uc(n.stateNode.containerInfo),fl(n,a,l),oo=u;break;case 22:n.memoizedState===null&&(u=n.alternate,u!==null&&u.memoizedState!==null?(u=Ls,Ls=16777216,fl(n,a,l),Ls=u):fl(n,a,l));break;default:fl(n,a,l)}}function oy(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function Hs(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var u=a[l];Rr=u,iy(u,n)}oy(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)ay(n),n=n.sibling}function ay(n){switch(n.tag){case 0:case 11:case 15:Hs(n),n.flags&2048&&Aa(9,n,n.return);break;case 3:Hs(n);break;case 12:Hs(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,zc(n)):Hs(n);break;default:Hs(n)}}function zc(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var u=a[l];Rr=u,iy(u,n)}oy(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:Aa(8,a,a.return),zc(a);break;case 22:l=a.stateNode,l._visibility&2&&(l._visibility&=-3,zc(a));break;default:zc(a)}n=n.sibling}}function iy(n,a){for(;Rr!==null;){var l=Rr;switch(l.tag){case 0:case 11:case 15:Aa(8,l,a);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var u=l.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:_s(l.memoizedState.cache)}if(u=l.child,u!==null)u.return=l,Rr=u;else e:for(l=n;Rr!==null;){u=Rr;var g=u.sibling,b=u.return;if(Yv(u),u===l){Rr=null;break e}if(g!==null){g.return=b,Rr=g;break e}Rr=b}}}var SB={getCacheForType:function(n){var a=Pr(vr),l=a.data.get(n);return l===void 0&&(l=n(),a.data.set(n,l)),l},cacheSignal:function(){return Pr(vr).controller.signal}},kB=typeof WeakMap=="function"?WeakMap:Map,bt=0,qt=null,rt=null,it=0,Tt=0,kn=null,Da=!1,hl=!1,fh=!1,ra=0,or=0,ja=0,_i=0,hh=0,Bn=0,ml=0,Us=null,sn=null,mh=!1,Rc=0,ly=0,Ac=1/0,Dc=null,Oa=null,Cr=0,Ma=null,gl=null,na=0,gh=0,ph=null,sy=null,Vs=0,bh=null;function _n(){return(bt&2)!==0&&it!==0?it&-it:O.T!==null?kh():vo()}function uy(){if(Bn===0)if((it&536870912)===0||st){var n=He;He<<=1,(He&3932160)===0&&(He=262144),Bn=n}else Bn=536870912;return n=wn.current,n!==null&&(n.flags|=32),Bn}function un(n,a,l){(n===qt&&(Tt===2||Tt===9)||n.cancelPendingCommit!==null)&&(pl(n,0),qa(n,it,Bn,!1)),yt(n,l),((bt&2)===0||n!==qt)&&(n===qt&&((bt&2)===0&&(_i|=l),or===4&&qa(n,it,Bn,!1)),ko(n))}function cy(n,a,l){if((bt&6)!==0)throw Error(o(327));var u=!l&&(a&127)===0&&(a&n.expiredLanes)===0||ie(n,a),g=u?TB(n,a):yh(n,a,!0),b=u;do{if(g===0){hl&&!u&&qa(n,a,0,!1);break}else{if(l=n.current.alternate,b&&!BB(l)){g=yh(n,a,!1),b=!1;continue}if(g===2){if(b=a,n.errorRecoveryDisabledLanes&b)var T=0;else T=n.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){a=T;e:{var z=n;g=Us;var P=z.current.memoizedState.isDehydrated;if(P&&(pl(z,T).flags|=256),T=yh(z,T,!1),T!==2){if(fh&&!P){z.errorRecoveryDisabledLanes|=b,_i|=b,g=4;break e}b=sn,sn=g,b!==null&&(sn===null?sn=b:sn.push.apply(sn,b))}g=T}if(b=!1,g!==2)continue}}if(g===1){pl(n,0),qa(n,a,0,!0);break}e:{switch(u=n,b=g,b){case 0:case 1:throw Error(o(345));case 4:if((a&4194048)!==a)break;case 6:qa(u,a,Bn,!Da);break e;case 2:sn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((a&62914560)===a&&(g=Rc+300-Rt(),10<g)){if(qa(u,a,Bn,!Da),q(u,0,!0)!==0)break e;na=a,u.timeoutHandle=Ly(dy.bind(null,u,l,sn,Dc,mh,a,Bn,_i,ml,Da,b,"Throttled",-0,0),g);break e}dy(u,l,sn,Dc,mh,a,Bn,_i,ml,Da,b,null,-0,0)}}break}while(!0);ko(n)}function dy(n,a,l,u,g,b,T,z,P,Y,le,he,Q,oe){if(n.timeoutHandle=-1,he=a.subtreeFlags,he&8192||(he&16785408)===16785408){he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:we},ny(a,b,he);var Ee=(b&62914560)===b?Rc-Rt():(b&4194048)===b?ly-Rt():0;if(Ee=s_(he,Ee),Ee!==null){na=b,n.cancelPendingCommit=Ee(yy.bind(null,n,a,b,l,u,g,T,z,P,le,he,null,Q,oe)),qa(n,b,T,!Y);return}}yy(n,a,b,l,u,g,T,z,P)}function BB(n){for(var a=n;;){var l=a.tag;if((l===0||l===11||l===15)&&a.flags&16384&&(l=a.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var u=0;u<l.length;u++){var g=l[u],b=g.getSnapshot;g=g.value;try{if(!yn(b(),g))return!1}catch{return!1}}if(l=a.child,a.subtreeFlags&16384&&l!==null)l.return=a,a=l;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function qa(n,a,l,u){a&=~hh,a&=~_i,n.suspendedLanes|=a,n.pingedLanes&=~a,u&&(n.warmLanes|=a),u=n.expirationTimes;for(var g=a;0<g;){var b=31-$(g),T=1<<b;u[b]=-1,g&=~T}l!==0&&_e(n,l,a)}function jc(){return(bt&6)===0?(Ws(0),!1):!0}function vh(){if(rt!==null){if(Tt===0)var n=rt.return;else n=rt,Go=pi=null,j0(n),il=null,Cs=0,n=rt;for(;n!==null;)Hv(n.alternate,n),n=n.return;rt=null}}function pl(n,a){var l=n.timeoutHandle;l!==-1&&(n.timeoutHandle=-1,VB(l)),l=n.cancelPendingCommit,l!==null&&(n.cancelPendingCommit=null,l()),na=0,vh(),qt=n,rt=l=Vo(n.current,null),it=a,Tt=0,kn=null,Da=!1,hl=ie(n,a),fh=!1,ml=Bn=hh=_i=ja=or=0,sn=Us=null,mh=!1,(a&8)!==0&&(a|=a&32);var u=n.entangledLanes;if(u!==0)for(n=n.entanglements,u&=a;0<u;){var g=31-$(u),b=1<<g;a|=n[g],u&=~b}return ra=a,tc(),l}function fy(n,a){Ke=null,O.H=Os,a===al||a===uc?(a=Eb(),Tt=3):a===S0?(a=Eb(),Tt=4):Tt=a===Y0?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,kn=a,rt===null&&(or=1,kc(n,qn(a,n.current)))}function hy(){var n=wn.current;return n===null?!0:(it&4194048)===it?Ln===null:(it&62914560)===it||(it&536870912)!==0?n===Ln:!1}function my(){var n=O.H;return O.H=Os,n===null?Os:n}function gy(){var n=O.A;return O.A=SB,n}function Oc(){or=4,Da||(it&4194048)!==it&&wn.current!==null||(hl=!0),(ja&134217727)===0&&(_i&134217727)===0||qt===null||qa(qt,it,Bn,!1)}function yh(n,a,l){var u=bt;bt|=2;var g=my(),b=gy();(qt!==n||it!==a)&&(Dc=null,pl(n,a)),a=!1;var T=or;e:do try{if(Tt!==0&&rt!==null){var z=rt,P=kn;switch(Tt){case 8:vh(),T=6;break e;case 3:case 2:case 9:case 6:wn.current===null&&(a=!0);var Y=Tt;if(Tt=0,kn=null,bl(n,z,P,Y),l&&hl){T=0;break e}break;default:Y=Tt,Tt=0,kn=null,bl(n,z,P,Y)}}_B(),T=or;break}catch(le){fy(n,le)}while(!0);return a&&n.shellSuspendCounter++,Go=pi=null,bt=u,O.H=g,O.A=b,rt===null&&(qt=null,it=0,tc()),T}function _B(){for(;rt!==null;)py(rt)}function TB(n,a){var l=bt;bt|=2;var u=my(),g=gy();qt!==n||it!==a?(Dc=null,Ac=Rt()+500,pl(n,a)):hl=ie(n,a);e:do try{if(Tt!==0&&rt!==null){a=rt;var b=kn;t:switch(Tt){case 1:Tt=0,kn=null,bl(n,a,b,1);break;case 2:case 9:if(Tb(b)){Tt=0,kn=null,by(a);break}a=function(){Tt!==2&&Tt!==9||qt!==n||(Tt=7),ko(n)},b.then(a,a);break e;case 3:Tt=7;break e;case 4:Tt=5;break e;case 7:Tb(b)?(Tt=0,kn=null,by(a)):(Tt=0,kn=null,bl(n,a,b,7));break;case 5:var T=null;switch(rt.tag){case 26:T=rt.memoizedState;case 5:case 27:var z=rt;if(T?r2(T):z.stateNode.complete){Tt=0,kn=null;var P=z.sibling;if(P!==null)rt=P;else{var Y=z.return;Y!==null?(rt=Y,Mc(Y)):rt=null}break t}}Tt=0,kn=null,bl(n,a,b,5);break;case 6:Tt=0,kn=null,bl(n,a,b,6);break;case 8:vh(),or=6;break e;default:throw Error(o(462))}}CB();break}catch(le){fy(n,le)}while(!0);return Go=pi=null,O.H=u,O.A=g,bt=l,rt!==null?0:(qt=null,it=0,tc(),or)}function CB(){for(;rt!==null&&!po();)py(rt)}function py(n){var a=Iv(n.alternate,n,ra);n.memoizedProps=n.pendingProps,a===null?Mc(n):rt=a}function by(n){var a=n,l=a.alternate;switch(a.tag){case 15:case 0:a=jv(l,a,a.pendingProps,a.type,void 0,it);break;case 11:a=jv(l,a,a.pendingProps,a.type.render,a.ref,it);break;case 5:j0(a);default:Hv(l,a),a=rt=gb(a,ra),a=Iv(l,a,ra)}n.memoizedProps=n.pendingProps,a===null?Mc(n):rt=a}function bl(n,a,l,u){Go=pi=null,j0(a),il=null,Cs=0;var g=a.return;try{if(gB(n,g,a,l,it)){or=1,kc(n,qn(l,n.current)),rt=null;return}}catch(b){if(g!==null)throw rt=g,b;or=1,kc(n,qn(l,n.current)),rt=null;return}a.flags&32768?(st||u===1?n=!0:hl||(it&536870912)!==0?n=!1:(Da=n=!0,(u===2||u===9||u===3||u===6)&&(u=wn.current,u!==null&&u.tag===13&&(u.flags|=16384))),vy(a,n)):Mc(a)}function Mc(n){var a=n;do{if((a.flags&32768)!==0){vy(a,Da);return}n=a.return;var l=vB(a.alternate,a,ra);if(l!==null){rt=l;return}if(a=a.sibling,a!==null){rt=a;return}rt=a=n}while(a!==null);or===0&&(or=5)}function vy(n,a){do{var l=yB(n.alternate,n);if(l!==null){l.flags&=32767,rt=l;return}if(l=n.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!a&&(n=n.sibling,n!==null)){rt=n;return}rt=n=l}while(n!==null);or=6,rt=null}function yy(n,a,l,u,g,b,T,z,P){n.cancelPendingCommit=null;do qc();while(Cr!==0);if((bt&6)!==0)throw Error(o(327));if(a!==null){if(a===n.current)throw Error(o(177));if(b=a.lanes|a.childLanes,b|=l0,Ce(n,l,b,T,z,P),n===qt&&(rt=qt=null,it=0),gl=a,Ma=n,na=l,gh=b,ph=g,sy=u,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,RB(Mo,function(){return By(),null})):(n.callbackNode=null,n.callbackPriority=0),u=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||u){u=O.T,O.T=null,g=W.p,W.p=2,T=bt,bt|=4;try{xB(n,a,l)}finally{bt=T,W.p=g,O.T=u}}Cr=1,xy(),wy(),Sy()}}function xy(){if(Cr===1){Cr=0;var n=Ma,a=gl,l=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||l){l=O.T,O.T=null;var u=W.p;W.p=2;var g=bt;bt|=4;try{ey(a,n);var b=Rh,T=ib(n.containerInfo),z=b.focusedElem,P=b.selectionRange;if(T!==z&&z&&z.ownerDocument&&ab(z.ownerDocument.documentElement,z)){if(P!==null&&r0(z)){var Y=P.start,le=P.end;if(le===void 0&&(le=Y),"selectionStart"in z)z.selectionStart=Y,z.selectionEnd=Math.min(le,z.value.length);else{var he=z.ownerDocument||document,Q=he&&he.defaultView||window;if(Q.getSelection){var oe=Q.getSelection(),Ee=z.textContent.length,Fe=Math.min(P.start,Ee),jt=P.end===void 0?Fe:Math.min(P.end,Ee);!oe.extend&&Fe>jt&&(T=jt,jt=Fe,Fe=T);var V=ob(z,Fe),H=ob(z,jt);if(V&&H&&(oe.rangeCount!==1||oe.anchorNode!==V.node||oe.anchorOffset!==V.offset||oe.focusNode!==H.node||oe.focusOffset!==H.offset)){var K=he.createRange();K.setStart(V.node,V.offset),oe.removeAllRanges(),Fe>jt?(oe.addRange(K),oe.extend(H.node,H.offset)):(K.setEnd(H.node,H.offset),oe.addRange(K))}}}}for(he=[],oe=z;oe=oe.parentNode;)oe.nodeType===1&&he.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof z.focus=="function"&&z.focus(),z=0;z<he.length;z++){var ce=he[z];ce.element.scrollLeft=ce.left,ce.element.scrollTop=ce.top}}Kc=!!zh,Rh=zh=null}finally{bt=g,W.p=u,O.T=l}}n.current=a,Cr=2}}function wy(){if(Cr===2){Cr=0;var n=Ma,a=gl,l=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||l){l=O.T,O.T=null;var u=W.p;W.p=2;var g=bt;bt|=4;try{Kv(n,a.alternate,a)}finally{bt=g,W.p=u,O.T=l}}Cr=3}}function Sy(){if(Cr===4||Cr===3){Cr=0,eo();var n=Ma,a=gl,l=na,u=sy;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Cr=5:(Cr=0,gl=Ma=null,ky(n,n.pendingLanes));var g=n.pendingLanes;if(g===0&&(Oa=null),gn(l),a=a.stateNode,gr&&typeof gr.onCommitFiberRoot=="function")try{gr.onCommitFiberRoot(Fo,a,void 0,(a.current.flags&128)===128)}catch{}if(u!==null){a=O.T,g=W.p,W.p=2,O.T=null;try{for(var b=n.onRecoverableError,T=0;T<u.length;T++){var z=u[T];b(z.value,{componentStack:z.stack})}}finally{O.T=a,W.p=g}}(na&3)!==0&&qc(),ko(n),g=n.pendingLanes,(l&261930)!==0&&(g&42)!==0?n===bh?Vs++:(Vs=0,bh=n):Vs=0,Ws(0)}}function ky(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,_s(a)))}function qc(){return xy(),wy(),Sy(),By()}function By(){if(Cr!==5)return!1;var n=Ma,a=gh;gh=0;var l=gn(na),u=O.T,g=W.p;try{W.p=32>l?32:l,O.T=null,l=ph,ph=null;var b=Ma,T=na;if(Cr=0,gl=Ma=null,na=0,(bt&6)!==0)throw Error(o(331));var z=bt;if(bt|=4,ay(b.current),ry(b,b.current,T,l),bt=z,Ws(0,!1),gr&&typeof gr.onPostCommitFiberRoot=="function")try{gr.onPostCommitFiberRoot(Fo,b)}catch{}return!0}finally{W.p=g,O.T=u,ky(n,a)}}function _y(n,a,l){a=qn(l,a),a=K0(n.stateNode,a,2),n=Na(n,a,2),n!==null&&(yt(n,2),ko(n))}function Ct(n,a,l){if(n.tag===3)_y(n,n,l);else for(;a!==null;){if(a.tag===3){_y(a,n,l);break}else if(a.tag===1){var u=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Oa===null||!Oa.has(u))){n=qn(l,n),l=Tv(2),u=Na(a,l,2),u!==null&&(Cv(l,u,a,n),yt(u,2),ko(u));break}}a=a.return}}function xh(n,a,l){var u=n.pingCache;if(u===null){u=n.pingCache=new kB;var g=new Set;u.set(a,g)}else g=u.get(a),g===void 0&&(g=new Set,u.set(a,g));g.has(l)||(fh=!0,g.add(l),n=EB.bind(null,n,a,l),a.then(n,n))}function EB(n,a,l){var u=n.pingCache;u!==null&&u.delete(a),n.pingedLanes|=n.suspendedLanes&l,n.warmLanes&=~l,qt===n&&(it&l)===l&&(or===4||or===3&&(it&62914560)===it&&300>Rt()-Rc?(bt&2)===0&&pl(n,0):hh|=l,ml===it&&(ml=0)),ko(n)}function Ty(n,a){a===0&&(a=qe()),n=hi(n,a),n!==null&&(yt(n,a),ko(n))}function NB(n){var a=n.memoizedState,l=0;a!==null&&(l=a.retryLane),Ty(n,l)}function zB(n,a){var l=0;switch(n.tag){case 31:case 13:var u=n.stateNode,g=n.memoizedState;g!==null&&(l=g.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(o(314))}u!==null&&u.delete(a),Ty(n,l)}function RB(n,a){return Zr(n,a)}var Fc=null,vl=null,wh=!1,Pc=!1,Sh=!1,Fa=0;function ko(n){n!==vl&&n.next===null&&(vl===null?Fc=vl=n:vl=vl.next=n),Pc=!0,wh||(wh=!0,DB())}function Ws(n,a){if(!Sh&&Pc){Sh=!0;do for(var l=!1,u=Fc;u!==null;){if(n!==0){var g=u.pendingLanes;if(g===0)var b=0;else{var T=u.suspendedLanes,z=u.pingedLanes;b=(1<<31-$(42|n)+1)-1,b&=g&~(T&~z),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(l=!0,zy(u,b))}else b=it,b=q(u,u===qt?b:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(b&3)===0||ie(u,b)||(l=!0,zy(u,b));u=u.next}while(l);Sh=!1}}function AB(){Cy()}function Cy(){Pc=wh=!1;var n=0;Fa!==0&&UB()&&(n=Fa);for(var a=Rt(),l=null,u=Fc;u!==null;){var g=u.next,b=Ey(u,a);b===0?(u.next=null,l===null?Fc=g:l.next=g,g===null&&(vl=l)):(l=u,(n!==0||(b&3)!==0)&&(Pc=!0)),u=g}Cr!==0&&Cr!==5||Ws(n),Fa!==0&&(Fa=0)}function Ey(n,a){for(var l=n.suspendedLanes,u=n.pingedLanes,g=n.expirationTimes,b=n.pendingLanes&-62914561;0<b;){var T=31-$(b),z=1<<T,P=g[T];P===-1?((z&l)===0||(z&u)!==0)&&(g[T]=Se(z,a)):P<=a&&(n.expiredLanes|=z),b&=~z}if(a=qt,l=it,l=q(n,n===a?l:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u=n.callbackNode,l===0||n===a&&(Tt===2||Tt===9)||n.cancelPendingCommit!==null)return u!==null&&u!==null&&Mr(u),n.callbackNode=null,n.callbackPriority=0;if((l&3)===0||ie(n,l)){if(a=l&-l,a===n.callbackPriority)return a;switch(u!==null&&Mr(u),gn(l)){case 2:case 8:l=bo;break;case 32:l=Mo;break;case 268435456:l=pa;break;default:l=Mo}return u=Ny.bind(null,n),l=Zr(l,u),n.callbackPriority=a,n.callbackNode=l,a}return u!==null&&u!==null&&Mr(u),n.callbackPriority=2,n.callbackNode=null,2}function Ny(n,a){if(Cr!==0&&Cr!==5)return n.callbackNode=null,n.callbackPriority=0,null;var l=n.callbackNode;if(qc()&&n.callbackNode!==l)return null;var u=it;return u=q(n,n===qt?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u===0?null:(cy(n,u,a),Ey(n,Rt()),n.callbackNode!=null&&n.callbackNode===l?Ny.bind(null,n):null)}function zy(n,a){if(qc())return null;cy(n,a,!0)}function DB(){WB(function(){(bt&6)!==0?Zr(to,AB):Cy()})}function kh(){if(Fa===0){var n=nl;n===0&&(n=ut,ut<<=1,(ut&261888)===0&&(ut=256)),Fa=n}return Fa}function Ry(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:wa(""+n)}function Ay(n,a){var l=a.ownerDocument.createElement("input");return l.name=a.name,l.value=a.value,n.id&&l.setAttribute("form",n.id),a.parentNode.insertBefore(l,a),n=new FormData(n),l.parentNode.removeChild(l),n}function jB(n,a,l,u,g){if(a==="submit"&&l&&l.stateNode===g){var b=Ry((g[Tr]||null).action),T=u.submitter;T&&(a=(a=T[Tr]||null)?Ry(a.formAction):T.getAttribute("formAction"),a!==null&&(b=a,T=null));var z=new Zu("action","action",null,u,g);n.push({event:z,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Fa!==0){var P=T?Ay(g,T):new FormData(g);U0(l,{pending:!0,data:P,method:g.method,action:b},null,P)}}else typeof b=="function"&&(z.preventDefault(),P=T?Ay(g,T):new FormData(g),U0(l,{pending:!0,data:P,method:g.method,action:b},b,P))},currentTarget:g}]})}}for(var Bh=0;Bh<i0.length;Bh++){var _h=i0[Bh],OB=_h.toLowerCase(),MB=_h[0].toUpperCase()+_h.slice(1);no(OB,"on"+MB)}no(ub,"onAnimationEnd"),no(cb,"onAnimationIteration"),no(db,"onAnimationStart"),no("dblclick","onDoubleClick"),no("focusin","onFocus"),no("focusout","onBlur"),no(Q8,"onTransitionRun"),no(J8,"onTransitionStart"),no(eB,"onTransitionCancel"),no(fb,"onTransitionEnd"),ye("onMouseEnter",["mouseout","mouseover"]),ye("onMouseLeave",["mouseout","mouseover"]),ye("onPointerEnter",["pointerout","pointerover"]),ye("onPointerLeave",["pointerout","pointerover"]),Lo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Lo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Lo("onBeforeInput",["compositionend","keypress","textInput","paste"]),Lo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Lo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Lo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Gs="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(" "),qB=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Gs));function Dy(n,a){a=(a&4)!==0;for(var l=0;l<n.length;l++){var u=n[l],g=u.event;u=u.listeners;e:{var b=void 0;if(a)for(var T=u.length-1;0<=T;T--){var z=u[T],P=z.instance,Y=z.currentTarget;if(z=z.listener,P!==b&&g.isPropagationStopped())break e;b=z,g.currentTarget=Y;try{b(g)}catch(le){ec(le)}g.currentTarget=null,b=P}else for(T=0;T<u.length;T++){if(z=u[T],P=z.instance,Y=z.currentTarget,z=z.listener,P!==b&&g.isPropagationStopped())break e;b=z,g.currentTarget=Y;try{b(g)}catch(le){ec(le)}g.currentTarget=null,b=P}}}}function nt(n,a){var l=a[ba];l===void 0&&(l=a[ba]=new Set);var u=n+"__bubble";l.has(u)||(jy(a,n,2,!1),l.add(u))}function Th(n,a,l){var u=0;a&&(u|=4),jy(l,n,u,a)}var Ic="_reactListening"+Math.random().toString(36).slice(2);function Ch(n){if(!n[Ic]){n[Ic]=!0,Uu.forEach(function(l){l!=="selectionchange"&&(qB.has(l)||Th(l,!1,n),Th(l,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[Ic]||(a[Ic]=!0,Th("selectionchange",!1,a))}}function jy(n,a,l,u){switch(u2(a)){case 2:var g=d_;break;case 8:g=f_;break;default:g=Hh}l=g.bind(null,a,l,n),g=void 0,!$f||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(g=!0),u?g!==void 0?n.addEventListener(a,l,{capture:!0,passive:g}):n.addEventListener(a,l,!0):g!==void 0?n.addEventListener(a,l,{passive:g}):n.addEventListener(a,l,!1)}function Eh(n,a,l,u,g){var b=u;if((a&1)===0&&(a&2)===0&&u!==null)e:for(;;){if(u===null)return;var T=u.tag;if(T===3||T===4){var z=u.stateNode.containerInfo;if(z===g)break;if(T===4)for(T=u.return;T!==null;){var P=T.tag;if((P===3||P===4)&&T.stateNode.containerInfo===g)return;T=T.return}for(;z!==null;){if(T=zr(z),T===null)return;if(P=T.tag,P===5||P===6||P===26||P===27){u=b=T;continue e}z=z.parentNode}}u=u.return}$u(function(){var Y=b,le=$e(l),he=[];e:{var Q=hb.get(n);if(Q!==void 0){var oe=Zu,Ee=n;switch(n){case"keypress":if(Ku(l)===0)break e;case"keydown":case"keyup":oe=z8;break;case"focusin":Ee="focus",oe=Zf;break;case"focusout":Ee="blur",oe=Zf;break;case"beforeblur":case"afterblur":oe=Zf;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=H1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=v8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=D8;break;case ub:case cb:case db:oe=w8;break;case fb:oe=O8;break;case"scroll":case"scrollend":oe=p8;break;case"wheel":oe=q8;break;case"copy":case"cut":case"paste":oe=k8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=V1;break;case"toggle":case"beforetoggle":oe=P8}var Fe=(a&4)!==0,jt=!Fe&&(n==="scroll"||n==="scrollend"),V=Fe?Q!==null?Q+"Capture":null:Q;Fe=[];for(var H=Y,K;H!==null;){var ce=H;if(K=ce.stateNode,ce=ce.tag,ce!==5&&ce!==26&&ce!==27||K===null||V===null||(ce=ms(H,V),ce!=null&&Fe.push($s(H,ce,K))),jt)break;H=H.return}0<Fe.length&&(Q=new oe(Q,Ee,null,l,le),he.push({event:Q,listeners:Fe}))}}if((a&7)===0){e:{if(Q=n==="mouseover"||n==="pointerover",oe=n==="mouseout"||n==="pointerout",Q&&l!==ze&&(Ee=l.relatedTarget||l.fromElement)&&(zr(Ee)||Ee[Dn]))break e;if((oe||Q)&&(Q=le.window===le?le:(Q=le.ownerDocument)?Q.defaultView||Q.parentWindow:window,oe?(Ee=l.relatedTarget||l.toElement,oe=Y,Ee=Ee?zr(Ee):null,Ee!==null&&(jt=s(Ee),Fe=Ee.tag,Ee!==jt||Fe!==5&&Fe!==27&&Fe!==6)&&(Ee=null)):(oe=null,Ee=Y),oe!==Ee)){if(Fe=H1,ce="onMouseLeave",V="onMouseEnter",H="mouse",(n==="pointerout"||n==="pointerover")&&(Fe=V1,ce="onPointerLeave",V="onPointerEnter",H="pointer"),jt=oe==null?Q:va(oe),K=Ee==null?Q:va(Ee),Q=new Fe(ce,H+"leave",oe,l,le),Q.target=jt,Q.relatedTarget=K,ce=null,zr(le)===Y&&(Fe=new Fe(V,H+"enter",Ee,l,le),Fe.target=K,Fe.relatedTarget=jt,ce=Fe),jt=ce,oe&&Ee)t:{for(Fe=FB,V=oe,H=Ee,K=0,ce=V;ce;ce=Fe(ce))K++;ce=0;for(var Me=H;Me;Me=Fe(Me))ce++;for(;0<K-ce;)V=Fe(V),K--;for(;0<ce-K;)H=Fe(H),ce--;for(;K--;){if(V===H||H!==null&&V===H.alternate){Fe=V;break t}V=Fe(V),H=Fe(H)}Fe=null}else Fe=null;oe!==null&&Oy(he,Q,oe,Fe,!1),Ee!==null&&jt!==null&&Oy(he,jt,Ee,Fe,!0)}}e:{if(Q=Y?va(Y):window,oe=Q.nodeName&&Q.nodeName.toLowerCase(),oe==="select"||oe==="input"&&Q.type==="file")var ft=Q1;else if(Y1(Q))if(J1)ft=K8;else{ft=$8;var Re=G8}else oe=Q.nodeName,!oe||oe.toLowerCase()!=="input"||Q.type!=="checkbox"&&Q.type!=="radio"?Y&&xa(Y.elementType)&&(ft=Q1):ft=X8;if(ft&&(ft=ft(n,Y))){Z1(he,ft,l,le);break e}Re&&Re(n,Q,Y),n==="focusout"&&Y&&Q.type==="number"&&Y.memoizedProps.value!=null&&Gi(Q,"number",Q.value)}switch(Re=Y?va(Y):window,n){case"focusin":(Y1(Re)||Re.contentEditable==="true")&&(Ki=Re,n0=Y,Ss=null);break;case"focusout":Ss=n0=Ki=null;break;case"mousedown":o0=!0;break;case"contextmenu":case"mouseup":case"dragend":o0=!1,lb(he,l,le);break;case"selectionchange":if(Z8)break;case"keydown":case"keyup":lb(he,l,le)}var Ze;if(Jf)e:{switch(n){case"compositionstart":var lt="onCompositionStart";break e;case"compositionend":lt="onCompositionEnd";break e;case"compositionupdate":lt="onCompositionUpdate";break e}lt=void 0}else Xi?X1(n,l)&&(lt="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(lt="onCompositionStart");lt&&(W1&&l.locale!=="ko"&&(Xi||lt!=="onCompositionStart"?lt==="onCompositionEnd"&&Xi&&(Ze=I1()):(Sa=le,Xf="value"in Sa?Sa.value:Sa.textContent,Xi=!0)),Re=Lc(Y,lt),0<Re.length&&(lt=new U1(lt,n,null,l,le),he.push({event:lt,listeners:Re}),Ze?lt.data=Ze:(Ze=K1(l),Ze!==null&&(lt.data=Ze)))),(Ze=L8?H8(n,l):U8(n,l))&&(lt=Lc(Y,"onBeforeInput"),0<lt.length&&(Re=new U1("onBeforeInput","beforeinput",null,l,le),he.push({event:Re,listeners:lt}),Re.data=Ze)),jB(he,n,Y,l,le)}Dy(he,a)})}function $s(n,a,l){return{instance:n,listener:a,currentTarget:l}}function Lc(n,a){for(var l=a+"Capture",u=[];n!==null;){var g=n,b=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||b===null||(g=ms(n,l),g!=null&&u.unshift($s(n,g,b)),g=ms(n,a),g!=null&&u.push($s(n,g,b))),n.tag===3)return u;n=n.return}return[]}function FB(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Oy(n,a,l,u,g){for(var b=a._reactName,T=[];l!==null&&l!==u;){var z=l,P=z.alternate,Y=z.stateNode;if(z=z.tag,P!==null&&P===u)break;z!==5&&z!==26&&z!==27||Y===null||(P=Y,g?(Y=ms(l,b),Y!=null&&T.unshift($s(l,Y,P))):g||(Y=ms(l,b),Y!=null&&T.push($s(l,Y,P)))),l=l.return}T.length!==0&&n.push({event:a,listeners:T})}var PB=/\r\n?/g,IB=/\u0000|\uFFFD/g;function My(n){return(typeof n=="string"?n:""+n).replace(PB,`
`).replace(IB,"")}function qy(n,a){return a=My(a),My(n)===a}function Dt(n,a,l,u,g,b){switch(l){case"children":typeof u=="string"?a==="body"||a==="textarea"&&u===""||Ie(n,u):(typeof u=="number"||typeof u=="bigint")&&a!=="body"&&Ie(n,""+u);break;case"className":bn(n,"class",u);break;case"tabIndex":bn(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":bn(n,l,u);break;case"style":_t(n,u,b);break;case"data":if(a!=="object"){bn(n,"data",u);break}case"src":case"href":if(u===""&&(a!=="a"||l!=="href")){n.removeAttribute(l);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(l);break}u=wa(""+u),n.setAttribute(l,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(l,"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 b=="function"&&(l==="formAction"?(a!=="input"&&Dt(n,a,"name",g.name,g,null),Dt(n,a,"formEncType",g.formEncType,g,null),Dt(n,a,"formMethod",g.formMethod,g,null),Dt(n,a,"formTarget",g.formTarget,g,null)):(Dt(n,a,"encType",g.encType,g,null),Dt(n,a,"method",g.method,g,null),Dt(n,a,"target",g.target,g,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(l);break}u=wa(""+u),n.setAttribute(l,u);break;case"onClick":u!=null&&(n.onclick=we);break;case"onScroll":u!=null&&nt("scroll",n);break;case"onScrollEnd":u!=null&&nt("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(l=u.__html,l!=null){if(g.children!=null)throw Error(o(60));n.innerHTML=l}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){n.removeAttribute("xlink:href");break}l=wa(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(l,""+u):n.removeAttribute(l);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":u&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":u===!0?n.setAttribute(l,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(l,u):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(l,u):n.removeAttribute(l);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(l):n.setAttribute(l,u);break;case"popover":nt("beforetoggle",n),nt("toggle",n),Gr(n,"popover",u);break;case"xlinkActuate":tn(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":tn(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":tn(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":tn(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":tn(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":tn(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":tn(n,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":tn(n,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":tn(n,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Gr(n,"is",u);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Ho.get(l)||l,Gr(n,l,u))}}function Nh(n,a,l,u,g,b){switch(l){case"style":_t(n,u,b);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(l=u.__html,l!=null){if(g.children!=null)throw Error(o(60));n.innerHTML=l}}break;case"children":typeof u=="string"?Ie(n,u):(typeof u=="number"||typeof u=="bigint")&&Ie(n,""+u);break;case"onScroll":u!=null&&nt("scroll",n);break;case"onScrollEnd":u!=null&&nt("scrollend",n);break;case"onClick":u!=null&&(n.onclick=we);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!si.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(g=l.endsWith("Capture"),a=l.slice(2,g?l.length-7:void 0),b=n[Tr]||null,b=b!=null?b[l]:null,typeof b=="function"&&n.removeEventListener(a,b,g),typeof u=="function")){typeof b!="function"&&b!==null&&(l in n?n[l]=null:n.hasAttribute(l)&&n.removeAttribute(l)),n.addEventListener(a,u,g);break e}l in n?n[l]=u:u===!0?n.setAttribute(l,""):Gr(n,l,u)}}}function Lr(n,a,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":nt("error",n),nt("load",n);var u=!1,g=!1,b;for(b in l)if(l.hasOwnProperty(b)){var T=l[b];if(T!=null)switch(b){case"src":u=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,a));default:Dt(n,a,b,T,l,null)}}g&&Dt(n,a,"srcSet",l.srcSet,l,null),u&&Dt(n,a,"src",l.src,l,null);return;case"input":nt("invalid",n);var z=b=T=g=null,P=null,Y=null;for(u in l)if(l.hasOwnProperty(u)){var le=l[u];if(le!=null)switch(u){case"name":g=le;break;case"type":T=le;break;case"checked":P=le;break;case"defaultChecked":Y=le;break;case"value":b=le;break;case"defaultValue":z=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(o(137,a));break;default:Dt(n,a,u,le,l,null)}}ui(n,b,z,P,Y,T,g,!1);return;case"select":nt("invalid",n),u=T=b=null;for(g in l)if(l.hasOwnProperty(g)&&(z=l[g],z!=null))switch(g){case"value":b=z;break;case"defaultValue":T=z;break;case"multiple":u=z;default:Dt(n,a,g,z,l,null)}a=b,l=T,n.multiple=!!u,a!=null?qr(n,!!u,a,!1):l!=null&&qr(n,!!u,l,!0);return;case"textarea":nt("invalid",n),b=g=u=null;for(T in l)if(l.hasOwnProperty(T)&&(z=l[T],z!=null))switch(T){case"value":u=z;break;case"defaultValue":g=z;break;case"children":b=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(91));break;default:Dt(n,a,T,z,l,null)}$i(n,u,g,b);return;case"option":for(P in l)if(l.hasOwnProperty(P)&&(u=l[P],u!=null))switch(P){case"selected":n.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Dt(n,a,P,u,l,null)}return;case"dialog":nt("beforetoggle",n),nt("toggle",n),nt("cancel",n),nt("close",n);break;case"iframe":case"object":nt("load",n);break;case"video":case"audio":for(u=0;u<Gs.length;u++)nt(Gs[u],n);break;case"image":nt("error",n),nt("load",n);break;case"details":nt("toggle",n);break;case"embed":case"source":case"link":nt("error",n),nt("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Y in l)if(l.hasOwnProperty(Y)&&(u=l[Y],u!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,a));default:Dt(n,a,Y,u,l,null)}return;default:if(xa(a)){for(le in l)l.hasOwnProperty(le)&&(u=l[le],u!==void 0&&Nh(n,a,le,u,l,void 0));return}}for(z in l)l.hasOwnProperty(z)&&(u=l[z],u!=null&&Dt(n,a,z,u,l,null))}function LB(n,a,l,u){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,b=null,T=null,z=null,P=null,Y=null,le=null;for(oe in l){var he=l[oe];if(l.hasOwnProperty(oe)&&he!=null)switch(oe){case"checked":break;case"value":break;case"defaultValue":P=he;default:u.hasOwnProperty(oe)||Dt(n,a,oe,null,u,he)}}for(var Q in u){var oe=u[Q];if(he=l[Q],u.hasOwnProperty(Q)&&(oe!=null||he!=null))switch(Q){case"type":b=oe;break;case"name":g=oe;break;case"checked":Y=oe;break;case"defaultChecked":le=oe;break;case"value":T=oe;break;case"defaultValue":z=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(o(137,a));break;default:oe!==he&&Dt(n,a,Q,oe,u,he)}}ds(n,T,z,P,Y,le,b,g);return;case"select":oe=T=z=Q=null;for(b in l)if(P=l[b],l.hasOwnProperty(b)&&P!=null)switch(b){case"value":break;case"multiple":oe=P;default:u.hasOwnProperty(b)||Dt(n,a,b,null,u,P)}for(g in u)if(b=u[g],P=l[g],u.hasOwnProperty(g)&&(b!=null||P!=null))switch(g){case"value":Q=b;break;case"defaultValue":z=b;break;case"multiple":T=b;default:b!==P&&Dt(n,a,g,b,u,P)}a=z,l=T,u=oe,Q!=null?qr(n,!!l,Q,!1):!!u!=!!l&&(a!=null?qr(n,!!l,a,!0):qr(n,!!l,l?[]:"",!1));return;case"textarea":oe=Q=null;for(z in l)if(g=l[z],l.hasOwnProperty(z)&&g!=null&&!u.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:Dt(n,a,z,null,u,g)}for(T in u)if(g=u[T],b=l[T],u.hasOwnProperty(T)&&(g!=null||b!=null))switch(T){case"value":Q=g;break;case"defaultValue":oe=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(o(91));break;default:g!==b&&Dt(n,a,T,g,u,b)}Wu(n,Q,oe);return;case"option":for(var Ee in l)if(Q=l[Ee],l.hasOwnProperty(Ee)&&Q!=null&&!u.hasOwnProperty(Ee))switch(Ee){case"selected":n.selected=!1;break;default:Dt(n,a,Ee,null,u,Q)}for(P in u)if(Q=u[P],oe=l[P],u.hasOwnProperty(P)&&Q!==oe&&(Q!=null||oe!=null))switch(P){case"selected":n.selected=Q&&typeof Q!="function"&&typeof Q!="symbol";break;default:Dt(n,a,P,Q,u,oe)}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 Fe in l)Q=l[Fe],l.hasOwnProperty(Fe)&&Q!=null&&!u.hasOwnProperty(Fe)&&Dt(n,a,Fe,null,u,Q);for(Y in u)if(Q=u[Y],oe=l[Y],u.hasOwnProperty(Y)&&Q!==oe&&(Q!=null||oe!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(o(137,a));break;default:Dt(n,a,Y,Q,u,oe)}return;default:if(xa(a)){for(var jt in l)Q=l[jt],l.hasOwnProperty(jt)&&Q!==void 0&&!u.hasOwnProperty(jt)&&Nh(n,a,jt,void 0,u,Q);for(le in u)Q=u[le],oe=l[le],!u.hasOwnProperty(le)||Q===oe||Q===void 0&&oe===void 0||Nh(n,a,le,Q,u,oe);return}}for(var V in l)Q=l[V],l.hasOwnProperty(V)&&Q!=null&&!u.hasOwnProperty(V)&&Dt(n,a,V,null,u,Q);for(he in u)Q=u[he],oe=l[he],!u.hasOwnProperty(he)||Q===oe||Q==null&&oe==null||Dt(n,a,he,Q,u,oe)}function Fy(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function HB(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,l=performance.getEntriesByType("resource"),u=0;u<l.length;u++){var g=l[u],b=g.transferSize,T=g.initiatorType,z=g.duration;if(b&&z&&Fy(T)){for(T=0,z=g.responseEnd,u+=1;u<l.length;u++){var P=l[u],Y=P.startTime;if(Y>z)break;var le=P.transferSize,he=P.initiatorType;le&&Fy(he)&&(P=P.responseEnd,T+=le*(P<z?1:(z-Y)/(P-Y)))}if(--u,a+=8*(b+T)/(g.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var zh=null,Rh=null;function Hc(n){return n.nodeType===9?n:n.ownerDocument}function Py(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Iy(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function Ah(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Dh=null;function UB(){var n=window.event;return n&&n.type==="popstate"?n===Dh?!1:(Dh=n,!0):(Dh=null,!1)}var Ly=typeof setTimeout=="function"?setTimeout:void 0,VB=typeof clearTimeout=="function"?clearTimeout:void 0,Hy=typeof Promise=="function"?Promise:void 0,WB=typeof queueMicrotask=="function"?queueMicrotask:typeof Hy<"u"?function(n){return Hy.resolve(null).then(n).catch(GB)}:Ly;function GB(n){setTimeout(function(){throw n})}function Pa(n){return n==="head"}function Uy(n,a){var l=a,u=0;do{var g=l.nextSibling;if(n.removeChild(l),g&&g.nodeType===8)if(l=g.data,l==="/$"||l==="/&"){if(u===0){n.removeChild(g),Sl(a);return}u--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")u++;else if(l==="html")Xs(n.ownerDocument.documentElement);else if(l==="head"){l=n.ownerDocument.head,Xs(l);for(var b=l.firstChild;b;){var T=b.nextSibling,z=b.nodeName;b[jn]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&b.rel.toLowerCase()==="stylesheet"||l.removeChild(b),b=T}}else l==="body"&&Xs(n.ownerDocument.body);l=g}while(l);Sl(a)}function Vy(n,a){var l=n;n=0;do{var u=l.nextSibling;if(l.nodeType===1?a?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(a?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),u&&u.nodeType===8)if(l=u.data,l==="/$"){if(n===0)break;n--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||n++;l=u}while(l)}function jh(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var l=a;switch(a=a.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":jh(l),li(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}n.removeChild(l)}}function $B(n,a,l,u){for(;n.nodeType===1;){var g=l;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!u&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(u){if(!n[jn])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(b=n.getAttribute("rel"),b==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(b!==g.rel||n.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||n.getAttribute("title")!==(g.title==null?null:g.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(b=n.getAttribute("src"),(b!==(g.src==null?null:g.src)||n.getAttribute("type")!==(g.type==null?null:g.type)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&b&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var b=g.name==null?null:""+g.name;if(g.type==="hidden"&&n.getAttribute("name")===b)return n}else return n;if(n=Hn(n.nextSibling),n===null)break}return null}function XB(n,a,l){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Hn(n.nextSibling),n===null))return null;return n}function Wy(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=Hn(n.nextSibling),n===null))return null;return n}function Oh(n){return n.data==="$?"||n.data==="$~"}function Mh(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function KB(n,a){var l=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||l.readyState!=="loading")a();else{var u=function(){a(),l.removeEventListener("DOMContentLoaded",u)};l.addEventListener("DOMContentLoaded",u),n._reactRetry=u}}function Hn(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return n}var qh=null;function Gy(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"||l==="/&"){if(a===0)return Hn(n.nextSibling);a--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||a++}n=n.nextSibling}return null}function $y(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(a===0)return n;a--}else l!=="/$"&&l!=="/&"||a++}n=n.previousSibling}return null}function Xy(n,a,l){switch(a=Hc(l),n){case"html":if(n=a.documentElement,!n)throw Error(o(452));return n;case"head":if(n=a.head,!n)throw Error(o(453));return n;case"body":if(n=a.body,!n)throw Error(o(454));return n;default:throw Error(o(451))}}function Xs(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);li(n)}var Un=new Map,Ky=new Set;function Uc(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var oa=W.d;W.d={f:YB,r:ZB,D:QB,C:JB,L:e_,m:t_,X:n_,S:r_,M:o_};function YB(){var n=oa.f(),a=jc();return n||a}function ZB(n){var a=Io(n);a!==null&&a.tag===5&&a.type==="form"?fv(a):oa.r(n)}var yl=typeof document>"u"?null:document;function Yy(n,a,l){var u=yl;if(u&&typeof a=="string"&&a){var g=rn(a);g='link[rel="'+n+'"][href="'+g+'"]',typeof l=="string"&&(g+='[crossorigin="'+l+'"]'),Ky.has(g)||(Ky.add(g),n={rel:n,crossOrigin:l,href:a},u.querySelector(g)===null&&(a=u.createElement("link"),Lr(a,"link",n),pr(a),u.head.appendChild(a)))}}function QB(n){oa.D(n),Yy("dns-prefetch",n,null)}function JB(n,a){oa.C(n,a),Yy("preconnect",n,a)}function e_(n,a,l){oa.L(n,a,l);var u=yl;if(u&&n&&a){var g='link[rel="preload"][as="'+rn(a)+'"]';a==="image"&&l&&l.imageSrcSet?(g+='[imagesrcset="'+rn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(g+='[imagesizes="'+rn(l.imageSizes)+'"]')):g+='[href="'+rn(n)+'"]';var b=g;switch(a){case"style":b=xl(n);break;case"script":b=wl(n)}Un.has(b)||(n=p({rel:"preload",href:a==="image"&&l&&l.imageSrcSet?void 0:n,as:a},l),Un.set(b,n),u.querySelector(g)!==null||a==="style"&&u.querySelector(Ks(b))||a==="script"&&u.querySelector(Ys(b))||(a=u.createElement("link"),Lr(a,"link",n),pr(a),u.head.appendChild(a)))}}function t_(n,a){oa.m(n,a);var l=yl;if(l&&n){var u=a&&typeof a.as=="string"?a.as:"script",g='link[rel="modulepreload"][as="'+rn(u)+'"][href="'+rn(n)+'"]',b=g;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=wl(n)}if(!Un.has(b)&&(n=p({rel:"modulepreload",href:n},a),Un.set(b,n),l.querySelector(g)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ys(b)))return}u=l.createElement("link"),Lr(u,"link",n),pr(u),l.head.appendChild(u)}}}function r_(n,a,l){oa.S(n,a,l);var u=yl;if(u&&n){var g=ya(u).hoistableStyles,b=xl(n);a=a||"default";var T=g.get(b);if(!T){var z={loading:0,preload:null};if(T=u.querySelector(Ks(b)))z.loading=5;else{n=p({rel:"stylesheet",href:n,"data-precedence":a},l),(l=Un.get(b))&&Fh(n,l);var P=T=u.createElement("link");pr(P),Lr(P,"link",n),P._p=new Promise(function(Y,le){P.onload=Y,P.onerror=le}),P.addEventListener("load",function(){z.loading|=1}),P.addEventListener("error",function(){z.loading|=2}),z.loading|=4,Vc(T,a,u)}T={type:"stylesheet",instance:T,count:1,state:z},g.set(b,T)}}}function n_(n,a){oa.X(n,a);var l=yl;if(l&&n){var u=ya(l).hoistableScripts,g=wl(n),b=u.get(g);b||(b=l.querySelector(Ys(g)),b||(n=p({src:n,async:!0},a),(a=Un.get(g))&&Ph(n,a),b=l.createElement("script"),pr(b),Lr(b,"link",n),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},u.set(g,b))}}function o_(n,a){oa.M(n,a);var l=yl;if(l&&n){var u=ya(l).hoistableScripts,g=wl(n),b=u.get(g);b||(b=l.querySelector(Ys(g)),b||(n=p({src:n,async:!0,type:"module"},a),(a=Un.get(g))&&Ph(n,a),b=l.createElement("script"),pr(b),Lr(b,"link",n),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},u.set(g,b))}}function Zy(n,a,l,u){var g=(g=Ae.current)?Uc(g):null;if(!g)throw Error(o(446));switch(n){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(a=xl(l.href),l=ya(g).hoistableStyles,u=l.get(a),u||(u={type:"style",instance:null,count:0,state:null},l.set(a,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){n=xl(l.href);var b=ya(g).hoistableStyles,T=b.get(n);if(T||(g=g.ownerDocument||g,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(n,T),(b=g.querySelector(Ks(n)))&&!b._p&&(T.instance=b,T.state.loading=5),Un.has(n)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Un.set(n,l),b||a_(g,n,l,T.state))),a&&u===null)throw Error(o(528,""));return T}if(a&&u!==null)throw Error(o(529,""));return null;case"script":return a=l.async,l=l.src,typeof l=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=wl(l),l=ya(g).hoistableScripts,u=l.get(a),u||(u={type:"script",instance:null,count:0,state:null},l.set(a,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,n))}}function xl(n){return'href="'+rn(n)+'"'}function Ks(n){return'link[rel="stylesheet"]['+n+"]"}function Qy(n){return p({},n,{"data-precedence":n.precedence,precedence:null})}function a_(n,a,l,u){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?u.loading=1:(a=n.createElement("link"),u.preload=a,a.addEventListener("load",function(){return u.loading|=1}),a.addEventListener("error",function(){return u.loading|=2}),Lr(a,"link",l),pr(a),n.head.appendChild(a))}function wl(n){return'[src="'+rn(n)+'"]'}function Ys(n){return"script[async]"+n}function Jy(n,a,l){if(a.count++,a.instance===null)switch(a.type){case"style":var u=n.querySelector('style[data-href~="'+rn(l.href)+'"]');if(u)return a.instance=u,pr(u),u;var g=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),pr(u),Lr(u,"style",g),Vc(u,l.precedence,n),a.instance=u;case"stylesheet":g=xl(l.href);var b=n.querySelector(Ks(g));if(b)return a.state.loading|=4,a.instance=b,pr(b),b;u=Qy(l),(g=Un.get(g))&&Fh(u,g),b=(n.ownerDocument||n).createElement("link"),pr(b);var T=b;return T._p=new Promise(function(z,P){T.onload=z,T.onerror=P}),Lr(b,"link",u),a.state.loading|=4,Vc(b,l.precedence,n),a.instance=b;case"script":return b=wl(l.src),(g=n.querySelector(Ys(b)))?(a.instance=g,pr(g),g):(u=l,(g=Un.get(b))&&(u=p({},l),Ph(u,g)),n=n.ownerDocument||n,g=n.createElement("script"),pr(g),Lr(g,"link",u),n.head.appendChild(g),a.instance=g);case"void":return null;default:throw Error(o(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(u=a.instance,a.state.loading|=4,Vc(u,l.precedence,n));return a.instance}function Vc(n,a,l){for(var u=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=u.length?u[u.length-1]:null,b=g,T=0;T<u.length;T++){var z=u[T];if(z.dataset.precedence===a)b=z;else if(b!==g)break}b?b.parentNode.insertBefore(n,b.nextSibling):(a=l.nodeType===9?l.head:l,a.insertBefore(n,a.firstChild))}function Fh(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Ph(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var Wc=null;function e2(n,a,l){if(Wc===null){var u=new Map,g=Wc=new Map;g.set(l,u)}else g=Wc,u=g.get(l),u||(u=new Map,g.set(l,u));if(u.has(n))return u;for(u.set(n,null),l=l.getElementsByTagName(n),g=0;g<l.length;g++){var b=l[g];if(!(b[jn]||b[Ut]||n==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var T=b.getAttribute(a)||"";T=n+T;var z=u.get(T);z?z.push(b):u.set(T,[b])}}return u}function t2(n,a,l){n=n.ownerDocument||n,n.head.insertBefore(l,a==="title"?n.querySelector("head > title"):null)}function i_(n,a,l){if(l===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function r2(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function l_(n,a,l,u){if(l.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var g=xl(u.href),b=a.querySelector(Ks(g));if(b){a=b._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=Gc.bind(n),a.then(n,n)),l.state.loading|=4,l.instance=b,pr(b);return}b=a.ownerDocument||a,u=Qy(u),(g=Un.get(g))&&Fh(u,g),b=b.createElement("link"),pr(b);var T=b;T._p=new Promise(function(z,P){T.onload=z,T.onerror=P}),Lr(b,"link",u),l.instance=b}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(l,a),(a=l.state.preload)&&(l.state.loading&3)===0&&(n.count++,l=Gc.bind(n),a.addEventListener("load",l),a.addEventListener("error",l))}}var Ih=0;function s_(n,a){return n.stylesheets&&n.count===0&&Xc(n,n.stylesheets),0<n.count||0<n.imgCount?function(l){var u=setTimeout(function(){if(n.stylesheets&&Xc(n,n.stylesheets),n.unsuspend){var b=n.unsuspend;n.unsuspend=null,b()}},6e4+a);0<n.imgBytes&&Ih===0&&(Ih=62500*HB());var g=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Xc(n,n.stylesheets),n.unsuspend)){var b=n.unsuspend;n.unsuspend=null,b()}},(n.imgBytes>Ih?50:800)+a);return n.unsuspend=l,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(g)}}:null}function Gc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var $c=null;function Xc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,$c=new Map,a.forEach(u_,n),$c=null,Gc.call(n))}function u_(n,a){if(!(a.state.loading&4)){var l=$c.get(n);if(l)var u=l.get(null);else{l=new Map,$c.set(n,l);for(var g=n.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<g.length;b++){var T=g[b];(T.nodeName==="LINK"||T.getAttribute("media")!=="not all")&&(l.set(T.dataset.precedence,T),u=T)}u&&l.set(null,u)}g=a.instance,T=g.getAttribute("data-precedence"),b=l.get(T)||u,b===u&&l.set(null,g),l.set(T,g),this.count++,u=Gc.bind(this),g.addEventListener("load",u),g.addEventListener("error",u),b?b.parentNode.insertBefore(g,b.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(g,n.firstChild)),a.state.loading|=4}}var Zs={$$typeof:C,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function c_(n,a,l,u,g,b,T,z,P){this.tag=1,this.containerInfo=n,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=tt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tt(0),this.hiddenUpdates=tt(null),this.identifierPrefix=u,this.onUncaughtError=g,this.onCaughtError=b,this.onRecoverableError=T,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function n2(n,a,l,u,g,b,T,z,P,Y,le,he){return n=new c_(n,a,l,T,P,Y,le,he,z),a=1,b===!0&&(a|=24),b=xn(3,null,null,a),n.current=b,b.stateNode=n,a=y0(),a.refCount++,n.pooledCache=a,a.refCount++,b.memoizedState={element:u,isDehydrated:l,cache:a},k0(b),n}function o2(n){return n?(n=Qi,n):Qi}function a2(n,a,l,u,g,b){g=o2(g),u.context===null?u.context=g:u.pendingContext=g,u=Ea(a),u.payload={element:l},b=b===void 0?null:b,b!==null&&(u.callback=b),l=Na(n,u,a),l!==null&&(un(l,n,a),Ns(l,n,a))}function i2(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<a?l:a}}function Lh(n,a){i2(n,a),(n=n.alternate)&&i2(n,a)}function l2(n){if(n.tag===13||n.tag===31){var a=hi(n,67108864);a!==null&&un(a,n,67108864),Lh(n,67108864)}}function s2(n){if(n.tag===13||n.tag===31){var a=_n();a=kt(a);var l=hi(n,a);l!==null&&un(l,n,a),Lh(n,a)}}var Kc=!0;function d_(n,a,l,u){var g=O.T;O.T=null;var b=W.p;try{W.p=2,Hh(n,a,l,u)}finally{W.p=b,O.T=g}}function f_(n,a,l,u){var g=O.T;O.T=null;var b=W.p;try{W.p=8,Hh(n,a,l,u)}finally{W.p=b,O.T=g}}function Hh(n,a,l,u){if(Kc){var g=Uh(u);if(g===null)Eh(n,a,u,Yc,l),c2(n,u);else if(m_(g,n,a,l,u))u.stopPropagation();else if(c2(n,u),a&4&&-1<h_.indexOf(n)){for(;g!==null;){var b=Io(g);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var T=rr(b.pendingLanes);if(T!==0){var z=b;for(z.pendingLanes|=2,z.entangledLanes|=2;T;){var P=1<<31-$(T);z.entanglements[1]|=P,T&=~P}ko(b),(bt&6)===0&&(Ac=Rt()+500,Ws(0))}}break;case 31:case 13:z=hi(b,2),z!==null&&un(z,b,2),jc(),Lh(b,2)}if(b=Uh(u),b===null&&Eh(n,a,u,Yc,l),b===g)break;g=b}g!==null&&u.stopPropagation()}else Eh(n,a,u,null,l)}}function Uh(n){return n=$e(n),Vh(n)}var Yc=null;function Vh(n){if(Yc=null,n=zr(n),n!==null){var a=s(n);if(a===null)n=null;else{var l=a.tag;if(l===13){if(n=c(a),n!==null)return n;n=null}else if(l===31){if(n=d(a),n!==null)return n;n=null}else if(l===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return Yc=n,null}function u2(n){switch(n){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(Li()){case to:return 2;case bo:return 8;case Mo:case qo:return 32;case pa:return 268435456;default:return 32}default:return 32}}var Wh=!1,Ia=null,La=null,Ha=null,Qs=new Map,Js=new Map,Ua=[],h_="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 c2(n,a){switch(n){case"focusin":case"focusout":Ia=null;break;case"dragenter":case"dragleave":La=null;break;case"mouseover":case"mouseout":Ha=null;break;case"pointerover":case"pointerout":Qs.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Js.delete(a.pointerId)}}function eu(n,a,l,u,g,b){return n===null||n.nativeEvent!==b?(n={blockedOn:a,domEventName:l,eventSystemFlags:u,nativeEvent:b,targetContainers:[g]},a!==null&&(a=Io(a),a!==null&&l2(a)),n):(n.eventSystemFlags|=u,a=n.targetContainers,g!==null&&a.indexOf(g)===-1&&a.push(g),n)}function m_(n,a,l,u,g){switch(a){case"focusin":return Ia=eu(Ia,n,a,l,u,g),!0;case"dragenter":return La=eu(La,n,a,l,u,g),!0;case"mouseover":return Ha=eu(Ha,n,a,l,u,g),!0;case"pointerover":var b=g.pointerId;return Qs.set(b,eu(Qs.get(b)||null,n,a,l,u,g)),!0;case"gotpointercapture":return b=g.pointerId,Js.set(b,eu(Js.get(b)||null,n,a,l,u,g)),!0}return!1}function d2(n){var a=zr(n.target);if(a!==null){var l=s(a);if(l!==null){if(a=l.tag,a===13){if(a=c(l),a!==null){n.blockedOn=a,Po(n.priority,function(){s2(l)});return}}else if(a===31){if(a=d(l),a!==null){n.blockedOn=a,Po(n.priority,function(){s2(l)});return}}else if(a===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Zc(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var l=Uh(n.nativeEvent);if(l===null){l=n.nativeEvent;var u=new l.constructor(l.type,l);ze=u,l.target.dispatchEvent(u),ze=null}else return a=Io(l),a!==null&&l2(a),n.blockedOn=l,!1;a.shift()}return!0}function f2(n,a,l){Zc(n)&&l.delete(a)}function g_(){Wh=!1,Ia!==null&&Zc(Ia)&&(Ia=null),La!==null&&Zc(La)&&(La=null),Ha!==null&&Zc(Ha)&&(Ha=null),Qs.forEach(f2),Js.forEach(f2)}function Qc(n,a){n.blockedOn===a&&(n.blockedOn=null,Wh||(Wh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,g_)))}var Jc=null;function h2(n){Jc!==n&&(Jc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Jc===n&&(Jc=null);for(var a=0;a<n.length;a+=3){var l=n[a],u=n[a+1],g=n[a+2];if(typeof u!="function"){if(Vh(u||l)===null)continue;break}var b=Io(l);b!==null&&(n.splice(a,3),a-=3,U0(b,{pending:!0,data:g,method:l.method,action:u},u,g))}}))}function Sl(n){function a(P){return Qc(P,n)}Ia!==null&&Qc(Ia,n),La!==null&&Qc(La,n),Ha!==null&&Qc(Ha,n),Qs.forEach(a),Js.forEach(a);for(var l=0;l<Ua.length;l++){var u=Ua[l];u.blockedOn===n&&(u.blockedOn=null)}for(;0<Ua.length&&(l=Ua[0],l.blockedOn===null);)d2(l),l.blockedOn===null&&Ua.shift();if(l=(n.ownerDocument||n).$$reactFormReplay,l!=null)for(u=0;u<l.length;u+=3){var g=l[u],b=l[u+1],T=g[Tr]||null;if(typeof b=="function")T||h2(l);else if(T){var z=null;if(b&&b.hasAttribute("formAction")){if(g=b,T=b[Tr]||null)z=T.formAction;else if(Vh(g)!==null)continue}else z=T.action;typeof z=="function"?l[u+1]=z:(l.splice(u,3),u-=3),h2(l)}}}function m2(){function n(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(T){return g=T})},focusReset:"manual",scroll:"manual"})}function a(){g!==null&&(g(),g=null),u||setTimeout(l,20)}function l(){if(!u&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,g=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(l,100),function(){u=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),g!==null&&(g(),g=null)}}}function Gh(n){this._internalRoot=n}ed.prototype.render=Gh.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(o(409));var l=a.current,u=_n();a2(l,u,n,a,null,null)},ed.prototype.unmount=Gh.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;a2(n.current,2,null,n,null,null),jc(),a[Dn]=null}};function ed(n){this._internalRoot=n}ed.prototype.unstable_scheduleHydration=function(n){if(n){var a=vo();n={blockedOn:null,target:n,priority:a};for(var l=0;l<Ua.length&&a!==0&&a<Ua[l].priority;l++);Ua.splice(l,0,n),l===0&&d2(n)}};var g2=t.version;if(g2!=="19.2.1")throw Error(o(527,g2,"19.2.1"));W.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=h(a),n=n!==null?m(n):null,n=n===null?null:n.stateNode,n};var p_={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var td=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!td.isDisabled&&td.supportsFiber)try{Fo=td.inject(p_),gr=td}catch{}}return ru.createRoot=function(n,a){if(!i(n))throw Error(o(299));var l=!1,u="",g=Sv,b=kv,T=Bv;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(g=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(T=a.onRecoverableError)),a=n2(n,1,!1,null,null,l,u,null,g,b,T,m2),n[Dn]=a.current,Ch(n),new Gh(a)},ru.hydrateRoot=function(n,a,l){if(!i(n))throw Error(o(299));var u=!1,g="",b=Sv,T=kv,z=Bv,P=null;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(g=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(T=l.onCaughtError),l.onRecoverableError!==void 0&&(z=l.onRecoverableError),l.formState!==void 0&&(P=l.formState)),a=n2(n,1,!0,a,l??null,u,g,P,b,T,z,m2),a.context=o2(null),l=a.current,u=_n(),u=kt(u),g=Ea(u),g.callback=null,Na(l,g,u),l=u,a.current.lanes=l,yt(a,l),ko(a),n[Dn]=a.current,Ch(n),new ed(a)},ru.version="19.2.1",ru}var T2;function z_(){if(T2)return Kh.exports;T2=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(t){console.error(t)}}return e(),Kh.exports=N_(),Kh.exports}var R_=z_();const Jh=typeof window>"u"?global:window,em="@griffel/";function A_(e,t){return Jh[Symbol.for(em+e)]||(Jh[Symbol.for(em+e)]=t),Jh[Symbol.for(em+e)]}const jg=A_("DEFINITION_LOOKUP_TABLE",{}),pu="data-make-styles-bucket",D_="data-priority",Og="f",Mg=7,Cp="___",j_=Cp.length+Mg,O_=0,M_=1,q_={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},qg="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function yu(e){for(var t=0,r,o=0,i=e.length;i>=4;++o,i-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function F_(e){const t=e.length;if(t===Mg)return e;for(let r=t;r<Mg;r++)e+="0";return e}function sS(e,t,r=[]){return Cp+F_(yu(e+t))}function uS(e,t){let r="",o="";for(const i in e){const s=e[i];if(s===0){o+=i+" ";continue}const c=Array.isArray(s),d=t==="rtl"?(c?s[1]:s)+" ":(c?s[0]:s)+" ";r+=d,o+=d}return[r.slice(0,-1),o.slice(0,-1)]}function Od(e,t){const r={};for(const o in e){const[i,s]=uS(e[o],t);if(s===""){r[o]="";continue}const c=sS(s,t),d=c+(i===""?"":" "+i);jg[c]=[e[o],t],r[o]=d}return r}const C2={};function J(){let e=null,t="",r="";const o=new Array(arguments.length);for(let p=0;p<arguments.length;p++){const w=arguments[p];if(typeof w=="string"&&w!==""){const v=w.indexOf(Cp);if(v===-1)t+=w+" ";else{const x=w.substr(v,j_);v>0&&(t+=w.slice(0,v)),r+=x,o[p]=x}}}if(r==="")return t.slice(0,-1);const i=C2[r];if(i!==void 0)return t+i;const s=[];for(let p=0;p<arguments.length;p++){const w=o[p];if(w){const v=jg[w];v&&(s.push(v[O_]),e=v[M_])}}const c=Object.assign.apply(Object,[{}].concat(s)),[d,f]=uS(c,e),h=sS(f,e,o),m=h+" "+d;return C2[r]=m,jg[h]=[c,e],t+m}function P_(e){return Array.isArray(e)?e:[e]}function I_(e,t,r,o){const i=[];if(o[pu]=t,o[D_]=String(r),e)for(const c in o)e.setAttribute(c,o[c]);function s(c){return e!=null&&e.sheet?e.sheet.insertRule(c,e.sheet.cssRules.length):i.push(c)}return{elementAttributes:o,insertRule:s,element:e,bucketName:t,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(c=>c.cssText):i}}}const L_=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],E2=L_.reduce((e,t,r)=>(e[t]=r,e),{});function H_(e,t,r){return(e==="m"?e+t:e)+r}function U_(e,t,r,o,i={}){var s,c;const d=e==="m",f=(s=i.m)!==null&&s!==void 0?s:"0",h=(c=i.p)!==null&&c!==void 0?c:0,m=H_(e,f,h);if(!o.stylesheets[m]){const p=t&&t.createElement("style"),w=I_(p,e,h,Object.assign({},o.styleElementAttributes,d&&{media:f}));o.stylesheets[m]=w,t!=null&&t.head&&p&&t.head.insertBefore(p,W_(t,r,e,o,i))}return o.stylesheets[m]}function V_(e,t,r){var o,i;const s=t+((o=r.m)!==null&&o!==void 0?o:""),c=e.getAttribute(pu)+((i=e.media)!==null&&i!==void 0?i:"");return s===c}function W_(e,t,r,o,i={}){var s,c;const d=E2[r],f=(s=i.m)!==null&&s!==void 0?s:"",h=(c=i.p)!==null&&c!==void 0?c:0;let m=y=>d-E2[y.getAttribute(pu)],p=e.head.querySelectorAll(`[${pu}]`);if(r==="m"){const y=e.head.querySelectorAll(`[${pu}="${r}"]`);y.length&&(p=y,m=k=>o.compareMediaQueries(f,k.media))}const w=y=>V_(y,r,i)?h-Number(y.getAttribute("data-priority")):m(y),v=p.length;let x=v-1;for(;x>=0;){const y=p.item(x);if(w(y)>0)return y.nextSibling;x--}return v>0?p.item(0):t?t.nextSibling:null}function N2(e,t){try{e.insertRule(t)}catch{}}let G_=0;const $_=(e,t)=>e<t?-1:e>t?1:0;function X_(e=typeof document>"u"?void 0:document,t={}){const{classNameHashSalt:r,unstable_filterCSSRule:o,insertionPoint:i,styleElementAttributes:s,compareMediaQueries:c=$_}=t,d={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(s),compareMediaQueries:c,id:`d${G_++}`,insertCSSRules(f){for(const h in f){const m=f[h];for(let p=0,w=m.length;p<w;p++){const[v,x]=P_(m[p]),y=U_(h,e,i||null,d,x);d.insertionCache[v]||(d.insertionCache[v]=h,o?o(v)&&N2(y,v):N2(y,v))}}}};return d}const Zd=()=>{const e={};return function(r,o){e[r.id]===void 0&&(r.insertCSSRules(o),e[r.id]=!0)}};function cS(e){return e.reduce(function(t,r){var o=r[0],i=r[1];return t[o]=i,t[i]=o,t},{})}function K_(e){return typeof e=="boolean"}function Y_(e){return typeof e=="function"}function mu(e){return typeof e=="number"}function Z_(e){return e===null||typeof e>"u"}function Q_(e){return e&&typeof e=="object"}function J_(e){return typeof e=="string"}function wd(e,t){return e.indexOf(t)!==-1}function eT(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function rd(e,t,r,o){return t+eT(r)+o}function tT(e){var t=e.indexOf(".");if(t===-1)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=100-parseFloat(e),e=e.toFixed(r)+"%"}return e}function dS(e){return e.replace(/ +/g," ").split(" ").map(function(t){return t.trim()}).filter(Boolean).reduce(function(t,r){var o=t.list,i=t.state,s=(r.match(/\(/g)||[]).length,c=(r.match(/\)/g)||[]).length;return i.parensDepth>0?o[o.length-1]=o[o.length-1]+" "+r:o.push(r),i.parensDepth+=s-c,{list:o,state:i}},{list:[],state:{parensDepth:0}}).list}function z2(e){var t=dS(e);if(t.length<=3||t.length>4)return e;var r=t[0],o=t[1],i=t[2],s=t[3];return[r,s,i,o].join(" ")}function rT(e){return!K_(e)&&!Z_(e)}function nT(e){for(var t=[],r=0,o=0,i=!1;o<e.length;)!i&&e[o]===","?(t.push(e.substring(r,o).trim()),o++,r=o):e[o]==="("?(i=!0,o++):(e[o]===")"&&(i=!1),o++);return r!=o&&t.push(e.substring(r,o+1)),t}var be={padding:function(t){var r=t.value;return mu(r)?r:z2(r)},textShadow:function(t){var r=t.value,o=nT(r).map(function(i){return i.replace(/(^|\s)(-*)([.|\d]+)/,function(s,c,d,f){if(f==="0")return s;var h=d===""?"-":"";return""+c+h+f})});return o.join(",")},borderColor:function(t){var r=t.value;return z2(r)},borderRadius:function(t){var r=t.value;if(mu(r))return r;if(wd(r,"/")){var o=r.split("/"),i=o[0],s=o[1],c=be.borderRadius({value:i.trim()}),d=be.borderRadius({value:s.trim()});return c+" / "+d}var f=dS(r);switch(f.length){case 2:return f.reverse().join(" ");case 4:{var h=f[0],m=f[1],p=f[2],w=f[3];return[m,h,w,p].join(" ")}default:return r}},background:function(t){var r=t.value,o=t.valuesToConvert,i=t.isRtl,s=t.bgImgDirectionRegex,c=t.bgPosDirectionRegex;if(mu(r))return r;var d=r.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return r=r.replace(d,be.backgroundPosition({value:d,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:c})),be.backgroundImage({value:r,valuesToConvert:o,bgImgDirectionRegex:s})},backgroundImage:function(t){var r=t.value,o=t.valuesToConvert,i=t.bgImgDirectionRegex;return!wd(r,"url(")&&!wd(r,"linear-gradient(")?r:r.replace(i,function(s,c,d){return s.replace(d,o[d])})},backgroundPosition:function(t){var r=t.value,o=t.valuesToConvert,i=t.isRtl,s=t.bgPosDirectionRegex;return r.replace(i?/^((-|\d|\.)+%)/:null,function(c,d){return tT(d)}).replace(s,function(c){return o[c]})},backgroundPositionX:function(t){var r=t.value,o=t.valuesToConvert,i=t.isRtl,s=t.bgPosDirectionRegex;return mu(r)?r:be.backgroundPosition({value:r,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:s})},transition:function(t){var r=t.value,o=t.propertiesToConvert;return r.split(/,\s*/g).map(function(i){var s=i.split(" ");return s[0]=o[s[0]]||s[0],s.join(" ")}).join(", ")},transitionProperty:function(t){var r=t.value,o=t.propertiesToConvert;return r.split(/,\s*/g).map(function(i){return o[i]||i}).join(", ")},transform:function(t){var r=t.value,o="[^\\u0020-\\u007e]",i="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",s="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+i+")")+("(?:[_a-z0-9-]|"+o+"|"+i+")")+"*")+")?")+")|(?:inherit|auto))",c=new RegExp("(translateX\\s*\\(\\s*)"+s+"(\\s*\\))","gi"),d=new RegExp("(translate\\s*\\(\\s*)"+s+"((?:\\s*,\\s*"+s+"){0,1}\\s*\\))","gi"),f=new RegExp("(translate3d\\s*\\(\\s*)"+s+"((?:\\s*,\\s*"+s+"){0,2}\\s*\\))","gi"),h=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+s+"(\\s*\\))","gi");return r.replace(c,rd).replace(d,rd).replace(f,rd).replace(h,rd)}};be.objectPosition=be.backgroundPosition;be.margin=be.padding;be.borderWidth=be.padding;be.boxShadow=be.textShadow;be.webkitBoxShadow=be.boxShadow;be.mozBoxShadow=be.boxShadow;be.WebkitBoxShadow=be.boxShadow;be.MozBoxShadow=be.boxShadow;be.borderStyle=be.borderColor;be.webkitTransform=be.transform;be.mozTransform=be.transform;be.WebkitTransform=be.transform;be.MozTransform=be.transform;be.transformOrigin=be.backgroundPosition;be.webkitTransformOrigin=be.transformOrigin;be.mozTransformOrigin=be.transformOrigin;be.WebkitTransformOrigin=be.transformOrigin;be.MozTransformOrigin=be.transformOrigin;be.webkitTransition=be.transition;be.mozTransition=be.transition;be.WebkitTransition=be.transition;be.MozTransition=be.transition;be.webkitTransitionProperty=be.transitionProperty;be.mozTransitionProperty=be.transitionProperty;be.WebkitTransitionProperty=be.transitionProperty;be.MozTransitionProperty=be.transitionProperty;be["text-shadow"]=be.textShadow;be["border-color"]=be.borderColor;be["border-radius"]=be.borderRadius;be["background-image"]=be.backgroundImage;be["background-position"]=be.backgroundPosition;be["background-position-x"]=be.backgroundPositionX;be["object-position"]=be.objectPosition;be["border-width"]=be.padding;be["box-shadow"]=be.textShadow;be["-webkit-box-shadow"]=be.textShadow;be["-moz-box-shadow"]=be.textShadow;be["border-style"]=be.borderColor;be["-webkit-transform"]=be.transform;be["-moz-transform"]=be.transform;be["transform-origin"]=be.transformOrigin;be["-webkit-transform-origin"]=be.transformOrigin;be["-moz-transform-origin"]=be.transformOrigin;be["-webkit-transition"]=be.transition;be["-moz-transition"]=be.transition;be["transition-property"]=be.transitionProperty;be["-webkit-transition-property"]=be.transitionProperty;be["-moz-transition-property"]=be.transitionProperty;var fS=cS([["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"]]),oT=["content"],R2=cS([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),aT=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),iT=new RegExp("(left)|(right)");function hS(e){return Object.keys(e).reduce(function(t,r){var o=e[r];if(J_(o)&&(o=o.trim()),wd(oT,r))return t[r]=o,t;var i=Fg(r,o),s=i.key,c=i.value;return t[s]=c,t},Array.isArray(e)?[]:{})}function Fg(e,t){var r=/\/\*\s?@noflip\s?\*\//.test(t),o=r?e:lT(e),i=r?t:sT(o,t);return{key:o,value:i}}function lT(e){return fS[e]||e}function sT(e,t){if(!rT(t))return t;if(Q_(t))return hS(t);var r=mu(t),o=Y_(t),i=r||o?t:t.replace(/ !important.*?$/,""),s=!r&&i.length!==t.length,c=be[e],d;return c?d=c({value:i,valuesToConvert:R2,propertiesToConvert:fS,isRtl:!0,bgImgDirectionRegex:aT,bgPosDirectionRegex:iT}):d=R2[i]||i,s?d+" !important":d}const uT=/[A-Z]/g,cT=/^ms-/,tm={};function dT(e){return"-"+e.toLowerCase()}function Nl(e){if(Object.prototype.hasOwnProperty.call(tm,e))return tm[e];if(e.substr(0,2)==="--")return e;const t=e.replace(uT,dT);return tm[e]=cT.test(t)?"-"+t:t}function mS(e){return e.charAt(0)==="&"?e.slice(1):e}var bu="-moz-",io="-webkit-",gS="comm",Qd="rule",Ep="decl",fT="@media",hT="@import",mT="@supports",gT="@namespace",pT="@keyframes",pS="@layer",bS=Math.abs,Jd=String.fromCharCode,bT=Object.assign;function vT(e,t){return Kr(e,0)^45?(((t<<2^Kr(e,0))<<2^Kr(e,1))<<2^Kr(e,2))<<2^Kr(e,3):0}function vS(e){return e.trim()}function yS(e,t){return(e=t.exec(e))?e[0]:e}function cn(e,t,r){return e.replace(t,r)}function xS(e,t,r){return e.indexOf(t,r)}function Kr(e,t){return e.charCodeAt(t)|0}function Al(e,t,r){return e.slice(t,r)}function lo(e){return e.length}function wS(e){return e.length}function Ei(e,t){return t.push(e),e}function yT(e,t){return e.map(t).join("")}var ef=1,Dl=1,SS=0,En=0,Jt=0,Gl="";function tf(e,t,r,o,i,s,c,d){return{value:e,root:t,parent:r,type:o,props:i,children:s,line:ef,column:Dl,length:c,return:"",siblings:d}}function rm(e,t){return bT(tf("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function xT(){return Jt}function wT(){return Jt=En>0?Kr(Gl,--En):0,Dl--,Jt===10&&(Dl=1,ef--),Jt}function Xn(){return Jt=En<SS?Kr(Gl,En++):0,Dl++,Jt===10&&(Dl=1,ef++),Jt}function Ka(){return Kr(Gl,En)}function Sd(){return En}function rf(e,t){return Al(Gl,e,t)}function jl(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 kS(e){return ef=Dl=1,SS=lo(Gl=e),En=0,[]}function BS(e){return Gl="",e}function kd(e){return vS(rf(En-1,Pg(e===91?e+2:e===40?e+1:e)))}function ST(e){return BS(BT(kS(e)))}function kT(e){for(;(Jt=Ka())&&Jt<33;)Xn();return jl(e)>2||jl(Jt)>3?"":" "}function BT(e){for(;Xn();)switch(jl(Jt)){case 0:Ei(_S(En-1),e);break;case 2:Ei(kd(Jt),e);break;default:Ei(Jd(Jt),e)}return e}function _T(e,t){for(;--t&&Xn()&&!(Jt<48||Jt>102||Jt>57&&Jt<65||Jt>70&&Jt<97););return rf(e,Sd()+(t<6&&Ka()==32&&Xn()==32))}function Pg(e){for(;Xn();)switch(Jt){case e:return En;case 34:case 39:e!==34&&e!==39&&Pg(Jt);break;case 40:e===41&&Pg(e);break;case 92:Xn();break}return En}function TT(e,t){for(;Xn()&&e+Jt!==57;)if(e+Jt===84&&Ka()===47)break;return"/*"+rf(t,En-1)+"*"+Jd(e===47?e:Xn())}function _S(e){for(;!jl(Ka());)Xn();return rf(e,En)}function TS(e){return BS(Bd("",null,null,null,[""],e=kS(e),0,[0],e))}function Bd(e,t,r,o,i,s,c,d,f){for(var h=0,m=0,p=c,w=0,v=0,x=0,y=1,k=1,B=1,_=0,C="",N=i,R=s,j=o,D=C;k;)switch(x=_,_=Xn()){case 40:if(x!=108&&Kr(D,p-1)==58){xS(D+=cn(kd(_),"&","&\f"),"&\f",bS(h?d[h-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:D+=kd(_);break;case 9:case 10:case 13:case 32:D+=kT(x);break;case 92:D+=_T(Sd()-1,7);continue;case 47:switch(Ka()){case 42:case 47:Ei(CT(TT(Xn(),Sd()),t,r,f),f),(jl(x||1)==5||jl(Ka()||1)==5)&&lo(D)&&Al(D,-1,void 0)!==" "&&(D+=" ");break;default:D+="/"}break;case 123*y:d[h++]=lo(D)*B;case 125*y:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+m:B==-1&&(D=cn(D,/\f/g,"")),v>0&&(lo(D)-p||y===0&&x===47)&&Ei(v>32?D2(D+";",o,r,p-1,f):D2(cn(D," ","")+";",o,r,p-2,f),f);break;case 59:D+=";";default:if(Ei(j=A2(D,t,r,h,m,i,d,C,N=[],R=[],p,s),s),_===123)if(m===0)Bd(D,t,j,j,N,s,p,d,R);else{switch(w){case 99:if(Kr(D,3)===110)break;case 108:if(Kr(D,2)===97)break;default:m=0;case 100:case 109:case 115:}m?Bd(e,j,j,o&&Ei(A2(e,j,j,0,0,i,d,C,i,N=[],p,R),R),i,R,p,d,o?N:R):Bd(D,j,j,j,[""],R,0,d,R)}}h=m=v=0,y=B=1,C=D="",p=c;break;case 58:p=1+lo(D),v=x;default:if(y<1){if(_==123)--y;else if(_==125&&y++==0&&wT()==125)continue}switch(D+=Jd(_),_*y){case 38:B=m>0?1:(D+="\f",-1);break;case 44:d[h++]=(lo(D)-1)*B,B=1;break;case 64:Ka()===45&&(D+=kd(Xn())),w=Ka(),m=p=lo(C=D+=_S(Sd())),_++;break;case 45:x===45&&lo(D)==2&&(y=0)}}return s}function A2(e,t,r,o,i,s,c,d,f,h,m,p){for(var w=i-1,v=i===0?s:[""],x=wS(v),y=0,k=0,B=0;y<o;++y)for(var _=0,C=Al(e,w+1,w=bS(k=c[y])),N=e;_<x;++_)(N=vS(k>0?v[_]+" "+C:cn(C,/&\f/g,v[_])))&&(f[B++]=N);return tf(e,t,r,i===0?Qd:d,f,h,m,p)}function CT(e,t,r,o){return tf(e,t,r,gS,Jd(xT()),Al(e,2,-2),0,o)}function D2(e,t,r,o,i){return tf(e,t,r,Ep,Al(e,0,o),Al(e,o+1,-1),o,i)}function Ol(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function CS(e,t,r,o){switch(e.type){case pS:if(e.children.length)break;case hT:case gT:case Ep:return e.return=e.return||e.value;case gS:return"";case pT:return e.return=e.value+"{"+Ol(e.children,o)+"}";case Qd:if(!lo(e.value=e.props.join(",")))return""}return lo(r=Ol(e.children,o))?e.return=e.value+"{"+r+"}":""}function ES(e){var t=wS(e);return function(r,o,i,s){for(var c="",d=0;d<t;d++)c+=e[d](r,o,i,s)||"";return c}}function NS(e){return function(t){t.root||(t=t.return)&&e(t)}}const ET=e=>{switch(e.type){case Qd:if(typeof e.props=="string")return;e.props=e.props.map(t=>t.indexOf(":global(")===-1?t:ST(t).reduce((r,o,i,s)=>{if(o==="")return r;if(o===":"&&s[i+1]==="global"){const c=s[i+2].slice(1,-1)+" ";return r.unshift(c),s[i+1]="",s[i+2]="",r}return r.push(o),r},[]).join(""))}};function zS(e,t,r){switch(vT(e,t)){case 5103:return io+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return io+e+e;case 4215:if(Kr(e,9)===102||Kr(e,t+1)===116)return io+e+e;break;case 4789:return bu+e+e;case 5349:case 4246:case 6968:return io+e+bu+e+e;case 6187:if(!yS(e,/grab/))return cn(cn(cn(e,/(zoom-|grab)/,io+"$1"),/(image-set)/,io+"$1"),e,"")+e;case 5495:case 3959:return cn(e,/(image-set\([^]*)/,io+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return cn(e,/(.+)-inline(.+)/,io+"$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(lo(e)-1-t>6)switch(Kr(e,t+1)){case 102:if(Kr(e,t+3)===108)return cn(e,/(.+:)(.+)-([^]+)/,"$1"+io+"$2-$3$1"+bu+(Kr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~xS(e,"stretch")?zS(cn(e,"stretch","fill-available"),t)+e:e}break}return e}function RS(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case Ep:e.return=zS(e.value,e.length);return;case Qd:if(e.length)return yT(e.props,function(i){switch(yS(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ol([rm(e,{props:[cn(i,/:(read-\w+)/,":"+bu+"$1")]})],o);case"::placeholder":return Ol([rm(e,{props:[cn(i,/:(plac\w+)/,":"+io+"input-$1")]}),rm(e,{props:[cn(i,/:(plac\w+)/,":"+bu+"$1")]})],o)}return""})}}function NT(e){switch(e.type){case"@container":case fT:case mT:case pS:return!0}return!1}const zT=e=>{NT(e)&&Array.isArray(e.children)&&e.children.sort((t,r)=>t.props[0]>r.props[0]?1:-1)};function RT(){}function Np(e,t){const r=[];return Ol(TS(e),ES([ET,t?zT:RT,RS,CS,NS(o=>r.push(o))])),r}const AT=/,( *[^ &])/g;function DT(e){return"&"+mS(e.replace(AT,",&$1"))}function j2(e,t,r){let o=t;return r.length>0&&(o=r.reduceRight((i,s)=>`${DT(s)} { ${i} }`,t)),`${e}{${o}}`}function O2(e,t){const{className:r,selectors:o,property:i,rtlClassName:s,rtlProperty:c,rtlValue:d,value:f}=e,{container:h,layer:m,media:p,supports:w}=t,v=`.${r}`,x=Array.isArray(f)?`${f.map(k=>`${Nl(i)}: ${k}`).join(";")};`:`${Nl(i)}: ${f};`;let y=j2(v,x,o);if(c&&s){const k=`.${s}`,B=Array.isArray(d)?`${d.map(_=>`${Nl(c)}: ${_}`).join(";")};`:`${Nl(c)}: ${d};`;y+=j2(k,B,o)}return p&&(y=`@media ${p} { ${y} }`),m&&(y=`@layer ${m} { ${y} }`),w&&(y=`@supports ${w} { ${y} }`),h&&(y=`@container ${h} { ${y} }`),Np(y,!0)}function AS(e){let t="";for(const r in e){const o=e[r];if(typeof o=="string"||typeof o=="number"){t+=Nl(r)+":"+o+";";continue}if(Array.isArray(o))for(const i of o)t+=Nl(r)+":"+i+";"}return t}function M2(e){let t="";for(const r in e)t+=`${r}{${AS(e[r])}}`;return t}function q2(e,t){const r=`@keyframes ${e} {${t}}`,o=[];return Ol(TS(r),ES([CS,RS,NS(i=>o.push(i))])),o}const jT={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 F2(e,t){return e.length===0?t:`${e} and ${t}`}function OT(e){return e.substr(0,6)==="@media"}function MT(e){return e.substr(0,6)==="@layer"}const qT=/^(:|\[|>|&)/;function FT(e){return qT.test(e)}function PT(e){return e.substr(0,9)==="@supports"}function IT(e){return e.substring(0,10)==="@container"}function LT(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const P2={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function I2(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const r=e[0].trim();if(r.charCodeAt(0)===58)return P2[r.slice(4,8)]||P2[r.slice(3,5)]||"d"}return"d"}function nd(e,t){return e&&t+e}function DS(e){return nd(e.container,"c")+nd(e.media,"m")+nd(e.layer,"l")+nd(e.supports,"s")}function nm(e,t,r){const o=e+DS(r)+t,i=yu(o),s=i.charCodeAt(0);return s>=48&&s<=57?String.fromCharCode(s+17)+i.slice(1):i}function od({property:e,selector:t,salt:r,value:o},i){return Og+yu(r+t+DS(i)+e+o.trim())}function HT(e){return e===qg}function om(e){return e.replace(/>\s+/g,">")}function L2(e){return jT[e]}function H2(e){var t;return(t=e==null?void 0:e[0])!==null&&t!==void 0?t:0}function am(e,t,r,o){e[t]=o?[r,o]:r}function U2(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function im(e,t,r,o,i,s){var c;const d=[];s!==0&&d.push(["p",s]),t==="m"&&i&&d.push(["m",i]),(c=e[t])!==null&&c!==void 0||(e[t]=[]),r&&e[t].push(U2(r,d)),o&&e[t].push(U2(o,d))}function aa(e,t="",r=[],o={container:"",layer:"",media:"",supports:""},i={},s={},c){for(const d in e){if(q_.hasOwnProperty(d)){e[d];continue}const f=e[d];if(f!=null){if(HT(f)){const h=om(r.join("")),m=nm(h,d,o);am(i,m,0,void 0);continue}if(typeof f=="string"||typeof f=="number"){const h=om(r.join("")),m=L2(d);if(m){const N=m[1],R=Object.fromEntries(N.map(j=>[j,qg]));aa(R,t,r,o,i,s)}const p=nm(h,d,o),w=od({value:f.toString(),salt:t,selector:h,property:d},o),v=c&&{key:d,value:c}||Fg(d,f),x=v.key!==d||v.value!==f,y=x?od({value:v.value.toString(),property:v.key,salt:t,selector:h},o):void 0,k=x?{rtlClassName:y,rtlProperty:v.key,rtlValue:v.value}:void 0,B=I2(r,o),[_,C]=O2(Object.assign({className:w,selectors:r,property:d,value:f},k),o);am(i,p,w,y),im(s,B,_,C,o.media,H2(m))}else if(d==="animationName"){const h=Array.isArray(f)?f:[f],m=[],p=[];for(const w of h){const v=M2(w),x=M2(hS(w)),y=Og+yu(v);let k;const B=q2(y,v);let _=[];v===x?k=y:(k=Og+yu(x),_=q2(k,x));for(let C=0;C<B.length;C++)im(s,"k",B[C],_[C],o.media,0);m.push(y),p.push(k)}aa({animationName:m.join(", ")},t,r,o,i,s,p.join(", "))}else if(Array.isArray(f)){if(f.length===0)continue;const h=om(r.join("")),m=L2(d);if(m){const R=m[1],j=Object.fromEntries(R.map(D=>[D,qg]));aa(j,t,r,o,i,s)}const p=nm(h,d,o),w=od({value:f.map(R=>(R??"").toString()).join(";"),salt:t,selector:h,property:d},o),v=f.map(R=>Fg(d,R));if(!!v.some(R=>R.key!==v[0].key))continue;const y=v[0].key!==d||v.some((R,j)=>R.value!==f[j]),k=y?od({value:v.map(R=>{var j;return((j=R==null?void 0:R.value)!==null&&j!==void 0?j:"").toString()}).join(";"),salt:t,property:v[0].key,selector:h},o):void 0,B=y?{rtlClassName:k,rtlProperty:v[0].key,rtlValue:v.map(R=>R.value)}:void 0,_=I2(r,o),[C,N]=O2(Object.assign({className:w,selectors:r,property:d,value:f},B),o);am(i,p,w,k),im(s,_,C,N,o.media,H2(m))}else if(LT(f)){if(FT(d))aa(f,t,r.concat(mS(d)),o,i,s);else if(OT(d)){const h=F2(o.media,d.slice(6).trim());aa(f,t,r,Object.assign({},o,{media:h}),i,s)}else if(MT(d)){const h=(o.layer?`${o.layer}.`:"")+d.slice(6).trim();aa(f,t,r,Object.assign({},o,{layer:h}),i,s)}else if(PT(d)){const h=F2(o.supports,d.slice(9).trim());aa(f,t,r,Object.assign({},o,{supports:h}),i,s)}else if(IT(d)){const h=d.slice(10).trim();aa(f,t,r,Object.assign({},o,{container:h}),i,s)}}}}return[i,s]}function UT(e,t=""){const r={},o={};for(const i in e){const s=e[i],[c,d]=aa(s,t);r[i]=c,Object.keys(d).forEach(f=>{o[f]=(o[f]||[]).concat(d[f])})}return[r,o]}function VT(e,t=Zd){const r=t();let o=null,i=null,s=null,c=null;function d(f){const{dir:h,renderer:m}=f;o===null&&([o,i]=UT(e,m.classNameHashSalt));const p=h==="ltr";return p?s===null&&(s=Od(o,h)):c===null&&(c=Od(o,h)),r(m,i),p?s:c}return d}function WT(e,t){const r=`${e} {${AS(t)}}`;return Np(r,!1)[0]}function GT(e){return e.reduce((t,r)=>{if(typeof r=="string"){const o=Np(r,!1);for(const i of o)t.push(i);return t}for(const o in r){const i=r[o],s=WT(o,i);t.push(s)}return t},[])}function $T(e,t=Zd){const r=t(),o=Array.isArray(e)?e:[e];function i(s){r(s.renderer,{d:GT(o)})}return i}function jS(e,t,r=Zd){const o=r();let i=null,s=null;function c(d){const{dir:f,renderer:h}=d,m=f==="ltr";return m?i===null&&(i=Od(e,f)):s===null&&(s=Od(e,f)),o(h,t),m?i:s}return c}function XT(e,t,r,o=Zd){const i=o();function s(c){const{dir:d,renderer:f}=c,h=d==="ltr"?e:t||e;return i(f,Array.isArray(r)?{r}:r),h}return s}function KT(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const V2=jd.useInsertionEffect?jd.useInsertionEffect:void 0,nf=()=>{const e={};return function(r,o){if(V2&&KT()){V2(()=>{r.insertCSSRules(o)},[r,o]);return}e[r.id]===void 0&&(r.insertCSSRules(o),e[r.id]=!0)}},YT=S.createContext(X_());function $l(){return S.useContext(YT)}const OS=S.createContext("ltr"),ZT=({children:e,dir:t})=>S.createElement(OS.Provider,{value:t},e);function zp(){return S.useContext(OS)}function Gt(e){const t=VT(e,nf);return function(){const o=zp(),i=$l();return t({dir:o,renderer:i})}}function QT(e){const t=$T(e,nf);return function(){const i={renderer:$l()};return t(i)}}function xe(e,t){const r=jS(e,t,nf);return function(){const i=zp(),s=$l();return r({dir:i,renderer:s})}}function We(e,t,r){const o=XT(e,t,r,nf);return function(){const s=zp(),c=$l();return o({dir:s,renderer:c})}}function JT(e,t){if(t){const r=Object.keys(t).reduce((o,i)=>`${o}--${i}: ${t[i]}; `,"");return`${e} { ${r} }`}return`${e} {}`}const Md=Symbol.for("fui.slotRenderFunction"),Ml=Symbol.for("fui.slotElementType"),MS=Symbol.for("fui.slotClassNameProp");function je(e,t){const{defaultProps:r,elementType:o}=t,i=eC(e),s={...r,...i,[Ml]:o,[MS]:i==null?void 0:i.className};return i&&typeof i.children=="function"&&(s[Md]=i.children,s.children=r==null?void 0:r.children),s}function gt(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return je(e,t)}function eC(e){return typeof e=="string"||typeof e=="number"||Array.isArray(e)||S.isValidElement(e)?{children:e}:e}function tC(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!S.isValidElement(e)}function W2(e){return!!(e!=null&&e.hasOwnProperty(Ml))}const Lt=(...e)=>{const t={};for(const r of e){const o=Array.isArray(r)?r:Object.keys(r);for(const i of o)t[i]=1}return t},rC=Lt(["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"]),nC=Lt(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),oC=Lt(["itemID","itemProp","itemRef","itemScope","itemType"]),_r=Lt(nC,rC,oC),aC=Lt(_r,["form"]),qS=Lt(_r,["height","loop","muted","preload","src","width"]),iC=Lt(qS,["poster"]),lC=Lt(_r,["start"]),sC=Lt(_r,["value"]),uC=Lt(_r,["download","href","hrefLang","media","rel","target","type"]),cC=Lt(_r,["dateTime"]),of=Lt(_r,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),dC=Lt(of,["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"]),fC=Lt(of,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),hC=Lt(of,["form","multiple","required"]),mC=Lt(_r,["selected","value"]),gC=Lt(_r,["cellPadding","cellSpacing"]),pC=_r,bC=Lt(_r,["colSpan","rowSpan","scope"]),vC=Lt(_r,["colSpan","headers","rowSpan","scope"]),yC=Lt(_r,["span"]),xC=Lt(_r,["span"]),wC=Lt(_r,["disabled","form"]),SC=Lt(_r,["acceptCharset","action","encType","encType","method","noValidate","target"]),kC=Lt(_r,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),BC=Lt(_r,["alt","crossOrigin","height","src","srcSet","useMap","width"]),_C=Lt(_r,["open","onCancel","onClose"]);function TC(e,t,r){const o=Array.isArray(t),i={},s=Object.keys(e);for(const c of s)(!o&&t[c]||o&&t.indexOf(c)>=0||c.indexOf("data-")===0||c.indexOf("aria-")===0)&&(!r||(r==null?void 0:r.indexOf(c))===-1)&&(i[c]=e[c]);return i}const CC={label:aC,audio:qS,video:iC,ol:lC,li:sC,a:uC,button:of,input:dC,textarea:fC,select:hC,option:mC,table:gC,tr:pC,th:bC,td:vC,colGroup:yC,col:xC,fieldset:wC,form:SC,iframe:kC,img:BC,time:cC,dialog:_C};function FS(e,t,r){const o=e&&CC[e]||_r;return o.as=1,TC(t,o,r)}const af=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:FS(e,t,[...r||[],"style","className"])}),ct=(e,t,r)=>{var o;return FS((o=t.as)!==null&&o!==void 0?o:e,t,r)};function PS(e,t){const r=S.useRef(void 0),o=S.useCallback((s,c)=>(r.current!==void 0&&t(r.current),r.current=e(s,c),r.current),[t,e]),i=S.useCallback(()=>{r.current!==void 0&&(t(r.current),r.current=void 0)},[t]);return S.useEffect(()=>i,[i]),[o,i]}const IS=S.createContext(void 0),EC=IS.Provider,LS=S.createContext(void 0),NC="",zC=LS.Provider;function RC(){var e;return(e=S.useContext(LS))!==null&&e!==void 0?e:NC}const HS=S.createContext(void 0),AC={},DC=HS.Provider;function jC(){var e;return(e=S.useContext(HS))!==null&&e!==void 0?e:AC}const US=S.createContext(void 0),OC={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},MC=US.Provider;function St(){var e;return(e=S.useContext(US))!==null&&e!==void 0?e:OC}const VS=S.createContext(void 0),qC=VS.Provider;function WS(){var e;return(e=S.useContext(VS))!==null&&e!==void 0?e:{}}const Rp=S.createContext(void 0),FC=()=>{},PC=Rp.Provider,Xe=e=>{var t,r;return(r=(t=S.useContext(Rp))===null||t===void 0?void 0:t[e])!==null&&r!==void 0?r:FC},GS=S.createContext(void 0),IC=GS.Provider;function Ap(){return S.useContext(GS)}const $S=S.createContext(void 0);$S.Provider;function LC(){return S.useContext($S)}const HC=e=>(e(0),0),UC=e=>e;function VC(){const{targetDocument:e}=St(),t=e==null?void 0:e.defaultView,r=t?t.requestAnimationFrame:HC,o=t?t.cancelAnimationFrame:UC;return PS(r,o)}function WC(e){return typeof e=="function"}const Rn=e=>{"use no memo";const[t,r]=S.useState(()=>e.defaultState===void 0?e.initialState:GC(e.defaultState)?e.defaultState():e.defaultState),o=S.useRef(e.state);S.useEffect(()=>{o.current=e.state},[e.state]);const i=S.useCallback(s=>{WC(s)&&s(o.current)},[]);return $C(e.state)?[e.state,i]:[t,r]};function GC(e){return typeof e=="function"}const $C=e=>{"use no memo";const[t]=S.useState(()=>e!==void 0);return t};function lf(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const XS={current:0},XC=S.createContext(void 0);function KS(){var e;return(e=S.useContext(XC))!==null&&e!==void 0?e:XS}function KC(){const e=KS()!==XS,[t,r]=S.useState(e);return lf()&&e&&S.useLayoutEffect(()=>{r(!1)},[]),t}const jr=lf()?S.useLayoutEffect:S.useEffect,ke=e=>{const t=S.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return jr(()=>{t.current=e},[e]),S.useCallback((...r)=>{const o=t.current;return o(...r)},[t])};function YS(){const e=S.useRef(!0);return e.current?(e.current=!1,!0):e.current}function ZS(){return S.useReducer(e=>e+1,0)[1]}const QS=S.createContext(void 0);QS.Provider;function YC(){return S.useContext(QS)||""}function hn(e="fui-",t){"use no memo";const r=KS(),o=YC(),i=jd.useId;if(i){const s=i(),c=S.useMemo(()=>s.replace(/:/g,""),[s]);return t||`${o}${e}${c}`}return S.useMemo(()=>t||`${o}${e}${++r.current}`,[o,e,t,r])}function Br(...e){"use no memo";const t=S.useCallback(r=>{t.current=r;for(const o of e)typeof o=="function"?o(r):o&&(o.current=r)},[...e]);return t}const JS=(e,t)=>!!(e!=null&&e.contains(t)),e5=e=>{const{targetDocument:t}=St(),r=t==null?void 0:t.defaultView,{refs:o,callback:i,element:s,disabled:c,disabledFocusOnIframe:d,contains:f=JS}=e,h=S.useRef(void 0);QC({element:s,disabled:d||c,callback:i,refs:o,contains:f});const m=S.useRef(!1),p=ke(v=>{if(m.current){m.current=!1;return}const x=v.composedPath()[0];o.every(k=>!f(k.current||null,x))&&!c&&i(v)}),w=ke(v=>{m.current=o.some(x=>f(x.current||null,v.target))});S.useEffect(()=>{if(c)return;let v=ZC(r);const x=y=>{if(y===v){v=void 0;return}p(y)};return s==null||s.addEventListener("click",x,!0),s==null||s.addEventListener("touchstart",x,!0),s==null||s.addEventListener("contextmenu",x,!0),s==null||s.addEventListener("mousedown",w,!0),h.current=r==null?void 0:r.setTimeout(()=>{v=void 0},1),()=>{s==null||s.removeEventListener("click",x,!0),s==null||s.removeEventListener("touchstart",x,!0),s==null||s.removeEventListener("contextmenu",x,!0),s==null||s.removeEventListener("mousedown",w,!0),r==null||r.clearTimeout(h.current),v=void 0}},[p,s,c,w,r])},ZC=e=>{if(e){var t,r;if(typeof e.window=="object"&&e.window===e)return e.event;var o;return(o=(r=e.ownerDocument)===null||r===void 0||(t=r.defaultView)===null||t===void 0?void 0:t.event)!==null&&o!==void 0?o:void 0}},lm="fuiframefocus",QC=e=>{const{disabled:t,element:r,callback:o,contains:i=JS,pollDuration:s=1e3,refs:c}=e,d=S.useRef(),f=ke(h=>{c.every(p=>!i(p.current||null,h.target))&&!t&&o(h)});S.useEffect(()=>{if(!t)return r==null||r.addEventListener(lm,f,!0),()=>{r==null||r.removeEventListener(lm,f,!0)}},[r,t,f]),S.useEffect(()=>{var h;if(!t)return d.current=r==null||(h=r.defaultView)===null||h===void 0?void 0:h.setInterval(()=>{const m=r==null?void 0:r.activeElement;if((m==null?void 0:m.tagName)==="IFRAME"||(m==null?void 0:m.tagName)==="WEBVIEW"){const p=new CustomEvent(lm,{bubbles:!0});m.dispatchEvent(p)}},s),()=>{var m;r==null||(m=r.defaultView)===null||m===void 0||m.clearTimeout(d.current)}},[r,t,s])},t5=e=>{const{refs:t,callback:r,element:o,disabled:i,contains:s}=e,c=ke(d=>{const f=s||((p,w)=>!!(p!=null&&p.contains(w))),h=d.composedPath()[0];t.every(p=>!f(p.current||null,h))&&!i&&r(d)});S.useEffect(()=>{if(!i)return o==null||o.addEventListener("wheel",c),o==null||o.addEventListener("touchmove",c),()=>{o==null||o.removeEventListener("wheel",c),o==null||o.removeEventListener("touchmove",c)}},[c,o,i])},JC=e=>-1,eE=e=>{};function Xl(){const{targetDocument:e}=St(),t=e==null?void 0:e.defaultView,r=t?t.setTimeout:JC,o=t?t.clearTimeout:eE;return PS(r,o)}function Mt(e,t){return(...r)=>{e==null||e(...r),t==null||t(...r)}}function Zt(e,t){var r;const o=e;var i;return!!(!(o==null||(r=o.ownerDocument)===null||r===void 0)&&r.defaultView&&o instanceof o.ownerDocument.defaultView[(i=void 0)!==null&&i!==void 0?i:"HTMLElement"])}function tE(e){if(!Zt(e))return!1;const{tagName:t}=e;switch(t){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function r5(e){const t=[];let r=0;const o=(w,v)=>{const x=t[w];t[w]=t[v],t[v]=x},i=w=>{let v=w;const x=rE(w),y=nE(w);x<r&&e(t[x],t[v])<0&&(v=x),y<r&&e(t[y],t[v])<0&&(v=y),v!==w&&(o(v,w),i(v))};return{all:()=>t.slice(0,r),clear:()=>{r=0},contains:w=>{const v=t.indexOf(w);return v>=0&&v<r},dequeue:()=>{if(r===0)throw new Error("Priority queue empty");const w=t[0];return t[0]=t[--r],i(0),w},enqueue:w=>{t[r++]=w;let v=r-1,x=G2(v);for(;v>0&&e(t[x],t[v])>0;)o(x,v),v=x,x=G2(v)},peek:()=>r===0?null:t[0],remove:w=>{const v=t.indexOf(w);v===-1||v>=r||(t[v]=t[--r],i(v))},size:()=>r}}const rE=e=>2*e+1,nE=e=>2*e+2,G2=e=>Math.floor((e-1)/2);function n5(e){return!!e.type.isFluentTriggerComponent}function sf(e,t){return typeof e=="function"?e(t):e?o5(e,t):e||null}function o5(e,t){if(!S.isValidElement(e)||e.type===S.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(n5(e)){const r=o5(e.props.children,t);return S.cloneElement(e,void 0,r)}else return S.cloneElement(e,t)}function Eu(e){return S.isValidElement(e)?n5(e)?Eu(e.props.children):e:null}function Ig(e){return e.type.startsWith("touch")}function Lg(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function $2(e){return Lg(e)?{clientX:e.clientX,clientY:e.clientY}:Ig(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function X2(e){return e instanceof Set?e:new Set(e)}function a5(e){const[t,r]=Rn({initialState:new Set,defaultState:S.useMemo(()=>e.defaultSelectedItems&&X2(e.defaultSelectedItems),[e.defaultSelectedItems]),state:S.useMemo(()=>e.selectedItems&&X2(e.selectedItems),[e.selectedItems])});return[t,(i,s)=>{var c;(c=e.onSelectionChange)===null||c===void 0||c.call(e,i,{selectedItems:s}),r(s)}]}function oE(e){const[t,r]=a5(e);return[t,{deselectItem:i=>r(i,new Set),selectItem:(i,s)=>r(i,new Set([s])),toggleAllItems:()=>{},toggleItem:(i,s)=>r(i,new Set([s])),clearItems:i=>r(i,new Set),isSelected:i=>{var s;return(s=t.has(i))!==null&&s!==void 0?s:!1}}]}function aE(e){const[t,r]=a5(e);return[t,{toggleItem:(i,s)=>{const c=new Set(t);t.has(s)?c.delete(s):c.add(s),r(i,c)},selectItem:(i,s)=>{const c=new Set(t);c.add(s),r(i,c)},deselectItem:(i,s)=>{const c=new Set(t);c.delete(s),r(i,c)},clearItems:i=>{r(i,new Set)},isSelected:i=>t.has(i),toggleAllItems:(i,s)=>{const c=s.every(f=>t.has(f)),d=new Set(t);c?d.clear():s.forEach(f=>d.add(f)),r(i,d)}}]}function iE(e){"use no memo";return e.selectionMode==="multiselect"?aE(e):oE(e)}function lE(e){return e&&!!e._virtual}function sE(e){return lE(e)&&e._virtual.parent||null}function i5(e,t={}){if(!e)return null;if(!t.skipVirtual){const o=sE(e);if(o)return o}const r=e.parentNode;return r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}function ql(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const o=i5(t,{skipVirtual:r.has(t)});if(r.add(t),o===e)return!0;t=o}}return!1}function K2(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}function uE(e,t){return{...t,[Ml]:e}}function l5(e,t){return function(o,i,s,c,d){return W2(i)?t(uE(o,i),null,s,c,d):W2(o)?t(o,i,s,c,d):e(o,i,s,c,d)}}function s5(e){const{as:t,[MS]:r,[Ml]:o,[Md]:i,...s}=e,c=s,d=typeof o=="string"?t??o:o;return typeof d!="string"&&t&&(c.as=t),{elementType:d,props:c,renderFunction:i}}const zi=B_,cE=(e,t,r)=>{const{elementType:o,renderFunction:i,props:s}=s5(e),c={...s,...t};return i?zi.jsx(S.Fragment,{children:i(o,c)},r):zi.jsx(o,c,r)},dE=(e,t,r)=>{const{elementType:o,renderFunction:i,props:s}=s5(e),c={...s,...t};return i?zi.jsx(S.Fragment,{children:i(o,{...c,children:zi.jsxs(S.Fragment,{children:c.children},void 0)})},r):zi.jsxs(o,c,r)},ge=l5(zi.jsx,cE),xt=l5(zi.jsxs,dE),Hg=S.createContext(void 0),fE={},hE=Hg.Provider,mE=()=>S.useContext(Hg)?S.useContext(Hg):fE,gE=(e,t)=>ge(MC,{value:t.provider,children:ge(EC,{value:t.theme,children:ge(zC,{value:t.themeClassName,children:ge(PC,{value:t.customStyleHooks_unstable,children:ge(DC,{value:t.tooltip,children:ge(ZT,{dir:t.textDirection,children:ge(hE,{value:t.iconDirection,children:ge(qC,{value:t.overrides_unstable,children:xt(e.root,{children:[lf()?null:ge("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var pE=typeof WeakRef<"u",Y2=class{constructor(e){pE&&typeof e=="object"?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let r;return this._weakRef?(r=(e=this._weakRef)==null?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(t=r==null?void 0:r.isDisposed)!=null&&t.call(r)&&delete this._instance),r}},Nn="keyborg:focusin",xu="keyborg:focusout";function bE(e){const t=e.HTMLElement,r=t.prototype.focus;let o=!1;return t.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),t.prototype.focus=r,o}var sm=!1;function Ro(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function vE(e){const t=e;sm||(sm=bE(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=f;const o=new Set,i=m=>{const p=m.target;if(!p)return;const w=new CustomEvent(xu,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:m}});p.dispatchEvent(w)},s=m=>{const p=m.target;if(!p)return;let w=m.composedPath()[0];const v=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(v.add(w),w=w.host):w=w.parentNode;for(const x of o){const y=x.deref();(!y||!v.has(y))&&(o.delete(x),y&&(y.removeEventListener("focusin",s,!0),y.removeEventListener("focusout",i,!0)))}c(p,m.relatedTarget||void 0)},c=(m,p,w)=>{var v;const x=m.shadowRoot;if(x){for(const B of o)if(B.deref()===x)return;x.addEventListener("focusin",s,!0),x.addEventListener("focusout",i,!0),o.add(new Y2(x));return}const y={relatedTarget:p,originalEvent:w},k=new CustomEvent(Nn,{cancelable:!0,bubbles:!0,composed:!0,detail:y});k.details=y,(sm||d.lastFocusedProgrammatically)&&(y.isFocusedProgrammatically=m===((v=d.lastFocusedProgrammatically)==null?void 0:v.deref()),d.lastFocusedProgrammatically=void 0),m.dispatchEvent(k)},d=t.__keyborgData={focusInHandler:s,focusOutHandler:i,shadowTargets:o};t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);function f(){const m=t.__keyborgData;return m&&(m.lastFocusedProgrammatically=new Y2(this)),r.apply(this,arguments)}let h=t.document.activeElement;for(;h&&h.shadowRoot;)c(h),h=h.shadowRoot.activeElement;f.__keyborgNativeFocus=r}function yE(e){const t=e,r=t.HTMLElement.prototype,o=r.focus.__keyborgNativeFocus,i=t.__keyborgData;if(i){t.document.removeEventListener("focusin",i.focusInHandler,!0),t.document.removeEventListener("focusout",i.focusOutHandler,!0);for(const s of i.shadowTargets){const c=s.deref();c&&(c.removeEventListener("focusin",i.focusInHandler,!0),c.removeEventListener("focusout",i.focusOutHandler,!0))}i.shadowTargets.clear(),delete t.__keyborgData}o&&(r.focus=o)}var xE=500,u5=0,wE=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=o=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const i=o.detail;i.relatedTarget&&(i.isFocusedProgrammatically||i.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=o=>{o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const o=this._win;o&&(this._isMouseOrTouchUsedTimer&&o.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=o=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(o)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(o)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++u5,this._win=e;const r=e.document;if(t){const o=t.triggerKeys,i=t.dismissKeys;o!=null&&o.length&&(this._triggerKeys=new Set(o)),i!=null&&i.length&&(this._dismissKeys=new Set(i))}r.addEventListener(Nn,this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),vE(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),yE(e);const t=e.document;t.removeEventListener(Nn,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const r=(t=(e=this._win)==null?void 0:e.__keyborg)==null?void 0:t.refs;if(r)for(const o of Object.keys(r))Dp.update(r[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if(e.key==="Tab")return!0;const r=(t=this._win)==null?void 0:t.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(e.keyCode),i=r&&(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable);return o&&!i}_shouldDismissKeyboardNavigation(e){var t;return(t=this._dismissKeys)==null?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)},xE)}}},Dp=class c5{constructor(t,r){this._cb=[],this._id="k"+ ++u5,this._win=t;const o=t.__keyborg;o?(this._core=o.core,o.refs[this._id]=this):(this._core=new wE(t,r),t.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new c5(t,r)}static dispose(t){t.dispose()}static update(t,r){t._cb.forEach(o=>o(r))}dispose(){var t;const r=(t=this._win)==null?void 0:t.__keyborg;r!=null&&r.refs[this._id]&&(delete r.refs[this._id],Object.keys(r.refs).length===0&&(r.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var t;return!!((t=this._core)!=null&&t.isNavigatingWithKeyboard)}subscribe(t){this._cb.push(t)}unsubscribe(t){const r=this._cb.indexOf(t);r>=0&&this._cb.splice(r,1)}setVal(t){this._core&&(this._core.isNavigatingWithKeyboard=t)}};function uf(e,t){return Dp.create(e,t)}function cf(e){Dp.dispose(e)}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 *//*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const Kn="data-tabster",SE="data-tabster-dummy",d5=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),la={EscapeGroupper:1,Restorer:2,Deloser:3},Wa={Invisible:0,PartiallyVisible:1,Visible:2},Ai={Source:0,Target:1},so={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},ar={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},_d={Unlimited:0,Limited:1,LimitedTrapFocus:2},Ug={Enter:1,Escape:2},kE={Outside:2};/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */function Ur(e,t){var r;return(r=e.storageEntry(t))===null||r===void 0?void 0:r.tabster}function f5(e,t,r){var o,i;const s=r||e._noop?void 0:t.getAttribute(Kn);let c=e.storageEntry(t),d;if(s)if(s!==((o=c==null?void 0:c.attr)===null||o===void 0?void 0:o.string))try{const p=JSON.parse(s);if(typeof p!="object")throw new Error(`Value is not a JSON object, got '${s}'.`);d={string:s,object:p}}catch{}else return;else if(!c)return;c||(c=e.storageEntry(t,!0)),c.tabster||(c.tabster={});const f=c.tabster||{},h=((i=c.attr)===null||i===void 0?void 0:i.object)||{},m=(d==null?void 0:d.object)||{};for(const p of Object.keys(h))if(!m[p]){if(p==="root"){const w=f[p];w&&e.root.onRoot(w,!0)}switch(p){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const w=f[p];w&&(w.dispose(),delete f[p]);break;case"observed":delete f[p],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete f[p];break}}for(const p of Object.keys(m)){const w=m.sys;switch(p){case"deloser":f.deloser?f.deloser.setProps(m.deloser):e.deloser&&(f.deloser=e.deloser.createDeloser(t,m.deloser));break;case"root":f.root?f.root.setProps(m.root):f.root=e.root.createRoot(t,m.root,w),e.root.onRoot(f.root);break;case"modalizer":f.modalizer?f.modalizer.setProps(m.modalizer):e.modalizer&&(f.modalizer=e.modalizer.createModalizer(t,m.modalizer,w));break;case"restorer":f.restorer?f.restorer.setProps(m.restorer):e.restorer&&m.restorer&&(f.restorer=e.restorer.createRestorer(t,m.restorer));break;case"focusable":f.focusable=m.focusable;break;case"groupper":f.groupper?f.groupper.setProps(m.groupper):e.groupper&&(f.groupper=e.groupper.createGroupper(t,m.groupper,w));break;case"mover":f.mover?f.mover.setProps(m.mover):e.mover&&(f.mover=e.mover.createMover(t,m.mover,w));break;case"observed":e.observedElement&&(f.observed=m.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":f.uncontrolled=m.uncontrolled;break;case"outline":e.outline&&(f.outline=m.outline);break;case"sys":f.sys=m.sys;break;default:console.error(`Unknown key '${p}' in data-tabster attribute value.`)}}d?c.attr=d:(Object.keys(f).length===0&&(delete c.tabster,delete c.attr),e.storageEntry(t,!1))}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const BE="tabster:focusin",_E="tabster:focusout",Vg="tabster:movefocus",TE="tabster:modalizer:active",CE="tabster:modalizer:inactive",EE="tabster:mover:state",Wg="tabster:mover:movefocus",Z2="tabster:mover:memorized-element",Gg="tabster:groupper:movefocus",$g="tabster:restorer:restore-focus",NE="tabster:root:focus",zE="tabster:root:blur",RE=typeof CustomEvent<"u"?CustomEvent:function(){};class fo extends RE{constructor(t,r){super(t,{bubbles:!0,cancelable:!0,composed:!0,detail:r}),this.details=r}}class AE extends fo{constructor(t){super(BE,t)}}class DE extends fo{constructor(t){super(_E,t)}}class Ja extends fo{constructor(t){super(Vg,t)}}class Q2 extends fo{constructor(t){super(EE,t)}}class jE extends fo{constructor(t){super(Wg,t)}}class OE extends fo{constructor(t){super(Gg,t)}}class ME extends fo{constructor(t){super(TE,t)}}class qE extends fo{constructor(t){super(CE,t)}}class J2 extends fo{constructor(){super($g)}}class FE extends fo{constructor(t){super(NE,t)}}class PE extends fo{constructor(t){super(zE,t)}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const IE=e=>new MutationObserver(e),LE=(e,t,r,o)=>e.createTreeWalker(t,r,o),HE=e=>e?e.parentNode:null,UE=e=>e?e.parentElement:null,VE=(e,t)=>!!(t&&(e!=null&&e.contains(t))),WE=e=>e.activeElement,GE=(e,t)=>e.querySelector(t),$E=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),XE=(e,t)=>e.getElementById(t),KE=e=>(e==null?void 0:e.firstChild)||null,YE=e=>(e==null?void 0:e.lastChild)||null,ZE=e=>(e==null?void 0:e.nextSibling)||null,QE=e=>(e==null?void 0:e.previousSibling)||null,JE=e=>(e==null?void 0:e.firstElementChild)||null,e9=e=>(e==null?void 0:e.lastElementChild)||null,t9=e=>(e==null?void 0:e.nextElementSibling)||null,r9=e=>(e==null?void 0:e.previousElementSibling)||null,n9=(e,t)=>e.appendChild(t),o9=(e,t,r)=>e.insertBefore(t,r),a9=e=>{var t;return((t=e.ownerDocument)===null||t===void 0?void 0:t.getSelection())||null},i9=(e,t)=>e.ownerDocument.getElementsByName(t),pe={createMutationObserver:IE,createTreeWalker:LE,getParentNode:HE,getParentElement:UE,nodeContains:VE,getActiveElement:WE,querySelector:GE,querySelectorAll:$E,getElementById:XE,getFirstChild:KE,getLastChild:YE,getNextSibling:ZE,getPreviousSibling:QE,getFirstElementChild:JE,getLastElementChild:e9,getNextElementSibling:t9,getPreviousElementSibling:r9,appendChild:n9,insertBefore:o9,getSelection:a9,getElementsByName:i9};function l9(e){for(const t of Object.keys(e))pe[t]=e[t]}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */let Xg;const ex=typeof DOMRect<"u"?DOMRect:class{constructor(e,t,r,o){this.left=e||0,this.top=t||0,this.right=(e||0)+(r||0),this.bottom=(t||0)+(o||0)}};let s9=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Xg=!1}catch{Xg=!0}const um=100;function ha(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}function u9(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function c9(e){const t=e.__tabsterInstanceContext;return new((t==null?void 0:t.basics.WeakMap)||WeakMap)}function d9(e){return!!e.querySelector(d5)}class h5{constructor(t){this._target=t}deref(){return this._target}static cleanup(t,r){return t._target?r||!Op(t._target.ownerDocument,t._target)?(delete t._target,!0):!1:!0}}class Tn{constructor(t,r,o){const i=ha(t);let s;i.WeakRef?s=new i.WeakRef(r):(s=new h5(r),i.fakeWeakRefs.push(s)),this._ref=s,this._data=o}get(){const t=this._ref;let r;return t&&(r=t.deref(),r||delete this._ref),r}getData(){return this._data}}function m5(e,t){const r=ha(e);r.fakeWeakRefs=r.fakeWeakRefs.filter(o=>!h5.cleanup(o,t))}function g5(e){const t=ha(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=b9(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,m5(e),g5(e)},2*60*1e3))}function f9(e){const t=ha(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function jp(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const o=Xg?r:{acceptNode:r};return pe.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,o,!1)}function p5(e,t){let r=t.__tabsterCacheId;const o=ha(e),i=r?o.containerBoundingRectCache[r]:void 0;if(i)return i.rect;const s=t.ownerDocument&&t.ownerDocument.documentElement;if(!s)return new ex;let c=0,d=0,f=s.clientWidth,h=s.clientHeight;if(t!==s){const p=t.getBoundingClientRect();c=Math.max(c,p.left),d=Math.max(d,p.top),f=Math.min(f,p.right),h=Math.min(h,p.bottom)}const m=new ex(c<f?c:-1,d<h?d:-1,c<f?f-c:0,d<h?h-d:0);return r||(r="r-"+ ++o.lastContainerBoundingRectCacheId,t.__tabsterCacheId=r),o.containerBoundingRectCache[r]={rect:m,element:t},o.containerBoundingRectCacheTimer||(o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(const p of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[p].element.__tabsterCacheId;o.containerBoundingRectCache={}},50)),m}function tx(e,t,r){const o=b5(t);if(!o)return!1;const i=p5(e,o),s=t.getBoundingClientRect(),c=s.height*(1-r),d=Math.max(0,i.top-s.top),f=Math.max(0,s.bottom-i.bottom),h=d+f;return h===0||h<=c}function h9(e,t,r){const o=b5(t);if(o){const i=p5(e,o),s=t.getBoundingClientRect();r?o.scrollTop+=s.top-i.top:o.scrollTop+=s.bottom-i.bottom}}function b5(e){const t=e.ownerDocument;if(t){for(let r=pe.getParentElement(e);r;r=pe.getParentElement(r))if(r.scrollWidth>r.clientWidth||r.scrollHeight>r.clientHeight)return r;return t.documentElement}return null}function m9(e){e.__shouldIgnoreFocus=!0}function v5(e){return!!e.__shouldIgnoreFocus}function g9(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let o=0;o<t.length;o++)t[o]=4294967295*Math.random();const r=[];for(let o=0;o<t.length;o++)r.push(t[o].toString(36));return r.push("|"),r.push((++s9).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}function Td(e,t){const r=ha(e);let o=t.__tabsterElementUID;return o||(o=t.__tabsterElementUID=g9(e())),!r.elementByUId[o]&&Op(t.ownerDocument,t)&&(r.elementByUId[o]=new Tn(e,t)),o}function rx(e,t){const r=ha(e);for(const o of Object.keys(r.elementByUId)){const i=r.elementByUId[o],s=i&&i.get();s&&t&&!pe.nodeContains(t,s)||delete r.elementByUId[o]}}function Op(e,t){return pe.nodeContains(e==null?void 0:e.body,t)}function y5(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}function p9(e){const t=ha(e);if(t.basics.Promise)return t.basics.Promise;throw new Error("No Promise defined.")}function b9(e){return e.basics.WeakRef}let v9=0;class Nu{constructor(t,r,o){const i=t.getWindow;this._tabster=t,this._element=new Tn(i,r),this._props={...o},this.id="i"+ ++v9}getElement(){return this._element.get()}getProps(){return this._props}setProps(t){this._props={...t}}}class qd{constructor(t,r,o,i,s){var c;this._focusIn=m=>{if(this._fixedTarget){const w=this._fixedTarget.get();w&&Ro(w);return}const p=this.input;if(this.onFocusIn&&p){const w=m.relatedTarget;this.onFocusIn(this,this._isBackward(!0,p,w),w)}},this._focusOut=m=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const p=this.input;if(this.onFocusOut&&p){const w=m.relatedTarget;this.onFocusOut(this,this._isBackward(!1,p,w),w)}};const d=t(),f=d.document.createElement("i");f.tabIndex=0,f.setAttribute("role","none"),f.setAttribute(SE,""),f.setAttribute("aria-hidden","true");const h=f.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),m9(f),this.input=f,this.isFirst=o.isFirst,this.isOutside=r,this._isPhantom=(c=o.isPhantom)!==null&&c!==void 0?c:!1,this._fixedTarget=s,f.addEventListener("focusin",this._focusIn),f.addEventListener("focusout",this._focusOut),f.__tabsterDummyContainer=i,this._isPhantom&&(this._disposeTimer=d.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(d.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var t;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,(t=pe.getParentNode(r))===null||t===void 0||t.removeChild(r))}setTopLeft(t,r){var o;const i=(o=this.input)===null||o===void 0?void 0:o.style;i&&(i.top=`${t}px`,i.left=`${r}px`)}_isBackward(t,r,o){return t&&!o?!this.isFirst:!!(o&&r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)}}const df={Root:1,Modalizer:2,Mover:3,Groupper:4};class Fl{constructor(t,r,o,i,s,c){this._element=r,this._instance=new x9(t,r,this,o,i,s,c)}_setHandlers(t,r){this._onFocusIn=t,this._onFocusOut=r}moveOut(t){var r;(r=this._instance)===null||r===void 0||r.moveOut(t)}moveOutWithDefaultAction(t,r){var o;(o=this._instance)===null||o===void 0||o.moveOutWithDefaultAction(t,r)}getHandler(t){return t?this._onFocusIn:this._onFocusOut}setTabbable(t){var r;(r=this._instance)===null||r===void 0||r.setTabbable(this,t)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(t,r,o,i,s){const d=new qd(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let f,h;if(r.tagName==="BODY")f=r,h=o&&i||!o&&!i?pe.getFirstElementChild(r):null;else{o&&(!i||i&&!t.focusable.isFocusable(r,!1,!0,!0))?(f=r,h=i?r.firstElementChild:null):(f=pe.getParentElement(r),h=o&&i||!o&&!i?r:pe.getNextElementSibling(r));let m,p;do m=o&&i||!o&&!i?pe.getPreviousElementSibling(h):h,p=Pl(m),p===r?h=o&&i||!o&&!i?m:pe.getNextElementSibling(m):p=null;while(p)}f!=null&&f.dispatchEvent(new Ja({by:"root",owner:f,next:null,relatedEvent:s}))&&(pe.insertBefore(f,d,h),Ro(d))}}static addPhantomDummyWithTarget(t,r,o,i){const c=new qd(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Tn(t.getWindow,i)).input;if(c){let d,f;d9(r)&&!o?(d=r,f=pe.getFirstElementChild(r)):(d=pe.getParentElement(r),f=o?r:pe.getNextElementSibling(r)),d&&pe.insertBefore(d,c,f)}}}class y9{constructor(t){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=r=>{var o;this._changedParents.has(r)||(this._changedParents.add(r),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(o=this._win)===null||o===void 0?void 0:o.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const s=i.get();if(s){const c=this._dummyCallbacks.get(s);if(c){const d=pe.getParentNode(s);(!d||this._changedParents.has(d))&&c()}}}this._changedParents=new WeakSet},um)))},this._win=t}add(t,r){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new Tn(this._win,t)),this._dummyCallbacks.set(t,r),this.domChanged=this._domChanged)}remove(t){this._dummyElements=this._dummyElements.filter(r=>{const o=r.get();return o&&o!==t}),this._dummyCallbacks.delete(t),this._dummyElements.length===0&&delete this.domChanged}dispose(){var t;const r=(t=this._win)===null||t===void 0?void 0:t.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(t){this._win&&(this._updateQueue.add(t),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var t;this._updateTimer||(this._updateTimer=(t=this._win)===null||t===void 0?void 0:t.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+um<=Date.now()){const r=new Map,o=[];for(const i of this._updateQueue)o.push(i(r));this._updateQueue.clear();for(const i of o)i();r.clear()}else this._scheduledUpdatePositions()},um))}}class x9{constructor(t,r,o,i,s,c,d){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(v,x,y)=>{this._onFocus(!0,v,x,y)},this._onFocusOut=(v,x,y)=>{this._onFocus(!1,v,x,y)},this.moveOut=v=>{var x;const y=this._firstDummy,k=this._lastDummy;if(y&&k){this._ensurePosition();const B=y.input,_=k.input,C=(x=this._element)===null||x===void 0?void 0:x.get();if(B&&_&&C){let N;v?(B.tabIndex=0,N=B):(_.tabIndex=0,N=_),N&&Ro(N)}}},this.moveOutWithDefaultAction=(v,x)=>{var y;const k=this._firstDummy,B=this._lastDummy;if(k&&B){this._ensurePosition();const _=k.input,C=B.input,N=(y=this._element)===null||y===void 0?void 0:y.get();if(_&&C&&N){let R;v?!k.isOutside&&this._tabster.focusable.isFocusable(N,!0,!0,!0)?R=N:(k.useDefaultAction=!0,_.tabIndex=0,R=_):(B.useDefaultAction=!0,C.tabIndex=0,R=C),R&&N.dispatchEvent(new Ja({by:"root",owner:N,next:null,relatedEvent:x}))&&Ro(R)}}},this.setTabbable=(v,x)=>{var y,k;for(const _ of this._wrappers)if(_.manager===v){_.tabbable=x;break}const B=this._getCurrent();if(B){const _=B.tabbable?0:-1;let C=(y=this._firstDummy)===null||y===void 0?void 0:y.input;C&&(C.tabIndex=_),C=(k=this._lastDummy)===null||k===void 0?void 0:k.input,C&&(C.tabIndex=_)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=v=>{var x,y;const k=((x=this._firstDummy)===null||x===void 0?void 0:x.input)||((y=this._lastDummy)===null||y===void 0?void 0:y.input),B=this._transformElements,_=new Set;let C=0,N=0;const R=this._getWindow();for(let j=k;j&&j.nodeType===Node.ELEMENT_NODE;j=pe.getParentElement(j)){let D=v.get(j);if(D===void 0){const M=R.getComputedStyle(j).transform;M&&M!=="none"&&(D={scrollTop:j.scrollTop,scrollLeft:j.scrollLeft}),v.set(j,D||null)}D&&(_.add(j),B.has(j)||j.addEventListener("scroll",this._addTransformOffsets),C+=D.scrollTop,N+=D.scrollLeft)}for(const j of B)_.has(j)||j.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=_,()=>{var j,D;(j=this._firstDummy)===null||j===void 0||j.setTopLeft(C,N),(D=this._lastDummy)===null||D===void 0||D.setTopLeft(C,N)}};const f=r.get();if(!f)throw new Error("No element");this._tabster=t,this._getWindow=t.getWindow,this._callForDefaultAction=d;const h=f.__tabsterDummy;if((h||this)._wrappers.push({manager:o,priority:i,tabbable:!0}),h)return h;f.__tabsterDummy=this;const m=s==null?void 0:s.dummyInputsPosition,p=f.tagName;this._isOutside=m?m===kE.Outside:(c||p==="UL"||p==="OL"||p==="TABLE")&&!(p==="LI"||p==="TD"||p==="TH"),this._firstDummy=new qd(this._getWindow,this._isOutside,{isFirst:!0},r),this._lastDummy=new qd(this._getWindow,this._isOutside,{isFirst:!1},r);const w=this._firstDummy.input;w&&t._dummyObserver.add(w,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=r,this._addDummyInputs()}dispose(t,r){var o,i,s,c;if((this._wrappers=this._wrappers.filter(f=>f.manager!==t&&!r)).length===0){delete((o=this._element)===null||o===void 0?void 0:o.get()).__tabsterDummy;for(const m of this._transformElements)m.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const f=this._getWindow();this._addTimer&&(f.clearTimeout(this._addTimer),delete this._addTimer);const h=(i=this._firstDummy)===null||i===void 0?void 0:i.input;h&&this._tabster._dummyObserver.remove(h),(s=this._firstDummy)===null||s===void 0||s.dispose(),(c=this._lastDummy)===null||c===void 0||c.dispose()}}_onFocus(t,r,o,i){var s;const c=this._getCurrent();c&&(!r.useDefaultAction||this._callForDefaultAction)&&((s=c.manager.getHandler(t))===null||s===void 0||s(r,o,i))}_getCurrent(){return this._wrappers.sort((t,r)=>t.tabbable!==r.tabbable?t.tabbable?-1:1:t.priority-r.priority),this._wrappers[0]}_ensurePosition(){var t,r,o;const i=(t=this._element)===null||t===void 0?void 0:t.get(),s=(r=this._firstDummy)===null||r===void 0?void 0:r.input,c=(o=this._lastDummy)===null||o===void 0?void 0:o.input;if(!(!i||!s||!c))if(this._isOutside){const d=pe.getParentNode(i);if(d){const f=pe.getNextSibling(i);f!==c&&pe.insertBefore(d,c,f),pe.getPreviousElementSibling(i)!==s&&pe.insertBefore(d,s,i)}}else{pe.getLastElementChild(i)!==c&&pe.appendChild(i,c);const d=pe.getFirstElementChild(i);d&&d!==s&&d.parentNode&&pe.insertBefore(d.parentNode,s,d)}}}function x5(e){let t=null;for(let r=pe.getLastElementChild(e);r;r=pe.getLastElementChild(r))t=r;return t||void 0}function w9(e,t){let r=e,o=null;for(;r&&!o;)o=t?pe.getPreviousElementSibling(r):pe.getNextElementSibling(r),r=pe.getParentElement(r);return o||void 0}function cm(e,t,r,o){const i=e.storageEntry(t,!0);let s=!1;if(!i.aug){if(o===void 0)return s;i.aug={}}if(o===void 0){if(r in i.aug){const c=i.aug[r];delete i.aug[r],c===null?t.removeAttribute(r):t.setAttribute(r,c),s=!0}}else{let c;r in i.aug||(c=t.getAttribute(r)),c!==void 0&&c!==o&&(i.aug[r]=c,o===null?t.removeAttribute(r):t.setAttribute(r,o),s=!0)}return o===void 0&&Object.keys(i.aug).length===0&&(delete i.aug,e.storageEntry(t,!1)),s}function S9(e){var t,r;const o=e.ownerDocument,i=(t=o.defaultView)===null||t===void 0?void 0:t.getComputedStyle(e);return e.offsetParent===null&&o.body!==e&&(i==null?void 0:i.position)!=="fixed"||(i==null?void 0:i.visibility)==="hidden"||(i==null?void 0:i.position)==="fixed"&&(i.display==="none"||((r=e.parentElement)===null||r===void 0?void 0:r.offsetParent)===null&&o.body!==e.parentElement)}function Kg(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function k9(e){if(!Kg(e))return;const t=e.name;let r=Array.from(pe.getElementsByName(e,t)),o;return r=r.filter(i=>Kg(i)?(i.checked&&(o=i),!0):!1),{name:t,buttons:new Set(r),checked:o}}function Pl(e){var t;return((t=e==null?void 0:e.__tabsterDummyContainer)===null||t===void 0?void 0:t.get())||null}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */function Mp(e,t){const r=JSON.stringify(e);return t===!0?r:{[Kn]:r}}function B9(e,t){for(const r of Object.keys(t)){const o=t[r];o?e[r]=o:delete e[r]}}function _9(e,t,r){let o;{const i=e.getAttribute(Kn);if(i)try{o=JSON.parse(i)}catch{}}o||(o={}),B9(o,t),Object.keys(o).length>0?e.setAttribute(Kn,Mp(o,!0)):e.removeAttribute(Kn)}class nx extends Fl{constructor(t,r,o,i){super(t,r,df.Root,i,void 0,!0),this._onDummyInputFocus=s=>{var c;if(s.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const d=this._element.get();if(d){this._setFocused(!0);const f=this._tabster.focusedElement.getFirstOrLastTabbable(s.isFirst,{container:d,ignoreAccessibility:!0});if(f){Ro(f);return}}(c=s.input)===null||c===void 0||c.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=o}}class T9 extends Nu{constructor(t,r,o,i,s){super(t,r,i),this._isFocused=!1,this._setFocused=h=>{var m;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===h)return;const p=this._element.get();p&&(h?(this._isFocused=!0,(m=this._dummyManager)===null||m===void 0||m.setTabbable(!1),p.dispatchEvent(new FE({element:p}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var w;delete this._setFocusedTimer,this._isFocused=!1,(w=this._dummyManager)===null||w===void 0||w.setTabbable(!0),p.dispatchEvent(new PE({element:p}))},0))},this._onFocusIn=h=>{const m=this._tabster.getParent,p=this._element.get();let w=h.composedPath()[0];do{if(w===p){this._setFocused(!0);return}w=w&&m(w)}while(w)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=o;const c=t.getWindow;this.uid=Td(c,r),this._sys=s,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const f=c().document;f.addEventListener(Nn,this._onFocusIn),f.addEventListener(xu,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new nx(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var t;this._onDispose(this);const r=this._tabster.getWindow(),o=r.document;o.removeEventListener(Nn,this._onFocusIn),o.removeEventListener(xu,this._onFocusOut),this._setFocusedTimer&&(r.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(t=this._dummyManager)===null||t===void 0||t.dispose(),this._remove()}moveOutWithDefaultAction(t,r){const o=this._dummyManager;if(o)o.moveOutWithDefaultAction(t,r);else{const i=this.getElement();i&&nx.moveWithPhantomDummy(this._tabster,i,!0,t,r)}}_add(){}_remove(){}}class Nt{constructor(t,r){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var o;const i=this._win().document,s=i.body;if(s){this._autoRootUnwait(i);const c=this._autoRoot;if(c)return _9(s,{root:c}),f5(this._tabster,s),(o=Ur(this._tabster,s))===null||o===void 0?void 0:o.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,i.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=o=>{delete this._roots[o.id]},this._tabster=t,this._win=t.getWindow,this._autoRoot=r,t.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(t){t.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const t=this._win();this._autoRootUnwait(t.document),delete this._autoRoot,Object.keys(this._roots).forEach(r=>{this._roots[r]&&(this._roots[r].dispose(),delete this._roots[r])}),this.rootById={}}createRoot(t,r,o){const i=new T9(this._tabster,t,this._onRootDispose,r,o);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const t=this._roots;for(const r of Object.keys(t))t[r].addDummyInputs()}static getRootByUId(t,r){const o=t().__tabsterInstance;return o&&o.root.rootById[r]}static getTabsterContext(t,r,o){o===void 0&&(o={});var i,s,c,d;if(!r.ownerDocument)return;const{checkRtl:f,referenceElement:h}=o,m=t.getParent;t.drainInitQueue();let p,w,v,x,y=!1,k,B,_,C,N=h||r;const R={};for(;N&&(!p||f);){const D=Ur(t,N);if(f&&_===void 0){const re=N.dir;re&&(_=re.toLowerCase()==="rtl")}if(!D){N=m(N);continue}const M=N.tagName;(D.uncontrolled||M==="IFRAME"||M==="WEBVIEW")&&t.focusable.isVisible(N)&&(C=N),!x&&(!((i=D.focusable)===null||i===void 0)&&i.excludeFromMover)&&!v&&(y=!0);const I=D.modalizer,G=D.groupper,X=D.mover;!w&&I&&(w=I),!v&&G&&(!w||I)&&(w?(!G.isActive()&&G.getProps().tabbability&&w.userId!==((s=t.modalizer)===null||s===void 0?void 0:s.activeId)&&(w=void 0,v=G),B=G):v=G),!x&&X&&(!w||I)&&(!G||N!==r)&&N.contains(r)&&(x=X,k=!!v&&v!==G),D.root&&(p=D.root),!((c=D.focusable)===null||c===void 0)&&c.ignoreKeydown&&Object.assign(R,D.focusable.ignoreKeydown),N=m(N)}if(!p){const D=t.root;D._autoRoot&&!((d=r.ownerDocument)===null||d===void 0)&&d.body&&(p=D._autoRootCreate())}return v&&!x&&(k=!0),p?{root:p,modalizer:w,groupper:v,mover:x,groupperBeforeMover:k,modalizerInGroupper:B,rtl:f?!!_:void 0,uncontrolled:C,excludedFromMover:y,ignoreKeydown:D=>!!R[D.key]}:void 0}static getRoot(t,r){var o;const i=t.getParent;for(let s=r;s;s=i(s)){const c=(o=Ur(t,s))===null||o===void 0?void 0:o.root;if(c)return c}}onRoot(t,r){r?delete this.rootById[t.uid]:this.rootById[t.uid]=t}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class w5{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(t){const r=this._callbacks;r.indexOf(t)<0&&r.push(t)}subscribeFirst(t){const r=this._callbacks,o=r.indexOf(t);o>=0&&r.splice(o,1),r.unshift(t)}unsubscribe(t){const r=this._callbacks.indexOf(t);r>=0&&this._callbacks.splice(r,1)}setVal(t,r){this._val!==t&&(this._val=t,this._callCallbacks(t,r))}getVal(){return this._val}trigger(t,r){this._callCallbacks(t,r)}_callCallbacks(t,r){this._callbacks.forEach(o=>o(t,r))}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class C9{constructor(t){this._tabster=t}dispose(){}getProps(t){const r=Ur(this._tabster,t);return r&&r.focusable||{}}isFocusable(t,r,o,i){return y5(t,d5)&&(r||t.tabIndex!==-1)?(o||this.isVisible(t))&&(i||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||S9(t))return!1;const r=t.ownerDocument.body.getBoundingClientRect();return!(r.width===0&&r.height===0)}isAccessible(t){var r;for(let o=t;o;o=pe.getParentElement(o)){const i=Ur(this._tabster,o);if(this._isHidden(o)||!((r=i==null?void 0:i.focusable)===null||r===void 0?void 0:r.ignoreAriaDisabled)&&this._isDisabled(o))return!1}return!0}_isDisabled(t){return t.hasAttribute("disabled")}_isHidden(t){var r;const o=t.getAttribute("aria-hidden");return!!(o&&o.toLowerCase()==="true"&&!(!((r=this._tabster.modalizer)===null||r===void 0)&&r.isAugmented(t)))}findFirst(t,r){return this.findElement({...t},r)}findLast(t,r){return this.findElement({isBackward:!0,...t},r)}findNext(t,r){return this.findElement({...t},r)}findPrev(t,r){return this.findElement({...t,isBackward:!0},r)}findDefault(t,r){return this.findElement({...t,acceptCondition:o=>this.isFocusable(o,t.includeProgrammaticallyFocusable)&&!!this.getProps(o).isDefault},r)||null}findAll(t){return this._findElements(!0,t)||[]}findElement(t,r){const o=this._findElements(!1,t,r);return o&&o[0]}_findElements(t,r,o){var i,s,c;const{container:d,currentElement:f=null,includeProgrammaticallyFocusable:h,useActiveModalizer:m,ignoreAccessibility:p,modalizerId:w,isBackward:v,onElement:x}=r;o||(o={});const y=[];let{acceptCondition:k}=r;const B=!!k;if(!d)return null;k||(k=R=>this.isFocusable(R,h,!1,p));const _={container:d,modalizerUserId:w===void 0&&m?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:w||((c=(s=Nt.getTabsterContext(this._tabster,d))===null||s===void 0?void 0:s.modalizer)===null||c===void 0?void 0:c.userId),from:f||d,isBackward:v,isFindAll:t,acceptCondition:k,hasCustomCondition:B,includeProgrammaticallyFocusable:h,ignoreAccessibility:p,cachedGrouppers:{},cachedRadioGroups:{}},C=jp(d.ownerDocument,d,R=>this._acceptElement(R,_));if(!C)return null;const N=R=>{var j,D;const M=(j=_.foundElement)!==null&&j!==void 0?j:_.foundBackward;return M&&y.push(M),t?M&&(_.found=!1,delete _.foundElement,delete _.foundBackward,delete _.fromCtx,_.from=M,x&&!x(M))?!1:!!(M||R):(M&&o&&(o.uncontrolled=(D=Nt.getTabsterContext(this._tabster,M))===null||D===void 0?void 0:D.uncontrolled),!!(R&&!M))};if(f||(o.outOfDOMOrder=!0),f&&pe.nodeContains(d,f))C.currentNode=f;else if(v){const R=x5(d);if(!R)return null;if(this._acceptElement(R,_)===NodeFilter.FILTER_ACCEPT&&!N(!0))return _.skippedFocusable&&(o.outOfDOMOrder=!0),y;C.currentNode=R}do v?C.previousNode():C.nextNode();while(N());return _.skippedFocusable&&(o.outOfDOMOrder=!0),y.length?y:null}_acceptElement(t,r){var o,i,s;if(r.found)return NodeFilter.FILTER_ACCEPT;const c=r.foundBackward;if(c&&(t===c||!pe.nodeContains(c,t)))return r.found=!0,r.foundElement=c,NodeFilter.FILTER_ACCEPT;const d=r.container;if(t===d)return NodeFilter.FILTER_SKIP;if(!pe.nodeContains(d,t)||Pl(t)||pe.nodeContains(r.rejectElementsFrom,t))return NodeFilter.FILTER_REJECT;const f=r.currentCtx=Nt.getTabsterContext(this._tabster,t);if(!f)return NodeFilter.FILTER_SKIP;if(v5(t))return this.isFocusable(t,void 0,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!r.hasCustomCondition&&(t.tagName==="IFRAME"||t.tagName==="WEBVIEW"))return this.isVisible(t)&&((o=f.modalizer)===null||o===void 0?void 0:o.userId)===((i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId)?(r.found=!0,r.rejectElementsFrom=r.foundElement=t,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!r.ignoreAccessibility&&!this.isAccessible(t))return this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,m=r.fromCtx;m||(m=r.fromCtx=Nt.getTabsterContext(this._tabster,r.from));const p=m==null?void 0:m.mover;let w=f.groupper,v=f.mover;if(h=(s=this._tabster.modalizer)===null||s===void 0?void 0:s.acceptElement(t,r),h!==void 0&&(r.skippedFocusable=!0),h===void 0&&(w||v||p)){const x=w==null?void 0:w.getElement(),y=p==null?void 0:p.getElement();let k=v==null?void 0:v.getElement();if(k&&pe.nodeContains(y,k)&&pe.nodeContains(d,y)&&(!x||!v||pe.nodeContains(y,x))&&(v=p,k=y),x){if(x===d||!pe.nodeContains(d,x))w=void 0;else if(!pe.nodeContains(x,t))return NodeFilter.FILTER_REJECT}if(k){if(!pe.nodeContains(d,k))v=void 0;else if(!pe.nodeContains(k,t))return NodeFilter.FILTER_REJECT}w&&v&&(k&&x&&!pe.nodeContains(x,k)?v=void 0:w=void 0),w&&(h=w.acceptElement(t,r)),v&&(h=v.acceptElement(t,r))}if(h===void 0&&(h=r.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!r.found){if(!r.isFindAll&&Kg(t)&&!t.checked){const x=t.name;let y=r.cachedRadioGroups[x];if(y||(y=k9(t),y&&(r.cachedRadioGroups[x]=y)),y!=null&&y.checked&&y.checked!==t)return NodeFilter.FILTER_SKIP}r.isBackward?(r.foundBackward=t,h=NodeFilter.FILTER_SKIP):(r.found=!0,r.foundElement=t)}return h}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const ir={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */function E9(e,t){var r;const o=e.getParent;let i=t;do{const s=(r=Ur(e,i))===null||r===void 0?void 0:r.uncontrolled;if(s&&e.uncontrolled.isUncontrolledCompletely(i,!!s.completely))return i;i=o(i)}while(i)}const ox={[la.Restorer]:0,[la.Deloser]:1,[la.EscapeGroupper]:2};class lr extends w5{constructor(t,r){super(),this._init=()=>{const o=this._win(),i=o.document;i.addEventListener(Nn,this._onFocusIn,!0),i.addEventListener(xu,this._onFocusOut,!0),o.addEventListener("keydown",this._onKeyDown,!0);const s=pe.getActiveElement(i);s&&s!==i.body&&this._setFocusedElement(s),this.subscribe(this._onChanged)},this._onFocusIn=o=>{const i=o.composedPath()[0];i&&this._setFocusedElement(i,o.detail.relatedTarget,o.detail.isFocusedProgrammatically)},this._onFocusOut=o=>{var i;this._setFocusedElement(void 0,(i=o.detail)===null||i===void 0?void 0:i.originalEvent.relatedTarget)},this._validateFocusedElement=o=>{},this._onKeyDown=o=>{if(o.key!==ir.Tab||o.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const s=this._tabster,c=s.controlTab,d=Nt.getTabsterContext(s,i);if(!d||d.ignoreKeydown(o))return;const f=o.shiftKey,h=lr.findNextTabbable(s,d,void 0,i,void 0,f,!0),m=d.root.getElement();if(!m)return;const p=h==null?void 0:h.element,w=E9(s,i);if(p){const v=h.uncontrolled;if(d.uncontrolled||pe.nodeContains(v,i)){if(!h.outOfDOMOrder&&v===d.uncontrolled||w&&!pe.nodeContains(w,p))return;Fl.addPhantomDummyWithTarget(s,i,f,p);return}if(v&&s.focusable.isVisible(v)||p.tagName==="IFRAME"&&s.focusable.isVisible(p)){m.dispatchEvent(new Ja({by:"root",owner:m,next:p,relatedEvent:o}))&&Fl.moveWithPhantomDummy(s,v??p,!1,f,o);return}(c||h!=null&&h.outOfDOMOrder)&&m.dispatchEvent(new Ja({by:"root",owner:m,next:p,relatedEvent:o}))&&(o.preventDefault(),o.stopImmediatePropagation(),Ro(p))}else!w&&m.dispatchEvent(new Ja({by:"root",owner:m,next:null,relatedEvent:o}))&&d.root.moveOutWithDefaultAction(f,o)},this._onChanged=(o,i)=>{var s,c;if(o)o.dispatchEvent(new AE(i));else{const d=(s=this._lastVal)===null||s===void 0?void 0:s.get();if(d){const f={...i},h=Nt.getTabsterContext(this._tabster,d),m=(c=h==null?void 0:h.modalizer)===null||c===void 0?void 0:c.userId;m&&(f.modalizerId=m),d.dispatchEvent(new DE(f))}}},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){super.dispose();const t=this._win(),r=t.document;r.removeEventListener(Nn,this._onFocusIn,!0),r.removeEventListener(xu,this._onFocusOut,!0),t.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const o=this._asyncFocus;o&&(t.clearTimeout(o.timeout),delete this._asyncFocus),delete lr._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,r){var o,i;let s=lr._lastResetElement,c=s&&s.get();c&&pe.nodeContains(r,c)&&delete lr._lastResetElement,c=(i=(o=t._nextVal)===null||o===void 0?void 0:o.element)===null||i===void 0?void 0:i.get(),c&&pe.nodeContains(r,c)&&delete t._nextVal,s=t._lastVal,c=s&&s.get(),c&&pe.nodeContains(r,c)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var t;let r=(t=this._lastVal)===null||t===void 0?void 0:t.get();return(!r||r&&!Op(r.ownerDocument,r))&&(this._lastVal=r=void 0),r}focus(t,r,o,i){return this._tabster.focusable.isFocusable(t,r,!1,o)?(t.focus({preventScroll:i}),!0):!1}focusDefault(t){const r=this._tabster.focusable.findDefault({container:t});return r?(this._tabster.focusedElement.focus(r),!0):!1}getFirstOrLastTabbable(t,r){var o;const{container:i,ignoreAccessibility:s}=r;let c;if(i){const d=Nt.getTabsterContext(this._tabster,i);d&&(c=(o=lr.findNextTabbable(this._tabster,d,i,void 0,void 0,!t,s))===null||o===void 0?void 0:o.element)}return c&&!pe.nodeContains(i,c)&&(c=void 0),c||void 0}_focusFirstOrLast(t,r){const o=this.getFirstOrLastTabbable(t,r);return o?(this.focus(o,!1,!0),!0):!1}focusFirst(t){return this._focusFirstOrLast(!0,t)}focusLast(t){return this._focusFirstOrLast(!1,t)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{const r=t.getAttribute("tabindex"),o=t.getAttribute("aria-hidden");t.tabIndex=-1,t.setAttribute("aria-hidden","true"),lr._lastResetElement=new Tn(this._win,t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,"tabindex",r),this._setOrRemoveAttribute(t,"aria-hidden",o)}return!0}requestAsyncFocus(t,r,o){const i=this._tabster.getWindow(),s=this._asyncFocus;if(s){if(ox[t]>ox[s.source])return;i.clearTimeout(s.timeout)}this._asyncFocus={source:t,callback:r,timeout:i.setTimeout(()=>{this._asyncFocus=void 0,r()},o)}}cancelAsyncFocus(t){const r=this._asyncFocus;(r==null?void 0:r.source)===t&&(this._tabster.getWindow().clearTimeout(r.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(t,r,o){o===null?t.removeAttribute(r):t.setAttribute(r,o)}_setFocusedElement(t,r,o){var i,s;if(this._tabster._noop)return;const c={relatedTarget:r};if(t){const f=(i=lr._lastResetElement)===null||i===void 0?void 0:i.get();if(lr._lastResetElement=void 0,f===t||v5(t))return;c.isFocusedProgrammatically=o;const h=Nt.getTabsterContext(this._tabster,t),m=(s=h==null?void 0:h.modalizer)===null||s===void 0?void 0:s.userId;m&&(c.modalizerId=m)}const d=this._nextVal={element:t?new Tn(this._win,t):void 0,detail:c};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===d&&this.setVal(t,c),this._nextVal=void 0}setVal(t,r){super.setVal(t,r),t&&(this._lastVal=new Tn(this._win,t))}static findNextTabbable(t,r,o,i,s,c,d){const f=o||r.root.getElement();if(!f)return null;let h=null;const m=lr._isTabbingTimer,p=t.getWindow();m&&p.clearTimeout(m),lr.isTabbing=!0,lr._isTabbingTimer=p.setTimeout(()=>{delete lr._isTabbingTimer,lr.isTabbing=!1},0);const w=r.modalizer,v=r.groupper,x=r.mover,y=k=>{if(h=k.findNextTabbable(i,s,c,d),i&&!(h!=null&&h.element)){const B=k!==w&&pe.getParentElement(k.getElement());if(B){const _=Nt.getTabsterContext(t,i,{referenceElement:B});if(_){const C=k.getElement(),N=c?C:C&&x5(C)||C;N&&(h=lr.findNextTabbable(t,_,o,N,B,c,d),h&&(h.outOfDOMOrder=!0))}}}};if(v&&x)y(r.groupperBeforeMover?v:x);else if(v)y(v);else if(x)y(x);else if(w)y(w);else{const k={container:f,currentElement:i,referenceElement:s,ignoreAccessibility:d,useActiveModalizer:!0},B={};h={element:t.focusable[c?"findPrev":"findNext"](k,B),outOfDOMOrder:B.outOfDOMOrder,uncontrolled:B.uncontrolled}}return h}}lr.isTabbing=!1;/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class N9 extends Fl{constructor(t,r,o,i){super(o,t,df.Groupper,i,!0),this._setHandlers((s,c,d)=>{var f,h;const m=t.get(),p=s.input;if(m&&p){const w=Nt.getTabsterContext(o,p);if(w){let v;v=(f=r.findNextTabbable(d||void 0,void 0,c,!0))===null||f===void 0?void 0:f.element,v||(v=(h=lr.findNextTabbable(o,w,void 0,s.isOutside?p:w9(m,!c),void 0,c,!0))===null||h===void 0?void 0:h.element),v&&Ro(v)}}})}}class z9 extends Nu{constructor(t,r,o,i,s){super(t,r,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=o,t.controlTab||(this.dummyManager=new N9(this._element,this,t,s))}dispose(){var t;this._onDispose(this),this._element.get(),(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(t,r,o,i){const s=this.getElement();if(!s)return null;const c=Pl(t)===s;if(!this._shouldTabInside&&t&&pe.nodeContains(s,t)&&!c)return{element:void 0,outOfDOMOrder:!0};const d=this.getFirst(!0);if(!t||!pe.nodeContains(s,t)||c)return{element:d,outOfDOMOrder:!0};const f=this._tabster;let h=null,m=!1,p;if(this._shouldTabInside&&d){const w={container:s,currentElement:t,referenceElement:r,ignoreAccessibility:i,useActiveModalizer:!0},v={};h=f.focusable[o?"findPrev":"findNext"](w,v),m=!!v.outOfDOMOrder,!h&&this._props.tabbability===_d.LimitedTrapFocus&&(h=f.focusable[o?"findLast":"findFirst"]({container:s,ignoreAccessibility:i,useActiveModalizer:!0},v),m=!0),p=v.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:m}}makeTabbable(t){this._shouldTabInside=t||!this._props.tabbability}isActive(t){var r;const o=this.getElement()||null;let i=!0;for(let c=pe.getParentElement(o);c;c=pe.getParentElement(c)){const d=(r=Ur(this._tabster,c))===null||r===void 0?void 0:r.groupper;d&&(d._shouldTabInside||(i=!1))}let s=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(s&&t){const c=this._tabster.focusedElement.getFocusedElement();c&&(s=c!==this.getFirst(!0))}return s}getFirst(t){var r;const o=this.getElement();let i;if(o){if(t&&this._tabster.focusable.isFocusable(o))return o;i=(r=this._first)===null||r===void 0?void 0:r.get(),i||(i=this._tabster.focusable.findFirst({container:o,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(t){t?this._first=new Tn(this._tabster.getWindow,t):delete this._first}acceptElement(t,r){const o=r.cachedGrouppers,i=pe.getParentElement(this.getElement()),s=i&&Nt.getTabsterContext(this._tabster,i),c=s==null?void 0:s.groupper,d=s!=null&&s.groupperBeforeMover?c:void 0;let f;const h=w=>{let v=o[w.id],x;return v?x=v.isActive:(x=this.isActive(!0),v=o[w.id]={isActive:x}),x};if(d&&(f=d.getElement(),!h(d)&&f&&r.container!==f&&pe.nodeContains(r.container,f)))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const m=h(this),p=this.getElement();if(p&&m!==!0){if(p===t&&c&&(f||(f=c.getElement()),f&&!h(c)&&pe.nodeContains(r.container,f)&&f!==r.container)||p!==t&&pe.nodeContains(p,t))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const w=o[this.id];let v;if("first"in w?v=w.first:v=w.first=this.getFirst(!0),v&&r.acceptCondition(v))return r.rejectElementsFrom=p,r.skippedFocusable=!0,v!==r.from?(r.found=!0,r.foundElement=v,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class R9{constructor(t,r){this._current={},this._grouppers={},this._init=()=>{const o=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const i=o.document,s=pe.getActiveElement(i);s&&this._onFocus(s),i.addEventListener("mousedown",this._onMouseDown,!0),o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Gg,this._onMoveFocus)},this._onGroupperDispose=o=>{delete this._grouppers[o.id]},this._onFocus=o=>{o&&this._updateCurrent(o)},this._onMouseDown=o=>{let i=o.target;for(;i&&!this._tabster.focusable.isFocusable(i);)i=this._tabster.getParent(i);i&&this._updateCurrent(i)},this._onKeyDown=o=>{if(o.key!==ir.Enter&&o.key!==ir.Escape||o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,o)},this._onMoveFocus=o=>{var i;const s=o.composedPath()[0],c=(i=o.detail)===null||i===void 0?void 0:i.action;s&&c!==void 0&&!o.defaultPrevented&&(c===Ug.Enter?this._enterGroupper(s):this._escapeGroupper(s),o.stopImmediatePropagation())},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){const t=this._win();this._tabster.focusedElement.cancelAsyncFocus(la.EscapeGroupper),this._current={},this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),t.document.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(Gg,this._onMoveFocus),Object.keys(this._grouppers).forEach(r=>{this._grouppers[r]&&(this._grouppers[r].dispose(),delete this._grouppers[r])})}createGroupper(t,r,o){const i=this._tabster,s=new z9(i,t,this._onGroupperDispose,r,o);this._grouppers[s.id]=s;const c=i.focusedElement.getFocusedElement();return c&&pe.nodeContains(t,c)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,c===i.focusedElement.getFocusedElement()&&this._updateCurrent(c)},0)),s}forgetCurrentGrouppers(){this._current={}}_updateCurrent(t){var r;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o=this._tabster,i={};for(let s=o.getParent(t);s;s=o.getParent(s)){const c=(r=Ur(o,s))===null||r===void 0?void 0:r.groupper;if(c){i[c.id]=!0,this._current[c.id]=c;const d=c.isActive()||t!==s&&(!c.getProps().delegated||c.getFirst(!1)!==t);c.makeTabbable(d)}}for(const s of Object.keys(this._current)){const c=this._current[s];c.id in i||(c.makeTabbable(!1),c.setFirst(void 0),delete this._current[s])}}_enterGroupper(t,r){const o=this._tabster,i=Nt.getTabsterContext(o,t),s=(i==null?void 0:i.groupper)||(i==null?void 0:i.modalizerInGroupper),c=s==null?void 0:s.getElement();if(s&&c&&(t===c||s.getProps().delegated&&t===s.getFirst(!1))){const d=o.focusable.findNext({container:c,currentElement:t,useActiveModalizer:!0});if(d&&(!r||r&&c.dispatchEvent(new Ja({by:"groupper",owner:c,next:d,relatedEvent:r}))))return r&&(r.preventDefault(),r.stopImmediatePropagation()),d.focus(),d}return null}_escapeGroupper(t,r,o){const i=this._tabster,s=Nt.getTabsterContext(i,t);let c=(s==null?void 0:s.groupper)||(s==null?void 0:s.modalizerInGroupper);const d=c==null?void 0:c.getElement();if(c&&d&&pe.nodeContains(d,t)){let f;if(t!==d||o)f=c.getFirst(!0);else{const h=pe.getParentElement(d),m=h?Nt.getTabsterContext(i,h):void 0;c=m==null?void 0:m.groupper,f=c==null?void 0:c.getFirst(!0)}if(f&&(!r||r&&d.dispatchEvent(new Ja({by:"groupper",owner:d,next:f,relatedEvent:r}))))return c&&c.makeTabbable(!1),f.focus(),f}return null}moveFocus(t,r){return r===Ug.Enter?this._enterGroupper(t):this._escapeGroupper(t)}handleKeyPress(t,r,o){const i=this._tabster,s=Nt.getTabsterContext(i,t);if(s&&(s!=null&&s.groupper||s!=null&&s.modalizerInGroupper)){if(i.focusedElement.cancelAsyncFocus(la.EscapeGroupper),s.ignoreKeydown(r))return;if(r.key===ir.Enter)this._enterGroupper(t,r);else if(r.key===ir.Escape){const c=i.focusedElement.getFocusedElement();i.focusedElement.requestAsyncFocus(la.EscapeGroupper,()=>{c!==i.focusedElement.getFocusedElement()&&(o&&!c||!o)||this._escapeGroupper(t,r,o)},0)}}}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class A9 extends w5{constructor(t){super(),this._onChange=r=>{this.setVal(r,void 0)},this._keyborg=uf(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),cf(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(t){var r;(r=this._keyborg)===null||r===void 0||r.setVal(t)}isNavigatingWithKeyboard(){var t;return!!(!((t=this._keyborg)===null||t===void 0)&&t.isNavigatingWithKeyboard())}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */let D9=0;const dm="aria-hidden";class j9 extends Fl{constructor(t,r,o){super(r,t,df.Modalizer,o),this._setHandlers((i,s)=>{var c,d;const f=t.get(),h=f&&((c=Nt.getRoot(r,f))===null||c===void 0?void 0:c.getElement()),m=i.input;let p;if(h&&m){const w=Pl(m),v=Nt.getTabsterContext(r,w||m);v&&(p=(d=lr.findNextTabbable(r,v,h,m,void 0,s,!0))===null||d===void 0?void 0:d.element),p&&Ro(p)}})}}class O9 extends Nu{constructor(t,r,o,i,s,c){super(t,r,i),this._wasFocused=0,this.userId=i.id,this._onDispose=o,this._activeElements=c,t.controlTab||(this.dummyManager=new j9(this._element,t,s))}makeActive(t){if(this._isActive!==t){this._isActive=t;const r=this.getElement();if(r){const o=this._activeElements,i=o.map(s=>s.get()).indexOf(r);t?i<0&&o.push(new Tn(this._tabster.getWindow,r)):i>=0&&o.splice(i,1)}this._dispatchEvent(t)}}focused(t){return t||(this._wasFocused=++D9),this._wasFocused}setProps(t){t.id&&(this.userId=t.id),this._props={...t}}dispose(){var t;this.makeActive(!1),this._onDispose(this),(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(t){return pe.nodeContains(this.getElement(),t)}findNextTabbable(t,r,o,i){var s,c;if(!this.getElement())return null;const f=this._tabster;let h=null,m=!1,p;const w=t&&((s=Nt.getRoot(f,t))===null||s===void 0?void 0:s.getElement());if(w){const v={container:w,currentElement:t,referenceElement:r,ignoreAccessibility:i,useActiveModalizer:!0},x={};h=f.focusable[o?"findPrev":"findNext"](v,x),!h&&this._props.isTrapped&&(!((c=f.modalizer)===null||c===void 0)&&c.activeId)?(h=f.focusable[o?"findLast":"findFirst"]({container:w,ignoreAccessibility:i,useActiveModalizer:!0},x),h===null&&(h=t),m=!0):m=!!x.outOfDOMOrder,p=x.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:m}}_dispatchEvent(t,r){const o=this.getElement();let i=!1;if(o){const s=r?this._activeElements.map(c=>c.get()):[o];for(const c of s)if(c){const d={id:this.userId,element:o},f=t?new ME(d):new qE(d);c.dispatchEvent(f),f.defaultPrevented&&(i=!0)}}return i}_remove(){}}class M9{constructor(t,r,o){this._onModalizerDispose=s=>{const c=s.id,d=s.userId,f=this._parts[d];if(delete this._modalizers[c],f&&(delete f[c],Object.keys(f).length===0)){delete this._parts[d];const h=this._activationHistory,m=[];let p;for(let w=h.length;w--;){const v=h[w];v!==d&&v!==p&&(p=v,(v||m.length>0)&&m.unshift(v))}if(this._activationHistory=m,this.activeId===d){const w=m[0],v=w?Object.values(this._parts[w])[0]:void 0;this.setActive(v)}}},this._onKeyDown=s=>{var c;if(s.key!==ir.Escape)return;const d=this._tabster,f=d.focusedElement.getFocusedElement();if(f){const h=Nt.getTabsterContext(d,f),m=h==null?void 0:h.modalizer;if(h&&!h.groupper&&(m!=null&&m.isActive())&&!h.ignoreKeydown(s)){const p=m.userId;if(p){const w=this._parts[p];if(w){const v=Object.keys(w).map(x=>{var y;const k=w[x],B=k.getElement();let _;return B&&(_=(y=Ur(d,B))===null||y===void 0?void 0:y.groupper),k&&B&&_?{el:B,focusedSince:k.focused(!0)}:{focusedSince:0}}).filter(x=>x.focusedSince>0).sort((x,y)=>x.focusedSince>y.focusedSince?-1:x.focusedSince<y.focusedSince?1:0);if(v.length){const x=v[0].el;x&&((c=d.groupper)===null||c===void 0||c.handleKeyPress(x,s,!0))}}}}}},this._onFocus=(s,c)=>{var d;const f=this._tabster,h=s&&Nt.getTabsterContext(f,s);if(!h||!s)return;const m=this._augMap;for(let x=s;x;x=f.getParent(x))m.has(x)&&(m.delete(x),cm(f,x,dm));let p=h.modalizer;const w=Ur(f,s),v=w==null?void 0:w.modalizer;if(v&&(v.focused(),v.userId===this.activeId&&w.groupper)){const x=f.getParent(s),y=x&&((d=Nt.getTabsterContext(f,x))===null||d===void 0?void 0:d.modalizer);if(y)p=y;else{this.setActive(void 0);return}}if(p==null||p.focused(),(p==null?void 0:p.userId)===this.activeId){this.currentIsOthersAccessible=p==null?void 0:p.getProps().isOthersAccessible;return}if(c.isFocusedProgrammatically||this.currentIsOthersAccessible||p!=null&&p.getProps().isAlwaysAccessible)this.setActive(p);else{const x=this._win();x.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=x.setTimeout(()=>this._restoreModalizerFocus(s),100)}},this._tabster=t,this._win=t.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=r,this._accessibleCheck=o,this._activationHistory=[],this.activeElements=[],t.controlTab||t.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),t.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const t=this._win();t.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(r=>{this._modalizers[r]&&(this._modalizers[r].dispose(),delete this._modalizers[r])}),t.clearTimeout(this._restoreModalizerFocusTimer),t.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(t,r,o){var i;const s=new O9(this._tabster,t,this._onModalizerDispose,r,o,this.activeElements),c=s.id,d=r.id;this._modalizers[c]=s;let f=this._parts[d];f||(f=this._parts[d]={}),f[c]=s;const h=(i=this._tabster.focusedElement.getFocusedElement())!==null&&i!==void 0?i:null;return t!==h&&pe.nodeContains(t,h)&&(d!==this.activeId?this.setActive(s):s.makeActive(!0)),s}isAugmented(t){return this._augMap.has(t)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(t){const r=t==null?void 0:t.userId,o=this.activeId;if(o===r)return;if(this.activeId=r,o){const s=this._parts[o];if(s)for(const c of Object.keys(s))s[c].makeActive(!1)}if(r){const s=this._parts[r];if(s)for(const c of Object.keys(s))s[c].makeActive(!0)}this.currentIsOthersAccessible=t==null?void 0:t.getProps().isOthersAccessible,this.hiddenUpdate();const i=this._activationHistory;i[0]!==r&&(r!==void 0||i.length>0)&&i.unshift(r)}focus(t,r,o){const i=this._tabster,s=Nt.getTabsterContext(i,t),c=s==null?void 0:s.modalizer;if(c){this.setActive(c);const d=c.getProps(),f=c.getElement();if(f){if(r===void 0&&(r=d.isNoFocusFirst),!r&&i.keyboardNavigation.isNavigatingWithKeyboard()&&i.focusedElement.focusFirst({container:f})||(o===void 0&&(o=d.isNoFocusDefault),!o&&i.focusedElement.focusDefault(f)))return!0;i.focusedElement.resetFocus(f)}}return!1}activate(t){var r;const o=t?(r=Nt.getTabsterContext(this._tabster,t))===null||r===void 0?void 0:r.modalizer:void 0;return!t||o?(this.setActive(o),!0):!1}acceptElement(t,r){var o;const i=r.modalizerUserId,s=(o=r.currentCtx)===null||o===void 0?void 0:o.modalizer;if(i)for(const d of this.activeElements){const f=d.get();if(f&&(pe.nodeContains(t,f)||f===t))return NodeFilter.FILTER_SKIP}const c=i===(s==null?void 0:s.userId)||!i&&(s!=null&&s.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return c!==void 0&&(r.skippedFocusable=!0),c}_hiddenUpdate(){var t;const r=this._tabster,o=r.getWindow().document.body,i=this.activeId,s=this._parts,c=[],d=[],f=this._alwaysAccessibleSelector,h=f?Array.from(pe.querySelectorAll(o,f)):[],m=[];for(const B of Object.keys(s)){const _=s[B];for(const C of Object.keys(_)){const N=_[C],R=N.getElement(),D=N.getProps().isAlwaysAccessible;R&&(B===i?(m.push(R),this.currentIsOthersAccessible||c.push(R)):D?h.push(R):d.push(R))}}const p=this._augMap,w=c.length>0?[...c,...h]:void 0,v=[],x=new WeakMap,y=(B,_)=>{var C;const N=B.tagName;if(N==="SCRIPT"||N==="STYLE")return;let R=!1;p.has(B)?_?R=!0:(p.delete(B),cm(r,B,dm)):_&&!(!((C=this._accessibleCheck)===null||C===void 0)&&C.call(this,B,m))&&cm(r,B,dm,"true")&&(p.set(B,!0),R=!0),R&&(v.push(new Tn(r.getWindow,B)),x.set(B,!0))},k=B=>{var _;for(let C=pe.getFirstElementChild(B);C;C=pe.getNextElementSibling(C)){let N=!1,R=!1,j=!1;if(w){const D=r.getParent(C);for(const M of w){if(C===M){N=!0;break}if(pe.nodeContains(C,M)){R=!0;break}else pe.nodeContains(M,D)&&(j=!0)}R||!((_=C.__tabsterElementFlags)===null||_===void 0)&&_.noDirectAriaHidden?k(C):!N&&!j&&y(C,!0)}else y(C,!1)}};w||h.forEach(B=>y(B,!1)),d.forEach(B=>y(B,!0)),o&&k(o),(t=this._aug)===null||t===void 0||t.map(B=>B.get()).forEach(B=>{B&&!x.get(B)&&y(B,!1)}),this._aug=v,this._augMap=x}_restoreModalizerFocus(t){var r;const o=t==null?void 0:t.ownerDocument;if(!t||!o)return;const i=this._tabster.focusedElement.getFocusedElement(),s=i&&((r=Nt.getTabsterContext(this._tabster,i))===null||r===void 0?void 0:r.modalizer);if(!i||i&&(s==null?void 0:s.userId)===this.activeId)return;const c=this._tabster,d=Nt.getTabsterContext(c,t),f=d==null?void 0:d.modalizer,h=this.activeId;if(!f&&!h||f&&h===f.userId)return;const m=d==null?void 0:d.root.getElement();if(m){let p=c.focusable.findFirst({container:m,useActiveModalizer:!0});if(p){if(t.compareDocumentPosition(p)&document.DOCUMENT_POSITION_PRECEDING&&(p=c.focusable.findLast({container:m,useActiveModalizer:!0}),!p))throw new Error("Something went wrong.");c.focusedElement.focus(p);return}}t.blur()}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const q9=["input","textarea","*[contenteditable]"].join(", ");class F9 extends Fl{constructor(t,r,o,i){super(r,t,df.Mover,i),this._onFocusDummyInput=s=>{var c,d;const f=this._element.get(),h=s.input;if(f&&h){const m=Nt.getTabsterContext(this._tabster,f);let p;m&&(p=(c=lr.findNextTabbable(this._tabster,m,void 0,h,void 0,!s.isFirst,!0))===null||c===void 0?void 0:c.element);const w=(d=this._getMemorized())===null||d===void 0?void 0:d.get();w&&this._tabster.focusable.isFocusable(w)&&(p=w),p&&Ro(p)}},this._tabster=r,this._getMemorized=o,this._setHandlers(this._onFocusDummyInput)}}const fm=1,ax=2,ix=3;class P9 extends Nu{constructor(t,r,o,i,s){var c;super(t,r,i),this._visible={},this._onIntersection=f=>{for(const h of f){const m=h.target,p=Td(this._win,m);let w,v=this._fullyVisible;if(h.intersectionRatio>=.25?(w=h.intersectionRatio>=.75?Wa.Visible:Wa.PartiallyVisible,w===Wa.Visible&&(v=p)):w=Wa.Invisible,this._visible[p]!==w){w===void 0?(delete this._visible[p],v===p&&delete this._fullyVisible):(this._visible[p]=w,this._fullyVisible=v);const x=this.getState(m);x&&m.dispatchEvent(new Q2(x))}}},this._win=t.getWindow,this.visibilityTolerance=(c=i.visibilityTolerance)!==null&&c!==void 0?c:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=o;const d=()=>i.memorizeCurrent?this._current:void 0;t.controlTab||(this.dummyManager=new F9(this._element,t,d,s))}dispose(){var t;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const r=this._win();this._setCurrentTimer&&(r.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(r.clearTimeout(this._updateTimer),delete this._updateTimer),(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager}setCurrent(t){t?this._current=new Tn(this._win,t):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var r;delete this._setCurrentTimer;const o=[];this._current!==this._prevCurrent&&(o.push(this._current),o.push(this._prevCurrent),this._prevCurrent=this._current);for(const i of o){const s=i==null?void 0:i.get();if(s&&((r=this._allElements)===null||r===void 0?void 0:r.get(s))===this){const c=this._props;if(s&&(c.visibilityAware!==void 0||c.trackState)){const d=this.getState(s);d&&s.dispatchEvent(new Q2(d))}}}}))}getCurrent(){var t;return((t=this._current)===null||t===void 0?void 0:t.get())||null}findNextTabbable(t,r,o,i){const s=this.getElement(),c=s&&Pl(t)===s;if(!s)return null;let d=null,f=!1,h;if(this._props.tabbable||c||t&&!pe.nodeContains(s,t)){const m={currentElement:t,referenceElement:r,container:s,ignoreAccessibility:i,useActiveModalizer:!0},p={};d=this._tabster.focusable[o?"findPrev":"findNext"](m,p),f=!!p.outOfDOMOrder,h=p.uncontrolled}return{element:d,uncontrolled:h,outOfDOMOrder:f}}acceptElement(t,r){var o,i;if(!lr.isTabbing)return!((o=r.currentCtx)===null||o===void 0)&&o.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:s,visibilityAware:c,hasDefault:d=!0}=this._props,f=this.getElement();if(f&&(s||c||d)&&(!pe.nodeContains(f,r.from)||Pl(r.from)===f)){let h;if(s){const m=(i=this._current)===null||i===void 0?void 0:i.get();m&&r.acceptCondition(m)&&(h=m)}if(!h&&d&&(h=this._tabster.focusable.findDefault({container:f,useActiveModalizer:!0})),!h&&c&&(h=this._tabster.focusable.findElement({container:f,useActiveModalizer:!0,isBackward:r.isBackward,acceptCondition:m=>{var p;const w=Td(this._win,m),v=this._visible[w];return f!==m&&!!(!((p=this._allElements)===null||p===void 0)&&p.get(m))&&r.acceptCondition(m)&&(v===Wa.Visible||v===Wa.PartiallyVisible&&(c===Wa.PartiallyVisible||!this._fullyVisible))}})),h)return r.found=!0,r.foundElement=h,r.rejectElementsFrom=f,r.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const t=this.getElement();if(this._unobserve||!t||typeof MutationObserver>"u")return;const r=this._win(),o=this._allElements=new WeakMap,i=this._tabster.focusable;let s=this._updateQueue=[];const c=pe.createMutationObserver(v=>{for(const x of v){const y=x.target,k=x.removedNodes,B=x.addedNodes;if(x.type==="attributes")x.attributeName==="tabindex"&&s.push({element:y,type:ax});else{for(let _=0;_<k.length;_++)s.push({element:k[_],type:ix});for(let _=0;_<B.length;_++)s.push({element:B[_],type:fm})}}p()}),d=(v,x)=>{var y,k;const B=o.get(v);B&&x&&((y=this._intersectionObserver)===null||y===void 0||y.unobserve(v),o.delete(v)),!B&&!x&&(o.set(v,this),(k=this._intersectionObserver)===null||k===void 0||k.observe(v))},f=v=>{const x=i.isFocusable(v);o.get(v)?x||d(v,!0):x&&d(v)},h=v=>{const{mover:x}=w(v);if(x&&x!==this)if(x.getElement()===v&&i.isFocusable(v))d(v);else return;const y=jp(r.document,v,k=>{const{mover:B,groupper:_}=w(k);if(B&&B!==this)return NodeFilter.FILTER_REJECT;const C=_==null?void 0:_.getFirst(!0);return _&&_.getElement()!==k&&C&&C!==k?NodeFilter.FILTER_REJECT:(i.isFocusable(k)&&d(k),NodeFilter.FILTER_SKIP)});if(y)for(y.currentNode=v;y.nextNode(););},m=v=>{o.get(v)&&d(v,!0);for(let y=pe.getFirstElementChild(v);y;y=pe.getNextElementSibling(y))m(y)},p=()=>{!this._updateTimer&&s.length&&(this._updateTimer=r.setTimeout(()=>{delete this._updateTimer;for(const{element:v,type:x}of s)switch(x){case ax:f(v);break;case fm:h(v);break;case ix:m(v);break}s=this._updateQueue=[]},0))},w=v=>{const x={};for(let y=v;y;y=pe.getParentElement(y)){const k=Ur(this._tabster,y);if(k&&(k.groupper&&!x.groupper&&(x.groupper=k.groupper),k.mover)){x.mover=k.mover;break}}return x};s.push({element:t,type:fm}),p(),c.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{c.disconnect()}}getState(t){const r=Td(this._win,t);if(r in this._visible){const o=this._visible[r]||Wa.Invisible;return{isCurrent:this._current?this._current.get()===t:void 0,visibility:o}}}}function I9(e,t,r,o,i,s,c,d){const f=r<i?i-r:c<e?e-c:0,h=o<s?s-o:d<t?t-d:0;return f===0?h:h===0?f:Math.sqrt(f*f+h*h)}class L9{constructor(t,r){this._init=()=>{const o=this._win();o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Wg,this._onMoveFocus),o.addEventListener(Z2,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=o=>{delete this._movers[o.id]},this._onFocus=o=>{var i;let s=o,c=o;for(let d=pe.getParentElement(o);d;d=pe.getParentElement(d)){const f=(i=Ur(this._tabster,d))===null||i===void 0?void 0:i.mover;f&&(f.setCurrent(c),s=void 0),!s&&this._tabster.focusable.isFocusable(d)&&(s=c=d)}},this._onKeyDown=async o=>{var i;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(i=this._ignoredInputResolve)===null||i===void 0||i.call(this,!1),o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const s=o.key;let c;if(s===ir.ArrowDown?c=ar.ArrowDown:s===ir.ArrowRight?c=ar.ArrowRight:s===ir.ArrowUp?c=ar.ArrowUp:s===ir.ArrowLeft?c=ar.ArrowLeft:s===ir.PageDown?c=ar.PageDown:s===ir.PageUp?c=ar.PageUp:s===ir.Home?c=ar.Home:s===ir.End&&(c=ar.End),!c)return;const d=this._tabster.focusedElement.getFocusedElement();!d||await this._isIgnoredInput(d,s)||this._moveFocus(d,c,o)},this._onMoveFocus=o=>{var i;const s=o.composedPath()[0],c=(i=o.detail)===null||i===void 0?void 0:i.key;s&&c!==void 0&&!o.defaultPrevented&&(this._moveFocus(s,c),o.stopImmediatePropagation())},this._onMemorizedElement=o=>{var i;const s=o.composedPath()[0];let c=(i=o.detail)===null||i===void 0?void 0:i.memorizedElement;if(s){const d=Nt.getTabsterContext(this._tabster,s),f=d==null?void 0:d.mover;f&&(c&&!pe.nodeContains(f.getElement(),c)&&(c=void 0),f.setCurrent(c),o.stopImmediatePropagation())}},this._tabster=t,this._win=r,this._movers={},t.queueInit(this._init)}dispose(){var t;const r=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(t=this._ignoredInputResolve)===null||t===void 0||t.call(this,!1),this._ignoredInputTimer&&(r.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),r.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener(Wg,this._onMoveFocus),r.removeEventListener(Z2,this._onMemorizedElement),Object.keys(this._movers).forEach(o=>{this._movers[o]&&(this._movers[o].dispose(),delete this._movers[o])})}createMover(t,r,o){const i=new P9(this._tabster,t,this._onMoverDispose,r,o);return this._movers[i.id]=i,i}moveFocus(t,r){return this._moveFocus(t,r)}_moveFocus(t,r,o){var i,s;const c=this._tabster,d=Nt.getTabsterContext(c,t,{checkRtl:!0});if(!d||!d.mover||d.excludedFromMover||o&&d.ignoreKeydown(o))return null;const f=d.mover,h=f.getElement();if(d.groupperBeforeMover){const M=d.groupper;if(M&&!M.isActive(!0)){for(let I=pe.getParentElement(M.getElement());I&&I!==h;I=pe.getParentElement(I))if(!((s=(i=Ur(c,I))===null||i===void 0?void 0:i.groupper)===null||s===void 0)&&s.isActive(!0))return null}else return null}if(!h)return null;const m=c.focusable,p=f.getProps(),w=p.direction||so.Both,v=w===so.Both,x=v||w===so.Vertical,y=v||w===so.Horizontal,k=w===so.GridLinear,B=k||w===so.Grid,_=p.cyclic;let C,N,R,j=0,D=0;if(B&&(R=t.getBoundingClientRect(),j=Math.ceil(R.left),D=Math.floor(R.right)),d.rtl&&(r===ar.ArrowRight?r=ar.ArrowLeft:r===ar.ArrowLeft&&(r=ar.ArrowRight)),r===ar.ArrowDown&&x||r===ar.ArrowRight&&(y||B))if(C=m.findNext({currentElement:t,container:h,useActiveModalizer:!0}),C&&B){const M=Math.ceil(C.getBoundingClientRect().left);!k&&D>M&&(C=void 0)}else!C&&_&&(C=m.findFirst({container:h,useActiveModalizer:!0}));else if(r===ar.ArrowUp&&x||r===ar.ArrowLeft&&(y||B))if(C=m.findPrev({currentElement:t,container:h,useActiveModalizer:!0}),C&&B){const M=Math.floor(C.getBoundingClientRect().right);!k&&M>j&&(C=void 0)}else!C&&_&&(C=m.findLast({container:h,useActiveModalizer:!0}));else if(r===ar.Home)B?m.findElement({container:h,currentElement:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:M=>{var I;if(!m.isFocusable(M))return!1;const G=Math.ceil((I=M.getBoundingClientRect().left)!==null&&I!==void 0?I:0);return M!==t&&j<=G?!0:(C=M,!1)}}):C=m.findFirst({container:h,useActiveModalizer:!0});else if(r===ar.End)B?m.findElement({container:h,currentElement:t,useActiveModalizer:!0,acceptCondition:M=>{var I;if(!m.isFocusable(M))return!1;const G=Math.ceil((I=M.getBoundingClientRect().left)!==null&&I!==void 0?I:0);return M!==t&&j>=G?!0:(C=M,!1)}}):C=m.findLast({container:h,useActiveModalizer:!0});else if(r===ar.PageUp){if(m.findElement({currentElement:t,container:h,useActiveModalizer:!0,isBackward:!0,acceptCondition:M=>m.isFocusable(M)?tx(this._win,M,f.visibilityTolerance)?(C=M,!1):!0:!1}),B&&C){const M=Math.ceil(C.getBoundingClientRect().left);m.findElement({currentElement:C,container:h,useActiveModalizer:!0,acceptCondition:I=>{if(!m.isFocusable(I))return!1;const G=Math.ceil(I.getBoundingClientRect().left);return j<G||M>=G?!0:(C=I,!1)}})}N=!1}else if(r===ar.PageDown){if(m.findElement({currentElement:t,container:h,useActiveModalizer:!0,acceptCondition:M=>m.isFocusable(M)?tx(this._win,M,f.visibilityTolerance)?(C=M,!1):!0:!1}),B&&C){const M=Math.ceil(C.getBoundingClientRect().left);m.findElement({currentElement:C,container:h,useActiveModalizer:!0,isBackward:!0,acceptCondition:I=>{if(!m.isFocusable(I))return!1;const G=Math.ceil(I.getBoundingClientRect().left);return j>G||M<=G?!0:(C=I,!1)}})}N=!0}else if(B){const M=r===ar.ArrowUp,I=j,G=Math.ceil(R.top),X=D,re=Math.floor(R.bottom);let ue,ne,fe=0;m.findAll({container:h,currentElement:t,isBackward:M,onElement:O=>{const W=O.getBoundingClientRect(),L=Math.ceil(W.left),Z=Math.ceil(W.top),se=Math.floor(W.right),A=Math.floor(W.bottom);if(M&&G<A||!M&&re>Z)return!0;const U=Math.ceil(Math.min(X,se))-Math.floor(Math.max(I,L)),ae=Math.ceil(Math.min(X-I,se-L));if(U>0&&ae>=U){const me=U/ae;me>fe&&(ue=O,fe=me)}else if(fe===0){const me=I9(I,G,X,re,L,Z,se,A);(ne===void 0||me<ne)&&(ne=me,ue=O)}else if(fe>0)return!1;return!0}}),C=ue}return C&&(!o||o&&h.dispatchEvent(new Ja({by:"mover",owner:h,next:C,relatedEvent:o})))?(N!==void 0&&h9(this._win,C,N),o&&(o.preventDefault(),o.stopImmediatePropagation()),Ro(C),C):null}async _isIgnoredInput(t,r){if(t.getAttribute("aria-expanded")==="true"&&t.hasAttribute("aria-activedescendant"))return!0;if(y5(t,q9)){let o=0,i=0,s=0,c;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"){const d=t.type;if(s=(t.value||"").length,d==="email"||d==="number"){if(s){const h=pe.getSelection(t);if(h){const m=h.toString().length,p=r===ir.ArrowLeft||r===ir.ArrowUp;if(h.modify("extend",p?"backward":"forward","character"),m!==h.toString().length)return h.modify("extend",p?"forward":"backward","character"),!0;s=0}}}else{const h=t.selectionStart;if(h===null)return d==="hidden";o=h||0,i=t.selectionEnd||0}}else t.contentEditable==="true"&&(c=new(p9(this._win))(d=>{this._ignoredInputResolve=v=>{delete this._ignoredInputResolve,d(v)};const f=this._win();this._ignoredInputTimer&&f.clearTimeout(this._ignoredInputTimer);const{anchorNode:h,focusNode:m,anchorOffset:p,focusOffset:w}=pe.getSelection(t)||{};this._ignoredInputTimer=f.setTimeout(()=>{var v,x,y;delete this._ignoredInputTimer;const{anchorNode:k,focusNode:B,anchorOffset:_,focusOffset:C}=pe.getSelection(t)||{};if(k!==h||B!==m||_!==p||C!==w){(v=this._ignoredInputResolve)===null||v===void 0||v.call(this,!1);return}if(o=_||0,i=C||0,s=((x=t.textContent)===null||x===void 0?void 0:x.length)||0,k&&B&&pe.nodeContains(t,k)&&pe.nodeContains(t,B)&&k!==t){let N=!1;const R=j=>{if(j===k)N=!0;else if(j===B)return!0;const D=j.textContent;if(D&&!pe.getFirstChild(j)){const I=D.length;N?B!==k&&(i+=I):(o+=I,i+=I)}let M=!1;for(let I=pe.getFirstChild(j);I&&!M;I=I.nextSibling)M=R(I);return M};R(t)}(y=this._ignoredInputResolve)===null||y===void 0||y.call(this,!0)},0)}));if(c&&!await c||o!==i||o>0&&(r===ir.ArrowLeft||r===ir.ArrowUp||r===ir.Home)||o<s&&(r===ir.ArrowRight||r===ir.ArrowDown||r===ir.End))return!0}return!1}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */function H9(e,t,r,o){if(typeof MutationObserver>"u")return()=>{};const i=t.getWindow;let s;const c=m=>{var p,w,v,x,y;const k=new Set;for(const B of m){const _=B.target,C=B.removedNodes,N=B.addedNodes;if(B.type==="attributes")B.attributeName===Kn&&(k.has(_)||r(t,_));else{for(let R=0;R<C.length;R++){const j=C[R];k.add(j),d(j,!0),(w=(p=t._dummyObserver).domChanged)===null||w===void 0||w.call(p,_)}for(let R=0;R<N.length;R++)d(N[R]),(x=(v=t._dummyObserver).domChanged)===null||x===void 0||x.call(v,_)}}k.clear(),(y=t.modalizer)===null||y===void 0||y.hiddenUpdate()};function d(m,p){s||(s=ha(i).elementByUId),f(m,p);const w=jp(e,m,v=>f(v,p));if(w)for(;w.nextNode(););}function f(m,p){var w;if(!m.getAttribute)return NodeFilter.FILTER_SKIP;const v=m.__tabsterElementUID;return v&&s&&(p?delete s[v]:(w=s[v])!==null&&w!==void 0||(s[v]=new Tn(i,m))),(Ur(t,m)||m.hasAttribute(Kn))&&r(t,m,p),NodeFilter.FILTER_SKIP}const h=pe.createMutationObserver(c);return o&&d(i().document.body),h.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Kn]}),()=>{h.disconnect()}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class U9{constructor(t){this._isUncontrolledCompletely=t}isUncontrolledCompletely(t,r){var o;const i=(o=this._isUncontrolledCompletely)===null||o===void 0?void 0:o.call(this,t,r);return i===void 0?r:i}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class V9 extends Nu{constructor(t,r,o){var i;if(super(t,r,o),this._hasFocus=!1,this._onFocusOut=s=>{var c;const d=(c=this._element)===null||c===void 0?void 0:c.get();d&&s.relatedTarget===null&&d.dispatchEvent(new J2),d&&!pe.nodeContains(d,s.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===Ai.Source){const s=(i=this._element)===null||i===void 0?void 0:i.get();s==null||s.addEventListener("focusout",this._onFocusOut),s==null||s.addEventListener("focusin",this._onFocusIn),this._hasFocus=pe.nodeContains(s,s&&pe.getActiveElement(s.ownerDocument))}}dispose(){var t;if(this._props.type===Ai.Source){const r=(t=this._element)===null||t===void 0?void 0:t.get();r==null||r.removeEventListener("focusout",this._onFocusOut),r==null||r.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new J2)}}}class ff{constructor(t){this._stack=[],this._getWindow=t}push(t){var r;((r=this._stack[this._stack.length-1])===null||r===void 0?void 0:r.get())!==t&&(this._stack.length>ff.DEPTH&&this._stack.shift(),this._stack.push(new Tn(this._getWindow,t)))}pop(t){t===void 0&&(t=()=>!0);var r;const o=this._getWindow().document;for(let i=this._stack.length-1;i>=0;i--){const s=(r=this._stack.pop())===null||r===void 0?void 0:r.get();if(s&&pe.nodeContains(o.body,pe.getParentElement(s))&&t(s))return s}}}ff.DEPTH=10;class W9{constructor(t){this._onRestoreFocus=r=>{var o,i;this._focusedElementState.cancelAsyncFocus(la.Restorer);const s=r.composedPath()[0];if(s){const c=(i=(o=Ur(this._tabster,s))===null||o===void 0?void 0:o.restorer)===null||i===void 0?void 0:i.getProps().id;this._focusedElementState.requestAsyncFocus(la.Restorer,()=>this._restoreFocus(s,c),0)}},this._onFocusIn=r=>{var o;if(!r)return;const i=Ur(this._tabster,r);((o=i==null?void 0:i.restorer)===null||o===void 0?void 0:o.getProps().type)===Ai.Target&&this._history.push(r)},this._restoreFocus=(r,o)=>{var i;const s=this._getWindow().document;if(pe.getActiveElement(s)!==s.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&pe.nodeContains(s.body,r))return;const c=d=>{var f,h;const m=(h=(f=Ur(this._tabster,d))===null||f===void 0?void 0:f.restorer)===null||h===void 0?void 0:h.getProps();return m?m.id:null};(i=this._history.pop(d=>o===c(d)))===null||i===void 0||i.focus()},this._tabster=t,this._getWindow=t.getWindow,this._getWindow().addEventListener($g,this._onRestoreFocus),this._history=new ff(this._getWindow),this._keyboardNavState=t.keyboardNavigation,this._focusedElementState=t.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const t=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(la.Restorer),t.removeEventListener($g,this._onRestoreFocus)}createRestorer(t,r){const o=new V9(this._tabster,t,r);return r.type===Ai.Target&&pe.getActiveElement(t.ownerDocument)===t&&this._history.push(t),o}}/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class G9{constructor(t){this.keyboardNavigation=t.keyboardNavigation,this.focusedElement=t.focusedElement,this.focusable=t.focusable,this.root=t.root,this.uncontrolled=t.uncontrolled,this.core=t}}class $9{constructor(t,r){var o,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.4",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=c9(t),this._win=t;const s=this.getWindow;r!=null&&r.DOMAPI&&l9({...r.DOMAPI}),this.keyboardNavigation=new A9(s),this.focusedElement=new lr(this,s),this.focusable=new C9(this),this.root=new Nt(this,r==null?void 0:r.autoRoot),this.uncontrolled=new U9((r==null?void 0:r.checkUncontrolledCompletely)||(r==null?void 0:r.checkUncontrolledTrappingFocus)),this.controlTab=(o=r==null?void 0:r.controlTab)!==null&&o!==void 0?o:!0,this.rootDummyInputs=!!(r!=null&&r.rootDummyInputs),this._dummyObserver=new y9(s),this.getParent=(i=r==null?void 0:r.getParent)!==null&&i!==void 0?i:pe.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:c=>{if(!this._unobserve){const d=s().document;this._unobserve=H9(d,this,f5,c)}}},g5(s),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(t){var r;t&&(this.getParent=(r=t.getParent)!==null&&r!==void 0?r:this.getParent)}createTabster(t,r){const o=new G9(this);return t||this._wrappers.add(o),this._mergeProps(r),o}disposeTabster(t,r){r?this._wrappers.clear():this._wrappers.delete(t),this._wrappers.size===0&&this.dispose()}dispose(){var t,r,o,i,s,c,d,f;this.internal.stopObserver();const h=this._win;h==null||h.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],h&&this._forgetMemorizedTimer&&(h.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(t=this.outline)===null||t===void 0||t.dispose(),(r=this.crossOrigin)===null||r===void 0||r.dispose(),(o=this.deloser)===null||o===void 0||o.dispose(),(i=this.groupper)===null||i===void 0||i.dispose(),(s=this.mover)===null||s===void 0||s.dispose(),(c=this.modalizer)===null||c===void 0||c.dispose(),(d=this.observedElement)===null||d===void 0||d.dispose(),(f=this.restorer)===null||f===void 0||f.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),f9(this.getWindow),rx(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(u9(h),delete h.__tabsterInstance,delete this._win)}storageEntry(t,r){const o=this._storage;let i=o.get(t);return i?r===!1&&Object.keys(i).length===0&&o.delete(t):r===!0&&(i={},o.set(t,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let t=this._forgetMemorizedElements.shift();t;t=this._forgetMemorizedElements.shift())rx(this.getWindow,t),lr.forgetMemorized(this.focusedElement,t)},0),m5(this.getWindow,!0)))}queueInit(t){var r;this._win&&(this._initQueue.push(t),this._initTimer||(this._initTimer=(r=this._win)===null||r===void 0?void 0:r.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const t=this._initQueue;this._initQueue=[],t.forEach(r=>r())}}function X9(e,t){let r=Q9(e);return r?r.createTabster(!1,t):(r=new $9(e,t),e.__tabsterInstance=r,r.createTabster())}function K9(e){const t=e.core;return t.groupper||(t.groupper=new R9(t,t.getWindow)),t.groupper}function Y9(e){const t=e.core;return t.mover||(t.mover=new L9(t,t.getWindow)),t.mover}function S5(e,t,r){const o=e.core;return o.modalizer||(o.modalizer=new M9(o,t,r)),o.modalizer}function k5(e){const t=e.core;return t.restorer||(t.restorer=new W9(t)),t.restorer}function Z9(e,t){e.core.disposeTabster(e,t)}function Q9(e){return e.__tabsterInstance}const J9=e=>e;function eN(e){const t=(e==null?void 0:e.defaultView)||void 0,r=t==null?void 0:t.__tabsterShadowDOMAPI;if(t)return X9(t,{autoRoot:{},controlTab:!1,getParent:i5,checkUncontrolledTrappingFocus:o=>{var i;return!!(!((i=o.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:r})}function qi(e=J9){const{targetDocument:t}=St(),r=S.useRef(null);return jr(()=>{const o=eN(t);if(o)return r.current=e(o),()=>{Z9(o),r.current=null}},[t,e]),r}const wu=e=>{qi();const t=Mp(e,!0);return S.useMemo(()=>({[Kn]:t}),[t])},ri=(e={})=>{const{circular:t,axis:r,memorizeCurrent:o=!0,tabbable:i,ignoreDefaultKeydown:s,unstable_hasDefault:c}=e;return qi(Y9),wu({mover:{cyclic:!!t,direction:tN(r??"vertical"),memorizeCurrent:o,tabbable:i,hasDefault:c},...s&&{focusable:{ignoreKeydown:s}}})};function tN(e){switch(e){case"horizontal":return so.Horizontal;case"grid":return so.Grid;case"grid-linear":return so.GridLinear;case"both":return so.Both;case"vertical":default:return so.Vertical}}const hf=e=>(qi(K9),wu({groupper:{tabbability:rN(e==null?void 0:e.tabBehavior)},focusable:{ignoreKeydown:e==null?void 0:e.ignoreDefaultKeydown}})),rN=e=>{switch(e){case"unlimited":return _d.Unlimited;case"limited":return _d.Limited;case"limited-trap-focus":return _d.LimitedTrapFocus;default:return}},ma=()=>{const e=qi(),{targetDocument:t}=St(),r=S.useCallback((d,f)=>{var h;return((h=e.current)===null||h===void 0?void 0:h.focusable.findAll({container:d,acceptCondition:f}))||[]},[e]),o=S.useCallback(d=>{var f;return(f=e.current)===null||f===void 0?void 0:f.focusable.findFirst({container:d})},[e]),i=S.useCallback(d=>{var f;return(f=e.current)===null||f===void 0?void 0:f.focusable.findLast({container:d})},[e]),s=S.useCallback((d,f={})=>{if(!e.current||!t)return null;const{container:h=t.body}=f;return e.current.focusable.findNext({currentElement:d,container:h})},[e,t]),c=S.useCallback((d,f={})=>{if(!e.current||!t)return null;const{container:h=t.body}=f;return e.current.focusable.findPrev({currentElement:d,container:h})},[e,t]);return{findAllFocusable:r,findFirstFocusable:o,findLastFocusable:i,findNextFocusable:s,findPrevFocusable:c}},lx="data-fui-focus-visible",B5="data-fui-focus-within";function nN(e,t){if(_5(e))return()=>{};const r={current:void 0},o=uf(t);function i(f){o.isNavigatingWithKeyboard()&&Zt(f)&&(r.current=f,f.setAttribute(lx,""))}function s(){r.current&&(r.current.removeAttribute(lx),r.current=void 0)}o.subscribe(f=>{f||s()});const c=f=>{s();const h=f.composedPath()[0];i(h)},d=f=>{(!f.relatedTarget||Zt(f.relatedTarget)&&!e.contains(f.relatedTarget))&&s()};return e.addEventListener(Nn,c),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{s(),e.removeEventListener(Nn,c),e.removeEventListener("focusout",d),delete e.focusVisible,cf(o)}}function _5(e){return e?e.focusVisible?!0:_5(e==null?void 0:e.parentElement):!1}function qp(e={}){const t=St(),r=S.useRef(null);var o;const i=(o=e.targetDocument)!==null&&o!==void 0?o:t.targetDocument;return S.useEffect(()=>{if(i!=null&&i.defaultView&&r.current)return nN(r.current,i.defaultView)},[r,i]),r}function oN(e,t){const r=uf(t);r.subscribe(s=>{s||sx(e)});const o=s=>{r.isNavigatingWithKeyboard()&&ux(s.target)&&aN(e)},i=s=>{(!s.relatedTarget||ux(s.relatedTarget)&&!e.contains(s.relatedTarget))&&sx(e)};return e.addEventListener(Nn,o),e.addEventListener("focusout",i),()=>{e.removeEventListener(Nn,o),e.removeEventListener("focusout",i),cf(r)}}function aN(e){e.setAttribute(B5,"")}function sx(e){e.removeAttribute(B5)}function ux(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Kl(){const{targetDocument:e}=St(),t=S.useRef(null);return S.useEffect(()=>{if(e!=null&&e.defaultView&&t.current)return oN(t.current,e.defaultView)},[t,e]),t}function iN(){const{targetDocument:e}=St(),t=S.useRef(null);return S.useEffect(()=>{const r=e==null?void 0:e.defaultView;if(r){const o=uf(r);return t.current=o,()=>{cf(o),t.current=null}}},[e]),t}const lN="data-tabster-never-hide",sN=e=>e.hasAttribute(lN);function uN(e){S5(e,void 0,sN),k5(e)}const Fi=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:o}=e;qi(uN);const i=hn("modal-",e.id),s=wu({restorer:{type:Ai.Source},...t&&{modalizer:{id:i,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:o&&t}}}),c=wu({restorer:{type:Ai.Target}});return{modalAttributes:s,triggerAttributes:c}},cN=(...e)=>{"use no memo";const t=e.reduce((r,o)=>(o!=null&&o[Kn]&&r.push(o[Kn]),r),[]);return S.useMemo(()=>({[Kn]:t.length>0?t.reduce(dN):void 0}),t)},dN=(e,t)=>JSON.stringify(Object.assign(cx(e),cx(t))),cx=e=>{try{return JSON.parse(e)}catch{return{}}};function fN(){return qi(k5),Mp({restorer:{type:Ai.Source}})}function hN(){const e=iN();return S.useCallback(()=>{var t,r;return(r=(t=e.current)===null||t===void 0?void 0:t.isNavigatingWithKeyboard())!==null&&r!==void 0?r:!1},[e])}function mN(){const e=qi(S5),[t]=Xl();return S.useCallback(o=>{t(()=>{var i;(i=e.current)===null||i===void 0||i.activate(o)},0)},[e,t])}const de={4:"#0a0a0a",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"},Xr={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)"},Vn={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)"},gN={50:"rgba(26, 26, 26, 0.5)"},pN={70:"rgba(31, 31, 31, 0.7)"},dx={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Ve="#ffffff",Yg="#000000",bN={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},T5={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},vN={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},yN={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},xN={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},wN={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},SN={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},kN={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},BN={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},_N={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},TN={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},CN={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},EN={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},NN={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},zN={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},C5={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},RN={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},AN={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},DN={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},jN={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},ON={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},MN={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},qN={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},FN={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},PN={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},IN={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},LN={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},HN={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},UN={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},VN={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},WN={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},GN={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},$N={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},XN={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},KN={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},YN={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},vt={red:vN,green:C5,darkOrange:yN,yellow:BN,berry:HN,lightGreen:zN,marigold:kN},ei={darkRed:bN,cranberry:T5,pumpkin:xN,peach:SN,gold:_N,brass:TN,brown:CN,forest:EN,seafoam:NN,darkGreen:RN,lightTeal:AN,teal:DN,steel:jN,blue:ON,royalBlue:MN,cornflower:qN,navy:FN,lavender:PN,purple:IN,grape:LN,lilac:UN,pink:VN,magenta:WN,plum:GN,beige:$N,mink:XN,platinum:KN,anchor:YN},mt={cranberry:T5,green:C5,orange:wN},E5=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],N5=["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"],mn={success:"green",warning:"orange",danger:"cranberry"},zu=E5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:vt[t].tint60,[`colorPalette${r}Background2`]:vt[t].tint40,[`colorPalette${r}Background3`]:vt[t].primary,[`colorPalette${r}Foreground1`]:vt[t].shade10,[`colorPalette${r}Foreground2`]:vt[t].shade30,[`colorPalette${r}Foreground3`]:vt[t].primary,[`colorPalette${r}BorderActive`]:vt[t].primary,[`colorPalette${r}Border1`]:vt[t].tint40,[`colorPalette${r}Border2`]:vt[t].primary};return Object.assign(e,o)},{});zu.colorPaletteYellowForeground1=vt.yellow.shade30;zu.colorPaletteRedForegroundInverted=vt.red.tint20;zu.colorPaletteGreenForegroundInverted=vt.green.tint20;zu.colorPaletteYellowForegroundInverted=vt.yellow.tint40;const ZN=N5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:ei[t].tint40,[`colorPalette${r}Foreground2`]:ei[t].shade30,[`colorPalette${r}BorderActive`]:ei[t].primary};return Object.assign(e,o)},{}),QN={...zu,...ZN},Yl=Object.entries(mn).reduce((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${o}Background1`]:mt[r].tint60,[`colorStatus${o}Background2`]:mt[r].tint40,[`colorStatus${o}Background3`]:mt[r].primary,[`colorStatus${o}Foreground1`]:mt[r].shade10,[`colorStatus${o}Foreground2`]:mt[r].shade30,[`colorStatus${o}Foreground3`]:mt[r].primary,[`colorStatus${o}ForegroundInverted`]:mt[r].tint30,[`colorStatus${o}BorderActive`]:mt[r].primary,[`colorStatus${o}Border1`]:mt[r].tint40,[`colorStatus${o}Border2`]:mt[r].primary};return Object.assign(e,i)},{});Yl.colorStatusDangerBackground3Hover=mt[mn.danger].shade10;Yl.colorStatusDangerBackground3Pressed=mt[mn.danger].shade20;Yl.colorStatusWarningForeground1=mt[mn.warning].shade20;Yl.colorStatusWarningForeground3=mt[mn.warning].shade20;Yl.colorStatusWarningBorder2=mt[mn.warning].shade20;const JN=e=>({colorNeutralForeground1:de[14],colorNeutralForeground1Hover:de[14],colorNeutralForeground1Pressed:de[14],colorNeutralForeground1Selected:de[14],colorNeutralForeground2:de[26],colorNeutralForeground2Hover:de[14],colorNeutralForeground2Pressed:de[14],colorNeutralForeground2Selected:de[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:de[38],colorNeutralForeground3Hover:de[26],colorNeutralForeground3Pressed:de[26],colorNeutralForeground3Selected:de[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:de[44],colorNeutralForegroundDisabled:de[74],colorNeutralForegroundInvertedDisabled:Xr[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:de[26],colorNeutralForeground2LinkHover:de[14],colorNeutralForeground2LinkPressed:de[14],colorNeutralForeground2LinkSelected:de[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:de[14],colorNeutralForegroundStaticInverted:Ve,colorNeutralForegroundInverted:Ve,colorNeutralForegroundInvertedHover:Ve,colorNeutralForegroundInvertedPressed:Ve,colorNeutralForegroundInvertedSelected:Ve,colorNeutralForegroundInverted2:Ve,colorNeutralForegroundOnBrand:Ve,colorNeutralForegroundInvertedLink:Ve,colorNeutralForegroundInvertedLinkHover:Ve,colorNeutralForegroundInvertedLinkPressed:Ve,colorNeutralForegroundInvertedLinkSelected:Ve,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Ve,colorNeutralBackground1Hover:de[96],colorNeutralBackground1Pressed:de[88],colorNeutralBackground1Selected:de[92],colorNeutralBackground2:de[98],colorNeutralBackground2Hover:de[94],colorNeutralBackground2Pressed:de[86],colorNeutralBackground2Selected:de[90],colorNeutralBackground3:de[96],colorNeutralBackground3Hover:de[92],colorNeutralBackground3Pressed:de[84],colorNeutralBackground3Selected:de[88],colorNeutralBackground4:de[94],colorNeutralBackground4Hover:de[98],colorNeutralBackground4Pressed:de[96],colorNeutralBackground4Selected:Ve,colorNeutralBackground5:de[92],colorNeutralBackground5Hover:de[96],colorNeutralBackground5Pressed:de[94],colorNeutralBackground5Selected:de[98],colorNeutralBackground6:de[90],colorNeutralBackgroundInverted:de[16],colorNeutralBackgroundStatic:de[20],colorNeutralBackgroundAlpha:Xr[50],colorNeutralBackgroundAlpha2:Xr[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:de[96],colorSubtleBackgroundPressed:de[88],colorSubtleBackgroundSelected:de[92],colorSubtleBackgroundLightAlphaHover:Xr[70],colorSubtleBackgroundLightAlphaPressed:Xr[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vn[10],colorSubtleBackgroundInvertedPressed:Vn[30],colorSubtleBackgroundInvertedSelected:Vn[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:de[94],colorNeutralBackgroundInvertedDisabled:Xr[10],colorNeutralStencil1:de[90],colorNeutralStencil2:de[98],colorNeutralStencil1Alpha:Vn[10],colorNeutralStencil2Alpha:Vn[5],colorBackgroundOverlay:Vn[40],colorScrollbarOverlay:Vn[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:Ve,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:de[98],colorNeutralCardBackgroundHover:Ve,colorNeutralCardBackgroundPressed:de[96],colorNeutralCardBackgroundSelected:de[92],colorNeutralCardBackgroundDisabled:de[94],colorNeutralStrokeAccessible:de[38],colorNeutralStrokeAccessibleHover:de[34],colorNeutralStrokeAccessiblePressed:de[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:de[82],colorNeutralStroke1Hover:de[78],colorNeutralStroke1Pressed:de[70],colorNeutralStroke1Selected:de[74],colorNeutralStroke2:de[88],colorNeutralStroke3:de[94],colorNeutralStrokeSubtle:de[88],colorNeutralStrokeOnBrand:Ve,colorNeutralStrokeOnBrand2:Ve,colorNeutralStrokeOnBrand2Hover:Ve,colorNeutralStrokeOnBrand2Pressed:Ve,colorNeutralStrokeOnBrand2Selected:Ve,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:de[88],colorNeutralStrokeInvertedDisabled:Xr[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Vn[5],colorNeutralStrokeAlpha2:Xr[20],colorStrokeFocus1:Ve,colorStrokeFocus2:Yg,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)"}),z5={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},R5={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)"},A5={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},D5={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},j5={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},O5={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Fp={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"},sr={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},M5={spacingHorizontalNone:sr.none,spacingHorizontalXXS:sr.xxs,spacingHorizontalXS:sr.xs,spacingHorizontalSNudge:sr.sNudge,spacingHorizontalS:sr.s,spacingHorizontalMNudge:sr.mNudge,spacingHorizontalM:sr.m,spacingHorizontalL:sr.l,spacingHorizontalXL:sr.xl,spacingHorizontalXXL:sr.xxl,spacingHorizontalXXXL:sr.xxxl},q5={spacingVerticalNone:sr.none,spacingVerticalXXS:sr.xxs,spacingVerticalXS:sr.xs,spacingVerticalSNudge:sr.sNudge,spacingVerticalS:sr.s,spacingVerticalMNudge:sr.mNudge,spacingVerticalM:sr.m,spacingVerticalL:sr.l,spacingVerticalXL:sr.xl,spacingVerticalXXL:sr.xxl,spacingVerticalXXXL:sr.xxxl},F5={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},F={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorSubtleBackground:"var(--colorSubtleBackground)",colorTransparentBackground:"var(--colorTransparentBackground)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightSemibold:"var(--fontWeightSemibold)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase400:"var(--lineHeightBase400)",shadow4:"var(--shadow4)",shadow16:"var(--shadow16)",shadow64:"var(--shadow64)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",durationUltraFast:"var(--durationUltraFast)",durationNormal:"var(--durationNormal)",curveAccelerateMid:"var(--curveAccelerateMid)",curveDecelerateMid:"var(--curveDecelerateMid)"};function Fd(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const e7=e=>{const t=JN(e);return{...z5,...D5,...j5,...Fp,...O5,...F5,...M5,...q5,...A5,...R5,...t,...QN,...Yl,...Fd(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Fd(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},P5={10:"#2b2b40",20:"#2f2f4a",30:"#333357",40:"#383966",50:"#3d3e78",60:"#444791",70:"#4f52b2",80:"#5b5fc7",90:"#7579eb",100:"#7f85f5",110:"#9299f7",120:"#aab1fa",130:"#b6bcfa",140:"#c5cbfa",150:"#dce0fa",160:"#e8ebfa"},I5={...Fp,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},t7={...e7(P5),...I5},jo=E5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:vt[t].shade40,[`colorPalette${r}Background2`]:vt[t].shade30,[`colorPalette${r}Background3`]:vt[t].primary,[`colorPalette${r}Foreground1`]:vt[t].tint30,[`colorPalette${r}Foreground2`]:vt[t].tint40,[`colorPalette${r}Foreground3`]:vt[t].tint20,[`colorPalette${r}BorderActive`]:vt[t].tint30,[`colorPalette${r}Border1`]:vt[t].primary,[`colorPalette${r}Border2`]:vt[t].tint20};return Object.assign(e,o)},{});jo.colorPaletteRedForeground3=vt.red.tint30;jo.colorPaletteRedBorder2=vt.red.tint30;jo.colorPaletteGreenForeground3=vt.green.tint40;jo.colorPaletteGreenBorder2=vt.green.tint40;jo.colorPaletteDarkOrangeForeground3=vt.darkOrange.tint30;jo.colorPaletteDarkOrangeBorder2=vt.darkOrange.tint30;jo.colorPaletteRedForegroundInverted=vt.red.primary;jo.colorPaletteGreenForegroundInverted=vt.green.primary;jo.colorPaletteYellowForegroundInverted=vt.yellow.shade30;const Pp=N5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:ei[t].shade30,[`colorPalette${r}Foreground2`]:ei[t].tint40,[`colorPalette${r}BorderActive`]:ei[t].tint30};return Object.assign(e,o)},{});Pp.colorPaletteDarkRedBackground2=ei.darkRed.shade20;Pp.colorPalettePlumBackground2=ei.plum.shade20;const r7={...jo,...Pp},oi=Object.entries(mn).reduce((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${o}Background1`]:mt[r].shade40,[`colorStatus${o}Background2`]:mt[r].shade30,[`colorStatus${o}Background3`]:mt[r].primary,[`colorStatus${o}Foreground1`]:mt[r].tint30,[`colorStatus${o}Foreground2`]:mt[r].tint40,[`colorStatus${o}Foreground3`]:mt[r].tint20,[`colorStatus${o}BorderActive`]:mt[r].tint30,[`colorStatus${o}ForegroundInverted`]:mt[r].shade10,[`colorStatus${o}Border1`]:mt[r].primary,[`colorStatus${o}Border2`]:mt[r].tint20};return Object.assign(e,i)},{});oi.colorStatusDangerBackground3Hover=mt[mn.danger].shade10;oi.colorStatusDangerBackground3Pressed=mt[mn.danger].shade20;oi.colorStatusDangerForeground3=mt[mn.danger].tint40;oi.colorStatusDangerBorder2=mt[mn.danger].tint30;oi.colorStatusSuccessForeground3=mt[mn.success].tint40;oi.colorStatusSuccessBorder2=mt[mn.success].tint40;oi.colorStatusWarningForegroundInverted=mt[mn.warning].shade20;const n7=e=>({colorNeutralForeground1:Ve,colorNeutralForeground1Hover:Ve,colorNeutralForeground1Pressed:Ve,colorNeutralForeground1Selected:Ve,colorNeutralForeground2:de[84],colorNeutralForeground2Hover:Ve,colorNeutralForeground2Pressed:Ve,colorNeutralForeground2Selected:Ve,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:de[68],colorNeutralForeground3Hover:de[84],colorNeutralForeground3Pressed:de[84],colorNeutralForeground3Selected:de[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:de[60],colorNeutralForegroundDisabled:de[36],colorNeutralForegroundInvertedDisabled:Xr[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:de[84],colorNeutralForeground2LinkHover:Ve,colorNeutralForeground2LinkPressed:Ve,colorNeutralForeground2LinkSelected:Ve,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:de[14],colorNeutralForegroundStaticInverted:Ve,colorNeutralForegroundInverted:de[14],colorNeutralForegroundInvertedHover:de[14],colorNeutralForegroundInvertedPressed:de[14],colorNeutralForegroundInvertedSelected:de[14],colorNeutralForegroundInverted2:de[14],colorNeutralForegroundOnBrand:Ve,colorNeutralForegroundInvertedLink:Ve,colorNeutralForegroundInvertedLinkHover:Ve,colorNeutralForegroundInvertedLinkPressed:Ve,colorNeutralForegroundInvertedLinkSelected:Ve,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:de[16],colorNeutralBackground1Hover:de[24],colorNeutralBackground1Pressed:de[12],colorNeutralBackground1Selected:de[22],colorNeutralBackground2:de[14],colorNeutralBackground2Hover:de[22],colorNeutralBackground2Pressed:de[10],colorNeutralBackground2Selected:de[20],colorNeutralBackground3:de[12],colorNeutralBackground3Hover:de[20],colorNeutralBackground3Pressed:de[8],colorNeutralBackground3Selected:de[18],colorNeutralBackground4:de[8],colorNeutralBackground4Hover:de[16],colorNeutralBackground4Pressed:de[4],colorNeutralBackground4Selected:de[14],colorNeutralBackground5:de[4],colorNeutralBackground5Hover:de[12],colorNeutralBackground5Pressed:Yg,colorNeutralBackground5Selected:de[10],colorNeutralBackground6:de[20],colorNeutralBackgroundInverted:Ve,colorNeutralBackgroundStatic:de[24],colorNeutralBackgroundAlpha:gN[50],colorNeutralBackgroundAlpha2:pN[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:de[22],colorSubtleBackgroundPressed:de[18],colorSubtleBackgroundSelected:de[20],colorSubtleBackgroundLightAlphaHover:dx[80],colorSubtleBackgroundLightAlphaPressed:dx[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vn[10],colorSubtleBackgroundInvertedPressed:Vn[30],colorSubtleBackgroundInvertedSelected:Vn[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:de[8],colorNeutralBackgroundInvertedDisabled:Xr[10],colorNeutralStencil1:de[34],colorNeutralStencil2:de[20],colorNeutralStencil1Alpha:Xr[10],colorNeutralStencil2Alpha:Xr[5],colorBackgroundOverlay:Vn[50],colorScrollbarOverlay:Xr[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:Ve,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:de[20],colorNeutralCardBackgroundHover:de[24],colorNeutralCardBackgroundPressed:de[18],colorNeutralCardBackgroundSelected:de[22],colorNeutralCardBackgroundDisabled:de[8],colorNeutralStrokeAccessible:de[68],colorNeutralStrokeAccessibleHover:de[74],colorNeutralStrokeAccessiblePressed:de[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:de[40],colorNeutralStroke1Hover:de[46],colorNeutralStroke1Pressed:de[42],colorNeutralStroke1Selected:de[44],colorNeutralStroke2:de[32],colorNeutralStroke3:de[24],colorNeutralStrokeSubtle:de[4],colorNeutralStrokeOnBrand:de[16],colorNeutralStrokeOnBrand2:Ve,colorNeutralStrokeOnBrand2Hover:Ve,colorNeutralStrokeOnBrand2Pressed:Ve,colorNeutralStrokeOnBrand2Selected:Ve,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[90],colorCompoundBrandStrokeHover:e[100],colorCompoundBrandStrokePressed:e[80],colorNeutralStrokeDisabled:de[26],colorNeutralStrokeInvertedDisabled:Xr[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Xr[10],colorNeutralStrokeAlpha2:Xr[20],colorStrokeFocus1:Yg,colorStrokeFocus2:Ve,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)"}),o7=e=>{const t=n7(e);return{...z5,...D5,...j5,...Fp,...O5,...F5,...M5,...q5,...A5,...R5,...t,...r7,...oi,...Fd(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Fd(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},a7={...o7(P5),...I5},L5={root:"fui-FluentProvider"},i7=jS({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);}"]}),l7=e=>{"use no memo";const t=$l(),r=i7({dir:e.dir,renderer:t});return e.root.className=J(L5.root,e.themeClassName,r.root,e.root.className),e},s7=S.useInsertionEffect?S.useInsertionEffect:jr,u7=(e,t)=>{if(!(e!=null&&e.head))return;const r=e.createElement("style");return Object.keys(t).forEach(o=>{r.setAttribute(o,t[o])}),e.head.appendChild(r),r},c7=(e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))},d7=e=>{"use no memo";const{targetDocument:t,theme:r,rendererAttributes:o}=e,i=S.useRef(),s=hn(L5.root),c=o,d=S.useMemo(()=>JT(`.${s}`,r),[r,s]);return f7(t,s),s7(()=>{const f=t==null?void 0:t.getElementById(s);return f?i.current=f:(i.current=u7(t,{...c,id:s}),i.current&&c7(i.current,d)),()=>{var h;(h=i.current)===null||h===void 0||h.remove()}},[s,t,d,c]),{styleTagId:s,rule:d}};function f7(e,t){S.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}const h7={},m7={},g7=(e,t)=>{"use no memo";const r=St(),o=p7(),i=WS(),s=S.useContext(Rp)||h7,{applyStylesToPortals:c=!0,customStyleHooks_unstable:d,dir:f=r.dir,targetDocument:h=r.targetDocument,theme:m,overrides_unstable:p={}}=e,w=hm(o,m),v=hm(i,p),x=hm(s,d),y=$l();var k;const{styleTagId:B,rule:_}=d7({theme:w,targetDocument:h,rendererAttributes:(k=y.styleElementAttributes)!==null&&k!==void 0?k:m7});return{applyStylesToPortals:c,customStyleHooks_unstable:x,dir:f,targetDocument:h,theme:w,overrides_unstable:v,themeClassName:B,components:{root:"div"},root:je(ct("div",{...e,dir:f,ref:Br(t,qp({targetDocument:h}))}),{elementType:"div"}),serverStyleProps:{cssRule:_,attributes:{...y.styleElementAttributes,id:B}}}};function hm(e,t){return e&&t?{...e,...t}:e||t}function p7(){return S.useContext(IS)}function b7(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:o,root:i,targetDocument:s,theme:c,themeClassName:d,overrides_unstable:f}=e,h=S.useMemo(()=>({dir:o,targetDocument:s}),[o,s]),[m]=S.useState(()=>({})),p=S.useMemo(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:r,overrides_unstable:f,provider:h,textDirection:o,iconDirection:p,tooltip:m,theme:c,themeClassName:t?i.className:d}}const H5=S.forwardRef((e,t)=>{const r=g7(e,t);l7(r);const o=b7(r);return gE(r,o)});H5.displayName="FluentProvider";var mm={exports:{}},gm={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var fx;function v7(){return fx||(fx=1,function(e){function t(L,Z){var se=L.length;L.push(Z);e:for(;0<se;){var A=se-1>>>1,U=L[A];if(0<i(U,Z))L[A]=Z,L[se]=U,se=A;else break e}}function r(L){return L.length===0?null:L[0]}function o(L){if(L.length===0)return null;var Z=L[0],se=L.pop();if(se!==Z){L[0]=se;e:for(var A=0,U=L.length,ae=U>>>1;A<ae;){var me=2*(A+1)-1,Te=L[me],Ae=me+1,Le=L[Ae];if(0>i(Te,se))Ae<U&&0>i(Le,Te)?(L[A]=Le,L[Ae]=se,A=Ae):(L[A]=Te,L[me]=se,A=me);else if(Ae<U&&0>i(Le,se))L[A]=Le,L[Ae]=se,A=Ae;else break e}}return Z}function i(L,Z){var se=L.sortIndex-Z.sortIndex;return se!==0?se:L.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],h=[],m=1,p=null,w=3,v=!1,x=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(L){for(var Z=r(h);Z!==null;){if(Z.callback===null)o(h);else if(Z.startTime<=L)o(h),Z.sortIndex=Z.expirationTime,t(f,Z);else break;Z=r(h)}}function N(L){if(y=!1,C(L),!x)if(r(f)!==null)x=!0,O(R);else{var Z=r(h);Z!==null&&W(N,Z.startTime-L)}}function R(L,Z){x=!1,y&&(y=!1,B(M),M=-1),v=!0;var se=w;try{for(C(Z),p=r(f);p!==null&&(!(p.expirationTime>Z)||L&&!X());){var A=p.callback;if(typeof A=="function"){p.callback=null,w=p.priorityLevel;var U=A(p.expirationTime<=Z);Z=e.unstable_now(),typeof U=="function"?p.callback=U:p===r(f)&&o(f),C(Z)}else o(f);p=r(f)}if(p!==null)var ae=!0;else{var me=r(h);me!==null&&W(N,me.startTime-Z),ae=!1}return ae}finally{p=null,w=se,v=!1}}var j=!1,D=null,M=-1,I=5,G=-1;function X(){return!(e.unstable_now()-G<I)}function re(){if(D!==null){var L=e.unstable_now();G=L;var Z=!0;try{Z=D(!0,L)}finally{Z?ue():(j=!1,D=null)}}else j=!1}var ue;if(typeof _=="function")ue=function(){_(re)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,fe=ne.port2;ne.port1.onmessage=re,ue=function(){fe.postMessage(null)}}else ue=function(){k(re,0)};function O(L){D=L,j||(j=!0,ue())}function W(L,Z){M=k(function(){L(e.unstable_now())},Z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_continueExecution=function(){x||v||(x=!0,O(R))},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(f)},e.unstable_next=function(L){switch(w){case 1:case 2:case 3:var Z=3;break;default:Z=w}var se=w;w=Z;try{return L()}finally{w=se}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(L,Z){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var se=w;w=L;try{return Z()}finally{w=se}},e.unstable_scheduleCallback=function(L,Z,se){var A=e.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?A+se:A):se=A,L){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=se+U,L={id:m++,callback:Z,priorityLevel:L,startTime:se,expirationTime:U,sortIndex:-1},se>A?(L.sortIndex=se,t(h,L),r(f)===null&&L===r(h)&&(y?(B(M),M=-1):y=!0,W(N,se-A))):(L.sortIndex=U,t(f,L),x||v||(x=!0,O(R))),L},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(L){var Z=w;return function(){var se=w;w=Z;try{return L.apply(this,arguments)}finally{w=se}}}}(gm)),gm}var hx;function y7(){return hx||(hx=1,mm.exports=v7()),mm.exports}var mx=y7();const x7=e=>r=>{const o=S.useRef(r.value),i=S.useRef(0),s=S.useRef();return s.current||(s.current={value:o,version:i,listeners:[]}),jr(()=>{o.current=r.value,i.current+=1,mx.unstable_runWithPriority(mx.unstable_NormalPriority,()=>{s.current.listeners.forEach(c=>{c([i.current,r.value])})})},[r.value]),S.createElement(e,{value:s.current},r.children)},Zl=e=>{const t=S.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=x7(t.Provider),delete t.Consumer,t},Ql=(e,t)=>{const r=S.useContext(e),{value:{current:o},version:{current:i},listeners:s}=r,c=t(o),[d,f]=S.useState([o,c]),h=p=>{f(w=>{if(!p)return[o,c];if(p[0]<=i)return Object.is(w[1],c)?w:[o,c];try{if(Object.is(w[0],p[1]))return w;const v=t(p[1]);return Object.is(w[1],v)?w:[p[1],v]}catch{}return[w[0],w[1]]})};Object.is(d[1],c)||h(void 0);const m=ke(h);return jr(()=>(s.push(m),()=>{const p=s.indexOf(m);s.splice(p,1)}),[m,s]),d[1]};function Ip(e){const t=S.useContext(e);return t.version?t.version.current!==-1:!1}const w7="Shift",zl="Enter",Ya=" ",U5="Tab",Lp="ArrowDown",Hp="ArrowLeft",mf="ArrowRight",V5="ArrowUp",S7="End",k7="Home",B7="Delete",Pi="Escape";function Di(e,t){const{disabled:r,disabledFocusable:o=!1,["aria-disabled"]:i,onClick:s,onKeyDown:c,onKeyUp:d,...f}=t??{},h=typeof i=="string"?i==="true":i,m=r||o||h,p=ke(x=>{m?(x.preventDefault(),x.stopPropagation()):s==null||s(x)}),w=ke(x=>{if(c==null||c(x),x.isDefaultPrevented())return;const y=x.key;if(m&&(y===zl||y===Ya)){x.preventDefault(),x.stopPropagation();return}if(y===Ya){x.preventDefault();return}else y===zl&&(x.preventDefault(),x.currentTarget.click())}),v=ke(x=>{if(d==null||d(x),x.isDefaultPrevented())return;const y=x.key;if(m&&(y===zl||y===Ya)){x.preventDefault(),x.stopPropagation();return}y===Ya&&(x.preventDefault(),x.currentTarget.click())});if(e==="button"||e===void 0)return{...f,disabled:r&&!o,"aria-disabled":o?!0:h,onClick:o?void 0:p,onKeyUp:o?void 0:d,onKeyDown:o?void 0:c};{const x=!!f.href;let y=x?void 0:"button";!y&&m&&(y="link");const k={role:y,tabIndex:o||!x&&!r?0:void 0,...f,onClick:p,onKeyUp:v,onKeyDown:w,"aria-disabled":m};return e==="a"&&m&&(k.href=void 0),k}}const _7=xe({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),W5=(e,t)=>{const{title:r,primaryFill:o="currentColor",...i}=e,s={...i,title:void 0,fill:o},c=_7(),d=mE();return s.className=J(c.root,(t==null?void 0:t.flipInRtl)&&(d==null?void 0:d.textDirection)==="rtl"&&c.rtl,s.className),r&&(s["aria-label"]=r),!s["aria-label"]&&!s["aria-labelledby"]?s["aria-hidden"]=!0:s.role="img",s},Ne=(e,t,r,o)=>{const i=t==="1em"?"20":t,s=S.forwardRef((c,d)=>{const f={...W5(c,{flipInRtl:o==null?void 0:o.flipInRtl}),ref:d,width:t,height:t,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return S.createElement("svg",f,...r.map(h=>S.createElement("path",{d:h,fill:f.fill})))});return s.displayName=e,s},T7=Ne("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),C7=Ne("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),E7=Ne("AttachRegular","1em",["m4.83 10.48 5.65-5.65a3 3 0 0 1 4.25 4.24L8 15.8a1.5 1.5 0 0 1-2.12-2.12l6-6.01a.5.5 0 1 0-.7-.71l-6 6.01a2.5 2.5 0 0 0 3.53 3.54l6.71-6.72a4 4 0 1 0-5.65-5.66L4.12 9.78a.5.5 0 0 0 .7.7Z"]),N7=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"]),z7=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"]),R7=Ne("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),A7=Ne("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),D7=Ne("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),j7=Ne("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),G5=Ne("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),O7=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"]),M7=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"]),q7=Ne("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),F7=Ne("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]),P7=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"]),I7=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"]),L7=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"]),H7=Ne("Info12Filled","12",["M11 6A5 5 0 1 1 1 6a5 5 0 0 1 10 0Zm-5.5.5V8a.5.5 0 0 0 1 0V6.5a.5.5 0 0 0-1 0ZM6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),U7=Ne("Info12Regular","12",["M5.5 6.5a.5.5 0 0 1 1 0V8a.5.5 0 0 1-1 0V6.5ZM6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),V7=Ne("Info16Filled","16",["M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 5.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm.5 1.25a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0v-3Z"]),W7=Ne("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),G7=Ne("Info20Filled","20",["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"]),$7=Ne("Info20Regular","20",["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"]),gx=Ne("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),px=Ne("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),X7=Ne("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),K7=Ne("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),Y7=Ne("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),Z7=Ne("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),bx=Ne("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),vx=Ne("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),yx=Ne("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),Q7=Ne("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),J7=Ne("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),xx=Ne("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),wx=Ne("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),ez=Ne("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),tz=Ne("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),Sx=Ne("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),kx=Ne("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),rz=Ne("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),nz=Ne("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Bx=Ne("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),_x=Ne("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),Tx=Ne("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),oz=Ne("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),az=Ne("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),iz=Ne("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),lz=Ne("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Cx=Ne("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),Ex=Ne("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),Nx=Ne("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),sz=Ne("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),uz=Ne("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),zx=Ne("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Rx=Ne("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),cz=Ne("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),dz=Ne("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Ax=Ne("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),Dx=Ne("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),fz=Ne("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),hz=Ne("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),jx=Ne("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),mz=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"]),gz=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"]),pz="fui-Icon-filled",bz="fui-Icon-regular",vz="fui-Icon-font",yz=xe({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),Vr=(e,t)=>{const r=o=>{const{className:i,filled:s,...c}=o,d=yz();return S.createElement(S.Fragment,null,S.createElement(e,Object.assign({},c,{className:J(d.root,s&&d.visible,pz,i)})),S.createElement(t,Object.assign({},c,{className:J(d.root,!s&&d.visible,bz,i)})))};return r.displayName="CompoundIcon",r},xz={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},wz={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)"},kr={...xz,...wz};function Sz(e){if(e.playState==="running"){var t;if(e.overallProgress!==void 0){var r;const d=(r=e.overallProgress)!==null&&r!==void 0?r:0;return d>0&&d<1}var o;const s=Number((o=e.currentTime)!==null&&o!==void 0?o:0);var i;const c=Number((i=(t=e.effect)===null||t===void 0?void 0:t.getTiming().duration)!==null&&i!==void 0?i:0);return s>0&&s<c}return!1}const kz={fill:"forwards"},Bz={duration:1};function _z(){var e;const t=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return S.useCallback((r,o,i)=>{const s=Array.isArray(o)?o:[o],{isReducedMotion:c}=i,d=s.map(f=>{const{keyframes:h,reducedMotion:m=Bz,...p}=f,{keyframes:w=h,...v}=m,x=c?w:h,y={...kz,...p,...c&&v};try{const B=r.animate(x,y);if(t)B==null||B.persist();else{const _=x[x.length-1];var k;Object.assign((k=r.style)!==null&&k!==void 0?k:{},_)}return B}catch{return null}}).filter(f=>!!f);return{set playbackRate(f){d.forEach(h=>{h.playbackRate=f})},setMotionEndCallbacks(f,h){const m=d.map(p=>new Promise((w,v)=>{p.onfinish=()=>w(),p.oncancel=()=>v()}));Promise.all(m).then(()=>{f()}).catch(()=>{h()})},isRunning(){return d.some(f=>Sz(f))},cancel:()=>{d.forEach(f=>{f.cancel()})},pause:()=>{d.forEach(f=>{f.pause()})},play:()=>{d.forEach(f=>{f.play()})},finish:()=>{d.forEach(f=>{f.finish()})},reverse:()=>{d.forEach(f=>{f.reverse()})}}},[t])}function Tz(){"use no memo";return _z()}function Cz(e){const t=S.useRef();return S.useImperativeHandle(e,()=>({setPlayState:r=>{if(r==="running"){var o;(o=t.current)===null||o===void 0||o.play()}if(r==="paused"){var i;(i=t.current)===null||i===void 0||i.pause()}},setPlaybackRate:r=>{t.current&&(t.current.playbackRate=r)}})),t}const Ez="screen and (prefers-reduced-motion: reduce)";function Nz(){const{targetDocument:e}=St();var t;const r=(t=e==null?void 0:e.defaultView)!==null&&t!==void 0?t:null,o=S.useRef(!1),i=S.useCallback(()=>o.current,[]);return jr(()=>{if(r===null||typeof r.matchMedia!="function")return;const s=r.matchMedia(Ez);s.matches&&(o.current=!0);const c=d=>{o.current=d.matches};return s.addEventListener("change",c),()=>{s.removeEventListener("change",c)}},[r]),i}const zz=S.version.startsWith("19."),Rz=["@fluentui/react-motion: Invalid child element.",`
`,"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 Az(e){return zz?e.props.ref:e.ref}function Dz(e,t=!0){const r=S.useRef(null);S.useEffect(()=>{},[t]);try{const o=S.Children.only(e);if(S.isValidElement(o))return[S.cloneElement(o,{ref:Br(r,Az(o))}),r]}catch{}throw new Error(Rz)}const $5=S.createContext(void 0);$5.Provider;const jz=()=>{var e;return(e=S.useContext($5))!==null&&e!==void 0?e:"default"},Oz=S.createContext(void 0);function Mz(e=!1,t=!1){const r=S.useRef(t?e:!0),o=ZS(),i=S.useCallback(s=>{r.current!==s&&(r.current=s,o())},[o]);return S.useEffect(()=>{e&&(r.current=e)}),[e||r.current,i]}const qz=Symbol("MOTION_DEFINITION"),Fz=Symbol.for("interruptablePresence");function ai(e){return Object.assign(t=>{"use no memo";const o={...S.useContext(Oz),...t},i=jz()==="skip",{appear:s,children:c,imperativeRef:d,onExit:f,onMotionFinish:h,onMotionStart:m,onMotionCancel:p,visible:w,unmountOnExit:v,...x}=o,y=x,[k,B]=Mz(w,v),[_,C]=Dz(c,k),N=Cz(d),R=S.useRef({appear:s,params:y,skipMotions:i}),j=Tz(),D=YS(),M=Nz(),I=ke(re=>{m==null||m(null,{direction:re})}),G=ke(re=>{h==null||h(null,{direction:re}),re==="exit"&&v&&(B(!1),f==null||f())}),X=ke(re=>{p==null||p(null,{direction:re})});return jr(()=>{R.current={appear:s,params:y,skipMotions:i}}),jr(()=>{const re=C.current;if(!re)return;let ue;function ne(){ue&&(O&&ue.isRunning()||(ue.cancel(),N.current=void 0))}const fe=typeof e=="function"?e({element:re,...R.current.params}):e,O=fe[Fz];if(O&&(ue=N.current,ue&&ue.isRunning()))return ue.reverse(),ne;const W=w?fe.enter:fe.exit,L=w?"enter":"exit",Z=!R.current.appear&&D,se=R.current.skipMotions;return Z||I(L),ue=j(re,W,{isReducedMotion:M()}),Z?(ue.finish(),ne):(N.current=ue,ue.setMotionEndCallbacks(()=>G(L),()=>X(L)),se&&ue.finish(),ne)},[j,C,N,M,G,I,X,w]),k?_:null},{[qz]:typeof e=="function"?e:()=>e})}function X5(e,t){const{as:r,children:o,...i}=e??{};if(e===null){const c=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,d=(f,h)=>c?null:S.createElement(S.Fragment,null,h.children);return{[Md]:d,[Ml]:t.elementType}}const s={...t.defaultProps,...i,[Ml]:t.elementType};return typeof o=="function"&&(s[Md]=o),s}const K5=(e,t)=>{const r=e==="horizontal"?"maxWidth":"maxHeight",o=e==="horizontal"?"overflowX":"overflowY",s=`${e==="horizontal"?t.scrollWidth:t.scrollHeight}px`;return{sizeName:r,overflowName:o,toSize:s}},Pz=({orientation:e,duration:t,easing:r,element:o,fromSize:i="0"})=>{const{sizeName:s,overflowName:c,toSize:d}=K5(e,o);return{keyframes:[{[s]:i,[c]:"hidden"},{[s]:d,offset:.9999,[c]:"hidden"},{[s]:"unset",[c]:"unset"}],duration:t,easing:r}},Iz=({orientation:e,duration:t,easing:r,element:o,delay:i=0,fromSize:s="0"})=>{const{sizeName:c,overflowName:d,toSize:f}=K5(e,o);return{keyframes:[{[c]:f,[d]:"hidden"},{[c]:s,[d]:"hidden"}],duration:t,easing:r,fill:"both",delay:i}},Lz=e=>e==="horizontal"?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"},Ox=({direction:e,orientation:t,duration:r,easing:o,delay:i=0})=>{const{paddingStart:s,paddingEnd:c,marginStart:d,marginEnd:f}=Lz(t),h=e==="enter"?0:1,p={keyframes:[{[s]:"0",[c]:"0",[d]:"0",[f]:"0",offset:h}],duration:r,easing:o,delay:i};return e==="exit"&&(p.fill="forwards"),p},Pd=({direction:e,duration:t,easing:r=kr.curveLinear,fromValue:o=0})=>{const i=[{opacity:o},{opacity:1}];return e==="exit"&&i.reverse(),{keyframes:i,duration:t,easing:r}},Y5=({enterSizeDuration:e=kr.durationNormal,enterOpacityDuration:t=e,enterEasing:r=kr.curveEasyEaseMax,enterDelay:o=0,exitSizeDuration:i=e,exitOpacityDuration:s=t,exitEasing:c=r,exitDelay:d=0}={})=>({element:f,animateOpacity:h=!0,orientation:m="vertical"})=>{const p=[Pz({orientation:m,duration:e,easing:r,element:f}),Ox({direction:"enter",orientation:m,duration:e,easing:r})];h&&p.push({...Pd({direction:"enter",duration:t,easing:r}),delay:o,fill:"both"});const w=[];return h&&w.push(Pd({direction:"exit",duration:s,easing:c})),w.push(Iz({orientation:m,duration:i,easing:c,element:f,delay:d}),Ox({direction:"exit",orientation:m,duration:i,easing:c,delay:d})),{enter:p,exit:w}},Up=({enterDuration:e=kr.durationNormal,enterEasing:t=kr.curveEasyEaseMax,exitDuration:r=e,exitEasing:o=t}={})=>Y5({enterSizeDuration:e,enterEasing:t,exitSizeDuration:r,exitEasing:o});ai(Up());ai(Up({enterDuration:kr.durationFast}));ai(Up({enterDuration:kr.durationSlower}));const Hz=ai(Y5({enterSizeDuration:kr.durationNormal,enterOpacityDuration:kr.durationSlower,enterDelay:kr.durationNormal,exitDelay:kr.durationSlower,enterEasing:kr.curveEasyEase})),Vp=({enterDuration:e=kr.durationNormal,enterEasing:t=kr.curveEasyEase,exitDuration:r=e,exitEasing:o=t}={})=>({enter:Pd({direction:"enter",duration:e,easing:t}),exit:Pd({direction:"exit",duration:r,easing:o})});ai(Vp());ai(Vp({enterDuration:kr.durationFast}));const Uz=ai(Vp({enterDuration:kr.durationGentle})),Vz=e=>xt(e.root,{children:[e.initials&&ge(e.initials,{}),e.icon&&ge(e.icon,{}),e.image&&ge(e.image,{}),e.badge&&ge(e.badge,{}),e.activeAriaLabelElement]}),Wz=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Gz=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,$z=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Xz=/\s+/g,Kz=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Yz(e,t,r){let o="";const i=e.split(" ");return i.length!==0&&(o+=i[0].charAt(0).toUpperCase()),r||(i.length===2?o+=i[1].charAt(0).toUpperCase():i.length===3&&(o+=i[2].charAt(0).toUpperCase())),t&&o.length>1?o.charAt(1)+o.charAt(0):o}function Zz(e){return e=e.replace(Wz,""),e=e.replace(Gz,""),e=e.replace(Xz," "),e=e.trim(),e}function Qz(e,t,r){return!e||(e=Zz(e),Kz.test(e)||!(r!=null&&r.allowPhoneInitials)&&$z.test(e))?"":Yz(e,t,r==null?void 0:r.firstInitialOnly)}const Z5=(e,t)=>{const{shape:r="circular",size:o="medium",iconPosition:i="before",appearance:s="filled",color:c="brand"}=e;return{shape:r,size:o,iconPosition:i,appearance:s,color:c,components:{root:"div",icon:"span"},root:je(ct("div",{ref:t,...e}),{elementType:"div"}),icon:gt(e.icon,{elementType:"span"})}},Mx={root:"fui-Badge",icon:"fui-Badge__icon"},Jz=We("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;}']),eR=xe({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);}"]}),tR=We("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),rR=xe({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;}"]}),nR=e=>{"use no memo";const t=Jz(),r=eR(),o=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=J(Mx.root,t,o&&r.fontSmallToTiny,r[e.size],r[e.shape],e.shape==="rounded"&&o&&r.roundedSmallToTiny,e.appearance==="ghost"&&r.borderGhost,r[e.appearance],r[`${e.appearance}-${e.color}`],e.root.className);const i=tR(),s=rR();if(e.icon){let c;e.root.children&&(e.size==="extra-large"?c=e.iconPosition==="after"?s.afterTextXL:s.beforeTextXL:c=e.iconPosition==="after"?s.afterText:s.beforeText),e.icon.className=J(Mx.icon,i,c,s[e.size],e.icon.className)}return e},Q5=e=>xt(e.root,{children:[e.iconPosition==="before"&&e.icon&&ge(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&ge(e.icon,{})]}),Wp=S.forwardRef((e,t)=>{const r=Z5(e,t);return nR(r),Xe("useBadgeStyles_unstable")(r),Q5(r)});Wp.displayName="Badge";const oR={tiny:yx,"extra-small":yx,small:Q7,medium:J7,large:xx,"extra-large":xx},aR={tiny:px,"extra-small":px,small:K7,medium:Z7,large:vx,"extra-large":vx},iR={tiny:gx,"extra-small":gx,small:X7,medium:Y7,large:bx,"extra-large":bx},lR={tiny:wx,"extra-small":wx,small:ez,medium:tz,large:Sx,"extra-large":Sx},sR={tiny:kx,"extra-small":kx,small:rz,medium:nz,large:Bx,"extra-large":Bx},uR={tiny:_x,"extra-small":_x,small:oz,medium:iz,large:Cx,"extra-large":Cx},cR={tiny:Tx,"extra-small":Tx,small:az,medium:lz,large:Ex,"extra-large":Ex},pm={tiny:Rx,"extra-small":Rx,small:cz,medium:dz,large:Ax,"extra-large":Ax},dR={tiny:Nx,"extra-small":Nx,small:sz,medium:uz,large:zx,"extra-large":zx},qx={tiny:Dx,"extra-small":Dx,small:fz,medium:hz,large:jx,"extra-large":jx},fR=(e,t,r)=>{switch(e){case"available":return t?aR[r]:iR[r];case"away":return t?pm[r]:oR[r];case"blocked":return lR[r];case"busy":return t?qx[r]:sR[r];case"do-not-disturb":return t?cR[r]:uR[r];case"offline":return t?pm[r]:dR[r];case"out-of-office":return pm[r];case"unknown":return qx[r]}},Fx={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},hR=(e,t)=>{const{size:r="medium",status:o="available",outOfOffice:i=!1}=e,s=Fx[o],c=e.outOfOffice&&e.status!=="out-of-office"?` ${Fx["out-of-office"]}`:"",d=fR(o,i,r);return{...Z5({"aria-label":s+c,role:"img",...e,size:r,icon:gt(e.icon,{defaultProps:{children:d?S.createElement(d,null):null},renderByDefault:!0,elementType:"span"})},t),status:o,outOfOffice:i}},Px={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},mR=e=>e==="busy"||e==="do-not-disturb"||e==="blocked",gR=We("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),pR=We("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),bR=xe({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),vR=e=>{"use no memo";const t=gR(),r=pR(),o=bR(),i=mR(e.status);return e.root.className=J(Px.root,t,i&&o.statusBusy,e.status==="away"&&o.statusAway,e.status==="available"&&o.statusAvailable,e.status==="offline"&&o.statusOffline,e.status==="out-of-office"&&o.statusOutOfOffice,e.status==="unknown"&&o.statusUnknown,e.outOfOffice&&o.outOfOffice,e.outOfOffice&&e.status==="available"&&o.outOfOfficeAvailable,e.outOfOffice&&i&&o.outOfOfficeBusy,e.outOfOffice&&(e.status==="out-of-office"||e.status==="away"||e.status==="offline")&&o.statusOutOfOffice,e.outOfOffice&&e.status==="unknown"&&o.outOfOfficeUnknown,e.size==="tiny"&&o.tiny,e.size==="large"&&o.large,e.size==="extra-large"&&o.extraLarge,e.root.className),e.icon&&(e.icon.className=J(Px.icon,r,e.icon.className)),e},Zg=S.forwardRef((e,t)=>{const r=hR(e,t);return vR(r),Xe("usePresenceBadgeStyles_unstable")(r),Q5(r)});Zg.displayName="PresenceBadge";const J5=S.createContext(void 0),yR={};J5.Provider;const xR=()=>{var e;return(e=S.useContext(J5))!==null&&e!==void 0?e:yR},wR={active:"active",inactive:"inactive"},SR=(e,t)=>{const{dir:r}=St(),{shape:o,size:i}=xR(),{name:s,size:c=i??32,shape:d=o??"circular",active:f="unset",activeAppearance:h="ring",idForColor:m}=e;let{color:p="neutral"}=e;if(p==="colorful"){var w;p=Ix[BR((w=m??s)!==null&&w!==void 0?w:"")%Ix.length]}const v=hn("avatar-"),x=je(ct("span",{role:"img",id:v,...e,ref:t},["name"]),{elementType:"span"}),[y,k]=S.useState(void 0);let B=gt(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:y},elementType:"img"});B!=null&&B.src||(B=void 0),B&&(B.onError=Mt(B.onError,()=>k(!0)),B.onLoad=Mt(B.onLoad,()=>k(void 0)));let _=gt(e.initials,{renderByDefault:!0,defaultProps:{children:Qz(s,r==="rtl",{firstInitialOnly:c<=16}),id:v+"__initials"},elementType:"span"});_!=null&&_.children||(_=void 0);let C;!_&&(!B||y)&&(C=gt(e.icon,{renderByDefault:!0,defaultProps:{children:S.createElement(q7,null),"aria-hidden":!0},elementType:"span"}));const N=gt(e.badge,{defaultProps:{size:kR(c),id:v+"__badge"},elementType:Zg});let R;if(!x["aria-label"]&&!x["aria-labelledby"]&&(s?(x["aria-label"]=s,N&&(x["aria-labelledby"]=x.id+" "+N.id)):_&&(x["aria-labelledby"]=_.id+(N?" "+N.id:"")),f==="active"||f==="inactive")){const j=wR[f];if(x["aria-labelledby"]){const D=v+"__active";x["aria-labelledby"]+=" "+D,R=S.createElement("span",{hidden:!0,id:D},j)}else x["aria-label"]&&(x["aria-label"]+=" "+j)}return{size:c,shape:d,active:f,activeAppearance:h,activeAriaLabelElement:R,color:p,components:{root:"span",initials:"span",icon:"span",image:"img",badge:Zg},root:x,initials:_,icon:C,image:B,badge:N}},kR=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Ix=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],BR=e=>{let t=0;for(let r=e.length-1;r>=0;r--){const o=e.charCodeAt(r),i=r%8;t^=(o<<i)+(o>>8-i)}return t},nu={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},_R=We("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),TR=We("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),CR=We("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),ER=xe({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),NR=xe({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),zR=xe({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),RR=xe({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),AR=e=>{"use no memo";const{size:t,shape:r,active:o,activeAppearance:i,color:s}=e,c=_R(),d=TR(),f=CR(),h=ER(),m=NR(),p=zR(),w=RR(),v=[c,t!==32&&m[t]];if(e.badge&&v.push(h.badgeAlign,h[e.badge.size||"medium"]),t<=24?v.push(h.textCaption2Strong):t<=28?v.push(h.textCaption1Strong):t<=40||(t<=56?v.push(h.textSubtitle2):t<=96?v.push(h.textSubtitle1):v.push(h.textTitle3)),r==="square"&&(t<=24?v.push(h.squareSmall):t<=48?v.push(h.squareMedium):t<=72?v.push(h.squareLarge):v.push(h.squareXLarge)),(o==="active"||o==="inactive")&&(v.push(h.activeOrInactive),(i==="ring"||i==="ring-shadow")&&(v.push(h.ring,w[s]),e.badge&&v.push(h.ringBadgeCutout),t<=48?v.push(h.ringThick):t<=64?v.push(h.ringThicker):v.push(h.ringThickest)),(i==="shadow"||i==="ring-shadow")&&(v.push(h.shadow),t<=28?v.push(h.shadow4):t<=48?v.push(h.shadow8):t<=64?v.push(h.shadow16):v.push(h.shadow28)),o==="inactive"&&v.push(h.inactive)),e.root.className=J(nu.root,...v,e.root.className),e.badge&&(e.badge.className=J(nu.badge,h.badge,e.badge.className)),e.image&&(e.image.className=J(nu.image,d,p[s],e.badge&&h.badgeCutout,e.image.className)),e.initials&&(e.initials.className=J(nu.initials,f,p[s],e.badge&&h.badgeCutout,e.initials.className)),e.icon){let x;t<=16?x=h.icon12:t<=24?x=h.icon16:t<=40?x=h.icon20:t<=48?x=h.icon24:t<=56?x=h.icon28:t<=72?x=h.icon32:x=h.icon48,e.icon.className=J(nu.icon,f,x,p[s],e.badge&&h.badgeCutout,e.icon.className)}return e},e6=S.forwardRef((e,t)=>{const r=SR(e,t);return AR(r),Xe("useAvatarStyles_unstable")(r),Vz(r)});e6.displayName="Avatar";function DR(e){const t=e.clientX,r=e.clientY,o=t+1,i=r+1;function s(){return{left:t,top:r,right:o,bottom:i,x:t,y:r,height:1,width:1}}return{getBoundingClientRect:s}}const Lx="data-popper-is-intersecting",Hx="data-popper-escaped",Ux="data-popper-reference-hidden",jR="data-popper-placement",Qg="fui-positioningend",OR=["top","right","bottom","left"],ji=Math.min,Wn=Math.max,Id=Math.round,zo=e=>({x:e,y:e}),MR={left:"right",right:"left",bottom:"top",top:"bottom"},qR={start:"end",end:"start"};function Jg(e,t,r){return Wn(e,ji(t,r))}function ua(e,t){return typeof e=="function"?e(t):e}function ca(e){return e.split("-")[0]}function Jl(e){return e.split("-")[1]}function Gp(e){return e==="x"?"y":"x"}function $p(e){return e==="y"?"height":"width"}const FR=new Set(["top","bottom"]);function No(e){return FR.has(ca(e))?"y":"x"}function Xp(e){return Gp(No(e))}function PR(e,t,r){r===void 0&&(r=!1);const o=Jl(e),i=Xp(e),s=$p(i);let c=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=Ld(c)),[c,Ld(c)]}function IR(e){const t=Ld(e);return[ep(e),t,ep(t)]}function ep(e){return e.replace(/start|end/g,t=>qR[t])}const Vx=["left","right"],Wx=["right","left"],LR=["top","bottom"],HR=["bottom","top"];function UR(e,t,r){switch(e){case"top":case"bottom":return r?t?Wx:Vx:t?Vx:Wx;case"left":case"right":return t?LR:HR;default:return[]}}function VR(e,t,r,o){const i=Jl(e);let s=UR(ca(e),r==="start",o);return i&&(s=s.map(c=>c+"-"+i),t&&(s=s.concat(s.map(ep)))),s}function Ld(e){return e.replace(/left|right|bottom|top/g,t=>MR[t])}function WR(e){return{top:0,right:0,bottom:0,left:0,...e}}function t6(e){return typeof e!="number"?WR(e):{top:e,right:e,bottom:e,left:e}}function Hd(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}function Gx(e,t,r){let{reference:o,floating:i}=e;const s=No(t),c=Xp(t),d=$p(c),f=ca(t),h=s==="y",m=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,w=o[d]/2-i[d]/2;let v;switch(f){case"top":v={x:m,y:o.y-i.height};break;case"bottom":v={x:m,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:p};break;case"left":v={x:o.x-i.width,y:p};break;default:v={x:o.x,y:o.y}}switch(Jl(t)){case"start":v[c]-=w*(r&&h?-1:1);break;case"end":v[c]+=w*(r&&h?-1:1);break}return v}const GR=async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:c}=r,d=s.filter(Boolean),f=await(c.isRTL==null?void 0:c.isRTL(t));let h=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:m,y:p}=Gx(h,o,f),w=o,v={},x=0;for(let y=0;y<d.length;y++){const{name:k,fn:B}=d[y],{x:_,y:C,data:N,reset:R}=await B({x:m,y:p,initialPlacement:o,placement:w,strategy:i,middlewareData:v,rects:h,platform:c,elements:{reference:e,floating:t}});m=_??m,p=C??p,v={...v,[k]:{...v[k],...N}},R&&x<=50&&(x++,typeof R=="object"&&(R.placement&&(w=R.placement),R.rects&&(h=R.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:i}):R.rects),{x:m,y:p}=Gx(h,w,f)),y=-1)}return{x:m,y:p,placement:w,strategy:i,middlewareData:v}};async function Il(e,t){var r;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:c,elements:d,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:w=!1,padding:v=0}=ua(t,e),x=t6(v),k=d[w?p==="floating"?"reference":"floating":p],B=Hd(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(k)))==null||r?k:k.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:h,rootBoundary:m,strategy:f})),_=p==="floating"?{x:o,y:i,width:c.floating.width,height:c.floating.height}:c.reference,C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),N=await(s.isElement==null?void 0:s.isElement(C))?await(s.getScale==null?void 0:s.getScale(C))||{x:1,y:1}:{x:1,y:1},R=Hd(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:_,offsetParent:C,strategy:f}):_);return{top:(B.top-R.top+x.top)/N.y,bottom:(R.bottom-B.bottom+x.bottom)/N.y,left:(B.left-R.left+x.left)/N.x,right:(R.right-B.right+x.right)/N.x}}const $R=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:s,platform:c,elements:d,middlewareData:f}=t,{element:h,padding:m=0}=ua(e,t)||{};if(h==null)return{};const p=t6(m),w={x:r,y:o},v=Xp(i),x=$p(v),y=await c.getDimensions(h),k=v==="y",B=k?"top":"left",_=k?"bottom":"right",C=k?"clientHeight":"clientWidth",N=s.reference[x]+s.reference[v]-w[v]-s.floating[x],R=w[v]-s.reference[v],j=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let D=j?j[C]:0;(!D||!await(c.isElement==null?void 0:c.isElement(j)))&&(D=d.floating[C]||s.floating[x]);const M=N/2-R/2,I=D/2-y[x]/2-1,G=ji(p[B],I),X=ji(p[_],I),re=G,ue=D-y[x]-X,ne=D/2-y[x]/2+M,fe=Jg(re,ne,ue),O=!f.arrow&&Jl(i)!=null&&ne!==fe&&s.reference[x]/2-(ne<re?G:X)-y[x]/2<0,W=O?ne<re?ne-re:ne-ue:0;return{[v]:w[v]+W,data:{[v]:fe,centerOffset:ne-fe-W,...O&&{alignmentOffset:W}},reset:O}}}),XR=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:s,rects:c,initialPlacement:d,platform:f,elements:h}=t,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...k}=ua(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const B=ca(i),_=No(d),C=ca(d)===d,N=await(f.isRTL==null?void 0:f.isRTL(h.floating)),R=w||(C||!y?[Ld(d)]:IR(d)),j=x!=="none";!w&&j&&R.push(...VR(d,y,x,N));const D=[d,...R],M=await Il(t,k),I=[];let G=((o=s.flip)==null?void 0:o.overflows)||[];if(m&&I.push(M[B]),p){const ne=PR(i,c,N);I.push(M[ne[0]],M[ne[1]])}if(G=[...G,{placement:i,overflows:I}],!I.every(ne=>ne<=0)){var X,re;const ne=(((X=s.flip)==null?void 0:X.index)||0)+1,fe=D[ne];if(fe&&(!(p==="alignment"?_!==No(fe):!1)||G.every(L=>No(L.placement)===_?L.overflows[0]>0:!0)))return{data:{index:ne,overflows:G},reset:{placement:fe}};let O=(re=G.filter(W=>W.overflows[0]<=0).sort((W,L)=>W.overflows[1]-L.overflows[1])[0])==null?void 0:re.placement;if(!O)switch(v){case"bestFit":{var ue;const W=(ue=G.filter(L=>{if(j){const Z=No(L.placement);return Z===_||Z==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(Z=>Z>0).reduce((Z,se)=>Z+se,0)]).sort((L,Z)=>L[1]-Z[1])[0])==null?void 0:ue[0];W&&(O=W);break}case"initialPlacement":O=d;break}if(i!==O)return{reset:{placement:O}}}return{}}}};function $x(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xx(e){return OR.some(t=>e[t]>=0)}const KR=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...i}=ua(e,t);switch(o){case"referenceHidden":{const s=await Il(t,{...i,elementContext:"reference"}),c=$x(s,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Xx(c)}}}case"escaped":{const s=await Il(t,{...i,altBoundary:!0}),c=$x(s,r.floating);return{data:{escapedOffsets:c,escaped:Xx(c)}}}default:return{}}}}},r6=new Set(["left","top"]);async function YR(e,t){const{placement:r,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),c=ca(r),d=Jl(r),f=No(r)==="y",h=r6.has(c)?-1:1,m=s&&f?-1:1,p=ua(t,e);let{mainAxis:w,crossAxis:v,alignmentAxis:x}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return d&&typeof x=="number"&&(v=d==="end"?x*-1:x),f?{x:v*m,y:w*h}:{x:w*h,y:v*m}}const ZR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:s,placement:c,middlewareData:d}=t,f=await YR(t,e);return c===((r=d.offset)==null?void 0:r.placement)&&(o=d.arrow)!=null&&o.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:c}}}}},QR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:k=>{let{x:B,y:_}=k;return{x:B,y:_}}},...f}=ua(e,t),h={x:r,y:o},m=await Il(t,f),p=No(ca(i)),w=Gp(p);let v=h[w],x=h[p];if(s){const k=w==="y"?"top":"left",B=w==="y"?"bottom":"right",_=v+m[k],C=v-m[B];v=Jg(_,v,C)}if(c){const k=p==="y"?"top":"left",B=p==="y"?"bottom":"right",_=x+m[k],C=x-m[B];x=Jg(_,x,C)}const y=d.fn({...t,[w]:v,[p]:x});return{...y,data:{x:y.x-r,y:y.y-o,enabled:{[w]:s,[p]:c}}}}}},JR=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:i,rects:s,middlewareData:c}=t,{offset:d=0,mainAxis:f=!0,crossAxis:h=!0}=ua(e,t),m={x:r,y:o},p=No(i),w=Gp(p);let v=m[w],x=m[p];const y=ua(d,t),k=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(f){const C=w==="y"?"height":"width",N=s.reference[w]-s.floating[C]+k.mainAxis,R=s.reference[w]+s.reference[C]-k.mainAxis;v<N?v=N:v>R&&(v=R)}if(h){var B,_;const C=w==="y"?"width":"height",N=r6.has(ca(i)),R=s.reference[p]-s.floating[C]+(N&&((B=c.offset)==null?void 0:B[p])||0)+(N?0:k.crossAxis),j=s.reference[p]+s.reference[C]+(N?0:((_=c.offset)==null?void 0:_[p])||0)-(N?k.crossAxis:0);x<R?x=R:x>j&&(x=j)}return{[w]:v,[p]:x}}}},eA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:i,rects:s,platform:c,elements:d}=t,{apply:f=()=>{},...h}=ua(e,t),m=await Il(t,h),p=ca(i),w=Jl(i),v=No(i)==="y",{width:x,height:y}=s.floating;let k,B;p==="top"||p==="bottom"?(k=p,B=w===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(B=p,k=w==="end"?"top":"bottom");const _=y-m.top-m.bottom,C=x-m.left-m.right,N=ji(y-m[k],_),R=ji(x-m[B],C),j=!t.middlewareData.shift;let D=N,M=R;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(M=C),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(D=_),j&&!w){const G=Wn(m.left,0),X=Wn(m.right,0),re=Wn(m.top,0),ue=Wn(m.bottom,0);v?M=x-2*(G!==0||X!==0?G+X:Wn(m.left,m.right)):D=y-2*(re!==0||ue!==0?re+ue:Wn(m.top,m.bottom))}await f({...t,availableWidth:M,availableHeight:D});const I=await c.getDimensions(d.floating);return x!==I.width||y!==I.height?{reset:{rects:!0}}:{}}}};function gf(){return typeof window<"u"}function es(e){return n6(e)?(e.nodeName||"").toLowerCase():"#document"}function Cn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ga(e){var t;return(t=(n6(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function n6(e){return gf()?e instanceof Node||e instanceof Cn(e).Node:!1}function uo(e){return gf()?e instanceof Element||e instanceof Cn(e).Element:!1}function Ao(e){return gf()?e instanceof HTMLElement||e instanceof Cn(e).HTMLElement:!1}function Kx(e){return!gf()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Cn(e).ShadowRoot}const tA=new Set(["inline","contents"]);function Ru(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=co(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!tA.has(i)}const rA=new Set(["table","td","th"]);function nA(e){return rA.has(es(e))}const oA=[":popover-open",":modal"];function pf(e){return oA.some(t=>{try{return e.matches(t)}catch{return!1}})}const aA=["transform","translate","scale","rotate","perspective"],iA=["transform","translate","scale","rotate","perspective","filter"],lA=["paint","layout","strict","content"];function Kp(e){const t=Yp(),r=uo(e)?co(e):e;return aA.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||iA.some(o=>(r.willChange||"").includes(o))||lA.some(o=>(r.contain||"").includes(o))}function sA(e){let t=ni(e);for(;Ao(t)&&!Ll(t);){if(Kp(t))return t;if(pf(t))return null;t=ni(t)}return null}function Yp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const uA=new Set(["html","body","#document"]);function Ll(e){return uA.has(es(e))}function co(e){return Cn(e).getComputedStyle(e)}function bf(e){return uo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ni(e){if(es(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Kx(e)&&e.host||ga(e);return Kx(t)?t.host:t}function o6(e){const t=ni(e);return Ll(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ao(t)&&Ru(t)?t:o6(t)}function a6(e,t,r){var o;t===void 0&&(t=[]);const i=o6(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),c=Cn(i);return s?(tp(c),t.concat(c,c.visualViewport||[],Ru(i)?i:[],[])):t.concat(i,a6(i,[]))}function tp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function i6(e){const t=co(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Ao(e),s=i?e.offsetWidth:r,c=i?e.offsetHeight:o,d=Id(r)!==s||Id(o)!==c;return d&&(r=s,o=c),{width:r,height:o,$:d}}function l6(e){return uo(e)?e:e.contextElement}function Rl(e){const t=l6(e);if(!Ao(t))return zo(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:s}=i6(t);let c=(s?Id(r.width):r.width)/o,d=(s?Id(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const cA=zo(0);function s6(e){const t=Cn(e);return!Yp()||!t.visualViewport?cA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dA(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Cn(e)?!1:t}function Su(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=l6(e);let c=zo(1);t&&(o?uo(o)&&(c=Rl(o)):c=Rl(e));const d=dA(s,r,o)?s6(s):zo(0);let f=(i.left+d.x)/c.x,h=(i.top+d.y)/c.y,m=i.width/c.x,p=i.height/c.y;if(s){const w=Cn(s),v=o&&uo(o)?Cn(o):o;let x=w,y=tp(x);for(;y&&o&&v!==x;){const k=Rl(y),B=y.getBoundingClientRect(),_=co(y),C=B.left+(y.clientLeft+parseFloat(_.paddingLeft))*k.x,N=B.top+(y.clientTop+parseFloat(_.paddingTop))*k.y;f*=k.x,h*=k.y,m*=k.x,p*=k.y,f+=C,h+=N,x=Cn(y),y=tp(x)}}return Hd({width:m,height:p,x:f,y:h})}function vf(e,t){const r=bf(e).scrollLeft;return t?t.left+r:Su(ga(e)).left+r}function u6(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-vf(e,r),i=r.top+t.scrollTop;return{x:o,y:i}}function fA(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const s=i==="fixed",c=ga(o),d=t?pf(t.floating):!1;if(o===c||d&&s)return r;let f={scrollLeft:0,scrollTop:0},h=zo(1);const m=zo(0),p=Ao(o);if((p||!p&&!s)&&((es(o)!=="body"||Ru(c))&&(f=bf(o)),Ao(o))){const v=Su(o);h=Rl(o),m.x=v.x+o.clientLeft,m.y=v.y+o.clientTop}const w=c&&!p&&!s?u6(c,f):zo(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-f.scrollLeft*h.x+m.x+w.x,y:r.y*h.y-f.scrollTop*h.y+m.y+w.y}}function hA(e){return Array.from(e.getClientRects())}function mA(e){const t=ga(e),r=bf(e),o=e.ownerDocument.body,i=Wn(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Wn(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let c=-r.scrollLeft+vf(e);const d=-r.scrollTop;return co(o).direction==="rtl"&&(c+=Wn(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:c,y:d}}const Yx=25;function gA(e,t){const r=Cn(e),o=ga(e),i=r.visualViewport;let s=o.clientWidth,c=o.clientHeight,d=0,f=0;if(i){s=i.width,c=i.height;const m=Yp();(!m||m&&t==="fixed")&&(d=i.offsetLeft,f=i.offsetTop)}const h=vf(o);if(h<=0){const m=o.ownerDocument,p=m.body,w=getComputedStyle(p),v=m.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,x=Math.abs(o.clientWidth-p.clientWidth-v);x<=Yx&&(s-=x)}else h<=Yx&&(s+=h);return{width:s,height:c,x:d,y:f}}const pA=new Set(["absolute","fixed"]);function bA(e,t){const r=Su(e,!0,t==="fixed"),o=r.top+e.clientTop,i=r.left+e.clientLeft,s=Ao(e)?Rl(e):zo(1),c=e.clientWidth*s.x,d=e.clientHeight*s.y,f=i*s.x,h=o*s.y;return{width:c,height:d,x:f,y:h}}function Zx(e,t,r){let o;if(t==="viewport")o=gA(e,r);else if(t==="document")o=mA(ga(e));else if(uo(t))o=bA(t,r);else{const i=s6(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Hd(o)}function c6(e,t){const r=ni(e);return r===t||!uo(r)||Ll(r)?!1:co(r).position==="fixed"||c6(r,t)}function vA(e,t){const r=t.get(e);if(r)return r;let o=a6(e,[]).filter(d=>uo(d)&&es(d)!=="body"),i=null;const s=co(e).position==="fixed";let c=s?ni(e):e;for(;uo(c)&&!Ll(c);){const d=co(c),f=Kp(c);!f&&d.position==="fixed"&&(i=null),(s?!f&&!i:!f&&d.position==="static"&&!!i&&pA.has(i.position)||Ru(c)&&!f&&c6(e,c))?o=o.filter(m=>m!==c):i=d,c=ni(c)}return t.set(e,o),o}function yA(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const c=[...r==="clippingAncestors"?pf(t)?[]:vA(t,this._c):[].concat(r),o],d=c[0],f=c.reduce((h,m)=>{const p=Zx(t,m,i);return h.top=Wn(p.top,h.top),h.right=ji(p.right,h.right),h.bottom=ji(p.bottom,h.bottom),h.left=Wn(p.left,h.left),h},Zx(t,d,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function xA(e){const{width:t,height:r}=i6(e);return{width:t,height:r}}function wA(e,t,r){const o=Ao(t),i=ga(t),s=r==="fixed",c=Su(e,!0,s,t);let d={scrollLeft:0,scrollTop:0};const f=zo(0);function h(){f.x=vf(i)}if(o||!o&&!s)if((es(t)!=="body"||Ru(i))&&(d=bf(t)),o){const v=Su(t,!0,s,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else i&&h();s&&!o&&i&&h();const m=i&&!o&&!s?u6(i,d):zo(0),p=c.left+d.scrollLeft-f.x-m.x,w=c.top+d.scrollTop-f.y-m.y;return{x:p,y:w,width:c.width,height:c.height}}function bm(e){return co(e).position==="static"}function Qx(e,t){if(!Ao(e)||co(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ga(e)===r&&(r=r.ownerDocument.body),r}function d6(e,t){const r=Cn(e);if(pf(e))return r;if(!Ao(e)){let i=ni(e);for(;i&&!Ll(i);){if(uo(i)&&!bm(i))return i;i=ni(i)}return r}let o=Qx(e,t);for(;o&&nA(o)&&bm(o);)o=Qx(o,t);return o&&Ll(o)&&bm(o)&&!Kp(o)?r:o||sA(e)||r}const SA=async function(e){const t=this.getOffsetParent||d6,r=this.getDimensions,o=await r(e.floating);return{reference:wA(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function kA(e){return co(e).direction==="rtl"}const BA={convertOffsetParentRelativeRectToViewportRelativeRect:fA,getDocumentElement:ga,getClippingRect:yA,getOffsetParent:d6,getElementRects:SA,getClientRects:hA,getDimensions:xA,getScale:Rl,isElement:uo,isRTL:kA},_A=Il,TA=ZR,CA=QR,EA=XR,NA=eA,Jx=KR,zA=$R,ew=JR,RA=(e,t,r)=>{const o=new Map,i={platform:BA,...r},s={...i.platform,_c:o};return GR(e,t,{...i,platform:s})};function f6(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const AA=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,DA=e=>{var t;if(e.nodeType!==1)return{};const r=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}},yf=e=>{const t=e&&AA(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:o,overflowY:i}=DA(t);return/(auto|scroll|overlay)/.test(r+i+o)?t:yf(t)},jA=e=>{var t;const r=yf(e);return r?r!==((t=r.ownerDocument)===null||t===void 0?void 0:t.body):!1};function Zp(e,t){if(t==="window")return e==null?void 0:e.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let r=yf(e);return r.nodeName==="BODY"&&(r=e==null?void 0:e.ownerDocument.documentElement),r}return t}function h6(e,t){return typeof e=="number"||typeof e=="object"&&e!==null?vm(e,t):typeof e=="function"?r=>{const o=e(r);return vm(o,t)}:{mainAxis:t}}const vm=(e,t)=>{if(typeof e=="number")return{mainAxis:e+t};var r;return{...e,mainAxis:((r=e.mainAxis)!==null&&r!==void 0?r:0)+t}};function m6(e,t){if(typeof e=="number")return e;const{start:r,end:o,...i}=e,s=i,c=t?"end":"start",d=t?"start":"end";return e[c]&&(s.left=e[c]),e[d]&&(s.right=e[d]),s}const OA=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),MA=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),qA=(e,t)=>{const r=e==="above"||e==="below",o=t==="top"||t==="bottom";return r&&o||!r&&!o},g6=(e,t,r)=>{const o=qA(t,e)?"center":e,i=t&&OA(r)[t],s=o&&MA()[o];return i&&s?`${i}-${s}`:i},FA=()=>({top:"above",bottom:"below",right:"after",left:"before"}),PA=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},IA=e=>{const{side:t,alignment:r}=f6(e),o=FA()[t],i=r&&PA(o)[r];return{position:o,alignment:i}},LA={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 xf(e){return e==null?{}:typeof e=="string"?LA[e]:e}function ym(e,t,r){const o=S.useRef(!0),[i]=S.useState(()=>({value:e,callback:t,facade:{get current(){return i.value},set current(s){const c=i.value;c!==s&&(i.value=s,i.callback(s,c))}}}));return jr(()=>{o.current=!1},[]),i.callback=t,i.facade}function HA(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}function UA(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:o,y:i}=r.arrow;Object.assign(t.style,{left:o!=null?`${o}px`:"",top:i!=null?`${i}px`:""})}function VA(e){var t,r,o;const{container:i,placement:s,middlewareData:c,strategy:d,lowPPI:f,coordinates:h,useTransform:m=!0}=e;if(!i)return;i.setAttribute(jR,s),i.removeAttribute(Lx),c.intersectionObserver.intersecting&&i.setAttribute(Lx,""),i.removeAttribute(Hx),!((t=c.hide)===null||t===void 0)&&t.escaped&&i.setAttribute(Hx,""),i.removeAttribute(Ux),!((r=c.hide)===null||r===void 0)&&r.referenceHidden&&i.setAttribute(Ux,"");const p=((o=i.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,w=Math.round(h.x*p)/p,v=Math.round(h.y*p)/p;if(Object.assign(i.style,{position:d}),m){Object.assign(i.style,{transform:f?`translate(${w}px, ${v}px)`:`translate3d(${w}px, ${v}px, 0)`});return}Object.assign(i.style,{left:`${w}px`,top:`${v}px`})}const WA=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 GA(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:o,y:i}=e,s=f6(t).side,c={x:o,y:i};switch(s){case"bottom":c.y-=r.reference.height;break;case"top":c.y+=r.reference.height;break;case"left":c.x+=r.reference.width;break;case"right":c.x-=r.reference.width;break}return c}}}function $A(e){const{hasScrollableElement:t,flipBoundary:r,container:o,fallbackPositions:i=[],isRtl:s}=e,c=i.reduce((d,f)=>{const{position:h,align:m}=xf(f),p=g6(m,h,s);return p&&d.push(p),d},[]);return EA({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:Zp(o,r)},fallbackStrategy:"bestFit",...c.length&&{fallbackPlacements:c}})}function XA(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await _A(e,{altBoundary:!0}),o=r.top<t.height&&r.top>0,i=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:o||i}}}}}const KA=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var o;if(!((o=t.resetMaxSize)===null||o===void 0)&&o.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:s}=e;return i&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),s&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function YA(e,t){const{container:r,overflowBoundary:o,overflowBoundaryPadding:i,isRtl:s}=t;return NA({...i&&{padding:m6(i,s)},...o&&{altBoundary:!0,boundary:Zp(r,o)},apply({availableHeight:c,availableWidth:d,elements:f,rects:h}){const m=(v,x,y)=>{if(v&&(f.floating.style.setProperty("box-sizing","border-box"),f.floating.style.setProperty(`max-${x}`,`${y}px`),h.floating[x]>y)){f.floating.style.setProperty(x,`${y}px`);const k=x==="width"?"x":"y";f.floating.style.getPropertyValue(`overflow-${k}`)||f.floating.style.setProperty(`overflow-${k}`,"auto")}},{applyMaxWidth:p,applyMaxHeight:w}=e;m(p,"width",d),m(w,"height",c)}})}function ZA(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:r},placement:o})=>{const{position:i,alignment:s}=IA(o);return e({positionedRect:t,targetRect:r,position:i,alignment:s})}}function QA(e){const t=ZA(e);return TA(t)}function JA(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:o,overflowBoundary:i,container:s,overflowBoundaryPadding:c,isRtl:d}=e;return CA({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:ew({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:ew({crossAxis:o!=="all",mainAxis:!1})},...c&&{padding:m6(c,d)},...i&&{altBoundary:!0,boundary:Zp(s,i)}})}const tw="--fui-match-target-size";function eD(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(t.width===r.width||i)return{};const{width:s}=t;return o.style.setProperty(tw,`${s}px`),o.style.width||(o.style.width=`var(${tw})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function rw(e){const t=[];let r=e;for(;r;){const o=yf(r);if(e.ownerDocument.body===o){t.push(o);break}if(o.nodeName==="BODY"&&o!==e.ownerDocument.body)break;t.push(o),r=o}return t}function tD(e,t){return new e.ResizeObserver(t)}function rD(e){let t=!1;const{container:r,target:o,arrow:i,strategy:s,middleware:c,placement:d,useTransform:f=!0,disableUpdateOnResize:h=!1}=e,m=r.ownerDocument.defaultView;if(!o||!r||!m)return{updatePosition:()=>{},dispose:()=>{}};const p=h?null:tD(m,B=>{B.every(C=>C.contentRect.width>0&&C.contentRect.height>0)&&y()});let w=!0;const v=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const x=()=>{t||(w&&(rw(r).forEach(B=>v.add(B)),Zt(o)&&rw(o).forEach(B=>v.add(B)),v.forEach(B=>{B.addEventListener("scroll",y,{passive:!0})}),p==null||p.observe(r),Zt(o)&&(p==null||p.observe(o)),w=!1),Object.assign(r.style,{position:s}),RA(o,r,{placement:d,middleware:c,strategy:s}).then(({x:B,y:_,middlewareData:C,placement:N})=>{t||(UA({arrow:i,middlewareData:C}),VA({container:r,middlewareData:C,placement:N,coordinates:{x:B,y:_},lowPPI:((m==null?void 0:m.devicePixelRatio)||1)<=1,strategy:s,useTransform:f}),r.dispatchEvent(new CustomEvent(Qg)))}).catch(B=>{}))},y=HA(()=>x()),k=()=>{t=!0,m&&(m.removeEventListener("scroll",y),m.removeEventListener("resize",y)),v.forEach(B=>{B.removeEventListener("scroll",y)}),v.clear(),p==null||p.disconnect()};return m&&(m.addEventListener("scroll",y,{passive:!0}),m.addEventListener("resize",y)),y(),{updatePosition:y,dispose:k}}function Qp(e){"use no memo";const t=S.useRef(null),r=S.useRef(null),o=S.useRef(null),i=S.useRef(null),s=S.useRef(null),{enabled:c=!0}=e,d=nD(e),f=S.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var x;const y=(x=o.current)!==null&&x!==void 0?x:r.current;c&&lf()&&y&&i.current&&(t.current=rD({container:i.current,target:y,arrow:s.current,...d(i.current,s.current)}))},[c,d]),h=ke(x=>{o.current=x,f()});S.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var x;return(x=t.current)===null||x===void 0?void 0:x.updatePosition()},setTarget:x=>{e.target,h(x)}}),[e.target,h]),jr(()=>{var x;h((x=e.target)!==null&&x!==void 0?x:null)},[e.target,h]),jr(()=>{f()},[f]);const m=ym(null,x=>{r.current!==x&&(r.current=x,f())}),p=ke(()=>{var x;return(x=e.onPositioningEnd)===null||x===void 0?void 0:x.call(e)}),w=ym(null,x=>{if(i.current!==x){var y;(y=i.current)===null||y===void 0||y.removeEventListener(Qg,p),x==null||x.addEventListener(Qg,p),i.current=x,f()}}),v=ym(null,x=>{s.current!==x&&(s.current=x,f())});return{targetRef:m,containerRef:w,arrowRef:v}}function nD(e){"use no memo";const{align:t,arrowPadding:r,autoSize:o,coverTarget:i,flipBoundary:s,offset:c,overflowBoundary:d,pinned:f,position:h,unstable_disableTether:m,positionFixed:p,strategy:w,overflowBoundaryPadding:v,fallbackPositions:x,useTransform:y,matchTargetSize:k,disableUpdateOnResize:B=!1,shiftToCoverTarget:_}=e,{dir:C,targetDocument:N}=St(),R=C==="rtl",j=w??p?"fixed":"absolute",D=WA(o);return S.useCallback((M,I)=>{const G=jA(M),X=[D&&KA(D),k&&eD(),c&&QA(c),i&&GA(),!f&&$A({container:M,flipBoundary:s,hasScrollableElement:G,isRtl:R,fallbackPositions:x}),JA({container:M,hasScrollableElement:G,overflowBoundary:d,disableTether:m,overflowBoundaryPadding:v,isRtl:R,shiftToCoverTarget:_}),D&&YA(D,{container:M,overflowBoundary:d,overflowBoundaryPadding:v,isRtl:R}),XA(),I&&zA({element:I,padding:r}),Jx({strategy:"referenceHidden"}),Jx({strategy:"escaped"}),!1].filter(Boolean);return{placement:g6(t,h,R),middleware:X,strategy:j,useTransform:y,disableUpdateOnResize:B}},[t,r,D,i,m,s,R,c,d,f,h,j,v,x,y,k,N,B])}const p6=e=>{const[t,r]=S.useState(e);return[t,i=>{if(i==null){r(void 0);return}let s;i instanceof MouseEvent?s=i:s=i.nativeEvent;const c=DR(s);r(c)}]},Jp=Zl(void 0),oD={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};Jp.Provider;const Hr=e=>Ql(Jp,(t=oD)=>e(t)),aD=(e,t)=>{const r=Hr(_=>_.contentRef),o=Hr(_=>_.openOnHover),i=Hr(_=>_.setOpen),s=Hr(_=>_.mountNode),c=Hr(_=>_.arrowRef),d=Hr(_=>_.size),f=Hr(_=>_.withArrow),h=Hr(_=>_.appearance),m=Hr(_=>_.trapFocus),p=Hr(_=>_.inertTrapFocus),w=Hr(_=>_.inline),{modalAttributes:v}=Fi({trapFocus:m,legacyTrapFocus:!p,alwaysFocusable:!m}),x={inline:w,appearance:h,withArrow:f,size:d,arrowRef:c,mountNode:s,components:{root:"div"},root:je(ct("div",{ref:Br(t,r),role:m?"dialog":"group","aria-modal":m?!0:void 0,...v,...e}),{elementType:"div"})},{onMouseEnter:y,onMouseLeave:k,onKeyDown:B}=x.root;return x.root.onMouseEnter=_=>{o&&i(_,!0),y==null||y(_)},x.root.onMouseLeave=_=>{o&&i(_,!1),k==null||k(_)},x.root.onKeyDown=_=>{var C;_.key==="Escape"&&(!((C=r.current)===null||C===void 0)&&C.contains(_.target))&&(_.preventDefault(),i(_,!1)),B==null||B(_)},x};function iD(e){return Zt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}function lD(e,t){var r;const o=S.useMemo,i=S.useEffect,[s,c]=(r=o(()=>e(),t))!=null?r:[null,()=>null];return i(()=>c,t),s}const sD=xe({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),nw=jd.useInsertionEffect,uD=e=>{"use no memo";const{targetDocument:t,dir:r}=St(),o=LC(),i=qp(),s=sD(),c=RC(),d=J(c,s.root,e.className),f=o??(t==null?void 0:t.body),h=lD(()=>{if(f===void 0||e.disabled)return[null,()=>null];const m=f.ownerDocument.createElement("div");return f.appendChild(m),[m,()=>m.remove()]},[f]);return nw?nw(()=>{if(!h)return;const m=d.split(" ").filter(Boolean);return h.classList.add(...m),h.setAttribute("dir",r),h.setAttribute("data-portal-node","true"),i.current=h,()=>{h.classList.remove(...m),h.removeAttribute("dir")}},[d,r,h,i]):S.useMemo(()=>{h&&(h.className=d,h.setAttribute("dir",r),h.setAttribute("data-portal-node","true"),i.current=h)},[d,r,h,i]),h},cD=e=>{const{element:t,className:r}=iD(e.mountNode),o=S.useRef(null),i=uD({disabled:!!t,className:r}),s=t??i,c={children:e.children,mountNode:s,virtualParentRootRef:o};return S.useEffect(()=>{if(!s)return;const d=o.current,f=s.contains(d);if(d&&!f)return K2(s,d),()=>{K2(s,void 0)}},[o,s]),c};var dD=lS();const fD=e=>S.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&dD.createPortal(e.children,e.mountNode)),ts=e=>{const t=cD(e);return fD(t)};ts.displayName="Portal";const hD=e=>{const t=xt(e.root,{children:[e.withArrow&&ge("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:ge(ts,{mountNode:e.mountNode,children:t})},mD={root:"fui-PopoverSurface"},gD={small:6,medium:8,large:8},pD=xe({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",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",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);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".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;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),bD=e=>{"use no memo";const t=pD();return e.root.className=J(mD.root,t.root,e.inline&&t.inline,e.size==="small"&&t.smallPadding,e.size==="medium"&&t.mediumPadding,e.size==="large"&&t.largePadding,e.appearance==="inverted"&&t.inverted,e.appearance==="brand"&&t.brand,e.root.className),e.arrowClassName=J(t.arrow,e.size==="small"?t.smallArrow:t.mediumLargeArrow),e},Ud=S.forwardRef((e,t)=>{const r=aD(e,t);return bD(r),Xe("usePopoverSurfaceStyles_unstable")(r),hD(r)});Ud.displayName="PopoverSurface";const vD=4,yD=e=>{const[t,r]=p6(),o={size:"medium",contextTarget:t,setContextTarget:r,...e},i=S.Children.toArray(e.children);let s,c;i.length===2?(s=i[0],c=i[1]):i.length===1&&(c=i[0]);const[d,f]=xD(o),[h,m]=Xl(),p=ke((R,j)=>{if(m(),!(R instanceof Event)&&R.persist&&R.persist(),R.type==="mouseleave"){var D;h(()=>{f(R,j)},(D=e.mouseLeaveDelay)!==null&&D!==void 0?D:500)}else f(R,j)}),w=S.useCallback(R=>{p(R,!d)},[p,d]),v=wD(o),{targetDocument:x}=St();var y;e5({contains:ql,element:x,callback:R=>p(R,!1),refs:[v.triggerRef,v.contentRef],disabled:!d,disabledFocusOnIframe:!(!((y=e.closeOnIframeFocus)!==null&&y!==void 0)||y)});const k=o.openOnContext||o.closeOnScroll;t5({contains:ql,element:x,callback:R=>p(R,!1),refs:[v.triggerRef,v.contentRef],disabled:!d||!k});const{findFirstFocusable:B}=ma(),_=mN();S.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const R=v.contentRef.current;if(d&&R){var j;const D=!isNaN((j=R.getAttribute("tabIndex"))!==null&&j!==void 0?j:void 0),M=D?R:B(R);M==null||M.focus(),D&&_(R)}},[B,_,d,v.contentRef,e.unstable_disableAutoFocus]);var C,N;return{...o,...v,inertTrapFocus:(C=e.inertTrapFocus)!==null&&C!==void 0?C:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:s,popoverSurface:c,open:d,setOpen:p,toggleOpen:w,setContextTarget:r,contextTarget:t,inline:(N=e.inline)!==null&&N!==void 0?N:!1}};function xD(e){"use no memo";const t=ke((c,d)=>{var f;return(f=e.onOpenChange)===null||f===void 0?void 0:f.call(e,c,d)}),[r,o]=Rn({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=r!==void 0?r:e.open;const i=e.setContextTarget,s=S.useCallback((c,d)=>{d&&c.type==="contextmenu"&&i(c),d||i(void 0),o(d),t==null||t(c,{open:d})},[o,t,i]);return[r,s]}function wD(e){"use no memo";const t={position:"above",align:"center",arrowPadding:2*vD,target:e.openOnContext?e.contextTarget:void 0,...xf(e.positioning)};t.coverTarget&&(e.withArrow=!1),e.withArrow&&(t.offset=h6(t.offset,gD[e.size]));const{targetRef:r,containerRef:o,arrowRef:i}=Qp(t);return{triggerRef:r,contentRef:o,arrowRef:i}}const SD=e=>{const{appearance:t,arrowRef:r,contentRef:o,inline:i,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:h,size:m,toggleOpen:p,trapFocus:w,triggerRef:v,withArrow:x,inertTrapFocus:y}=e;return S.createElement(Jp.Provider,{value:{appearance:t,arrowRef:r,contentRef:o,inline:i,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:h,toggleOpen:p,triggerRef:v,size:m,trapFocus:w,inertTrapFocus:y,withArrow:x}},e.popoverTrigger,e.open&&e.popoverSurface)},Vd=e=>{const t=yD(e);return SD(t)};Vd.displayName="Popover";const kD=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=Eu(t),i=Hr(C=>C.open),s=Hr(C=>C.setOpen),c=Hr(C=>C.toggleOpen),d=Hr(C=>C.triggerRef),f=Hr(C=>C.openOnHover),h=Hr(C=>C.openOnContext),{triggerAttributes:m}=Fi(),p=C=>{h&&(C.preventDefault(),s(C,!0))},w=C=>{h||c(C)},v=C=>{C.key===Pi&&i&&!C.isDefaultPrevented()&&(s(C,!1),C.preventDefault())},x=C=>{f&&s(C,!0)},y=C=>{f&&s(C,!1)},k={...m,"aria-expanded":`${i}`,...o==null?void 0:o.props,onMouseEnter:ke(Mt(o==null?void 0:o.props.onMouseEnter,x)),onMouseLeave:ke(Mt(o==null?void 0:o.props.onMouseLeave,y)),onContextMenu:ke(Mt(o==null?void 0:o.props.onContextMenu,p)),ref:Br(d,o==null?void 0:o.ref)},B={...k,onClick:ke(Mt(o==null?void 0:o.props.onClick,w)),onKeyDown:ke(Mt(o==null?void 0:o.props.onKeyDown,v))},_=Di((o==null?void 0:o.type)==="button"||(o==null?void 0:o.type)==="a"?o.type:"div",B);return{children:sf(e.children,Di((o==null?void 0:o.type)==="button"||(o==null?void 0:o.type)==="a"?o.type:"div",h?k:r?B:_))}},BD=e=>e.children,wf=e=>{const t=kD(e);return BD(t)};wf.displayName="PopoverTrigger";wf.isFluentTriggerComponent=!0;const _D=6,TD=4,CD=e=>{"use no memo";var t,r,o,i,s,c;const d=jC(),f=KC(),{targetDocument:h}=St(),[m,p]=Xl(),{appearance:w="normal",children:v,content:x,withArrow:y=!1,positioning:k="above",onVisibleChange:B,relationship:_,showDelay:C=250,hideDelay:N=250,mountNode:R}=e,[j,D]=Rn({state:e.visible,initialState:!1}),M=S.useCallback((U,ae)=>{p(),D(me=>(ae.visible!==me&&(B==null||B(U,ae)),ae.visible))},[p,D,B]),I={withArrow:y,positioning:k,showDelay:C,hideDelay:N,relationship:_,visible:j,shouldRenderTooltip:j,appearance:w,mountNode:R,components:{content:"div"},content:je(x,{defaultProps:{role:"tooltip"},elementType:"div"})};I.content.id=hn("tooltip-",I.content.id);const G={enabled:I.visible,arrowPadding:2*TD,position:"above",align:"center",offset:4,...xf(I.positioning)};I.withArrow&&(G.offset=h6(G.offset,_D));const{targetRef:X,containerRef:re,arrowRef:ue}=Qp(G);I.content.ref=Br(I.content.ref,re),I.arrowRef=ue,jr(()=>{if(j){var U;const ae={hide:Te=>M(void 0,{visible:!1,documentKeyboardEvent:Te})};(U=d.visibleTooltip)===null||U===void 0||U.hide(),d.visibleTooltip=ae;const me=Te=>{Te.key===Pi&&!Te.defaultPrevented&&(ae.hide(Te),Te.preventDefault())};return h==null||h.addEventListener("keydown",me,{capture:!0}),()=>{d.visibleTooltip===ae&&(d.visibleTooltip=void 0),h==null||h.removeEventListener("keydown",me,{capture:!0})}}},[d,h,j,M]);const ne=S.useRef(!1),fe=S.useCallback(U=>{if(U.type==="focus"&&ne.current){ne.current=!1;return}const ae=d.visibleTooltip?0:I.showDelay;m(()=>{M(U,{visible:!0})},ae),U.persist()},[m,M,I.showDelay,d]),O=hN(),[W]=S.useState(()=>{const U=me=>{var Te;!((Te=me.detail)===null||Te===void 0)&&Te.isFocusedProgrammatically&&!O()&&(ne.current=!0)};let ae=null;return me=>{ae==null||ae.removeEventListener(Nn,U),me==null||me.addEventListener(Nn,U),ae=me}}),L=S.useCallback(U=>{let ae=I.hideDelay;U.type==="blur"&&(ae=0,ne.current=(h==null?void 0:h.activeElement)===U.target),m(()=>{M(U,{visible:!1})},ae),U.persist()},[m,M,I.hideDelay,h]);I.content.onPointerEnter=Mt(I.content.onPointerEnter,p),I.content.onPointerLeave=Mt(I.content.onPointerLeave,L),I.content.onFocus=Mt(I.content.onFocus,p),I.content.onBlur=Mt(I.content.onBlur,L);const Z=Eu(v),se={},A=(Z==null||(t=Z.props)===null||t===void 0?void 0:t["aria-expanded"])===!0||(Z==null||(r=Z.props)===null||r===void 0?void 0:r["aria-expanded"])==="true";return _==="label"?typeof I.content.children=="string"?se["aria-label"]=I.content.children:(se["aria-labelledby"]=I.content.id,I.shouldRenderTooltip=!0):_==="description"&&(se["aria-describedby"]=I.content.id,I.shouldRenderTooltip=!0),(f||A)&&(I.shouldRenderTooltip=!1),I.children=sf(v,{...se,...Z==null?void 0:Z.props,ref:Br(Z==null?void 0:Z.ref,W,G.target===void 0?X:void 0),onPointerEnter:ke(Mt(Z==null||(o=Z.props)===null||o===void 0?void 0:o.onPointerEnter,fe)),onPointerLeave:ke(Mt(Z==null||(i=Z.props)===null||i===void 0?void 0:i.onPointerLeave,L)),onFocus:ke(Mt(Z==null||(s=Z.props)===null||s===void 0?void 0:s.onFocus,fe)),onBlur:ke(Mt(Z==null||(c=Z.props)===null||c===void 0?void 0:c.onBlur,L))}),I},ED=e=>xt(S.Fragment,{children:[e.children,e.shouldRenderTooltip&&ge(ts,{mountNode:e.mountNode,children:xt(e.content,{children:[e.withArrow&&ge("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),ND={content:"fui-Tooltip__content"},zD=xe({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;}']}),RD=e=>{"use no memo";const t=zD();return e.content.className=J(ND.content,t.root,e.appearance==="inverted"&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow,e},er=e=>{const t=CD(e);return RD(t),Xe("useTooltipStyles_unstable")(t),ED(t)};er.displayName="Tooltip";er.isFluentTriggerComponent=!0;const e1=e=>{const{iconOnly:t,iconPosition:r}=e;return xt(e.root,{children:[r!=="after"&&e.icon&&ge(e.icon,{}),!t&&e.root.children,r==="after"&&e.icon&&ge(e.icon,{})]})},b6=S.createContext(void 0),AD={};b6.Provider;const DD=()=>{var e;return(e=S.useContext(b6))!==null&&e!==void 0?e:AD},Sf=(e,t)=>{const{size:r}=DD(),{appearance:o="secondary",as:i="button",disabled:s=!1,disabledFocusable:c=!1,icon:d,iconPosition:f="before",shape:h="rounded",size:m=r??"medium"}=e,p=gt(d,{elementType:"span"});return{appearance:o,disabled:s,disabledFocusable:c,iconPosition:f,shape:h,size:m,iconOnly:!!(p!=null&&p.children&&!e.children),components:{root:"button",icon:"span"},root:je(ct(i,Di(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:i==="button"?"button":void 0}}),icon:p}},ow={root:"fui-Button",icon:"fui-Button__icon"},jD=We("r1alrhcs",null,{r:[".r1alrhcs{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);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[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){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),OD=We("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);}"]),MD=xe({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},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",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},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",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},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",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},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);}",".fwiml72:hover:active{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);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{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);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),qD=xe({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",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},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"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},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"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{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);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{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;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),FD=xe({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"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},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){.f12k37oa[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;}.fdnykm2[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){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),PD=xe({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;}"]}),ID=xe({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);}"]}),kf=e=>{"use no memo";const t=jD(),r=OD(),o=MD(),i=qD(),s=FD(),c=PD(),d=ID(),{appearance:f,disabled:h,disabledFocusable:m,icon:p,iconOnly:w,iconPosition:v,shape:x,size:y}=e;return e.root.className=J(ow.root,t,f&&o[f],o[y],p&&y==="small"&&o.smallWithIcon,p&&y==="large"&&o.largeWithIcon,o[x],(h||m)&&i.base,(h||m)&&i.highContrast,f&&(h||m)&&i[f],f==="primary"&&s.primary,s[y],s[x],w&&c[y],e.root.className),e.icon&&(e.icon.className=J(ow.icon,r,!!e.root.children&&d[v],d[y],e.icon.className)),e},en=S.forwardRef((e,t)=>{const r=Sf(e,t);return kf(r),Xe("useButtonStyles_unstable")(r),e1(r)});en.displayName="Button";const LD=e=>{const{icon:t,iconOnly:r}=e;return xt(e.root,{children:[e.icon&&ge(e.icon,{}),!r&&e.root.children,(!r||!(t!=null&&t.children))&&e.menuIcon&&ge(e.menuIcon,{})]})},HD=({menuIcon:e,...t},r)=>{"use no memo";const o=Sf(t,r);return o.root["aria-expanded"]=t["aria-expanded"]?t["aria-expanded"]==="true"||t["aria-expanded"]===!0:!1,{...o,iconOnly:!t.children,components:{root:"button",icon:"span",menuIcon:"span"},menuIcon:gt(e,{defaultProps:{children:S.createElement(z7,null)},renderByDefault:!0,elementType:"span"})}},xm={root:"fui-MenuButton",icon:"fui-MenuButton__icon",menuIcon:"fui-MenuButton__menuIcon"},UD=xe({base:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"},outline:{g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],sj55zd:"f14nttnl"},primary:{De3pzq:"f8w4g0q"},secondary:{De3pzq:"f1nfm20t",g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],sj55zd:"f14nttnl"},subtle:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},transparent:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59"}},{d:[".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1ly1fcm{border-top-color:var(--colorNeutralStroke1Selected);}",".fi8bssc{border-right-color:var(--colorNeutralStroke1Selected);}",".fj6btzu{border-left-color:var(--colorNeutralStroke1Selected);}",".f1s9tnsa{border-bottom-color:var(--colorNeutralStroke1Selected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),VD=xe({outline:{sj55zd:"f14nttnl"},primary:{},secondary:{sj55zd:"f14nttnl"},subtle:{sj55zd:"f1qj7y59"},transparent:{sj55zd:"f1qj7y59"},highContrast:{ze5xyy:"f4xjyn1"}},{d:[".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}]]}),WD=xe({base:{Bg96gwp:"fez10in"},small:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},medium:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},large:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",Bg96gwp:"faaz57k",a9b677:"fjw5fx7"},notIconOnly:{Frg6f3:["fbyavb5","fm0x6gh"]}},{d:[".fez10in{line-height:0;}",".f1ugzwwg{font-size:12px;}",".fvblgha{height:12px;}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".frx94fk{width:12px;}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".faaz57k{line-height:var(--lineHeightBase400);}",".fjw5fx7{width:16px;}",".fbyavb5{margin-left:var(--spacingHorizontalXS);}",".fm0x6gh{margin-right:var(--spacingHorizontalXS);}"]}),GD=e=>{"use no memo";const t=UD(),r=VD(),o=WD();return e.root.className=J(xm.root,e.root["aria-expanded"]&&t.base,e.root["aria-expanded"]&&t[e.appearance],e.root.className),e.icon&&(e.icon.className=J(xm.icon,e.root["aria-expanded"]&&r[e.appearance]&&r.highContrast,e.icon.className)),e.menuIcon&&(e.menuIcon.className=J(xm.menuIcon,o.base,o[e.size],!e.iconOnly&&o.notIconOnly,e.menuIcon.className)),kf({...e,iconPosition:"before"}),e},v6=S.forwardRef((e,t)=>{const r=HD(e,t);return GD(r),Xe("useMenuButtonStyles_unstable")(r),LD(r)});v6.displayName="MenuButton";function $D(e,t){const{checked:r,defaultChecked:o,disabled:i,disabledFocusable:s}=e,{onClick:c,role:d}=t.root,[f,h]=Rn({state:r,defaultState:o,initialState:!1}),m=d==="menuitemcheckbox"||d==="checkbox",p=S.useCallback(w=>{if(!i&&!s){if(w.defaultPrevented)return;h(!f)}},[f,i,s,h]);return{...t,checked:f,root:{...t.root,[m?"aria-checked":"aria-pressed"]:f,onClick:ke(Mt(c,p))}}}const XD=(e,t)=>{const r=Sf(e,t);return $D(e,r)},aw={root:"fui-ToggleButton",icon:"fui-ToggleButton__icon"},KD=xe({base:{De3pzq:"f1nfm20t",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],sj55zd:"f14nttnl",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",Jwef8y:"f1knas48",Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1xlaoq0",gg5e9n:["f1m52nbi","f1ub3y4t"],Bi91k9c:"feu1g3u",iro3zm:"f141de4g",b661bw:"f11v6sdu",Bk6r4ia:["f9yn8i4","f1ajwf28"],B9zn80p:"f1uwu36w",Bpld233:["f1ajwf28","f9yn8i4"],B2d53fq:"f9olfzr"},highContrast:{Bsw6fvg:"f1rirnrt",Bjwas2f:"f132fbg1",Bn1d65q:["f1ene5x0","fzbc999"],Bxeuatn:"f6jgcol",n51gp8:["fzbc999","f1ene5x0"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3",F3bflw:0,mxns5l:0,B0tp99d:0,l9kbep:0,Bg4echp:0,o3nasb:0,B55dcl7:0,By5cl00:0,Bnk1xnq:0,gdbnj:0,Bw5jppy:0,B8jyv7h:0,ka51wi:0,G867l3:0,abbn9y:0,Btyszwp:0,Bi9mhhg:"f1mh9o5k",B7d2ofm:"fkom8lu"},outline:{De3pzq:"f1q9pm1r",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],Jwef8y:"fjxutwb",iro3zm:"fwiml72",B8q5s1w:"fcaw57c",Bci5o5g:["fpwd27e","f1999bjr"],n8qw10:"f1hi52o4",Bdrgwmp:["f1999bjr","fpwd27e"]},primary:{De3pzq:"f8w4g0q",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",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2"},secondary:{},subtle:{De3pzq:"fq5gl1p",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1eryozh",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd"},transparent:{De3pzq:"f1q9pm1r",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1qj7y59",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m"}},{d:[".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".fcaw57c[data-fui-focus-visible]{border-top-color:var(--colorNeutralStroke1);}",".fpwd27e[data-fui-focus-visible]{border-right-color:var(--colorNeutralStroke1);}",".f1999bjr[data-fui-focus-visible]{border-left-color:var(--colorNeutralStroke1);}",".f1hi52o4[data-fui-focus-visible]{border-bottom-color:var(--colorNeutralStroke1);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f141de4g:hover:active{background-color:var(--colorNeutralBackground1Pressed);}",".f11v6sdu:hover:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f9yn8i4:hover:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1ajwf28:hover:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1uwu36w:hover:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f9olfzr:hover:active{color:var(--colorNeutralForeground1Pressed);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{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);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1mh9o5k:focus{border:1px solid HighlightText;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkom8lu:focus{outline-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),YD=xe({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo"},outline:{},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{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);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],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);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}"]}),ZD=xe({subtleOrTransparent:{sj55zd:"f1qj7y59"},highContrast:{ycbfsm:"fg4l7m0"}},{d:[".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),QD=xe({base:{Bsw6fvg:"f4lkoma",Bjwas2f:"f1bauw5b",Bn1d65q:["fbpknfk","fedl69w"],Bxeuatn:"f15s25nd",n51gp8:["fedl69w","fbpknfk"],Bbusuzp:"f1e4kh5",ycbfsm:"fg4l7m0"},disabled:{Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"]}},{m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1bauw5b{border-top-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbpknfk{border-right-color:ButtonBorder;}.fedl69w{border-left-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f15s25nd{border-bottom-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e4kh5{color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),JD=e=>{"use no memo";const t=KD(),r=YD(),o=ZD(),i=QD(),{appearance:s,checked:c,disabled:d,disabledFocusable:f}=e;return e.root.className=J(aw.root,s==="primary"&&i.base,s==="primary"&&(d||f)&&i.disabled,c&&t.base,c&&t.highContrast,s&&c&&t[s],(d||f)&&r.base,s&&(d||f)&&r[s],e.root.className),e.icon&&(e.icon.className=J(aw.icon,c&&(s==="subtle"||s==="transparent")&&o.subtleOrTransparent,o.highContrast,e.icon.className)),kf(e),e},y6=S.createContext(void 0);y6.Provider;const ej=()=>S.useContext(y6);function t1(e,t){return tj(ej(),e,t)}function tj(e,t,r){if(!e)return t;t={...t};const{generatedControlId:o,hintId:i,labelFor:s,labelId:c,required:d,validationMessageId:f,validationState:h}=e;if(o){var m,p;(p=(m=t).id)!==null&&p!==void 0||(m.id=o)}if(c&&(!(r!=null&&r.supportsLabelFor)||s!==t.id)){var w,v,x;(x=(w=t)[v="aria-labelledby"])!==null&&x!==void 0||(w[v]=c)}if((f||i)&&(t["aria-describedby"]=[f,i,t==null?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),h==="error"){var y,k,B;(B=(y=t)[k="aria-invalid"])!==null&&B!==void 0||(y[k]=!0)}if(d)if(r!=null&&r.supportsRequired){var _,C;(C=(_=t).required)!==null&&C!==void 0||(_.required=!0)}else{var N,R,j;(j=(N=t)[R="aria-required"])!==null&&j!==void 0||(N[R]=!0)}if(r!=null&&r.supportsSize){var D,M;(M=(D=t).size)!==null&&M!==void 0||(D.size=e.size)}return t}const rj=(e,t)=>{const{disabled:r=!1,required:o=!1,weight:i="regular",size:s="medium"}=e;return{disabled:r,required:gt(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:s,components:{root:"label",required:"span"},root:je(ct("label",{ref:t,...e}),{elementType:"label"})}},nj=e=>xt(e.root,{children:[e.root.children,e.required&&ge(e.required,{})]}),iw={root:"fui-Label",required:"fui-Label__required"},oj=xe({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},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){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),aj=e=>{"use no memo";const t=oj();return e.root.className=J(iw.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=J(iw.required,t.required,e.disabled&&t.disabled,e.required.className)),e},da=S.forwardRef((e,t)=>{const r=rj(e,t);return aj(r),Xe("useLabelStyles_unstable")(r),nj(r)});da.displayName="Label";const ij=(e,t)=>{"use no memo";e=t1(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:o,shape:i="square",size:s="medium",labelPosition:c="after",onChange:d}=e,[f,h]=Rn({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),m=af({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),p=f==="mixed",w=hn("checkbox-",m.primary.id);let v;p?i==="circular"?v=S.createElement(G5,null):v=s==="large"?S.createElement(gz,null):S.createElement(mz,null):f&&(v=s==="large"?S.createElement(I7,null):S.createElement(P7,null));const x={shape:i,checked:f,disabled:r,size:s,labelPosition:c,components:{root:"span",input:"input",indicator:"div",label:da},root:je(e.root,{defaultProps:{ref:Kl(),...m.root},elementType:"span"}),input:je(e.input,{defaultProps:{type:"checkbox",id:w,ref:t,checked:f===!0,...m.primary},elementType:"input"}),label:gt(e.label,{defaultProps:{htmlFor:w,disabled:r,required:o,size:"medium"},elementType:da}),indicator:gt(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:v},elementType:"div"})};x.input.onChange=ke(k=>{const B=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;d==null||d(k,{checked:B}),h(B)});const y=Br(x.input.ref);return x.input.ref=y,jr(()=>{y.current&&(y.current.indeterminate=p)},[y,p]),x},lj=e=>xt(e.root,{children:[ge(e.input,{}),e.labelPosition==="before"&&e.label&&ge(e.label,{}),e.indicator&&ge(e.indicator,{}),e.labelPosition==="after"&&e.label&&ge(e.label,{})]}),ad={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},sj=We("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[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);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[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){.r1q22k1j[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){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),uj=xe({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",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{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){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),cj=We("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));}"]),dj=xe({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));}"]}),fj=We("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;}"]),hj=xe({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}]]}),mj=xe({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);}"]}),gj=e=>{"use no memo";const{checked:t,disabled:r,labelPosition:o,shape:i,size:s}=e,c=sj(),d=uj();e.root.className=J(ad.root,c,r?d.disabled:t==="mixed"?d.mixed:t?d.checked:d.unchecked,e.root.className);const f=cj(),h=dj();e.input.className=J(ad.input,f,s==="large"&&h.large,h[o],e.input.className);const m=fj(),p=hj();e.indicator&&(e.indicator.className=J(ad.indicator,m,s==="large"&&p.large,i==="circular"&&p.circular,e.indicator.className));const w=mj();return e.label&&(e.label.className=J(ad.label,w.base,w[s],w[o],e.label.className)),e},rp=S.forwardRef((e,t)=>{const r=ij(e,t);return gj(r),Xe("useCheckboxStyles_unstable")(r),lj(r)});rp.displayName="Checkbox";const pj=e=>ge(e.root,{children:e.root.children!==void 0&&ge(e.wrapper,{children:e.root.children})}),bj=(e,t)=>{const{alignContent:r="center",appearance:o="default",inset:i=!1,vertical:s=!1,wrapper:c}=e,d=hn("divider-");return{alignContent:r,appearance:o,inset:i,vertical:s,components:{root:"div",wrapper:"div"},root:je(ct("div",{role:"separator","aria-orientation":s?"vertical":"horizontal","aria-labelledby":e.children?d:void 0,...e,ref:t}),{elementType:"div"}),wrapper:je(c,{defaultProps:{id:d,children:e.children},elementType:"div"})}},lw={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},vj=xe({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),yj=xe({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),xj=xe({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),wj=e=>{"use no memo";const t=vj(),r=yj(),o=xj(),{alignContent:i,appearance:s,inset:c,vertical:d}=e;return e.root.className=J(lw.root,t.base,t[i],s&&t[s],!d&&r.base,!d&&c&&r.inset,!d&&r[i],d&&o.base,d&&c&&o.inset,d&&o[i],d&&e.root.children!==void 0&&o.withChildren,e.root.children===void 0&&t.childless,e.root.className),e.wrapper&&(e.wrapper.className=J(lw.wrapper,e.wrapper.className)),e},Sj=e=>ge(e.root,{}),kj=(e,t)=>{const{bordered:r=!1,fit:o="default",block:i=!1,shape:s="square",shadow:c=!1}=e;return{bordered:r,fit:o,block:i,shape:s,shadow:c,components:{root:"img"},root:je(ct("img",{ref:t,...e}),{elementType:"img"})}},Bj={root:"fui-Image"},_j=xe({base:{g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",B7ck84d:"f1ewtqcl",mc9l5x:"f14t3ns0"},bordered:{icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{},shadow:{E5pizo:"f1whvlc6"},center:{st4lth:"f1plgu50",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},contain:{st4lth:"f1kle4es",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},default:{},cover:{st4lth:"f1ps3kmd",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},none:{st4lth:"f1plgu50",Ermj5k:["f13uwng7","fjmyj0p"],Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},block:{a9b677:"fly5x3f"}},{d:[".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14t3ns0{display:inline-block;}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1whvlc6{box-shadow:var(--shadow4);}",".f1plgu50{object-fit:none;}",".f14xojzb{object-position:center;}",".f1l02sjl{height:100%;}",".fly5x3f{width:100%;}",".f1kle4es{object-fit:contain;}",".f1ps3kmd{object-fit:cover;}",".f13uwng7{object-position:left top;}",".fjmyj0p{object-position:right top;}"]}),Tj=e=>{"use no memo";const t=_j();return e.root.className=J(Bj.root,t.base,e.block&&t.block,e.bordered&&t.bordered,e.shadow&&t.shadow,t[e.fit],t[e.shape],e.root.className),e},r1=S.forwardRef((e,t)=>{const r=kj(e,t);return Tj(r),Xe("useImageStyles_unstable")(r),Sj(r)});r1.displayName="Image";const Cj=e=>{const{disabled:t,disabledFocusable:r}=e,{onClick:o,onKeyDown:i,role:s,tabIndex:c}=e.root;return e.root.as==="a"&&(e.root.href=t?void 0:e.root.href,(t||r)&&(e.root.role=s||"link")),(e.root.as==="a"||e.root.as==="span")&&(e.root.tabIndex=c??(t&&!r?void 0:0)),e.root.onClick=d=>{t||r?d.preventDefault():o==null||o(d)},e.root.onKeyDown=d=>{const f=d.key===zl||d.key===Ya;(t||r)&&f?(d.preventDefault(),d.stopPropagation()):(i==null||i(d),e.root.as==="span"&&e.root.onClick&&!i&&f&&(d.preventDefault(),d.currentTarget.click()))},e.disabled=t||r,e.root["aria-disabled"]=t||r||void 0,e.root.as==="button"&&(e.root.disabled=t&&!r),e},x6=S.createContext(void 0),Ej={inline:!1};x6.Provider;const Nj=()=>{var e;return(e=S.useContext(x6))!==null&&e!==void 0?e:Ej},zj=(e,t)=>{const r=Ap(),{inline:o}=Nj(),{appearance:i="default",disabled:s=!1,disabledFocusable:c=!1,inline:d=!1}=e,f=e.as||(e.href?"a":"button"),h={role:f==="span"?"button":void 0,type:f==="button"?"button":void 0,...e,as:f},m={appearance:i,disabled:s,disabledFocusable:c,inline:d??!!o,components:{root:f},root:je(ct(f,{ref:t,...h}),{elementType:f}),backgroundAppearance:r};return Cj(m),m},Rj={root:"fui-Link"},Aj=xe({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"fkfq4zb",Bde5pd6:"f1tx3yz7",Bi91k9c:"fnwyq0v",i089h6:"f1eh06m1",lj723h:"flvvhsy"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1mlt8il",lj723h:"f1hsd4st"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1mlt8il:hover{color:var(--colorBrandForegroundInvertedHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1hsd4st:active{color:var(--colorBrandForegroundInvertedPressed);}"]}),Dj=e=>{"use no memo";const t=Aj(),{appearance:r,disabled:o,inline:i,root:s,backgroundAppearance:c}=e;return e.root.className=J(Rj.root,t.root,t.focusIndicator,s.as==="a"&&s.href&&t.href,s.as==="button"&&t.button,r==="subtle"&&t.subtle,c==="inverted"&&t.inverted,i&&t.inline,o&&t.disabled,e.root.className),e},jj=e=>ge(e.root,{}),n1=S.forwardRef((e,t)=>{const r=zj(e,t);return Dj(r),Xe("useLinkStyles_unstable")(r),jj(r)});n1.displayName="Link";const o1=Zl(void 0),Oj={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},Mj=o1.Provider,Qt=e=>Ql(o1,(t=Oj)=>e(t)),w6=S.createContext(void 0),qj=!1,Fj=w6.Provider,Pj=()=>{var e;return(e=S.useContext(w6))!==null&&e!==void 0?e:qj},a1=Zl(void 0),Ij={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},Lj=a1.Provider,np=e=>Ql(a1,(t=Ij)=>e(t)),ku="fuimenuenter",Hj=e=>{const{refs:t,callback:r,element:o,disabled:i}=e,s=ke(c=>{const d=t[0],f=c.target;var h;!ql((h=d.current)!==null&&h!==void 0?h:null,f)&&!i&&r(c)});S.useEffect(()=>{if(o!=null)return i||o.addEventListener(ku,s),()=>{o.removeEventListener(ku,s)}},[s,o,i])},Uj=(e,t)=>{e.dispatchEvent(new CustomEvent(ku,{bubbles:!0,detail:{nativeEvent:t}}))};function i1(){const e=Qt(r=>r.isSubmenu),t=Ip(a1);return e||t}const Vj=["after","after-bottom","before-top","before","before-bottom","above"],Wj=e=>{const t=i1(),{hoverDelay:r=500,inline:o=!1,hasCheckmarks:i=!1,hasIcons:s=!1,closeOnScroll:c=!1,openOnContext:d=!1,persistOnItemClick:f=!1,openOnHover:h=t,defaultCheckedValues:m,mountNode:p=null}=e,w=hn("menu"),[v,x]=p6(),y={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?v:void 0,fallbackPositions:t?Vj:void 0,...xf(e.positioning)},k=S.Children.toArray(e.children);let B,_;k.length===2?(B=k[0],_=k[1]):k.length===1&&(_=k[0]);const{targetRef:C,containerRef:N}=Qp(y),[R,j]=$j({hoverDelay:r,isSubmenu:t,setContextTarget:x,closeOnScroll:c,menuPopoverRef:N,triggerRef:C,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[D,M]=Gj({checkedValues:e.checkedValues,defaultCheckedValues:m,onCheckedValueChange:e.onCheckedValueChange});return{inline:o,hoverDelay:r,triggerId:w,isSubmenu:t,openOnHover:h,contextTarget:v,setContextTarget:x,hasCheckmarks:i,hasIcons:s,closeOnScroll:c,menuTrigger:B,menuPopover:_,mountNode:p,triggerRef:C,menuPopoverRef:N,components:{},openOnContext:d,open:R,setOpen:j,checkedValues:D,onCheckedValueChange:M,persistOnItemClick:f}},Gj=e=>{const[t,r]=Rn({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),o=ke((i,{name:s,checkedItems:c})=>{var d;(d=e.onCheckedValueChange)===null||d===void 0||d.call(e,i,{name:s,checkedItems:c}),r(f=>({...f,[s]:c}))});return[t,o]},$j=e=>{"use no memo";const{targetDocument:t}=St(),r=Qt(y=>y.setOpen),o=ke((y,k)=>{var B;return(B=e.onOpenChange)===null||B===void 0?void 0:B.call(e,y,k)}),i=S.useRef(!1),[s,c]=Rn({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=ke((y,k)=>{const B=y instanceof CustomEvent&&y.type===ku?y.detail.nativeEvent:y;o==null||o(B,{...k}),k.open&&y.type==="contextmenu"&&e.setContextTarget(y),k.open||e.setContextTarget(void 0),k.bubble&&r(y,{...k}),c(k.open)}),[f,h]=Xl(),m=ke((y,k)=>{if(h(),!(y instanceof Event)&&y.persist&&y.persist(),y.type==="mouseleave"||y.type==="mouseenter"||y.type==="mousemove"||y.type===ku){var B;!((B=e.triggerRef.current)===null||B===void 0)&&B.contains(y.target)&&(i.current=y.type==="mouseenter"||y.type==="mousemove"),f(()=>d(y,k),e.hoverDelay)}else d(y,k)});e5({contains:ql,disabled:!s,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:y=>m(y,{open:!1,type:"clickOutside",event:y})});const p=e.openOnContext||e.closeOnScroll;t5({contains:ql,element:t,callback:y=>m(y,{open:!1,type:"scrollOutside",event:y}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!s||!p}),Hj({element:t,callback:y=>{i.current||m(y,{open:!1,type:"menuMouseEnter",event:y})},disabled:!s,refs:[e.menuPopoverRef]});const{findFirstFocusable:w}=ma(),v=S.useCallback(()=>{const y=w(e.menuPopoverRef.current);y==null||y.focus()},[w,e.menuPopoverRef]),x=YS();return S.useEffect(()=>{if(s)v();else if(!x&&(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)){var y;(y=e.triggerRef.current)===null||y===void 0||y.focus()}},[e.triggerRef,e.isSubmenu,s,v,t,e.menuPopoverRef]),[s,m]};function Xj(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:i,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:h,openOnContext:m,openOnHover:p,persistOnItemClick:w,setOpen:v,triggerId:x,triggerRef:y}=e;return{menu:{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:i,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:h,openOnContext:m,openOnHover:p,persistOnItemClick:w,setOpen:v,triggerId:x,triggerRef:y}}}const Kj=(e,t)=>S.createElement(Mj,{value:t.menu},e.menuTrigger,e.open&&e.menuPopover),Bf=e=>{const t=Wj(e),r=Xj(t);return Kj(t,r)};Bf.displayName="Menu";const Yj=(e,t)=>{"use no memo";const r=np(i=>i.setFocusByFirstCharacter),{onKeyDown:o}=e.root;return e.root.onKeyDown=i=>{var s;o==null||o(i),!(((s=i.key)===null||s===void 0?void 0:s.length)>1)&&t.current&&(r==null||r(i,t.current))},e},S6=S.createContext(void 0),k6={setMultiline:()=>null};S6.Provider;const B6=()=>{var e;return(e=S.useContext(S6))!==null&&e!==void 0?e:k6},_6=()=>B6()!==k6,Zj=Vr(D7,j7),Qj=Vr(R7,A7),Jj=(e,t)=>{const r=Pj(),o=Qt(y=>y.persistOnItemClick),{as:i="div",disabled:s=!1,hasSubmenu:c=r,persistOnClick:d=o}=e,{hasIcons:f,hasCheckmarks:h}=tO({hasSubmenu:c}),m=Qt(y=>y.setOpen);eO({multiline:!!e.subText,hasSubmenu:c});const{dir:p}=St(),w=S.useRef(null),v=S.useRef(!1),x={hasSubmenu:c,disabled:s,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:je(ct(i,Di(i,{role:"menuitem",...e,disabled:!1,disabledFocusable:s,ref:Br(t,w),onKeyDown:ke(y=>{var k;(k=e.onKeyDown)===null||k===void 0||k.call(e,y),!y.isDefaultPrevented()&&(y.key===Ya||y.key===zl)&&(v.current=!0)}),onMouseMove:ke(y=>{var k;if(y.currentTarget.ownerDocument.activeElement!==y.currentTarget){var B;(B=w.current)===null||B===void 0||B.focus()}(k=e.onMouseMove)===null||k===void 0||k.call(e,y)}),onClick:ke(y=>{var k;!c&&!d&&(m(y,{open:!1,keyboard:v.current,bubble:!0,type:"menuItemClick",event:y}),v.current=!1),(k=e.onClick)===null||k===void 0||k.call(e,y)})})),{elementType:"div"}),icon:gt(e.icon,{renderByDefault:f,elementType:"span"}),checkmark:gt(e.checkmark,{renderByDefault:h,elementType:"span"}),submenuIndicator:gt(e.submenuIndicator,{renderByDefault:c,defaultProps:{children:p==="ltr"?S.createElement(Zj,null):S.createElement(Qj,null)},elementType:"span"}),content:gt(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:gt(e.secondaryContent,{elementType:"span"}),subText:gt(e.subText,{elementType:"span"})};return Yj(x,w),x},eO=e=>{const{hasSubmenu:t,multiline:r}=e,o=_6()&&t,{setMultiline:i}=B6();jr(()=>{o||i(r)},[i,r,o])},tO=e=>{const{hasSubmenu:t}=e,r=np(s=>s.hasIcons),o=np(s=>s.hasCheckmarks),i=_6()&&t;return{hasIcons:r&&!i,hasCheckmarks:o&&!i}},rO=e=>xt(e.root,{children:[e.checkmark&&ge(e.checkmark,{}),e.icon&&ge(e.icon,{}),e.content&&xt(e.content,{children:[e.content.children,e.subText&&ge(e.subText,{})]}),e.secondaryContent&&ge(e.secondaryContent,{}),e.submenuIndicator&&ge(e.submenuIndicator,{})]}),nO=xe({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),oO=e=>{"use no memo";const t=nO();e.checkmark&&(e.checkmark.className=J(t.root,e.checked&&t.rootChecked,e.checkmark.className))},Ti={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},aO=We("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),iO=We("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),lO=We("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),sO=We("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),uO=We("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),cO=We("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),dO=xe({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",t0hwav:"ft33916",Bbusuzp:"f1dcs8yz",ze5xyy:"f1kc2mi9",Bqrx1nm:"fkavljg",Bctn1xl:"fk56vqo",h5esng:"ff3wi9b",Bh6z0a4:"f1ikwg0d",Bh953qp:"f10l1t5h"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkavljg:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fk56vqo:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff3wi9b:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ikwg0d:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f10l1t5h:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),fO=xe({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),hO=e=>{"use no memo";const t=dO(),r=aO(),o=iO(),i=lO(),s=sO(),c=uO(),d=fO(),f=cO(),h=!!e.subText;return e.root.className=J(Ti.root,r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=J(Ti.content,o,e.content.className,h&&d.content)),e.checkmark&&(e.checkmark.className=J(Ti.checkmark,t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=J(Ti.secondaryContent,!e.disabled&&i,e.secondaryContent.className,h&&d.secondaryContent)),e.icon&&(e.icon.className=J(Ti.icon,s,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=J(Ti.submenuIndicator,c,e.submenuIndicator.className,h&&d.submenuIndicator)),e.subText&&(e.subText.className=J(Ti.subText,e.subText.className,f)),oO(e),e},Hl=S.forwardRef((e,t)=>{const r=Jj(e,t);return hO(r),Xe("useMenuItemStyles_unstable")(r),rO(r)});Hl.displayName="MenuItem";const mO=(e,t)=>{const{findAllFocusable:r}=ma(),{targetDocument:o}=St(),i=gO(),s=Ip(o1),c=ri({circular:!0});pO(e,i,s)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const d=S.useRef(null);S.useEffect(()=>{const k=d.current;if(s&&o&&k){const B=_=>{const C=_.detail.next;C&&k.contains(o.activeElement)&&!k.contains(C)&&_.preventDefault()};return o.addEventListener(Vg,B),()=>{o.removeEventListener(Vg,B)}}},[d,o,s]);const f=S.useCallback((k,B)=>{const _=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const C=r(d.current,I=>I.hasAttribute("role")&&_.indexOf(I.getAttribute("role"))!==-1);let N=C.indexOf(B)+1;N===C.length&&(N=0);const R=C.map(I=>{var G;return(G=I.textContent)===null||G===void 0?void 0:G.charAt(0).toLowerCase()}),j=k.key.toLowerCase(),D=(I,G)=>{for(let X=I;X<R.length;X++)if(j===R[X])return X;return-1};let M=D(N);M===-1&&(M=D(0)),M>-1&&C[M].focus()},[r]);var h;const[m,p]=Rn({state:(h=e.checkedValues)!==null&&h!==void 0?h:s?i.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var w;const v=(w=e.onCheckedValueChange)!==null&&w!==void 0?w:s?i.onCheckedValueChange:void 0,x=ke((k,B,_,C)=>{const R=[...(m==null?void 0:m[B])||[]];C?R.splice(R.indexOf(_),1):R.push(_),v==null||v(k,{name:B,checkedItems:R}),p(j=>({...j,[B]:R}))}),y=ke((k,B,_)=>{const C=[_];p(N=>({...N,[B]:C})),v==null||v(k,{name:B,checkedItems:C})});return{components:{root:"div"},root:je(ct("div",{ref:Br(t,d),role:"menu","aria-labelledby":i.triggerId,...c,...e}),{elementType:"div"}),hasIcons:i.hasIcons||!1,hasCheckmarks:i.hasCheckmarks||!1,checkedValues:m,hasMenuContext:s,setFocusByFirstCharacter:f,selectRadio:y,toggleCheckbox:x}},gO=()=>{const e=Qt(s=>s.checkedValues),t=Qt(s=>s.onCheckedValueChange),r=Qt(s=>s.triggerId),o=Qt(s=>s.hasIcons),i=Qt(s=>s.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:t,triggerId:r,hasIcons:o,hasCheckmarks:i}},pO=(e,t,r)=>{let o=!1;for(const i in t)e[i]&&(o=!0);return r&&o},bO=(e,t)=>ge(Lj,{value:t.menuList,children:ge(e.root,{})});function vO(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:i,setFocusByFirstCharacter:s,toggleCheckbox:c}=e;return{menuList:{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:i,setFocusByFirstCharacter:s,toggleCheckbox:c}}}const yO={root:"fui-MenuList"},xO=xe({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),wO=e=>{"use no memo";const t=xO();return e.root.className=J(yO.root,t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className),e},_f=S.forwardRef((e,t)=>{const r=mO(e,t),o=vO(r);return wO(r),Xe("useMenuListStyles_unstable")(r),bO(r,o)});_f.displayName="MenuList";const SO=(e,t)=>{"use no memo";const r=Qt(R=>R.menuPopoverRef),o=Qt(R=>R.setOpen),i=Qt(R=>R.open),s=Qt(R=>R.openOnHover),c=Qt(R=>R.triggerRef),d=i1(),f=S.useRef(!0),h=fN(),[m,p]=Xl(),{dir:w}=St(),v=w==="ltr"?Hp:mf,x=S.useCallback(R=>{R&&R.addEventListener("mouseover",j=>{f.current&&(f.current=!1,Uj(r.current,j),m(()=>f.current=!0,250))})},[r,m]);S.useEffect(()=>{},[p]);var y;const k=(y=Qt(R=>R.inline))!==null&&y!==void 0?y:!1,B=Qt(R=>R.mountNode),_=je(ct("div",{role:"presentation",...h,...e,ref:Br(t,r,x)}),{elementType:"div"}),{onMouseEnter:C,onKeyDown:N}=_;return _.onMouseEnter=ke(R=>{(s||d)&&o(R,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:R}),C==null||C(R)}),_.onKeyDown=ke(R=>{const j=R.key;if(j===Pi||d&&j===v){var D;i&&(!((D=r.current)===null||D===void 0)&&D.contains(R.target))&&!R.isDefaultPrevented()&&(o(R,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:R}),R.preventDefault())}if(j===U5&&(o(R,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:R}),!d)){var M;(M=c.current)===null||M===void 0||M.focus()}N==null||N(R)}),{inline:k,mountNode:B,components:{root:"div"},root:_}},kO={root:"fui-MenuPopover"},BO=xe({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}"],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),_O=e=>{"use no memo";const t=BO();return e.root.className=J(kO.root,t.root,e.root.className),e},TO=e=>e.inline?ge(e.root,{}):ge(ts,{mountNode:e.mountNode,children:ge(e.root,{})}),Tf=S.forwardRef((e,t)=>{const r=SO(e,t);return _O(r),Xe("useMenuPopoverStyles_unstable")(r),TO(r)});Tf.displayName="MenuPopover";const CO=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=Qt(X=>X.triggerRef),i=Qt(X=>X.menuPopoverRef),s=Qt(X=>X.setOpen),c=Qt(X=>X.open),d=Qt(X=>X.triggerId),f=Qt(X=>X.openOnHover),h=Qt(X=>X.openOnContext),m=i1(),{findFirstFocusable:p}=ma(),w=S.useCallback(()=>{const X=p(i.current);X==null||X.focus()},[p,i]),v=S.useRef(!1),x=S.useRef(!1),{dir:y}=St(),k=y==="ltr"?mf:Hp,B=Eu(t),_=X=>{kl(X)||X.isDefaultPrevented()||h&&(X.preventDefault(),s(X,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:X}))},C=X=>{kl(X)||h||(s(X,{open:!c,keyboard:v.current,type:"menuTriggerClick",event:X}),v.current=!1)},N=X=>{if(kl(X))return;const re=X.key;!h&&(m&&re===k||!m&&re===Lp)&&s(X,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:X}),re===Pi&&!m&&s(X,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:X}),c&&re===k&&m&&w()},R=X=>{kl(X)||f&&x.current&&s(X,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:X})},j=X=>{kl(X)||f&&!x.current&&(s(X,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:X}),x.current=!0)},D=X=>{kl(X)||f&&s(X,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:X})},M={id:d,...B==null?void 0:B.props,ref:Br(o,B==null?void 0:B.ref),onMouseEnter:ke(Mt(B==null?void 0:B.props.onMouseEnter,R)),onMouseLeave:ke(Mt(B==null?void 0:B.props.onMouseLeave,D)),onContextMenu:ke(Mt(B==null?void 0:B.props.onContextMenu,_)),onMouseMove:ke(Mt(B==null?void 0:B.props.onMouseMove,j))},I={"aria-haspopup":"menu","aria-expanded":!c&&!m?void 0:c,...M,onClick:ke(Mt(B==null?void 0:B.props.onClick,C)),onKeyDown:ke(Mt(B==null?void 0:B.props.onKeyDown,N))},G=Di((B==null?void 0:B.type)==="button"||(B==null?void 0:B.type)==="a"?B.type:"div",I);return{isSubmenu:m,children:sf(t,h?M:r?I:G)}},kl=e=>{const t=r=>r.hasAttribute("disabled")||r.hasAttribute("aria-disabled")&&r.getAttribute("aria-disabled")==="true";return Zt(e.target)&&t(e.target)?!0:Zt(e.currentTarget)&&t(e.currentTarget)},EO=e=>S.createElement(Fj,{value:e.isSubmenu},e.children),Au=e=>{const t=CO(e);return EO(t)};Au.displayName="MenuTrigger";Au.isFluentTriggerComponent=!0;const T6=S.createContext(void 0),NO={};T6.Provider;const zO=()=>S.useContext(T6)||NO,RO=e=>xt(e.root,{children:[ge(e.input,{}),ge(e.indicator,{}),e.label&&ge(e.label,{})]}),AO=(e,t)=>{const r=zO(),{name:o=r.name,checked:i=r.value!==void 0?r.value===e.value:void 0,defaultChecked:s=r.defaultValue!==void 0?r.defaultValue===e.value:void 0,labelPosition:c=r.layout==="horizontal-stacked"?"below":"after",disabled:d=r.disabled,required:f=r.required,"aria-describedby":h=r["aria-describedby"],onChange:m}=e,p=af({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=je(e.root,{defaultProps:{ref:Kl(),...p.root},elementType:"span"}),v=je(e.input,{defaultProps:{ref:t,type:"radio",id:hn("radio-",p.primary.id),name:o,checked:i,defaultChecked:s,disabled:d,required:f,"aria-describedby":h,...p.primary},elementType:"input"});v.onChange=Mt(v.onChange,k=>m==null?void 0:m(k,{value:k.currentTarget.value}));const x=gt(e.label,{defaultProps:{htmlFor:v.id,disabled:v.disabled},elementType:da}),y=je(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:c,components:{root:"span",input:"input",label:da,indicator:"div"},root:w,input:v,label:x,indicator:y}},id={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},DO=We("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),jO=xe({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),OO=We("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),MO=xe({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),qO=We("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),FO=xe({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),PO=e=>{"use no memo";const{labelPosition:t}=e,r=DO(),o=jO();e.root.className=J(id.root,r,t==="below"&&o.vertical,e.root.className);const i=OO(),s=MO();e.input.className=J(id.input,i,t==="below"&&s.below,e.indicator.children?s.customIndicator:s.defaultIndicator,e.input.className);const c=qO();e.indicator.className=J(id.indicator,c,e.indicator.className);const d=FO();return e.label&&(e.label.className=J(id.label,d.base,d[t],e.label.className)),e},op=S.forwardRef((e,t)=>{const r=AO(e,t);return PO(r),Xe("useRadioStyles_unstable")(r),RO(r)});op.displayName="Radio";const IO=(e,t)=>{e=t1(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:r,defaultChecked:o,disabled:i,labelPosition:s="after",onChange:c,required:d}=e,f=af({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),h=hn("switch-",f.primary.id),m=je(e.root,{defaultProps:{ref:Kl(),...f.root},elementType:"div"}),p=je(e.indicator,{defaultProps:{"aria-hidden":!0,children:S.createElement(G5,null)},elementType:"div"}),w=je(e.input,{defaultProps:{checked:r,defaultChecked:o,id:h,ref:t,role:"switch",type:"checkbox",...f.primary},elementType:"input"});w.onChange=Mt(w.onChange,x=>c==null?void 0:c(x,{checked:x.currentTarget.checked}));const v=gt(e.label,{defaultProps:{disabled:i,htmlFor:h,required:d,size:"medium"},elementType:da});return{labelPosition:s,components:{root:"div",indicator:"div",input:"input",label:da},root:m,indicator:p,input:w,label:v}},LO=e=>{const{labelPosition:t}=e;return xt(e.root,{children:[ge(e.input,{}),t!=="after"&&e.label&&ge(e.label,{}),ge(e.indicator,{}),t==="after"&&e.label&&ge(e.label,{})]})},ld={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},HO=We("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;}}"]}),UO=xe({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),VO=We("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;}}"]}),WO=xe({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),GO=We("rsji9ng","r15xih98",{r:[".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",".rsji9ng:disabled{cursor:default;}",".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}",".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",".r15xih98:disabled{cursor:default;}",".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}"],s:["@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}","@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}"]}),$O=xe({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}"]}),XO=xe({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},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}],".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),KO=e=>{"use no memo";const t=HO(),r=UO(),o=VO(),i=WO(),s=GO(),c=$O(),d=XO(),{label:f,labelPosition:h}=e;return e.root.className=J(ld.root,t,h==="above"&&r.vertical,e.root.className),e.indicator.className=J(ld.indicator,o,f&&h==="above"&&i.labelAbove,e.indicator.className),e.input.className=J(ld.input,s,f&&c[h],e.input.className),e.label&&(e.label.className=J(ld.label,d.base,d[h],e.label.className)),e},C6=S.forwardRef((e,t)=>{const r=IO(e,t);return KO(r),Xe("useSwitchStyles_unstable")(r),LO(r)});C6.displayName="Switch";const E6=(e,t)=>{const{wrap:r,truncate:o,block:i,italic:s,underline:c,strikethrough:d,size:f,font:h,weight:m,align:p}=e;return{align:p??"start",block:i??!1,font:h??"base",italic:s??!1,size:f??300,strikethrough:d??!1,truncate:o??!1,underline:c??!1,weight:m??"regular",wrap:r??!0,components:{root:"span"},root:je(ct("span",{ref:t,...e}),{elementType:"span"})}},N6=e=>ge(e.root,{}),YO={root:"fui-Text"},ZO=xe({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;}"]}),z6=e=>{"use no memo";const t=ZO();return e.root.className=J(YO.root,t.root,e.wrap===!1&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,e.size===100&&t.base100,e.size===200&&t.base200,e.size===400&&t.base400,e.size===500&&t.base500,e.size===600&&t.base600,e.size===700&&t.hero700,e.size===800&&t.hero800,e.size===900&&t.hero900,e.size===1e3&&t.hero1000,e.font==="monospace"&&t.monospace,e.font==="numeric"&&t.numeric,e.weight==="medium"&&t.weightMedium,e.weight==="semibold"&&t.weightSemibold,e.weight==="bold"&&t.weightBold,e.align==="center"&&t.alignCenter,e.align==="end"&&t.alignEnd,e.align==="justify"&&t.alignJustify,e.root.className),e},ti=S.forwardRef((e,t)=>{const r=E6(e,t);return z6(r),Xe("useTextStyles_unstable")(r),N6(r)});ti.displayName="Text";function l1(e){const{useStyles:t,className:r,displayName:o}=e,i=S.forwardRef((s,c)=>{"use no memo";const d=t(),f=E6(s,c);return z6(f),f.root.className=J(r,f.root.className,d.root,s.className),N6(f)});return i.displayName=o,i}const QO={root:"fui-Body1"},JO=xe({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);}"]}),eM=l1({useStyles:JO,className:QO.root,displayName:"Body1"}),tM={root:"fui-Subtitle1"},rM=xe({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),nM=l1({useStyles:rM,className:tM.root,displayName:"Subtitle1"}),oM={root:"fui-Title1"},aM=xe({root:{Bahqtrf:"fk6fouc",Be2twd7:"fccw675",Bhrd7zp:"fl43uef",Bg96gwp:"f1ebx5kk"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fccw675{font-size:var(--fontSizeHero800);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}"]}),R6=l1({useStyles:aM,className:oM.root,displayName:"Title1"}),iM=e=>ge(e.root,{children:ge(e.textarea,{})}),lM=(e,t)=>{e=t1(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=WS();var o;const{size:i="medium",appearance:s=(o=r.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",resize:c="none",onChange:d}=e,[f,h]=Rn({state:e.value,defaultState:e.defaultValue,initialState:void 0}),m=af({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),p={size:i,appearance:s,resize:c,components:{root:"span",textarea:"textarea"},textarea:je(e.textarea,{defaultProps:{ref:t,...m.primary},elementType:"textarea"}),root:je(e.root,{defaultProps:m.root,elementType:"span"})};return p.textarea.value=f,p.textarea.onChange=ke(w=>{const v=w.target.value;d==null||d(w,{value:v}),h(v)}),p},sw={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},sM=xe({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",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]},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",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",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){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o: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);}"]}),uM=xe({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",B4brmom:"f1vw9udw",Brrnbx2:"fbb3kq8",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;}",".f1vw9udw::selection{color:var(--colorNeutralForegroundInverted);}",".fbb3kq8::selection{background-color:var(--colorNeutralBackgroundInverted);}",".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);}"]}),cM=xe({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;}"]}),dM=e=>{"use no memo";const{size:t,appearance:r,resize:o}=e,i=e.textarea.disabled,s=`${e.textarea["aria-invalid"]}`=="true",c=r.startsWith("filled"),d=sM();e.root.className=J(sw.root,d.base,i&&d.disabled,!i&&c&&d.filled,!i&&d[r],!i&&d.interactive,!i&&r==="outline"&&d.outlineInteractive,!i&&s&&d.invalid,e.root.className);const f=uM(),h=cM();return e.textarea.className=J(sw.textarea,f.base,f[t],h[o],i&&f.disabled,e.textarea.className),e},s1=S.forwardRef((e,t)=>{const r=lM(e,t);return dM(r),Xe("useTextareaStyles_unstable")(r),iM(r)});s1.displayName="Textarea";const fM=We("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),hM=We("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function mM(){const e=fM(),t=hM(),{targetDocument:r}=St(),o=S.useCallback(()=>{var s;if(!r)return;var c;Math.floor(r.body.getBoundingClientRect().height)>((c=(s=r.defaultView)===null||s===void 0?void 0:s.innerHeight)!==null&&c!==void 0?c:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))},[r,e,t]),i=S.useCallback(()=>{r&&(r.documentElement.classList.remove(e),r.body.classList.remove(t))},[r,e,t]);return{disableBodyScroll:o,enableBodyScroll:i}}function gM(e,t){const{findFirstFocusable:r}=ma(),{targetDocument:o}=St(),i=S.useRef(null);return S.useEffect(()=>{if(!e)return;const s=i.current&&r(i.current);if(s)s.focus();else{var c;(c=i.current)===null||c===void 0||c.focus()}},[r,e,t,o]),i}const pM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},u1=Zl(void 0),bM=u1.Provider,_o=e=>Ql(u1,(t=pM)=>e(t)),vM=!1,A6=S.createContext(void 0),D6=A6.Provider,yM=()=>{var e;return(e=S.useContext(A6))!==null&&e!==void 0?e:vM},uw=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:F.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],cw=ai({enter:{keyframes:uw,easing:kr.curveDecelerateMid,duration:kr.durationGentle},exit:{keyframes:[...uw].reverse(),easing:kr.curveAccelerateMin,duration:kr.durationGentle}}),xM=e=>{const{children:t,modalType:r="modal",onOpenChange:o,inertTrapFocus:i=!1}=e,[s,c]=wM(t),[d,f]=Rn({state:e.open,defaultState:e.defaultOpen,initialState:!1}),h=ke(x=>{o==null||o(x.event,x),x.event.isDefaultPrevented()||f(x.open)}),m=gM(d,r),{modalAttributes:p,triggerAttributes:w}=Fi({trapFocus:r!=="non-modal",legacyTrapFocus:!i}),v=Ip(u1);return{components:{surfaceMotion:cw},inertTrapFocus:i,open:d,modalType:r,content:c,trigger:s,requestOpenChange:h,dialogTitleId:hn("dialog-title-"),isNestedDialog:v,dialogRef:m,modalAttributes:p,triggerAttributes:w,surfaceMotion:X5(e.surfaceMotion,{elementType:cw,defaultProps:{appear:!0,visible:d,unmountOnExit:!0}})}};function wM(e){const t=S.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}const j6=S.createContext(void 0);function SM(){return S.useContext(j6)}const kM=S.forwardRef((e,t)=>S.createElement(j6.Provider,{value:t},e.children)),BM=(e,t)=>ge(bM,{value:t.dialog,children:xt(D6,{value:t.dialogSurface,children:[e.trigger,e.content&&ge(e.surfaceMotion,{children:ge(kM,{children:e.content})})]})});function _M(e){const{modalType:t,open:r,dialogRef:o,dialogTitleId:i,isNestedDialog:s,inertTrapFocus:c,requestOpenChange:d,modalAttributes:f,triggerAttributes:h}=e;return{dialog:{open:r,modalType:t,dialogRef:o,dialogTitleId:i,isNestedDialog:s,inertTrapFocus:c,modalAttributes:f,triggerAttributes:h,requestOpenChange:d},dialogSurface:!1}}const Cf=S.memo(e=>{const t=xM(e),r=_M(t);return BM(t,r)});Cf.displayName="Dialog";const TM=e=>{const t=yM(),{children:r,disableButtonEnhancement:o=!1,action:i=t?"close":"open"}=e,s=Eu(r),c=_o(p=>p.requestOpenChange),{triggerAttributes:d}=Fi(),f=ke(p=>{var w,v;s==null||(w=(v=s.props).onClick)===null||w===void 0||w.call(v,p),p.isDefaultPrevented()||c({event:p,type:"triggerClick",open:i==="open"})}),h={...s==null?void 0:s.props,ref:s==null?void 0:s.ref,onClick:f,...d},m=Di((s==null?void 0:s.type)==="button"||(s==null?void 0:s.type)==="a"?s.type:"div",{...h,type:"button"});return{children:sf(r,o?h:m)}},CM=e=>e.children,c1=e=>{const t=TM(e);return CM(t)};c1.displayName="DialogTrigger";c1.isFluentTriggerComponent=!0;const EM=(e,t)=>{const{position:r="end",fluid:o=!1}=e;return{components:{root:"div"},root:je(ct("div",{ref:t,...e}),{elementType:"div"}),position:r,fluid:o}},NM=e=>ge(e.root,{}),zM={root:"fui-DialogActions"},RM=We("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;}}"]}),AM=xe({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",B6n781s:"f1f41i0t",Bv5d0be:"f1jaqex3",v4ugfu:"f2ao6jk"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Bojbm9c:"f11ihkml",Bv5d0be:"fce5bvx",v4ugfu:"f2ao6jk"},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){.f1f41i0t{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1jaqex3{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f2ao6jk{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f11ihkml{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.fce5bvx{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),DM=e=>{"use no memo";const t=RM(),r=AM();return e.root.className=J(zM.root,t,e.position==="start"&&r.gridPositionStart,e.position==="end"&&r.gridPositionEnd,e.fluid&&e.position==="start"&&r.fluidStart,e.fluid&&e.position==="end"&&r.fluidEnd,e.root.className),e},Du=S.forwardRef((e,t)=>{const r=EM(e,t);return DM(r),Xe("useDialogActionsStyles_unstable")(r),NM(r)});Du.displayName="DialogActions";const jM=(e,t)=>{var r;return{components:{root:"div"},root:je(ct((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},OM=e=>ge(e.root,{}),MM={root:"fui-DialogBody"},qM=We("r1h3qql9",null,{r:[".r1h3qql9{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.r1h3qql9{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.r1h3qql9{max-height:unset;}}"]}),FM=e=>{"use no memo";const t=qM();return e.root.className=J(MM.root,t,e.root.className),e},ju=S.forwardRef((e,t)=>{const r=jM(e,t);return FM(r),Xe("useDialogBodyStyles_unstable")(r),OM(r)});ju.displayName="DialogBody";const dw={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},PM=We("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;}"]),IM=xe({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),LM=We("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),HM=We("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;}}"]}),UM=e=>{"use no memo";const t=PM(),r=LM(),o=IM();return e.root.className=J(dw.root,t,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=J(dw.action,r,e.action.className)),e},VM=(e,t)=>{const{action:r}=e,o=_o(s=>s.modalType),i=HM();return{components:{root:"h2",action:"div"},root:je(ct("h2",{ref:t,id:_o(s=>s.dialogTitleId),...e}),{elementType:"h2"}),action:gt(r,{renderByDefault:o==="non-modal",defaultProps:{children:S.createElement(c1,{disableButtonEnhancement:!0,action:"close"},S.createElement("button",{type:"button",className:i,"aria-label":"close"},S.createElement(L7,null)))},elementType:"div"})}},WM=e=>xt(S.Fragment,{children:[ge(e.root,{children:e.root.children}),e.action&&ge(e.action,{})]}),Ou=S.forwardRef((e,t)=>{const r=VM(e,t);return UM(r),Xe("useDialogTitleStyles_unstable")(r),WM(r)});Ou.displayName="DialogTitle";const fw=Uz,GM=(e,t)=>{const r=SM(),o=_o(y=>y.modalType),i=_o(y=>y.isNestedDialog),s=_o(y=>y.modalAttributes),c=_o(y=>y.dialogRef),d=_o(y=>y.requestOpenChange),f=_o(y=>y.dialogTitleId),h=_o(y=>y.open),m=ke(y=>{if(tC(e.backdrop)){var k,B;(k=(B=e.backdrop).onClick)===null||k===void 0||k.call(B,y)}o==="modal"&&!y.isDefaultPrevented()&&d({event:y,open:!1,type:"backdropClick"})}),p=ke(y=>{var k;(k=e.onKeyDown)===null||k===void 0||k.call(e,y),y.key===Pi&&!y.isDefaultPrevented()&&(d({event:y,open:!1,type:"escapeKeyDown"}),y.preventDefault())}),w=gt(e.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});w&&(w.onClick=m);const{disableBodyScroll:v,enableBodyScroll:x}=mM();return jr(()=>{if(!(i||o==="non-modal"))return v(),()=>{x()}},[x,i,v,o]),{components:{backdrop:"div",root:"div",backdropMotion:fw},open:h,backdrop:w,isNestedDialog:i,mountNode:e.mountNode,root:je(ct("div",{tabIndex:-1,"aria-modal":o!=="non-modal",role:o==="alert"?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:f,...e,...s,onKeyDown:p,ref:Br(t,r,c)}),{elementType:"div"}),backdropMotion:X5(e.backdropMotion,{elementType:fw,defaultProps:{appear:!0,visible:h}}),transitionStatus:void 0}},$M=(e,t)=>xt(ts,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ge(e.backdropMotion,{children:ge(e.backdrop,{})}),ge(D6,{value:t.dialogSurface,children:ge(e.root,{})})]}),hw={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},XM=We("rsmdyd3","rup8wml",{r:[".rsmdyd3{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;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rsmdyd3:focus{outline-style:none;}",".rsmdyd3:focus-visible{outline-style:none;}",".rsmdyd3[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rsmdyd3[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);}',".rup8wml{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;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rup8wml:focus{outline-style:none;}",".rup8wml:focus-visible{outline-style:none;}",".rup8wml[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rup8wml[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){.rsmdyd3[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){.rsmdyd3{max-width:100vw;}}","@media screen and (max-height: 359px){.rsmdyd3{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.rup8wml[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){.rup8wml{max-width:100vw;}}","@media screen and (max-height: 359px){.rup8wml{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),KM=We("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),YM=xe({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),ZM=e=>{"use no memo";const{isNestedDialog:t,root:r,backdrop:o}=e,i=XM(),s=KM(),c=YM();return r.className=J(hw.root,i,r.className),o&&(o.className=J(hw.backdrop,s,t&&c.nestedDialogBackdrop,o.className)),e};function QM(e){return{dialogSurface:!0}}const Ef=S.forwardRef((e,t)=>{const r=GM(e,t),o=QM();return ZM(r),Xe("useDialogSurfaceStyles_unstable")(r),$M(r,o)});Ef.displayName="DialogSurface";const JM=(e,t)=>{var r;return{components:{root:"div"},root:je(ct((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},eq=e=>ge(e.root,{}),tq={root:"fui-DialogContent"},rq=We("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;}}"]}),nq=e=>{"use no memo";const t=rq();return e.root.className=J(tq.root,t,e.root.className),e},Mu=S.forwardRef((e,t)=>{const r=JM(e,t);return nq(r),Xe("useDialogContentStyles_unstable")(r),eq(r)});Mu.displayName="DialogContent";const oq=(e,t)=>{const{size:r="medium",vertical:o=!1}=e,i=ri({circular:!0,axis:"both"}),s={size:r,vertical:o,components:{root:"div"},root:je(ct("div",{role:"toolbar",ref:t,...o&&{"aria-orientation":"vertical"},...i,...e}),{elementType:"div"})},[c,d]=aq({checkedValues:e.checkedValues,defaultCheckedValues:e.defaultCheckedValues,onCheckedValueChange:e.onCheckedValueChange}),f=ke((m,p,w,v)=>{if(p&&w){const y=[...(c==null?void 0:c[p])||[]];v?y.splice(y.indexOf(w),1):y.push(w),d==null||d(m,{name:p,checkedItems:y})}}),h=ke((m,p,w,v)=>{p&&w&&(d==null||d(m,{name:p,checkedItems:[w]}))});return{...s,handleToggleButton:f,handleRadio:h,checkedValues:c??{}}},aq=e=>{const[t,r]=Rn({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=e,i=ke((s,{name:c,checkedItems:d})=>{o&&o(s,{name:c,checkedItems:d}),r(f=>f?{...f,[c]:d}:{[c]:d})});return[t,i]},O6=Zl(void 0),iq={size:"medium",handleToggleButton:()=>null,handleRadio:()=>null,vertical:!1,checkedValues:{}},ap=e=>Ql(O6,(t=iq)=>e(t)),lq=(e,t)=>ge(O6.Provider,{value:t.toolbar,children:ge(e.root,{children:e.root.children})}),sq={root:"fui-Toolbar"},uq=xe({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),cq=e=>{"use no memo";const t=uq(),{vertical:r,size:o}=e;return e.root.className=J(sq.root,t.root,r&&t.vertical,o==="small"&&!r&&t.small,o==="medium"&&!r&&t.medium,o==="large"&&!r&&t.large,e.root.className),e};function dq(e){const{size:t,handleToggleButton:r,vertical:o,checkedValues:i,handleRadio:s}=e;return{toolbar:{size:t,vertical:o,handleToggleButton:r,handleRadio:s,checkedValues:i}}}const d1=S.forwardRef((e,t)=>{const r=oq(e,t),o=dq(r);return cq(r),Xe("useToolbarStyles_unstable")(r),lq(r,o)});d1.displayName="Toolbar";const fq=xe({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),hq=e=>{"use no memo";kf(e);const t=fq();e.root.className=J(e.root.className,e.vertical&&t.vertical),e.icon&&(e.icon.className=J(e.icon.className,e.vertical&&t.verticalIcon))},mq=(e,t)=>{const{vertical:r=!1,...o}=e,i=Sf({appearance:"subtle",...o,size:"medium"},t);return{vertical:r,...i}},Za=S.forwardRef((e,t)=>{const r=mq(e,t);return hq(r),Xe("useToolbarButtonStyles_unstable")(r),e1(r)});Za.displayName="ToolbarButton";const gq=xe({root:{mc9l5x:"ftuwxu6",B2u0y6b:"f1lwjmbk",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1oic3e7"},vertical:{B2u0y6b:"fe668z"}},{d:[".ftuwxu6{display:inline-flex;}",".f1lwjmbk{max-width:1px;}",[".f1oic3e7{padding:0 12px;}",{p:-1}],".fe668z{max-width:initial;}"]}),pq=e=>{"use no memo";wj(e);const{vertical:t}=e,r=gq();return e.root.className=J(r.root,!t&&r.vertical,e.root.className),e},bq=(e,t)=>{const r=ap(o=>o.vertical);return bj({vertical:!r,...e},t)},f1=S.forwardRef((e,t)=>{const r=bq(e,t);return pq(r),Xe("useToolbarDividerStyles_unstable")(r),pj(r)});f1.displayName="ToolbarDivider";const vq=(e,t)=>{const r=ap(f=>f.handleToggleButton),o=ap(f=>{var h;return!!(!((h=f.checkedValues[e.name])===null||h===void 0)&&h.includes(e.value))}),{onClick:i}=e,c={...XD({checked:o,...e},t),name:e.name,value:e.value},d=f=>{if(c.disabled){f.preventDefault(),f.stopPropagation();return}r==null||r(f,c.name,c.value,c.checked),i==null||i(f)};return c.root.onClick=d,c},yq=xe({selected:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},iconSelected:{sj55zd:"f1qj7y59"}},{d:[".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),xq=e=>{"use no memo";JD(e);const t=yq();return e.root.className=J(e.root.className,e.checked&&t.selected),e.icon&&(e.icon.className=J(e.icon.className,e.checked&&t.iconSelected)),e},M6=S.forwardRef((e,t)=>{const r=vq(e,t);return xq(r),Xe("useToolbarToggleButtonStyles_unstable")(r),e1(r)});M6.displayName="ToolbarToggleButton";const wq=(e,t)=>({components:{root:"div"},root:je(ct("div",{ref:t,role:"presentation",...e}),{elementType:"div"})}),Sq={root:"fui-ToolbarGroup"},kq=e=>{"use no memo";return e.root.className=J(Sq.root,e.root.className),e},Bq=e=>ge(e.root,{children:e.root.children}),q6=S.forwardRef((e,t)=>{const r=wq(e,t);return kq(r),Xe("useToolbarGroupStyles_unstable")(r),Bq(r)});q6.displayName="ToolbarGroup";const ou=()=>{},F6={allRowsSelected:!1,clearRows:ou,deselectRow:ou,isRowSelected:()=>!1,selectRow:ou,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:ou,toggleRow:ou,selectionMode:"multiselect"};function _q(e){"use no memo";return t=>Tq(t,e)}function Tq(e,t){const{items:r,getRowId:o}=e,{selectionMode:i,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}=t,[f,h]=iE({selectionMode:i,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}),m=S.useMemo(()=>{const C=new Set;for(let R=0;R<r.length;R++){var N;C.add((N=o==null?void 0:o(r[R]))!==null&&N!==void 0?N:R)}return C},[r,o]),p=S.useMemo(()=>{if(i==="single"){const N=Array.from(f)[0];return m.has(N)}if(f.size<m.size||m.size===0)return!1;let C=!0;return m.forEach(N=>{f.has(N)||(C=!1)}),C},[m,f,i]),w=S.useMemo(()=>{if(f.size<=0)return!1;let C=!1;return m.forEach(N=>{f.has(N)&&(C=!0)}),C},[m,f]),v=ke(C=>{h.toggleAllItems(C,r.map((N,R)=>{var j;return(j=o==null?void 0:o(N))!==null&&j!==void 0?j:R}))}),x=ke((C,N)=>h.toggleItem(C,N)),y=ke((C,N)=>h.deselectItem(C,N)),k=ke((C,N)=>h.selectItem(C,N)),B=C=>h.isSelected(C),_=ke(C=>h.clearItems(C));return{...e,selection:{selectionMode:i,someRowsSelected:w,allRowsSelected:p,selectedRows:f,toggleRow:x,toggleAllRows:v,clearRows:_,deselectRow:y,selectRow:k,isRowSelected:B}}}const ip=()=>{},P6={getSortDirection:()=>"ascending",setColumnSort:ip,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:ip};function Cq(e){"use no memo";return t=>Eq(t,e)}function Eq(e,t){const{columns:r}=e,{sortState:o,defaultSortState:i,onSortChange:s=ip}=t,[c,d]=Rn({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:i,state:o}),{sortColumn:f,sortDirection:h}=c,m=ke(s),p=S.useCallback((y,k)=>{d(B=>{const _={...B,sortColumn:k};return B.sortColumn===k?_.sortDirection=B.sortDirection==="ascending"?"descending":"ascending":_.sortDirection="ascending",m==null||m(y,_),_})},[m,d]),w=(y,k,B)=>{const _={sortColumn:k,sortDirection:B};m==null||m(y,_),d(_)},v=S.useCallback(y=>y.slice().sort((k,B)=>{const _=r.find(N=>N.columnId===f);if(!(_!=null&&_.compare))return 0;const C=h==="ascending"?1:-1;return _.compare(k.item,B.item)*C}),[r,f,h]);return{...e,sort:{sort:v,sortColumn:f,sortDirection:h,setColumnSort:w,toggleColumnSort:p,getSortDirection:y=>f===y?h:void 0}}}const Nq=(e,t)=>{const r=ke(o=>{var i;(i=e.onClick)===null||i===void 0||i.call(e,o),o.stopPropagation()});return{components:{root:"div"},root:je(ct("div",{ref:t,...e,onClick:r}),{elementType:"div"})}},zq=e=>ge(e.root,{}),Rq={root:"fui-TableResizeHandle"},Aq=xe({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),Dq=e=>{"use no memo";const t=Aq();return e.root.className=J(Rq.root,t.root,e.root.className),e},I6=S.forwardRef((e,t)=>{const r=Nq(e,t);return Dq(r),Xe("useTableResizeHandleStyles_unstable")(r),zq(r)});I6.displayName="TableResizeHandle";function jq(){const[e,t]=S.useState(0),r=S.useRef(void 0),o=S.useRef(null),{targetDocument:i}=St(),s=S.useCallback(()=>{var d;const f=(d=r.current)===null||d===void 0?void 0:d.getBoundingClientRect().width;t(f||0)},[]),c=S.useCallback(d=>{if(i&&(!d&&o.current&&r.current&&o.current.unobserve(r.current),r.current=void 0,d!=null&&d.parentElement)){var f;r.current=d.parentElement,s(),(f=o.current)===null||f===void 0||f.observe(r.current)}},[i,s]);return S.useEffect(()=>{if(o.current=Oq(i,s),!(!r.current||!o.current))return o.current.observe(r.current),()=>{var d;(d=o.current)===null||d===void 0||d.disconnect()}},[s,i]),{width:e,measureElementRef:c}}function Oq(e,t){var r;return!(e==null||(r=e.defaultView)===null||r===void 0)&&r.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function Mq(e){const t=S.useRef(0),r=S.useRef(0),o=S.useRef(void 0),[i,s]=S.useState(!1),{targetDocument:c}=St(),{getColumnWidth:d,setColumnWidth:f}=e,h=S.useCallback(x=>{const{clientX:y}=$2(x),k=y-t.current;r.current+=k,o.current&&f(x,{columnId:o.current,width:r.current}),t.current=y},[f]),[m]=VC(),p=S.useCallback(x=>{m(()=>h(x))},[m,h]),w=S.useCallback(x=>{Lg(x)&&(c==null||c.removeEventListener("mouseup",w),c==null||c.removeEventListener("mousemove",p)),Ig(x)&&(c==null||c.removeEventListener("touchend",w),c==null||c.removeEventListener("touchmove",p)),s(!1)},[p,c]);return{getOnMouseDown:S.useCallback(x=>y=>{if(r.current=d(x),t.current=$2(y).clientX,o.current=x,Lg(y)){if(y.target!==y.currentTarget||y.button!==0)return;c==null||c.addEventListener("mouseup",w),c==null||c.addEventListener("mousemove",p),s(!0)}Ig(y)&&(c==null||c.addEventListener("touchend",w),c==null||c.addEventListener("touchmove",p),s(!0))},[d,p,w,c]),dragging:i}}const qq=150,Fq=100;function lp(e,t=[],r={}){let o=!1;const i=new Map(t.map(c=>[c.columnId,c])),s=e.map(c=>{const d=i.get(c.columnId);if(d){var f;const{idealWidth:x=d.idealWidth,minWidth:y=d.minWidth,padding:k=d.padding}=(f=r[c.columnId])!==null&&f!==void 0?f:{};return x!==d.idealWidth||y!==d.minWidth||k!==d.padding?(o=!0,{...d,idealWidth:x,width:x,minWidth:y,padding:k}):d}var h;const{defaultWidth:m,idealWidth:p=qq,minWidth:w=Fq,padding:v}=(h=r[c.columnId])!==null&&h!==void 0?h:{};return o=!0,{columnId:c.columnId,width:Math.max(m??p,w),minWidth:w,idealWidth:Math.max(m??p,w),padding:v??16}});if(s.length!==t.length||o){const c=s.find(d=>d.width>d.idealWidth);c&&(c.width=c.idealWidth),o=!0}return o?s:t}function Bu(e,t){return e.find(r=>r.columnId===t)}function wm(e,t){return e[t]}function Pq(e){return e.reduce((t,r)=>t+r.width+r.padding,0)}function Iq(e,t){const r=Bu(e,t);var o;return(o=r==null?void 0:r.width)!==null&&o!==void 0?o:0}function vu(e,t,r,o){const i=Bu(e,t);if(!i||(i==null?void 0:i[r])===o)return e;const s={...i,[r]:o};return e.reduce((d,f)=>f.columnId===s.columnId?[...d,s]:[...d,f],[])}function sd(e,t){let r=e;const o=Pq(r);if(o<t){let i=t-o,s=0;for(;s<r.length&&i>0;){const c=wm(r,s),d=Math.min(c.idealWidth-c.width,i);if(r=vu(r,c.columnId,"width",c.width+d),i-=d,s===r.length-1&&i!==0){const f=wm(r,s);r=vu(r,f.columnId,"width",f.width+i)}s++}}else if(o>=t){let i=o-t,s=r.length-1;for(;s>=0&&i>0;){const c=wm(r,s);if(c.width>c.minWidth){const d=Math.min(c.width-c.minWidth,i);i-=d,r=vu(r,c.columnId,"width",c.width-d)}s--}}return r}const Lq=e=>(t,r)=>{switch(r.type){case"CONTAINER_WIDTH_UPDATED":return{...t,containerWidth:r.containerWidth,columnWidthState:e?sd(t.columnWidthState,r.containerWidth):t.columnWidthState};case"COLUMNS_UPDATED":const o=lp(r.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:r.columns,columnWidthState:e?sd(o,t.containerWidth):o};case"COLUMN_SIZING_OPTIONS_UPDATED":const i=lp(t.columns,t.columnWidthState,r.columnSizingOptions);return{...t,columnSizingOptions:r.columnSizingOptions,columnWidthState:e?sd(i,t.containerWidth):i};case"SET_COLUMN_WIDTH":const{columnId:s,width:c}=r,{containerWidth:d}=t,f=Bu(t.columnWidthState,s);let h=[...t.columnWidthState];return f?(h=vu(h,s,"width",c),h=vu(h,s,"idealWidth",c),e&&(h=sd(h,d)),{...t,columnWidthState:h}):t}};function Hq(e,t,r={}){const{onColumnResize:o,columnSizingOptions:i,autoFitColumns:s=!0}=r,c=S.useMemo(()=>Lq(s),[s]),[d,f]=S.useReducer(c,{columns:e,containerWidth:0,columnWidthState:lp(e,void 0,i),columnSizingOptions:i});jr(()=>{f({type:"CONTAINER_WIDTH_UPDATED",containerWidth:t})},[t]),jr(()=>{f({type:"COLUMNS_UPDATED",columns:e})},[e]),jr(()=>{f({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:i})},[i]);const h=ke((m,p)=>{let{width:w}=p;const{columnId:v}=p,x=Bu(d.columnWidthState,v);x&&(w=Math.max(x.minWidth||0,w),o&&o(m,{columnId:v,width:w}),f({type:"SET_COLUMN_WIDTH",columnId:v,width:w}))});return{getColumnById:S.useCallback(m=>Bu(d.columnWidthState,m),[d.columnWidthState]),getColumns:S.useCallback(()=>d.columnWidthState,[d.columnWidthState]),getColumnWidth:S.useCallback(m=>Iq(d.columnWidthState,m),[d.columnWidthState]),setColumnWidth:h}}const ud=20,Uq=w7,mw=1/4;function Vq(e){const[t,r]=S.useState(),o=S.useRef(),{findPrevFocusable:i}=ma(),s=S.useRef(e);S.useEffect(()=>{s.current=e},[e]);const[c]=S.useState(()=>new Map),d=ke(v=>{if(!t)return;const x=s.current.getColumnWidth(t),y=v.getModifierState(Uq),k=()=>{v.preventDefault(),v.stopPropagation()};switch(v.key){case Hp:k(),s.current.setColumnWidth(v.nativeEvent,{columnId:t,width:x-(y?ud*mw:ud)});return;case mf:k(),s.current.setColumnWidth(v.nativeEvent,{columnId:t,width:x+(y?ud*mw:ud)});return;case Ya:case zl:case Pi:var B,_;k(),(_=c.get(t))===null||_===void 0||(B=_.current)===null||B===void 0||B.blur();break}}),f=S.useCallback(v=>{var x,y;r(v),(x=o.current)===null||x===void 0||x.call(o,v,!0);const k=(y=c.get(v))===null||y===void 0?void 0:y.current;k&&(k.setAttribute("tabindex","-1"),k.tabIndex=-1,k.focus())},[c]),h=S.useCallback(()=>{var v,x;if(!t)return;(v=o.current)===null||v===void 0||v.call(o,t,!1);const y=(x=c.get(t))===null||x===void 0?void 0:x.current;if(y){var k;(k=i(y))===null||k===void 0||k.focus(),y.removeAttribute("tabindex")}r(void 0)},[t,i,c]),m=(v,x)=>{o.current=x,t?v&&t!==v?(f(v),r(v)):h():f(v)},p=S.useCallback(v=>{const x=c.get(v)||S.createRef();return c.set(v,x),x},[c]),w=wu({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:m,columnId:t,getKeyboardResizingProps:S.useCallback((v,x)=>({onKeyDown:d,onBlur:h,ref:p(v),role:"separator","aria-label":"Resize column","aria-valuetext":`${x} pixels`,"aria-hidden":v!==t,tabIndex:v===t?0:void 0,...w}),[t,h,p,d,w])}}const L6={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function Wq(e){"use no memo";return t=>Gq(t,{autoFitColumns:!0,...e})}function gw(e,t){const r=e.width;return{width:r,minWidth:r,maxWidth:r,...t?{pointerEvents:"none"}:{}}}function Gq(e,t={}){const{columns:r}=e,{width:o,measureElementRef:i}=jq(),s=Hq(r,o+((t==null?void 0:t.containerWidthOffset)||0),t),c=Mq(s),{toggleInteractiveMode:d,getKeyboardResizingProps:f}=Vq(s),{autoFitColumns:h}=t,m=S.useCallback((k,B)=>_=>{_.preventDefault(),_.nativeEvent.stopPropagation(),d(k,B)},[d]),{getColumnById:p,setColumnWidth:w,getColumns:v}=s,{getOnMouseDown:x,dragging:y}=c;return{...e,tableRef:i,columnSizing_unstable:{getOnMouseDown:x,setColumnWidth:(k,B)=>w(void 0,{columnId:k,width:B}),getColumnWidths:v,getTableProps:(k={})=>({...k,style:{minWidth:"fit-content",...k.style||{}}}),getTableHeaderCellProps:S.useCallback(k=>{var B;const _=p(k),N=((B=r[r.length-1])===null||B===void 0?void 0:B.columnId)===k&&h?null:S.createElement(I6,{onMouseDown:x(k),onTouchStart:x(k),...f(k,(_==null?void 0:_.width)||0)});return _?{style:gw(_,y),aside:N}:{}},[p,r,y,f,x,h]),getTableCellProps:S.useCallback(k=>{const B=p(k);return B?{style:gw(B)}:{}},[p]),enableKeyboardMode:m}}}const $q=e=>e,Xq={selection:F6,sort:P6,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:L6,tableRef:S.createRef()};function Kq(e,t=[]){const{items:r,getRowId:o,columns:i}=e,s=S.useCallback((d=$q)=>r.map((f,h)=>{var m;return d({item:f,rowId:(m=o==null?void 0:o(f))!==null&&m!==void 0?m:h})}),[r,o]),c={getRowId:o,items:r,columns:i,getRows:s,selection:F6,sort:P6,columnSizing_unstable:L6,tableRef:S.createRef()};return t.reduce((d,f)=>f(d),c)}const Yq=()=>0,Zq=()=>null,Qq=()=>null;function Jq(e){const{columnId:t,renderCell:r=Zq,renderHeaderCell:o=Qq,compare:i=Yq}=e;return{columnId:t,renderCell:r,renderHeaderCell:o,compare:i}}function eF(){const e=ri({axis:"horizontal"}),t=ri({axis:"grid"}),r=hf({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:o}=ma(),{targetDocument:i}=St(),s=cN(e,r);return{onTableKeyDown:S.useCallback(d=>{if(!i)return;let f=i.activeElement;if(!f||!d.currentTarget.contains(f))return;const h=f.getAttribute("role");if(d.key===mf&&h==="row"&&Zt(f)){var m;(m=o(f))===null||m===void 0||m.focus()}if(h==="row")return;const p=(()=>{let w=Zt(f)?f:null;for(;w;){const v=w.getAttribute("role");if(v==="cell"||v==="gridcell")return!0;w=w.parentElement}return!1})();(d.key===Lp||d.key===V5)&&p&&(f.dispatchEvent(new OE({action:Ug.Escape})),f=i.activeElement,f&&f.dispatchEvent(new jE({key:ar[d.key]})))},[i,o]),tableTabsterAttribute:t,tableRowTabsterAttribute:s}}const H6=S.createContext(void 0),tF={size:"medium",noNativeElements:!1,sortable:!1},rF=H6.Provider,ii=()=>{var e;return(e=S.useContext(H6))!==null&&e!==void 0?e:tF},U6=(e,t)=>{const{noNativeElements:r,size:o}=ii();var i;const s=((i=e.as)!==null&&i!==void 0?i:r)?"div":"td";return{components:{root:s},root:je(ct(s,{ref:t,role:s==="div"?"cell":void 0,...e}),{elementType:s}),noNativeElements:r,size:o}},nF=e=>ge(e.root,{}),oF="fui-TableCell",aF={root:oF},iF=xe({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),lF=xe({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),sF=xe({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),uF=e=>{"use no memo";const t=sF(),r={table:iF(),flex:lF()};return e.root.className=J(aF.root,t.root,e.noNativeElements?r.flex.root:r.table.root,e.noNativeElements?r.flex[e.size]:r.table[e.size],e.root.className),e},V6=S.createContext(void 0),cF="",dF=V6.Provider,h1=()=>S.useContext(V6)===cF,fF=(e,t)=>{const{noNativeElements:r,size:o}=ii();var i;const s=((i=e.as)!==null&&i!==void 0?i:r)?"div":"tr",c=qp(),d=Kl(),f=h1();var h;return{components:{root:s},root:je(ct(s,{ref:Br(t,c,d),role:s==="div"?"row":void 0,...e}),{elementType:s}),size:o,noNativeElements:r,appearance:(h=e.appearance)!==null&&h!==void 0?h:"none",isHeaderRow:f}},Sm={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},hF=xe({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),mF=xe({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),gF=xe({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),pF=e=>{"use no memo";const t=gF(),r={table:hF(),flex:mF()};return e.root.className=J(Sm.root,t.root,e.noNativeElements?r.flex.root:r.table.root,e.subtle&&e.checked===!1&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=J(Sm.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=J(Sm.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},bF="fui-TableRow",vF={root:bF},yF=xe({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),xF=xe({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),wF=xe({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootSubtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),SF=e=>{"use no memo";const t=wF(),r={table:yF(),flex:xF()};return e.root.className=J(vF.root,t.root,t.rootSubtleSelection,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?r.flex.root:r.table.root,t[e.appearance],e.root.className),e},kF=(e,t)=>{const{noNativeElements:r}=ii();var o;const i=((o=e.as)!==null&&o!==void 0?o:r)?"div":"tbody";return{components:{root:i},root:je(ct(i,{ref:t,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:r}},BF=xe({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),_F=xe({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),TF="fui-TableBody",CF=e=>{"use no memo";const t={table:BF(),flex:_F()};return e.root.className=J(TF,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},EF=(e,t)=>{var r;const o=((r=e.as)!==null&&r!==void 0?r:e.noNativeElements)?"div":"table";var i,s,c;return{components:{root:o},root:je(ct(o,{ref:t,role:o==="div"?"table":void 0,...e}),{elementType:o}),size:(i=e.size)!==null&&i!==void 0?i:"medium",noNativeElements:(s=e.noNativeElements)!==null&&s!==void 0?s:!1,sortable:(c=e.sortable)!==null&&c!==void 0?c:!1}},NF=(e,t)=>ge(rF,{value:t.table,children:ge(e.root,{})}),zF="fui-Table",RF=xe({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),AF=xe({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),DF=xe({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),jF=e=>{"use no memo";const t=DF(),r={table:RF(),flex:AF()};return e.root.className=J(zF,t.root,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e};function OF(e){const{size:t,noNativeElements:r,sortable:o}=e;return{table:S.useMemo(()=>({noNativeElements:r,size:t,sortable:o}),[r,t,o])}}const MF=(e,t)=>{const{noNativeElements:r}=ii();var o;const i=((o=e.as)!==null&&o!==void 0?o:r)?"div":"thead";return{components:{root:i},root:je(ct(i,{ref:t,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:r}},qF=e=>ge(dF,{value:"",children:ge(e.root,{})}),FF="fui-TableHeader",PF=xe({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),IF=xe({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),LF=e=>{"use no memo";const t={table:IF(),flex:PF()};return e.root.className=J(FF,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},HF={ascending:S.createElement(C7,{fontSize:12}),descending:S.createElement(T7,{fontSize:12})},UF=(e,t)=>{const{noNativeElements:r,sortable:o}=ii(),{sortable:i=o}=e;var s;const c=((s=e.as)!==null&&s!==void 0?s:r)?"div":"th",d=je(e.button,{elementType:"div",defaultProps:{as:"div",...!i&&{role:"presentation",tabIndex:void 0}}});var f;return{components:{root:c,button:"div",sortIcon:"span",aside:"span"},root:je(ct(c,{ref:Br(t,Kl()),role:c==="div"?"columnheader":void 0,"aria-sort":i?(f=e.sortDirection)!==null&&f!==void 0?f:"none":void 0,...e}),{elementType:c}),aside:gt(e.aside,{elementType:"span"}),sortIcon:gt(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?HF[e.sortDirection]:void 0},elementType:"span"}),button:Di(d.as,d),sortable:i,noNativeElements:r}},VF=e=>xt(e.root,{children:[xt(e.button,{children:[e.root.children,e.sortIcon&&ge(e.sortIcon,{})]}),e.aside&&ge(e.aside,{})]}),cd={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},WF=xe({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),GF=xe({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),$F=xe({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",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",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),XF=e=>{"use no memo";const t=$F(),r={table:WF(),flex:GF()};return e.root.className=J(cd.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e.button.className=J(cd.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=J(cd.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=J(cd.aside,t.resizeHandle,e.aside.className)),e},W6=S.createContext(void 0),KF="",G6=()=>{var e;return(e=S.useContext(W6))!==null&&e!==void 0?e:KF},YF=W6.Provider,$6=S.createContext(void 0),ZF="",X6=()=>{var e;return(e=S.useContext($6))!==null&&e!==void 0?e:ZF},QF=$6.Provider,JF=(e,t)=>{const r=U6(e,Br(t,Kl())),{noNativeElements:o}=ii(),{type:i="checkbox",checked:s=!1,subtle:c=!1,hidden:d=!1,invisible:f=!1}=e;return{...r,components:{...r.components,checkboxIndicator:rp,radioIndicator:op},checkboxIndicator:gt(e.checkboxIndicator,{renderByDefault:i==="checkbox",defaultProps:{checked:e.checked},elementType:rp}),radioIndicator:gt(e.radioIndicator,{renderByDefault:i==="radio",defaultProps:{checked:!!s,input:{name:hn("table-selection-radio")}},elementType:op}),type:i,checked:s,noNativeElements:o,subtle:c,hidden:f||d}},eP=e=>xt(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&ge(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&ge(e.radioIndicator,{})]}),K6=Zl(void 0),Y6={...Xq,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},tP=K6.Provider,ur=e=>Ql(K6,(t=Y6)=>e(t)),rP=(e,t)=>{const{focusMode:r="cell"}=e,o=G6(),i=ur(f=>(f.focusMode==="cell"||f.focusMode==="composite")&&r!=="none"),s=ur(f=>f.resizableColumns),c=ur(f=>f.columnSizing_unstable.getTableCellProps),d=hf({tabBehavior:"limited-trap-focus"});return U6({as:"div",role:"gridcell",...r==="group"&&d,tabIndex:i?0:void 0,...s?c(o):{},...e},t)},nP=e=>nF(e),oP={root:"fui-DataGridCell"},aP=e=>{"use no memo";return uF(e),e.root.className=J(oP.root,e.root.className),e},Z6=S.forwardRef((e,t)=>{const r=rP(e,t);return aP(r),Xe("useDataGridCellStyles_unstable")(r),nP(r)});Z6.displayName="DataGridCell";const iP=(e,t)=>{const r=h1(),o=X6(),i=ur(h=>h.subtleSelection),s=ur(h=>r&&h.selection.selectionMode==="multiselect"?h.selection.allRowsSelected?!0:h.selection.someRowsSelected?"mixed":!1:h.selection.isRowSelected(o)),c=ur(h=>h.selection.toggleAllRows),d=ur(h=>h.selection.selectionMode==="multiselect"?"checkbox":"radio"),f=ke(h=>{var m;r&&c(h),(m=e.onClick)===null||m===void 0||m.call(e,h)});return JF({as:"div",role:"gridcell",checked:s,type:d,invisible:r&&d==="radio","aria-checked":r&&d!=="radio"?s:void 0,"aria-selected":r||s==="mixed"?void 0:s,subtle:i,...e,onClick:f},t)},lP=e=>eP(e),km={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},sP=e=>{"use no memo";return pF(e),e.root.className=J(km.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=J(km.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=J(km.radioIndicator,e.radioIndicator.className)),e},sp=S.forwardRef((e,t)=>{const r=iP(e,t);return sP(r),Xe("useDataGridSelectionCellStyles_unstable")(r),lP(r)});sp.displayName="DataGridSelectionCell";const uP=(e,t)=>{const r=X6(),o=h1(),i=ur(y=>y.columns),s=ur(y=>y.selectableRows),c=ur(y=>y.selection.isRowSelected(r)),d=ur(y=>y.focusMode),f=ur(y=>y.compositeRowTabsterAttribute),h=d==="row_unstable"||d==="composite",m=ur(y=>!o&&s&&y.selection.isRowSelected(r)?y.selectionAppearance:"none"),p=ur(y=>y.selection.toggleRow),w=ke(y=>{var k;s&&!o&&p(y,r),(k=e.onClick)===null||k===void 0||k.call(e,y)}),v=ke(y=>{var k;s&&!o&&y.key===Ya&&!tE(y.target)&&(y.preventDefault(),p(y,r)),(k=e.onKeyDown)===null||k===void 0||k.call(e,y)}),x=fF({appearance:m,"aria-selected":s?c:void 0,tabIndex:h&&!o?0:void 0,...d==="composite"&&!o&&f,...e,onClick:w,onKeyDown:v,children:null,as:"div"},t);return{...x,components:{...x.components,selectionCell:sp},selectionCell:gt(e.selectionCell,{renderByDefault:s,elementType:sp}),renderCell:e.children,columnDefs:i,dataGridContextValue:cP()}};function cP(){const e=S.useRef(Y6);return ur(t=>(e.current=t,null)),e.current}const dP=e=>xt(e.root,{children:[e.selectionCell&&ge(e.selectionCell,{}),e.columnDefs.map(t=>ge(YF,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),pw={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},fP=e=>{"use no memo";return SF(e),e.root.className=J(pw.root,e.root.className),e.selectionCell&&(e.selectionCell.className=J(pw.selectionCell,e.selectionCell.className)),e},up=S.forwardRef((e,t)=>{const r=uP(e,t);return fP(r),Xe("useDataGridRowStyles_unstable")(r),dP(r)});up.displayName="DataGridRow";const hP=(e,t)=>{const{sortable:r}=ii(),o=ur(d=>d.getRows),i=ur(d=>d.sort.sort),s=r?i(o()):o();return{...kF({...e,children:null,as:"div"},t),rows:s,renderRow:e.children}},mP=e=>ge(e.root,{children:e.rows.map(t=>ge(QF,{value:t.rowId,children:e.renderRow(t)},t.rowId))}),gP={root:"fui-DataGridBody"},pP=e=>{"use no memo";return CF(e),e.root.className=J(gP.root,e.root.className),e},Q6=S.forwardRef((e,t)=>{const r=hP(e,t);return pP(r),Xe("useDataGridBodyStyles_unstable")(r),mP(r)});Q6.displayName="DataGridBody";const bP=(e,t)=>{const{items:r,columns:o,focusMode:i="cell",selectionMode:s,onSortChange:c,onSelectionChange:d,defaultSortState:f,sortState:h,selectedItems:m,defaultSelectedItems:p,subtleSelection:w=!1,selectionAppearance:v="brand",getRowId:x,resizableColumns:y,columnSizingOptions:k,onColumnResize:B,containerWidthOffset:_,resizableColumnsOptions:C={}}=e,N=_??(s?-44:0),R=ri({axis:"grid"}),{onTableKeyDown:j,tableTabsterAttribute:D,tableRowTabsterAttribute:M}=eF();var I;const G=Kq({items:r,columns:o,getRowId:x},[Cq({defaultSortState:f,sortState:h,onSortChange:c}),_q({defaultSelectedItems:p,selectedItems:m,onSelectionChange:d,selectionMode:s??"multiselect"}),Wq({onColumnResize:B,columnSizingOptions:k,containerWidthOffset:N,autoFitColumns:(I=C.autoFitColumns)!==null&&I!==void 0?I:!0})]),X=S.useRef(null),{findFirstFocusable:re,findLastFocusable:ue}=ma(),ne=ke(O=>{var W;if((W=e.onKeyDown)===null||W===void 0||W.call(e,O),i==="composite"&&j(O),!(!X.current||!O.ctrlKey||O.defaultPrevented)){if(O.key===k7){const se=X.current.querySelector('[role="row"]');if(se){var L;(L=re(se))===null||L===void 0||L.focus()}}if(O.key===S7){const se=X.current.querySelectorAll('[role="row"]');if(se.length){var Z;const A=se.item(se.length-1);(Z=ue(A))===null||Z===void 0||Z.focus()}}}});return{...EF({role:"grid",as:"div",noNativeElements:!0,...i==="cell"&&R,...i==="composite"&&D,...e,onKeyDown:ne,...y?G.columnSizing_unstable.getTableProps(e):{}},Br(t,G.tableRef,X)),focusMode:i,tableState:G,selectableRows:!!s,subtleSelection:w,selectionAppearance:v,resizableColumns:y,compositeRowTabsterAttribute:M}},vP=(e,t)=>S.createElement(tP,{value:t.dataGrid},NF(e,t)),yP={root:"fui-DataGrid"},xP=e=>{"use no memo";return jF(e),e.root.className=J(yP.root,e.root.className),e};function wP(e){const t=OF(e),{tableState:r,focusMode:o,selectableRows:i,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}=e;return{...t,dataGrid:{...r,focusMode:o,selectableRows:i,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}}}const J6=S.forwardRef((e,t)=>{const r=bP(e,t);return xP(r),Xe("useDataGridStyles_unstable")(r),vP(r,wP(r))});J6.displayName="DataGrid";const SP=(e,t)=>MF({...e,as:"div"},t),kP=e=>qF(e),BP={root:"fui-DataGridHeader"},_P=e=>{"use no memo";return LF(e),e.root.className=J(BP.root,e.root.className),e},ek=S.forwardRef((e,t)=>{const r=SP(e,t);return _P(r),Xe("useDataGridHeaderStyles_unstable")(r),kP(r)});ek.displayName="DataGridHeader";function TP(e){return e.compare.length>0}const CP=(e,t)=>{const r=G6(),{sortable:o}=ii(),i=ur(m=>m.sort.toggleColumnSort),s=ur(m=>{const p=!!m.columns.find(w=>w.columnId===r&&TP(w));return o?p:!1}),c=ur(m=>s?m.sort.getSortDirection(r):void 0),d=ur(m=>m.resizableColumns),f=ur(m=>m.columnSizing_unstable.getTableHeaderCellProps),h=ke(m=>{var p;s&&i(m,r),(p=e.onClick)===null||p===void 0||p.call(e,m)});return UF({sortable:s,sortDirection:c,as:"div",tabIndex:s?void 0:0,...d?f(r):{},...e,onClick:h},t)},EP=e=>VF(e),dd={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},NP=e=>{"use no memo";return XF(e),e.root.className=J(dd.root,e.root.className),e.button&&(e.button.className=J(dd.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=J(dd.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=J(dd.aside,e.aside.className)),e},cp=S.forwardRef((e,t)=>{const r=CP(e,t);return NP(r),Xe("useDataGridHeaderCellStyles_unstable")(r),EP(r)});cp.displayName="DataGridHeaderCell";const Gn={show:"fui-toast-show",dismiss:"fui-toast-dismiss",dismissAll:"fui-toast-dismiss-all",update:"fui-toast-update",pause:"fui-toast-pause",play:"fui-toast-play"},$n={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};let zP=0;function RP(e,t={},r){var o;const i={...t,content:e,toastId:(o=t.toastId)!==null&&o!==void 0?o:(zP++).toString()},s=new CustomEvent(Gn.show,{bubbles:!1,cancelable:!1,detail:i});r.dispatchEvent(s)}function AP(e,t=void 0,r){const o=new CustomEvent(Gn.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}function DP(e=void 0,t){const r=new CustomEvent(Gn.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:e}});t.dispatchEvent(r)}function jP(e,t){const r=new CustomEvent(Gn.update,{bubbles:!1,cancelable:!1,detail:e});t.dispatchEvent(r)}function OP(e,t=void 0,r){const o=new CustomEvent(Gn.pause,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}function MP(e,t=void 0,r){const o=new CustomEvent(Gn.play,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}function bw(e,t){for(const[r,o]of Object.entries(t))o!=null&&(e[r]=o)}const qP={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3e3};let FP=0;function PP(e){const{limit:t=Number.POSITIVE_INFINITY}=e,r=new Set,o=new Map,i=r5((m,p)=>{const w=o.get(m),v=o.get(p);return!w||!v?0:w.priority===v.priority?w.order-v.order:w.priority-v.priority});return{buildToast:(m,p)=>{var w;const{toastId:v,content:x,toasterId:y}=m;if(o.has(v))return;const _={...qP,close:()=>{var C;const N=o.get(v);N&&(r.delete(v),p(),(C=N.onStatusChange)===null||C===void 0||C.call(N,null,{status:"dismissed",...N}))},remove:()=>{if(o.get(v)){if(o.delete(v),r.size<t&&i.peek()){const N=o.get(i.dequeue());if(!N)return;r.add(N.toastId)}p()}},toastId:v,content:x,updateId:0,toasterId:y,order:FP++,data:{},imperativeRef:S.createRef()};bw(_,e),bw(_,m),o.set(v,_),(w=_.onStatusChange)===null||w===void 0||w.call(_,null,{status:"queued",..._}),r.size>=t?i.enqueue(v):r.add(v)},dismissAllToasts:()=>{r.clear(),i.clear()},dismissToast:m=>{r.delete(m)},isToastVisible:m=>r.has(m),updateToast:m=>{const{toastId:p}=m,w=o.get(p);w&&(Object.assign(w,m),w.updateId++)},visibleToasts:r,toasts:o}}const Bl=(e,t,r)=>{const o={};var i;const s=r?IP(r)?r:(i=r[e])!==null&&i!==void 0?i:{}:{},c=e==="top"||e==="bottom",{horizontal:d=c?0:20,vertical:f=16}=s,h=t==="ltr"?"left":"right",m=t==="ltr"?"right":"left";switch(e){case"top":Object.assign(o,{top:f,left:`calc(50% + ${d}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:f,left:`calc(50% + ${d}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:f,[h]:d});break;case"top-end":Object.assign(o,{top:f,[m]:d});break;case"bottom-start":Object.assign(o,{bottom:f,[h]:d});break;case"bottom-end":Object.assign(o,{bottom:f,[m]:d});break}return o};function IP(e){return"horizontal"in e||"vertical"in e}function LP(e={}){const t=ZS(),{toasterId:r,shortcuts:o}=e,[i]=S.useState(()=>PP(e)),{targetDocument:s}=St(),c=S.useRef(null),d=ke(y=>y===r),f=ke(y=>{if(o!=null&&o.focus)return o.focus(y)}),h=S.useCallback(()=>{i.visibleToasts.forEach(y=>{var k;const B=i.toasts.get(y);B==null||(k=B.imperativeRef.current)===null||k===void 0||k.pause()})},[i]),m=S.useCallback(()=>{i.visibleToasts.forEach(y=>{var k;const B=i.toasts.get(y);B==null||(k=B.imperativeRef.current)===null||k===void 0||k.play()})},[i]),p=S.useCallback(()=>Array.from(i.visibleToasts).reduce((y,k)=>{const B=i.toasts.get(k);return B&&(!y||y.order<(B==null?void 0:B.order))?B:y},void 0),[i]),w=S.useCallback(()=>{const y=p();if(y!=null&&y.imperativeRef.current)y.imperativeRef.current.focus();else{var k;(k=c.current)===null||k===void 0||k.focus(),c.current=null}},[p]),v=S.useCallback(()=>{i.visibleToasts.forEach(y=>{const k=i.toasts.get(y);k==null||k.close()}),w()},[i,w]);S.useEffect(()=>{if(!s)return;const y=(ue,ne)=>{const fe=O=>{d(O.detail.toasterId)&&(ne(O),t())};return s.addEventListener(ue,fe),()=>s.removeEventListener(ue,fe)},k=ue=>{i.buildToast(ue.detail,t)},B=ue=>{i.dismissToast(ue.detail.toastId)},_=ue=>{i.updateToast(ue.detail)},C=ue=>{i.dismissAllToasts()},N=ue=>{const ne=i.toasts.get(ue.detail.toastId);if(ne){var fe;(fe=ne.imperativeRef.current)===null||fe===void 0||fe.pause()}},R=ue=>{const ne=i.toasts.get(ue.detail.toastId);if(ne){var fe;(fe=ne.imperativeRef.current)===null||fe===void 0||fe.play()}},j=y(Gn.show,k),D=y(Gn.update,_),M=y(Gn.dismiss,B),I=y(Gn.dismissAll,C),G=y(Gn.pause,N),X=y(Gn.play,R),re=ue=>{if(f(ue)){h();const fe=p();if(fe){var ne;c.current=Zt(s.activeElement)?s.activeElement:null,(ne=fe.imperativeRef.current)===null||ne===void 0||ne.focus()}}};return s.addEventListener("keydown",re),()=>{j(),I(),D(),M(),G(),X(),s.removeEventListener("keydown",re)}},[i,t,s,d,h,p,f]);const x=(()=>{if(!i)return new Map;const y=new Map;return Array.from(i.toasts.values()).forEach(B=>{const{position:_}=B;y.has(_)||y.set(_,[]),_.startsWith("bottom")?y.get(_).push(B):y.get(_).unshift(B)}),y})();return{isToastVisible:i.isToastVisible,toastsToRender:x,pauseAllToasts:h,playAllToasts:m,tryRestoreFocus:w,closeAllToasts:v}}const _l=()=>{};function Nf(e){const{targetDocument:t}=St();return S.useMemo(()=>t?{dispatchToast:(r,o)=>{RP(r,{...o,toasterId:e,data:{root:o==null?void 0:o.root}},t)},dismissToast:r=>{AP(r,e,t)},dismissAllToasts:()=>{DP(e,t)},updateToast:r=>{jP({...r,data:{root:r.root},toasterId:e},t)},pauseToast:r=>{OP(r,e,t)},playToast:r=>{MP(r,e,t)}}:{dispatchToast:_l,dismissToast:_l,dismissAllToasts:_l,updateToast:_l,pauseToast:_l,playToast:_l},[t,e])}const HP={close:()=>null,intent:void 0,bodyId:"",titleId:""},tk=S.createContext(void 0),UP=tk.Provider,m1=()=>{var e;return(e=S.useContext(tk))!==null&&e!==void 0?e:HP},VP=We("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]),dp=S.forwardRef((e,t)=>{const r=VP(),{running:o,timeout:i,onTimeout:s}=e,c={animationDuration:`${i}ms`,animationPlayState:o?"running":"paused"};return i<0?null:S.createElement("span",{onAnimationEnd:s,"data-timer-status":c.animationPlayState,ref:t,style:c,className:r})});dp.displayName="Timer";const WP={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},GP=(e,t)=>{const{visible:r,children:o,close:i,remove:s,updateId:c,announce:d,data:f,timeout:h,politeness:m,intent:p="info",pauseOnHover:w,pauseOnWindowBlur:v,imperativeRef:x,tryRestoreFocus:y,...k}=e,B=hn("toast-title"),_=hn("toast-body"),C=S.useRef(null),{targetDocument:N}=St(),[R,j]=S.useState(!1),D=S.useRef(!1),M=S.useRef(!1),I=hf({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),G=ke(()=>{var A;const U=N==null?void 0:N.activeElement;U&&(!((A=C.current)===null||A===void 0)&&A.contains(U))&&(M.current=!0),i()}),X=ke(A=>{var U;return(U=e.onStatusChange)===null||U===void 0?void 0:U.call(e,null,{status:A,...e})}),re=ke(()=>j(!1)),ue=ke(()=>{var A;if(D.current)return;var U;const ae=!!(!((A=C.current)===null||A===void 0)&&A.contains((U=N==null?void 0:N.activeElement)!==null&&U!==void 0?U:null));if(h<0){j(!0);return}ae||j(!0)});S.useImperativeHandle(x,()=>({focus:()=>{C.current&&C.current.focus()},play:()=>{D.current=!1,ue()},pause:()=>{D.current=!0,re()}})),S.useEffect(()=>()=>X("unmounted"),[X]),S.useEffect(()=>{if(N&&v){var A,U;return(A=N.defaultView)===null||A===void 0||A.addEventListener("focus",ue),(U=N.defaultView)===null||U===void 0||U.addEventListener("blur",re),()=>{var ae,me;(ae=N.defaultView)===null||ae===void 0||ae.removeEventListener("focus",ue),(me=N.defaultView)===null||me===void 0||me.removeEventListener("blur",re)}}},[N,re,ue,v]);const ne=f.root,fe=S.useCallback((A,{direction:U})=>{U==="exit"&&s(),U==="enter"&&(ue(),X("visible"))},[X,ue,s]),O=ke(A=>{var U;re(),ne==null||(U=ne.onMouseEnter)===null||U===void 0||U.call(ne,A)}),W=ke(A=>{var U;ue(),ne==null||(U=ne.onMouseEnter)===null||U===void 0||U.call(ne,A)}),{findFirstFocusable:L,findLastFocusable:Z}=ma(),se=ke(A=>{var U;if(A.key===B7&&(A.preventDefault(),G()),A.key===U5&&A.currentTarget===A.target)if(A.preventDefault(),A.shiftKey){var ae;(ae=Z(A.currentTarget))===null||ae===void 0||ae.focus()}else{var me;(me=L(A.currentTarget))===null||me===void 0||me.focus()}ne==null||(U=ne.onKeyDown)===null||U===void 0||U.call(ne,A)});return S.useEffect(()=>{var A;if(!r)return;const U=m??WP[p];var ae;d((ae=(A=C.current)===null||A===void 0?void 0:A.textContent)!==null&&ae!==void 0?ae:"",{politeness:U})},[d,m,C,r,c,p]),S.useEffect(()=>()=>{M.current&&(M.current=!1,y())},[y]),{components:{timer:dp,root:"div"},timer:je({onTimeout:G,running:R,timeout:h??-1},{elementType:dp}),root:je(ct("div",{ref:Br(t,C),children:o,tabIndex:0,role:"listitem","aria-labelledby":B,"aria-describedby":_,...k,...ne,...I,onMouseEnter:O,onMouseLeave:W,onKeyDown:se}),{elementType:"div"}),timerTimeout:h,transitionTimeout:0,running:R,visible:r,remove:s,close:G,onTransitionEntering:()=>{},updateId:c,nodeRef:C,intent:p,titleId:B,bodyId:_,onMotionFinish:fe}},$P=(e,t)=>{const{onMotionFinish:r,visible:o,updateId:i}=e;return ge(UP,{value:t.toast,children:ge(Hz,{appear:!0,onMotionFinish:r,visible:o,unmountOnExit:!0,children:xt(e.root,{children:[e.root.children,ge(e.timer,{},i)]})})})},rk={root:"fui-ToastContainer"},XP=We("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),KP=e=>{"use no memo";const t=XP();return e.root.className=J(rk.root,t,e.root.className),e};function YP(e){const{close:t,intent:r,titleId:o,bodyId:i}=e;return{toast:S.useMemo(()=>({close:t,intent:r,titleId:o,bodyId:i}),[t,r,o,i])}}const nk=S.forwardRef((e,t)=>{const r=GP(e,t);return KP(r),Xe("useToastContainerStyles_unstable")(r),$P(r,YP(r))});nk.displayName="ToastContainer";const vw=()=>{};function ZP(e,t){const{targetDocument:r}=St(),o=S.useRef(vw);return S.useCallback(i=>{if(!i||!r){o.current(),o.current=vw;return}const s=r.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode(h){return Zt(h)&&h.classList.contains(rk.root)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),c=h=>{const{target:m,key:p}=h;if(Zt(m)){if(p===Lp){s.currentNode=m;let w=s.nextNode();w||(s.currentNode=i,w=s.nextNode()),Zt(w)&&w.focus()}if(p===V5){s.currentNode=m;let w=s.previousNode();w&&w.contains(m)&&(w=s.previousNode()),w||(s.currentNode=i,w=s.lastChild()),Zt(w)&&w.focus()}}},d=h=>{Zt(h.currentTarget)&&!h.currentTarget.contains(Zt(h.relatedTarget)?h.relatedTarget:null)&&e()},f=h=>{Zt(h.currentTarget)&&!h.currentTarget.contains(Zt(h.relatedTarget)?h.relatedTarget:null)&&t()};i.addEventListener("keydown",c),i.addEventListener("focusin",d),i.addEventListener("focusout",f),o.current=()=>{i.removeEventListener("keydown",c),i.removeEventListener("focusin",d),i.removeEventListener("focusout",f)}},[r,e,t])}function QP(e){const t=S.useRef(!0),r=S.useRef(()=>{}),o=S.useCallback((s,c)=>{t.current&&e(s,c)},[e]),i=S.useCallback(s=>{if(!s){r.current();return}const c=f=>{Zt(f.currentTarget)&&f.currentTarget.contains(Zt(f.relatedTarget)?f.relatedTarget:null)||(t.current=!1)},d=f=>{Zt(f.currentTarget)&&f.currentTarget.contains(Zt(f.relatedTarget)?f.relatedTarget:null)||(t.current=!0)};s.addEventListener("focusin",c),s.addEventListener("focusout",d),r.current=()=>{s.removeEventListener("focusin",c),s.removeEventListener("focusout",d)}},[]);return{announceToast:o,toasterRef:i}}const JP=e=>{"use no memo";const{offset:t,announce:r,mountNode:o,inline:i=!1,...s}=e,c=S.useRef(()=>null),{toastsToRender:d,isToastVisible:f,pauseAllToasts:h,playAllToasts:m,tryRestoreFocus:p,closeAllToasts:w}=LP(s),v=S.useCallback((C,N)=>c.current(C,N),[]),{dir:x}=St(),y=je(ct("div",s),{elementType:"div"}),k=hf({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),B=ke(C=>{var N;C.key===Pi&&(C.preventDefault(),w()),(N=e.onKeyDown)===null||N===void 0||N.call(e,C)}),_=C=>{var N;const R=ZP(h,m),{announceToast:j,toasterRef:D}=QP(r??v);return gt(d.has(C)?y:null,{defaultProps:{ref:Br(R,D),children:(N=d.get(C))===null||N===void 0?void 0:N.map(M=>S.createElement(nk,{...M,tryRestoreFocus:p,intent:M.intent,announce:j,key:M.toastId,visible:f(M.toastId)},M.content)),onKeyDown:B,...k,"data-toaster-position":C,role:"list"},elementType:"div"})};return{dir:x,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:je(y,{elementType:"div"}),bottomStart:_($n.bottomStart),bottomEnd:_($n.bottomEnd),topStart:_($n.topStart),topEnd:_($n.topEnd),top:_($n.top),bottom:_($n.bottom),announceRef:c,offset:t,announce:r??v,renderAriaLive:!r,inline:i}},eI=500,tI=e=>{const[t,r]=S.useState(void 0),o=S.useRef(0),[i]=S.useState(()=>r5((m,p)=>m.politeness===p.politeness?m.createdAt-p.createdAt:m.politeness==="assertive"?-1:1)),s=ke((m,p)=>{const{politeness:w}=p;if(m===(t==null?void 0:t.message))return;const v={message:m,politeness:w,createdAt:o.current++};t?i.enqueue(v):r(v)}),[c,d]=Xl();S.useEffect(()=>(c(()=>{i.peek()?r(i.dequeue()):r(void 0)},eI),()=>d()),[t,i,c,d]),S.useImperativeHandle(e.announceRef,()=>s);const f=(t==null?void 0:t.politeness)==="polite"?t.message:void 0,h=(t==null?void 0:t.politeness)==="assertive"?t.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:je(e.assertive,{defaultProps:{"aria-live":"assertive",children:h},elementType:"div"}),polite:je(e.polite,{defaultProps:{"aria-live":"polite",children:f},elementType:"div"})}},rI=e=>xt(S.Fragment,{children:[ge(e.assertive,{}),ge(e.polite,{})]}),yw={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},nI=We("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),oI=e=>{"use no memo";const t=nI();return e.assertive.className=J(t,yw.assertive,e.assertive.className),e.polite.className=J(t,yw.polite,e.polite.className),e},ok=e=>{const t=tI(e);return oI(t),rI(t)};ok.displayName="AriaLive";const aI=e=>{const{announceRef:t,renderAriaLive:r,inline:o,mountNode:i}=e,s=!!e.bottomStart||!!e.bottomEnd||!!e.topStart||!!e.topEnd||!!e.top||!!e.bottom,c=r?ge(ok,{announceRef:t}):null,d=xt(S.Fragment,{children:[e.bottom?ge(e.bottom,{}):null,e.bottomStart?ge(e.bottomStart,{}):null,e.bottomEnd?ge(e.bottomEnd,{}):null,e.topStart?ge(e.topStart,{}):null,e.topEnd?ge(e.topEnd,{}):null,e.top?ge(e.top,{}):null]});return o?xt(S.Fragment,{children:[c,s?d:null]}):xt(S.Fragment,{children:[c,s?ge(ts,{mountNode:i,children:d}):null]})},iI={root:"fui-Toaster"},lI=We("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),sI=xe({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),uI=e=>{"use no memo";const t=lI(),r=sI(),o=J(iI.root,t,e.inline&&r.inline,e.root.className);if(e.bottomStart){var i;e.bottomStart.className=o;var s;(s=(i=e.bottomStart).style)!==null&&s!==void 0||(i.style={}),Object.assign(e.bottomStart.style,Bl($n.bottomStart,e.dir,e.offset))}if(e.bottomEnd){var c;e.bottomEnd.className=o;var d;(d=(c=e.bottomEnd).style)!==null&&d!==void 0||(c.style={}),Object.assign(e.bottomEnd.style,Bl($n.bottomEnd,e.dir,e.offset))}if(e.topStart){var f;e.topStart.className=o;var h;(h=(f=e.topStart).style)!==null&&h!==void 0||(f.style={}),Object.assign(e.topStart.style,Bl($n.topStart,e.dir,e.offset))}if(e.topEnd){var m;e.topEnd.className=o;var p;(p=(m=e.topEnd).style)!==null&&p!==void 0||(m.style={}),Object.assign(e.topEnd.style,Bl($n.topEnd,e.dir,e.offset))}if(e.top){var w;e.top.className=o;var v;(v=(w=e.top).style)!==null&&v!==void 0||(w.style={}),Object.assign(e.top.style,Bl($n.top,e.dir,e.offset))}if(e.bottom){var x;e.bottom.className=o;var y;(y=(x=e.bottom).style)!==null&&y!==void 0||(x.style={}),Object.assign(e.bottom.style,Bl($n.bottom,e.dir,e.offset))}return e},ak=e=>{const t=JP(e);return uI(t),Xe("useToasterStyles_unstable")(t),aI(t)};ak.displayName="Toaster";const cI=(e,t)=>{const{intent:r}=m1();return{components:{root:"div"},root:je(ct("div",{ref:t,...e}),{elementType:"div"}),backgroundAppearance:e.appearance,intent:r}},dI=(e,t)=>ge(IC,{value:t.backgroundAppearance,children:ge(e.root,{})}),fI={root:"fui-Toast"},hI=We("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),mI=xe({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),gI=e=>{"use no memo";const t=hI(),r=mI();return e.root.className=J(fI.root,t,e.backgroundAppearance==="inverted"&&r.inverted,e.root.className),e};function pI(e){const{backgroundAppearance:t}=e;return{backgroundAppearance:t}}const Ul=S.forwardRef((e,t)=>{const r=cI(e,t);return gI(r),Xe("useToastStyles_unstable")(r),dI(r,pI(r))});Ul.displayName="Toast";const bI=(e,t)=>{const{intent:r,titleId:o}=m1(),i=Ap();let s;switch(r){case"success":s=S.createElement(N7,null);break;case"error":s=S.createElement(O7,null);break;case"warning":s=S.createElement(F7,null);break;case"info":s=S.createElement(M7,null);break}return{action:gt(e.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:gt(e.media,{renderByDefault:!!r,defaultProps:{children:s},elementType:"div"}),root:je(ct("div",{ref:t,children:e.children,id:o,...e}),{elementType:"div"}),intent:r,backgroundAppearance:i}},vI=e=>xt(S.Fragment,{children:[e.media?ge(e.media,{}):null,ge(e.root,{}),e.action?ge(e.action,{}):null]}),Bm={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},yI=We("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),xI=We("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),wI=We("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),SI=xe({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),kI=xe({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),BI=xe({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),_I=e=>{"use no memo";const t=yI(),r=wI(),o=xI(),i=kI(),s=BI(),{intent:c}=e,d=SI();return e.root.className=J(Bm.root,t,e.backgroundAppearance==="inverted"&&d.root,e.root.className),e.media&&(e.media.className=J(Bm.media,o,e.backgroundAppearance==="inverted"&&d.media,c&&i[c],c&&e.backgroundAppearance==="inverted"&&s[c],e.media.className)),e.action&&(e.action.className=J(Bm.action,r,e.backgroundAppearance==="inverted"&&d.action,e.action.className)),e},Vl=S.forwardRef((e,t)=>{const r=bI(e,t);return _I(r),Xe("useToastTitleStyles_unstable")(r),vI(r)});Vl.displayName="ToastTitle";const TI=(e,t)=>{const r=Ap(),{bodyId:o}=m1();return{components:{root:"div",subtitle:"div"},subtitle:gt(e.subtitle,{elementType:"div"}),root:je(ct("div",{ref:t,id:o,...e}),{elementType:"div"}),backgroundAppearance:r}},CI=e=>xt(S.Fragment,{children:[ge(e.root,{}),e.subtitle?ge(e.subtitle,{}):null]}),xw={root:"fui-ToastBody",subtitle:"fui-ToastBody__subtitle"},EI=We("rciajo9",null,[".rciajo9{grid-column-start:2;grid-column-end:3;padding-top:6px;font-size:var(--fontSizeBase300);line-height:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground1);word-break:break-word;}"]),NI=We("rzjw1xk",null,[".rzjw1xk{padding-top:4px;grid-column-start:2;grid-column-end:3;font-size:var(--fontSizeBase200);line-height:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground2);}"]),zI=xe({root:{sj55zd:"f1w7i9ko"},subtitle:{sj55zd:"f1w7i9ko"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),RI=e=>{"use no memo";const t=EI(),r=NI(),o=zI();return e.root.className=J(xw.root,t,e.backgroundAppearance==="inverted"&&o.root,e.root.className),e.subtitle&&(e.subtitle.className=J(xw.subtitle,r,e.backgroundAppearance==="inverted"&&o.subtitle,e.subtitle.className)),e},g1=S.forwardRef((e,t)=>{const r=TI(e,t);return RI(r),Xe("useToastBodyStyles_unstable")(r),CI(r)});g1.displayName="ToastBody";const AI=e=>xt(e.root,{children:[ge(e.label,{}),e.infoButton&&ge(e.infoButton,{})]}),DI=e=>xt(e.popover,{children:[ge(wf,{children:ge(e.root,{})}),ge(e.info,{})]}),jI=Vr(H7,U7),OI=Vr(V7,W7),MI=Vr(G7,$7),qI={small:S.createElement(jI,null),medium:S.createElement(OI,null),large:S.createElement(MI,null)},FI={small:"small",medium:"small",large:"medium"},PI=(e,t)=>{const{size:r="medium",inline:o=!0}=e,i=Br(t),s={inline:o,size:r,components:{root:"button",popover:Vd,info:Ud},root:je(ct("button",{children:qI[r],type:"button","aria-label":"information",...e,ref:i}),{elementType:"button"}),popover:je(e.popover,{defaultProps:{inline:o,positioning:"above-start",size:FI[r],withArrow:!0},elementType:Vd}),info:je(e.info,{defaultProps:{role:"note",tabIndex:-1},elementType:Ud})},[c,d]=Rn({state:s.popover.open,defaultState:s.popover.defaultOpen,initialState:!1});s.popover.open=c,s.popover.onOpenChange=Mt(s.popover.onOpenChange,(m,p)=>d(p.open));const f=Br(s.info.ref);s.info.ref=f;const h=m=>{const p=m.relatedTarget;p&&i.current!==p&&!ql(f.current,p)&&d(!1)};return s.root.onBlur=ke(Mt(s.root.onBlur,h)),s.info.onBlurCapture=ke(Mt(s.info.onBlurCapture,h)),s},ww={root:"fui-InfoButton",info:"fui-InfoButton__info"},II=xe({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",w71qe1:"f1iuv45f",ha4doy:"fmrv4ls",qhf8xq:"f10pi13n",De3pzq:"f1c21dwh",sj55zd:"fkfq4zb",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16d74zd",D0sxk3:"f16u1re",t6yez3:"f1rw4040",Jwef8y:"fjxutwb",Bi91k9c:"f139oj5f",eoavqd:"f8491dx",Bk3fhr4:"f1jpd6y0",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",B2d53fq:"f1fg1p5m"},selected:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59",D0sxk3:"fgzdkf0",t6yez3:"f15q0o9g",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1cg6951"},highContrast:{Bbusuzp:"fn0tkbb",Bs6v0vm:"f1rp3av6",B46dtvo:"f1u7gwqv",gh1jta:"fl6kagl"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1kx978o"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",".f1iuv45f{text-decoration-line:none;}",".fmrv4ls{vertical-align:middle;}",".f10pi13n{position:relative;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".f16d74zd{padding:var(--spacingVerticalXS) var(--spacingHorizontalXS);}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f1rw4040 .fui-Icon-regular{display:inline-flex;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}",".fgzdkf0 .fui-Icon-filled{display:inline-flex;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",[".f1kx978o{padding:var(--spacingVerticalXXS) var(--spacingVerticalXXS);}",{p:-1}]],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f8491dx:hover{cursor:pointer;}",".f1jpd6y0:hover .fui-Icon-filled{display:inline-flex;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cg6951{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn0tkbb{color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rp3av6:hover,.f1rp3av6:hover:active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1u7gwqv:hover,.f1u7gwqv:hover:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fl6kagl:hover,.fl6kagl:hover:active{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),LI=xe({base:{B2u0y6b:"f1qmtlvf"},smallMedium:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f1qmtlvf{max-width:264px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),HI=e=>{"use no memo";const{size:t}=e,{open:r}=e.popover,o=II(),i=LI();return e.info.className=J(ww.info,i.base,t==="large"?i.large:i.smallMedium,e.info.className),e.root.className=J(ww.root,o.base,o.highContrast,o.focusIndicator,r&&o.selected,t==="large"&&o.large,e.root.className),e},fp=S.forwardRef((e,t)=>{const r=PI(e,t);return HI(r),Xe("useInfoButtonStyles_unstable")(r),DI(r)});fp.displayName="InfoButton";const UI=(e,t)=>{const{root:r,label:o,infoButton:i,info:s,size:c,className:d,style:f,...h}=e,m=hn("infolabel-"),[p,w]=S.useState(!1),v=je(r,{defaultProps:{className:d,style:f},elementType:"span"}),x=je(o,{defaultProps:{id:m+"__label",ref:t,size:c,...h},elementType:da}),y=gt(i,{renderByDefault:!!s,defaultProps:{id:m+"__infoButton",size:c,info:s},elementType:fp}),k=je(y==null?void 0:y.popover,{elementType:"div"});if(k.onOpenChange=ke(Mt(k.onOpenChange,(M,I)=>{w(I.open)})),y){var B,_;y.popover=k;const M=m+"__info";y.info=gt(y==null?void 0:y.info,{defaultProps:{id:M,"aria-labelledby":M},elementType:"div"});var C;if((C=(B=y)[_="aria-labelledby"])!==null&&C!==void 0||(B[_]=`${x.id} ${y.id}`),p){var N,R,j,D;(D=(R=v)[j="aria-owns"])!==null&&D!==void 0||(R[j]=(N=y.info)===null||N===void 0?void 0:N.id)}}return{size:c,components:{root:"span",label:da,infoButton:fp},root:v,label:x,infoButton:y}},_m={root:"fui-InfoLabel",label:"fui-InfoLabel__label",infoButton:"fui-InfoLabel__infoButton"},VI=xe({base:{ha4doy:"f12kltsn",Bceei9c:"fpo1scq",sj55zd:"f1ym3bx4"}},{d:[".f12kltsn{vertical-align:top;}",".fpo1scq{cursor:inherit;}",".f1ym3bx4{color:inherit;}"]}),WI=xe({base:{ha4doy:"f12kltsn",B6of3ja:"f1bmzb36",jrapky:"f1nyzk09"},large:{B6of3ja:"fkrn0sh",jrapky:"fmxx68s"}},{d:[".f12kltsn{vertical-align:top;}",".f1bmzb36{margin-top:calc(0px - var(--spacingVerticalXXS));}",".f1nyzk09{margin-bottom:calc(0px - var(--spacingVerticalXXS));}",".fkrn0sh{margin-top:-1px;}",".fmxx68s{margin-bottom:-1px;}"]}),GI=e=>{"use no memo";e.root.className=J(_m.root,e.root.className);const t=VI();e.label.className=J(_m.label,t.base,e.label.className);const r=WI();return e.infoButton&&(e.infoButton.className=J(_m.infoButton,r.base,e.size==="large"&&r.large,e.infoButton.className)),e},ik=S.forwardRef((e,t)=>{const r=UI(e,t);return GI(r),Xe("useInfoLabelStyles_unstable")(r),AI(r)});ik.displayName="InfoLabel";var au={},Sw;function $I(){if(Sw)return au;Sw=1,Object.defineProperty(au,"__esModule",{value:!0}),au.parse=c,au.serialize=h;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,s=(()=>{const w=function(){};return w.prototype=Object.create(null),w})();function c(w,v){const x=new s,y=w.length;if(y<2)return x;const k=(v==null?void 0:v.decode)||m;let B=0;do{const _=w.indexOf("=",B);if(_===-1)break;const C=w.indexOf(";",B),N=C===-1?y:C;if(_>N){B=w.lastIndexOf(";",_-1)+1;continue}const R=d(w,B,_),j=f(w,_,R),D=w.slice(R,j);if(x[D]===void 0){let M=d(w,_+1,N),I=f(w,N,M);const G=k(w.slice(M,I));x[D]=G}B=N+1}while(B<y);return x}function d(w,v,x){do{const y=w.charCodeAt(v);if(y!==32&&y!==9)return v}while(++v<x);return x}function f(w,v,x){for(;v>x;){const y=w.charCodeAt(--v);if(y!==32&&y!==9)return v+1}return x}function h(w,v,x){const y=(x==null?void 0:x.encode)||encodeURIComponent;if(!e.test(w))throw new TypeError(`argument name is invalid: ${w}`);const k=y(v);if(!t.test(k))throw new TypeError(`argument val is invalid: ${v}`);let B=w+"="+k;if(!x)return B;if(x.maxAge!==void 0){if(!Number.isInteger(x.maxAge))throw new TypeError(`option maxAge is invalid: ${x.maxAge}`);B+="; Max-Age="+x.maxAge}if(x.domain){if(!r.test(x.domain))throw new TypeError(`option domain is invalid: ${x.domain}`);B+="; Domain="+x.domain}if(x.path){if(!o.test(x.path))throw new TypeError(`option path is invalid: ${x.path}`);B+="; Path="+x.path}if(x.expires){if(!p(x.expires)||!Number.isFinite(x.expires.valueOf()))throw new TypeError(`option expires is invalid: ${x.expires}`);B+="; Expires="+x.expires.toUTCString()}if(x.httpOnly&&(B+="; HttpOnly"),x.secure&&(B+="; Secure"),x.partitioned&&(B+="; Partitioned"),x.priority)switch(typeof x.priority=="string"?x.priority.toLowerCase():void 0){case"low":B+="; Priority=Low";break;case"medium":B+="; Priority=Medium";break;case"high":B+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${x.priority}`)}if(x.sameSite)switch(typeof x.sameSite=="string"?x.sameSite.toLowerCase():x.sameSite){case!0:case"strict":B+="; SameSite=Strict";break;case"lax":B+="; SameSite=Lax";break;case"none":B+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${x.sameSite}`)}return B}function m(w){if(w.indexOf("%")===-1)return w;try{return decodeURIComponent(w)}catch{return w}}function p(w){return i.call(w)==="[object Date]"}return au}$I();var kw="popstate";function XI(e={}){function t(o,i){let{pathname:s,search:c,hash:d}=o.location;return hp("",{pathname:s,search:c,hash:d},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(o,i){return typeof i=="string"?i:_u(i)}return YI(t,r,null,e)}function Kt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Yn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function KI(){return Math.random().toString(36).substring(2,10)}function Bw(e,t){return{usr:e.state,key:e.key,idx:t}}function hp(e,t,r=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?rs(t):t,state:r,key:t&&t.key||o||KI()}}function _u({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function rs(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function YI(e,t,r,o={}){let{window:i=document.defaultView,v5Compat:s=!1}=o,c=i.history,d="POP",f=null,h=m();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function m(){return(c.state||{idx:null}).idx}function p(){d="POP";let k=m(),B=k==null?null:k-h;h=k,f&&f({action:d,location:y.location,delta:B})}function w(k,B){d="PUSH";let _=hp(y.location,k,B);h=m()+1;let C=Bw(_,h),N=y.createHref(_);try{c.pushState(C,"",N)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(N)}s&&f&&f({action:d,location:y.location,delta:1})}function v(k,B){d="REPLACE";let _=hp(y.location,k,B);h=m();let C=Bw(_,h),N=y.createHref(_);c.replaceState(C,"",N),s&&f&&f({action:d,location:y.location,delta:0})}function x(k){let B=i.location.origin!=="null"?i.location.origin:i.location.href,_=typeof k=="string"?k:_u(k);return _=_.replace(/ $/,"%20"),Kt(B,`No window.location.(origin|href) available to create URL for href: ${_}`),new URL(_,B)}let y={get action(){return d},get location(){return e(i,c)},listen(k){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(kw,p),f=k,()=>{i.removeEventListener(kw,p),f=null}},createHref(k){return t(i,k)},createURL:x,encodeLocation(k){let B=x(k);return{pathname:B.pathname,search:B.search,hash:B.hash}},push:w,replace:v,go(k){return c.go(k)}};return y}function lk(e,t,r="/"){return ZI(e,t,r,!1)}function ZI(e,t,r,o){let i=typeof t=="string"?rs(t):t,s=fa(i.pathname||"/",r);if(s==null)return null;let c=sk(e);QI(c);let d=null;for(let f=0;d==null&&f<c.length;++f){let h=uL(s);d=lL(c[f],h,o)}return d}function sk(e,t=[],r=[],o=""){let i=(s,c,d)=>{let f={relativePath:d===void 0?s.path||"":d,caseSensitive:s.caseSensitive===!0,childrenIndex:c,route:s};f.relativePath.startsWith("/")&&(Kt(f.relativePath.startsWith(o),`Absolute route path "${f.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(o.length));let h=sa([o,f.relativePath]),m=r.concat(f);s.children&&s.children.length>0&&(Kt(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),sk(s.children,t,m,h)),!(s.path==null&&!s.index)&&t.push({path:h,score:aL(h,s.index),routesMeta:m})};return e.forEach((s,c)=>{var d;if(s.path===""||!((d=s.path)!=null&&d.includes("?")))i(s,c);else for(let f of uk(s.path))i(s,c,f)}),t}function uk(e){let t=e.split("/");if(t.length===0)return[];let[r,...o]=t,i=r.endsWith("?"),s=r.replace(/\?$/,"");if(o.length===0)return i?[s,""]:[s];let c=uk(o.join("/")),d=[];return d.push(...c.map(f=>f===""?s:[s,f].join("/"))),i&&d.push(...c),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function QI(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:iL(t.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var JI=/^:[\w-]+$/,eL=3,tL=2,rL=1,nL=10,oL=-2,_w=e=>e==="*";function aL(e,t){let r=e.split("/"),o=r.length;return r.some(_w)&&(o+=oL),t&&(o+=tL),r.filter(i=>!_w(i)).reduce((i,s)=>i+(JI.test(s)?eL:s===""?rL:nL),o)}function iL(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function lL(e,t,r=!1){let{routesMeta:o}=e,i={},s="/",c=[];for(let d=0;d<o.length;++d){let f=o[d],h=d===o.length-1,m=s==="/"?t:t.slice(s.length)||"/",p=Wd({path:f.relativePath,caseSensitive:f.caseSensitive,end:h},m),w=f.route;if(!p&&h&&r&&!o[o.length-1].route.index&&(p=Wd({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},m)),!p)return null;Object.assign(i,p.params),c.push({params:i,pathname:sa([s,p.pathname]),pathnameBase:hL(sa([s,p.pathnameBase])),route:w}),p.pathnameBase!=="/"&&(s=sa([s,p.pathnameBase]))}return c}function Wd(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=sL(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let s=i[0],c=s.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:o.reduce((h,{paramName:m,isOptional:p},w)=>{if(m==="*"){let x=d[w]||"";c=s.slice(0,s.length-x.length).replace(/(.)\/+$/,"$1")}const v=d[w];return p&&!v?h[m]=void 0:h[m]=(v||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:c,pattern:e}}function sL(e,t=!1,r=!0){Yn(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 o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,f)=>(o.push({paramName:d,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function uL(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Yn(!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 (${t}).`),e}}function fa(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,o=e.charAt(r);return o&&o!=="/"?null:e.slice(r)||"/"}function cL(e,t="/"){let{pathname:r,search:o="",hash:i=""}=typeof e=="string"?rs(e):e;return{pathname:r?r.startsWith("/")?r:dL(r,t):t,search:mL(o),hash:gL(i)}}function dL(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Tm(e,t,r,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function fL(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function p1(e){let t=fL(e);return t.map((r,o)=>o===t.length-1?r.pathname:r.pathnameBase)}function b1(e,t,r,o=!1){let i;typeof e=="string"?i=rs(e):(i={...e},Kt(!i.pathname||!i.pathname.includes("?"),Tm("?","pathname","search",i)),Kt(!i.pathname||!i.pathname.includes("#"),Tm("#","pathname","hash",i)),Kt(!i.search||!i.search.includes("#"),Tm("#","search","hash",i)));let s=e===""||i.pathname==="",c=s?"/":i.pathname,d;if(c==null)d=r;else{let p=t.length-1;if(!o&&c.startsWith("..")){let w=c.split("/");for(;w[0]==="..";)w.shift(),p-=1;i.pathname=w.join("/")}d=p>=0?t[p]:"/"}let f=cL(i,d),h=c&&c!=="/"&&c.endsWith("/"),m=(s||c===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(h||m)&&(f.pathname+="/"),f}var sa=e=>e.join("/").replace(/\/\/+/g,"/"),hL=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mL=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gL=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function pL(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var ck=["POST","PUT","PATCH","DELETE"];new Set(ck);var bL=["GET",...ck];new Set(bL);var ns=S.createContext(null);ns.displayName="DataRouter";var zf=S.createContext(null);zf.displayName="DataRouterState";var dk=S.createContext({isTransitioning:!1});dk.displayName="ViewTransition";var vL=S.createContext(new Map);vL.displayName="Fetchers";var yL=S.createContext(null);yL.displayName="Await";var ho=S.createContext(null);ho.displayName="Navigation";var qu=S.createContext(null);qu.displayName="Location";var Oo=S.createContext({outlet:null,matches:[],isDataRoute:!1});Oo.displayName="Route";var v1=S.createContext(null);v1.displayName="RouteError";function xL(e,{relative:t}={}){Kt(os(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=S.useContext(ho),{hash:i,pathname:s,search:c}=Fu(e,{relative:t}),d=s;return r!=="/"&&(d=s==="/"?r:sa([r,s])),o.createHref({pathname:d,search:c,hash:i})}function os(){return S.useContext(qu)!=null}function Zn(){return Kt(os(),"useLocation() may be used only in the context of a <Router> component."),S.useContext(qu).location}var fk="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function hk(e){S.useContext(ho).static||S.useLayoutEffect(e)}function Ii(){let{isDataRoute:e}=S.useContext(Oo);return e?DL():wL()}function wL(){Kt(os(),"useNavigate() may be used only in the context of a <Router> component.");let e=S.useContext(ns),{basename:t,navigator:r}=S.useContext(ho),{matches:o}=S.useContext(Oo),{pathname:i}=Zn(),s=JSON.stringify(p1(o)),c=S.useRef(!1);return hk(()=>{c.current=!0}),S.useCallback((f,h={})=>{if(Yn(c.current,fk),!c.current)return;if(typeof f=="number"){r.go(f);return}let m=b1(f,JSON.parse(s),i,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:sa([t,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[t,r,s,i,e])}S.createContext(null);function Fu(e,{relative:t}={}){let{matches:r}=S.useContext(Oo),{pathname:o}=Zn(),i=JSON.stringify(p1(r));return S.useMemo(()=>b1(e,JSON.parse(i),o,t==="path"),[e,i,o,t])}function SL(e,t){return mk(e,t)}function mk(e,t,r,o){var _;Kt(os(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i,static:s}=S.useContext(ho),{matches:c}=S.useContext(Oo),d=c[c.length-1],f=d?d.params:{},h=d?d.pathname:"/",m=d?d.pathnameBase:"/",p=d&&d.route;{let C=p&&p.path||"";gk(h,!p||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${C}">) 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.

Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let w=Zn(),v;if(t){let C=typeof t=="string"?rs(t):t;Kt(m==="/"||((_=C.pathname)==null?void 0:_.startsWith(m)),`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 "${m}" but pathname "${C.pathname}" was given in the \`location\` prop.`),v=C}else v=w;let x=v.pathname||"/",y=x;if(m!=="/"){let C=m.replace(/^\//,"").split("/");y="/"+x.replace(/^\//,"").split("/").slice(C.length).join("/")}let k=!s&&r&&r.matches&&r.matches.length>0?r.matches:lk(e,{pathname:y});Yn(p||k!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),Yn(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,`Matched leaf route at location "${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 B=CL(k&&k.map(C=>Object.assign({},C,{params:Object.assign({},f,C.params),pathname:sa([m,i.encodeLocation?i.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?m:sa([m,i.encodeLocation?i.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),c,r,o);return t&&B?S.createElement(qu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},B):B}function kL(){let e=AL(),t=pL(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},s={padding:"2px 4px",backgroundColor:o},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=S.createElement(S.Fragment,null,S.createElement("p",null,"💿 Hey developer 👋"),S.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",S.createElement("code",{style:s},"ErrorBoundary")," or"," ",S.createElement("code",{style:s},"errorElement")," prop on your route.")),S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),r?S.createElement("pre",{style:i},r):null,c)}var BL=S.createElement(kL,null),_L=class extends S.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,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?S.createElement(Oo.Provider,{value:this.props.routeContext},S.createElement(v1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function TL({routeContext:e,match:t,children:r}){let o=S.useContext(ns);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),S.createElement(Oo.Provider,{value:e},r)}function CL(e,t=[],r=null,o=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,s=r==null?void 0:r.errors;if(s!=null){let f=i.findIndex(h=>h.route.id&&(s==null?void 0:s[h.route.id])!==void 0);Kt(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,d=-1;if(r)for(let f=0;f<i.length;f++){let h=i[f];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(d=f),h.route.id){let{loaderData:m,errors:p}=r,w=h.route.loader&&!m.hasOwnProperty(h.route.id)&&(!p||p[h.route.id]===void 0);if(h.route.lazy||w){c=!0,d>=0?i=i.slice(0,d+1):i=[i[0]];break}}}return i.reduceRight((f,h,m)=>{let p,w=!1,v=null,x=null;r&&(p=s&&h.route.id?s[h.route.id]:void 0,v=h.route.errorElement||BL,c&&(d<0&&m===0?(gk("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,x=null):d===m&&(w=!0,x=h.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,m+1)),k=()=>{let B;return p?B=v:w?B=x:h.route.Component?B=S.createElement(h.route.Component,null):h.route.element?B=h.route.element:B=f,S.createElement(TL,{match:h,routeContext:{outlet:f,matches:y,isDataRoute:r!=null},children:B})};return r&&(h.route.ErrorBoundary||h.route.errorElement||m===0)?S.createElement(_L,{location:r.location,revalidation:r.revalidation,component:v,error:p,children:k(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):k()},null)}function y1(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function EL(e){let t=S.useContext(ns);return Kt(t,y1(e)),t}function NL(e){let t=S.useContext(zf);return Kt(t,y1(e)),t}function zL(e){let t=S.useContext(Oo);return Kt(t,y1(e)),t}function x1(e){let t=zL(e),r=t.matches[t.matches.length-1];return Kt(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function RL(){return x1("useRouteId")}function AL(){var o;let e=S.useContext(v1),t=NL("useRouteError"),r=x1("useRouteError");return e!==void 0?e:(o=t.errors)==null?void 0:o[r]}function DL(){let{router:e}=EL("useNavigate"),t=x1("useNavigate"),r=S.useRef(!1);return hk(()=>{r.current=!0}),S.useCallback(async(i,s={})=>{Yn(r.current,fk),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...s}))},[e,t])}var Tw={};function gk(e,t,r){!t&&!Tw[e]&&(Tw[e]=!0,Yn(!1,r))}S.memo(jL);function jL({routes:e,future:t,state:r}){return mk(e,void 0,r,t)}function OL({to:e,replace:t,state:r,relative:o}){Kt(os(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=S.useContext(ho);Yn(!i,"<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:s}=S.useContext(Oo),{pathname:c}=Zn(),d=Ii(),f=b1(e,p1(s),c,o==="path"),h=JSON.stringify(f);return S.useEffect(()=>{d(JSON.parse(h),{replace:t,state:r,relative:o})},[d,h,o,t,r]),null}function El(e){Kt(!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 ML({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:i,static:s=!1}){Kt(!os(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),d=S.useMemo(()=>({basename:c,navigator:i,static:s,future:{}}),[c,i,s]);typeof r=="string"&&(r=rs(r));let{pathname:f="/",search:h="",hash:m="",state:p=null,key:w="default"}=r,v=S.useMemo(()=>{let x=fa(f,c);return x==null?null:{location:{pathname:x,search:h,hash:m,state:p,key:w},navigationType:o}},[c,f,h,m,p,w,o]);return Yn(v!=null,`<Router basename="${c}"> is not able to match the URL "${f}${h}${m}" because it does not start with the basename, so the <Router> won't render anything.`),v==null?null:S.createElement(ho.Provider,{value:d},S.createElement(qu.Provider,{children:t,value:v}))}function qL({children:e,location:t}){return SL(mp(e),t)}function mp(e,t=[]){let r=[];return S.Children.forEach(e,(o,i)=>{if(!S.isValidElement(o))return;let s=[...t,i];if(o.type===S.Fragment){r.push.apply(r,mp(o.props.children,s));return}Kt(o.type===El,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Kt(!o.props.index||!o.props.children,"An index route cannot have child routes.");let c={id:o.props.id||s.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=mp(o.props.children,s)),r.push(c)}),r}var Cd="get",Ed="application/x-www-form-urlencoded";function Rf(e){return e!=null&&typeof e.tagName=="string"}function FL(e){return Rf(e)&&e.tagName.toLowerCase()==="button"}function PL(e){return Rf(e)&&e.tagName.toLowerCase()==="form"}function IL(e){return Rf(e)&&e.tagName.toLowerCase()==="input"}function LL(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function HL(e,t){return e.button===0&&(!t||t==="_self")&&!LL(e)}function gp(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let o=e[r];return t.concat(Array.isArray(o)?o.map(i=>[r,i]):[[r,o]])},[]))}function UL(e,t){let r=gp(e);return t&&t.forEach((o,i)=>{r.has(i)||t.getAll(i).forEach(s=>{r.append(i,s)})}),r}var fd=null;function VL(){if(fd===null)try{new FormData(document.createElement("form"),0),fd=!1}catch{fd=!0}return fd}var WL=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Cm(e){return e!=null&&!WL.has(e)?(Yn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ed}"`),null):e}function GL(e,t){let r,o,i,s,c;if(PL(e)){let d=e.getAttribute("action");o=d?fa(d,t):null,r=e.getAttribute("method")||Cd,i=Cm(e.getAttribute("enctype"))||Ed,s=new FormData(e)}else if(FL(e)||IL(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 f=e.getAttribute("formaction")||d.getAttribute("action");if(o=f?fa(f,t):null,r=e.getAttribute("formmethod")||d.getAttribute("method")||Cd,i=Cm(e.getAttribute("formenctype"))||Cm(d.getAttribute("enctype"))||Ed,s=new FormData(d,e),!VL()){let{name:h,type:m,value:p}=e;if(m==="image"){let w=h?`${h}.`:"";s.append(`${w}x`,"0"),s.append(`${w}y`,"0")}else h&&s.append(h,p)}}else{if(Rf(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Cd,o=null,i=Ed,c=e}return s&&i==="text/plain"&&(c=s,s=void 0),{action:o,method:r.toLowerCase(),encType:i,formData:s,body:c}}function w1(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function $L(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function XL(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 KL(e,t,r){let o=await Promise.all(e.map(async i=>{let s=t.routes[i.route.id];if(s){let c=await $L(s,r);return c.links?c.links():[]}return[]}));return JL(o.flat(1).filter(XL).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function Cw(e,t,r,o,i,s){let c=(f,h)=>r[h]?f.route.id!==r[h].route.id:!0,d=(f,h)=>{var m;return r[h].pathname!==f.pathname||((m=r[h].route.path)==null?void 0:m.endsWith("*"))&&r[h].params["*"]!==f.params["*"]};return s==="assets"?t.filter((f,h)=>c(f,h)||d(f,h)):s==="data"?t.filter((f,h)=>{var p;let m=o.routes[f.route.id];if(!m||!m.hasLoader)return!1;if(c(f,h)||d(f,h))return!0;if(f.route.shouldRevalidate){let w=f.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((p=r[0])==null?void 0:p.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function YL(e,t,{includeHydrateFallback:r}={}){return ZL(e.map(o=>{let i=t.routes[o.route.id];if(!i)return[];let s=[i.module];return i.clientActionModule&&(s=s.concat(i.clientActionModule)),i.clientLoaderModule&&(s=s.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(s=s.concat(i.hydrateFallbackModule)),i.imports&&(s=s.concat(i.imports)),s}).flat(1))}function ZL(e){return[...new Set(e)]}function QL(e){let t={},r=Object.keys(e).sort();for(let o of r)t[o]=e[o];return t}function JL(e,t){let r=new Set;return new Set(t),e.reduce((o,i)=>{let s=JSON.stringify(QL(i));return r.has(s)||(r.add(s),o.push({key:s,link:i})),o},[])}var eH=new Set([100,101,204,205]);function tH(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&fa(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function pk(){let e=S.useContext(ns);return w1(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function rH(){let e=S.useContext(zf);return w1(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var S1=S.createContext(void 0);S1.displayName="FrameworkContext";function bk(){let e=S.useContext(S1);return w1(e,"You must render this element inside a <HydratedRouter> element"),e}function nH(e,t){let r=S.useContext(S1),[o,i]=S.useState(!1),[s,c]=S.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:h,onMouseLeave:m,onTouchStart:p}=t,w=S.useRef(null);S.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let y=B=>{B.forEach(_=>{c(_.isIntersecting)})},k=new IntersectionObserver(y,{threshold:.5});return w.current&&k.observe(w.current),()=>{k.disconnect()}}},[e]),S.useEffect(()=>{if(o){let y=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(y)}}},[o]);let v=()=>{i(!0)},x=()=>{i(!1),c(!1)};return r?e!=="intent"?[s,w,{}]:[s,w,{onFocus:iu(d,v),onBlur:iu(f,x),onMouseEnter:iu(h,v),onMouseLeave:iu(m,x),onTouchStart:iu(p,v)}]:[!1,w,{}]}function iu(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function oH({page:e,...t}){let{router:r}=pk(),o=S.useMemo(()=>lk(r.routes,e,r.basename),[r.routes,e,r.basename]);return o?S.createElement(iH,{page:e,matches:o,...t}):null}function aH(e){let{manifest:t,routeModules:r}=bk(),[o,i]=S.useState([]);return S.useEffect(()=>{let s=!1;return KL(e,t,r).then(c=>{s||i(c)}),()=>{s=!0}},[e,t,r]),o}function iH({page:e,matches:t,...r}){let o=Zn(),{manifest:i,routeModules:s}=bk(),{basename:c}=pk(),{loaderData:d,matches:f}=rH(),h=S.useMemo(()=>Cw(e,t,f,i,o,"data"),[e,t,f,i,o]),m=S.useMemo(()=>Cw(e,t,f,i,o,"assets"),[e,t,f,i,o]),p=S.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let x=new Set,y=!1;if(t.forEach(B=>{var C;let _=i.routes[B.route.id];!_||!_.hasLoader||(!h.some(N=>N.route.id===B.route.id)&&B.route.id in d&&((C=s[B.route.id])!=null&&C.shouldRevalidate)||_.hasClientLoader?y=!0:x.add(B.route.id))}),x.size===0)return[];let k=tH(e,c);return y&&x.size>0&&k.searchParams.set("_routes",t.filter(B=>x.has(B.route.id)).map(B=>B.route.id).join(",")),[k.pathname+k.search]},[c,d,o,i,h,t,e,s]),w=S.useMemo(()=>YL(m,i),[m,i]),v=aH(m);return S.createElement(S.Fragment,null,p.map(x=>S.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...r})),w.map(x=>S.createElement("link",{key:x,rel:"modulepreload",href:x,...r})),v.map(({key:x,link:y})=>S.createElement("link",{key:x,...y})))}function lH(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var vk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{vk&&(window.__reactRouterVersion="7.5.3")}catch{}function sH({basename:e,children:t,window:r}){let o=S.useRef();o.current==null&&(o.current=XI({window:r,v5Compat:!0}));let i=o.current,[s,c]=S.useState({action:i.action,location:i.location}),d=S.useCallback(f=>{S.startTransition(()=>c(f))},[c]);return S.useLayoutEffect(()=>i.listen(d),[i,d]),S.createElement(ML,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:i})}var yk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xk=S.forwardRef(function({onClick:t,discover:r="render",prefetch:o="none",relative:i,reloadDocument:s,replace:c,state:d,target:f,to:h,preventScrollReset:m,viewTransition:p,...w},v){let{basename:x}=S.useContext(ho),y=typeof h=="string"&&yk.test(h),k,B=!1;if(typeof h=="string"&&y&&(k=h,vk))try{let I=new URL(window.location.href),G=h.startsWith("//")?new URL(I.protocol+h):new URL(h),X=fa(G.pathname,x);G.origin===I.origin&&X!=null?h=X+G.search+G.hash:B=!0}catch{Yn(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let _=xL(h,{relative:i}),[C,N,R]=nH(o,w),j=dH(h,{replace:c,state:d,target:f,preventScrollReset:m,relative:i,viewTransition:p});function D(I){t&&t(I),I.defaultPrevented||j(I)}let M=S.createElement("a",{...w,...R,href:k||_,onClick:B||s?t:D,ref:lH(v,N),target:f,"data-discover":!y&&r==="render"?"true":void 0});return C&&!y?S.createElement(S.Fragment,null,M,S.createElement(oH,{page:_})):M});xk.displayName="Link";var wk=S.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:o="",end:i=!1,style:s,to:c,viewTransition:d,children:f,...h},m){let p=Fu(c,{relative:h.relative}),w=Zn(),v=S.useContext(zf),{navigator:x,basename:y}=S.useContext(ho),k=v!=null&&bH(p)&&d===!0,B=x.encodeLocation?x.encodeLocation(p).pathname:p.pathname,_=w.pathname,C=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;r||(_=_.toLowerCase(),C=C?C.toLowerCase():null,B=B.toLowerCase()),C&&y&&(C=fa(C,y)||C);const N=B!=="/"&&B.endsWith("/")?B.length-1:B.length;let R=_===B||!i&&_.startsWith(B)&&_.charAt(N)==="/",j=C!=null&&(C===B||!i&&C.startsWith(B)&&C.charAt(B.length)==="/"),D={isActive:R,isPending:j,isTransitioning:k},M=R?t:void 0,I;typeof o=="function"?I=o(D):I=[o,R?"active":null,j?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let G=typeof s=="function"?s(D):s;return S.createElement(xk,{...h,"aria-current":M,className:I,ref:m,style:G,to:c,viewTransition:d},typeof f=="function"?f(D):f)});wk.displayName="NavLink";var uH=S.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:o,replace:i,state:s,method:c=Cd,action:d,onSubmit:f,relative:h,preventScrollReset:m,viewTransition:p,...w},v)=>{let x=gH(),y=pH(d,{relative:h}),k=c.toLowerCase()==="get"?"get":"post",B=typeof d=="string"&&yk.test(d),_=C=>{if(f&&f(C),C.defaultPrevented)return;C.preventDefault();let N=C.nativeEvent.submitter,R=(N==null?void 0:N.getAttribute("formmethod"))||c;x(N||C.currentTarget,{fetcherKey:t,method:R,navigate:r,replace:i,state:s,relative:h,preventScrollReset:m,viewTransition:p})};return S.createElement("form",{ref:v,method:k,action:y,onSubmit:o?f:_,...w,"data-discover":!B&&e==="render"?"true":void 0})});uH.displayName="Form";function cH(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Sk(e){let t=S.useContext(ns);return Kt(t,cH(e)),t}function dH(e,{target:t,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:c}={}){let d=Ii(),f=Zn(),h=Fu(e,{relative:s});return S.useCallback(m=>{if(HL(m,t)){m.preventDefault();let p=r!==void 0?r:_u(f)===_u(h);d(e,{replace:p,state:o,preventScrollReset:i,relative:s,viewTransition:c})}},[f,d,h,r,o,t,e,i,s,c])}function fH(e){Yn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=S.useRef(gp(e)),r=S.useRef(!1),o=Zn(),i=S.useMemo(()=>UL(o.search,r.current?null:t.current),[o.search]),s=Ii(),c=S.useCallback((d,f)=>{const h=gp(typeof d=="function"?d(i):d);r.current=!0,s("?"+h,f)},[s,i]);return[i,c]}var hH=0,mH=()=>`__${String(++hH)}__`;function gH(){let{router:e}=Sk("useSubmit"),{basename:t}=S.useContext(ho),r=RL();return S.useCallback(async(o,i={})=>{let{action:s,method:c,encType:d,formData:f,body:h}=GL(o,t);if(i.navigate===!1){let m=i.fetcherKey||mH();await e.fetch(m,r,i.action||s,{preventScrollReset:i.preventScrollReset,formData:f,body:h,formMethod:i.method||c,formEncType:i.encType||d,flushSync:i.flushSync})}else await e.navigate(i.action||s,{preventScrollReset:i.preventScrollReset,formData:f,body:h,formMethod:i.method||c,formEncType:i.encType||d,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,r])}function pH(e,{relative:t}={}){let{basename:r}=S.useContext(ho),o=S.useContext(Oo);Kt(o,"useFormAction must be used inside a RouteContext");let[i]=o.matches.slice(-1),s={...Fu(e||".",{relative:t})},c=Zn();if(e==null){s.search=c.search;let d=new URLSearchParams(s.search),f=d.getAll("index");if(f.some(m=>m==="")){d.delete("index"),f.filter(p=>p).forEach(p=>d.append("index",p));let m=d.toString();s.search=m?`?${m}`:""}}return(!e||e===".")&&i.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(s.pathname=s.pathname==="/"?r:sa([r,s.pathname])),_u(s)}function bH(e,t={}){let r=S.useContext(dk);Kt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Sk("useViewTransitionState"),i=Fu(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=fa(r.currentLocation.pathname,o)||r.currentLocation.pathname,c=fa(r.nextLocation.pathname,o)||r.nextLocation.pathname;return Wd(i.pathname,c)!=null||Wd(i.pathname,s)!=null}new TextEncoder;[...eH];function vH(e,t,r){const o=t.split(".");for(const i of o){if(e==null||typeof e!="object")return r;e=e[i]}return e}const kk=Gt({gridContainer:{display:"flex",flexDirection:"column",gap:"1rem",height:"100%",width:"fit-content",minWidth:"100%",overflowY:"auto",overflowX:"auto"},title:{padding:"0.5rem"},row:{borderBottom:`${F.strokeWidthThin} solid ${F.colorNeutralStrokeAccessible}`,"&:hover":{backgroundColor:F.colorBrandBackground2Hover,cursor:"pointer"}},grid:{backgroundColor:F.colorNeutralBackground1,borderCollapse:"collapse",border:`1px solid ${F.colorNeutralStrokeAccessible}`,color:F.colorNeutralForeground2,width:"100%",minWidth:"34rem",maxWidth:"50rem",tableLayout:"auto",boxShadow:F.shadow16,"&:last-child":{borderBottom:`${F.strokeWidthThin} solid ${F.colorTransparentStroke}`}},header:{textTransform:"uppercase","& button":{textTransform:"uppercase",fontWeight:"inherit",padding:0,gap:F.spacingHorizontalXS,border:"0px solid transparent","&:focus-visible":{outline:"none",boxShadow:"none",border:"none",transition:"none",transitionDuration:"0s"}}},directionIcon:{marginRight:F.spacingHorizontalS,flexShrink:0},typeContainer:{display:"flex",alignItems:"center",overflow:"hidden"},cell:{minWidth:"6rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},timestamp:{minWidth:"11.25rem"},oddRow:{backgroundColor:F.colorNeutralBackground1},evenRow:{backgroundColor:F.colorNeutralBackground6},selectedRow:{backgroundColor:F.colorBrandBackground2,"&:hover":{backgroundColor:F.colorBrandBackground2}},errorRow:{backgroundColor:F.colorPaletteRedBackground1,color:F.colorPaletteRedForeground1},empty:{textAlign:"center",padding:F.spacingVerticalL,color:F.colorNeutralForeground3,fontSize:F.fontSizeBase300,borderBottom:`${F.strokeWidthThin} solid ${F.colorNeutralStrokeAccessible}`},hideSelection:{visibility:"hidden"},filterOn:{color:F.colorBrandForeground1}}),yH="/devtools/assets/FluentSystemIcons-Filled-BkKNRAuh.ttf",xH="/devtools/assets/FluentSystemIcons-Filled-CKlopXFJ.woff",wH="/devtools/assets/FluentSystemIcons-Filled-BNz-nPog.woff2",SH="/devtools/assets/FluentSystemIcons-Regular-Ck4JqYAr.ttf",kH="/devtools/assets/FluentSystemIcons-Regular-DG6j5pl_.woff",BH="/devtools/assets/FluentSystemIcons-Regular-DaURWknX.woff2",_H="/devtools/assets/FluentSystemIcons-Light-CPYKaotZ.ttf",TH="/devtools/assets/FluentSystemIcons-Light-DzHdd4FE.woff",CH="/devtools/assets/FluentSystemIcons-Light-eu0dDZrh.woff2",EH="/devtools/assets/FluentSystemIcons-Resizable-CnnvCM7P.ttf",NH="/devtools/assets/FluentSystemIcons-Resizable-DnCkRnj_.woff",zH="/devtools/assets/FluentSystemIcons-Resizable-Iep0utY8.woff2",hd={0:"FluentSystemIconsFilled",1:"FluentSystemIconsRegular",2:"FluentSystemIcons"},RH=QT(`
@font-face {
    font-family: ${hd[0]};
    font-display: "block";
    src: url(${JSON.stringify(wH)}) format("woff2"),
    url(${JSON.stringify(xH)}) format("woff"),
    url(${JSON.stringify(yH)}) format("truetype");
}
@font-face {
    font-family: ${hd[1]};
    font-display: "block";
    src: url(${JSON.stringify(BH)}) format("woff2"),
    url(${JSON.stringify(kH)}) format("woff"),
    url(${JSON.stringify(SH)}) format("truetype");
}

@font-face {
    font-family: ${hd[3]};
    src: url(${JSON.stringify(CH)}) format("woff2"),
    url(${JSON.stringify(TH)}) format("woff"),
    url(${JSON.stringify(_H)}) format("truetype");
}

@font-face {
    font-family: ${hd[2]};
    font-display: "block";
    src: url(${JSON.stringify(zH)}) format("woff2"),
    url(${JSON.stringify(NH)}) format("woff"),
    url(${JSON.stringify(EH)}) format("truetype");
}
`),AH=xe({0:{Bahqtrf:"f9dzkbp"},1:{Bahqtrf:"f1krtbx5"},2:{Bahqtrf:"f1sxfq9t"},3:{Bahqtrf:"fgtzeza"},root:{mc9l5x:"f14t3ns0",B80ckks:"fmd4ok8",Bg96gwp:"fne0op0",sj55zd:"f303qgw",ycbfsm:"fg4l7m0"}},{d:[".f9dzkbp{font-family:FluentSystemIconsFilled;}",".f1krtbx5{font-family:FluentSystemIconsRegular;}",".f1sxfq9t{font-family:FluentSystemIcons;}",".fgtzeza{font-family:FluentSystemIconsLight;}",".f14t3ns0{display:inline-block;}",".fmd4ok8{font-style:normal;}",".fne0op0{line-height:1em;}",".f303qgw{color:currentColor;}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]});function ot(e,t,r,o,i){const s=c=>{RH();const d=AH(),f=J(d.root,d[r],vz,c.className),h=W5({...c,className:f},{flipInRtl:i==null?void 0:i.flipInRtl});return c.primaryFill&&c.primaryFill.toLowerCase()!=="currentcolor"&&(h.style={...h.style,color:c.primaryFill}),o&&(h.style={...h.style,fontSize:o}),S.createElement("i",Object.assign({},h),t)};return s.displayName=e,s.codepoint=t,s}const DH=ot("ArrowDownFilled","",2,void 0),jH=ot("ArrowUpFilled","",2,void 0,{flipInRtl:!0}),OH=ot("AttachRegular","",2,void 0),pp=ot("CheckmarkFilled","",2,void 0),MH=ot("CheckmarkRegular","",2,void 0),qH=ot("CopyRegular","",2,void 0),FH=ot("DeleteFilled","",2,void 0),PH=ot("DeleteRegular","",2,void 0),Bk=ot("DismissFilled","",2,void 0),_k=ot("DismissRegular","",2,void 0),IH=ot("EditFilled","",2,void 0),LH=ot("EditRegular","",2,void 0),HH=ot("MoreHorizontalRegular","",2,void 0),UH=ot("SearchFilled","",2,void 0),VH=ot("SearchRegular","",2,void 0),WH=ot("SendFilled","",2,void 0,{flipInRtl:!0}),GH=ot("SendRegular","",2,void 0,{flipInRtl:!0}),$H=ot("ThumbDislikeFilled","",2,void 0),XH=ot("ThumbDislikeRegular","",2,void 0),KH=ot("ThumbLikeFilled","",2,void 0),YH=ot("ThumbLikeRegular","",2,void 0),ZH=ot("TriangleDownFilled","",2,void 0),Ew=ot("TriangleRightFilled","",2,void 0),QH=ot("ArrowRepeatAll24Filled","",0,24,{flipInRtl:!0}),JH=ot("Chat20Filled","",0,20),eU=ot("Filter20Filled","",0,20),tU=ot("Search20Filled","",0,20),rU=ot("MoreHorizontal20Filled","",0,20),nU=ot("DocumentBulletList20Filled","",0,20),oU=ot("TextQuote16Filled","",0,16),aU=ot("CardUi20Filled","󰅩",0,20),iU=ot("Chat20Regular","",1,20),lU=ot("Filter20Regular","",1,20),sU=ot("Search20Regular","",1,20),uU=ot("DocumentBulletList20Regular","",1,20),cU=ot("TextQuote16Regular","",1,16),dU=ot("CardUi20Regular","󰅩",1,20);function k1(e){const t=[e.type];return(e.type==="invoke"||e.type==="event"||e.type==="command")&&t.push(e.name),e.type==="installationUpdate"&&t.push(e.action),(e.type==="messageDelete"||e.type==="messageUpdate"||e.type==="conversationUpdate")&&t.push(e.channelData.eventType),t.join("/")}const Tk=e=>{const[t,r]=S.useState(!1);return{ref:S.useCallback(i=>{if(i){let s=0;if(e!=null&&e.subtractSelector){const d=i.querySelector(e.subtractSelector);d&&(s=d.getBoundingClientRect().width)}const c=i.clientWidth-s;r(i.scrollWidth>c)}},[e==null?void 0:e.subtractSelector]),isOverflowing:t}},fU=Gt({cell:{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}}),Ck=({content:e,className:t,subtractSelector:r})=>{const o=fU(),{ref:i,isOverflowing:s}=Tk({subtractSelector:r}),c=E.jsx("span",{ref:i,className:`${o.cell} ${t||""}`,children:e});return s?E.jsx(er,{content:e,relationship:"label",positioning:"above",children:c}):c};Ck.displayName="OverflowCell";const md=S.memo(Ck),hU=[{id:"type",label:"Type"},{id:"chat",label:"Chat"},{id:"from",label:"From"},{id:"timestamp",label:"Timestamp"}],mU=Vr(eU,lU),Ek=({activityPaths:e,params:t,handleTypeFilter:r})=>{const o=kk(),i=t.size>0;return hU.map(s=>Jq({columnId:s.id,renderHeaderCell:()=>s.id==="type"?E.jsxs(Bf,{children:[E.jsx(Au,{children:E.jsxs(v6,{id:"button",appearance:"transparent",children:["Type",E.jsx(mU,{className:i?o.filterOn:""})]})}),E.jsx(Tf,{children:E.jsxs(_f,{children:[t.has("body.id")&&E.jsx(er,{content:`ID: ${t.get("body.id")}`,relationship:"label",children:E.jsx(Hl,{onClick:()=>r(""),icon:E.jsx(pp,{}),children:"Activity Id"},"id-filter")}),e.map(c=>E.jsx(Hl,{onClick:()=>r(c),icon:t.has("path",c)?E.jsx(pp,{}):E.jsx(E.Fragment,{}),children:c},c))]})})]}):s.label,renderCell:c=>{var f;const d=k1(c.body);switch(s.id){case"type":return E.jsxs("div",{className:o.typeContainer,children:[c.type==="activity.received"?E.jsx(DH,{className:o.directionIcon,role:"presentation"}):E.jsx(jH,{className:o.directionIcon,role:"presentation"}),E.jsx(md,{content:d||"",className:o.cell,subtractSelector:".directionIcon"})]});case"chat":return E.jsx(md,{content:String(((f=c.body.conversation)==null?void 0:f.conversationType)||"??"),className:o.cell});case"from":return c.body.from?E.jsx(md,{content:c.body.from.name,className:o.cell}):null;case"timestamp":return E.jsx(md,{content:new Date(c.sentAt).toLocaleString(),className:o.cell});default:return null}}}))};Ek.displayName="useActivityGridColumns";function gU(e,t){for(const[r,o]of t.entries())if(vH({...e,path:k1(e.body)},r)!=o)return!1;return!0}const Nk=S.memo(({activities:e,selected:t,handleRowSelect:r,params:o,handleTypeFilter:i})=>{const s=kk(),c=S.useMemo(()=>{const h=new Set;return e.forEach(m=>{const p=k1(m.body);p&&h.add(p)}),Array.from(h).sort()},[e]),d=S.useMemo(()=>e.filter(h=>gU(h,o)),[e,o]),f=Ek({activityPaths:c,params:o,handleTypeFilter:i});return E.jsxs("div",{className:s.gridContainer,children:[E.jsx(R6,{children:"Activities list"}),E.jsxs(J6,{items:d,columns:f,className:s.grid,selectionMode:"single",getRowId:h=>h.id,focusMode:"composite",selectedItems:t?[t.id]:[],onSelectionChange:(h,m)=>{const p=Array.from(m.selectedItems)[0],w=d.find(v=>v.id===p);w&&r(w)},"aria-label":"Activities list",children:[E.jsx(ek,{className:s.header,children:E.jsx(up,{selectionCell:{"aria-hidden":!0,tabIndex:-1,className:s.hideSelection},children:({renderHeaderCell:h,columnId:m})=>m==="type"?E.jsx(cp,{tabIndex:-1,className:s.cell,children:h()}):E.jsx(cp,{className:m!=="timestamp"?s.cell:J(s.cell,s.timestamp),children:h()})})}),d.length>0?E.jsx(Q6,{children:({item:h})=>E.jsx(up,{className:J(s.row,d.indexOf(h)%2===0?s.evenRow:s.oddRow,(t==null?void 0:t.id)===h.id&&s.selectedRow,h.type==="activity.error"&&s.errorRow),"aria-selected":(t==null?void 0:t.id)===h.id,selectionCell:{radioIndicator:{"aria-label":"Select row"}},children:({renderCell:m,columnId:p})=>E.jsx(Z6,{className:p!=="timestamp"?s.cell:J(s.cell,s.timestamp),children:m(h)})})}):E.jsx("div",{className:s.empty,children:"No activities to display."})]})]})});Nk.displayName="ActivitiesGrid";var Em,Nw;function pU(){if(Nw)return Em;Nw=1;function e(q){return q instanceof Map?q.clear=q.delete=q.set=function(){throw new Error("map is read-only")}:q instanceof Set&&(q.add=q.clear=q.delete=function(){throw new Error("set is read-only")}),Object.freeze(q),Object.getOwnPropertyNames(q).forEach(ie=>{const Se=q[ie],qe=typeof Se;(qe==="object"||qe==="function")&&!Object.isFrozen(Se)&&e(Se)}),q}class t{constructor(ie){ie.data===void 0&&(ie.data={}),this.data=ie.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(q){return q.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function o(q,...ie){const Se=Object.create(null);for(const qe in q)Se[qe]=q[qe];return ie.forEach(function(qe){for(const tt in qe)Se[tt]=qe[tt]}),Se}const i="</span>",s=q=>!!q.scope,c=(q,{prefix:ie})=>{if(q.startsWith("language:"))return q.replace("language:","language-");if(q.includes(".")){const Se=q.split(".");return[`${ie}${Se.shift()}`,...Se.map((qe,tt)=>`${qe}${"_".repeat(tt+1)}`)].join(" ")}return`${ie}${q}`};class d{constructor(ie,Se){this.buffer="",this.classPrefix=Se.classPrefix,ie.walk(this)}addText(ie){this.buffer+=r(ie)}openNode(ie){if(!s(ie))return;const Se=c(ie.scope,{prefix:this.classPrefix});this.span(Se)}closeNode(ie){s(ie)&&(this.buffer+=i)}value(){return this.buffer}span(ie){this.buffer+=`<span class="${ie}">`}}const f=(q={})=>{const ie={children:[]};return Object.assign(ie,q),ie};class h{constructor(){this.rootNode=f(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(ie){this.top.children.push(ie)}openNode(ie){const Se=f({scope:ie});this.add(Se),this.stack.push(Se)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(ie){return this.constructor._walk(ie,this.rootNode)}static _walk(ie,Se){return typeof Se=="string"?ie.addText(Se):Se.children&&(ie.openNode(Se),Se.children.forEach(qe=>this._walk(ie,qe)),ie.closeNode(Se)),ie}static _collapse(ie){typeof ie!="string"&&ie.children&&(ie.children.every(Se=>typeof Se=="string")?ie.children=[ie.children.join("")]:ie.children.forEach(Se=>{h._collapse(Se)}))}}class m extends h{constructor(ie){super(),this.options=ie}addText(ie){ie!==""&&this.add(ie)}startScope(ie){this.openNode(ie)}endScope(){this.closeNode()}__addSublanguage(ie,Se){const qe=ie.root;Se&&(qe.scope=`language:${Se}`),this.add(qe)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function p(q){return q?typeof q=="string"?q:q.source:null}function w(q){return y("(?=",q,")")}function v(q){return y("(?:",q,")*")}function x(q){return y("(?:",q,")?")}function y(...q){return q.map(Se=>p(Se)).join("")}function k(q){const ie=q[q.length-1];return typeof ie=="object"&&ie.constructor===Object?(q.splice(q.length-1,1),ie):{}}function B(...q){return"("+(k(q).capture?"":"?:")+q.map(qe=>p(qe)).join("|")+")"}function _(q){return new RegExp(q.toString()+"|").exec("").length-1}function C(q,ie){const Se=q&&q.exec(ie);return Se&&Se.index===0}const N=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function R(q,{joinWith:ie}){let Se=0;return q.map(qe=>{Se+=1;const tt=Se;let yt=p(qe),Ce="";for(;yt.length>0;){const _e=N.exec(yt);if(!_e){Ce+=yt;break}Ce+=yt.substring(0,_e.index),yt=yt.substring(_e.index+_e[0].length),_e[0][0]==="\\"&&_e[1]?Ce+="\\"+String(Number(_e[1])+tt):(Ce+=_e[0],_e[0]==="("&&Se++)}return Ce}).map(qe=>`(${qe})`).join(ie)}const j=/\b\B/,D="[a-zA-Z]\\w*",M="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",G="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",X="\\b(0b[01]+)",re="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ue=(q={})=>{const ie=/^#![ ]*\//;return q.binary&&(q.begin=y(ie,/.*\b/,q.binary,/\b.*/)),o({scope:"meta",begin:ie,end:/$/,relevance:0,"on:begin":(Se,qe)=>{Se.index!==0&&qe.ignoreMatch()}},q)},ne={begin:"\\\\[\\s\\S]",relevance:0},fe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ne]},O={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ne]},W={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},L=function(q,ie,Se={}){const qe=o({scope:"comment",begin:q,end:ie,contains:[]},Se);qe.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const tt=B("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return qe.contains.push({begin:y(/[ ]+/,"(",tt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),qe},Z=L("//","$"),se=L("/\\*","\\*/"),A=L("#","$"),U={scope:"number",begin:I,relevance:0},ae={scope:"number",begin:G,relevance:0},me={scope:"number",begin:X,relevance:0},Te={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ne,{begin:/\[/,end:/\]/,relevance:0,contains:[ne]}]},Ae={scope:"title",begin:D,relevance:0},Le={scope:"title",begin:M,relevance:0},Ft={begin:"\\.\\s*"+M,relevance:0};var Ge=Object.freeze({__proto__:null,APOS_STRING_MODE:fe,BACKSLASH_ESCAPE:ne,BINARY_NUMBER_MODE:me,BINARY_NUMBER_RE:X,COMMENT:L,C_BLOCK_COMMENT_MODE:se,C_LINE_COMMENT_MODE:Z,C_NUMBER_MODE:ae,C_NUMBER_RE:G,END_SAME_AS_BEGIN:function(q){return Object.assign(q,{"on:begin":(ie,Se)=>{Se.data._beginMatch=ie[1]},"on:end":(ie,Se)=>{Se.data._beginMatch!==ie[1]&&Se.ignoreMatch()}})},HASH_COMMENT_MODE:A,IDENT_RE:D,MATCH_NOTHING_RE:j,METHOD_GUARD:Ft,NUMBER_MODE:U,NUMBER_RE:I,PHRASAL_WORDS_MODE:W,QUOTE_STRING_MODE:O,REGEXP_MODE:Te,RE_STARTERS_RE:re,SHEBANG:ue,TITLE_MODE:Ae,UNDERSCORE_IDENT_RE:M,UNDERSCORE_TITLE_MODE:Le});function zt(q,ie){q.input[q.index-1]==="."&&ie.ignoreMatch()}function dt(q,ie){q.className!==void 0&&(q.scope=q.className,delete q.className)}function $t(q,ie){ie&&q.beginKeywords&&(q.begin="\\b("+q.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",q.__beforeBegin=zt,q.keywords=q.keywords||q.beginKeywords,delete q.beginKeywords,q.relevance===void 0&&(q.relevance=0))}function Pt(q,ie){Array.isArray(q.illegal)&&(q.illegal=B(...q.illegal))}function Er(q,ie){if(q.match){if(q.begin||q.end)throw new Error("begin & end are not supported with match");q.begin=q.match,delete q.match}}function tr(q,ie){q.relevance===void 0&&(q.relevance=1)}const Nr=(q,ie)=>{if(!q.beforeMatch)return;if(q.starts)throw new Error("beforeMatch cannot be used with starts");const Se=Object.assign({},q);Object.keys(q).forEach(qe=>{delete q[qe]}),q.keywords=Se.keywords,q.begin=y(Se.beforeMatch,w(Se.begin)),q.starts={relevance:0,contains:[Object.assign(Se,{endsParent:!0})]},q.relevance=0,delete Se.beforeMatch},Or=["of","and","for","in","not","or","if","then","parent","list","value"],An="keyword";function Zr(q,ie,Se=An){const qe=Object.create(null);return typeof q=="string"?tt(Se,q.split(" ")):Array.isArray(q)?tt(Se,q):Object.keys(q).forEach(function(yt){Object.assign(qe,Zr(q[yt],ie,yt))}),qe;function tt(yt,Ce){ie&&(Ce=Ce.map(_e=>_e.toLowerCase())),Ce.forEach(function(_e){const Oe=_e.split("|");qe[Oe[0]]=[yt,Mr(Oe[0],Oe[1])]})}}function Mr(q,ie){return ie?Number(ie):po(q)?0:1}function po(q){return Or.includes(q.toLowerCase())}const eo={},Rt=q=>{console.error(q)},Li=(q,...ie)=>{console.log(`WARN: ${q}`,...ie)},to=(q,ie)=>{eo[`${q}/${ie}`]||(console.log(`Deprecated as of ${q}. ${ie}`),eo[`${q}/${ie}`]=!0)},bo=new Error;function Mo(q,ie,{key:Se}){let qe=0;const tt=q[Se],yt={},Ce={};for(let _e=1;_e<=ie.length;_e++)Ce[_e+qe]=tt[_e],yt[_e+qe]=!0,qe+=_(ie[_e-1]);q[Se]=Ce,q[Se]._emit=yt,q[Se]._multi=!0}function qo(q){if(Array.isArray(q.begin)){if(q.skip||q.excludeBegin||q.returnBegin)throw Rt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),bo;if(typeof q.beginScope!="object"||q.beginScope===null)throw Rt("beginScope must be object"),bo;Mo(q,q.begin,{key:"beginScope"}),q.begin=R(q.begin,{joinWith:""})}}function pa(q){if(Array.isArray(q.end)){if(q.skip||q.excludeEnd||q.returnEnd)throw Rt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),bo;if(typeof q.endScope!="object"||q.endScope===null)throw Rt("endScope must be object"),bo;Mo(q,q.end,{key:"endScope"}),q.end=R(q.end,{joinWith:""})}}function Hi(q){q.scope&&typeof q.scope=="object"&&q.scope!==null&&(q.beginScope=q.scope,delete q.scope)}function us(q){Hi(q),typeof q.beginScope=="string"&&(q.beginScope={_wrap:q.beginScope}),typeof q.endScope=="string"&&(q.endScope={_wrap:q.endScope}),qo(q),pa(q)}function Fo(q){function ie(Ce,_e){return new RegExp(p(Ce),"m"+(q.case_insensitive?"i":"")+(q.unicodeRegex?"u":"")+(_e?"g":""))}class Se{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(_e,Oe){Oe.position=this.position++,this.matchIndexes[this.matchAt]=Oe,this.regexes.push([Oe,_e]),this.matchAt+=_(_e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const _e=this.regexes.map(Oe=>Oe[1]);this.matcherRe=ie(R(_e,{joinWith:"|"}),!0),this.lastIndex=0}exec(_e){this.matcherRe.lastIndex=this.lastIndex;const Oe=this.matcherRe.exec(_e);if(!Oe)return null;const Ht=Oe.findIndex((gn,vo)=>vo>0&&gn!==void 0),kt=this.matchIndexes[Ht];return Oe.splice(0,Ht),Object.assign(Oe,kt)}}class qe{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(_e){if(this.multiRegexes[_e])return this.multiRegexes[_e];const Oe=new Se;return this.rules.slice(_e).forEach(([Ht,kt])=>Oe.addRule(Ht,kt)),Oe.compile(),this.multiRegexes[_e]=Oe,Oe}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(_e,Oe){this.rules.push([_e,Oe]),Oe.type==="begin"&&this.count++}exec(_e){const Oe=this.getMatcher(this.regexIndex);Oe.lastIndex=this.lastIndex;let Ht=Oe.exec(_e);if(this.resumingScanAtSamePosition()&&!(Ht&&Ht.index===this.lastIndex)){const kt=this.getMatcher(0);kt.lastIndex=this.lastIndex+1,Ht=kt.exec(_e)}return Ht&&(this.regexIndex+=Ht.position+1,this.regexIndex===this.count&&this.considerAll()),Ht}}function tt(Ce){const _e=new qe;return Ce.contains.forEach(Oe=>_e.addRule(Oe.begin,{rule:Oe,type:"begin"})),Ce.terminatorEnd&&_e.addRule(Ce.terminatorEnd,{type:"end"}),Ce.illegal&&_e.addRule(Ce.illegal,{type:"illegal"}),_e}function yt(Ce,_e){const Oe=Ce;if(Ce.isCompiled)return Oe;[dt,Er,us,Nr].forEach(kt=>kt(Ce,_e)),q.compilerExtensions.forEach(kt=>kt(Ce,_e)),Ce.__beforeBegin=null,[$t,Pt,tr].forEach(kt=>kt(Ce,_e)),Ce.isCompiled=!0;let Ht=null;return typeof Ce.keywords=="object"&&Ce.keywords.$pattern&&(Ce.keywords=Object.assign({},Ce.keywords),Ht=Ce.keywords.$pattern,delete Ce.keywords.$pattern),Ht=Ht||/\w+/,Ce.keywords&&(Ce.keywords=Zr(Ce.keywords,q.case_insensitive)),Oe.keywordPatternRe=ie(Ht,!0),_e&&(Ce.begin||(Ce.begin=/\B|\b/),Oe.beginRe=ie(Oe.begin),!Ce.end&&!Ce.endsWithParent&&(Ce.end=/\B|\b/),Ce.end&&(Oe.endRe=ie(Oe.end)),Oe.terminatorEnd=p(Oe.end)||"",Ce.endsWithParent&&_e.terminatorEnd&&(Oe.terminatorEnd+=(Ce.end?"|":"")+_e.terminatorEnd)),Ce.illegal&&(Oe.illegalRe=ie(Ce.illegal)),Ce.contains||(Ce.contains=[]),Ce.contains=[].concat(...Ce.contains.map(function(kt){return Qr(kt==="self"?Ce:kt)})),Ce.contains.forEach(function(kt){yt(kt,Oe)}),Ce.starts&&yt(Ce.starts,_e),Oe.matcher=tt(Oe),Oe}if(q.compilerExtensions||(q.compilerExtensions=[]),q.contains&&q.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return q.classNameAliases=o(q.classNameAliases||{}),yt(q)}function gr(q){return q?q.endsWithParent||gr(q.starts):!1}function Qr(q){return q.variants&&!q.cachedVariants&&(q.cachedVariants=q.variants.map(function(ie){return o(q,{variants:null},ie)})),q.cachedVariants?q.cachedVariants:gr(q)?o(q,{starts:q.starts?o(q.starts):null}):Object.isFrozen(q)?o(q):q}var $="11.11.1";class ee extends Error{constructor(ie,Se){super(ie),this.name="HTMLInjectionError",this.html=Se}}const et=r,pt=o,ut=Symbol("nomatch"),He=7,Wr=function(q){const ie=Object.create(null),Se=Object.create(null),qe=[];let tt=!0;const yt="Could not find the language '{}', did you forget to load/include a language module?",Ce={disableAutodetect:!0,name:"Plain text",contains:[]};let _e={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:m};function Oe(ye){return _e.noHighlightRe.test(ye)}function Ht(ye){let De=ye.className+" ";De+=ye.parentNode?ye.parentNode.className:"";const Je=_e.languageDetectRe.exec(De);if(Je){const Bt=zr(Je[1]);return Bt||(Li(yt.replace("{}",Je[1])),Li("Falling back to no-highlight mode for this block.",ye)),Bt?Je[1]:"no-highlight"}return De.split(/\s+/).find(Bt=>Oe(Bt)||zr(Bt))}function kt(ye,De,Je){let Bt="",dr="";typeof De=="object"?(Bt=ye,Je=De.ignoreIllegals,dr=De.language):(to("10.7.0","highlight(lang, code, ...args) has been deprecated."),to("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),dr=ye,Bt=De),Je===void 0&&(Je=!0);const Gr={code:Bt,language:dr};si("before:highlight",Gr);const bn=Gr.result?Gr.result:gn(Gr.language,Gr.code,Je);return bn.code=Gr.code,si("after:highlight",bn),bn}function gn(ye,De,Je,Bt){const dr=Object.create(null);function Gr(we,ze){return we.keywords[ze]}function bn(){if(!Ie.keywords){br.addText(_t);return}let we=0;Ie.keywordPatternRe.lastIndex=0;let ze=Ie.keywordPatternRe.exec(_t),$e="";for(;ze;){$e+=_t.substring(we,ze.index);const at=qr.case_insensitive?ze[0].toLowerCase():ze[0],Yt=Gr(Ie,at);if(Yt){const[On,hs]=Yt;if(br.addText($e),$e="",dr[at]=(dr[at]||0)+1,dr[at]<=He&&(xa+=hs),On.startsWith("_"))$e+=ze[0];else{const $u=qr.classNameAliases[On]||On;vn(ze[0],$u)}}else $e+=ze[0];we=Ie.keywordPatternRe.lastIndex,ze=Ie.keywordPatternRe.exec(_t)}$e+=_t.substring(we),br.addText($e)}function tn(){if(_t==="")return;let we=null;if(typeof Ie.subLanguage=="string"){if(!ie[Ie.subLanguage]){br.addText(_t);return}we=gn(Ie.subLanguage,_t,!0,Gu[Ie.subLanguage]),Gu[Ie.subLanguage]=we._top}else we=Po(_t,Ie.subLanguage.length?Ie.subLanguage:null);Ie.relevance>0&&(xa+=we.relevance),br.__addSublanguage(we._emitter,we.language)}function It(){Ie.subLanguage!=null?tn():bn(),_t=""}function vn(we,ze){we!==""&&(br.startScope(ze),br.addText(we),br.endScope())}function Vu(we,ze){let $e=1;const at=ze.length-1;for(;$e<=at;){if(!we._emit[$e]){$e++;continue}const Yt=qr.classNameAliases[we[$e]]||we[$e],On=ze[$e];Yt?vn(On,Yt):(_t=On,bn(),_t=""),$e++}}function Vi(we,ze){return we.scope&&typeof we.scope=="string"&&br.openNode(qr.classNameAliases[we.scope]||we.scope),we.beginScope&&(we.beginScope._wrap?(vn(_t,qr.classNameAliases[we.beginScope._wrap]||we.beginScope._wrap),_t=""):we.beginScope._multi&&(Vu(we.beginScope,ze),_t="")),Ie=Object.create(we,{parent:{value:Ie}}),Ie}function cs(we,ze,$e){let at=C(we.endRe,$e);if(at){if(we["on:end"]){const Yt=new t(we);we["on:end"](ze,Yt),Yt.isMatchIgnored&&(at=!1)}if(at){for(;we.endsParent&&we.parent;)we=we.parent;return we}}if(we.endsWithParent)return cs(we.parent,ze,$e)}function Wi(we){return Ie.matcher.regexIndex===0?(_t+=we[0],1):(wa=!0,0)}function Gf(we){const ze=we[0],$e=we.rule,at=new t($e),Yt=[$e.__beforeBegin,$e["on:begin"]];for(const On of Yt)if(On&&(On(we,at),at.isMatchIgnored))return Wi(ze);return $e.skip?_t+=ze:($e.excludeBegin&&(_t+=ze),It(),!$e.returnBegin&&!$e.excludeBegin&&(_t=ze)),Vi($e,we),$e.returnBegin?0:ze.length}function rn(we){const ze=we[0],$e=De.substring(we.index),at=cs(Ie,we,$e);if(!at)return ut;const Yt=Ie;Ie.endScope&&Ie.endScope._wrap?(It(),vn(ze,Ie.endScope._wrap)):Ie.endScope&&Ie.endScope._multi?(It(),Vu(Ie.endScope,we)):Yt.skip?_t+=ze:(Yt.returnEnd||Yt.excludeEnd||(_t+=ze),It(),Yt.excludeEnd&&(_t=ze));do Ie.scope&&br.closeNode(),!Ie.skip&&!Ie.subLanguage&&(xa+=Ie.relevance),Ie=Ie.parent;while(Ie!==at.parent);return at.starts&&Vi(at.starts,we),Yt.returnEnd?0:ze.length}function ds(){const we=[];for(let ze=Ie;ze!==qr;ze=ze.parent)ze.scope&&we.unshift(ze.scope);we.forEach(ze=>br.openNode(ze))}let ui={};function Gi(we,ze){const $e=ze&&ze[0];if(_t+=we,$e==null)return It(),0;if(ui.type==="begin"&&ze.type==="end"&&ui.index===ze.index&&$e===""){if(_t+=De.slice(ze.index,ze.index+1),!tt){const at=new Error(`0 width match regex (${ye})`);throw at.languageName=ye,at.badRule=ui.rule,at}return 1}if(ui=ze,ze.type==="begin")return Gf(ze);if(ze.type==="illegal"&&!Je){const at=new Error('Illegal lexeme "'+$e+'" for mode "'+(Ie.scope||"<unnamed>")+'"');throw at.mode=Ie,at}else if(ze.type==="end"){const at=rn(ze);if(at!==ut)return at}if(ze.type==="illegal"&&$e==="")return _t+=`
`,1;if(fs>1e5&&fs>ze.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _t+=$e,$e.length}const qr=zr(ye);if(!qr)throw Rt(yt.replace("{}",ye)),new Error('Unknown language: "'+ye+'"');const Wu=Fo(qr);let $i="",Ie=Bt||Wu;const Gu={},br=new _e.__emitter(_e);ds();let _t="",xa=0,Ho=0,fs=0,wa=!1;try{if(qr.__emitTokens)qr.__emitTokens(De,br);else{for(Ie.matcher.considerAll();;){fs++,wa?wa=!1:Ie.matcher.considerAll(),Ie.matcher.lastIndex=Ho;const we=Ie.matcher.exec(De);if(!we)break;const ze=De.substring(Ho,we.index),$e=Gi(ze,we);Ho=we.index+$e}Gi(De.substring(Ho))}return br.finalize(),$i=br.toHTML(),{language:ye,value:$i,relevance:xa,illegal:!1,_emitter:br,_top:Ie}}catch(we){if(we.message&&we.message.includes("Illegal"))return{language:ye,value:et(De),illegal:!0,relevance:0,_illegalBy:{message:we.message,index:Ho,context:De.slice(Ho-100,Ho+100),mode:we.mode,resultSoFar:$i},_emitter:br};if(tt)return{language:ye,value:et(De),illegal:!1,relevance:0,errorRaised:we,_emitter:br,_top:Ie};throw we}}function vo(ye){const De={value:et(ye),illegal:!1,relevance:0,_top:Ce,_emitter:new _e.__emitter(_e)};return De._emitter.addText(ye),De}function Po(ye,De){De=De||_e.languages||Object.keys(ie);const Je=vo(ye),Bt=De.filter(zr).filter(va).map(It=>gn(It,ye,!1));Bt.unshift(Je);const dr=Bt.sort((It,vn)=>{if(It.relevance!==vn.relevance)return vn.relevance-It.relevance;if(It.language&&vn.language){if(zr(It.language).supersetOf===vn.language)return 1;if(zr(vn.language).supersetOf===It.language)return-1}return 0}),[Gr,bn]=dr,tn=Gr;return tn.secondBest=bn,tn}function pn(ye,De,Je){const Bt=De&&Se[De]||Je;ye.classList.add("hljs"),ye.classList.add(`language-${Bt}`)}function Ut(ye){let De=null;const Je=Ht(ye);if(Oe(Je))return;if(si("before:highlightElement",{el:ye,language:Je}),ye.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",ye);return}if(ye.children.length>0&&(_e.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(ye)),_e.throwUnescapedHTML))throw new ee("One of your code blocks includes unescaped HTML.",ye.innerHTML);De=ye;const Bt=De.textContent,dr=Je?kt(Bt,{language:Je,ignoreIllegals:!0}):Po(Bt);ye.innerHTML=dr.value,ye.dataset.highlighted="yes",pn(ye,Je,dr.language),ye.result={language:dr.language,re:dr.relevance,relevance:dr.relevance},dr.secondBest&&(ye.secondBest={language:dr.secondBest.language,relevance:dr.secondBest.relevance}),si("after:highlightElement",{el:ye,result:dr,text:Bt})}function Tr(ye){_e=pt(_e,ye)}const Dn=()=>{yo(),to("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")};function ba(){yo(),to("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")}let Ui=!1;function yo(){function ye(){yo()}if(document.readyState==="loading"){Ui||window.addEventListener("DOMContentLoaded",ye,!1),Ui=!0;return}document.querySelectorAll(_e.cssSelector).forEach(Ut)}function ro(ye,De){let Je=null;try{Je=De(q)}catch(Bt){if(Rt("Language definition for '{}' could not be registered.".replace("{}",ye)),tt)Rt(Bt);else throw Bt;Je=Ce}Je.name||(Je.name=ye),ie[ye]=Je,Je.rawDefinition=De.bind(null,q),Je.aliases&&Io(Je.aliases,{languageName:ye})}function jn(ye){delete ie[ye];for(const De of Object.keys(Se))Se[De]===ye&&delete Se[De]}function li(){return Object.keys(ie)}function zr(ye){return ye=(ye||"").toLowerCase(),ie[ye]||ie[Se[ye]]}function Io(ye,{languageName:De}){typeof ye=="string"&&(ye=[ye]),ye.forEach(Je=>{Se[Je.toLowerCase()]=De})}function va(ye){const De=zr(ye);return De&&!De.disableAutodetect}function ya(ye){ye["before:highlightBlock"]&&!ye["before:highlightElement"]&&(ye["before:highlightElement"]=De=>{ye["before:highlightBlock"](Object.assign({block:De.el},De))}),ye["after:highlightBlock"]&&!ye["after:highlightElement"]&&(ye["after:highlightElement"]=De=>{ye["after:highlightBlock"](Object.assign({block:De.el},De))})}function pr(ye){ya(ye),qe.push(ye)}function Uu(ye){const De=qe.indexOf(ye);De!==-1&&qe.splice(De,1)}function si(ye,De){const Je=ye;qe.forEach(function(Bt){Bt[Je]&&Bt[Je](De)})}function Lo(ye){return to("10.7.0","highlightBlock will be removed entirely in v12.0"),to("10.7.0","Please use highlightElement now."),Ut(ye)}Object.assign(q,{highlight:kt,highlightAuto:Po,highlightAll:yo,highlightElement:Ut,highlightBlock:Lo,configure:Tr,initHighlighting:Dn,initHighlightingOnLoad:ba,registerLanguage:ro,unregisterLanguage:jn,listLanguages:li,getLanguage:zr,registerAliases:Io,autoDetection:va,inherit:pt,addPlugin:pr,removePlugin:Uu}),q.debugMode=function(){tt=!1},q.safeMode=function(){tt=!0},q.versionString=$,q.regex={concat:y,lookahead:w,either:B,optional:x,anyNumberOfTimes:v};for(const ye in Ge)typeof Ge[ye]=="object"&&e(Ge[ye]);return Object.assign(q,Ge),q},rr=Wr({});return rr.newInstance=()=>Wr({}),Em=rr,rr.HighlightJS=rr,rr.default=rr,Em}var bU=pU();const zk=Yd(bU);function vU(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],i={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:o},contains:[t,r,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}const Qn=Gt({base:{fontSize:F.fontSizeBase300},baseText:{color:F.colorNeutralForeground1},collapsedPreview:{color:F.colorNeutralForeground2,fontStyle:"italic"},pre:{fontFamily:"monospace"},bool:{color:F.colorPalettePinkForeground2},number:{color:F.colorPaletteMarigoldForeground1},string:{color:F.colorPaletteBlueForeground2},object:{display:"flex",flexDirection:"column",textAlign:"start",width:"100%",overflow:"hidden"},row:{display:"flex",flexDirection:"row",alignItems:"center",width:"100%",minHeight:"1.5rem",position:"relative",overflow:"hidden"},expandButton:{display:"flex",padding:0,minWidth:"auto",height:"auto",alignItems:"center",justifyContent:"center",width:"1rem",flexShrink:0,marginRight:F.spacingHorizontalXS},expandButtonDisabled:{color:F.colorNeutralForegroundDisabled,cursor:"default",":hover, :active":{backgroundColor:"transparent",color:F.colorNeutralForegroundDisabled,cursor:"default"}},key:{color:F.colorPaletteBlueBorderActive,paddingRight:F.spacingHorizontalS,fontWeight:F.fontWeightRegular,minWidth:"1.25rem",flexShrink:0,whiteSpace:"nowrap",overflow:"visible"},value:{wordBreak:"break-all",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flexGrow:1,minWidth:0},expandedValue:{width:"calc(100% - 1.5rem)",paddingLeft:F.spacingHorizontalS,borderLeft:`1px solid ${F.colorNeutralStroke2}`,marginLeft:F.spacingHorizontalS},expandedValueCompact:{marginLeft:F.spacingHorizontalXS},nestedLevel:{paddingLeft:F.spacingHorizontalS,width:"100%",overflow:"hidden"},emptyObject:{color:F.colorNeutralForeground2,fontStyle:"italic"},circularRef:{color:F.colorPaletteRedForeground2},arrayContainer:{position:"relative",paddingLeft:F.spacingHorizontalM,overflow:"hidden"},arrayIndex:{color:F.colorPaletteDarkOrangeForeground2,minWidth:"1.25rem",display:"inline-block",flexShrink:0}}),Rk=({isEmpty:e,onClick:t,isExpanded:r,isPrimitive:o})=>{const i=Qn();return o?E.jsx("span",{className:i.expandButton}):e?E.jsx(er,{content:"Empty non-primitive value",relationship:"label",positioning:"before",children:E.jsx("span",{className:J(i.expandButton,i.expandButtonDisabled),children:E.jsx(Ew,{})})}):E.jsx(er,{content:r?"Collapse":"Expand",relationship:"label",positioning:"before",children:E.jsx(en,{appearance:"transparent",className:i.expandButton,onClick:t,"aria-expanded":r,"aria-label":r?"Collapse":"Expand",children:r?E.jsx(ZH,{}):E.jsx(Ew,{})})})};Rk.displayName="JsonExpandButton";const yU=S.memo(Rk),Ak=({isArray:e,keyName:t})=>{const r=Qn();return e?E.jsx("span",{className:J(r.base,r.arrayIndex),children:t}):E.jsx("span",{className:J(r.base,r.key),children:t+":"})};Ak.displayName="JsonKey";const xU=S.memo(Ak),Dk=({content:e,children:t})=>{const{ref:r,isOverflowing:o}=Tk(),i={...t,ref:r};return o?E.jsx(er,{content:e,relationship:"label",children:i}):i};Dk.displayName="OverflowTooltip";const jk=S.memo(Dk),Ok=({value:e})=>{const t=Qn();return E.jsx(jk,{content:String(e),children:E.jsx("div",{className:J(t.base,t.baseText,t.value),children:E.jsx(B1,{value:e})})})};Ok.displayName="JsonPrimitiveWrapper";const wU=S.memo(Ok),SU=e=>{if(Array.isArray(e))return`[${e.map(t=>typeof t=="string"?`"${t}"`:JSON.stringify(t)).join(", ")}]`;if(typeof e=="object"&&e!==null){const t=Object.entries(e);return t.length===0?"{}":`{ ${t.map(([r,o])=>{const i=typeof o=="string"?`"${o}"`:JSON.stringify(o);return`${r}: ${i}`}).join(", ")} }`}return""},kU=e=>!e||typeof e!="object"?!1:Object.values(e).every(t=>t===null||typeof t!="object"),BU=(e,t=[])=>typeof e!="object"||e===null?!1:t.some(r=>r===e),Mk=({value:e,isCircularRef:t,isExpanded:r,isEmpty:o})=>{const i=Qn();return t?E.jsx("div",{className:J(i.base,i.baseText,i.circularRef),children:"[Circular Reference]"}):!r||o?E.jsx("div",{className:J(i.base,i.baseText,i.value,i.collapsedPreview),children:SU(e)}):null};Mk.displayName="ValueDisplay";const _U=S.memo(Mk),qk=e=>{const{keyName:t,value:r,isArray:o,isExpanded:i,onToggleExpand:s,path:c,className:d}=e,f=Qn(),h=typeof r=="object"&&r!==null,m=h&&Object.keys(r).length===0,p=!h,w=BU(r,c);return E.jsxs("div",{className:J(f.base,f.row,d),children:[E.jsx(yU,{isEmpty:m,onClick:s,isExpanded:i,isPrimitive:p}),E.jsx(xU,{isArray:o,keyName:t}),h?E.jsx(_U,{value:r,isCircularRef:w,isExpanded:i,isEmpty:m}):E.jsx(wU,{value:r})]})};qk.displayName="JsonObjectRow";const TU=S.memo(qk),Fk=e=>{const[t,r]=S.useState({}),o=Qn(),i=e.level||0,s=e.path||[],c=e.isArray||!1,d=kU(e.value);return Object.keys(e.value).length===0?E.jsx("div",{className:J(o.base,o.baseText,o.emptyObject,e.className),children:c?"[]":"{}"}):E.jsx("div",{className:J(o.base,o.object,i>0?o.nestedLevel:void 0,c?o.arrayContainer:void 0,e.className),children:Object.entries(e.value).map(([f,h])=>{const m=!!t[f],p=typeof h=="object"&&h!==null;return E.jsxs("div",{className:o.base,children:[E.jsx(TU,{keyName:f,value:h,isArray:c,isExpanded:m,onToggleExpand:()=>{r({...t,[f]:!m})},path:s}),m&&p&&E.jsx("div",{className:J(o.base,o.expandedValue,d&&o.expandedValueCompact),children:E.jsx(B1,{value:h,level:i+1,path:[...s,e.value],isArray:Array.isArray(h)})})]},f)})})};Fk.displayName="JsonObject";const Pk=S.memo(Fk),Ik=e=>{const t=e.value.reduce((r,o,i)=>(r[i]=o,r),{});return E.jsx(Pk,{...e,value:t,isArray:!0})};Ik.displayName="JsonArray";const CU=S.memo(Ik),Lk=e=>{const t=Qn();return E.jsx("div",{...e,className:J(t.base,t.bool,e.className),children:String(e.value)})};Lk.displayName="JsonBool";const EU=S.memo(Lk),Hk=e=>{const t=Qn();return E.jsx("div",{...e,className:J(t.base,t.number,e.className),children:e.value})};Hk.displayName="JsonNumber";const NU=S.memo(Hk),Uk=e=>{const t=Qn(),r=`"${e.value}"`;return E.jsx(jk,{content:r,children:E.jsx("div",{...e,className:J(t.base,t.string,t.value,e.className),children:r})})};Uk.displayName="JsonString";const zU=S.memo(Uk);zk.registerLanguage("json",vU);const RU=({value:e,className:t})=>{const r=Qn(),o=zk.highlight(JSON.stringify(e,null,2),{language:"json"}).value;return E.jsx("pre",{className:J(r.base,r.pre,t),dangerouslySetInnerHTML:{__html:o}})},AU=({value:e,className:t})=>{const r=Qn();return E.jsx("div",{className:J(r.base,r.baseText,t),children:String(e)})},DU=({type:e,className:t})=>{const r=Qn();return E.jsxs("div",{className:J(r.base,r.baseText,t),children:['type "',e,'" not supported']})},Vk=e=>{if(e.stringify)return E.jsx(RU,{value:e.value,className:e.className});if(e.value===null||e.value===void 0)return E.jsx(AU,{value:e.value,className:e.className});const t=typeof e.value;switch(t){case"boolean":return E.jsx(EU,{...e,value:e.value});case"number":return E.jsx(NU,{...e,value:e.value});case"string":return E.jsx(zU,{...e,value:e.value});case"object":return Array.isArray(e.value)?E.jsx(CU,{...e,value:e.value}):E.jsx(Pk,{...e,value:e.value});default:return E.jsx(DU,{type:t,className:e.className})}};Vk.displayName="Json";const B1=S.memo(Vk);var Xa=(e=>(e.Reset="\x1B[0m",e.Bold="\x1B[1m",e.BoldReset="\x1B[22m",e.Italic="\x1B[3m",e.ItalicReset="\x1B[23m",e.Underline="\x1B[4m",e.UnderlineReset="\x1B[24m",e.Strike="\x1B[9m",e.StrikeReset="\x1B[29m",e.ForegroundReset="\x1B[0m",e.BackgroundReset="\x1B[0m",e.ForegroundBlack="\x1B[30m",e.BackgroundBlack="\x1B[40m",e.ForegroundRed="\x1B[31m",e.BackgroundRed="\x1B[41m",e.ForegroundGreen="\x1B[32m",e.BackgroundGreen="\x1B[42m",e.ForegroundYellow="\x1B[33m",e.BackgroundYellow="\x1B[43m",e.ForegroundBlue="\x1B[34m",e.BackgroundBlue="\x1B[44m",e.ForegroundMagenta="\x1B[35m",e.BackgroundMagenta="\x1B[45m",e.ForegroundCyan="\x1B[36m",e.BackgroundCyan="\x1B[46m",e.ForegroundWhite="\x1B[37m",e.BackgroundWhite="\x1B[47m",e.ForegroundGray="\x1B[90m",e.ForegroundDefault="\x1B[39m",e.BackgroundDefault="\x1B[49m",e))(Xa||{}),jU={};class Af{constructor(t,r){Be(this,"name");Be(this,"level");Be(this,"_enabled");Be(this,"_levels",{error:100,warn:200,info:300,debug:400});Be(this,"_colors",{error:Xa.ForegroundRed,warn:Xa.ForegroundYellow,info:Xa.ForegroundCyan,debug:Xa.ForegroundMagenta});this.name=t;const o=typeof process>"u"?void 0:jU,i=(o==null?void 0:o.LOG)||(r==null?void 0:r.pattern)||"*";this._enabled=OU(i).test(t),this.level=MU(o==null?void 0:o.LOG_LEVEL)||(r==null?void 0:r.level)||"info"}error(...t){this.log("error",...t)}warn(...t){this.log("warn",...t)}info(...t){this.log("info",...t)}debug(...t){this.log("debug",...t)}log(t,...r){if(!this._enabled||this._levels[t]>this._levels[this.level])return;const o=[this._colors[t],Xa.Bold,`[${t.toUpperCase()}]`],i=[this.name,Xa.ForegroundReset,Xa.BoldReset];for(const s of r){let c=new String(s);typeof s=="object"&&(c=JSON.stringify(s,null,2));for(const d of c.split(`
`))console[t](o.join(""),i.join(""),d)}}child(t){return new Af(`${this.name}/${t}`,{level:this.level})}}function OU(e){let t="";const r=e.split("*");for(let o=0;o<r.length;o++)o>0&&(t+=".*"),t+=r[o];return new RegExp(t)}function MU(e){const t=e==null?void 0:e.toLowerCase();switch(t){case"error":case"warn":case"info":case"debug":return t;default:return}}const Do=new Af("@teams/devtools"),qU=Gt({detailsContainer:{display:"flex",flexDirection:"column",gap:F.spacingVerticalL,height:"100%",overflow:"auto"},tools:{display:"flex",alignItems:"center",gap:F.spacingHorizontalS},jsonContainer:{padding:F.spacingHorizontalS,flex:"1 1 auto",overflow:"auto",minHeight:0}}),FU=Do.child("ActivityDetails"),Wk=S.memo(({selected:e,view:t,setView:r})=>{const o=qU(),{dispatchToast:i}=Nf(),s=async()=>{try{await navigator.clipboard.writeText(JSON.stringify(e)),i(E.jsx(Ul,{children:E.jsx(Vl,{role:"status","aria-live":"polite",children:"Content copied to clipboard"})}),{position:"bottom",timeout:2e3})}catch(c){FU.error("Failed to copy:",c),i(E.jsx(Ul,{children:E.jsx(Vl,{role:"alert","aria-live":"assertive",children:"Failed to copy content"})}),{position:"bottom",timeout:3e3})}};return E.jsxs("div",{className:o.detailsContainer,children:[E.jsx(R6,{children:"Activity details"}),E.jsxs("div",{className:o.tools,children:[E.jsx(er,{content:"Copy to clipboard",relationship:"label",children:E.jsx(en,{"aria-label":"Copy to clipboard",icon:E.jsx(qH,{}),onClick:s,disabled:!e})}),E.jsx(ik,{info:E.jsxs(E.Fragment,{children:[E.jsx("p",{children:"Use this switch to toggle between Preview and JSON view of the activity payload."}),E.jsx("p",{children:"Preview shows a tree view of the activity, while JSON shows the raw JSON payload."})]}),children:E.jsx(C6,{checked:t==="json",onChange:c=>{r(c.target.checked?"json":"preview")},label:t==="json"?"JSON":"Preview","aria-label":"Toggle between Preview and JSON",disabled:!e})})]}),E.jsx("div",{className:o.jsonContainer,children:e?E.jsx(B1,{value:e.type==="activity.error"?e.error:e.body,stringify:t==="json"}):E.jsx("div",{children:"Select an activity from the activities list to view payload details."})})]})});Wk.displayName="ActivityDetails";const zw=e=>{let t;const r=new Set,o=(h,m)=>{const p=typeof h=="function"?h(t):h;if(!Object.is(p,t)){const w=t;t=m??(typeof p!="object"||p===null)?p:Object.assign({},t,p),r.forEach(v=>v(t,w))}},i=()=>t,d={setState:o,getState:i,getInitialState:()=>f,subscribe:h=>(r.add(h),()=>r.delete(h))},f=t=e(o,i,d);return d},PU=e=>e?zw(e):zw,IU=e=>e;function LU(e,t=IU){const r=Dd.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return Dd.useDebugValue(r),r}const HU=e=>{const t=PU(e),r=o=>LU(t,o);return Object.assign(r,t),r},Df=e=>HU,Rw={BASE_URL:"/devtools",DEV:!1,MODE:"production",PROD:!0,SSR:!1},bp=new Map,gd=e=>{const t=bp.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([r,o])=>[r,o.getState()])):{}},UU=(e,t,r)=>{if(e===void 0)return{type:"untracked",connection:t.connect(r)};const o=bp.get(r.name);if(o)return{type:"tracked",store:e,...o};const i={connection:t.connect(r),stores:{}};return bp.set(r.name,i),{type:"tracked",store:e,...i}},VU=(e,t={})=>(r,o,i)=>{const{enabled:s,anonymousActionType:c,store:d,...f}=t;let h;try{h=(s??(Rw?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!h)return e(r,o,i);const{connection:m,...p}=UU(d,h,f);let w=!0;i.setState=(y,k,B)=>{const _=r(y,k);if(!w)return _;const C=B===void 0?{type:c||"anonymous"}:typeof B=="string"?{type:B}:B;return d===void 0?(m==null||m.send(C,o()),_):(m==null||m.send({...C,type:`${d}/${C.type}`},{...gd(f.name),[d]:i.getState()}),_)};const v=(...y)=>{const k=w;w=!1,r(...y),w=k},x=e(i.setState,o,i);if(p.type==="untracked"?m==null||m.init(x):(p.stores[p.store]=i,m==null||m.init(Object.fromEntries(Object.entries(p.stores).map(([y,k])=>[y,y===p.store?x:k.getState()])))),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let y=!1;const k=i.dispatch;i.dispatch=(...B)=>{(Rw?"production":void 0)!=="production"&&B[0].type==="__setState"&&!y&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),y=!0),k(...B)}}return m.subscribe(y=>{var k;switch(y.type){case"ACTION":if(typeof y.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return Nm(y.payload,B=>{if(B.type==="__setState"){if(d===void 0){v(B.state);return}Object.keys(B.state).length!==1&&console.error(`
                    [zustand devtools middleware] Unsupported __setState action format.
                    When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
                    and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
                    `);const _=B.state[d];if(_==null)return;JSON.stringify(i.getState())!==JSON.stringify(_)&&v(_);return}i.dispatchFromDevtools&&typeof i.dispatch=="function"&&i.dispatch(B)});case"DISPATCH":switch(y.payload.type){case"RESET":return v(x),d===void 0?m==null?void 0:m.init(i.getState()):m==null?void 0:m.init(gd(f.name));case"COMMIT":if(d===void 0){m==null||m.init(i.getState());return}return m==null?void 0:m.init(gd(f.name));case"ROLLBACK":return Nm(y.state,B=>{if(d===void 0){v(B),m==null||m.init(i.getState());return}v(B[d]),m==null||m.init(gd(f.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return Nm(y.state,B=>{if(d===void 0){v(B);return}JSON.stringify(i.getState())!==JSON.stringify(B[d])&&v(B[d])});case"IMPORT_STATE":{const{nextLiftedState:B}=y.payload,_=(k=B.computedStates.slice(-1)[0])==null?void 0:k.state;if(!_)return;v(d===void 0?_:_[d]),m==null||m.send(null,B);return}case"PAUSE_RECORDING":return w=!w}return}}),x},jf=VU,Nm=(e,t)=>{let r;try{r=JSON.parse(e)}catch(o){console.error("[zustand devtools middleware] Could not parse the received json",o)}r!==void 0&&t(r)},Of=Df()(jf((e,t)=>({list:[],byId:{},put:r=>e(o=>{const i=o.list.findIndex(d=>d.id===r.id),s=[...o.list],c={...o.byId};return i===-1?s.push(r):s[i]={...o.list[i],type:r.type,body:r.body,error:r.type==="activity.error"?r.error:void 0},c[r.id]=r,{list:s,byId:c}}),findByMessageId:r=>t().list.find(i=>{var s;return((s=i.body)==null?void 0:s.id)===r})}))),WU=Gt({flexContainer:{display:"flex",height:"100%",width:"100%",gap:"1rem",overflow:"hidden","@media (max-width: 62.5rem)":{flexDirection:"column",padding:"0.5rem",gap:"0.5rem"}},activitiesContainer:{display:"flex",width:"100%",height:"100%",padding:"1rem",overflow:"hidden","@media (max-width: 62.5rem)":{width:"100%",height:"calc(100% - 20rem)",padding:"0.5rem"}},activityDetailsContainer:{width:"30rem",minWidth:"27rem",height:"100%",padding:"1rem",boxShadow:F.shadow16,"@media (max-width: 62.5rem)":{width:"100%",height:"20rem",padding:"0.5rem"}}}),Gk=()=>{const e=WU(),{list:t}=Of(),[r,o]=S.useState(),[i,s]=S.useState("preview"),[c,d]=fH(),f=S.useMemo(()=>t.slice().reverse(),[t]),h=p=>{const w=new URLSearchParams(c);p===""?(w.delete("path"),w.delete("body.id")):(w.delete("body.id"),c.get("path")===p?w.delete("path"):w.set("path",p)),d(w)},m=S.useCallback(p=>{o(p)},[]);return E.jsxs("div",{className:e.flexContainer,children:[E.jsx("div",{className:e.activitiesContainer,children:E.jsx(Nk,{activities:f,selected:r,handleRowSelect:m,params:c,handleTypeFilter:h})}),E.jsx("div",{className:e.activityDetailsContainer,children:E.jsx(Wk,{selected:r,view:i,setView:s})})]})};Gk.displayName="ActivitiesScreen";const GU=S.memo(Gk);function $k(e,t){return function(){return e.apply(t,arguments)}}const{toString:$U}=Object.prototype,{getPrototypeOf:_1}=Object,{iterator:Mf,toStringTag:Xk}=Symbol,qf=(e=>t=>{const r=$U.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),mo=e=>(e=e.toLowerCase(),t=>qf(t)===e),Ff=e=>t=>typeof t===e,{isArray:as}=Array,Wl=Ff("undefined");function Pu(e){return e!==null&&!Wl(e)&&e.constructor!==null&&!Wl(e.constructor)&&dn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kk=mo("ArrayBuffer");function XU(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Kk(e.buffer),t}const KU=Ff("string"),dn=Ff("function"),Yk=Ff("number"),Iu=e=>e!==null&&typeof e=="object",YU=e=>e===!0||e===!1,Nd=e=>{if(qf(e)!=="object")return!1;const t=_1(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Xk in e)&&!(Mf in e)},ZU=e=>{if(!Iu(e)||Pu(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},QU=mo("Date"),JU=mo("File"),eV=mo("Blob"),tV=mo("FileList"),rV=e=>Iu(e)&&dn(e.pipe),nV=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||dn(e.append)&&((t=qf(e))==="formdata"||t==="object"&&dn(e.toString)&&e.toString()==="[object FormData]"))},oV=mo("URLSearchParams"),[aV,iV,lV,sV]=["ReadableStream","Request","Response","Headers"].map(mo),uV=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lu(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),as(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{if(Pu(e))return;const s=r?Object.getOwnPropertyNames(e):Object.keys(e),c=s.length;let d;for(o=0;o<c;o++)d=s[o],t.call(null,e[d],d,e)}}function Zk(e,t){if(Pu(e))return null;t=t.toLowerCase();const r=Object.keys(e);let o=r.length,i;for(;o-- >0;)if(i=r[o],t===i.toLowerCase())return i;return null}const Ni=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Qk=e=>!Wl(e)&&e!==Ni;function vp(){const{caseless:e,skipUndefined:t}=Qk(this)&&this||{},r={},o=(i,s)=>{const c=e&&Zk(r,s)||s;Nd(r[c])&&Nd(i)?r[c]=vp(r[c],i):Nd(i)?r[c]=vp({},i):as(i)?r[c]=i.slice():(!t||!Wl(i))&&(r[c]=i)};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&Lu(arguments[i],o);return r}const cV=(e,t,r,{allOwnKeys:o}={})=>(Lu(t,(i,s)=>{r&&dn(i)?e[s]=$k(i,r):e[s]=i},{allOwnKeys:o}),e),dV=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fV=(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},hV=(e,t,r,o)=>{let i,s,c;const d={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)c=i[s],(!o||o(c,e,t))&&!d[c]&&(t[c]=e[c],d[c]=!0);e=r!==!1&&_1(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},mV=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const o=e.indexOf(t,r);return o!==-1&&o===r},gV=e=>{if(!e)return null;if(as(e))return e;let t=e.length;if(!Yk(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},pV=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_1(Uint8Array)),bV=(e,t)=>{const o=(e&&e[Mf]).call(e);let i;for(;(i=o.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},vV=(e,t)=>{let r;const o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},yV=mo("HTMLFormElement"),xV=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,i){return o.toUpperCase()+i}),Aw=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),wV=mo("RegExp"),Jk=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),o={};Lu(r,(i,s)=>{let c;(c=t(i,s,e))!==!1&&(o[s]=c||i)}),Object.defineProperties(e,o)},SV=e=>{Jk(e,(t,r)=>{if(dn(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=e[r];if(dn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},kV=(e,t)=>{const r={},o=i=>{i.forEach(s=>{r[s]=!0})};return as(e)?o(e):o(String(e).split(t)),r},BV=()=>{},_V=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function TV(e){return!!(e&&dn(e.append)&&e[Xk]==="FormData"&&e[Mf])}const CV=e=>{const t=new Array(10),r=(o,i)=>{if(Iu(o)){if(t.indexOf(o)>=0)return;if(Pu(o))return o;if(!("toJSON"in o)){t[i]=o;const s=as(o)?[]:{};return Lu(o,(c,d)=>{const f=r(c,i+1);!Wl(f)&&(s[d]=f)}),t[i]=void 0,s}}return o};return r(e,0)},EV=mo("AsyncFunction"),NV=e=>e&&(Iu(e)||dn(e))&&dn(e.then)&&dn(e.catch),e4=((e,t)=>e?setImmediate:t?((r,o)=>(Ni.addEventListener("message",({source:i,data:s})=>{i===Ni&&s===r&&o.length&&o.shift()()},!1),i=>{o.push(i),Ni.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",dn(Ni.postMessage)),zV=typeof queueMicrotask<"u"?queueMicrotask.bind(Ni):typeof process<"u"&&process.nextTick||e4,RV=e=>e!=null&&dn(e[Mf]),te={isArray:as,isArrayBuffer:Kk,isBuffer:Pu,isFormData:nV,isArrayBufferView:XU,isString:KU,isNumber:Yk,isBoolean:YU,isObject:Iu,isPlainObject:Nd,isEmptyObject:ZU,isReadableStream:aV,isRequest:iV,isResponse:lV,isHeaders:sV,isUndefined:Wl,isDate:QU,isFile:JU,isBlob:eV,isRegExp:wV,isFunction:dn,isStream:rV,isURLSearchParams:oV,isTypedArray:pV,isFileList:tV,forEach:Lu,merge:vp,extend:cV,trim:uV,stripBOM:dV,inherits:fV,toFlatObject:hV,kindOf:qf,kindOfTest:mo,endsWith:mV,toArray:gV,forEachEntry:bV,matchAll:vV,isHTMLForm:yV,hasOwnProperty:Aw,hasOwnProp:Aw,reduceDescriptors:Jk,freezeMethods:SV,toObjectSet:kV,toCamelCase:xV,noop:BV,toFiniteNumber:_V,findKey:Zk,global:Ni,isContextDefined:Qk,isSpecCompliantForm:TV,toJSONObject:CV,isAsyncFn:EV,isThenable:NV,setImmediate:e4,asap:zV,isIterable:RV};function Ye(e,t,r,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}te.inherits(Ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:te.toJSONObject(this.config),code:this.code,status:this.status}}});const t4=Ye.prototype,r4={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{r4[e]={value:e}});Object.defineProperties(Ye,r4);Object.defineProperty(t4,"isAxiosError",{value:!0});Ye.from=(e,t,r,o,i,s)=>{const c=Object.create(t4);te.toFlatObject(e,c,function(m){return m!==Error.prototype},h=>h!=="isAxiosError");const d=e&&e.message?e.message:"Error",f=t==null&&e?e.code:t;return Ye.call(c,d,f,r,o,i),e&&c.cause==null&&Object.defineProperty(c,"cause",{value:e,configurable:!0}),c.name=e&&e.name||"Error",s&&Object.assign(c,s),c};const AV=null;function yp(e){return te.isPlainObject(e)||te.isArray(e)}function n4(e){return te.endsWith(e,"[]")?e.slice(0,-2):e}function Dw(e,t,r){return e?e.concat(t).map(function(i,s){return i=n4(i),!r&&s?"["+i+"]":i}).join(r?".":""):t}function DV(e){return te.isArray(e)&&!e.some(yp)}const jV=te.toFlatObject(te,{},null,function(t){return/^is[A-Z]/.test(t)});function Pf(e,t,r){if(!te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=te.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,k){return!te.isUndefined(k[y])});const o=r.metaTokens,i=r.visitor||m,s=r.dots,c=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&te.isSpecCompliantForm(t);if(!te.isFunction(i))throw new TypeError("visitor must be a function");function h(x){if(x===null)return"";if(te.isDate(x))return x.toISOString();if(te.isBoolean(x))return x.toString();if(!f&&te.isBlob(x))throw new Ye("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(x)||te.isTypedArray(x)?f&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function m(x,y,k){let B=x;if(x&&!k&&typeof x=="object"){if(te.endsWith(y,"{}"))y=o?y:y.slice(0,-2),x=JSON.stringify(x);else if(te.isArray(x)&&DV(x)||(te.isFileList(x)||te.endsWith(y,"[]"))&&(B=te.toArray(x)))return y=n4(y),B.forEach(function(C,N){!(te.isUndefined(C)||C===null)&&t.append(c===!0?Dw([y],N,s):c===null?y:y+"[]",h(C))}),!1}return yp(x)?!0:(t.append(Dw(k,y,s),h(x)),!1)}const p=[],w=Object.assign(jV,{defaultVisitor:m,convertValue:h,isVisitable:yp});function v(x,y){if(!te.isUndefined(x)){if(p.indexOf(x)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(x),te.forEach(x,function(B,_){(!(te.isUndefined(B)||B===null)&&i.call(t,B,te.isString(_)?_.trim():_,y,w))===!0&&v(B,y?y.concat(_):[_])}),p.pop()}}if(!te.isObject(e))throw new TypeError("data must be an object");return v(e),t}function jw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function T1(e,t){this._pairs=[],e&&Pf(e,this,t)}const o4=T1.prototype;o4.append=function(t,r){this._pairs.push([t,r])};o4.toString=function(t){const r=t?function(o){return t.call(this,o,jw)}:jw;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function OV(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function a4(e,t,r){if(!t)return e;const o=r&&r.encode||OV;te.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(i?s=i(t,r):s=te.isURLSearchParams(t)?t.toString():new T1(t,r).toString(o),s){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Ow{constructor(){this.handlers=[]}use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){te.forEach(this.handlers,function(o){o!==null&&t(o)})}}const i4={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},MV=typeof URLSearchParams<"u"?URLSearchParams:T1,qV=typeof FormData<"u"?FormData:null,FV=typeof Blob<"u"?Blob:null,PV={isBrowser:!0,classes:{URLSearchParams:MV,FormData:qV,Blob:FV},protocols:["http","https","file","blob","url","data"]},C1=typeof window<"u"&&typeof document<"u",xp=typeof navigator=="object"&&navigator||void 0,IV=C1&&(!xp||["ReactNative","NativeScript","NS"].indexOf(xp.product)<0),LV=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",HV=C1&&window.location.href||"http://localhost",UV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:C1,hasStandardBrowserEnv:IV,hasStandardBrowserWebWorkerEnv:LV,navigator:xp,origin:HV},Symbol.toStringTag,{value:"Module"})),Yr={...UV,...PV};function VV(e,t){return Pf(e,new Yr.classes.URLSearchParams,{visitor:function(r,o,i,s){return Yr.isNode&&te.isBuffer(r)?(this.append(o,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function WV(e){return te.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GV(e){const t={},r=Object.keys(e);let o;const i=r.length;let s;for(o=0;o<i;o++)s=r[o],t[s]=e[s];return t}function l4(e){function t(r,o,i,s){let c=r[s++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),f=s>=r.length;return c=!c&&te.isArray(i)?i.length:c,f?(te.hasOwnProp(i,c)?i[c]=[i[c],o]:i[c]=o,!d):((!i[c]||!te.isObject(i[c]))&&(i[c]=[]),t(r,o,i[c],s)&&te.isArray(i[c])&&(i[c]=GV(i[c])),!d)}if(te.isFormData(e)&&te.isFunction(e.entries)){const r={};return te.forEachEntry(e,(o,i)=>{t(WV(o),i,r,0)}),r}return null}function $V(e,t,r){if(te.isString(e))try{return(t||JSON.parse)(e),te.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const Hu={transitional:i4,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const o=r.getContentType()||"",i=o.indexOf("application/json")>-1,s=te.isObject(t);if(s&&te.isHTMLForm(t)&&(t=new FormData(t)),te.isFormData(t))return i?JSON.stringify(l4(t)):t;if(te.isArrayBuffer(t)||te.isBuffer(t)||te.isStream(t)||te.isFile(t)||te.isBlob(t)||te.isReadableStream(t))return t;if(te.isArrayBufferView(t))return t.buffer;if(te.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return VV(t,this.formSerializer).toString();if((d=te.isFileList(t))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Pf(d?{"files[]":t}:t,f&&new f,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),$V(t)):t}],transformResponse:[function(t){const r=this.transitional||Hu.transitional,o=r&&r.forcedJSONParsing,i=this.responseType==="json";if(te.isResponse(t)||te.isReadableStream(t))return t;if(t&&te.isString(t)&&(o&&!this.responseType||i)){const c=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(d){if(c)throw d.name==="SyntaxError"?Ye.from(d,Ye.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yr.classes.FormData,Blob:Yr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch"],e=>{Hu.headers[e]={}});const XV=te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),KV=e=>{const t={};let r,o,i;return e&&e.split(`
`).forEach(function(c){i=c.indexOf(":"),r=c.substring(0,i).trim().toLowerCase(),o=c.substring(i+1).trim(),!(!r||t[r]&&XV[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},Mw=Symbol("internals");function lu(e){return e&&String(e).trim().toLowerCase()}function zd(e){return e===!1||e==null?e:te.isArray(e)?e.map(zd):String(e)}function YV(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(e);)t[o[1]]=o[2];return t}const ZV=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function zm(e,t,r,o,i){if(te.isFunction(o))return o.call(this,t,r);if(i&&(t=r),!!te.isString(t)){if(te.isString(o))return t.indexOf(o)!==-1;if(te.isRegExp(o))return o.test(t)}}function QV(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function JV(e,t){const r=te.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+r,{value:function(i,s,c){return this[o].call(this,t,i,s,c)},configurable:!0})})}let fn=class{constructor(t){t&&this.set(t)}set(t,r,o){const i=this;function s(d,f,h){const m=lu(f);if(!m)throw new Error("header name must be a non-empty string");const p=te.findKey(i,m);(!p||i[p]===void 0||h===!0||h===void 0&&i[p]!==!1)&&(i[p||f]=zd(d))}const c=(d,f)=>te.forEach(d,(h,m)=>s(h,m,f));if(te.isPlainObject(t)||t instanceof this.constructor)c(t,r);else if(te.isString(t)&&(t=t.trim())&&!ZV(t))c(KV(t),r);else if(te.isObject(t)&&te.isIterable(t)){let d={},f,h;for(const m of t){if(!te.isArray(m))throw TypeError("Object iterator must return a key-value pair");d[h=m[0]]=(f=d[h])?te.isArray(f)?[...f,m[1]]:[f,m[1]]:m[1]}c(d,r)}else t!=null&&s(r,t,o);return this}get(t,r){if(t=lu(t),t){const o=te.findKey(this,t);if(o){const i=this[o];if(!r)return i;if(r===!0)return YV(i);if(te.isFunction(r))return r.call(this,i,o);if(te.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=lu(t),t){const o=te.findKey(this,t);return!!(o&&this[o]!==void 0&&(!r||zm(this,this[o],o,r)))}return!1}delete(t,r){const o=this;let i=!1;function s(c){if(c=lu(c),c){const d=te.findKey(o,c);d&&(!r||zm(o,o[d],d,r))&&(delete o[d],i=!0)}}return te.isArray(t)?t.forEach(s):s(t),i}clear(t){const r=Object.keys(this);let o=r.length,i=!1;for(;o--;){const s=r[o];(!t||zm(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const r=this,o={};return te.forEach(this,(i,s)=>{const c=te.findKey(o,s);if(c){r[c]=zd(i),delete r[s];return}const d=t?QV(s):String(s).trim();d!==s&&delete r[s],r[d]=zd(i),o[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return te.forEach(this,(o,i)=>{o!=null&&o!==!1&&(r[i]=t&&te.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const o=new this(t);return r.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[Mw]=this[Mw]={accessors:{}}).accessors,i=this.prototype;function s(c){const d=lu(c);o[d]||(JV(i,c),o[d]=!0)}return te.isArray(t)?t.forEach(s):s(t),this}};fn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);te.reduceDescriptors(fn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}});te.freezeMethods(fn);function Rm(e,t){const r=this||Hu,o=t||r,i=fn.from(o.headers);let s=o.data;return te.forEach(e,function(d){s=d.call(r,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function s4(e){return!!(e&&e.__CANCEL__)}function is(e,t,r){Ye.call(this,e??"canceled",Ye.ERR_CANCELED,t,r),this.name="CanceledError"}te.inherits(is,Ye,{__CANCEL__:!0});function u4(e,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(new Ye("Request failed with status code "+r.status,[Ye.ERR_BAD_REQUEST,Ye.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function eW(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tW(e,t){e=e||10;const r=new Array(e),o=new Array(e);let i=0,s=0,c;return t=t!==void 0?t:1e3,function(f){const h=Date.now(),m=o[s];c||(c=h),r[i]=f,o[i]=h;let p=s,w=0;for(;p!==i;)w+=r[p++],p=p%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),h-c<t)return;const v=m&&h-m;return v?Math.round(w*1e3/v):void 0}}function rW(e,t){let r=0,o=1e3/t,i,s;const c=(h,m=Date.now())=>{r=m,i=null,s&&(clearTimeout(s),s=null),e(...h)};return[(...h)=>{const m=Date.now(),p=m-r;p>=o?c(h,m):(i=h,s||(s=setTimeout(()=>{s=null,c(i)},o-p)))},()=>i&&c(i)]}const Gd=(e,t,r=3)=>{let o=0;const i=tW(50,250);return rW(s=>{const c=s.loaded,d=s.lengthComputable?s.total:void 0,f=c-o,h=i(f),m=c<=d;o=c;const p={loaded:c,total:d,progress:d?c/d:void 0,bytes:f,rate:h||void 0,estimated:h&&d&&m?(d-c)/h:void 0,event:s,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(p)},r)},qw=(e,t)=>{const r=e!=null;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},Fw=e=>(...t)=>te.asap(()=>e(...t)),nW=Yr.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Yr.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Yr.origin),Yr.navigator&&/(msie|trident)/i.test(Yr.navigator.userAgent)):()=>!0,oW=Yr.hasStandardBrowserEnv?{write(e,t,r,o,i,s){const c=[e+"="+encodeURIComponent(t)];te.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),te.isString(o)&&c.push("path="+o),te.isString(i)&&c.push("domain="+i),s===!0&&c.push("secure"),document.cookie=c.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function aW(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function iW(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function c4(e,t,r){let o=!aW(t);return e&&(o||r==!1)?iW(e,t):t}const Pw=e=>e instanceof fn?{...e}:e;function Oi(e,t){t=t||{};const r={};function o(h,m,p,w){return te.isPlainObject(h)&&te.isPlainObject(m)?te.merge.call({caseless:w},h,m):te.isPlainObject(m)?te.merge({},m):te.isArray(m)?m.slice():m}function i(h,m,p,w){if(te.isUndefined(m)){if(!te.isUndefined(h))return o(void 0,h,p,w)}else return o(h,m,p,w)}function s(h,m){if(!te.isUndefined(m))return o(void 0,m)}function c(h,m){if(te.isUndefined(m)){if(!te.isUndefined(h))return o(void 0,h)}else return o(void 0,m)}function d(h,m,p){if(p in t)return o(h,m);if(p in e)return o(void 0,h)}const f={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:d,headers:(h,m,p)=>i(Pw(h),Pw(m),p,!0)};return te.forEach(Object.keys({...e,...t}),function(m){const p=f[m]||i,w=p(e[m],t[m],m);te.isUndefined(w)&&p!==d||(r[m]=w)}),r}const d4=e=>{const t=Oi({},e);let{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:c,auth:d}=t;if(t.headers=c=fn.from(c),t.url=a4(c4(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),d&&c.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),te.isFormData(r)){if(Yr.hasStandardBrowserEnv||Yr.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(te.isFunction(r.getHeaders)){const f=r.getHeaders(),h=["content-type","content-length"];Object.entries(f).forEach(([m,p])=>{h.includes(m.toLowerCase())&&c.set(m,p)})}}if(Yr.hasStandardBrowserEnv&&(o&&te.isFunction(o)&&(o=o(t)),o||o!==!1&&nW(t.url))){const f=i&&s&&oW.read(s);f&&c.set(i,f)}return t},lW=typeof XMLHttpRequest<"u",sW=lW&&function(e){return new Promise(function(r,o){const i=d4(e);let s=i.data;const c=fn.from(i.headers).normalize();let{responseType:d,onUploadProgress:f,onDownloadProgress:h}=i,m,p,w,v,x;function y(){v&&v(),x&&x(),i.cancelToken&&i.cancelToken.unsubscribe(m),i.signal&&i.signal.removeEventListener("abort",m)}let k=new XMLHttpRequest;k.open(i.method.toUpperCase(),i.url,!0),k.timeout=i.timeout;function B(){if(!k)return;const C=fn.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),R={data:!d||d==="text"||d==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:C,config:e,request:k};u4(function(D){r(D),y()},function(D){o(D),y()},R),k=null}"onloadend"in k?k.onloadend=B:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(B)},k.onabort=function(){k&&(o(new Ye("Request aborted",Ye.ECONNABORTED,e,k)),k=null)},k.onerror=function(N){const R=N&&N.message?N.message:"Network Error",j=new Ye(R,Ye.ERR_NETWORK,e,k);j.event=N||null,o(j),k=null},k.ontimeout=function(){let N=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const R=i.transitional||i4;i.timeoutErrorMessage&&(N=i.timeoutErrorMessage),o(new Ye(N,R.clarifyTimeoutError?Ye.ETIMEDOUT:Ye.ECONNABORTED,e,k)),k=null},s===void 0&&c.setContentType(null),"setRequestHeader"in k&&te.forEach(c.toJSON(),function(N,R){k.setRequestHeader(R,N)}),te.isUndefined(i.withCredentials)||(k.withCredentials=!!i.withCredentials),d&&d!=="json"&&(k.responseType=i.responseType),h&&([w,x]=Gd(h,!0),k.addEventListener("progress",w)),f&&k.upload&&([p,v]=Gd(f),k.upload.addEventListener("progress",p),k.upload.addEventListener("loadend",v)),(i.cancelToken||i.signal)&&(m=C=>{k&&(o(!C||C.type?new is(null,e,k):C),k.abort(),k=null)},i.cancelToken&&i.cancelToken.subscribe(m),i.signal&&(i.signal.aborted?m():i.signal.addEventListener("abort",m)));const _=eW(i.url);if(_&&Yr.protocols.indexOf(_)===-1){o(new Ye("Unsupported protocol "+_+":",Ye.ERR_BAD_REQUEST,e));return}k.send(s||null)})},uW=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let o=new AbortController,i;const s=function(h){if(!i){i=!0,d();const m=h instanceof Error?h:this.reason;o.abort(m instanceof Ye?m:new is(m instanceof Error?m.message:m))}};let c=t&&setTimeout(()=>{c=null,s(new Ye(`timeout ${t} of ms exceeded`,Ye.ETIMEDOUT))},t);const d=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(h=>{h.unsubscribe?h.unsubscribe(s):h.removeEventListener("abort",s)}),e=null)};e.forEach(h=>h.addEventListener("abort",s));const{signal:f}=o;return f.unsubscribe=()=>te.asap(d),f}},cW=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let o=0,i;for(;o<r;)i=o+t,yield e.slice(o,i),o=i},dW=async function*(e,t){for await(const r of fW(e))yield*cW(r,t)},fW=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:o}=await t.read();if(r)break;yield o}}finally{await t.cancel()}},Iw=(e,t,r,o)=>{const i=dW(e,t);let s=0,c,d=f=>{c||(c=!0,o&&o(f))};return new ReadableStream({async pull(f){try{const{done:h,value:m}=await i.next();if(h){d(),f.close();return}let p=m.byteLength;if(r){let w=s+=p;r(w)}f.enqueue(new Uint8Array(m))}catch(h){throw d(h),h}},cancel(f){return d(f),i.return()}},{highWaterMark:2})},Lw=64*1024,{isFunction:pd}=te,f4=(({fetch:e,Request:t,Response:r})=>({fetch:e,Request:t,Response:r}))(te.global),{ReadableStream:Hw,TextEncoder:Uw}=te.global,Vw=(e,...t)=>{try{return!!e(...t)}catch{return!1}},hW=e=>{const{fetch:t,Request:r,Response:o}=Object.assign({},f4,e),i=pd(t),s=pd(r),c=pd(o);if(!i)return!1;const d=i&&pd(Hw),f=i&&(typeof Uw=="function"?(x=>y=>x.encode(y))(new Uw):async x=>new Uint8Array(await new r(x).arrayBuffer())),h=s&&d&&Vw(()=>{let x=!1;const y=new r(Yr.origin,{body:new Hw,method:"POST",get duplex(){return x=!0,"half"}}).headers.has("Content-Type");return x&&!y}),m=c&&d&&Vw(()=>te.isReadableStream(new o("").body)),p={stream:m&&(x=>x.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!p[x]&&(p[x]=(y,k)=>{let B=y&&y[x];if(B)return B.call(y);throw new Ye(`Response type '${x}' is not supported`,Ye.ERR_NOT_SUPPORT,k)})});const w=async x=>{if(x==null)return 0;if(te.isBlob(x))return x.size;if(te.isSpecCompliantForm(x))return(await new r(Yr.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(te.isArrayBufferView(x)||te.isArrayBuffer(x))return x.byteLength;if(te.isURLSearchParams(x)&&(x=x+""),te.isString(x))return(await f(x)).byteLength},v=async(x,y)=>{const k=te.toFiniteNumber(x.getContentLength());return k??w(y)};return async x=>{let{url:y,method:k,data:B,signal:_,cancelToken:C,timeout:N,onDownloadProgress:R,onUploadProgress:j,responseType:D,headers:M,withCredentials:I="same-origin",fetchOptions:G}=d4(x);D=D?(D+"").toLowerCase():"text";let X=uW([_,C&&C.toAbortSignal()],N),re=null;const ue=X&&X.unsubscribe&&(()=>{X.unsubscribe()});let ne;try{if(j&&h&&k!=="get"&&k!=="head"&&(ne=await v(M,B))!==0){let se=new r(y,{method:"POST",body:B,duplex:"half"}),A;if(te.isFormData(B)&&(A=se.headers.get("content-type"))&&M.setContentType(A),se.body){const[U,ae]=qw(ne,Gd(Fw(j)));B=Iw(se.body,Lw,U,ae)}}te.isString(I)||(I=I?"include":"omit");const fe=s&&"credentials"in r.prototype,O={...G,signal:X,method:k.toUpperCase(),headers:M.normalize().toJSON(),body:B,duplex:"half",credentials:fe?I:void 0};re=s&&new r(y,O);let W=await(s?t(re,G):t(y,O));const L=m&&(D==="stream"||D==="response");if(m&&(R||L&&ue)){const se={};["status","statusText","headers"].forEach(me=>{se[me]=W[me]});const A=te.toFiniteNumber(W.headers.get("content-length")),[U,ae]=R&&qw(A,Gd(Fw(R),!0))||[];W=new o(Iw(W.body,Lw,U,()=>{ae&&ae(),ue&&ue()}),se)}D=D||"text";let Z=await p[te.findKey(p,D)||"text"](W,x);return!L&&ue&&ue(),await new Promise((se,A)=>{u4(se,A,{data:Z,headers:fn.from(W.headers),status:W.status,statusText:W.statusText,config:x,request:re})})}catch(fe){throw ue&&ue(),fe&&fe.name==="TypeError"&&/Load failed|fetch/i.test(fe.message)?Object.assign(new Ye("Network Error",Ye.ERR_NETWORK,x,re),{cause:fe.cause||fe}):Ye.from(fe,fe&&fe.code,x,re)}}},mW=new Map,h4=e=>{let t=te.merge.call({skipUndefined:!0},f4,e?e.env:null);const{fetch:r,Request:o,Response:i}=t,s=[o,i,r];let c=s.length,d=c,f,h,m=mW;for(;d--;)f=s[d],h=m.get(f),h===void 0&&m.set(f,h=d?new Map:hW(t)),m=h;return h};h4();const wp={http:AV,xhr:sW,fetch:{get:h4}};te.forEach(wp,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ww=e=>`- ${e}`,gW=e=>te.isFunction(e)||e===null||e===!1,m4={getAdapter:(e,t)=>{e=te.isArray(e)?e:[e];const{length:r}=e;let o,i;const s={};for(let c=0;c<r;c++){o=e[c];let d;if(i=o,!gW(o)&&(i=wp[(d=String(o)).toLowerCase()],i===void 0))throw new Ye(`Unknown adapter '${d}'`);if(i&&(te.isFunction(i)||(i=i.get(t))))break;s[d||"#"+c]=i}if(!i){const c=Object.entries(s).map(([f,h])=>`adapter ${f} `+(h===!1?"is not supported by the environment":"is not available in the build"));let d=r?c.length>1?`since :
`+c.map(Ww).join(`
`):" "+Ww(c[0]):"as no adapter specified";throw new Ye("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return i},adapters:wp};function Am(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new is(null,e)}function Gw(e){return Am(e),e.headers=fn.from(e.headers),e.data=Rm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),m4.getAdapter(e.adapter||Hu.adapter,e)(e).then(function(o){return Am(e),o.data=Rm.call(e,e.transformResponse,o),o.headers=fn.from(o.headers),o},function(o){return s4(o)||(Am(e),o&&o.response&&(o.response.data=Rm.call(e,e.transformResponse,o.response),o.response.headers=fn.from(o.response.headers))),Promise.reject(o)})}const g4="1.12.0",If={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{If[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const $w={};If.transitional=function(t,r,o){function i(s,c){return"[Axios v"+g4+"] Transitional option '"+s+"'"+c+(o?". "+o:"")}return(s,c,d)=>{if(t===!1)throw new Ye(i(c," has been removed"+(r?" in "+r:"")),Ye.ERR_DEPRECATED);return r&&!$w[c]&&($w[c]=!0,console.warn(i(c," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,c,d):!0}};If.spelling=function(t){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function pW(e,t,r){if(typeof e!="object")throw new Ye("options must be an object",Ye.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const s=o[i],c=t[s];if(c){const d=e[s],f=d===void 0||c(d,s,e);if(f!==!0)throw new Ye("option "+s+" must be "+f,Ye.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ye("Unknown option "+s,Ye.ERR_BAD_OPTION)}}const Rd={assertOptions:pW,validators:If},Bo=Rd.validators;let Ri=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Ow,response:new Ow}}async request(t,r){try{return await this._request(t,r)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=`
`+s):o.stack=s}catch{}}throw o}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Oi(this.defaults,r);const{transitional:o,paramsSerializer:i,headers:s}=r;o!==void 0&&Rd.assertOptions(o,{silentJSONParsing:Bo.transitional(Bo.boolean),forcedJSONParsing:Bo.transitional(Bo.boolean),clarifyTimeoutError:Bo.transitional(Bo.boolean)},!1),i!=null&&(te.isFunction(i)?r.paramsSerializer={serialize:i}:Rd.assertOptions(i,{encode:Bo.function,serialize:Bo.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Rd.assertOptions(r,{baseUrl:Bo.spelling("baseURL"),withXsrfToken:Bo.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=s&&te.merge(s.common,s[r.method]);s&&te.forEach(["delete","get","head","post","put","patch","common"],x=>{delete s[x]}),r.headers=fn.concat(c,s);const d=[];let f=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(f=f&&y.synchronous,d.unshift(y.fulfilled,y.rejected))});const h=[];this.interceptors.response.forEach(function(y){h.push(y.fulfilled,y.rejected)});let m,p=0,w;if(!f){const x=[Gw.bind(this),void 0];for(x.unshift(...d),x.push(...h),w=x.length,m=Promise.resolve(r);p<w;)m=m.then(x[p++],x[p++]);return m}w=d.length;let v=r;for(p=0;p<w;){const x=d[p++],y=d[p++];try{v=x(v)}catch(k){y.call(this,k);break}}try{m=Gw.call(this,v)}catch(x){return Promise.reject(x)}for(p=0,w=h.length;p<w;)m=m.then(h[p++],h[p++]);return m}getUri(t){t=Oi(this.defaults,t);const r=c4(t.baseURL,t.url,t.allowAbsoluteUrls);return a4(r,t.params,t.paramsSerializer)}};te.forEach(["delete","get","head","options"],function(t){Ri.prototype[t]=function(r,o){return this.request(Oi(o||{},{method:t,url:r,data:(o||{}).data}))}});te.forEach(["post","put","patch"],function(t){function r(o){return function(s,c,d){return this.request(Oi(d||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:c}))}}Ri.prototype[t]=r(),Ri.prototype[t+"Form"]=r(!0)});let bW=class p4{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const o=this;this.promise.then(i=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](i);o._listeners=null}),this.promise.then=i=>{let s;const c=new Promise(d=>{o.subscribe(d),s=d}).then(i);return c.cancel=function(){o.unsubscribe(s)},c},t(function(s,c,d){o.reason||(o.reason=new is(s,c,d),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=o=>{t.abort(o)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new p4(function(i){t=i}),cancel:t}}};function vW(e){return function(r){return e.apply(null,r)}}function yW(e){return te.isObject(e)&&e.isAxiosError===!0}const Sp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sp).forEach(([e,t])=>{Sp[t]=e});function b4(e){const t=new Ri(e),r=$k(Ri.prototype.request,t);return te.extend(r,Ri.prototype,t,{allOwnKeys:!0}),te.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return b4(Oi(e,i))},r}const mr=b4(Hu);mr.Axios=Ri;mr.CanceledError=is;mr.CancelToken=bW;mr.isCancel=s4;mr.VERSION=g4;mr.toFormData=Pf;mr.AxiosError=Ye;mr.Cancel=mr.CanceledError;mr.all=function(t){return Promise.all(t)};mr.spread=vW;mr.isAxiosError=yW;mr.mergeConfig=Oi;mr.AxiosHeaders=fn;mr.formToJSON=e=>l4(te.isHTMLForm(e)?new FormData(e):e);mr.getAdapter=m4.getAdapter;mr.HttpStatusCode=Sp;mr.default=mr;const{Axios:cK,AxiosError:dK,CanceledError:fK,isCancel:hK,CancelToken:mK,VERSION:gK,all:pK,Cancel:bK,isAxiosError:vK,spread:yK,toFormData:xK,AxiosHeaders:wK,HttpStatusCode:SK,formToJSON:kK,getAdapter:BK,mergeConfig:_K}=mr;let cr=class v4{constructor(t={}){Be(this,"token");Be(this,"name");Be(this,"options");Be(this,"log");Be(this,"http");Be(this,"seq",0);Be(this,"interceptors");this.options=t,this.name=t.name||"http",this.token=t.token,this.log=t.logger||new Af(this.name),this.interceptors=new Map,this.http=mr.create({baseURL:t.baseUrl,timeout:t.timeout,headers:t.headers});for(const r of t.interceptors||[])this.use(r)}async get(t,r){return this.http.get(t,await this.withConfig(r))}async post(t,r,o){return this.http.post(t,r,await this.withConfig(o))}async put(t,r,o){return this.http.put(t,r,await this.withConfig(o))}async patch(t,r,o){return this.http.patch(t,r,await this.withConfig(o))}async delete(t,r){return this.http.delete(t,await this.withConfig(r))}async request(t){return this.http.request(await this.withConfig(t))}use(t){const r=++this.seq;let o,i;return t.request&&(o=this.http.interceptors.request.use(s=>t.request({config:s,log:this.log}),s=>t.error?t.error({error:s,log:this.log}):s)),t.response&&(i=this.http.interceptors.response.use(s=>t.response({res:s,log:this.log}),s=>t.error?t.error({error:s,log:this.log}):s)),this.interceptors.set(r,{requestId:o,responseId:i,interceptor:t}),r}eject(t){const r=this.interceptors.get(t);r&&(r.requestId&&this.http.interceptors.request.eject(r.requestId),r.responseId&&this.http.interceptors.response.eject(r.responseId),this.interceptors.delete(t))}clear(){for(const t of this.interceptors.keys())this.eject(t)}clone(t){return new v4({...this.options,...t,headers:{...this.options.headers,...t==null?void 0:t.headers},interceptors:[...Array.from(this.interceptors.values()).map(r=>r.interceptor)]})}async withConfig(t={}){let r=t.token||this.token;if(t.token&&delete t.token,this.options.headers){t.headers||(t.headers={});for(const o in this.options.headers)t.headers[o]=this.options.headers[o]}return r&&(t.headers||(t.headers={}),typeof r=="function"&&(r=await r(t)),r&&typeof r=="object"&&(r=r.toString()),t.headers.Authorization=`Bearer ${r}`),t}};var xW={};const wW={oauthUrl:"https://token.botframework.com"};function go(e){const t=typeof process>"u"?void 0:xW;return{oauthUrl:(e==null?void 0:e.oauthUrl)??(t==null?void 0:t.OAUTH_URL)??wW.oauthUrl}}var Dm,Xw;function ls(){return Xw||(Xw=1,Dm=TypeError),Dm}const SW={},kW=Object.freeze(Object.defineProperty({__proto__:null,default:SW},Symbol.toStringTag,{value:"Module"})),BW=x_(kW);var jm,Kw;function Lf(){if(Kw)return jm;Kw=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=i&&s&&typeof s.get=="function"?s.get:null,d=i&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,h=f?WeakMap.prototype.has:null,m=typeof WeakSet=="function"&&WeakSet.prototype,p=m?WeakSet.prototype.has:null,w=typeof WeakRef=="function"&&WeakRef.prototype,v=w?WeakRef.prototype.deref:null,x=Boolean.prototype.valueOf,y=Object.prototype.toString,k=Function.prototype.toString,B=String.prototype.match,_=String.prototype.slice,C=String.prototype.replace,N=String.prototype.toUpperCase,R=String.prototype.toLowerCase,j=RegExp.prototype.test,D=Array.prototype.concat,M=Array.prototype.join,I=Array.prototype.slice,G=Math.floor,X=typeof BigInt=="function"?BigInt.prototype.valueOf:null,re=Object.getOwnPropertySymbols,ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ne=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ne||!0)?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,W=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function($){return $.__proto__}:null);function L($,ee){if($===1/0||$===-1/0||$!==$||$&&$>-1e3&&$<1e3||j.call(/e/,ee))return ee;var et=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof $=="number"){var pt=$<0?-G(-$):G($);if(pt!==$){var ut=String(pt),He=_.call(ee,ut.length+1);return C.call(ut,et,"$&_")+"."+C.call(C.call(He,/([0-9]{3})/g,"$&_"),/_$/,"")}}return C.call(ee,et,"$&_")}var Z=BW,se=Z.custom,A=Pt(se)?se:null,U={__proto__:null,double:'"',single:"'"},ae={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};jm=function $(ee,et,pt,ut){var He=et||{};if(Nr(He,"quoteStyle")&&!Nr(U,He.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Nr(He,"maxStringLength")&&(typeof He.maxStringLength=="number"?He.maxStringLength<0&&He.maxStringLength!==1/0:He.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Wr=Nr(He,"customInspect")?He.customInspect:!0;if(typeof Wr!="boolean"&&Wr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Nr(He,"indent")&&He.indent!==null&&He.indent!=="	"&&!(parseInt(He.indent,10)===He.indent&&He.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Nr(He,"numericSeparator")&&typeof He.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var rr=He.numericSeparator;if(typeof ee>"u")return"undefined";if(ee===null)return"null";if(typeof ee=="boolean")return ee?"true":"false";if(typeof ee=="string")return bo(ee,He);if(typeof ee=="number"){if(ee===0)return 1/0/ee>0?"0":"-0";var q=String(ee);return rr?L(ee,q):q}if(typeof ee=="bigint"){var ie=String(ee)+"n";return rr?L(ee,ie):ie}var Se=typeof He.depth>"u"?5:He.depth;if(typeof pt>"u"&&(pt=0),pt>=Se&&Se>0&&typeof ee=="object")return Le(ee)?"[Array]":"[Object]";var qe=Fo(He,pt);if(typeof ut>"u")ut=[];else if(Zr(ut,ee)>=0)return"[Circular]";function tt(ro,jn,li){if(jn&&(ut=I.call(ut),ut.push(jn)),li){var zr={depth:He.depth};return Nr(He,"quoteStyle")&&(zr.quoteStyle=He.quoteStyle),$(ro,zr,pt+1,ut)}return $(ro,He,pt+1,ut)}if(typeof ee=="function"&&!Qe(ee)){var yt=An(ee),Ce=Qr(ee,tt);return"[Function"+(yt?": "+yt:" (anonymous)")+"]"+(Ce.length>0?" { "+M.call(Ce,", ")+" }":"")}if(Pt(ee)){var _e=ne?C.call(String(ee),/^(Symbol\(.*\))_[^)]*$/,"$1"):ue.call(ee);return typeof ee=="object"&&!ne?qo(_e):_e}if(to(ee)){for(var Oe="<"+R.call(String(ee.nodeName)),Ht=ee.attributes||[],kt=0;kt<Ht.length;kt++)Oe+=" "+Ht[kt].name+"="+me(Te(Ht[kt].value),"double",He);return Oe+=">",ee.childNodes&&ee.childNodes.length&&(Oe+="..."),Oe+="</"+R.call(String(ee.nodeName))+">",Oe}if(Le(ee)){if(ee.length===0)return"[]";var gn=Qr(ee,tt);return qe&&!us(gn)?"["+gr(gn,qe)+"]":"[ "+M.call(gn,", ")+" ]"}if(Ge(ee)){var vo=Qr(ee,tt);return!("cause"in Error.prototype)&&"cause"in ee&&!O.call(ee,"cause")?"{ ["+String(ee)+"] "+M.call(D.call("[cause]: "+tt(ee.cause),vo),", ")+" }":vo.length===0?"["+String(ee)+"]":"{ ["+String(ee)+"] "+M.call(vo,", ")+" }"}if(typeof ee=="object"&&Wr){if(A&&typeof ee[A]=="function"&&Z)return Z(ee,{depth:Se-pt});if(Wr!=="symbol"&&typeof ee.inspect=="function")return ee.inspect()}if(Mr(ee)){var Po=[];return o&&o.call(ee,function(ro,jn){Po.push(tt(jn,ee,!0)+" => "+tt(ro,ee))}),Hi("Map",r.call(ee),Po,qe)}if(Rt(ee)){var pn=[];return d&&d.call(ee,function(ro){pn.push(tt(ro,ee))}),Hi("Set",c.call(ee),pn,qe)}if(po(ee))return pa("WeakMap");if(Li(ee))return pa("WeakSet");if(eo(ee))return pa("WeakRef");if(dt(ee))return qo(tt(Number(ee)));if(Er(ee))return qo(tt(X.call(ee)));if($t(ee))return qo(x.call(ee));if(zt(ee))return qo(tt(String(ee)));if(typeof window<"u"&&ee===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ee===globalThis||typeof p2<"u"&&ee===p2)return"{ [object globalThis] }";if(!Ft(ee)&&!Qe(ee)){var Ut=Qr(ee,tt),Tr=W?W(ee)===Object.prototype:ee instanceof Object||ee.constructor===Object,Dn=ee instanceof Object?"":"null prototype",ba=!Tr&&fe&&Object(ee)===ee&&fe in ee?_.call(Or(ee),8,-1):Dn?"Object":"",Ui=Tr||typeof ee.constructor!="function"?"":ee.constructor.name?ee.constructor.name+" ":"",yo=Ui+(ba||Dn?"["+M.call(D.call([],ba||[],Dn||[]),": ")+"] ":"");return Ut.length===0?yo+"{}":qe?yo+"{"+gr(Ut,qe)+"}":yo+"{ "+M.call(Ut,", ")+" }"}return String(ee)};function me($,ee,et){var pt=et.quoteStyle||ee,ut=U[pt];return ut+$+ut}function Te($){return C.call(String($),/"/g,"&quot;")}function Ae($){return!fe||!(typeof $=="object"&&(fe in $||typeof $[fe]<"u"))}function Le($){return Or($)==="[object Array]"&&Ae($)}function Ft($){return Or($)==="[object Date]"&&Ae($)}function Qe($){return Or($)==="[object RegExp]"&&Ae($)}function Ge($){return Or($)==="[object Error]"&&Ae($)}function zt($){return Or($)==="[object String]"&&Ae($)}function dt($){return Or($)==="[object Number]"&&Ae($)}function $t($){return Or($)==="[object Boolean]"&&Ae($)}function Pt($){if(ne)return $&&typeof $=="object"&&$ instanceof Symbol;if(typeof $=="symbol")return!0;if(!$||typeof $!="object"||!ue)return!1;try{return ue.call($),!0}catch{}return!1}function Er($){if(!$||typeof $!="object"||!X)return!1;try{return X.call($),!0}catch{}return!1}var tr=Object.prototype.hasOwnProperty||function($){return $ in this};function Nr($,ee){return tr.call($,ee)}function Or($){return y.call($)}function An($){if($.name)return $.name;var ee=B.call(k.call($),/^function\s*([\w$]+)/);return ee?ee[1]:null}function Zr($,ee){if($.indexOf)return $.indexOf(ee);for(var et=0,pt=$.length;et<pt;et++)if($[et]===ee)return et;return-1}function Mr($){if(!r||!$||typeof $!="object")return!1;try{r.call($);try{c.call($)}catch{return!0}return $ instanceof Map}catch{}return!1}function po($){if(!h||!$||typeof $!="object")return!1;try{h.call($,h);try{p.call($,p)}catch{return!0}return $ instanceof WeakMap}catch{}return!1}function eo($){if(!v||!$||typeof $!="object")return!1;try{return v.call($),!0}catch{}return!1}function Rt($){if(!c||!$||typeof $!="object")return!1;try{c.call($);try{r.call($)}catch{return!0}return $ instanceof Set}catch{}return!1}function Li($){if(!p||!$||typeof $!="object")return!1;try{p.call($,p);try{h.call($,h)}catch{return!0}return $ instanceof WeakSet}catch{}return!1}function to($){return!$||typeof $!="object"?!1:typeof HTMLElement<"u"&&$ instanceof HTMLElement?!0:typeof $.nodeName=="string"&&typeof $.getAttribute=="function"}function bo($,ee){if($.length>ee.maxStringLength){var et=$.length-ee.maxStringLength,pt="... "+et+" more character"+(et>1?"s":"");return bo(_.call($,0,ee.maxStringLength),ee)+pt}var ut=ae[ee.quoteStyle||"single"];ut.lastIndex=0;var He=C.call(C.call($,ut,"\\$1"),/[\x00-\x1f]/g,Mo);return me(He,"single",ee)}function Mo($){var ee=$.charCodeAt(0),et={8:"b",9:"t",10:"n",12:"f",13:"r"}[ee];return et?"\\"+et:"\\x"+(ee<16?"0":"")+N.call(ee.toString(16))}function qo($){return"Object("+$+")"}function pa($){return $+" { ? }"}function Hi($,ee,et,pt){var ut=pt?gr(et,pt):M.call(et,", ");return $+" ("+ee+") {"+ut+"}"}function us($){for(var ee=0;ee<$.length;ee++)if(Zr($[ee],`
`)>=0)return!1;return!0}function Fo($,ee){var et;if($.indent==="	")et="	";else if(typeof $.indent=="number"&&$.indent>0)et=M.call(Array($.indent+1)," ");else return null;return{base:et,prev:M.call(Array(ee+1),et)}}function gr($,ee){if($.length===0)return"";var et=`
`+ee.prev+ee.base;return et+M.call($,","+et)+`
`+ee.prev}function Qr($,ee){var et=Le($),pt=[];if(et){pt.length=$.length;for(var ut=0;ut<$.length;ut++)pt[ut]=Nr($,ut)?ee($[ut],$):""}var He=typeof re=="function"?re($):[],Wr;if(ne){Wr={};for(var rr=0;rr<He.length;rr++)Wr["$"+He[rr]]=He[rr]}for(var q in $)Nr($,q)&&(et&&String(Number(q))===q&&q<$.length||ne&&Wr["$"+q]instanceof Symbol||(j.call(/[^\w$]/,q)?pt.push(ee(q,$)+": "+ee($[q],$)):pt.push(q+": "+ee($[q],$))));if(typeof re=="function")for(var ie=0;ie<He.length;ie++)O.call($,He[ie])&&pt.push("["+ee(He[ie])+"]: "+ee($[He[ie]],$));return pt}return jm}var Om,Yw;function _W(){if(Yw)return Om;Yw=1;var e=Lf(),t=ls(),r=function(d,f,h){for(var m=d,p;(p=m.next)!=null;m=p)if(p.key===f)return m.next=p.next,h||(p.next=d.next,d.next=p),p},o=function(d,f){if(d){var h=r(d,f);return h&&h.value}},i=function(d,f,h){var m=r(d,f);m?m.value=h:d.next={key:f,next:d.next,value:h}},s=function(d,f){return d?!!r(d,f):!1},c=function(d,f){if(d)return r(d,f,!0)};return Om=function(){var f,h={assert:function(m){if(!h.has(m))throw new t("Side channel does not contain "+e(m))},delete:function(m){var p=f&&f.next,w=c(f,m);return w&&p&&p===w&&(f=void 0),!!w},get:function(m){return o(f,m)},has:function(m){return s(f,m)},set:function(m,p){f||(f={next:void 0}),i(f,m,p)}};return h},Om}var Mm,Zw;function y4(){return Zw||(Zw=1,Mm=Object),Mm}var qm,Qw;function TW(){return Qw||(Qw=1,qm=Error),qm}var Fm,Jw;function CW(){return Jw||(Jw=1,Fm=EvalError),Fm}var Pm,e3;function EW(){return e3||(e3=1,Pm=RangeError),Pm}var Im,t3;function NW(){return t3||(t3=1,Im=ReferenceError),Im}var Lm,r3;function zW(){return r3||(r3=1,Lm=SyntaxError),Lm}var Hm,n3;function RW(){return n3||(n3=1,Hm=URIError),Hm}var Um,o3;function AW(){return o3||(o3=1,Um=Math.abs),Um}var Vm,a3;function DW(){return a3||(a3=1,Vm=Math.floor),Vm}var Wm,i3;function jW(){return i3||(i3=1,Wm=Math.max),Wm}var Gm,l3;function OW(){return l3||(l3=1,Gm=Math.min),Gm}var $m,s3;function MW(){return s3||(s3=1,$m=Math.pow),$m}var Xm,u3;function qW(){return u3||(u3=1,Xm=Math.round),Xm}var Km,c3;function FW(){return c3||(c3=1,Km=Number.isNaN||function(t){return t!==t}),Km}var Ym,d3;function PW(){if(d3)return Ym;d3=1;var e=FW();return Ym=function(r){return e(r)||r===0?r:r<0?-1:1},Ym}var Zm,f3;function IW(){return f3||(f3=1,Zm=Object.getOwnPropertyDescriptor),Zm}var Qm,h3;function x4(){if(h3)return Qm;h3=1;var e=IW();if(e)try{e([],"length")}catch{e=null}return Qm=e,Qm}var Jm,m3;function LW(){if(m3)return Jm;m3=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return Jm=e,Jm}var eg,g3;function HW(){return g3||(g3=1,eg=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(t,r);if(d.value!==i||d.enumerable!==!0)return!1}return!0}),eg}var tg,p3;function UW(){if(p3)return tg;p3=1;var e=typeof Symbol<"u"&&Symbol,t=HW();return tg=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},tg}var rg,b3;function w4(){return b3||(b3=1,rg=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),rg}var ng,v3;function S4(){if(v3)return ng;v3=1;var e=y4();return ng=e.getPrototypeOf||null,ng}var og,y3;function VW(){if(y3)return og;y3=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,o="[object Function]",i=function(f,h){for(var m=[],p=0;p<f.length;p+=1)m[p]=f[p];for(var w=0;w<h.length;w+=1)m[w+f.length]=h[w];return m},s=function(f,h){for(var m=[],p=h,w=0;p<f.length;p+=1,w+=1)m[w]=f[p];return m},c=function(d,f){for(var h="",m=0;m<d.length;m+=1)h+=d[m],m+1<d.length&&(h+=f);return h};return og=function(f){var h=this;if(typeof h!="function"||t.apply(h)!==o)throw new TypeError(e+h);for(var m=s(arguments,1),p,w=function(){if(this instanceof p){var B=h.apply(this,i(m,arguments));return Object(B)===B?B:this}return h.apply(f,i(m,arguments))},v=r(0,h.length-m.length),x=[],y=0;y<v;y++)x[y]="$"+y;if(p=Function("binder","return function ("+c(x,",")+"){ return binder.apply(this,arguments); }")(w),h.prototype){var k=function(){};k.prototype=h.prototype,p.prototype=new k,k.prototype=null}return p},og}var ag,x3;function Hf(){if(x3)return ag;x3=1;var e=VW();return ag=Function.prototype.bind||e,ag}var ig,w3;function E1(){return w3||(w3=1,ig=Function.prototype.call),ig}var lg,S3;function k4(){return S3||(S3=1,lg=Function.prototype.apply),lg}var sg,k3;function WW(){return k3||(k3=1,sg=typeof Reflect<"u"&&Reflect&&Reflect.apply),sg}var ug,B3;function GW(){if(B3)return ug;B3=1;var e=Hf(),t=k4(),r=E1(),o=WW();return ug=o||e.call(r,t),ug}var cg,_3;function B4(){if(_3)return cg;_3=1;var e=Hf(),t=ls(),r=E1(),o=GW();return cg=function(s){if(s.length<1||typeof s[0]!="function")throw new t("a function is required");return o(e,r,s)},cg}var dg,T3;function $W(){if(T3)return dg;T3=1;var e=B4(),t=x4(),r;try{r=[].__proto__===Array.prototype}catch(c){if(!c||typeof c!="object"||!("code"in c)||c.code!=="ERR_PROTO_ACCESS")throw c}var o=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,s=i.getPrototypeOf;return dg=o&&typeof o.get=="function"?e([o.get]):typeof s=="function"?function(d){return s(d==null?d:i(d))}:!1,dg}var fg,C3;function XW(){if(C3)return fg;C3=1;var e=w4(),t=S4(),r=$W();return fg=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:r?function(i){return r(i)}:null,fg}var hg,E3;function KW(){if(E3)return hg;E3=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Hf();return hg=r.call(e,t),hg}var mg,N3;function N1(){if(N3)return mg;N3=1;var e,t=y4(),r=TW(),o=CW(),i=EW(),s=NW(),c=zW(),d=ls(),f=RW(),h=AW(),m=DW(),p=jW(),w=OW(),v=MW(),x=qW(),y=PW(),k=Function,B=function(Qe){try{return k('"use strict"; return ('+Qe+").constructor;")()}catch{}},_=x4(),C=LW(),N=function(){throw new d},R=_?function(){try{return arguments.callee,N}catch{try{return _(arguments,"callee").get}catch{return N}}}():N,j=UW()(),D=XW(),M=S4(),I=w4(),G=k4(),X=E1(),re={},ue=typeof Uint8Array>"u"||!D?e:D(Uint8Array),ne={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":j&&D?D([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":re,"%AsyncGenerator%":re,"%AsyncGeneratorFunction%":re,"%AsyncIteratorPrototype%":re,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":k,"%GeneratorFunction%":re,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&D?D(D([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!j||!D?e:D(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!j||!D?e:D(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&D?D(""[Symbol.iterator]()):e,"%Symbol%":j?Symbol:e,"%SyntaxError%":c,"%ThrowTypeError%":R,"%TypedArray%":ue,"%TypeError%":d,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":X,"%Function.prototype.apply%":G,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":M,"%Math.abs%":h,"%Math.floor%":m,"%Math.max%":p,"%Math.min%":w,"%Math.pow%":v,"%Math.round%":x,"%Math.sign%":y,"%Reflect.getPrototypeOf%":I};if(D)try{null.error}catch(Qe){var fe=D(D(Qe));ne["%Error.prototype%"]=fe}var O=function Qe(Ge){var zt;if(Ge==="%AsyncFunction%")zt=B("async function () {}");else if(Ge==="%GeneratorFunction%")zt=B("function* () {}");else if(Ge==="%AsyncGeneratorFunction%")zt=B("async function* () {}");else if(Ge==="%AsyncGenerator%"){var dt=Qe("%AsyncGeneratorFunction%");dt&&(zt=dt.prototype)}else if(Ge==="%AsyncIteratorPrototype%"){var $t=Qe("%AsyncGenerator%");$t&&D&&(zt=D($t.prototype))}return ne[Ge]=zt,zt},W={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=Hf(),Z=KW(),se=L.call(X,Array.prototype.concat),A=L.call(G,Array.prototype.splice),U=L.call(X,String.prototype.replace),ae=L.call(X,String.prototype.slice),me=L.call(X,RegExp.prototype.exec),Te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ae=/\\(\\)?/g,Le=function(Ge){var zt=ae(Ge,0,1),dt=ae(Ge,-1);if(zt==="%"&&dt!=="%")throw new c("invalid intrinsic syntax, expected closing `%`");if(dt==="%"&&zt!=="%")throw new c("invalid intrinsic syntax, expected opening `%`");var $t=[];return U(Ge,Te,function(Pt,Er,tr,Nr){$t[$t.length]=tr?U(Nr,Ae,"$1"):Er||Pt}),$t},Ft=function(Ge,zt){var dt=Ge,$t;if(Z(W,dt)&&($t=W[dt],dt="%"+$t[0]+"%"),Z(ne,dt)){var Pt=ne[dt];if(Pt===re&&(Pt=O(dt)),typeof Pt>"u"&&!zt)throw new d("intrinsic "+Ge+" exists, but is not available. Please file an issue!");return{alias:$t,name:dt,value:Pt}}throw new c("intrinsic "+Ge+" does not exist!")};return mg=function(Ge,zt){if(typeof Ge!="string"||Ge.length===0)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof zt!="boolean")throw new d('"allowMissing" argument must be a boolean');if(me(/^%?[^%]*%?$/,Ge)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var dt=Le(Ge),$t=dt.length>0?dt[0]:"",Pt=Ft("%"+$t+"%",zt),Er=Pt.name,tr=Pt.value,Nr=!1,Or=Pt.alias;Or&&($t=Or[0],A(dt,se([0,1],Or)));for(var An=1,Zr=!0;An<dt.length;An+=1){var Mr=dt[An],po=ae(Mr,0,1),eo=ae(Mr,-1);if((po==='"'||po==="'"||po==="`"||eo==='"'||eo==="'"||eo==="`")&&po!==eo)throw new c("property names with quotes must have matching quotes");if((Mr==="constructor"||!Zr)&&(Nr=!0),$t+="."+Mr,Er="%"+$t+"%",Z(ne,Er))tr=ne[Er];else if(tr!=null){if(!(Mr in tr)){if(!zt)throw new d("base intrinsic for "+Ge+" exists, but the property is not available.");return}if(_&&An+1>=dt.length){var Rt=_(tr,Mr);Zr=!!Rt,Zr&&"get"in Rt&&!("originalValue"in Rt.get)?tr=Rt.get:tr=tr[Mr]}else Zr=Z(tr,Mr),tr=tr[Mr];Zr&&!Nr&&(ne[Er]=tr)}}return tr},mg}var gg,z3;function _4(){if(z3)return gg;z3=1;var e=N1(),t=B4(),r=t([e("%String.prototype.indexOf%")]);return gg=function(i,s){var c=e(i,!!s);return typeof c=="function"&&r(i,".prototype.")>-1?t([c]):c},gg}var pg,R3;function T4(){if(R3)return pg;R3=1;var e=N1(),t=_4(),r=Lf(),o=ls(),i=e("%Map%",!0),s=t("Map.prototype.get",!0),c=t("Map.prototype.set",!0),d=t("Map.prototype.has",!0),f=t("Map.prototype.delete",!0),h=t("Map.prototype.size",!0);return pg=!!i&&function(){var p,w={assert:function(v){if(!w.has(v))throw new o("Side channel does not contain "+r(v))},delete:function(v){if(p){var x=f(p,v);return h(p)===0&&(p=void 0),x}return!1},get:function(v){if(p)return s(p,v)},has:function(v){return p?d(p,v):!1},set:function(v,x){p||(p=new i),c(p,v,x)}};return w},pg}var bg,A3;function YW(){if(A3)return bg;A3=1;var e=N1(),t=_4(),r=Lf(),o=T4(),i=ls(),s=e("%WeakMap%",!0),c=t("WeakMap.prototype.get",!0),d=t("WeakMap.prototype.set",!0),f=t("WeakMap.prototype.has",!0),h=t("WeakMap.prototype.delete",!0);return bg=s?function(){var p,w,v={assert:function(x){if(!v.has(x))throw new i("Side channel does not contain "+r(x))},delete:function(x){if(s&&x&&(typeof x=="object"||typeof x=="function")){if(p)return h(p,x)}else if(o&&w)return w.delete(x);return!1},get:function(x){return s&&x&&(typeof x=="object"||typeof x=="function")&&p?c(p,x):w&&w.get(x)},has:function(x){return s&&x&&(typeof x=="object"||typeof x=="function")&&p?f(p,x):!!w&&w.has(x)},set:function(x,y){s&&x&&(typeof x=="object"||typeof x=="function")?(p||(p=new s),d(p,x,y)):o&&(w||(w=o()),w.set(x,y))}};return v}:o,bg}var vg,D3;function ZW(){if(D3)return vg;D3=1;var e=ls(),t=Lf(),r=_W(),o=T4(),i=YW(),s=i||o||r;return vg=function(){var d,f={assert:function(h){if(!f.has(h))throw new e("Side channel does not contain "+t(h))},delete:function(h){return!!d&&d.delete(h)},get:function(h){return d&&d.get(h)},has:function(h){return!!d&&d.has(h)},set:function(h,m){d||(d=s()),d.set(h,m)}};return f},vg}var yg,j3;function z1(){if(j3)return yg;j3=1;var e=String.prototype.replace,t=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};return yg={default:r.RFC3986,formatters:{RFC1738:function(o){return e.call(o,t,"+")},RFC3986:function(o){return String(o)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986},yg}var xg,O3;function C4(){if(O3)return xg;O3=1;var e=z1(),t=Object.prototype.hasOwnProperty,r=Array.isArray,o=function(){for(var k=[],B=0;B<256;++B)k.push("%"+((B<16?"0":"")+B.toString(16)).toUpperCase());return k}(),i=function(B){for(;B.length>1;){var _=B.pop(),C=_.obj[_.prop];if(r(C)){for(var N=[],R=0;R<C.length;++R)typeof C[R]<"u"&&N.push(C[R]);_.obj[_.prop]=N}}},s=function(B,_){for(var C=_&&_.plainObjects?{__proto__:null}:{},N=0;N<B.length;++N)typeof B[N]<"u"&&(C[N]=B[N]);return C},c=function k(B,_,C){if(!_)return B;if(typeof _!="object"&&typeof _!="function"){if(r(B))B.push(_);else if(B&&typeof B=="object")(C&&(C.plainObjects||C.allowPrototypes)||!t.call(Object.prototype,_))&&(B[_]=!0);else return[B,_];return B}if(!B||typeof B!="object")return[B].concat(_);var N=B;return r(B)&&!r(_)&&(N=s(B,C)),r(B)&&r(_)?(_.forEach(function(R,j){if(t.call(B,j)){var D=B[j];D&&typeof D=="object"&&R&&typeof R=="object"?B[j]=k(D,R,C):B.push(R)}else B[j]=R}),B):Object.keys(_).reduce(function(R,j){var D=_[j];return t.call(R,j)?R[j]=k(R[j],D,C):R[j]=D,R},N)},d=function(B,_){return Object.keys(_).reduce(function(C,N){return C[N]=_[N],C},B)},f=function(k,B,_){var C=k.replace(/\+/g," ");if(_==="iso-8859-1")return C.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(C)}catch{return C}},h=1024,m=function(B,_,C,N,R){if(B.length===0)return B;var j=B;if(typeof B=="symbol"?j=Symbol.prototype.toString.call(B):typeof B!="string"&&(j=String(B)),C==="iso-8859-1")return escape(j).replace(/%u[0-9a-f]{4}/gi,function(ue){return"%26%23"+parseInt(ue.slice(2),16)+"%3B"});for(var D="",M=0;M<j.length;M+=h){for(var I=j.length>=h?j.slice(M,M+h):j,G=[],X=0;X<I.length;++X){var re=I.charCodeAt(X);if(re===45||re===46||re===95||re===126||re>=48&&re<=57||re>=65&&re<=90||re>=97&&re<=122||R===e.RFC1738&&(re===40||re===41)){G[G.length]=I.charAt(X);continue}if(re<128){G[G.length]=o[re];continue}if(re<2048){G[G.length]=o[192|re>>6]+o[128|re&63];continue}if(re<55296||re>=57344){G[G.length]=o[224|re>>12]+o[128|re>>6&63]+o[128|re&63];continue}X+=1,re=65536+((re&1023)<<10|I.charCodeAt(X)&1023),G[G.length]=o[240|re>>18]+o[128|re>>12&63]+o[128|re>>6&63]+o[128|re&63]}D+=G.join("")}return D},p=function(B){for(var _=[{obj:{o:B},prop:"o"}],C=[],N=0;N<_.length;++N)for(var R=_[N],j=R.obj[R.prop],D=Object.keys(j),M=0;M<D.length;++M){var I=D[M],G=j[I];typeof G=="object"&&G!==null&&C.indexOf(G)===-1&&(_.push({obj:j,prop:I}),C.push(G))}return i(_),B},w=function(B){return Object.prototype.toString.call(B)==="[object RegExp]"},v=function(B){return!B||typeof B!="object"?!1:!!(B.constructor&&B.constructor.isBuffer&&B.constructor.isBuffer(B))},x=function(B,_){return[].concat(B,_)},y=function(B,_){if(r(B)){for(var C=[],N=0;N<B.length;N+=1)C.push(_(B[N]));return C}return _(B)};return xg={arrayToObject:s,assign:d,combine:x,compact:p,decode:f,encode:m,isBuffer:v,isRegExp:w,maybeMap:y,merge:c},xg}var wg,M3;function QW(){if(M3)return wg;M3=1;var e=ZW(),t=C4(),r=z1(),o=Object.prototype.hasOwnProperty,i={brackets:function(k){return k+"[]"},comma:"comma",indices:function(k,B){return k+"["+B+"]"},repeat:function(k){return k}},s=Array.isArray,c=Array.prototype.push,d=function(y,k){c.apply(y,s(k)?k:[k])},f=Date.prototype.toISOString,h=r.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:r.formatters[h],indices:!1,serializeDate:function(k){return f.call(k)},skipNulls:!1,strictNullHandling:!1},p=function(k){return typeof k=="string"||typeof k=="number"||typeof k=="boolean"||typeof k=="symbol"||typeof k=="bigint"},w={},v=function y(k,B,_,C,N,R,j,D,M,I,G,X,re,ue,ne,fe,O,W){for(var L=k,Z=W,se=0,A=!1;(Z=Z.get(w))!==void 0&&!A;){var U=Z.get(k);if(se+=1,typeof U<"u"){if(U===se)throw new RangeError("Cyclic object value");A=!0}typeof Z.get(w)>"u"&&(se=0)}if(typeof I=="function"?L=I(B,L):L instanceof Date?L=re(L):_==="comma"&&s(L)&&(L=t.maybeMap(L,function(Er){return Er instanceof Date?re(Er):Er})),L===null){if(R)return M&&!fe?M(B,m.encoder,O,"key",ue):B;L=""}if(p(L)||t.isBuffer(L)){if(M){var ae=fe?B:M(B,m.encoder,O,"key",ue);return[ne(ae)+"="+ne(M(L,m.encoder,O,"value",ue))]}return[ne(B)+"="+ne(String(L))]}var me=[];if(typeof L>"u")return me;var Te;if(_==="comma"&&s(L))fe&&M&&(L=t.maybeMap(L,M)),Te=[{value:L.length>0?L.join(",")||null:void 0}];else if(s(I))Te=I;else{var Ae=Object.keys(L);Te=G?Ae.sort(G):Ae}var Le=D?String(B).replace(/\./g,"%2E"):String(B),Ft=C&&s(L)&&L.length===1?Le+"[]":Le;if(N&&s(L)&&L.length===0)return Ft+"[]";for(var Qe=0;Qe<Te.length;++Qe){var Ge=Te[Qe],zt=typeof Ge=="object"&&Ge&&typeof Ge.value<"u"?Ge.value:L[Ge];if(!(j&&zt===null)){var dt=X&&D?String(Ge).replace(/\./g,"%2E"):String(Ge),$t=s(L)?typeof _=="function"?_(Ft,dt):Ft:Ft+(X?"."+dt:"["+dt+"]");W.set(k,se);var Pt=e();Pt.set(w,W),d(me,y(zt,$t,_,C,N,R,j,D,_==="comma"&&fe&&s(L)?null:M,I,G,X,re,ue,ne,fe,O,Pt))}}return me},x=function(k){if(!k)return m;if(typeof k.allowEmptyArrays<"u"&&typeof k.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof k.encodeDotInKeys<"u"&&typeof k.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(k.encoder!==null&&typeof k.encoder<"u"&&typeof k.encoder!="function")throw new TypeError("Encoder has to be a function.");var B=k.charset||m.charset;if(typeof k.charset<"u"&&k.charset!=="utf-8"&&k.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=r.default;if(typeof k.format<"u"){if(!o.call(r.formatters,k.format))throw new TypeError("Unknown format option provided.");_=k.format}var C=r.formatters[_],N=m.filter;(typeof k.filter=="function"||s(k.filter))&&(N=k.filter);var R;if(k.arrayFormat in i?R=k.arrayFormat:"indices"in k?R=k.indices?"indices":"repeat":R=m.arrayFormat,"commaRoundTrip"in k&&typeof k.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var j=typeof k.allowDots>"u"?k.encodeDotInKeys===!0?!0:m.allowDots:!!k.allowDots;return{addQueryPrefix:typeof k.addQueryPrefix=="boolean"?k.addQueryPrefix:m.addQueryPrefix,allowDots:j,allowEmptyArrays:typeof k.allowEmptyArrays=="boolean"?!!k.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:R,charset:B,charsetSentinel:typeof k.charsetSentinel=="boolean"?k.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!k.commaRoundTrip,delimiter:typeof k.delimiter>"u"?m.delimiter:k.delimiter,encode:typeof k.encode=="boolean"?k.encode:m.encode,encodeDotInKeys:typeof k.encodeDotInKeys=="boolean"?k.encodeDotInKeys:m.encodeDotInKeys,encoder:typeof k.encoder=="function"?k.encoder:m.encoder,encodeValuesOnly:typeof k.encodeValuesOnly=="boolean"?k.encodeValuesOnly:m.encodeValuesOnly,filter:N,format:_,formatter:C,serializeDate:typeof k.serializeDate=="function"?k.serializeDate:m.serializeDate,skipNulls:typeof k.skipNulls=="boolean"?k.skipNulls:m.skipNulls,sort:typeof k.sort=="function"?k.sort:null,strictNullHandling:typeof k.strictNullHandling=="boolean"?k.strictNullHandling:m.strictNullHandling}};return wg=function(y,k){var B=y,_=x(k),C,N;typeof _.filter=="function"?(N=_.filter,B=N("",B)):s(_.filter)&&(N=_.filter,C=N);var R=[];if(typeof B!="object"||B===null)return"";var j=i[_.arrayFormat],D=j==="comma"&&_.commaRoundTrip;C||(C=Object.keys(B)),_.sort&&C.sort(_.sort);for(var M=e(),I=0;I<C.length;++I){var G=C[I],X=B[G];_.skipNulls&&X===null||d(R,v(X,G,j,D,_.allowEmptyArrays,_.strictNullHandling,_.skipNulls,_.encodeDotInKeys,_.encode?_.encoder:null,_.filter,_.sort,_.allowDots,_.serializeDate,_.format,_.formatter,_.encodeValuesOnly,_.charset,M))}var re=R.join(_.delimiter),ue=_.addQueryPrefix===!0?"?":"";return _.charsetSentinel&&(_.charset==="iso-8859-1"?ue+="utf8=%26%2310003%3B&":ue+="utf8=%E2%9C%93&"),re.length>0?ue+re:""},wg}var Sg,q3;function JW(){if(q3)return Sg;q3=1;var e=C4(),t=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(w){return w.replace(/&#(\d+);/g,function(v,x){return String.fromCharCode(parseInt(x,10))})},s=function(w,v,x){if(w&&typeof w=="string"&&v.comma&&w.indexOf(",")>-1)return w.split(",");if(v.throwOnLimitExceeded&&x>=v.arrayLimit)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");return w},c="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",f=function(v,x){var y={__proto__:null},k=x.ignoreQueryPrefix?v.replace(/^\?/,""):v;k=k.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var B=x.parameterLimit===1/0?void 0:x.parameterLimit,_=k.split(x.delimiter,x.throwOnLimitExceeded?B+1:B);if(x.throwOnLimitExceeded&&_.length>B)throw new RangeError("Parameter limit exceeded. Only "+B+" parameter"+(B===1?"":"s")+" allowed.");var C=-1,N,R=x.charset;if(x.charsetSentinel)for(N=0;N<_.length;++N)_[N].indexOf("utf8=")===0&&(_[N]===d?R="utf-8":_[N]===c&&(R="iso-8859-1"),C=N,N=_.length);for(N=0;N<_.length;++N)if(N!==C){var j=_[N],D=j.indexOf("]="),M=D===-1?j.indexOf("="):D+1,I,G;M===-1?(I=x.decoder(j,o.decoder,R,"key"),G=x.strictNullHandling?null:""):(I=x.decoder(j.slice(0,M),o.decoder,R,"key"),G=e.maybeMap(s(j.slice(M+1),x,r(y[I])?y[I].length:0),function(re){return x.decoder(re,o.decoder,R,"value")})),G&&x.interpretNumericEntities&&R==="iso-8859-1"&&(G=i(String(G))),j.indexOf("[]=")>-1&&(G=r(G)?[G]:G);var X=t.call(y,I);X&&x.duplicates==="combine"?y[I]=e.combine(y[I],G):(!X||x.duplicates==="last")&&(y[I]=G)}return y},h=function(w,v,x,y){var k=0;if(w.length>0&&w[w.length-1]==="[]"){var B=w.slice(0,-1).join("");k=Array.isArray(v)&&v[B]?v[B].length:0}for(var _=y?v:s(v,x,k),C=w.length-1;C>=0;--C){var N,R=w[C];if(R==="[]"&&x.parseArrays)N=x.allowEmptyArrays&&(_===""||x.strictNullHandling&&_===null)?[]:e.combine([],_);else{N=x.plainObjects?{__proto__:null}:{};var j=R.charAt(0)==="["&&R.charAt(R.length-1)==="]"?R.slice(1,-1):R,D=x.decodeDotInKeys?j.replace(/%2E/g,"."):j,M=parseInt(D,10);!x.parseArrays&&D===""?N={0:_}:!isNaN(M)&&R!==D&&String(M)===D&&M>=0&&x.parseArrays&&M<=x.arrayLimit?(N=[],N[M]=_):D!=="__proto__"&&(N[D]=_)}_=N}return _},m=function(v,x,y,k){if(v){var B=y.allowDots?v.replace(/\.([^.[]+)/g,"[$1]"):v,_=/(\[[^[\]]*])/,C=/(\[[^[\]]*])/g,N=y.depth>0&&_.exec(B),R=N?B.slice(0,N.index):B,j=[];if(R){if(!y.plainObjects&&t.call(Object.prototype,R)&&!y.allowPrototypes)return;j.push(R)}for(var D=0;y.depth>0&&(N=C.exec(B))!==null&&D<y.depth;){if(D+=1,!y.plainObjects&&t.call(Object.prototype,N[1].slice(1,-1))&&!y.allowPrototypes)return;j.push(N[1])}if(N){if(y.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+y.depth+" and strictDepth is true");j.push("["+B.slice(N.index)+"]")}return h(j,x,y,k)}},p=function(v){if(!v)return o;if(typeof v.allowEmptyArrays<"u"&&typeof v.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof v.decodeDotInKeys<"u"&&typeof v.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(v.decoder!==null&&typeof v.decoder<"u"&&typeof v.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof v.charset<"u"&&v.charset!=="utf-8"&&v.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof v.throwOnLimitExceeded<"u"&&typeof v.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var x=typeof v.charset>"u"?o.charset:v.charset,y=typeof v.duplicates>"u"?o.duplicates:v.duplicates;if(y!=="combine"&&y!=="first"&&y!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var k=typeof v.allowDots>"u"?v.decodeDotInKeys===!0?!0:o.allowDots:!!v.allowDots;return{allowDots:k,allowEmptyArrays:typeof v.allowEmptyArrays=="boolean"?!!v.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:typeof v.allowPrototypes=="boolean"?v.allowPrototypes:o.allowPrototypes,allowSparse:typeof v.allowSparse=="boolean"?v.allowSparse:o.allowSparse,arrayLimit:typeof v.arrayLimit=="number"?v.arrayLimit:o.arrayLimit,charset:x,charsetSentinel:typeof v.charsetSentinel=="boolean"?v.charsetSentinel:o.charsetSentinel,comma:typeof v.comma=="boolean"?v.comma:o.comma,decodeDotInKeys:typeof v.decodeDotInKeys=="boolean"?v.decodeDotInKeys:o.decodeDotInKeys,decoder:typeof v.decoder=="function"?v.decoder:o.decoder,delimiter:typeof v.delimiter=="string"||e.isRegExp(v.delimiter)?v.delimiter:o.delimiter,depth:typeof v.depth=="number"||v.depth===!1?+v.depth:o.depth,duplicates:y,ignoreQueryPrefix:v.ignoreQueryPrefix===!0,interpretNumericEntities:typeof v.interpretNumericEntities=="boolean"?v.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:typeof v.parameterLimit=="number"?v.parameterLimit:o.parameterLimit,parseArrays:v.parseArrays!==!1,plainObjects:typeof v.plainObjects=="boolean"?v.plainObjects:o.plainObjects,strictDepth:typeof v.strictDepth=="boolean"?!!v.strictDepth:o.strictDepth,strictNullHandling:typeof v.strictNullHandling=="boolean"?v.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:typeof v.throwOnLimitExceeded=="boolean"?v.throwOnLimitExceeded:!1}};return Sg=function(w,v){var x=p(v);if(w===""||w===null||typeof w>"u")return x.plainObjects?{__proto__:null}:{};for(var y=typeof w=="string"?f(w,x):w,k=x.plainObjects?{__proto__:null}:{},B=Object.keys(y),_=0;_<B.length;++_){var C=B[_],N=m(C,y[C],x,typeof w=="string");k=e.merge(k,N,x)}return x.allowSparse===!0?k:e.compact(k)},Sg}var kg,F3;function eG(){if(F3)return kg;F3=1;var e=QW(),t=JW(),r=z1();return kg={formats:r,parse:t,stringify:e},kg}var tG=eG();const To=Yd(tG),P3={URL:"api/botsignin/GetSignInUrl",RESOURCE:"api/botsignin/GetSignInResource"};class rG{constructor(t,r){Be(this,"_http");Be(this,"_apiClientSettings");t?"request"in t?this._http=t:this._http=new cr(t):this._http=new cr,this._apiClientSettings=go(r)}get http(){return this._http}set http(t){this._http=t}async getUrl(t){const r=To.stringify(t);return(await this.http.get(`${this._apiClientSettings.oauthUrl}/${P3.URL}?${r}`)).data}async getResource(t){const r=To.stringify(t);return(await this.http.get(`${this._apiClientSettings.oauthUrl}/${P3.RESOURCE}?${r}`)).data}}class nG{constructor(t,r){Be(this,"_http");Be(this,"_apiClientSettings");t?"request"in t?this._http=t:this._http=new cr(t):this._http=new cr,this._apiClientSettings=go(r)}get http(){return this._http}set http(t){this._http=t}async get(t){if("token"in t)return{token_type:"Bearer",expires_in:-1,access_token:await t.token("https://api.botframework.com/.default",t.tenantId)};const r=t.tenantId||"botframework.com";return(await this.http.post(`https://login.microsoftonline.com/${r}/oauth2/v2.0/token`,To.stringify({grant_type:"client_credentials",client_id:t.clientId,client_secret:t.clientSecret,scope:"https://api.botframework.com/.default"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})).data}async getGraph(t){if("token"in t)return{token_type:"Bearer",expires_in:-1,access_token:await t.token("https://graph.microsoft.com/.default",t.tenantId)};const r=t.tenantId||"botframework.com";return(await this.http.post(`https://login.microsoftonline.com/${r}/oauth2/v2.0/token`,To.stringify({grant_type:"client_credentials",client_id:t.clientId,client_secret:t.clientSecret,scope:"https://graph.microsoft.com/.default"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})).data}}class oG{constructor(t,r){Be(this,"token");Be(this,"signIn");Be(this,"_http");Be(this,"_clientSettings");t?"request"in t?this._http=t:this._http=new cr(t):this._http=new cr,this._clientSettings=go(r),this.token=new nG(this.http,this._clientSettings),this.signIn=new rG(this.http,this._clientSettings)}get http(){return this._http}set http(t){this.token.http=t,this.signIn.http=t,this._http=t}}class aG{constructor(t,r,o){Be(this,"serviceUrl");Be(this,"_http");Be(this,"_apiClientSettings");this.serviceUrl=t,r?"request"in r?this._http=r:this._http=new cr(r):this._http=new cr,this._apiClientSettings=go(o)}get http(){return this._http}set http(t){this._http=t}async create(t,r){return(await this.http.post(`${this.serviceUrl}/v3/conversations/${t}/activities`,r)).data}async update(t,r,o){return(await this.http.put(`${this.serviceUrl}/v3/conversations/${t}/activities/${r}`,o)).data}async reply(t,r,o){return o.replyToId=r,(await this.http.post(`${this.serviceUrl}/v3/conversations/${t}/activities/${r}`,o)).data}async delete(t,r){return(await this.http.delete(`${this.serviceUrl}/v3/conversations/${t}/activities/${r}`)).data}async getMembers(t,r){return(await this.http.get(`${this.serviceUrl}/v3/conversations/${t}/activities/${r}/members`)).data}}class iG{constructor(t,r,o){Be(this,"serviceUrl");Be(this,"_http");Be(this,"_apiClientSettings");this.serviceUrl=t,r?"request"in r?this._http=r:this._http=new cr(r):this._http=new cr,this._apiClientSettings=go(o)}get http(){return this._http}set http(t){this._http=t}async get(t){return(await this.http.get(`${this.serviceUrl}/v3/conversations/${t}/members`)).data}async getById(t,r){return(await this.http.get(`${this.serviceUrl}/v3/conversations/${t}/members/${r}`)).data}async delete(t,r){return(await this.http.delete(`${this.serviceUrl}/v3/conversations/${t}/members/${r}`)).data}}class lG{constructor(t,r,o){Be(this,"serviceUrl");Be(this,"_http");Be(this,"_activities");Be(this,"_members");Be(this,"_apiClientSettings");this.serviceUrl=t,r?"request"in r?this._http=r:this._http=new cr(r):this._http=new cr,this._apiClientSettings=go(o),this._activities=new aG(t,this.http,this._apiClientSettings),this._members=new iG(t,this.http,this._apiClientSettings)}get http(){return this._http}set http(t){this._http=t}activities(t){return{create:r=>this._activities.create(t,r),update:(r,o)=>this._activities.update(t,r,o),reply:(r,o)=>this._activities.reply(t,r,o),delete:r=>this._activities.delete(t,r),members:r=>this._activities.getMembers(t,r)}}members(t){return{get:()=>this._members.get(t),getById:r=>this._members.getById(t,r),delete:r=>this._members.delete(t,r)}}async get(t){const r=To.stringify(t,{addQueryPrefix:!0});return(await this.http.get(`${this.serviceUrl}/v3/conversations${r}`)).data}async create(t){return(await this.http.post(`${this.serviceUrl}/v3/conversations`,t)).data}}class sG{constructor(t,r,o){Be(this,"serviceUrl");Be(this,"_http");Be(this,"_apiClientSettings");this.serviceUrl=t,r?"request"in r?this._http=r:this._http=new cr(r):this._http=new cr,this._apiClientSettings=go(o)}get http(){return this._http}set http(t){this._http=t}async getById(t){return(await this.http.get(`${this.serviceUrl}/v1/meetings/${t}`)).data}async getParticipant(t,r){return(await this.http.get(`${this.serviceUrl}/v1/meetings/${t}/participants/${r}`)).data}}class uG{constructor(t,r,o){Be(this,"serviceUrl");Be(this,"_http");Be(this,"_apiClientSettings");this.serviceUrl=t,r?"request"in r?this._http=r:this._http=new cr(r):this._http=new cr,this._apiClientSettings=go(o)}get http(){return this._http}set http(t){this._http=t}async getById(t){return(await this.http.get(`${this.serviceUrl}/v3/teams/${t}`)).data}async getConversations(t){return(await this.http.get(`${this.serviceUrl}/v3/teams/${t}/conversations`)).data}}const su={GET_TOKEN:"api/usertoken/GetToken",GET_AAD_TOKENS:"api/usertoken/GetAadTokens",GET_STATUS:"api/usertoken/GetTokenStatus",SIGN_OUT:"api/usertoken/SignOut",EXCHANGE:"api/usertoken/exchange"};class cG{constructor(t,r){Be(this,"_http");Be(this,"_apiClientSettings");t?"request"in t?this._http=t:this._http=new cr(t):this._http=new cr,this._apiClientSettings=go(r)}get http(){return this._http}set http(t){this._http=t}async get(t){const r=To.stringify(t);return(await this.http.get(`${this._apiClientSettings.oauthUrl}/${su.GET_TOKEN}?${r}`)).data}async getAad(t){const r=To.stringify(t);return(await this.http.post(`${this._apiClientSettings.oauthUrl}/${su.GET_AAD_TOKENS}?${r}`,t)).data}async getStatus(t){const r=To.stringify(t);return(await this.http.get(`${this._apiClientSettings.oauthUrl}/${su.GET_STATUS}?${r}`)).data}async signOut(t){const r=To.stringify(t);return(await this.http.delete(`${this._apiClientSettings.oauthUrl}/${su.SIGN_OUT}?${r}`,{data:t})).data}async exchange(t){const r=To.stringify({userId:t.userId,connectionName:t.connectionName,channelId:t.channelId});return(await this.http.post(`${this._apiClientSettings.oauthUrl}/${su.EXCHANGE}?${r}`,t.exchangeRequest)).data}}class dG{constructor(t,r){Be(this,"token");Be(this,"_http");Be(this,"_apiClientSettings");t?"request"in t?this._http=t:this._http=new cr(t):this._http=new cr,this._apiClientSettings=go(r),this.token=new cG(this.http,this._apiClientSettings)}get http(){return this._http}set http(t){this._http=t}}class fG{constructor(t,r,o){Be(this,"serviceUrl");Be(this,"bots");Be(this,"users");Be(this,"conversations");Be(this,"teams");Be(this,"meetings");Be(this,"_http");Be(this,"_apiClientSettings");this.serviceUrl=t,r?"request"in r?this._http=r:this._http=new cr({...r,headers:{...r==null?void 0:r.headers,"Content-Type":"application/json"}}):this._http=new cr,this._apiClientSettings=go(o),this.bots=new oG(this.http,this._apiClientSettings),this.users=new dG(this.http,this._apiClientSettings),this.conversations=new lG(t,this.http,this._apiClientSettings),this.teams=new uG(t,this.http,this._apiClientSettings),this.meetings=new sG(t,this.http,this._apiClientSettings)}get http(){return this._http}set http(t){this.bots.http=t,this.conversations.http=t,this.users.http=t,this.teams.http=t,this.meetings.http=t,this._http=t}}function hG(e,t){return{contentType:`application/vnd.microsoft.card.${e}`,content:t}}class Tu{constructor(t){Be(this,"type");Be(this,"id");Be(this,"serviceUrl");Be(this,"timestamp");Be(this,"locale");Be(this,"localTimestamp");Be(this,"channelId");Be(this,"from");Be(this,"conversation");Be(this,"relatesTo");Be(this,"recipient");Be(this,"replyToId");Be(this,"entities");Be(this,"channelData");Object.assign(this,{channelId:"msteams",...t})}get tenant(){var t;return(t=this.channelData)==null?void 0:t.tenant}get channel(){var t;return(t=this.channelData)==null?void 0:t.channel}get team(){var t;return(t=this.channelData)==null?void 0:t.team}get meeting(){var t;return(t=this.channelData)==null?void 0:t.meeting}get notification(){var t;return(t=this.channelData)==null?void 0:t.notification}static from(t){return new Tu(t)}toInterface(){return Object.assign({},this)}clone(t={}){return new Tu({...this.toInterface(),...t})}withId(t){return this.id=t,this}withReplyToId(t){return this.replyToId=t,this}withChannelId(t){return this.channelId=t,this}withFrom(t){return this.from=t,this}withConversation(t){return this.conversation=t,this}withRelatesTo(t){return this.relatesTo=t,this}withRecipient(t){return this.recipient=t,this}withServiceUrl(t){return this.serviceUrl=t,this}withTimestamp(t){return this.timestamp=t,this}withLocale(t){return this.locale=t,this}withLocalTimestamp(t){return this.localTimestamp=t,this}withChannelData(t){return this.channelData={...this.channelData,...t},this}addEntity(t){return this.entities||(this.entities=[]),this.entities.push(t),this}addEntities(...t){return this.entities||(this.entities=[]),this.entities.push(...t),this}addAiGenerated(){var r;const t=this.ensureSingleRootLevelMessageEntity();return(r=t.additionalType)!=null&&r.includes("AIGeneratedContent")?this:(t.additionalType||(t.additionalType=[]),t.additionalType.push("AIGeneratedContent"),this)}addFeedback(){return this.channelData||(this.channelData={}),this.channelData.feedbackLoopEnabled=!0,this}addCitation(t,r){const o=this.ensureSingleRootLevelMessageEntity();return o.citation||(o.citation=[]),o.citation.push({"@type":"Claim",position:t,appearance:{"@type":"DigitalDocument",abstract:r.abstract,name:r.name,encodingFormat:"application/vnd.microsoft.card.adaptive",image:r.icon?{"@type":"ImageObject",name:r.icon}:void 0,keywords:r.keywords,text:r.text,url:r.url,usageInfo:r.usageInfo}}),this}isStreaming(){var t;return((t=this.entities)==null?void 0:t.some(r=>r.type==="streaminfo"))||!1}ensureSingleRootLevelMessageEntity(){var r;let t=(r=this.entities)==null?void 0:r.find(o=>o.type==="https://schema.org/Message"&&o["@type"]==="Message");return t||(t={type:"https://schema.org/Message","@type":"Message","@context":"https://schema.org","@id":""},this.addEntity(t)),t}}class $d extends Tu{constructor(t={}){super({...t,type:"messageDelete",channelData:{...t.channelData,eventType:"softDeleteMessage"}}),Object.assign(this,{...t,channelData:{...t.channelData,eventType:"softDeleteMessage"}})}static from(t){return new $d(t)}toInterface(){return Object.assign({},this)}clone(t={}){return new $d({...this.toInterface(),...t})}}function mG(e){const t=e;return typeof t=="object"&&t.type==="Action.Execute"}function gG(e){const t=e;return typeof t=="object"&&t.type==="Action.Submit"}function pG(e){const t=e;return typeof t=="object"&&t.type==="Action.OpenUrl"}class Cu extends Tu{constructor(r,o={}){super({...o,type:"messageUpdate",channelData:{...o==null?void 0:o.channelData,eventType:r}});Be(this,"text");Be(this,"speak");Be(this,"summary");Be(this,"expiration");Be(this,"value");Object.assign(this,{...o,channelData:{...o==null?void 0:o.channelData,eventType:r}})}static from(r){return new Cu(r.channelData.eventType,r)}toInterface(){return Object.assign({},this)}clone(r={}){return new Cu(this.channelData.eventType,{...this.toInterface(),...r})}withText(r){return this.text=r,this}withSpeak(r){return this.speak=r,this}withSummary(r){return this.summary=r,this}withExpiration(r){return this.expiration=r,this}}class bG extends Error{}bG.prototype.name="InvalidTokenError";const ss=Df()(jf(e=>({currentCard:null,editingMessageId:null,draftMessage:null,targetComponent:null,processedCardIds:new Set,setCurrentCard:(t,r="compose")=>e(o=>({currentCard:t,targetComponent:r,draftMessage:o.draftMessage})),setDraftMessage:t=>e({draftMessage:t??null}),setEditingMessageId:t=>e({editingMessageId:t}),clearCurrentCard:()=>e({currentCard:null,targetComponent:null}),addProcessedCardId:t=>e(r=>({processedCardIds:new Set([...r.processedCardIds,t])})),clearProcessedCardIds:()=>e({processedCardIds:new Set})}))),vG=Gt({root:{'&[data-card-width="veryNarrow"]':{width:"216px"},'&[data-card-width="narrow"]':{width:"345px"},'&[data-card-width="standard"]':{width:"500px"},'&[data-card-width="wide"]':{width:"600px"}},iframe:{width:"100%",height:"100%",border:"none",display:"block"}});function yG(e){return typeof e=="object"&&e.type==="ac-renderer-ready"&&typeof e.id=="string"}function xG(e){return typeof e=="object"&&e.type==="ac-action-executed"&&typeof e.action=="object"}function wG(e){return typeof e=="object"&&e.type==="ac-dimensions-changed"&&typeof e.width=="number"&&typeof e.height=="number"}const Uf="https://adaptivecards.microsoft.com",I3=`${Uf}/renderer.html`;let SG=0;const E4=S.memo(e=>{const t=vG(),r=S.useRef(null),o=e.width||"standard",{dispatchToast:i}=Nf(),[s,c]=S.useState({width:0,height:0}),d=S.useRef((SG++).toString()),f=h=>{var m,p;(p=(m=r.current)==null?void 0:m.contentWindow)==null||p.postMessage(h,I3)};return S.useEffect(()=>{const h=m=>{if(m.origin===Uf){if(yG(m.data)&&m.data.id===d.current){const p={type:"cardPayload",id:d.current,payload:JSON.stringify(e.card)};f(p)}if(wG(m.data)&&m.data.id===d.current){const{width:p,height:w}=m.data;c({width:p,height:w})}xG(m.data)&&m.data.id===d.current&&(pG(m.data.action)&&window.open(m.data.action.url,"_blank"),(gG(m.data.action)||mG(m.data.action))&&i(E.jsxs(Ul,{children:[E.jsx(Vl,{children:"Card Action"}),E.jsx(g1,{children:`An action of type ${m.data.action.type} was clicked. Support for handling Action.Submit and Action.Execute is coming to DevTools in a later release.`})]}),{intent:"warning"}))}};return window.addEventListener("message",h),()=>{window.removeEventListener("message",h)}}),E.jsx("div",{className:t.root,"data-card-width":o,style:{height:s.height>0?Math.ceil(s.height):void 0},children:E.jsx("iframe",{ref:r,className:t.iframe,src:`${I3}?id=${d.current}`,title:"Adaptive Card Renderer"})})});E4.displayName="AdaptiveCard";const N4=Gt({root:{"--card-width-very-narrow":"13.375rem","--card-width-narrow":"21.4375rem","--card-width-standard":"31.125rem"},inlineAttachmentsContainer:{display:"flex",flexDirection:"column",width:"fit-content",padding:F.spacingHorizontalS,userSelect:"none"},inlineAttachmentCard:{overflow:"hidden",position:"relative",height:"fit-content"},removeAttachmentButton:{borderRadius:F.borderRadiusSmall,backgroundColor:F.colorNeutralBackground6,border:`${F.strokeWidthThin} solid ${F.colorNeutralStroke1}`,boxShadow:F.shadow4,position:"absolute",top:F.spacingVerticalXXS,right:F.spacingHorizontalXXS,"&:hover":{backgroundColor:F.colorNeutralBackground3}},inlineCardContent:{width:"var(--card-width-standard)",overflow:"auto",'&[data-target-width="veryNarrow"]':{width:"var(--card-width-very-narrow)"},'&[data-target-width="narrow"]':{width:"var(--card-width-narrow)"},'&[data-target-width="standard"]':{width:"var(--card-width-standard)"},'&[data-target-width="wide"]':{width:"100%"},'&[data-target-width="atLeast:veryNarrow"]':{minWidth:"var(--card-width-very-narrow)"},'&[data-target-width="atLeast:narrow"]':{minWidth:"var(--card-width-narrow)"},'&[data-target-width="atLeast:standard"]':{minWidth:"var(--card-width-standard)"},'&[data-target-width="atMost:veryNarrow"]':{maxWidth:"var(--card-width-very-narrow)"},'&[data-target-width="atMost:narrow"]':{maxWidth:"var(--card-width-narrow)"},'&[data-target-width="atMost:standard"]':{maxWidth:"var(--card-width-standard)"}},attachmentImage:{borderRadius:F.borderRadiusSmall},fileAttachment:{display:"inline-block",padding:`${F.spacingVerticalXXS} ${F.spacingHorizontalS}`,backgroundColor:F.colorNeutralBackground1,borderRadius:F.borderRadiusSmall,border:`${F.strokeWidthThin} solid ${F.colorNeutralStroke1}`,color:F.colorNeutralForeground1}}),kG=Vr(Bk,_k),BG=S.memo(({attachment:e,index:t,onRemove:r,showRemoveButton:o=!0})=>{var c,d;const i=N4(),s=S.useCallback(()=>{switch(e.type){case"card":return e.content&&E.jsx(E4,{card:e.content});case"image":return E.jsx(r1,{src:e.content,alt:e.name||"Image attachment",className:i.attachmentImage});case"file":return E.jsx("div",{className:i.fileAttachment,children:e.name||"File attachment"});default:return E.jsx("div",{children:e.name||"Attachment"})}},[e.content,e.type,e.name,i]);return E.jsxs("div",{contentEditable:!1,className:i.inlineAttachmentCard,children:[o&&E.jsx(er,{content:"Remove",relationship:"label",children:E.jsx(en,{appearance:"transparent",icon:E.jsx(kG,{}),onClick:()=>r(t),"aria-label":"Remove attachment",className:i.removeAttachmentButton})}),E.jsx("div",{contentEditable:!1,className:i.inlineCardContent,"data-target-width":e.type==="card"?(d=(c=e.content)==null?void 0:c.msteams)==null?void 0:d.targetWidth:void 0,children:s()})]})}),R1=({attachments:e,onRemoveAttachment:t,showRemoveButtons:r=!0})=>{const o=N4();return e.length===0?null:E.jsx("div",{className:o.inlineAttachmentsContainer,children:e.map((i,s)=>E.jsx(BG,{attachment:i,index:s,onRemove:t,showRemoveButton:r},`${i.type}-${s}`))})},_G=Gt({base:{"--ce-area-padding":F.spacingHorizontalMNudge,"--ce-area-border":F.strokeWidthThin,"--ce-area-radius":F.borderRadiusMedium,"--content-min-height-small":"2.5rem","--content-max-height-small":"12.5rem","--content-min-height-medium":"2.75rem","--content-max-height-medium":"16.25rem","--content-min-height-large":"4rem","--content-max-height-large":"20rem","--transition-duration-normal":F.durationNormal,"--transition-duration-fast":F.durationUltraFast,"--transition-delay-in":F.curveDecelerateMid,"--transition-delay-out":F.curveAccelerateMid,"--transition-duration-reduced":"0.01ms","--transition-delay-reduced":"0.01ms",boxSizing:"border-box",position:"relative",margin:"0",minWidth:0,borderRadius:"var(--ce-area-radius)",width:"100%"},flexColumn:{display:"flex",flexDirection:"column"},focusState:{"::after":{boxSizing:"border-box",content:'""',position:"absolute",left:"-1px",bottom:"-1px",right:"-1px",height:`max(${F.strokeWidthThick}, var(--ce-area-radius))`,borderBottomLeftRadius:"var(--ce-area-radius)",borderBottomRightRadius:"var(--ce-area-radius)",borderBottom:`${F.strokeWidthThick} solid ${F.colorCompoundBrandStroke}`,clipPath:`inset(calc(100% - ${F.strokeWidthThick}) 0 0 0)`,transform:"scaleX(0)",transitionProperty:"transform",transitionDuration:"var(--transition-duration-fast)",transitionDelay:"var(--transition-delay-out)"},":focus-within::after":{transform:"scaleX(1)",transitionProperty:"transform",transitionDuration:"var(--transition-duration-normal)",transitionDelay:"var(--transition-delay-in)"},":focus-within:active::after":{borderBottomColor:F.colorCompoundBrandStrokePressed},":focus-within":{outlineWidth:F.strokeWidthThick,outlineStyle:"solid",outlineColor:"transparent"},"@media screen and (prefers-reduced-motion: reduce)":{"&, &::after, &:focus-within, &:focus-within::after":{transitionDuration:"var(--transition-duration-reduced)",transitionDelay:"var(--transition-delay-reduced)"}}},placeholder:{'&[data-is-empty="true"]::before':{content:"attr(data-placeholder)",position:"absolute",color:F.colorNeutralForeground4,pointerEvents:"none",userSelect:"none",minHeight:"1.5rem"}},container:{display:"flex",alignItems:"flex-end",overflow:"hidden",minWidth:0,"&.editMode":{flex:"1 1 100%"}},disabled:{backgroundColor:F.colorTransparentBackground,border:`var(--ce-area-border) solid ${F.colorNeutralStrokeDisabled}`,"@media (forced-colors: active)":{border:"var(--ce-area-border) solid Gray"}},interactive:{"::after":{boxSizing:"border-box",content:'""',position:"absolute",left:"-1px",bottom:"-1px",right:"-1px",height:`max(${F.strokeWidthThick}, var(--ce-area-radius))`,borderBottomLeftRadius:"var(--ce-area-radius)",borderBottomRightRadius:"var(--ce-area-radius)",borderBottom:`${F.strokeWidthThick} solid ${F.colorCompoundBrandStroke}`,clipPath:`inset(calc(100% - ${F.strokeWidthThick}) 0 0 0)`,transform:"scaleX(0)",transitionProperty:"transform",transitionDuration:"var(--transition-duration-fast)",transitionDelay:"var(--transition-delay-out)"},":focus-within::after":{transform:"scaleX(1)",transitionProperty:"transform",transitionDuration:"var(--transition-duration-normal)",transitionDelay:"var(--transition-delay-in)"},":focus-within:active::after":{borderBottomColor:F.colorCompoundBrandStrokePressed},":focus-within":{outlineWidth:F.strokeWidthThick,outlineStyle:"solid",outlineColor:"transparent"},"@media screen and (prefers-reduced-motion: reduce)":{"&, &::after, &:focus-within, &:focus-within::after":{transitionDuration:"var(--transition-duration-reduced)",transitionDelay:"var(--transition-delay-reduced)"}}},filled:{border:`var(--ce-area-border) solid ${F.colorTransparentStroke}`,":hover,:focus-within":{border:`var(--ce-area-border) solid ${F.colorTransparentStroke}`}},"filled-darker":{backgroundColor:F.colorNeutralBackground3},"filled-lighter":{backgroundColor:F.colorNeutralBackground1},outline:{backgroundColor:F.colorNeutralBackground1,border:`var(--ce-area-border) solid ${F.colorNeutralStroke1}`,borderBottomColor:F.colorNeutralStrokeAccessible},outlineInteractive:{":hover":{border:`var(--ce-area-border) solid ${F.colorNeutralStroke1Hover}`,borderBottomColor:F.colorNeutralStrokeAccessibleHover},":active":{border:`var(--ce-area-border) solid ${F.colorNeutralStroke1Pressed}`,borderBottomColor:F.colorNeutralStrokeAccessiblePressed},":focus-within":{border:`var(--ce-area-border) solid ${F.colorNeutralStroke1Pressed}`,borderBottomColor:F.colorCompoundBrandStroke}},invalid:{":not(:focus-within),:hover:not(:focus-within)":{border:`var(--ce-area-border) solid ${F.colorPaletteRedBorder2}`}},contentWrapper:{flex:"1 1 auto",minWidth:0,maxHeight:"inherit",overflowY:"auto",padding:"var(--ce-area-padding)",alignSelf:"stretch","& > *:not(:first-child)":{marginTop:F.spacingVerticalS},"&.editMode":{flex:"1 0 auto",minWidth:"100%"}},fullWidth:{flex:"1 1 100%"},toolbarWrapper:{display:"flex",alignItems:"center",flex:"0 0 auto",alignSelf:"flex-end"},contentEditableBase:{border:"none",outline:"none",boxShadow:"none",margin:"0",backgroundColor:F.colorSubtleBackground,boxSizing:"border-box",color:F.colorNeutralForeground1,fontFamily:F.fontFamilyBase,position:"relative",wordBreak:"break-word",whiteSpace:"pre-wrap",overflowWrap:"break-word",minHeight:"1.5rem",overflowY:"auto"},editMode:{minHeight:"3rem"},contentEditableDisabled:{color:F.colorNeutralForegroundDisabled,cursor:"not-allowed"},small:{minHeight:"var(--content-min-height-small)",maxHeight:"var(--content-max-height-small)",fontSize:F.fontSizeBase200,lineHeight:"calc(var(--content-min-height-small) - var(--ce-area-padding) * 2)",fontWeight:F.fontWeightRegular},medium:{minHeight:"var(--content-min-height-medium)",maxHeight:"var(--content-max-height-medium)",fontSize:F.fontSizeBase300,lineHeight:"calc(var(--content-min-height-medium) - var(--ce-area-padding) * 2)",fontWeight:F.fontWeightRegular},large:{minHeight:"var(--content-min-height-large)",maxHeight:"var(--content-max-height-large)",fontSize:F.fontSizeBase400,lineHeight:"calc(var(--content-min-height-large) - var(--ce-area-padding) * 2)",fontWeight:F.fontWeightRegular}}),TG=({size:e="medium",appearance:t="outline",value:r,defaultValue:o,onInputChange:i,placeholder:s,disabled:c=!1,className:d,onKeyDown:f,toolbar:h,children:m,allowRichText:p=!1,title:w,...v},x)=>{if(!x)throw new Error("ContentEditableComposeBox requires a ref");const y=x,[k,B]=S.useState(!1),_=S.useRef(!0),C=_G(),[N,R]=S.useState(!1);S.useEffect(()=>{w==="Edit message"&&R(!0)},[w]),S.useEffect(()=>{const ue=fe=>{const O=fe[0];O&&(e==="small"&&O.contentRect.height>40||e==="medium"&&O.contentRect.height>44||e==="large"&&O.contentRect.height>64?B(!0):k&&B(!1))},ne=new ResizeObserver(ue);return y.current&&ne.observe(y.current),()=>ne.disconnect()},[y,k,e]),S.useEffect(()=>{if(!y.current)return;_.current?(o!==void 0&&(y.current.textContent=o),_.current=!1):y.current.innerText!==r&&(y.current.innerText=r||"");const ue=y.current.innerText;y.current.setAttribute("data-is-empty",(!ue).toString())},[o,r,y]);const j=J(C.flexColumn,C.base,C.focusState,C[e],c&&C.disabled,!c&&C.interactive,!c&&t==="outline"&&C.outline,!c&&t==="outline"&&C.outlineInteractive,!c&&t.startsWith("filled")&&C.filled,!c&&t==="filled-darker"&&C["filled-darker"],!c&&t==="filled-lighter"&&C["filled-lighter"],N&&C.fullWidth,d),D=J(C.contentEditableBase,C.placeholder,c&&C.contentEditableDisabled,N&&C.editMode),M=J(C.contentWrapper,C[e],k&&C.fullWidth),I=J(C.container,k&&C.flexColumn,N&&C.editMode),G=J(C.toolbarWrapper,C[e]),X=S.useCallback(ue=>{if(c||p)return;ue.preventDefault();const ne=ue.clipboardData.getData("text/plain"),fe=window.getSelection();if(!(fe!=null&&fe.rangeCount))return;const O=fe.getRangeAt(0);O.deleteContents();const W=document.createTextNode(ne);O.insertNode(W),O.setStartAfter(W),O.setEndAfter(W),fe.removeAllRanges(),fe.addRange(O);const L=new Event("input",{bubbles:!0});ue.currentTarget.dispatchEvent(L)},[c,p]),re=S.useCallback(ue=>{const ne=ue.target,fe=ne.innerText;ne.setAttribute("data-is-empty",(!fe).toString()),i(ue)},[i]);return E.jsx("span",{className:J(j,N&&C.editMode),children:E.jsxs("div",{className:I,children:[E.jsxs("div",{className:M,children:[E.jsx("div",{id:"content-editable-area",ref:y,role:"textbox","aria-multiline":!0,className:D,contentEditable:!c,onInput:re,onKeyDown:f,onPaste:X,"data-placeholder":s,suppressContentEditableWarning:!0,...v,title:w}),m&&E.jsx("div",{contentEditable:!1,children:m})]}),E.jsx("div",{className:G,children:h})]})})},A1=S.memo(S.forwardRef(TG));A1.displayName="ContentEditableArea";const D1=()=>{var e;return/mac/i.test(((e=navigator.userAgentData)==null?void 0:e.platform)||navigator.userAgent)},CG=Gt({toolbar:{height:"100%",marginRight:"0.25rem"},toolbarButton:{minWidth:"0",width:"2rem",height:"2rem",padding:"0"},jsonTextarea:{minHeight:"15.625rem",height:"100%",overflowY:"hidden",overflowX:"hidden",width:"100%",fontFamily:"monospace"}}),z4=S.memo(({isOpen:e,onCancel:t,onDiscard:r})=>{const o=S.useRef(null),i=S.useRef(null),s=ri({circular:!0}),{modalAttributes:c}=Fi();return E.jsx(Cf,{open:e,...c,children:E.jsx(Ef,{"aria-describedby":"dialog-description",children:E.jsxs(ju,{children:[E.jsx(Ou,{children:"Discard draft?"}),E.jsx(Mu,{id:"dialog-description",children:"Do you want to discard this draft?"}),E.jsxs(Du,{...s,children:[E.jsx(en,{ref:i,onClick:t,autoFocus:!0,children:"Keep editing"}),E.jsx(en,{ref:o,appearance:"primary",onClick:r,children:"Discard"})]})]})})})});z4.displayName="CancelEdit";const EG=["animation","video","audio"],NG=e=>EG.includes(e),L3=["adaptive","animation","audio","hero","oauth","signin","thumbnail","video"],zG=()=>({validateCardInput:t=>{if(!t.trim())return{isValid:!1,error:"Please enter JSON content."};try{const r=t.trim(),o=JSON.parse(r),i=(o==null?void 0:o.type)==="AdaptiveCard"?"adaptive":o==null?void 0:o.type;return!i||!L3.includes(i)?{isValid:!1,error:`Invalid card type. Expected one of: ${L3.join(", ")}`}:NG(i)?{isValid:!1,error:`${i} cards are not supported in Teams`,isUnsupportedType:!0}:{isValid:!0,attachment:hG(i,o)}}catch(r){return{isValid:!1,error:r instanceof SyntaxError?`Invalid JSON format: ${r.message}`:"Invalid card structure. Please verify the card format."}}}}),RG=Gt({dialog:{gridTemplateColumns:"1fr"},textarea:{width:"100%"}}),R4=S.memo(({isOpen:e,onClose:t,onSave:r,disabled:o=!1})=>{const i=D1(),[s,c]=S.useState(""),{dispatchToast:d}=Nf(),f=S.useRef(null),h=S.useRef(null),m=ri({circular:!0}),{modalAttributes:p}=Fi(),{validateCardInput:w}=zG(),v=RG(),x=()=>{const{isValid:y,attachment:k,error:B,isUnsupportedType:_}=w(s);if(!y||!k){d(E.jsx(Ul,{children:E.jsx(Vl,{children:B})}),{intent:_?"warning":"error"});return}r(k),c(""),t()};return E.jsx(Cf,{open:e,...p,children:E.jsx(Ef,{"aria-describedby":"dialog-description",children:E.jsxs(ju,{className:v.dialog,children:[E.jsx(Ou,{children:"Paste Card JSON"}),E.jsx(Mu,{id:"dialog-description",children:E.jsx(s1,{value:s,onChange:y=>c(y.target.value),placeholder:"Paste your card JSON here...",disabled:o,className:v.textarea,rows:10,onKeyDown:y=>{y.key==="Enter"&&(i?y.metaKey:y.ctrlKey)&&(y.preventDefault(),x()),y.key==="Escape"&&t()}})}),E.jsxs(Du,{...m,children:[E.jsx(en,{ref:h,onClick:t,children:"Cancel"}),E.jsx(er,{content:`Attach card (${i?"⌘":"Ctrl"} Enter)`,relationship:"label",children:E.jsx(en,{ref:f,appearance:"primary",onClick:x,disabled:o,children:"Attach card"})})]})]})})})});R4.displayName="PasteCardDialog";const AG=Vr(Bk,_k),DG=Vr(pp,MH),jG=Vr(WH,GH),j1=S.memo(({onSendMessage:e,onAttachment:t,hasContent:r=!1,editMode:o=!1,onEditCancel:i,onEditComplete:s,draftMessage:c,disabled:d=!1,editingMessageId:f=void 0,...h})=>{const m=CG(),p=Ii(),[w,v]=S.useState(!1),[x,y]=S.useState(!1),[k,B]=S.useState(!1),{setDraftMessage:_,setEditingMessageId:C}=ss(),N=D1(),R=S.useCallback(()=>{B(!0)},[]),j=S.useCallback(()=>{B(!1)},[]),D=S.useCallback(()=>{i&&i(),j()},[i,j]),M=S.useCallback(()=>{_(c),f&&C(f),p("/cards",{state:{isEditing:o}}),y(!1)},[c,o,p,_,C,f]),I=S.useCallback(()=>{e&&r&&e()},[e,r]);return E.jsxs(d1,{"aria-label":"Message actions",...h,className:m.toolbar,children:[E.jsxs(Bf,{open:x,onOpenChange:(G,X)=>y(X.open),children:[E.jsx(Au,{disableButtonEnhancement:!0,children:E.jsx(er,{content:"Attach file",relationship:"label",children:E.jsx(Za,{"aria-label":"Attach file",icon:E.jsx(OH,{}),className:m.toolbarButton,disabled:d})})}),E.jsx(Tf,{children:E.jsxs(_f,{children:[E.jsx(Hl,{onClick:()=>{v(!0),y(!1)},disabled:d,children:"Paste custom JSON"}),E.jsx(Hl,{onClick:M,disabled:d,children:"Open card designer"})]})})]}),E.jsx(R4,{isOpen:w,onClose:()=>v(!1),onSave:t,disabled:d}),E.jsx(f1,{}),o?E.jsxs(E.Fragment,{children:[E.jsx(er,{content:"Cancel",relationship:"label",children:E.jsx(Za,{"data-tid":"cancel-button","aria-label":"Cancel",className:m.toolbarButton,onClick:R,icon:E.jsx(AG,{tabIndex:-1}),disabled:d})}),E.jsx(er,{content:`Done (${N?"⌘":"Ctrl"} Enter)`,relationship:"label",children:E.jsx(Za,{"data-tid":"done-button",className:m.toolbarButton,onClick:s,icon:E.jsx(DG,{tabIndex:-1}),disabled:d||!r})})]}):E.jsx(er,{content:"Send message",relationship:"label",children:E.jsx(Za,{"data-tid":"send-button","aria-label":"Send message",className:m.toolbarButton,onClick:I,icon:E.jsx(jG,{tabIndex:-1}),disabled:d||!r})}),E.jsx(z4,{isOpen:k,onCancel:j,onDiscard:D})]})});j1.displayName="ComposeToolbar";function A4(e){const t=e.replace(/<br\s*\/?>/gi,`
`).replace(/<div>/gi,`
`).replace(/<\/div>/gi,"").replace(/&nbsp;/g," "),r=document.createElement("div");return r.innerHTML=t,r.textContent||""}function D4(e){return e.map(t=>{var r,o;return(r=t.contentType)!=null&&r.startsWith("application/vnd.microsoft.card.")?{type:"card",content:t.content,name:t.name}:(o=t.contentType)!=null&&o.startsWith("image/")?{type:"image",content:t.contentUrl||t.content,name:t.name}:{type:"file",content:t.contentUrl||t.content,name:t.name}})}const uu=Do.child("EditComposeBox"),j4=S.memo(({value:e="",defaultAttachments:t=[],onComplete:r,onCancel:o,disabled:i=!1,onCardProcessed:s,editingMessageId:c})=>{var fe;const d=Zn(),{currentCard:f,draftMessage:h,targetComponent:m,processedCardIds:p,addProcessedCardId:w,clearCurrentCard:v,clearProcessedCardIds:x,setCurrentCard:y,setDraftMessage:k}=ss(),B=S.useRef(null),[_,C]=S.useState(e),[N,R]=S.useState(t),j=S.useRef(!1);S.useEffect(()=>{C(e)},[e]),S.useEffect(()=>{R(t)},[t]),S.useEffect(()=>(j.current=!0,()=>{j.current=!1,v(),x()}),[v,x]),S.useEffect(()=>{const O=()=>{f&&j.current&&y(f,"edit")},W=B.current;if(W)return W.addEventListener("focus",O),()=>{W.removeEventListener("focus",O)}},[f,y]),S.useEffect(()=>{var W;(W=d.state)!=null&&W.isEditing&&m==="edit"&&Promise.resolve().then(()=>{j.current?h&&_!==h&&C(h):(j.current=!0,f&&y(f,"edit"))})},[(fe=d.state)==null?void 0:fe.isEditing,m,f,h,_,y]),S.useEffect(()=>{if(f&&m==="edit"&&j.current&&!i){uu.info("Logging card to CardStore");const O=JSON.stringify(f);if(p.has(O))uu.info("Card already processed, skipping");else{uu.info("Processing new card in CardStore");const W={contentType:"application/vnd.microsoft.card.adaptive",content:f};R(L=>L.some(Z=>JSON.stringify(Z.content)===O)?(uu.info("Card from CardStore already exists in attachments, skipping"),L):[...L,W])}}},[f,i,p,m]),S.useEffect(()=>{if(f&&m==="edit"&&j.current&&!i){const O=JSON.stringify(f);p.has(O)||(w(O),s==null||s())}},[f,i,p,m,w,s]);const D=S.useCallback(()=>{const O=_.trim();(O||N.length>0)&&(r(O,N),k(),v(),x())},[N,v,x,_,r,k]),M=S.useCallback(O=>{if(!O.contentType){uu.error("Invalid attachment: missing contentType");return}R(W=>[...W,O])},[]),I=S.useCallback(O=>{if(i)return;const W=O.target;C(A4(W.innerHTML))},[i]),G=S.useCallback(O=>{i||(O.key==="Escape"?(O.preventDefault(),o()):O.key==="Enter"&&!O.shiftKey&&(O.preventDefault(),D()))},[i,o,D]),X=S.useCallback(O=>{i||(R(W=>W.filter((L,Z)=>Z!==O)),y(null))},[i,y]),re=S.useMemo(()=>D4(N),[N]),ue=S.useMemo(()=>({onAttachment:M,onEditComplete:D,onEditCancel:o,editMode:!0,disabled:i,editingMessageId:c,draftMessage:_,hasContent:_.trim().length>0||N.length>0}),[M,D,o,i,c,_,N.length]),ne=S.useMemo(()=>E.jsx(j1,{...ue}),[ue]);return E.jsx(A1,{title:"Edit message",ref:B,defaultValue:e,value:_,onInputChange:I,onKeyDown:G,toolbar:ne,disabled:i,appearance:"outline",children:N&&E.jsx(R1,{attachments:re,onRemoveAttachment:X,showRemoveButtons:!i})})});j4.displayName="EditComposeBox";const O4=S.memo(({message:e,onEditComplete:t,onEditCancel:r,onCardProcessed:o})=>{var f,h,m;const i=Zn(),{targetComponent:s,draftMessage:c}=ss(),d=((f=i.state)==null?void 0:f.isEditing)&&s==="edit";return E.jsx(j4,{value:d?c??((h=e.body)==null?void 0:h.content):(m=e.body)==null?void 0:m.content,editingMessageId:e.id,defaultAttachments:e.attachments,onComplete:(p,w)=>t(e.id,p,w),onCancel:r,onCardProcessed:o})});O4.displayName="ChatMessageEdit";const OG=Gt({root:{gap:F.spacingVerticalS,width:"100%",display:"flex",flexDirection:"column",flex:1,minHeight:0}}),M4=S.forwardRef((e,t)=>{const{children:r,...o}=e,i=OG();return E.jsx("div",{ref:t,className:i.root,...o,children:r})});M4.displayName="Chat";const Bg={},bd={},H3=3e3,_g=e=>{var r,o;return{id:((o=(r=e.body.entities)==null?void 0:r.find(i=>i.type==="streaminfo"))==null?void 0:o.streamId)||e.body.id,replyToId:e.body.replyToId,messageType:"message",body:{content:e.body.text||"",contentType:"text",textContent:e.body.text||""},from:{conversation:{id:e.body.conversation.id,displayName:e.body.conversation.name||e.chat.name||"??"},user:e.body.from?{id:e.body.from.id,displayName:e.body.from.name}:void 0},createdDateTime:(e.body.timestamp||new Date).toUTCString()}},Ga=e=>{var t;return{feedbackLoopEnabled:!!((t=e.body.channelData)!=null&&t.feedbackLoopEnabled)}},cu=(e,t)=>{e[t]&&(clearInterval(e[t]),delete e[t])},Vf=Df()(jf((e,t)=>({chat:{id:"devtools",name:"Default",createdAt:new Date,updatedAt:new Date},messages:{},typing:{},streaming:{},feedback:{},deletedMessages:{},put:(r,o)=>e(i=>{const s=i.messages[r]||[],c=s.findIndex(d=>d.id===o.id);return c===-1?s.unshift(o):s[c]={...s[c],...o},i.messages[r]=s,{...i,messages:{...i.messages}}}),getMessageById:r=>{const o=t();for(const i of Object.values(o.messages)){const s=i.find(c=>c.id===r);if(s)return s}},addDeletedMessage:(r,o)=>e(i=>{const s=i.deletedMessages[r]||[];return s.some(c=>c.id===o.id)||s.unshift(o),{...i,deletedMessages:{...i.deletedMessages,[r]:s}}}),removeDeletedMessage:(r,o)=>e(i=>{const s=i.deletedMessages[r]||[];return{...i,deletedMessages:{...i.deletedMessages,[r]:s.filter(c=>c.id!==o)}}}),onActivity:r=>e(o=>{if(r.type!=="activity.received"&&r.type!=="activity.sent")return o;const i={...o,feedback:{...o.feedback,[r.body.id]:Ga(r).feedbackLoopEnabled}};switch(r.body.type){case"typing":return o.onTypingActivity({...r,body:r.body},i);case"message":case"messageUpdate":case"messageReaction":case"messageDelete":return o.onMessageActivity({...r,body:r.body},i)}return i}),onTypingActivity:(r,o)=>{var s;cu(Bg,r.chat.id),Bg[r.chat.id]=setTimeout(()=>{cu(Bg,r.chat.id),o.typing[r.chat.id]=!1,e(c=>({...c,typing:{...c.typing}}))},H3),o.typing[r.chat.id]=!0;const i=(s=r.body.entities)==null?void 0:s.find(c=>c.type==="streaminfo");return(i==null?void 0:i.streamType)==="streaming"?o.onStreamChunkActivity(r,o):{...o,typing:{...o.typing}}},onMessageActivity:(r,o)=>{switch(r.body.type){case"message":return o.onMessageSendActivity({...r,body:r.body},o);case"messageUpdate":return o.onMessageUpdateActivity({...r,body:r.body},o);case"messageReaction":return o.onMessageReactionActivity({...r,body:r.body},o)}return o.onMessageDeleteActivity({...r,body:r.body},o)},onMessageSendActivity:(r,o)=>{var c;o.typing[o.chat.id]=!1;const i=(c=r.body.entities)==null?void 0:c.find(d=>d.type==="streaminfo");if((i==null?void 0:i.streamType)==="final")return o.onStreamMessageActivity(r,o);const s=_g(r);return o.put(r.chat.id,{...s,attachments:r.body.attachments,attachmentLayout:r.body.attachmentLayout,reactions:[],channelData:{...r.body.channelData,...Ga(r)}}),{...o,feedback:{...o.feedback,[r.body.id]:Ga(r).feedbackLoopEnabled}}},onMessageUpdateActivity:(r,o)=>{const i=o.messages[r.chat.id]||[],s=i.findIndex(d=>d.id===r.body.id);if(s===-1)return o;const c=i[s];return r.body.text&&(c.body||(c.body={}),c.body.content=r.body.text,c.body.textContent=r.body.text),c.lastModifiedDateTime=(r.body.timestamp||new Date).toUTCString(),o.put(o.chat.id,c),o},onMessageReactionActivity:(r,o)=>{const i=o.messages[r.chat.id]||[],s=i.findIndex(d=>d.id===r.body.id);if(s===-1)return o;const c=i[s].reactions||[];for(const d of r.body.reactionsRemoved||[]){const f=c.findIndex(h=>{var m,p;return h.type===d.type&&((m=h.user)==null?void 0:m.id)===((p=d.user)==null?void 0:p.id)});f!==-1&&c.splice(f,1)}for(const d of r.body.reactionsAdded||[])c.push(d);return i[s].reactions=c,o.messages[r.chat.id]=i,{...o,messages:{...o.messages}}},onMessageDeleteActivity:(r,o)=>{const i=o.messages[r.chat.id]||[],s=i.findIndex(c=>c.id===r.body.id);return s===-1?o:(i[s].deleted=!0,o.messages[r.chat.id]=i,{...o,messages:{...o.messages}})},onStreamChunkActivity:(r,o)=>{var d;const i=(d=r.body.entities)==null?void 0:d.find(f=>f.type==="streaminfo"),s=(i==null?void 0:i.streamId)||r.body.id;cu(bd,s),bd[s]=setTimeout(()=>{cu(bd,s),e(f=>({...f,streaming:{...f.streaming,[s]:!1},feedback:{...f.feedback,[s]:Ga(r).feedbackLoopEnabled}}))},H3);const c=_g(r);return o.put(r.chat.id,{...c,channelData:{...r.body.channelData,...Ga(r)}}),{...o,streaming:{...o.streaming,[s]:!0},feedback:{...o.feedback,[s]:Ga(r).feedbackLoopEnabled}}},onStreamMessageActivity:(r,o)=>{var d;const i=(d=r.body.entities)==null?void 0:d.find(f=>f.type==="streaminfo"),s=(i==null?void 0:i.streamId)||r.body.id,c=_g(r);return cu(bd,s),o.put(r.chat.id,{...c,attachments:r.body.attachments,attachmentLayout:r.body.attachmentLayout,channelData:{...r.body.channelData,...Ga(r)}}),{...o,streaming:{...o.streaming,[s]:!1},feedback:{...o.feedback,[s]:Ga(r).feedbackLoopEnabled}}}})));let Tg=null;const q4=()=>(Tg||(Tg=new fG("",{headers:{"x-teams-devtools":"true"}})),Tg),MG=({channelId:e="",from:t,conversation:r,recipient:o,locale:i=navigator.language,reaction:s,feedback:c,isStreaming:d})=>{const f={id:(t==null?void 0:t.id)||"",name:(t==null?void 0:t.name)||"",role:(t==null?void 0:t.role)||"user"},h={id:(o==null?void 0:o.id)||"",name:(o==null?void 0:o.name)||"",role:(o==null?void 0:o.role)||"bot"},m={type:"invoke",name:"message/submitAction",channelId:e,from:f,conversation:{...r,conversationType:r.conversationType||"personal"},recipient:h,localTimestamp:new Date,locale:i,value:{actionName:"feedback",actionValue:{reaction:s,feedback:c}},channelData:{},entities:[],id:"",channel:void 0,team:void 0,meeting:void 0,notification:void 0,isStreaming(){var p;return((p=this.entities)==null?void 0:p.some(w=>w.type==="streaminfo"))||!1}};return d&&(m.entities=[{type:"streaminfo"}]),m},qG=Gt({feedbackContainer:{display:"flex",alignItems:"center",gap:F.spacingHorizontalM,padding:`${F.spacingHorizontalM}`,paddingTop:0},feedbackButton:{minWidth:"auto",padding:0},feedbackSentText:{display:"flex",alignItems:"center",gap:F.spacingHorizontalM,fontSize:F.fontSizeBase100,marginLeft:F.spacingHorizontalM},feedbackIcon:{width:"1.25rem",height:"1.25rem"},headerIcon:{color:F.colorBrandForeground1,fontSize:"1.25rem"},dialogTitle:{gap:F.spacingHorizontalM,display:"flex",alignItems:"center"},dialogContent:{display:"flex",flexDirection:"column",gap:F.spacingVerticalL,padding:0},submitContainer:{display:"flex",justifyContent:"flex-end",marginTop:F.spacingVerticalL},textarea:{width:"100%"}}),Cg=Do.child("Feedback"),FG=Vr(KH,YH),PG=Vr($H,XH),IG=({cancelButtonRef:e,classes:t,handleDialogClose:r})=>E.jsxs(ju,{children:[E.jsx(Ou,{children:E.jsx(ti,{children:"Custom feedback form coming to DevTools soon..."})}),E.jsx(Mu,{id:"dialog-content",className:t.dialogContent,children:E.jsx(ti,{children:"For now, please use the default feedback form or test on Teams client."})}),E.jsx(Du,{children:E.jsx(en,{appearance:"secondary",onClick:r,ref:e,children:"Cancel"})})]}),F4=({displayName:e,onDialogOpenChange:t,isFeedbackDialogOpen:r,value:o,feedbackType:i="default",streaming:s=!1})=>{const c=qG(),[d,f]=S.useState(!1),[h,m]=S.useState(""),[p,w]=S.useState(!1),{findByMessageId:v}=Of(),x=ri({circular:!0}),{modalAttributes:y}=Fi(),k=q4(),{chat:B}=Vf(),_=D1(),C=S.useRef(null),N=S.useRef(null),R=M=>{f(M),t(!0)},j=()=>{t(!1),m("")},D=async()=>{try{if(!(o!=null&&o.id)){Cg.error("Missing message id");return}const M=v(o.id);if(!(M!=null&&M.body)){Cg.error("Missing activity data");return}const I=M.body,G=MG({channelId:I.channelId,from:I.recipient,recipient:I.from,conversation:I.conversation,locale:navigator.language,reaction:d?"like":"dislike",feedback:h,isStreaming:s});await k.conversations.activities(B.id).create(G),w(!0),j()}catch(M){Cg.error("devtools: Error submitting feedback:",M)}};return E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:c.feedbackContainer,children:[E.jsx(en,{"aria-label":"Like",appearance:"transparent",className:c.feedbackButton,icon:E.jsx(FG,{className:c.feedbackIcon,"aria-hidden":"true"}),onClick:()=>R(!0)}),E.jsx(en,{"aria-label":"Dislike",appearance:"transparent",className:c.feedbackButton,icon:E.jsx(PG,{className:c.feedbackIcon,"aria-hidden":"true"}),onClick:()=>R(!1)}),p&&E.jsxs("div",{className:c.feedbackSentText,children:[E.jsx(ti,{italic:!0,children:"Feedback sent"}),E.jsx(n1,{as:"button",onClick:()=>w(!1),children:"Clear"})]})]}),E.jsx(Cf,{open:r,...y,children:E.jsx(Ef,{"aria-describedby":"dialog-content",children:i==="custom"?E.jsx(IG,{cancelButtonRef:N,classes:c,handleDialogClose:j}):E.jsxs(ju,{children:[E.jsxs(Ou,{className:c.dialogTitle,children:[E.jsx(QH,{className:c.headerIcon,"aria-hidden":"true",role:"presentation"}),`Submit feedback to ${e}`]}),E.jsxs(Mu,{id:"dialog-content",className:c.dialogContent,children:[E.jsx(ti,{children:d?"What did you like?":"What could be improved?"}),E.jsx(s1,{value:h,onChange:M=>{m(M.target.value)},placeholder:"Give as much detail as you can, but don't include any private or sensitive information.",rows:4,className:c.textarea,onKeyDown:M=>{M.key==="Enter"&&(_?M.metaKey:M.ctrlKey)&&(M.preventDefault(),D()),M.key==="Escape"&&(M.preventDefault(),j())}}),E.jsx(ti,{children:"We'll also share the content you're providing feedback on to help improve future responses."})]}),E.jsxs(Du,{...x,children:[E.jsx(er,{content:`Cancel (${_?"⌘":"Ctrl"} Escape)`,relationship:"label",children:E.jsx(en,{appearance:"secondary",onClick:j,ref:N,children:"Cancel"})}),E.jsx(er,{content:`Submit (${_?"⌘":"Ctrl"} Enter)`,relationship:"label",children:E.jsx(en,{appearance:"primary",onClick:D,ref:C,children:"Submit"})})]})]})})})]})};F4.displayName="Feedback";const LG=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),HG=new Uint16Array("Ȁaglq	\x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Eg;const UG=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),U3=(Eg=String.fromCodePoint)!==null&&Eg!==void 0?Eg:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function VG(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=UG.get(e))!==null&&t!==void 0?t:e}var Dr;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Dr||(Dr={}));const WG=32;var Qa;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Qa||(Qa={}));function kp(e){return e>=Dr.ZERO&&e<=Dr.NINE}function GG(e){return e>=Dr.UPPER_A&&e<=Dr.UPPER_F||e>=Dr.LOWER_A&&e<=Dr.LOWER_F}function $G(e){return e>=Dr.UPPER_A&&e<=Dr.UPPER_Z||e>=Dr.LOWER_A&&e<=Dr.LOWER_Z||kp(e)}function XG(e){return e===Dr.EQUALS||$G(e)}var Ar;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ar||(Ar={}));var Co;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Co||(Co={}));class KG{constructor(t,r,o){this.decodeTree=t,this.emitCodePoint=r,this.errors=o,this.state=Ar.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Co.Strict}startEntity(t){this.decodeMode=t,this.state=Ar.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Ar.EntityStart:return t.charCodeAt(r)===Dr.NUM?(this.state=Ar.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Ar.NamedEntity,this.stateNamedEntity(t,r));case Ar.NumericStart:return this.stateNumericStart(t,r);case Ar.NumericDecimal:return this.stateNumericDecimal(t,r);case Ar.NumericHex:return this.stateNumericHex(t,r);case Ar.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|WG)===Dr.LOWER_X?(this.state=Ar.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Ar.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,o,i){if(r!==o){const s=o-r;this.result=this.result*Math.pow(i,s)+Number.parseInt(t.substr(r,s),i),this.consumed+=s}}stateNumericHex(t,r){const o=r;for(;r<t.length;){const i=t.charCodeAt(r);if(kp(i)||GG(i))r+=1;else return this.addToNumericResult(t,o,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,o,r,16),-1}stateNumericDecimal(t,r){const o=r;for(;r<t.length;){const i=t.charCodeAt(r);if(kp(i))r+=1;else return this.addToNumericResult(t,o,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,o,r,10),-1}emitNumericEntity(t,r){var o;if(this.consumed<=r)return(o=this.errors)===null||o===void 0||o.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Dr.SEMI)this.consumed+=1;else if(this.decodeMode===Co.Strict)return 0;return this.emitCodePoint(VG(this.result),this.consumed),this.errors&&(t!==Dr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:o}=this;let i=o[this.treeIndex],s=(i&Qa.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const c=t.charCodeAt(r);if(this.treeIndex=YG(o,i,this.treeIndex+Math.max(1,s),c),this.treeIndex<0)return this.result===0||this.decodeMode===Co.Attribute&&(s===0||XG(c))?0:this.emitNotTerminatedNamedEntity();if(i=o[this.treeIndex],s=(i&Qa.VALUE_LENGTH)>>14,s!==0){if(c===Dr.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Co.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:o}=this,i=(o[r]&Qa.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,o){const{decodeTree:i}=this;return this.emitCodePoint(r===1?i[t]&~Qa.VALUE_LENGTH:i[t+1],o),r===3&&this.emitCodePoint(i[t+2],o),o}end(){var t;switch(this.state){case Ar.NamedEntity:return this.result!==0&&(this.decodeMode!==Co.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ar.NumericDecimal:return this.emitNumericEntity(0,2);case Ar.NumericHex:return this.emitNumericEntity(0,3);case Ar.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ar.EntityStart:return 0}}}function YG(e,t,r,o){const i=(t&Qa.BRANCH_LENGTH)>>7,s=t&Qa.JUMP_TABLE;if(i===0)return s!==0&&o===s?r:-1;if(s){const f=o-s;return f<0||f>=i?-1:e[r+f]-1}let c=r,d=c+i-1;for(;c<=d;){const f=c+d>>>1,h=e[f];if(h<o)c=f+1;else if(h>o)d=f-1;else return e[f+i]}return-1}var Pe;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(Pe||(Pe={}));var ve;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(ve||(ve={}));function ia(e){return e===Pe.Space||e===Pe.NewLine||e===Pe.Tab||e===Pe.FormFeed||e===Pe.CarriageReturn}function vd(e){return e===Pe.Slash||e===Pe.Gt||ia(e)}function ZG(e){return e>=Pe.LowerA&&e<=Pe.LowerZ||e>=Pe.UpperA&&e<=Pe.UpperZ}var Eo;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Eo||(Eo={}));const Sr={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class QG{constructor({xmlMode:t=!1,decodeEntities:r=!0},o){this.cbs=o,this.state=ve.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=ve.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=r,this.entityDecoder=new KG(t?HG:LG,(i,s)=>this.emitCodePoint(i,s))}reset(){this.state=ve.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=ve.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===Pe.Lt||!this.decodeEntities&&this.fastForwardTo(Pe.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=ve.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===Pe.Amp&&this.startEntity()}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?vd(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=ve.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===Pe.Gt||ia(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const o=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=o}this.isSpecial=!1,this.sectionStart=r+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Sr.TitleEnd?this.decodeEntities&&t===Pe.Amp&&this.startEntity():this.fastForwardTo(Pe.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===Pe.Lt)}stateCDATASequence(t){t===Sr.Cdata[this.sequenceIndex]?++this.sequenceIndex===Sr.Cdata.length&&(this.state=ve.InCommentLike,this.currentSequence=Sr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=ve.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Sr.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=ve.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!vd(t):ZG(t)}startSpecial(t,r){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=r,this.state=ve.SpecialStartSequence}stateBeforeTagName(t){if(t===Pe.ExclamationMark)this.state=ve.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===Pe.Questionmark)this.state=ve.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const r=t|32;this.sectionStart=this.index,this.xmlMode?this.state=ve.InTagName:r===Sr.ScriptEnd[2]?this.state=ve.BeforeSpecialS:r===Sr.TitleEnd[2]||r===Sr.XmpEnd[2]?this.state=ve.BeforeSpecialT:this.state=ve.InTagName}else t===Pe.Slash?this.state=ve.BeforeClosingTagName:(this.state=ve.Text,this.stateText(t))}stateInTagName(t){vd(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=ve.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){ia(t)||(t===Pe.Gt?this.state=ve.Text:(this.state=this.isTagStartChar(t)?ve.InClosingTagName:ve.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===Pe.Gt||ia(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=ve.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===Pe.Gt||this.fastForwardTo(Pe.Gt))&&(this.state=ve.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===Pe.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=ve.InSpecialTag,this.sequenceIndex=0):this.state=ve.Text,this.sectionStart=this.index+1):t===Pe.Slash?this.state=ve.InSelfClosingTag:ia(t)||(this.state=ve.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===Pe.Gt?(this.cbs.onselfclosingtag(this.index),this.state=ve.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ia(t)||(this.state=ve.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===Pe.Eq||vd(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=ve.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===Pe.Eq?this.state=ve.BeforeAttributeValue:t===Pe.Slash||t===Pe.Gt?(this.cbs.onattribend(Eo.NoValue,this.sectionStart),this.sectionStart=-1,this.state=ve.BeforeAttributeName,this.stateBeforeAttributeName(t)):ia(t)||(this.cbs.onattribend(Eo.NoValue,this.sectionStart),this.state=ve.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===Pe.DoubleQuote?(this.state=ve.InAttributeValueDq,this.sectionStart=this.index+1):t===Pe.SingleQuote?(this.state=ve.InAttributeValueSq,this.sectionStart=this.index+1):ia(t)||(this.sectionStart=this.index,this.state=ve.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,r){t===r||!this.decodeEntities&&this.fastForwardTo(r)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===Pe.DoubleQuote?Eo.Double:Eo.Single,this.index+1),this.state=ve.BeforeAttributeName):this.decodeEntities&&t===Pe.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,Pe.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,Pe.SingleQuote)}stateInAttributeValueNoQuotes(t){ia(t)||t===Pe.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Eo.Unquoted,this.index),this.state=ve.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===Pe.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===Pe.OpeningSquareBracket?(this.state=ve.CDATASequence,this.sequenceIndex=0):this.state=t===Pe.Dash?ve.BeforeComment:ve.InDeclaration}stateInDeclaration(t){(t===Pe.Gt||this.fastForwardTo(Pe.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=ve.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===Pe.Gt||this.fastForwardTo(Pe.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=ve.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===Pe.Dash?(this.state=ve.InCommentLike,this.currentSequence=Sr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=ve.InDeclaration}stateInSpecialComment(t){(t===Pe.Gt||this.fastForwardTo(Pe.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=ve.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const r=t|32;r===Sr.ScriptEnd[3]?this.startSpecial(Sr.ScriptEnd,4):r===Sr.StyleEnd[3]?this.startSpecial(Sr.StyleEnd,4):(this.state=ve.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){switch(t|32){case Sr.TitleEnd[3]:{this.startSpecial(Sr.TitleEnd,4);break}case Sr.TextareaEnd[3]:{this.startSpecial(Sr.TextareaEnd,4);break}case Sr.XmpEnd[3]:{this.startSpecial(Sr.XmpEnd,4);break}default:this.state=ve.InTagName,this.stateInTagName(t)}}startEntity(){this.baseState=this.state,this.state=ve.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Co.Strict:this.baseState===ve.Text||this.baseState===ve.InSpecialTag?Co.Legacy:Co.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===ve.Text||this.state===ve.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===ve.InAttributeValueDq||this.state===ve.InAttributeValueSq||this.state===ve.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case ve.Text:{this.stateText(t);break}case ve.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case ve.InSpecialTag:{this.stateInSpecialTag(t);break}case ve.CDATASequence:{this.stateCDATASequence(t);break}case ve.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case ve.InAttributeName:{this.stateInAttributeName(t);break}case ve.InCommentLike:{this.stateInCommentLike(t);break}case ve.InSpecialComment:{this.stateInSpecialComment(t);break}case ve.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case ve.InTagName:{this.stateInTagName(t);break}case ve.InClosingTagName:{this.stateInClosingTagName(t);break}case ve.BeforeTagName:{this.stateBeforeTagName(t);break}case ve.AfterAttributeName:{this.stateAfterAttributeName(t);break}case ve.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case ve.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case ve.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case ve.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case ve.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case ve.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case ve.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case ve.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case ve.InDeclaration:{this.stateInDeclaration(t);break}case ve.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case ve.BeforeComment:{this.stateBeforeComment(t);break}case ve.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case ve.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===ve.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===ve.InCommentLike?this.currentSequence===Sr.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===ve.InTagName||this.state===ve.BeforeAttributeName||this.state===ve.BeforeAttributeValue||this.state===ve.AfterAttributeName||this.state===ve.InAttributeName||this.state===ve.InAttributeValueSq||this.state===ve.InAttributeValueDq||this.state===ve.InAttributeValueNq||this.state===ve.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){this.baseState!==ve.Text&&this.baseState!==ve.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}}const Tl=new Set(["input","option","optgroup","select","button","datalist","textarea"]),Ot=new Set(["p"]),V3=new Set(["thead","tbody"]),W3=new Set(["dd","dt"]),G3=new Set(["rt","rp"]),JG=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",Ot],["h1",Ot],["h2",Ot],["h3",Ot],["h4",Ot],["h5",Ot],["h6",Ot],["select",Tl],["input",Tl],["output",Tl],["button",Tl],["datalist",Tl],["textarea",Tl],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",W3],["dt",W3],["address",Ot],["article",Ot],["aside",Ot],["blockquote",Ot],["details",Ot],["div",Ot],["dl",Ot],["fieldset",Ot],["figcaption",Ot],["figure",Ot],["footer",Ot],["form",Ot],["header",Ot],["hr",Ot],["main",Ot],["nav",Ot],["ol",Ot],["pre",Ot],["section",Ot],["table",Ot],["ul",Ot],["rt",G3],["rp",G3],["tbody",V3],["tfoot",V3]]),e$=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),$3=new Set(["math","svg"]),X3=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),t$=/\s|\//;class r${constructor(t,r={}){var o,i,s,c,d,f;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(o=r.lowerCaseTags)!==null&&o!==void 0?o:this.htmlMode,this.lowerCaseAttributeNames=(i=r.lowerCaseAttributeNames)!==null&&i!==void 0?i:this.htmlMode,this.recognizeSelfClosing=(s=r.recognizeSelfClosing)!==null&&s!==void 0?s:!this.htmlMode,this.tokenizer=new((c=r.Tokenizer)!==null&&c!==void 0?c:QG)(this.options,this),this.foreignContext=[!this.htmlMode],(f=(d=this.cbs).onparserinit)===null||f===void 0||f.call(d,this)}ontext(t,r){var o,i;const s=this.getSlice(t,r);this.endIndex=r-1,(i=(o=this.cbs).ontext)===null||i===void 0||i.call(o,s),this.startIndex=r}ontextentity(t,r){var o,i;this.endIndex=r-1,(i=(o=this.cbs).ontext)===null||i===void 0||i.call(o,U3(t)),this.startIndex=r}isVoidElement(t){return this.htmlMode&&e$.has(t)}onopentagname(t,r){this.endIndex=r;let o=this.getSlice(t,r);this.lowerCaseTagNames&&(o=o.toLowerCase()),this.emitOpenTag(o)}emitOpenTag(t){var r,o,i,s;this.openTagStart=this.startIndex,this.tagname=t;const c=this.htmlMode&&JG.get(t);if(c)for(;this.stack.length>0&&c.has(this.stack[0]);){const d=this.stack.shift();(o=(r=this.cbs).onclosetag)===null||o===void 0||o.call(r,d,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&($3.has(t)?this.foreignContext.unshift(!0):X3.has(t)&&this.foreignContext.unshift(!1))),(s=(i=this.cbs).onopentagname)===null||s===void 0||s.call(i,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var r,o;this.startIndex=this.openTagStart,this.attribs&&((o=(r=this.cbs).onopentag)===null||o===void 0||o.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,r){var o,i,s,c,d,f,h,m;this.endIndex=r;let p=this.getSlice(t,r);if(this.lowerCaseTagNames&&(p=p.toLowerCase()),this.htmlMode&&($3.has(p)||X3.has(p))&&this.foreignContext.shift(),this.isVoidElement(p))this.htmlMode&&p==="br"&&((c=(s=this.cbs).onopentagname)===null||c===void 0||c.call(s,"br"),(f=(d=this.cbs).onopentag)===null||f===void 0||f.call(d,"br",{},!0),(m=(h=this.cbs).onclosetag)===null||m===void 0||m.call(h,"br",!1));else{const w=this.stack.indexOf(p);if(w!==-1)for(let v=0;v<=w;v++){const x=this.stack.shift();(i=(o=this.cbs).onclosetag)===null||i===void 0||i.call(o,x,v!==w)}else this.htmlMode&&p==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var r,o;const i=this.tagname;this.endOpenTag(t),this.stack[0]===i&&((o=(r=this.cbs).onclosetag)===null||o===void 0||o.call(r,i,!t),this.stack.shift())}onattribname(t,r){this.startIndex=t;const o=this.getSlice(t,r);this.attribname=this.lowerCaseAttributeNames?o.toLowerCase():o}onattribdata(t,r){this.attribvalue+=this.getSlice(t,r)}onattribentity(t){this.attribvalue+=U3(t)}onattribend(t,r){var o,i;this.endIndex=r,(i=(o=this.cbs).onattribute)===null||i===void 0||i.call(o,this.attribname,this.attribvalue,t===Eo.Double?'"':t===Eo.Single?"'":t===Eo.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const r=t.search(t$);let o=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(o=o.toLowerCase()),o}ondeclaration(t,r){this.endIndex=r;const o=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){const i=this.getInstructionName(o);this.cbs.onprocessinginstruction(`!${i}`,`!${o}`)}this.startIndex=r+1}onprocessinginstruction(t,r){this.endIndex=r;const o=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){const i=this.getInstructionName(o);this.cbs.onprocessinginstruction(`?${i}`,`?${o}`)}this.startIndex=r+1}oncomment(t,r,o){var i,s,c,d;this.endIndex=r,(s=(i=this.cbs).oncomment)===null||s===void 0||s.call(i,this.getSlice(t,r-o)),(d=(c=this.cbs).oncommentend)===null||d===void 0||d.call(c),this.startIndex=r+1}oncdata(t,r,o){var i,s,c,d,f,h,m,p,w,v;this.endIndex=r;const x=this.getSlice(t,r-o);!this.htmlMode||this.options.recognizeCDATA?((s=(i=this.cbs).oncdatastart)===null||s===void 0||s.call(i),(d=(c=this.cbs).ontext)===null||d===void 0||d.call(c,x),(h=(f=this.cbs).oncdataend)===null||h===void 0||h.call(f)):((p=(m=this.cbs).oncomment)===null||p===void 0||p.call(m,`[CDATA[${x}]]`),(v=(w=this.cbs).oncommentend)===null||v===void 0||v.call(w)),this.startIndex=r+1}onend(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let o=0;o<this.stack.length;o++)this.cbs.onclosetag(this.stack[o],!0)}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)}reset(){var t,r,o,i;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(i=(o=this.cbs).onparserinit)===null||i===void 0||i.call(o,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,r){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let o=this.buffers[0].slice(t-this.bufferOffset,r-this.bufferOffset);for(;r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),o+=this.buffers[0].slice(0,r-this.bufferOffset);return o}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var r,o;if(this.ended){(o=(r=this.cbs).onerror)===null||o===void 0||o.call(r,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var r,o;if(this.ended){(o=(r=this.cbs).onerror)===null||o===void 0||o.call(r,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}var wt;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(wt||(wt={}));function n$(e){return e.type===wt.Tag||e.type===wt.Script||e.type===wt.Style}wt.Root;wt.Text;wt.Directive;wt.Comment;wt.Script;wt.Style;wt.Tag;wt.CDATA;wt.Doctype;let P4=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return V4(this,t)}};class O1 extends P4{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class Bp extends O1{constructor(){super(...arguments),this.type=wt.Text}get nodeType(){return 3}}class I4 extends O1{constructor(){super(...arguments),this.type=wt.Comment}get nodeType(){return 8}}class L4 extends O1{constructor(t,r){super(r),this.name=t,this.type=wt.Directive}get nodeType(){return 1}}class M1 extends P4{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class H4 extends M1{constructor(){super(...arguments),this.type=wt.CDATA}get nodeType(){return 4}}class _p extends M1{constructor(){super(...arguments),this.type=wt.Root}get nodeType(){return 9}}let U4=class extends M1{constructor(t,r,o=[],i=t==="script"?wt.Script:t==="style"?wt.Style:wt.Tag){super(o),this.name=t,this.attribs=r,this.type=i}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var r,o;return{name:t,value:this.attribs[t],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[t],prefix:(o=this["x-attribsPrefix"])===null||o===void 0?void 0:o[t]}})}};function o$(e){return n$(e)}function a$(e){return e.type===wt.CDATA}function i$(e){return e.type===wt.Text}function l$(e){return e.type===wt.Comment}function s$(e){return e.type===wt.Directive}function u$(e){return e.type===wt.Root}function V4(e,t=!1){let r;if(i$(e))r=new Bp(e.data);else if(l$(e))r=new I4(e.data);else if(o$(e)){const o=t?Ng(e.children):[],i=new U4(e.name,{...e.attribs},o);o.forEach(s=>s.parent=i),e.namespace!=null&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=i}else if(a$(e)){const o=t?Ng(e.children):[],i=new H4(o);o.forEach(s=>s.parent=i),r=i}else if(u$(e)){const o=t?Ng(e.children):[],i=new _p(o);o.forEach(s=>s.parent=i),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),r=i}else if(s$(e)){const o=new L4(e.name,e.data);e["x-name"]!=null&&(o["x-name"]=e["x-name"],o["x-publicId"]=e["x-publicId"],o["x-systemId"]=e["x-systemId"]),r=o}else throw new Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function Ng(e){const t=e.map(r=>V4(r,!0));for(let r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}const K3={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class c${constructor(t,r,o){this.dom=[],this.root=new _p(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(o=r,r=K3),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??K3,this.elementCB=o??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new _p(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,r){const o=this.options.xmlMode?wt.Tag:void 0,i=new U4(t,r,void 0,o);this.addNode(i),this.tagStack.push(i)}ontext(t){const{lastNode:r}=this;if(r&&r.type===wt.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{const o=new Bp(t);this.addNode(o),this.lastNode=o}}oncomment(t){if(this.lastNode&&this.lastNode.type===wt.Comment){this.lastNode.data+=t;return}const r=new I4(t);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){const t=new Bp(""),r=new H4([t]);this.addNode(r),t.parent=r,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,r){const o=new L4(t,r);this.addNode(o)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){const r=this.tagStack[this.tagStack.length-1],o=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),o&&(t.prev=o,o.next=t),t.parent=r,this.lastNode=null}}function d$(e,t){const r=new c$(void 0,t);return new r$(r,t).end(e),r.root}const f$=Gt({contentContainer:{"& div, & p, & pre, & blockquote":{margin:0,marginBottom:F.spacingVerticalS},"& img":{verticalAlign:"text-bottom"},"& > blockquote":{margin:`${F.spacingVerticalXS} 0`,padding:`${F.spacingVerticalS} ${F.spacingVerticalS} ${F.spacingVerticalS} ${F.spacingVerticalM}`,border:`${F.strokeWidthThin} solid ${F.colorNeutralStroke2}`,borderLeft:`${F.strokeWidthThicker} solid ${F.colorNeutralForeground4}`,background:F.colorNeutralBackground2,fontWeight:F.fontWeightRegular,marginBlock:"unset","& > *:not(p)":{fontWeight:F.fontWeightRegular,fontSize:F.fontSizeBase200,lineHeight:F.lineHeightBase200,color:F.colorNeutralForeground1},"& > *:not(:last-child)":{marginRight:F.spacingHorizontalXS}},"& > pre":{border:`${F.strokeWidthThin} solid ${F.colorNeutralStroke2}`,background:F.colorNeutralBackground2,"& > code":{fontFamily:F.fontFamilyMonospace,fontWeight:F.fontWeightRegular,fontSize:F.fontSizeBase200,lineHeight:F.lineHeightBase200}}}}),h$=["class","classname","itemid","itemprop","itemscope","itemtype","style"],m$={a:{target:"_blank",rel:"noopener noreferrer"}},g$=({children:e,itemprop:t,itemid:r})=>{switch(t){case"time":{const o=new Date(Number(r??""));return isNaN(o.getTime())?new Date().toLocaleString():o.toLocaleString()}default:return e}},p$=({name:e,attribs:t})=>{const r=Object.fromEntries(Object.entries(t).filter(([i])=>!h$.includes(i))),o=m$[e];return o?{...r,...o}:r},W4=(e,t=0)=>{var r;if(e.type==="text")return E.jsx("span",{children:e.data},t);if(e.type==="tag"){const o=(r=e.children)==null?void 0:r.map((c,d)=>W4(c,d)),i=g$({...e.attribs,children:o}),s=p$(e);switch(e.name){case"a":case"b":case"blockquote":case"code":case"div":case"em":case"i":case"li":case"ol":case"p":case"pre":case"s":case"span":case"strong":case"u":case"ul":{const c=e.name;return E.jsx(c,{...s,children:i},t)}case"br":case"img":{const c=e.name;return E.jsx(c,{...s},t)}default:return E.jsx("span",{...s,children:i},t)}}return null},b$=Dd.memo(function({content:t}){const r=f$(),o=t.replace(/\r?\n/g,"<br />"),s=d$(o,{}).children||[];return E.jsx("div",{className:r.contentContainer,children:s.map((c,d)=>W4(c,d))})}),v$=e=>{const{byId:t}=Of();return S.useMemo(()=>{const r=t[e];return(r==null?void 0:r.body.conversation.conversationType)??"personal"},[t,e])},G4=[{label:"👍",reaction:"like"},{label:"❤️",reaction:"heart"},{label:"😆",reaction:"laugh"},{label:"😮",reaction:"surprised"}],$4=Gt({toolbar:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",position:"relative",margin:0},emojiButtonSelected:{},toolbarButton:{minWidth:"0",width:"2.5rem",height:"2.5rem",padding:"0",border:`1px solid ${F.colorSubtleBackground}`,fontSize:F.fontSizeBase400,":hover:not(:focus-visible)":{outline:"none"}},tooltipText:{textTransform:"capitalize"}}),y$=Vr(IH,LH);Vr(oU,cU);const x$=Vr(UH,VH),w$=Vr(FH,PH),S$=Vr(rU,HH),X4=S.memo(({onMessageAction:e,userSentMessage:t,value:r})=>{const o=$4(),i=[];return t&&i.push({label:"Delete",icon:w$,handleAction:()=>{e({id:r.id,type:"messageDelete"})}}),i.length===0?null:E.jsxs(Bf,{children:[E.jsx(Au,{children:E.jsx(er,{content:"More options",relationship:"label",children:E.jsx(Za,{"aria-label":"More options",icon:E.jsx(S$,{}),className:o.toolbarButton},"more-options")})}),E.jsx(Tf,{children:E.jsx(_f,{children:i.map(s=>E.jsx(Hl,{"aria-label":s.label,icon:E.jsx(s.icon,{}),onClick:s.handleAction,disabled:s.label==="Reply with quote",children:s.label},s.label))})})]})});X4.displayName="MessageActionsMoreMenu";const K4=S.memo(({userSentMessage:e,value:t,onMessageAction:r,...o})=>{const i=$4(),s=Ii(),c=v$(t.id),d=S.useCallback(()=>{s({pathname:"/activities",search:`body.id=${t.id}`})},[s,t.id]),f=S.useCallback(w=>{r({id:t.id,type:"messageReaction",reactionType:w})},[r,t.id]),h=S.useCallback(()=>{r({id:t.id,type:"messageUpdate"})},[r,t.id]),m=S.useMemo(()=>E.jsx(q6,{children:G4.map(({label:w,reaction:v})=>E.jsx(er,{content:E.jsx("span",{className:i.tooltipText,children:v}),relationship:"label",children:E.jsx(M6,{as:"button",appearance:"subtle","aria-label":`React with ${v}`,className:i.toolbarButton,size:"small",name:v,value:v,onClick:()=>f(v),children:w})},`toolbar-${v}`))}),[i.toolbarButton,i.tooltipText,f]),p=S.useMemo(()=>E.jsxs(E.Fragment,{children:[E.jsx(er,{content:"Examine activity",relationship:"label",children:E.jsx(Za,{appearance:"subtle",className:i.toolbarButton,icon:E.jsx(x$,{}),onClick:d},"examine-activity")}),e&&c==="personal"&&E.jsx(er,{content:"Edit",relationship:"label",children:E.jsx(Za,{"aria-label":"Edit",icon:E.jsx(y$,{}),className:i.toolbarButton,onClick:h},"Edit")}),E.jsx(X4,{conversationType:c,userSentMessage:e,onMessageAction:r,value:t})]}),[i.toolbarButton,c,h,d,r,e,t]);return E.jsxs(d1,{"aria-label":"Message actions",...o,children:[m,E.jsx(f1,{}),p]})});K4.displayName="MessageActionsToolbar";const q1=Gt({messageContainer:{display:"flex",flexDirection:"column","&:focus":{outline:"none"},borderRadius:F.borderRadiusMedium},messageBody:{display:"block",position:"relative",padding:`${F.spacingVerticalM} ${F.spacingHorizontalM}`,boxSizing:"border-box",borderRadius:F.borderRadiusMedium,border:`${F.strokeWidthThick} solid ${F.colorSubtleBackground}`,width:"100%",wordWrap:"break-word",overflowWrap:"break-word","&:focus":{outline:`${F.strokeWidthThick} solid ${F.colorNeutralForeground2Link}`,borderRadius:F.borderRadiusMedium},"& a":{color:F.colorBrandForegroundLink,borderRadius:F.borderRadiusMedium,"&:hover":{color:F.colorBrandForegroundLinkHover},"&:active":{color:F.colorBrandForegroundLinkPressed},"&:focus":{color:F.colorBrandForegroundLinkSelected}}},messageContent:{display:"block"},messageText:{display:"block",whiteSpace:"pre-wrap"},messageDeleted:{fontStyle:"italic"},messageDeletedLink:{marginLeft:"0.75rem",paddingInlineEnd:"0.75rem",paddingInlineStart:"0.75rem"},received:{alignSelf:"flex-start",backgroundColor:F.colorNeutralBackground1},sent:{alignSelf:"flex-end",backgroundColor:F.colorBrandBackground2,color:F.colorNeutralForeground1},tooltipText:{textTransform:"capitalize"},streaming:{border:`${F.strokeWidthThick} solid ${F.colorSubtleBackground}`,borderRadius:F.borderRadiusMedium,animationName:{"0%":{border:`${F.strokeWidthThick} solid rgba(70, 79, 235, 1)`},"25%":{border:`${F.strokeWidthThick} solid rgba(71, 207, 250, 1)`},"50%":{border:`${F.strokeWidthThick} solid rgba(180, 124, 248, 1)`},"75%":{border:`${F.strokeWidthThick} solid rgba(71, 207, 250, 1)`},"100%":{border:`${F.strokeWidthThick} solid rgba(70, 79, 235, 1)`}},animationDuration:"4s",animationTimingFunction:"linear",animationIterationCount:"3"},streamingCursor:{display:"inline-block",backgroundColor:"white",width:"0.25rem",height:"1rem",marginLeft:F.spacingHorizontalXXS,verticalAlign:"text-bottom",animationName:{"0%, 100%":{opacity:1},"50%":{opacity:.3}},animationDuration:"1s",animationTimingFunction:"ease-in-out",animationIterationCount:"infinite"},reactionContainer:{display:"flex",flexDirection:"row",visibility:"hidden",gap:F.spacingHorizontalS},reactionContainerSent:{justifyContent:"flex-end"},reactionContainerVisible:{visibility:"visible"},reactionButton:{minHeight:"1rem",minWidth:"1rem",transition:"background-color 0.2s ease, color 0.2s ease",marginTop:"-0.5rem"},reactionFromUser:{border:`${F.strokeWidthThin} solid ${F.colorNeutralStrokeAccessibleSelected}`},popoverSurface:{padding:"0"},feedbackContainer:{display:"flex",gap:F.spacingHorizontalS},attachments:{display:"flex",gap:F.spacingHorizontalS,padding:F.spacingVerticalXS},attachmentImage:{maxWidth:"100%",borderRadius:F.borderRadiusSmall,marginTop:F.spacingVerticalS}}),Y4=S.memo(({id:e,sendDirection:t,onMessageAction:r,user:o})=>{const i=q1(),s=S.useCallback(async()=>{await r({id:e,type:"messageUpdate",eventType:"undeleteMessage",user:o})},[e,r,o]);return E.jsx("div",{className:i.messageContainer,children:E.jsx("div",{className:J(i.messageBody,t==="sent"?i.sent:i.received),children:E.jsx("div",{className:i.messageContent,children:E.jsxs("div",{className:J(i.messageText,i.messageDeleted),children:["This message has been deleted.",E.jsx(n1,{as:"button",className:i.messageDeletedLink,onClick:s,inline:!0,children:"Undo"})]})})})})});Y4.displayName="ChatMessageDeleted";const zg=Do.child("MessageAttachments"),k$=["image/png","image/jpeg","image/gif","image/jpg"],Rg=e=>!!e&&k$.includes(e),Y3=e=>!!e&&typeof e=="object"&&"contentType"in e,Z4=S.memo(({attachments:e,classes:t,onRemoveAttachment:r=()=>{},showRemoveButtons:o=!1})=>{const[i,s]=S.useState(new Set),c=S.useCallback(m=>{const p=m.id||`${m.name}-${m.contentUrl}`;zg.error(`Failed to load image attachment: ${p}`,{attachment:m}),s(w=>new Set(w).add(p))},[]),d=S.useCallback(m=>{if(!Y3(m))return zg.warn("Invalid attachment object",{attachment:m}),null;const p=m.id||`${m.name}-${m.contentUrl}`;return i.has(p)?null:Rg(m.contentType)?E.jsx(r1,{src:m.contentUrl,alt:m.name||"Untitled image attachment",className:t.attachmentImage,onError:()=>c(m)},p):(zg.warn(`Unsupported image type: ${m.contentType}`),null)},[t.attachmentImage,i,c]),{imageAttachments:f,nonImageAttachments:h}=S.useMemo(()=>{const m=e.filter(Y3);return{imageAttachments:m.filter(p=>Rg(p.contentType)),nonImageAttachments:m.filter(p=>!Rg(p.contentType)).map(p=>{var w;return(w=p.contentType)!=null&&w.startsWith("application/vnd.microsoft.card.")?{type:"card",content:p.content||null,name:p.name||"Untitled card"}:{type:"file",content:p.contentUrl||p.content||null,name:p.name||"Untitled file"}})}},[e]);return e.length?E.jsxs(E.Fragment,{children:[f.length>0&&E.jsx("div",{className:t.attachments,children:f.map(d)}),h.length>0&&E.jsx(R1,{attachments:h,onRemoveAttachment:r,showRemoveButtons:o})]}):null});Z4.displayName="MessageAttachments";const Q4=S.memo(({reaction:e,isFromUser:t,onReactionClick:r})=>{var s;const o=q1(),i=(s=G4.find(c=>c.reaction===e.type))==null?void 0:s.label;return E.jsx(er,{content:E.jsx("span",{className:o.tooltipText,children:e.type}),relationship:"label",positioning:{align:"center",position:"below"},children:E.jsx(en,{className:J(o.reactionButton,t&&o.reactionFromUser).trim(),onClick:r,shape:"circular",size:"small",children:i})})});Q4.displayName="MessageReactionButton";const J4=S.memo(({content:e,streaming:t=!1,feedback:r=!1,sendDirection:o,value:i,onMessageAction:s})=>{var I,G,X,re,ue;const c=q1(),{deletedMessages:d,chat:f}=Vf(),h=(I=d[f.id])==null?void 0:I.some(ne=>ne.id===i.id),m=`message-${i.id}`,[p,w]=S.useState(!1),[v,x]=S.useState(!1),[y,k]=S.useState(),[B,_]=S.useState(!1),C=S.useRef(!1),N=S.useCallback(ne=>{(ne.key==="Enter"||ne.key===" ")&&(ne.preventDefault(),B||(x(!0),w(!0),setTimeout(()=>{const fe=document.querySelector(`[data-message-toolbar="${i.id}"] button`);fe&&fe.focus()},100)))},[i.id,B]),R=S.useCallback(()=>{!p&&!B&&w(!0)},[p,B]),j=S.useCallback(ne=>{var fe;(fe=ne.relatedTarget)!=null&&fe.closest(`[data-message-toolbar="${i.id}"]`)||w(!1)},[i.id]),D=S.useCallback((ne,fe)=>{fe.open||x(!1),B||w(fe.open)},[B]),M=S.useCallback(ne=>{var O,W;const fe=(O=i.reactions)==null?void 0:O.find(L=>{var Z,se;return L.type===ne.type&&((Z=L.user)==null?void 0:Z.id)===((se=ne.user)==null?void 0:se.id)});k(fe?fe.user:o==="sent"?(W=i.from)==null?void 0:W.user:void 0),s({id:i.id,type:"messageReaction",reactionType:ne.type})},[i.id,i.reactions,(G=i.from)==null?void 0:G.user,o,s]);return r&&o==="received"&&(C.current=!0),h?E.jsx(Y4,{id:i.id,sendDirection:o,onMessageAction:s,user:(X=i.from)==null?void 0:X.user}):E.jsxs(E.Fragment,{children:[E.jsxs("div",{id:m,"aria-labelledby":m,className:J(c.messageContainer,o==="sent"?c.sent:c.received),children:[E.jsxs(Vd,{open:p&&!B,onOpenChange:D,openOnHover:!B,mouseLeaveDelay:100,positioning:{align:"end",position:"above"},trapFocus:v,unstable_disableAutoFocus:!v,children:[E.jsx(wf,{disableButtonEnhancement:!0,children:E.jsx("div",{tabIndex:0,role:"button","aria-haspopup":"true","aria-expanded":p,onKeyDown:N,onFocus:R,onBlur:j,className:J(c.messageBody,t&&c.streaming),children:E.jsxs("div",{className:c.messageContent,children:[E.jsx(b$,{content:e}),i.attachments&&i.attachments.length>0&&E.jsx(Z4,{attachments:i.attachments,classes:c})]})})}),E.jsx(Ud,{className:c.popoverSurface,"data-message-toolbar":i.id,children:E.jsx(K4,{userSentMessage:o==="sent",value:i,onMessageAction:s})})]}),C.current&&E.jsx(F4,{displayName:((ue=(re=i.from)==null?void 0:re.application)==null?void 0:ue.displayName)||"App",onDialogOpenChange:_,isFeedbackDialogOpen:B,value:i,streaming:t})]}),i.reactions&&i.reactions.length>0&&E.jsx("div",{className:J(c.reactionContainer,i.reactions.length>0&&c.reactionContainerVisible,o==="sent"&&c.reactionContainerSent),children:i.reactions.map(ne=>{var fe,O;return E.jsx(Q4,{reaction:ne,isFromUser:((fe=ne.user)==null?void 0:fe.id)===(y==null?void 0:y.id),onReactionClick:()=>M(ne)},`${ne.type}-${(O=ne.user)==null?void 0:O.id}`)})})]})});J4.displayName="ChatMessage";const e8=6048e5,B$=864e5,Z3=Symbol.for("constructDateFrom");function zn(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Z3 in e?e[Z3](t):e instanceof Date?new e.constructor(t):new Date(t)}function Jn(e,t){return zn(t||e,e)}function _$(e,t,r){const o=Jn(e,r==null?void 0:r.in);return isNaN(t)?zn(e,NaN):(o.setDate(o.getDate()+t),o)}let T$={};function Wf(){return T$}function Mi(e,t){var d,f,h,m;const r=Wf(),o=(t==null?void 0:t.weekStartsOn)??((f=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((m=(h=r.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??0,i=Jn(e,t==null?void 0:t.in),s=i.getDay(),c=(s<o?7:0)+s-o;return i.setDate(i.getDate()-c),i.setHours(0,0,0,0),i}function Xd(e,t){return Mi(e,{...t,weekStartsOn:1})}function t8(e,t){const r=Jn(e,t==null?void 0:t.in),o=r.getFullYear(),i=zn(r,0);i.setFullYear(o+1,0,4),i.setHours(0,0,0,0);const s=Xd(i),c=zn(r,0);c.setFullYear(o,0,4),c.setHours(0,0,0,0);const d=Xd(c);return r.getTime()>=s.getTime()?o+1:r.getTime()>=d.getTime()?o:o-1}function Q3(e){const t=Jn(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function F1(e,...t){const r=zn.bind(null,t.find(o=>typeof o=="object"));return t.map(r)}function Kd(e,t){const r=Jn(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function C$(e,t,r){const[o,i]=F1(r==null?void 0:r.in,e,t),s=Kd(o),c=Kd(i),d=+s-Q3(s),f=+c-Q3(c);return Math.round((d-f)/B$)}function E$(e,t){const r=t8(e,t),o=zn(e,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),Xd(o)}function P1(e){return zn(e,Date.now())}function r8(e,t,r){const[o,i]=F1(r==null?void 0:r.in,e,t);return+Kd(o)==+Kd(i)}function N$(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function z$(e){return!(!N$(e)&&typeof e!="number"||isNaN(+Jn(e)))}function R$(e,t){const r=Jn(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}const A$={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},D$=(e,t,r)=>{let o;const i=A$[e];return typeof i=="string"?o=i:t===1?o=i.one:o=i.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function Ag(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const j$={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},O$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},M$={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},q$={date:Ag({formats:j$,defaultWidth:"full"}),time:Ag({formats:O$,defaultWidth:"full"}),dateTime:Ag({formats:M$,defaultWidth:"full"})},F$={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},P$=(e,t,r,o)=>F$[e];function du(e){return(t,r)=>{const o=r!=null&&r.context?String(r.context):"standalone";let i;if(o==="formatting"&&e.formattingValues){const c=e.defaultFormattingWidth||e.defaultWidth,d=r!=null&&r.width?String(r.width):c;i=e.formattingValues[d]||e.formattingValues[c]}else{const c=e.defaultWidth,d=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[d]||e.values[c]}const s=e.argumentCallback?e.argumentCallback(t):t;return i[s]}}const I$={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},L$={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},H$={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},U$={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},V$={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},W$={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},G$=(e,t)=>{const r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},$$={ordinalNumber:G$,era:du({values:I$,defaultWidth:"wide"}),quarter:du({values:L$,defaultWidth:"wide",argumentCallback:e=>e-1}),month:du({values:H$,defaultWidth:"wide"}),day:du({values:U$,defaultWidth:"wide"}),dayPeriod:du({values:V$,defaultWidth:"wide",formattingValues:W$,defaultFormattingWidth:"wide"})};function fu(e){return(t,r={})=>{const o=r.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;const c=s[0],d=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(d)?K$(d,p=>p.test(c)):X$(d,p=>p.test(c));let h;h=e.valueCallback?e.valueCallback(f):f,h=r.valueCallback?r.valueCallback(h):h;const m=t.slice(c.length);return{value:h,rest:m}}}function X$(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function K$(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Y$(e){return(t,r={})=>{const o=t.match(e.matchPattern);if(!o)return null;const i=o[0],s=t.match(e.parsePattern);if(!s)return null;let c=e.valueCallback?e.valueCallback(s[0]):s[0];c=r.valueCallback?r.valueCallback(c):c;const d=t.slice(i.length);return{value:c,rest:d}}}const Z$=/^(\d+)(th|st|nd|rd)?/i,Q$=/\d+/i,J$={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},eX={any:[/^b/i,/^(a|c)/i]},tX={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},rX={any:[/1/i,/2/i,/3/i,/4/i]},nX={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},oX={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},aX={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},iX={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},lX={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},sX={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},uX={ordinalNumber:Y$({matchPattern:Z$,parsePattern:Q$,valueCallback:e=>parseInt(e,10)}),era:fu({matchPatterns:J$,defaultMatchWidth:"wide",parsePatterns:eX,defaultParseWidth:"any"}),quarter:fu({matchPatterns:tX,defaultMatchWidth:"wide",parsePatterns:rX,defaultParseWidth:"any",valueCallback:e=>e+1}),month:fu({matchPatterns:nX,defaultMatchWidth:"wide",parsePatterns:oX,defaultParseWidth:"any"}),day:fu({matchPatterns:aX,defaultMatchWidth:"wide",parsePatterns:iX,defaultParseWidth:"any"}),dayPeriod:fu({matchPatterns:lX,defaultMatchWidth:"any",parsePatterns:sX,defaultParseWidth:"any"})},cX={code:"en-US",formatDistance:D$,formatLong:q$,formatRelative:P$,localize:$$,match:uX,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dX(e,t){const r=Jn(e,t==null?void 0:t.in);return C$(r,R$(r))+1}function fX(e,t){const r=Jn(e,t==null?void 0:t.in),o=+Xd(r)-+E$(r);return Math.round(o/e8)+1}function n8(e,t){var m,p,w,v;const r=Jn(e,t==null?void 0:t.in),o=r.getFullYear(),i=Wf(),s=(t==null?void 0:t.firstWeekContainsDate)??((p=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((v=(w=i.locale)==null?void 0:w.options)==null?void 0:v.firstWeekContainsDate)??1,c=zn((t==null?void 0:t.in)||e,0);c.setFullYear(o+1,0,s),c.setHours(0,0,0,0);const d=Mi(c,t),f=zn((t==null?void 0:t.in)||e,0);f.setFullYear(o,0,s),f.setHours(0,0,0,0);const h=Mi(f,t);return+r>=+d?o+1:+r>=+h?o:o-1}function hX(e,t){var d,f,h,m;const r=Wf(),o=(t==null?void 0:t.firstWeekContainsDate)??((f=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:f.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(h=r.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??1,i=n8(e,t),s=zn((t==null?void 0:t.in)||e,0);return s.setFullYear(i,0,o),s.setHours(0,0,0,0),Mi(s,t)}function mX(e,t){const r=Jn(e,t==null?void 0:t.in),o=+Mi(r,t)-+hX(r,t);return Math.round(o/e8)+1}function Et(e,t){const r=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return r+o}const $a={y(e,t){const r=e.getFullYear(),o=r>0?r:1-r;return Et(t==="yy"?o%100:o,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):Et(r+1,2)},d(e,t){return Et(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Et(e.getHours()%12||12,t.length)},H(e,t){return Et(e.getHours(),t.length)},m(e,t){return Et(e.getMinutes(),t.length)},s(e,t){return Et(e.getSeconds(),t.length)},S(e,t){const r=t.length,o=e.getMilliseconds(),i=Math.trunc(o*Math.pow(10,r-3));return Et(i,t.length)}},Cl={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},J3={G:function(e,t,r){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const o=e.getFullYear(),i=o>0?o:1-o;return r.ordinalNumber(i,{unit:"year"})}return $a.y(e,t)},Y:function(e,t,r,o){const i=n8(e,o),s=i>0?i:1-i;if(t==="YY"){const c=s%100;return Et(c,2)}return t==="Yo"?r.ordinalNumber(s,{unit:"year"}):Et(s,t.length)},R:function(e,t){const r=t8(e);return Et(r,t.length)},u:function(e,t){const r=e.getFullYear();return Et(r,t.length)},Q:function(e,t,r){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return Et(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,r){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return Et(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,r){const o=e.getMonth();switch(t){case"M":case"MM":return $a.M(e,t);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,r){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return Et(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,r,o){const i=mX(e,o);return t==="wo"?r.ordinalNumber(i,{unit:"week"}):Et(i,t.length)},I:function(e,t,r){const o=fX(e);return t==="Io"?r.ordinalNumber(o,{unit:"week"}):Et(o,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):$a.d(e,t)},D:function(e,t,r){const o=dX(e);return t==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):Et(o,t.length)},E:function(e,t,r){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,r,o){const i=e.getDay(),s=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Et(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,o){const i=e.getDay(),s=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Et(s,t.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){const o=e.getDay(),i=o===0?7:o;switch(t){case"i":return String(i);case"ii":return Et(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,r){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,r){const o=e.getHours();let i;switch(o===12?i=Cl.noon:o===0?i=Cl.midnight:i=o/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,r){const o=e.getHours();let i;switch(o>=17?i=Cl.evening:o>=12?i=Cl.afternoon:o>=4?i=Cl.morning:i=Cl.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{unit:"hour"})}return $a.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):$a.H(e,t)},K:function(e,t,r){const o=e.getHours()%12;return t==="Ko"?r.ordinalNumber(o,{unit:"hour"}):Et(o,t.length)},k:function(e,t,r){let o=e.getHours();return o===0&&(o=24),t==="ko"?r.ordinalNumber(o,{unit:"hour"}):Et(o,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):$a.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):$a.s(e,t)},S:function(e,t){return $a.S(e,t)},X:function(e,t,r){const o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return tS(o);case"XXXX":case"XX":return Ci(o);case"XXXXX":case"XXX":default:return Ci(o,":")}},x:function(e,t,r){const o=e.getTimezoneOffset();switch(t){case"x":return tS(o);case"xxxx":case"xx":return Ci(o);case"xxxxx":case"xxx":default:return Ci(o,":")}},O:function(e,t,r){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+eS(o,":");case"OOOO":default:return"GMT"+Ci(o,":")}},z:function(e,t,r){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+eS(o,":");case"zzzz":default:return"GMT"+Ci(o,":")}},t:function(e,t,r){const o=Math.trunc(+e/1e3);return Et(o,t.length)},T:function(e,t,r){return Et(+e,t.length)}};function eS(e,t=""){const r=e>0?"-":"+",o=Math.abs(e),i=Math.trunc(o/60),s=o%60;return s===0?r+String(i):r+String(i)+t+Et(s,2)}function tS(e,t){return e%60===0?(e>0?"-":"+")+Et(Math.abs(e)/60,2):Ci(e,t)}function Ci(e,t=""){const r=e>0?"-":"+",o=Math.abs(e),i=Et(Math.trunc(o/60),2),s=Et(o%60,2);return r+i+t+s}const rS=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},o8=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},gX=(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return rS(e,t);let s;switch(o){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",rS(o,t)).replace("{{time}}",o8(i,t))},pX={p:o8,P:gX},bX=/^D+$/,vX=/^Y+$/,yX=["D","DD","YY","YYYY"];function xX(e){return bX.test(e)}function wX(e){return vX.test(e)}function SX(e,t,r){const o=kX(e,t,r);if(console.warn(o),yX.includes(e))throw new RangeError(o)}function kX(e,t,r){const o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const BX=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_X=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,TX=/^'([^]*?)'?$/,CX=/''/g,EX=/[a-zA-Z]/;function gu(e,t,r){var m,p,w,v;const o=Wf(),i=o.locale??cX,s=o.firstWeekContainsDate??((p=(m=o.locale)==null?void 0:m.options)==null?void 0:p.firstWeekContainsDate)??1,c=o.weekStartsOn??((v=(w=o.locale)==null?void 0:w.options)==null?void 0:v.weekStartsOn)??0,d=Jn(e,r==null?void 0:r.in);if(!z$(d))throw new RangeError("Invalid time value");let f=t.match(_X).map(x=>{const y=x[0];if(y==="p"||y==="P"){const k=pX[y];return k(x,i.formatLong)}return x}).join("").match(BX).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const y=x[0];if(y==="'")return{isToken:!1,value:NX(x)};if(J3[y])return{isToken:!0,value:x};if(y.match(EX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");return{isToken:!1,value:x}});i.localize.preprocessor&&(f=i.localize.preprocessor(d,f));const h={firstWeekContainsDate:s,weekStartsOn:c,locale:i};return f.map(x=>{if(!x.isToken)return x.value;const y=x.value;(wX(y)||xX(y))&&SX(y,t,String(e));const k=J3[y[0]];return k(d,y,i.localize,h)}).join("")}function NX(e){const t=e.match(TX);return t?t[1].replace(CX,"'"):e}function zX(e,t,r){const[o,i]=F1(r==null?void 0:r.in,e,t);return+Mi(o,r)==+Mi(i,r)}function RX(e,t){return zX(zn(e,e),P1(e),t)}function AX(e,t){return r8(zn(e,e),P1(e))}function DX(e,t,r){return _$(e,-1,r)}function jX(e,t){return r8(zn(e,e),DX(P1(e)))}const OX=e=>{const t=new Date(e);return AX(t)?gu(t,"h:mm a"):jX(t)?`Yesterday ${gu(t,"h:mm a")}`:RX(t)?gu(t,"EEEE h:mm a"):gu(t,"M/d h:mm a")},nS=e=>{const t=new Date(e);return gu(t,"MMMM d, yyyy HH:mm")},MX=e=>new Date(e).toISOString(),qX=Gt({messageRow:{display:"flex",alignItems:"flex-start",padding:F.spacingVerticalS,marginLeft:F.spacingHorizontalL,marginRight:F.spacingHorizontalL},messageContainer:{display:"flex",flexDirection:"column",maxWidth:"80%",'&:has([title="Edit message"])':{flex:"1 1 100%"},'&:has([title="Edit message"]) [data-ed]':{flex:"1 1 100%"}},messageGroupSent:{justifyContent:"flex-end"},messageGroupReceived:{justifyContent:"flex-start"},badgeMessageContainer:{display:"flex",alignItems:"flex-start",flexDirection:"row",gap:F.spacingHorizontalM},timeMessageContainer:{display:"flex",flexDirection:"column",position:"relative"},timestamp:{fontSize:F.fontSizeBase200,color:F.colorNeutralForeground3,marginBottom:F.spacingVerticalS},sentTime:{textAlign:"end"},timestampContainer:{display:"flex",alignItems:"center",gap:F.spacingHorizontalM}}),FX=Gt({avatarSpacer:{marginTop:F.spacingVerticalXXL},avatar:{alignSelf:"flex-start"}}),a8=({id:e,isConnected:t})=>{const r=FX();return E.jsx("div",{id:e,className:J(r.avatar,r.avatarSpacer),children:E.jsx(e6,{name:"User",badge:{status:t?"available":"offline"},size:40})})};a8.displayName="ChatAvatarWrapper";const i8=S.memo(({value:e,isConnected:t=!1,children:r})=>{var f,h;const o=qX(),i=((h=(f=e.from)==null?void 0:f.user)==null?void 0:h.id)==="devtools"?"sent":"received",s=i==="sent",c=s?"Sent message at":"Received message at",d=J(o.messageRow,s?o.messageGroupSent:o.messageGroupReceived);return E.jsx("article",{id:`chat-message-row-${e.id}`,className:d,children:E.jsx("div",{className:o.messageContainer,children:E.jsxs("div",{"data-ed":!0,className:o.badgeMessageContainer,children:[i==="received"&&E.jsx(a8,{id:`avatar-${e.id}`,isConnected:t}),E.jsxs("div",{"data-ed":!0,className:o.timeMessageContainer,children:[E.jsxs("div",{className:J(o.timestampContainer,s&&o.messageGroupSent),children:[e.createdDateTime?E.jsx(er,{content:nS(e.createdDateTime),relationship:"label",children:E.jsx("time",{"aria-label":c,dateTime:MX(e.createdDateTime),id:e.id,className:J(o.timestamp,i==="sent"&&o.sentTime),children:OX(e.createdDateTime)})}):null,e.lastModifiedDateTime&&E.jsx(ti,{id:`edited-${e.id}-${e.lastModifiedDateTime}`,title:`Edited ${nS(e.lastModifiedDateTime)}`,className:o.timestamp,children:"Edited"})]}),r]})]})})})});i8.displayName="ChatMessageContainer";const PX=Gt({composeBoxContainer:{margin:"1rem 3.125rem",width:"auto"},composeInput:{width:"100%"},error:{border:`${F.strokeWidthThin} solid ${F.colorPaletteRedBorder2}`,"&:focus-within":{border:`${F.strokeWidthThin} solid ${F.colorPaletteRedBorder2}`}},errorMessage:{color:F.colorPaletteRedForeground1,fontSize:F.fontSizeBase200,marginTop:F.spacingVerticalXXS,marginBottom:F.spacingVerticalXXS}}),yd=Do.child("ComposeBox"),l8=S.memo(({onSend:e,messageHistory:t,onMessageSent:r,onCardProcessed:o,disabled:i=!1})=>{const s=PX(),{currentCard:c,targetComponent:d,processedCardIds:f,draftMessage:h,addProcessedCardId:m,clearCurrentCard:p,clearProcessedCardIds:w,setCurrentCard:v,setDraftMessage:x}=ss(),[y,k]=S.useState(""),[B,_]=S.useState([]),[C,N]=S.useState(-1),R=S.useRef(null),j=S.useRef(!1);S.useEffect(()=>(R.current&&R.current.focus(),j.current=!0,()=>{j.current=!1}),[]),S.useEffect(()=>{const O=()=>{c&&j.current&&v(c,"compose")},W=R.current;if(W)return W.addEventListener("focus",O),()=>{W.removeEventListener("focus",O)}},[c,v]),S.useLayoutEffect(()=>{j.current&&h&&d!=="edit"&&k(h)},[h,d]),S.useEffect(()=>{if(c&&d!=="edit"&&j.current){yd.info("Logging card to CardStore");const O=JSON.stringify(c);if(f.has(O))yd.info("Card already processed, skipping");else{yd.info("Processing new card in CardStore");const W={contentType:"application/vnd.microsoft.card.adaptive",content:c};_(L=>L.some(Z=>JSON.stringify(Z.content)===O)?(yd.info("Card from CardStore already exists in attachments, skipping"),L):(m(O),o==null||o(),[...L,W]))}}},[c,d,f,m,o]);const D=S.useCallback(()=>{const O=y.trim();if(O||B.length>0){const W={body:{content:O,contentType:"text"},attachments:B};e(W),x(),O&&r(W),k(""),_([]),N(-1),p(),w()}},[B,p,w,y,r,e,x]),M=S.useCallback(O=>{if(i)return;const W=O.target;k(A4(W.innerHTML))},[i]),I=S.useCallback(O=>{var W,L;if(O.key==="Enter")O.shiftKey||(O.preventDefault(),D());else if(O.key==="ArrowUp"&&!O.shiftKey&&(y===""||C!==-1)){if(O.preventDefault(),t.length>0){const Z=C===-1?0:Math.min(C+1,t.length-1);if(Z<t.length){N(Z);const se=t[Z];k(((W=se.body)==null?void 0:W.content)||""),se.attachments&&_(se.attachments)}}}else if(O.key==="ArrowDown"&&!O.shiftKey&&C!==-1){O.preventDefault();const Z=C-1;if(Z>=0){N(Z);const se=t[Z];k(((L=se.body)==null?void 0:L.content)||""),se.attachments&&_(se.attachments)}else N(-1),k(""),_([])}},[D,C,y,t]),G=S.useCallback(O=>{_(W=>[...W,O])},[]),X=S.useCallback(O=>{_(W=>W.filter((L,Z)=>Z!==O)),v(null)},[v]),re=y.trim().length>0||B.length>0,ue=S.useMemo(()=>D4(B),[B]),ne=S.useMemo(()=>({onAttachment:G,onSendMessage:D,hasContent:re,draftMessage:y,disabled:i}),[G,D,re,y,i]),fe=S.useMemo(()=>E.jsx(j1,{...ne}),[ne]);return E.jsx("div",{className:s.composeBoxContainer,children:E.jsx(A1,{title:"Compose message",ref:R,className:s.composeInput,value:y,onInputChange:M,onKeyDown:I,placeholder:"Type a message...",toolbar:fe,children:B.length>0&&E.jsx(R1,{attachments:ue,onRemoveAttachment:X,showRemoveButtons:!0})})})});l8.displayName="ComposeBox";const IX=()=>E.jsxs("svg",{width:"49",height:"20",viewBox:"0 0 50 20",children:[E.jsx("circle",{cx:"15",cy:"10",r:"3",fill:F.colorBrandBackground,children:E.jsx("animate",{attributeName:"cy",values:"10;5;10",dur:"1s",repeatCount:"indefinite",begin:"0s"})}),E.jsx("circle",{cx:"25",cy:"10",r:"3",fill:F.colorBrandBackground,children:E.jsx("animate",{attributeName:"cy",values:"10;5;10",dur:"1s",repeatCount:"indefinite",begin:"0.15s"})}),E.jsx("circle",{cx:"35",cy:"10",r:"3",fill:F.colorBrandBackground,children:E.jsx("animate",{attributeName:"cy",values:"10;5;10",dur:"1s",repeatCount:"indefinite",begin:"0.3s"})})]});Do.child("AutoFillAndSendMessage");const LX=e=>{e("/"),window.location.reload()},HX=Gt({screenContainer:{display:"flex",flexDirection:"column",height:"100%",minHeight:"100%",width:"100%",backgroundColor:F.colorNeutralBackground3,color:F.colorNeutralForeground1},scrollbarContainer:{flex:1,overflowY:"auto",minHeight:0,scrollbarGutter:"stable",position:"relative"}}),UX=Gt({flexRow:{display:"flex",flexDirection:"row"},sideBar:{display:"flex",flexDirection:"column",flex:"0 0 auto",height:"100%",width:"11rem",backgroundColor:F.colorNeutralBackground1,borderRight:`${F.strokeWidthThin} solid ${F.colorNeutralStencil1}`,"@media (max-width: 43.75rem)":{display:"none"}},chatContainer:{display:"flex",flexDirection:"column-reverse",minHeight:0},messagesList:{maxWidth:"65.125rem",minWidth:"31rem",margin:"auto",width:"100%",display:"flex",flexDirection:"column-reverse",flex:1,"@media (max-width: 31rem)":{minWidth:"unset",overflowX:"hidden"}},composeContainer:{backgroundColor:F.colorNeutralBackground3,overflowX:"hidden",position:"sticky",bottom:0,width:"100%"},composeInner:{maxWidth:"65.125rem",minWidth:"31rem",margin:"0 auto","@media (max-width: 31rem)":{minWidth:"unset"}},typingIndicator:{height:"1.875rem",paddingLeft:"1.875rem"},bannerContainer:{backgroundColor:F.colorSubtleBackground,margin:"0.5rem 0"}}),VX=5,hu=Do.child("ChatScreen"),s8=({isConnected:e})=>{const t=UX(),r=HX(),{chat:o,feedback:i,getMessageById:s,messages:c,streaming:d,typing:f,addDeletedMessage:h,removeDeletedMessage:m}=Vf(),{editingMessageId:p,clearCurrentCard:w,setEditingMessageId:v}=ss(),[x,y]=S.useState([]),[k,B]=S.useState(null),_=q4(),C=S.useCallback(()=>{hu.info("Card processed, clearing from store"),w()},[w]),N=S.useCallback(async I=>{var X,re,ue;const G=s(I.id);if(!G){hu.error("Could not find message:",I.id);return}try{let ne,fe,O;const W=[],L=[],{reactions:Z=[]}=G,se=I.type==="messageReaction"&&I.reactionType?Z.find(A=>A.type===I.reactionType):void 0;switch(I.type){case"messageUpdate":I.eventType==="undeleteMessage"?(ne={body:{content:((X=G.body)==null?void 0:X.content)||"",contentType:"text"},attachments:G.attachments||[]},fe=new Cu("undeleteMessage",{id:I.id,text:((re=G.body)==null?void 0:re.content)||"",value:ne,channelData:{eventType:"undeleteMessage"},from:(ue=G.from)!=null&&ue.user?{id:G.from.user.id,name:G.from.user.displayName||"",role:"user"}:void 0}),await _.conversations.activities(o.id).create(fe),m(o.id,I.id)):I.eventType||B(I.id);break;case"messageDelete":O=new $d({id:I.id,channelData:{eventType:"softDeleteMessage"}}),await _.conversations.activities(o.id).create(O),h(o.id,G);break;case"messageReaction":if(!I.reactionType)return;se?L.push(se):W.push({type:I.reactionType,createdDateTime:new Date().toUTCString(),user:I.user}),await _.conversations.activities(o.id).create({id:I.id,type:"messageReaction",reactionsAdded:W,reactionsRemoved:L});break}}catch(ne){hu.error("Error handling message action:",ne)}},[o.id,s,_.conversations,h,m]),R=S.useCallback(()=>{B(null),v(null)},[v]),j=S.useCallback(async(I,G)=>{var re,ue,ne,fe;const X=s(I);if(((re=X==null?void 0:X.body)==null?void 0:re.content)===((ue=G.body)==null?void 0:ue.content)&&JSON.stringify(X==null?void 0:X.attachments)===JSON.stringify(G.attachments)){B(null),v(null);return}try{const O={body:{content:((ne=G.body)==null?void 0:ne.content)||"",contentType:"text"},attachments:G.attachments||[]},W=new Cu("editMessage",{id:I,text:((fe=G.body)==null?void 0:fe.content)||"",value:O});await _.conversations.activities(o.id).create(W),B(null),v(null)}catch(O){hu.error("Error updating message:",O)}},[s,_.conversations,o.id,v]),D=S.useCallback(async I=>{var G;try{await _.conversations.activities(o.id).create({type:"message",text:((G=I.body)==null?void 0:G.content)||"",attachments:I.attachments||[]})}catch(X){hu.error("Error sending message:",X)}},[_,o==null?void 0:o.id]),M=S.useCallback(I=>{y(G=>[I,...G].slice(0,VX))},[]);return S.useEffect(()=>{p&&B(p)},[p]),E.jsxs("div",{className:J(r.screenContainer,t.flexRow),children:[E.jsx("nav",{id:"chat-sidebar",className:t.sideBar,"aria-label":"Chat navigation"}),E.jsxs(M4,{children:[E.jsx("div",{className:J(t.chatContainer,r.scrollbarContainer),children:E.jsx("div",{id:"messages-list",className:t.messagesList,children:o&&(c[o.id]||[]).map(I=>{var G,X,re;return E.jsx(i8,{value:I,isConnected:e,children:k===I.id?E.jsx(O4,{message:I,onEditComplete:(ue,ne,fe)=>j(ue,{body:{content:ne},attachments:fe}),onEditCancel:R,isUpdating:!1,onCardProcessed:C}):E.jsx(J4,{content:((G=I.body)==null?void 0:G.content)||"",feedback:i[I.id],sendDirection:((re=(X=I.from)==null?void 0:X.user)==null?void 0:re.id)==="devtools"?"sent":"received",streaming:d[I.id],value:I,onMessageAction:N})},I.id)})})}),E.jsx("div",{className:t.composeContainer,children:E.jsxs("div",{className:t.composeInner,children:[E.jsx("div",{className:t.typingIndicator,children:f[o.id]&&E.jsx(IX,{})}),E.jsx(l8,{onSend:D,messageHistory:x,onMessageSent:M,onCardProcessed:C})]})})]})]})};s8.displayName="ChatScreen";const Ad=Df()(jf(e=>({set:t=>e(r=>({...r,metadata:t}))}))),u8=S.createContext(null);u8.displayName="MetadataContext";const WX=()=>null;let c8=WX;c8.displayName="DevOnly";const GX=Gt({devtoolsLandmark:{fontWeight:F.fontWeightSemibold,display:"flex",justifyContent:"center",height:"auto",alignItems:"center",padding:"12px 0",color:F.colorNeutralForeground1,position:"relative",width:"11rem",borderRight:`1px solid ${F.colorNeutralStencil1}`,flexShrink:0},imageContainer:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center"},teamsImg:{width:"2.5rem",marginTop:"auto",marginBottom:"auto"},devButton:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"transparent",border:"none",cursor:"pointer",opacity:0,zIndex:1,padding:0},badge:{position:"relative",margin:"auto 10px",opacity:1},pingAnimation:{position:"absolute",display:"inline-flex",backgroundColor:F.colorPaletteLightGreenBackground3,width:"12px",height:"12px",borderRadius:"100%",opacity:.75,animationName:{"0%":{transform:"scale(1)",opacity:.75},"50%":{transform:"scale(1.5)",opacity:.5},"100%":{transform:"scale(1)",opacity:.75}},animationDuration:"1s",animationTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",animationIterationCount:"infinite",animationDelay:"0s"},betaBadge:{position:"absolute",right:"2.3rem",bottom:"0",border:`1px solid ${F.colorNeutralStencil1}`}}),d8=S.memo(({connected:e,classes:t})=>E.jsx(er,{content:e?"Connected":"Disconnected",relationship:"description",children:E.jsx(Wp,{"data-tid":"status badge",role:"status","aria-label":e?"Connected":"Disconnected",color:e?"success":"danger",size:"extra-small",className:t.badge,children:E.jsx("div",{className:e?t.pingAnimation:""})})}));d8.displayName="StatusBadge";const f8=S.memo(({connected:e})=>{const t=GX(),r=Ii(),o=S.useCallback(()=>{LX(r)},[r]);return E.jsxs("header",{id:"banner","data-tid":"devtools",className:t.devtoolsLandmark,children:[E.jsxs("div",{className:t.imageContainer,children:[E.jsx("img",{src:"/devtools/teams.png",className:t.teamsImg,role:"presentation",loading:"eager",fetchpriority:"high"}),E.jsx(c8,{children:E.jsx("button",{className:t.devButton,onClick:o,"aria-hidden":"true",tabIndex:-1})})]}),E.jsx(ti,{as:"h1",size:500,weight:"semibold",children:"DevTools"}),E.jsx(d8,{connected:e,classes:t}),E.jsx(Wp,{"aria-label":"Beta",appearance:"tint",className:t.betaBadge,children:"Beta"})]})});f8.displayName="DevtoolsBanner";const $X=Gt({pageNavButton:{display:"flex",alignItems:"center",justifyContent:"center",margin:0,padding:"0.5rem",color:F.colorNeutralForeground2Link,border:"2px solid transparent","&:hover":{color:F.colorBrandForegroundLinkHover,textDecorationLine:"none"},"&:active":{color:F.colorBrandForegroundLinkSelected,textDecorationLine:"none"},"&:visited":{textDecorationLine:"none"},"&:focus-visible":{border:`2px solid ${F.colorNeutralForeground2Link}`,borderRadius:"5px",outline:"none"},"& i":{marginRight:"0.3rem"}},activeRoute:{color:F.colorBrandForegroundLink,textDecorationLine:"none"},linkWithIcon:{display:"flex",alignItems:"center",justifyContent:"center",fontSize:F.fontSizeBase400,lineHeight:F.lineHeightBase400,"&:active":{textDecorationLine:"none"}}}),XX={chat:{default:E.jsx(iU,{}),active:E.jsx(JH,{})},cards:{default:E.jsx(dU,{}),active:E.jsx(aU,{})},activities:{default:E.jsx(sU,{}),active:E.jsx(tU,{})},logs:{default:E.jsx(uU,{}),active:E.jsx(nU,{})}},xd=({to:e,iconType:t,label:r})=>{const o=$X(),i=t?XX[t]:void 0;return E.jsx(wk,{to:e,className:o.pageNavButton,children:({isActive:s})=>E.jsxs("div",{role:"presentation",className:J(s?o.activeRoute:"",o.linkWithIcon),children:[i&&(s?i.active:i.default),r]})})},KX=Gt({pageNavContainer:{flex:"0 0 auto",display:"flex",alignContent:"center",justifyContent:"space-between",width:"100%"},navButtonContainer:{display:"flex",flexShrink:1,alignItems:"center",gap:F.spacingHorizontalL,marginRight:F.spacingHorizontalL}}),h8=S.memo(({connected:e})=>{var o;const{metadata:t}=Ad(),r=KX();return E.jsxs("nav",{id:"top-nav",className:r.pageNavContainer,"aria-label":"Page navigation",children:[E.jsx(f8,{connected:e}),E.jsxs("div",{className:r.navButtonContainer,children:[(o=t==null?void 0:t.pages)==null?void 0:o.map(i=>E.jsx(xd,{to:`/${i.name}`,label:i.displayName},i.name)),E.jsx(xd,{to:"/",iconType:"chat",label:"Chat"}),E.jsx(xd,{to:"/cards",iconType:"cards",label:"Cards"}),E.jsx(xd,{to:"/activities",iconType:"activities",label:"Activities"})]})]})});h8.displayName="PageNav";const YX=Gt({root:{display:"flex",flexDirection:"column",height:"100%",minHeight:"100%",width:"100%",backgroundColor:F.colorNeutralBackground3,color:F.colorNeutralForeground1},header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:F.spacingHorizontalS,backgroundColor:F.colorNeutralBackground2},iframe:{border:"0px solid transparent"}}),ZX={type:"AdaptiveCard",version:"1.5",body:[{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Fourth Coffee Distillery Equipment ",size:"Large",weight:"Bolder",wrap:!0}],verticalContentAlignment:"Center"},{type:"Column",targetWidth:"atLeast:Standard",width:"auto",items:[{type:"TextBlock",text:"Status",wrap:!0,size:"Small",weight:"Default",isSubtle:!0},{type:"TextBlock",text:"In Progress",color:"Good",spacing:"None",size:"Small",weight:"Bolder",wrap:!0}],spacing:"Small"},{type:"Column",targetWidth:"atLeast:Standard",width:"auto",separator:!0,items:[{type:"TextBlock",text:"Opportunity Score",size:"Small",weight:"Default",isSubtle:!0,wrap:!0},{type:"TextBlock",text:"91 - Grade A",wrap:!0,weight:"Bolder",spacing:"None",size:"Small",color:"Default"}]}]},{type:"TextBlock",text:"Opportunity",wrap:!0,isSubtle:!0,spacing:"None"},{type:"TextBlock",targetWidth:"atMost:Narrow",text:"In Progress",color:"Good",weight:"Bolder",wrap:!0},{type:"TextBlock",targetWidth:"atMost:Narrow",text:"91 - Grade A",wrap:!0,weight:"Bolder",spacing:"None",color:"Default"},{type:"Table",targetWidth:"Narrow",columns:[{width:2},{width:3}],rows:[{type:"TableRow",cells:[{type:"TableCell",items:[{type:"TextBlock",text:"Account",wrap:!0,isSubtle:!0}]},{type:"TableCell",items:[{type:"TextBlock",text:"Fourth Coffee",wrap:!0}]}],verticalCellContentAlignment:"Center"},{type:"TableRow",cells:[{type:"TableCell",items:[{type:"TextBlock",text:"Est. Revenue",wrap:!0,isSubtle:!0}]},{type:"TableCell",items:[{type:"TextBlock",text:"$3,000,000.00",wrap:!0}]}],verticalCellContentAlignment:"Center"},{type:"TableRow",cells:[{type:"TableCell",items:[{type:"TextBlock",text:"Owner",wrap:!0,isSubtle:!0}]},{type:"TableCell",items:[{type:"ColumnSet",columns:[{type:"Column",width:"auto",items:[{type:"Image",url:"https://raw.githubusercontent.com/OfficeDev/Microsoft-Teams-Card-Samples/main/samples/account/assets/avatar_small.png",width:"20px"}],verticalContentAlignment:"Center"},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Reta Taylor",wrap:!0}],spacing:"Small",verticalContentAlignment:"Center"}]}]}],verticalCellContentAlignment:"Center"}],firstRowAsHeaders:!1,showGridLines:!1,spacing:"Large",separator:!0},{type:"Container",separator:!0,targetWidth:"VeryNarrow",items:[{type:"TextBlock",text:"Account",wrap:!0,isSubtle:!0},{type:"TextBlock",text:"Fourth Coffee",wrap:!0,spacing:"None"},{type:"TextBlock",text:"Est. Revenue",wrap:!0,isSubtle:!0},{type:"TextBlock",text:"$3,000,000.00",wrap:!0,spacing:"None"},{type:"TextBlock",text:"Owner",wrap:!0,isSubtle:!0},{type:"ColumnSet",columns:[{type:"Column",width:"auto",items:[{type:"Image",url:"https://raw.githubusercontent.com/OfficeDev/Microsoft-Teams-Card-Samples/main/samples/account/assets/avatar_small.png",width:"20px"}],verticalContentAlignment:"Center"},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Reta Taylor",wrap:!0}],spacing:"Small",verticalContentAlignment:"Center"}],spacing:"None"}]},{type:"ColumnSet",targetWidth:"atLeast:Standard",columns:[{type:"Column",width:20,items:[{type:"TextBlock",text:"Account",wrap:!0,isSubtle:!0},{type:"TextBlock",text:"Fabrikam",wrap:!0,spacing:"None"}]},{type:"Column",width:25,items:[{type:"TextBlock",text:"Est. Revenue",wrap:!0,isSubtle:!0},{type:"TextBlock",text:"$3,000,000.00",wrap:!0,spacing:"None"}]},{type:"Column",width:25,items:[{type:"TextBlock",text:"Owner",wrap:!0,isSubtle:!0},{type:"ColumnSet",columns:[{type:"Column",width:"auto",items:[{type:"Image",url:"https://raw.githubusercontent.com/OfficeDev/Microsoft-Teams-Card-Samples/main/samples/account/assets/avatar_small.png",width:"20px"}],verticalContentAlignment:"Center"},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Reta Taylor",wrap:!0}],spacing:"Small",verticalContentAlignment:"Center"}],spacing:"None"}]},{type:"Column",width:"stretch",items:[]}],spacing:"Medium"},{type:"ColumnSet",separator:!0,columns:[{type:"Column",width:"auto",verticalContentAlignment:"Center",items:[{type:"Image",url:"https://raw.githubusercontent.com/OfficeDev/Microsoft-Teams-Card-Samples/main/samples/account/assets/avatar_large.png",style:"Person",width:"35px"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Mona Kane",wrap:!0},{type:"TextBlock",text:"Contact",wrap:!0,spacing:"None",size:"Small",isSubtle:!0}],verticalContentAlignment:"Center",spacing:"Small"},{type:"Column",width:"auto",items:[{type:"ColumnSet",columns:[{type:"Column",targetWidth:"atLeast:Narrow",width:"auto",items:[{type:"RichTextBlock",id:"showMore1",inlines:[{type:"TextRun",text:"See more",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}}]},{type:"RichTextBlock",id:"showLess1",isVisible:!1,inlines:[{type:"TextRun",text:"See less",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}}]}],verticalContentAlignment:"Center",rtl:!1},{type:"Column",targetWidth:"atLeast:Narrow",width:"auto",items:[{type:"Icon",id:"chevronDown1",name:"ChevronDown",size:"xxSmall",color:"Accent",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}},{type:"Icon",id:"chevronUp1",isVisible:!1,name:"ChevronUp",size:"xxSmall",color:"Accent",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}}],verticalContentAlignment:"Bottom",horizontalAlignment:"Center",spacing:"None"}]}],verticalContentAlignment:"Center"}],spacing:"ExtraLarge"},{type:"ColumnSet",targetWidth:"VeryNarrow",columns:[{type:"Column",width:"auto",items:[{type:"RichTextBlock",id:"showMore2",inlines:[{type:"TextRun",text:"See more",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}}]},{type:"RichTextBlock",id:"showLess2",isVisible:!1,inlines:[{type:"TextRun",text:"See less",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}}]}],verticalContentAlignment:"Center"},{type:"Column",width:"auto",items:[{type:"Icon",id:"chevronDown2",name:"ChevronDown",size:"xxSmall",color:"Accent",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}},{type:"Icon",id:"chevronUp2",name:"ChevronUp",isVisible:!1,size:"xxSmall",color:"Accent",selectAction:{type:"Action.ToggleVisibility",targetElements:["showMore1","showLess1","showMore2","showLess2","chevronDown1","chevronUp1","chevronDown2","chevronUp2","moreText"]}}],verticalContentAlignment:"Bottom",horizontalAlignment:"Center",spacing:"None"}],spacing:"Small"},{type:"TextBlock",id:"moreText",text:"More Info",isVisible:!1},{type:"ActionSet",separator:!0,actions:[{type:"Action.OpenUrl",title:"View Details",url:"https://adaptivecards.microsoft.com/"}],spacing:"ExtraLarge"}]},Dg=`${Uf}/designer`;function QX(e){return typeof e=="object"&&e.type==="cardPayload"&&typeof e.payload=="string"}const oS=Do.child("CardsScreen"),m8=S.memo(()=>{const e=YX(),t=S.useRef(null),{setCurrentCard:r}=ss(),{dispatchToast:o}=Nf(),i=Ii(),s=Zn();S.useEffect(()=>{const d=f=>{var h,m,p;if(f.origin===Uf&&f.data==="ac-designer-ready"&&((m=(h=t.current)==null?void 0:h.contentWindow)==null||m.postMessage({type:"cardPayload",id:"card",payload:JSON.stringify(ZX)},Dg)),QX(f.data)){const w=JSON.parse(f.data.payload),v=((p=s.state)==null?void 0:p.isEditing)??!1;oS.debug("Attaching card in mode:",v?"edit":"compose"),oS.info("Setting card in store:"),r(w,v?"edit":"compose"),o(E.jsxs(Ul,{children:[E.jsx(Vl,{children:"Card Attached"}),E.jsx(g1,{children:"Card has been attached to the compose box."})]}),{intent:"success"}),i("/chat",{state:{isEditing:v}})}};return window.addEventListener("message",d),()=>{window.removeEventListener("message",d)}});const c=()=>{var d,f;(f=(d=t.current)==null?void 0:d.contentWindow)==null||f.postMessage({type:"getCurrentCardPayload"},Dg)};return E.jsxs("div",{className:e.root,children:[E.jsxs("div",{className:e.header,children:[E.jsx(nM,{children:"Adaptive Cards Designer"}),E.jsx(en,{appearance:"primary",icon:E.jsx(E7,{}),onClick:c,style:{alignSelf:"flex-end"},children:"Attach card"})]}),E.jsx("iframe",{id:"card-designer",ref:t,className:e.iframe,src:Dg,title:"Adaptive Cards Designer",width:"100%",height:"100%"})]})});m8.displayName="NewCardsScreen";function JX(e){return E.jsx("iframe",{src:e.url,height:"100%",width:"100%"})}const eK=()=>{const e=window.matchMedia("(prefers-color-scheme: dark)").matches,[t,r]=S.useState(e?"dark":"light"),o=()=>{r(i=>i==="dark"?"light":"dark")};return S.useEffect(()=>{const i=window.matchMedia("(prefers-color-scheme: dark)"),s=c=>{r(c.matches?"dark":"light")};return i.addEventListener("change",s),()=>i.removeEventListener("change",s)},[]),[t,o]},tK=Gt({default:{backgroundColor:F.colorNeutralBackground1,color:F.colorNeutralForegroundOnBrand},appContainer:{display:"flex",flexDirection:"column",height:"100vh",overflow:"hidden"},mainContent:{display:"flex",flex:1,flexDirection:"row",minHeight:0,width:"100%",height:"100%",overflow:"hidden"}});class rK{constructor(){Be(this,"_connected",!1);Be(this,"_socket");Be(this,"_events");this._events=new Map}get connected(){return this._connected}connect(){this._socket=new WebSocket("/devtools/sockets"),this._socket.addEventListener("message",this._onMessage.bind(this)),this._socket.addEventListener("open",this._onConnect.bind(this)),this._socket.addEventListener("close",this._onDisconnect.bind(this))}disconnect(){var t;(t=this._socket)==null||t.close()}on(t,r){this._events.set(t,r)}off(t){this._events.delete(t)}async _onConnect(){this._connected=!0;const t=this._events.get("connect");t&&await t(null)}async _onDisconnect(){this._connected=!1,this._events.clear();const t=this._events.get("disconnect");t&&await t(null)}async _onMessage(t){const r=JSON.parse(t.data);if(r.type.startsWith("activity.")){const i=this._events.get("activity");i&&await i(r)}const o=this._events.get(r.type);o&&await o(r)}}const aS=new rK,nK=e=>{var t;return(t=e.metadata)==null?void 0:t.pages},oK=e=>e.put,aK=e=>e.onActivity,iK=e=>e.set;function g8(){const e=tK(),[t]=eK(),r=S.useRef(aS),[o,i]=S.useState(aS.connected),s=Ad(nK);S.useDebugValue((s==null?void 0:s.length)??0,m=>`${m} metadata pages`);const c=Of(oK),d=Vf(aK),f=Ad(iK);S.useEffect(()=>{const m=r.current,p=()=>{Do.info("Connected to server..."),i(!0)},w=()=>{Do.info("Disconnected from server..."),i(!1)},v=y=>{Promise.resolve().then(()=>{c(y),d(y)})},x=y=>{f(y.body)};return m.on("connect",p),m.on("disconnect",w),m.on("activity",v),m.on("metadata",x),m.connect(),()=>{m.off("connect"),m.off("disconnect"),m.off("activity"),m.off("metadata"),m.disconnect()}},[c,d,f]);const h=S.useMemo(()=>t==="dark"?a7:t7,[t]);return E.jsx(H5,{theme:h,children:E.jsxs(u8.Provider,{value:Ad(),children:[E.jsx(sH,{basename:"/devtools","data-tid":"browser-router",children:E.jsxs(eM,{id:"app-root","data-tabster":'{"root":{"deloser":true}}',className:J(e.default,e.appContainer),children:[E.jsx(h8,{connected:o}),E.jsx("main",{id:"page-content",className:e.mainContent,children:E.jsxs(qL,{children:[E.jsx(El,{path:"",element:E.jsx(s8,{isConnected:o})}),E.jsx(El,{path:"cards",element:E.jsx(m8,{})}),E.jsx(El,{path:"activities",element:E.jsx(GU,{})}),s==null?void 0:s.map(m=>E.jsx(El,{path:m.name,element:E.jsx(JX,{...m})},m.name)),E.jsx(El,{path:"*",element:E.jsx(OL,{to:"/",replace:!0})})]})})]})}),E.jsx(ak,{position:"top"})]})})}g8.displayName="App";R_.createRoot(document.getElementById("root")).render(E.jsx(S.StrictMode,{children:E.jsx(g8,{})}));
