opencode-codeops 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/README.md +53 -0
- package/_shared/discovery.md +92 -0
- package/_shared/zero-ambiguity-gate.md +4 -0
- package/bin/lib/discovery-rules.d.mts +228 -0
- package/bin/lib/discovery-rules.mjs +1213 -0
- package/bin/lib/discovery-server.d.mts +62 -0
- package/bin/lib/discovery-server.mjs +755 -0
- package/bin/lib/discovery-store.d.mts +224 -0
- package/bin/lib/discovery-store.mjs +1189 -0
- package/bin/lib/discovery-tools.d.mts +66 -0
- package/bin/lib/discovery-tools.mjs +540 -0
- package/discovery-ui/dist/assets/app.js +107 -0
- package/discovery-ui/dist/index.html +17 -0
- package/package.json +16 -3
- package/plugin/index.ts +45 -4
- package/plugin/tui.js +113 -0
- package/schemas/codeops-config.schema.json +8 -0
- package/scripts/__pycache__/codeops_plan.cpython-314.pyc +0 -0
- package/scripts/__pycache__/install_agents.cpython-314.pyc +0 -0
- package/scripts/build-discovery-ui.mjs +59 -0
- package/scripts/build-tui.mjs +73 -0
- package/skills/analyze-project/SKILL.md +19 -0
- package/skills/make-plan/SKILL.md +7 -1
- package/skills/preflight/SKILL.md +4 -0
- package/skills/preflight/report-format.md +4 -0
- package/scripts/__pycache__/codeops_plan.cpython-312.pyc +0 -0
- package/scripts/__pycache__/install_agents.cpython-312.pyc +0 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
var eH=Object.create;var z8=Object.defineProperty;var aH=Object.getOwnPropertyDescriptor;var tH=Object.getOwnPropertyNames;var lH=Object.getPrototypeOf,oH=Object.prototype.hasOwnProperty;var b2=(e,a)=>()=>{try{return a||e((a={exports:{}}).exports,a),a.exports}catch(t){throw a=0,t}},rH=(e,a)=>{for(var t in a)z8(e,t,{get:a[t],enumerable:!0})},nH=(e,a,t,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let o of tH(a))!oH.call(e,o)&&o!==t&&z8(e,o,{get:()=>a[o],enumerable:!(l=aH(a,o))||l.enumerable});return e};var A=(e,a,t)=>(t=e!=null?eH(lH(e)):{},nH(a||!e||!e.__esModule?z8(t,"default",{value:e,enumerable:!0}):t,e));var Rm=b2(Y=>{"use strict";var A8=Symbol.for("react.transitional.element"),cH=Symbol.for("react.portal"),iH=Symbol.for("react.fragment"),sH=Symbol.for("react.strict_mode"),uH=Symbol.for("react.profiler"),dH=Symbol.for("react.consumer"),hH=Symbol.for("react.context"),mH=Symbol.for("react.forward_ref"),fH=Symbol.for("react.suspense"),pH=Symbol.for("react.memo"),xm=Symbol.for("react.lazy"),vH=Symbol.for("react.activity"),gH=Symbol.for("react.view_transition"),pm=Symbol.iterator;function MH(e){return e===null||typeof e!="object"?null:(e=pm&&e[pm]||e["@@iterator"],typeof e=="function"?e:null)}var _m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zm=Object.assign,bm={};function W3(e,a,t){this.props=e,this.context=a,this.refs=bm,this.updater=t||_m}W3.prototype.isReactComponent={};W3.prototype.setState=function(e,a){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,a,"setState")};W3.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Cm(){}Cm.prototype=W3.prototype;function y8(e,a,t){this.props=e,this.context=a,this.refs=bm,this.updater=t||_m}var H8=y8.prototype=new Cm;H8.constructor=y8;zm(H8,W3.prototype);H8.isPureReactComponent=!0;var vm=Array.isArray;function C8(){}var P1={H:null,A:null,T:null,S:null},Am=Object.prototype.hasOwnProperty;function R8(e,a,t){var l=t.ref;return{$$typeof:A8,type:e,key:a,ref:l!==void 0?l:null,props:t}}function xH(e,a){return R8(e.type,a,e.props)}function S8(e){return typeof e=="object"&&e!==null&&e.$$typeof===A8}function _H(e){var a={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return a[t]})}var gm=/\/+/g;function b8(e,a){return typeof e=="object"&&e!==null&&e.key!=null?_H(""+e.key):a.toString(36)}function zH(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(C8,C8):(e.status="pending",e.then(function(a){e.status==="pending"&&(e.status="fulfilled",e.value=a)},function(a){e.status==="pending"&&(e.status="rejected",e.reason=a)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function j3(e,a,t,l,o){var r=typeof e;(r==="undefined"||r==="boolean")&&(e=null);var n=!1;if(e===null)n=!0;else switch(r){case"bigint":case"string":case"number":n=!0;break;case"object":switch(e.$$typeof){case A8:case cH:n=!0;break;case xm:return n=e._init,j3(n(e._payload),a,t,l,o)}}if(n)return o=o(e),n=l===""?"."+b8(e,0):l,vm(o)?(t="",n!=null&&(t=n.replace(gm,"$&/")+"/"),j3(o,a,t,"",function(s){return s})):o!=null&&(S8(o)&&(o=xH(o,t+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(gm,"$&/")+"/")+n)),a.push(o)),1;n=0;var c=l===""?".":l+":";if(vm(e))for(var i=0;i<e.length;i++)l=e[i],r=c+b8(l,i),n+=j3(l,a,t,r,o);else if(i=MH(e),typeof i=="function")for(e=i.call(e),i=0;!(l=e.next()).done;)l=l.value,r=c+b8(l,i++),n+=j3(l,a,t,r,o);else if(r==="object"){if(typeof e.then=="function")return j3(zH(e),a,t,l,o);throw a=String(e),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return n}function L4(e,a,t){if(e==null)return e;var l=[],o=0;return j3(e,l,"","",function(r){return a.call(t,r,o++)}),l}function bH(e){if(e._status===-1){var a=e._result,t=a();t.then(function(l){(e._status===0||e._status===-1)&&(e._status=1,e._result=l,t.status===void 0&&(t.status="fulfilled",t.value=l))},function(l){(e._status===0||e._status===-1)&&(e._status=2,e._result=l,t.status===void 0&&(t.status="rejected",t.reason=l))}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Mm=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function ym(e){var a=P1.T,t={};t.types=a!==null?a.types:null,P1.T=t;try{var l=e(),o=P1.S;o!==null&&o(t,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(C8,Mm)}catch(r){Mm(r)}finally{a!==null&&t.types!==null&&(a.types=t.types),P1.T=a}}function Hm(e){var a=P1.T;if(a!==null){var t=a.types;t===null?a.types=[e]:t.indexOf(e)===-1&&t.push(e)}else ym(Hm.bind(null,e))}var CH={map:L4,forEach:function(e,a,t){L4(e,function(){a.apply(this,arguments)},t)},count:function(e){var a=0;return L4(e,function(){a++}),a},toArray:function(e){return L4(e,function(a){return a})||[]},only:function(e){if(!S8(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Y.Activity=vH;Y.Children=CH;Y.Component=W3;Y.Fragment=iH;Y.Profiler=uH;Y.PureComponent=y8;Y.StrictMode=sH;Y.Suspense=fH;Y.ViewTransition=gH;Y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P1;Y.__COMPILER_RUNTIME={__proto__:null,c:function(e){return P1.H.useMemoCache(e)}};Y.addTransitionType=Hm;Y.cache=function(e){return function(){return e.apply(null,arguments)}};Y.cacheSignal=function(){return null};Y.cloneElement=function(e,a,t){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var l=zm({},e.props),o=e.key;if(a!=null)for(r in a.key!==void 0&&(o=""+a.key),a)!Am.call(a,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&a.ref===void 0||(l[r]=a[r]);var r=arguments.length-2;if(r===1)l.children=t;else if(1<r){for(var n=Array(r),c=0;c<r;c++)n[c]=arguments[c+2];l.children=n}return R8(e.type,o,l)};Y.createContext=function(e){return e={$$typeof:hH,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:dH,_context:e},e};Y.createElement=function(e,a,t){var l,o={},r=null;if(a!=null)for(l in a.key!==void 0&&(r=""+a.key),a)Am.call(a,l)&&l!=="key"&&l!=="__self"&&l!=="__source"&&(o[l]=a[l]);var n=arguments.length-2;if(n===1)o.children=t;else if(1<n){for(var c=Array(n),i=0;i<n;i++)c[i]=arguments[i+2];o.children=c}if(e&&e.defaultProps)for(l in n=e.defaultProps,n)o[l]===void 0&&(o[l]=n[l]);return R8(e,r,o)};Y.createRef=function(){return{current:null}};Y.forwardRef=function(e){return{$$typeof:mH,render:e}};Y.isValidElement=S8;Y.lazy=function(e){return{$$typeof:xm,_payload:{_status:-1,_result:e},_init:bH}};Y.memo=function(e,a){return{$$typeof:pH,type:e,compare:a===void 0?null:a}};Y.startTransition=ym;Y.unstable_useCacheRefresh=function(){return P1.H.useCacheRefresh()};Y.use=function(e){return P1.H.use(e)};Y.useActionState=function(e,a,t){return P1.H.useActionState(e,a,t)};Y.useCallback=function(e,a){return P1.H.useCallback(e,a)};Y.useContext=function(e){return P1.H.useContext(e)};Y.useDebugValue=function(){};Y.useDeferredValue=function(e,a){return P1.H.useDeferredValue(e,a)};Y.useEffect=function(e,a){return P1.H.useEffect(e,a)};Y.useEffectEvent=function(e){return P1.H.useEffectEvent(e)};Y.useId=function(){return P1.H.useId()};Y.useImperativeHandle=function(e,a,t){return P1.H.useImperativeHandle(e,a,t)};Y.useInsertionEffect=function(e,a){return P1.H.useInsertionEffect(e,a)};Y.useLayoutEffect=function(e,a){return P1.H.useLayoutEffect(e,a)};Y.useMemo=function(e,a){return P1.H.useMemo(e,a)};Y.useOptimistic=function(e,a){return P1.H.useOptimistic(e,a)};Y.useReducer=function(e,a,t){return P1.H.useReducer(e,a,t)};Y.useRef=function(e){return P1.H.useRef(e)};Y.useState=function(e){return P1.H.useState(e)};Y.useSyncExternalStore=function(e,a,t){return P1.H.useSyncExternalStore(e,a,t)};Y.useTransition=function(){return P1.H.useTransition()};Y.version="19.3.1"});var R=b2((AT,Sm)=>{"use strict";Sm.exports=Rm()});var Nm=b2(G1=>{"use strict";function L8(e,a){var t=e.length;e.push(a);e:for(;0<t;){var l=t-1>>>1,o=e[l];if(0<k4(o,a))e[l]=a,e[t]=o,t=l;else break e}}function C2(e){return e.length===0?null:e[0]}function T4(e){if(e.length===0)return null;var a=e[0],t=e.pop();if(t!==a){e[0]=t;e:for(var l=0,o=e.length,r=o>>>1;l<r;){var n=2*(l+1)-1,c=e[n],i=n+1,s=e[i];if(0>k4(c,t))i<o&&0>k4(s,c)?(e[l]=s,e[i]=t,l=i):(e[l]=c,e[n]=t,l=n);else if(i<o&&0>k4(s,t))e[l]=s,e[i]=t,l=i;else break e}}return a}function k4(e,a){var t=e.sortIndex-a.sortIndex;return t!==0?t:e.id-a.id}G1.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Vm=performance,G1.unstable_now=function(){return Vm.now()}):(V8=Date,Fm=V8.now(),G1.unstable_now=function(){return V8.now()-Fm});var Vm,V8,Fm,J2=[],ke=[],AH=1,q5=null,P0=3,k8=!1,P7=!1,O7=!1,w8=!1,km=typeof setTimeout=="function"?setTimeout:null,wm=typeof clearTimeout=="function"?clearTimeout:null,qm=typeof setImmediate<"u"?setImmediate:null;function w4(e){for(var a=C2(ke);a!==null;){if(a.callback===null)T4(ke);else if(a.startTime<=e)T4(ke),a.sortIndex=a.expirationTime,L8(J2,a);else break;a=C2(ke)}}function T8(e){if(O7=!1,w4(e),!P7)if(C2(J2)!==null)P7=!0,X3||(X3=!0,Q3());else{var a=C2(ke);a!==null&&B8(T8,a.startTime-e)}}var X3=!1,E7=-1,Tm=5,Bm=-1;function Dm(){return w8?!0:!(G1.unstable_now()-Bm<Tm)}function F8(){if(w8=!1,X3){var e=G1.unstable_now();Bm=e;var a=!0;try{e:{P7=!1,O7&&(O7=!1,wm(E7),E7=-1),k8=!0;var t=P0;try{a:{for(w4(e),q5=C2(J2);q5!==null&&!(q5.expirationTime>e&&Dm());){var l=q5.callback;if(typeof l=="function"){q5.callback=null,P0=q5.priorityLevel;var o=l(q5.expirationTime<=e);if(e=G1.unstable_now(),typeof o=="function"){q5.callback=o,w4(e),a=!0;break a}q5===C2(J2)&&T4(J2),w4(e)}else T4(J2);q5=C2(J2)}if(q5!==null)a=!0;else{var r=C2(ke);r!==null&&B8(T8,r.startTime-e),a=!1}}break e}finally{q5=null,P0=t,k8=!1}a=void 0}}finally{a?Q3():X3=!1}}}var Q3;typeof qm=="function"?Q3=function(){qm(F8)}:typeof MessageChannel<"u"?(q8=new MessageChannel,Lm=q8.port2,q8.port1.onmessage=F8,Q3=function(){Lm.postMessage(null)}):Q3=function(){km(F8,0)};var q8,Lm;function B8(e,a){E7=km(function(){e(G1.unstable_now())},a)}G1.unstable_IdlePriority=5;G1.unstable_ImmediatePriority=1;G1.unstable_LowPriority=4;G1.unstable_NormalPriority=3;G1.unstable_Profiling=null;G1.unstable_UserBlockingPriority=2;G1.unstable_cancelCallback=function(e){e.callback=null};G1.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Tm=0<e?Math.floor(1e3/e):5};G1.unstable_getCurrentPriorityLevel=function(){return P0};G1.unstable_next=function(e){switch(P0){case 1:case 2:case 3:var a=3;break;default:a=P0}var t=P0;P0=a;try{return e()}finally{P0=t}};G1.unstable_requestPaint=function(){w8=!0};G1.unstable_runWithPriority=function(e,a){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=P0;P0=e;try{return a()}finally{P0=t}};G1.unstable_scheduleCallback=function(e,a,t){var l=G1.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?l+t:l):t=l,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=t+o,e={id:AH++,callback:a,priorityLevel:e,startTime:t,expirationTime:o,sortIndex:-1},t>l?(e.sortIndex=t,L8(ke,e),C2(J2)===null&&e===C2(ke)&&(O7?(wm(E7),E7=-1):O7=!0,B8(T8,t-l))):(e.sortIndex=o,L8(J2,e),P7||k8||(P7=!0,X3||(X3=!0,Q3()))),e};G1.unstable_shouldYield=Dm;G1.unstable_wrapCallback=function(e){var a=P0;return function(){var t=P0;P0=a;try{return e.apply(this,arguments)}finally{P0=t}}}});var D8=b2((HT,Pm)=>{"use strict";Pm.exports=Nm()});var Um=b2(O0=>{"use strict";var yH=R();function Em(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)a+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function we(){}var X0={d:{f:we,r:function(){throw Error(Em(522))},D:we,C:we,L:we,m:we,X:we,S:we,M:we},p:0,findDOMNode:null},HH=Symbol.for("react.portal"),RH=Symbol.for("react.recoverable"),Om=Symbol.for("react.optimistic_key");function SH(e,a,t){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:HH,key:l==null?null:l===Om?Om:""+l,children:e,containerInfo:a,implementation:t}}var U7=yH.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function B4(e,a){if(e==="font")return"";if(typeof a=="string")return a==="use-credentials"?a:""}O0.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X0;O0.browser=function(e){return{$$typeof:RH,_reason:e}};O0.createPortal=function(e,a){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)throw Error(Em(299));return SH(e,a,null,t)};O0.flushSync=function(e){var a=U7.T,t=X0.p;try{if(U7.T=null,X0.p=2,e)return e()}finally{U7.T=a,X0.p=t,X0.d.f()}};O0.preconnect=function(e,a){typeof e=="string"&&(a?(a=a.crossOrigin,a=typeof a=="string"?a==="use-credentials"?a:"":void 0):a=null,X0.d.C(e,a))};O0.prefetchDNS=function(e){typeof e=="string"&&X0.d.D(e)};O0.preinit=function(e,a){if(typeof e=="string"&&a&&typeof a.as=="string"){var t=a.as,l=B4(t,a.crossOrigin),o=typeof a.integrity=="string"?a.integrity:void 0,r=typeof a.fetchPriority=="string"?a.fetchPriority:void 0;t==="style"?X0.d.S(e,typeof a.precedence=="string"?a.precedence:void 0,{crossOrigin:l,integrity:o,fetchPriority:r}):t==="script"&&X0.d.X(e,{crossOrigin:l,integrity:o,fetchPriority:r,nonce:typeof a.nonce=="string"?a.nonce:void 0})}};O0.preinitModule=function(e,a){if(typeof e=="string")if(typeof a=="object"&&a!==null){if(a.as==null||a.as==="script"){var t=B4(a.as,a.crossOrigin);X0.d.M(e,{crossOrigin:t,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0})}}else a==null&&X0.d.M(e)};O0.preload=function(e,a){if(typeof e=="string"&&typeof a=="object"&&a!==null&&typeof a.as=="string"){var t=a.as,l=B4(t,a.crossOrigin);X0.d.L(e,t,{crossOrigin:l,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,type:typeof a.type=="string"?a.type:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0,referrerPolicy:typeof a.referrerPolicy=="string"?a.referrerPolicy:void 0,imageSrcSet:typeof a.imageSrcSet=="string"?a.imageSrcSet:void 0,imageSizes:typeof a.imageSizes=="string"?a.imageSizes:void 0,media:typeof a.media=="string"?a.media:void 0})}};O0.preloadModule=function(e,a){if(typeof e=="string")if(a){var t=B4(a.as,a.crossOrigin);X0.d.m(e,{as:typeof a.as=="string"&&a.as!=="script"?a.as:void 0,crossOrigin:t,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0})}else X0.d.m(e)};O0.requestFormReset=function(e){X0.d.r(e)};O0.unstable_batchedUpdates=function(e,a){return e(a)};O0.useFormState=function(e,a,t){return U7.H.useFormState(e,a,t)};O0.useFormStatus=function(){return U7.H.useHostTransitionStatus()};O0.version="19.3.1"});var N8=b2((ST,Gm)=>{"use strict";function Im(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Im)}catch(e){console.error(e)}}Im(),Gm.exports=Um()});var qM=b2(Mn=>{"use strict";var z0=D8(),Fp=R(),VH=N8();function S(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)a+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function qp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Vl(e){for(var a=e,t=a;t&&!t.alternate;)a=t,(a.flags&4098)!==0&&(e=a.return),t=a.return;for(;a.return;)a=a.return;return a.tag===3?e:null}function Lp(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function kp(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function jm(e){if(Vl(e)!==e)throw Error(S(188))}function FH(e){var a=e.alternate;if(!a){if(a=Vl(e),a===null)throw Error(S(188));return a!==e?null:e}for(var t=e,l=a;;){var o=t.return;if(o===null)break;var r=o.alternate;if(r===null){if(l=o.return,l!==null){t=l;continue}break}if(o.child===r.child){for(r=o.child;r;){if(r===t)return jm(o),e;if(r===l)return jm(o),a;r=r.sibling}throw Error(S(188))}if(t.return!==l.return)t=o,l=r;else{for(var n=!1,c=o.child;c;){if(c===t){n=!0,t=o,l=r;break}if(c===l){n=!0,l=o,t=r;break}c=c.sibling}if(!n){for(c=r.child;c;){if(c===t){n=!0,t=r,l=o;break}if(c===l){n=!0,l=r,t=o;break}c=c.sibling}if(!n)throw Error(S(189))}}if(t.alternate!==l)throw Error(S(190))}if(t.tag!==3)throw Error(S(188));return t.stateNode.current===t?e:a}function wp(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=wp(e),a!==null)return a;e=e.sibling}return null}function c5(e,a,t,l,o,r){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&t(e,l,o,r)||(e.tag!==22||e.memoizedState===null)&&(a||e.tag!==5&&e.tag!==27)&&c5(e.child,a,t,l,o,r))return!0;e=e.sibling}return!1}function Za(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function Wm(e){var a=!1;for(e=e.return;e!==null&&(e.tag===4&&(a=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return a}function Tp(e){var a=[null,null],t=Za(e);return t===null||Bp(a,e,t.child,{foundSelf:!1}),a}function Bp(e,a,t,l){for(;t!==null;){if(t===a)l.foundSelf=!0;else if(t.tag===5||t.tag===27||t.tag===6){if(l.foundSelf)return e[1]=t,!0;e[0]=t}else if((t.tag!==22||t.memoizedState===null)&&Bp(e,a,t.child,l))return!0;t=t.sibling}return!1}function _0(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(S(559))}}var at=null,vs=null;function qH(e,a,t){return e===t?!0:e===a?(at=e,!0):!1}function LH(e,a,t){return e===t?(vs=e,!1):e===a?(vs!==null&&(at=e),!0):!1}function Qm(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function gs(e,a,t){for(var l=0,o=e;o;o=t(o))l++;o=0;for(var r=a;r;r=t(r))o++;for(;0<l-o;)e=t(e),l--;for(;0<o-l;)a=t(a),o--;for(;l--;){if(e===a||a!==null&&e===a.alternate)return e;e=t(e),a=t(a)}return null}var N1=Object.assign,kH=Symbol.for("react.element"),D4=Symbol.for("react.transitional.element"),K7=Symbol.for("react.portal"),tt=Symbol.for("react.fragment"),Dp=Symbol.for("react.strict_mode"),Ms=Symbol.for("react.profiler"),Np=Symbol.for("react.consumer"),V2=Symbol.for("react.context"),Ru=Symbol.for("react.forward_ref"),xs=Symbol.for("react.suspense"),_s=Symbol.for("react.suspense_list"),Su=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),zs=Symbol.for("react.activity"),wH=Symbol.for("react.legacy_hidden"),TH=Symbol.for("react.memo_cache_sentinel"),bs=Symbol.for("react.view_transition"),BH=Symbol.for("react.recoverable"),Xm=Symbol.iterator;function I7(e){return e===null||typeof e!="object"?null:(e=Xm&&e[Xm]||e["@@iterator"],typeof e=="function"?e:null)}var DH=Symbol.for("react.client.reference");function Cs(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===DH?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case tt:return"Fragment";case Ms:return"Profiler";case Dp:return"StrictMode";case xs:return"Suspense";case _s:return"SuspenseList";case zs:return"Activity";case bs:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case K7:return"Portal";case V2:return e.displayName||"Context";case Np:return(e._context.displayName||"Context")+".Consumer";case Ru:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Su:return a=e.displayName||null,a!==null?a:Cs(e.type)||"Memo";case Ne:a=e._payload,e=e._init;try{return Cs(e(a))}catch{}}return null}var Y7=Array.isArray,X=Fp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z1=VH.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Pa={pending:!1,data:null,method:null,action:null},As=[],lt=-1;function B2(e){return{current:e}}function k0(e){0>lt||(e.current=As[lt],As[lt]=null,lt--)}function U1(e,a){lt++,As[lt]=e.current,e.current=a}var k2=B2(null),ml=B2(null),Qe=B2(null),C6=B2(null);function A6(e,a){switch(U1(Qe,a),U1(ml,e),U1(k2,null),a.nodeType){case 9:case 11:e=(e=a.documentElement)&&(e=e.namespaceURI)?sp(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=sp(a),e=nM(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}k0(k2),U1(k2,e)}function Ct(){k0(k2),k0(ml),k0(Qe)}function ys(e){var a=e.memoizedState;a!==null&&(kt._currentValue=a.memoizedState,U1(C6,e)),a=k2.current;var t=nM(a,e.type);a!==t&&(U1(ml,e),U1(k2,t))}function y6(e){ml.current===e&&(k0(k2),k0(ml)),C6.current===e&&(k0(C6),kt._currentValue=Pa)}var P8,Km;function Be(e){if(P8===void 0)try{throw Error()}catch(t){var a=t.stack.trim().match(/\n( *(at )?)/);P8=a&&a[1]||"",Km=-1<t.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+P8+e+Km}var O8=!1;function E8(e,a){if(!e||O8)return"";O8=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(f){var h=f}Reflect.construct(e,[],m)}else{try{m.call()}catch(f){h=f}m=!1;try{var d=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),m=!0,new e}finally{m&&(d!==void 0?Object.defineProperty(e.prototype,"props",d):delete e.prototype.props)}}}else{try{throw Error()}catch(f){h=f}(m=e())&&typeof m.catch=="function"&&m.catch(function(){})}}catch(f){if(f&&h&&typeof f.stack=="string")return[f.stack,h.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=l.DetermineComponentFrameRoot(),n=r[0],c=r[1];if(n&&c){var i=n.split(`
|
|
4
|
+
`),s=c.split(`
|
|
5
|
+
`);for(o=l=0;l<i.length&&!i[l].includes("DetermineComponentFrameRoot");)l++;for(;o<s.length&&!s[o].includes("DetermineComponentFrameRoot");)o++;if(l===i.length||o===s.length)for(l=i.length-1,o=s.length-1;1<=l&&0<=o&&i[l]!==s[o];)o--;for(;1<=l&&0<=o;l--,o--)if(i[l]!==s[o]){if(l!==1||o!==1)do if(l--,o--,0>o||i[l]!==s[o]){var u=`
|
|
6
|
+
`+i[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=l&&0<=o);break}}}finally{O8=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?Be(t):""}function NH(e,a){switch(e.tag){case 26:case 27:case 5:return Be(e.type);case 16:return Be("Lazy");case 13:return e.child!==a&&a!==null?Be("Suspense Fallback"):Be("Suspense");case 19:return Be("SuspenseList");case 0:case 15:return E8(e.type,!1);case 11:return E8(e.type.render,!1);case 1:return E8(e.type,!0);case 31:return Be("Activity");case 30:return Be("ViewTransition");default:return""}}function Ym(e){try{var a="",t=null;do a+=NH(e,t),t=e,e=e.return;while(e);return a}catch(l){return`
|
|
7
|
+
Error generating stack: `+l.message+`
|
|
8
|
+
`+l.stack}}var Hs=Object.prototype.hasOwnProperty,Vu=z0.unstable_scheduleCallback,U8=z0.unstable_cancelCallback,PH=z0.unstable_shouldYield,OH=z0.unstable_requestPaint,_5=z0.unstable_now,EH=z0.unstable_getCurrentPriorityLevel,Pp=z0.unstable_ImmediatePriority,Op=z0.unstable_UserBlockingPriority,H6=z0.unstable_NormalPriority,UH=z0.unstable_LowPriority,Ep=z0.unstable_IdlePriority,IH=z0.log,GH=z0.unstable_setDisableYieldValue,Fl=null,z5=null;function Ee(e){if(typeof IH=="function"&&GH(e),z5&&typeof z5.setStrictMode=="function")try{z5.setStrictMode(Fl,e)}catch{}}var b5=Math.clz32?Math.clz32:QH,jH=Math.log,WH=Math.LN2;function QH(e){return e>>>=0,e===0?32:31-(jH(e)/WH|0)|0}var N4=256,P4=262144,O4=4194304;function wa(e){var a=e&42;if(a!==0)return a;switch(e&-e){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 e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Z6(e,a,t){var l=e.pendingLanes;if(l===0)return 0;var o=0,r=e.suspendedLanes,n=e.pingedLanes;e=e.warmLanes;var c=l&134217727;return c!==0?(l=c&~r,l!==0?o=wa(l):(n&=c,n!==0?o=wa(n):t||(t=c&~e,t!==0&&(o=wa(t))))):(c=l&~r,c!==0?o=wa(c):n!==0?o=wa(n):t||(t=l&~e,t!==0&&(o=wa(t)))),o===0?0:a!==0&&a!==o&&(a&r)===0&&(r=o&-o,t=a&-a,r>=t||r===32&&(t&4194048)!==0)?a:o}function ql(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function Up(e,a){(a&8)!==0&&(a|=a&32);var t=e.entangledLanes;if(t!==0)for(e=e.entanglements,t&=a;0<t;){var l=31-b5(t),o=1<<l;a|=e[l],t&=~o}return a}function XH(e,a){switch(e){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 Ip(){var e=O4;return O4<<=1,(O4&62914560)===0&&(O4=4194304),e}function I8(e){for(var a=[],t=0;31>t;t++)a.push(e);return a}function Ll(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function KH(e,a,t,l,o,r){var n=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var c=e.entanglements,i=e.expirationTimes,s=e.hiddenUpdates;for(t=n&~t;0<t;){var u=31-b5(t),m=1<<u;c[u]=0,i[u]=-1;var h=s[u];if(h!==null)for(s[u]=null,u=0;u<h.length;u++){var d=h[u];d!==null&&(d.lane&=-536870913)}t&=~m}l!==0&&Gp(e,l,0),r!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=r&~(n&~a))}function Gp(e,a,t){e.pendingLanes|=a,e.suspendedLanes&=~a;var l=31-b5(a);e.entangledLanes|=a,e.entanglements[l]=e.entanglements[l]|1073741824|t&261930}function jp(e,a){var t=e.entangledLanes|=a;for(e=e.entanglements;t;){var l=31-b5(t),o=1<<l;o&a|e[l]&a&&(e[l]|=a),t&=~o}}function Wp(e,a){var t=a&-a;return t=(t&42)!==0?1:Fu(t),(t&(e.suspendedLanes|a))!==0?0:t}function Fu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function qu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Qp(){var e=z1.p;return e!==0?e:(e=window.event,e===void 0?32:SM(e.type))}function $m(e,a){var t=z1.p;try{return z1.p=e,a()}finally{z1.p=t}}var he=Math.random().toString(36).slice(2),q0="__reactFiber$"+he,i5="__reactProps$"+he,Bt="__reactContainer$"+he,Zm="__reactEvents$"+he,YH="__reactListeners$"+he,$H="__reactHandles$"+he,Jm="__reactResources$"+he,kl="__reactMarker$"+he,R6="__reactLoad$"+he;function J6(e){delete e[q0],delete e[i5],delete e[YH],delete e[$H]}function Da(e){var a;if(a=e[q0])return a;for(var t=e.parentNode;t;){if(a=t[Bt]||t[q0]){if(t=a.alternate,a.child!==null||t!==null&&t.child!==null)for(e=gp(e);e!==null;){if(t=e[q0])return t;e=gp(e)}return a}e=t,t=e.parentNode}return null}function Dt(e){if(e=e[q0]||e[Bt]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function $7(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(S(33))}function mt(e){var a=e[Jm];return a||(a=e[Jm]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function y0(e){e[kl]=!0}function Xp(e){e[R6]=void 0}var Kp=new Set,Yp={};function Ja(e,a){At(e,a),At(e+"Capture",a)}function At(e,a){for(Yp[e]=a,e=0;e<a.length;e++)Kp.add(a[e])}var ZH=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]*$"),ef={},af={};function JH(e){return Hs.call(af,e)?!0:Hs.call(ef,e)?!1:ZH.test(e)?af[e]=!0:(ef[e]=!0,!1)}var x1=!1;function tf(){var e=x1;return x1=!1,e}function o6(e,a,t){if(JH(a))if(t===null)e.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var l=a.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,t)}}function E4(e,a,t){if(t===null)e.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,t)}}function ee(e,a,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttributeNS(a,t,l)}}function v5(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $p(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function eR(e,a,t){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var o=l.get,r=l.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return o.call(this)},set:function(n){t=""+n,r.call(this,n)}}),Object.defineProperty(e,a,{enumerable:l.enumerable}),{getValue:function(){return t},setValue:function(n){t=""+n},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Rs(e){if(!e._valueTracker){var a=$p(e)?"checked":"value";e._valueTracker=eR(e,a,""+e[a])}}function Zp(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var t=a.getValue(),l="";return e&&(l=$p(e)?e.checked?"true":"false":e.value),e=l,e!==t?(a.setValue(e),!0):!1}var aR=/[\n"\\]/g;function B5(e){return e.replace(aR,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Ss(e,a,t,l,o,r,n,c){e.name="",n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"?e.type=n:e.removeAttribute("type"),a!=null?n==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+v5(a)):e.value!==""+v5(a)&&(e.value=""+v5(a)):n!=="submit"&&n!=="reset"||e.removeAttribute("value"),a!=null?n==="number"&&e.value==a?G8(e,v5(e.value)):G8(e,v5(a)):t!=null?G8(e,v5(t)):l!=null&&e.removeAttribute("value"),o==null&&r!=null&&(e.defaultChecked=!!r),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.name=""+v5(c):e.removeAttribute("name")}function Jp(e,a,t,l,o,r,n,c){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),a!=null||t!=null){if(!(r!=="submit"&&r!=="reset"||a!=null)){Rs(e);return}t=t!=null?""+v5(t):"",a=a!=null?""+v5(a):t,c||a===e.value||(e.value=a),e.defaultValue=a}l=l??o,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=c?e.checked:!!l,e.defaultChecked=!!l,n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(e.name=n),Rs(e)}function G8(e,a){e.defaultValue!==""+a&&(e.defaultValue=""+a)}function ft(e,a,t,l){if(e=e.options,a){a={};for(var o=0;o<t.length;o++)a["$"+t[o]]=!0;for(t=0;t<e.length;t++)o=a.hasOwnProperty("$"+e[t].value),e[t].selected!==o&&(e[t].selected=o),o&&l&&(e[t].defaultSelected=!0)}else{for(t=""+v5(t),a=null,o=0;o<e.length;o++){if(e[o].value===t){e[o].selected=!0,l&&(e[o].defaultSelected=!0);return}a!==null||e[o].disabled||(a=e[o])}a!==null&&(a.selected=!0)}}function ev(e,a,t){if(a!=null&&(a=""+v5(a),a!==e.value&&(e.value=a),t==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=t!=null?""+v5(t):""}function av(e,a,t,l){if(a==null){if(l!=null){if(t!=null)throw Error(S(92));if(Y7(l)){if(1<l.length)throw Error(S(93));l=l[0]}t=l}t==null&&(t=""),a=t}t=v5(a),e.defaultValue=t,l=e.textContent,l===t&&l!==""&&l!==null&&(e.value=l),Rs(e)}function yt(e,a){if(a){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=a;return}}e.textContent=a}var tR=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 lf(e,a,t){var l=a.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?l?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":l?e.setProperty(a,t):typeof t!="number"||t===0||tR.has(a)?a==="float"?e.cssFloat=t:e[a]=(""+t).trim():e[a]=t+"px"}function tv(e,a,t){if(a!=null&&typeof a!="object")throw Error(S(62));if(e=e.style,t!=null){for(var l in t)!t.hasOwnProperty(l)||a!=null&&a.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="",x1=!0);for(var o in a)l=a[o],a.hasOwnProperty(o)&&t[o]!==l&&(lf(e,o,l),x1=!0)}else for(var r in a)a.hasOwnProperty(r)&&lf(e,r,a[r])}function Lu(e){if(e.indexOf("-")===-1)return!1;switch(e){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 lR=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"],["maskType","mask-type"],["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"]]),oR=/^[\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 r6(e){return oR.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function F2(){}var Vs=null;function ku(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ot=null,pt=null;function of(e){var a=Dt(e);if(a&&(e=a.stateNode)){var t=e[i5]||null;e:switch(e=a.stateNode,a.type){case"input":if(Ss(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),a=t.name,t.type==="radio"&&a!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+B5(""+a)+'"][type="radio"]'),a=0;a<t.length;a++){var l=t[a];if(l!==e&&l.form===e.form){var o=l[i5]||null;if(!o)throw Error(S(90));Ss(l,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(a=0;a<t.length;a++)l=t[a],l.form===e.form&&Zp(l)}break e;case"textarea":ev(e,t.value,t.defaultValue);break e;case"select":a=t.value,a!=null&&ft(e,!!t.multiple,a,!1)}}}var j8=!1;function lv(e,a,t){if(j8)return e(a,t);j8=!0;try{var l=e(a);return l}finally{if(j8=!1,(ot!==null||pt!==null)&&(fn(),ot&&(a=ot,e=pt,pt=ot=null,of(a),e)))for(a=0;a<e.length;a++)of(e[a])}}function fl(e,a){var t=e.stateNode;if(t===null)return null;var l=t[i5]||null;if(l===null)return null;t=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(S(231,a,typeof t));return t}var ne=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fs=!1;if(ne)try{K3={},Object.defineProperty(K3,"passive",{get:function(){Fs=!0}}),window.addEventListener("test",K3,K3),window.removeEventListener("test",K3,K3)}catch{Fs=!1}var K3,Ue=null,wu=null,n6=null;function ov(){if(n6)return n6;var e,a=wu,t=a.length,l,o="value"in Ue?Ue.value:Ue.textContent,r=o.length;for(e=0;e<t&&a[e]===o[e];e++);var n=t-e;for(l=1;l<=n&&a[t-l]===o[r-l];l++);return n6=o.slice(e,1<l?1-l:void 0)}function c6(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function U4(){return!0}function rf(){return!1}function Z0(e){function a(t,l,o,r,n){this._reactName=t,this._targetInst=o,this.type=l,this.nativeEvent=r,this.target=n,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(t=e[c],this[c]=t?t(r):r[c]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?U4:rf,this.isPropagationStopped=rf,this}return N1(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=U4)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=U4)},persist:function(){},isPersistent:U4}),a}var ia={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},en=Z0(ia),wl=N1({},ia,{view:0,detail:0}),rR=Z0(wl),W8,Q8,G7,an=N1({},wl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==G7&&(G7&&e.type==="mousemove"?(W8=e.screenX-G7.screenX,Q8=e.screenY-G7.screenY):Q8=W8=0,G7=e),W8)},movementY:function(e){return"movementY"in e?e.movementY:Q8}}),nf=Z0(an),nR=N1({},an,{dataTransfer:0}),cR=Z0(nR),iR=N1({},wl,{relatedTarget:0}),X8=Z0(iR),sR=N1({},ia,{animationName:0,elapsedTime:0,pseudoElement:0}),uR=Z0(sR),dR=N1({},ia,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hR=Z0(dR),mR=N1({},ia,{data:0}),cf=Z0(mR),fR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pR={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"},vR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gR(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=vR[e])?!!a[e]:!1}function Tu(){return gR}var MR=N1({},wl,{key:function(e){if(e.key){var a=fR[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=c6(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pR[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tu,charCode:function(e){return e.type==="keypress"?c6(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?c6(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xR=Z0(MR),_R=N1({},an,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sf=Z0(_R),zR=N1({},ia,{submitter:0}),bR=Z0(zR),CR=N1({},wl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tu}),AR=Z0(CR),yR=N1({},ia,{propertyName:0,elapsedTime:0,pseudoElement:0}),HR=Z0(yR),RR=N1({},an,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),SR=Z0(RR),VR=N1({},ia,{newState:0,oldState:0,source:0}),FR=Z0(VR),qR=[9,13,27,32],Bu=ne&&"CompositionEvent"in window,el=null;ne&&"documentMode"in document&&(el=document.documentMode);var LR=ne&&"TextEvent"in window&&!el,rv=ne&&(!Bu||el&&8<el&&11>=el),uf=" ",df=!1;function nv(e,a){switch(e){case"keyup":return qR.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rt=!1;function kR(e,a){switch(e){case"compositionend":return cv(a);case"keypress":return a.which!==32?null:(df=!0,uf);case"textInput":return e=a.data,e===uf&&df?null:e;default:return null}}function wR(e,a){if(rt)return e==="compositionend"||!Bu&&nv(e,a)?(e=ov(),n6=wu=Ue=null,rt=!1,e):null;switch(e){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 rv&&a.locale!=="ko"?null:a.data;default:return null}}var TR={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 hf(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!TR[e.type]:a==="textarea"}function iv(e,a,t,l){ot?pt?pt.push(l):pt=[l]:ot=l,a=K6(a,"onChange"),0<a.length&&(t=new en("onChange","change",null,t,l),e.push({event:t,listeners:a}))}var al=null,pl=null;function BR(e){lM(e,0)}function tn(e){var a=$7(e);if(Zp(a))return e}function mf(e,a){if(e==="change")return a}var sv=!1;ne&&(ne?(G4="oninput"in document,G4||(K8=document.createElement("div"),K8.setAttribute("oninput","return;"),G4=typeof K8.oninput=="function"),I4=G4):I4=!1,sv=I4&&(!document.documentMode||9<document.documentMode));var I4,G4,K8;function ff(){al&&(al.detachEvent("onpropertychange",uv),pl=al=null)}function uv(e){if(e.propertyName==="value"&&tn(pl)){var a=[];iv(a,pl,e,ku(e)),lv(BR,a)}}function DR(e,a,t){e==="focusin"?(ff(),al=a,pl=t,al.attachEvent("onpropertychange",uv)):e==="focusout"&&ff()}function NR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tn(pl)}function PR(e,a){if(e==="click")return tn(a)}function OR(e,a){if(e==="input"||e==="change")return tn(a)}function ER(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var A5=typeof Object.is=="function"?Object.is:ER;function vl(e,a){if(A5(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var t=Object.keys(e),l=Object.keys(a);if(t.length!==l.length)return!1;for(l=0;l<t.length;l++){var o=t[l];if(!Hs.call(a,o)||!A5(e[o],a[o]))return!1}return!0}function qs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function pf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vf(e,a){var t=pf(e);e=0;for(var l;t;){if(t.nodeType===3){if(l=e+t.textContent.length,e<=a&&l>=a)return{node:t,offset:a-e};e=l}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=pf(t)}}function dv(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?dv(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function hv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=qs(e.document);a instanceof e.HTMLIFrameElement;){try{var t=typeof a.contentWindow.location.href=="string"}catch{t=!1}if(t)e=a.contentWindow;else break;a=qs(e.document)}return a}function Du(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var UR=ne&&"documentMode"in document&&11>=document.documentMode,nt=null,Ls=null,tl=null,ks=!1;function gf(e,a,t){var l=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ks||nt==null||nt!==qs(l)||(l=nt,"selectionStart"in l&&Du(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),tl&&vl(tl,l)||(tl=l,l=K6(Ls,"onSelect"),0<l.length&&(a=new en("onSelect","select",null,a,t),e.push({event:a,listeners:l}),a.target=nt)))}function La(e,a){var t={};return t[e.toLowerCase()]=a.toLowerCase(),t["Webkit"+e]="webkit"+a,t["Moz"+e]="moz"+a,t}var ct={animationend:La("Animation","AnimationEnd"),animationiteration:La("Animation","AnimationIteration"),animationstart:La("Animation","AnimationStart"),transitionrun:La("Transition","TransitionRun"),transitionstart:La("Transition","TransitionStart"),transitioncancel:La("Transition","TransitionCancel"),transitionend:La("Transition","TransitionEnd")},Y8={},mv={};ne&&(mv=document.createElement("div").style,"AnimationEvent"in window||(delete ct.animationend.animation,delete ct.animationiteration.animation,delete ct.animationstart.animation),"TransitionEvent"in window||delete ct.transitionend.transition);function e3(e){if(Y8[e])return Y8[e];if(!ct[e])return e;var a=ct[e],t;for(t in a)if(a.hasOwnProperty(t)&&t in mv)return Y8[e]=a[t];return e}var fv=e3("animationend"),pv=e3("animationiteration"),vv=e3("animationstart"),IR=e3("transitionrun"),GR=e3("transitionstart"),jR=e3("transitioncancel"),gv=e3("transitionend"),Mv=new Map,ws="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");ws.push("scrollEnd");function $5(e,a){Mv.set(e,a),Ja(a,[e])}var WR=0;function ce(e,a){if(e.name!=null&&e.name!=="auto")return e.name;if(a.autoName!==null)return a.autoName;e=Y5.identifierPrefix;var t=WR++;return e="_"+e+"t_"+t.toString(32)+"_",a.autoName=e}function Mf(e){if(e==null||typeof e=="string")return e;var a=null,t=bt;if(t!==null)for(var l=0;l<t.length;l++){var o=e[t[l]];if(o!=null){if(o==="none")return"none";a=a==null?o:a+(" "+o)}}return a??e.default}function me(e,a){return e=Mf(e),a=Mf(a),a==null?e==="auto"?null:e:a==="auto"?null:a}var S6=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},k5=[],it=0,Nu=0;function ln(){for(var e=it,a=Nu=it=0;a<e;){var t=k5[a];k5[a++]=null;var l=k5[a];k5[a++]=null;var o=k5[a];k5[a++]=null;var r=k5[a];if(k5[a++]=null,l!==null&&o!==null){var n=l.pending;n===null?o.next=o:(o.next=n.next,n.next=o),l.pending=o}r!==0&&xv(t,o,r)}}function on(e,a,t,l){k5[it++]=e,k5[it++]=a,k5[it++]=t,k5[it++]=l,Nu|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Pu(e,a,t,l){return on(e,a,t,l),V6(e)}function a3(e,a){return on(e,null,null,a),V6(e)}function xv(e,a,t){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t);for(var o=!1,r=e.return;r!==null;)r.childLanes|=t,l=r.alternate,l!==null&&(l.childLanes|=t),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(o=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,o&&a!==null&&(o=31-b5(t),e=r.hiddenUpdates,l=e[o],l===null?e[o]=[a]:l.push(a),a.lane=t|536870912),r):null}function V6(e){if(50<hl)throw hl=0,g6=null,Error(S(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var st={};function QR(e,a,t,l){this.tag=e,this.key=t,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function r5(e,a,t,l){return new QR(e,a,t,l)}function Ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oe(e,a){var t=e.alternate;return t===null?(t=r5(e.tag,a,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=a,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&1206910976,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,a=e.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function _v(e,a){e.flags&=1206910978;var t=e.alternate;return t===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,a=t.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function i6(e,a,t,l,o,r){var n=0;if(l=e,typeof l=="function")Ou(l)&&(n=1);else if(typeof l=="string")n=xV(e,t,k2.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(l){case zs:return e=r5(31,t,a,o),e.elementType=zs,e.lanes=r,e;case tt:return Oa(t.children,o,r,a);case Dp:n=8,o|=24;break;case Ms:return e=r5(12,t,a,o|2),e.elementType=Ms,e.lanes=r,e;case xs:return e=r5(13,t,a,o),e.elementType=xs,e.lanes=r,e;case _s:return e=r5(19,t,a,o),e.elementType=_s,e.lanes=r,e;case wH:case bs:return e=o|32,e=r5(30,t,a,e),e.elementType=bs,e.lanes=r,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case V2:n=10;break e;case Np:n=9;break e;case Ru:n=11;break e;case Su:n=14;break e;case Ne:n=16,l=null;break e}n=29,t=Error(S(130,e===null?"null":typeof e,"")),l=null}return a=r5(n,t,a,o),a.elementType=e,a.type=l,a.lanes=r,a}function Oa(e,a,t,l){return e=r5(7,e,l,a),e.lanes=t,e}function $8(e,a,t){return e=r5(6,e,null,a),e.lanes=t,e}function zv(e){var a=r5(18,null,null,0);return a.stateNode=e,a}function Z8(e,a,t){return a=r5(4,e.children!==null?e.children:[],e.key,a),a.lanes=t,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var xf=new WeakMap;function D5(e,a){if(typeof e=="object"&&e!==null){var t=xf.get(e);return t!==void 0?t:(a={value:e,source:a,stack:Ym(a)},xf.set(e,a),a)}return{value:e,source:a,stack:Ym(a)}}var ut=[],dt=0,F6=null,gl=0,w5=[],T5=0,la=null,q2=1,L2="";function te(e,a){ut[dt++]=gl,ut[dt++]=F6,F6=e,gl=a}function bv(e,a,t){w5[T5++]=q2,w5[T5++]=L2,w5[T5++]=la,la=e;var l=q2;e=L2;var o=32-b5(l)-1;l&=~(1<<o),t+=1;var r=32-b5(a)+o;if(30<r){var n=o-o%5;r=(l&(1<<n)-1).toString(32),l>>=n,o-=n,q2=1<<32-b5(a)+o|t<<o|l,L2=r+e}else q2=1<<r|t<<o|l,L2=e}function rn(e){e.return!==null&&(te(e,1),bv(e,1,0))}function Eu(e){for(;e===F6;)F6=ut[--dt],ut[dt]=null,gl=ut[--dt],ut[dt]=null;for(;e===la;)la=w5[--T5],w5[T5]=null,L2=w5[--T5],w5[T5]=null,q2=w5[--T5],w5[T5]=null}function Cv(e,a){w5[T5++]=q2,w5[T5++]=L2,w5[T5++]=la,q2=a.id,L2=a.overflow,la=e}var H0=null,E1=null,o1=!1,Xe=null,N5=!1,Ts=Error(S(519));function oa(e){var a=Error(S(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ml(D5(a,e)),Ts}function _f(e){var a=e.stateNode,t=e.type,l=e.memoizedProps;switch(a[q0]=e,a[i5]=l,t){case"dialog":i1("cancel",a),i1("close",a);break;case"iframe":case"object":case"embed":i1("load",a);break;case"video":case"audio":for(t=0;t<bl.length;t++)i1(bl[t],a);break;case"source":i1("error",a);break;case"img":case"image":case"link":i1("error",a),i1("load",a);break;case"details":i1("toggle",a);break;case"input":i1("invalid",a),Jp(a,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":i1("invalid",a);break;case"textarea":i1("invalid",a),av(a,l.value,l.defaultValue,l.children)}t=l.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||a.textContent===""+t||l.suppressHydrationWarning===!0||rM(a.textContent,t)?(l.popover!=null&&(i1("beforetoggle",a),i1("toggle",a)),l.onScroll!=null&&i1("scroll",a),l.onScrollEnd!=null&&i1("scrollend",a),l.onClick!=null&&(a.onclick=F2),a=!0):a=!1,a||oa(e,!0)}function q6(e){for(H0=e.return;H0;)switch(H0.tag){case 5:case 31:case 13:N5=!1;return;case 27:case 3:N5=!0;return;default:H0=H0.return}}function Y3(e){if(e!==H0)return!1;if(!o1)return q6(e),o1=!0,!1;var a=e.tag,t;if((t=a!==3&&a!==27)&&((t=a===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||xu(e.type,e.memoizedProps)),t=!t),t&&E1&&oa(e),q6(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));E1=vp(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));E1=vp(e)}else a===27?(a=E1,sa(e.type)?(e=Cu,Cu=null,E1=e):E1=a):E1=H0?P5(e.stateNode.nextSibling):null;return!0}function Ga(){E1=H0=null,o1=!1}function J8(){var e=Xe;return e!==null&&(l5===null?l5=e:l5.push.apply(l5,e),Xe=null),e}function Ml(e){Xe===null?Xe=[e]:Xe.push(e)}var Bs=B2(null),t3=null,le=null;function Ie(e,a,t){U1(Bs,a._currentValue),a._currentValue=t}function re(e){e._currentValue=Bs.current,k0(Bs)}function s6(e,a,t){for(;e!==null;){var l=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,l!==null&&(l.childLanes|=a)):l!==null&&(l.childLanes&a)!==a&&(l.childLanes|=a),e===t)break;e=e.return}}function Ds(e,a,t,l){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var r=o.dependencies;if(r!==null){var n=o.child;r=r.firstContext;e:for(;r!==null;){var c=r;r=o;for(var i=0;i<a.length;i++)if(c.context===a[i]){r.lanes|=t,c=r.alternate,c!==null&&(c.lanes|=t),s6(r.return,t,e),l||(n=null);break e}r=c.next}}else if(o.tag===18){if(n=o.return,n===null)throw Error(S(341));n.lanes|=t,r=n.alternate,r!==null&&(r.lanes|=t),s6(n,t,e),n=null}else o.tag===13&&o.memoizedState!==null&&o.memoizedState.dehydrated===null?(o.lanes|=t,n=o.alternate,n!==null&&(n.lanes|=t),s6(o.return,t,e),n=o.child,n=n!==null?n.sibling:null):n=o.child;if(n!==null)n.return=o;else for(n=o;n!==null;){if(n===e){n=null;break}if(o=n.sibling,o!==null){o.return=n.return,n=o;break}n=n.return}o=n}}function ja(e,a,t,l){e=null;for(var o=a,r=!1;o!==null;){if(!r){if((o.flags&524288)!==0)r=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var n=o.alternate;if(n===null)throw Error(S(387));if(n=n.memoizedProps,n!==null){var c=o.type;A5(o.pendingProps.value,n.value)||(e!==null?e.push(c):e=[c])}}else if(o===C6.current){if(n=o.alternate,n===null)throw Error(S(387));n.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(kt):e=[kt])}o=o.return}return e!==null&&Ds(a,e,t,l),a.flags|=262144,e!==null}function L6(e){for(e=e.firstContext;e!==null;){if(!A5(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Wa(e){t3=e,le=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function L0(e){return Av(t3,e)}function j4(e,a){return t3===null&&Wa(e),Av(e,a)}function Av(e,a){var t=a._currentValue;if(a={context:a,memoizedValue:t,next:null},le===null){if(e===null)throw Error(S(308));le=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else le=le.next=a;return t}var XR=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(t,l){e.push(l)}};this.abort=function(){a.aborted=!0,e.forEach(function(t){return t()})}},KR=z0.unstable_scheduleCallback,YR=z0.unstable_NormalPriority,h0={$$typeof:V2,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Uu(){return{controller:new XR,data:new Map,refCount:0}}function Tl(e){e.refCount--,e.refCount===0&&KR(YR,function(){e.controller.abort()})}function zf(e,a){if((e.pendingLanes&4194048)!==0){var t=e.transitionTypes;for(t===null&&(t=e.transitionTypes=[]),e=0;e<a.length;e++){var l=a[e];t.indexOf(l)===-1&&t.push(l)}}}var Z7=null;function $R(e){var a=e.transitionTypes;return e.transitionTypes=null,a}var ll=null,Ns=0,Qa=0,vt=null;function ZR(e,a){if(ll===null){var t=ll=[];Ns=0,Qa=v9(),vt={status:"pending",value:void 0,then:function(l){t.push(l)}}}return Ns++,a.then(bf,bf),a}function bf(){if(--Ns===0&&(Z7=null,ll!==null)){vt!==null&&(vt.status="fulfilled");var e=ll;ll=null,Qa=0,vt=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function JR(e,a){var t=[],l={status:"pending",value:null,reason:null,then:function(o){t.push(o)}};return e.then(function(){l.status="fulfilled",l.value=a;for(var o=0;o<t.length;o++)(0,t[o])(a)},function(o){for(l.status="rejected",l.reason=o,o=0;o<t.length;o++)(0,t[o])(void 0)}),l}var Cf=X.S;X.S=function(e,a){if(Ug=_5(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&ZR(e,a),Z7!==null)for(var t=Ft;t!==null;)zf(t,Z7),t=t.next;if(t=e.types,t!==null){for(var l=Ft;l!==null;)zf(l,t),l=l.next;if(Qa!==0){l=Z7,l===null&&(l=Z7=[]);for(var o=0;o<t.length;o++){var r=t[o];l.indexOf(r)===-1&&l.push(r)}}}Cf!==null&&Cf(e,a)};var Ea=B2(null);function Iu(){var e=Ea.current;return e!==null?e:D1.pooledCache}function u6(e,a){a===null?U1(Ea,Ea.current):U1(Ea,a.pool)}function yv(){var e=Iu();return e===null?null:{parent:h0._currentValue,pool:e}}var Nt=Error(S(460)),Gu=Error(S(474)),nn=Error(S(542)),k6={then:function(){}};function Af(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Hv(e,a,t){switch(t=e[t],t===void 0?e.push(a):t!==a&&(a.then(F2,F2),a=t),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,Hf(e),e===void 0&&!("reason"in a)?Error(S(600)):e;default:if(typeof a.status=="string")a.then(F2,F2);else{if(e=D1,e!==null&&100<e.shellSuspendCounter)throw Error(S(482));e=a,e.status="pending",e.then(function(l){if(a.status==="pending"){var o=a;o.status="fulfilled",o.value=l}},function(l){if(a.status==="pending"){var o=a;o.status="rejected",o.reason=l}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,Hf(e),e}throw Ua=a,Nt}}function Ta(e){try{var a=e._init;return a(e._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Ua=t,Nt):t}}var Ua=null;function yf(){if(Ua===null)throw Error(S(459));var e=Ua;return Ua=null,e}function Hf(e){if(e===Nt||e===nn)throw Error(S(483))}var gt=null,xl=0;function W4(e){var a=xl;return xl+=1,gt===null&&(gt=[]),Hv(gt,e,a)}function Te(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Q4(e,a){throw a.$$typeof===kH?Error(S(525)):(e=Object.prototype.toString.call(a),Error(S(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function Rv(e){function a(p,g){if(e){var M=p.deletions;M===null?(p.deletions=[g],p.flags|=16):M.push(g)}}function t(p,g){if(!e)return null;for(;g!==null;)a(p,g),g=g.sibling;return null}function l(p){for(var g=new Map;p!==null;)p.key===null?g.set(p.index,p):g.set(p.key,p),p=p.sibling;return g}function o(p,g){return p=oe(p,g),p.index=0,p.sibling=null,p}function r(p,g,M){return p.index=M,e?(M=p.alternate,M!==null?(M=M.index,M<g?(p.flags|=2,g):M):(p.flags|=134217730,g)):(p.flags|=1048576,g)}function n(p){return e&&p.alternate===null&&(p.flags|=134217730),p}function c(p,g,M,_){return g===null||g.tag!==6?(g=$8(M,p.mode,_),g.return=p,g):(g=o(g,M),g.return=p,g)}function i(p,g,M,_){var b=M.type;return b===tt?(p=u(p,g,M.props.children,_,M.key),Te(p,M),p):g!==null&&(g.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Ne&&Ta(b)===g.type)?(g=o(g,M.props),Te(g,M),g.return=p,g):(g=i6(M.type,M.key,M.props,null,p.mode,_),Te(g,M),g.return=p,g)}function s(p,g,M,_){return g===null||g.tag!==4||g.stateNode.containerInfo!==M.containerInfo||g.stateNode.implementation!==M.implementation?(g=Z8(M,p.mode,_),g.return=p,g):(g=o(g,M.children||[]),g.return=p,g)}function u(p,g,M,_,b){return g===null||g.tag!==7?(g=Oa(M,p.mode,_,b),g.return=p,g):(g=o(g,M),g.return=p,g)}function m(p,g,M){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=$8(""+g,p.mode,M),g.return=p,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case D4:return M=i6(g.type,g.key,g.props,null,p.mode,M),Te(M,g),M.return=p,M;case K7:return g=Z8(g,p.mode,M),g.return=p,g;case Ne:return g=Ta(g),m(p,g,M)}if(Y7(g)||I7(g))return g=Oa(g,p.mode,M,null),g.return=p,g;if(typeof g.then=="function")return m(p,W4(g),M);if(g.$$typeof===V2)return m(p,j4(p,g),M);Q4(p,g)}return null}function h(p,g,M,_){var b=g!==null?g.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return b!==null?null:c(p,g,""+M,_);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case D4:return M.key===b?i(p,g,M,_):null;case K7:return M.key===b?s(p,g,M,_):null;case Ne:return M=Ta(M),h(p,g,M,_)}if(Y7(M)||I7(M))return b!==null?null:u(p,g,M,_,null);if(typeof M.then=="function")return h(p,g,W4(M),_);if(M.$$typeof===V2)return h(p,g,j4(p,M),_);Q4(p,M)}return null}function d(p,g,M,_,b){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return p=p.get(M)||null,c(g,p,""+_,b);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case D4:return p=p.get(_.key===null?M:_.key)||null,i(g,p,_,b);case K7:return p=p.get(_.key===null?M:_.key)||null,s(g,p,_,b);case Ne:return _=Ta(_),d(p,g,M,_,b)}if(Y7(_)||I7(_))return p=p.get(M)||null,u(g,p,_,b,null);if(typeof _.then=="function")return d(p,g,M,W4(_),b);if(_.$$typeof===V2)return d(p,g,M,j4(g,_),b);Q4(g,_)}return null}function f(p,g,M,_){for(var b=null,z=null,y=g,C=g=0,E=null;y!==null&&C<M.length;C++){y.index>C?(E=y,y=null):E=y.sibling;var N=h(p,y,M[C],_);if(N===null){y===null&&(y=E);break}e&&y&&N.alternate===null&&a(p,y),g=r(N,g,C),z===null?b=N:z.sibling=N,z=N,y=E}if(C===M.length)return t(p,y),o1&&te(p,C),b;if(y===null){for(;C<M.length;C++)y=m(p,M[C],_),y!==null&&(g=r(y,g,C),z===null?b=y:z.sibling=y,z=y);return o1&&te(p,C),b}for(y=l(y);C<M.length;C++)E=d(y,p,C,M[C],_),E!==null&&(e&&(N=E.alternate,N!==null&&y.delete(N.key===null?C:N.key)),g=r(E,g,C),z===null?b=E:z.sibling=E,z=E);return e&&y.forEach(function(T){return a(p,T)}),o1&&te(p,C),b}function v(p,g,M,_){if(M==null)throw Error(S(151));for(var b=null,z=null,y=g,C=g=0,E=null,N=M.next();y!==null&&!N.done;C++,N=M.next()){y.index>C?(E=y,y=null):E=y.sibling;var T=h(p,y,N.value,_);if(T===null){y===null&&(y=E);break}e&&y&&T.alternate===null&&a(p,y),g=r(T,g,C),z===null?b=T:z.sibling=T,z=T,y=E}if(N.done)return t(p,y),o1&&te(p,C),b;if(y===null){for(;!N.done;C++,N=M.next())N=m(p,N.value,_),N!==null&&(g=r(N,g,C),z===null?b=N:z.sibling=N,z=N);return o1&&te(p,C),b}for(y=l(y);!N.done;C++,N=M.next())N=d(y,p,C,N.value,_),N!==null&&(e&&(E=N.alternate,E!==null&&y.delete(E.key===null?C:E.key)),g=r(N,g,C),z===null?b=N:z.sibling=N,z=N);return e&&y.forEach(function(P){return a(p,P)}),o1&&te(p,C),b}function x(p,g,M,_){if(typeof M=="object"&&M!==null&&M.type===tt&&M.key===null&&M.props.ref===void 0&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case D4:e:{for(var b=M.key;g!==null;){if(g.key===b){if(b=M.type,b===tt){if(g.tag===7){t(p,g.sibling),_=o(g,M.props.children),Te(_,M),_.return=p,p=_;break e}}else if(g.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Ne&&Ta(b)===g.type){t(p,g.sibling),_=o(g,M.props),Te(_,M),_.return=p,p=_;break e}t(p,g);break}else a(p,g);g=g.sibling}M.type===tt?(_=Oa(M.props.children,p.mode,_,M.key),Te(_,M),_.return=p,p=_):(_=i6(M.type,M.key,M.props,null,p.mode,_),Te(_,M),_.return=p,p=_)}return n(p);case K7:e:{for(b=M.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===M.containerInfo&&g.stateNode.implementation===M.implementation){t(p,g.sibling),_=o(g,M.children||[]),_.return=p,p=_;break e}else{t(p,g);break}else a(p,g);g=g.sibling}_=Z8(M,p.mode,_),_.return=p,p=_}return n(p);case Ne:return M=Ta(M),x(p,g,M,_)}if(Y7(M))return f(p,g,M,_);if(I7(M)){if(b=I7(M),typeof b!="function")throw Error(S(150));return M=b.call(M),v(p,g,M,_)}if(typeof M.then=="function")return x(p,g,W4(M),_);if(M.$$typeof===V2)return x(p,g,j4(p,M),_);Q4(p,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,g!==null&&g.tag===6?(t(p,g.sibling),_=o(g,M),_.return=p,p=_):(t(p,g),_=$8(M,p.mode,_),_.return=p,p=_),n(p)):t(p,g)}return function(p,g,M,_){try{xl=0;var b=x(p,g,M,_);return gt=null,b}catch(y){if(y===Nt||y===nn)throw y;var z=r5(29,y,null,p.mode);return z.lanes=_,z.return=p,z}}}var Xa=Rv(!0),Sv=Rv(!1),Pe=!1;function ju(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ps(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ke(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ye(e,a,t){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(_1&2)!==0){var o=l.pending;return o===null?a.next=a:(a.next=o.next,o.next=a),l.pending=a,a=V6(e),xv(e,null,t),a}return on(e,l,a,t),V6(e)}function ol(e,a,t){if(a=a.updateQueue,a!==null&&(a=a.shared,(t&4194048)!==0)){var l=a.lanes;l&=e.pendingLanes,t|=l,a.lanes=t,jp(e,t)}}function es(e,a){var t=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,t===l)){var o=null,r=null;if(t=t.firstBaseUpdate,t!==null){do{var n={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};r===null?o=r=n:r=r.next=n,t=t.next}while(t!==null);r===null?o=r=a:r=r.next=a}else o=r=a;t={baseState:l.baseState,firstBaseUpdate:o,lastBaseUpdate:r,shared:l.shared,callbacks:l.callbacks},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=a:e.next=a,t.lastBaseUpdate=a}var Os=!1;function rl(){if(Os){var e=vt;if(e!==null)throw e}}function nl(e,a,t,l){Os=!1;var o=e.updateQueue;Pe=!1;var r=o.firstBaseUpdate,n=o.lastBaseUpdate,c=o.shared.pending;if(c!==null){o.shared.pending=null;var i=c,s=i.next;i.next=null,n===null?r=s:n.next=s,n=i;var u=e.alternate;u!==null&&(u=u.updateQueue,c=u.lastBaseUpdate,c!==n&&(c===null?u.firstBaseUpdate=s:c.next=s,u.lastBaseUpdate=i))}if(r!==null){var m=o.baseState;n=0,u=s=i=null,c=r;do{var h=c.lane&-536870913,d=h!==c.lane;if(d?(d1&h)===h:(l&h)===h){h!==0&&h===Qa&&(Os=!0),u!==null&&(u=u.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var f=e,v=c;h=a;var x=t;switch(v.tag){case 1:if(f=v.payload,typeof f=="function"){m=f.call(x,m,h);break e}m=f;break e;case 3:f.flags=f.flags&-65537|128;case 0:if(f=v.payload,h=typeof f=="function"?f.call(x,m,h):f,h==null)break e;m=N1({},m,h);break e;case 2:Pe=!0}}h=c.callback,h!==null&&(e.flags|=64,d&&(e.flags|=8192),d=o.callbacks,d===null?o.callbacks=[h]:d.push(h))}else d={lane:h,tag:c.tag,payload:c.payload,callback:c.callback,next:null},u===null?(s=u=d,i=m):u=u.next=d,n|=h;if(c=c.next,c===null){if(c=o.shared.pending,c===null)break;d=c,c=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);u===null&&(i=m),o.baseState=i,o.firstBaseUpdate=s,o.lastBaseUpdate=u,r===null&&(o.shared.lanes=0),ca|=n,e.lanes=n,e.memoizedState=m}}function Vv(e,a){if(typeof e!="function")throw Error(S(191,e));e.call(a)}function Fv(e,a){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)Vv(t[e],a)}var ra=B2(null),w6=B2(0);function Rf(e,a){e=de,U1(w6,e),U1(ra,a),de=e|a.baseLanes}function Es(){U1(w6,de),U1(ra,ra.current)}function Wu(){de=w6.current,k0(ra),k0(w6)}var B0=B2(null),E0=null;function $e(e){var a=e.alternate;U1(w0,w0.current&1),U1(B0,e),E0===null&&(a===null||ra.current!==null||a.memoizedState!==null)&&(E0=e)}function Us(e){U1(w0,w0.current),U1(B0,e),E0===null&&(E0=e)}function qv(e){e.tag===22?(U1(w0,w0.current),U1(B0,e),E0===null&&(E0=e)):Ze()}function Ze(){U1(w0,w0.current),U1(B0,B0.current)}function g5(e){k0(B0),E0===e&&(E0=null),k0(w0)}var w0=B2(0);function _l(e,a){U1(B0,B0.current),U1(w0,a)}function Qu(e){k0(w0),k0(B0),E0===e&&(E0=null)}function T6(e){for(var a=e;a!==null;){if(a.tag===13){var t=a.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||bu(t)||_9(t)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!=="independent"){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var ie=0,Z=null,k1=null,d0=null,B6=!1,Mt=!1,Ka=!1,D6=0,zl=0,xt=null,eS=0;function e0(){throw Error(S(321))}function Xu(e,a){if(a===null)return!1;for(var t=0;t<a.length&&t<e.length;t++)if(!A5(e[t],a[t]))return!1;return!0}function Ku(e,a,t,l,o,r){return ie=r,Z=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,X.H=e===null||e.memoizedState===null?ig:sg,Ka=!1,r=t(l,o),Ka=!1,Mt&&(r=kv(a,t,l,o)),Lv(e),r}function Lv(e){X.H=N6;var a=k1!==null&&k1.next!==null;if(ie=0,d0=k1=Z=null,B6=!1,zl=0,xt=null,a)throw Error(S(300));e===null||m0||(e=e.dependencies,e!==null&&L6(e)&&(m0=!0))}function kv(e,a,t,l){Z=e;var o=0;do{if(Mt&&(xt=null),zl=0,Mt=!1,25<=o)throw Error(S(301));if(o+=1,d0=k1=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}X.H=iS,r=a(t,l)}while(Mt);return r}function aS(){var e=X.H,a=e.useState()[0];return a=typeof a.then=="function"?Bl(a):a,e=e.useState()[0],(k1!==null?k1.memoizedState:null)!==e&&(Z.flags|=1024),a}function Yu(){var e=D6!==0;return D6=0,e}function $u(e,a,t){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~t}function Zu(e){if(B6){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}B6=!1}ie=0,d0=k1=Z=null,Mt=!1,zl=D6=0,xt=null}function $0(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return d0===null?Z.memoizedState=d0=e:d0=d0.next=e,d0}function r0(){if(k1===null){var e=Z.alternate;e=e!==null?e.memoizedState:null}else e=k1.next;var a=d0===null?Z.memoizedState:d0.next;if(a!==null)d0=a,k1=e;else{if(e===null)throw Z.alternate===null?Error(S(467)):Error(S(310));k1=e,e={memoizedState:k1.memoizedState,baseState:k1.baseState,baseQueue:k1.baseQueue,queue:k1.queue,next:null},d0===null?Z.memoizedState=d0=e:d0=d0.next=e}return d0}function cn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bl(e){var a=zl;return zl+=1,xt===null&&(xt=[]),e=Hv(xt,e,a),a=Z,(d0===null?a.memoizedState:d0.next)===null&&(a=a.alternate,X.H=a===null||a.memoizedState===null?ig:sg),e}function sn(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bl(e);if(e.$$typeof===BH)return;if(e.$$typeof===V2)return L0(e)}throw Error(S(438,String(e)))}function Ju(e){var a=null,t=Z.updateQueue;if(t!==null&&(a=t.memoCache),a==null){var l=Z.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(a={data:l.data.map(function(o){return o.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),t===null&&(t=cn(),Z.updateQueue=t),t.memoCache=a,t=a.data[a.index],t===void 0)for(t=a.data[a.index]=Array(e),l=0;l<e;l++)t[l]=TH;return a.index++,t}function se(e,a){return typeof a=="function"?a(e):a}function d6(e){var a=r0();return e9(a,k1,e)}function e9(e,a,t){var l=e.queue;if(l===null)throw Error(S(311));l.lastRenderedReducer=t;var o=e.baseQueue,r=l.pending;if(r!==null){if(o!==null){var n=o.next;o.next=r.next,r.next=n}a.baseQueue=o=r,l.pending=null}if(r=e.baseState,o===null)e.memoizedState=r;else{a=o.next;var c=n=null,i=null,s=a,u=!1;do{var m=s.lane&-536870913;if(m!==s.lane?(d1&m)===m:(ie&m)===m){var h=s.revertLane;if(h===0)i!==null&&(i=i.next={lane:0,revertLane:0,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),m===Qa&&(u=!0);else if((ie&h)===h){s=s.next,h===Qa&&(u=!0);continue}else m={lane:0,revertLane:s.revertLane,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},i===null?(c=i=m,n=r):i=i.next=m,Z.lanes|=h,ca|=h;m=s.action,Ka&&t(r,m),r=s.hasEagerState?s.eagerState:t(r,m)}else h={lane:m,revertLane:s.revertLane,gesture:s.gesture,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},i===null?(c=i=h,n=r):i=i.next=h,Z.lanes|=m,ca|=m;s=s.next}while(s!==null&&s!==a);if(i===null?n=r:i.next=c,!A5(r,e.memoizedState)&&(m0=!0,u&&(t=vt,t!==null)))throw t;e.memoizedState=r,e.baseState=n,e.baseQueue=i,l.lastRenderedState=r}return o===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function as(e){var a=r0(),t=a.queue;if(t===null)throw Error(S(311));t.lastRenderedReducer=e;var l=t.dispatch,o=t.pending,r=a.memoizedState;if(o!==null){t.pending=null;var n=o=o.next;do r=e(r,n.action),n=n.next;while(n!==o);A5(r,a.memoizedState)||(m0=!0),a.memoizedState=r,a.baseQueue===null&&(a.baseState=r),t.lastRenderedState=r}return[r,l]}function wv(e,a,t){var l=Z,o=r0(),r=o1;if(r){if(t===void 0)throw Error(S(407));t=t()}else t=a();var n=!A5((k1||o).memoizedState,t);if(n&&(o.memoizedState=t,m0=!0),o=o.queue,a9(Dv.bind(null,l,o,e),[e]),e=o.getSnapshot!==a||n||d0!==null&&(d0.memoizedState.tag&1)!==0,Ht(e?9:8,{destroy:void 0},Bv.bind(null,l,o,t,a),null),e){if(l.flags|=2048,D1===null)throw Error(S(349));r||(ie&127)!==0||Tv(l,a,t)}return t}function Tv(e,a,t){e.flags|=16384,e={getSnapshot:a,value:t},a=Z.updateQueue,a===null?(a=cn(),Z.updateQueue=a,a.stores=[e]):(t=a.stores,t===null?a.stores=[e]:t.push(e))}function Bv(e,a,t,l){a.value=t,a.getSnapshot=l,Nv(a)&&Pv(e)}function Dv(e,a,t){return t(function(){Nv(a)&&Pv(e)})}function Nv(e){var a=e.getSnapshot;e=e.value;try{var t=a();return!A5(e,t)}catch{return!0}}function Pv(e){var a=a3(e,2);a!==null&&n5(a,e,2)}function Is(e){var a=$0();if(typeof e=="function"){var t=e;if(e=t(),Ka){Ee(!0);try{t()}finally{Ee(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:e},a}function Ov(e,a,t,l){return e.baseState=t,e9(e,k1,typeof l=="function"?l:se)}function tS(e,a,t,l,o){if(dn(e))throw Error(S(485));if(e=a.action,e!==null){var r={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(n){r.listeners.push(n)}};X.T!==null?t(!0):r.isTransition=!1,l(r),t=a.pending,t===null?(r.next=a.pending=r,Ev(a,r)):(r.next=t.next,a.pending=t.next=r)}}function Ev(e,a){var t=a.action,l=a.payload,o=e.state;if(a.isTransition){var r=X.T,n={};n.types=r!==null?r.types:null,X.T=n;try{var c=t(o,l),i=X.S;i!==null&&i(n,c),Sf(e,a,c)}catch(s){Gs(e,a,s)}finally{r!==null&&n.types!==null&&(r.types=n.types),X.T=r}}else try{r=t(o,l),Sf(e,a,r)}catch(s){Gs(e,a,s)}}function Sf(e,a,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(l){Vf(e,a,l)},function(l){return Gs(e,a,l)}):Vf(e,a,t)}function Vf(e,a,t){a.status="fulfilled",a.value=t,Uv(a),e.state=t,a=e.pending,a!==null&&(t=a.next,t===a?e.pending=null:(t=t.next,a.next=t,Ev(e,t)))}function Gs(e,a,t){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do a.status="rejected",a.reason=t,Uv(a),a=a.next;while(a!==l)}e.action=null}function Uv(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function Iv(e,a){return a}function Ff(e,a){if(o1){var t=D1.formState;if(t!==null){e:{var l=Z;if(o1){if(E1){a:{for(var o=E1,r=N5;o.nodeType!==8;){if(!r){o=null;break a}if(o=P5(o.nextSibling),o===null){o=null;break a}}r=o.data,o=r==="F!"||r==="F"?o:null}if(o){E1=P5(o.nextSibling),l=o.data==="F!";break e}}oa(l)}l=!1}l&&(a=t[0])}}return t=$0(),t.memoizedState=t.baseState=a,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Iv,lastRenderedState:a},t.queue=l,t=rg.bind(null,Z,l),l.dispatch=t,l=Is(!1),r=r9.bind(null,Z,!1,l.queue),l=$0(),o={state:a,dispatch:null,action:e,pending:null},l.queue=o,t=tS.bind(null,Z,o,r,t),o.dispatch=t,l.memoizedState=e,[a,t,!1]}function qf(e){var a=r0();return Gv(a,k1,e)}function Gv(e,a,t){if(a=e9(e,a,Iv)[0],e=d6(se)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var l=Bl(a)}catch(n){throw n===Nt?nn:n}else l=a;a=r0();var o=a.queue,r=o.dispatch;return t!==a.memoizedState&&(Z.flags|=2048,Ht(9,{destroy:void 0},lS.bind(null,o,t),null)),[l,r,e]}function lS(e,a){e.action=a}function Lf(e){var a=r0(),t=k1;if(t!==null)return Gv(a,t,e);r0(),a=a.memoizedState,t=r0();var l=t.queue.dispatch;return t.memoizedState=e,[a,l,!1]}function Ht(e,a,t,l){return e={tag:e,create:t,deps:l,inst:a,next:null},a=Z.updateQueue,a===null&&(a=cn(),Z.updateQueue=a),t=a.lastEffect,t===null?a.lastEffect=e.next=e:(l=t.next,t.next=e,e.next=l,a.lastEffect=e),e}function jv(){return r0().memoizedState}function h6(e,a,t,l){var o=$0();Z.flags|=e,o.memoizedState=Ht(1|a,{destroy:void 0},t,l===void 0?null:l)}function un(e,a,t,l){var o=r0();l=l===void 0?null:l;var r=o.memoizedState.inst;k1!==null&&l!==null&&Xu(l,k1.memoizedState.deps)?o.memoizedState=Ht(a,r,t,l):(Z.flags|=e,o.memoizedState=Ht(1|a,r,t,l))}function kf(e,a){h6(8390656,8,e,a)}function a9(e,a){un(2048,8,e,a)}function oS(e){Z.flags|=4;var a=Z.updateQueue;if(a===null)a=cn(),Z.updateQueue=a,a.events=[e];else{var t=a.events;t===null?a.events=[e]:t.push(e)}}function Wv(e){var a=r0().memoizedState;return oS({ref:a,nextImpl:e}),function(){if((_1&2)!==0)throw Error(S(440));return a.impl.apply(void 0,arguments)}}function Qv(e,a){return un(4,2,e,a)}function Xv(e,a){return un(4,4,e,a)}function Kv(e,a){if(typeof a=="function"){e=e();var t=a(e);return function(){typeof t=="function"?t():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function Yv(e,a,t){t=t!=null?t.concat([e]):null,un(4,4,Kv.bind(null,a,e),t)}function t9(){}function $v(e,a){var t=r0();a=a===void 0?null:a;var l=t.memoizedState;return a!==null&&Xu(a,l[1])?l[0]:(t.memoizedState=[e,a],e)}function Zv(e,a){var t=r0();a=a===void 0?null:a;var l=t.memoizedState;if(a!==null&&Xu(a,l[1]))return l[0];if(l=e(),Ka){Ee(!0);try{e()}finally{Ee(!1)}}return t.memoizedState=[l,a],l}function l9(e,a,t){return t===void 0||(ie&1073741824)!==0&&(d1&261930)===0?e.memoizedState=a:(e.memoizedState=t,e=Gg(),Z.lanes|=e,ca|=e,t)}function Jv(e,a,t,l){return A5(t,a)?t:ra.current!==null?(e=l9(e,t,l),A5(e,a)||(m0=!0),e):(ie&106)===0||(ie&1073741824)!==0&&(d1&261930)===0?(m0=!0,e.memoizedState=t):(e=Gg(),Z.lanes|=e,ca|=e,a)}function eg(e,a,t,l,o){var r=z1.p;z1.p=r!==0&&8>r?r:8;var n=X.T,c={};c.types=n!==null?n.types:null,X.T=c,r9(e,!1,a,t);try{var i=o(),s=X.S;if(s!==null&&s(c,i),i!==null&&typeof i=="object"&&typeof i.then=="function"){var u=JR(i,l);cl(e,a,u,C5(e))}else cl(e,a,l,C5(e))}catch(m){cl(e,a,{then:function(){},status:"rejected",reason:m},C5())}finally{z1.p=r,n!==null&&c.types!==null&&(n.types=c.types),X.T=n}}function rS(){}function js(e,a,t,l){if(e.tag!==5)throw Error(S(476));var o=ag(e).queue;eg(e,o,a,Pa,t===null?rS:function(){return tg(e),t(l)})}function ag(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:Pa,baseState:Pa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:Pa},next:null};var t={};return a.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:t},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function tg(e){var a=ag(e);a.next===null&&(a=e.alternate.memoizedState),cl(e,a.next.queue,{},C5())}function o9(){return L0(kt)}function lg(){return r0().memoizedState}function og(){return r0().memoizedState}function nS(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var t=C5();e=Ke(t);var l=Ye(a,e,t);l!==null&&(n5(l,a,t),ol(l,a,t)),a={cache:Uu()},e.payload=a;return}a=a.return}}function cS(e,a,t){var l=C5();t={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},dn(e)?ng(a,t):(t=Pu(e,a,t,l),t!==null&&(n5(t,e,l),cg(t,a,l)))}function rg(e,a,t){var l=C5();cl(e,a,t,l)}function cl(e,a,t,l){var o={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(dn(e))ng(a,o);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=a.lastRenderedReducer,r!==null))try{var n=a.lastRenderedState,c=r(n,t);if(o.hasEagerState=!0,o.eagerState=c,A5(c,n))return on(e,a,o,0),D1===null&&ln(),!1}catch{}if(t=Pu(e,a,o,l),t!==null)return n5(t,e,l),cg(t,a,l),!0}return!1}function r9(e,a,t,l){if(l={lane:2,revertLane:v9(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},dn(e)){if(a)throw Error(S(479))}else a=Pu(e,t,l,2),a!==null&&n5(a,e,2)}function dn(e){var a=e.alternate;return e===Z||a!==null&&a===Z}function ng(e,a){Mt=B6=!0;var t=e.pending;t===null?a.next=a:(a.next=t.next,t.next=a),e.pending=a}function cg(e,a,t){if((t&4194048)!==0){var l=a.lanes;l&=e.pendingLanes,t|=l,a.lanes=t,jp(e,t)}}var N6={readContext:L0,use:sn,useCallback:e0,useContext:e0,useEffect:e0,useImperativeHandle:e0,useLayoutEffect:e0,useInsertionEffect:e0,useMemo:e0,useReducer:e0,useRef:e0,useState:e0,useDebugValue:e0,useDeferredValue:e0,useTransition:e0,useSyncExternalStore:e0,useId:e0,useHostTransitionStatus:e0,useFormState:e0,useActionState:e0,useOptimistic:e0,useMemoCache:e0,useCacheRefresh:e0,useEffectEvent:e0},ig={readContext:L0,use:sn,useCallback:function(e,a){return $0().memoizedState=[e,a===void 0?null:a],e},useContext:L0,useEffect:kf,useImperativeHandle:function(e,a,t){t=t!=null?t.concat([e]):null,h6(4194308,4,Kv.bind(null,a,e),t)},useLayoutEffect:function(e,a){return h6(4194308,4,e,a)},useInsertionEffect:function(e,a){h6(4,2,e,a)},useMemo:function(e,a){var t=$0();a=a===void 0?null:a;var l=e();if(Ka){Ee(!0);try{e()}finally{Ee(!1)}}return t.memoizedState=[l,a],l},useReducer:function(e,a,t){var l=$0();if(t!==void 0){var o=t(a);if(Ka){Ee(!0);try{t(a)}finally{Ee(!1)}}}else o=a;return l.memoizedState=l.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},l.queue=e,e=e.dispatch=cS.bind(null,Z,e),[l.memoizedState,e]},useRef:function(e){var a=$0();return e={current:e},a.memoizedState=e},useState:function(e){e=Is(e);var a=e.queue,t=rg.bind(null,Z,a);return a.dispatch=t,[e.memoizedState,t]},useDebugValue:t9,useDeferredValue:function(e,a){var t=$0();return l9(t,e,a)},useTransition:function(){var e=Is(!1);return e=eg.bind(null,Z,e.queue,!0,!1),$0().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,t){var l=Z,o=$0();if(o1){if(t===void 0)throw Error(S(407));t=t()}else{if(t=a(),D1===null)throw Error(S(349));(d1&127)!==0||Tv(l,a,t)}o.memoizedState=t;var r={value:t,getSnapshot:a};return o.queue=r,kf(Dv.bind(null,l,r,e),[e]),l.flags|=2048,Ht(9,{destroy:void 0},Bv.bind(null,l,r,t,a),null),t},useId:function(){var e=$0(),a=D1.identifierPrefix;if(o1){var t=L2,l=q2;t=(l&~(1<<32-b5(l)-1)).toString(32)+t,a="_"+a+"R_"+t,t=D6++,0<t&&(a+="H"+t.toString(32)),a+="_"}else t=eS++,a="_"+a+"r_"+t.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:o9,useFormState:Ff,useActionState:Ff,useOptimistic:function(e){var a=$0();a.memoizedState=a.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=t,a=r9.bind(null,Z,!0,t),t.dispatch=a,[e,a]},useMemoCache:Ju,useCacheRefresh:function(){return $0().memoizedState=nS.bind(null,Z)},useEffectEvent:function(e){var a=$0(),t={impl:e};return a.memoizedState=t,function(){if((_1&2)!==0)throw Error(S(440));return t.impl.apply(void 0,arguments)}}},sg={readContext:L0,use:sn,useCallback:$v,useContext:L0,useEffect:a9,useImperativeHandle:Yv,useInsertionEffect:Qv,useLayoutEffect:Xv,useMemo:Zv,useReducer:d6,useRef:jv,useState:function(){return d6(se)},useDebugValue:t9,useDeferredValue:function(e,a){var t=r0();return Jv(t,k1.memoizedState,e,a)},useTransition:function(){var e=d6(se)[0],a=r0().memoizedState;return[typeof e=="boolean"?e:Bl(e),a]},useSyncExternalStore:wv,useId:lg,useHostTransitionStatus:o9,useFormState:qf,useActionState:qf,useOptimistic:function(e,a){var t=r0();return Ov(t,k1,e,a)},useMemoCache:Ju,useCacheRefresh:og,useEffectEvent:Wv},iS={readContext:L0,use:sn,useCallback:$v,useContext:L0,useEffect:a9,useImperativeHandle:Yv,useInsertionEffect:Qv,useLayoutEffect:Xv,useMemo:Zv,useReducer:as,useRef:jv,useState:function(){return as(se)},useDebugValue:t9,useDeferredValue:function(e,a){var t=r0();return k1===null?l9(t,e,a):Jv(t,k1.memoizedState,e,a)},useTransition:function(){var e=as(se)[0],a=r0().memoizedState;return[typeof e=="boolean"?e:Bl(e),a]},useSyncExternalStore:wv,useId:lg,useHostTransitionStatus:o9,useFormState:Lf,useActionState:Lf,useOptimistic:function(e,a){var t=r0();return k1!==null?Ov(t,k1,e,a):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:Ju,useCacheRefresh:og,useEffectEvent:Wv};function ts(e,a,t,l){a=e.memoizedState,t=t(l,a),t=t==null?a:N1({},a,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var Ws={enqueueSetState:function(e,a,t){e=e._reactInternals;var l=C5(),o=Ke(l);o.payload=a,t!=null&&(o.callback=t),a=Ye(e,o,l),a!==null&&(n5(a,e,l),ol(a,e,l))},enqueueReplaceState:function(e,a,t){e=e._reactInternals;var l=C5(),o=Ke(l);o.tag=1,o.payload=a,t!=null&&(o.callback=t),a=Ye(e,o,l),a!==null&&(n5(a,e,l),ol(a,e,l))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var t=C5(),l=Ke(t);l.tag=2,a!=null&&(l.callback=a),a=Ye(e,l,t),a!==null&&(n5(a,e,t),ol(a,e,t))}};function wf(e,a,t,l,o,r,n){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,r,n):a.prototype&&a.prototype.isPureReactComponent?!vl(t,l)||!vl(o,r):!0}function Tf(e,a,t,l){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(t,l),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(t,l),a.state!==e&&Ws.enqueueReplaceState(a,a.state,null)}function Ya(e,a){var t=a;if("ref"in a){t={};for(var l in a)l!=="ref"&&(t[l]=a[l])}if(e=e.defaultProps){t===a&&(t=N1({},t));for(var o in e)t[o]===void 0&&(t[o]=e[o])}return t}function ug(e){S6(e)}function dg(e){console.error(e)}function hg(e){S6(e)}function P6(e,a){try{var t=e.onUncaughtError;t(a.value,{componentStack:a.stack})}catch(l){setTimeout(function(){throw l})}}function Bf(e,a,t){try{var l=e.onCaughtError;l(t.value,{componentStack:t.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Qs(e,a,t){return t=Ke(t),t.tag=3,t.payload={element:null},t.callback=function(){P6(e,a)},t}function mg(e){return e=Ke(e),e.tag=3,e}function fg(e,a,t,l){var o=t.type.getDerivedStateFromError;if(typeof o=="function"){var r=l.value;e.payload=function(){return o(r)},e.callback=function(){Bf(a,t,l)}}var n=t.stateNode;n!==null&&typeof n.componentDidCatch=="function"&&(e.callback=function(){Bf(a,t,l),typeof o!="function"&&(Je===null?Je=new Set([this]):Je.add(this));var c=l.stack;this.componentDidCatch(l.value,{componentStack:c!==null?c:""})})}function sS(e,a,t,l,o){if(t.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(a=t.alternate,a!==null&&ja(a,t,o,!0),t=B0.current,t!==null){switch(t.tag){case 31:case 13:case 19:return E0===null?Q6():t.alternate===null&&a0===0&&(a0=3),t.flags&=-257,t.flags|=65536,t.lanes=o,l===k6?t.flags|=16384:(a=t.updateQueue,a===null?t.updateQueue=new Set([l]):a.add(l),ss(e,l,o)),!1;case 22:return t.flags|=65536,l===k6?t.flags|=16384:(a=t.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([l])},t.updateQueue=a):(t=a.retryQueue,t===null?a.retryQueue=new Set([l]):t.add(l)),ss(e,l,o)),!1}throw Error(S(435,t.tag))}return ss(e,l,o),Q6(),!1}if(o1)return a=B0.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=o,l!==Ts&&(e=Error(S(422),{cause:l}),Ml(D5(e,t)))):(l!==Ts&&(a=Error(S(423),{cause:l}),Ml(D5(a,t))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,l=D5(l,t),o=Qs(e.stateNode,l,o),es(e,o),a0!==4&&(a0=2)),!1;var r=Error(S(520),{cause:l});if(r=D5(r,t),dl===null?dl=[r]:dl.push(r),a0!==4&&(a0=2),a===null)return!0;l=D5(l,t),t=a;do{switch(t.tag){case 3:return t.flags|=65536,e=o&-o,t.lanes|=e,e=Qs(t.stateNode,l,e),es(t,e),!1;case 1:if(a=t.type,r=t.stateNode,(t.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Je===null||!Je.has(r))))return t.flags|=65536,o&=-o,t.lanes|=o,o=mg(o),fg(o,e,t,l),es(t,o),!1;break;case 22:if(t.memoizedState!==null)return t.flags|=65536,!1}t=t.return}while(t!==null);return!1}var n9=Error(S(461)),m0=!1;function x0(e,a,t,l){a.child=e===null?Sv(a,null,t,l):Xa(a,e.child,t,l)}function Df(e,a,t,l,o){t=t.render;var r=a.ref;if("ref"in l){var n={};for(var c in l)c!=="ref"&&(n[c]=l[c])}else n=l;return Wa(a),l=Ku(e,a,t,n,r,o),c=Yu(),e!==null&&!m0?($u(e,a,o),ue(e,a,o)):(o1&&c&&rn(a),a.flags|=1,x0(e,a,l,o),a.child)}function Nf(e,a,t,l,o){if(e===null){var r=t.type;return typeof r=="function"&&!Ou(r)&&r.defaultProps===void 0&&t.compare===null?(a.tag=15,a.type=r,pg(e,a,r,l,o)):(e=i6(t.type,null,l,a,a.mode,o),e.ref=a.ref,e.return=a,a.child=e)}if(r=e.child,!i9(e,o)){var n=r.memoizedProps;if(t=t.compare,t=t!==null?t:vl,t(n,l)&&e.ref===a.ref)return ue(e,a,o)}return a.flags|=1,e=oe(r,l),e.ref=a.ref,e.return=a,a.child=e}function pg(e,a,t,l,o){if(e!==null){var r=e.memoizedProps;if(vl(r,l)&&e.ref===a.ref)if(m0=!1,a.pendingProps=l=r,i9(e,o))(e.flags&131072)!==0&&(m0=!0);else return a.lanes=e.lanes,ue(e,a,o)}return Xs(e,a,t,l,o)}function vg(e,a,t,l){var o=l.children,r=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((a.flags&128)!==0){if(r=r!==null?r.baseLanes|t:t,e!==null){for(l=a.child=e.child,o=0;l!==null;)o=o|l.lanes|l.childLanes,l=l.sibling;l=o&~r}else l=0,a.child=null;return Pf(e,a,r,t,l)}if((t&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&u6(a,r!==null?r.cachePool:null),r!==null?Rf(a,r):Es(),qv(a);else return l=a.lanes=536870912,Pf(e,a,r!==null?r.baseLanes|t:t,t,l)}else r!==null?(u6(a,r.cachePool),Rf(a,r),Ze(),a.memoizedState=null):(e!==null&&u6(a,null),Es(),Ze());return x0(e,a,o,t),a.child}function il(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function Pf(e,a,t,l,o){var r=Iu();return r=r===null?null:{parent:h0._currentValue,pool:r},a.memoizedState={baseLanes:t,cachePool:r},e!==null&&u6(a,null),Es(),qv(a),e!==null&&ja(e,a,l,!0),a.childLanes=o,null}function m6(e,a){return a=hn({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function Of(e,a,t){return Xa(a,e.child,null,t),e=m6(a,a.pendingProps),e.flags|=2,g5(a),a.memoizedState=null,e}function uS(e,a,t){var l=a.pendingProps,o=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(o1){if(l.mode==="hidden")return e=m6(a,l),a.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},il(null,e);if(Us(a),(e=E1)?(e=vM(e,N5),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:la!==null?{id:q2,overflow:L2}:null,retryLane:536870912,hydrationErrors:null},t=zv(e),t.return=a,a.child=t,H0=a,E1=null)):e=null,e===null)throw oa(a);return a.lanes=536870912,null}return m6(a,l)}var r=e.memoizedState;if(r!==null){var n=r.dehydrated;if(Us(a),o)if(a.flags&256)a.flags&=-257,a=Of(e,a,t);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(S(558));else if(m0||ja(e,a,t,!1),o=(t&e.childLanes)!==0,m0||o){if(ra.current===null){if(l=D1,l!==null&&(n=Wp(l,t),n!==0&&n!==r.retryLane))throw r.retryLane=n,a3(e,n),n5(l,e,n),n9;Q6()}a=Of(e,a,t)}else e=r.treeContext,E1=P5(n.nextSibling),H0=a,o1=!0,Xe=null,N5=!1,e!==null&&Cv(a,e),a=m6(a,l),a.flags|=134221824;return a}return e=oe(e.child,{mode:l.mode,children:l.children}),e.ref=a.ref,a.child=e,e.return=a,e}function Z3(e,a){var t=a.ref;if(t===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(S(284));(e===null||e.ref!==t)&&(a.flags|=4194816)}}function Xs(e,a,t,l,o){return Wa(a),t=Ku(e,a,t,l,void 0,o),l=Yu(),e!==null&&!m0?($u(e,a,o),ue(e,a,o)):(o1&&l&&rn(a),a.flags|=1,x0(e,a,t,o),a.child)}function Ef(e,a,t,l,o,r){return Wa(a),a.updateQueue=null,t=kv(a,l,t,o),Lv(e),l=Yu(),e!==null&&!m0?($u(e,a,r),ue(e,a,r)):(o1&&l&&rn(a),a.flags|=1,x0(e,a,t,r),a.child)}function Uf(e,a,t,l,o){if(Wa(a),a.stateNode===null){var r=st,n=t.contextType;typeof n=="object"&&n!==null&&(r=L0(n)),r=new t(l,r),a.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Ws,a.stateNode=r,r._reactInternals=a,r=a.stateNode,r.props=l,r.state=a.memoizedState,r.refs={},ju(a),n=t.contextType,r.context=typeof n=="object"&&n!==null?L0(n):st,r.state=a.memoizedState,n=t.getDerivedStateFromProps,typeof n=="function"&&(ts(a,t,n,l),r.state=a.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(n=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),n!==r.state&&Ws.enqueueReplaceState(r,r.state,null),nl(a,l,r,o),rl(),r.state=a.memoizedState),typeof r.componentDidMount=="function"&&(a.flags|=4194308),l=!0}else if(e===null){r=a.stateNode;var c=a.memoizedProps,i=Ya(t,c);r.props=i;var s=r.context,u=t.contextType;n=st,typeof u=="object"&&u!==null&&(n=L0(u));var m=t.getDerivedStateFromProps;u=typeof m=="function"||typeof r.getSnapshotBeforeUpdate=="function",c=a.pendingProps!==c,u||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(c||s!==n)&&Tf(a,r,l,n),Pe=!1;var h=a.memoizedState;r.state=h,nl(a,l,r,o),rl(),s=a.memoizedState,c||h!==s||Pe?(typeof m=="function"&&(ts(a,t,m,l),s=a.memoizedState),(i=Pe||wf(a,t,i,l,h,s,n))?(u||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(a.flags|=4194308)):(typeof r.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=l,a.memoizedState=s),r.props=l,r.state=s,r.context=n,l=i):(typeof r.componentDidMount=="function"&&(a.flags|=4194308),l=!1)}else{r=a.stateNode,Ps(e,a),n=a.memoizedProps,u=Ya(t,n),r.props=u,m=a.pendingProps,h=r.context,s=t.contextType,i=st,typeof s=="object"&&s!==null&&(i=L0(s)),c=t.getDerivedStateFromProps,(s=typeof c=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(n!==m||h!==i)&&Tf(a,r,l,i),Pe=!1,h=a.memoizedState,r.state=h,nl(a,l,r,o),rl();var d=a.memoizedState;n!==m||h!==d||Pe||e!==null&&e.dependencies!==null&&L6(e.dependencies)?(typeof c=="function"&&(ts(a,t,c,l),d=a.memoizedState),(u=Pe||wf(a,t,u,l,h,d,i)||e!==null&&e.dependencies!==null&&L6(e.dependencies))?(s||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(l,d,i),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(l,d,i)),typeof r.componentDidUpdate=="function"&&(a.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof r.componentDidUpdate!="function"||n===e.memoizedProps&&h===e.memoizedState||(a.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&h===e.memoizedState||(a.flags|=1024),a.memoizedProps=l,a.memoizedState=d),r.props=l,r.state=d,r.context=i,l=u):(typeof r.componentDidUpdate!="function"||n===e.memoizedProps&&h===e.memoizedState||(a.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&h===e.memoizedState||(a.flags|=1024),l=!1)}return r=l,Z3(e,a),l=(a.flags&128)!==0,r||l?(r=a.stateNode,t=l&&typeof t.getDerivedStateFromError!="function"?null:r.render(),a.flags|=1,e!==null&&l?(a.child=Xa(a,e.child,null,o),a.child=Xa(a,null,t,o)):x0(e,a,t,o),a.memoizedState=r.state,e=a.child):e=ue(e,a,o),e}function If(e,a,t,l){return Ga(),a.flags|=256,x0(e,a,t,l),a.child}var Ks={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ys(e){return{baseLanes:e,cachePool:yv()}}function $s(e,a,t){return e=e!==null?e.childLanes&~t:0,a&&(e|=x5),e}function gg(e,a,t){var l=a.pendingProps,o=!1,r=(a.flags&128)!==0,n;if((n=r)||(n=e!==null&&e.memoizedState===null?!1:(w0.current&2)!==0),n&&(o=!0,a.flags&=-129),n=(a.flags&32)!==0,a.flags&=-33,e===null){if(o1){if(o?$e(a):Ze(),(e=E1)?(e=vM(e,N5),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:la!==null?{id:q2,overflow:L2}:null,retryLane:536870912,hydrationErrors:null},t=zv(e),t.return=a,a.child=t,H0=a,E1=null)):e=null,e===null)throw oa(a);return _9(e)?a.lanes=32:a.lanes=536870912,null}return r=l.children,l=l.fallback,o?(Ze(),o=a.mode,r=hn({mode:"hidden",children:r},o),l=Oa(l,o,t,null),r.return=a,l.return=a,r.sibling=l,a.child=r,l=a.child,l.memoizedState=Ys(t),l.childLanes=$s(e,n,t),a.memoizedState=Ks,il(null,l)):($e(a),c9(a,r))}var c=e.memoizedState;if(c!==null){var i=c.dehydrated;if(i!==null)return dS(e,a,r,n,l,i,c,t)}return o?(Ze(),o=l.fallback,r=a.mode,c=e.child,i=c.sibling,l=oe(c,{mode:"hidden",children:l.children}),l.subtreeFlags=c.subtreeFlags&1206910976,i!==null?o=oe(i,o):(o=Oa(o,r,t,null),o.flags|=2),o.return=a,l.return=a,l.sibling=o,a.child=l,il(null,l),l=a.child,o=e.child.memoizedState,o===null?o=Ys(t):(r=o.cachePool,r!==null?(c=h0._currentValue,r=r.parent!==c?{parent:c,pool:c}:r):r=yv(),o={baseLanes:o.baseLanes|t,cachePool:r}),l.memoizedState=o,l.childLanes=$s(e,n,t),a.memoizedState=Ks,il(e.child,l)):($e(a),t=e.child,e=t.sibling,t=oe(t,{mode:"visible",children:l.children}),t.return=a,t.sibling=null,e!==null&&(n=a.deletions,n===null?(a.deletions=[e],a.flags|=16):n.push(e)),a.child=t,a.memoizedState=null,t)}function c9(e,a){return a=hn({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function hn(e,a){return e=r5(22,e,null,a),e.lanes=0,e}function X4(e,a,t){return Xa(a,e.child,null,t),e=c9(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function dS(e,a,t,l,o,r,n,c){if(t)return a.flags&256?($e(a),a.flags&=-257,X4(e,a,c)):a.memoizedState!==null?(Ze(),a.child=e.child,a.flags|=128,null):(Ze(),r=o.fallback,n=a.mode,o=hn({mode:"visible",children:o.children},n),r=Oa(r,n,c,null),r.flags|=2,o.return=a,r.return=a,o.sibling=r,a.child=o,Xa(a,e.child,null,c),o=a.child,o.memoizedState=Ys(c),o.childLanes=$s(e,l,c),a.memoizedState=Ks,il(null,o));if($e(a),_9(r)){if(l=r.nextSibling&&r.nextSibling.dataset,l)var i=l.dgst;return l=i,l!==""&&(o=Error(S(419)),o.stack="",o.digest=l,Ml({value:o,source:null,stack:null})),X4(e,a,c)}if(m0||ja(e,a,c,!1),l=(c&e.childLanes)!==0,m0||l){if(ra.current!==null)return X4(e,a,c);if(l=D1,l!==null&&(o=Wp(l,c),o!==0&&o!==n.retryLane))throw n.retryLane=o,a3(e,o),n5(l,e,o),n9;return bu(r)||Q6(),X4(e,a,c)}return bu(r)?(a.flags|=192,a.child=e.child,null):(e=n.treeContext,E1=P5(r.nextSibling),H0=a,o1=!0,Xe=null,N5=!1,e!==null&&Cv(a,e),a=c9(a,o.children),a.flags|=134221824,a)}function Gf(e,a,t){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a),s6(e.return,a,t)}function jf(e){for(var a=null;e!==null;){var t=e.alternate;t!==null&&T6(t)===null&&(a=e),e=e.sibling}return a}function K4(e,a,t,l,o,r){var n=e.memoizedState;n===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:l,tail:t,tailMode:o,treeForkCount:r}:(n.isBackwards=a,n.rendering=null,n.renderingStartTime=0,n.last=l,n.tail=t,n.tailMode=o,n.treeForkCount=r)}function ls(e){var a=e.child;for(e.child=null;a!==null;){var t=a.sibling;a.sibling=e.child,e.child=a,a=t}}function Zs(e,a,t){var l=a.pendingProps,o=l.revealOrder,r=l.tail;l=l.children;var n=w0.current;if(a.flags&128)return _l(a,n),null;var c=(n&2)!==0;if(c?(n=n&1|2,a.flags|=128):n&=1,_l(a,n),o==="backwards"&&e!==null?(ls(e),x0(e,a,l,t),ls(e)):x0(e,a,l,t),l=o1?gl:0,!c&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gf(e,t,a);else if(e.tag===19)Gf(e,t,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":t=jf(a.child),t===null?(o=a.child,a.child=null):(o=t.sibling,t.sibling=null,ls(a)),K4(a,!0,o,null,r,l);break;case"unstable_legacy-backwards":for(t=null,o=a.child,a.child=null;o!==null;){if(e=o.alternate,e!==null&&T6(e)===null){a.child=o;break}e=o.sibling,o.sibling=t,t=o,o=e}K4(a,!0,t,null,r,l);break;case"together":K4(a,!1,null,null,void 0,l);break;case"independent":a.memoizedState=null;break;default:t=jf(a.child),t===null?(o=a.child,a.child=null):(o=t.sibling,t.sibling=null),K4(a,!1,o,t,r,l)}return a.child}function Wf(e,a,t){var l=a.pendingProps;return Ie(a,a.type,l.value),x0(e,a,l.children,t),a.child}function ue(e,a,t){if(e!==null&&(a.dependencies=e.dependencies),ca|=a.lanes,(t&a.childLanes)===0)if(e!==null){if(ja(e,a,t,!1),(t&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(S(153));if(a.child!==null){for(e=a.child,t=oe(e,e.pendingProps),a.child=t,t.return=a;e.sibling!==null;)e=e.sibling,t=t.sibling=oe(e,e.pendingProps),t.return=a;t.sibling=null}return a.child}function i9(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&L6(e)))}function hS(e,a,t){switch(a.tag){case 3:A6(a,a.stateNode.containerInfo),Ie(a,h0,e.memoizedState.cache),Ga();break;case 27:case 5:ys(a);break;case 4:A6(a,a.stateNode.containerInfo);break;case 10:Ie(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Us(a),null;break;case 13:var l=a.memoizedState;if(l!==null){if(l.dehydrated!==null)return $e(a),a.flags|=128,null;l=ja(e,a,t,!1);var o=a.child.childLanes;return l||(t&o)!==0?gg(e,a,t):($e(a),e=ue(e,a,t),e!==null?e.sibling:null)}$e(a);break;case 19:if(a.flags&128)return Zs(e,a,t);if(o=(e.flags&128)!==0,l=(t&a.childLanes)!==0,l||(ja(e,a,t,!1),l=(t&a.childLanes)!==0),o){if(l)return Zs(e,a,t);a.flags|=128}if(o=a.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),_l(a,w0.current),l)break;return null;case 22:return a.lanes=0,vg(e,a,t,a.pendingProps);case 24:Ie(a,h0,e.memoizedState.cache)}return ue(e,a,t)}function Mg(e,a,t){if(e!==null)if(e.memoizedProps!==a.pendingProps)m0=!0;else{if(!i9(e,t)&&(a.flags&128)===0)return m0=!1,hS(e,a,t);m0=(e.flags&131072)!==0}else m0=!1,o1&&(a.flags&1048576)!==0&&bv(a,gl,a.index);switch(a.lanes=0,a.tag){case 16:e:{var l=a.pendingProps;if(e=Ta(a.elementType),a.type=e,typeof e=="function")Ou(e)?(l=Ya(e,l),a.tag=1,a=Uf(null,a,e,l,t)):(a.tag=0,a=Xs(null,a,e,l,t));else{if(e!=null){var o=e.$$typeof;if(o===Ru){a.tag=11,a=Df(null,a,e,l,t);break e}else if(o===Su){a.tag=14,a=Nf(null,a,e,l,t);break e}else if(o===V2){a.tag=10,a.type=e,a=Wf(null,a,t);break e}}throw a=Cs(e)||e,Error(S(306,a,""))}}return a;case 0:return Xs(e,a,a.type,a.pendingProps,t);case 1:return l=a.type,o=Ya(l,a.pendingProps),Uf(e,a,l,o,t);case 3:e:{if(A6(a,a.stateNode.containerInfo),e===null)throw Error(S(387));l=a.pendingProps;var r=a.memoizedState;o=r.element,Ps(e,a),nl(a,l,null,t);var n=a.memoizedState;if(l=n.cache,Ie(a,h0,l),l!==r.cache&&Ds(a,[h0],t,!0),rl(),l=n.element,r.isDehydrated)if(r={element:l,isDehydrated:!1,cache:n.cache},a.updateQueue.baseState=r,a.memoizedState=r,a.flags&256){a=If(e,a,l,t);break e}else if(l!==o){o=D5(Error(S(424)),a),Ml(o),a=If(e,a,l,t);break e}else for(e=a.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,E1=P5(e.firstChild),H0=a,o1=!0,Xe=null,N5=!0,t=Sv(a,null,l,t),a.child=t;t;)t.flags=t.flags&-3|134221824,t=t.sibling;else{if(Ga(),l===o){a=ue(e,a,t);break e}x0(e,a,l,t)}a=a.child}return a;case 26:return Z3(e,a),e===null?(t=xp(a.type,null,a.pendingProps,null))?a.memoizedState=t:o1||(a.stateNode=cM(a.type,a.pendingProps,Qe.current,a)):a.memoizedState=xp(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return ys(a),e===null&&o1&&(l=a.stateNode=gM(a.type,a.pendingProps,Qe.current),H0=a,N5=!0,o=E1,sa(a.type)?(Cu=o,E1=P5(l.firstChild)):E1=o),x0(e,a,a.pendingProps.children,t),Z3(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&o1&&((o=l=E1)&&(l=oV(l,a.type,a.pendingProps,N5),l!==null?(a.stateNode=l,H0=a,E1=P5(l.firstChild),N5=!1,o=!0):o=!1),o||oa(a)),ys(a),o=a.type,r=a.pendingProps,n=e!==null?e.memoizedProps:null,l=r.children,xu(o,r)?l=null:n!==null&&xu(o,n)&&(a.flags|=32),a.memoizedState!==null&&(o=Ku(e,a,aS,null,null,t),kt._currentValue=o),Z3(e,a),x0(e,a,l,t),a.child;case 6:return e===null&&o1&&((e=t=E1)&&(t=rV(t,a.pendingProps,N5),t!==null?(a.stateNode=t,H0=a,E1=null,e=!0):e=!1),e||oa(a)),null;case 13:return gg(e,a,t);case 4:return A6(a,a.stateNode.containerInfo),l=a.pendingProps,e===null?a.child=Xa(a,null,l,t):x0(e,a,l,t),a.child;case 11:return Df(e,a,a.type,a.pendingProps,t);case 7:return l=a.pendingProps,Z3(e,a),x0(e,a,l,t),a.child;case 8:return x0(e,a,a.pendingProps.children,t),a.child;case 12:return x0(e,a,a.pendingProps.children,t),a.child;case 10:return Wf(e,a,t);case 9:return o=a.type._context,l=a.pendingProps.children,Wa(a),o=L0(o),l=l(o),a.flags|=1,x0(e,a,l,t),a.child;case 14:return Nf(e,a,a.type,a.pendingProps,t);case 15:return pg(e,a,a.type,a.pendingProps,t);case 19:return Zs(e,a,t);case 31:return uS(e,a,t);case 22:return vg(e,a,t,a.pendingProps);case 24:return Wa(a),l=L0(h0),e===null?(o=Iu(),o===null&&(o=D1,r=Uu(),o.pooledCache=r,r.refCount++,r!==null&&(o.pooledCacheLanes|=t),o=r),a.memoizedState={parent:l,cache:o},ju(a),Ie(a,h0,o)):((e.lanes&t)!==0&&(Ps(e,a),nl(a,null,null,t),rl()),o=e.memoizedState,r=a.memoizedState,o.parent!==l?(o={parent:l,cache:l},a.memoizedState=o,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=o),Ie(a,h0,l)):(l=r.cache,Ie(a,h0,l),l!==o.cache&&Ds(a,[h0],t,!0))),x0(e,a,a.pendingProps.children,t),a.child;case 30:return a.stateNode===null&&(a.stateNode={autoName:null,paired:null,clones:null,ref:null}),l=a.pendingProps,l.name!=null&&l.name!=="auto"?a.flags|=e===null?18882560:18874368:o1&&rn(a),e!==null&&e.memoizedProps.name!==l.name?a.flags|=4194816:Z3(e,a),x0(e,a,l.children,t),a.child;case 29:throw a.pendingProps}throw Error(S(156,a.tag))}function ae(e){e.flags|=4}function os(e,a,t,l,o){var r;if((r=(e.mode&32)!==0)&&(r=t===null?bp(a,l):bp(a,l)&&(l.src!==t.src||l.srcSet!==t.srcSet)),r){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(Qg())e.flags|=8192;else throw Ua=k6,Gu}else e.flags&=-16777217}function Qf(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!zM(a))if(Qg())e.flags|=8192;else throw Ua=k6,Gu}function Y4(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Ip():536870912,e.lanes|=a,Rt|=a)}function j7(e,a){if(!o1)switch(e.tailMode){case"visible":break;case"collapsed":for(var t=e.tail,l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null;break;default:for(a=e.tail,t=null;a!==null;)a.alternate!==null&&(t=a),a=a.sibling;t===null?e.tail=null:t.sibling=null}}function O1(e){var a=e.alternate!==null&&e.alternate.child===e.child,t=0,l=0;if(a)for(var o=e.child;o!==null;)t|=o.lanes|o.childLanes,l|=o.subtreeFlags&1206910976,l|=o.flags&1206910976,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)t|=o.lanes|o.childLanes,l|=o.subtreeFlags,l|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=l,e.childLanes=t,a}function mS(e,a,t){var l=a.pendingProps;switch(Eu(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return O1(a),null;case 1:return O1(a),null;case 3:return t=a.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),re(h0),Ct(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(Y3(a)?ae(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,J8())),O1(a),null;case 26:var o=a.type,r=a.memoizedState;return e===null?(ae(a),r!==null?(O1(a),Qf(a,r)):(O1(a),os(a,o,null,l,t))):r?r!==e.memoizedState?(ae(a),O1(a),Qf(a,r)):(O1(a),a.flags&=-16777217):(e=e.memoizedProps,e!==l&&ae(a),O1(a),os(a,o,e,l,t)),null;case 27:if(y6(a),t=Qe.current,o=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&ae(a);else{if(!l){if(a.stateNode===null)throw Error(S(166));return O1(a),a.subtreeFlags&=-33554433,null}e=k2.current,Y3(a)?_f(a,e):(e=gM(o,l,t),a.stateNode=e,ae(a))}return O1(a),a.subtreeFlags&=-33554433,null;case 5:if(y6(a),o=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&ae(a);else{if(!l){if(a.stateNode===null)throw Error(S(166));return O1(a),a.subtreeFlags&=-33554433,null}if(r=k2.current,Y3(a))_f(a,r);else{var n=Al(Qe.current);switch(r){case 1:r=n.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:r=n.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":r=n.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":r=n.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":r=n.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof l.is=="string"?n.createElement("select",{is:l.is}):n.createElement("select"),l.multiple?r.multiple=!0:l.size&&(r.size=l.size);break;default:r=typeof l.is=="string"?n.createElement(o,{is:l.is}):n.createElement(o)}}r[q0]=a,r[i5]=l;e:for(n=a.child;n!==null;){if(n.tag===5||n.tag===6)r.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&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}a.stateNode=r;e:switch(T0(r,o,l),o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&ae(a)}}return O1(a),a.subtreeFlags&=-33554433,os(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,t),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==l&&ae(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(S(166));if(e=Qe.current,Y3(a)){if(e=a.stateNode,t=a.memoizedProps,l=null,o=H0,o!==null)switch(o.tag){case 27:case 5:l=o.memoizedProps}e[q0]=a,e=!!(e.nodeValue===t||l!==null&&l.suppressHydrationWarning===!0||rM(e.nodeValue,t)),e||oa(a,!0)}else e=Al(e).createTextNode(l),e[q0]=a,a.stateNode=e}return O1(a),null;case 31:if(t=a.memoizedState,e===null||e.memoizedState!==null){if(l=Y3(a),t!==null){if(e===null){if(!l)throw Error(S(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(557));e[q0]=a}else Ga(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;O1(a),e=!1}else t=J8(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return a.flags&256?(g5(a),a):(g5(a),null);if((a.flags&128)!==0)throw Error(S(558))}return O1(a),null;case 13:if(l=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Y3(a),l!==null&&l.dehydrated!==null){if(e===null){if(!o)throw Error(S(318));if(o=a.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(S(317));o[q0]=a}else Ga(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;O1(a),o=!1}else o=J8(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return a.flags&256?(g5(a),a):(g5(a),null)}return g5(a),(a.flags&128)!==0?(a.lanes=t,a):(t=l!==null,e=e!==null&&e.memoizedState!==null,t&&(l=a.child,o=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(o=l.alternate.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==o&&(l.flags|=2048)),t!==e&&t&&(a.child.flags|=8192),Y4(a,a.updateQueue),O1(a),null);case 4:return Ct(),e===null&&g9(a.stateNode.containerInfo),a.flags|=67108864,O1(a),null;case 10:return re(a.type),O1(a),null;case 19:if(Qu(a),l=a.memoizedState,l===null)return O1(a),null;if(o=(a.flags&128)!==0,r=l.rendering,r===null)if(o)j7(l,!1);else{if(a0!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(r=T6(e),r!==null){for(a.flags|=128,j7(l,!1),e=r.updateQueue,a.updateQueue=e,Y4(a,e),a.subtreeFlags=0,e=t,t=a.child;t!==null;)_v(t,e),t=t.sibling;return _l(a,w0.current&1|2),o1&&te(a,l.treeForkCount),a.child}e=e.sibling}l.tail!==null&&_5()>j6&&(a.flags|=128,o=!0,j7(l,!1),a.lanes=4194304)}else{if(!o)if(e=T6(r),e!==null){if(a.flags|=128,o=!0,e=e.updateQueue,a.updateQueue=e,Y4(a,e),j7(l,!0),l.tail===null&&l.tailMode!=="collapsed"&&l.tailMode!=="visible"&&!r.alternate&&!o1)return O1(a),null}else 2*_5()-l.renderingStartTime>j6&&t!==536870912&&(a.flags|=128,o=!0,j7(l,!1),a.lanes=4194304);l.isBackwards?(r.sibling=a.child,a.child=r):(e=l.last,e!==null?e.sibling=r:a.child=r,l.last=r)}if(l.tail!==null){e=l.tail;e:{for(t=e;t!==null;){if(t.alternate!==null){t=!1;break e}t=t.sibling}t=!0}return l.rendering=e,l.tail=e.sibling,l.renderingStartTime=_5(),e.sibling=null,r=w0.current,r=o?r&1|2:r&1,l.tailMode==="visible"||l.tailMode==="collapsed"||!t||o1?_l(a,r):(t=r,U1(B0,a),U1(w0,t),E0===null&&(E0=a)),o1&&te(a,l.treeForkCount),e}return O1(a),null;case 22:case 23:return g5(a),Wu(),l=a.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(t&536870912)!==0&&(a.flags&128)===0&&(O1(a),a.subtreeFlags&6&&(a.flags|=8192)):O1(a),t=a.updateQueue,t!==null&&Y4(a,t.retryQueue),t=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==t&&(a.flags|=2048),e!==null&&k0(Ea),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),a.memoizedState.cache!==t&&(a.flags|=2048),re(h0),O1(a),null;case 25:return null;case 30:return a.flags|=33554432,O1(a),null}throw Error(S(156,a.tag))}function fS(e,a){switch(Eu(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return re(h0),Ct(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return y6(a),null;case 31:if(a.memoizedState!==null){if(g5(a),a.alternate===null)throw Error(S(340));Ga()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(g5(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(S(340));Ga()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Qu(a),e=a.flags,e&65536?(a.flags=e&-65537|128,e=a.memoizedState,e!==null&&(e.rendering=null,e.tail=null),a.flags|=4,a):null;case 4:return Ct(),null;case 10:return re(a.type),null;case 22:case 23:return g5(a),Wu(),e!==null&&k0(Ea),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return re(h0),null;case 25:return null;default:return null}}function xg(e,a){switch(Eu(a),a.tag){case 3:re(h0),Ct();break;case 26:case 27:case 5:y6(a);break;case 4:Ct();break;case 31:a.memoizedState!==null&&g5(a);break;case 13:g5(a);break;case 19:Qu(a);break;case 10:re(a.type);break;case 22:case 23:g5(a),Wu(),e!==null&&k0(Ea);break;case 24:re(h0)}}function Dl(e,a){try{var t=a.updateQueue,l=t!==null?t.lastEffect:null;if(l!==null){var o=l.next;t=o;do{if((t.tag&e)===e){l=void 0;var r=t.create,n=t.inst;l=r(),n.destroy=l}t=t.next}while(t!==o)}}catch(c){q1(a,a.return,c)}}function na(e,a,t){try{var l=a.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var r=o.next;l=r;do{if((l.tag&e)===e){var n=l.inst,c=n.destroy;if(c!==void 0){n.destroy=void 0,o=a;var i=t,s=c;try{s()}catch(u){q1(o,i,u)}}}l=l.next}while(l!==r)}}catch(u){q1(a,a.return,u)}}function _g(e){var a=e.updateQueue;if(a!==null){var t=e.stateNode;try{Fv(a,t)}catch(l){q1(e,e.return,l)}}}function zg(e,a,t){t.props=Ya(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(l){q1(e,a,l)}}function R2(e,a){try{var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:var o=e.stateNode,r=ce(e.memoizedProps,o);(o.ref===null||o.ref.name!==r)&&(o.ref=dM(r)),l=o.ref;break;case 7:if(e.stateNode===null){var n=new y5(e);c5(e.child,!1,tV,n,void 0,void 0),e.stateNode=n}l=e.stateNode;break;default:l=e.stateNode}typeof t=="function"?e.refCleanup=t(l):t.current=l}}catch(c){q1(e,a,c)}}function F0(e,a){var t=e.ref,l=e.refCleanup;if(t!==null)if(typeof l=="function")try{l()}catch(o){q1(e,a,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(o){q1(e,a,o)}else t.current=null}function O6(e,a){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&a!==null)for(var t=0;t<a.length;t++)pM(e.stateNode,a[t])}function Xf(e){for(var a=e.return;a!==null&&(u9(a)&&pM(e.stateNode,a.stateNode),!s9(a));)a=a.return}function sl(e){for(var a=e.return;a!==null&&(u9(a)&&lV(e.stateNode,a.stateNode),!s9(a));)a=a.return}function s9(e){return e.tag===5||e.tag===3||e.tag===27}function u9(e){return e&&e.tag===7&&e.stateNode!==null}function Js(e){var a=e.type,t=e.memoizedProps,l=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":t.autoFocus&&l.focus();break e;case"img":t.src?l.src=t.src:t.srcSet&&(l.srcset=t.srcSet)}}catch(o){q1(e,e.return,o)}}function rs(e,a,t){try{var l=e.stateNode;NS(l,e.type,t,a),l[i5]=a}catch(o){q1(e,e.return,o)}}function bg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&sa(e.type)||e.tag===4}function ns(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&sa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eu(e,a,t,l){var o=e.tag;if(o===5||o===6)o=e.stateNode,a?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(o,a):(a=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.appendChild(o),t=t._reactRootContainer,t!=null||a.onclick!==null||(a.onclick=F2)),O6(e,l),x1=!0;else if(o!==4&&(o===27&&(O6(e,l),l=null,sa(e.type)&&(t=e.stateNode,a=null)),e=e.child,e!==null))for(eu(e,a,t,l),e=e.sibling;e!==null;)eu(e,a,t,l),e=e.sibling}function E6(e,a,t,l){var o=e.tag;if(o===5||o===6)o=e.stateNode,a?t.insertBefore(o,a):t.appendChild(o),O6(e,l),x1=!0;else if(o!==4&&(o===27&&(O6(e,l),l=null,sa(e.type)&&(t=e.stateNode)),e=e.child,e!==null))for(E6(e,a,t,l),e=e.sibling;e!==null;)E6(e,a,t,l),e=e.sibling}function Cg(e){var a=e.stateNode,t=e.memoizedProps;try{for(var l=e.type,o=a.attributes;o.length;)a.removeAttributeNode(o[0]);T0(a,l,t),a[q0]=e,a[i5]=t}catch(r){q1(e,e.return,r)}}var U6=!1,M5=null;function Kf(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(U6=!0)}var S2=null;function Yf(){var e=S2;return S2=null,e}var o5=0;function Pt(e,a,t,l,o){return o5=0,Ag(e.child,a,t,l,o)}function Ag(e,a,t,l,o){for(var r=!1;e!==null;){if(e.tag===5){var n=e.stateNode;if(l!==null){var c=_u(n);l.push(c),c.view&&(r=!0)}else r||_u(n).view&&(r=!0);U6=!0,iM(n,o5===0?a:a+"_"+o5,t),o5++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&o||Ag(e.child,a,t,l,o)&&(r=!0));e=e.sibling}return r}function T2(e,a){for(;e!==null;)e.tag===5?sM(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&a||T2(e.child,a)),e=e.sibling}function f6(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(f6(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var a=e.memoizedProps;if(a.name==null||a.name==="auto")throw Error(S(544));var t=a.name;a=me(a.default,a.share),a!=="none"&&(Pt(e,t,a,null,!1)||T2(e.child,!1))}e=e.sibling}}function au(e,a){if(e.tag===30){var t=e.stateNode,l=e.memoizedProps,o=ce(l,t),r=me(l.default,t.paired?l.share:l.enter);r!=="none"?Pt(e,o,r,null,!1)?(f6(e),t.paired||a||St(e,l.onEnter)):T2(e.child,!1):f6(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)au(e,a),e=e.sibling;else f6(e)}function tu(e){if(M5!==null&&M5.size!==0){var a=M5;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.memoizedProps,l=t.name;if(l!=null&&l!=="auto"){var o=a.get(l);if(o!==void 0){var r=me(t.default,t.share);if(r!=="none"&&(Pt(e,l,r,null,!1)?(r=e.stateNode,o.paired=r,r.paired=o,St(e,t.onShare)):T2(e.child,!1)),a.delete(l),a.size===0)break}}}tu(e)}e=e.sibling}}}function lu(e){if(e.tag===30){var a=e.memoizedProps,t=ce(a,e.stateNode),l=M5!==null?M5.get(t):void 0,o=me(a.default,l!==void 0?a.share:a.exit);o!=="none"&&(Pt(e,t,o,null,!1)?l!==void 0?(o=e.stateNode,l.paired=o,o.paired=l,M5.delete(t),St(e,a.onShare)):St(e,a.onExit):T2(e.child,!1)),M5!==null&&tu(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)lu(e),e=e.sibling;else M5!==null&&tu(e)}function yg(e){for(e=e.child;e!==null;){if(e.tag===30){var a=e.memoizedProps,t=ce(a,e.stateNode);a=me(a.default,a.update),e.flags&=-5,a!=="none"&&Pt(e,t,a,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&yg(e);e=e.sibling}}function ou(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var a=e.stateNode;a.paired!==null&&(a.paired=null,T2(e.child,!1))}ou(e)}e=e.sibling}}function p6(e){if(e.tag===30)e.stateNode.paired=null,T2(e.child,!1),ou(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)p6(e),e=e.sibling;else ou(e)}function Hg(e){for(e=e.child;e!==null;)e.tag===30?T2(e.child,!1):(e.subtreeFlags&33554432)!==0&&Hg(e),e=e.sibling}function d9(e,a,t,l,o,r,n){for(var c=!1;a!==null;){if(a.tag===5){var i=a.stateNode;if(r!==null&&o5<r.length){var s=r[o5],u=_u(i);(s.view||u.view)&&(c=!0);var m;if(m=(e.flags&4)===0)if(u.clip)m=!0;else{m=s.rect;var h=u.rect;m=m.y!==h.y||m.x!==h.x||m.height!==h.height||m.width!==h.width}m&&(e.flags|=4),u.abs?u=!s.abs:(s=s.rect,u=u.rect,u=s.height!==u.height||s.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&iM(i,o5===0?t:t+"_"+o5,o),c&&(e.flags&4)!==0||(S2===null&&(S2=[]),S2.push(i,o5===0?l:l+"_"+o5,a.memoizedProps)),o5++}else(a.tag!==22||a.memoizedState===null)&&(a.tag===30&&n?e.flags|=a.flags&32:d9(e,a.child,t,l,o,r,n)&&(c=!0));a=a.sibling}return c}function Rg(e,a){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,l=e.stateNode,o=ce(t,l),r=me(t.default,t.update);if(a){l=l.clones;var n=l===null?null:l.map(GS)}else n=e.memoizedState,e.memoizedState=null;l=e;var c=e.child;o5=0,o=d9(l,c,o,o,r,n,!1),(e.flags&4)!==0&&o&&(a||St(e,t.onUpdate))}else(e.subtreeFlags&33554432)!==0&&Rg(e,a);e=e.sibling}}var C0=!1,C1=!1,A2=!1,cs=!1,$f=typeof WeakSet=="function"?WeakSet:Set,A0=null,y2=!1,J7=!1,I6=!1,ru=!1;function pS(e,a,t){if(e=e.containerInfo,gu=wt,e=hv(e),Du(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var r=o.anchorOffset,n=o.focusNode;o=o.focusOffset;try{l.nodeType,n.nodeType}catch{l=null;break e}var c=0,i=-1,s=-1,u=0,m=0,h=e,d=null;a:for(;;){for(var f;h!==l||r!==0&&h.nodeType!==3||(i=c+r),h!==n||o!==0&&h.nodeType!==3||(s=c+o),h.nodeType===3&&(c+=h.nodeValue.length),(f=h.firstChild)!==null;)d=h,h=f;for(;;){if(h===e)break a;if(d===l&&++u===r&&(i=c),d===n&&++m===o&&(s=c),(f=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=f}l=i===-1||s===-1?null:{start:i,end:s}}else l=null}l=l||{start:0,end:0}}else l=null;for(Mu={focusedElem:e,selectionRange:l},wt=!1,t=(t&335544064)===t,A0=a,a=t?9270:1024;A0!==null;){if(e=A0,t&&(l=e.deletions,l!==null))for(r=0;r<l.length;r++)t&&lu(l[r]);if(e.alternate===null&&(e.flags&2)!==0)t&&Kf(e),$4(t);else{if(e.tag===22){if(l=e.alternate,e.memoizedState!==null){l!==null&&l.memoizedState===null&&t&&lu(l),$4(t);continue}else if(l!==null&&l.memoizedState!==null){t&&Kf(e),$4(t);continue}}l=e.child,(e.subtreeFlags&a)!==0&&l!==null?(l.return=e,A0=l):(t&&yg(e),$4(t))}}M5=null}function $4(e){for(;A0!==null;){var a=A0,t=e,l=a.alternate,o=a.flags;switch(a.tag){case 0:case 11:case 15:break;case 1:if((o&1024)!==0&&l!==null){t=void 0,o=l.memoizedProps,l=l.memoizedState;var r=a.stateNode;try{var n=Ya(a.type,o);t=r.getSnapshotBeforeUpdate(n,l),r.__reactInternalSnapshotBeforeUpdate=t}catch(c){q1(a,a.return,c)}}break;case 3:if((o&1024)!==0){if(l=a.stateNode.containerInfo,t=l.nodeType,t===9)zu(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":zu(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:t&&l!==null&&(t=ce(l.memoizedProps,l.stateNode),o=a.memoizedProps,o=me(o.default,o.update),o!=="none"&&Pt(l,t,o,l.memoizedState=[],!0));break;default:if((o&1024)!==0)throw Error(S(163))}if(l=a.sibling,l!==null){l.return=a.return,A0=l;break}A0=a.return}}function Sg(e,a,t){var l=t.flags;switch(t.tag){case 0:case 11:case 15:H2(e,t),l&4&&Dl(5,t);break;case 1:if(H2(e,t),l&4)if(e=t.stateNode,a===null)try{e.componentDidMount()}catch(n){q1(t,t.return,n)}else{var o=Ya(t.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(o,a,e.__reactInternalSnapshotBeforeUpdate)}catch(n){q1(t,t.return,n)}}l&64&&_g(t),l&512&&R2(t,t.return);break;case 3:if(H2(e,t),l&64&&(e=t.updateQueue,e!==null)){if(a=null,t.child!==null)switch(t.child.tag){case 27:case 5:a=t.child.stateNode;break;case 1:a=t.child.stateNode}try{Fv(e,a)}catch(n){q1(t,t.return,n)}}break;case 27:a===null&&l&4&&Cg(t);case 26:case 5:H2(e,t),a===null&&l&4&&Js(t),l&512&&R2(t,t.return);break;case 12:H2(e,t);break;case 31:H2(e,t),l&4&&Lg(e,t);break;case 13:H2(e,t),l&4&&kg(e,t),l&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=RS.bind(null,t),nV(e,t))));break;case 22:if(l=t.memoizedState!==null||C0,!l){var r=a!==null&&a.memoizedState!==null||C1;a=C0,o=C1,C0=l,(C1=r)&&!o?(l=2,(t.subtreeFlags&8772)!==0&&(l|=1),Q5(e,t,l)):H2(e,t),C0=a,C1=o}break;case 30:H2(e,t),l&512&&R2(t,t.return);break;case 7:l&512&&R2(t,t.return);default:H2(e,t)}}function nu(e,a){for(e=e.child;e!==null;)Vg(e,a),e=e.sibling}function Vg(e,a){switch(e.tag){case 5:case 26:try{var t=e.stateNode;if(a){var l=t.style;typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"}else{var o=e.stateNode,r=e.memoizedProps.style,n=r!=null&&r.hasOwnProperty("display")?r.display:null;o.style.display=n==null||typeof n=="boolean"?"":(""+n).trim()}}catch(i){q1(e,e.return,i)}cu(e,a);break;case 6:try{e.stateNode.nodeValue=a?"":e.memoizedProps,x1=!0}catch(i){q1(e,e.return,i)}break;case 18:try{var c=e.stateNode;a?mp(c,!0):mp(e.stateNode,!1)}catch(i){q1(e,e.return,i)}break;case 22:case 23:e.memoizedState===null&&nu(e,a);break;default:nu(e,a)}}function cu(e,a){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var t=e,l=a;switch(t.tag){case 4:Vg(t,l);break e;case 22:t.memoizedState===null&&cu(t,l);break e;default:cu(t,l)}}e=e.sibling}}function Fg(e){var a=e.alternate;a!==null&&(e.alternate=null,Fg(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&J6(a)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var j1=null,t5=!1;function W5(e,a,t){for(t=t.child;t!==null;)qg(e,a,t),t=t.sibling}function qg(e,a,t){if(z5&&typeof z5.onCommitFiberUnmount=="function")try{z5.onCommitFiberUnmount(Fl,t)}catch{}switch(t.tag){case 26:C1||F0(t,a),W5(e,a,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&!C1&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:C1||F0(t,a),sl(t);var l=j1,o=t5;sa(t.type)&&(j1=t.stateNode,t5=!1),W5(e,a,t),MM(t.stateNode,t.type,t.memoizedProps),j1=l,t5=o;break;case 5:C1||F0(t,a),sl(t);case 6:if(t.tag===6&&sl(t),l=j1,o=t5,j1=null,W5(e,a,t),j1=l,t5=o,j1!==null)if(t5)try{(j1.nodeType===9?j1.body:j1.nodeName==="HTML"?j1.ownerDocument.body:j1).removeChild(t.stateNode),x1=!0}catch(r){q1(t,a,r)}else try{j1.removeChild(t.stateNode),x1=!0}catch(r){q1(t,a,r)}break;case 18:j1!==null&&(t5?(e=j1,hp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),Tt(e)):hp(j1,t.stateNode));break;case 4:l=j1,o=t5,j1=t.stateNode.containerInfo,t5=!0,W5(e,a,t),j1=l,t5=o;break;case 0:case 11:case 14:case 15:na(2,t,a),C1||na(4,t,a),W5(e,a,t);break;case 1:C1||(F0(t,a),l=t.stateNode,typeof l.componentWillUnmount=="function"&&zg(t,a,l)),W5(e,a,t);break;case 21:W5(e,a,t);break;case 22:C1=(l=C1)||t.memoizedState!==null,W5(e,a,t),C1=l;break;case 30:F0(t,a),W5(e,a,t);break;case 7:C1||F0(t,a),W5(e,a,t);break;default:W5(e,a,t)}}function Lg(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Tt(e)}catch(t){q1(a,a.return,t)}}}function kg(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Tt(e)}catch(t){q1(a,a.return,t)}}function vS(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new $f),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new $f),a;default:throw Error(S(435,e.tag))}}function Z4(e,a){var t=vS(e);a.forEach(function(l){if(!t.has(l)){t.add(l);var o=SS.bind(null,e,l);l.then(o,o)}})}function K0(e,a,t){var l=a.deletions;if(l!==null)for(var o=0;o<l.length;o++){var r=l[o],n=e,c=a,i=c;e:for(;i!==null;){switch(i.tag){case 27:if(sa(i.type)){j1=i.stateNode,t5=!1;break e}break;case 5:j1=i.stateNode,t5=!1;break e;case 3:case 4:j1=i.stateNode.containerInfo,t5=!0;break e}i=i.return}if(j1===null)throw Error(S(160));qg(n,c,r),j1=null,t5=!1,n=r.alternate,n!==null&&(n.return=null),r.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)wg(a,e,t),a=a.sibling}var X5=null;function wg(e,a,t){var l=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(o&4&&(l=e.updateQueue,l=l!==null?l.events:null,l!==null))for(var r=0;r<l.length;r++){var n=l[r];n.ref.impl=n.nextImpl}K0(a,e,t),Y0(e),o&4&&(na(3,e,e.return),Dl(3,e),na(5,e,e.return));break;case 1:K0(a,e,t),Y0(e),o&512&&(C1||l===null||F0(l,l.return)),o&64&&C0&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=t===null?a:t.concat(a))));break;case 26:if(r=X5,K0(a,e,t),Y0(e),o&512&&(C1||l===null||F0(l,l.return)),o&4)if(o=l!==null?l.memoizedState:null,t=e.memoizedState,l===null)if(t===null)if(e.stateNode===null)if(C0)e.stateNode=cM(e.type,e.memoizedProps,a.containerInfo,e);else{e:{a=e.type,t=e.memoizedProps,o=r.ownerDocument||r;a:switch(a){case"title":l=o.getElementsByTagName("title")[0],(!l||l[kl]||l[q0]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=o.createElement(a),o.head.insertBefore(l,o.querySelector("head > title"))),T0(l,a,t),l[q0]=e,y0(l),a=l;break e;case"link":if(r=zp("link","href",o).get(a+(t.href||""))){for(n=0;n<r.length;n++)if(l=r[n],l.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&l.getAttribute("rel")===(t.rel==null?null:t.rel)&&l.getAttribute("title")===(t.title==null?null:t.title)&&l.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){r.splice(n,1);break a}}l=o.createElement(a),T0(l,a,t),o.head.appendChild(l);break;case"meta":if(r=zp("meta","content",o).get(a+(t.content||""))){for(n=0;n<r.length;n++)if(l=r[n],l.getAttribute("content")===(t.content==null?null:""+t.content)&&l.getAttribute("name")===(t.name==null?null:t.name)&&l.getAttribute("property")===(t.property==null?null:t.property)&&l.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&l.getAttribute("charset")===(t.charSet==null?null:t.charSet)){r.splice(n,1);break a}}l=o.createElement(a),T0(l,a,t),o.head.appendChild(l);break;default:throw Error(S(468,a))}l[q0]=e,y0(l),a=l}e.stateNode=a}else C0||Au(r,e.type,e.stateNode);else e.stateNode=_p(r,t,e.memoizedProps);else o!==t?(o===null?(a=l.stateNode,a===null||C1||a.parentNode.removeChild(a)):o.count--,t===null?C0||Au(r,e.type,e.stateNode):_p(r,t,e.memoizedProps)):t===null&&e.stateNode!==null&&rs(e,e.memoizedProps,l.memoizedProps);break;case 27:K0(a,e,t),Y0(e),o&512&&(C1||l===null||F0(l,l.return)),l!==null&&o&4&&rs(e,e.memoizedProps,l.memoizedProps);break;case 5:if(r=A2,A2=!1,K0(a,e,t),A2=r,Y0(e),o&512&&(C1||l===null||F0(l,l.return)),e.flags&32){a=e.stateNode;try{yt(a,""),x1=!0}catch(u){q1(e,e.return,u)}}o&4&&e.stateNode!=null&&(a=e.memoizedProps,rs(e,a,l!==null?l.memoizedProps:a)),o&1024&&(cs=!0);break;case 6:if(K0(a,e,t),Y0(e),o&4){if(e.stateNode===null)throw Error(S(162));a=e.memoizedProps,t=e.stateNode;try{t.nodeValue=a,x1=!0}catch(u){q1(e,e.return,u)}}break;case 3:if(x1=!1,x6=null,r=X5,X5=yl(a.containerInfo),K0(a,e,t),X5=r,Y0(e),o&4&&l!==null&&l.memoizedState.isDehydrated)try{Tt(a.containerInfo)}catch(u){q1(e,e.return,u)}cs&&(cs=!1,Tg(e)),x1=!1;break;case 4:o=A2,A2=C0,l=tf(),r=X5,X5=yl(e.stateNode.containerInfo),K0(a,e,t),Y0(e),X5=r,x1&&J7&&(I6=!0),x1=l,A2=o;break;case 12:K0(a,e,t),Y0(e);break;case 31:K0(a,e,t),Y0(e),o&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Z4(e,a)));break;case 13:K0(a,e,t),Y0(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(mn=_5()),o&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Z4(e,a)));break;case 22:r=e.memoizedState!==null,n=l!==null&&l.memoizedState!==null;var c=C0,i=C1,s=A2;C0=c||r,A2=s||r,C1=i||n,K0(a,e,t),C1=i,A2=s,C0=c,Y0(e),o&8192&&(a=e.stateNode,a._visibility=r?a._visibility&-2:a._visibility|1,!r||l===null||n||C0||C1||(a=n||C1,t=C0,l=C1,C0=r||C0,C1=a,De(e,2),C0=t,C1=l),!r&&A2||nu(e,r)),o&4&&(a=e.updateQueue,a!==null&&(t=a.retryQueue,t!==null&&(a.retryQueue=null,Z4(e,t))));break;case 19:K0(a,e,t),Y0(e),o&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Z4(e,a)));break;case 30:o&512&&(C1||l===null||F0(l,l.return)),o=tf(),r=J7,n=(t&335544064)===t,c=e.memoizedProps,J7=n&&me(c.default,c.update)!=="none",K0(a,e,t),Y0(e),n&&l!==null&&x1&&(e.flags|=4),J7=r,x1=o;break;case 21:break;case 7:o&512&&(C1||l===null||F0(l,l.return)),l&&l.stateNode!==null&&(l.stateNode._fragmentFiber=e);default:K0(a,e,t),Y0(e)}}function Y0(e){var a=e.flags;if(a&2){try{for(var t,l=e.return;l!==null;){if(bg(l)){t=l;break}l=l.return}l=null;for(var o=e.return;o!==null;){if(u9(o)){var r=o.stateNode;l===null?l=[r]:l.push(r)}if(s9(o))break;o=o.return}var n=l;if(t==null)throw Error(S(160));switch(t.tag){case 27:var c=t.stateNode,i=ns(e);E6(e,i,c,n);break;case 5:var s=t.stateNode;t.flags&32&&(yt(s,""),t.flags&=-33);var u=ns(e);E6(e,u,s,n);break;case 3:case 4:var m=t.stateNode.containerInfo,h=ns(e);eu(e,h,m,n);break;default:throw Error(S(161))}}catch(d){q1(e,e.return,d)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function Tg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;Tg(a),a.tag===5&&a.flags&1024&&(a=a.stateNode,wt=!0,a.reset(),wt=!1),e=e.sibling}}function $3(e,a){if(a.subtreeFlags&9270)for(a=a.child;a!==null;)Bg(a,e),a=a.sibling;else Rg(a,!1)}function Bg(e,a){var t=e.alternate;if(t===null)au(e,!1);else switch(e.tag){case 3:if(ru=y2=!1,Yf(),$3(a,e),!y2&&!I6){if(e=S2,e!==null)for(var l=0;l<e.length;l+=3){t=e[l];var o=e[l+1];sM(t,e[l+2]),t=t.ownerDocument.documentElement,t!==null&&t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}e=a.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),ru=!0}S2=null;break;case 5:$3(a,e);break;case 4:l=y2,y2=!1,$3(a,e),y2&&(I6=!0),y2=l;break;case 22:e.memoizedState===null&&(t.memoizedState!==null?au(e,!1):$3(a,e));break;case 30:l=y2,o=Yf(),y2=!1,$3(a,e),y2&&(e.flags|=4);var r=e.memoizedProps,n=e.stateNode;a=ce(r,n),n=ce(t.memoizedProps,n);var c=me(r.default,r.update);c==="none"?a=!1:(r=t.memoizedState,t.memoizedState=null,t=e.child,o5=0,a=d9(e,t,a,n,c,r,!0),o5!==(r===null?0:r.length)&&(e.flags|=32)),(e.flags&4)!==0&&a?(St(e,e.memoizedProps.onUpdate),S2=o):o!==null&&(o.push.apply(o,S2),S2=o),y2=(e.flags&32)!==0?!0:l;break;default:$3(a,e)}}function H2(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Sg(e,a.alternate,a),a=a.sibling}function De(e,a){for(e=e.child;e!==null;){var t=e,l=a;switch(t.tag){case 0:case 11:case 14:case 15:na(4,t,t.return),De(t,l);break;case 1:F0(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&zg(t,t.return,o),De(t,l);break;case 27:(l&2)!==0&&MM(t.stateNode,t.type,t.memoizedProps);case 5:F0(t,t.return),t.tag!==5&&t.tag!==27||sl(t),De(t,l);break;case 6:sl(t);break;case 26:F0(t,t.return),o=t.stateNode,t.memoizedState!==null||o===null||C1||o.parentNode.removeChild(o),De(t,l);break;case 22:t.memoizedState===null&&De(t,l);break;case 30:F0(t,t.return),De(t,l);break;case 7:F0(t,t.return);default:De(t,l)}e=e.sibling}}function Q5(e,a,t){for(t=(a.subtreeFlags&8772)!==0?t:t&-2,a=a.child;a!==null;){var l=a.alternate,o=e,r=a,n=r.flags,c=(t&1)!==0;switch(r.tag){case 0:case 11:case 15:Q5(o,r,t),Dl(4,r);break;case 1:if(Q5(o,r,t),l=r,o=l.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(u){q1(l,l.return,u)}if(l=r,o=l.updateQueue,o!==null){var i=l.stateNode;try{var s=o.shared.hiddenCallbacks;if(s!==null)for(o.shared.hiddenCallbacks=null,o=0;o<s.length;o++)Vv(s[o],i)}catch(u){q1(l,l.return,u)}}c&&n&64&&_g(r),R2(r,r.return);break;case 27:(t&2)!==0&&Cg(r);case 5:r.tag!==5&&r.tag!==27||Xf(r),Q5(o,r,t),c&&l===null&&n&4&&Js(r),R2(r,r.return);break;case 6:Xf(r);break;case 26:i=r.stateNode,r.memoizedState!==null||i===null||C0||Au(yl(i.ownerDocument),r.type,i),Q5(o,r,t),c&&l===null&&n&4&&Js(r),R2(r,r.return);break;case 12:Q5(o,r,t);break;case 31:Q5(o,r,t),c&&n&4&&Lg(o,r);break;case 13:Q5(o,r,t),c&&n&4&&kg(o,r);break;case 22:r.memoizedState===null&&Q5(o,r,t),R2(r,r.return);break;case 30:Q5(o,r,t),R2(r,r.return);break;case 7:R2(r,r.return);default:Q5(o,r,t)}a=a.sibling}}function h9(e,a){var t=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==t&&(e!=null&&e.refCount++,t!=null&&Tl(t))}function m9(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Tl(e))}function L5(e,a,t,l){var o=(t&335544064)===t;if(a.subtreeFlags&(o?10262:10256))for(a=a.child;a!==null;)Dg(e,a,t,l),a=a.sibling;else o&&Hg(a)}function Dg(e,a,t,l){var o=(t&335544064)===t;o&&a.alternate===null&&a.return!==null&&a.return.alternate!==null&&p6(a);var r=a.flags;switch(a.tag){case 0:case 11:case 15:L5(e,a,t,l),r&2048&&Dl(9,a);break;case 1:L5(e,a,t,l);break;case 3:L5(e,a,t,l),o&&ru&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),r&2048&&(r=null,a.alternate!==null&&(r=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==r&&(a.refCount++,r!=null&&Tl(r)));break;case 12:if(r&2048){L5(e,a,t,l),r=a.stateNode;try{var n=a.memoizedProps,c=n.id,i=n.onPostCommit;typeof i=="function"&&i(c,a.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(s){q1(a,a.return,s)}}else L5(e,a,t,l);break;case 31:L5(e,a,t,l);break;case 13:L5(e,a,t,l);break;case 23:break;case 22:n=a.stateNode,c=a.alternate,a.memoizedState!==null?(o&&c!==null&&c.memoizedState===null&&p6(c),n._visibility&2?L5(e,a,t,l):ul(e,a)):(o&&c!==null&&c.memoizedState!==null&&p6(a),n._visibility&2?L5(e,a,t,l):(n._visibility|=2,J3(e,a,t,l,(a.subtreeFlags&10256)!==0||!1))),r&2048&&h9(c,a);break;case 24:L5(e,a,t,l),r&2048&&m9(a.alternate,a);break;case 30:o&&(r=a.alternate,r!==null&&(T2(r.child,!0),T2(a.child,!0))),L5(e,a,t,l);break;default:L5(e,a,t,l)}}function J3(e,a,t,l,o){for(o=o&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var r=e,n=a,c=t,i=l,s=n.flags;switch(n.tag){case 0:case 11:case 15:J3(r,n,c,i,o),Dl(8,n);break;case 23:break;case 22:var u=n.stateNode;n.memoizedState!==null?u._visibility&2?J3(r,n,c,i,o):ul(r,n):(u._visibility|=2,J3(r,n,c,i,o)),o&&s&2048&&h9(n.alternate,n);break;case 24:J3(r,n,c,i,o),o&&s&2048&&m9(n.alternate,n);break;default:J3(r,n,c,i,o)}a=a.sibling}}function ul(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var t=e,l=a,o=l.flags;switch(l.tag){case 22:ul(t,l),o&2048&&h9(l.alternate,l);break;case 24:ul(t,l),o&2048&&m9(l.alternate,l);break;default:ul(t,l)}a=a.sibling}}var Ba=8192;function ka(e,a,t){if(e.subtreeFlags&Ba)for(e=e.child;e!==null;)Ng(e,a,t),e=e.sibling}function Ng(e,a,t){switch(e.tag){case 26:ka(e,a,t),e.flags&Ba&&(e.memoizedState!==null?_V(t,X5,e.memoizedState,e.memoizedProps):(e=e.stateNode,(a&335544128)===a&&Cp(t,e)));break;case 5:ka(e,a,t),e.flags&Ba&&(e=e.stateNode,(a&335544128)===a&&Cp(t,e));break;case 3:case 4:var l=X5;X5=yl(e.stateNode.containerInfo),ka(e,a,t),X5=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Ba,Ba=16777216,ka(e,a,t),Ba=l):ka(e,a,t));break;case 30:if((e.flags&Ba)!==0&&(l=e.memoizedProps.name,l!=null&&l!=="auto")){var o=e.stateNode;o.paired=null,M5===null&&(M5=new Map),M5.set(l,o)}ka(e,a,t);break;default:ka(e,a,t)}}function Pg(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function W7(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var t=0;t<a.length;t++){var l=a[t];A0=l,Eg(l,e)}Pg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Og(e),e=e.sibling}function Og(e){switch(e.tag){case 0:case 11:case 15:W7(e),e.flags&2048&&na(9,e,e.return);break;case 3:W7(e);break;case 12:W7(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,v6(e)):W7(e);break;default:W7(e)}}function v6(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var t=0;t<a.length;t++){var l=a[t];A0=l,Eg(l,e)}Pg(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:na(8,a,a.return),v6(a);break;case 22:t=a.stateNode,t._visibility&2&&(t._visibility&=-3,v6(a));break;default:v6(a)}e=e.sibling}}function Eg(e,a){for(;A0!==null;){var t=A0;switch(t.tag){case 0:case 11:case 15:na(8,t,a);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var l=t.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Tl(t.memoizedState.cache)}if(l=t.child,l!==null)l.return=t,A0=l;else e:for(t=e;A0!==null;){l=A0;var o=l.sibling,r=l.return;if(Fg(l),l===t){A0=null;break e}if(o!==null){o.return=r,A0=o;break e}A0=r}}}var gS={getCacheForType:function(e){var a=L0(h0),t=a.data.get(e);return t===void 0&&(t=e(),a.data.set(e,t)),t},cacheSignal:function(){return L0(h0).controller.signal}},MS=typeof WeakMap=="function"?WeakMap:Map,_1=0,D1=null,s1=null,d1=0,V1=0,p5=null,Ge=!1,Ot=!1,f9=!1,de=0,a0=0,ca=0,Ia=0,G6=0,x5=0,Rt=0,dl=null,l5=null,iu=!1,mn=0,Ug=0,j6=1/0,W6=null,Je=null,K1=0,Y5=null,$a=null,w2=0,su=0,uu=null,Ig=null,_t=null,zt=null,bt=null,hl=0,g6=null;function C5(){return(_1&2)!==0&&d1!==0?d1&-d1:X.T!==null?v9():Qp()}function Gg(){if(x5===0)if((d1&536870912)===0||o1){var e=P4;P4<<=1,(P4&3932160)===0&&(P4=262144),x5=e}else x5=536870912;return e=B0.current,e!==null&&(e.flags|=32),x5}function St(e,a){if(a!=null){var t=e.stateNode,l=t.ref;l===null&&(l=t.ref=dM(ce(e.memoizedProps,t))),zt===null&&(zt=[]),zt.push(a.bind(null,l))}}function n5(e,a,t){(e===D1&&(V1===2||V1===9)||e.cancelPendingCommit!==null)&&(Vt(e,0),je(e,d1,x5,!1)),Ll(e,t),((_1&2)===0||e!==D1)&&(e===D1&&((_1&2)===0&&(Ia|=t),a0===4&&je(e,d1,x5,!1)),D2(e))}function jg(e,a,t){if((_1&6)!==0)throw Error(S(327));var l=!t&&(a&127)===0&&(a&e.expiredLanes)===0||ql(e,a),o=l?zS(e,a):is(e,a,!0),r=l;do{if(o===0){Ot&&!l&&je(e,a,0,!1);break}else{if(t=e.current.alternate,r&&!xS(t)){o=is(e,a,!1),r=!1;continue}if(o===2){if(r=a,e.errorRecoveryDisabledLanes&r)var n=0;else n=e.pendingLanes&-536870913,n=n!==0?n:n&536870912?536870912:0;if(n!==0){a=n;e:{var c=e;o=dl;var i=c.current.memoizedState.isDehydrated;if(i&&(Vt(c,n).flags|=256),n=is(c,n,!1),n!==2&&n!==6){if(f9&&!i){c.errorRecoveryDisabledLanes|=r,Ia|=r,o=4;break e}r=l5,l5=o,r!==null&&(l5===null?l5=r:l5.push.apply(l5,r))}o=n}if(r=!1,o!==2)continue}}if(o===1){Vt(e,0),je(e,a,0,!0);break}e:{switch(l=e,r=o,r){case 0:case 1:throw Error(S(345));case 4:if((a&4194048)!==a&&(a&62914560)!==a)break;case 6:je(l,a,x5,!Ge);break e;case 2:l5=null;break;case 3:case 5:break;default:throw Error(S(329))}if((a&62914560)===a&&(o=mn+300-_5(),10<o)){if(je(l,a,x5,!Ge),Z6(l,0,!0)!==0)break e;w2=a,l.timeoutHandle=M9(Zf.bind(null,l,t,l5,W6,iu,a,x5,Ia,Rt,Ge,r,"Throttled",-0,0),o);break e}Zf(l,t,l5,W6,iu,a,x5,Ia,Rt,Ge,r,null,-0,0)}}break}while(!0);D2(e)}function Zf(e,a,t,l,o,r,n,c,i,s,u,m,h,d){e.timeoutHandle=-1;var f=a.subtreeFlags,v=(r&335544064)===r;if(m=null,(v||f&8192||(f&16785408)===16785408)&&(m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:F2},M5=null,Ng(a,r,m),v&&(f=m,v=e.containerInfo,v=(v.nodeType===9?v:v.ownerDocument).__reactViewTransition,v!=null&&(f.count++,f.waitingForViewTransition=!0,f=Hl.bind(f),v.finished.then(f,f))),f=(r&62914560)===r?mn-_5():(r&4194048)===r?Ug-_5():0,f=zV(m,f),f!==null)){w2=r,e.cancelPendingCommit=f(ep.bind(null,e,a,r,t,l,o,n,c,i,s,u,m,null,h,d)),je(e,r,n,!s);return}ep(e,a,r,t,l,o,n,c,i,s,u,m)}function xS(e){for(var a=e;;){var t=a.tag;if((t===0||t===11||t===15)&&a.flags&16384&&(t=a.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var l=0;l<t.length;l++){var o=t[l],r=o.getSnapshot;o=o.value;try{if(!A5(r(),o))return!1}catch{return!1}}if(t=a.child,a.subtreeFlags&16384&&t!==null)t.return=a,a=t;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function je(e,a,t,l){a=Up(e,a),a&=~G6,a&=~Ia,e.suspendedLanes|=a,e.pingedLanes&=~a,l&&(e.warmLanes|=a),l=e.expirationTimes;for(var o=a;0<o;){var r=31-b5(o),n=1<<r;l[r]=-1,o&=~n}t!==0&&Gp(e,t,a)}function fn(){return(_1&6)===0?(Nl(0,!1),!1):!0}function p9(){if(s1!==null){if(V1===0)var e=s1.return;else e=s1,le=t3=null,Zu(e),gt=null,xl=0,e=s1;for(;e!==null;)xg(e.alternate,e),e=e.return;s1=null}}function Vt(e,a){var t=e.timeoutHandle;return t!==-1&&(e.timeoutHandle=-1,ES(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),w2=0,p9(),D1=e,s1=t=oe(e.current,null),d1=a,V1=0,p5=null,Ge=!1,Ot=ql(e,a),f9=!1,Rt=x5=G6=Ia=ca=a0=0,l5=dl=null,iu=!1,de=Up(e,a),ln(),t}function Wg(e,a){Z=null,X.H=N6,a===Nt||a===nn?(a=yf(),V1=3):a===Gu?(a=yf(),V1=4):V1=a===n9?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,p5=a,s1===null&&(a0=1,P6(e,D5(a,e.current)))}function Qg(){var e=B0.current;return e===null?!0:(d1&4194048)===d1?E0===null:(d1&62914560)===d1||(d1&536870912)!==0?e===E0:!1}function Xg(){var e=X.H;return X.H=N6,e===null?N6:e}function Kg(){var e=X.A;return X.A=gS,e}function Q6(){a0=4,Ge||(d1&4194048)!==d1&&B0.current!==null||(Ot=!0),(ca&134217727)===0&&(Ia&134217727)===0||D1===null||je(D1,d1,x5,!1)}function is(e,a,t){var l=_1;_1|=2;var o=Xg(),r=Kg();(D1!==e||d1!==a)&&(W6=null,Vt(e,a)),a=!1;var n=a0;e:do try{if(V1!==0&&s1!==null){var c=s1,i=p5;switch(V1){case 8:p9(),n=6;break e;case 3:case 2:case 9:case 6:B0.current===null&&(a=!0);var s=V1;if(V1=0,p5=null,ht(e,c,i,s),t&&Ot){n=0;break e}break;default:s=V1,V1=0,p5=null,ht(e,c,i,s)}}_S(),n=a0;break}catch(u){Wg(e,u)}while(!0);return a&&e.shellSuspendCounter++,le=t3=null,_1=l,X.H=o,X.A=r,s1===null&&(D1=null,d1=0,ln()),n}function _S(){for(;s1!==null;)Yg(s1)}function zS(e,a){var t=_1;_1|=2;var l=Xg(),o=Kg();D1!==e||d1!==a?(W6=null,j6=_5()+500,Vt(e,a)):Ot=ql(e,a);e:do try{if(V1!==0&&s1!==null){a=s1;var r=p5;a:switch(V1){case 1:V1=0,p5=null,ht(e,a,r,1);break;case 2:case 9:if(Af(r)){V1=0,p5=null,Jf(a);break}a=function(){V1!==2&&V1!==9||D1!==e||(V1=7),D2(e)},r.then(a,a);break e;case 3:V1=7;break e;case 4:V1=5;break e;case 7:Af(r)?(V1=0,p5=null,Jf(a)):(V1=0,p5=null,ht(e,a,r,7));break;case 5:var n=null;switch(s1.tag){case 26:n=s1.memoizedState;case 5:case 27:var c=s1;if(n?zM(n):c.stateNode.complete){V1=0,p5=null;var i=c.sibling;if(i!==null)s1=i;else{var s=c.return;s!==null?(s1=s,pn(s)):s1=null}break a}}V1=0,p5=null,ht(e,a,r,5);break;case 6:V1=0,p5=null,ht(e,a,r,6);break;case 8:p9(),a0=6;break e;default:throw Error(S(462))}}bS();break}catch(u){Wg(e,u)}while(!0);return le=t3=null,X.H=l,X.A=o,_1=t,s1!==null?0:(D1=null,d1=0,ln(),a0)}function bS(){for(;s1!==null&&!PH();)Yg(s1)}function Yg(e){var a=Mg(e.alternate,e,de);e.memoizedProps=e.pendingProps,a===null?pn(e):s1=a}function Jf(e){var a=e,t=a.alternate;switch(a.tag){case 15:case 0:a=Ef(t,a,a.pendingProps,a.type,void 0,d1);break;case 11:a=Ef(t,a,a.pendingProps,a.type.render,a.ref,d1);break;case 5:Zu(a);var l=a;l===H0&&(o1?(q6(l),l.tag===5&&l.stateNode!=null&&(E1=l.stateNode)):(q6(l),o1=!0));default:xg(t,a),a=s1=_v(a,de),a=Mg(t,a,de)}e.memoizedProps=e.pendingProps,a===null?pn(e):s1=a}function ht(e,a,t,l){le=t3=null,Zu(a),gt=null,xl=0;var o=a.return;try{if(sS(e,o,a,t,d1)){a0=1,P6(e,D5(t,e.current)),s1=null;return}}catch(r){if(o!==null)throw s1=o,r;a0=1,P6(e,D5(t,e.current)),s1=null;return}a.flags&32768?(o1||l===1?e=!0:Ot||(d1&536870912)!==0?e=!1:(Ge=e=!0,(l===2||l===9||l===3||l===6)&&(l=B0.current,l!==null&&l.tag===13&&(l.flags|=16384))),$g(a,e)):pn(a)}function pn(e){var a=e;do{if((a.flags&32768)!==0){$g(a,Ge);return}e=a.return;var t=mS(a.alternate,a,de);if(t!==null){s1=t;return}if(a=a.sibling,a!==null){s1=a;return}s1=a=e}while(a!==null);a0===0&&(a0=5)}function $g(e,a){do{var t=fS(e.alternate,e);if(t!==null){t.flags&=32767,s1=t;return}if(t=e.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!a&&(e=e.sibling,e!==null)){s1=e;return}s1=e=t}while(e!==null);a0=6,s1=null}function ep(e,a,t,l,o,r,n,c,i,s,u,m){e.cancelPendingCommit=null;do vn();while(K1!==0);if((_1&6)!==0)throw Error(S(327));if(a!==null){if(a===e.current)throw Error(S(177));e===D1&&(s1=D1=null,d1=0),$a=a,Y5=e,w2=t,uu=o,Ig=l,CS(e,a,t,n,c,i,m)}}function CS(e,a,t,l,o,r,n){var c=a.lanes|a.childLanes;if(su=c,c|=Nu,KH(e,t,c,l,o,r),zt=null,(t&335544064)===t?(bt=$R(e),l=10262):(bt=null,l=10256),(a.subtreeFlags&l)!==0||(a.flags&l)!==0?(e.callbackNode=null,e.callbackPriority=0,VS(H6,function(){return fu(),null})):(e.callbackNode=null,e.callbackPriority=0),U6=!1,l=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||l){l=X.T,X.T=null,o=z1.p,z1.p=2,r=_1,_1|=4;try{pS(e,a,t)}finally{_1=r,z1.p=o,X.T=l}}K1=1,U6?_t=QS(n,e.containerInfo,bt,du,hu,yS,mu,fu,AS,null,null):(du(),hu(),mu())}function AS(e){if(K1!==0){var a=Y5.onRecoverableError;a(e,{componentStack:null})}}function yS(){K1===3&&(K1=0,Bg($a,Y5),K1=4)}function du(){if(K1===1){K1=0;var e=Y5,a=$a,t=w2,l=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||l){l=X.T,X.T=null;var o=z1.p;z1.p=2;var r=_1;_1|=4;try{J7=I6=!1,wg(a,e,t),t=Mu;var n=hv(e.containerInfo),c=t.focusedElem,i=t.selectionRange;if(n!==c&&c&&c.ownerDocument&&dv(c.ownerDocument.documentElement,c)){if(i!==null&&Du(c)){var s=i.start,u=i.end;if(u===void 0&&(u=s),"selectionStart"in c)c.selectionStart=s,c.selectionEnd=Math.min(u,c.value.length);else{var m=c.ownerDocument||document,h=m&&m.defaultView||window;if(h.getSelection){var d=h.getSelection(),f=c.textContent.length,v=Math.min(i.start,f),x=i.end===void 0?v:Math.min(i.end,f);!d.extend&&v>x&&(n=x,x=v,v=n);var p=vf(c,v),g=vf(c,x);if(p&&g&&(d.rangeCount!==1||d.anchorNode!==p.node||d.anchorOffset!==p.offset||d.focusNode!==g.node||d.focusOffset!==g.offset)){var M=m.createRange();M.setStart(p.node,p.offset),d.removeAllRanges(),v>x?(d.addRange(M),d.extend(g.node,g.offset)):(M.setEnd(g.node,g.offset),d.addRange(M))}}}}for(m=[],d=c;d=d.parentNode;)d.nodeType===1&&m.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<m.length;c++){var _=m[c];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}wt=!!gu,Mu=gu=null}finally{_1=r,z1.p=o,X.T=l}}e.current=a,K1=2}}function hu(){if(K1===2){K1=0;var e=Y5,a=$a,t=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||t){t=X.T,X.T=null;var l=z1.p;z1.p=2;var o=_1;_1|=4;try{Sg(e,a.alternate,a)}finally{_1=o,z1.p=l,X.T=t}}K1=3}}function mu(){if(K1===4||K1===3){K1=0;var e=_t;_t=null,OH();var a=Y5,t=$a,l=w2,o=Ig,r=(l&335544064)===l?10262:10256;if((t.subtreeFlags&r)!==0||(t.flags&r)!==0?K1=5:(K1=0,$a=Y5=null,Zg(a,a.pendingLanes)),r=a.pendingLanes,r===0&&(Je=null),qu(l),t=t.stateNode,z5&&typeof z5.onCommitFiberRoot=="function")try{z5.onCommitFiberRoot(Fl,t,void 0,(t.current.flags&128)===128)}catch{}if(o!==null){t=X.T,r=z1.p,z1.p=2,X.T=null;try{for(var n=a.onRecoverableError,c=0;c<o.length;c++){var i=o[c];n(i.value,{componentStack:i.stack})}}finally{X.T=t,z1.p=r}}if(o=zt,n=bt,bt=null,o!==null&&(zt=null,n===null&&(n=[]),e!==null))for(i=0;i<o.length;i++)t=(0,o[i])(n),t!==void 0&&e.finished.finally(t);(w2&3)!==0&&vn(),D2(a),r=a.pendingLanes,(l&261930)!==0&&(r&42)!==0?a===g6?hl++:(hl=0,g6=a):(hl=0,g6=null),Nl(0,!1)}}function Zg(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Tl(a)))}function vn(){return _t!==null&&(_t.skipTransition(),_t=null),du(),hu(),mu(),fu()}function fu(){if(K1!==5)return!1;var e=Y5,a=su;su=0;var t=qu(w2),l=X.T,o=z1.p;try{z1.p=32>t?32:t,X.T=null,t=uu,uu=null;var r=Y5,n=w2;if(K1=0,$a=Y5=null,w2=0,(_1&6)!==0)throw Error(S(331));var c=_1;if(_1|=4,Og(r.current),Dg(r,r.current,n,t),_1=c,Nl(0,!1),z5&&typeof z5.onPostCommitFiberRoot=="function")try{z5.onPostCommitFiberRoot(Fl,r)}catch{}return!0}finally{z1.p=o,X.T=l,Zg(e,a)}}function ap(e,a,t){a=D5(t,a),a=Qs(e.stateNode,a,2),e=Ye(e,a,2),e!==null&&(Ll(e,2),D2(e))}function q1(e,a,t){if(e.tag===3)ap(e,e,t);else for(;a!==null;){if(a.tag===3){ap(a,e,t);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Je===null||!Je.has(l))){e=D5(t,e),t=mg(2),l=Ye(a,t,2),l!==null&&(fg(t,l,a,e),Ll(l,2),D2(l));break}}a=a.return}}function ss(e,a,t){var l=e.pingCache;if(l===null){l=e.pingCache=new MS;var o=new Set;l.set(a,o)}else o=l.get(a),o===void 0&&(o=new Set,l.set(a,o));o.has(t)||(f9=!0,o.add(t),e=HS.bind(null,e,a,t),a.then(e,e))}function HS(e,a,t){var l=e.pingCache;l!==null&&l.delete(a),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,D1===e&&(d1&t)===t&&((a0===4||a0===3&&(d1&62914560)===d1&&300>_5()-mn)&&(_1&2)===0?Vt(e,0):G6|=t,Rt===d1&&(Rt=0)),D2(e)}function Jg(e,a){a===0&&(a=Ip()),e=a3(e,a),e!==null&&(Ll(e,a),D2(e))}function RS(e){var a=e.memoizedState,t=0;a!==null&&(t=a.retryLane),Jg(e,t)}function SS(e,a){var t=0;switch(e.tag){case 31:case 13:var l=e.stateNode,o=e.memoizedState;o!==null&&(t=o.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(S(314))}l!==null&&l.delete(a),Jg(e,t)}function VS(e,a){return Vu(e,a)}var Ft=null,et=null,pu=!1,X6=!1,us=!1,We=0;function D2(e){e!==et&&e.next===null&&(et===null?Ft=et=e:et=et.next=e),X6=!0,pu||(pu=!0,qS())}function Nl(e,a){if(!us&&X6){us=!0;do for(var t=!1,l=Ft;l!==null;){if(!a)if(e!==0){var o=l.pendingLanes;if(o===0)var r=0;else{var n=l.suspendedLanes,c=l.pingedLanes;r=(1<<31-b5(42|e)+1)-1,r&=o&~(n&~c),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(t=!0,tp(l,r))}else r=d1,r=Z6(l,l===D1?r:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(r&3)===0||ql(l,r)||(t=!0,tp(l,r));l=l.next}while(t);us=!1}}function FS(){eM()}function eM(){X6=pu=!1;var e=0;We!==0&&OS()&&(e=We);for(var a=_5(),t=null,l=Ft;l!==null;){var o=l.next,r=aM(l,a);r===0?(l.next=null,t===null?Ft=o:t.next=o,o===null&&(et=t)):(t=l,(e!==0||(r&3)!==0)&&(X6=!0)),l=o}K1!==0&&K1!==5||Nl(e,!1),We!==0&&(We=0)}function aM(e,a){for(var t=e.suspendedLanes,l=e.pingedLanes,o=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var n=31-b5(r),c=1<<n,i=o[n];i===-1?((c&t)===0||(c&l)!==0)&&(o[n]=XH(c,a)):i<=a&&(e.expiredLanes|=c),r&=~c}if(a=D1,t=d1,t=Z6(e,e===a?t:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,t===0||e===a&&(V1===2||V1===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&U8(l),e.callbackNode=null,e.callbackPriority=0;if((t&3)===0||ql(e,t)){if(a=t&-t,a===e.callbackPriority)return a;switch(l!==null&&U8(l),qu(t)){case 2:case 8:t=Op;break;case 32:t=H6;break;case 268435456:t=Ep;break;default:t=H6}return l=tM.bind(null,e),t=Vu(t,l),e.callbackPriority=a,e.callbackNode=t,a}return l!==null&&l!==null&&U8(l),e.callbackPriority=2,e.callbackNode=null,2}function tM(e,a){if(K1!==0&&K1!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(vn()&&e.callbackNode!==t)return null;var l=d1;return l=Z6(e,e===D1?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(jg(e,l,a),aM(e,_5()),e.callbackNode!=null&&e.callbackNode===t?tM.bind(null,e):null)}function tp(e,a){if(vn())return null;jg(e,a,!0)}function qS(){US(function(){(_1&6)!==0?Vu(Pp,FS):eM()})}function v9(){if(We===0){var e=Qa;e===0&&(e=N4,N4<<=1,(N4&261888)===0&&(N4=256)),We=e}return We}function lp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:r6(e)}function LS(e,a,t,l,o){if(a==="submit"&&t&&t.stateNode===o){var r=lp((o[i5]||null).action),n=l.submitter;n&&(a=(a=n[i5]||null)?lp(a.formAction):n.getAttribute("formAction"),a!==null&&(r=a,n=null));var c=new en("action","action",null,l,o);e.push({event:c,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(We!==0){var i=new FormData(o,n);js(t,{pending:!0,data:i,method:o.method,action:r},null,i)}}else typeof r=="function"&&(c.preventDefault(),i=new FormData(o,n),js(t,{pending:!0,data:i,method:o.method,action:r},r,i))},currentTarget:o}]})}}for(J4=0;J4<ws.length;J4++)e6=ws[J4],op=e6.toLowerCase(),rp=e6[0].toUpperCase()+e6.slice(1),$5(op,"on"+rp);var e6,op,rp,J4;$5(fv,"onAnimationEnd");$5(pv,"onAnimationIteration");$5(vv,"onAnimationStart");$5("dblclick","onDoubleClick");$5("focusin","onFocus");$5("focusout","onBlur");$5(IR,"onTransitionRun");$5(GR,"onTransitionStart");$5(jR,"onTransitionCancel");$5(gv,"onTransitionEnd");At("onMouseEnter",["mouseout","mouseover"]);At("onMouseLeave",["mouseout","mouseover"]);At("onPointerEnter",["pointerout","pointerover"]);At("onPointerLeave",["pointerout","pointerover"]);Ja("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ja("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ja("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ja("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ja("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ja("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bl="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(" "),kS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bl));function lM(e,a){a=(a&4)!==0;for(var t=0;t<e.length;t++){var l=e[t],o=l.event;l=l.listeners;e:{var r=void 0;if(a)for(var n=l.length-1;0<=n;n--){var c=l[n],i=c.instance,s=c.currentTarget;if(c=c.listener,i!==r&&o.isPropagationStopped())break e;r=c,o.currentTarget=s;try{r(o)}catch(u){S6(u)}o.currentTarget=null,r=i}else for(n=0;n<l.length;n++){if(c=l[n],i=c.instance,s=c.currentTarget,c=c.listener,i!==r&&o.isPropagationStopped())break e;r=c,o.currentTarget=s;try{r(o)}catch(u){S6(u)}o.currentTarget=null,r=i}}}}function i1(e,a){var t=a[Zm];t===void 0&&(t=a[Zm]=new Set);var l=e+"__bubble";t.has(l)||(oM(a,e,2,!1),t.add(l))}function ds(e,a,t){var l=0;a&&(l|=4),oM(t,e,l,a)}var a6="_reactListening"+Math.random().toString(36).slice(2);function g9(e){if(!e[a6]){e[a6]=!0,Kp.forEach(function(t){t!=="selectionchange"&&(kS.has(t)||ds(t,!1,e),ds(t,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[a6]||(a[a6]=!0,ds("selectionchange",!1,a))}}function oM(e,a,t,l){switch(SM(a)){case 2:var o=yV;break;case 8:o=HV;break;default:o=A9}t=o.bind(null,a,t,e),o=void 0,!Fs||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(o=!0),l?o!==void 0?e.addEventListener(a,t,{capture:!0,passive:o}):e.addEventListener(a,t,!0):o!==void 0?e.addEventListener(a,t,{passive:o}):e.addEventListener(a,t,!1)}function hs(e,a,t,l,o){var r=l;if((a&1)===0&&(a&2)===0&&l!==null)e:for(;;){if(l===null)return;var n=l.tag;if(n===3||n===4){var c=l.stateNode.containerInfo;if(c===o)break;if(n===4)for(n=l.return;n!==null;){var i=n.tag;if((i===3||i===4)&&n.stateNode.containerInfo===o)return;n=n.return}for(;c!==null;){if(n=Da(c),n===null)return;if(i=n.tag,i===5||i===6||i===26||i===27){l=r=n;continue e}c=c.parentNode}}l=l.return}lv(function(){var s=r,u=ku(t),m=[];e:{var h=Mv.get(e);if(h!==void 0){var d=en,f=e;switch(e){case"keypress":if(c6(t)===0)break e;case"keydown":case"keyup":d=xR;break;case"focusin":f="focus",d=X8;break;case"focusout":f="blur",d=X8;break;case"beforeblur":case"afterblur":d=X8;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=nf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=cR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=AR;break;case fv:case pv:case vv:d=uR;break;case gv:d=HR;break;case"scroll":case"scrollend":d=rR;break;case"wheel":d=SR;break;case"copy":case"cut":case"paste":d=hR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=sf;break;case"submit":d=bR;break;case"toggle":case"beforetoggle":d=FR}var v=(a&4)!==0,x=!v&&(e==="scroll"||e==="scrollend"),p=v?h!==null?h+"Capture":null:h;v=[];for(var g=s,M;g!==null;){var _=g;if(M=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||M===null||p===null||(_=fl(g,p),_!=null&&v.push(Cl(g,_,M))),x)break;g=g.return}0<v.length&&(h=new d(h,f,null,t,u),m.push({event:h,listeners:v}))}}if((a&7)===0){e:{if(d=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",d&&t!==Vs&&(f=t.relatedTarget||t.fromElement)&&(Da(f)||f[Bt]))break e;(h||d)&&(f=u.window===u?u:(d=u.ownerDocument)?d.defaultView||d.parentWindow:window,h?(d=t.relatedTarget||t.toElement,h=s,d=d?Da(d):null,d!==null&&(x=Vl(d),v=d.tag,d!==x||v!==5&&v!==27&&v!==6)&&(d=null)):(h=null,d=s),h!==d&&(v=nf,_="onMouseLeave",p="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=sf,_="onPointerLeave",p="onPointerEnter",g="pointer"),x=h==null?f:$7(h),M=d==null?f:$7(d),f=new v(_,g+"leave",h,t,u),f.target=x,f.relatedTarget=M,_=null,Da(u)===s&&(v=new v(p,g+"enter",d,t,u),v.target=M,v.relatedTarget=x,_=v),x=_,v=h&&d?gs(h,d,wS):null,h!==null&&np(m,f,h,v,!1),d!==null&&x!==null&&np(m,x,d,v,!0)))}e:{if(h=s?$7(s):window,d=h.nodeName&&h.nodeName.toLowerCase(),d==="select"||d==="input"&&h.type==="file")var b=mf;else if(hf(h))if(sv)b=OR;else{b=NR;var z=DR}else d=h.nodeName,!d||d.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?s&&Lu(s.elementType)&&(b=mf):b=PR;if(b&&(b=b(e,s))){iv(m,b,t,u);break e}z&&z(e,h,s)}switch(z=s?$7(s):window,e){case"focusin":(hf(z)||z.contentEditable==="true")&&(nt=z,Ls=s,tl=null);break;case"focusout":tl=Ls=nt=null;break;case"mousedown":ks=!0;break;case"contextmenu":case"mouseup":case"dragend":ks=!1,gf(m,t,u);break;case"selectionchange":if(UR)break;case"keydown":case"keyup":gf(m,t,u)}var y;if(Bu)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else rt?nv(e,t)&&(C="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(C="onCompositionStart");C&&(rv&&t.locale!=="ko"&&(rt||C!=="onCompositionStart"?C==="onCompositionEnd"&&rt&&(y=ov()):(Ue=u,wu="value"in Ue?Ue.value:Ue.textContent,rt=!0)),z=K6(s,C),0<z.length&&(C=new cf(C,e,null,t,u),m.push({event:C,listeners:z}),y?C.data=y:(y=cv(t),y!==null&&(C.data=y)))),(y=LR?kR(e,t):wR(e,t))&&(C=K6(s,"onBeforeInput"),0<C.length&&(z=new cf("onBeforeInput","beforeinput",null,t,u),m.push({event:z,listeners:C}),z.data=y)),LS(m,e,s,t,u)}lM(m,a)})}function Cl(e,a,t){return{instance:e,listener:a,currentTarget:t}}function K6(e,a){for(var t=a+"Capture",l=[];e!==null;){var o=e,r=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||r===null||(o=fl(e,t),o!=null&&l.unshift(Cl(e,o,r)),o=fl(e,a),o!=null&&l.push(Cl(e,o,r))),e.tag===3)return l;e=e.return}return[]}function wS(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function np(e,a,t,l,o){for(var r=a._reactName,n=[];t!==null&&t!==l;){var c=t,i=c.alternate,s=c.stateNode;if(c=c.tag,i!==null&&i===l)break;c!==5&&c!==26&&c!==27||s===null||(i=s,o?(s=fl(t,r),s!=null&&n.unshift(Cl(t,s,i))):o||(s=fl(t,r),s!=null&&n.push(Cl(t,s,i)))),t=t.return}n.length!==0&&e.push({event:a,listeners:n})}var TS=/\r\n?/g,BS=/\u0000|\uFFFD/g;function cp(e){return(typeof e=="string"?e:""+e).replace(TS,`
|
|
9
|
+
`).replace(BS,"")}function rM(e,a){return a=cp(a),cp(e)===a}function F1(e,a,t,l,o,r){switch(t){case"children":if(typeof l=="string")a==="body"||a==="textarea"&&l===""||yt(e,l);else if(typeof l=="number"||typeof l=="bigint")a!=="body"&&yt(e,""+l);else return;break;case"className":E4(e,"class",l);break;case"tabIndex":E4(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":E4(e,t,l);break;case"style":tv(e,l,r);return;case"data":if(a!=="object"){E4(e,"data",l);break}case"src":case"href":if(l===""&&(a!=="a"||t!=="href")){e.removeAttribute(t);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=r6(l),e.setAttribute(t,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(t,"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 r=="function"&&(t==="formAction"?(a!=="input"&&F1(e,a,"name",o.name,o,null),F1(e,a,"formEncType",o.formEncType,o,null),F1(e,a,"formMethod",o.formMethod,o,null),F1(e,a,"formTarget",o.formTarget,o,null)):(F1(e,a,"encType",o.encType,o,null),F1(e,a,"method",o.method,o,null),F1(e,a,"target",o.target,o,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=r6(l),e.setAttribute(t,l);break;case"onClick":l!=null&&(e.onclick=F2);return;case"onScroll":l!=null&&i1("scroll",e);return;case"onScrollEnd":l!=null&&i1("scrollend",e);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(S(61));if(t=l.__html,t!=null){if(o.children!=null)throw Error(S(60));r?.__html!==t&&(e.innerHTML=t)}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}t=r6(l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,l):e.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":l===!0?e.setAttribute(t,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,l):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(t,l):e.removeAttribute(t);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(t):e.setAttribute(t,l);break;case"popover":i1("beforetoggle",e),i1("toggle",e),o6(e,"popover",l);break;case"xlinkActuate":ee(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":ee(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":ee(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":ee(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":ee(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":ee(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":ee(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":ee(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":ee(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":o6(e,"is",l);break;case"innerText":case"textContent":return;default:if(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")t=lR.get(t)||t,o6(e,t,l);else return}x1=!0}function vu(e,a,t,l,o,r){switch(t){case"style":tv(e,l,r);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(S(61));if(t=l.__html,t!=null){if(o.children!=null)throw Error(S(60));r?.__html!==t&&(e.innerHTML=t)}}break;case"children":if(typeof l=="string")yt(e,l);else if(typeof l=="number"||typeof l=="bigint")yt(e,""+l);else return;break;case"onScroll":l!=null&&i1("scroll",e);return;case"onScrollEnd":l!=null&&i1("scrollend",e);return;case"onClick":l!=null&&(e.onclick=F2);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Yp.hasOwnProperty(t))e:{if(t[0]==="o"&&t[1]==="n"&&(o=t.endsWith("Capture"),r=t.slice(2,o?t.length-7:void 0),a=e[i5]||null,a=a!=null?a[t]:null,typeof a=="function"&&e.removeEventListener(r,a,o),typeof l=="function")){typeof a!="function"&&a!==null&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(r,l,o);break e}x1=!0,t in e?e[t]=l:l===!0?e.setAttribute(t,""):o6(e,t,l)}return}x1=!0}function T0(e,a,t){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":i1("error",e),i1("load",e);var l=!1,o=!1,r;for(r in t)if(t.hasOwnProperty(r)){var n=t[r];if(n!=null)switch(r){case"src":l=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,a));default:F1(e,a,r,n,t,null)}}o&&F1(e,a,"srcSet",t.srcSet,t,null),l&&F1(e,a,"src",t.src,t,null);return;case"input":i1("invalid",e);var c=r=n=o=null,i=null,s=null;for(l in t)if(t.hasOwnProperty(l)){var u=t[l];if(u!=null)switch(l){case"name":o=u;break;case"type":n=u;break;case"checked":i=u;break;case"defaultChecked":s=u;break;case"value":r=u;break;case"defaultValue":c=u;break;case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(S(137,a));break;default:F1(e,a,l,u,t,null)}}Jp(e,r,c,i,s,n,o,!1);return;case"select":i1("invalid",e),l=n=r=null;for(o in t)if(t.hasOwnProperty(o)&&(c=t[o],c!=null))switch(o){case"value":r=c;break;case"defaultValue":n=c;break;case"multiple":l=c;default:F1(e,a,o,c,t,null)}a=r,t=n,e.multiple=!!l,a!=null?ft(e,!!l,a,!1):t!=null&&ft(e,!!l,t,!0);return;case"textarea":i1("invalid",e),r=o=l=null;for(n in t)if(t.hasOwnProperty(n)&&(c=t[n],c!=null))switch(n){case"value":l=c;break;case"defaultValue":o=c;break;case"children":r=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(S(91));break;default:F1(e,a,n,c,t,null)}av(e,l,o,r);return;case"option":for(i in t)t.hasOwnProperty(i)&&(l=t[i],l!=null)&&(i==="selected"?e.selected=l&&typeof l!="function"&&typeof l!="symbol":F1(e,a,i,l,t,null));return;case"dialog":i1("beforetoggle",e),i1("toggle",e),i1("cancel",e),i1("close",e);break;case"iframe":case"object":i1("load",e);break;case"video":case"audio":for(l=0;l<bl.length;l++)i1(bl[l],e);break;case"image":i1("error",e),i1("load",e);break;case"details":i1("toggle",e);break;case"embed":case"source":case"link":i1("error",e),i1("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in t)if(t.hasOwnProperty(s)&&(l=t[s],l!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,a));default:F1(e,a,s,l,t,null)}return;default:if(Lu(a)){for(u in t)t.hasOwnProperty(u)&&(l=t[u],l!==void 0&&vu(e,a,u,l,t,void 0));return}}for(c in t)t.hasOwnProperty(c)&&(l=t[c],l!=null&&F1(e,a,c,l,t,null))}var DS={};function NS(e,a,t,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,r=null,n=null,c=null,i=null,s=null,u=null;for(d in t){var m=t[d];if(t.hasOwnProperty(d)&&m!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":i=m;default:l.hasOwnProperty(d)||F1(e,a,d,null,l,m)}}for(var h in l){var d=l[h];if(m=t[h],l.hasOwnProperty(h)&&(d!=null||m!=null))switch(h){case"type":d!==m&&(x1=!0),r=d;break;case"name":d!==m&&(x1=!0),o=d;break;case"checked":d!==m&&(x1=!0),s=d;break;case"defaultChecked":d!==m&&(x1=!0),u=d;break;case"value":d!==m&&(x1=!0),n=d;break;case"defaultValue":d!==m&&(x1=!0),c=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(S(137,a));break;default:d!==m&&F1(e,a,h,d,l,m)}}Ss(e,n,c,i,s,u,r,o);return;case"select":d=n=c=h=null;for(r in t)if(i=t[r],t.hasOwnProperty(r)&&i!=null)switch(r){case"value":break;case"multiple":d=i;default:l.hasOwnProperty(r)||F1(e,a,r,null,l,i)}for(o in l)if(r=l[o],i=t[o],l.hasOwnProperty(o)&&(r!=null||i!=null))switch(o){case"value":r!==i&&(x1=!0),h=r;break;case"defaultValue":r!==i&&(x1=!0),c=r;break;case"multiple":r!==i&&(x1=!0),n=r;default:r!==i&&F1(e,a,o,r,l,i)}a=c,t=n,l=d,h!=null?ft(e,!!t,h,!1):!!l!=!!t&&(a!=null?ft(e,!!t,a,!0):ft(e,!!t,t?[]:"",!1));return;case"textarea":d=h=null;for(c in t)if(o=t[c],t.hasOwnProperty(c)&&o!=null&&!l.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:F1(e,a,c,null,l,o)}for(n in l)if(o=l[n],r=t[n],l.hasOwnProperty(n)&&(o!=null||r!=null))switch(n){case"value":o!==r&&(x1=!0),h=o;break;case"defaultValue":o!==r&&(x1=!0),d=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(S(91));break;default:o!==r&&F1(e,a,n,o,l,r)}ev(e,h,d);return;case"option":for(var f in t)h=t[f],t.hasOwnProperty(f)&&h!=null&&!l.hasOwnProperty(f)&&(f==="selected"?e.selected=!1:F1(e,a,f,null,l,h));for(i in l)h=l[i],d=t[i],l.hasOwnProperty(i)&&h!==d&&(h!=null||d!=null)&&(i==="selected"?(h!==d&&(x1=!0),e.selected=h&&typeof h!="function"&&typeof h!="symbol"):F1(e,a,i,h,l,d));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 v in t)h=t[v],t.hasOwnProperty(v)&&h!=null&&!l.hasOwnProperty(v)&&F1(e,a,v,null,l,h);for(s in l)if(h=l[s],d=t[s],l.hasOwnProperty(s)&&h!==d&&(h!=null||d!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(S(137,a));break;default:F1(e,a,s,h,l,d)}return;default:if(Lu(a)){for(var x in t)h=t[x],t.hasOwnProperty(x)&&h!==void 0&&!l.hasOwnProperty(x)&&vu(e,a,x,void 0,l,h);for(u in l)h=l[u],d=t[u],!l.hasOwnProperty(u)||h===d||h===void 0&&d===void 0||vu(e,a,u,h,l,d);return}}for(var p in t)h=t[p],t.hasOwnProperty(p)&&h!=null&&!l.hasOwnProperty(p)&&F1(e,a,p,null,l,h);for(m in l)h=l[m],d=t[m],!l.hasOwnProperty(m)||h===d||h==null&&d==null||F1(e,a,m,h,l,d)}function ip(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function PS(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,t=performance.getEntriesByType("resource"),l=0;l<t.length;l++){var o=t[l],r=o.transferSize,n=o.initiatorType,c=o.duration;if(r&&c&&ip(n)){for(n=0,c=o.responseEnd,l+=1;l<t.length;l++){var i=t[l],s=i.startTime;if(s>c)break;var u=i.transferSize,m=i.initiatorType;u&&ip(m)&&(i=i.responseEnd,n+=u*(i<c?1:(c-s)/(i-s)))}if(--l,a+=8*(r+n)/(o.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var gu=null,Mu=null;function Al(e){return e.nodeType===9?e:e.ownerDocument}function sp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function nM(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function cM(e,a,t,l){return t=Al(t).createElement(e),t[q0]=l,t[i5]=a,T0(t,e,a),y0(t),t}function xu(e,a){return e==="textarea"||e==="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 ms=null;function OS(){var e=window.event;return e&&e.type==="popstate"?e===ms?!1:(ms=e,!0):(ms=null,!1)}var M9=typeof setTimeout=="function"?setTimeout:void 0,ES=typeof clearTimeout=="function"?clearTimeout:void 0,up=typeof Promise=="function"?Promise:void 0,dp=typeof requestAnimationFrame=="function"?requestAnimationFrame:M9,US=typeof queueMicrotask=="function"?queueMicrotask:typeof up<"u"?function(e){return up.resolve(null).then(e).catch(IS)}:M9;function IS(e){setTimeout(function(){throw e})}function sa(e){return e==="head"}function hp(e,a){var t=a,l=0;do{var o=t.nextSibling;if(e.removeChild(t),o&&o.nodeType===8)if(t=o.data,t==="/$"||t==="/&"){if(l===0){e.removeChild(o),Tt(a);return}l--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")l++;else if(t==="html")ps(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,ps(t);for(var r=t.firstChild;r;){var n=r.nextSibling,c=r.nodeName;r[kl]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&r.rel.toLowerCase()==="stylesheet"||t.removeChild(r),r=n}}else t==="body"&&ps(e.ownerDocument.body);t=o}while(t);Tt(a)}function mp(e,a){var t=e;e=0;do{var l=t.nextSibling;if(t.nodeType===1?a?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(a?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(e===0)break;e--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||e++;t=l}while(t)}function iM(e,a,t){if(a=CSS.escape(a)!==a?"r-"+btoa(a).replace(/=/g,""):a,e.style.viewTransitionName=a,t!=null&&(e.style.viewTransitionClass=t),t=getComputedStyle(e),t.display==="inline"){if(a=e.getClientRects(),a.length===1)var l=1;else for(var o=l=0;o<a.length;o++){var r=a[o];0<r.width&&0<r.height&&l++}l===1&&(e=e.style,e.display=a.length===1?"inline-block":"block",e.marginTop="-"+t.paddingTop,e.marginBottom="-"+t.paddingBottom)}}function sM(e,a){e=e.style,a=a.style;var t=a!=null?a.hasOwnProperty("viewTransitionName")?a.viewTransitionName:a.hasOwnProperty("view-transition-name")?a["view-transition-name"]:null:null;e.viewTransitionName=t==null||typeof t=="boolean"?"":(""+t).trim(),t=a!=null?a.hasOwnProperty("viewTransitionClass")?a.viewTransitionClass:a.hasOwnProperty("view-transition-class")?a["view-transition-class"]:null:null,e.viewTransitionClass=t==null||typeof t=="boolean"?"":(""+t).trim(),e.display==="inline-block"&&(a==null?e.display=e.margin="":(t=a.display,e.display=t==null||typeof t=="boolean"?"":t,t=a.margin,t!=null?e.margin=t:(t=a.hasOwnProperty("marginTop")?a.marginTop:a["margin-top"],e.marginTop=t==null||typeof t=="boolean"?"":t,a=a.hasOwnProperty("marginBottom")?a.marginBottom:a["margin-bottom"],e.marginBottom=a==null||typeof a=="boolean"?"":a)))}function uM(e,a,t){return t=t.ownerDocument.defaultView,{rect:e,abs:a.position==="absolute"||a.position==="fixed",clip:a.clipPath!=="none"||a.overflow!=="visible"||a.filter!=="none"||a.mask!=="none"||a.mask!=="none"||a.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=t.innerHeight&&e.left<=t.innerWidth}}function _u(e){var a=e.getBoundingClientRect(),t=getComputedStyle(e);return uM(a,t,e)}function GS(e){var a=e.getBoundingClientRect();a=new DOMRect(a.x+2e4,a.y+2e4,a.width,a.height);var t=getComputedStyle(e);return uM(a,t,e)}function jS(e){return e.documentElement.clientHeight}function WS(e){this.addEventListener("load",e),this.addEventListener("error",e)}function QS(e,a,t,l,o,r,n,c,i){var s=a.nodeType===9?a:a.ownerDocument;try{var u=s.startViewTransition({update:function(){var h=s.defaultView,d=h.navigation&&h.navigation.transition,f=s.fonts.status;l();var v=[];if(f==="loaded"&&(jS(s),s.fonts.status==="loading"&&v.push(s.fonts.ready)),f=v.length,e!==null)for(var x=e.suspenseyImages,p=0,g=0;g<x.length;g++){var M=x[g];if(!M.complete){var _=M.getBoundingClientRect();if(0<_.bottom&&0<_.right&&_.top<h.innerHeight&&_.left<h.innerWidth){if(p+=bM(M),p>_6){v.length=f;break}M=new Promise(WS.bind(M)),v.push(M)}}}if(0<v.length)return h=Promise.race([Promise.all(v),new Promise(function(b){return setTimeout(b,500)})]).then(o,o),(d?Promise.allSettled([d.finished,h]):h).then(r,r);if(o(),d)return d.finished.then(r,r);r()},types:t});s.__reactViewTransition=u;var m=[];return u.ready.then(function(){for(var h=s.documentElement.getAnimations({subtree:!0}),d=0;d<h.length;d++){var f=h[d],v=f.effect,x=v.pseudoElement;if(x!=null&&x.startsWith("::view-transition")){m.push(f),f=v.getKeyframes();for(var p=x=void 0,g=!0,M=0;M<f.length;M++){var _=f[M],b=_.width;if(x===void 0)x=b;else if(x!==b){g=!1;break}if(b=_.height,p===void 0)p=b;else if(p!==b){g=!1;break}delete _.width,delete _.height,_.transform==="none"&&delete _.transform}g&&x!==void 0&&p!==void 0&&(v.setKeyframes(f),g=getComputedStyle(v.target,v.pseudoElement),g.width!==x||g.height!==p)&&(g=f[0],g.width=x,g.height=p,g=f[f.length-1],g.width=x,g.height=p,v.setKeyframes(f))}}n()},function(h){s.__reactViewTransition===u&&(s.__reactViewTransition=null);try{typeof h=="object"&&h!==null&&h.name==="InvalidStateError"&&(h.message==="View transition was skipped because document visibility state is hidden."||h.message==="Skipping view transition because document visibility state has become hidden."||h.message==="Skipping view transition because viewport size changed."||h.message==="Transition was aborted because of invalid state")&&(h=null),h!==null&&i(h)}finally{l(),o(),n()}}),u.finished.finally(function(){for(var h=0;h<m.length;h++)m[h].cancel();s.__reactViewTransition===u&&(s.__reactViewTransition=null),c()}),u}catch{return l(),o(),n(),null}}function Na(e,a){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+a+")"}Na.prototype.animate=function(e,a){return a=typeof a=="number"?{duration:a}:N1({},a),a.pseudoElement=this._selector,this._scope.animate(e,a)};Na.prototype.getAnimations=function(){for(var e=this._scope,a=this._selector,t=e.getAnimations({subtree:!0}),l=[],o=0;o<t.length;o++){var r=t[o].effect;r!==null&&r.target===e&&r.pseudoElement===a&&l.push(t[o])}return l};Na.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function dM(e){return{name:e,group:new Na("group",e),imagePair:new Na("image-pair",e),old:new Na("old",e),new:new Na("new",e)}}function y5(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}y5.prototype.addEventListener=function(e,a,t){var l=null,o=null;if(!(t!=null&&typeof t!="boolean"&&(l=t.signal||null,l!==null&&l.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var r=this._eventListeners;if(hM(r,e,a,t)===-1){var n=this,c=a;t!=null&&typeof t!="boolean"&&t.once===!0&&(c=function(i){n.removeEventListener(e,a,t),typeof a=="function"?a.call(this,i):a.handleEvent(i)}),l!==null&&(o=n.removeEventListener.bind(n,e,a,t),l.addEventListener("abort",o,{once:!0}),o=l.removeEventListener.bind(l,"abort",o)),l=qt(t),r.push({type:e,listener:a,optionsOrUseCapture:t,attachedListener:c,cleanup:o}),c5(this._fragmentFiber.child,!1,XS,e,c,l)}this._eventListeners=r}};function XS(e,a,t,l){return _0(e).addEventListener(a,t,l),!1}y5.prototype.removeEventListener=function(e,a,t){var l=this._eventListeners;if(l!==null&&(a=hM(l,e,a,t),a!==-1)){var o=l[a];t=o.attachedListener;var r=o.cleanup;o=qt(o.optionsOrUseCapture),c5(this._fragmentFiber.child,!1,KS,e,t,o),l.splice(a,1),r!==null&&r()}};function KS(e,a,t,l){return _0(e).removeEventListener(a,t,l),!1}function qt(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function fp(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function hM(e,a,t,l){if(e.length===0)return-1;l=fp(l);for(var o=0;o<e.length;o++){var r=e[o];if(r.type===a&&r.listener===t&&fp(r.optionsOrUseCapture)===l)return o}return-1}y5.prototype.dispatchEvent=function(e){var a=Za(this._fragmentFiber);if(a===null)return!0;a=_0(a);var t=this._eventListeners;if(t!==null&&0<t.length||!e.bubbles){var l=a.nodeType===9?a.createComment(""):document.createTextNode("");if(t)for(var o=0;o<t.length;o++){var r=t[o];l.addEventListener(r.type,r.attachedListener,qt(r.optionsOrUseCapture))}if(a.appendChild(l),e=l.dispatchEvent(e),t)for(o=0;o<t.length;o++)r=t[o],l.removeEventListener(r.type,r.attachedListener,qt(r.optionsOrUseCapture));return a.removeChild(l),e}return a.dispatchEvent(e)};y5.prototype.focus=function(e){c5(this._fragmentFiber.child,!0,mM,e,void 0,void 0)};function mM(e,a){return e.tag===6?!1:(e=_0(e),cV(e,a))}y5.prototype.focusLast=function(e){var a=[];c5(this._fragmentFiber.child,!0,x9,a,void 0,void 0);for(var t=a.length-1;0<=t&&!mM(a[t],e);t--);};function x9(e,a){return a.push(e),!1}y5.prototype.blur=function(){var e=Za(this._fragmentFiber);e!==null&&(e=_0(e),e=Al(e).activeElement,e!==null&&c5(this._fragmentFiber.child,!1,YS,e,void 0,void 0))};function YS(e,a){return e.tag===6?!1:(e=_0(e),e===a||e.contains(a)?(a.blur(),!0):!1)}y5.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),c5(this._fragmentFiber.child,!1,$S,e,void 0,void 0)};function $S(e,a){return e.tag===6||(e=_0(e),a.observe(e)),!1}y5.prototype.unobserveUsing=function(e){var a=this._observers;if(a!==null&&a.has(e)){a.delete(e),c5(this._fragmentFiber.child,!1,ZS,e,void 0,void 0);for(var t=a=0;t<K5.length;t++){var l=K5[t];l.fragmentInstance===this&&l.observer===e?e.unobserve(l.instance):K5[a++]=l}K5.length=a}};function ZS(e,a){return e.tag===6||(e=_0(e),a.unobserve(e)),!1}var K5=[],fs=!1;function JS(e,a,t){K5.push({fragmentInstance:e,observer:a,instance:t}),fs||(fs=!0,iV(function(){fs=!1;var l=K5;K5=[];for(var o=0;o<l.length;o++){var r=l[o];r.observer.unobserve(r.instance)}}))}y5.prototype.getClientRects=function(){var e=[];return c5(this._fragmentFiber.child,!1,eV,e,void 0,void 0),e};function eV(e,a){if(e.tag===6){e=e.stateNode;var t=e.ownerDocument.createRange();t.selectNodeContents(e),a.push.apply(a,t.getClientRects())}else e=_0(e),a.push.apply(a,e.getClientRects());return!1}y5.prototype.getRootNode=function(e){var a=Za(this._fragmentFiber);return a===null?this:_0(a).getRootNode(e)};y5.prototype.compareDocumentPosition=function(e){var a=Za(this._fragmentFiber);if(a===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var t=[];c5(this._fragmentFiber.child,!1,x9,t,void 0,void 0);var l=_0(a);if(t.length===0){if(t=l,Wm(this._fragmentFiber)){e:{for(a=this._fragmentFiber.return;a!==null;){if(a.tag===4){a=a.stateNode.containerInfo;break e}if(a.tag===3||a.tag===5||a.tag===27)break;a=a.return}a=null}a!=null&&(t=a)}a=this._fragmentFiber;var o=l=t.compareDocumentPosition(e);return t===e?o=Node.DOCUMENT_POSITION_CONTAINS:l&Node.DOCUMENT_POSITION_CONTAINED_BY&&(t=Tp(a)[1],t===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=_0(t).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}a=_0(t[0]),o=_0(t[t.length-1]);var r=Wm(this._fragmentFiber)?a.parentElement:l;if(r==null)return Node.DOCUMENT_POSITION_DISCONNECTED;l=r.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY,r=r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var n=a.compareDocumentPosition(e),c=o.compareDocumentPosition(e),i=n&Node.DOCUMENT_POSITION_CONTAINED_BY||c&Node.DOCUMENT_POSITION_CONTAINED_BY;return c=l&&r&&n&Node.DOCUMENT_POSITION_FOLLOWING&&c&Node.DOCUMENT_POSITION_PRECEDING,a=l&&a===e||r&&o===e||i||c?Node.DOCUMENT_POSITION_CONTAINED_BY:!l&&a===e||!r&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:n,a&Node.DOCUMENT_POSITION_DISCONNECTED||a&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||aV(a,this._fragmentFiber,t[0],t[t.length-1],e)?a:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function aV(e,a,t,l,o){var r=Da(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(t=!!r)e:{for(;r!==null;){if(r.tag===7&&(r===a||r.alternate===a)){t=!0;break e}r=r.return}t=!1}return t}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(r===null)return r=o.ownerDocument,o===r||o===r.documentElement||o===r.body;e:{for(r=a,a=Za(a);r!==null;){if(!(r.tag!==5&&r.tag!==3&&r.tag!==27||r!==a&&r.alternate!==a)){r=!0;break e}r=r.return}r=!1}return r}return e&Node.DOCUMENT_POSITION_PRECEDING?((a=!!r)&&!(a=r===t)&&(a=gs(t,r,Qm),a===null?a=!1:(c5(a,!0,qH,r,t),r=at,at=null,a=r!==null)),a):e&Node.DOCUMENT_POSITION_FOLLOWING?((a=!!r)&&!(a=r===l)&&(a=gs(l,r,Qm),a===null?a=!1:(c5(a,!0,LH,r,l),r=at,vs=at=null,a=r!==null)),a):!1}function pp(e,a){var t=e.ownerDocument.createRange();t.selectNodeContents(e),e=t.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,a?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}y5.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(S(566));var a=[];c5(this._fragmentFiber.child,!1,x9,a,void 0,void 0);var t=e!==!1;if(a.length===0){var l=Tp(this._fragmentFiber);if(l=t?l[1]||l[0]||Za(this._fragmentFiber):l[0]||l[1],l===null)return;if(l.tag===6){e=_0(l),pp(e,t);return}if(l=_0(l),l.nodeType!==9){if(l.nodeType===11){t="host"in l?l.host:null,t!==null&&t.scrollIntoView(e);return}l.scrollIntoView(e)}}for(l=t?a.length-1:0;l!==(t?-1:a.length);){var o=a[l];o.tag===6?(o=_0(o),pp(o,t)):_0(o).scrollIntoView(e),l+=t?-1:1}};function tV(e,a){return e=_0(e),fM(e,a),!1}function fM(e,a){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(a)}function pM(e,a){var t=a._eventListeners;if(t!==null)for(var l=0;l<t.length;l++){var o=t[l];e.addEventListener(o.type,o.attachedListener,qt(o.optionsOrUseCapture))}e.nodeType!==3&&(t=a._observers,t!==null&&t.forEach(function(r){for(var n=0,c=0;c<K5.length;c++){var i=K5[c];(i.fragmentInstance!==a||i.observer!==r||i.instance!==e)&&(K5[n++]=i)}K5.length=n,r.observe(e)}),fM(e,a))}function lV(e,a){var t=a._eventListeners;if(t!==null)for(var l=0;l<t.length;l++){var o=t[l];e.removeEventListener(o.type,o.attachedListener,qt(o.optionsOrUseCapture))}e.nodeType!==3&&(t=a._observers,t!==null&&t.forEach(function(r){typeof r.rootMargin=="string"?JS(a,r,e):r.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(a))}function zu(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var t=a;switch(a=a.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":zu(t),J6(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function oV(e,a,t,l){for(;e.nodeType===1;){var o=t;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[kl])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var r=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=P5(e.nextSibling),e===null)break}return null}function rV(e,a,t){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=P5(e.nextSibling),e===null))return null;return e}function vM(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=P5(e.nextSibling),e===null))return null;return e}function bu(e){return e.data==="$?"||e.data==="$~"}function _9(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function nV(e,a){var t=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||t.readyState!=="loading")a();else{var l=function(){a(),t.removeEventListener("DOMContentLoaded",l)};t.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function P5(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var Cu=null;function vp(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(a===0)return P5(e.nextSibling);a--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||a++}e=e.nextSibling}return null}function gp(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(a===0)return e;a--}else t!=="/$"&&t!=="/&"||a++}e=e.previousSibling}return null}function cV(e,a){function t(){l=!0}if(e.ownerDocument.activeElement===e)return!0;var l=!1;try{e.ownerDocument.addEventListener("focus",t,!0),(e.focus||HTMLElement.prototype.focus).call(e,a)}finally{e.ownerDocument.removeEventListener("focus",t,!0)}return l}function iV(e){dp(function(){dp(function(a){return e(a)})})}function gM(e,a,t){switch(a=Al(t),e){case"html":if(e=a.documentElement,!e)throw Error(S(452));return e;case"head":if(e=a.head,!e)throw Error(S(453));return e;case"body":if(e=a.body,!e)throw Error(S(454));return e;default:throw Error(S(451))}}function MM(e,a,t){for(var l in t){var o=t[l];t.hasOwnProperty(l)&&o!=null&&F1(e,a,l,null,DS,o)}t.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===F2&&(e.onclick=null),J6(e)}function ps(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);J6(e)}var O5=new Map,Mp=new Set;function yl(e){if(typeof e.getRootNode=="function"){var a=e.getRootNode();if(a.nodeType===9||a.nodeType===11)return a}return e.nodeType===9?e:e.ownerDocument}var fe=z1.d;z1.d={f:sV,r:uV,D:dV,C:hV,L:mV,m:fV,X:vV,S:pV,M:gV};function sV(){var e=fe.f(),a=fn();return e||a}function uV(e){var a=Dt(e);a!==null&&a.tag===5&&a.type==="form"?tg(a):fe.r(e)}var Et=typeof document>"u"?null:document;function xM(e,a,t){var l=Et;if(l&&typeof a=="string"&&a){var o=B5(a);o='link[rel="'+e+'"][href="'+o+'"]',typeof t=="string"&&(o+='[crossorigin="'+t+'"]'),Mp.has(o)||(Mp.add(o),e={rel:e,crossOrigin:t,href:a},l.querySelector(o)===null&&(a=l.createElement("link"),T0(a,"link",e),y0(a),l.head.appendChild(a)))}}function dV(e){fe.D(e),xM("dns-prefetch",e,null)}function hV(e,a){fe.C(e,a),xM("preconnect",e,a)}function mV(e,a,t){fe.L(e,a,t);var l=Et;if(l&&e&&a){var o='link[rel="preload"][as="'+B5(a)+'"]';a==="image"&&t&&t.imageSrcSet?(o+='[imagesrcset="'+B5(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(o+='[imagesizes="'+B5(t.imageSizes)+'"]')):o+='[href="'+B5(e)+'"]';var r=o;switch(a){case"style":r=Lt(e);break;case"script":r=Ut(e)}if(!(O5.has(r)||(e=N1({rel:"preload",href:a==="image"&&t&&t.imageSrcSet?void 0:e,as:a},t),O5.set(r,e),l.querySelector(o)!==null||a==="style"&&l.querySelector(Pl(r))||a==="script"&&l.querySelector(Ol(r))))){var n=l.createElement("link");T0(n,"link",e),a==="style"&&(n[R6]=!0,n.onload=n.onerror=function(){Xp(n)}),y0(n),l.head.appendChild(n)}}}function fV(e,a){fe.m(e,a);var t=Et;if(t&&e){var l=a&&typeof a.as=="string"?a.as:"script",o='link[rel="modulepreload"][as="'+B5(l)+'"][href="'+B5(e)+'"]',r=o;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Ut(e)}if(!O5.has(r)&&(e=N1({rel:"modulepreload",href:e},a),O5.set(r,e),t.querySelector(o)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Ol(r)))return}l=t.createElement("link"),T0(l,"link",e),y0(l),t.head.appendChild(l)}}}function pV(e,a,t){fe.S(e,a,t);var l=Et;if(l&&e){var o=mt(l).hoistableStyles,r=Lt(e);a=a||"default";var n=o.get(r);if(!n){var c={loading:0,preload:null};if(n=l.querySelector(Pl(r)))c.loading=5;else{e=N1({rel:"stylesheet",href:e,"data-precedence":a},t),(t=O5.get(r))&&z9(e,t);var i=n=l.createElement("link");y0(i),T0(i,"link",e),i._p=new Promise(function(s,u){i.onload=s,i.onerror=u}),i.addEventListener("load",function(){c.loading|=1}),i.addEventListener("error",function(){c.loading|=2}),c.loading|=4,M6(n,a,l)}n={type:"stylesheet",instance:n,count:1,state:c},o.set(r,n)}}}function vV(e,a){fe.X(e,a);var t=Et;if(t&&e){var l=mt(t).hoistableScripts,o=Ut(e),r=l.get(o);r||(r=t.querySelector(Ol(o)),r||(e=N1({src:e,async:!0},a),(a=O5.get(o))&&b9(e,a),r=t.createElement("script"),y0(r),T0(r,"link",e),t.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(o,r))}}function gV(e,a){fe.M(e,a);var t=Et;if(t&&e){var l=mt(t).hoistableScripts,o=Ut(e),r=l.get(o);r||(r=t.querySelector(Ol(o)),r||(e=N1({src:e,async:!0,type:"module"},a),(a=O5.get(o))&&b9(e,a),r=t.createElement("script"),y0(r),T0(r,"link",e),t.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(o,r))}}function xp(e,a,t,l){var o=(o=Qe.current)?yl(o):null;if(!o)throw Error(S(446));switch(e){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(t=Lt(t.href),a=mt(o).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){e=Lt(t.href);var r=mt(o).hoistableStyles,n=r.get(e);if(n||(o=o.ownerDocument||o,n={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,n),(r=o.querySelector(Pl(e)))?r._p||(n.instance=r,n.state.loading=5):(r=O5.get(e),r||(r={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},O5.set(e,r)),MV(o,e,r,n.state))),a&&l===null)throw Error(S(528,""));return n}if(a&&l!==null)throw Error(S(529,""));return null;case"script":return a=t.async,t=t.src,typeof t=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(t=Ut(t),a=mt(o).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,e))}}function Lt(e){return'href="'+B5(e)+'"'}function Pl(e){return'link[rel="stylesheet"]['+e+"]"}function _M(e){return N1({},e,{"data-precedence":e.precedence,precedence:null})}function MV(e,a,t,l){if(a=e.querySelector('link[rel="preload"][as="style"]['+a+"]")){if(a[R6]!==!0){l.loading=1;return}}else a=e.createElement("link"),a[R6]=!0,a.onload=a.onerror=Xp.bind(null,a),T0(a,"link",t),y0(a),e.head.appendChild(a);l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2})}function Ut(e){return'[src="'+B5(e)+'"]'}function Ol(e){return"script[async]"+e}function _p(e,a,t){if(a.count++,a.instance===null)switch(a.type){case"style":var l=e.querySelector('style[data-href~="'+B5(t.href)+'"]');if(l)return a.instance=l,y0(l),l;var o=N1({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),y0(l),T0(l,"style",o),M6(l,t.precedence,e),a.instance=l;case"stylesheet":o=Lt(t.href);var r=e.querySelector(Pl(o));if(r)return a.state.loading|=4,a.instance=r,y0(r),r;l=_M(t),(o=O5.get(o))&&z9(l,o),r=(e.ownerDocument||e).createElement("link"),y0(r);var n=r;return n._p=new Promise(function(c,i){n.onload=c,n.onerror=i}),T0(r,"link",l),a.state.loading|=4,M6(r,t.precedence,e),a.instance=r;case"script":return r=Ut(t.src),(o=e.querySelector(Ol(r)))?(a.instance=o,y0(o),o):(l=t,(o=O5.get(r))&&(l=N1({},t),b9(l,o)),e=e.ownerDocument||e,o=e.createElement("script"),y0(o),T0(o,"link",l),e.head.appendChild(o),a.instance=o);case"void":return null;default:throw Error(S(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,M6(l,t.precedence,e));return a.instance}function M6(e,a,t){for(var l=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=l.length?l[l.length-1]:null,r=o,n=0;n<l.length;n++){var c=l[n];if(c.dataset.precedence===a)r=c;else if(r!==o)break}r?r.parentNode.insertBefore(e,r.nextSibling):(a=t.nodeType===9?t.head:t,a.insertBefore(e,a.firstChild))}function z9(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function b9(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var x6=null;function zp(e,a,t){if(x6===null){var l=new Map,o=x6=new Map;o.set(t,l)}else o=x6,l=o.get(t),l||(l=new Map,o.set(t,l));if(l.has(e))return l;for(l.set(e,null),t=t.getElementsByTagName(e),o=0;o<t.length;o++){var r=t[o];if(!(r[kl]||r[q0]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var n=r.getAttribute(a)||"";n=e+n;var c=l.get(n);c?c.push(r):l.set(n,[r])}}return l}function Au(e,a,t){e=e.ownerDocument||e,e.head.insertBefore(t,a==="title"?e.querySelector("head > title"):null)}function xV(e,a,t){if(t===1||a.itemProp!=null)return!1;switch(e){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;return a.rel==="stylesheet"?(e=a.disabled,typeof a.precedence=="string"&&e==null):!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 bp(e,a){return e==="img"&&a.src!=null&&a.src!==""&&a.onLoad==null&&a.loading!=="lazy"}function zM(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function bM(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function Cp(e,a){typeof a.decode=="function"&&(e.imgCount++,a.complete||(e.imgBytes+=bM(a),e.suspenseyImages.push(a)),e=bV.bind(e),a.decode().then(e,e))}function _V(e,a,t,l){if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var o=Lt(l.href),r=a.querySelector(Pl(o));if(r){a=r._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Hl.bind(e),a.then(e,e)),t.state.loading|=4,t.instance=r,y0(r);return}r=a.ownerDocument||a,l=_M(l),(o=O5.get(o))&&z9(l,o),r=r.createElement("link"),y0(r);var n=r;n._p=new Promise(function(c,i){n.onload=c,n.onerror=i}),T0(r,"link",l),t.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,a),(a=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=Hl.bind(e),a.addEventListener("load",t),a.addEventListener("error",t))}}var _6=0;function zV(e,a){return e.stylesheets&&e.count===0&&z6(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var l=setTimeout(function(){if(e.stylesheets&&z6(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+a);0<e.imgBytes&&_6===0&&(_6=62500*PS());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&z6(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>_6?50:800)+a);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(o)}}:null}function CM(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)z6(e,e.stylesheets);else if(e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}}}function Hl(){this.count--,CM(this)}function bV(){this.imgCount--,CM(this)}var Y6=null;function z6(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Y6=new Map,a.forEach(CV,e),Y6=null,Hl.call(e))}function CV(e,a){if(!(a.state.loading&4)){var t=Y6.get(e);if(t)var l=t.get(null);else{t=new Map,Y6.set(e,t);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<o.length;r++){var n=o[r];(n.nodeName==="LINK"||n.getAttribute("media")!=="not all")&&(t.set(n.dataset.precedence,n),l=n)}l&&t.set(null,l)}o=a.instance,n=o.getAttribute("data-precedence"),r=t.get(n)||l,r===l&&t.set(null,o),t.set(n,o),this.count++,l=Hl.bind(this),o.addEventListener("load",l),o.addEventListener("error",l),r?r.parentNode.insertBefore(o,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),a.state.loading|=4}}var kt={$$typeof:V2,Provider:null,Consumer:null,_currentValue:Pa,_currentValue2:Pa,_threadCount:0};function AV(e,a,t,l,o,r,n,c,i){this.tag=1,this.containerInfo=e,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=I8(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=I8(0),this.hiddenUpdates=I8(null),this.identifierPrefix=l,this.onUncaughtError=o,this.onCaughtError=r,this.onRecoverableError=n,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.transitionTypes=null,this.incompleteTransitions=new Map}function AM(e,a,t,l,o,r,n,c,i,s,u,m){return e=new AV(e,a,t,n,i,s,u,m,c),a=1,r===!0&&(a|=24),r=r5(3,null,null,a),e.current=r,r.stateNode=e,a=Uu(),a.refCount++,e.pooledCache=a,a.refCount++,r.memoizedState={element:l,isDehydrated:t,cache:a},ju(r),e}function yM(e){return e?(e=st,e):st}function HM(e,a,t,l,o,r){o=yM(o),l.context===null?l.context=o:l.pendingContext=o,l=Ke(a),l.payload={element:t},r=r===void 0?null:r,r!==null&&(l.callback=r),t=Ye(e,l,a),t!==null&&(n5(t,e,a),ol(t,e,a))}function Ap(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<a?t:a}}function C9(e,a){Ap(e,a),(e=e.alternate)&&Ap(e,a)}function RM(e){if(e.tag===13||e.tag===31){var a=a3(e,67108864);a!==null&&n5(a,e,67108864),C9(e,67108864)}}function yp(e){if(e.tag===13||e.tag===31){var a=C5();a=Fu(a);var t=a3(e,a);t!==null&&n5(t,e,a),C9(e,a)}}var wt=!0;function yV(e,a,t,l){var o=X.T;X.T=null;var r=z1.p;try{z1.p=2,A9(e,a,t,l)}finally{z1.p=r,X.T=o}}function HV(e,a,t,l){var o=X.T;X.T=null;var r=z1.p;try{z1.p=8,A9(e,a,t,l)}finally{z1.p=r,X.T=o}}function A9(e,a,t,l){if(wt){var o=yu(l);if(o===null)hs(e,a,l,$6,t),Hp(e,l);else if(SV(o,e,a,t,l))l.stopPropagation();else if(Hp(e,l),a&4&&-1<RV.indexOf(e)){for(;o!==null;){var r=Dt(o);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var n=wa(r.pendingLanes);if(n!==0){var c=r;for(c.pendingLanes|=2,c.entangledLanes|=2;n;){var i=1<<31-b5(n);c.entanglements[1]|=i,n&=~i}D2(r),(_1&6)===0&&(j6=_5()+500,Nl(0,!1))}}break;case 31:case 13:c=a3(r,2),c!==null&&n5(c,r,2),fn(),C9(r,2)}if(r=yu(l),r===null&&hs(e,a,l,$6,t),r===o)break;o=r}o!==null&&l.stopPropagation()}else hs(e,a,l,null,t)}}function yu(e){return e=ku(e),y9(e)}var $6=null;function y9(e){if($6=null,e=Da(e),e!==null){var a=Vl(e);if(a===null)e=null;else{var t=a.tag;if(t===13){if(e=Lp(a),e!==null)return e;e=null}else if(t===31){if(e=kp(a),e!==null)return e;e=null}else if(t===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return $6=e,null}function SM(e){switch(e){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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(EH()){case Pp:return 2;case Op:return 8;case H6:case UH:return 32;case Ep:return 268435456;default:return 32}default:return 32}}var Hu=!1,ea=null,aa=null,ta=null,Rl=new Map,Sl=new Map,Oe=[],RV="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 Hp(e,a){switch(e){case"focusin":case"focusout":ea=null;break;case"dragenter":case"dragleave":aa=null;break;case"mouseover":case"mouseout":ta=null;break;case"pointerover":case"pointerout":Rl.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Sl.delete(a.pointerId)}}function Q7(e,a,t,l,o,r){return e===null||e.nativeEvent!==r?(e={blockedOn:a,domEventName:t,eventSystemFlags:l,nativeEvent:r,targetContainers:[o]},a!==null&&(a=Dt(a),a!==null&&RM(a)),e):(e.eventSystemFlags|=l,a=e.targetContainers,o!==null&&a.indexOf(o)===-1&&a.push(o),e)}function SV(e,a,t,l,o){switch(a){case"focusin":return ea=Q7(ea,e,a,t,l,o),!0;case"dragenter":return aa=Q7(aa,e,a,t,l,o),!0;case"mouseover":return ta=Q7(ta,e,a,t,l,o),!0;case"pointerover":var r=o.pointerId;return Rl.set(r,Q7(Rl.get(r)||null,e,a,t,l,o)),!0;case"gotpointercapture":return r=o.pointerId,Sl.set(r,Q7(Sl.get(r)||null,e,a,t,l,o)),!0}return!1}function VM(e){var a=Da(e.target);if(a!==null){var t=Vl(a);if(t!==null){if(a=t.tag,a===13){if(a=Lp(t),a!==null){e.blockedOn=a,$m(e.priority,function(){yp(t)});return}}else if(a===31){if(a=kp(t),a!==null){e.blockedOn=a,$m(e.priority,function(){yp(t)});return}}else if(a===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function b6(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var t=yu(e.nativeEvent);if(t===null){t=e.nativeEvent;var l=new t.constructor(t.type,t);Vs=l,t.target.dispatchEvent(l),Vs=null}else return a=Dt(t),a!==null&&RM(a),e.blockedOn=t,!1;a.shift()}return!0}function Rp(e,a,t){b6(e)&&t.delete(a)}function VV(){Hu=!1,ea!==null&&b6(ea)&&(ea=null),aa!==null&&b6(aa)&&(aa=null),ta!==null&&b6(ta)&&(ta=null),Rl.forEach(Rp),Sl.forEach(Rp)}function t6(e,a){e.blockedOn===a&&(e.blockedOn=null,Hu||(Hu=!0,z0.unstable_scheduleCallback(z0.unstable_NormalPriority,VV)))}var l6=null;function Sp(e){l6!==e&&(l6=e,z0.unstable_scheduleCallback(z0.unstable_NormalPriority,function(){l6===e&&(l6=null);for(var a=0;a<e.length;a+=3){var t=e[a],l=e[a+1],o=e[a+2];if(typeof l!="function"){if(y9(l||t)===null)continue;break}var r=Dt(t);r!==null&&(e.splice(a,3),a-=3,js(r,{pending:!0,data:o,method:t.method,action:l},l,o))}}))}function Tt(e){function a(i){return t6(i,e)}ea!==null&&t6(ea,e),aa!==null&&t6(aa,e),ta!==null&&t6(ta,e),Rl.forEach(a),Sl.forEach(a);for(var t=0;t<Oe.length;t++){var l=Oe[t];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Oe.length&&(t=Oe[0],t.blockedOn===null);)VM(t),t.blockedOn===null&&Oe.shift();if(t=(e.ownerDocument||e).$$reactFormReplay,t!=null)for(l=0;l<t.length;l+=3){var o=t[l],r=t[l+1],n=o[i5]||null;if(typeof r=="function")n||Sp(t);else if(n){var c=null;if(r&&r.hasAttribute("formAction")){if(o=r,n=r[i5]||null)c=n.formAction;else if(y9(o)!==null)continue}else c=n.action;typeof c=="function"?t[l+1]=c:(t.splice(l,3),l-=3),Sp(t)}}}function FM(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(n){return o=n})},focusReset:"manual",scroll:"manual"})}function a(){o!==null&&(o(),o=null),l||setTimeout(t,20)}function t(){if(!l&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(t,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),o!==null&&(o(),o=null)}}}function H9(e){this._internalRoot=e}gn.prototype.render=H9.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(S(409));var t=a.current,l=C5();HM(t,l,e,a,null,null)};gn.prototype.unmount=H9.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;HM(e.current,2,null,e,null,null),fn(),a[Bt]=null}};function gn(e){this._internalRoot=e}gn.prototype.unstable_scheduleHydration=function(e){if(e){var a=Qp();e={blockedOn:null,target:e,priority:a};for(var t=0;t<Oe.length&&a!==0&&a<Oe[t].priority;t++);Oe.splice(t,0,e),t===0&&VM(e)}};var Vp=Fp.version;if(Vp!=="19.3.1")throw Error(S(527,Vp,"19.3.1"));z1.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(S(188)):(e=Object.keys(e).join(","),Error(S(268,e)));return e=FH(a),e=e!==null?wp(e):null,e=e===null?null:e.stateNode,e};var FV={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(X7=__REACT_DEVTOOLS_GLOBAL_HOOK__,!X7.isDisabled&&X7.supportsFiber))try{Fl=X7.inject(FV),z5=X7}catch{}var X7;Mn.createRoot=function(e,a){if(!qp(e))throw Error(S(299));var t=!1,l="",o=ug,r=dg,n=hg;return a!=null&&(a.unstable_strictMode===!0&&(t=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(o=a.onUncaughtError),a.onCaughtError!==void 0&&(r=a.onCaughtError),a.onRecoverableError!==void 0&&(n=a.onRecoverableError)),a=AM(e,1,!1,null,null,t,l,null,o,r,n,FM),e[Bt]=a.current,g9(e),new H9(a)};Mn.hydrateRoot=function(e,a,t){if(!qp(e))throw Error(S(299));var l=!1,o="",r=ug,n=dg,c=hg,i=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError),t.formState!==void 0&&(i=t.formState)),a=AM(e,1,!0,a,t??null,l,o,i,r,n,c,FM),a.context=yM(null),t=a.current,l=C5(),l=Fu(l),o=Ke(l),o.callback=null,Ye(t,o,l),t=l,a.current.lanes=t,Ll(a,t),D2(a),e[Bt]=a.current,g9(e),new gn(a)};Mn.version="19.3.1"});var wM=b2((FT,kM)=>{"use strict";function LM(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(LM)}catch(e){console.error(e)}}LM(),kM.exports=qM()});var Qx=b2(Dn=>{"use strict";var KV=Symbol.for("react.transitional.element"),YV=Symbol.for("react.fragment");function Wx(e,a,t){var l=null;if(t!==void 0&&(l=""+t),a.key!==void 0&&(l=""+a.key),"key"in a){t={};for(var o in a)o!=="key"&&(t[o]=a[o])}else t=a;return a=t.ref,{$$typeof:KV,type:e,key:l,ref:a!==void 0?a:null,props:t}}Dn.Fragment=YV;Dn.jsx=Wx;Dn.jsxs=Wx});var A1=b2((vN,Xx)=>{"use strict";Xx.exports=Qx()});var G3=A(R(),1),Ky=A(wM(),1);var R9=typeof window>"u"?global:window,S9="@griffel/";function qV(e,a){return R9[Symbol.for(S9+e)]||(R9[Symbol.for(S9+e)]=a),R9[Symbol.for(S9+e)]}var El=qV("DEFINITION_LOOKUP_TABLE",{}),pe="data-make-styles-bucket",It="data-priority",Ul="data-container",Il="f";var xn=7,Gt="___",TM="_",BM=Gt.length+xn,DM=0,NM=1,PM={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},jt="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Z5(e){for(var a=0,t,l=0,o=e.length;o>=4;++l,o-=4)t=e.charCodeAt(l)&255|(e.charCodeAt(++l)&255)<<8|(e.charCodeAt(++l)&255)<<16|(e.charCodeAt(++l)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,a=(t&65535)*1540483477+((t>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(o){case 3:a^=(e.charCodeAt(l+2)&255)<<16;case 2:a^=(e.charCodeAt(l+1)&255)<<8;case 1:a^=e.charCodeAt(l)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}function V9(e){let a=e.length;if(a===xn)return e;for(let t=a;t<xn;t++)e+="0";return e}function _n(e,a,t=[]){return Gt+V9(Z5(e+a))}function F9(e,a){let t="",l="";for(let o in e){let r=e[o];if(r===0){l+=o+" ";continue}let n=Array.isArray(r),c=a==="rtl"?(n?r[1]:r)+" ":(n?r[0]:r)+" ";t+=c,l+=c}return[t.slice(0,-1),l.slice(0,-1)]}function Wt(e,a){let t={};for(let l in e){let[o,r]=F9(e[l],a);if(r===""){t[l]="";continue}let n=_n(r,a),c=n+(o===""?"":" "+o);El[n]=[e[l],a],t[l]=c}return t}var OM={};function L(){let e=null,a="",t="",l=new Array(arguments.length),o="";for(let h=0;h<arguments.length;h++){let d=arguments[h];if(typeof d=="string"&&d!==""){let f=d.indexOf(Gt);if(f===-1)a+=d+" ";else{let v=d.substr(f,BM);f>0&&(a+=d.slice(0,f)),t+=v,l[h]=v}}}if(t==="")return a.slice(0,-1);let r=OM[t];if(r!==void 0)return a+r;let n=[];for(let h=0;h<arguments.length;h++){let d=l[h];if(d){let f=El[d];f&&(n.push(f[DM]),e=f[NM])}}let c=Object.assign.apply(Object,[{}].concat(n)),[i,s]=F9(c,e),u=_n(s,e,l),m=u+" "+i;return OM[t]=m,El[u]=[c,e],a+m}function EM(e){return Array.isArray(e)?e:[e]}function q9(e,a,t,l){let o=[];if(l[pe]=a,l[It]=String(t),e)for(let n in l)e.setAttribute(n,l[n]);function r(n){return e?.sheet?e.sheet.insertRule(n,e.sheet.cssRules.length):o.push(n)}return{elementAttributes:l,insertRule:r,element:e,bucketName:a,cssRules(){return e?.sheet?Array.from(e.sheet.cssRules).map(n=>n.cssText):o}}}function UM(e){let a=Array.from(e.attributes).reduce((l,o)=>(l[o.name]=o.value,l),{});return q9(e,a[pe],Number(a[It]),a)}var LV=["r","d","l","v","w","f","i","h","a","s","k","t","m","c","x"],IM=LV.reduce((e,a,t)=>(e[a]=t,e),{});function GM(e,a,t){return e==="m"||e==="x"?e+a+t:e+t}function jM(e){var a;let t=e.getAttribute(pe),l=(a=e.getAttribute(It))!==null&&a!==void 0?a:"0",o=e.getAttribute(Ul);return GM(t,o??(e.media||"0"),l)}function WM(e,a,t,l,o={}){var r,n;let c=e==="m",i=e==="x",s=o.m,u=o.x,m=(r=o.p)!==null&&r!==void 0?r:0,h=GM(e,(n=u??s)!==null&&n!==void 0?n:"0",m);if(!l.stylesheets[h]){let d=a&&a.createElement("style"),f=q9(d,e,m,{...l.styleElementAttributes,...c&&{media:s},...i&&{[Ul]:u}});l.stylesheets[h]=f,a?.head&&d&&a.head.insertBefore(d,wV(a,t,e,l,o))}return l.stylesheets[h]}function kV(e,a,t){return e.getAttribute(pe)===a?a==="m"?t.m===e.media:a==="x"?t.x===e.getAttribute(Ul):!0:!1}function wV(e,a,t,l,o={}){var r,n,c;let i=IM[t],s=(r=o.m)!==null&&r!==void 0?r:"",u=(n=o.x)!==null&&n!==void 0?n:"",m=(c=o.p)!==null&&c!==void 0?c:0,h=p=>i-IM[p.getAttribute(pe)],d=e.head.querySelectorAll(`[${pe}]`);if(t==="m"||t==="x"){let p=e.head.querySelectorAll(`[${pe}="${t}"]`);p.length&&(d=p,h=t==="m"?g=>l.compareMediaQueries(s,g.media):g=>{var M;return l.compareContainerQueries(u,(M=g.getAttribute(Ul))!==null&&M!==void 0?M:"")})}let f=p=>kV(p,t,o)?m-Number(p.getAttribute(It)):h(p),v=d.length,x=v-1;for(;x>=0;){let p=d.item(x);if(f(p)>0)return p.nextSibling;x--}return v>0?d.item(0):a?a.nextSibling:null}var TV=["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),$T=new RegExp(`:(${TV})`);function L9(e,a){try{e.insertRule(a)}catch{}}var BV=0,DV=(e,a)=>e<a?-1:e>a?1:0;function l3(e=typeof document>"u"?void 0:document,a={}){let{classNameHashSalt:t,unstable_filterCSSRule:l,insertionPoint:o,styleElementAttributes:r,compareMediaQueries:n=DV,compareContainerQueries:c=n}=a,i={classNameHashSalt:t,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(r),compareMediaQueries:n,compareContainerQueries:c,id:`d${BV++}`,insertCSSRules(s){for(let u in s){let m=s[u];for(let h=0,d=m.length;h<d;h++){let[f,v]=EM(m[h]),x=WM(u,e,o||null,i,v);i.insertionCache[f]||(i.insertionCache[f]=u,l?l(f)&&L9(x,f):L9(x,f))}}}};return i}var Qt="-moz-",E5="-webkit-",zn="comm",ua="rule",Xt="decl";var QM="@media",XM="@import";var KM="@supports";var YM="@namespace",$M="@keyframes";var bn="@layer";var ZM=Math.abs,da=String.fromCharCode,k9=Object.assign;function JM(e,a){return f0(e,0)^45?(((a<<2^f0(e,0))<<2^f0(e,1))<<2^f0(e,2))<<2^f0(e,3):0}function Cn(e){return e.trim()}function An(e,a){return(e=a.exec(e))?e[0]:e}function U0(e,a,t){return e.replace(a,t)}function ex(e,a){return e.indexOf(a)}function f0(e,a){return e.charCodeAt(a)|0}function ve(e,a,t){return e.slice(a,t)}function I0(e){return e.length}function yn(e){return e.length}function ge(e,a){return a.push(e),e}function w9(e,a){return e.map(a).join("")}var Hn=1,Kt=1,ax=0,H5=0,Y1=0,Yt="";function Gl(e,a,t,l,o,r,n,c){return{value:e,root:a,parent:t,type:l,props:o,children:r,line:Hn,column:Kt,length:n,return:"",siblings:c}}function Rn(e,a){return k9(Gl("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},a)}function tx(){return Y1}function lx(){return Y1=H5>0?f0(Yt,--H5):0,Kt--,Y1===10&&(Kt=1,Hn--),Y1}function R5(){return Y1=H5<ax?f0(Yt,H5++):0,Kt++,Y1===10&&(Kt=1,Hn++),Y1}function Me(){return f0(Yt,H5)}function jl(){return H5}function Sn(e,a){return ve(Yt,e,a)}function o3(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 B9(e){return Hn=Kt=1,ax=I0(Yt=e),H5=0,[]}function D9(e){return Yt="",e}function Wl(e){return Cn(Sn(H5-1,T9(e===91?e+2:e===40?e+1:e)))}function ox(e){return D9(NV(B9(e)))}function rx(e){for(;(Y1=Me())&&Y1<33;)R5();return o3(e)>2||o3(Y1)>3?"":" "}function NV(e){for(;R5();)switch(o3(Y1)){case 0:ge(N9(H5-1),e);break;case 2:ge(Wl(Y1),e);break;default:ge(da(Y1),e)}return e}function nx(e,a){for(;--a&&R5()&&!(Y1<48||Y1>102||Y1>57&&Y1<65||Y1>70&&Y1<97););return Sn(e,jl()+(a<6&&Me()==32&&R5()==32))}function T9(e){for(;R5();)switch(Y1){case e:return H5;case 34:case 39:e!==34&&e!==39&&T9(Y1);break;case 40:e===41&&T9(e);break;case 92:R5();break}return H5}function cx(e,a){for(;R5()&&e+Y1!==57;)if(e+Y1===84&&Me()===47)break;return"/*"+Sn(a,H5-1)+"*"+da(e===47?e:R5())}function N9(e){for(;!o3(Me());)R5();return Sn(e,H5)}function $t(e){return D9(Vn("",null,null,null,[""],e=B9(e),0,[0],e))}function Vn(e,a,t,l,o,r,n,c,i){for(var s=0,u=0,m=n,h=0,d=0,f=0,v=1,x=1,p=1,g=0,M=0,_="",b=o,z=r,y=l,C=_;x;)switch(f=M,M=R5()){case 40:f!=108&&f0(C,m-1)==58?(g++,C+="("):C+=Wl(M);break;case 41:g--,C+=")";break;case 34:case 39:case 91:C+=Wl(M);break;case 9:case 10:case 13:case 32:if(g>0){C+=da(M);break}C+=rx(f);break;case 92:C+=nx(jl()-1,7);continue;case 47:switch(Me()){case 42:case 47:ge(PV(cx(R5(),jl()),a,t,i),i),(o3(f||1)==5||o3(Me()||1)==5)&&I0(C)&&ve(C,-1,void 0)!==" "&&(C+=" ");break;default:C+="/"}break;case 123*v:c[s++]=I0(C)*p;case 125*v:case 59:case 0:if(g>0&&M){C+=da(M);break}switch(M){case 0:case 125:x=0;case 59+u:p==-1&&(C=U0(C,/\f/g,"")),d>0&&(I0(C)-m||v===0)&&ge(d>32?sx(C+";",l,t,m-1,i):sx(U0(C," ","")+";",l,t,m-2,i),i);break;case 59:C+=";";default:if(ge(y=ix(C,a,t,s,u,o,c,_,b=[],z=[],m,r),r),M===123)if(u===0)Vn(C,a,y,y,b,r,m,c,z);else{switch(h){case 99:if(f0(C,3)===110)break;case 108:if(f0(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Vn(e,y,y,l&&ge(ix(e,y,y,0,0,o,c,_,o,b=[],m,z),z),o,z,m,c,l?b:z):Vn(C,y,y,y,[""],z,0,c,z)}}s=u=d=0,v=p=1,_=C="",m=n;break;case 58:m=1+I0(C),d=f;default:if(v<1){if(M==123)--v;else if(M==125&&v++==0&&lx()==125)continue}switch(C+=da(M),M*v){case 38:p=u>0?1:(C+="\f",-1);break;case 44:if(g>0)break;c[s++]=(I0(C)-1)*p,p=1;break;case 64:Me()===45&&(C+=Wl(R5())),h=Me(),u=m=I0(_=C+=N9(jl())),M++;break;case 45:f===45&&I0(C)==2&&(v=0)}}return r}function ix(e,a,t,l,o,r,n,c,i,s,u,m){for(var h=o-1,d=o===0?r:[""],f=yn(d),v=0,x=0,p=0;v<l;++v)for(var g=0,M=ve(e,h+1,h=ZM(x=n[v])),_=e;g<f;++g)(_=Cn(x>0?d[g]+" "+M:U0(M,/&\f/g,d[g])))&&(i[p++]=_);return Gl(e,a,t,o===0?ua:c,i,s,u,m)}function PV(e,a,t,l){return Gl(e,a,t,zn,da(tx()),ve(e,2,-2),0,l)}function sx(e,a,t,l,o){return Gl(e,a,t,Xt,ve(e,0,l),ve(e,l+1,-1),l,o)}function J5(e,a){for(var t="",l=0;l<e.length;l++)t+=a(e[l],l,e,a)||"";return t}function Zt(e,a,t,l){switch(e.type){case bn:if(e.children.length)break;case XM:case YM:case Xt:return e.return=e.return||e.value;case zn:return"";case $M:return e.return=e.value+"{"+J5(e.children,l)+"}";case ua:if(!I0(e.value=e.props.join(",")))return""}return I0(t=J5(e.children,l))?e.return=e.value+"{"+t+"}":""}function Jt(e){var a=yn(e);return function(t,l,o,r){for(var n="",c=0;c<a;c++)n+=e[c](t,l,o,r)||"";return n}}function e7(e){return function(a){a.root||(a=a.return)&&e(a)}}function ux(e,a){J5($t(e),Jt([Zt,e7(a)]))}function P9(e,a=typeof document>"u"?void 0:document){if(a){let t=a.querySelectorAll("[data-make-styles-bucket]"),l=new Set,o=0,r=(n,c)=>{e.insertionCache[n]=c};t.forEach(n=>{let c=n.dataset.makeStylesBucket,i=jM(n);e.stylesheets[i]||(e.stylesheets[i]=UM(n)),ux(n.textContent,s=>r(s,c))})}}var a7=()=>{let e={};return function(t,l){e[t.id]===void 0&&(t.insertCSSRules(l),e[t.id]=!0)}};function U9(e){return e.reduce(function(a,t){var l=t[0],o=t[1];return a[l]=o,a[o]=l,a},{})}function dx(e){return typeof e=="boolean"}function hx(e){return typeof e=="function"}function t7(e){return typeof e=="number"}function mx(e){return e===null||typeof e>"u"}function fx(e){return e&&typeof e=="object"}function px(e){return typeof e=="string"}function Ql(e,a){return e.indexOf(a)!==-1}function vx(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function l7(e,a,t,l){return a+vx(t)+l}function gx(e){var a=e.indexOf(".");if(a===-1)e=100-parseFloat(e)+"%";else{var t=e.length-a-2;e=100-parseFloat(e),e=e.toFixed(t)+"%"}return e}function I9(e){return e.replace(/ +/g," ").split(" ").map(function(a){return a.trim()}).filter(Boolean).reduce(function(a,t){var l=a.list,o=a.state,r=(t.match(/\(/g)||[]).length,n=(t.match(/\)/g)||[]).length;return o.parensDepth>0?l[l.length-1]=l[l.length-1]+" "+t:l.push(t),o.parensDepth+=r-n,{list:l,state:o}},{list:[],state:{parensDepth:0}}).list}function O9(e){var a=I9(e);if(a.length<=3||a.length>4)return e;var t=a[0],l=a[1],o=a[2],r=a[3];return[t,r,o,l].join(" ")}function Mx(e){return!dx(e)&&!mx(e)}function xx(e){for(var a=[],t=0,l=0,o=!1;l<e.length;)!o&&e[l]===","?(a.push(e.substring(t,l).trim()),l++,t=l):e[l]==="("?(o=!0,l++):(e[l]===")"&&(o=!1),l++);return t!=l&&a.push(e.substring(t,l+1)),a}var V={padding:function(a){var t=a.value;return t7(t)?t:O9(t)},textShadow:function(a){var t=a.value,l=xx(t).map(function(o){return o.replace(/(^|\s)(-*)([.|\d]+)/,function(r,n,c,i){if(i==="0")return r;var s=c===""?"-":"";return""+n+s+i})});return l.join(",")},borderColor:function(a){var t=a.value;return O9(t)},borderRadius:function(a){var t=a.value;if(t7(t))return t;if(Ql(t,"/")){var l=t.split("/"),o=l[0],r=l[1],n=V.borderRadius({value:o.trim()}),c=V.borderRadius({value:r.trim()});return n+" / "+c}var i=I9(t);switch(i.length){case 2:return i.reverse().join(" ");case 4:{var s=i[0],u=i[1],m=i[2],h=i[3];return[u,s,h,m].join(" ")}default:return t}},background:function(a){var t=a.value,l=a.valuesToConvert,o=a.isRtl,r=a.bgImgDirectionRegex,n=a.bgPosDirectionRegex;if(t7(t))return t;var c=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(c,V.backgroundPosition({value:c,valuesToConvert:l,isRtl:o,bgPosDirectionRegex:n})),V.backgroundImage({value:t,valuesToConvert:l,bgImgDirectionRegex:r})},backgroundImage:function(a){var t=a.value,l=a.valuesToConvert,o=a.bgImgDirectionRegex;return!Ql(t,"url(")&&!Ql(t,"linear-gradient(")?t:t.replace(o,function(r,n,c){return r.replace(c,l[c])})},backgroundPosition:function(a){var t=a.value,l=a.valuesToConvert,o=a.isRtl,r=a.bgPosDirectionRegex;return t.replace(o?/^((-|\d|\.)+%)/:null,function(n,c){return gx(c)}).replace(r,function(n){return l[n]})},backgroundPositionX:function(a){var t=a.value,l=a.valuesToConvert,o=a.isRtl,r=a.bgPosDirectionRegex;return t7(t)?t:V.backgroundPosition({value:t,valuesToConvert:l,isRtl:o,bgPosDirectionRegex:r})},transition:function(a){var t=a.value,l=a.propertiesToConvert;return t.split(/,\s*/g).map(function(o){var r=o.split(" ");return r[0]=l[r[0]]||r[0],r.join(" ")}).join(", ")},transitionProperty:function(a){var t=a.value,l=a.propertiesToConvert;return t.split(/,\s*/g).map(function(o){return l[o]||o}).join(", ")},transform:function(a){var t=a.value,l="[^\\u0020-\\u007e]",o="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",r="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+l+"|"+o+")")+("(?:[_a-z0-9-]|"+l+"|"+o+")")+"*")+")?")+")|(?:inherit|auto))",n=new RegExp("(translateX\\s*\\(\\s*)"+r+"(\\s*\\))","gi"),c=new RegExp("(translate\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,1}\\s*\\))","gi"),i=new RegExp("(translate3d\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,2}\\s*\\))","gi"),s=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+r+"(\\s*\\))","gi");return t.replace(n,l7).replace(c,l7).replace(i,l7).replace(s,l7)}};V.objectPosition=V.backgroundPosition;V.margin=V.padding;V.borderWidth=V.padding;V.boxShadow=V.textShadow;V.webkitBoxShadow=V.boxShadow;V.mozBoxShadow=V.boxShadow;V.WebkitBoxShadow=V.boxShadow;V.MozBoxShadow=V.boxShadow;V.borderStyle=V.borderColor;V.webkitTransform=V.transform;V.mozTransform=V.transform;V.WebkitTransform=V.transform;V.MozTransform=V.transform;V.transformOrigin=V.backgroundPosition;V.webkitTransformOrigin=V.transformOrigin;V.mozTransformOrigin=V.transformOrigin;V.WebkitTransformOrigin=V.transformOrigin;V.MozTransformOrigin=V.transformOrigin;V.webkitTransition=V.transition;V.mozTransition=V.transition;V.WebkitTransition=V.transition;V.MozTransition=V.transition;V.webkitTransitionProperty=V.transitionProperty;V.mozTransitionProperty=V.transitionProperty;V.WebkitTransitionProperty=V.transitionProperty;V.MozTransitionProperty=V.transitionProperty;V["text-shadow"]=V.textShadow;V["border-color"]=V.borderColor;V["border-radius"]=V.borderRadius;V["background-image"]=V.backgroundImage;V["background-position"]=V.backgroundPosition;V["background-position-x"]=V.backgroundPositionX;V["object-position"]=V.objectPosition;V["border-width"]=V.padding;V["box-shadow"]=V.textShadow;V["-webkit-box-shadow"]=V.textShadow;V["-moz-box-shadow"]=V.textShadow;V["border-style"]=V.borderColor;V["-webkit-transform"]=V.transform;V["-moz-transform"]=V.transform;V["transform-origin"]=V.transformOrigin;V["-webkit-transform-origin"]=V.transformOrigin;V["-moz-transform-origin"]=V.transformOrigin;V["-webkit-transition"]=V.transition;V["-moz-transition"]=V.transition;V["transition-property"]=V.transitionProperty;V["-webkit-transition-property"]=V.transitionProperty;V["-moz-transition-property"]=V.transitionProperty;var G9=U9([["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"]]),_x=["content"],E9=U9([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),OV=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),EV=new RegExp("(left)|(right)");function Fn(e){return Object.keys(e).reduce(function(a,t){var l=e[t];if(px(l)&&(l=l.trim()),Ql(_x,t))return a[t]=l,a;var o=Xl(t,l),r=o.key,n=o.value;return a[r]=n,a},Array.isArray(e)?[]:{})}function Xl(e,a){var t=/\/\*\s?@noflip\s?\*\//.test(a),l=t?e:zx(e),o=t?a:bx(l,a);return{key:l,value:o}}function zx(e){return G9[e]||e}function bx(e,a){if(!Mx(a))return a;if(fx(a))return Fn(a);var t=t7(a),l=hx(a),o=t||l?a:a.replace(/ !important.*?$/,""),r=!t&&o.length!==a.length,n=V[e],c;return n?c=n({value:o,valuesToConvert:E9,propertiesToConvert:G9,isRtl:!0,bgImgDirectionRegex:OV,bgPosDirectionRegex:EV}):c=E9[o]||o,r?c+" !important":c}var Cx=e=>{switch(e.type){case ua:if(typeof e.props=="string")return;e.props=e.props.map(a=>a.indexOf(":global(")===-1?a:ox(a).reduce((t,l,o,r)=>{if(l==="")return t;if(l===":"&&r[o+1]==="global"){let n=r[o+2].slice(1,-1)+" ";return t.unshift(n),r[o+1]="",r[o+2]="",t}return t.push(l),t},[]).join(""))}};function Ax(e,a,t){switch(JM(e,a)){case 5103:return E5+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return E5+e+e;case 4215:if(f0(e,9)===102)return E5+e+e;if(f0(e,a+1)===116)return E5+e+e;break;case 4789:return Qt+e+e;case 5349:case 4246:case 6968:return E5+e+Qt+e+e;case 6187:if(!An(e,/grab/))return U0(U0(U0(e,/(zoom-|grab)/,E5+"$1"),/(image-set)/,E5+"$1"),e,"")+e;case 5495:case 3959:return U0(e,/(image-set\([^]*)/,E5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return U0(e,/(.+)-inline(.+)/,E5+"$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(I0(e)-1-a>6)switch(f0(e,a+1)){case 102:if(f0(e,a+3)===108)return U0(e,/(.+:)(.+)-([^]+)/,"$1"+E5+"$2-$3$1"+Qt+(f0(e,a+3)==108?"$3":"$2-$3"))+e;case 115:return~ex(e,"stretch")?Ax(U0(e,"stretch","fill-available"),a,t)+e:e}break}return e}function qn(e,a,t,l){if(e.length>-1&&!e.return)switch(e.type){case Xt:e.return=Ax(e.value,e.length,t);return;case ua:if(e.length)return w9(e.props,function(o){switch(An(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return J5([Rn(e,{props:[U0(o,/:(read-\w+)/,":"+Qt+"$1")]})],l);case"::placeholder":return J5([Rn(e,{props:[U0(o,/:(plac\w+)/,":"+E5+"input-$1")]}),Rn(e,{props:[U0(o,/:(plac\w+)/,":"+Qt+"$1")]})],l)}return""})}}function yx(e){switch(e.type){case"@container":case QM:case KM:case bn:return!0}return!1}var Hx=e=>{yx(e)&&Array.isArray(e.children)&&e.children.sort((a,t)=>a.props[0]>t.props[0]?1:-1)};function UV(){}function Rx(e,a){let t=[];return J5($t(e),Jt([Cx,a?Hx:UV,qn,Zt,e7(l=>t.push(l))])),t}var IV=/[A-Z]/g,GV=/^ms-/,j9={};function jV(e){return"-"+e.toLowerCase()}function ha(e){if(Object.prototype.hasOwnProperty.call(j9,e))return j9[e];if(e.substr(0,2)==="--")return e;let a=e.replace(IV,jV);return j9[e]=GV.test(a)?"-"+a:a}function Ln(e){return e.charAt(0)==="&"?e.slice(1):e}var WV=/,( *[^ &])/g;function QV(e){return"&"+Ln(e.replace(WV,",&$1"))}function Sx(e,a){return a.reduceRight((t,l)=>`${QV(l)} { ${t} }`,e)}function W9(e,a){let{className:t,selectors:l,property:o,rtlClassName:r,rtlProperty:n,rtlValue:c,value:i}=e,{container:s,layer:u,media:m,scope:h,supports:d}=a,f=`.${t}`,v=Array.isArray(i)?`${i.map(g=>`${ha(o)}: ${g}`).join(";")};`:`${ha(o)}: ${i};`,x=Sx(v,l),p=h?`@scope (${f}) ${h} { :scope{${x}} }`:`${f}{${x}}`;if(n&&r){let g=`.${r}`,M=Array.isArray(c)?`${c.map(b=>`${ha(n)}: ${b}`).join(";")};`:`${ha(n)}: ${c};`,_=Sx(M,l);p+=h?`@scope (${g}) ${h} { :scope{${_}} }`:`${g}{${_}}`}return m&&(p=`@media ${m} { ${p} }`),u&&(p=`@layer ${u} { ${p} }`),d&&(p=`@supports ${d} { ${p} }`),s&&(p=`@container ${s} { ${p} }`),Rx(p,!0)}function Vx(e){let a="";for(let t in e){let l=e[t];if(typeof l=="string"||typeof l=="number"){a+=ha(t)+":"+l+";";continue}if(Array.isArray(l))for(let o of l)a+=ha(t)+":"+o+";"}return a}function Q9(e){let a="";for(let t in e)a+=`${t}{${Vx(e[t])}}`;return a}function X9(e,a){let t=`@keyframes ${e} {${a}}`,l=[];return J5($t(t),Jt([Zt,qn,e7(o=>l.push(o))])),l}var Fx={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function K9(e,a){if(a.media)return"m";if(a.layer||a.supports)return"t";if(a.container)return"x";if(e.length>0){let t=e[0].trim();if(t.charCodeAt(0)===58)return Fx[t.slice(4,8)]||Fx[t.slice(3,5)]||"d"}return"d"}var qx={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"]],positionTry:[-1,["positionTryFallbacks","positionTryOrder"]],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"]],textWrap:[-1,["textWrapMode","textWrapStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Y9(e,a){return e.length===0?a:`${e} and ${a}`}function Kl(e,a){return e&&a+e}function $9(e){return Kl(e.container,"c")+Kl(e.media,"m")+Kl(e.layer,"l")+Kl(e.supports,"s")+Kl(e.scope,"o")}function kn(e,a,t){let l=e+$9(t)+a,o=Z5(l),r=o.charCodeAt(0);return r>=48&&r<=57?String.fromCharCode(r+17)+o.slice(1):o}function Yl({property:e,selector:a,salt:t,value:l},o){return Il+Z5(t+a+$9(o)+e+l.trim())}function Lx(e){return e.substring(0,10)==="@container"}function kx(e){return e.substr(0,6)==="@layer"}function wx(e){return e.substr(0,6)==="@media"}var XV=/^(:|\[|>|&)/;function Tx(e){return XV.test(e)}function Bx(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Dx(e){return e===jt}function Nx(e){return e.substring(0,6)==="@scope"}function Px(e){return e.substr(0,9)==="@supports"}function wn(e){return e.replace(/>\s+/g,">")}function Tn(...e){}function Ox(e,a){Tn((()=>{let l=JSON.stringify(a,null,2),o=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${e}": ${l.split(`
|
|
10
|
+
`).map((r,n)=>" ".repeat(n===0?0:6)+r).join(`
|
|
11
|
+
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];return e.indexOf("&")===-1?(o.push("It looks that you're are using a nested selector, but it is missing an ampersand placeholder where the generated class name should be injected."),o.push(`Try to update a property to include it i.e "${e}" => "&${e}".`)):(o.push(""),o.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues")),o.join(`
|
|
12
|
+
`)})())}function Ex(e,a){Tn([`@griffel/react: You are using unsupported shorthand CSS property "${e}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${e}: "${a}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
|
|
13
|
+
`))}function Ux(e){return qx[e]}function Ix(e){var a;return(a=e?.[0])!==null&&a!==void 0?a:0}function Z9(e,a,t,l){e[a]=l?[t,l]:t}function Gx(e,a){return a.length>0?[e,Object.fromEntries(a)]:e}function J9(e,a,t,l,o,r,n){var c;let i=[];n!==0&&i.push(["p",n]),a==="m"&&o&&i.push(["m",o]),a==="x"&&r&&i.push(["x",r]),(c=e[a])!==null&&c!==void 0||(e[a]=[]),t&&e[a].push(Gx(t,i)),l&&e[a].push(Gx(l,i))}function e2(e,a="",t=[],l={container:"",layer:"",media:"",supports:"",scope:""},o={},r={},n){for(let c in e){if(PM.hasOwnProperty(c)){Ex(c,e[c]);continue}let i=e[c];if(i!=null){if(Dx(i)){let s=wn(t.join("")),u=kn(s,c,l);Z9(o,u,0,void 0);continue}if(typeof i=="string"||typeof i=="number"){let s=wn(t.join("")),u=Ux(c);if(u){let _=u[1],b=Object.fromEntries(_.map(z=>[z,jt]));e2(b,a,t,l,o,r)}let m=kn(s,c,l),h=Yl({value:i.toString(),salt:a,selector:s,property:c},l),d=n&&{key:c,value:n}||Xl(c,i),f=d.key!==c||d.value!==i,v=f?Yl({value:d.value.toString(),property:d.key,salt:a,selector:s},l):void 0,x=f?{rtlClassName:v,rtlProperty:d.key,rtlValue:d.value}:void 0,p=K9(t,l),[g,M]=W9({className:h,selectors:t,property:c,value:i,...x},l);Z9(o,m,h,v),J9(r,p,g,M,l.media,l.container,Ix(u))}else if(c==="animationName"){let s=Array.isArray(i)?i:[i],u=[],m=[];for(let h of s){let d=Q9(h),f=Q9(Fn(h)),v=Il+Z5(d),x,p=X9(v,d),g=[];d===f?x=v:(x=Il+Z5(f),g=X9(x,f));for(let M=0;M<p.length;M++)J9(r,"k",p[M],g[M],l.media,l.container,0);u.push(v),m.push(x)}e2({animationName:u.join(", ")},a,t,l,o,r,m.join(", "))}else if(Array.isArray(i)){if(i.length===0)continue;let s=wn(t.join("")),u=Ux(c);if(u){let b=u[1],z=Object.fromEntries(b.map(y=>[y,jt]));e2(z,a,t,l,o,r)}let m=kn(s,c,l),h=Yl({value:i.map(b=>(b??"").toString()).join(";"),salt:a,selector:s,property:c},l),d=i.map(b=>Xl(c,b));if(!!d.some(b=>b.key!==d[0].key))continue;let v=d[0].key!==c||d.some((b,z)=>b.value!==i[z]),x=v?Yl({value:d.map(b=>{var z;return((z=b?.value)!==null&&z!==void 0?z:"").toString()}).join(";"),salt:a,property:d[0].key,selector:s},l):void 0,p=v?{rtlClassName:x,rtlProperty:d[0].key,rtlValue:d.map(b=>b.value)}:void 0,g=K9(t,l),[M,_]=W9({className:h,selectors:t,property:c,value:i,...p},l);Z9(o,m,h,x),J9(r,g,M,_,l.media,l.container,Ix(u))}else if(Bx(i))if(Tx(c))e2(i,a,t.concat(Ln(c)),l,o,r);else if(wx(c)){let s=Y9(l.media,c.slice(6).trim());e2(i,a,t,{...l,media:s},o,r)}else if(kx(c)){let s=(l.layer?`${l.layer}.`:"")+c.slice(6).trim();e2(i,a,t,{...l,layer:s},o,r)}else if(Px(c)){let s=Y9(l.supports,c.slice(9).trim());e2(i,a,t,{...l,supports:s},o,r)}else if(Lx(c)){let s=c.slice(10).trim();e2(i,a,t,{...l,container:s},o,r)}else if(Nx(c)){if(l.scope)continue;let s=c.slice(6).trim();if(s===""||!s.startsWith("to "))continue;e2(i,a,t,{...l,scope:s},o,r)}else Ox(c,i)}}return[o,r]}function jx(e,a=""){let t={},l={};for(let o in e){let r=e[o],[n,c]=e2(r,a);t[o]=n,Object.keys(c).forEach(i=>{l[i]=(l[i]||[]).concat(c[i])})}return[t,l]}function ed(e,a=a7){let t=a(),l=null,o=null,r=null,n=null,c,i;function s(u){let{dir:m,renderer:h}=u;l===null&&([l,o]=jx(e,h.classNameHashSalt));let d=m==="ltr";return d?r===null&&(r=Wt(l,m)):n===null&&(n=Wt(l,m)),t(h,o),d?r:n}return s}function $l(e,a,t=a7){let l=t(),o=null,r=null,n;function c(i){let{dir:s,renderer:u}=i,m=s==="ltr";return m?o===null&&(o=Wt(e,s)):r===null&&(r=Wt(e,s)),l(u,a),m?o:r}return c}function ad(e,a,t,l=a7){let o=l();function r(n){let{dir:c,renderer:i}=n,s=c==="ltr"?e:a||e;return o(i,Array.isArray(t)?{r:t}:t),s}return r}function Bn(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var td=A(R(),1),ld=td.default.useInsertionEffect?td.default.useInsertionEffect:void 0;var o7=()=>{let e={};return function(t,l){if(ld&&Bn()){ld(()=>{t.insertCSSRules(l)},[t,l]);return}e[t.id]===void 0&&(t.insertCSSRules(l),e[t.id]=!0)}};var Kx=A(A1(),1);var r7=A(R(),1);var Yx=(0,r7.createContext)(l3()),Nn=({children:e,renderer:a,targetDocument:t})=>((0,r7.useMemo)(()=>{Bn()&&P9(a,t)},[a,t]),(0,Kx.jsx)(Yx.Provider,{value:a,children:e}));function a2(){return(0,r7.useContext)(Yx)}var $x=A(A1(),1),Pn=A(R(),1),Zx=(0,Pn.createContext)("ltr"),od=({children:e,dir:a})=>(0,$x.jsx)(Zx.Provider,{value:a,children:e});function n7(){return(0,Pn.useContext)(Zx)}function On(e){let a=ed(e,o7);return function(){let l=n7(),o=a2();return a({dir:l,renderer:o})}}function B(e,a){let t=$l(e,a,o7);return function(){let o=n7(),r=a2();return t({dir:o,renderer:r})}}function G(e,a,t){let l=ad(e,a,t,o7);return function(){let r=n7(),n=a2();return l({dir:r,renderer:n})}}var ZV=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\u0000-\u0020\u007F]/,JV=/[!<>{};[\]\\\u0000-\u0008\u000B\u000E-\u001F\u007F]|\/\*/,eF=/"[^"\u0000-\u001F\u007F]*"|'[^'\u0000-\u001F\u007F]*'|\([^"'()]*\)/g,aF=/["'()]/;function tF(e){return`\\${e.charCodeAt(0).toString(16).toUpperCase()} `}function lF(e){return e.replace(/\\+[<{}]?|[<{}]/g,a=>{let t=a[a.length-1];if(!"<{}".includes(t))return a;let l=a.length-1;return a.slice(0,l-l%2)+tF(t)})}function Zl(e,a){let t=lF(e);if(a){let l=Object.keys(a).reduce((o,r)=>{let n=a[r];if(!r||ZV.test(r))return o;if(typeof n!="string"&&(typeof n!="number"||!Number.isFinite(n)))return o;let c=String(n);return JV.test(c)||aF.test(c.replace(eF,""))?o:`${o}--${r}: ${c}; `},"");return`${t} { ${l} }`}return`${t} {}`}var sb=A(R(),1);var w={};rH(w,{always:()=>e_,optional:()=>oF,resolveShorthand:()=>a_});var Jx=A(R(),1);var xe=Symbol.for("fui.slotRenderFunction"),S5=Symbol.for("fui.slotElementType"),c7=Symbol.for("fui.slotClassNameProp");function e_(e,a){let{defaultProps:t,elementType:l}=a,o=a_(e),r={...t,...o,[S5]:l,[c7]:o?.className||t?.className};return o&&typeof o.children=="function"&&(r[xe]=o.children,r.children=t?.children),r}function oF(e,a){if(!(e===null||e===void 0&&!a.renderByDefault))return e_(e,a)}function a_(e){return typeof e=="string"||typeof e=="number"||rF(e)||Jx.isValidElement(e)?{children:e}:e}var rF=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;var t_=A(R(),1);function En(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!t_.isValidElement(e)}function Jl(e){return!!e?.hasOwnProperty(S5)}var I1=(...e)=>{let a={};for(let t of e){let l=Array.isArray(t)?t:Object.keys(t);for(let o of l)a[o]=1}return a},nF=I1(["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"]),cF=I1(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),iF=I1(["itemID","itemProp","itemRef","itemScope","itemType"]),n0=I1(cF,nF,iF),l_=I1(n0,["form"]),rd=I1(n0,["height","loop","muted","preload","src","width"]),o_=I1(rd,["poster"]),r_=I1(n0,["start"]),n_=I1(n0,["value"]),c_=I1(n0,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),i_=I1(n0,["dateTime"]),eo=I1(n0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),s_=I1(eo,["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"]),u_=I1(eo,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),d_=I1(eo,["form","multiple","required"]),h_=I1(n0,["selected","value"]),m_=I1(n0,["cellPadding","cellSpacing"]),f_=n0,p_=I1(n0,["colSpan","rowSpan","scope"]),v_=I1(n0,["colSpan","headers","rowSpan","scope"]),g_=I1(n0,["span"]),M_=I1(n0,["span"]),x_=I1(n0,["disabled","form"]),__=I1(n0,["acceptCharset","action","encType","encType","method","noValidate","target"]),z_=I1(n0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),b_=I1(n0,["alt","crossOrigin","height","loading","src","srcSet","useMap","width"]),C_=I1(n0,["open","onCancel","onClose"]);function A_(e,a,t){let l=Array.isArray(a),o={},r=Object.keys(e);for(let n of r){let c=!l&&Object.prototype.hasOwnProperty.call(a,n)||l&&a.indexOf(n)>=0||n.indexOf("data-")===0||n.indexOf("aria-")===0;n!=="__proto__"&&c&&(!t||t?.indexOf(n)===-1)&&(o[n]=e[n])}return o}var y_={label:l_,audio:rd,video:o_,ol:r_,li:n_,a:c_,button:eo,input:s_,textarea:u_,select:d_,option:h_,table:m_,tr:f_,th:p_,td:v_,colGroup:g_,col:M_,fieldset:x_,form:__,iframe:z_,img:b_,time:i_,dialog:C_};function ao(e,a,t){let l=e&&Object.prototype.hasOwnProperty.call(y_,e)?y_[e]:n0;return l.as=1,A_(a,l,t)}var U5=({primarySlotTagName:e,props:a,excludedPropNames:t})=>({root:{style:a.style,className:a.className},primary:ao(e,a,[...t||[],"style","className"])});var n1=(e,a,t)=>{var l;return ao((l=a.as)!==null&&l!==void 0?l:e,a,t)};var r3=A(R(),1);function H_(e,a){let t=r3.useRef(void 0),l=r3.useCallback((r,n)=>(t.current!==void 0&&a(t.current),t.current=e(r,n),t.current),[a,e]),o=r3.useCallback(()=>{t.current!==void 0&&(a(t.current),t.current=void 0)},[a]);return r3.useEffect(()=>o,[o]),[l,o]}var R_=A(R(),1),i7=R_.createContext(void 0),to=i7.Provider;var Un=A(R(),1),S_=Un.createContext(void 0),sF="",lo=S_.Provider;function oo(){var e;return(e=Un.useContext(S_))!==null&&e!==void 0?e:sF}var In=A(R(),1),V_=In.createContext(void 0),uF={},ro=V_.Provider;function no(){var e;return(e=In.useContext(V_))!==null&&e!==void 0?e:uF}var Gn=A(R(),1),F_=Gn.createContext(void 0),dF={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},co=F_.Provider;function r1(){var e;return(e=Gn.useContext(F_))!==null&&e!==void 0?e:dF}var jn=A(R(),1),nd=jn.createContext(void 0),Wn=nd.Provider;function ma(){var e;return(e=jn.useContext(nd))!==null&&e!==void 0?e:{}}var Qn=A(R(),1),n3=Qn.createContext(void 0),hF=()=>{},io=n3.Provider,j=e=>{var a,t;return(t=(a=Qn.useContext(n3))===null||a===void 0?void 0:a[e])!==null&&t!==void 0?t:hF};var Xn=A(R(),1),q_=Xn.createContext(void 0),mF=q_.Provider;function cd(){return Xn.useContext(q_)}var Kn=A(R(),1),L_=Kn.createContext(void 0),id=L_.Provider;function so(){var e;return(e=Kn.useContext(L_))!==null&&e!==void 0?e:{announce:()=>{}}}var fF=e=>(e(0),0),pF=e=>e;function uo(){let{targetDocument:e}=r1(),a=e?.defaultView,t=a?a.requestAnimationFrame:fF,l=a?a.cancelAnimationFrame:pF;return H_(t,l)}var _e=A(R(),1);function vF(e){return typeof e=="function"}var G0=e=>{"use no memo";let[a,t]=_e.useState(()=>e.defaultState===void 0?e.initialState:gF(e.defaultState)?e.defaultState():e.defaultState),l=_e.useRef(e.state);_e.useEffect(()=>{l.current=e.state},[e.state]);let o=_e.useCallback(r=>{vF(r)&&r(l.current)},[]);return MF(e.state)?[e.state,o]:[a,t]};function gF(e){return typeof e=="function"}var MF=e=>{let[a]=_e.useState(()=>e!==void 0);return a};var ec=A(R(),1);var Jn=A(R(),1);function N2(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var ze=A(R(),1);var Yn={current:0},k_=ze.createContext(void 0);function $n(){var e;return(e=ze.useContext(k_))!==null&&e!==void 0?e:Yn}function Zn(){let e=$n()!==Yn,[a,t]=ze.useState(e);return N2()&&e&&ze.useLayoutEffect(()=>{t(!1)},[]),a}var u1=N2()?Jn.useLayoutEffect:Jn.useEffect;var J=e=>{let a=ec.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return u1(()=>{a.current=e},[e]),ec.useCallback((...t)=>{let l=a.current;return l(...t)},[a])};var ac=A(R(),1);function tc(){let e=ac.useRef(!0);return ac.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}var w_=A(R(),1);function lc(){return w_.useReducer(e=>e+1,0)[1]}var be=A(R(),1);var T_=be.createContext(void 0),B_=T_.Provider;function _F(){return be.useContext(T_)||""}function p0(e="fui-",a){let t=$n(),l=_F(),o=be.useId;if(o){let r=o(),n=be.useMemo(()=>r.replace(/:/g,""),[r]);return a||`${l}${e}${n}`}return be.useMemo(()=>a||`${l}${e}${++t.current}`,[l,e,a,t])}var D_=A(R(),1);function W1(...e){let a=D_.useCallback(t=>{a.current=t;for(let l of e)typeof l=="function"?l(t):l&&(l.current=t)},[...e]);return a}var N_=A(R(),1),bF=parseInt(N_.version,10)>=19;function fa(e){if(e)return bF?e.props.ref:e.ref}function c0(e,a){return(...t)=>{e?.(...t),a?.(...t)}}function R0(e,a){var t;let l=e;var o;return!!(!(l==null||(t=l.ownerDocument)===null||t===void 0)&&t.defaultView&&l instanceof l.ownerDocument.defaultView[(o=a?.constructorName)!==null&&o!==void 0?o:"HTMLElement"])}var c3=A(R(),1);function ho(e){return!!e.type.isFluentTriggerComponent}function s7(e,a){return typeof e=="function"?e(a):e?P_(e,a):e||null}function P_(e,a){if(!c3.isValidElement(e)||e.type===c3.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(ho(e)){let t=P_(e.props.children,a);return c3.cloneElement(e,void 0,t)}else return c3.cloneElement(e,a)}var O_=A(R(),1);function i3(e){return O_.isValidElement(e)?ho(e)?i3(e.props.children):e:null}function E_(e){return e&&!!e._virtual}function CF(e){return E_(e)&&e._virtual.parent||null}function oc(e,a={}){if(!e)return null;if(!a.skipVirtual){let l=CF(e);if(l)return l}let t=e.parentNode;return t&&t.nodeType===11?t.host:t}function mo(e,a){e&&Object.assign(e,{_virtual:{parent:a}})}function U_(e,a){return{...a,[S5]:e}}function sd(e,a){return function(l,o,r,n,c){return Jl(o)?a(U_(l,o),null,r,n,c):Jl(l)?a(l,o,r,n,c):e(l,o,r,n,c)}}var I_=A(R(),1);function rc(e){let{as:a,[c7]:t,[S5]:l,[xe]:o,...r}=e,n=r,c=typeof l=="string"?a??l:l;return typeof c!="string"&&a&&(n.as=a),{elementType:c,props:n,renderFunction:o}}var yF=A(A1(),1),P2=yF;var G_=(e,a,t)=>{let{elementType:l,renderFunction:o,props:r}=rc(e),n={...r,...a};return o?P2.jsx(I_.Fragment,{children:o(l,n)},t):P2.jsx(l,n,t)};var ud=A(R(),1);var j_=(e,a,t)=>{let{elementType:l,renderFunction:o,props:r}=rc(e),n={...r,...a};return o?P2.jsx(ud.Fragment,{children:o(l,{...n,children:P2.jsxs(ud.Fragment,{children:n.children},void 0)})},t):P2.jsxs(l,n,t)};var fo=A(R(),1),F=sd(P2.jsx,G_),b1=sd(P2.jsxs,j_);var nc=A(R(),1),W_=nc.createContext(void 0),HF={},dd=W_.Provider,hd=()=>{let e=nc.useContext(W_);return e??HF};var po=(e,a)=>F(co,{value:a.provider,children:F(to,{value:a.theme,children:F(lo,{value:a.themeClassName,children:F(io,{value:a.customStyleHooks_unstable,children:F(ro,{value:a.tooltip,children:F(od,{dir:a.textDirection,children:F(dd,{value:a.iconDirection,children:F(Wn,{value:a.overrides_unstable,children:b1(e.root,{children:[N2()?null:F("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var s5="data-tabster",Q_="data-tabster-dummy",cc=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,pa={EscapeGroupper:1,Restorer:2,Deloser:3};var O2={Invisible:0,PartiallyVisible:1,Visible:2},va={Source:0,Target:1},V5={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},t0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8};var X_={Auto:0,Inside:1,Outside:2};function $1(e,a){return e.storageEntry(a)?.tabster}function ic(e,a,t){let l=t||e._noop?void 0:a.getAttribute(s5),o=e.storageEntry(a),r;if(l)if(l!==o?.attr?.string)try{let s=JSON.parse(l);if(typeof s!="object")throw new Error(`Value is not a JSON object, got '${l}'.`);r={string:l,object:s}}catch{}else return;else if(!o)return;o||(o=e.storageEntry(a,!0)),o.tabster||(o.tabster={});let n=o.tabster||{},c=o.attr?.object||{},i=r?.object||{};for(let s of Object.keys(c))if(!i[s]){if(s==="root"){let u=n[s];u&&e.root.onRoot(u,!0)}switch(s){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let u=n[s];u&&(u.dispose(),delete n[s]);break;case"observed":delete n[s],e.observedElement&&e.observedElement.onObservedElementUpdate(a);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete n[s];break}}for(let s of Object.keys(i)){let u=i.sys;switch(s){case"root":n.root?n.root.setProps(i.root):n.root=e.root.createRoot(a,i.root,u),e.root.onRoot(n.root);break;case"focusable":n.focusable=i.focusable;break;case"observed":e.observedElement&&(n.observed=i.observed,e.observedElement.onObservedElementUpdate(a));break;case"uncontrolled":n.uncontrolled=i.uncontrolled;break;case"outline":e.outline&&(n.outline=i.outline);break;case"sys":n.sys=i.sys;break;default:{let m=e.attrHandlers.get(s);m&&(n[s]=m(a,n[s],i[s],c?.[s],u))}}}r?o.attr=r:(Object.keys(n).length===0&&(delete o.tabster,delete o.attr),e.storageEntry(a,!1))}var E2=(e,a,t)=>{e.addEventListener(a,t,!0)},I5=(e,a,t)=>{e.removeEventListener(a,t,!0)};var b0="keyborg:focusin",s3="keyborg:focusout";function u5(e){let a=e.focus;a.__keyborgNativeFocus?a.__keyborgNativeFocus.call(e):e.focus()}function RF(e){let a=e,t=a.document,l=a.HTMLElement.prototype,o=Object.getOwnPropertyDescriptor(l,"focus");if(o?.value?.__keyborgNativeFocus)return;u.__keyborgNativeFocus=m,u.__keyborgFocusDescriptor=o,Object.defineProperty(l,"focus",{configurable:o?.configurable??!0,enumerable:o?.enumerable??!1,writable:!0,value:u});let r=new Set,n=d=>{let f=d.target;if(!f)return;let v=new CustomEvent(s3,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:d}});f.dispatchEvent(v)},c=d=>{let f=d.target;if(!f)return;let v=d.composedPath()[0],x=new Set;for(;v;)v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(x.add(v),v=v.host):v=v.parentNode;for(let p of r){let g=p.deref();(!g||!x.has(g))&&(r.delete(p),g&&(I5(g,"focusin",c),I5(g,"focusout",n)))}i(f,d.relatedTarget||void 0)},i=(d,f,v)=>{let x=d.shadowRoot;if(x){for(let M of r)if(M.deref()===x)return;E2(x,"focusin",c),E2(x,"focusout",n),r.add(new WeakRef(x));return}let p={relatedTarget:f,originalEvent:v},g=new CustomEvent(b0,{cancelable:!0,bubbles:!0,composed:!0,detail:p});p.isFocusedProgrammatically=d===s[3]?.deref(),s[3]=void 0,d.dispatchEvent(g)},s=[c,n,r];a.__keyborgData=s,E2(t,"focusin",c),E2(t,"focusout",n);function u(){let d=a.__keyborgData;return d&&(d[3]=new WeakRef(this)),m.apply(this,arguments)}function m(){let d=o?.get?o.get.call(this):o?.value;if(typeof d!="function")throw new TypeError("HTMLElement.prototype.focus is not callable");return d.apply(this,arguments)}let h=t.activeElement;for(;h&&h.shadowRoot;)i(h),h=h.shadowRoot.activeElement}function SF(e){let a=e,t=a.HTMLElement.prototype,l=Object.getOwnPropertyDescriptor(t,"focus")?.value,o=l?.__keyborgFocusDescriptor,r=a.__keyborgData;if(r){let n=a.document;I5(n,"focusin",r[0]),I5(n,"focusout",r[1]);for(let c of r[2]){let i=c.deref();i&&(I5(i,"focusin",r[0]),I5(i,"focusout",r[1]))}r[2].clear(),delete a.__keyborgData}l?.__keyborgNativeFocus&&(o?Object.defineProperty(t,"focus",o):delete t.focus)}var VF=0;function FF(e){let a=e,t=!1,l,o=()=>{let d=a?.__keyborg?.refs;if(d)for(let f of Object.keys(d))d[f]._cb.forEach(v=>v(t))},r=d=>{t!==d&&(t=d,o())},n=d=>{if(d.key==="Tab")return!0;let f=a?.document.activeElement;return!(f&&(f.tagName==="INPUT"||f.tagName==="TEXTAREA"||f.isContentEditable))},c=d=>{if(l||t)return;let f=d.detail;f.relatedTarget&&(f.isFocusedProgrammatically||f.isFocusedProgrammatically===void 0||r(!0))},i=()=>{a&&(l&&a.clearTimeout(l),l=a.setTimeout(()=>{l=void 0},1e3)),r(!1)},s=d=>{d.buttons===0||d.clientX===0&&d.clientY===0&&d.screenX===0&&d.screenY===0||i()},u=d=>{!t&&n(d)&&r(!0)},m=e.document;return E2(m,b0,c),E2(m,"mousedown",s),E2(e,"keydown",u),E2(m,"touchstart",i),E2(m,"touchend",i),E2(m,"touchcancel",i),RF(e),{dispose:()=>{if(!a)return;l&&(a.clearTimeout(l),l=void 0),SF(a);let d=a.document;I5(d,b0,c),I5(d,"mousedown",s),I5(a,"keydown",u),I5(d,"touchstart",i),I5(d,"touchend",i),I5(d,"touchcancel",i),a=void 0},get isNavigatingWithKeyboard(){return t},set isNavigatingWithKeyboard(d){r(d)}}}function ga(e){let a=e,t="k"+ ++VF,l=a,o,r=[],n=a.__keyborg;n?o=n.core:o=FF(a);let c={isNavigatingWithKeyboard(){return!!o?.isNavigatingWithKeyboard},subscribe(i){r.push(i)},unsubscribe(i){let s=r.indexOf(i);s>=0&&r.splice(s,1)},setVal(i){o&&(o.isNavigatingWithKeyboard=i)},_cb:r,dispose(){let i=l?.__keyborg;i?.refs[t]&&(delete i.refs[t],Object.keys(i.refs).length===0&&(i.core.dispose(),delete l.__keyborg)),r.length=0,o=void 0,l=void 0}};return n?n.refs[t]=c:a.__keyborg={core:o,refs:{[t]:c}},c}function Ma(e){e.dispose()}var qF="tabster:focusin",LF="tabster:focusout",kF="tabster:movefocus";var wF="tabster:modalizer:active",TF="tabster:modalizer:inactive";var BF="tabster:mover:state",md="tabster:mover:movefocus",fd="tabster:mover:memorized-element";var pc="tabster:restorer:restore-focus",DF="tabster:root:focus",NF="tabster:root:blur",PF=typeof CustomEvent<"u"?CustomEvent:function(){},t2=class extends PF{constructor(a,t){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}},sc=class extends t2{constructor(a){super(qF,a)}},uc=class extends t2{constructor(a){super(LF,a)}},l2=class extends t2{constructor(a){super(kF,a)}},vo=class extends t2{constructor(a){super(BF,a)}};var dc=class extends t2{constructor(a){super(wF,a)}},hc=class extends t2{constructor(a){super(TF,a)}};var go=class extends t2{constructor(){super(pc)}},mc=class extends t2{constructor(a){super(DF,a)}},fc=class extends t2{constructor(a){super(NF,a)}};var OF=e=>new MutationObserver(e),EF=(e,a,t,l)=>e.createTreeWalker(a,t,l),UF=e=>e?e.parentNode:null,IF=e=>e?e.parentElement:null,GF=(e,a)=>!!(a&&e?.contains(a)),jF=e=>e.activeElement,WF=(e,a)=>e.querySelector(a),QF=(e,a)=>Array.prototype.slice.call(e.querySelectorAll(a),0),XF=(e,a)=>e.getElementById(a),KF=e=>e?.firstChild||null,YF=e=>e?.lastChild||null,$F=e=>e?.nextSibling||null,ZF=e=>e?.previousSibling||null,JF=e=>e?.firstElementChild||null,eq=e=>e?.lastElementChild||null,aq=e=>e?.nextElementSibling||null,tq=e=>e?.previousElementSibling||null,lq=(e,a)=>e.appendChild(a),oq=(e,a,t)=>e.insertBefore(a,t),rq=e=>e.ownerDocument?.getSelection()||null,nq=(e,a)=>e.ownerDocument.getElementsByName(a),q={createMutationObserver:OF,createTreeWalker:EF,getParentNode:UF,getParentElement:IF,nodeContains:GF,getActiveElement:jF,querySelector:WF,querySelectorAll:QF,getElementById:XF,getFirstChild:KF,getLastChild:YF,getNextSibling:$F,getPreviousSibling:ZF,getFirstElementChild:JF,getLastElementChild:eq,getNextElementSibling:aq,getPreviousElementSibling:tq,appendChild:lq,insertBefore:oq,getSelection:rq,getElementsByName:nq};function K_(e){for(let a of Object.keys(e))q[a]=e[a]}var cq=0;function Mo(e){let a=e();return a.__tabsterInstanceContext??={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0}}function Y_(e){let a=e,t=a.__tabsterInstanceContext;t&&(t.elementByUId={},t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),delete a.__tabsterInstanceContext)}function $_(e){return!!e.querySelector(cc)}var v0=class{constructor(a,t){this._ref=new WeakRef(a),this._data=t}get(){let a=this._ref,t;return a&&(t=a.deref(),t||delete this._ref),t}getData(){return this._data}};function u3(e,a,t){if(a.nodeType===Node.ELEMENT_NODE)return q.createTreeWalker(e,a,NodeFilter.SHOW_ELEMENT,{acceptNode:t})}function Z_(e,a){let t=a.__tabsterCacheId,l=Mo(e),o=t?l.containerBoundingRectCache[t]:void 0;if(o)return o.rect;let r=a.ownerDocument&&a.ownerDocument.documentElement;if(!r)return new DOMRect;let n=0,c=0,i=r.clientWidth,s=r.clientHeight;if(a!==r){let m=a.getBoundingClientRect();n=Math.max(n,m.left),c=Math.max(c,m.top),i=Math.min(i,m.right),s=Math.min(s,m.bottom)}let u=new DOMRect(n<i?n:-1,c<s?c:-1,n<i?i-n:0,c<s?s-c:0);return t||(t="r-"+ ++l.lastContainerBoundingRectCacheId,a.__tabsterCacheId=t),l.containerBoundingRectCache[t]={rect:u,element:a},l.containerBoundingRectCacheTimer||(l.containerBoundingRectCacheTimer=window.setTimeout(()=>{l.containerBoundingRectCacheTimer=void 0;for(let m of Object.keys(l.containerBoundingRectCache))delete l.containerBoundingRectCache[m].element.__tabsterCacheId;l.containerBoundingRectCache={}},50)),u}function pd(e,a,t){let l=ez(a);if(!l)return!1;let o=Z_(e,l),r=a.getBoundingClientRect(),n=r.height*(1-t),c=Math.max(0,o.top-r.top),i=Math.max(0,r.bottom-o.bottom),s=c+i;return s===0||s<=n}function J_(e,a,t){let l=ez(a);if(l){let o=Z_(e,l),r=a.getBoundingClientRect();t?l.scrollTop+=r.top-o.top:l.scrollTop+=r.bottom-o.bottom}}function ez(e){let a=e.ownerDocument;if(a){for(let t=q.getParentElement(e);t;t=q.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return a.documentElement}return null}function az(e){e.__shouldIgnoreFocus=!0}function gc(e){return!!e.__shouldIgnoreFocus}function iq(e){let a=new Uint32Array(4);return e.crypto.getRandomValues(a),Array.from(a,t=>t.toString(36)).join("")+"|"+(++cq).toString(36)+"|"+Date.now().toString(36)}function u7(e,a){let t=Mo(e),l=a.__tabsterElementUID??=iq(e());return!t.elementByUId[l]&&gd(a.ownerDocument,a)&&(t.elementByUId[l]=new v0(a)),l}function vd(e,a){let t=Mo(e).elementByUId;for(let l of Object.keys(t)){let o=t[l]?.get();a&&o&&!q.nodeContains(a,o)||delete t[l]}}function gd(e,a){return q.nodeContains(e?.body,a)}function Mc(e,a){return typeof e.matches=="function"&&e.matches(a)}var sq=0,U2=class{constructor(a,t,l){this._tabster=a,this._element=new v0(t),this._props={...l},this.id="i"+ ++sq}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}};function xc(e){let a=null;for(let t=q.getLastElementChild(e);t;t=q.getLastElementChild(t))a=t;return a||void 0}function _c(e,a,t,l){let o=e.storageEntry(a,!0),r=!1;if(!o.aug){if(l===void 0)return r;o.aug={}}if(l===void 0){if(t in o.aug){let n=o.aug[t];delete o.aug[t],n===null?a.removeAttribute(t):a.setAttribute(t,n),r=!0}}else{let n;t in o.aug||(n=a.getAttribute(t)),n!==void 0&&n!==l&&(o.aug[t]=n,l===null?a.removeAttribute(t):a.setAttribute(t,l),r=!0)}return l===void 0&&Object.keys(o.aug).length===0&&(delete o.aug,e.storageEntry(a,!1)),r}function tz(e){let a=e.ownerDocument,t=a.defaultView?.getComputedStyle(e);return e.offsetParent===null&&a.body!==e&&t?.position!=="fixed"||t?.visibility==="hidden"||t?.position==="fixed"&&(t.display==="none"||e.parentElement?.offsetParent===null&&a.body!==e.parentElement)}function vc(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function lz(e){if(!vc(e))return;let a=e.name,t=[],l;for(let o of q.getElementsByName(e,a))if(vc(o)){let r=o;t.push(r),r.checked&&(l=r)}return{name:a,buttons:new Set(t),checked:l}}function l0(e,a,t,l){e?.addEventListener(a,t,l)}function Z1(e,a,t,l){e?.removeEventListener(a,t,l)}function i0(e,a){return!!e&&e.dispatchEvent(a)}var Md=100,d7=class{constructor(a,t,l,o,r){this._focusIn=s=>{if(this._fixedTarget){let m=this._fixedTarget.get();m&&u5(m);return}let u=this.input;if(this.onFocusIn&&u){let m=s.relatedTarget;this.onFocusIn(this,this._isBackward(!0,u,m),m)}},this._focusOut=s=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let u=this.input;if(this.onFocusOut&&u){let m=s.relatedTarget;this.onFocusOut(this,this._isBackward(!1,u,m),m)}};let n=a(),c=n.document.createElement("i");c.tabIndex=0,c.setAttribute("role","none"),c.setAttribute(Q_,""),c.setAttribute("aria-hidden","true");let i=c.style;i.position="fixed",i.width=i.height="1px",i.opacity="0.001",i.zIndex="-1",i.setProperty("content-visibility","hidden"),az(c),this.input=c,this.isFirst=l.isFirst,this.isOutside=t,this._isPhantom=l.isPhantom??!1,this._fixedTarget=r,l0(c,"focusin",this._focusIn),l0(c,"focusout",this._focusOut),c.__tabsterDummyContainer=o,this._isPhantom&&(this._disposeTimer=n.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(n.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){this._clearDisposeTimeout&&this._clearDisposeTimeout();let a=this.input;a&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,Z1(a,"focusin",this._focusIn),Z1(a,"focusout",this._focusOut),delete a.__tabsterDummyContainer,q.getParentNode(a)?.removeChild(a))}setTopLeft(a,t){let l=this.input?.style;l&&(l.top=`${a}px`,l.left=`${t}px`)}_isBackward(a,t,l){return a&&!l?!this.isFirst:!!(l&&t.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING)}},h7={Root:1,Modalizer:2,Mover:3,Groupper:4},o2=class{constructor(a,t,l,o,r,n){this._element=t,this._instance=new xd(a,t,this,l,o,r,n)}_setHandlers(a,t){this._onFocusIn=a,this._onFocusOut=t}moveOut(a){this._instance?.moveOut(a)}moveOutWithDefaultAction(a,t){this._instance?.moveOutWithDefaultAction(a,t)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){this._instance?.setTabbable(this,a)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,t,l,o,r){let c=new d7(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(c){let i,s;if(t.tagName==="BODY")i=t,s=l&&o||!l&&!o?q.getFirstElementChild(t):null;else{l&&(!o||o&&!a.focusable.isFocusable(t,!1,!0,!0))?(i=t,s=o?t.firstElementChild:null):(i=q.getParentElement(t),s=l&&o||!l&&!o?t:q.getNextElementSibling(t));let u,m;do u=l&&o||!l&&!o?q.getPreviousElementSibling(s):s,m=xa(u),m===t?s=l&&o||!l&&!o?u:q.getNextElementSibling(u):m=null;while(m)}i&&i0(i,new l2({by:"root",owner:i,next:null,relatedEvent:r}))&&(q.insertBefore(i,c,s),u5(c))}}static addPhantomDummyWithTarget(a,t,l,o){let n=new d7(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new v0(o)).input;if(n){let c,i;$_(t)&&!l?(c=t,i=q.getFirstElementChild(t)):(c=q.getParentElement(t),i=l?t:q.getNextElementSibling(t)),c&&q.insertBefore(c,n,i)}}};var zc=class{constructor(a){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=t=>{this._changedParents.has(t)||(this._changedParents.add(t),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=this._win?.().setTimeout(()=>{delete this._updateDummyInputsTimer;for(let l of this._dummyElements){let o=l.get();if(o){let r=this._dummyCallbacks.get(o);if(r){let n=q.getParentNode(o);(!n||this._changedParents.has(n))&&r()}}}this._changedParents=new WeakSet},Md)))},this._win=a}add(a,t){!this._dummyCallbacks.has(a)&&this._win&&(this._dummyElements.push(new v0(a)),this._dummyCallbacks.set(a,t),this.domChanged=this._domChanged)}remove(a){this._dummyElements=this._dummyElements.filter(t=>{let l=t.get();return l&&l!==a}),this._dummyCallbacks.delete(a),this._dummyElements.length===0&&delete this.domChanged}dispose(){let a=this._win?.();this._updateTimer&&(a?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(a?.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(a){this._win&&(this._updateQueue.add(a),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){this._updateTimer||(this._updateTimer=this._win?.().setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Md<=Date.now()){let a=new Map,t=[];for(let l of this._updateQueue)t.push(l(a));this._updateQueue.clear();for(let l of t)l();a.clear()}else this._scheduledUpdatePositions()},Md))}},xd=class{constructor(a,t,l,o,r,n,c){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(d,f,v)=>{this._onFocus(!0,d,f,v)},this._onFocusOut=(d,f,v)=>{this._onFocus(!1,d,f,v)},this.moveOut=d=>{let f=this._firstDummy,v=this._lastDummy;if(f&&v){this._ensurePosition();let x=f.input,p=v.input,g=this._element?.get();if(x&&p&&g){let M;d?(x.tabIndex=0,M=x):(p.tabIndex=0,M=p),M&&u5(M)}}},this.moveOutWithDefaultAction=(d,f)=>{let v=this._firstDummy,x=this._lastDummy;if(v&&x){this._ensurePosition();let p=v.input,g=x.input,M=this._element?.get();if(p&&g&&M){let _;d?!v.isOutside&&this._tabster.focusable.isFocusable(M,!0,!0,!0)?_=M:(v.useDefaultAction=!0,p.tabIndex=0,_=p):(x.useDefaultAction=!0,g.tabIndex=0,_=g),_&&i0(M,new l2({by:"root",owner:M,next:null,relatedEvent:f}))&&u5(_)}}},this.setTabbable=(d,f)=>{for(let x of this._wrappers)if(x.manager===d){x.tabbable=f;break}let v=this._getCurrent();if(v){let x=v.tabbable?0:-1,p=this._firstDummy?.input;p&&(p.tabIndex=x),p=this._lastDummy?.input,p&&(p.tabIndex=x)}},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=d=>{let f=this._firstDummy?.input||this._lastDummy?.input,v=this._transformElements,x=new Set,p=0,g=0,M=this._getWindow();for(let _=f;_&&_.nodeType===Node.ELEMENT_NODE;_=q.getParentElement(_)){let b=d.get(_);if(b===void 0){let z=M.getComputedStyle(_).transform;z&&z!=="none"&&(b={scrollTop:_.scrollTop,scrollLeft:_.scrollLeft}),d.set(_,b||null)}b&&(x.add(_),v.has(_)||l0(_,"scroll",this._addTransformOffsets),p+=b.scrollTop,g+=b.scrollLeft)}for(let _ of v)x.has(_)||Z1(_,"scroll",this._addTransformOffsets);return this._transformElements=x,()=>{this._firstDummy?.setTopLeft(p,g),this._lastDummy?.setTopLeft(p,g)}};let i=t.get();if(!i)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=c;let s=i.__tabsterDummy;if((s||this)._wrappers.push({manager:l,priority:o,tabbable:!0}),s)return s;i.__tabsterDummy=this;let u=r?.dummyInputsPosition,m=i.tagName;this._isOutside=u?u===X_.Outside:(n||m==="UL"||m==="OL"||m==="TABLE")&&!(m==="LI"||m==="TD"||m==="TH"),this._firstDummy=new d7(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new d7(this._getWindow,this._isOutside,{isFirst:!1},t);let h=this._firstDummy.input;h&&a._dummyObserver.add(h,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(a,t){if((this._wrappers=this._wrappers.filter(o=>o.manager!==a&&!t)).length===0){delete(this._element?.get()).__tabsterDummy;for(let n of this._transformElements)Z1(n,"scroll",this._addTransformOffsets);this._transformElements.clear();let o=this._getWindow();this._addTimer&&(o.clearTimeout(this._addTimer),delete this._addTimer);let r=this._firstDummy?.input;r&&this._tabster._dummyObserver.remove(r),this._firstDummy?.dispose(),this._lastDummy?.dispose()}}_onFocus(a,t,l,o){let r=this._getCurrent();r&&(!t.useDefaultAction||this._callForDefaultAction)&&r.manager.getHandler(a)?.(t,l,o)}_getCurrent(){return this._wrappers.sort((a,t)=>a.tabbable!==t.tabbable?a.tabbable?-1:1:a.priority-t.priority),this._wrappers[0]}_ensurePosition(){let a=this._element?.get(),t=this._firstDummy?.input,l=this._lastDummy?.input;if(!(!a||!t||!l))if(this._isOutside){let o=q.getParentNode(a);if(o){let r=q.getNextSibling(a);r!==l&&q.insertBefore(o,l,r),q.getPreviousElementSibling(a)!==t&&q.insertBefore(o,t,a)}}else{q.getLastElementChild(a)!==l&&q.appendChild(a,l);let o=q.getFirstElementChild(a);o&&o!==t&&o.parentNode&&q.insertBefore(o.parentNode,t,o)}}};function xa(e){return e?.__tabsterDummyContainer?.get()||null}function _d(e,a){let t=JSON.stringify(e);return a===!0?t:{[s5]:t}}function uq(e,a){for(let t of Object.keys(a)){let l=a[t];l?e[t]=l:delete e[t]}}function oz(e,a,t){let l;if(t){let o=e.getAttribute(s5);if(o)try{l=JSON.parse(o)}catch{}}l||(l={}),uq(l,a),Object.keys(l).length>0?e.setAttribute(s5,_d(l,!0)):e.removeAttribute(s5)}var bc=class extends o2{constructor(a,t,l,o){super(a,t,h7.Root,o,void 0,!0),this._onDummyInputFocus=r=>{if(r.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let n=this._element.get();if(n){this._setFocused(!0);let c=this._tabster.focusedElement.getFirstOrLastTabbable(r.isFirst,{container:n,ignoreAccessibility:!0});if(c){u5(c);return}}r.input?.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=l}},zd=class extends U2{constructor(a,t,l,o,r){super(a,t,o),this._isFocused=!1,this._setFocused=s=>{if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===s)return;let u=this._element.get();u&&(s?(this._isFocused=!0,this._dummyManager?.setTabbable(!1),i0(u,new mc({element:u}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{delete this._setFocusedTimer,this._isFocused=!1,this._dummyManager?.setTabbable(!0),i0(u,new fc({element:u}))},0))},this._onFocusIn=s=>{let u=this._tabster.getParent,m=this._element.get(),h=s.composedPath()[0];do{if(h===m){this._setFocused(!0);return}h=h&&u(h)}while(h)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=l;let n=a.getWindow;this.uid=u7(n,t),this._sys=r,(a.controlTab||a.rootDummyInputs)&&this.addDummyInputs();let i=n().document;l0(i,b0,this._onFocusIn),l0(i,s3,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new bc(this._tabster,this._element,this._setFocused,this._sys))}dispose(){this._onDispose(this);let a=this._tabster.getWindow(),t=a.document;Z1(t,b0,this._onFocusIn),Z1(t,s3,this._onFocusOut),this._setFocusedTimer&&(a.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._dummyManager?.dispose(),this._remove()}moveOutWithDefaultAction(a,t){let l=this._dummyManager;if(l)l.moveOutWithDefaultAction(a,t);else{let o=this.getElement();o&&bc.moveWithPhantomDummy(this._tabster,o,!0,a,t)}}_add(){}_remove(){}};var y1=class{constructor(a,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{let l=this._win().document,o=l.body;if(o){this._autoRootUnwait(l);let r=this._autoRoot;if(r)return oz(o,{root:r},!0),ic(this._tabster,o),$1(this._tabster,o)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,l0(l,"readystatechange",this._autoRootCreate))},this._onRootDispose=l=>{delete this._roots[l.id]},this._tabster=a,this._win=a.getWindow,this._autoRoot=t,a.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(a){Z1(a,"readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){let a=this._win();this._autoRootUnwait(a.document),delete this._autoRoot,Object.keys(this._roots).forEach(t=>{this._roots[t]&&(this._roots[t].dispose(),delete this._roots[t])}),this.rootById={}}createRoot(a,t,l){let o=new zd(this._tabster,a,this._onRootDispose,t,l);return this._roots[o.id]=o,this._forceDummy&&o.addDummyInputs(),o}addDummyInputs(){this._forceDummy=!0;let a=this._roots;for(let t of Object.keys(a))a[t].addDummyInputs()}static getRootByUId(a,t){let l=a().__tabsterInstance;return l&&l.root.rootById[t]}static getTabsterContext(a,t,l={}){if(!t.ownerDocument)return;let{checkRtl:o,referenceElement:r}=l,n=a.getParent;a.drainInitQueue();let c,i,s,u,m=!1,h,d,f,v,x=r||t,p={};for(;x&&(!c||o);){let M=$1(a,x);if(o&&f===void 0){let C=x.dir;C&&(f=C.toLowerCase()==="rtl")}if(!M){x=n(x);continue}let _=x.tagName;(M.uncontrolled||_==="IFRAME"||_==="WEBVIEW")&&a.focusable.isVisible(x)&&(v=x),!u&&M.focusable?.excludeFromMover&&!s&&(m=!0);let b=M.modalizer,z=M.groupper,y=M.mover;!i&&b&&(i=b),!s&&z&&(!i||b)&&(i?(!z.isActive()&&z.getProps().tabbability&&i.userId!==a.modalizer?.activeId&&(i=void 0,s=z),d=z):s=z),!u&&y&&(!i||b)&&(!z||x!==t)&&x.contains(t)&&(u=y,h=!!s&&s!==z),M.root&&(c=M.root),M.focusable?.ignoreKeydown&&Object.assign(p,M.focusable.ignoreKeydown),x=n(x)}if(!c){let M=a.root;M._autoRoot&&t.ownerDocument?.body&&(c=M._autoRootCreate())}return s&&!u&&(h=!0),c?{root:c,modalizer:i,groupper:s,mover:u,groupperBeforeMover:h,modalizerInGroupper:d,rtl:o?!!f:void 0,uncontrolled:v,excludedFromMover:m,ignoreKeydown:M=>!!p[M.key]}:void 0}static getRoot(a,t){let l=a.getParent;for(let o=t;o;o=l(o)){let r=$1(a,o)?.root;if(r)return r}}onRoot(a,t){t?delete this.rootById[a.uid]:this.rootById[a.uid]=a}};var Cc=class{constructor(a){this._tabster=a}dispose(){}getProps(a){let t=$1(this._tabster,a);return t&&t.focusable||{}}isFocusable(a,t,l,o){return Mc(a,cc)&&(t||a.tabIndex!==-1)?(l||this.isVisible(a))&&(o||this.isAccessible(a)):!1}isVisible(a){if(!a.ownerDocument||a.nodeType!==Node.ELEMENT_NODE||tz(a))return!1;let t=a.ownerDocument.body.getBoundingClientRect();return!(t.width===0&&t.height===0)}isAccessible(a){for(let t=a;t;t=q.getParentElement(t)){let l=$1(this._tabster,t);if(this._isHidden(t)||!l?.focusable?.ignoreAriaDisabled&&this._isDisabled(t))return!1}return!0}_isDisabled(a){return a.hasAttribute("disabled")}_isHidden(a){let t=a.getAttribute("aria-hidden");return!!(t&&t.toLowerCase()==="true"&&!this._tabster.modalizer?.isAugmented(a))}findFirst(a,t){return this.findElement({...a},t)}findLast(a,t){return this.findElement({isBackward:!0,...a},t)}findNext(a,t){return this.findElement({...a},t)}findPrev(a,t){return this.findElement({...a,isBackward:!0},t)}findDefault(a,t){return this.findElement({...a,acceptCondition:l=>this.isFocusable(l,a.includeProgrammaticallyFocusable)&&!!this.getProps(l).isDefault},t)||null}findAll(a){return this._findElements(!0,a)||[]}findElement(a,t){let l=this._findElements(!1,a,t);return l&&l[0]}_findElements(a,t,l){let{container:o,currentElement:r=null,includeProgrammaticallyFocusable:n,useActiveModalizer:c,ignoreAccessibility:i,modalizerId:s,isBackward:u,onElement:m}=t;l||(l={});let h=[],{acceptCondition:d}=t,f=!!d;if(!o)return null;d||(d=g=>this.isFocusable(g,n,!1,i));let v={container:o,modalizerUserId:s===void 0&&c?this._tabster.modalizer?.activeId:s||y1.getTabsterContext(this._tabster,o)?.modalizer?.userId,from:r||o,isBackward:u,isFindAll:a,acceptCondition:d,hasCustomCondition:f,includeProgrammaticallyFocusable:n,ignoreAccessibility:i,cachedGrouppers:{},cachedRadioGroups:{}},x=u3(o.ownerDocument,o,g=>this._acceptElement(g,v));if(!x)return null;let p=g=>{let M=v.foundElement??v.foundBackward;return M&&h.push(M),a?M&&(v.found=!1,delete v.foundElement,delete v.foundBackward,delete v.fromCtx,v.from=M,m&&!m(M))?!1:!!(M||g):(M&&l&&(l.uncontrolled=y1.getTabsterContext(this._tabster,M)?.uncontrolled),!!(g&&!M))};if(r||(l.outOfDOMOrder=!0),r&&q.nodeContains(o,r))x.currentNode=r;else if(u){let g=xc(o);if(!g)return null;if(this._acceptElement(g,v)===NodeFilter.FILTER_ACCEPT&&!p(!0))return v.skippedFocusable&&(l.outOfDOMOrder=!0),h;x.currentNode=g}do u?x.previousNode():x.nextNode();while(p());return v.skippedFocusable&&(l.outOfDOMOrder=!0),h.length?h:null}_acceptElement(a,t){if(t.found)return NodeFilter.FILTER_ACCEPT;let l=t.foundBackward;if(l&&(a===l||!q.nodeContains(l,a)))return t.found=!0,t.foundElement=l,NodeFilter.FILTER_ACCEPT;let o=t.container;if(a===o)return NodeFilter.FILTER_SKIP;if(!q.nodeContains(o,a)||xa(a)||q.nodeContains(t.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let r=t.currentCtx=y1.getTabsterContext(this._tabster,a);if(!r)return NodeFilter.FILTER_SKIP;if(gc(a))return this.isFocusable(a,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(a.tagName==="IFRAME"||a.tagName==="WEBVIEW"))return this.isVisible(a)&&r.modalizer?.userId===this._tabster.modalizer?.activeId?(t.found=!0,t.rejectElementsFrom=t.foundElement=a,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(a))return this.isFocusable(a,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let n,c=t.fromCtx;c||(c=t.fromCtx=y1.getTabsterContext(this._tabster,t.from));let i=c?.mover,s=r.groupper,u=r.mover;if(n=this._tabster.modalizer?.acceptElement(a,t),n!==void 0&&(t.skippedFocusable=!0),n===void 0&&(s||u||i)){let m=s?.getElement(),h=i?.getElement(),d=u?.getElement();if(d&&q.nodeContains(h,d)&&q.nodeContains(o,h)&&(!m||!u||q.nodeContains(h,m))&&(u=i,d=h),m){if(m===o||!q.nodeContains(o,m))s=void 0;else if(!q.nodeContains(m,a))return NodeFilter.FILTER_REJECT}if(d){if(!q.nodeContains(o,d))u=void 0;else if(!q.nodeContains(d,a))return NodeFilter.FILTER_REJECT}s&&u&&(d&&m&&!q.nodeContains(m,d)?u=void 0:s=void 0),s&&(n=s.acceptElement(a,t)),u&&(n=u.acceptElement(a,t))}if(n===void 0&&(n=t.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,n===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0)&&(t.skippedFocusable=!0)),n===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&vc(a)&&!a.checked){let m=a.name,h=t.cachedRadioGroups[m];if(h||(h=lz(a),h&&(t.cachedRadioGroups[m]=h)),h?.checked&&h.checked!==a)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=a,n=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=a)}return n}};var s0={Tab:"Tab",Enter:"Enter",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};var m7=class{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(a){let t=this._callbacks;t.indexOf(a)<0&&t.push(a)}subscribeFirst(a){let t=this._callbacks,l=t.indexOf(a);l>=0&&t.splice(l,1),t.unshift(a)}unsubscribe(a){let t=this._callbacks.indexOf(a);t>=0&&this._callbacks.splice(t,1)}setVal(a,t){this._val!==a&&(this._val=a,this._callCallbacks(a,t))}getVal(){return this._val}trigger(a,t){this._callCallbacks(a,t)}_callCallbacks(a,t){this._callbacks.forEach(l=>l(a,t))}};function dq(e,a){let t=e.getParent,l=a;do{let o=$1(e,l)?.uncontrolled;if(o&&e.uncontrolled.isUncontrolledCompletely(l,!!o.completely))return l;l=t(l)}while(l)}var rz={[pa.Restorer]:0,[pa.Deloser]:1,[pa.EscapeGroupper]:2},I2=class e extends m7{static{this.isTabbing=!1}constructor(a,t){super(),this._init=()=>{let l=this._win(),o=l.document;l0(o,b0,this._onFocusIn,!0),l0(o,s3,this._onFocusOut,!0),l0(l,"keydown",this._onKeyDown,!0);let r=q.getActiveElement(o);r&&r!==o.body&&this._setFocusedElement(r),this.subscribe(this._onChanged)},this._onFocusIn=l=>{let o=l.composedPath()[0];o&&this._setFocusedElement(o,l.detail.relatedTarget,l.detail.isFocusedProgrammatically)},this._onFocusOut=l=>{this._setFocusedElement(void 0,l.detail?.originalEvent.relatedTarget)},this._validateFocusedElement=l=>{},this._onKeyDown=l=>{if(l.key!==s0.Tab||l.ctrlKey)return;let o=this.getVal();if(!o||!o.ownerDocument||o.contentEditable==="true")return;let r=this._tabster,n=r.controlTab,c=y1.getTabsterContext(r,o);if(!c||c.ignoreKeydown(l))return;let i=l.shiftKey,s=e.findNextTabbable(r,c,void 0,o,void 0,i,!0),u=c.root.getElement();if(!u)return;let m=s?.element,h=dq(r,o);if(m){let d=s.uncontrolled;if(c.uncontrolled||q.nodeContains(d,o)){if(!s.outOfDOMOrder&&d===c.uncontrolled||h&&!q.nodeContains(h,m))return;o2.addPhantomDummyWithTarget(r,o,i,m);return}if(d&&r.focusable.isVisible(d)||m.tagName==="IFRAME"&&r.focusable.isVisible(m)){i0(u,new l2({by:"root",owner:u,next:m,relatedEvent:l}))&&o2.moveWithPhantomDummy(r,d??m,!1,i,l);return}(n||s?.outOfDOMOrder)&&i0(u,new l2({by:"root",owner:u,next:m,relatedEvent:l}))&&(l.preventDefault(),l.stopImmediatePropagation(),u5(m))}else!h&&i0(u,new l2({by:"root",owner:u,next:null,relatedEvent:l}))&&c.root.moveOutWithDefaultAction(i,l)},this._onChanged=(l,o)=>{if(l)i0(l,new sc(o));else{let r=this._lastVal?.get();if(r){let n={...o},i=y1.getTabsterContext(this._tabster,r)?.modalizer?.userId;i&&(n.modalizerId=i),i0(r,new uc(n))}}},this._tabster=a,this._win=t,a.queueInit(this._init)}dispose(){super.dispose();let a=this._win(),t=a.document;Z1(t,b0,this._onFocusIn,!0),Z1(t,s3,this._onFocusOut,!0),Z1(a,"keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);let l=this._asyncFocus;l&&(a.clearTimeout(l.timeout),delete this._asyncFocus),delete e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(a,t){let l=e._lastResetElement,o=l&&l.get();o&&q.nodeContains(t,o)&&delete e._lastResetElement,o=a._nextVal?.element?.get(),o&&q.nodeContains(t,o)&&delete a._nextVal,l=a._lastVal,o=l&&l.get(),o&&q.nodeContains(t,o)&&delete a._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let a=this._lastVal?.get();return(!a||a&&!gd(a.ownerDocument,a))&&(this._lastVal=a=void 0),a}focus(a,t,l,o){if(!this._tabster.focusable.isFocusable(a,t,!1,l))return!1;let r=typeof o=="boolean"?{preventScroll:o}:o;return a.focus(r),!0}focusDefault(a){let t=this._tabster.focusable.findDefault({container:a});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(a,t){let{container:l,ignoreAccessibility:o}=t,r;if(l){let n=y1.getTabsterContext(this._tabster,l);n&&(r=e.findNextTabbable(this._tabster,n,l,void 0,void 0,!a,o)?.element)}return r&&!q.nodeContains(l,r)&&(r=void 0),r||void 0}_focusFirstOrLast(a,t){let l=this.getFirstOrLastTabbable(a,t);return l?(this.focus(l,!1,!0),!0):!1}focusFirst(a){return this._focusFirstOrLast(!0,a)}focusLast(a){return this._focusFirstOrLast(!1,a)}resetFocus(a){if(!this._tabster.focusable.isVisible(a))return!1;if(this._tabster.focusable.isFocusable(a,!0,!0,!0))this.focus(a);else{let t=a.getAttribute("tabindex"),l=a.getAttribute("aria-hidden");a.tabIndex=-1,a.setAttribute("aria-hidden","true"),e._lastResetElement=new v0(a),this.focus(a,!0,!0),this._setOrRemoveAttribute(a,"tabindex",t),this._setOrRemoveAttribute(a,"aria-hidden",l)}return!0}requestAsyncFocus(a,t,l){let o=this._tabster.getWindow(),r=this._asyncFocus;if(r){if(rz[a]>rz[r.source])return;o.clearTimeout(r.timeout)}this._asyncFocus={source:a,callback:t,timeout:o.setTimeout(()=>{this._asyncFocus=void 0,t()},l)}}cancelAsyncFocus(a){let t=this._asyncFocus;t?.source===a&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(a,t,l){l===null?a.removeAttribute(t):a.setAttribute(t,l)}_setFocusedElement(a,t,l){if(this._tabster._noop)return;let o={relatedTarget:t};if(a){let n=e._lastResetElement?.get();if(e._lastResetElement=void 0,n===a||gc(a))return;o.isFocusedProgrammatically=l;let i=y1.getTabsterContext(this._tabster,a)?.modalizer?.userId;i&&(o.modalizerId=i)}let r=this._nextVal={element:a?new v0(a):void 0,detail:o};a&&a!==this._val&&this._validateFocusedElement(a),this._nextVal===r&&this.setVal(a,o),this._nextVal=void 0}setVal(a,t){super.setVal(a,t),a&&(this._lastVal=new v0(a))}static findNextTabbable(a,t,l,o,r,n,c){let i=l||t.root.getElement();if(!i)return null;let s=null,u=e._isTabbingTimer,m=a.getWindow();u&&m.clearTimeout(u),e.isTabbing=!0,e._isTabbingTimer=m.setTimeout(()=>{delete e._isTabbingTimer,e.isTabbing=!1},0);let h=t.modalizer,d=t.groupper,f=t.mover,v=x=>{if(s=x.findNextTabbable(o,r,n,c),o&&!s?.element){let p=x!==h&&q.getParentElement(x.getElement());if(p){let g=y1.getTabsterContext(a,o,{referenceElement:p});if(g){let M=x.getElement(),_=n?M:M&&xc(M)||M;_&&(s=e.findNextTabbable(a,g,l,_,p,n,c),s&&(s.outOfDOMOrder=!0))}}}};if(d&&f)v(t.groupperBeforeMover?d:f);else if(d)v(d);else if(f)v(f);else if(h)v(h);else{let x={container:i,currentElement:o,referenceElement:r,ignoreAccessibility:c,useActiveModalizer:!0},p={};s={element:a.focusable[n?"findPrev":"findNext"](x,p),outOfDOMOrder:p.outOfDOMOrder,uncontrolled:p.uncontrolled}}return s}};var Ac=class extends m7{constructor(a){super(),this._onChange=t=>{this.setVal(t,void 0)},this._keyborg=ga(a()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Ma(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(a){this._keyborg?.setVal(a)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}};function nz(e,a,t,l){if(typeof MutationObserver>"u")return()=>{};let o=a.getWindow,r,n=u=>{let m=new Set;for(let h of u){let d=h.target,f=h.removedNodes,v=h.addedNodes;if(h.type==="attributes")h.attributeName===s5&&(m.has(d)||t(a,d));else{for(let x of f)m.add(x),c(x,!0),a._dummyObserver.domChanged?.(d);for(let x of v)c(x),a._dummyObserver.domChanged?.(d)}}m.clear(),a.modalizer?.hiddenUpdate()};function c(u,m){r||(r=Mo(o).elementByUId),i(u,m);let h=u3(e,u,d=>i(d,m));if(h)for(;h.nextNode(););}function i(u,m){if(!u.getAttribute)return NodeFilter.FILTER_SKIP;let h=u.__tabsterElementUID;return h&&r&&(m?delete r[h]:r[h]??=new v0(u)),($1(a,u)||u.hasAttribute(s5))&&t(a,u,m),NodeFilter.FILTER_SKIP}let s=q.createMutationObserver(n);return l&&c(o().document.body),s.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[s5]}),()=>{s.disconnect()}}var yc=class{constructor(a){this._isUncontrolledCompletely=a}isUncontrolledCompletely(a,t){let l=this._isUncontrolledCompletely?.(a,t);return l===void 0?t:l}};var hq=0,bd="aria-hidden";var Cd=class extends o2{constructor(a,t,l){super(t,a,h7.Modalizer,l),this._setHandlers((o,r)=>{let n=a.get(),c=n&&y1.getRoot(t,n)?.getElement(),i=o.input,s;if(c&&i){let u=xa(i),m=y1.getTabsterContext(t,u||i);m&&(s=I2.findNextTabbable(t,m,c,i,void 0,r,!0)?.element),s&&u5(s)}})}},Ad=class extends U2{constructor(a,t,l,o,r,n){super(a,t,o),this._wasFocused=0,this.userId=o.id,this._onDispose=l,this._activeElements=n,a.controlTab||(this.dummyManager=new Cd(this._element,a,r))}makeActive(a){if(this._isActive!==a){this._isActive=a;let t=this.getElement();if(t){let l=this._activeElements,o=l.map(r=>r.get()).indexOf(t);a?o<0&&l.push(new v0(t)):o>=0&&l.splice(o,1)}this._dispatchEvent(a)}}focused(a){return a||(this._wasFocused=++hq),this._wasFocused}setProps(a){a.id&&(this.userId=a.id),this._props={...a}}dispose(){this.makeActive(!1),this._onDispose(this),this.dummyManager?.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(a){return q.nodeContains(this.getElement(),a)}findNextTabbable(a,t,l,o){if(!this.getElement())return null;let n=this._tabster,c=null,i=!1,s,u=a&&y1.getRoot(n,a)?.getElement();if(u){let m={container:u,currentElement:a,referenceElement:t,ignoreAccessibility:o,useActiveModalizer:!0},h={};c=n.focusable[l?"findPrev":"findNext"](m,h),!c&&this._props.isTrapped&&n.modalizer?.activeId?(c=n.focusable[l?"findLast":"findFirst"]({container:u,ignoreAccessibility:o,useActiveModalizer:!0},h),c===null&&(c=a),i=!0):i=!!h.outOfDOMOrder,s=h.uncontrolled}return{element:c,uncontrolled:s,outOfDOMOrder:i}}_dispatchEvent(a,t){let l=this.getElement(),o=!1;if(l){let r=t?this._activeElements.map(n=>n.get()):[l];for(let n of r)if(n){let c={id:this.userId,element:l},i=a?new dc(c):new hc(c);i0(n,i),i.defaultPrevented&&(o=!0)}}return o}_remove(){}};var Hc=class{constructor(a,t,l){this._onModalizerDispose=r=>{let n=r.id,c=r.userId,i=this._parts[c];if(delete this._modalizers[n],i&&(delete i[n],Object.keys(i).length===0)){delete this._parts[c];let s=this._activationHistory,u=[],m;for(let h=s.length;h--;){let d=s[h];d!==c&&d!==m&&(m=d,(d||u.length>0)&&u.unshift(d))}if(this._activationHistory=u,this.activeId===c){let h=u[0],d=h?Object.values(this._parts[h])[0]:void 0;this.setActive(d)}}},this._onKeyDown=r=>{if(r.key!==s0.Escape)return;let n=this._tabster,c=n.focusedElement.getFocusedElement();if(c){let i=y1.getTabsterContext(n,c),s=i?.modalizer;if(i&&!i.groupper&&s?.isActive()&&!i.ignoreKeydown(r)){let u=s.userId;if(u){let m=this._parts[u];if(m){let h=Object.keys(m).map(d=>{let f=m[d],v=f.getElement(),x;return v&&(x=$1(n,v)?.groupper),f&&v&&x?{el:v,focusedSince:f.focused(!0)}:{focusedSince:0}}).filter(d=>d.focusedSince>0).sort((d,f)=>d.focusedSince>f.focusedSince?-1:d.focusedSince<f.focusedSince?1:0);if(h.length){let d=h[0].el;d&&n.groupper?.handleKeyPress(d,r,!0)}}}}}},this._onFocus=(r,n)=>{let c=this._tabster,i=r&&y1.getTabsterContext(c,r);if(!i||!r)return;let s=this._augMap;for(let d=r;d;d=q.getParentElement(d))s.has(d)&&(s.delete(d),_c(c,d,bd));let u=i.modalizer,m=$1(c,r),h=m?.modalizer;if(h&&(h.focused(),h.userId===this.activeId&&m.groupper)){let d=c.getParent(r),f=d&&y1.getTabsterContext(c,d)?.modalizer;if(f)u=f;else{this.setActive(void 0);return}}if(u?.focused(),u?.userId===this.activeId){this.currentIsOthersAccessible=u?.getProps().isOthersAccessible;return}if(n.isFocusedProgrammatically||this.currentIsOthersAccessible||u?.getProps().isAlwaysAccessible)this.setActive(u);else{let d=this._win();d.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=d.setTimeout(()=>this._restoreModalizerFocus(r),100)}},this._tabster=a,this._win=a.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=l,this._activationHistory=[],this.activeElements=[],a.controlTab||a.root.addDummyInputs();let o=this._win();l0(o,"keydown",this._onKeyDown,!0),a.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){let a=this._win();Z1(a,"keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(t=>{this._modalizers[t]&&(this._modalizers[t].dispose(),delete this._modalizers[t])}),a.clearTimeout(this._restoreModalizerFocusTimer),a.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(a,t,l){let o=new Ad(this._tabster,a,this._onModalizerDispose,t,l,this.activeElements),r=o.id,n=t.id;this._modalizers[r]=o;let c=this._parts[n];c||(c=this._parts[n]={}),c[r]=o;let i=this._tabster.focusedElement.getFocusedElement()??null;return a!==i&&q.nodeContains(a,i)&&(n!==this.activeId?this.setActive(o):o.makeActive(!0)),o}isAugmented(a){return this._augMap.has(a)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(a){let t=a?.userId,l=this.activeId;if(l===t)return;if(this.activeId=t,l){let r=this._parts[l];if(r)for(let n of Object.keys(r))r[n].makeActive(!1)}if(t){let r=this._parts[t];if(r)for(let n of Object.keys(r))r[n].makeActive(!0)}this.currentIsOthersAccessible=a?.getProps().isOthersAccessible,this.hiddenUpdate();let o=this._activationHistory;o[0]!==t&&(t!==void 0||o.length>0)&&o.unshift(t)}focus(a,t,l){let o=this._tabster,n=y1.getTabsterContext(o,a)?.modalizer;if(n){this.setActive(n);let c=n.getProps(),i=n.getElement();if(i){if(t===void 0&&(t=c.isNoFocusFirst),!t&&o.keyboardNavigation.isNavigatingWithKeyboard()&&o.focusedElement.focusFirst({container:i})||(l===void 0&&(l=c.isNoFocusDefault),!l&&o.focusedElement.focusDefault(i)))return!0;o.focusedElement.resetFocus(i)}}return!1}activate(a){let t=a?y1.getTabsterContext(this._tabster,a)?.modalizer:void 0;return!a||t?(this.setActive(t),!0):!1}acceptElement(a,t){let l=t.modalizerUserId,o=t.currentCtx?.modalizer;if(l)for(let n of this.activeElements){let c=n.get();if(c&&(q.nodeContains(a,c)||c===a))return NodeFilter.FILTER_SKIP}let r=l===o?.userId||!l&&o?.getProps().isAlwaysAccessible?void 0:NodeFilter.FILTER_SKIP;return r!==void 0&&(t.skippedFocusable=!0),r}_hiddenUpdate(){let a=this._tabster,t=a.getWindow().document.body,l=this.activeId,o=this._parts,r=[],n=[],c=this._alwaysAccessibleSelector,i=c?Array.from(q.querySelectorAll(t,c)):[],s=[];for(let x of Object.keys(o)){let p=o[x];for(let g of Object.keys(p)){let M=p[g],_=M.getElement(),z=M.getProps().isAlwaysAccessible;_&&(x===l?(s.push(_),this.currentIsOthersAccessible||r.push(_)):z?i.push(_):n.push(_))}}let u=this._augMap,m=r.length>0?[...r,...i]:void 0,h=[],d=new WeakMap,f=(x,p)=>{let g=x.tagName;if(g==="SCRIPT"||g==="STYLE")return;let M=!1;u.has(x)?p?M=!0:(u.delete(x),_c(a,x,bd)):p&&!this._accessibleCheck?.(x,s)&&_c(a,x,bd,"true")&&(u.set(x,!0),M=!0),M&&(h.push(new v0(x)),d.set(x,!0))},v=x=>{for(let p=q.getFirstElementChild(x);p;p=q.getNextElementSibling(p)){let g=!1,M=!1,_=!1;if(m){let b=a.getParent(p);for(let z of m){if(p===z){g=!0;break}if(q.nodeContains(p,z)){M=!0;break}else q.nodeContains(z,b)&&(_=!0)}M||p.__tabsterElementFlags?.noDirectAriaHidden?v(p):!g&&!_&&f(p,!0)}else f(p,!1)}};m||i.forEach(x=>f(x,!1)),n.forEach(x=>f(x,!0)),t&&v(t),this._aug?.map(x=>x.get()).forEach(x=>{x&&!d.get(x)&&f(x,!1)}),this._aug=h,this._augMap=d}_restoreModalizerFocus(a){let t=a?.ownerDocument;if(!a||!t)return;let l=this._tabster.focusedElement.getFocusedElement(),o=l&&y1.getTabsterContext(this._tabster,l)?.modalizer;if(!l||l&&o?.userId===this.activeId)return;let r=this._tabster,n=y1.getTabsterContext(r,a),c=n?.modalizer,i=this.activeId;if(!c&&!i||c&&i===c.userId)return;let s=n?.root.getElement();if(s){let u=r.focusable.findFirst({container:s,useActiveModalizer:!0});if(u){if(a.compareDocumentPosition(u)&document.DOCUMENT_POSITION_PRECEDING&&(u=r.focusable.findLast({container:s,useActiveModalizer:!0}),!u))throw new Error("Something went wrong.");r.focusedElement.focus(u);return}}a.blur()}};function yd(e,a,t){let l=e.core;if(!l.modalizer){let o=new Hc(l,a,t);l.modalizer=o,l.attrHandlers.set("modalizer",(r,n,c,i,s)=>n?c.id&&i?.id!==c.id?(n.dispose(),o.createModalizer(r,c,s)):(n.setProps(c),n):o.createModalizer(r,c,s))}return l.modalizer}var mq=["input","textarea","*[contenteditable]"].join(", "),Rd=class extends o2{constructor(a,t,l,o){super(t,a,h7.Mover,o),this._onFocusDummyInput=r=>{let n=this._element.get(),c=r.input;if(n&&c){let i=y1.getTabsterContext(this._tabster,n),s;i&&(s=I2.findNextTabbable(this._tabster,i,void 0,c,void 0,!r.isFirst,!0)?.element);let u=this._getMemorized()?.get();u&&this._tabster.focusable.isFocusable(u)&&(s=u),s&&u5(s)}},this._tabster=t,this._getMemorized=l,this._setHandlers(this._onFocusDummyInput)}},Hd=1,cz=2,iz=3,Sd=class extends U2{constructor(a,t,l,o,r){super(a,t,o),this._visible={},this._onIntersection=c=>{for(let i of c){let s=i.target,u=u7(this._win,s),m,h=this._fullyVisible;if(i.intersectionRatio>=.25?(m=i.intersectionRatio>=.75?O2.Visible:O2.PartiallyVisible,m===O2.Visible&&(h=u)):m=O2.Invisible,this._visible[u]!==m){m===void 0?(delete this._visible[u],h===u&&delete this._fullyVisible):(this._visible[u]=m,this._fullyVisible=h);let d=this.getState(s);d&&i0(s,new vo(d))}}},this._win=a.getWindow,this.visibilityTolerance=o.visibilityTolerance??.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=l;let n=()=>o.memorizeCurrent?this._current:void 0;a.controlTab||(this.dummyManager=new Rd(this._element,a,n,r))}dispose(){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);let a=this._win();this._setCurrentTimer&&(a.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(a.clearTimeout(this._updateTimer),delete this._updateTimer),this.dummyManager?.dispose(),delete this.dummyManager}setCurrent(a){a?this._current=new v0(a):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{delete this._setCurrentTimer;let t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(let l of t){let o=l?.get();if(o&&this._allElements?.get(o)===this){let r=this._props;if(o&&(r.visibilityAware!==void 0||r.trackState)){let n=this.getState(o);n&&i0(o,new vo(n))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(a,t,l,o){let r=this.getElement(),n=r&&xa(a)===r;if(!r)return null;let c=null,i=!1,s;if(this._props.tabbable||n||a&&!q.nodeContains(r,a)){let u={currentElement:a,referenceElement:t,container:r,ignoreAccessibility:o,useActiveModalizer:!0},m={};c=this._tabster.focusable[l?"findPrev":"findNext"](u,m),i=!!m.outOfDOMOrder,s=m.uncontrolled}return{element:c,uncontrolled:s,outOfDOMOrder:i}}acceptElement(a,t){if(!I2.isTabbing)return t.currentCtx?.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:l,visibilityAware:o,hasDefault:r=!0}=this._props,n=this.getElement();if(n&&(l||o||r)&&(!q.nodeContains(n,t.from)||xa(t.from)===n)){let c;if(l){let i=this._current?.get();i&&t.acceptCondition(i)&&(c=i)}if(!c&&r&&(c=this._tabster.focusable.findDefault({container:n,useActiveModalizer:!0})),!c&&o&&(c=this._tabster.focusable.findElement({container:n,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:i=>{let s=u7(this._win,i),u=this._visible[s];return n!==i&&!!this._allElements?.get(i)&&t.acceptCondition(i)&&(u===O2.Visible||u===O2.PartiallyVisible&&(o===O2.PartiallyVisible||!this._fullyVisible))}})),c)return t.found=!0,t.foundElement=c,t.rejectElementsFrom=n,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver>"u")return;let t=this._win(),l=this._allElements=new WeakMap,o=this._tabster.focusable,r=this._updateQueue=[],n=q.createMutationObserver(d=>{for(let f of d){let v=f.target,x=f.removedNodes,p=f.addedNodes;if(f.type==="attributes")f.attributeName==="tabindex"&&r.push({element:v,type:cz});else{for(let g=0;g<x.length;g++)r.push({element:x[g],type:iz});for(let g=0;g<p.length;g++)r.push({element:p[g],type:Hd})}}m()}),c=(d,f)=>{let v=l.get(d);v&&f&&(this._intersectionObserver?.unobserve(d),l.delete(d)),!v&&!f&&(l.set(d,this),this._intersectionObserver?.observe(d))},i=d=>{let f=o.isFocusable(d);l.get(d)?f||c(d,!0):f&&c(d)},s=d=>{let{mover:f}=h(d);if(f&&f!==this)if(f.getElement()===d&&o.isFocusable(d))c(d);else return;let v=u3(t.document,d,x=>{let{mover:p,groupper:g}=h(x);if(p&&p!==this)return NodeFilter.FILTER_REJECT;let M=g?.getFirst(!0);return g&&g.getElement()!==x&&M&&M!==x?NodeFilter.FILTER_REJECT:(o.isFocusable(x)&&c(x),NodeFilter.FILTER_SKIP)});if(v)for(v.currentNode=d;v.nextNode(););},u=d=>{l.get(d)&&c(d,!0);for(let v=q.getFirstElementChild(d);v;v=q.getNextElementSibling(v))u(v)},m=()=>{!this._updateTimer&&r.length&&(this._updateTimer=t.setTimeout(()=>{delete this._updateTimer;for(let{element:d,type:f}of r)switch(f){case cz:i(d);break;case Hd:s(d);break;case iz:u(d);break}r=this._updateQueue=[]},0))},h=d=>{let f={};for(let v=d;v;v=q.getParentElement(v)){let x=$1(this._tabster,v);if(x&&(x.groupper&&!f.groupper&&(f.groupper=x.groupper),x.mover)){f.mover=x.mover;break}}return f};r.push({element:a,type:Hd}),m(),n.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{n.disconnect()}}getState(a){let t=u7(this._win,a);if(t in this._visible){let l=this._visible[t]||O2.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:l}}}};function fq(e,a,t,l,o,r,n,c){let i=t<o?o-t:n<e?e-n:0,s=l<r?r-l:c<a?a-c:0;return i===0?s:s===0?i:Math.sqrt(i*i+s*s)}var Rc=class{constructor(a,t){this._init=()=>{let l=this._win();l0(l,"keydown",this._onKeyDown,!0),l0(l,md,this._onMoveFocus),l0(l,fd,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=l=>{delete this._movers[l.id]},this._onFocus=l=>{let o=l,r=l;for(let n=q.getParentElement(l);n;n=q.getParentElement(n)){let c=$1(this._tabster,n)?.mover;c&&(c.setCurrent(r),o=void 0),!o&&this._tabster.focusable.isFocusable(n)&&(o=r=n)}},this._onKeyDown=async l=>{if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),this._ignoredInputResolve?.(!1),l.ctrlKey||l.altKey||l.shiftKey||l.metaKey)return;let o=l.key,r;if(o===s0.ArrowDown?r=t0.ArrowDown:o===s0.ArrowRight?r=t0.ArrowRight:o===s0.ArrowUp?r=t0.ArrowUp:o===s0.ArrowLeft?r=t0.ArrowLeft:o===s0.PageDown?r=t0.PageDown:o===s0.PageUp?r=t0.PageUp:o===s0.Home?r=t0.Home:o===s0.End&&(r=t0.End),!r)return;let n=this._tabster.focusedElement.getFocusedElement();!n||await this._isIgnoredInput(n,o)||this._moveFocus(n,r,l)},this._onMoveFocus=l=>{let o=l.composedPath()[0],r=l.detail?.key;o&&r!==void 0&&!l.defaultPrevented&&(this._moveFocus(o,r),l.stopImmediatePropagation())},this._onMemorizedElement=l=>{let o=l.composedPath()[0],r=l.detail?.memorizedElement;if(o){let c=y1.getTabsterContext(this._tabster,o)?.mover;c&&(r&&!q.nodeContains(c.getElement(),r)&&(r=void 0),c.setCurrent(r),l.stopImmediatePropagation())}},this._tabster=a,this._win=t,this._movers={},a.queueInit(this._init)}dispose(){let a=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),this._ignoredInputResolve?.(!1),this._ignoredInputTimer&&(a.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),Z1(a,"keydown",this._onKeyDown,!0),Z1(a,md,this._onMoveFocus),Z1(a,fd,this._onMemorizedElement),Object.keys(this._movers).forEach(t=>{this._movers[t]&&(this._movers[t].dispose(),delete this._movers[t])})}createMover(a,t,l){let o=new Sd(this._tabster,a,this._onMoverDispose,t,l);return this._movers[o.id]=o,o}moveFocus(a,t){return this._moveFocus(a,t)}_moveFocus(a,t,l){let o=this._tabster,r=y1.getTabsterContext(o,a,{checkRtl:!0});if(!r||!r.mover||r.excludedFromMover||l&&r.ignoreKeydown(l))return null;let n=r.mover,c=n.getElement();if(r.groupperBeforeMover){let z=r.groupper;if(z&&!z.isActive(!0)){for(let y=q.getParentElement(z.getElement());y&&y!==c;y=q.getParentElement(y))if($1(o,y)?.groupper?.isActive(!0))return null}else return null}if(!c)return null;let i=o.focusable,s=n.getProps(),u=s.direction||V5.Both,m=u===V5.Both,h=m||u===V5.Vertical,d=m||u===V5.Horizontal,f=u===V5.GridLinear,v=f||u===V5.Grid,x=s.cyclic,p,g,M,_=0,b=0;if(v&&(M=a.getBoundingClientRect(),_=Math.ceil(M.left),b=Math.floor(M.right)),r.rtl&&(t===t0.ArrowRight?t=t0.ArrowLeft:t===t0.ArrowLeft&&(t=t0.ArrowRight)),t===t0.ArrowDown&&h||t===t0.ArrowRight&&(d||v))if(p=i.findNext({currentElement:a,container:c,useActiveModalizer:!0}),p&&v){let z=Math.ceil(p.getBoundingClientRect().left);!f&&b>z&&(p=void 0)}else!p&&x&&(p=i.findFirst({container:c,useActiveModalizer:!0}));else if(t===t0.ArrowUp&&h||t===t0.ArrowLeft&&(d||v))if(p=i.findPrev({currentElement:a,container:c,useActiveModalizer:!0}),p&&v){let z=Math.floor(p.getBoundingClientRect().right);!f&&z>_&&(p=void 0)}else!p&&x&&(p=i.findLast({container:c,useActiveModalizer:!0}));else if(t===t0.Home)v?i.findElement({container:c,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:z=>{if(!i.isFocusable(z))return!1;let y=Math.ceil(z.getBoundingClientRect().left??0);return z!==a&&_<=y?!0:(p=z,!1)}}):p=i.findFirst({container:c,useActiveModalizer:!0});else if(t===t0.End)v?i.findElement({container:c,currentElement:a,useActiveModalizer:!0,acceptCondition:z=>{if(!i.isFocusable(z))return!1;let y=Math.ceil(z.getBoundingClientRect().left??0);return z!==a&&_>=y?!0:(p=z,!1)}}):p=i.findLast({container:c,useActiveModalizer:!0});else if(t===t0.PageUp){if(i.findElement({currentElement:a,container:c,useActiveModalizer:!0,isBackward:!0,acceptCondition:z=>i.isFocusable(z)?pd(this._win,z,n.visibilityTolerance)?(p=z,!1):!0:!1}),v&&p){let z=Math.ceil(p.getBoundingClientRect().left);i.findElement({currentElement:p,container:c,useActiveModalizer:!0,acceptCondition:y=>{if(!i.isFocusable(y))return!1;let C=Math.ceil(y.getBoundingClientRect().left);return _<C||z>=C?!0:(p=y,!1)}})}g=!1}else if(t===t0.PageDown){if(i.findElement({currentElement:a,container:c,useActiveModalizer:!0,acceptCondition:z=>i.isFocusable(z)?pd(this._win,z,n.visibilityTolerance)?(p=z,!1):!0:!1}),v&&p){let z=Math.ceil(p.getBoundingClientRect().left);i.findElement({currentElement:p,container:c,useActiveModalizer:!0,isBackward:!0,acceptCondition:y=>{if(!i.isFocusable(y))return!1;let C=Math.ceil(y.getBoundingClientRect().left);return _>C||z<=C?!0:(p=y,!1)}})}g=!0}else if(v){let z=t===t0.ArrowUp,y=_,C=Math.ceil(M.top),E=b,N=Math.floor(M.bottom),T,P,O=0;i.findAll({container:c,currentElement:a,isBackward:z,onElement:l1=>{let H1=l1.getBoundingClientRect(),R1=Math.ceil(H1.left),L1=Math.ceil(H1.top),v1=Math.floor(H1.right),Q1=Math.floor(H1.bottom);if(z&&C<Q1||!z&&N>L1)return!0;let V0=Math.ceil(Math.min(E,v1))-Math.floor(Math.max(y,R1)),x2=Math.ceil(Math.min(E-y,v1-R1));if(V0>0&&x2>=V0){let f5=V0/x2;f5>O&&(T=l1,O=f5)}else if(O===0){let f5=fq(y,C,E,N,R1,L1,v1,Q1);(P===void 0||f5<P)&&(P=f5,T=l1)}else if(O>0)return!1;return!0}}),p=T}return p&&(!l||l&&i0(c,new l2({by:"mover",owner:c,next:p,relatedEvent:l})))?(g!==void 0&&J_(this._win,p,g),l&&(l.preventDefault(),l.stopImmediatePropagation()),u5(p),p):null}async _isIgnoredInput(a,t){if(a.getAttribute("aria-expanded")==="true"&&(a.hasAttribute("aria-activedescendant")||a.getAttribute("role")==="combobox"))return!0;if(Mc(a,mq)){let l=0,o=0,r=0,n;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let c=a.type;if(r=(a.value||"").length,c==="email"||c==="number"){if(r){let s=q.getSelection(a);if(s){let u=s.toString().length,m=t===s0.ArrowLeft||t===s0.ArrowUp;if(s.modify("extend",m?"backward":"forward","character"),u!==s.toString().length)return s.modify("extend",m?"forward":"backward","character"),!0;r=0}}}else{let s=a.selectionStart;if(s===null)return c==="hidden";l=s||0,o=a.selectionEnd||0}}else a.contentEditable==="true"&&(n=new Promise(c=>{this._ignoredInputResolve=d=>{delete this._ignoredInputResolve,c(d)};let i=this._win();this._ignoredInputTimer&&i.clearTimeout(this._ignoredInputTimer);let{anchorNode:s,focusNode:u,anchorOffset:m,focusOffset:h}=q.getSelection(a)||{};this._ignoredInputTimer=i.setTimeout(()=>{delete this._ignoredInputTimer;let{anchorNode:d,focusNode:f,anchorOffset:v,focusOffset:x}=q.getSelection(a)||{};if(d!==s||f!==u||v!==m||x!==h){this._ignoredInputResolve?.(!1);return}if(l=v||0,o=x||0,r=a.textContent?.length||0,d&&f&&q.nodeContains(a,d)&&q.nodeContains(a,f)&&d!==a){let p=!1,g=M=>{if(M===d)p=!0;else if(M===f)return!0;let _=M.textContent;if(_&&!q.getFirstChild(M)){let z=_.length;p?f!==d&&(o+=z):(l+=z,o+=z)}let b=!1;for(let z=q.getFirstChild(M);z&&!b;z=z.nextSibling)b=g(z);return b};g(a)}this._ignoredInputResolve?.(!0)},0)}));if(n&&!await n||l!==o||l>0&&(t===s0.ArrowLeft||t===s0.ArrowUp||t===s0.Home)||l<r&&(t===s0.ArrowRight||t===s0.ArrowDown||t===s0.End))return!0}return!1}};function Vd(e){let a=e.core;if(!a.mover){let t=new Rc(a,a.getWindow);a.mover=t,a.attrHandlers.set("mover",(l,o,r,n,c)=>o?(o.setProps(r),o):t.createMover(l,r,c))}return a.mover}var Fd=class extends U2{constructor(a,t,l){if(super(a,t,l),this._hasFocus=!1,this._onFocusOut=o=>{let r=this._element?.get();r&&o.relatedTarget===null&&i0(r,new go),r&&!q.nodeContains(r,o.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===va.Source){let o=this._element?.get();l0(o,"focusout",this._onFocusOut),l0(o,"focusin",this._onFocusIn),this._hasFocus=q.nodeContains(o,o&&q.getActiveElement(o.ownerDocument))}}dispose(){if(this._props.type===va.Source){let a=this._element?.get();if(Z1(a,"focusout",this._onFocusOut),Z1(a,"focusin",this._onFocusIn),this._hasFocus){let t=this._tabster.getWindow().document;i0(t.body,new go)}}}},qd=class e{static{this.DEPTH=10}constructor(a){this._stack=[],this._getWindow=a}push(a){this._stack[this._stack.length-1]?.get()!==a&&(this._stack.length>e.DEPTH&&this._stack.shift(),this._stack.push(new v0(a)))}pop(a=()=>!0){let t=this._getWindow().document;for(let l=this._stack.length-1;l>=0;l--){let o=this._stack.pop()?.get();if(o&&q.nodeContains(t.body,q.getParentElement(o))&&a(o))return o}}},Sc=class{constructor(a){this._onRestoreFocus=t=>{this._focusedElementState.cancelAsyncFocus(pa.Restorer);let l=t.composedPath()[0];if(l){let o=$1(this._tabster,l)?.restorer?.getProps().id;this._focusedElementState.requestAsyncFocus(pa.Restorer,()=>this._restoreFocus(l,o),0)}},this._onFocusIn=t=>{!t||$1(this._tabster,t)?.restorer?.getProps().type!==va.Target||this._history.push(t)},this._restoreFocus=(t,l)=>{let o=this._getWindow().document;if(q.getActiveElement(o)!==o.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&q.nodeContains(o.body,t))return;let r=n=>{let c=$1(this._tabster,n)?.restorer?.getProps();return c?c.id:null};this._history.pop(n=>l===r(n))?.focus()},this._tabster=a,this._getWindow=a.getWindow,l0(this._getWindow(),pc,this._onRestoreFocus),this._history=new qd(this._getWindow),this._keyboardNavState=a.keyboardNavigation,this._focusedElementState=a.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){let a=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(pa.Restorer),Z1(a,pc,this._onRestoreFocus)}createRestorer(a,t){let l=new Fd(this._tabster,a,t);return t.type===va.Target&&q.getActiveElement(a.ownerDocument)===a&&this._history.push(a),l}};function Ld(e){let a=e.core;if(!a.restorer){let t=new Sc(a);a.restorer=t,a.attrHandlers.set("restorer",(l,o,r)=>o?(o.setProps(r),o):t.createRestorer(l,r))}return a.restorer}var kd=class{constructor(a){this.keyboardNavigation=a.keyboardNavigation,this.focusedElement=a.focusedElement,this.focusable=a.focusable,this.root=a.root,this.uncontrolled=a.uncontrolled,this.core=a}},wd=class{constructor(a,t){this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.8.1",this._noop=!1,this.attrHandlers=new Map,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=new WeakMap,this._win=a;let l=this.getWindow;t?.DOMAPI&&K_({...t.DOMAPI}),this.keyboardNavigation=new Ac(l),this.focusedElement=new I2(this,l),this.focusable=new Cc(this),this.root=new y1(this,t?.autoRoot),this.uncontrolled=new yc(t?.checkUncontrolledCompletely||t?.checkUncontrolledTrappingFocus),this.controlTab=t?.controlTab??!0,this.rootDummyInputs=!!t?.rootDummyInputs,this._dummyObserver=new zc(l),this.getParent=t?.getParent??q.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:o=>{if(!this._unobserve){let r=l().document;this._unobserve=nz(r,this,ic,o)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(a){a&&(this.getParent=a.getParent??this.getParent)}createTabster(a,t){let l=new kd(this);return a||this._wrappers.add(l),this._mergeProps(t),l}disposeTabster(a,t){t?this._wrappers.clear():this._wrappers.delete(a),this._wrappers.size===0&&this.dispose()}dispose(){this.internal.stopObserver();let a=this._win;a?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],a&&this._forgetMemorizedTimer&&(a.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),this.outline?.dispose(),this.crossOrigin?.dispose(),this.deloser?.dispose(),this.groupper?.dispose(),this.mover?.dispose(),this.modalizer?.dispose(),this.observedElement?.dispose(),this.restorer?.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),vd(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),a&&(Y_(a),delete a.__tabsterInstance,delete this._win)}storageEntry(a,t){let l=this._storage,o=l.get(a);return o?t===!1&&Object.keys(o).length===0&&l.delete(a):t===!0&&(o={},l.set(a,o)),o}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let a=this._forgetMemorizedElements.shift();a;a=this._forgetMemorizedElements.shift())vd(this.getWindow,a),I2.forgetMemorized(this.focusedElement,a)},0)))}queueInit(a){this._win&&(this._initQueue.push(a),this._initTimer||(this._initTimer=this._win?.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;let a=this._initQueue;this._initQueue=[],a.forEach(t=>t())}};function Td(e,a){let t=pq(e);return t?t.createTabster(!1,a):(t=new wd(e,a),e.__tabsterInstance=t,t.createTabster())}function Bd(e,a){e.core.disposeTabster(e,a)}function pq(e){return e.__tabsterInstance}var sz=A(R(),1);var vq=e=>e;function gq(e){let a=e?.defaultView||void 0,t=a?.__tabsterShadowDOMAPI;if(a)return Td(a,{autoRoot:{},controlTab:!1,getParent:oc,checkUncontrolledCompletely:l=>{var o;return((o=l.firstElementChild)===null||o===void 0?void 0:o.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:t})}function _a(e=vq){let{targetDocument:a}=r1(),t=sz.useRef(null);return u1(()=>{let l=gq(a);if(l)return t.current=e(l),()=>{Bd(l),t.current=null}},[a,e]),t}var uz=A(R(),1),f7=e=>{_a();let a=_d(e,!0);return uz.useMemo(()=>({[s5]:a}),[a])};var Vc=(e={})=>{let{circular:a,axis:t,memorizeCurrent:l=!0,tabbable:o,ignoreDefaultKeydown:r,unstable_hasDefault:n}=e;return _a(Vd),f7({mover:{cyclic:!!a,direction:Mq(t??"vertical"),memorizeCurrent:l,tabbable:o,hasDefault:n},...r&&{focusable:{ignoreKeydown:r}}})};function Mq(e){switch(e){case"horizontal":return V5.Horizontal;case"grid":return V5.Grid;case"grid-linear":return V5.GridLinear;case"both":return V5.Both;default:return V5.Vertical}}var p7=A(R(),1);var Fc=()=>{let e=_a(),{targetDocument:a}=r1(),t=p7.useCallback((c,i)=>{var s;return c&&((s=e.current)===null||s===void 0?void 0:s.focusable.findAll({container:c,acceptCondition:i}))||[]},[e]),l=p7.useCallback(c=>{var i;return c&&((i=e.current)===null||i===void 0?void 0:i.focusable.findFirst({container:c}))},[e]),o=p7.useCallback(c=>{var i;return c&&((i=e.current)===null||i===void 0?void 0:i.focusable.findLast({container:c}))},[e]),r=p7.useCallback((c,i={})=>{if(!e.current||!a||!c)return null;let{container:s=a.body}=i;return e.current.focusable.findNext({currentElement:c,container:s})},[e,a]),n=p7.useCallback((c,i={})=>{if(!e.current||!a||!c)return null;let{container:s=a.body}=i;return e.current.focusable.findPrev({currentElement:c,container:s})},[e,a]);return{findAllFocusable:t,findFirstFocusable:l,findLastFocusable:o,findNextFocusable:r,findPrevFocusable:n}};var qc=A(R(),1);var xq="data-keyboard-nav",sG=`:global([${xq}])`,Dd="data-fui-focus-visible",Nd="data-fui-focus-within";function dz(e,a){if(hz(e))return()=>{};let t={current:void 0},l=ga(a);function o(i){l.isNavigatingWithKeyboard()&&R0(i)&&(t.current=i,i.setAttribute(Dd,""))}function r(){t.current&&(t.current.removeAttribute(Dd),t.current=void 0)}l.subscribe(i=>{i?o(a.document.activeElement):r()});let n=i=>{r();let s=i.composedPath()[0];o(s)},c=i=>{(!i.relatedTarget||R0(i.relatedTarget)&&!e.contains(i.relatedTarget))&&r()};return e.addEventListener(b0,n),e.addEventListener("focusout",c),e.focusVisible=!0,e.contains(a.document.activeElement)&&o(a.document.activeElement),()=>{r(),e.removeEventListener(b0,n),e.removeEventListener("focusout",c),e.focusVisible=void 0,Ma(l)}}function hz(e){return e?e.focusVisible?!0:hz(e?.parentElement):!1}function v7(e={}){let a=r1(),t=qc.useRef(null);var l;let o=(l=e.targetDocument)!==null&&l!==void 0?l:a.targetDocument;return qc.useEffect(()=>{if(o?.defaultView&&t.current)return dz(t.current,o.defaultView)},[t,o]),t}var Lc=A(R(),1);function pz(e,a){let t=ga(a);t.subscribe(r=>{r||mz(e)});let l=r=>{t.isNavigatingWithKeyboard()&&fz(r.target)&&_q(e)},o=r=>{(!r.relatedTarget||fz(r.relatedTarget)&&!e.contains(r.relatedTarget))&&mz(e)};return e.addEventListener(b0,l),e.addEventListener("focusout",o),()=>{e.removeEventListener(b0,l),e.removeEventListener("focusout",o),Ma(t)}}function _q(e){e.setAttribute(Nd,"")}function mz(e){e.removeAttribute(Nd)}function fz(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function za(){let{targetDocument:e}=r1(),a=Lc.useRef(null);return Lc.useEffect(()=>{if(e?.defaultView&&a.current)return pz(a.current,e.defaultView)},[a,e]),a}var kc=A(R(),1);function vz(){let{targetDocument:e}=r1(),a=kc.useRef(null);return kc.useEffect(()=>{let t=e?.defaultView;if(t){let l=ga(t);return a.current=l,()=>{Ma(l),a.current=null}}},[e]),a}var Pd="data-tabster-never-hide",RG={[Pd]:""};var zq=e=>e.hasAttribute(Pd);function bq(e){yd(e,void 0,zq),Ld(e)}var g7=(e={})=>{let{trapFocus:a,alwaysFocusable:t,legacyTrapFocus:l}=e;_a(bq);let o=p0("modal-",e.id),r=f7({restorer:{type:va.Source},...a&&{modalizer:{id:o,isOthersAccessible:!a,isAlwaysAccessible:t,isTrapped:l&&a}}}),n=f7({restorer:{type:va.Target}});return{modalAttributes:r,triggerAttributes:n}};var gz=A(R(),1);function wc(){let e=vz();return gz.useCallback(()=>{var a,t;return(t=(a=e.current)===null||a===void 0?void 0:a.isNavigatingWithKeyboard())!==null&&t!==void 0?t:!1},[e])}var H={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",28:"#474747",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",48:"#7a7a7a",50:"#808080",52:"#858585",54:"#8a8a8a",56:"#8f8f8f",58:"#949494",60:"#999999",62:"#9e9e9e",64:"#a3a3a3",66:"#a8a8a8",68:"#adadad",70:"#b3b3b3",72:"#b8b8b8",74:"#bdbdbd",76:"#c2c2c2",78:"#c7c7c7",80:"#cccccc",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa",99:"#fcfcfc"},S0={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",30:"rgba(255, 255, 255, 0.3)",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)",90:"rgba(255, 255, 255, 0.9)"},d5={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)",60:"rgba(0, 0, 0, 0.6)",70:"rgba(0, 0, 0, 0.7)",80:"rgba(0, 0, 0, 0.8)",90:"rgba(0, 0, 0, 0.9)"},Mz={5:"rgba(26, 26, 26, 0.05)",10:"rgba(26, 26, 26, 0.1)",20:"rgba(26, 26, 26, 0.2)",30:"rgba(26, 26, 26, 0.3)",40:"rgba(26, 26, 26, 0.4)",50:"rgba(26, 26, 26, 0.5)",60:"rgba(26, 26, 26, 0.6)",70:"rgba(26, 26, 26, 0.7)",80:"rgba(26, 26, 26, 0.8)",90:"rgba(26, 26, 26, 0.9)"},xz={5:"rgba(31, 31, 31, 0.05)",10:"rgba(31, 31, 31, 0.1)",20:"rgba(31, 31, 31, 0.2)",30:"rgba(31, 31, 31, 0.3)",40:"rgba(31, 31, 31, 0.4)",50:"rgba(31, 31, 31, 0.5)",60:"rgba(31, 31, 31, 0.6)",70:"rgba(31, 31, 31, 0.7)",80:"rgba(31, 31, 31, 0.8)",90:"rgba(31, 31, 31, 0.9)"},Od={5:"rgba(36, 36, 36, 0.05)",10:"rgba(36, 36, 36, 0.1)",20:"rgba(36, 36, 36, 0.2)",30:"rgba(36, 36, 36, 0.3)",40:"rgba(36, 36, 36, 0.4)",50:"rgba(36, 36, 36, 0.5)",60:"rgba(36, 36, 36, 0.6)",70:"rgba(36, 36, 36, 0.7)",80:"rgba(36, 36, 36, 0.8)",90:"rgba(36, 36, 36, 0.9)"},Q="#ffffff",M7="#000000";var _z={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"};var Ed={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},zz={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},bz={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"};var Cz={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},Az={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},yz={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Hz={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Rz={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Sz={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Vz={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},Fz={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"};var qz={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},Lz={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},kz={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Ud={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},wz={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},Tz={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},Bz={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"};var Dz={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"};var Nz={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Pz={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"};var Oz={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},Ez={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},Uz={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},Iz={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"};var Gz={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},jz={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},Wz={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},Qz={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"};var Xz={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},Kz={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},Yz={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},$z={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"};var Zz={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},Jz={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"};var p1={red:zz,green:Ud,darkOrange:bz,yellow:Rz,berry:jz,lightGreen:kz,marigold:Hz},G2={darkRed:_z,cranberry:Ed,pumpkin:Cz,peach:yz,gold:Sz,brass:Vz,brown:Fz,forest:qz,seafoam:Lz,darkGreen:wz,lightTeal:Tz,teal:Bz,steel:Dz,blue:Nz,royalBlue:Pz,cornflower:Oz,navy:Ez,lavender:Uz,purple:Iz,grape:Gz,lilac:Wz,pink:Qz,magenta:Xz,plum:Kz,beige:Yz,mink:$z,platinum:Zz,anchor:Jz},h1={cranberry:Ed,green:Ud,orange:Az};var Tc=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Bc=["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"];var j0={success:"green",warning:"orange",danger:"cranberry"};var xo=Tc.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),l={[`colorPalette${t}Background1`]:p1[a].tint60,[`colorPalette${t}Background2`]:p1[a].tint40,[`colorPalette${t}Background3`]:p1[a].primary,[`colorPalette${t}Foreground1`]:p1[a].shade10,[`colorPalette${t}Foreground2`]:p1[a].shade30,[`colorPalette${t}Foreground3`]:p1[a].primary,[`colorPalette${t}BorderActive`]:p1[a].primary,[`colorPalette${t}Border1`]:p1[a].tint40,[`colorPalette${t}Border2`]:p1[a].primary};return Object.assign(e,l)},{});xo.colorPaletteYellowForeground1=p1.yellow.shade30;xo.colorPaletteRedForegroundInverted=p1.red.tint20;xo.colorPaletteGreenForegroundInverted=p1.green.tint20;xo.colorPaletteYellowForegroundInverted=p1.yellow.tint40;var Cq=Bc.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),l={[`colorPalette${t}Background2`]:G2[a].tint40,[`colorPalette${t}Foreground2`]:G2[a].shade30,[`colorPalette${t}BorderActive`]:G2[a].primary};return Object.assign(e,l)},{}),eb={...xo,...Cq},d3=Object.entries(j0).reduce((e,[a,t])=>{let l=a.slice(0,1).toUpperCase()+a.slice(1),o={[`colorStatus${l}Background1`]:h1[t].tint60,[`colorStatus${l}Background2`]:h1[t].tint40,[`colorStatus${l}Background3`]:h1[t].primary,[`colorStatus${l}Foreground1`]:h1[t].shade10,[`colorStatus${l}Foreground2`]:h1[t].shade30,[`colorStatus${l}Foreground3`]:h1[t].primary,[`colorStatus${l}ForegroundInverted`]:h1[t].tint30,[`colorStatus${l}BorderActive`]:h1[t].primary,[`colorStatus${l}Border1`]:h1[t].tint40,[`colorStatus${l}Border2`]:h1[t].primary};return Object.assign(e,o)},{});d3.colorStatusDangerBackground3Hover=h1[j0.danger].shade10;d3.colorStatusDangerBackground3Pressed=h1[j0.danger].shade20;d3.colorStatusWarningForeground1=h1[j0.warning].shade20;d3.colorStatusWarningForeground3=h1[j0.warning].shade20;d3.colorStatusWarningBorder2=h1[j0.warning].shade20;var ab=e=>({colorNeutralForeground1:H[14],colorNeutralForeground1Hover:H[14],colorNeutralForeground1Pressed:H[14],colorNeutralForeground1Selected:H[14],colorNeutralForeground2:H[26],colorNeutralForeground2Hover:H[14],colorNeutralForeground2Pressed:H[14],colorNeutralForeground2Selected:H[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:H[38],colorNeutralForeground3Hover:H[26],colorNeutralForeground3Pressed:H[26],colorNeutralForeground3Selected:H[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:H[44],colorNeutralForeground5:H[38],colorNeutralForeground5Hover:H[14],colorNeutralForeground5Pressed:H[14],colorNeutralForeground5Selected:H[14],colorNeutralForegroundDisabled:H[74],colorNeutralForegroundInvertedDisabled:S0[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:H[26],colorNeutralForeground2LinkHover:H[14],colorNeutralForeground2LinkPressed:H[14],colorNeutralForeground2LinkSelected:H[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:H[14],colorNeutralForegroundStaticInverted:Q,colorNeutralForegroundInverted:Q,colorNeutralForegroundInvertedHover:Q,colorNeutralForegroundInvertedPressed:Q,colorNeutralForegroundInvertedSelected:Q,colorNeutralForegroundInverted2:Q,colorNeutralForegroundOnBrand:Q,colorNeutralForegroundInvertedLink:Q,colorNeutralForegroundInvertedLinkHover:Q,colorNeutralForegroundInvertedLinkPressed:Q,colorNeutralForegroundInvertedLinkSelected:Q,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Q,colorNeutralBackground1Hover:H[96],colorNeutralBackground1Pressed:H[88],colorNeutralBackground1Selected:H[92],colorNeutralBackground2:H[98],colorNeutralBackground2Hover:H[94],colorNeutralBackground2Pressed:H[86],colorNeutralBackground2Selected:H[90],colorNeutralBackground3:H[96],colorNeutralBackground3Hover:H[92],colorNeutralBackground3Pressed:H[84],colorNeutralBackground3Selected:H[88],colorNeutralBackground4:H[94],colorNeutralBackground4Hover:H[98],colorNeutralBackground4Pressed:H[96],colorNeutralBackground4Selected:Q,colorNeutralBackground5:H[92],colorNeutralBackground5Hover:H[96],colorNeutralBackground5Pressed:H[94],colorNeutralBackground5Selected:H[98],colorNeutralBackground6:H[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:H[92],colorNeutralBackground7Pressed:H[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:H[99],colorNeutralBackgroundInverted:H[16],colorNeutralBackgroundInvertedHover:H[24],colorNeutralBackgroundInvertedPressed:H[12],colorNeutralBackgroundInvertedSelected:H[22],colorNeutralBackgroundStatic:H[20],colorNeutralBackgroundAlpha:S0[50],colorNeutralBackgroundAlpha2:S0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:H[96],colorSubtleBackgroundPressed:H[88],colorSubtleBackgroundSelected:H[92],colorSubtleBackgroundLightAlphaHover:S0[70],colorSubtleBackgroundLightAlphaPressed:S0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:d5[10],colorSubtleBackgroundInvertedPressed:d5[30],colorSubtleBackgroundInvertedSelected:d5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:H[94],colorNeutralBackgroundDisabled2:Q,colorNeutralBackgroundInvertedDisabled:S0[10],colorNeutralStencil1:H[90],colorNeutralStencil2:H[98],colorNeutralStencil1Alpha:d5[10],colorNeutralStencil2Alpha:d5[5],colorBackgroundOverlay:d5[40],colorScrollbarOverlay:d5[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:Q,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:H[98],colorNeutralCardBackgroundHover:Q,colorNeutralCardBackgroundPressed:H[96],colorNeutralCardBackgroundSelected:H[92],colorNeutralCardBackgroundDisabled:H[94],colorNeutralStrokeAccessible:H[38],colorNeutralStrokeAccessibleHover:H[34],colorNeutralStrokeAccessiblePressed:H[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:H[82],colorNeutralStroke1Hover:H[78],colorNeutralStroke1Pressed:H[70],colorNeutralStroke1Selected:H[74],colorNeutralStroke2:H[88],colorNeutralStroke3:H[94],colorNeutralStroke4:H[92],colorNeutralStroke4Hover:H[88],colorNeutralStroke4Pressed:H[84],colorNeutralStroke4Selected:H[92],colorNeutralStrokeSubtle:H[88],colorNeutralStrokeOnBrand:Q,colorNeutralStrokeOnBrand2:Q,colorNeutralStrokeOnBrand2Hover:Q,colorNeutralStrokeOnBrand2Pressed:Q,colorNeutralStrokeOnBrand2Selected:Q,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:H[88],colorNeutralStrokeDisabled2:H[92],colorNeutralStrokeInvertedDisabled:S0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:d5[5],colorNeutralStrokeAlpha2:S0[20],colorStrokeFocus1:Q,colorStrokeFocus2:M7,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)"});var _o={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"};var Dc={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)"};var Nc={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var zo={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},bo={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Co={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Ao={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"};var o0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Pc={spacingHorizontalNone:o0.none,spacingHorizontalXXS:o0.xxs,spacingHorizontalXS:o0.xs,spacingHorizontalSNudge:o0.sNudge,spacingHorizontalS:o0.s,spacingHorizontalMNudge:o0.mNudge,spacingHorizontalM:o0.m,spacingHorizontalL:o0.l,spacingHorizontalXL:o0.xl,spacingHorizontalXXL:o0.xxl,spacingHorizontalXXXL:o0.xxxl},Oc={spacingVerticalNone:o0.none,spacingVerticalXXS:o0.xxs,spacingVerticalXS:o0.xs,spacingVerticalSNudge:o0.sNudge,spacingVerticalS:o0.s,spacingVerticalMNudge:o0.mNudge,spacingVerticalM:o0.m,spacingVerticalL:o0.l,spacingVerticalXL:o0.xl,spacingVerticalXXL:o0.xxl,spacingVerticalXXXL:o0.xxxl};var yo={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var k={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForeground5:"var(--colorNeutralForeground5)",colorNeutralForeground5Hover:"var(--colorNeutralForeground5Hover)",colorNeutralForeground5Pressed:"var(--colorNeutralForeground5Pressed)",colorNeutralForeground5Selected:"var(--colorNeutralForeground5Selected)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackground7:"var(--colorNeutralBackground7)",colorNeutralBackground7Hover:"var(--colorNeutralBackground7Hover)",colorNeutralBackground7Pressed:"var(--colorNeutralBackground7Pressed)",colorNeutralBackground7Selected:"var(--colorNeutralBackground7Selected)",colorNeutralBackground8:"var(--colorNeutralBackground8)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundInvertedHover:"var(--colorNeutralBackgroundInvertedHover)",colorNeutralBackgroundInvertedPressed:"var(--colorNeutralBackgroundInvertedPressed)",colorNeutralBackgroundInvertedSelected:"var(--colorNeutralBackgroundInvertedSelected)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundDisabled2:"var(--colorNeutralBackgroundDisabled2)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStroke4:"var(--colorNeutralStroke4)",colorNeutralStroke4Hover:"var(--colorNeutralStroke4Hover)",colorNeutralStroke4Pressed:"var(--colorNeutralStroke4Pressed)",colorNeutralStroke4Selected:"var(--colorNeutralStroke4Selected)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeDisabled2:"var(--colorNeutralStrokeDisabled2)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadius2XLarge:"var(--borderRadius2XLarge)",borderRadius3XLarge:"var(--borderRadius3XLarge)",borderRadius4XLarge:"var(--borderRadius4XLarge)",borderRadius5XLarge:"var(--borderRadius5XLarge)",borderRadius6XLarge:"var(--borderRadius6XLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function x7(e,a,t=""){return{[`shadow2${t}`]:`0 0 2px ${e}, 0 1px 2px ${a}`,[`shadow4${t}`]:`0 0 2px ${e}, 0 2px 4px ${a}`,[`shadow8${t}`]:`0 0 2px ${e}, 0 4px 8px ${a}`,[`shadow16${t}`]:`0 0 2px ${e}, 0 8px 16px ${a}`,[`shadow28${t}`]:`0 0 8px ${e}, 0 14px 28px ${a}`,[`shadow64${t}`]:`0 0 8px ${e}, 0 32px 64px ${a}`}}var Ec=e=>{let a=ab(e);return{..._o,...zo,...bo,...Ao,...Co,...yo,...Pc,...Oc,...Nc,...Dc,...a,...eb,...d3,...x7(a.colorNeutralShadowAmbient,a.colorNeutralShadowKey),...x7(a.colorBrandShadowAmbient,a.colorBrandShadowKey,"Brand")}};var Uc={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"};var j2=Tc.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),l={[`colorPalette${t}Background1`]:p1[a].shade40,[`colorPalette${t}Background2`]:p1[a].shade30,[`colorPalette${t}Background3`]:p1[a].primary,[`colorPalette${t}Foreground1`]:p1[a].tint30,[`colorPalette${t}Foreground2`]:p1[a].tint40,[`colorPalette${t}Foreground3`]:p1[a].tint20,[`colorPalette${t}BorderActive`]:p1[a].tint30,[`colorPalette${t}Border1`]:p1[a].primary,[`colorPalette${t}Border2`]:p1[a].tint20};return Object.assign(e,l)},{});j2.colorPaletteRedForeground3=p1.red.tint30;j2.colorPaletteRedBorder2=p1.red.tint30;j2.colorPaletteGreenForeground3=p1.green.tint40;j2.colorPaletteGreenBorder2=p1.green.tint40;j2.colorPaletteDarkOrangeForeground3=p1.darkOrange.tint30;j2.colorPaletteDarkOrangeBorder2=p1.darkOrange.tint30;j2.colorPaletteRedForegroundInverted=p1.red.primary;j2.colorPaletteGreenForegroundInverted=p1.green.primary;j2.colorPaletteYellowForegroundInverted=p1.yellow.shade30;var Id=Bc.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),l={[`colorPalette${t}Background2`]:G2[a].shade30,[`colorPalette${t}Foreground2`]:G2[a].tint40,[`colorPalette${t}BorderActive`]:G2[a].tint30};return Object.assign(e,l)},{});Id.colorPaletteDarkRedBackground2=G2.darkRed.shade20;Id.colorPalettePlumBackground2=G2.plum.shade20;var tb={...j2,...Id},Ce=Object.entries(j0).reduce((e,[a,t])=>{let l=a.slice(0,1).toUpperCase()+a.slice(1),o={[`colorStatus${l}Background1`]:h1[t].shade40,[`colorStatus${l}Background2`]:h1[t].shade30,[`colorStatus${l}Background3`]:h1[t].primary,[`colorStatus${l}Foreground1`]:h1[t].tint30,[`colorStatus${l}Foreground2`]:h1[t].tint40,[`colorStatus${l}Foreground3`]:h1[t].tint20,[`colorStatus${l}BorderActive`]:h1[t].tint30,[`colorStatus${l}ForegroundInverted`]:h1[t].shade10,[`colorStatus${l}Border1`]:h1[t].primary,[`colorStatus${l}Border2`]:h1[t].tint20};return Object.assign(e,o)},{});Ce.colorStatusDangerBackground3Hover=h1[j0.danger].shade10;Ce.colorStatusDangerBackground3Pressed=h1[j0.danger].shade20;Ce.colorStatusDangerForeground3=h1[j0.danger].tint40;Ce.colorStatusDangerBorder2=h1[j0.danger].tint30;Ce.colorStatusSuccessForeground3=h1[j0.success].tint40;Ce.colorStatusSuccessBorder2=h1[j0.success].tint40;Ce.colorStatusWarningForegroundInverted=h1[j0.warning].shade20;var h3=Ec(Uc);var lb=e=>({colorNeutralForeground1:Q,colorNeutralForeground1Hover:Q,colorNeutralForeground1Pressed:Q,colorNeutralForeground1Selected:Q,colorNeutralForeground2:H[84],colorNeutralForeground2Hover:Q,colorNeutralForeground2Pressed:Q,colorNeutralForeground2Selected:Q,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:H[68],colorNeutralForeground3Hover:H[84],colorNeutralForeground3Pressed:H[84],colorNeutralForeground3Selected:H[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:H[60],colorNeutralForeground5:H[68],colorNeutralForeground5Hover:Q,colorNeutralForeground5Pressed:Q,colorNeutralForeground5Selected:Q,colorNeutralForegroundDisabled:H[36],colorNeutralForegroundInvertedDisabled:S0[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:H[84],colorNeutralForeground2LinkHover:Q,colorNeutralForeground2LinkPressed:Q,colorNeutralForeground2LinkSelected:Q,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:H[14],colorNeutralForegroundStaticInverted:Q,colorNeutralForegroundInverted:H[14],colorNeutralForegroundInvertedHover:H[14],colorNeutralForegroundInvertedPressed:H[14],colorNeutralForegroundInvertedSelected:H[14],colorNeutralForegroundInverted2:H[14],colorNeutralForegroundOnBrand:Q,colorNeutralForegroundInvertedLink:Q,colorNeutralForegroundInvertedLinkHover:Q,colorNeutralForegroundInvertedLinkPressed:Q,colorNeutralForegroundInvertedLinkSelected:Q,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:H[16],colorNeutralBackground1Hover:H[24],colorNeutralBackground1Pressed:H[12],colorNeutralBackground1Selected:H[22],colorNeutralBackground2:H[12],colorNeutralBackground2Hover:H[20],colorNeutralBackground2Pressed:H[8],colorNeutralBackground2Selected:H[18],colorNeutralBackground3:H[8],colorNeutralBackground3Hover:H[16],colorNeutralBackground3Pressed:H[4],colorNeutralBackground3Selected:H[14],colorNeutralBackground4:H[4],colorNeutralBackground4Hover:H[12],colorNeutralBackground4Pressed:M7,colorNeutralBackground4Selected:H[10],colorNeutralBackground5:M7,colorNeutralBackground5Hover:H[8],colorNeutralBackground5Pressed:H[2],colorNeutralBackground5Selected:H[6],colorNeutralBackground6:H[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:H[10],colorNeutralBackground7Pressed:H[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:H[16],colorNeutralBackgroundInverted:Q,colorNeutralBackgroundInvertedHover:H[96],colorNeutralBackgroundInvertedPressed:H[88],colorNeutralBackgroundInvertedSelected:H[92],colorNeutralBackgroundStatic:H[24],colorNeutralBackgroundAlpha:Mz[50],colorNeutralBackgroundAlpha2:xz[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:H[22],colorSubtleBackgroundPressed:H[18],colorSubtleBackgroundSelected:H[20],colorSubtleBackgroundLightAlphaHover:Od[80],colorSubtleBackgroundLightAlphaPressed:Od[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:d5[10],colorSubtleBackgroundInvertedPressed:d5[30],colorSubtleBackgroundInvertedSelected:d5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:H[8],colorNeutralBackgroundDisabled2:H[16],colorNeutralBackgroundInvertedDisabled:S0[10],colorNeutralStencil1:H[34],colorNeutralStencil2:H[20],colorNeutralStencil1Alpha:S0[10],colorNeutralStencil2Alpha:S0[5],colorBackgroundOverlay:d5[50],colorScrollbarOverlay:S0[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:Q,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:H[20],colorNeutralCardBackgroundHover:H[24],colorNeutralCardBackgroundPressed:H[18],colorNeutralCardBackgroundSelected:H[22],colorNeutralCardBackgroundDisabled:H[8],colorNeutralStrokeAccessible:H[68],colorNeutralStrokeAccessibleHover:H[74],colorNeutralStrokeAccessiblePressed:H[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:H[40],colorNeutralStroke1Hover:H[46],colorNeutralStroke1Pressed:H[42],colorNeutralStroke1Selected:H[44],colorNeutralStroke2:H[32],colorNeutralStroke3:H[24],colorNeutralStroke4:H[24],colorNeutralStroke4Hover:H[18],colorNeutralStroke4Pressed:H[14],colorNeutralStroke4Selected:H[24],colorNeutralStrokeSubtle:H[4],colorNeutralStrokeOnBrand:H[16],colorNeutralStrokeOnBrand2:Q,colorNeutralStrokeOnBrand2Hover:Q,colorNeutralStrokeOnBrand2Pressed:Q,colorNeutralStrokeOnBrand2Selected:Q,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:H[26],colorNeutralStrokeDisabled2:H[24],colorNeutralStrokeInvertedDisabled:S0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:S0[10],colorNeutralStrokeAlpha2:S0[20],colorStrokeFocus1:M7,colorStrokeFocus2:Q,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)"});var Ic=e=>{let a=lb(e);return{..._o,...zo,...bo,...Ao,...Co,...yo,...Pc,...Oc,...Nc,...Dc,...a,...tb,...Ce,...x7(a.colorNeutralShadowAmbient,a.colorNeutralShadowKey),...x7(a.colorBrandShadowAmbient,a.colorBrandShadowKey,"Brand")}};var m3=Ic(Uc);var Gc=A(R(),1);var Ae=A(R(),1);var _7={root:"fui-FluentProvider"},Sq=$l({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);}"]}),Ho=e=>{let a=a2(),t=Sq({dir:e.dir,renderer:a});return e.root.className=L(_7.root,e.themeClassName,t.root,e.root.className),e};var Vq=Ae.useInsertionEffect?Ae.useInsertionEffect:u1,Fq=(e,a)=>{if(!e?.head)return;let t=e.createElement("style");return Object.keys(a).forEach(l=>{t.setAttribute(l,a[l])}),e.head.appendChild(t),t},qq=(e,a)=>{let t=e.sheet;t&&(t.cssRules.length>0&&t.deleteRule(0),t.insertRule(a,0))},Ro=e=>{let{targetDocument:a,theme:t,rendererAttributes:l}=e,o=Ae.useRef(void 0),r=p0(_7.root),n=l,c=Ae.useMemo(()=>Zl(`.${r}`,t),[t,r]);return Lq(a,r),Vq(()=>{let i=a?.getElementById(r);return i?o.current=i:(o.current=Fq(a,{...n,id:r}),o.current&&qq(o.current,c)),()=>{var s;(s=o.current)===null||s===void 0||s.remove()}},[r,a,c,n]),{styleTagId:r,rule:c}};function Lq(e,a){Ae.useState(()=>{if(!e)return;let t=e.getElementById(a);t&&e.head.append(t)})}var kq={},wq={},So=(e,a)=>{let t=r1(),l=Tq(),o=ma(),r=Gc.useContext(n3)||kq,{applyStylesToPortals:n=!0,customStyleHooks_unstable:c,dir:i=t.dir,targetDocument:s=t.targetDocument,theme:u,overrides_unstable:m={}}=e,h=Gd(l,u),d=Gd(o,m),f=Gd(r,c),v=a2();var x;let{styleTagId:p,rule:g}=Ro({theme:h,targetDocument:s,rendererAttributes:(x=v.styleElementAttributes)!==null&&x!==void 0?x:wq});return{applyStylesToPortals:n,customStyleHooks_unstable:f,dir:i,targetDocument:s,theme:h,overrides_unstable:d,themeClassName:p,components:{root:"div"},root:w.always(n1("div",{...e,dir:i,ref:W1(a,v7({targetDocument:s}))}),{elementType:"div"}),serverStyleProps:{cssRule:g,attributes:{...v.styleElementAttributes,id:p}}}};function Gd(e,a){return e&&a?{...e,...a}:e||a}function Tq(){return Gc.useContext(i7)}var Vo=A(R(),1);function Fo(e){let{applyStylesToPortals:a,customStyleHooks_unstable:t,dir:l,root:o,targetDocument:r,theme:n,themeClassName:c,overrides_unstable:i}=e,s=Vo.useMemo(()=>({dir:l,targetDocument:r}),[l,r]),[u]=Vo.useState(()=>({})),m=Vo.useMemo(()=>({textDirection:l}),[l]);return{customStyleHooks_unstable:t,overrides_unstable:i,provider:s,textDirection:l,iconDirection:m,tooltip:u,theme:n,themeClassName:a?o.className:c}}var f3=sb.forwardRef((e,a)=>{let t=So(e,a);Ho(t);let l=Fo(t);return po(t,l)});f3.displayName="FluentProvider";var p3=A(R(),1),jc=A(D8(),1),Bq=e=>t=>{let l=p3.useRef(t.value),o=p3.useRef(null);return o.current||(o.current={value:l,listeners:[]}),u1(()=>{l.current=t.value,(0,jc.unstable_runWithPriority)(jc.unstable_NormalPriority,()=>{o.current.listeners.forEach(r=>{r(t.value)})})},[t.value]),p3.createElement(e,{value:o.current},t.children)},jd=e=>{let a=p3.createContext({value:{current:e},listeners:[],isDefault:!0});return a.Provider=Bq(a.Provider),delete a.Consumer,a};var v3=A(R(),1),Wd=(e,a)=>{let t=v3.useContext(e),{value:l,listeners:o}=t,r=a(l.current),[,n]=v3.useReducer(s=>s+1,0),c=v3.useRef(a),i=v3.useRef(r);return u1(()=>{c.current=a,i.current=r}),u1(()=>{let s=u=>{try{let m=c.current(u);Object.is(i.current,m)||n()}catch{}};return o.push(s),s(l.current),()=>{let u=o.indexOf(s);u!==-1&&o.splice(u,1)}},[o,l]),r};var ub=A(R(),1);function Qd(e){return!ub.useContext(e).isDefault}var qo="Enter";var Lo="Escape";function ba(e,a){let{disabled:t,disabledFocusable:l=!1,["aria-disabled"]:o,onClick:r,onKeyDown:n,onKeyUp:c,...i}=a??{},s=typeof o=="string"?o==="true":o,u=t||l||s,m=J(f=>{u?(f.preventDefault(),f.stopPropagation()):r?.(f)}),h=J(f=>{if(n?.(f),f.isDefaultPrevented())return;let v=f.key;if(u&&(v===qo||v===" ")){f.preventDefault(),f.stopPropagation();return}if(v===" "){f.preventDefault();return}else v===qo&&(f.preventDefault(),f.currentTarget.click())}),d=J(f=>{if(c?.(f),f.isDefaultPrevented())return;let v=f.key;if(u&&(v===qo||v===" ")){f.preventDefault(),f.stopPropagation();return}v===" "&&(f.preventDefault(),f.currentTarget.click())});if(e==="button"||e===void 0)return{...i,disabled:t&&!l,"aria-disabled":l?!0:s,onClick:l?void 0:m,onKeyUp:l?void 0:c,onKeyDown:l?void 0:n};{let f=!!i.href,v=f?void 0:"button";!v&&u&&(v="link");let x={role:v,tabIndex:l||!f&&!t?0:void 0,...i,onClick:m,onKeyUp:d,onKeyDown:h,"aria-disabled":u};return e==="a"&&u&&(x.href=void 0),x}}var bb=A(R(),1);var db=B({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]});var hb="fui-Icon";var mb="data-fui-icon";var fb=(e,a)=>{let{filled:t,idPrefix:l,title:o,primaryFill:r="currentColor",...n}=e,c={...n,fill:r},i=hd(),s=!!(a?.flipInRtl&&i?.textDirection==="rtl");return o&&(c["aria-label"]=o),!c["aria-label"]&&!c["aria-labelledby"]?c["aria-hidden"]=!0:c.role="img",c[mb]="",{state:c,isRtlFlip:s}};var pb=(e,a)=>{let t=db(),{state:l,isRtlFlip:o}=fb(e,a);return l.className=L(t.root,o&&t.rtl,l.className),l};var vb=B({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]});var Ca=A(R(),1),Xd="url(#",Mb=(e,a,t)=>{let[l,o,...r]=e,n=o;if(t&&o){let c={};for(let i in o){let s=o[i];if(typeof s!="string")c[i]=s;else if(i==="id")c[i]=t+s;else{let u=s.indexOf(Xd);c[i]=u<0?s:s.slice(0,u+Xd.length)+t+s.slice(u+Xd.length)}}n=c}return Ca.createElement(l,{...n,key:a},...r.map((c,i)=>Mb(c,i,t)))},xb=e=>e==="1em"?"20":e,gb=(e,a,t)=>typeof e!="string"&&(a?.color||Array.isArray(e[0]))?e.map((l,o)=>Mb(l,o,t)):void 0,Dq=()=>{},_b=(e,a)=>{let t=gb(e,a);return t?function(o){return Ca.useMemo(()=>o?gb(e,a,o):t,[o])}:Dq},zb=(e,a,t)=>typeof a=="string"?Ca.createElement("svg",{...e,dangerouslySetInnerHTML:{__html:a}}):t?Ca.createElement("svg",e,...t):Ca.createElement("svg",e,...a.map(l=>Ca.createElement("path",{d:l,fill:e.fill})));var u0=(e,a,t,l)=>{let o=xb(a),r=_b(t,l),n=bb.forwardRef((c,i)=>{let s=vb(),u=pb(c,{flipInRtl:l?.flipInRtl}),m=r(c.idPrefix),h={...u,className:L(hb,u.className,s.root),ref:i,width:a,height:a,viewBox:`0 0 ${o} ${o}`,xmlns:"http://www.w3.org/2000/svg"};return zb(h,t,m)});return n.displayName=e,n};var Cb=u0("WarningFilled","1em",["M7.37 3.56a3 3 0 0 1 5.26 0l5.5 10A3 3 0 0 1 15.5 18h-11a3 3 0 0 1-2.63-4.44zM10 12.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m0-6.25a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 1 0V7a.5.5 0 0 0-.5-.5"]);var Ab=u0("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0M9.5 8.91a.5.5 0 0 1 1 0v4.69a.5.5 0 0 1-1 0V8.9m-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0"]);var Wc=u0("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16"]);var yb=u0("LockClosedRegular","1em",["M10 1a4 4 0 0 1 4 4v2.05a2.5 2.5 0 0 1 2 2.45v6a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 4 15.5v-6c0-1.2.86-2.22 2-2.45V5a4 4 0 0 1 4-4M6.5 8C5.67 8 5 8.67 5 9.5v6c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-6c0-.83-.67-1.5-1.5-1.5zm3.5 3.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2M10 2a3 3 0 0 0-3 3v2h6V5a3 3 0 0 0-3-3"]);var Hb=u0("NavigationRegular","1em",["M2 4.5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5m0 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5m.5 4.5a.5.5 0 0 0 0 1h15a.5.5 0 0 0 0-1z"]);var Rb=u0("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16m3.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-.63"]);var Sb=u0("DiamondDismissFilled","1em",["M7.88 1.88a3 3 0 0 1 4.24 0l6 6a3 3 0 0 1 0 4.24l-6 6a3 3 0 0 1-4.24 0l-6-6a3 3 0 0 1 0-4.24zM13.1 6.9a.5.5 0 0 0-.7 0L10 9.3 7.6 6.9a.5.5 0 0 0-.7.7L9.3 10l-2.4 2.4a.5.5 0 0 0 .7.7l2.4-2.4 2.4 2.4a.5.5 0 0 0 .7-.7L10.7 10l2.4-2.4a.5.5 0 0 0 0-.7"]);var Vb=u0("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-.04"]);var Fb=u0("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.04"]);var qb=u0("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-2z"]);var Lb=u0("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.5z"]);var kb=u0("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-.07z"]);var wb={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},Tb={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)"},m1={...wb,...Tb};var To=A(R(),1);var wo=A(R(),1);function Bb(e){if(e.playState==="running"){var a;if(e.overallProgress!==void 0){var t;let c=(t=e.overallProgress)!==null&&t!==void 0?t:0;return c>0&&c<1}var l;let r=Number((l=e.currentTime)!==null&&l!==void 0?l:0);var o;let n=Number((o=(a=e.effect)===null||a===void 0?void 0:a.getTiming().duration)!==null&&o!==void 0?o:0);return r>0&&r<n}return!1}var Nq={fill:"forwards"},Pq={duration:1};function Oq(e){return{set playbackRate(a){e.forEach(t=>{t.playbackRate=a})},setMotionEndCallbacks(a,t){let l=e.map(o=>new Promise((r,n)=>{o.onfinish=()=>r(),o.oncancel=()=>n()}));Promise.all(l).then(()=>{a()}).catch(()=>{t()})},isRunning(){return e.some(a=>Bb(a))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(a=>{a.cancel()})},pause:()=>{e.forEach(a=>{a.pause()})},play:()=>{e.forEach(a=>{a.play()})},finish:()=>{e.forEach(a=>{a.finish()})},reverse:()=>{e.forEach(a=>{a.reverse()})}}}function Eq(){var e;let a=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return wo.useCallback((t,l,o)=>{let r=Array.isArray(l)?l:[l],{isReducedMotion:n}=o,c=r.map(i=>{let{keyframes:s,reducedMotion:u=Pq,...m}=i,{keyframes:h=s,...d}=u,f=n?h:s,v={...Nq,...m,...n&&d};try{let p=t.animate(f,v);if(a)p?.persist();else{let g=f[f.length-1];var x;Object.assign((x=t.style)!==null&&x!==void 0?x:{},g)}return p}catch{return null}}).filter(i=>!!i);return Oq(c)},[a])}function Qc(){return Eq()}var Xc=A(R(),1);function Kc(e){let a=Xc.useRef(void 0);return Xc.useImperativeHandle(e,()=>({setPlayState:t=>{if(t==="running"){var l;(l=a.current)===null||l===void 0||l.play()}if(t==="paused"){var o;(o=a.current)===null||o===void 0||o.pause()}},setPlaybackRate:t=>{a.current&&(a.current.playbackRate=t)}})),a}var Yc=A(R(),1),Uq="screen and (prefers-reduced-motion: reduce)";function $c(){let{targetDocument:e}=r1();var a;let t=(a=e?.defaultView)!==null&&a!==void 0?a:null,l=Yc.useRef(!1),o=Yc.useCallback(()=>l.current,[]);return u1(()=>{if(t===null||typeof t.matchMedia!="function")return;let r=t.matchMedia(Uq);r.matches&&(l.current=!0);let n=c=>{l.current=c.matches};return r.addEventListener("change",n),()=>{r.removeEventListener("change",n)}},[t]),o}var W2=A(R(),1);var Iq=["@fluentui/react-motion: Invalid child element.",`
|
|
14
|
+
`,"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 Zc(e,a=!0){let t=W2.useRef(null);W2.useEffect(()=>{},[a]);try{let l=W2.Children.only(e);if(W2.isValidElement(l))return[W2.cloneElement(l,{ref:W1(t,fa(l))}),t]}catch{}throw new Error(Iq)}var Jc=A(R(),1),Db=Jc.createContext(void 0),hJ=Db.Provider,ei=()=>{var e;return(e=Jc.useContext(Db))!==null&&e!==void 0?e:"default"};var Gq=Symbol("MOTION_DEFINITION");function Kd(e){return Object.assign(t=>{let{children:l,imperativeRef:o,onMotionFinish:r,onMotionStart:n,onMotionCancel:c,replayKey:i,...s}=t,u=s,[m,h]=Zc(l),d=Kc(o),f=To.useRef(!0),v=ei()==="skip",x=To.useRef({skipMotions:v,params:u}),p=Qc(),g=$c(),M=J(()=>{n?.(null)}),_=J(()=>{r?.(null)}),b=J(()=>{c?.(null)}),z=To.useCallback(y=>{M(),y.setMotionEndCallbacks(_,b),x.current.skipMotions&&y.finish()},[M,_,b]);return u1(()=>{x.current={skipMotions:v,params:u}}),u1(()=>{let y=h.current;if(y){let C=typeof e=="function"?e({element:y,...x.current.params}):e,E=p(y,C,{isReducedMotion:g()});return d.current=E,z(E),()=>{E.cancel()}}},[p,h,d,g,z]),u1(()=>{if(f.current)return;let y=d.current;y&&(y.cancel(),y.play(),z(y))},[i]),u1(()=>(f.current=!1,()=>{f.current=!0}),[]),m},{[Gq]:typeof e=="function"?e:()=>e})}var b7=A(R(),1);var Yd=A(R(),1),$d=Yd.createContext(void 0),zJ=$d.Provider;var z7=A(R(),1);function Nb(e=!1,a=!1){let t=z7.useRef(a?e:!0),l=lc(),o=z7.useCallback(r=>{t.current!==r&&(t.current=r,l())},[l]);return z7.useEffect(()=>{e&&(t.current=e)}),[e||t.current,o]}var Zd=Symbol("PRESENCE_MOTION_DEFINITION"),jq=Symbol.for("interruptablePresence");function r2(e){return Object.assign(a=>{let l={...b7.useContext($d),...a},o=ei()==="skip",{appear:r,children:n,imperativeRef:c,onExit:i,onMotionFinish:s,onMotionStart:u,onMotionCancel:m,visible:h,unmountOnExit:d,...f}=l,v=f,[x,p]=Nb(h,d),[g,M]=Zc(n,x),_=Kc(c),b=b7.useRef({appear:r,params:v,skipMotions:o}),z=Qc(),y=tc(),C=$c(),E=J(P=>{u?.(null,{direction:P})}),N=J(P=>{s?.(null,{direction:P}),P==="exit"&&d&&(p(!1),i?.())}),T=J(P=>{m?.(null,{direction:P})});return u1(()=>{b.current={appear:r,params:v,skipMotions:o}}),u1(()=>{let P=M.current;if(!P)return;let O;function l1(){O&&(R1&&O.isRunning()||(O.cancel(),_.current=void 0))}let H1=typeof e=="function"?e({element:P,...b.current.params}):e,R1=H1[jq];if(R1&&(O=_.current,O&&O.isRunning()))return O.reverse(),l1;let L1=h?H1.enter:H1.exit,v1=h?"enter":"exit",Q1=!b.current.appear&&y,V0=b.current.skipMotions;return Q1||E(v1),O=z(P,L1,{isReducedMotion:C()}),Q1?(O.finish(),l1):(_.current=O,O.setMotionEndCallbacks(()=>N(v1),()=>T(v1)),V0&&O.finish(),l1)},[z,M,_,C,N,E,T,h]),b7.useEffect(()=>{if(d&&!x){var P;(P=_.current)===null||P===void 0||P.dispose()}},[_,d,x]),x?g:null},{[Zd]:typeof e=="function"?e:()=>e},{In:Kd(typeof e=="function"?(...a)=>e(...a).enter:e.enter),Out:Kd(typeof e=="function"?(...a)=>e(...a).exit:e.exit)})}function Wq(e,a){return l=>e({...a,...l})}function ye(e,a){let t=e[Zd],l=Wq(t,a);return r2(l)}var He=A(R(),1),Jd=He.createContext(void 0);function Bo(){return He.useContext(Jd)}var ai=He.forwardRef((e,a)=>He.createElement(Jd.Provider,{value:a},e.children));ai.displayName="MotionRefForwarder";var ti=e=>He.createElement(Jd.Provider,{value:void 0},e.children);ti.displayName="MotionRefForwarderReset";var li=A(R(),1);function g3(e,a){let{as:t,children:l,...o}=e??{};if(e===null){let n=!a.defaultProps.visible&&a.defaultProps.unmountOnExit,c=(i,s)=>n?null:li.createElement(li.Fragment,null,s.children);return{[xe]:c,[S5]:a.elementType}}let r={...a.defaultProps,...o,[S5]:a.elementType};return typeof l=="function"&&(r[xe]=l),r}var Q2=({direction:e,duration:a,easing:t=m1.curveLinear,delay:l=0,outOpacity:o=0,inOpacity:r=1})=>{let n=[{opacity:o},{opacity:r}];return e==="exit"&&n.reverse(),{keyframes:n,duration:a,easing:t,delay:l,fill:"both"}};var Qq=({duration:e=m1.durationNormal,easing:a=m1.curveEasyEase,delay:t=0,exitDuration:l=e,exitEasing:o=a,exitDelay:r=t,outOpacity:n=0,inOpacity:c=1})=>({enter:Q2({direction:"enter",duration:e,easing:a,delay:t,outOpacity:n,inOpacity:c}),exit:Q2({direction:"exit",duration:l,easing:o,delay:r,outOpacity:n,inOpacity:c})}),oi=r2(Qq),Pb=ye(oi,{duration:m1.durationFast}),ri=ye(oi,{duration:m1.durationGentle});var eh=({direction:e,duration:a,easing:t=m1.curveLinear,delay:l=0,outScale:o=.9,inScale:r=1})=>{let n=[{scale:o},{scale:r}];return e==="exit"&&n.reverse(),{keyframes:n,duration:a,easing:t,delay:l}};var Xq=({duration:e=m1.durationGentle,easing:a=m1.curveDecelerateMax,delay:t=0,exitDuration:l=m1.durationNormal,exitEasing:o=m1.curveAccelerateMax,exitDelay:r=t,outScale:n=.9,inScale:c=1,animateOpacity:i=!0})=>{let s=[eh({direction:"enter",duration:e,easing:a,delay:t,outScale:n,inScale:c})],u=[eh({direction:"exit",duration:l,easing:o,delay:r,outScale:n,inScale:c})];return i&&(s.push(Q2({direction:"enter",duration:e,easing:a,delay:t})),u.push(Q2({direction:"exit",duration:l,easing:o,delay:r}))),{enter:s,exit:u}},C7=r2(Xq),Ob=ye(C7,{duration:m1.durationNormal,exitDuration:m1.durationFast}),Eb=ye(C7,{duration:m1.durationSlow,exitDuration:m1.durationGentle});var Ib=A(R(),1);var Do=(e,a)=>{let{shape:t="circular",size:l="medium",appearance:o="filled",color:r="brand",...n}=e;return{...ah(n,a),shape:t,size:l,appearance:o,color:r}},ah=(e,a)=>{let{iconPosition:t="before"}=e;return{iconPosition:t,components:{root:"div",icon:"span"},root:w.always(n1("div",{ref:a,...e}),{elementType:"div"}),icon:w.optional(e.icon,{elementType:"span"})}};var Ub=A(R(),1);var No={root:"fui-Badge",icon:"fui-Badge__icon"},g11=k.spacingHorizontalXXS,Kq=G("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;}']),Yq=B({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);}"]}),$q=G("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),Zq=B({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;}"]}),Po=e=>{let a=Kq(),t=Yq(),l=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=L(No.root,a,l&&t.fontSmallToTiny,t[e.size],t[e.shape],e.shape==="rounded"&&l&&t.roundedSmallToTiny,e.appearance==="ghost"&&t.borderGhost,t[e.appearance],t[`${e.appearance}-${e.color}`],e.root.className);let o=$q(),r=Zq();if(e.icon){let n;Ub.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?n=e.iconPosition==="after"?r.afterTextXL:r.beforeTextXL:n=e.iconPosition==="after"?r.afterText:r.beforeText),e.icon.className=L(No.icon,o,n,r[e.size],e.icon.className)}return e};var Oo=e=>b1(e.root,{children:[e.iconPosition==="before"&&e.icon&&F(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&F(e.icon,{})]});var c1=Ib.forwardRef((e,a)=>{let t=Do(e,a);return Po(t),j("useBadgeStyles_unstable")(t),Oo(t)});c1.displayName="Badge";var th="data-popper-is-intersecting",lh="data-popper-escaped",oh="data-popper-reference-hidden",Gb="data-popper-placement",Eo="fui-positioningend";var ni=A(R(),1),Jq=({options:e})=>e,jb=ni.createContext(void 0),k11=jb.Provider,Wb=()=>{var e;return(e=ni.useContext(jb))!==null&&e!==void 0?e:Jq};var s2=A(R(),1);var Kb=["top","right","bottom","left"];var Re=Math.min,X2=Math.max,Io=Math.round;var K2=e=>({x:e,y:e}),eL={left:"right",right:"left",bottom:"top",top:"bottom"};function rh(e,a,t){return X2(e,Re(a,t))}function Y2(e,a){return typeof e=="function"?e(a):e}function Se(e){return e.split("-")[0]}function M3(e){return e.split("-")[1]}function ii(e){return e==="x"?"y":"x"}function si(e){return e==="y"?"height":"width"}function n2(e){let a=e[0];return a==="t"||a==="b"?"y":"x"}function ui(e){return ii(n2(e))}function Yb(e,a,t){t===void 0&&(t=!1);let l=M3(e),o=ui(e),r=si(o),n=o==="x"?l===(t?"end":"start")?"right":"left":l==="start"?"bottom":"top";return a.reference[r]>a.floating[r]&&(n=Uo(n)),[n,Uo(n)]}function $b(e){let a=Uo(e);return[ci(e),a,ci(a)]}function ci(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Qb=["left","right"],Xb=["right","left"],aL=["top","bottom"],tL=["bottom","top"];function lL(e,a,t){switch(e){case"top":case"bottom":return t?a?Xb:Qb:a?Qb:Xb;case"left":case"right":return a?aL:tL;default:return[]}}function Zb(e,a,t,l){let o=M3(e),r=lL(Se(e),t==="start",l);return o&&(r=r.map(n=>n+"-"+o),a&&(r=r.concat(r.map(ci)))),r}function Uo(e){let a=Se(e);return eL[a]+e.slice(a.length)}function oL(e){var a,t,l,o;return{top:(a=e.top)!=null?a:0,right:(t=e.right)!=null?t:0,bottom:(l=e.bottom)!=null?l:0,left:(o=e.left)!=null?o:0}}function nh(e){return typeof e!="number"?oL(e):{top:e,right:e,bottom:e,left:e}}function x3(e){let{x:a,y:t,width:l,height:o}=e;return{width:l,height:o,top:t,left:a,right:a+l,bottom:t+o,x:a,y:t}}function Jb(e,a,t){let{reference:l,floating:o}=e,r=n2(a),n=ui(a),c=si(n),i=Se(a),s=r==="y",u=l.x+l.width/2-o.width/2,m=l.y+l.height/2-o.height/2,h=l[c]/2-o[c]/2,d;switch(i){case"top":d={x:u,y:l.y-o.height};break;case"bottom":d={x:u,y:l.y+l.height};break;case"right":d={x:l.x+l.width,y:m};break;case"left":d={x:l.x-o.width,y:m};break;default:d={x:l.x,y:l.y}}let f=M3(a);return f&&(d[n]+=h*(f==="end"?1:-1)*(t&&s?-1:1)),d}async function ch(e,a){var t;a===void 0&&(a={});let{x:l,y:o,platform:r,rects:n,elements:c,strategy:i}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:m="floating",altBoundary:h=!1,padding:d=0}=Y2(a,e),f=nh(d),x=c[h?m==="floating"?"reference":"floating":m],p=x3(await r.getClippingRect({element:(t=await(r.isElement==null?void 0:r.isElement(x)))==null||t?x:x.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:s,rootBoundary:u,strategy:i})),g=m==="floating"?{x:l,y:o,width:n.floating.width,height:n.floating.height}:n.reference,M=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),_=await(r.isElement==null?void 0:r.isElement(M))&&await(r.getScale==null?void 0:r.getScale(M))||{x:1,y:1},b=x3(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:M,strategy:i}):g);return{top:(p.top-b.top+f.top)/_.y,bottom:(b.bottom-p.bottom+f.bottom)/_.y,left:(p.left-b.left+f.left)/_.x,right:(b.right-p.right+f.right)/_.x}}var rL=50,tC=async(e,a,t)=>{let{placement:l="bottom",strategy:o="absolute",middleware:r=[],platform:n}=t,c=n.detectOverflow?n:{...n,detectOverflow:ch},i=await(n.isRTL==null?void 0:n.isRTL(a)),s=await n.getElementRects({reference:e,floating:a,strategy:o}),{x:u,y:m}=Jb(s,l,i),h=l,d=0,f={};for(let v=0;v<r.length;v++){let x=r[v];if(!x)continue;let{name:p,fn:g}=x,{x:M,y:_,data:b,reset:z}=await g({x:u,y:m,initialPlacement:l,placement:h,strategy:o,middlewareData:f,rects:s,platform:c,elements:{reference:e,floating:a}});u=M??u,m=_??m,f[p]={...f[p],...b},z&&d<rL&&(d++,typeof z=="object"&&(z.placement&&(h=z.placement),z.rects&&(s=z.rects===!0?await n.getElementRects({reference:e,floating:a,strategy:o}):z.rects),{x:u,y:m}=Jb(s,h,i)),v=-1)}return{x:u,y:m,placement:h,strategy:o,middlewareData:f}},lC=e=>({name:"arrow",options:e,async fn(a){let{x:t,y:l,placement:o,rects:r,platform:n,elements:c,middlewareData:i}=a,{element:s,padding:u=0}=Y2(e,a)||{};if(s==null)return{};let m=nh(u),h={x:t,y:l},d=ui(o),f=si(d),v=await n.getDimensions(s),x=d==="y",p=x?"top":"left",g=x?"bottom":"right",M=x?"clientHeight":"clientWidth",_=r.reference[f]+r.reference[d]-h[d]-r.floating[f],b=h[d]-r.reference[d],z=await(n.getOffsetParent==null?void 0:n.getOffsetParent(s)),y=z?z[M]:0;(!y||!await(n.isElement==null?void 0:n.isElement(z)))&&(y=c.floating[M]||r.floating[f]);let C=_/2-b/2,E=y/2-v[f]/2-1,N=Re(m[p],E),T=Re(m[g],E),P=y-v[f]-T,O=y/2-v[f]/2+C,l1=rh(N,O,P),H1=!i.arrow&&M3(o)!=null&&O!==l1&&r.reference[f]/2-(O<N?N:T)-v[f]/2<0,R1=H1?O<N?O-N:O-P:0;return{[d]:h[d]+R1,data:{[d]:l1,centerOffset:O-l1-R1,...H1&&{alignmentOffset:R1}},reset:H1}}});var oC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(a){var t,l;let{placement:o,middlewareData:r,rects:n,initialPlacement:c,platform:i,elements:s}=a,{mainAxis:u=!0,crossAxis:m=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...x}=Y2(e,a);if((t=r.arrow)!=null&&t.alignmentOffset)return{};let p=Se(o),g=n2(c),M=Se(c)===c,_=await(i.isRTL==null?void 0:i.isRTL(s.floating)),b=h||(M||!v?[Uo(c)]:$b(c)),z=f!=="none";!h&&z&&b.push(...Zb(c,v,f,_));let y=[c,...b],C=await i.detectOverflow(a,x),E=[],N=((l=r.flip)==null?void 0:l.overflows)||[];if(u&&E.push(C[p]),m){let l1=Yb(o,n,_);E.push(C[l1[0]],C[l1[1]])}if(N=[...N,{placement:o,overflows:E}],!E.every(l1=>l1<=0)){var T,P;let l1=(((T=r.flip)==null?void 0:T.index)||0)+1,H1=y[l1];if(H1&&(!(m==="alignment"?g!==n2(H1):!1)||N.every(v1=>n2(v1.placement)===g?v1.overflows[0]>0:!0)))return{data:{index:l1,overflows:N},reset:{placement:H1}};let R1=(P=N.filter(L1=>L1.overflows[0]<=0).sort((L1,v1)=>L1.overflows[1]-v1.overflows[1])[0])==null?void 0:P.placement;if(!R1)switch(d){case"bestFit":{var O;let L1=(O=N.filter(v1=>{if(z){let Q1=n2(v1.placement);return Q1===g||Q1==="y"}return!0}).map(v1=>[v1.placement,v1.overflows.filter(Q1=>Q1>0).reduce((Q1,V0)=>Q1+V0,0)]).sort((v1,Q1)=>v1[1]-Q1[1])[0])==null?void 0:O[0];L1&&(R1=L1);break}case"initialPlacement":R1=c;break}if(o!==R1)return{reset:{placement:R1}}}return{}}}};function eC(e,a){return{top:e.top-a.height,right:e.right-a.width,bottom:e.bottom-a.height,left:e.left-a.width}}function aC(e){return Kb.some(a=>e[a]>=0)}var rC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(a){let{rects:t,platform:l}=a,{strategy:o="referenceHidden",...r}=Y2(e,a);switch(o){case"referenceHidden":{let n=await l.detectOverflow(a,{...r,elementContext:"reference"}),c=eC(n,t.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:aC(c)}}}case"escaped":{let n=await l.detectOverflow(a,{...r,altBoundary:!0}),c=eC(n,t.floating);return{data:{escapedOffsets:c,escaped:aC(c)}}}default:return{}}}}};var nC=new Set(["left","top"]);async function nL(e,a){let{placement:t,platform:l,elements:o}=e,r=await(l.isRTL==null?void 0:l.isRTL(o.floating)),n=Se(t),c=M3(t),i=n2(t)==="y",s=nC.has(n)?-1:1,u=r&&i?-1:1,m=Y2(a,e),{mainAxis:h,crossAxis:d,alignmentAxis:f}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof f=="number"&&(d=c==="end"?f*-1:f),i?{x:d*u,y:h*s}:{x:h*s,y:d*u}}var cC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(a){var t,l;let{x:o,y:r,placement:n,middlewareData:c}=a,i=await nL(a,e);return n===((t=c.offset)==null?void 0:t.placement)&&(l=c.arrow)!=null&&l.alignmentOffset?{}:{x:o+i.x,y:r+i.y,data:{...i,placement:n}}}}},iC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(a){let{x:t,y:l,placement:o,platform:r}=a,{mainAxis:n=!0,crossAxis:c=!1,limiter:i={fn:g=>{let{x:M,y:_}=g;return{x:M,y:_}}},...s}=Y2(e,a),u={x:t,y:l},m=await r.detectOverflow(a,s),h=n2(o),d=ii(h),f=u[d],v=u[h],x=(g,M)=>rh(M+m[g==="y"?"top":"left"],M,M-m[g==="y"?"bottom":"right"]);n&&(f=x(d,f)),c&&(v=x(h,v));let p=i.fn({...a,[d]:f,[h]:v});return{...p,data:{x:p.x-t,y:p.y-l,enabled:{[d]:n,[h]:c}}}}}},sC=function(e){return e===void 0&&(e={}),{options:e,fn(a){var t,l;let{x:o,y:r,placement:n,rects:c,middlewareData:i}=a,{offset:s=0,mainAxis:u=!0,crossAxis:m=!0}=Y2(e,a),h={x:o,y:r},d=n2(n),f=ii(d),v=h[f],x=h[d],p=Y2(s,a),g=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:(t=p.mainAxis)!=null?t:0,crossAxis:(l=p.crossAxis)!=null?l:0};if(u){let b=f==="y"?"height":"width",z=c.reference[f]-c.floating[b]+g.mainAxis,y=c.reference[f]+c.reference[b]-g.mainAxis;v<z?v=z:v>y&&(v=y)}if(m){var M,_;let b=f==="y"?"width":"height",z=nC.has(Se(n)),y=c.reference[d]-c.floating[b]+(z&&((M=i.offset)==null?void 0:M[d])||0)+(z?0:g.crossAxis),C=c.reference[d]+c.reference[b]+(z?0:((_=i.offset)==null?void 0:_[d])||0)-(z?g.crossAxis:0);x<y?x=y:x>C&&(x=C)}return{[f]:v,[d]:x}}}},uC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(a){let{placement:t,rects:l,platform:o,elements:r}=a,{apply:n=()=>{},...c}=Y2(e,a),i=await o.detectOverflow(a,c),s=Se(t),u=M3(t),m=n2(t)==="y",{width:h,height:d}=l.floating,f,v;s==="top"||s==="bottom"?(f=s,v=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(v=s,f=u==="end"?"top":"bottom");let x=d-i.top-i.bottom,p=h-i.left-i.right,g=Re(d-i[f],x),M=Re(h-i[v],p),_=a.middlewareData.shift,b=!_,z=g,y=M;_!=null&&_.enabled.x&&(y=p),_!=null&&_.enabled.y&&(z=x),b&&!u&&(m?y=h-2*X2(i.left,i.right):z=d-2*X2(i.top,i.bottom)),await n({...a,availableWidth:y,availableHeight:z});let C=await o.getDimensions(r.floating);return h!==C.width||d!==C.height?{reset:{rects:!0}}:{}}}};function hi(){return typeof window<"u"}function z3(e){return hC(e)?(e.nodeName||"").toLowerCase():"#document"}function h5(e){var a;return(e==null||(a=e.ownerDocument)==null?void 0:a.defaultView)||window}function Ve(e){var a;return(a=(hC(e)?e.ownerDocument:e.document)||window.document)==null?void 0:a.documentElement}function hC(e){return hi()?e instanceof Node||e instanceof h5(e).Node:!1}function c2(e){return hi()?e instanceof Element||e instanceof h5(e).Element:!1}function Fe(e){return hi()?e instanceof HTMLElement||e instanceof h5(e).HTMLElement:!1}function dC(e){return!hi()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof h5(e).ShadowRoot}function Go(e){let{overflow:a,overflowX:t,overflowY:l,display:o}=i2(e);return/auto|scroll|overlay|hidden|clip/.test(a+l+t)&&o!=="inline"&&o!=="contents"}function mC(e){return/^(table|td|th)$/.test(z3(e))}function jo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var cL=/transform|translate|scale|rotate|perspective|filter/,iL=/paint|layout|strict|content/,_3=e=>!!e&&e!=="none",ih;function mi(e){let a=c2(e)?i2(e):e;return _3(a.transform)||_3(a.translate)||_3(a.scale)||_3(a.rotate)||_3(a.perspective)||!fi()&&(_3(a.backdropFilter)||_3(a.filter))||cL.test(a.willChange||"")||iL.test(a.contain||"")}function fC(e){let a=Aa(e);for(;Fe(a)&&!A7(a);){if(mi(a))return a;if(jo(a))return null;a=Aa(a)}return null}function fi(){return ih==null&&(ih=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ih}function A7(e){return/^(html|body|#document)$/.test(z3(e))}function i2(e){return h5(e).getComputedStyle(e)}function Wo(e){return c2(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Aa(e){if(z3(e)==="html")return e;let a=e.assignedSlot||e.parentNode||dC(e)&&e.host||Ve(e);return dC(a)?a.host:a}function pC(e){let a=Aa(e);return A7(a)?(e.ownerDocument||e).body:Fe(a)&&Go(a)?a:pC(a)}function di(e,a,t){var l;a===void 0&&(a=[]),t===void 0&&(t=!0);let o=pC(e),r=o===((l=e.ownerDocument)==null?void 0:l.body),n=h5(o);if(r){let c=pi(n);return a.concat(n,n.visualViewport||[],Go(o)?o:[],c&&t?di(c):[])}else return a.concat(o,di(o,[],t))}function pi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function MC(e){let a=i2(e),t=parseFloat(a.width)||0,l=parseFloat(a.height)||0,o=Fe(e),r=o?e.offsetWidth:t,n=o?e.offsetHeight:l,c=Io(t)!==r||Io(l)!==n;return c&&(t=r,l=n),{width:t,height:l,$:c}}function xC(e){return c2(e)?e:e.contextElement}function y7(e){let a=xC(e);if(!Fe(a))return K2(1);let t=a.getBoundingClientRect(),{width:l,height:o,$:r}=MC(a),n=(r?Io(t.width):t.width)/l,c=(r?Io(t.height):t.height)/o;return(!n||!Number.isFinite(n))&&(n=1),(!c||!Number.isFinite(c))&&(c=1),{x:n,y:c}}var sL=K2(0);function _C(e){let a=h5(e);return!fi()||!a.visualViewport?sL:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function uL(e,a,t){return a===void 0&&(a=!1),!!t&&a&&t===h5(e)}function Qo(e,a,t,l){a===void 0&&(a=!1),t===void 0&&(t=!1);let o=e.getBoundingClientRect(),r=xC(e),n=K2(1);a&&(l?c2(l)&&(n=y7(l)):n=y7(e));let c=uL(r,t,l)?_C(r):K2(0),i=(o.left+c.x)/n.x,s=(o.top+c.y)/n.y,u=o.width/n.x,m=o.height/n.y;if(r&&l){let h=h5(r),d=c2(l)?h5(l):l,f=h,v=pi(f);for(;v&&d!==f;){let x=y7(v),p=v.getBoundingClientRect(),g=i2(v),M=p.left+(v.clientLeft+parseFloat(g.paddingLeft))*x.x,_=p.top+(v.clientTop+parseFloat(g.paddingTop))*x.y;i*=x.x,s*=x.y,u*=x.x,m*=x.y,i+=M,s+=_,f=h5(v),v=pi(f)}}return x3({width:u,height:m,x:i,y:s})}function vi(e,a){let t=Wo(e).scrollLeft;return a?a.left+t:Qo(Ve(e)).left+t}function zC(e,a){let t=e.getBoundingClientRect(),l=t.left+a.scrollLeft-vi(e,t),o=t.top+a.scrollTop;return{x:l,y:o}}function dL(e){let{elements:a,rect:t,offsetParent:l,strategy:o}=e,r=o==="fixed",n=Ve(l),c=a?jo(a.floating):!1;if(l===n||c&&r)return t;let i={scrollLeft:0,scrollTop:0},s=K2(1),u=K2(0),m=Fe(l);if((m||!r)&&((z3(l)!=="body"||Go(n))&&(i=Wo(l)),m)){let d=Qo(l);s=y7(l),u.x=d.x+l.clientLeft,u.y=d.y+l.clientTop}let h=n&&!m&&!r?zC(n,i):K2(0);return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+u.x+h.x,y:t.y*s.y-i.scrollTop*s.y+u.y+h.y}}function hL(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function mL(e){let a=Wo(e),t=e.ownerDocument.body,l=X2(e.scrollWidth,e.clientWidth,t.scrollWidth,t.clientWidth),o=X2(e.scrollHeight,e.clientHeight,t.scrollHeight,t.clientHeight),r=-a.scrollLeft+vi(e),n=-a.scrollTop;return i2(t).direction==="rtl"&&(r+=X2(e.clientWidth,t.clientWidth)-l),{width:l,height:o,x:r,y:n}}var fL=25;function pL(e,a,t){t===void 0&&(t="viewport");let l=t==="layoutViewport",o=h5(e),r=Ve(e),n=o.visualViewport,c=r.clientWidth,i=r.clientHeight,s=0,u=0;if(n){let h=!fi()||a==="fixed";l?h||(s=-n.offsetLeft,u=-n.offsetTop):(c=n.width,i=n.height,h&&(s=n.offsetLeft,u=n.offsetTop))}if(vi(r)<=0){let h=r.ownerDocument,d=h.body,f=getComputedStyle(d),v=h.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,x=Math.abs(r.clientWidth-d.clientWidth-v),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?x/2:x;p<=fL&&(c-=p)}return{width:c,height:i,x:s,y:u}}function vL(e,a){let t=Qo(e,!0,a==="fixed"),l=t.top+e.clientTop,o=t.left+e.clientLeft,r=y7(e),n=e.clientWidth*r.x,c=e.clientHeight*r.y,i=o*r.x,s=l*r.y;return{width:n,height:c,x:i,y:s}}function vC(e,a,t){let l;if(a==="viewport"||a==="layoutViewport")l=pL(e,t,a);else if(a==="document")l=mL(Ve(e));else if(c2(a))l=vL(a,t);else{let o=_C(e);l={x:a.x-o.x,y:a.y-o.y,width:a.width,height:a.height}}return x3(l)}function gL(e,a){let t=a.get(e);if(t)return t;let l=di(e,[],!1).filter(c=>c2(c)&&z3(c)!=="body"),o=null,r=i2(e).position==="fixed",n=r?Aa(e):e;for(;c2(n)&&!A7(n);){let c=i2(n),i=mi(n),s=o?o.position:r?"fixed":"";!i&&(s==="fixed"||s==="absolute"&&c.position==="static")?l=l.filter(m=>m!==n):o=c,n=Aa(n)}return a.set(e,l),l}function ML(e){let{element:a,boundary:t,rootBoundary:l,strategy:o}=e,n=[...t==="clippingAncestors"?jo(a)?[]:gL(a,this._c):[].concat(t),l],c=vC(a,n[0],o),i=c.top,s=c.right,u=c.bottom,m=c.left;for(let h=1;h<n.length;h++){let d=vC(a,n[h],o);i=X2(d.top,i),s=Re(d.right,s),u=Re(d.bottom,u),m=X2(d.left,m)}return{width:s-m,height:u-i,x:m,y:i}}function xL(e){let{width:a,height:t}=MC(e);return{width:a,height:t}}function _L(e,a,t){let l=Fe(a),o=Ve(a),r=t==="fixed",n=Qo(e,!0,r,a),c={scrollLeft:0,scrollTop:0},i=K2(0);if((l||!r)&&((z3(a)!=="body"||Go(o))&&(c=Wo(a)),l)){let h=Qo(a,!0,r,a);i.x=h.x+a.clientLeft,i.y=h.y+a.clientTop}!l&&o&&(i.x=vi(o));let s=o&&!l&&!r?zC(o,c):K2(0),u=n.left+c.scrollLeft-i.x-s.x,m=n.top+c.scrollTop-i.y-s.y;return{x:u,y:m,width:n.width,height:n.height}}function sh(e){return i2(e).position==="static"}function gC(e,a){if(!Fe(e)||i2(e).position==="fixed")return null;if(a)return a(e);let t=e.offsetParent;return Ve(e)===t&&(t=t.ownerDocument.body),t}function bC(e,a){let t=h5(e);if(jo(e))return t;if(!Fe(e)){let o=Aa(e);for(;o&&!A7(o);){if(c2(o)&&!sh(o))return o;o=Aa(o)}return t}let l=gC(e,a);for(;l&&mC(l)&&sh(l);)l=gC(l,a);return l&&A7(l)&&sh(l)&&!mi(l)?t:l||fC(e)||t}var zL=async function(e){let a=this.getOffsetParent||bC,t=this.getDimensions,l=await t(e.floating);return{reference:_L(e.reference,await a(e.floating),e.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function bL(e){return i2(e).direction==="rtl"}var CL={convertOffsetParentRelativeRectToViewportRelativeRect:dL,getDocumentElement:Ve,getClippingRect:ML,getOffsetParent:bC,getElementRects:zL,getClientRects:hL,getDimensions:xL,getScale:y7,isElement:c2,isRTL:bL};var CC=ch,AC=cC;var yC=iC,HC=oC,RC=uC,uh=rC,SC=lC;var dh=sC,VC=(e,a,t)=>{let l=new Map,o=t??{},r={...CL,...o.platform,_c:l};return tC(e,a,{...o,platform:r})};function Xo(e){let a=e.split("-");return{side:a[0],alignment:a[1]}}var FC=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,AL=e=>{var a;if(e.nodeType!==1)return{};let t=(a=e.ownerDocument)===null||a===void 0?void 0:a.defaultView;return t?t.getComputedStyle(e,null):{}},b3=e=>{let a=e&&FC(e);if(!a)return document.body;switch(a.nodeName){case"HTML":case"BODY":return a.ownerDocument.body;case"#document":return a.body}let{overflow:t,overflowX:l,overflowY:o}=AL(a);return/(auto|scroll|overlay)/.test(t+o+l)?a:b3(a)},hh=e=>{var a;let t=b3(e);return t?t!==((a=t.ownerDocument)===null||a===void 0?void 0:a.body):!1};function C3(e,a){if(a==="window")return e?.ownerDocument.documentElement;if(a==="clippingParents")return"clippingAncestors";if(a==="scrollParent"){let t=b3(e);return t.nodeName==="BODY"&&(t=e?.ownerDocument.documentElement),t}return a}function gi(e,a){return typeof e=="number"||typeof e=="object"&&e!==null?mh(e,a):typeof e=="function"?t=>{let l=e(t);return mh(l,a)}:{mainAxis:a}}var mh=(e,a)=>{if(typeof e=="number")return{mainAxis:e+a};var t;return{...e,mainAxis:((t=e.mainAxis)!==null&&t!==void 0?t:0)+a}};function Ko(e,a){if(typeof e=="number")return e;let{start:t,end:l,...o}=e,r=o,n=a?"end":"start",c=a?"start":"end";return e[n]&&(r.left=e[n]),e[c]&&(r.right=e[c]),r}var yL=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),HL=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),RL=(e,a)=>{let t=e==="above"||e==="below",l=a==="top"||a==="bottom";return t&&l||!t&&!l},Yo=(e,a,t)=>{let l=RL(a,e)?"center":e,o=a&&yL(t)[a],r=l&&HL()[l];return o&&r?`${o}-${r}`:o};var SL=()=>({top:"above",bottom:"below",right:"after",left:"before"}),VL=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},qC=e=>{let{side:a,alignment:t}=Xo(e),l=SL()[a],o=t&&VL(l)[t];return{position:l,alignment:o}};var FL={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 H7(e){return e==null?{}:typeof e=="string"?FL[e]:e}var Mi=A(R(),1);function $o(e,a,t){let l=Mi.useRef(!0),[o]=Mi.useState(()=>({value:e,callback:a,facade:{get current(){return o.value},set current(r){let n=o.value;if(n!==r){if(o.value=r,t&&l.current)return;o.callback(r,n)}}}}));return u1(()=>{l.current=!1},[]),o.callback=a,o.facade}function fh(e){let a;return()=>(a||(a=new Promise(t=>{Promise.resolve().then(()=>{a=void 0,t(e())})})),a)}function ph(e){let{arrow:a,middlewareData:t}=e;if(!t.arrow||!a)return;let{x:l,y:o}=t.arrow;Object.assign(a.style,{left:l!=null?`${l}px`:"",top:o!=null?`${o}px`:""})}function vh(e){var a,t,l;let{container:o,placement:r,middlewareData:n,strategy:c,lowPPI:i,coordinates:s,useTransform:u=!0}=e;if(!o)return;o.setAttribute(Gb,r),o.removeAttribute(th),n.intersectionObserver.intersecting&&o.setAttribute(th,""),o.removeAttribute(lh),!((a=n.hide)===null||a===void 0)&&a.escaped&&o.setAttribute(lh,""),o.removeAttribute(oh),!((t=n.hide)===null||t===void 0)&&t.referenceHidden&&o.setAttribute(oh,"");let m=((l=o.ownerDocument.defaultView)===null||l===void 0?void 0:l.devicePixelRatio)||1,h=Math.round(s.x*m)/m,d=Math.round(s.y*m)/m;if(Object.assign(o.style,{position:c}),u){Object.assign(o.style,{transform:i?`translate(${h}px, ${d}px)`:`translate3d(${h}px, ${d}px, 0)`});return}Object.assign(o.style,{left:`${h}px`,top:`${d}px`})}var gh=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 Mh(e){let a=[],t=e;for(;t;){let l=b3(t);if(e.ownerDocument.body===l){a.push(l);break}if(l.nodeName==="BODY"&&l!==e.ownerDocument.body)break;a.push(l),t=l}return a}function LC(e,a){return new e.ResizeObserver(a)}function qL(e){let{clientWidth:a,clientHeight:t}=e.ownerDocument.documentElement;return a===0&&t===0}function kC(e){let a=!1,{container:t,target:l,arrow:o,strategy:r,middleware:n,placement:c,useTransform:i=!0,disableUpdateOnResize:s=!1}=e,u=t.ownerDocument.defaultView;if(!l||!t||!u)return{updatePosition:()=>{},dispose:()=>{}};let m=s?null:LC(u,p=>{p.every(M=>M.contentRect.width>0&&M.contentRect.height>0)&&v()}),h=!0,d=new Set;Object.assign(t.style,{position:"fixed",left:0,top:0,margin:0});let f=()=>{a||(h&&(Mh(t).forEach(p=>d.add(p)),R0(l)&&Mh(l).forEach(p=>d.add(p)),d.forEach(p=>{p.addEventListener("scroll",v,{passive:!0})}),m?.observe(t),R0(l)&&m?.observe(l),h=!1),Object.assign(t.style,{position:r}),VC(l,t,{placement:c,middleware:n,strategy:r}).then(({x:p,y:g,middlewareData:M,placement:_})=>{var b,z;if(a)return;let y=qL(t)?{...M,hide:{...M.hide,escaped:!1,referenceHidden:!1}}:M;ph({arrow:o,middlewareData:y}),vh({container:t,middlewareData:y,placement:_,coordinates:{x:p,y:g},lowPPI:(u?.devicePixelRatio||1)<=1,strategy:r,useTransform:i});var C,E;t.dispatchEvent(new CustomEvent(Eo,{detail:{placement:_,escaped:(C=(b=y.hide)===null||b===void 0?void 0:b.escaped)!==null&&C!==void 0?C:!1,referenceHidden:(E=(z=y.hide)===null||z===void 0?void 0:z.referenceHidden)!==null&&E!==void 0?E:!1}}))}).catch(p=>{}))},v=fh(()=>f()),x=()=>{a=!0,u&&(u.removeEventListener("scroll",v),u.removeEventListener("resize",v)),d.forEach(p=>{p.removeEventListener("scroll",v)}),d.clear(),m?.disconnect()};return u&&(u.addEventListener("scroll",v,{passive:!0}),u.addEventListener("resize",v)),v(),{updatePosition:v,dispose:x}}var Sh=A(R(),1);function xh(){return{name:"coverTarget",fn:e=>{let{placement:a,rects:t,x:l,y:o}=e,r=Xo(a).side,n={x:l,y:o};switch(r){case"bottom":n.y-=t.reference.height;break;case"top":n.y+=t.reference.height;break;case"left":n.x+=t.reference.width;break;case"right":n.x-=t.reference.width;break}return n}}}function _h(e){let{hasScrollableElement:a,flipBoundary:t,container:l,fallbackPositions:o=[],isRtl:r}=e,n=o.reduce((c,i)=>{let{position:s,align:u}=H7(i),m=Yo(u,s,r);return m&&c.push(m),c},[]);return HC({...a&&{boundary:"clippingAncestors"},...t&&{altBoundary:!0,boundary:C3(l,t)},fallbackStrategy:"bestFit",...n.length&&{fallbackPlacements:n}})}function zh(){return{name:"intersectionObserver",fn:async e=>{let a=e.rects.floating,t=await CC(e,{altBoundary:!0}),l=t.top<a.height&&t.top>0,o=t.bottom<a.height&&t.bottom>0;return{data:{intersecting:l||o}}}}}var bh=e=>({name:"resetMaxSize",fn({middlewareData:a,elements:t}){var l;if(!((l=a.resetMaxSize)===null||l===void 0)&&l.maxSizeAlreadyReset)return{};let{applyMaxWidth:o,applyMaxHeight:r}=e;return o&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-width"),t.floating.style.removeProperty("width")),r&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-height"),t.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Ch(e,a){let{container:t,overflowBoundary:l,overflowBoundaryPadding:o,isRtl:r}=a;return RC({...o&&{padding:Ko(o,r)},...l&&{altBoundary:!0,boundary:C3(t,l)},apply({availableHeight:n,availableWidth:c,elements:i,rects:s}){let u=(d,f,v)=>{if(d&&(i.floating.style.setProperty("box-sizing","border-box"),i.floating.style.setProperty(`max-${f}`,`${v}px`),s.floating[f]>v)){i.floating.style.setProperty(f,`${v}px`);let x=f==="width"?"x":"y";i.floating.style.getPropertyValue(`overflow-${x}`)||i.floating.style.setProperty(`overflow-${x}`,"auto")}},{applyMaxWidth:m,applyMaxHeight:h}=e;u(m,"width",c),u(h,"height",n)}})}function wC(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:a,reference:t},placement:l})=>{let{position:o,alignment:r}=qC(l);return e({positionedRect:a,targetRect:t,position:o,alignment:r})}}function Ah(e){let a=wC(e);return AC(a)}function yh(e){let{hasScrollableElement:a,shiftToCoverTarget:t,disableTether:l,overflowBoundary:o,container:r,overflowBoundaryPadding:n,isRtl:c}=e;return yC({...a&&{boundary:"clippingAncestors"},...t&&{crossAxis:!0,limiter:dh({crossAxis:!0,mainAxis:!1})},...l&&{crossAxis:l==="all",limiter:dh({crossAxis:l!=="all",mainAxis:!1})},...n&&{padding:Ko(n,c)},...o&&{altBoundary:!0,boundary:C3(r,o)}})}var Hh="--fui-match-target-size";function Rh(){return{name:"matchTargetSize",fn:async e=>{let{rects:{reference:a,floating:t},elements:{floating:l},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:o=!1}={}}}=e;if(a.width===t.width||o)return{};let{width:r}=a;return l.style.setProperty(Hh,`${r}px`),l.style.width||(l.style.width=`var(${Hh})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function LL(e,a){let{align:t,arrowPadding:l,autoSize:o,coverTarget:r,disableUpdateOnResize:n,flipBoundary:c,offset:i,overflowBoundary:s,pinned:u,position:m,unstable_disableTether:h,strategy:d,overflowBoundaryPadding:f,fallbackPositions:v,useTransform:x,matchTargetSize:p,shiftToCoverTarget:g}=a;return Sh.useCallback((M,_)=>e({container:M,arrow:_,options:{autoSize:o,disableUpdateOnResize:n,matchTargetSize:p,offset:i,strategy:d,coverTarget:r,flipBoundary:c,overflowBoundary:s,useTransform:x,overflowBoundaryPadding:f,pinned:u,arrowPadding:l,align:t,fallbackPositions:v,shiftToCoverTarget:g,position:m,unstable_disableTether:h}}),[o,n,p,i,d,r,c,s,x,f,u,l,t,v,g,m,h,e])}function TC(e){let{dir:a,targetDocument:t}=r1(),l=a==="rtl",o=LL(Wb(),e),{positionFixed:r}=e;return Sh.useCallback((n,c)=>{let i=hh(n),s=o(n,c),{autoSize:u,disableUpdateOnResize:m,matchTargetSize:h,offset:d,coverTarget:f,flipBoundary:v,overflowBoundary:x,useTransform:p,overflowBoundaryPadding:g,pinned:M,position:_,arrowPadding:b,strategy:z,align:y,fallbackPositions:C,shiftToCoverTarget:E,unstable_disableTether:N}=s,T=gh(u),P=[T&&bh(T),h&&Rh(),d&&Ah(d),f&&xh(),!M&&_h({container:n,flipBoundary:v,hasScrollableElement:i,isRtl:l,fallbackPositions:C}),yh({container:n,hasScrollableElement:i,overflowBoundary:x,disableTether:N,overflowBoundaryPadding:g,isRtl:l,shiftToCoverTarget:E}),T&&Ch(T,{container:n,overflowBoundary:x,overflowBoundaryPadding:g,isRtl:l}),zh(),c&&SC({element:c,padding:b}),uh({strategy:"referenceHidden"}),uh({strategy:"escaped"}),!1].filter(Boolean);return{placement:Yo(y,_,l),middleware:P,strategy:z??r?"fixed":"absolute",disableUpdateOnResize:m,useTransform:p}},[o,l,t,r])}function Vh(e){let a=s2.useRef(null),t=s2.useRef(null),l=s2.useRef(null),o=s2.useRef(null),r=s2.useRef(null),{enabled:n=!0}=e,c=TC(e),i=s2.useCallback(()=>{a.current&&a.current.dispose(),a.current=null;var f;let v=(f=l.current)!==null&&f!==void 0?f:t.current;n&&N2()&&v&&o.current&&(a.current=kC({container:o.current,target:v,arrow:r.current,...c(o.current,r.current)}))},[n,c]),s=J(f=>{l.current=f,i()});s2.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var f;return(f=a.current)===null||f===void 0?void 0:f.updatePosition()},setTarget:f=>{e.target,s(f)}}),[e.target,s]),u1(()=>{var f;s((f=e.target)!==null&&f!==void 0?f:null)},[e.target,s]),u1(()=>{i()},[i]);let u=$o(null,f=>{t.current!==f&&(t.current=f,i())}),m=J(f=>{var v;return(v=e.onPositioningEnd)===null||v===void 0?void 0:v.call(e,f)}),h=$o(null,f=>{if(o.current!==f){var v;(v=o.current)===null||v===void 0||v.removeEventListener(Eo,m),f?.addEventListener(Eo,m),o.current=f,i()}}),d=$o(null,f=>{r.current!==f&&(r.current=f,i())});return{targetRef:u,containerRef:h,arrowRef:d}}var xi=A(R(),1);function Zo(e){return R0(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}var u2=A(R(),1);var BC=B({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;}"]});var DC=u2.useInsertionEffect,kL=e=>{let{className:a,dir:t,focusVisibleRef:l,targetNode:o}=e,r=u2.useMemo(()=>{if(o===void 0||e.disabled)return null;let n=o.ownerDocument.createElement("div");return o.appendChild(n),n},[o,e.disabled]);return u2.useMemo(()=>{r&&(r.className=a,r.setAttribute("dir",t),r.setAttribute("data-portal-node","true"),l.current=r)},[a,t,r,l]),u2.useEffect(()=>()=>{r?.remove()},[r]),r},wL=()=>{let e;function a(l,o){return e||(o&&(e=l.ownerDocument.createElement("div"),l.appendChild(e)),e)}function t(){e&&(e.remove(),e=void 0)}return{get:a,dispose:t}},TL=e=>{"use no memo";let{className:a,dir:t,focusVisibleRef:l,targetNode:o}=e,[r]=u2.useState(wL),n=u2.useMemo(()=>o===void 0||e.disabled?null:new Proxy({},{get(c,i){if(i==="nodeType")return 1;if(i==="remove"){let m=r.get(o,!1);return m&&m.childNodes.length===0&&r.dispose(),()=>{}}let s=r.get(o,!0),u=s?s[i]:void 0;return typeof u=="function"?u.bind(s):u},set(c,i,s){let u=i==="_virtual"||i==="focusVisible",m=u?r.get(o,!1):r.get(o,!0);return u&&!m?!0:m?(Object.assign(m,{[i]:s}),!0):!1}}),[r,o,e.disabled]);return DC(()=>{if(!n)return;let c=a.split(" ").filter(Boolean);return n.classList.add(...c),n.setAttribute("dir",t),n.setAttribute("data-portal-node","true"),l.current=n,()=>{n.classList.remove(...c),n.removeAttribute("dir")}},[a,t,n,l]),u2.useEffect(()=>()=>{n?.remove()},[n]),n},BL=DC?TL:kL,NC=e=>{"use no memo";let{targetDocument:a,dir:t}=r1(),l=cd(),o=v7(),r=BC(),n=oo(),c={dir:t,disabled:e.disabled,focusVisibleRef:o,className:L(n,r.root,e.className),targetNode:l??a?.body};return BL(c)};var Fh=e=>{let{element:a,className:t}=Zo(e.mountNode),l=xi.useRef(null),o=NC({disabled:!!a,className:t}),r=a??o,n={children:e.children,mountNode:r,virtualParentRootRef:l};return xi.useEffect(()=>{if(!r)return;let c=l.current,i=r.contains(c);if(c&&!i)return mo(r,c),()=>{mo(r,void 0)}},[l,r]),n};var PC=A(N8(),1),R7=A(R(),1),qh=e=>R7.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&PC.createPortal(R7.createElement(R7.Fragment,null,e.children,R7.createElement("span",{hidden:!0})),e.mountNode));var A3=e=>{let a=Fh(e);return qh(a)};A3.displayName="Portal";var qe=A(R(),1);var y3=A(R(),1);var DL=e=>-1,NL=e=>{};function OC(e){let{targetDocument:a}=r1(),t=a?.defaultView,l=t?t.setTimeout:DL,o=t?t.clearTimeout:NL,r=y3.useRef(void 0),n=y3.useCallback((i,s)=>(r.current!==void 0&&o(r.current),r.current=l(i,s??0),r.current),[o,l]),c=y3.useCallback(()=>{r.current!==void 0&&(o(r.current),r.current=void 0)},[o]);return y3.useEffect(()=>{let i=e.current;return()=>{(!i||!i.isConnected)&&c()}},[c,e]),[n,c]}var _i=e=>{var a,t,l,o,r,n,c;let i=no(),s=Zn(),{targetDocument:u}=r1(),[m,h]=G0({state:e.visible,initialState:!1}),[d,f]=qe.useState(!1),{children:v,content:x,withArrow:p=!1,positioning:g="above",onVisibleChange:M,relationship:_,showDelay:b=250,hideDelay:z=250,mountNode:y}=e,C={withArrow:p,positioning:g,showDelay:b,hideDelay:z,relationship:_,visible:m,hidden:d,shouldRenderTooltip:m,mountNode:y,components:{content:"div"},content:w.always(x,{defaultProps:{role:"tooltip"},elementType:"div"})};C.content.id=p0("tooltip-",C.content.id);let E=H7(C.positioning),N=E.target!==void 0&&!R0(E.target),T=J(K=>{var a1;f(!N&&K.detail.referenceHidden),(a1=E.onPositioningEnd)===null||a1===void 0||a1.call(E,K)}),P={enabled:C.visible,arrowPadding:8,position:"above",align:"center",offset:4,...E,onPositioningEnd:T};C.withArrow&&(P.offset=gi(P.offset,6));let{targetRef:O,containerRef:l1,arrowRef:H1}=Vh(P),[R1,L1]=OC(l1),v1=qe.useCallback((K,a1)=>{L1(),h(S1=>(a1.visible!==S1&&M?.(K,a1),a1.visible))},[L1,h,M]);C.content.ref=W1(C.content.ref,l1),C.arrowRef=H1,u1(()=>{if(m){var K;let a1={hide:J1=>v1(void 0,{visible:!1,documentKeyboardEvent:J1})};(K=i.visibleTooltip)===null||K===void 0||K.hide(),i.visibleTooltip=a1;let S1=J1=>{J1.key===Lo&&!J1.defaultPrevented&&(a1.hide(J1),J1.preventDefault())};u?.addEventListener("keydown",S1,{capture:!0});let M1=()=>{u?.visibilityState==="hidden"&&a1.hide()};return u?.addEventListener("visibilitychange",M1),()=>{i.visibleTooltip===a1&&(i.visibleTooltip=void 0),u?.removeEventListener("keydown",S1,{capture:!0}),u?.removeEventListener("visibilitychange",M1)}}},[i,u,m,v1]);let Q1=qe.useRef(!1),V0=qe.useCallback(K=>{if(K.type==="focus"&&Q1.current){Q1.current=!1;return}let a1=i.visibleTooltip?0:C.showDelay;R1(()=>{v1(K,{visible:!0})},a1),K.persist()},[R1,v1,C.showDelay,i]),x2=wc(),[f5]=qe.useState(()=>{let K=S1=>{var M1;!((M1=S1.detail)===null||M1===void 0)&&M1.isFocusedProgrammatically&&!x2()&&(Q1.current=!0)},a1=null;return S1=>{a1?.removeEventListener(b0,K),S1?.addEventListener(b0,K),a1=S1}}),M0=qe.useCallback(K=>{let a1=C.hideDelay;K.type==="blur"&&(a1=0,Q1.current=u?.activeElement===K.target),R1(()=>{v1(K,{visible:!1})},a1),K.persist()},[R1,v1,C.hideDelay,u]);C.content.onPointerEnter=c0(C.content.onPointerEnter,L1),C.content.onPointerLeave=c0(C.content.onPointerLeave,M0),C.content.onFocus=c0(C.content.onFocus,L1),C.content.onBlur=c0(C.content.onBlur,M0);let g1=i3(v),_2={},I=(g1==null||(a=g1.props)===null||a===void 0?void 0:a["aria-haspopup"])&&((g1==null||(t=g1.props)===null||t===void 0?void 0:t["aria-expanded"])===!0||(g1==null||(l=g1.props)===null||l===void 0?void 0:l["aria-expanded"])==="true");return _==="label"?typeof C.content.children=="string"?_2["aria-label"]=C.content.children:(_2["aria-labelledby"]=C.content.id,C.shouldRenderTooltip=!0):_==="description"&&(_2["aria-describedby"]=C.content.id,C.shouldRenderTooltip=!0),(s||I)&&(C.shouldRenderTooltip=!1),C.children=s7(v,{..._2,...g1?.props,ref:W1(fa(g1),f5,P.target===void 0?O:void 0),onPointerEnter:J(c0(g1==null||(o=g1.props)===null||o===void 0?void 0:o.onPointerEnter,V0)),onPointerLeave:J(c0(g1==null||(r=g1.props)===null||r===void 0?void 0:r.onPointerLeave,M0)),onFocus:J(c0(g1==null||(n=g1.props)===null||n===void 0?void 0:n.onFocus,V0)),onBlur:J(c0(g1==null||(c=g1.props)===null||c===void 0?void 0:c.onBlur,M0))}),C};var Jo=e=>{"use no memo";let{appearance:a="normal",...t}=e,l=_i(t);return{appearance:a,...l}};var er=e=>b1(fo.Fragment,{children:[e.children,e.shouldRenderTooltip&&F(A3,{mountNode:e.mountNode,children:b1(e.content,{children:[e.withArrow&&F("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]});var zi={content:"fui-Tooltip__content"},PL=B({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"},hidden:{Bcdw1i0:"fd7fpy0",Bkecrkj:"f1aehjj5"},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;}",".fd7fpy0{visibility:hidden;}",".f1aehjj5{pointer-events:none;}",".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;}']}),ar=e=>{let a=PL();return e.content.className=L(zi.content,a.root,e.appearance==="inverted"&&a.inverted,e.visible&&a.visible,e.hidden&&a.hidden,e.content.className),e.arrowClassName=a.arrow,e};var ya=e=>{let a=Jo(e);return ar(a),j("useTooltipStyles_unstable")(a),er(a)};ya.displayName="Tooltip";ya.isFluentTriggerComponent=!0;var UC=A(R(),1);var S7=e=>{let{iconOnly:a,iconPosition:t}=e;return b1(e.root,{children:[t!=="after"&&e.icon&&F(e.icon,{}),!a&&e.root.children,t==="after"&&e.icon&&F(e.icon,{})]})};var bi=A(R(),1),EC=bi.createContext(void 0),OL={},Ci=EC.Provider,Ai=()=>{var e;return(e=bi.useContext(EC))!==null&&e!==void 0?e:OL};var tr=(e,a)=>{let{size:t}=Ai(),{appearance:l="secondary",shape:o="rounded",size:r=t??"medium",...n}=e,c=Lh(n,a);return{appearance:l,shape:o,size:r,...c}},Lh=(e,a)=>{var t,l;let{icon:o,iconPosition:r="before",...n}=e,c=w.optional(o,{elementType:"span"});return{disabled:(t=e.disabled)!==null&&t!==void 0?t:!1,disabledFocusable:(l=e.disabledFocusable)!==null&&l!==void 0?l:!1,iconPosition:r,iconOnly:!!(c?.children&&!e.children),components:{root:"button",icon:"span"},root:w.always(ba(n.as,n),{elementType:"button",defaultProps:{ref:a,type:e.as!=="a"?"button":void 0}}),icon:c}};var lr={root:"fui-Button",icon:"fui-Button__icon"};var T21=`calc(${k.strokeWidthThin} + 0.25px)`,EL=G("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),UL=G("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);}"]),IL=B({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),GL=B({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),jL=B({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),WL=B({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;}"]}),QL=B({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);}"]}),or=e=>{let a=EL(),t=UL(),l=IL(),o=GL(),r=jL(),n=WL(),c=QL(),{appearance:i,disabled:s,disabledFocusable:u,icon:m,iconOnly:h,iconPosition:d,shape:f,size:v}=e;return e.root.className=L(lr.root,a,i&&l[i],l[v],m&&v==="small"&&l.smallWithIcon,m&&v==="large"&&l.largeWithIcon,l[f],(s||u)&&o.base,(s||u)&&o.highContrast,i&&(s||u)&&o[i],i==="primary"&&r.primary,r[v],r[f],h&&n[v],e.root.className),e.icon&&(e.icon.className=L(lr.icon,t,!!e.root.children&&c[d],c[v],e.icon.className)),e};var f1=UC.forwardRef((e,a)=>{let t=tr(e,a);return or(t),j("useButtonStyles_unstable")(t),S7(t)});f1.displayName="Button";var QC=A(R(),1);var V7=A(R(),1);var yi=A(R(),1),IC=yi.createContext(void 0),GC=IC.Provider,Ha=()=>yi.useContext(IC);function G5(e,a){return jC(Ha(),e,a)}function jC(e,a,t){if(!e)return a;a={...a};let{generatedControlId:l,hintId:o,labelFor:r,labelId:n,required:c,validationMessageId:i,validationState:s}=e;if(l){var u,m;(m=(u=a).id)!==null&&m!==void 0||(u.id=l)}if(n&&(!t?.supportsLabelFor||r!==a.id)){var h,d,f;(f=(h=a)[d="aria-labelledby"])!==null&&f!==void 0||(h[d]=n)}if((i||o)&&(a["aria-describedby"]=[i,o,a?.["aria-describedby"]].filter(Boolean).join(" ")),s==="error"){var v,x,p;(p=(v=a)[x="aria-invalid"])!==null&&p!==void 0||(v[x]=!0)}if(c)if(t?.supportsRequired){var g,M;(M=(g=a).required)!==null&&M!==void 0||(g.required=!0)}else{var _,b,z;(z=(_=a)[b="aria-required"])!==null&&z!==void 0||(_[b]=!0)}if(t?.supportsSize){var y,C;(C=(y=a).size)!==null&&C!==void 0||(y.size=e.size)}return a}var WC=A(R(),1);var Hi=(e,a)=>{let{weight:t="regular",size:l="medium",...o}=e,r=kh(o,a);return{weight:t,size:l,...r}},kh=(e,a)=>{let{disabled:t=!1,required:l=!1,...o}=e;return{disabled:t,required:w.optional(l===!0?"*":l||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:w.always(n1("label",{ref:a,...o}),{elementType:"label"})}};var Ri=e=>b1(e.root,{children:[e.root.children,e.required&&F(e.required,{})]});var Si={root:"fui-Label",required:"fui-Label__required"},XL=B({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Vi=e=>{let a=XL();return e.root.className=L(Si.root,a.root,e.disabled&&a.disabled,a[e.size],e.weight==="semibold"&&a.semibold,e.root.className),e.required&&(e.required.className=L(Si.required,a.required,e.disabled&&a.disabled,e.required.className)),e};var F5=WC.forwardRef((e,a)=>{let t=Hi(e,a);return Vi(t),j("useLabelStyles_unstable")(t),Ri(t)});F5.displayName="Label";var rr=(e,a)=>{let{shape:t="square",size:l="medium",...o}=e,r=wh(o,a),n=r.checked==="mixed",c;if(n?t==="circular"?c=V7.createElement(Wc,null):c=l==="large"?V7.createElement(Lb,null):V7.createElement(qb,null):r.checked&&(c=l==="large"?V7.createElement(Fb,null):V7.createElement(Vb,null)),r.indicator){var i,s;(s=(i=r.indicator).children)!==null&&s!==void 0||(i.children=c)}return{shape:t,size:l,...r,components:{...r.components,label:F5},label:w.optional(e.label,{defaultProps:{...r.label,size:"medium"},elementType:F5})}},wh=(e,a)=>{"use no memo";e=G5(e,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:t=!1,required:l,labelPosition:o="after",onChange:r}=e,[n,c]=G0({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),i=U5({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),s=n==="mixed",u=p0("checkbox-",i.primary.id),m={checked:n,disabled:t,labelPosition:o,components:{root:"span",input:"input",indicator:"div",label:"label"},root:w.always(e.root,{defaultProps:{ref:za(),...i.root},elementType:"span"}),input:w.always(e.input,{defaultProps:{type:"checkbox",id:u,ref:a,checked:n===!0,...i.primary},elementType:"input"}),label:w.optional(e.label,{defaultProps:{htmlFor:u,disabled:t,required:l},elementType:"label"}),indicator:w.optional(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};m.input.onChange=c0(m.input.onChange,d=>{let f=d.currentTarget.indeterminate?"mixed":d.currentTarget.checked;r?.(d,{checked:f}),c(f)});let h=W1(m.input.ref);return m.input.ref=h,u1(()=>{h.current&&(h.current.indeterminate=s)},[h,s]),m};var nr=e=>b1(e.root,{children:[F(e.input,{}),e.labelPosition==="before"&&e.label&&F(e.label,{}),e.indicator&&F(e.indicator,{}),e.labelPosition==="after"&&e.label&&F(e.label,{})]});var H3={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var KL=G("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),YL=B({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),$L=G("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));}"]),ZL=B({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));}"]}),JL=G("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;}"]),ek=B({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}]]}),ak=B({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);}"]}),cr=e=>{let{checked:a,disabled:t,labelPosition:l,shape:o,size:r}=e,n=KL(),c=YL();e.root.className=L(H3.root,n,t?c.disabled:a==="mixed"?c.mixed:a?c.checked:c.unchecked,e.root.className);let i=$L(),s=ZL();e.input.className=L(H3.input,i,r==="large"&&s.large,s[l],e.input.className);let u=JL(),m=ek();e.indicator&&(e.indicator.className=L(H3.indicator,u,r==="large"&&m.large,o==="circular"&&m.circular,e.indicator.className));let h=ak();return e.label&&(e.label.className=L(H3.label,h.base,h[r],h[l],e.label.className)),e};var R3=QC.forwardRef((e,a)=>{let t=rr(e,a);return cr(t),j("useCheckboxStyles_unstable")(t),nr(t)});R3.displayName="Checkbox";var XC=A(R(),1);var ir=(e,a)=>{let t=ma(),l=Ha();var o,r;let{size:n=(o=l?.size)!==null&&o!==void 0?o:"medium",appearance:c=(r=t.inputDefaultAppearance)!==null&&r!==void 0?r:"outline",...i}=e,s=Th(i,a);return{size:n,appearance:c,...s}},Th=(e,a)=>{let t=G5(e,{supportsLabelFor:!0,supportsRequired:!0}),[l,o]=G0({state:t.value,defaultState:t.defaultValue,initialState:""}),r=U5({props:t,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),n={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:w.always(t.input,{defaultProps:{type:"text",ref:a,...r.primary},elementType:"input"}),contentAfter:w.optional(t.contentAfter,{elementType:"span"}),contentBefore:w.optional(t.contentBefore,{elementType:"span"}),root:w.always(t.root,{defaultProps:r.root,elementType:"span"})};return n.input.value=l,n.input.onChange=J(c=>{var i;let s=c.target.value;(i=t.onChange)===null||i===void 0||i.call(t,c,{value:s}),o(s)}),n};var sr=e=>b1(e.root,{children:[e.contentBefore&&F(e.contentBefore,{}),F(e.input,{}),e.contentAfter&&F(e.contentAfter,{})]});var S3={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var ea1={root:{small:k.spacingHorizontalSNudge,medium:k.spacingHorizontalMNudge,large:k.spacingHorizontalM},input:{small:k.spacingHorizontalXXS,medium:k.spacingHorizontalXXS,large:k.spacingHorizontalSNudge},combined:{small:k.spacingHorizontalS,medium:k.spacingHorizontalM,large:`calc(${k.spacingHorizontalM} + ${k.spacingHorizontalSNudge})`}},tk=G("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),lk=B({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),ok=G("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),rk=B({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),nk=G("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),ck=B({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),ur=e=>{let{size:a,appearance:t}=e,l=e.input.disabled,o=`${e.input["aria-invalid"]}`=="true",r=t.startsWith("filled"),n=lk(),c=rk(),i=ck();e.root.className=L(S3.root,tk(),n[a],e.contentBefore&&n[`${a}WithContentBefore`],e.contentAfter&&n[`${a}WithContentAfter`],n[t],!l&&t==="outline"&&n.outlineInteractive,!l&&t==="underline"&&n.underlineInteractive,!l&&r&&n.filledInteractive,r&&n.filled,!l&&o&&n.invalid,l&&n.disabled,e.root.className),e.input.className=L(S3.input,ok(),c[a],e.contentBefore&&c[`${a}WithContentBefore`],e.contentAfter&&c[`${a}WithContentAfter`],l&&c.disabled,e.input.className);let s=[nk(),l&&i.disabled,i[a]];return e.contentBefore&&(e.contentBefore.className=L(S3.contentBefore,...s,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=L(S3.contentAfter,...s,e.contentAfter.className)),e};var d2=XC.forwardRef((e,a)=>{let t=ir(e,a);return ur(t),j("useInputStyles_unstable")(t),sr(t)});d2.displayName="Input";var Bh=A(R(),1),ik=Bh.createContext(void 0);var Fi=ik.Provider;var YC=A(R(),1);var qi=A(R(),1),Li=qi.createContext(void 0),dk={},hk=Li.Provider,Dh=()=>qi.useContext(Li)||dk;var dr=(e,a)=>F(Li.Provider,{value:a.radioGroup,children:F(e.root,{})});var hr=(e,a)=>{let{layout:t="vertical",...l}=e,o=Nh(l,a);return{layout:t,...o}},Nh=(e,a)=>{e=G5(e);let t=p0("radiogroup-"),{name:l=t,value:o,defaultValue:r,disabled:n,onChange:c,required:i}=e;return{name:l,value:o,defaultValue:r,disabled:n,required:i,components:{root:"div"},root:{ref:a,role:"radiogroup",...w.always(n1("div",e,["onChange","name"]),{elementType:"div"}),onChange:J(s=>{c&&R0(s.target,{constructorName:"HTMLInputElement"})&&s.target.type==="radio"&&c(s,{value:s.target.value})})}}};var ki={root:"fui-RadioGroup"},mk=B({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),mr=e=>{let a=mk();return e.root.className=L(ki.root,a.root,e.layout==="vertical"&&a.vertical,e.root.className),e};var KC=A(R(),1),Ph=e=>{let{name:a,value:t,defaultValue:l,disabled:o,layout:r,required:n}=e,c=e.root["aria-describedby"];return{radioGroup:KC.useMemo(()=>({name:a,value:t,defaultValue:l,disabled:o,layout:r,required:n,"aria-describedby":c}),[a,t,l,o,r,n,c])}};var Le=YC.forwardRef((e,a)=>{let t=hr(e,a),l=Ph(t);return mr(t),j("useRadioGroupStyles_unstable")(t),dr(t,l)});Le.displayName="RadioGroup";var $C=A(R(),1);var fr=e=>b1(e.root,{children:[F(e.input,{}),F(e.indicator,{}),e.label&&F(e.label,{})]});var pr=(e,a)=>{let t=Oh(e,a);return{...t,components:{...t.components,label:F5},label:w.optional(e.label,{defaultProps:{...t.label},elementType:F5})}},Oh=(e,a)=>{let t=Dh(),{name:l=t.name,checked:o=t.value!==void 0?t.value===e.value:void 0,defaultChecked:r=t.defaultValue!==void 0?t.defaultValue===e.value:void 0,labelPosition:n=t.layout==="horizontal-stacked"?"below":"after",disabled:c=t.disabled,required:i=t.required,"aria-describedby":s=t["aria-describedby"],onChange:u}=e,m=U5({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),h=w.always(e.root,{defaultProps:{ref:za(),...m.root},elementType:"span"}),d=w.always(e.input,{defaultProps:{ref:a,type:"radio",id:p0("radio-",m.primary.id),name:l,checked:o,defaultChecked:r,disabled:c,required:i,"aria-describedby":s,...m.primary},elementType:"input"});d.onChange=c0(d.onChange,x=>u?.(x,{value:x.currentTarget.value}));let f=w.optional(e.label,{defaultProps:{htmlFor:d.id,disabled:d.disabled},elementType:"label"}),v=w.always(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:n,components:{root:"span",input:"input",label:"label",indicator:"div"},root:h,input:d,label:f,indicator:v}};var V3={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"};var fk=G("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;}}"]}),pk=B({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),vk=G("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;}}"]}),gk=B({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;}"]}),Mk=G("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;}"]),xk=B({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;}"]}),vr=e=>{let{labelPosition:a}=e,t=fk(),l=pk();e.root.className=L(V3.root,t,a==="below"&&l.vertical,e.root.className);let o=vk(),r=gk();e.input.className=L(V3.input,o,a==="below"&&r.below,e.indicator.children?r.customIndicator:r.defaultIndicator,e.input.className);let n=Mk();e.indicator.className=L(V3.indicator,n,e.indicator.className);let c=xk();return e.label&&(e.label.className=L(V3.label,c.base,c[a],e.label.className)),e};var h2=$C.forwardRef((e,a)=>{let t=pr(e,a);return vr(t),j("useRadioStyles_unstable")(t),fr(t)});h2.displayName="Radio";var aA=A(R(),1);var ZC=A(R(),1);var gr=(e,a)=>{var t;let{size:l="medium",...o}=e,r=Eh(o,a);var n;return(n=(t=r.indicator).children)!==null&&n!==void 0||(t.children=ZC.createElement(Wc,null)),{...r,components:{...r.components,label:F5},size:l,label:w.optional(e.label,{defaultProps:{size:"medium",...r.label},elementType:F5})}},Eh=(e,a)=>{e=G5(e,{supportsLabelFor:!0,supportsRequired:!0});let{checked:t,defaultChecked:l,disabled:o,disabledFocusable:r=!1,labelPosition:n="after",onChange:c,required:i}=e,s=U5({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),u=p0("switch-",s.primary.id),m=w.always(e.root,{defaultProps:{ref:za(),...s.root},elementType:"div"}),h=w.always(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),d=w.always(e.input,{defaultProps:{checked:t,defaultChecked:l,id:u,ref:a,role:"switch",type:"checkbox",...s.primary,disabled:o&&!r,...r&&{"aria-disabled":!0}},elementType:"input"});d.onChange=c0(d.onChange,v=>c?.(v,{checked:v.currentTarget.checked})),d.onClick=c0(d.onClick,v=>{r&&v.preventDefault()}),d.onKeyDown=c0(d.onKeyDown,v=>{r&&(v.key===" "||v.key==="Enter")&&v.preventDefault()});let f=w.optional(e.label,{defaultProps:{disabled:o||r,htmlFor:u,required:i},elementType:"label"});return{disabledFocusable:r,labelPosition:n,components:{root:"div",indicator:"div",input:"input",label:"label"},root:m,indicator:h,input:d,label:f}};var Mr=e=>{let{labelPosition:a}=e;return b1(e.root,{children:[F(e.input,{}),a!=="after"&&e.label&&F(e.label,{}),F(e.indicator,{}),a==="after"&&e.label&&F(e.label,{})]})};var Ra={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},JC=Ra.root,eA=2,_k=20;var f31=_k-eA,zk=16;var p31=zk-eA,bk=G("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;}}"]}),Ck=B({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Ak=G("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;}}"]}),yk=B({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),Hk=G("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),Rk=B({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),Sk=B({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),xr=e=>{let a=bk(),t=Ck(),l=Ak(),o=yk(),r=Hk(),n=Rk(),c=Sk(),{label:i,labelPosition:s,size:u}=e;return e.root.className=L(Ra.root,a,s==="above"&&t.vertical,e.root.className),e.indicator.className=L(Ra.indicator,l,i&&s==="above"&&o.labelAbove,u==="small"&&o.sizeSmall,e.indicator.className),e.input.className=L(Ra.input,r,i&&n[s],u==="small"&&n.sizeSmall,e.input.className),e.label&&(e.label.className=L(Ra.label,c.base,c[s],u==="small"&&c.sizeSmall,e.label.className)),e};var m2=aA.forwardRef((e,a)=>{let t=gr(e,a);return xr(t),j("useSwitchStyles_unstable")(t),Mr(t)});m2.displayName="Switch";var tA=A(R(),1);var _r=(e,a)=>{let{wrap:t,truncate:l,block:o,italic:r,underline:n,strikethrough:c,size:i,font:s,weight:u,align:m}=e;return{align:m??"start",block:o??!1,font:s??"base",italic:r??!1,size:i??300,strikethrough:c??!1,truncate:l??!1,underline:n??!1,weight:u??"regular",wrap:t??!0,components:{root:"span"},root:w.always(n1("span",{ref:a,...e}),{elementType:"span"})}};var zr=e=>F(e.root,{});var wi={root:"fui-Text"},Vk=B({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;}"]}),br=e=>{let a=Vk();return e.root.className=L(wi.root,a.root,e.wrap===!1&&a.nowrap,e.truncate&&a.truncate,e.block&&a.block,e.italic&&a.italic,e.underline&&a.underline,e.strikethrough&&a.strikethrough,e.underline&&e.strikethrough&&a.strikethroughUnderline,e.size===100&&a.base100,e.size===200&&a.base200,e.size===400&&a.base400,e.size===500&&a.base500,e.size===600&&a.base600,e.size===700&&a.hero700,e.size===800&&a.hero800,e.size===900&&a.hero900,e.size===1e3&&a.hero1000,e.font==="monospace"&&a.monospace,e.font==="numeric"&&a.numeric,e.weight==="medium"&&a.weightMedium,e.weight==="semibold"&&a.weightSemibold,e.weight==="bold"&&a.weightBold,e.align==="center"&&a.alignCenter,e.align==="end"&&a.alignEnd,e.align==="justify"&&a.alignJustify,e.root.className),e};var D=tA.forwardRef((e,a)=>{let t=_r(e,a);return br(t),j("useTextStyles_unstable")(t),zr(t)});D.displayName="Text";var lA=A(R(),1);var Cr=e=>F(e.root,{children:F(e.textarea,{})});var Ar=(e,a)=>{let t=ma(),l=Ha();var o,r;let{size:n=(o=l?.size)!==null&&o!==void 0?o:"medium",appearance:c=(r=t.inputDefaultAppearance)!==null&&r!==void 0?r:"outline",...i}=e;return{...Uh(i,a),size:n,appearance:c}},Uh=(e,a)=>{e=G5(e,{supportsLabelFor:!0,supportsRequired:!0});let{resize:t="none",onChange:l}=e,[o,r]=G0({state:e.value,defaultState:e.defaultValue,initialState:void 0}),n=U5({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),c={resize:t,components:{root:"span",textarea:"textarea"},textarea:w.always(e.textarea,{defaultProps:{ref:a,...n.primary},elementType:"textarea"}),root:w.always(e.root,{defaultProps:n.root,elementType:"span"})};return c.textarea.value=o,c.textarea.onChange=J(i=>{let s=i.target.value;l?.(i,{value:s}),r(s)}),c};var yr={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},Fk=B({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),qk=B({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Lk=B({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;}"]}),Hr=e=>{let{size:a,appearance:t,resize:l}=e,o=e.textarea.disabled,r=`${e.textarea["aria-invalid"]}`=="true",n=t.startsWith("filled"),c=Fk();e.root.className=L(yr.root,c.base,o&&c.disabled,!o&&n&&c.filled,!o&&c[t],!o&&c.interactive,!o&&t==="outline"&&c.outlineInteractive,!o&&r&&c.invalid,e.root.className);let i=qk(),s=Lk();return e.textarea.className=L(yr.textarea,i.base,i[a],s[l],o&&i.disabled,e.textarea.className),e};var F3=lA.forwardRef((e,a)=>{let t=Ar(e,a);return Hr(t),j("useTextareaStyles_unstable")(t),Cr(t)});F3.displayName="Textarea";var sA=A(R(),1);var cA=A(R(),1);var Ih=A(R(),1);var oA=G("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),rA=G("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function nA(){let e=oA(),a=rA(),{targetDocument:t}=r1(),l=Ih.useCallback(()=>{var r;if(!t)return;var n;Math.floor(t.body.getBoundingClientRect().height)>((n=(r=t.defaultView)===null||r===void 0?void 0:r.innerHeight)!==null&&n!==void 0?n:0)&&(t.documentElement.classList.add(e),t.body.classList.add(a))},[t,e,a]),o=Ih.useCallback(()=>{t&&(t.documentElement.classList.remove(e),t.body.classList.remove(a))},[t,e,a]);return{disableBodyScroll:l,enableBodyScroll:o}}var Ti=A(R(),1);function Gh(e,a){let{findFirstFocusable:t}=Fc(),{targetDocument:l}=r1(),o=Ti.useRef(null);return Ti.useEffect(()=>{if(!e)return;let r=o.current&&t(o.current);if(r)r.focus();else{var n;(n=o.current)===null||n===void 0||n.focus()}},[t,e,a,l]),o}var kk={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Rr=jd(void 0),Sr=Rr.Provider,D0=e=>Wd(Rr,(a=kk)=>e(a));var Bi=A(R(),1),wk=!1,jh=Bi.createContext(void 0),F7=jh.Provider,Vr=()=>{var e;return(e=Bi.useContext(jh))!==null&&e!==void 0?e:wk};var Di=A(R(),1),Wh=Di.createContext(void 0),Ni=Wh.Provider,Fr=()=>Di.useContext(Wh);var Qh=ye(C7,{outScale:.85,easing:m1.curveDecelerateMid,duration:m1.durationGentle,exitEasing:m1.curveAccelerateMin,exitDuration:m1.durationGentle});var qr=e=>{let{children:a,modalType:t="modal",onOpenChange:l,inertTrapFocus:o=!1,unmountOnClose:r=!0}=e,n=p0("dialog-title-"),[c,i]=Tk(a),[s,u]=G0({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=J(x=>{l?.(x.event,x),x.event.isDefaultPrevented()||u(x.open)}),h=Gh(s,t),{modalAttributes:d,triggerAttributes:f}=g7({trapFocus:t!=="non-modal",legacyTrapFocus:!o}),v=Qd(Rr);return{components:{surfaceMotion:Qh},inertTrapFocus:o,open:s,modalType:t,content:i,trigger:c,requestOpenChange:m,dialogTitleId:n,isNestedDialog:v,unmountOnClose:r,dialogRef:h,modalAttributes:d,triggerAttributes:f,surfaceMotion:g3(e.surfaceMotion,{elementType:Qh,defaultProps:{visible:s,appear:r,unmountOnExit:r}})}};function Tk(e){let a=cA.Children.toArray(e);switch(a.length){case 2:return a;case 1:return[void 0,a[0]];default:return[void 0,void 0]}}var Et1=A(R(),1);var Lr=(e,a)=>F(Sr,{value:a.dialog,children:b1(F7,{value:a.dialogSurface,children:[e.trigger,e.content&&F(e.surfaceMotion,{children:F(ai,{children:e.content})})]})});var iA=A(R(),1);function Pi(e){let{modalType:a,open:t,dialogRef:l,dialogTitleId:o,isNestedDialog:r,inertTrapFocus:n,requestOpenChange:c,modalAttributes:i,triggerAttributes:s,unmountOnClose:u}=e;return{dialog:iA.useMemo(()=>({open:t,modalType:a,dialogRef:l,dialogTitleId:o,isNestedDialog:r,inertTrapFocus:n,modalAttributes:i,triggerAttributes:s,unmountOnClose:u,requestOpenChange:c}),[t,a,l,o,r,n,i,s,u,c]),dialogSurface:!1}}var $2=sA.memo(e=>{let a=qr(e),t=Pi(a);return Lr(a,t)});$2.displayName="Dialog";var Xh=e=>{let a=Vr(),{children:t,disableButtonEnhancement:l=!1,action:o=a?"close":"open"}=e,r=i3(t),n=D0(m=>m.requestOpenChange),{triggerAttributes:c}=g7(),i=J(m=>{var h,d;r==null||(h=(d=r.props).onClick)===null||h===void 0||h.call(d,m),m.isDefaultPrevented()||n({event:m,type:"triggerClick",open:o==="open"})}),s={...r?.props,ref:fa(r),onClick:i,...c},u=ba(r?.type==="button"||r?.type==="a"?r.type:"div",{...s,type:"button"});return{children:s7(t,l?s:u)}};var Kh=e=>e.children;var kr=e=>{let a=Xh(e);return Kh(a)};kr.displayName="DialogTrigger";kr.isFluentTriggerComponent=!0;var uA=A(R(),1);var wr=(e,a)=>{let{position:t="end",fluid:l=!1}=e;return{components:{root:"div"},root:w.always(n1("div",{ref:a,...e}),{elementType:"div"}),position:t,fluid:l}};var Tr=e=>F(e.root,{});var Oi={root:"fui-DialogActions"},Bk=G("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;}}"]}),Dk=B({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),Br=e=>{let a=Bk(),t=Dk();return e.root.className=L(Oi.root,a,e.position==="start"&&t.gridPositionStart,e.position==="end"&&t.gridPositionEnd,e.fluid&&e.position==="start"&&t.fluidStart,e.fluid&&e.position==="end"&&t.fluidEnd,e.root.className),e};var q3=uA.forwardRef((e,a)=>{let t=wr(e,a);return Br(t),j("useDialogActionsStyles_unstable")(t),Tr(t)});q3.displayName="DialogActions";var dA=A(R(),1);var Dr=(e,a)=>{var t;return{components:{root:"div"},root:w.always(n1((t=e.as)!==null&&t!==void 0?t:"div",{ref:a,...e}),{elementType:"div"})}};var Nr=e=>F(e.root,{});var Ei={root:"fui-DialogBody"},Nk=G("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),Pr=e=>{let a=Nk();return e.root.className=L(Ei.root,a,e.root.className),e};var L3=dA.forwardRef((e,a)=>{let t=Dr(e,a);return Pr(t),j("useDialogBodyStyles_unstable")(t),Nr(t)});L3.displayName="DialogBody";var hA=A(R(),1);var Ui=A(R(),1);var Or={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},Pk=G("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;}"]),Ok=B({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),Ek=G("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Yh=G("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;}}"]}),Er=e=>{let a=Pk(),t=Ek(),l=Ok();return e.root.className=L(Or.root,a,!e.action&&l.rootWithoutAction,e.root.className),e.action&&(e.action.className=L(Or.action,t,e.action.className)),e};var Ur=(e,a)=>{let{action:t}=e,l=D0(r=>r.modalType),o=Yh();return{components:{root:"h2",action:"div"},root:w.always(n1("h2",{ref:a,id:D0(r=>r.dialogTitleId),...e}),{elementType:"h2"}),action:w.optional(t,{renderByDefault:l==="non-modal",defaultProps:{children:Ui.createElement(kr,{disableButtonEnhancement:!0,action:"close"},Ui.createElement("button",{type:"button",className:o,"aria-label":"close"},Ui.createElement(kb,null)))},elementType:"div"})}};var Ir=e=>b1(fo.Fragment,{children:[F(e.root,{children:e.root.children}),e.action&&F(e.action,{})]});var k3=hA.forwardRef((e,a)=>{let t=Ur(e,a);return Er(t),j("useDialogTitleStyles_unstable")(t),Ir(t)});k3.displayName="DialogTitle";var mA=A(R(),1);var $h=ri;var Sa=(e,a)=>{let t=Bo(),l=D0(M=>M.modalType),o=D0(M=>M.isNestedDialog),r=Fr(),n=r??o,c=D0(M=>M.modalAttributes),i=D0(M=>M.dialogRef),s=D0(M=>M.requestOpenChange),u=D0(M=>M.dialogTitleId),m=D0(M=>M.open),h=D0(M=>M.unmountOnClose),d=J(M=>{if(En(e.backdrop)){var _,b;(_=(b=e.backdrop).onClick)===null||_===void 0||_.call(b,M)}l==="modal"&&!M.isDefaultPrevented()&&s({event:M,open:!1,type:"backdropClick"})}),f=J(M=>{var _;(_=e.onKeyDown)===null||_===void 0||_.call(e,M),M.key===Lo&&!M.isDefaultPrevented()&&(s({event:M,open:!1,type:"escapeKeyDown"}),M.preventDefault())}),v=w.optional(e.backdrop,{renderByDefault:l!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),x=v?.appearance;v&&(v.onClick=d,delete v.appearance);let{disableBodyScroll:p,enableBodyScroll:g}=nA();return u1(()=>{if(!m){g();return}if(!(o||l==="non-modal"))return p(),()=>g()},[m,l,o,p,g]),{components:{backdrop:"div",root:"div",backdropMotion:$h},open:m,backdrop:v,isNestedDialog:o,treatBackdropAsNested:n,backdropAppearance:x,unmountOnClose:h,mountNode:e.mountNode,root:w.always(n1("div",{tabIndex:-1,role:l==="alert"?"alertdialog":"dialog","aria-modal":l!=="non-modal","aria-labelledby":e["aria-label"]?void 0:u,"aria-hidden":!h&&!m?!0:void 0,...e,...c,onKeyDown:f,ref:W1(a,t,i)}),{elementType:"div"}),backdropMotion:g3(e.backdropMotion,{elementType:$h,defaultProps:{appear:h,visible:m}}),transitionStatus:void 0}};var Va=(e,a)=>b1(A3,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&F(e.backdropMotion,{children:F(e.backdrop,{})}),F(ti,{children:F(F7,{value:a.dialogSurface,children:F(e.root,{})})})]});var Gr={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},Uk=G("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),Ik=G("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),Gk=B({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),jr=e=>{let{root:a,backdrop:t,open:l,unmountOnClose:o,treatBackdropAsNested:r,backdropAppearance:n}=e,c=Uk(),i=Ik(),s=Gk(),u=n?n==="transparent":r,m=!o&&!l;return a.className=L(Gr.root,c,m&&s.dialogHidden,a.className),t&&(t.className=L(Gr.backdrop,i,m&&s.dialogHidden,u&&s.nestedDialogBackdrop,t.className)),e};function Fa(e){return{dialogSurface:!0}}var w3=mA.forwardRef((e,a)=>{let t=Sa(e,a),l=Fa(t);return jr(t),j("useDialogSurfaceStyles_unstable")(t),Va(t,l)});w3.displayName="DialogSurface";var fA=A(R(),1);var Wr=(e,a)=>{var t;return{components:{root:"div"},root:w.always(n1((t=e.as)!==null&&t!==void 0?t:"div",{ref:a,...e}),{elementType:"div"})}};var Qr=e=>F(e.root,{});var Ii={root:"fui-DialogContent"},jk=G("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),Xr=e=>{let a=jk();return e.root.className=L(Ii.root,a,e.root.className),e};var T3=fA.forwardRef((e,a)=>{let t=Wr(e,a);return Xr(t),j("useDialogContentStyles_unstable")(t),Qr(t)});T3.displayName="DialogContent";var zA=A(R(),1);var Yr=A(R(),1);var Kr=A(R(),1);function pA(e){switch(e){case"info":return Kr.createElement(Ab,null);case"warning":return Kr.createElement(Cb,null);case"error":return Kr.createElement(Sb,null);case"success":return Kr.createElement(Rb,null);default:return null}}var f2=A(R(),1);function vA(e=!1){let{targetDocument:a}=r1(),t=f2.useReducer(()=>({}),{})[1],l=f2.useRef(!1),o=f2.useRef(null),r=f2.useRef(Number.POSITIVE_INFINITY),n=f2.useCallback(i=>{var s,u,m;let h=i[0],d=(s=h==null||(m=h.borderBoxSize)===null||m===void 0||(u=m[0])===null||u===void 0?void 0:u.inlineSize)!==null&&s!==void 0?s:h?.target.getBoundingClientRect().width;if(d===void 0||!h)return;let{target:f}=h;if(!R0(f))return;let v;if(l.current)d>=r.current&&(v=!1);else{let x=f.scrollWidth;d<x&&(v=!0,r.current=x)}typeof v<"u"&&l.current!==v&&(l.current=v,t())},[t]),c=f2.useCallback(i=>{var s;if(!e||!i||!a?.defaultView)return;(s=o.current)===null||s===void 0||s.disconnect();let u=a.defaultView,m=new u.ResizeObserver(n);o.current=m,m.observe(i,{box:"border-box"})},[a,n,e]);return f2.useEffect(()=>()=>{var i;(i=o.current)===null||i===void 0||i.disconnect()},[]),{ref:c,reflowing:l.current}}var q7=A(R(),1),gA=q7.createContext(void 0),Wk={className:"",nodeRef:q7.createRef()},so1=gA.Provider,MA=()=>{var e;return(e=q7.useContext(gA))!==null&&e!==void 0?e:Wk};var Zh=(e,a)=>{let{layout:t="auto",intent:l="info",politeness:o}=e,r=o??l==="info"?"polite":"assertive",n=t==="auto",{ref:c,reflowing:i}=vA(n),s=n?i?"multiline":"singleline":t,{className:u,nodeRef:m}=MA(),h=Yr.useRef(null),d=Yr.useRef(null),{announce:f}=so(),v=p0();return Yr.useEffect(()=>{var x,p;let g=(x=d.current)===null||x===void 0?void 0:x.textContent,M=(p=h.current)===null||p===void 0?void 0:p.textContent,_=[g,M].filter(Boolean).join(",");f(_,{polite:r==="polite",alert:r==="assertive"})},[d,h,f,r]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:w.always(n1("div",{ref:W1(a,c,m),role:"group","aria-labelledby":v,...e}),{elementType:"div"}),icon:w.optional(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:w.optional(e.bottomReflowSpacer,{renderByDefault:s==="multiline",elementType:"div"}),layout:s,intent:l,transitionClassName:u,actionsRef:h,bodyRef:d,titleId:v}},$r=(e,a)=>{let{shape:t="rounded",...l}=e,o=Bo(),r=Zh(l,W1(a,o));return{...r,shape:t,icon:w.optional(e.icon,{defaultProps:{children:pA(r.intent)},renderByDefault:!0,elementType:"div"})}};var B3=A(R(),1),xA=B3.createContext(void 0),Qk={titleId:"",layout:"singleline",actionsRef:B3.createRef(),bodyRef:B3.createRef()},Jh=xA.Provider,Zr=()=>{var e;return(e=B3.useContext(xA))!==null&&e!==void 0?e:Qk};var Jr=(e,a)=>F(Jh,{value:a.messageBar,children:b1(e.root,{children:[e.icon&&F(e.icon,{}),e.root.children,e.bottomReflowSpacer&&F(e.bottomReflowSpacer,{})]})});var L7={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},Xk=G("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),Kk=G("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),Yk=G("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),$k=B({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),Zk=B({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),Jk=B({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),e4=e=>{let a=Xk(),t=Kk(),l=Zk(),o=Jk(),r=Yk(),n=$k();return e.root.className=L(L7.root,a,e.layout==="multiline"&&n.rootMultiline,e.shape==="square"&&n.square,o[e.intent],e.root.className),e.icon&&(e.icon.className=L(L7.icon,t,l[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=L(L7.bottomReflowSpacer,r)),e};var _A=A(R(),1);function a4(e){let{layout:a,actionsRef:t,bodyRef:l,titleId:o}=e;return{messageBar:_A.useMemo(()=>({layout:a,actionsRef:t,bodyRef:l,titleId:o}),[a,t,l,o])}}var w1=zA.forwardRef((e,a)=>{let t=$r(e,a);return e4(t),j("useMessageBarStyles_unstable")(t),Jr(t,a4(t))});w1.displayName="MessageBar";var CA=A(R(),1);var t4=(e,a)=>{let{layout:t="singleline",actionsRef:l}=Zr();return{components:{root:"div",containerAction:"div"},containerAction:w.optional(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:w.always(n1("div",{ref:W1(a,l),...e}),{elementType:"div"}),layout:t,hasActions:!!e.children}};var l4=(e,a)=>b1(Ci,{value:a.button,children:[e.layout==="multiline"&&e.containerAction&&F(e.containerAction,{},"containerAction"),F(e.root,{}),e.layout!=="multiline"&&e.containerAction&&F(e.containerAction,{},"containerAction")]});var o4={root:"fui-MessageBarActions",containerAction:"fui-MessageBarActions__containerAction"},ew=G("r1t4x98y","r15utzv5",[".r1t4x98y{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM);}",".r15utzv5{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-left:var(--spacingHorizontalM);}"]),aw=G("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),tw=B({root:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"],z189sj:["f1p3vkop","f8cewkv"]},noActions:{mc9l5x:"fjseox"}},{d:[".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",".f1p3vkop{padding-right:var(--spacingVerticalM);}",".f8cewkv{padding-left:var(--spacingVerticalM);}",".fjseox{display:none;}"]}),r4=e=>{let a=ew(),t=aw(),l=tw();return e.root.className=L(o4.root,a,e.layout==="multiline"&&l.root,!e.hasActions&&l.noActions,e.root.className),e.containerAction&&(e.containerAction.className=L(o4.containerAction,t,e.containerAction.className)),e};var bA=A(R(),1);function n4(){return{button:bA.useMemo(()=>({size:"small"}),[])}}var Z2=CA.forwardRef((e,a)=>{let t=t4(e,a);return r4(t),j("useMessageBarActionsStyles_unstable")(t),l4(t,n4())});Z2.displayName="MessageBarActions";var yA=A(R(),1);var c4=(e,a)=>{let{bodyRef:t}=Zr();return{components:{root:"div"},root:w.always(n1("div",{ref:W1(a,t),...e}),{elementType:"div"})}};var i4=(e,a)=>F(Fi,{value:a.link,children:F(e.root,{})});var Gi={root:"fui-MessageBarBody"},lw=G("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),s4=e=>{let a=lw();return e.root.className=L(Gi.root,a,e.root.className),e};var AA=A(R(),1);function ji(e){return{link:AA.useMemo(()=>({inline:!0}),[])}}var T1=yA.forwardRef((e,a)=>{let t=c4(e,a),l=ji(t);return s4(t),j("useMessageBarBodyStyles_unstable")(t),i4(t,l)});T1.displayName="MessageBarBody";var k7=A(R(),1),ow={scrollState:"none",setScrollState:()=>({})},HA=k7.createContext(void 0),w7=HA.Provider,Wi=()=>{var e;return(e=k7.useContext(HA))!==null&&e!==void 0?e:ow},T7=()=>{let[e,a]=k7.useState("none");return{setScrollState:a,scrollState:e}};var GA=A(R(),1);var NA=A(R(),1);var kA=A(R(),1);var Qi={drawerSizeVar:"--fui-Drawer--size"},Rr1={overflow:"hidden",width:`var(${Qi.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:k.colorNeutralBackground1,color:k.colorNeutralForeground1},rw=B({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),nw=B({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),Xi=({position:e,size:a})=>{let t=rw(),l=nw();return L(t[e],e==="bottom"&&l[a],e!=="bottom"&&t[a])};var em={small:m1.durationGentle,medium:m1.durationSlow,large:m1.durationSlower,full:m1.durationUltraSlow};function RA(e,a,t){let l=`translate3d(var(${a}), 0, 0)`,o=`translate3d(calc(var(${a}) * -1), 0, 0)`,r=`translate3d(0, var(${a}), 0)`;return e==="start"?t==="ltr"?o:l:e==="end"?t==="ltr"?l:o:e==="bottom"?r:"translate3d(0, 0, 0)"}var am=r2(({position:e,size:a,dir:t})=>{let l=[{transform:RA(e,Qi.drawerSizeVar,t),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],o=em[a];return{enter:{keyframes:l,duration:o,easing:m1.curveDecelerateMid},exit:{keyframes:[...l].reverse(),duration:o,easing:m1.curveAccelerateMin}}}),SA=r2(({position:e,size:a,dir:t})=>{let l=[{transform:RA(e,Qi.drawerSizeVar,t),boxShadow:`0px ${k.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:k.shadow64,opacity:1}],o=em[a];return{enter:{keyframes:l,duration:o,easing:m1.curveDecelerateMid},exit:{keyframes:[...l].reverse(),duration:o,easing:m1.curveAccelerateMin}}}),VA=r2(({size:e})=>{let a=em[e],t=m1.curveLinear;return{enter:Q2({direction:"enter",duration:a,easing:t}),exit:Q2({direction:"exit",duration:a,easing:t})}});function u4(e){let{open:a=!1,size:t="small",position:l="start",unmountOnClose:o=!0}=e;return{size:t,position:l,open:a,unmountOnClose:o}}var qA=A(R(),1);var cw=G("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),iw=B({nested:{De3pzq:"f1c21dwh"},drawerHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),FA=e=>{let{treatBackdropAsNested:a,backdrop:t,open:l,unmountOnClose:o}=e,r=cw(),n=iw(),c=!o&&!l;return t&&(t.className=L(r,a&&n.nested,c&&n.drawerHidden,t.className)),e};var d4=qA.forwardRef((e,a)=>{let t=Sa({...e,as:e.as},a),l=Fa(t);return FA(t),j("useOverlayDrawerSurfaceStyles_unstable")(t),Va(t,l)});d4.displayName="OverlayDrawerSurface";var LA=A(R(),1);function tm(e,a,t){return e===null?null:{...e,children:(l,o)=>e?.children?e.children(a,{...o,...t}):LA.createElement(a,{...o,...t},o.children)}}var sw={active:!0,canRender:!0,ref:kA.createRef(),type:"idle"},wA=(e,a)=>{let{open:t,size:l,position:o,unmountOnClose:r}=u4(e),{modalType:n="modal",inertTrapFocus:c,onOpenChange:i,backdropMotion:s,surfaceMotion:u,mountNode:m}=e,{dir:h,targetDocument:d}=r1(),{element:f}=Zo(m),v=!!(f&&d?.body!==f),x=w.resolveShorthand(e.backdrop),p=n!=="non-modal"&&x!==null,g=w.always({...e,ref:a,unmountOnClose:r,backdrop:p?{...x}:null,backdropMotion:tm(s,VA,{size:l})},{elementType:d4}),M=w.always({open:t,onOpenChange:i,inertTrapFocus:c,modalType:n,unmountOnClose:r,surfaceMotion:tm(u,SA,{position:o,size:l,dir:h}),children:null},{elementType:$2});return{components:{root:d4,dialog:$2},root:g,dialog:M,open:t,size:l,position:o,hasMountNodeElement:v,unmountOnClose:r,mountNode:m,motion:sw}};var TA=(e,a)=>F(w7,{value:a,children:F(Ni,{value:!1,children:F(e.dialog,{children:F(e.root,{})})})});var BA={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},uw=G("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[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);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[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){.r7dfyj8[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){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),dw=B({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),DA=e=>{let a=Xi(e),t=uw(),l=dw(),o=e.hasMountNodeElement&&l.absolute,r=e.root.backdrop;return e.root.className=L(BA.root,a,t,l[e.position],o,e.root.className),r&&(r.className=L(BA.backdrop,o,r.className)),e};var Ki=NA.forwardRef((e,a)=>{let t=wA(e,a),l=T7();return DA(t),j("useDrawerOverlayStyles_unstable")(t),j("useOverlayDrawerStyles_unstable")(t),TA(t,l)});Ki.displayName="OverlayDrawer";var UA=A(R(),1);var Yi=A(R(),1);var hw={active:!0,canRender:!0,ref:Yi.createRef(),type:"idle"},PA=(e,a)=>{let{size:t,position:l,open:o,unmountOnClose:r}=u4(e),{separator:n=!1,surfaceMotion:c,...i}=e,{dir:s}=r1(),[u,m]=Yi.useState(o?"enter":"exit"),h=mw(i,a);return{...h,components:{...h.components,surfaceMotion:am},size:t,separator:n,animationDirection:u,surfaceMotion:g3(c,{elementType:am,defaultProps:{position:l,size:t,dir:s,visible:o,appear:r,unmountOnExit:r,onMotionFinish:(d,{direction:f})=>m(f),onMotionStart:(d,{direction:f})=>{f==="enter"&&m("enter")}}}),motion:hw}},mw=(e,a)=>{let{position:t,open:l,unmountOnClose:o}=u4(e);return{components:{root:"div"},root:w.always(n1("div",{...e,ref:a,"aria-hidden":!o&&!l?!0:void 0}),{elementType:"div"}),open:l,position:t,unmountOnClose:o}};var OA=(e,a)=>F(w7,{value:a,children:e.surfaceMotion?F(e.surfaceMotion,{children:F(e.root,{})}):F(e.root,{})});var fw={root:"fui-InlineDrawer"},pw=G("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),F41=`1px solid ${k.colorNeutralBackground3}`,vw=B({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"},animationExitStart:{a9b677:"f3tsq5r",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"},animationExitEnd:{a9b677:"f3tsq5r",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"},animationExitBottom:{Bqenvij:"fniina8",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"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}",".f3tsq5r{width:0;}",[".f3bhgqh{border:none;}",{p:-2}],[".f3bhgqh{border:none;}",{p:-2}],".fniina8{height:0;}",[".f3bhgqh{border:none;}",{p:-2}]]});function gw(e,a){if(e.separator)switch(e.position){case"start":return a.separatorStart;case"end":return a.separatorEnd;case"bottom":return a.separatorBottom;default:return}}function Mw(e,a){switch(e.position){case"start":return a.animationExitStart;case"end":return a.animationExitEnd;case"bottom":return a.animationExitBottom;default:return}}var EA=e=>{let a=pw(),t=Xi(e),l=vw();return e.root.className=L(fw.root,a,t,gw(e,l),l[e.position],e.animationDirection==="exit"&&Mw(e,l),e.root.className),e};var $i=UA.forwardRef((e,a)=>{let t=PA(e,a),l=T7();return EA(t),j("useDrawerInlineStyles_unstable")(t),j("useInlineDrawerStyles_unstable")(t),OA(t,l)});$i.displayName="InlineDrawer";var Zi=(e,a)=>{let t=e.type==="inline"?$i:Ki,l=w.always({ref:a,...e},{elementType:t});return{components:{root:t},root:l}};var Ji=(e,a)=>F(w7,{value:a,children:F(e.root,{})});var IA={root:"fui-Drawer"},e8=e=>(e.root.className=L(IA.root,e.root.className),e);var D3=GA.forwardRef((e,a)=>{let t=Zi(e,a),l=T7();return e8(t),j("useDrawerStyles_unstable")(t),Ji(t,l)});D3.displayName="Drawer";var h4=A(R(),1);var xw=({scrollTop:e,scrollHeight:a,clientHeight:t})=>a<=t?"none":e===0?"top":e+t===a?"bottom":"middle",m4=(e,a)=>{let{targetDocument:t}=r1(),l=t?.defaultView,{setScrollState:o}=Wi(),r=h4.useRef(null),n=W1(a,r),[c,i]=uo(),[s,u]=uo(),m=h4.useCallback(()=>{r.current&&o(xw(r.current))},[o]),h=h4.useCallback(()=>{i(),c(m)},[i,c,m]);return u1(m,[e.children,m]),u1(()=>{if(!r.current||!l?.ResizeObserver)return;let d=new l.ResizeObserver(()=>s(m));return d.observe(r.current),()=>{d.disconnect(),u()}},[s,u,m,l]),{components:{root:"div"},root:w.always(n1("div",{ref:n,...e,onScroll:c0(e.onScroll,h)}),{elementType:"div"})}};var f4=e=>F(e.root,{});var a8={root:"fui-DrawerBody"},_w=G("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),p4=e=>{let a=_w();return e.root.className=L(a8.root,a,e.root.className),e};var v4=(e,a)=>{let{scrollState:t}=Wi();return{components:{root:"header"},root:w.always(n1("header",{ref:a,role:"none",...e}),{elementType:"header"}),scrollState:t}};var g4=e=>F(e.root,{});var t8={root:"fui-DrawerHeader"},bw=G("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),Cw=B({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),M4=e=>{let a=bw(),t=Cw();return e.root.className=L(t8.root,a,e.scrollState!=="none"&&t.separator,["middle","bottom"].includes(e.scrollState)&&t.separatorVisible,e.root.className),e};var XA=A(R(),1);var p2=A(R(),1);function yw({defaultOpenCategories:e,multiple:a}){if(e!==void 0)return Array.isArray(e)?a?e:[e[0]]:[e]}var Hw=(e,a,t)=>t?a.includes(e)?a.filter(l=>l!==e):[...a,e]:a[0]===e?[]:[e],B7=(e,a)=>{let{density:t="medium"}=e;return{...jA(e,a),density:t,tabbable:!1}},jA=(e,a)=>{let{onNavItemSelect:t,onNavCategoryItemToggle:l,multiple:o=!0,openCategories:r,selectedCategoryValue:n,selectedValue:c,defaultOpenCategories:i,defaultSelectedValue:s,defaultSelectedCategoryValue:u}=e,m=p2.useRef(null),[h,d]=G0({state:r,defaultState:yw({defaultOpenCategories:i,multiple:o}),initialState:[]}),[f,v]=G0({state:n,defaultState:u,initialState:void 0}),[x,p]=G0({state:c,defaultState:s,initialState:void 0}),g=p2.useRef(void 0),M=p2.useRef(void 0),_=p2.useRef(void 0),b=p2.useRef(void 0);g.current!==x&&(M.current=g.current,g.current=x),_.current!==f&&(b.current=_.current,_.current=f);let z=J((P,O)=>{p(O.value),v(O.categoryValue?O.categoryValue:""),t?.(P,O)}),y=J((P,O)=>{if(O.categoryValue!==void 0){let l1=Hw(O.categoryValue,h??[],o);l?.(P,O),d(l1)}}),C=p2.useRef({}),E=p2.useCallback(P=>{C.current[JSON.stringify(P.value)]=P},[]),N=p2.useCallback(P=>{delete C.current[JSON.stringify(P.value)]},[]),T=p2.useCallback(()=>({selectedValue:g.current,previousSelectedValue:M.current,selectedCategoryValue:_.current,previousSelectedCategoryValue:b.current,registeredNavItems:C.current}),[]);return{components:{root:"div"},root:w.always(n1("div",{ref:W1(a,m),...e}),{elementType:"div"}),openCategories:h,selectedValue:x,selectedCategoryValue:f,onRegister:E,onUnregister:N,onSelect:z,getRegisteredNavItems:T,onRequestNavCategoryItemToggle:y,multiple:o}};var l8=A(R(),1),Rw={selectedValue:void 0,selectedCategoryValue:void 0,onRegister:()=>{},onUnregister:()=>{},onSelect:()=>{},getRegisteredNavItems:()=>({registeredNavItems:{}}),onRequestNavCategoryItemToggle(){},openCategories:[],multiple:!0,density:"medium",tabbable:!1},WA=l8.createContext(void 0),x4=WA.Provider,D7=()=>l8.useContext(WA)||Rw;var o8=(e,a)=>F(x4,{value:a.nav,children:F(e.root,{})});var lm={root:"fui-Nav"},Sw=B({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}"]}),r8=e=>{let a=Sw();return e.root.className=L(lm.root,a.root,e.root.className),e};var QA=A(R(),1);function _4(e){let{selectedValue:a,selectedCategoryValue:t,onRegister:l,onUnregister:o,onSelect:r,getRegisteredNavItems:n,onRequestNavCategoryItemToggle:c,openCategories:i,multiple:s,density:u,onNavItemSelect:m,tabbable:h}=e;return{nav:QA.useMemo(()=>({selectedValue:a,selectedCategoryValue:t,onSelect:r,onRegister:l,onUnregister:o,getRegisteredNavItems:n,onRequestNavCategoryItemToggle:c,openCategories:i,multiple:s,density:u,onNavItemSelect:m,tabbable:h}),[a,t,r,l,o,n,c,i,s,u,m,h])}}var N7=XA.forwardRef((e,a)=>{let t=B7(e,a),l=_4(t);return r8(t),j("useHamburgerStyles_unstable")(t),o8(t,l)});N7.displayName="Nav";var tn1={defaultDrawerWidth:260,indicatorOffset:16,indicatorWidth:4,indicatorHeight:20,backgroundColor:k.colorNeutralBackground4,backgroundColorHover:k.colorNeutralBackground4Hover,backgroundColorPressed:k.colorNeutralBackground4Pressed,animationTokens:{animationDuration:k.durationFaster,animationFillMode:"both",animationTimingFunction:k.curveLinear},transitionTokens:{transitionDuration:k.durationFaster,transitionTimingFunction:k.curveLinear,transitionProperty:"background"}},KA=G("rdi7s9k","r94071",[".rdi7s9k{display:flex;text-transform:none;position:relative;justify-content:start;align-items:flex-start;text-align:left;gap:var(--spacingVerticalL);padding:var(--spacingVerticalMNudge) var(--spacingHorizontalS) var(--spacingVerticalMNudge) var(--spacingHorizontalMNudge);background-color:var(--colorNeutralBackground4);border-radius:var(--borderRadiusMedium);color:var(--colorNeutralForeground2);text-decoration-line:none;border:none;box-sizing:border-box;cursor:pointer;transition-duration:var(--durationFaster);transition-timing-function:var(--curveLinear);transition-property:background;width:100%;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}",".rdi7s9k:hover{background-color:var(--colorNeutralBackground4Hover);}",".rdi7s9k:focus-visible{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);outline-offset:calc(var(--strokeWidthThick) * -1);}",".r94071{display:flex;text-transform:none;position:relative;justify-content:start;align-items:flex-start;text-align:right;gap:var(--spacingVerticalL);padding:var(--spacingVerticalMNudge) var(--spacingHorizontalMNudge) var(--spacingVerticalMNudge) var(--spacingHorizontalS);background-color:var(--colorNeutralBackground4);border-radius:var(--borderRadiusMedium);color:var(--colorNeutralForeground2);text-decoration-line:none;border:none;box-sizing:border-box;cursor:pointer;transition-duration:var(--durationFaster);transition-timing-function:var(--curveLinear);transition-property:background;width:100%;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}",".r94071:hover{background-color:var(--colorNeutralBackground4Hover);}",".r94071:focus-visible{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);outline-offset:calc(var(--strokeWidthThick) * -1);}"]),YA=B({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1434i56","f1jkyjtc"]}},{d:[[".f1434i56{padding:var(--spacingVerticalXS) var(--spacingHorizontalS) var(--spacingVerticalXS) var(--spacingHorizontalMNudge);}",{p:-1}],[".f1jkyjtc{padding:var(--spacingVerticalXS) var(--spacingHorizontalMNudge) var(--spacingVerticalXS) var(--spacingHorizontalS);}",{p:-1}]]}),$A=B({selected:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),ZA=B({base:{E3zdtr:"f1mdlcz9",xr36ep:"fpil94b",B67388b:"f90z1up",Bitv4sc:"f2ic3ny",Br128sd:"f1xz7mvd",rjyhj6:"f3i5gj0",Bjyk6c5:"fi4v1pz",Dlnsje:"f1tvrmnx",a2br6o:"f1p1ggug",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f3b9emi",Bsft5z2:"f13zj6fq",vikyaa:0,Brlscjf:0,vvp1qr:0,t65l24:"f1ak99p5",rc3c53:"fmnu42u"}},{d:[".f1mdlcz9::after{position:absolute;}",".fpil94b::after{animation-duration:var(--durationFaster);}",".f90z1up::after{animation-fill-mode:both;}",".f2ic3ny::after{animation-timing-function:var(--curveLinear);}",".f1xz7mvd::after{animation-name:f1ayorr4;}",".f3i5gj0::after{-webkit-margin-start:-16px;margin-inline-start:-16px;}",".fi4v1pz::after{background-color:var(--colorCompoundBrandForeground1);}",".f1tvrmnx::after{height:20px;}",".f1p1ggug::after{width:4px;}",[".f3b9emi::after{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f13zj6fq::after{content:"";}'],k:["@keyframes f1ayorr4{0%{background:transparent;}100%{background:var(--colorCompoundBrandForeground1);}}"],m:[["@media (forced-colors: active){.f1ak99p5::after{outline:solid 2px var(--colorTransparentStroke);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fmnu42u::after{outline-offset:-2px;}}",{m:"(forced-colors: active)"}]]}),JA=B({base:{mc9l5x:"f13qh94s",zoa1oz:"fngvled",sshi5w:"f16gbxbe",Bf4jedk:"f11u7vat",Bt984gj:"f1w4ww9t",Brf1p80:"f4d9j23",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",B9gejnh:0,yr4pdu:0,Bvkmzld:0,mqdk8l:0,Gbjhqp:"f1uiug86",obb2bi:"fwrh02z",D0sxk3:"f16u1re",Esdz9e:0,Bqil8sh:0,Bbom3er:0,djjtid:0,mz70lj:"f1jsjwoh",t6yez3:"f8bsbmo"},selected:{C9vb3z:"f5rs5gh",ux3ctl:"f1ioc1t6",Ba906uv:"fey0lwf",D0sxk3:"fxoiby5",hndn0g:"fnh0dvc",cw2nnk:"fp7jrvw",Bkztwl0:"fdt4y6x",H8nmoi:"fvl64og",ipgedg:"ffh1t26"}},{d:[".f13qh94s{display:grid;}",".fngvled{grid-template-areas:overlay-area;}",".f16gbxbe{min-height:20px;}",".f11u7vat{min-width:20px;}",".f1w4ww9t{align-items:top;}",".f4d9j23{justify-content:center;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1uiug86 .fui-Icon-filled{grid-area:overlay-area;}",{p:-1}],".fwrh02z .fui-Icon-filled{color:transparent;}",".f16u1re .fui-Icon-filled{display:none;}",[".f1jsjwoh .fui-Icon-regular{grid-area:overlay-area;}",{p:-1}],".f8bsbmo .fui-Icon-regular{display:inline;}",".f5rs5gh .fui-Icon-filled{animation-duration:var(--durationFaster);}",".f1ioc1t6 .fui-Icon-filled{animation-fill-mode:both;}",".fey0lwf .fui-Icon-filled{animation-timing-function:var(--curveLinear);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".fnh0dvc .fui-Icon-filled{animation-name:f9t3kp0;}",".fp7jrvw .fui-Icon-regular{animation-duration:var(--durationFaster);}",".fdt4y6x .fui-Icon-regular{animation-fill-mode:both;}",".fvl64og .fui-Icon-regular{animation-timing-function:var(--curveLinear);}",".ffh1t26 .fui-Icon-regular{animation-name:fvunsy5;}"],k:["@keyframes f9t3kp0{0%{opacity:0;color:transparent;}100%{opacity:1;color:var(--colorNeutralForeground2BrandSelected);}}","@keyframes fvunsy5{0%{opacity:1;color:var(--colorNeutralForeground2);}100%{opacity:0;color:transparent;}}"]});var ay=A(R(),1);var n8=A(R(),1);var c8=(e,a)=>{let{density:t="medium"}=D7();return{...ey(e,a),density:t}},ey=(e,a)=>{let{onClick:t,value:l,icon:o,as:r,href:n}=e,{selectedValue:c,onRegister:i,onUnregister:s,onSelect:u}=D7(),m=r||(n?"a":"button"),h=c===l,d=n8.useRef(null),f=J(x=>{t?.(x),!x.defaultPrevented&&R0(x.target)&&u(x,{type:"click",event:x,value:l})}),v=w.always(n1(m,ba(m,{"aria-current":h?"page":"false",...e})),{elementType:m,defaultProps:{ref:a,type:m}});return v.onClick=f,n8.useEffect(()=>(i({value:l,ref:d}),()=>{s({value:l,ref:d})}),[i,s,d,l]),{components:{root:m,icon:"span"},root:v,icon:w.optional(o,{elementType:"span"}),selected:h,value:l}};var i8=e=>b1(e.root,{children:[e.icon&&F(e.icon,{}),e.root.children]});var s8={root:"fui-NavItem",icon:"fui-NavItem__icon"},u8=e=>{let a=KA(),t=YA(),l=$A(),o=ZA(),r=JA(),{selected:n,density:c}=e;return e.root.className=L(s8.root,a,c==="small"&&t.root,n&&o.base,n&&l.selected,e.root.className),e.icon&&(e.icon.className=L(s8.icon,r.base,n&&r.selected,e.icon.className)),e};var N3=ay.forwardRef((e,a)=>{let t=c8(e,a);return u8(t),j("useNavItemStyles_unstable")(t),i8(t)});N3.displayName="NavItem";var ty=A(R(),1);var z4=(e,a)=>{let{size:t=void 0,tabbable:l=!1}=e;return{...B7(e,a),size:t,tabbable:l,components:{root:D3},root:w.always({ref:a,role:"navigation",...e},{elementType:D3})}};var b4=(e,a)=>F(x4,{value:a.nav,children:F(e.root,{})});var d8={root:"fui-NavDrawer"},Vw=B({root:{De3pzq:"f1ctqxl6",Bt984gj:"f3gca8"},defaultWidth:{a9b677:"f12j6lm0"}},{d:[".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f3gca8{align-items:unset;}",".f12j6lm0{width:260px;}"]}),C4=e=>{let{size:a}=e,t=Vw();return e.root.className=L(d8.root,t.root,!a&&t.defaultWidth,e.root.className),e};var P3=ty.forwardRef((e,a)=>{let t=z4(e,a),l=_4(t);return C4(t),j("useNavDrawerStyles_unstable")(t),b4(t,l)});P3.displayName="NavDrawer";var ly=A(R(),1);var h8={root:"fui-NavDrawerHeader"},Fw=B({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1r2n0t9",B1hrpyx:"f80d8h0",Dbcxam:0,rjzwhg:0,Bblux5w:"fesrmp8"}},{d:[[".f1r2n0t9{margin:unset;}",{p:-1}],".f80d8h0{-webkit-padding-start:14px;padding-inline-start:14px;}",[".fesrmp8{padding-block:5px;}",{p:-1}]]}),A4=e=>{M4(e);let a=Fw();return e.root.className=L(h8.root,a.root,e.root.className),e};var y4=(e,a)=>v4(e,a);var O3=ly.forwardRef((e,a)=>{let t=y4(e,a);return A4(t),j("useNavDrawerHeaderStyles_unstable")(t),g4(t)});O3.displayName="NavDrawerHeader";var oy=A(R(),1);var H4=(e,a)=>{let{tabbable:t}=D7(),l=Vc({axis:"vertical",circular:!0,tabbable:t});return m4({...l,...e},a)};var m8={root:"fui-NavDrawerBody"},qw=B({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fif7vu7","f1htewbf"],Bt984gj:"f3gca8",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"f1j0q4x9"}},{d:[[".fif7vu7{padding:0 var(--spacingHorizontalXS) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f1htewbf{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalXS);}",{p:-1}],".f3gca8{align-items:unset;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f1j0q4x9{row-gap:var(--spacingVerticalXXS);}"]}),R4=e=>{p4(e);let a=qw();return e.root.className=L(m8.root,a.root,e.root.className),e};var E3=oy.forwardRef((e,a)=>{let t=H4(e,a);return R4(t),j("useNavDrawerBodyStyles_unstable")(t),f4(t)});E3.displayName="NavDrawerBody";var e1=A(R(),1);var W0=On({shell:{minHeight:"100vh",backgroundColor:k.colorNeutralBackground2,color:k.colorNeutralForeground1},skipLink:{position:"absolute",left:"-9999px",top:0,zIndex:100,padding:k.spacingVerticalXS,backgroundColor:k.colorNeutralBackground1,":focus":{left:k.spacingHorizontalS}},header:{position:"sticky",top:0,zIndex:20,backgroundColor:k.colorNeutralBackground1,borderBottom:`1px solid ${k.colorNeutralStroke2}`},headerInner:{display:"flex",alignItems:"center",gap:k.spacingHorizontalM,flexWrap:"wrap",maxWidth:"1440px",margin:"0 auto",padding:`${k.spacingVerticalS} ${k.spacingHorizontalL}`},brand:{display:"flex",alignItems:"center",gap:k.spacingHorizontalXS,fontWeight:k.fontWeightSemibold,color:k.colorNeutralForeground1,textDecorationLine:"none"},breadcrumb:{display:"flex",alignItems:"center",gap:k.spacingHorizontalXS,flexWrap:"wrap",minWidth:0,fontSize:k.fontSizeBase200,color:k.colorNeutralForeground2},breadcrumbLink:{color:k.colorNeutralForeground2,textDecorationLine:"none",":hover":{textDecorationLine:"underline"}},breadcrumbCurrent:{color:k.colorNeutralForeground1,fontWeight:k.fontWeightSemibold},headerActions:{display:"flex",alignItems:"center",gap:k.spacingHorizontalS,marginInlineStart:"auto"},navTrigger:{display:"none","@media (max-width: 850px)":{display:"inline-flex"}},body:{display:"grid",gridTemplateColumns:"260px minmax(0, 1fr) 220px",gridTemplateAreas:'"nav content rail"',gap:k.spacingHorizontalL,maxWidth:"1440px",margin:"0 auto",padding:k.spacingHorizontalL,alignItems:"start","@media (max-width: 1200px)":{gridTemplateColumns:"260px minmax(0, 1fr)",gridTemplateAreas:'"nav content"'},"@media (max-width: 850px)":{gridTemplateColumns:"minmax(0, 1fr)",gridTemplateAreas:'"content"',padding:k.spacingHorizontalM}},nav:{gridArea:"nav",position:"sticky",top:"80px",alignSelf:"start",display:"block","@media (max-width: 850px)":{display:"none"}},content:{gridArea:"content",minWidth:0,display:"grid",gridTemplateColumns:"minmax(0, 1fr)",gap:k.spacingVerticalL,paddingBlockEnd:"96px"},rail:{gridArea:"rail",position:"sticky",top:"80px",alignSelf:"start",display:"grid",gap:k.spacingVerticalM,"@media (max-width: 1200px)":{display:"none"}},heading:{display:"grid",gap:k.spacingVerticalXS},positionLabel:{color:k.colorNeutralForeground3,fontSize:k.fontSizeBase200,textTransform:"uppercase",letterSpacing:"0.04em"},title:{margin:0,fontSize:k.fontSizeHero700,lineHeight:k.lineHeightHero700,overflowWrap:"anywhere"},groupTitle:{margin:0,fontSize:k.fontSizeBase600,lineHeight:k.lineHeightBase600},muted:{color:k.colorNeutralForeground3},card:{border:`1px solid ${k.colorNeutralStroke2}`,borderRadius:k.borderRadiusMedium,padding:k.spacingVerticalM,backgroundColor:k.colorNeutralBackground1,display:"grid",gap:k.spacingVerticalS,minWidth:0,overflowWrap:"anywhere",scrollMarginBlockEnd:"96px"},groupHeader:{display:"flex",alignItems:"center",gap:k.spacingHorizontalS,flexWrap:"wrap"},footer:{position:"sticky",bottom:0,zIndex:10,display:"flex",alignItems:"center",gap:k.spacingHorizontalM,flexWrap:"wrap",padding:`${k.spacingVerticalM} ${k.spacingHorizontalL}`,backgroundColor:k.colorNeutralBackground1,borderTop:`1px solid ${k.colorNeutralStroke2}`,borderRadius:k.borderRadiusMedium,boxShadow:k.shadow4},footerGrow:{flexGrow:1,minWidth:"180px"},actionRow:{display:"flex",alignItems:"center",gap:k.spacingHorizontalS,flexWrap:"wrap"},summaryGroup:{display:"grid",gap:k.spacingVerticalS,paddingBlock:k.spacingVerticalM,borderBottom:`1px solid ${k.colorNeutralStroke2}`,minWidth:0,overflowWrap:"anywhere"},summaryQuestion:{display:"grid",gap:k.spacingVerticalXXS,paddingBlock:k.spacingVerticalXS,minWidth:0,overflowWrap:"anywhere"},summaryAnswer:{fontWeight:k.fontWeightSemibold,overflowWrap:"anywhere"},details:{display:"grid",gap:k.spacingVerticalS,marginTop:k.spacingVerticalS},navItemLabel:{display:"flex",alignItems:"center",gap:k.spacingHorizontalXS,width:"100%",minWidth:0,justifyContent:"space-between",overflowWrap:"anywhere"},progressText:{fontSize:k.fontSizeBase200,color:k.colorNeutralForeground3}});var g0=A(A1(),1);function ry({route:e,identity:a,preference:t,onPreference:l,navigationOpen:o,onToggleNavigation:r,showNavigationTrigger:n}){let c=W0(),i=e.view==="project"||e.view==="plan"?e.project:null,s=a.projectName??i,u=a.planTitle??(e.view==="plan"?e.plan:null);return(0,g0.jsxs)("header",{className:c.header,children:[(0,g0.jsx)("a",{className:c.skipLink,href:"#main-content",onClick:m=>{m.preventDefault(),document.getElementById("main-content")?.focus()},children:"Skip to content"}),(0,g0.jsxs)("div",{className:c.headerInner,children:[(0,g0.jsx)("a",{className:c.brand,href:"#/",children:"Discovery"}),(0,g0.jsxs)("nav",{className:c.breadcrumb,"aria-label":"Breadcrumb",children:[(0,g0.jsx)("a",{className:c.breadcrumbLink,href:"#/","aria-current":e.view==="projects"?"page":void 0,children:"Projects"}),s!==null?(0,g0.jsx)("span",{"aria-hidden":"true",children:"\u203A"}):null,s!==null?(0,g0.jsx)("a",{className:c.breadcrumbLink,href:`#/p/${i}`,"aria-current":u===null?"page":void 0,children:s}):null,u!==null?(0,g0.jsx)("span",{"aria-hidden":"true",children:"\u203A"}):null,u!==null?(0,g0.jsx)("span",{className:c.breadcrumbCurrent,"aria-current":"page",children:u}):null]}),(0,g0.jsxs)("div",{className:c.headerActions,children:[(0,g0.jsxs)(Le,{"aria-label":"Theme",layout:"horizontal",value:t,onChange:(m,h)=>l(h.value),children:[(0,g0.jsx)(h2,{value:"system",label:"System"}),(0,g0.jsx)(h2,{value:"light",label:"Light"}),(0,g0.jsx)(h2,{value:"dark",label:"Dark"})]}),n?(0,g0.jsx)(f1,{id:"plan-navigation-trigger",className:c.navTrigger,appearance:"subtle",icon:(0,g0.jsx)(Hb,{}),"aria-expanded":o,onClick:r,children:(0,g0.jsx)(D,{size:200,children:"Groups"})}):null]})]})]})}var e5=A(R(),1);var om=A(A1(),1);function ny({status:e}){return e==="live"?null:(0,om.jsx)(w1,{intent:"warning",children:(0,om.jsx)(T1,{children:e==="restarted"?"Discovery restarted \u2014 reload":"Reconnecting\u2026"})})}var Lw=Object.freeze(["single","multiple","text","single-other"]),Ss1=Object.freeze(["single","multiple","single-other"]),kw=Object.freeze(["plan","requirements","preflight"]),V4=/^[A-Za-z0-9][A-Za-z0-9._-]{0,39}$/,iy=/^[a-z0-9]+(?:-[a-z0-9]+)*$/,f8=200,qa=4e3,ww=300,S4=Object.freeze({groups:50,questions:200,optionsMin:2,optionsMax:20,evidence:20}),Vs1=Object.freeze(["type","title","why","evidence","options","recommendation"]);function sy(e){return e===void 0?{type:"string"}:{type:"string",minLength:1,maxLength:e}}var uy={anyOf:[{type:"string"},{type:"array",minItems:1,items:{type:"string"}}]},Tw={type:"object",additionalProperties:!1,required:["question","answer","reason"],properties:{question:sy(),answer:uy,reason:{type:"string",minLength:1,maxLength:qa}}},Bw={type:"object",additionalProperties:!1,required:["id","label"],properties:{id:{type:"string",pattern:V4.source},label:{type:"string",minLength:1,maxLength:f8},description:{type:"string",maxLength:qa},implies:{type:"array",items:Tw}}},Dw={type:"object",additionalProperties:!1,required:["question","anyOf"],properties:{question:sy(),anyOf:{type:"array",minItems:1,items:{type:"string"}}}},Nw={type:"object",additionalProperties:!1,required:["answer","reason"],properties:{answer:uy,reason:{type:"string",minLength:1,maxLength:qa}}},Pw={type:"object",additionalProperties:!1,required:["key","title"],properties:{key:{type:"string",pattern:V4.source},title:{type:"string",minLength:1,maxLength:f8},description:{type:"string",maxLength:qa},dependsOn:{type:"array",items:{type:"string"}}}},Ow={type:"object",additionalProperties:!1,required:["key","group","type","title"],properties:{key:{type:"string",pattern:V4.source},group:{type:"string"},type:{type:"string",enum:[...Lw]},title:{type:"string",minLength:1,maxLength:f8},why:{type:"string",maxLength:qa},evidence:{type:"array",maxItems:S4.evidence,items:{type:"string",maxLength:qa}},options:{type:"array",minItems:S4.optionsMin,maxItems:S4.optionsMax,items:Bw},recommendation:{anyOf:[{type:"string"},{type:"array",minItems:1,items:{type:"string"}}]},showIf:{type:"array",items:Dw},proposal:Nw}},Fs1={type:"object",additionalProperties:!1,required:["artifact","kind","title","groups","questions"],properties:{artifact:{type:"string",minLength:1,maxLength:ww},kind:{type:"string",enum:[...kw]},title:{type:"string",minLength:1,maxLength:f8},takeover:{type:"boolean"},groups:{type:"array",minItems:1,maxItems:S4.groups,items:Pw},questions:{type:"array",minItems:1,maxItems:S4.questions,items:Ow}}};function Ew(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Uw(e){return typeof e=="string"?e.trim():""}function rm(e){return e==null?"null":Array.isArray(e.choices)?JSON.stringify({choices:[...e.choices].sort()}):typeof e.choice=="string"?JSON.stringify({choice:e.choice}):typeof e.text=="string"?JSON.stringify({text:e.text}):typeof e.other=="string"?JSON.stringify({other:e.other}):JSON.stringify(e)}function Iw(e,a){return rm(e)===rm(a)}function cy(e,a){return a?e.type==="multiple"?Array.isArray(a.choices)?[...a.choices]:[]:e.type==="single"||e.type==="single-other"?typeof a.choice=="string"?[a.choice]:[]:[]:[]}function p8(e){if(!Ew(e))return{ok:!1,error:"expected an object"};for(let a of["decision","owner","revisit"]){let t=Uw(e[a]);if(t.length===0)return{ok:!1,error:`${a} is required`};if(t.length>qa)return{ok:!1,error:`${a} must be at most ${qa} characters`}}return{ok:!0}}function Gw(e,a){return e.type==="multiple"?{choices:[...a]}:e.type==="text"?{text:String(a).trim()}:{choice:a}}function dy(e,a){let t=e.questions??[],l=a?.questions??{},o=new Set(a?.submittedGroups??[]),r=new Map(t.map(h=>[h.key,h])),n=h=>l[h]?.status??"open",c=h=>l[h]?.answer??null,i=new Map;for(let h of t){if(n(h.key)==="retired"){i.set(h.key,!1);continue}let d=h.showIf??[];if(d.length===0){i.set(h.key,!0);continue}let f=d.every(v=>{let x=r.get(v.question);if(!x||n(v.question)==="retired")return!1;let p=c(v.question);return p?cy(x,p).some(g=>v.anyOf.includes(g)):!1});i.set(h.key,f)}let s=new Map;for(let h of t){if(i.get(h.key)!==!0||!h.options)continue;let d=c(h.key);if(!d)continue;let f=cy(h,d);for(let v of h.options)if(f.includes(v.id))for(let x of v.implies??[]){if(i.get(x.question)!==!0)continue;let p=r.get(x.question);if(!p)continue;let g=s.get(x.question)??[];g.push({from:h.key,reason:x.reason,answer:Gw(p,x.answer)}),s.set(x.question,g)}}let u=new Map;for(let h of t){let d=i.get(h.key)===!0,f=c(h.key),v=d?s.get(h.key)??[]:[],x=new Map;for(let z of v)x.set(rm(z.answer),z.answer);let p=x.size>1?v.map(z=>({from:z.from,answer:z.answer})):[],g=x.size===1?[...x.values()][0]:null,M=null,_=null,b=!1;d&&(f!==null?(M=f,_="user",b=g!==null&&!Iw(f,g)):g!==null&&(M=g,_="implied")),u.set(h.key,{visible:d,effective:M,source:_,impliedBy:v.map(z=>z.from),impliedReasons:v.map(z=>z.reason),overridesImplied:b,conflict:p})}let m=new Set;for(let h of e.groups??[])(h.dependsOn??[]).some(d=>!o.has(d))&&m.add(h.key);return{questions:u,lockedGroups:m}}function hy(e,a,t,l){let o=a?.questions??{},r=t.lockedGroups.has(l),n=[],c=(e.questions??[]).filter(s=>s.group===l&&t.questions.get(s.key)?.visible===!0&&(o[s.key]?.status??"open")==="open"),i=!1;for(let s of c){let u=o[s.key]??{},m=t.questions.get(s.key);if(u.changed===!0){n.push({key:s.key,reason:"changed"});continue}if(m.conflict.length>0&&u.answer==null){n.push({key:s.key,reason:"conflict"});continue}if(m.effective!==null){i=!0;continue}if(u.defer&&p8(u.defer).ok){i=!0;continue}if(u.needsDiscussion!==!0){if(s.proposal!==void 0&&u.proposalDismissed!==!0){n.push({key:s.key,reason:"proposal"});continue}n.push({key:s.key,reason:"unanswered"})}}return n.length===0&&(!i||c.length===0)&&n.push({key:l,reason:"nothing-to-submit"}),{ready:!r&&c.length>0&&n.length===0,locked:r,missing:n}}function my(e,a,t){let l={open:0,answered:0,deferred:0,discussion:0,submitted:0,recorded:0},o=a?.questions??{};for(let r of e.questions??[]){if(t.questions.get(r.key)?.visible!==!0)continue;let n=o[r.key]??{},c=n.status??"open";if(c==="submitted"){l.submitted+=1;continue}if(c==="recorded"){l.recorded+=1;continue}if(c!=="open")continue;t.questions.get(r.key).effective!==null?l.answered+=1:n.needsDiscussion===!0?l.discussion+=1:n.defer&&p8(n.defer).ok?l.deferred+=1:l.open+=1}return l}function py(e,a){try{let t=decodeURIComponent(e);return a.test(t)?t:null}catch{return null}}function fy(e){return py(e,iy)}function jw(e){return py(e,V4)}function F4(e){let a=String(e??"").replace(/^#/,"");if(a===""||a==="/")return{view:"projects"};let t=a.split("/").filter(r=>r.length>0);if(t[0]!=="p"||t.length<2)return{view:"not-found"};let l=fy(t[1]);if(l===null)return{view:"not-found"};if(t.length===2)return{view:"project",project:l};let o=fy(t[2]);if(o===null)return{view:"not-found"};if(t.length===3)return{view:"plan",project:l,plan:o};if(t.length===4&&t[3]==="summary")return{view:"plan",project:l,plan:o,target:{kind:"summary"}};if(t.length===5&&t[3]==="groups"){let r=jw(t[4]);return r===null?{view:"not-found"}:{view:"plan",project:l,plan:o,target:{kind:"group",key:r}}}return{view:"not-found"}}function N0(e){if(e.view==="project")return`#/p/${encodeURIComponent(e.project)}`;if(e.view==="plan"){let a=`#/p/${encodeURIComponent(e.project)}/${encodeURIComponent(e.plan)}`;return e.target===void 0?a:e.target.kind==="summary"?`${a}/summary`:`${a}/groups/${encodeURIComponent(e.target.key)}`}return"#/"}function Ww(e){return e.questions.some(a=>a.statusKey!=="submitted"&&a.statusKey!=="recorded")}function vy(e){return e.locked!==!0&&Ww(e)}function nm(e,a){if(a===void 0){let l=e.groups.find(vy);return{target:l?{kind:"group",key:l.key}:{kind:"summary"},replace:!0,notice:null}}return a.kind==="summary"?{target:a,replace:!1,notice:null}:e.groups.find(l=>l.key===a.key)===void 0?{target:{kind:"summary"},replace:!0,notice:"This group is no longer available."}:{target:a,replace:!1,notice:null}}function cm(e,a){let t=e.groups.filter(vy);if(t.length===0)return{kind:"summary"};let l=t.findIndex(r=>r.key===a),o=l>=0?l+1:0;for(let r=0;r<t.length;r+=1){let n=t[(o+r)%t.length];if(n.key!==a)return{kind:"group",key:n.key}}return{kind:"summary"}}function Qw(e){return e.changed||e.conflict!==null||e.proposal!==null?!1:e.statusKey==="submitted"||e.statusKey==="recorded"?e.storedAnswer!==null||e.implied!==null:e.statusKey==="answered"}function gy(e){let a=e.groups.map(r=>{let n=r.questions.filter(i=>i.statusKey!=="submitted"&&i.statusKey!=="recorded"),c=r.missing.filter(i=>i.reason!=="nothing-to-submit");return{key:r.key,title:r.title,locked:r.locked,complete:r.questions.length>0&&r.questions.every(i=>i.statusKey==="submitted"||i.statusKey==="recorded"),empty:r.questions.length===0,ready:r.ready,pendingCount:n.length,readyCount:r.ready?n.length:Math.max(0,n.length-c.length)}}),t=a.filter(r=>!r.empty),l=e.groups.reduce((r,n)=>r+n.questions.length,0),o=e.groups.reduce((r,n)=>r+n.questions.filter(Qw).length,0);return{groups:a,completedGroups:t.filter(r=>r.complete).length,totalGroups:t.length,answeredQuestions:o,visibleQuestions:l,next:nm(e).target}}function U3(e){return e.totalGroups===0?"No groups with visible questions":`${e.completedGroups} of ${e.totalGroups} groups complete`}function I3(e){return e.visibleQuestions===0?"No visible questions":`${e.answeredQuestions} of ${e.visibleQuestions} answered`}function Xw(e,a){let t={...e,options:e.options.map(l=>({...l,selected:!1})),text:null,other:null};if(Array.isArray(a.choices)){let l=new Set(a.choices);return{...t,options:e.options.map(o=>({...o,selected:l.has(o.id)}))}}return typeof a.choice=="string"?{...t,options:e.options.map(l=>({...l,selected:l.id===a.choice}))}:typeof a.text=="string"?{...t,text:a.text}:typeof a.other=="string"?{...t,other:a.other}:t}function Kw(e,a,t){if(a===void 0&&t===void 0)return e;let l=e;return a?.answer!==void 0&&(l=a.answer===null?{...e,options:e.options.map(o=>({...o,selected:!1})),text:null,other:null}:Xw(e,a.answer)),a?.notes!==void 0&&(l={...l,notes:a.notes}),a?.defer!==void 0&&(l={...l,defer:a.defer}),a?.needsDiscussion!==void 0&&(l={...l,needsDiscussion:a.needsDiscussion}),{...l,hasDraft:a!==void 0,error:t??l.error}}function My(e,a,t={}){let l=o=>Kw(o,a[o.key],t[o.key]);return{...e,groups:e.groups.map(o=>({...o,questions:o.questions.map(l)})),retired:e.retired.map(l),hidden:e.hidden.map(l)}}var $=A(A1(),1);function Yw(e){let a=new Map;for(let t of e.groups)for(let l of t.questions)a.set(l.key,l);for(let t of e.hidden)a.set(t.key,t);for(let t of e.retired)a.set(t.key,t);return a}function $w(e){let a=e.storedAnswer;return a===null?null:typeof a.choice=="string"?e.options.find(t=>t.id===a.choice)?.label??a.choice:Array.isArray(a.choices)?a.choices.map(t=>e.options.find(l=>l.id===t)?.label??t).join(", "):typeof a.text=="string"?a.text:typeof a.other=="string"?`Other: ${a.other}`:null}function xy(e){let a=e.options.filter(t=>t.selected);if(a.length>0){let t=a.map(l=>l.label).join(", ");return e.other?`${t} \u2014 Other: ${e.other}`:t}return e.text?e.text:e.other?`Other: ${e.other}`:e.defer?`Deferred \u2014 ${e.defer.decision} (${e.defer.owner}, ${e.defer.revisit})`:e.needsDiscussion?"Needs discussion":"Unanswered"}function _y(e){if(e.readOnly||e.removedGroup){let a=$w(e);if(a!==null)return a}return xy(e)}function im(e,a){return e.removedGroup?"group removed":e.hidden?"hidden":e.readOnly?"read-only":a.groups.find(l=>l.key===e.group)?.locked?"locked":null}function Zw({question:e}){let a=W0();return(0,$.jsxs)("div",{className:a.summaryQuestion,children:[(0,$.jsx)(D,{weight:"semibold",children:e.title}),(0,$.jsx)(D,{className:a.summaryAnswer,children:_y(e)}),(0,$.jsx)(D,{size:200,className:a.muted,children:e.statusLabel}),e.implied?(0,$.jsx)(D,{size:200,className:a.muted,children:e.implied.label}):null,e.overridesImplied?(0,$.jsx)(D,{size:200,className:a.muted,children:"Overrides the implied answer"}):null,e.conflict?(0,$.jsx)(D,{size:200,className:a.muted,children:e.conflict.label}):null,e.changed?(0,$.jsx)(D,{size:200,className:a.muted,children:"Changed \u2014 re-confirm in the group"}):null,e.proposal?(0,$.jsx)(D,{size:200,className:a.muted,children:e.proposal.label}):null,e.notes?(0,$.jsxs)(D,{size:200,className:a.muted,children:["Notes: ",e.notes]}):null]})}function zy({plan:e,projectSlug:a,progress:t,drafts:l,incomplete:o,errors:r,onDiscard:n,onRetry:c,retryDisabled:i=!1}){let s=W0(),u=Yw(e),m=[...new Set([...Object.keys(l),...Object.keys(o),...Object.keys(r)])];return(0,$.jsxs)("div",{children:[(0,$.jsxs)("div",{className:s.groupHeader,children:[(0,$.jsx)(c1,{appearance:"tint",children:I3(t)}),(0,$.jsx)(c1,{appearance:"outline",children:U3(t)})]}),e.groups.map(h=>{let d=t.groups.find(v=>v.key===h.key),f=N0({view:"plan",project:a,plan:e.slug,target:{kind:"group",key:h.key}});return(0,$.jsxs)("section",{className:s.summaryGroup,"aria-label":h.title,children:[(0,$.jsxs)("div",{className:s.groupHeader,children:[(0,$.jsx)("a",{href:f,children:h.title}),d?.complete?(0,$.jsx)(c1,{color:"success",children:"Complete"}):null,d?.ready?(0,$.jsx)(c1,{color:"informative",children:"Ready"}):null,h.locked?(0,$.jsx)(c1,{children:"Locked"}):null]}),h.questions.length===0?(0,$.jsx)(D,{size:200,className:s.muted,children:"No visible questions."}):h.questions.map(v=>(0,$.jsx)(Zw,{question:v},v.key))]},h.key)}),e.retired.length>0?(0,$.jsxs)("details",{className:s.summaryGroup,children:[(0,$.jsxs)("summary",{children:["Retired questions (",e.retired.length,")"]}),e.retired.map(h=>(0,$.jsxs)("div",{className:s.summaryQuestion,children:[(0,$.jsx)(D,{weight:"semibold",children:h.title}),im(h,e)?(0,$.jsx)(c1,{size:"small",children:im(h,e)}):null,(0,$.jsx)(D,{children:_y(h)}),(0,$.jsx)(D,{size:200,className:s.muted,children:h.statusLabel})]},h.key))]}):null,(0,$.jsxs)("section",{className:s.summaryGroup,"aria-label":"Unsent drafts",children:[(0,$.jsx)(D,{weight:"semibold",children:"Unsent drafts"}),m.length===0?(0,$.jsx)(D,{size:200,className:s.muted,children:"No drafts waiting to be sent."}):m.map(h=>{let d=u.get(h),f=d?im(d,e):"no longer available",v=l[h]?.notes!==void 0&&l[h]?.answer===void 0&&o[h]===void 0,x=d?e.groups.find(g=>g.key===d.group):void 0,p=d&&x?N0({view:"plan",project:a,plan:e.slug,target:{kind:"group",key:x.key}}):N0({view:"plan",project:a,plan:e.slug,target:{kind:"summary"}});return(0,$.jsxs)("div",{className:s.summaryQuestion,children:[(0,$.jsxs)(D,{weight:"semibold",children:[d?.title??h," ",f?(0,$.jsx)(c1,{size:"small",children:f}):null]}),(0,$.jsx)(D,{size:200,children:v?"Notes draft":d?xy(d):"Draft retained"}),o[h]?(0,$.jsx)(D,{size:200,children:o[h].reason}):null,r[h]?(0,$.jsx)(w1,{intent:"error",children:(0,$.jsx)(T1,{children:r[h]})}):null,(0,$.jsxs)("div",{className:s.actionRow,children:[(0,$.jsx)("a",{href:p,children:"Open group"}),r[h]&&d!==void 0&&!i&&!d?.readOnly&&f!=="locked"&&f!=="group removed"?(0,$.jsx)(f1,{size:"small",onClick:()=>c(h),children:"Retry"}):null,(0,$.jsx)(f1,{size:"small",appearance:"secondary",onClick:()=>n(h),children:"Discard unsaved change"})]})]},h)})]})]})}var M2=A(R(),1);var g2=A(R(),1);var v2=A(A1(),1),v8={decision:"",owner:"",revisit:""},sm="Complete the deferral decision, owner, and revisit fields.";function um(e){return e.decision.trim().length>0&&e.owner.trim().length>0&&e.revisit.trim().length>0}function by({defer:e,disabled:a,resetKey:t="0",onChange:l,onFlush:o=()=>{},onIncomplete:r=()=>{}}){let[n,c]=(0,g2.useState)(e!==null),[i,s]=(0,g2.useState)(e??v8),u=(0,g2.useRef)(!1),m=(0,g2.useRef)(!1),h=(0,g2.useRef)(r);h.current=r;let d=(0,g2.useRef)(i);d.current=i,(0,g2.useEffect)(()=>{e!==null&&c(!0),!u.current&&!(m.current&&!um(d.current))&&(s(e??v8),e!==null&&(m.current=!1))},[e]),(0,g2.useEffect)(()=>{c(e!==null),s(e??v8),m.current=!1,u.current=!1,h.current(!1)},[t]);let f=(x,p)=>{let g={...i,[x]:p};m.current=!0,s(g),um(g)?(h.current(!1),l(g)):h.current(!0,sm)},v=()=>{u.current=!1,um(i)?(l(i),o(),h.current(!1)):n&&h.current(!0,sm)};return(0,v2.jsxs)("div",{children:[(0,v2.jsx)(m2,{checked:n,disabled:a,label:"Defer this question",onChange:(x,p)=>{c(p.checked),p.checked?h.current(!0,sm):(s(v8),m.current=!1,h.current(!1),l(null))}}),n?(0,v2.jsxs)("div",{style:{display:"grid",gap:8,marginTop:8},children:[(0,v2.jsx)(D,{size:200,children:"Decision"}),(0,v2.jsx)(d2,{"aria-label":"Deferral decision",disabled:a,value:i.decision,onChange:(x,p)=>f("decision",p.value),onFocus:()=>{u.current=!0},onBlur:v}),(0,v2.jsx)(D,{size:200,children:"Owner"}),(0,v2.jsx)(d2,{"aria-label":"Deferral owner",disabled:a,value:i.owner,onChange:(x,p)=>f("owner",p.value),onFocus:()=>{u.current=!0},onBlur:v}),(0,v2.jsx)(D,{size:200,children:"Revisit"}),(0,v2.jsx)(d2,{"aria-label":"Deferral revisit",disabled:a,value:i.revisit,onChange:(x,p)=>f("revisit",p.value),onFocus:()=>{u.current=!0},onBlur:v})]}):null]})}var W=A(A1(),1);function Cy(e){return(0,W.jsxs)("span",{style:{display:"inline-flex",gap:8,alignItems:"center"},children:[(0,W.jsx)(D,{children:e.label}),e.recommended?(0,W.jsx)(c1,{appearance:"tint",children:"Recommended"}):null]})}function dm({ariaLabel:e,value:a,disabled:t=!1,multiline:l=!1,placeholder:o,resetKey:r="0",onChange:n,onFlush:c=()=>{}}){let[i,s]=(0,M2.useState)(a),u=(0,M2.useRef)(!1),m=(0,M2.useRef)(!1),h=(0,M2.useRef)(i);h.current=i,(0,M2.useEffect)(()=>{u.current?a===h.current&&(m.current=!1):(s(a),m.current=!1)},[a]),(0,M2.useEffect)(()=>{s(a),h.current=a,m.current=!1,u.current=!1},[r]);let d=v=>{m.current=!0,s(v),n(v)},f=()=>{u.current=!1,m.current?a===h.current&&(m.current=!1):s(a),c()};return l?(0,W.jsx)(F3,{"aria-label":e,disabled:t,placeholder:o,value:i,onChange:(v,x)=>d(x.value),onFocus:()=>{u.current=!0},onBlur:f}):(0,W.jsx)(d2,{"aria-label":e,disabled:t,placeholder:o,value:i,onChange:(v,x)=>d(x.value),onFocus:()=>{u.current=!0},onBlur:f})}function Ay({question:e,disabled:a=!1,resetKey:t="0",incomplete:l=null,onPatch:o=()=>{},onFlush:r=()=>{},onDiscard:n=()=>{},onIncomplete:c=()=>{},onRetry:i=()=>{},retryDisabled:s=!1}){let u=W0(),m=a||e.readOnly,h=e.options.find(_=>_.selected)?.id,[d,f]=(0,M2.useState)(e.defer!==null||e.needsDiscussion||e.error!==null||l!==null),v=e.defer!==null,x=e.needsDiscussion,p=e.error!==null,g=l!==null;(0,M2.useEffect)(()=>{(v||x||p||g)&&f(!0)},[v,x,p,g]);let M=`${e.key}-details`;return(0,W.jsxs)("section",{className:u.card,"aria-label":e.title,children:[(0,W.jsxs)("header",{className:u.groupHeader,children:[(0,W.jsx)(D,{weight:"semibold",children:e.title}),(0,W.jsx)(c1,{appearance:"tint",children:e.statusLabel}),e.implied?(0,W.jsx)(c1,{appearance:"outline",color:"informative",children:"Implied"}):null,e.hasDraft?(0,W.jsx)(c1,{color:"warning",children:"Unsaved changes"}):null]}),e.why?(0,W.jsx)(D,{size:200,children:e.why}):null,e.evidence.length>0?(0,W.jsx)("pre",{style:{whiteSpace:"pre-wrap",fontSize:12,marginBlock:8,overflowWrap:"anywhere"},children:e.evidence.join(`
|
|
15
|
+
`)}):null,e.implied?(0,W.jsx)(D,{italic:!0,size:200,children:e.implied.label}):null,e.overridesImplied?(0,W.jsx)(D,{size:200,className:u.muted,children:"This answer overrides the implied answer."}):null,e.conflict?(0,W.jsx)(w1,{intent:"warning",children:(0,W.jsx)(T1,{children:e.conflict.label})}):null,e.error?(0,W.jsx)(w1,{intent:"error",children:(0,W.jsx)(T1,{children:e.error})}):null,l?(0,W.jsx)(w1,{intent:"warning",children:(0,W.jsx)(T1,{children:l})}):null,e.changed?(0,W.jsx)(w1,{intent:"warning",children:(0,W.jsxs)(T1,{children:["Question changed \u2014 re-confirm."," ",(0,W.jsx)(f1,{size:"small",disabled:m,onClick:()=>o({reconfirm:!0}),children:"Re-confirm"})]})}):null,e.proposal?(0,W.jsx)(w1,{children:(0,W.jsxs)(T1,{children:[e.proposal.label," ",(0,W.jsx)(f1,{size:"small",disabled:m,onClick:()=>o({confirmProposal:!0}),children:"Confirm"})," ",(0,W.jsx)(f1,{size:"small",disabled:m,onClick:()=>o({dismissProposal:!0}),children:"Reopen"})]})}):null,e.type==="text"?(0,W.jsx)(dm,{ariaLabel:e.title,disabled:m,multiline:!0,resetKey:t,value:e.text??"",onChange:_=>o({answer:{text:_}}),onFlush:r}):e.type==="multiple"?(0,W.jsx)("div",{role:"group","aria-label":e.title,children:e.options.map(_=>(0,W.jsx)(R3,{disabled:m,checked:_.selected,label:Cy(_),onChange:(b,z)=>{let y=new Set(e.options.filter(C=>C.selected).map(C=>C.id));z.checked?y.add(_.id):y.delete(_.id),o({answer:{choices:[...y]}})}},_.id))}):(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(Le,{"aria-label":e.title,disabled:m,value:h??"",onChange:(_,b)=>o({answer:{choice:b.value}}),children:e.options.map(_=>(0,W.jsx)(h2,{value:_.id,label:Cy(_)},_.id))}),e.type==="single-other"?(0,W.jsx)(dm,{ariaLabel:`${e.title} other`,disabled:m,placeholder:"Other",resetKey:t,value:e.other??"",onChange:_=>o({answer:{other:_}}),onFlush:r}):null]}),(0,W.jsxs)("div",{className:u.actionRow,children:[(0,W.jsx)(f1,{appearance:"subtle",size:"small","aria-expanded":d,"aria-controls":M,onClick:()=>f(_=>!_),children:"Additional details"}),!d&&e.notes?(0,W.jsx)(D,{size:200,className:u.muted,children:"Notes added"}):null,e.hasDraft&&(m||e.error!==null)?(0,W.jsx)(f1,{appearance:"secondary",size:"small",onClick:()=>n(e.key),children:"Discard unsaved change"}):null,e.error!==null&&!m&&!s?(0,W.jsx)(f1,{appearance:"primary",size:"small",onClick:()=>i(e.key),children:"Retry"}):null]}),(0,W.jsxs)("div",{id:M,hidden:!d,className:u.details,children:[(0,W.jsx)(D,{size:200,children:"Notes"}),(0,W.jsx)(dm,{ariaLabel:`${e.title} notes`,disabled:m,multiline:!0,resetKey:t,value:e.notes,onChange:_=>o({notes:_}),onFlush:r}),(0,W.jsx)(by,{defer:e.defer,disabled:m,resetKey:t,onChange:_=>o({defer:_}),onFlush:r,onIncomplete:(_,b)=>c(e.key,_,b)}),(0,W.jsx)(m2,{checked:e.needsDiscussion,disabled:m,label:"Needs discussion",onChange:(_,b)=>o({needsDiscussion:b.checked})})]}),m?(0,W.jsx)(ya,{content:"Submitted and recorded answers are read-only",relationship:"description",children:(0,W.jsx)(D,{size:200,children:"Read-only"})}):null]})}var j5=A(A1(),1);function yy({group:e,incomplete:a={},discardVersions:t={},discardAllVersion:l=0,onPatch:o=()=>{},onFlush:r=()=>{},onDiscard:n=()=>{},onSetIncomplete:c=()=>{},onRetry:i=()=>{},retryDisabled:s=!1}){let u=W0();return(0,j5.jsxs)("section",{"aria-label":e.title,children:[(0,j5.jsxs)("header",{className:u.groupHeader,children:[(0,j5.jsx)(c1,{appearance:"tint",children:e.summary}),e.ready?(0,j5.jsx)(c1,{color:"informative",children:"Ready"}):null,e.locked?(0,j5.jsx)(c1,{children:"Locked"}):null]}),e.locked?(0,j5.jsx)(w1,{intent:"info",children:(0,j5.jsx)(T1,{children:e.lockLabel})}):null,e.questions.length===0?(0,j5.jsx)(D,{size:200,className:u.muted,children:"No visible questions."}):null,e.questions.map(m=>(0,j5.jsx)(Ay,{question:m,disabled:e.locked,resetKey:`${l}:${t[m.key]??0}`,incomplete:a[m.key]?.reason??null,onPatch:h=>o(m.key,h),onFlush:r,onDiscard:n,onIncomplete:c,onRetry:i,retryDisabled:s},m.key)),e.ready?null:(0,j5.jsx)(D,{size:200,children:e.missingLabel})]})}var B1=A(A1(),1);function Jw(e){return e.kind==="group"?`group:${e.key}`:"summary"}function Hy({plan:e,projectSlug:a,target:t,progress:l,onSelect:o}){let r=W0();return(0,B1.jsxs)(N7,{"aria-label":"Plan groups",selectedValue:Jw(t),children:[e.groups.map(n=>{let c=l.groups.find(s=>s.key===n.key),i=N0({view:"plan",project:a,plan:e.slug,target:{kind:"group",key:n.key}});return(0,B1.jsx)(N3,{value:`group:${n.key}`,href:i,icon:n.locked?(0,B1.jsx)(yb,{"aria-hidden":!0}):void 0,onClick:o,children:(0,B1.jsxs)("span",{className:r.navItemLabel,children:[(0,B1.jsx)("span",{children:n.title}),(0,B1.jsxs)("span",{children:[n.locked?(0,B1.jsx)(c1,{size:"small",children:"Locked"}):null,c?.empty?(0,B1.jsx)(c1,{size:"small",children:"No visible questions"}):null,c?.complete?(0,B1.jsx)(c1,{size:"small",children:"Complete"}):null,!c?.empty&&!c?.complete?(0,B1.jsxs)(c1,{size:"small",appearance:"tint",children:[c?.readyCount??0,"/",c?.pendingCount??0]}):null]})]})},n.key)}),(0,B1.jsx)(N3,{value:"summary",href:N0({view:"plan",project:a,plan:e.slug,target:{kind:"summary"}}),onClick:o,children:"Decision summary"})]})}function Ry({plan:e,projectSlug:a,projectName:t,branch:l,target:o,progress:r,open:n,onOpenChange:c}){let i=W0(),s=(0,B1.jsxs)("div",{children:[(0,B1.jsx)(D,{weight:"semibold",children:t}),l?(0,B1.jsx)(D,{block:!0,size:200,className:i.muted,children:l}):null,(0,B1.jsxs)(D,{block:!0,size:200,className:i.progressText,children:[U3(r)," \xB7 ",I3(r)]})]});return(0,B1.jsxs)(B1.Fragment,{children:[(0,B1.jsxs)("aside",{id:"plan-navigation-desktop",className:i.nav,children:[s,(0,B1.jsx)(Hy,{plan:e,projectSlug:a,target:o,progress:r,onSelect:()=>{}})]}),(0,B1.jsxs)(P3,{open:n,onOpenChange:(u,m)=>{c(m.open),!m.open&&typeof document<"u"&&queueMicrotask(()=>{document.getElementById("plan-navigation-trigger")?.focus()})},type:"overlay",children:[(0,B1.jsx)(O3,{children:(0,B1.jsx)(D,{weight:"semibold",children:"Groups"})}),(0,B1.jsx)(E3,{children:(0,B1.jsxs)("div",{id:"plan-navigation",children:[s,(0,B1.jsx)(Hy,{plan:e,projectSlug:a,target:o,progress:r,onSelect:()=>c(!1)})]})})]})]})}var J0=A(A1(),1);function g8({open:e,title:a,intro:t,ready:l,skipped:o,confirmLabel:r,error:n=null,busy:c=!1,onConfirm:i,onClose:s}){return(0,J0.jsx)($2,{open:e,onOpenChange:(u,m)=>m.open?void 0:s(),children:(0,J0.jsx)(w3,{children:(0,J0.jsxs)(L3,{children:[(0,J0.jsx)(k3,{children:a}),(0,J0.jsxs)(T3,{children:[(0,J0.jsx)(D,{children:t}),l.length>0?(0,J0.jsxs)(D,{block:!0,children:["Ready: ",l.join(", ")]}):null,o.map(u=>(0,J0.jsxs)(D,{block:!0,size:200,children:["Skipped ",u.title,": ",u.label]},u.group)),n?(0,J0.jsx)(w1,{intent:"error",children:(0,J0.jsx)(T1,{children:n})}):null]}),(0,J0.jsxs)(q3,{children:[(0,J0.jsx)(f1,{appearance:"secondary",disabled:c,onClick:s,children:"Cancel"}),(0,J0.jsx)(f1,{appearance:"primary",disabled:c,onClick:i,children:c?"Working\u2026":r})]})]})})})}var U=A(A1(),1);function eT(e){return e.status==="saved"?"Saved":e.status==="dirty"?"Unsaved changes":e.status==="saving"?"Saving\u2026":e.status==="recheck"?"Recheck needed":e.lastError??Object.values(e.errors)[0]??"Could not save"}function Sy({plan:e,projectSlug:a,projectName:t,branch:l,connection:o,target:r,notice:n,navigationNotice:c=null,navigationDestination:i=null,onDismissNavigationNotice:s=()=>{},snapshot:u,navigationOpen:m,onNavigationOpenChange:h,onPatch:d,onFlush:f,onDiscard:v,onDiscardAll:x,onSetIncomplete:p,onRetry:g,onNavigate:M,onSubmit:_,onArchive:b,onDelete:z,onAnnounce:y=()=>{},actionError:C=null,onDismissActionError:E=()=>{}}){let N=W0(),T=My(e,u.drafts,u.errors),P=gy(T),O=r.kind==="group"?T.groups.find(X1=>X1.key===r.key):void 0,l1=O?P.groups.find(X1=>X1.key===O.key):void 0,H1=O?cm(T,O.key):P.next,R1=H1.kind==="summary"?"Decision summary":T.groups.find(X1=>X1.key===H1.key)?.title??"Decision summary",[L1,v1]=(0,e5.useState)(void 0),[Q1,V0]=(0,e5.useState)(!1),[x2,f5]=(0,e5.useState)(!1),[M0,g1]=(0,e5.useState)(null),[_2,I]=(0,e5.useState)(!1),[K,a1]=(0,e5.useState)(null),S1=(0,e5.useRef)(null),M1=(0,e5.useRef)(null),J1=(0,e5.useRef)(null),mm=r.kind==="group"?r.key:"summary";(0,e5.useEffect)(()=>{M1.current?.focus()},[mm]),(0,e5.useEffect)(()=>{a1(null)},[mm]),(0,e5.useEffect)(()=>{if(K===null)return;let X1=u.server?.plan.revision;X1!==void 0&&S1.current!==null&&X1!==S1.current&&l1?.complete===!1&&a1(null)},[u.server?.plan.revision,l1?.complete,K]);let z2=typeof L1=="string"?T.groups.find(X1=>X1.key===L1):void 0,Yy=!!O?.ready&&!u.submitting,$y=T.submitAll.ready.length>0&&!u.submitting,fm=X1=>{g1(null),v1(X1)},Zy=async()=>{if(L1===void 0)return;let X1=L1;I(!0),g1(null);let _8=await _(X1);if(I(!1),_8.ok){v1(void 0),typeof X1=="string"&&(S1.current=u.server?.plan.revision??null,a1(X1)),J1.current?.focus(),y(_8.delivery==="woken"?"Submitted; the agent was woken.":"Submitted; delivery is pending.");return}g1(_8.message??"Submission failed.")},Jy=()=>{if(!O)return;let X1=cm(T,O.key);M(N0({view:"plan",project:a,plan:e.slug,target:X1}))};return(0,U.jsxs)("main",{id:"main-content",tabIndex:-1,children:[(0,U.jsxs)("div",{className:N.body,children:[(0,U.jsx)(Ry,{plan:T,projectSlug:a,projectName:t,branch:l,target:r,progress:P,open:m,onOpenChange:h}),(0,U.jsxs)("div",{className:N.content,children:[(0,U.jsxs)("header",{className:N.heading,children:[(0,U.jsx)(D,{className:N.positionLabel,children:O?`Group ${T.groups.findIndex(X1=>X1.key===O.key)+1} of ${T.groups.length}`:"Decision summary"}),(0,U.jsx)("h1",{className:N.title,children:T.title}),(0,U.jsxs)("div",{className:N.groupHeader,children:[(0,U.jsx)(c1,{appearance:"outline",children:T.kind}),(0,U.jsxs)(D,{size:200,children:[I3(P)," \xB7 ",U3(P)]}),T.archived?(0,U.jsx)(c1,{color:"subtle",children:"Archived"}):null]}),O?(0,U.jsx)("h2",{ref:M1,tabIndex:-1,className:N.groupTitle,children:O.title}):(0,U.jsx)("h2",{ref:M1,tabIndex:-1,className:N.groupTitle,children:"Decision summary"}),O?.description?(0,U.jsx)(D,{size:200,className:N.muted,children:O.description}):null]}),(0,U.jsx)(ny,{status:o}),n?(0,U.jsx)(w1,{intent:"warning",children:(0,U.jsx)(T1,{children:n})}):null,c?(0,U.jsxs)(w1,{intent:"warning",children:[(0,U.jsx)(T1,{children:c}),(0,U.jsxs)(Z2,{children:[u.recheckRequired?null:(0,U.jsx)(f1,{size:"small",onClick:()=>g(),children:"Retry save"}),(0,U.jsx)(f1,{size:"small",onClick:()=>f5(!0),children:"Leave without saving"}),(0,U.jsx)(f1,{size:"small",onClick:s,children:"Dismiss"})]})]}):null,T.orphaned?(0,U.jsx)(w1,{children:(0,U.jsx)(T1,{children:"This plan's session ended. The next session takes it over without asking."})}):null,T.unarchivedAt?(0,U.jsx)(w1,{children:(0,U.jsx)(T1,{children:"This plan was unarchived by a new publish."})}):null,u.lastError?(0,U.jsx)(w1,{intent:"error",children:(0,U.jsx)(T1,{children:u.lastError})}):null,C?(0,U.jsxs)(w1,{intent:"error",children:[(0,U.jsx)(T1,{children:C}),(0,U.jsx)(Z2,{children:(0,U.jsx)(f1,{size:"small",onClick:E,children:"Dismiss"})})]}):null,O?(0,U.jsx)(yy,{group:O,incomplete:u.incomplete,discardVersions:u.discardVersion,discardAllVersion:u.discardAllVersion,onPatch:d,onFlush:f,onDiscard:v,onSetIncomplete:p,onRetry:g,retryDisabled:u.recheckRequired}):(0,U.jsx)(zy,{plan:T,projectSlug:a,progress:P,drafts:u.drafts,incomplete:u.incomplete,errors:u.errors,onDiscard:v,onRetry:g,retryDisabled:u.recheckRequired}),(0,U.jsxs)("footer",{className:N.footer,children:[(0,U.jsxs)("div",{ref:J1,tabIndex:-1,className:N.footerGrow,children:[(0,U.jsx)(D,{weight:"semibold",children:eT(u)}),u.unsaved?(0,U.jsx)(D,{block:!0,size:200,className:N.muted,children:"Unsaved work is kept while you change views."}):null,O&&!O.ready?(0,U.jsxs)(D,{block:!0,size:200,children:["Missing: ",O.missingLabel]}):null,u.recheckRequired?(0,U.jsx)(D,{block:!0,size:200,children:"Review the server state, then re-confirm or discard the draft."}):null,u.missing.length>0?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(D,{block:!0,size:200,weight:"semibold",children:"Skipped groups:"}),u.missing.map(X1=>(0,U.jsx)(D,{block:!0,size:200,children:X1.group},X1.group))]}):null]}),(0,U.jsxs)("div",{className:N.actionRow,children:[O?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(f1,{appearance:"secondary",disabled:!Yy||_2,onClick:()=>fm(O.key),children:"Submit group"}),K===O.key||l1?.complete?(0,U.jsx)(f1,{appearance:"primary",onClick:Jy,children:"Continue"}):null]}):(0,U.jsx)(f1,{appearance:"primary",disabled:!$y||_2,onClick:()=>fm(null),children:"Submit all ready groups"}),(0,U.jsx)(f1,{appearance:"secondary",onClick:()=>b(!T.archived),children:T.archived?"Unarchive":"Archive"}),(0,U.jsx)(f1,{appearance:"secondary",onClick:()=>V0(!0),children:"Delete\u2026"})]})]})]}),(0,U.jsxs)("aside",{className:N.rail,"aria-label":"Plan progress",children:[(0,U.jsx)(D,{weight:"semibold",children:"Progress"}),(0,U.jsx)(D,{size:200,children:U3(P)}),(0,U.jsx)(D,{size:200,children:I3(P)}),(0,U.jsx)(D,{size:200,className:N.muted,children:O?l1?.ready?"This group is ready to submit.":`Missing: ${O.missingLabel}`:"Choose a group to continue."}),(0,U.jsxs)(D,{size:200,children:["Next:"," ",(0,U.jsx)("a",{href:N0({view:"plan",project:a,plan:e.slug,target:H1}),children:R1})]}),u.delivery?(0,U.jsxs)(D,{size:200,children:["Last submission:"," ",u.delivery==="woken"?"the agent was woken.":"delivery is pending."]}):null]})]}),(0,U.jsx)(g8,{open:L1!==void 0,title:z2?`Submit ${z2.title}`:"Submit answers",intro:`${t}${l?` \xB7 ${l}`:""} \xB7 ${T.title}`,ready:z2?z2.ready?[z2.key]:[]:T.submitAll.ready,skipped:z2?z2.ready?[]:[{group:z2.key,title:z2.title,label:z2.missingLabel}]:T.submitAll.skipped,confirmLabel:"Submit",error:M0,busy:_2,onConfirm:()=>{Zy()},onClose:()=>{v1(void 0),g1(null)}}),(0,U.jsx)(g8,{open:x2,title:"Leave without saving",intro:"Your unsent changes will be discarded and the destination will open.",ready:[],skipped:[],confirmLabel:"Leave",onConfirm:()=>{f5(!1),x(),i!==null&&M(i)},onClose:()=>f5(!1)}),(0,U.jsx)(g8,{open:Q1,title:"Delete plan",intro:u.unsaved?"This removes the plan file and its answers. Unsaved changes will be discarded.":"This removes the plan file and its answers.",ready:[],skipped:[],confirmLabel:"Delete",onConfirm:()=>{V0(!1),z()},onClose:()=>V0(!1)})]})}var Vy=A(R(),1);var a5=A(A1(),1);function Fy({project:e,plans:a}){let[t,l]=(0,Vy.useState)(!1),o=t?a:a.filter(r=>!r.archived);return(0,a5.jsxs)("main",{id:"main-content",tabIndex:-1,children:[(0,a5.jsx)("h1",{children:e.name}),(0,a5.jsxs)(D,{size:200,children:[e.slug,e.branch?` \xB7 ${e.branch}`:""]}),(0,a5.jsx)(m2,{checked:t,label:"Show archived plans",onChange:(r,n)=>l(n.checked)}),o.length===0?(0,a5.jsx)(D,{children:"No plans published yet."}):null,(0,a5.jsx)("ul",{style:{listStyle:"none",padding:0,display:"grid",gap:8},children:o.map(r=>(0,a5.jsxs)("li",{style:{display:"flex",gap:12,alignItems:"center",flexWrap:"wrap",border:"1px solid var(--colorNeutralStroke2)",borderRadius:8,padding:12},children:[(0,a5.jsx)("a",{href:`#/p/${e.slug}/${r.slug}`,children:r.title}),(0,a5.jsx)(c1,{appearance:"outline",children:r.kind}),(0,a5.jsxs)(D,{size:200,children:[r.counts.open??0," open \xB7 ",r.counts.answered??0," answered"]}),r.orphaned?(0,a5.jsx)(c1,{color:"warning",children:"Orphaned"}):null,r.archived?(0,a5.jsx)(c1,{color:"subtle",children:"Archived"}):null,(0,a5.jsx)(D,{size:100,children:r.updatedAt})]},r.slug))})]})}var m5=A(A1(),1);function qy({view:e}){return(0,m5.jsxs)("main",{id:"main-content",tabIndex:-1,children:[(0,m5.jsx)("h1",{children:"Projects"}),e.repositories.length===0?(0,m5.jsx)(D,{children:"No opted-in projects yet."}):null,e.repositories.map(a=>(0,m5.jsxs)("section",{"aria-label":a.name,children:[(0,m5.jsx)("h2",{children:a.name}),(0,m5.jsx)("ul",{style:{listStyle:"none",padding:0,display:"grid",gap:8},children:a.projects.map(t=>(0,m5.jsxs)("li",{style:{display:"flex",gap:12,alignItems:"center",flexWrap:"wrap",border:"1px solid var(--colorNeutralStroke2)",borderRadius:8,padding:12},children:[(0,m5.jsx)("a",{href:`#/p/${t.slug}`,children:t.name}),t.branch?(0,m5.jsx)(c1,{appearance:"outline",children:t.branch}):null,(0,m5.jsx)(D,{size:200,children:t.countsLabel}),t.liveBadge?(0,m5.jsx)(c1,{appearance:"tint",color:"warning",children:t.liveBadge}):(0,m5.jsx)(c1,{appearance:"tint",color:"success",children:"Live"})]},t.slug))})]},a.canonical))]})}var Q0=A(R(),1);var Ly="codeops.discovery.theme",aT=["system","light","dark"];function ky(e){return aT.includes(e)?e:"system"}function wy(e,a){return e==="light"||e==="dark"?e:a}function Ty(e){if(e==null)return"system";try{return ky(e.getItem(Ly))}catch{return"system"}}function By(e,a){if(e==null)return!1;try{return e.setItem(Ly,ky(a)),!0}catch{return!1}}function Dy(){let[e,a]=(0,Q0.useState)(()=>typeof window>"u"?"#/":window.location.hash||"#/");(0,Q0.useEffect)(()=>{if(typeof window>"u")return;let l=()=>a(window.location.hash||"#/");return window.addEventListener("popstate",l),window.addEventListener("hashchange",l),()=>{window.removeEventListener("popstate",l),window.removeEventListener("hashchange",l)}},[]);let t=(0,Q0.useCallback)((l,o)=>{if(typeof window>"u")return;let r=l.startsWith("#")?l:`#${l}`;o?.replace===!0?window.history.replaceState(null,"",r):window.location.hash=r,a(r)},[]);return{hash:e,navigate:t}}function tT(){let[e,a]=(0,Q0.useState)("light");return(0,Q0.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let t=window.matchMedia("(prefers-color-scheme: dark)"),l=()=>a(t.matches?"dark":"light");return l(),t.addEventListener?.("change",l),()=>t.removeEventListener?.("change",l)},[]),e}function Ny(){let[e,a]=(0,Q0.useState)("system"),t=tT();(0,Q0.useEffect)(()=>{if(typeof window>"u")return;let o=null;try{o=window.localStorage}catch{o=null}a(Ty(o))},[]);let l=(0,Q0.useCallback)(o=>{if(a(o),typeof window>"u")return;let r=null;try{r=window.localStorage}catch{r=null}By(r,o)},[]);return{preference:e,resolved:wy(e,t),setPreference:l}}function Py(e){(0,Q0.useEffect)(()=>{if(!e||typeof window>"u")return;let a=t=>{t.preventDefault(),t.returnValue=""};return window.addEventListener("beforeunload",a),()=>window.removeEventListener("beforeunload",a)},[e])}function Oy(e,a,t){let[l,o]=(0,Q0.useState)("live"),r=(0,Q0.useRef)({onChanged:a,onDelivered:t});return r.current={onChanged:a,onDelivered:t},(0,Q0.useEffect)(()=>{if(e===null||typeof EventSource>"u")return;let n=null,c=new EventSource(e);return c.addEventListener("hello",i=>{try{let s=JSON.parse(i.data);n!==null&&s.instanceId!==n&&o("restarted"),n=s.instanceId??n,o(u=>u==="restarted"?u:"live")}catch{o("live")}}),c.addEventListener("changed",()=>r.current.onChanged()),c.addEventListener("delivered",()=>r.current.onDelivered()),c.onerror=()=>o("reconnecting"),()=>c.close()},[e]),{status:l}}function Ey(e){let a=null,t=null,l=!1,o=!1;function r(){e.write(e.current(),{replace:!0})}async function n(){try{for(;!l&&a!==null;){let m=a;a=null;let h=await e.flush();if(l)return!1;if(o)return o=!1,r(),!1;if(!h)return a=null,r(),!1;let d=a??m;return a=null,e.write(d.hash,{replace:d.replace}),!0}return!1}finally{t=null}}function c(m,h){l||(o=!1,a={hash:m,replace:h?.replace===!0})}function i(){return l||a===null?Promise.resolve(!1):(t!==null||(t=n()),t)}function s(){if(!l){if(a=null,t!==null){o=!0;return}r()}}function u(){l=!0,a=null}return{request:c,settle:i,cancel:s,dispose:u}}function lT(e){return{questions:Object.fromEntries(e.questions.map(a=>[a.key,{...a.state,revisedAt:a.revisedAt}])),submittedGroups:e.groups.filter(a=>!!a.submittedAt).map(a=>a.key)}}function oT(e){let a=new Map(e.map(n=>[n.key,n])),t=[],l=new Set,o=new Set,r=n=>{if(l.has(n)||o.has(n))return;let c=a.get(n);if(c){o.add(n);for(let i of c.dependsOn??[])r(i);o.delete(n),l.add(n),t.push(c)}};for(let n of e)r(n.key);return t}function rT(e,a){let t=e.state.status;return t==="retired"?{key:"retired",label:"Retired"}:t==="recorded"?{key:"recorded",label:`Recorded as ${e.state.recordedAs??"\u2014"}`}:t==="submitted"?{key:"submitted",label:"Submitted"}:a.effective!==null?{key:"answered",label:"Answered"}:e.state.needsDiscussion?{key:"discussion",label:"Needs discussion"}:e.state.defer&&p8(e.state.defer).ok?{key:"deferred",label:"Deferred"}:{key:"open",label:"Open"}}function nT(e){return Array.isArray(e)?e.join(", "):e}function cT(e,a,t,l){let o=t.effective,r=new Set;if(o&&Array.isArray(o.choices))for(let d of o.choices)r.add(d);else o&&typeof o.choice=="string"&&r.add(o.choice);let n=e.recommendation,c=new Set(n===void 0?[]:Array.isArray(n)?n:[n]),i=rT(e,t),s=t.conflict.length>0?{sources:[...new Set(t.conflict.map(d=>d.from))],label:`Conflicting answers from ${[...new Set(t.conflict.map(d=>d.from))].join(", ")}`}:null,u=t.source==="implied"?{by:t.impliedBy,label:`Implied by ${t.impliedBy.join(", ")} \u2014 ${t.impliedReasons.join(", ")}`}:null,m=e.proposal&&e.state.proposalDismissed!==!0&&o===null?{label:`Proposed: ${nT(e.proposal.answer)} \u2014 Confirm or Reopen`}:null,h=["submitted","recorded","retired"].includes(e.state.status);return{key:e.key,group:e.group,title:e.title,why:e.why??null,evidence:[...e.evidence??[]],type:e.type,options:(e.options??[]).map(d=>({id:d.id,label:d.label,description:d.description??null,recommended:c.has(d.id),selected:r.has(d.id)})),text:o&&typeof o.text=="string"?o.text:null,other:o&&typeof o.other=="string"?o.other:null,storedAnswer:e.state.answer??null,implied:u,overridesImplied:t.overridesImplied===!0,conflict:s,changed:e.state.changed,proposal:m,statusKey:i.key,statusLabel:i.label,readOnly:h,notes:e.state.notes??"",defer:e.state.defer??null,needsDiscussion:e.state.needsDiscussion===!0,recommendation:Array.isArray(n)?n.join(", "):n??null,hidden:l.hidden,removedGroup:l.removedGroup,hasDraft:!1,error:null}}function iT(e){return e==="changed"?"changed \u2014 re-confirm":e==="conflict"?"in conflict":e==="proposal"?"awaiting proposal review":e==="nothing-to-submit"?"nothing to submit":"unanswered"}function sT(e,a){let t=e.dependsOn.map(l=>a.find(o=>o.key===l)?.title??l);return t.length===0?null:`Unlocks after ${t.join(", ")} is submitted`}function M8(e){let a=lT(e),t=dy(e,a),l=my(e,a,t),o=oT(e.groups),r=new Set(e.groups.map(h=>h.key)),n=new Map,c=[],i=[];for(let h of e.questions){let d=t.questions.get(h.key);if(d===void 0)continue;let f=!r.has(h.group),v=cT(h,t,d,{hidden:d.visible!==!0,removedGroup:f});n.set(h.key,v),h.state.status==="retired"||f?c.push(v):d.visible!==!0&&i.push(v)}let s=[];for(let h of o){let d=hy(e,a,t,h.key),f=t.lockedGroups.has(h.key),v=[];for(let b of e.questions){if(b.group!==h.key)continue;let z=n.get(b.key);z===void 0||z.hidden||v.push(z)}let x=v.filter(b=>b.statusKey!=="submitted"&&b.statusKey!=="recorded"),p=d.missing.filter(b=>b.reason!=="nothing-to-submit"),g=Math.max(0,x.length-p.length),M=f?sT(h,o):null,_=(M??d.missing.map(b=>`${b.key} is ${iT(b.reason)}`).join(", "))||"Nothing to submit";s.push({key:h.key,title:h.title,description:h.description??null,locked:f,lockLabel:M,ready:d.ready,missing:d.missing,missingLabel:_,summary:`${g} of ${x.length} ready`,questions:v})}let u=[],m=[];for(let h of s){if(h.ready){u.push(h.key);continue}m.push({group:h.key,title:h.title,label:h.missingLabel})}return{slug:e.slug,title:e.title,kind:e.kind,artifact:e.artifact,revision:e.revision,orphaned:e.orphaned,archived:e.archived,unarchivedAt:e.unarchivedAt??null,counts:l,groups:s,retired:c,hidden:i,submitAll:{ready:u,skipped:m}}}function Uy(e){return{repositories:e.map(a=>({name:a.name,canonical:a.canonical,projects:a.projects.map(t=>({...t,liveBadge:t.live?null:"Not open in OpenCode",countsLabel:`${t.counts.open??0} open \xB7 ${t.counts.answered??0} answered \xB7 ${t.counts.submitted??0} submitted`}))}))}}var uT=500;function dT(e){return Object.fromEntries(Object.entries(e).map(([a,t])=>{let l=t.answer;return l==null?[a,{...t}]:Array.isArray(l.choices)?[a,{...t,answer:{...l,choices:[...l.choices]}}]:[a,{...t,answer:{...l}}]}))}function hT(e){return Object.fromEntries(Object.entries(e).map(([a,t])=>[a,{...t}]))}function mT(e){if("notes"in e||"defer"in e)return!0;let a=e.answer;return a!==null&&typeof a=="object"&&("text"in a||"other"in a)}function fT(e){return e==="stale"||e==="read-only"||e==="locked"}function Iy(e){return e.unsaved}function Gy(e){let a=e.initial??null,t={},l={},o={},r=!1,n=null,c=[],i=null,s=!1,u=!1,m=!1,h=0,d={},f=0,v={},x={},p=new Set,g=null,M=!1,_=null,b=null,z=null;function y(){let I=Object.keys(t).length>0,K=Object.keys(l).length>0,a1=p.size>0,S1=Object.keys(o).length>0,M1=I||K||M||a1,J1="saved";return a1?J1="recheck":S1?J1="error":M?J1="saving":M1&&(J1="dirty"),{server:a,drafts:dT(t),incomplete:hT(l),errors:{...o},status:J1,submitting:r,unsaved:M1,delivery:n,lastError:i,missing:[...c],recheckRequired:a1,deleted:s,discardVersion:{...d},discardAllVersion:h}}function C(){m||e.onChange?.(y())}function E(){g!==null&&(clearTimeout(g),g=null)}function N(){return a?.project??{slug:e.project,name:e.project,branch:null,directory:""}}async function T(){if(M)return _??!1;M=!0,C();try{for(;!m;){let I=Object.keys(t).find(J1=>o[J1]===void 0);if(I===void 0)return Object.keys(t).length===0;let K={...t[I]},a1=v[I]??0,S1=x[I]??a?.plan.revision??0,M1;try{M1=await e.api.saveAnswer(e.project,e.plan,I,S1,K)}catch(J1){M1={ok:!1,kind:"network",message:J1 instanceof Error?J1.message:"Could not save."}}if(m)return!1;if(M1.ok){a={project:N(),plan:M1.data.plan},(v[I]??0)===a1&&(delete t[I],delete x[I]),delete o[I],p.delete(I),C();continue}return o[I]=M1.message,fT(M1.kind)?(p.add(I),C(),l1()):M1.kind==="not-found"?(C(),l1()):C(),!1}return Object.keys(t).length===0}finally{M=!1,C()}}function P(){return _===null&&(_=T().finally(()=>{_=null})),_}async function O(){let I=f,K=await e.api.getPlan(e.project,e.plan);return m?!1:I<f?!0:K.ok?(a=K.data,s=!1,i=null,C(),!1):(K.kind==="not-found"&&a!==null&&(s=!0),i=K.message,C(),!1)}function l1(I=0){if(b!==null)return b;let K=(async()=>{if(await O()&&!m){if(b=null,I>=2){i="Could not read the current plan.",C();return}await l1(I+1)}})();return b=K,K.finally(()=>{b===K&&(b=null)})}function H1(){if(M||_!==null){if(z===null){let I=P().then(()=>l1());z=I.finally(()=>{z===I&&(z=null)})}return z}return l1()}function R1(I,K){if(m||s)return;p.has(I)?(x[I]=a?.plan.revision??0,p.delete(I)):x[I]===void 0&&(x[I]=a?.plan.revision??0),t[I]={...t[I]??{},...K},f+=1,v[I]=f,delete o[I],mT(K)?(E(),g=setTimeout(()=>{g=null,P()},uT)):(E(),P()),C()}function L1(I,K,a1="incomplete"){m||(K?l[I]={reason:a1}:delete l[I],C())}function v1(I){m||(delete t[I],delete l[I],delete o[I],delete x[I],p.delete(I),f+=1,v[I]=f,d[I]=(d[I]??0)+1,C())}function Q1(){if(!m){t={},l={},o={};for(let I of Object.keys(x))delete x[I];p.clear(),f+=1,h+=1,C()}}function V0(){return Object.keys(t).length>0||Object.keys(l).length>0||Object.keys(o).length>0||p.size>0}function x2(){return m||(E(),Object.keys(o).length>0||p.size>0)?Promise.resolve(!1):Object.keys(t).length===0&&!M?Promise.resolve(!V0()):P().then(I=>I&&!V0())}function f5(I){return m?Promise.resolve(!1):I!==void 0?p.has(I)?Promise.resolve(!1):(delete o[I],P().then(()=>o[I]===void 0)):p.size>0?Promise.resolve(!1):(o={},x2())}function M0(I,K=[]){return{ok:!1,delivery:null,message:I,missing:K}}async function g1(I){if(m)return M0("This plan is no longer open.");if(r)return M0("A submission is already in progress.");if(u&&(u=!1,await H1(),m))return M0("This plan is no longer open.");let K=await x2();if(m)return M0("This plan is no longer open.");if(r)return M0("A submission is already in progress.");if(!K)return M0(i??"Answers are not saved yet.",[...c]);if(a===null)return M0("The plan has not loaded yet.");let a1=M8(a.plan);if(I===null){if(a1.submitAll.ready.length===0)return M0("No groups are ready to submit.",a1.submitAll.skipped.map(M1=>({group:M1.group,missing:[{reason:M1.label}]})))}else{let M1=a1.groups.find(J1=>J1.key===I);if(M1===void 0)return M0("That group is no longer available.");if(!M1.ready)return M0(M1.missingLabel,[{group:I,missing:M1.missing}])}r=!0,C();let S1;try{S1=await e.api.submit(e.project,e.plan,I,a.plan.revision)}catch(M1){S1={ok:!1,kind:"network",message:M1 instanceof Error?M1.message:"Could not submit."}}return m?M0("This plan is no longer open."):(r=!1,S1.ok?(n=S1.data.delivery,c=S1.data.skipped,i=null,u=!1,C(),H1(),{ok:!0,delivery:n,message:null,missing:[...c]}):(i=S1.message,(S1.kind==="network"||S1.kind==="http")&&(u=!0),C(),M0(S1.message,[...c])))}function _2(){m||(m=!0,E(),e.onChange=void 0)}return{snapshot:y,edit:R1,setIncomplete:L1,discard:v1,discardAll:Q1,flush:x2,refresh:H1,retry:f5,submit:g1,dispose:_2}}var t1=A(A1(),1);function hm({message:e,onDismiss:a}){return(0,t1.jsxs)(w1,{intent:"error",children:[(0,t1.jsx)(T1,{children:e}),a?(0,t1.jsx)(Z2,{children:(0,t1.jsx)(f1,{size:"small",onClick:a,children:"Dismiss"})}):null]})}function pT({api:e,initial:a,onIdentity:t}){let[l,o]=(0,e1.useState)(a?.repositories??null),[r,n]=(0,e1.useState)(null);return(0,e1.useEffect)(()=>{t({projectName:null,planTitle:null})},[t]),(0,e1.useEffect)(()=>{if(l!==null)return;let c=!1;return e.listProjects().then(i=>{c||(i.ok?o(i.data.repositories):n(i.message))}),()=>{c=!0}},[e,l]),r!==null?(0,t1.jsx)("main",{id:"main-content",tabIndex:-1,children:(0,t1.jsx)(hm,{message:r})}):l===null?(0,t1.jsx)("main",{id:"main-content",tabIndex:-1,children:(0,t1.jsx)(D,{children:"Loading\u2026"})}):(0,t1.jsx)(qy,{view:Uy(l)})}function vT({api:e,route:a,initial:t,onIdentity:l}){let[o,r]=(0,e1.useState)(t?.project&&t?.plans?{project:t.project,plans:t.plans}:null),[n,c]=(0,e1.useState)(null);return(0,e1.useEffect)(()=>{if(o!==null)return;let i=!1;return e.getProject(a.project).then(s=>{i||(s.ok?r(s.data):c(s.message))}),()=>{i=!0}},[e,o,a.project]),(0,e1.useEffect)(()=>{o!==null&&l({projectName:o.project.name??a.project,planTitle:null})},[o,l,a.project]),n!==null?(0,t1.jsx)("main",{id:"main-content",tabIndex:-1,children:(0,t1.jsx)(hm,{message:n})}):o===null?(0,t1.jsx)("main",{id:"main-content",tabIndex:-1,children:(0,t1.jsx)(D,{children:"Loading\u2026"})}):(0,t1.jsx)(Fy,{project:o.project,plans:o.plans})}function gT({api:e,route:a,initial:t,announce:l,shell:o,navigate:r,replaceRoute:n,registerBoundary:c,navigationNotice:i,navigationDestination:s,onDismissNavigationNotice:u}){let[m,h]=(0,e1.useState)(null),d=(0,e1.useRef)(()=>{}),[f]=(0,e1.useState)(()=>{let T=t?.plan===void 0?void 0:{project:t.project??{slug:a.project,name:a.project,branch:null,directory:""},plan:t.plan};return Gy({project:a.project,plan:a.plan,api:e,initial:T,onChange:P=>d.current(P)})}),[v,x]=(0,e1.useState)(()=>f.snapshot()),[p,g]=(0,e1.useState)(null);d.current=x,Py(Iy(v)),(0,e1.useEffect)(()=>(c(()=>f.flush()),()=>c(null)),[f,c]),(0,e1.useEffect)(()=>()=>f.dispose(),[f]);let M=t?.plan===void 0||t?.project===void 0;(0,e1.useEffect)(()=>{M&&f.refresh()},[f,M]);let _=Oy(M?`/api/projects/${encodeURIComponent(a.project)}/plans/${encodeURIComponent(a.plan)}/events`:null,()=>{f.refresh()},()=>{f.refresh()});(0,e1.useEffect)(()=>{let T={projectName:v.server?.project?.name??t?.project?.name??null,planTitle:v.server?.plan.title??t?.plan?.title??null};o?.setIdentity(T)},[t?.plan?.title,t?.project?.name,o?.setIdentity,v.server?.plan.title,v.server?.project?.name]);let b=v.server===null?null:M8(v.server.plan),z=b===null?null:nm(b,a.target),y=a.target===void 0?"none":a.target.kind==="group"?`group:${a.target.key}`:"summary",C=(0,e1.useRef)(null);(0,e1.useEffect)(()=>{z?.notice&&g(z.notice)},[z?.notice]),(0,e1.useEffect)(()=>{z?.target.kind==="group"&&z.notice===null&&g(null)},[z?.notice,z?.target.kind]),(0,e1.useEffect)(()=>{if(b===null||z===null||!z.replace)return;let T=`${b.revision}:${y}`;C.current!==T&&(C.current=T,n(N0({view:"plan",project:a.project,plan:a.plan,target:z.target})))},[n,a.plan,a.project,z,y,b]);let E=async T=>{if(!await f.flush()){h("Save your changes before archiving."),l("Save your changes before archiving.");return}let O=await e.archive(a.project,a.plan,T);if(O.ok){l(T?"Archived":"Unarchived"),h(null),await f.refresh();return}h(O.message)},N=async()=>{let T=await e.deletePlan(a.project,a.plan);if(T.ok){f.discardAll(),f.dispose(),l("Plan deleted"),n(`#/p/${encodeURIComponent(a.project)}`);return}h(T.message)};return v.deleted?(0,t1.jsxs)("main",{id:"main-content",tabIndex:-1,children:[(0,t1.jsx)("h1",{children:"Plan deleted"}),(0,t1.jsx)(D,{children:"This plan no longer exists. Any unsent draft was kept locally until you discard it."}),(0,t1.jsxs)("div",{children:[(0,t1.jsx)("a",{href:"#/",onClick:T=>{T.preventDefault(),f.discardAll(),n("#/")},children:"Back to plans"}),(0,t1.jsx)(f1,{appearance:"secondary",onClick:()=>f.discardAll(),children:"Discard draft"})]})]}):v.server===null?v.lastError!==null?(0,t1.jsxs)("main",{id:"main-content",tabIndex:-1,children:[(0,t1.jsx)(hm,{message:v.lastError,onDismiss:()=>h(null)}),(0,t1.jsx)(f1,{appearance:"primary",onClick:()=>{f.refresh()},children:"Retry"})]}):(0,t1.jsx)("main",{id:"main-content",tabIndex:-1,children:(0,t1.jsx)(D,{children:"Loading\u2026"})}):b===null||z===null?(0,t1.jsx)("main",{id:"main-content",tabIndex:-1,children:(0,t1.jsx)(D,{children:"Loading\u2026"})}):(0,t1.jsx)(Sy,{plan:b,projectSlug:a.project,projectName:v.server.project.name??a.project,branch:v.server.project.branch??null,connection:_.status,target:z.target,notice:z.notice??p,navigationNotice:i,navigationDestination:s,onDismissNavigationNotice:u,snapshot:v,navigationOpen:o?.navigationOpen??!1,onNavigationOpenChange:o?.setNavigationOpen??(()=>{}),onPatch:(T,P)=>f.edit(T,P),onFlush:()=>{f.flush()},onDiscard:T=>f.discard(T),onDiscardAll:()=>f.discardAll(),onSetIncomplete:(T,P,O)=>f.setIncomplete(T,P,O),onRetry:T=>{f.retry(T)},onNavigate:r,onSubmit:T=>f.submit(T),onArchive:T=>{E(T)},onDelete:()=>{N()},onAnnounce:l,actionError:m,onDismissActionError:()=>h(null)})}function jy({route:e,api:a,initial:t,shell:l,navigate:o}){let r=W0(),[n,c]=(0,e1.useState)(""),[i,s]=(0,e1.useState)(null),[u,m]=(0,e1.useState)(null),[h,d]=(0,e1.useState)(e),[f,v]=(0,e1.useState)({projectName:t?.project?.name??(e.view==="plan"||e.view==="project"?e.project:null),planTitle:t?.plan?.title??(e.view==="plan"?e.plan:null)}),x=(0,e1.useRef)(N0(e)),p=(0,e1.useRef)(N0(e)),g=(0,e1.useRef)(null),M=(0,e1.useRef)(null),_=(0,e1.useRef)(o);_.current=o;let b=(0,e1.useRef)(null);b.current===null&&(b.current=Ey({flush:()=>M.current?.()??Promise.resolve(!0),write:(P,O)=>{(typeof window>"u"?"":window.location.hash||"#/")!==P&&_.current?.(P,O)},current:()=>x.current}));let z=(0,e1.useCallback)((P,O)=>{if(o===void 0)return;let l1=F4(P);N0(l1)!==x.current&&(g.current=l1,b.current?.request(P,O),b.current?.settle().then(H1=>{let R1=g.current;if(!H1||R1===null){if(g.current=null,!H1){let L1="Your changes are not saved yet. Retry the save or discard the draft before leaving.";s(L1),m(P),c(L1)}return}N0(R1)===P&&(g.current=null,s(null),m(null),x.current=P,d(R1))}))},[o]),y=(0,e1.useCallback)(P=>{let O=F4(P);x.current=P,p.current=P,d(O),_.current?.(P,{replace:!0})},[]),C=(0,e1.useCallback)(P=>{M.current=P},[]),E=N0(e);(0,e1.useEffect)(()=>{E!==p.current&&(p.current=E,E!==x.current&&z(E))},[z,E]);let N=l?.identity??f,T=l?.setIdentity??v;return(0,e1.useEffect)(()=>{l?.setNavigationOpen(!1)},[h,l?.setNavigationOpen]),(0,t1.jsxs)("div",{className:r.shell,children:[(0,t1.jsx)(ry,{route:h,identity:N,preference:l?.preference??"system",onPreference:l?.setPreference??(()=>{}),navigationOpen:l?.navigationOpen??!1,onToggleNavigation:()=>l?.setNavigationOpen(!(l?.navigationOpen??!1)),showNavigationTrigger:h.view==="plan"}),(0,t1.jsx)("div",{"aria-live":"polite",role:"status",style:{minHeight:20},children:n}),h.view==="projects"?(0,t1.jsx)(pT,{api:a,initial:t,onIdentity:T}):null,h.view==="project"?(0,t1.jsx)(vT,{api:a,route:h,initial:t,onIdentity:T},h.project):null,h.view==="plan"?(0,t1.jsx)(gT,{api:a,route:h,initial:t,announce:c,shell:l,navigate:z,replaceRoute:y,registerBoundary:C,navigationNotice:i,navigationDestination:u,onDismissNavigationNotice:()=>{s(null),m(null)}},`${h.project}/${h.plan}`):null,h.view==="not-found"?(0,t1.jsxs)("main",{id:"main-content",tabIndex:-1,children:[(0,t1.jsx)("h1",{children:"Not found"}),(0,t1.jsxs)(D,{children:["That page does not exist. ",(0,t1.jsx)("a",{href:"#/",children:"Back to projects"})]})]}):null]})}var MT=["stale","read-only","locked","not-ready","nothing-ready","not-found","invalid"];function x8(e){return encodeURIComponent(e)}function Wy(e,a=fetch){let t=e.replace(/\/$/,"");async function l(r,n,c){let i;try{i=await a(`${t}${n}`,{method:r,headers:c===void 0?void 0:{"Content-Type":"application/json"},body:c===void 0?void 0:JSON.stringify(c)})}catch{return{ok:!1,kind:"network",message:"Could not reach Discovery."}}let s=await i.json().catch(()=>null);if(i.ok)return{ok:!0,data:s};let u=s;return{ok:!1,kind:MT.includes(u?.error)?u?.error:"http",status:i.status,message:u?.message||"Discovery request failed."}}let o=(r,n)=>`/api/projects/${x8(r)}/plans/${x8(n)}`;return{listProjects:()=>l("GET","/api/projects"),getProject:r=>l("GET",`/api/projects/${x8(r)}`),getPlan:(r,n)=>l("GET",o(r,n)),saveAnswer:(r,n,c,i,s)=>l("PUT",`${o(r,n)}/questions/${x8(c)}`,{baseRevision:i,patch:s}),submit:(r,n,c,i)=>l("POST",`${o(r,n)}/submit`,{group:c,baseRevision:i}),archive:(r,n,c)=>l("POST",`${o(r,n)}/archive`,{archived:c}),deletePlan:(r,n)=>l("DELETE",o(r,n),{confirm:!0})}}function Qy(e,a){return l3(a,{styleElementAttributes:{nonce:e}})}var q4=A(A1(),1);function xT(){let{hash:e,navigate:a}=Dy(),t=Ny(),l=(0,G3.useMemo)(()=>Wy(window.location.origin),[]),[o,r]=(0,G3.useState)(!1),[n,c]=(0,G3.useState)({projectName:null,planTitle:null}),i=(0,G3.useCallback)(u=>{c(m=>m.projectName===u.projectName&&m.planTitle===u.planTitle?m:u)},[]),s={preference:t.preference,setPreference:t.setPreference,navigationOpen:o,setNavigationOpen:r,identity:n,setIdentity:i};return(0,q4.jsx)(f3,{theme:t.resolved==="dark"?m3:h3,children:(0,q4.jsx)(jy,{route:F4(e),api:l,shell:s,navigate:a})})}var _T=document.querySelector('meta[name="csp-nonce"]')?.getAttribute("content")??"",zT=Qy(_T,document),Xy=document.getElementById("root");Xy!==null&&(0,Ky.createRoot)(Xy).render((0,q4.jsx)(Nn,{renderer:zT,children:(0,q4.jsx)(xT,{})}));
|
|
16
|
+
/*! Bundled license information:
|
|
17
|
+
|
|
18
|
+
react/cjs/react.production.js:
|
|
19
|
+
(**
|
|
20
|
+
* @license React
|
|
21
|
+
* react.production.js
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*)
|
|
28
|
+
|
|
29
|
+
scheduler/cjs/scheduler.production.js:
|
|
30
|
+
(**
|
|
31
|
+
* @license React
|
|
32
|
+
* scheduler.production.js
|
|
33
|
+
*
|
|
34
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
35
|
+
*
|
|
36
|
+
* This source code is licensed under the MIT license found in the
|
|
37
|
+
* LICENSE file in the root directory of this source tree.
|
|
38
|
+
*)
|
|
39
|
+
|
|
40
|
+
react-dom/cjs/react-dom.production.js:
|
|
41
|
+
(**
|
|
42
|
+
* @license React
|
|
43
|
+
* react-dom.production.js
|
|
44
|
+
*
|
|
45
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the MIT license found in the
|
|
48
|
+
* LICENSE file in the root directory of this source tree.
|
|
49
|
+
*)
|
|
50
|
+
|
|
51
|
+
react-dom/cjs/react-dom-client.production.js:
|
|
52
|
+
(**
|
|
53
|
+
* @license React
|
|
54
|
+
* react-dom-client.production.js
|
|
55
|
+
*
|
|
56
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license found in the
|
|
59
|
+
* LICENSE file in the root directory of this source tree.
|
|
60
|
+
*)
|
|
61
|
+
|
|
62
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
63
|
+
(**
|
|
64
|
+
* @license React
|
|
65
|
+
* react-jsx-runtime.production.js
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the MIT license found in the
|
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
|
71
|
+
*)
|
|
72
|
+
|
|
73
|
+
tabster/dist/esm/Consts.js:
|
|
74
|
+
tabster/dist/esm/Instance.js:
|
|
75
|
+
tabster/dist/esm/Events.js:
|
|
76
|
+
tabster/dist/esm/DOMAPI.js:
|
|
77
|
+
tabster/dist/esm/Utils.js:
|
|
78
|
+
tabster/dist/esm/DummyInput.js:
|
|
79
|
+
tabster/dist/esm/AttributeHelpers.js:
|
|
80
|
+
tabster/dist/esm/Root.js:
|
|
81
|
+
tabster/dist/esm/Focusable.js:
|
|
82
|
+
tabster/dist/esm/Keys.js:
|
|
83
|
+
tabster/dist/esm/State/Subscribable.js:
|
|
84
|
+
tabster/dist/esm/State/FocusedElement.js:
|
|
85
|
+
tabster/dist/esm/State/KeyboardNavigation.js:
|
|
86
|
+
tabster/dist/esm/MutationEvent.js:
|
|
87
|
+
tabster/dist/esm/Uncontrolled.js:
|
|
88
|
+
tabster/dist/esm/Modalizer.js:
|
|
89
|
+
tabster/dist/esm/get/getModalizer.js:
|
|
90
|
+
tabster/dist/esm/Mover.js:
|
|
91
|
+
tabster/dist/esm/get/getMover.js:
|
|
92
|
+
tabster/dist/esm/Restorer.js:
|
|
93
|
+
tabster/dist/esm/get/getRestorer.js:
|
|
94
|
+
tabster/dist/esm/Tabster.js:
|
|
95
|
+
tabster/dist/esm/index.js:
|
|
96
|
+
(*!
|
|
97
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
98
|
+
* Licensed under the MIT License.
|
|
99
|
+
*)
|
|
100
|
+
|
|
101
|
+
keyborg/dist/index.js:
|
|
102
|
+
keyborg/dist/index.js:
|
|
103
|
+
(*!
|
|
104
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
105
|
+
* Licensed under the MIT License.
|
|
106
|
+
*)
|
|
107
|
+
*/
|