@cyco77/pptb-fast-record-counter 0.7.0 → 0.8.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.
@@ -0,0 +1,9 @@
1
+ (function(){var e=document.createElement(`style`);e.textContent=`*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6}#root{height:100vh}[role=grid] [role=rowgroup]:first-child{z-index:10;background-color:var(--colorNeutralBackground1,#fff);position:sticky;top:0}
2
+ /*$vite$:1*/`,document.head.appendChild(e);var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),u=s((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function ee(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function te(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ne(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var re=/\/+/g;function E(e,t){return typeof e==`object`&&e&&e.key!=null?ne(``+e.key):t.toString(36)}function ie(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+E(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(re,`$&/`)+`/`),ie(o,r,i,``,function(e){return e})):o!=null&&(te(o)&&(o=ee(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(re,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+E(s,l);c+=ie(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+E(s,l++),c+=ie(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function ae(e,t,n){if(e==null)return e;var r=[],i=0;return ie(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function oe(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var se={current:null},ce={transition:null},le={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:ce,ReactCurrentOwner:C};function ue(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:ae,forEach:function(e,t,n){ae(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ae(e,function(){t++}),t},toArray:function(e){return ae(e,function(e){return e})||[]},only:function(e){if(!te(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,e.act=ue,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=te,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:oe}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=ce.transition;ce.transition={};try{e()}finally{ce.transition=t}},e.unstable_act=ue,e.useCallback=function(e,t){return se.current.useCallback(e,t)},e.useContext=function(e){return se.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return se.current.useDeferredValue(e)},e.useEffect=function(e,t){return se.current.useEffect(e,t)},e.useId=function(){return se.current.useId()},e.useImperativeHandle=function(e,t,n){return se.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return se.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return se.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return se.current.useMemo(e,t)},e.useReducer=function(e,t,n){return se.current.useReducer(e,t,n)},e.useRef=function(e){return se.current.useRef(e)},e.useState=function(e){return se.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return se.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return se.current.useTransition()},e.version=`18.3.1`})),d=s(((e,t)=>{t.exports=u()})),f=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,ae(x);else{var t=n(l);t!==null&&oe(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!te());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&oe(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,ee=-1;function te(){return!(e.unstable_now()-ee<T)}function ne(){if(C!==null){var t=e.unstable_now();ee=t;var n=!0;try{n=C(!0,t)}finally{n?re():(S=!1,C=null)}}else S=!1}var re;if(typeof v==`function`)re=function(){v(ne)};else if(typeof MessageChannel<`u`){var E=new MessageChannel,ie=E.port2;E.port1.onmessage=ne,re=function(){ie.postMessage(null)}}else re=function(){g(ne,0)};function ae(e){C=e,S||(S=!0,re())}function oe(t,n){w=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,ae(x))},e.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`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,oe(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ae(x))),r},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{var t=d(),n=p();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[: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]*$/,f={},m={};function h(e){return l.call(m,e)?!0:l.call(f,e)?!1:u.test(e)?m[e]=!0:(f[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?h(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),ee=Symbol.for(`react.fragment`),te=Symbol.for(`react.strict_mode`),ne=Symbol.for(`react.profiler`),re=Symbol.for(`react.provider`),E=Symbol.for(`react.context`),ie=Symbol.for(`react.forward_ref`),ae=Symbol.for(`react.suspense`),oe=Symbol.for(`react.suspense_list`),se=Symbol.for(`react.memo`),ce=Symbol.for(`react.lazy`),le=Symbol.for(`react.offscreen`),ue=Symbol.iterator;function de(e){return typeof e!=`object`||!e?null:(e=ue&&e[ue]||e[`@@iterator`],typeof e==`function`?e:null)}var D=Object.assign,fe;function O(e){if(fe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);fe=t&&t[1]||``}return`
3
+ `+fe+e}var pe=!1;function me(e,t){if(!e||pe)return``;pe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`
4
+ `),a=r.stack.split(`
5
+ `),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`
6
+ `+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{pe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?O(e):``}function he(e){switch(e.tag){case 5:return O(e.type);case 16:return O(`Lazy`);case 13:return O(`Suspense`);case 19:return O(`SuspenseList`);case 0:case 2:case 15:return e=me(e.type,!1),e;case 11:return e=me(e.type.render,!1),e;case 1:return e=me(e.type,!0),e;default:return``}}function ge(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case ee:return`Fragment`;case T:return`Portal`;case ne:return`Profiler`;case te:return`StrictMode`;case ae:return`Suspense`;case oe:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case E:return(e.displayName||`Context`)+`.Consumer`;case re:return(e._context.displayName||`Context`)+`.Provider`;case ie:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case se:return t=e.displayName||null,t===null?ge(e.type)||`Memo`:t;case ce:t=e._payload,e=e._init;try{return ge(e(t))}catch{}}return null}function _e(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return ge(t);case 8:return t===te?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function ve(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function ye(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function be(e){var t=ye(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xe(e){e._valueTracker||=be(e)}function Se(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=ye(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Ce(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function we(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Te(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=ve(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function Ee(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function De(e,t){Ee(e,t);var n=ve(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?ke(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&ke(e,t.type,ve(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oe(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function ke(e,t,n){(t!==`number`||Ce(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var Ae=Array.isArray;function je(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+ve(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Me(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return D({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function Ne(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(Ae(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:ve(n)}}function Pe(e,t){var n=ve(t.value),r=ve(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function Fe(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Ie(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function Le(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Ie(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var Re,ze=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(Re||=document.createElement(`div`),Re.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=Re.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function k(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ve=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Be).forEach(function(e){Ve.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Be[t]=Be[e]})});function He(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Be.hasOwnProperty(e)&&Be[e]?(``+t).trim():t+`px`}function Ue(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=He(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var We=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ge(e,t){if(t){if(We[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Ke(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;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 qe=null;function Je(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ye=null,Xe=null,Ze=null;function Qe(e){if(e=Gi(e)){if(typeof Ye!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=qi(t),Ye(e.stateNode,e.type,t))}}function $e(e){Xe?Ze?Ze.push(e):Ze=[e]:Xe=e}function et(){if(Xe){var e=Xe,t=Ze;if(Ze=Xe=null,Qe(e),t)for(e=0;e<t.length;e++)Qe(t[e])}}function tt(e,t){return e(t)}function nt(){}var rt=!1;function it(e,t,n){if(rt)return e(t,n);rt=!0;try{return tt(e,t,n)}finally{rt=!1,(Xe!==null||Ze!==null)&&(nt(),et())}}function at(e,t){var n=e.stateNode;if(n===null)return null;var i=qi(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var ot=!1;if(c)try{var st={};Object.defineProperty(st,"passive",{get:function(){ot=!0}}),window.addEventListener(`test`,st,st),window.removeEventListener(`test`,st,st)}catch{ot=!1}function ct(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var lt=!1,ut=null,dt=!1,ft=null,pt={onError:function(e){lt=!0,ut=e}};function mt(e,t,n,r,i,a,o,s,c){lt=!1,ut=null,ct.apply(pt,arguments)}function ht(e,t,n,i,a,o,s,c,l){if(mt.apply(this,arguments),lt){if(lt){var u=ut;lt=!1,ut=null}else throw Error(r(198));dt||(dt=!0,ft=u)}}function gt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function _t(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vt(e){if(gt(e)!==e)throw Error(r(188))}function yt(e){var t=e.alternate;if(!t){if(t=gt(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return vt(a),e;if(o===i)return vt(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function bt(e){return e=yt(e),e===null?null:xt(e)}function xt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xt(e);if(t!==null)return t;e=e.sibling}return null}var St=n.unstable_scheduleCallback,Ct=n.unstable_cancelCallback,wt=n.unstable_shouldYield,Tt=n.unstable_requestPaint,A=n.unstable_now,Et=n.unstable_getCurrentPriorityLevel,Dt=n.unstable_ImmediatePriority,Ot=n.unstable_UserBlockingPriority,j=n.unstable_NormalPriority,kt=n.unstable_LowPriority,At=n.unstable_IdlePriority,jt=null,Mt=null;function Nt(e){if(Mt&&typeof Mt.onCommitFiberRoot==`function`)try{Mt.onCommitFiberRoot(jt,e,void 0,(e.current.flags&128)==128)}catch{}}var Pt=Math.clz32?Math.clz32:Lt,Ft=Math.log,It=Math.LN2;function Lt(e){return e>>>=0,e===0?32:31-(Ft(e)/It|0)|0}var Rt=64,zt=4194304;function Bt(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Vt(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Bt(a))):r=Bt(s)}else o=n&~i,o===0?a!==0&&(r=Bt(a)):r=Bt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Pt(t),i=1<<n,r|=e[n],t&=~i;return r}function Ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ut(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Pt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ht(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Wt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Gt(){var e=Rt;return Rt<<=1,!(Rt&4194240)&&(Rt=64),e}function Kt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function qt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Pt(t),e[t]=n}function Jt(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Pt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Pt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var M=0;function Xt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Zt,Qt,$t,en,tn,nn=!1,rn=[],an=null,on=null,sn=null,cn=new Map,ln=new Map,un=[],dn=`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 submit`.split(` `);function fn(e,t){switch(e){case`focusin`:case`focusout`:an=null;break;case`dragenter`:case`dragleave`:on=null;break;case`mouseover`:case`mouseout`:sn=null;break;case`pointerover`:case`pointerout`:cn.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:ln.delete(t.pointerId)}}function pn(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Gi(t),t!==null&&Qt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function mn(e,t,n,r,i){switch(t){case`focusin`:return an=pn(an,e,t,n,r,i),!0;case`dragenter`:return on=pn(on,e,t,n,r,i),!0;case`mouseover`:return sn=pn(sn,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return cn.set(a,pn(cn.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,ln.set(a,pn(ln.get(a)||null,e,t,n,r,i)),!0}return!1}function hn(e){var t=Wi(e.target);if(t!==null){var n=gt(t);if(n!==null){if(t=n.tag,t===13){if(t=_t(n),t!==null){e.blockedOn=t,tn(e.priority,function(){$t(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Dn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);qe=r,n.target.dispatchEvent(r),qe=null}else return t=Gi(n),t!==null&&Qt(t),e.blockedOn=n,!1;t.shift()}return!0}function _n(e,t,n){gn(e)&&n.delete(t)}function vn(){nn=!1,an!==null&&gn(an)&&(an=null),on!==null&&gn(on)&&(on=null),sn!==null&&gn(sn)&&(sn=null),cn.forEach(_n),ln.forEach(_n)}function yn(e,t){e.blockedOn===t&&(e.blockedOn=null,nn||(nn=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,vn)))}function bn(e){function t(t){return yn(t,e)}if(0<rn.length){yn(rn[0],e);for(var n=1;n<rn.length;n++){var r=rn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(an!==null&&yn(an,e),on!==null&&yn(on,e),sn!==null&&yn(sn,e),cn.forEach(t),ln.forEach(t),n=0;n<un.length;n++)r=un[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<un.length&&(n=un[0],n.blockedOn===null);)hn(n),n.blockedOn===null&&un.shift()}var xn=C.ReactCurrentBatchConfig,Sn=!0;function Cn(e,t,n,r){var i=M,a=xn.transition;xn.transition=null;try{M=1,Tn(e,t,n,r)}finally{M=i,xn.transition=a}}function wn(e,t,n,r){var i=M,a=xn.transition;xn.transition=null;try{M=4,Tn(e,t,n,r)}finally{M=i,xn.transition=a}}function Tn(e,t,n,r){if(Sn){var i=Dn(e,t,n,r);if(i===null)_i(e,t,r,En,n),fn(e,r);else if(mn(i,e,t,n,r))r.stopPropagation();else if(fn(e,r),t&4&&-1<dn.indexOf(e)){for(;i!==null;){var a=Gi(i);if(a!==null&&Zt(a),a=Dn(e,t,n,r),a===null&&_i(e,t,r,En,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else _i(e,t,r,null,n)}}var En=null;function Dn(e,t,n,r){if(En=null,e=Je(r),e=Wi(e),e!==null)if(t=gt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=_t(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return En=e,null}function On(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(Et()){case Dt:return 1;case Ot:return 4;case j:case kt:return 16;case At:return 536870912;default:return 16}default:return 16}}var kn=null,An=null,jn=null;function Mn(){if(jn)return jn;var e,t=An,n=t.length,r,i=`value`in kn?kn.value:kn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return jn=i.slice(e,1<r?1-r:void 0)}function Nn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Pn(){return!0}function Fn(){return!1}function In(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Pn:Fn,this.isPropagationStopped=Fn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Pn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Pn)},persist:function(){},isPersistent:Pn}),t}var Ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rn=In(Ln),zn=D({},Ln,{view:0,detail:0}),Bn=In(zn),Vn,Hn,Un,Wn=D({},zn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:er,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!==Un&&(Un&&e.type===`mousemove`?(Vn=e.screenX-Un.screenX,Hn=e.screenY-Un.screenY):Hn=Vn=0,Un=e),Vn)},movementY:function(e){return`movementY`in e?e.movementY:Hn}}),Gn=In(Wn),Kn=In(D({},Wn,{dataTransfer:0})),qn=In(D({},zn,{relatedTarget:0})),Jn=In(D({},Ln,{animationName:0,elapsedTime:0,pseudoElement:0})),Yn=In(D({},Ln,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Xn=In(D({},Ln,{data:0})),Zn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Qn={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`},$n={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function N(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$n[e])?!!t[e]:!1}function er(){return N}var tr=In(D({},zn,{key:function(e){if(e.key){var t=Zn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Nn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Qn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:er,charCode:function(e){return e.type===`keypress`?Nn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Nn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),nr=In(D({},Wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),rr=In(D({},zn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:er})),ir=In(D({},Ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),P=In(D({},Wn,{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})),ar=[9,13,27,32],or=c&&`CompositionEvent`in window,sr=null;c&&`documentMode`in document&&(sr=document.documentMode);var cr=c&&`TextEvent`in window&&!sr,lr=c&&(!or||sr&&8<sr&&11>=sr),F=` `,ur=!1;function dr(e,t){switch(e){case`keyup`:return ar.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function fr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var pr=!1;function mr(e,t){switch(e){case`compositionend`:return fr(t);case`keypress`:return t.which===32?(ur=!0,F):null;case`textInput`:return e=t.data,e===F&&ur?null:e;default:return null}}function hr(e,t){if(pr)return e===`compositionend`||!or&&dr(e,t)?(e=Mn(),jn=An=kn=null,pr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return lr&&t.locale!==`ko`?null:t.data;default:return null}}var gr={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 _r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!gr[e.type]:t===`textarea`}function vr(e,t,n,r){$e(r),t=vi(t,`onChange`),0<t.length&&(n=new Rn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var yr=null,br=null;function xr(e){fi(e,0)}function Sr(e){if(Se(Ki(e)))return e}function Cr(e,t){if(e===`change`)return t}var wr=!1;if(c){var Tr;if(c){var Er=`oninput`in document;if(!Er){var Dr=document.createElement(`div`);Dr.setAttribute(`oninput`,`return;`),Er=typeof Dr.oninput==`function`}Tr=Er}else Tr=!1;wr=Tr&&(!document.documentMode||9<document.documentMode)}function Or(){yr&&(yr.detachEvent(`onpropertychange`,kr),br=yr=null)}function kr(e){if(e.propertyName===`value`&&Sr(br)){var t=[];vr(t,br,e,Je(e)),it(xr,t)}}function Ar(e,t,n){e===`focusin`?(Or(),yr=t,br=n,yr.attachEvent(`onpropertychange`,kr)):e===`focusout`&&Or()}function jr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Sr(br)}function Mr(e,t){if(e===`click`)return Sr(t)}function Nr(e,t){if(e===`input`||e===`change`)return Sr(t)}function Pr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Fr=typeof Object.is==`function`?Object.is:Pr;function Ir(e,t){if(Fr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Fr(e[i],t[i]))return!1}return!0}function Lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rr(e,t){var n=Lr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Lr(n)}}function zr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Br(){for(var e=window,t=Ce();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ce(e.document)}return t}function Vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Hr(e){var t=Br(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zr(n.ownerDocument.documentElement,n)){if(r!==null&&Vr(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Rr(n,a);var o=Rr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ur=c&&`documentMode`in document&&11>=document.documentMode,Wr=null,Gr=null,Kr=null,qr=!1;function Jr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qr||Wr==null||Wr!==Ce(r)||(r=Wr,`selectionStart`in r&&Vr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Kr&&Ir(Kr,r)||(Kr=r,r=vi(Gr,`onSelect`),0<r.length&&(t=new Rn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Wr)))}function Yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Xr={animationend:Yr(`Animation`,`AnimationEnd`),animationiteration:Yr(`Animation`,`AnimationIteration`),animationstart:Yr(`Animation`,`AnimationStart`),transitionend:Yr(`Transition`,`TransitionEnd`)},Zr={},Qr={};c&&(Qr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),`TransitionEvent`in window||delete Xr.transitionend.transition);function $r(e){if(Zr[e])return Zr[e];if(!Xr[e])return e;var t=Xr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Qr)return Zr[e]=t[n];return e}var ei=$r(`animationend`),ti=$r(`animationiteration`),ni=$r(`animationstart`),ri=$r(`transitionend`),ii=new Map,ai=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function oi(e,t){ii.set(e,t),o(t,[e])}for(var si=0;si<ai.length;si++){var ci=ai[si];oi(ci.toLowerCase(),`on`+(ci[0].toUpperCase()+ci.slice(1)))}oi(ei,`onAnimationEnd`),oi(ti,`onAnimationIteration`),oi(ni,`onAnimationStart`),oi(`dblclick`,`onDoubleClick`),oi(`focusin`,`onFocus`),oi(`focusout`,`onBlur`),oi(ri,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var li=`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(` `),ui=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(li));function di(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,ht(r,t,void 0,e),e.currentTarget=null}function fi(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;di(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;di(i,s,l),a=c}}}if(dt)throw e=ft,dt=!1,ft=null,e}function I(e,t){var n=t[Vi];n===void 0&&(n=t[Vi]=new Set);var r=e+`__bubble`;n.has(r)||(gi(t,e,2,!1),n.add(r))}function pi(e,t,n){var r=0;t&&(r|=4),gi(n,e,r,t)}var mi=`_reactListening`+Math.random().toString(36).slice(2);function hi(e){if(!e[mi]){e[mi]=!0,i.forEach(function(t){t!==`selectionchange`&&(ui.has(t)||pi(t,!1,e),pi(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mi]||(t[mi]=!0,pi(`selectionchange`,!1,t))}}function gi(e,t,n,r){switch(On(t)){case 1:var i=Cn;break;case 4:i=wn;break;default:i=Tn}n=i.bind(null,t,n,e),i=void 0,!ot||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function _i(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Wi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}it(function(){var r=a,i=Je(n),o=[];a:{var s=ii.get(e);if(s!==void 0){var c=Rn,l=e;switch(e){case`keypress`:if(Nn(n)===0)break a;case`keydown`:case`keyup`:c=tr;break;case`focusin`:l=`focus`,c=qn;break;case`focusout`:l=`blur`,c=qn;break;case`beforeblur`:case`afterblur`:c=qn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Gn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Kn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=rr;break;case ei:case ti:case ni:c=Jn;break;case ri:c=ir;break;case`scroll`:c=Bn;break;case`wheel`:c=P;break;case`copy`:case`cut`:case`paste`:c=Yn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=nr}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=at(p,f),h!=null&&u.push(L(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==qe&&(l=n.relatedTarget||n.fromElement)&&(Wi(l)||l[Bi]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Wi(l):null,l!==null&&(d=gt(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Gn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=nr,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Ki(c),m=l==null?s:Ki(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Wi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=yi(m))p++;for(m=0,h=f;h;h=yi(h))m++;for(;0<p-m;)u=yi(u),p--;for(;0<m-p;)f=yi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=yi(u),f=yi(f)}u=null}else u=null;c!==null&&bi(o,s,c,u,!1),l!==null&&d!==null&&bi(o,d,l,u,!0)}}a:{if(s=r?Ki(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Cr;else if(_r(s))if(wr)g=Nr;else{g=jr;var _=Ar}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=Mr);if(g&&=g(e,r)){vr(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&ke(s,`number`,s.value)}switch(_=r?Ki(r):window,e){case`focusin`:(_r(_)||_.contentEditable===`true`)&&(Wr=_,Gr=r,Kr=null);break;case`focusout`:Kr=Gr=Wr=null;break;case`mousedown`:qr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:qr=!1,Jr(o,n,i);break;case`selectionchange`:if(Ur)break;case`keydown`:case`keyup`:Jr(o,n,i)}var v;if(or)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else pr?dr(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(lr&&n.locale!==`ko`&&(pr||y!==`onCompositionStart`?y===`onCompositionEnd`&&pr&&(v=Mn()):(kn=i,An=`value`in kn?kn.value:kn.textContent,pr=!0)),_=vi(r,y),0<_.length&&(y=new Xn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=fr(n),v!==null&&(y.data=v)))),(v=cr?mr(e,n):hr(e,n))&&(r=vi(r,`onBeforeInput`),0<r.length&&(i=new Xn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}fi(o,t)})}function L(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=at(e,n),a!=null&&r.unshift(L(e,a,i)),a=at(e,t),a!=null&&r.push(L(e,a,i))),e=e.return}return r}function yi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bi(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=at(n,a),c!=null&&o.unshift(L(n,c,s))):i||(c=at(n,a),c!=null&&o.push(L(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var xi=/\r\n?/g,Si=/\u0000|\uFFFD/g;function Ci(e){return(typeof e==`string`?e:``+e).replace(xi,`
7
+ `).replace(Si,``)}function wi(e,t,n){if(t=Ci(t),Ci(e)!==t&&n)throw Error(r(425))}function Ti(){}var Ei=null,Di=null;function Oi(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ki=typeof setTimeout==`function`?setTimeout:void 0,Ai=typeof clearTimeout==`function`?clearTimeout:void 0,ji=typeof Promise==`function`?Promise:void 0,Mi=typeof queueMicrotask==`function`?queueMicrotask:ji===void 0?ki:function(e){return ji.resolve(null).then(e).catch(Ni)};function Ni(e){setTimeout(function(){throw e})}function Pi(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),bn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);bn(t)}function Fi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Ii(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Li=Math.random().toString(36).slice(2),Ri=`__reactFiber$`+Li,zi=`__reactProps$`+Li,Bi=`__reactContainer$`+Li,Vi=`__reactEvents$`+Li,Hi=`__reactListeners$`+Li,Ui=`__reactHandles$`+Li;function Wi(e){var t=e[Ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bi]||n[Ri]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ii(e);e!==null;){if(n=e[Ri])return n;e=Ii(e)}return t}e=n,n=e.parentNode}return null}function Gi(e){return e=e[Ri]||e[Bi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ki(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function qi(e){return e[zi]||null}var Ji=[],Yi=-1;function Xi(e){return{current:e}}function R(e){0>Yi||(e.current=Ji[Yi],Ji[Yi]=null,Yi--)}function z(e,t){Yi++,Ji[Yi]=e.current,e.current=t}var Zi={},Qi=Xi(Zi),B=Xi(!1),$i=Zi;function ea(e,t){var n=e.type.contextTypes;if(!n)return Zi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ta(e){return e=e.childContextTypes,e!=null}function na(){R(B),R(Qi)}function ra(e,t,n){if(Qi.current!==Zi)throw Error(r(168));z(Qi,t),z(B,n)}function ia(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,_e(e)||`Unknown`,a));return D({},n,i)}function aa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zi,$i=Qi.current,z(Qi,e),z(B,B.current),!0}function oa(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=ia(e,t,$i),i.__reactInternalMemoizedMergedChildContext=e,R(B),R(Qi),z(Qi,e)):R(B),z(B,n)}var sa=null,ca=!1,la=!1;function ua(e){sa===null?sa=[e]:sa.push(e)}function da(e){ca=!0,ua(e)}function fa(){if(!la&&sa!==null){la=!0;var e=0,t=M;try{var n=sa;for(M=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}sa=null,ca=!1}catch(t){throw sa!==null&&(sa=sa.slice(e+1)),St(Dt,fa),t}finally{M=t,la=!1}}return null}var pa=[],ma=0,ha=null,ga=0,_a=[],va=0,ya=null,ba=1,xa=``;function Sa(e,t){pa[ma++]=ga,pa[ma++]=ha,ha=e,ga=t}function Ca(e,t,n){_a[va++]=ba,_a[va++]=xa,_a[va++]=ya,ya=e;var r=ba;e=xa;var i=32-Pt(r)-1;r&=~(1<<i),n+=1;var a=32-Pt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ba=1<<32-Pt(t)+i|n<<i|r,xa=a+e}else ba=1<<a|n<<i|r,xa=e}function wa(e){e.return!==null&&(Sa(e,1),Ca(e,1,0))}function Ta(e){for(;e===ha;)ha=pa[--ma],pa[ma]=null,ga=pa[--ma],pa[ma]=null;for(;e===ya;)ya=_a[--va],_a[va]=null,xa=_a[--va],_a[va]=null,ba=_a[--va],_a[va]=null}var V=null,Ea=null,H=!1,Da=null;function Oa(e,t){var n=Kl(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ka(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,V=e,Ea=Fi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,V=e,Ea=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=ya===null?null:{id:ba,overflow:xa},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Kl(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,V=e,Ea=null,!0);default:return!1}}function Aa(e){return(e.mode&1)!=0&&(e.flags&128)==0}function ja(e){if(H){var t=Ea;if(t){var n=t;if(!ka(e,t)){if(Aa(e))throw Error(r(418));t=Fi(n.nextSibling);var i=V;t&&ka(e,t)?Oa(i,n):(e.flags=e.flags&-4097|2,H=!1,V=e)}}else{if(Aa(e))throw Error(r(418));e.flags=e.flags&-4097|2,H=!1,V=e}}}function Ma(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;V=e}function Na(e){if(e!==V)return!1;if(!H)return Ma(e),H=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Oi(e.type,e.memoizedProps)),t&&=Ea){if(Aa(e))throw Pa(),Error(r(418));for(;t;)Oa(e,t),t=Fi(t.nextSibling)}if(Ma(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Ea=Fi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Ea=null}}else Ea=V?Fi(e.stateNode.nextSibling):null;return!0}function Pa(){for(var e=Ea;e;)e=Fi(e.nextSibling)}function Fa(){Ea=V=null,H=!1}function Ia(e){Da===null?Da=[e]:Da.push(e)}var La=C.ReactCurrentBatchConfig;function Ra(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function za(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ba(e){var t=e._init;return t(e._payload)}function Va(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=Yl(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=$l(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===ee?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===ce&&Ba(i)===t.type)?(r=a(t,n.props),r.ref=Ra(e,t,n),r.return=e,r):(r=Xl(n.type,n.key,n.props,null,e.mode,r),r.ref=Ra(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=eu(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=Zl(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=$l(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=Xl(t.type,t.key,t.props,null,e.mode,n),n.ref=Ra(e,null,t),n.return=e,n;case T:return t=eu(t,e.mode,n),t.return=e,t;case ce:var r=t._init;return f(e,r(t._payload),n)}if(Ae(t)||de(t))return t=Zl(t,e.mode,n,null),t.return=e,t;za(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case ce:return i=n._init,p(e,t,i(n._payload),r)}if(Ae(n)||de(n))return i===null?d(e,t,n,r,null):null;za(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ce:var a=r._init;return m(e,t,n,a(r._payload),i)}if(Ae(r)||de(r))return e=e.get(n)||null,d(t,e,r,i,null);za(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),H&&Sa(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return H&&Sa(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),H&&Sa(r,h),l}function g(a,s,c,l){var u=de(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),H&&Sa(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return H&&Sa(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),H&&Sa(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===ee&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===ee){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===ce&&Ba(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ra(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===ee?(r=Zl(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=Xl(i.type,i.key,i.props,null,e.mode,o),o.ref=Ra(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=eu(i,e.mode,o),r.return=e,e=r}return s(e);case ce:return l=i._init,_(e,r,l(i._payload),o)}if(Ae(i))return h(e,r,i,o);if(de(i))return g(e,r,i,o);za(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=$l(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Ha=Va(!0),Ua=Va(!1),Wa=Xi(null),Ga=null,Ka=null,qa=null;function Ja(){qa=Ka=Ga=null}function U(e){var t=Wa.current;R(Wa),e._currentValue=t}function Ya(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Xa(e,t){Ga=e,qa=Ka=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Rs=!0),e.firstContext=null)}function Za(e){var t=e._currentValue;if(qa!==e)if(e={context:e,memoizedValue:t,next:null},Ka===null){if(Ga===null)throw Error(r(308));Ka=e,Ga.dependencies={lanes:0,firstContext:e}}else Ka=Ka.next=e;return t}var Qa=null;function $a(e){Qa===null?Qa=[e]:Qa.push(e)}function eo(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,$a(t)):(n.next=i.next,i.next=n),t.interleaved=n,to(e,r)}function to(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var no=!1;function ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function io(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ao(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,to(e,n)}return i=r.interleaved,i===null?(t.next=t,$a(r)):(t.next=i.next,i.next=t),r.interleaved=t,to(e,n)}function so(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yt(e,n)}}function co(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function lo(e,t,n,r){var i=e.updateQueue;no=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=D({},d,f);break a;case 2:no=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Jc|=o,e.lanes=o,e.memoizedState=d}}function uo(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var fo={},po=Xi(fo),mo=Xi(fo),ho=Xi(fo);function go(e){if(e===fo)throw Error(r(174));return e}function _o(e,t){switch(z(ho,t),z(mo,e),z(po,fo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Le(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Le(t,e)}R(po),z(po,t)}function vo(){R(po),R(mo),R(ho)}function yo(e){go(ho.current);var t=go(po.current),n=Le(t,e.type);t!==n&&(z(mo,e),z(po,n))}function bo(e){mo.current===e&&(R(po),R(mo))}var W=Xi(0);function xo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var So=[];function Co(){for(var e=0;e<So.length;e++)So[e]._workInProgressVersionPrimary=null;So.length=0}var wo=C.ReactCurrentDispatcher,To=C.ReactCurrentBatchConfig,Eo=0,G=null,Do=null,Oo=null,ko=!1,Ao=!1,jo=0,Mo=0;function No(){throw Error(r(321))}function Po(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fr(e[n],t[n]))return!1;return!0}function Fo(e,t,n,i,a,o){if(Eo=o,G=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,wo.current=e===null||e.memoizedState===null?vs:ys,e=n(i,a),Ao){o=0;do{if(Ao=!1,jo=0,25<=o)throw Error(r(301));o+=1,Oo=Do=null,t.updateQueue=null,wo.current=bs,e=n(i,a)}while(Ao)}if(wo.current=_s,t=Do!==null&&Do.next!==null,Eo=0,Oo=Do=G=null,ko=!1,t)throw Error(r(300));return e}function Io(){var e=jo!==0;return jo=0,e}function Lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oo===null?G.memoizedState=Oo=e:Oo=Oo.next=e,Oo}function Ro(){if(Do===null){var e=G.alternate;e=e===null?null:e.memoizedState}else e=Do.next;var t=Oo===null?G.memoizedState:Oo.next;if(t!==null)Oo=t,Do=e;else{if(e===null)throw Error(r(310));Do=e,e={memoizedState:Do.memoizedState,baseState:Do.baseState,baseQueue:Do.baseQueue,queue:Do.queue,next:null},Oo===null?G.memoizedState=Oo=e:Oo=Oo.next=e}return Oo}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){var t=Ro(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=Do,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((Eo&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,G.lanes|=d,Jc|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Fr(i,t.memoizedState)||(Rs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,G.lanes|=o,Jc|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Vo(e){var t=Ro(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Fr(o,t.memoizedState)||(Rs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Ho(){}function Uo(e,t){var n=G,i=Ro(),a=t(),o=!Fr(i.memoizedState,a);if(o&&(i.memoizedState=a,Rs=!0),i=i.queue,ts(Ko.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Oo!==null&&Oo.memoizedState.tag&1){if(n.flags|=2048,Xo(9,Go.bind(null,n,i,a,t),void 0,null),Uc===null)throw Error(r(349));Eo&30||Wo(n,t,a)}return a}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=G.updateQueue,t===null?(t={lastEffect:null,stores:null},G.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Fr(e,n)}catch{return!0}}function Jo(e){var t=to(e,1);t!==null&&ml(t,e,1,-1)}function Yo(e){var t=Lo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t.queue=e,e=e.dispatch=ps.bind(null,G,e),[t.memoizedState,e]}function Xo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=G.updateQueue,t===null?(t={lastEffect:null,stores:null},G.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Zo(){return Ro().memoizedState}function Qo(e,t,n,r){var i=Lo();G.flags|=e,i.memoizedState=Xo(1|t,n,void 0,r===void 0?null:r)}function $o(e,t,n,r){var i=Ro();r=r===void 0?null:r;var a=void 0;if(Do!==null){var o=Do.memoizedState;if(a=o.destroy,r!==null&&Po(r,o.deps)){i.memoizedState=Xo(t,n,a,r);return}}G.flags|=e,i.memoizedState=Xo(1|t,n,a,r)}function es(e,t){return Qo(8390656,8,e,t)}function ts(e,t){return $o(2048,8,e,t)}function ns(e,t){return $o(4,2,e,t)}function rs(e,t){return $o(4,4,e,t)}function is(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function as(e,t,n){return n=n==null?null:n.concat([e]),$o(4,4,is.bind(null,t,e),n)}function os(){}function ss(e,t){var n=Ro();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function cs(e,t){var n=Ro();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ls(e,t,n){return Eo&21?(Fr(n,t)||(n=Gt(),G.lanes|=n,Jc|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Rs=!0),e.memoizedState=n)}function us(e,t){var n=M;M=n!==0&&4>n?n:4,e(!0);var r=To.transition;To.transition={};try{e(!1),t()}finally{M=n,To.transition=r}}function ds(){return Ro().memoizedState}function fs(e,t,n){var r=pl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ms(e))hs(t,n);else if(n=eo(e,t,n,r),n!==null){var i=fl();ml(n,e,r,i),gs(n,t,r)}}function ps(e,t,n){var r=pl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ms(e))hs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Fr(s,o)){var c=t.interleaved;c===null?(i.next=i,$a(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=eo(e,t,i,r),n!==null&&(i=fl(),ml(n,e,r,i),gs(n,t,r))}}function ms(e){var t=e.alternate;return e===G||t!==null&&t===G}function hs(e,t){Ao=ko=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function gs(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yt(e,n)}}var _s={readContext:Za,useCallback:No,useContext:No,useEffect:No,useImperativeHandle:No,useInsertionEffect:No,useLayoutEffect:No,useMemo:No,useReducer:No,useRef:No,useState:No,useDebugValue:No,useDeferredValue:No,useTransition:No,useMutableSource:No,useSyncExternalStore:No,useId:No,unstable_isNewReconciler:!1},vs={readContext:Za,useCallback:function(e,t){return Lo().memoizedState=[e,t===void 0?null:t],e},useContext:Za,useEffect:es,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),Qo(4194308,4,is.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qo(4,2,e,t)},useMemo:function(e,t){var n=Lo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lo();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=fs.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=Lo();return e={current:e},t.memoizedState=e},useState:Yo,useDebugValue:os,useDeferredValue:function(e){return Lo().memoizedState=e},useTransition:function(){var e=Yo(!1),t=e[0];return e=us.bind(null,e[1]),Lo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=G,a=Lo();if(H){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Uc===null)throw Error(r(349));Eo&30||Wo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,es(Ko.bind(null,i,o,e),[e]),i.flags|=2048,Xo(9,Go.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Lo(),t=Uc.identifierPrefix;if(H){var n=xa,r=ba;n=(r&~(1<<32-Pt(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=jo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Mo++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},ys={readContext:Za,useCallback:ss,useContext:Za,useEffect:ts,useImperativeHandle:as,useInsertionEffect:ns,useLayoutEffect:rs,useMemo:cs,useReducer:Bo,useRef:Zo,useState:function(){return Bo(zo)},useDebugValue:os,useDeferredValue:function(e){return ls(Ro(),Do.memoizedState,e)},useTransition:function(){return[Bo(zo)[0],Ro().memoizedState]},useMutableSource:Ho,useSyncExternalStore:Uo,useId:ds,unstable_isNewReconciler:!1},bs={readContext:Za,useCallback:ss,useContext:Za,useEffect:ts,useImperativeHandle:as,useInsertionEffect:ns,useLayoutEffect:rs,useMemo:cs,useReducer:Vo,useRef:Zo,useState:function(){return Vo(zo)},useDebugValue:os,useDeferredValue:function(e){var t=Ro();return Do===null?t.memoizedState=e:ls(t,Do.memoizedState,e)},useTransition:function(){return[Vo(zo)[0],Ro().memoizedState]},useMutableSource:Ho,useSyncExternalStore:Uo,useId:ds,unstable_isNewReconciler:!1};function xs(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ss(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:D({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cs={isMounted:function(e){return(e=e._reactInternals)?gt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fl(),i=pl(e),a=ao(r,i);a.payload=t,n!=null&&(a.callback=n),t=oo(e,a,i),t!==null&&(ml(t,e,i,r),so(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fl(),i=pl(e),a=ao(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=oo(e,a,i),t!==null&&(ml(t,e,i,r),so(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fl(),r=pl(e),i=ao(n,r);i.tag=2,t!=null&&(i.callback=t),t=oo(e,i,r),t!==null&&(ml(t,e,r,n),so(t,e,r))}};function ws(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Ir(n,r)||!Ir(i,a):!0}function Ts(e,t,n){var r=!1,i=Zi,a=t.contextType;return typeof a==`object`&&a?a=Za(a):(i=ta(t)?$i:Qi.current,r=t.contextTypes,a=(r=r!=null)?ea(e,i):Zi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Cs,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Es(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Cs.enqueueReplaceState(t,t.state,null)}function Ds(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ro(e);var a=t.contextType;typeof a==`object`&&a?i.context=Za(a):(a=ta(t)?$i:Qi.current,i.context=ea(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(Ss(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Cs.enqueueReplaceState(i,i.state,null),lo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Os(e,t){try{var n=``,r=t;do n+=he(r),r=r.return;while(r);var i=n}catch(e){i=`
8
+ Error generating stack: `+e.message+`
9
+ `+e.stack}return{value:e,source:t,stack:i,digest:null}}function ks(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function As(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var js=typeof WeakMap==`function`?WeakMap:Map;function Ms(e,t,n){n=ao(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nl||(nl=!0,rl=r),As(e,t)},n}function Ns(e,t,n){n=ao(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){As(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){As(e,t),typeof r!=`function`&&(il===null?il=new Set([this]):il.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Ps(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new js;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=zl.bind(null,e,t,n),t.then(e,e))}function Fs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Is(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ao(-1,1),t.tag=2,oo(n,t,1))),n.lanes|=1),e)}var Ls=C.ReactCurrentOwner,Rs=!1;function zs(e,t,n,r){t.child=e===null?Ua(t,null,n,r):Ha(t,e.child,n,r)}function Bs(e,t,n,r,i){n=n.render;var a=t.ref;return Xa(t,i),r=Fo(e,t,n,r,a,i),n=Io(),e!==null&&!Rs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ic(e,t,i)):(H&&n&&wa(t),t.flags|=1,zs(e,t,r,i),t.child)}function Vs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ql(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,K(e,t,a,r,i)):(e=Xl(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Ir:n,n(o,r)&&e.ref===t.ref)return ic(e,t,i)}return t.flags|=1,e=Yl(a,r),e.ref=t.ref,e.return=t,t.child=e}function K(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ir(a,r)&&e.ref===t.ref)if(Rs=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Rs=!0);else return t.lanes=e.lanes,ic(e,t,i)}return Ws(e,t,n,r,i)}function Hs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},z(Kc,Gc),Gc|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,z(Kc,Gc),Gc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,z(Kc,Gc),Gc|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),z(Kc,Gc),Gc|=r;return zs(e,t,i,n),t.child}function Us(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ws(e,t,n,r,i){var a=ta(n)?$i:Qi.current;return a=ea(t,a),Xa(t,i),n=Fo(e,t,n,r,a,i),r=Io(),e!==null&&!Rs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ic(e,t,i)):(H&&r&&wa(t),t.flags|=1,zs(e,t,n,i),t.child)}function Gs(e,t,n,r,i){if(ta(n)){var a=!0;aa(t)}else a=!1;if(Xa(t,i),t.stateNode===null)rc(e,t),Ts(t,n,r),Ds(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=Za(l):(l=ta(n)?$i:Qi.current,l=ea(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&Es(t,o,r,l),no=!1;var f=t.memoizedState;o.state=f,lo(t,r,o,i),c=t.memoizedState,s!==r||f!==c||B.current||no?(typeof u==`function`&&(Ss(t,n,u,r),c=t.memoizedState),(s=no||ws(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,io(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:xs(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=Za(c):(c=ta(n)?$i:Qi.current,c=ea(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&Es(t,o,r,c),no=!1,f=t.memoizedState,o.state=f,lo(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||B.current||no?(typeof p==`function`&&(Ss(t,n,p,r),m=t.memoizedState),(l=no||ws(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ks(e,t,n,r,a,i)}function Ks(e,t,n,r,i,a){Us(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&oa(t,n,!1),ic(e,t,a);r=t.stateNode,Ls.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ha(t,e.child,null,a),t.child=Ha(t,null,s,a)):zs(e,t,s,a),t.memoizedState=r.state,i&&oa(t,n,!0),t.child}function q(e){var t=e.stateNode;t.pendingContext?ra(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ra(e,t.context,!1),_o(e,t.containerInfo)}function qs(e,t,n,r,i){return Fa(),Ia(i),t.flags|=256,zs(e,t,n,r),t.child}var Js={dehydrated:null,treeContext:null,retryLane:0};function Ys(e){return{baseLanes:e,cachePool:null,transitions:null}}function Xs(e,t,n){var r=t.pendingProps,i=W.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),z(W,i&1),e===null)return ja(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=Ql(o,r,0,null),e=Zl(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Ys(n),t.memoizedState=Js,e):Zs(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return $s(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Yl(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=Zl(a,o,n,null),a.flags|=2):a=Yl(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?Ys(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Js,r}return a=e.child,e=a.sibling,r=Yl(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Zs(e,t){return t=Ql({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function Qs(e,t,n,r){return r!==null&&Ia(r),Ha(t,e.child,null,n),e=Zs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function $s(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=ks(Error(r(422))),Qs(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=Ql({mode:`visible`,children:i.children},a,0,null),o=Zl(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&Ha(t,e.child,null,s),t.child.memoizedState=Ys(s),t.memoizedState=Js,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return Qs(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=ks(o,i,void 0),Qs(e,t,s,i)}if(c=(s&e.childLanes)!==0,Rs||c){if(i=Uc,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,to(e,a),ml(i,e,a,-1))}return Ol(),i=ks(Error(r(421))),Qs(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=Vl.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Ea=Fi(a.nextSibling),V=t,H=!0,Da=null,e!==null&&(_a[va++]=ba,_a[va++]=xa,_a[va++]=ya,ba=e.id,xa=e.overflow,ya=t),t=Zs(t,i.children),t.flags|=4096,t)}function ec(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ya(e.return,t,n)}function tc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function nc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(zs(e,t,r.children,n),r=W.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ec(e,n,t);else if(e.tag===19)ec(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(z(W,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&xo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),tc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&xo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}tc(t,!0,n,null,a);break;case`together`:tc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function rc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ic(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jc|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=Yl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Yl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ac(e,t,n){switch(t.tag){case 3:q(t),Fa();break;case 5:yo(t);break;case 1:ta(t.type)&&aa(t);break;case 4:_o(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;z(Wa,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(z(W,W.current&1),e=ic(e,t,n),e===null?null:e.sibling):Xs(e,t,n):(z(W,W.current&1),t.flags|=128,null);z(W,W.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return nc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),z(W,W.current),r)break;return null;case 22:case 23:return t.lanes=0,Hs(e,t,n)}return ic(e,t,n)}var oc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},sc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,go(po.current);var o=null;switch(n){case`input`:i=we(e,i),r=we(e,r),o=[];break;case`select`:i=D({},i,{value:void 0}),r=D({},r,{value:void 0}),o=[];break;case`textarea`:i=Me(e,i),r=Me(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=Ti)}Ge(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&I(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},cc=function(e,t,n,r){n!==r&&(t.flags|=4)};function lc(e,t){if(!H)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function uc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function dc(e,t,n){var i=t.pendingProps;switch(Ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return uc(t),null;case 1:return ta(t.type)&&na(),uc(t),null;case 3:return i=t.stateNode,vo(),R(B),R(Qi),Co(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Na(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Da!==null&&(vl(Da),Da=null))),uc(t),null;case 5:bo(t);var o=go(ho.current);if(n=t.type,e!==null&&t.stateNode!=null)sc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return uc(t),null}if(e=go(po.current),Na(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Ri]=t,i[zi]=s,e=(t.mode&1)!=0,n){case`dialog`:I(`cancel`,i),I(`close`,i);break;case`iframe`:case`object`:case`embed`:I(`load`,i);break;case`video`:case`audio`:for(o=0;o<li.length;o++)I(li[o],i);break;case`source`:I(`error`,i);break;case`img`:case`image`:case`link`:I(`error`,i),I(`load`,i);break;case`details`:I(`toggle`,i);break;case`input`:Te(i,s),I(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},I(`invalid`,i);break;case`textarea`:Ne(i,s),I(`invalid`,i)}for(var c in Ge(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&I(`scroll`,i)}switch(n){case`input`:xe(i),Oe(i,s,!0);break;case`textarea`:xe(i),Fe(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=Ti)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=Ie(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Ri]=t,e[zi]=i,oc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Ke(n,i),n){case`dialog`:I(`cancel`,e),I(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:I(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<li.length;o++)I(li[o],e);o=i;break;case`source`:I(`error`,e),o=i;break;case`img`:case`image`:case`link`:I(`error`,e),I(`load`,e),o=i;break;case`details`:I(`toggle`,e),o=i;break;case`input`:Te(e,i),o=we(e,i),I(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=D({},i,{value:void 0}),I(`invalid`,e);break;case`textarea`:Ne(e,i),o=Me(e,i),I(`invalid`,e);break;default:o=i}for(s in Ge(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Ue(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&ze(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&k(e,u):typeof u==`number`&&k(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&I(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:xe(e),Oe(e,i,!1);break;case`textarea`:xe(e),Fe(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+ve(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&je(e,!!i.multiple,i.defaultValue,!0):je(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=Ti)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return uc(t),null;case 6:if(e&&t.stateNode!=null)cc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=go(ho.current),go(po.current),Na(t)){if(i=t.stateNode,n=t.memoizedProps,i[Ri]=t,(s=i.nodeValue!==n)&&(e=V,e!==null))switch(e.tag){case 3:wi(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&wi(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Ri]=t,t.stateNode=i}return uc(t),null;case 13:if(R(W),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(H&&Ea!==null&&t.mode&1&&!(t.flags&128))Pa(),Fa(),t.flags|=98560,s=!1;else if(s=Na(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Ri]=t}else Fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;uc(t),s=!1}else Da!==null&&(vl(Da),Da=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||W.current&1?$===0&&($=3):Ol())),t.updateQueue!==null&&(t.flags|=4),uc(t),null);case 4:return vo(),e===null&&hi(t.stateNode.containerInfo),uc(t),null;case 10:return U(t.type._context),uc(t),null;case 17:return ta(t.type)&&na(),uc(t),null;case 19:if(R(W),s=t.memoizedState,s===null)return uc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)lc(s,!1);else{if($!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=xo(e),c!==null){for(t.flags|=128,lc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return z(W,W.current&1|2),t.child}e=e.sibling}s.tail!==null&&A()>el&&(t.flags|=128,i=!0,lc(s,!1),t.lanes=4194304)}else{if(!i)if(e=xo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),lc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!H)return uc(t),null}else 2*A()-s.renderingStartTime>el&&n!==1073741824&&(t.flags|=128,i=!0,lc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(uc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=A(),t.sibling=null,n=W.current,z(W,i?n&1|2:n&1),t);case 22:case 23:return wl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Gc&1073741824&&(uc(t),t.subtreeFlags&6&&(t.flags|=8192)):uc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function fc(e,t){switch(Ta(t),t.tag){case 1:return ta(t.type)&&na(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vo(),R(B),R(Qi),Co(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return bo(t),null;case 13:if(R(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return R(W),null;case 4:return vo(),null;case 10:return U(t.type._context),null;case 22:case 23:return wl(),null;case 24:return null;default:return null}}var pc=!1,mc=!1,hc=typeof WeakSet==`function`?WeakSet:Set,J=null;function gc(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Rl(e,t,n)}else n.current=null}function _c(e,t,n){try{n()}catch(n){Rl(e,t,n)}}var vc=!1;function yc(e,t){if(Ei=Sn,e=Br(),Vr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Di={focusedElem:e,selectionRange:n},Sn=!1,J=t;J!==null;)if(t=J,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:xs(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Rl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return h=vc,vc=!1,h}function bc(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&_c(t,n,a)}i=i.next}while(i!==r)}}function xc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Sc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function Cc(e){var t=e.alternate;t!==null&&(e.alternate=null,Cc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ri],delete t[zi],delete t[Vi],delete t[Hi],delete t[Ui])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wc(e){return e.tag===5||e.tag===3||e.tag===4}function Tc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||wc(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.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ec(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ti));else if(r!==4&&(e=e.child,e!==null))for(Ec(e,t,n),e=e.sibling;e!==null;)Ec(e,t,n),e=e.sibling}function Dc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Dc(e,t,n),e=e.sibling;e!==null;)Dc(e,t,n),e=e.sibling}var Oc=null,Y=!1;function kc(e,t,n){for(n=n.child;n!==null;)X(e,t,n),n=n.sibling}function X(e,t,n){if(Mt&&typeof Mt.onCommitFiberUnmount==`function`)try{Mt.onCommitFiberUnmount(jt,n)}catch{}switch(n.tag){case 5:mc||gc(n,t);case 6:var r=Oc,i=Y;Oc=null,kc(e,t,n),Oc=r,Y=i,Oc!==null&&(Y?(e=Oc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Oc.removeChild(n.stateNode));break;case 18:Oc!==null&&(Y?(e=Oc,n=n.stateNode,e.nodeType===8?Pi(e.parentNode,n):e.nodeType===1&&Pi(e,n),bn(e)):Pi(Oc,n.stateNode));break;case 4:r=Oc,i=Y,Oc=n.stateNode.containerInfo,Y=!0,kc(e,t,n),Oc=r,Y=i;break;case 0:case 11:case 14:case 15:if(!mc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&_c(n,t,o),i=i.next}while(i!==r)}kc(e,t,n);break;case 1:if(!mc&&(gc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Rl(n,t,e)}kc(e,t,n);break;case 21:kc(e,t,n);break;case 22:n.mode&1?(mc=(r=mc)||n.memoizedState!==null,kc(e,t,n),mc=r):kc(e,t,n);break;default:kc(e,t,n)}}function Ac(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hc),t.forEach(function(t){var r=Hl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function jc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Oc=c.stateNode,Y=!1;break a;case 3:Oc=c.stateNode.containerInfo,Y=!0;break a;case 4:Oc=c.stateNode.containerInfo,Y=!0;break a}c=c.return}if(Oc===null)throw Error(r(160));X(o,s,a),Oc=null,Y=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Rl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Mc(t,e),t=t.sibling}function Mc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(jc(t,e),Nc(e),i&4){try{bc(3,e,e.return),xc(3,e)}catch(t){Rl(e,e.return,t)}try{bc(5,e,e.return)}catch(t){Rl(e,e.return,t)}}break;case 1:jc(t,e),Nc(e),i&512&&n!==null&&gc(n,n.return);break;case 5:if(jc(t,e),Nc(e),i&512&&n!==null&&gc(n,n.return),e.flags&32){var a=e.stateNode;try{k(a,``)}catch(t){Rl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&Ee(a,o),Ke(c,s);var u=Ke(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Ue(a,f):d===`dangerouslySetInnerHTML`?ze(a,f):d===`children`?k(a,f):S(a,d,f,u)}switch(c){case`input`:De(a,o);break;case`textarea`:Pe(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?je(a,!!o.multiple,o.multiple?[]:``,!1):je(a,!!o.multiple,o.defaultValue,!0)):je(a,!!o.multiple,m,!1)}a[zi]=o}catch(t){Rl(e,e.return,t)}}break;case 6:if(jc(t,e),Nc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Rl(e,e.return,t)}}break;case 3:if(jc(t,e),Nc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(t){Rl(e,e.return,t)}break;case 4:jc(t,e),Nc(e);break;case 13:jc(t,e),Nc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||($c=A())),i&4&&Ac(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(mc=(u=mc)||d,jc(t,e),mc=u):jc(t,e),Nc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(J=e,d=e.child;d!==null;){for(f=J=d;J!==null;){switch(p=J,m=p.child,p.tag){case 0:case 11:case 14:case 15:bc(4,p,p.return);break;case 1:gc(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Rl(i,n,e)}}break;case 5:gc(p,p.return);break;case 22:if(p.memoizedState!==null){Lc(f);continue}}m===null?Lc(f):(m.return=p,J=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=He(`display`,s))}catch(t){Rl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Rl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:jc(t,e),Nc(e),i&4&&Ac(e);break;case 21:break;default:jc(t,e),Nc(e)}}function Nc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(wc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(k(a,``),i.flags&=-33),Dc(e,Tc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Ec(e,Tc(e),o);break;default:throw Error(r(161))}}catch(t){Rl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Pc(e,t,n){J=e,Fc(e,t,n)}function Fc(e,t,n){for(var r=(e.mode&1)!=0;J!==null;){var i=J,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||pc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||mc;s=pc;var l=mc;if(pc=o,(mc=c)&&!l)for(J=i;J!==null;)o=J,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Rc(i):(c.return=o,J=c);for(;a!==null;)J=a,Fc(a,t,n),a=a.sibling;J=i,pc=s,mc=l}Ic(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,J=a):Ic(e,t,n)}}function Ic(e){for(;J!==null;){var t=J;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:mc||xc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!mc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:xs(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&uo(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}uo(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&bn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}mc||t.flags&512&&Sc(t)}catch(e){Rl(t,t.return,e)}}if(t===e){J=null;break}if(n=t.sibling,n!==null){n.return=t.return,J=n;break}J=t.return}}function Lc(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var n=t.sibling;if(n!==null){n.return=t.return,J=n;break}J=t.return}}function Rc(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{xc(4,t)}catch(e){Rl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Rl(t,i,e)}}var a=t.return;try{Sc(t)}catch(e){Rl(t,a,e)}break;case 5:var o=t.return;try{Sc(t)}catch(e){Rl(t,o,e)}}}catch(e){Rl(t,t.return,e)}if(t===e){J=null;break}var s=t.sibling;if(s!==null){s.return=t.return,J=s;break}J=t.return}}var zc=Math.ceil,Bc=C.ReactCurrentDispatcher,Vc=C.ReactCurrentOwner,Hc=C.ReactCurrentBatchConfig,Z=0,Uc=null,Q=null,Wc=0,Gc=0,Kc=Xi(0),$=0,qc=null,Jc=0,Yc=0,Xc=0,Zc=null,Qc=null,$c=0,el=1/0,tl=null,nl=!1,rl=null,il=null,al=!1,ol=null,sl=0,cl=0,ll=null,ul=-1,dl=0;function fl(){return Z&6?A():ul===-1?ul=A():ul}function pl(e){return e.mode&1?Z&2&&Wc!==0?Wc&-Wc:La.transition===null?(e=M,e===0?(e=window.event,e=e===void 0?16:On(e.type),e):e):(dl===0&&(dl=Gt()),dl):1}function ml(e,t,n,i){if(50<cl)throw cl=0,ll=null,Error(r(185));qt(e,n,i),(!(Z&2)||e!==Uc)&&(e===Uc&&(!(Z&2)&&(Yc|=n),$===4&&bl(e,Wc)),hl(e,i),n===1&&Z===0&&!(t.mode&1)&&(el=A()+500,ca&&fa()))}function hl(e,t){var n=e.callbackNode;Ut(e,t);var r=Vt(e,e===Uc?Wc:0);if(r===0)n!==null&&Ct(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ct(n),t===1)e.tag===0?da(xl.bind(null,e)):ua(xl.bind(null,e)),Mi(function(){!(Z&6)&&fa()}),n=null;else{switch(Xt(r)){case 1:n=Dt;break;case 4:n=Ot;break;case 16:n=j;break;case 536870912:n=At;break;default:n=j}n=Wl(n,gl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function gl(e,t){if(ul=-1,dl=0,Z&6)throw Error(r(327));var n=e.callbackNode;if(Il()&&e.callbackNode!==n)return null;var i=Vt(e,e===Uc?Wc:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=kl(e,i);else{t=i;var a=Z;Z|=2;var o=Dl();(Uc!==e||Wc!==t)&&(tl=null,el=A()+500,Tl(e,t));do try{jl();break}catch(t){El(e,t)}while(1);Ja(),Bc.current=o,Z=a,Q===null?(Uc=null,Wc=0,t=$):t=0}if(t!==0){if(t===2&&(a=Wt(e),a!==0&&(i=a,t=_l(e,a))),t===1)throw n=qc,Tl(e,0),bl(e,i),hl(e,A()),n;if(t===6)bl(e,i);else{if(a=e.current.alternate,!(i&30)&&!yl(a)&&(t=kl(e,i),t===2&&(o=Wt(e),o!==0&&(i=o,t=_l(e,o))),t===1))throw n=qc,Tl(e,0),bl(e,i),hl(e,A()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Pl(e,Qc,tl);break;case 3:if(bl(e,i),(i&130023424)===i&&(t=$c+500-A(),10<t)){if(Vt(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){fl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ki(Pl.bind(null,e,Qc,tl),t);break}Pl(e,Qc,tl);break;case 4:if(bl(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-Pt(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=A()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*zc(i/1960))-i,10<i){e.timeoutHandle=ki(Pl.bind(null,e,Qc,tl),i);break}Pl(e,Qc,tl);break;case 5:Pl(e,Qc,tl);break;default:throw Error(r(329))}}}return hl(e,A()),e.callbackNode===n?gl.bind(null,e):null}function _l(e,t){var n=Zc;return e.current.memoizedState.isDehydrated&&(Tl(e,t).flags|=256),e=kl(e,t),e!==2&&(t=Qc,Qc=n,t!==null&&vl(t)),e}function vl(e){Qc===null?Qc=e:Qc.push.apply(Qc,e)}function yl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Fr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function bl(e,t){for(t&=~Xc,t&=~Yc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Pt(t),r=1<<n;e[n]=-1,t&=~r}}function xl(e){if(Z&6)throw Error(r(327));Il();var t=Vt(e,0);if(!(t&1))return hl(e,A()),null;var n=kl(e,t);if(e.tag!==0&&n===2){var i=Wt(e);i!==0&&(t=i,n=_l(e,i))}if(n===1)throw n=qc,Tl(e,0),bl(e,t),hl(e,A()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pl(e,Qc,tl),hl(e,A()),null}function Sl(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(el=A()+500,ca&&fa())}}function Cl(e){ol!==null&&ol.tag===0&&!(Z&6)&&Il();var t=Z;Z|=1;var n=Hc.transition,r=M;try{if(Hc.transition=null,M=1,e)return e()}finally{M=r,Hc.transition=n,Z=t,!(Z&6)&&fa()}}function wl(){Gc=Kc.current,R(Kc)}function Tl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ai(n)),Q!==null)for(n=Q.return;n!==null;){var r=n;switch(Ta(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&na();break;case 3:vo(),R(B),R(Qi),Co();break;case 5:bo(r);break;case 4:vo();break;case 13:R(W);break;case 19:R(W);break;case 10:U(r.type._context);break;case 22:case 23:wl()}n=n.return}if(Uc=e,Q=e=Yl(e.current,null),Wc=Gc=t,$=0,qc=null,Xc=Yc=Jc=0,Qc=Zc=null,Qa!==null){for(t=0;t<Qa.length;t++)if(n=Qa[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}Qa=null}return e}function El(e,t){do{var n=Q;try{if(Ja(),wo.current=_s,ko){for(var i=G.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}ko=!1}if(Eo=0,Oo=Do=G=null,Ao=!1,jo=0,Vc.current=null,n===null||n.return===null){$=1,qc=t,Q=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=Wc,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Fs(s);if(m!==null){m.flags&=-257,Is(m,s,c,o,t),m.mode&1&&Ps(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Ps(o,u,t),Ol();break a}l=Error(r(426))}}else if(H&&c.mode&1){var _=Fs(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Is(_,s,c,o,t),Ia(Os(l,c));break a}}o=l=Os(l,c),$!==4&&($=2),Zc===null?Zc=[o]:Zc.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Ms(o,l,t);co(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(il===null||!il.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Ns(o,c,t);co(o,x);break a}}o=o.return}while(o!==null)}Nl(n)}catch(e){t=e,Q===n&&n!==null&&(Q=n=n.return);continue}break}while(1)}function Dl(){var e=Bc.current;return Bc.current=_s,e===null?_s:e}function Ol(){($===0||$===3||$===2)&&($=4),Uc===null||!(Jc&268435455)&&!(Yc&268435455)||bl(Uc,Wc)}function kl(e,t){var n=Z;Z|=2;var i=Dl();(Uc!==e||Wc!==t)&&(tl=null,Tl(e,t));do try{Al();break}catch(t){El(e,t)}while(1);if(Ja(),Z=n,Bc.current=i,Q!==null)throw Error(r(261));return Uc=null,Wc=0,$}function Al(){for(;Q!==null;)Ml(Q)}function jl(){for(;Q!==null&&!wt();)Ml(Q)}function Ml(e){var t=Ul(e.alternate,e,Gc);e.memoizedProps=e.pendingProps,t===null?Nl(e):Q=t,Vc.current=null}function Nl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=fc(n,t),n!==null){n.flags&=32767,Q=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{$=6,Q=null;return}}else if(n=dc(n,t,Gc),n!==null){Q=n;return}if(t=t.sibling,t!==null){Q=t;return}Q=t=e}while(t!==null);$===0&&($=5)}function Pl(e,t,n){var r=M,i=Hc.transition;try{Hc.transition=null,M=1,Fl(e,t,n,r)}finally{Hc.transition=i,M=r}return null}function Fl(e,t,n,i){do Il();while(ol!==null);if(Z&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Jt(e,o),e===Uc&&(Q=Uc=null,Wc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||al||(al=!0,Wl(j,function(){return Il(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Hc.transition,Hc.transition=null;var s=M;M=1;var c=Z;Z|=4,Vc.current=null,yc(e,n),Mc(n,e),Hr(Di),Sn=!!Ei,Di=Ei=null,e.current=n,Pc(n,e,a),Tt(),Z=c,M=s,Hc.transition=o}else e.current=n;if(al&&(al=!1,ol=e,sl=a),o=e.pendingLanes,o===0&&(il=null),Nt(n.stateNode,i),hl(e,A()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(nl)throw nl=!1,e=rl,rl=null,e;return sl&1&&e.tag!==0&&Il(),o=e.pendingLanes,o&1?e===ll?cl++:(cl=0,ll=e):cl=0,fa(),null}function Il(){if(ol!==null){var e=Xt(sl),t=Hc.transition,n=M;try{if(Hc.transition=null,M=16>e?16:e,ol===null)var i=!1;else{if(e=ol,ol=null,sl=0,Z&6)throw Error(r(331));var a=Z;for(Z|=4,J=e.current;J!==null;){var o=J,s=o.child;if(J.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(J=u;J!==null;){var d=J;switch(d.tag){case 0:case 11:case 15:bc(8,d,o)}var f=d.child;if(f!==null)f.return=d,J=f;else for(;J!==null;){d=J;var p=d.sibling,m=d.return;if(Cc(d),d===u){J=null;break}if(p!==null){p.return=m,J=p;break}J=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}J=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,J=s;else b:for(;J!==null;){if(o=J,o.flags&2048)switch(o.tag){case 0:case 11:case 15:bc(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,J=v;break b}J=o.return}}var y=e.current;for(J=y;J!==null;){s=J;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,J=b;else b:for(s=y;J!==null;){if(c=J,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:xc(9,c)}}catch(e){Rl(c,c.return,e)}if(c===s){J=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,J=x;break b}J=c.return}}if(Z=a,fa(),Mt&&typeof Mt.onPostCommitFiberRoot==`function`)try{Mt.onPostCommitFiberRoot(jt,e)}catch{}i=!0}return i}finally{M=n,Hc.transition=t}}return!1}function Ll(e,t,n){t=Os(n,t),t=Ms(e,t,1),e=oo(e,t,1),t=fl(),e!==null&&(qt(e,1,t),hl(e,t))}function Rl(e,t,n){if(e.tag===3)Ll(e,e,n);else for(;t!==null;){if(t.tag===3){Ll(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(il===null||!il.has(r))){e=Os(n,e),e=Ns(t,e,1),t=oo(t,e,1),e=fl(),t!==null&&(qt(t,1,e),hl(t,e));break}}t=t.return}}function zl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=fl(),e.pingedLanes|=e.suspendedLanes&n,Uc===e&&(Wc&n)===n&&($===4||$===3&&(Wc&130023424)===Wc&&500>A()-$c?Tl(e,0):Xc|=n),hl(e,t)}function Bl(e,t){t===0&&(e.mode&1?(t=zt,zt<<=1,!(zt&130023424)&&(zt=4194304)):t=1);var n=fl();e=to(e,t),e!==null&&(qt(e,t,n),hl(e,n))}function Vl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Bl(e,n)}function Hl(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Bl(e,n)}var Ul=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||B.current)Rs=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Rs=!1,ac(e,t,n);Rs=!!(e.flags&131072)}else Rs=!1,H&&t.flags&1048576&&Ca(t,ga,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;rc(e,t),e=t.pendingProps;var a=ea(t,Qi.current);Xa(t,n),a=Fo(null,t,i,e,a,n);var o=Io();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ta(i)?(o=!0,aa(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ro(t),a.updater=Cs,t.stateNode=a,a._reactInternals=t,Ds(t,i,e,n),t=Ks(null,t,i,!0,o,n)):(t.tag=0,H&&o&&wa(t),zs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(rc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=Jl(i),e=xs(i,e),a){case 0:t=Ws(null,t,i,e,n);break a;case 1:t=Gs(null,t,i,e,n);break a;case 11:t=Bs(null,t,i,e,n);break a;case 14:t=Vs(null,t,i,xs(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:xs(i,a),Ws(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:xs(i,a),Gs(e,t,i,a,n);case 3:a:{if(q(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,io(e,t),lo(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Os(Error(r(423)),t),t=qs(e,t,i,n,a);break a}else if(i!==a){a=Os(Error(r(424)),t),t=qs(e,t,i,n,a);break a}else for(Ea=Fi(t.stateNode.containerInfo.firstChild),V=t,H=!0,Da=null,n=Ua(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Fa(),i===a){t=ic(e,t,n);break a}zs(e,t,i,n)}t=t.child}return t;case 5:return yo(t),e===null&&ja(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Oi(i,a)?s=null:o!==null&&Oi(i,o)&&(t.flags|=32),Us(e,t),zs(e,t,s,n),t.child;case 6:return e===null&&ja(t),null;case 13:return Xs(e,t,n);case 4:return _o(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ha(t,null,i,n):zs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:xs(i,a),Bs(e,t,i,a,n);case 7:return zs(e,t,t.pendingProps,n),t.child;case 8:return zs(e,t,t.pendingProps.children,n),t.child;case 12:return zs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,z(Wa,i._currentValue),i._currentValue=s,o!==null)if(Fr(o.value,s)){if(o.children===a.children&&!B.current){t=ic(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=ao(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Ya(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Ya(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}zs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,Xa(t,n),a=Za(a),i=i(a),t.flags|=1,zs(e,t,i,n),t.child;case 14:return i=t.type,a=xs(i,t.pendingProps),a=xs(i.type,a),Vs(e,t,i,a,n);case 15:return K(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:xs(i,a),rc(e,t),t.tag=1,ta(i)?(e=!0,aa(t)):e=!1,Xa(t,n),Ts(t,i,a),Ds(t,i,a,n),Ks(null,t,i,!0,e,n);case 19:return nc(e,t,n);case 22:return Hs(e,t,n)}throw Error(r(156,t.tag))};function Wl(e,t){return St(e,t)}function Gl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kl(e,t,n,r){return new Gl(e,t,n,r)}function ql(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jl(e){if(typeof e==`function`)return+!!ql(e);if(e!=null){if(e=e.$$typeof,e===ie)return 11;if(e===se)return 14}return 2}function Yl(e,t){var n=e.alternate;return n===null?(n=Kl(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xl(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)ql(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case ee:return Zl(n.children,a,o,t);case te:s=8,a|=8;break;case ne:return e=Kl(12,n,t,a|2),e.elementType=ne,e.lanes=o,e;case ae:return e=Kl(13,n,t,a),e.elementType=ae,e.lanes=o,e;case oe:return e=Kl(19,n,t,a),e.elementType=oe,e.lanes=o,e;case le:return Ql(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case re:s=10;break a;case E:s=9;break a;case ie:s=11;break a;case se:s=14;break a;case ce:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=Kl(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function Zl(e,t,n,r){return e=Kl(7,e,r,t),e.lanes=n,e}function Ql(e,t,n,r){return e=Kl(22,e,r,t),e.elementType=le,e.lanes=n,e.stateNode={isHidden:!1},e}function $l(e,t,n){return e=Kl(6,e,null,t),e.lanes=n,e}function eu(e,t,n){return t=Kl(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kt(0),this.expirationTimes=Kt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function nu(e,t,n,r,i,a,o,s,c){return e=new tu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=Kl(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ro(a),e}function ru(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function iu(e){if(!e)return Zi;e=e._reactInternals;a:{if(gt(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ta(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ta(n))return ia(e,n,t)}return t}function au(e,t,n,r,i,a,o,s,c){return e=nu(n,r,!0,e,i,a,o,s,c),e.context=iu(null),n=e.current,r=fl(),i=pl(n),a=ao(r,i),a.callback=t??null,oo(n,a,i),e.current.lanes=i,qt(e,i,r),hl(e,r),e}function ou(e,t,n,r){var i=t.current,a=fl(),o=pl(i);return n=iu(n),t.context===null?t.context=n:t.pendingContext=n,t=ao(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=oo(i,t,o),e!==null&&(ml(e,i,o,a),so(e,i,o)),o}function su(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function cu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function lu(e,t){cu(e,t),(e=e.alternate)&&cu(e,t)}function uu(){return null}var du=typeof reportError==`function`?reportError:function(e){console.error(e)};function fu(e){this._internalRoot=e}pu.prototype.render=fu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));ou(e,t,null,null)},pu.prototype.unmount=fu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Cl(function(){ou(null,e,null,null)}),t[Bi]=null}};function pu(e){this._internalRoot=e}pu.prototype.unstable_scheduleHydration=function(e){if(e){var t=en();e={blockedOn:null,target:e,priority:t};for(var n=0;n<un.length&&t!==0&&t<un[n].priority;n++);un.splice(n,0,e),n===0&&hn(e)}};function mu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function hu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function gu(){}function _u(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=su(o);a.call(e)}}var o=au(t,r,e,0,null,!1,!1,``,gu);return e._reactRootContainer=o,e[Bi]=o.current,hi(e.nodeType===8?e.parentNode:e),Cl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=su(c);s.call(e)}}var c=nu(e,0,!1,null,null,!1,!1,``,gu);return e._reactRootContainer=c,e[Bi]=c.current,hi(e.nodeType===8?e.parentNode:e),Cl(function(){ou(t,c,n,r)}),c}function vu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=su(o);s.call(e)}}ou(t,o,e,i)}else o=_u(n,t,e,i,r);return su(o)}Zt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Bt(t.pendingLanes);n!==0&&(Yt(t,n|1),hl(t,A()),!(Z&6)&&(el=A()+500,fa()))}break;case 13:Cl(function(){var t=to(e,1);t!==null&&ml(t,e,1,fl())}),lu(e,1)}},Qt=function(e){if(e.tag===13){var t=to(e,134217728);t!==null&&ml(t,e,134217728,fl()),lu(e,134217728)}},$t=function(e){if(e.tag===13){var t=pl(e),n=to(e,t);n!==null&&ml(n,e,t,fl()),lu(e,t)}},en=function(){return M},tn=function(e,t){var n=M;try{return M=e,t()}finally{M=n}},Ye=function(e,t,n){switch(t){case`input`:if(De(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type="radio"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=qi(i);if(!a)throw Error(r(90));Se(i),De(i,a)}}}break;case`textarea`:Pe(e,n);break;case`select`:t=n.value,t!=null&&je(e,!!n.multiple,t,!1)}},tt=Sl,nt=Cl;var yu={usingClientEntryPoint:!1,Events:[Gi,Ki,qi,$e,et,Sl]},bu={findFiberByHostInstance:Wi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},xu={bundleType:bu.bundleType,version:bu.version,rendererPackageName:bu.rendererPackageName,rendererConfig:bu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=bt(e),e===null?null:e.stateNode},findFiberByHostInstance:bu.findFiberByHostInstance||uu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Su=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Su.isDisabled&&Su.supportsFiber)try{jt=Su.inject(xu),Mt=Su}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!mu(t))throw Error(r(200));return ru(e,t,null,n)},e.createRoot=function(e,t){if(!mu(e))throw Error(r(299));var n=!1,i=``,a=du;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=nu(e,1,!1,null,null,n,!1,i,a),e[Bi]=t.current,hi(e.nodeType===8?e.parentNode:e),new fu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=bt(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return Cl(e)},e.hydrate=function(e,t,n){if(!hu(t))throw Error(r(200));return vu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!mu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=du;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=au(t,null,e,1,n??null,a,!1,o,s),e[Bi]=t.current,hi(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new pu(t)},e.render=function(e,t,n){if(!hu(t))throw Error(r(200));return vu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!hu(e))throw Error(r(40));return e._reactRootContainer?(Cl(function(){vu(null,null,e,!1,function(){e._reactRootContainer=null,e[Bi]=null})}),!0):!1},e.unstable_batchedUpdates=Sl,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!hu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return vu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),h=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=s((e=>{var t=h();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot})),_=l(d()),v=g(),y=new class{logCallback=null;setLogCallback(e){this.logCallback=e}log(e,t=`info`){this.logCallback?this.logCallback(e,t):console.log(`[${t.toUpperCase()}] ${e}`)}info(e){this.log(e,`info`)}success(e){this.log(e,`success`)}warning(e){this.log(e,`warning`)}error(e){this.log(e,`error`)}},b=async()=>(await ee(`solutions?$select=solutionid,friendlyname,uniquename,version&$filter=isvisible eq true&$orderby=friendlyname asc`)).map(e=>({solutionid:e.solutionid,friendlyname:e.friendlyname,uniquename:e.uniquename,version:e.version})),x=async e=>{let t=(await ee(`EntityDefinitions?$select=LogicalName,DisplayName,EntitySetName,DataProviderId&$filter=IsCustomizable/Value eq true`)).filter(e=>!e.DataProviderId).map(e=>({logicalname:e.LogicalName,displayname:e.DisplayName?.UserLocalizedLabel?.Label||e.LogicalName,entitysetname:e.EntitySetName}));if(e){let n=await S(e);t=t.filter(e=>n.includes(e.logicalname))}return t},S=async e=>{let t=(await ee(`solutioncomponents?$select=objectid&$filter=_solutionid_value eq ${e} and componenttype eq 1`)).map(e=>e.objectid);return t.length===0?[]:(await ee(`EntityDefinitions?$select=LogicalName,MetadataId&$filter=IsCustomizable/Value eq true`)).filter(e=>t.includes(e.MetadataId)).map(e=>e.LogicalName)},C=async()=>{try{let e=await ee(`savedqueries?$select=savedqueryid,name,returnedtypecode,fetchxml&$filter=querytype eq 0&$orderby=returnedtypecode,name asc`),t=new Map;return e.forEach(e=>{let n={savedqueryid:e.savedqueryid,name:e.name,returnedtypecode:e.returnedtypecode,fetchxml:e.fetchxml},r=e.returnedtypecode;t.has(r)||t.set(r,[]),t.get(r).push(n)}),y.info(`Loaded ${e.length} views for ${t.size} entities`),t}catch(e){return y.error(`Error loading all views: ${e.message}`),new Map}},w=async(e,t,n)=>{try{if(!t)return y.info(`No entity logical name provided`),0;if(n){y.info(`Counting records for ${t} using view FetchXML with simple pagination`);let r=0,i=!0,a=1;for(;i;){let o=n;o=o.replace(/\spage=['"]?\d+['"]?/gi,``),o=o.replace(/\scount=['"]?\d+['"]?/gi,``),o=o.replace(/\spaging-cookie=['"][^'"]*['"]/gi,``),o=o.replace(/<fetch/i,`<fetch page="${a}" count="5000"`),y.info(`Fetching page ${a} for ${t}...`);let s=`${e}?fetchXml=${encodeURIComponent(o)}`,c=(await window.dataverseAPI.queryData(s)).value?.length||0;if(r+=c,y.info(`Page ${a} returned ${c} records (total: ${r})`),i=c===5e3,a++,a>1e3){y.error(`Stopping pagination at 1000 pages for ${t}`);break}}return y.info(`Final count result for ${t}: ${r}`),r}else return(await T([t]))[t]||0}catch(e){return y.error(`Error counting records for ${t}: ${e.message}`),0}},T=async e=>{if(!e||e.length===0)return{};y.info(`Counting records for ${e.length} entities using RetrieveTotalRecordCount batch`);let t=[...new Set(e)],n={};for(;t.length>0;)try{let e=JSON.stringify(t),r=`RetrieveTotalRecordCount(EntityNames=@p)?@p=${encodeURIComponent(e)}`,i=(await window.dataverseAPI.queryData(r)).EntityRecordCountCollection;if(i&&i.Keys&&i.Values)for(let e=0;e<i.Keys.length;e++){let t=i.Keys[e],r=i.Values[e]||0;n[t]=r,y.info(`Count result for ${t}: ${r}`)}return t.forEach(e=>{Object.prototype.hasOwnProperty.call(n,e)||(n[e]=0)}),n}catch(e){let r=(e?.message||String(e)).match(/Entity\s+'?([a-zA-Z0-9_]+)'?\s+is\s+not\s+valid\s+for\s+read/i);if(!r)throw e;let i=r[1],a=t.findIndex(e=>e.toLowerCase()===i.toLowerCase());if(a===-1)throw e;let[o]=t.splice(a,1);n[o]=0,console.error(`Skipping invalid entity for record count: ${o}. Retrying without it.`),y.error(`Skipping invalid entity for record count: ${o}. Retrying without it.`)}return n},ee=async e=>{let t=[];for(;e;){y.info(`Fetching data from URL: ${e}`);let n=e;if(e.startsWith(`http`)){let t=new URL(e);n=t.pathname.replace(/^\/api\/data\/v\d+\.\d+\//,``)+t.search}y.info(`Cleaned URL: ${n}`);let r=await window.dataverseAPI.queryData(n);t.push(...r.value),e=r[`@odata.nextLink`]||null}return t},te=typeof window>`u`?global:window,ne=`@griffel/`;function re(e,t){return te[Symbol.for(ne+e)]||(te[Symbol.for(ne+e)]=t),te[Symbol.for(ne+e)]}var E=re(`DEFINITION_LOOKUP_TABLE`,{}),ie=`data-make-styles-bucket`,ae=`data-priority`,oe={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},se=`DO_NOT_USE_DIRECTLY: @griffel/reset-value`;function ce(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function le(e){let t=e.length;if(t===7)return e;for(let n=t;n<7;n++)e+=`0`;return e}function ue(e,t,n=[]){return`___`+le(ce(e+t))}function de(e,t){let n=``,r=``;for(let i in e){let a=e[i];if(a===0){r+=i+` `;continue}let o=Array.isArray(a),s=t===`rtl`?(o?a[1]:a)+` `:(o?a[0]:a)+` `;n+=s,r+=s}return[n.slice(0,-1),r.slice(0,-1)]}function D(e,t){let n={};for(let r in e){let[i,a]=de(e[r],t);if(a===``){n[r]=``;continue}let o=ue(a,t),s=o+(i===``?``:` `+i);E[o]=[e[r],t],n[r]=s}return n}var fe={};function O(){let e=null,t=``,n=``,r=Array(arguments.length);for(let e=0;e<arguments.length;e++){let i=arguments[e];if(typeof i==`string`&&i!==``){let a=i.indexOf(`___`);if(a===-1)t+=i+` `;else{let o=i.substr(a,10);a>0&&(t+=i.slice(0,a)),n+=o,r[e]=o}}}if(n===``)return t.slice(0,-1);let i=fe[n];if(i!==void 0)return t+i;let a=[];for(let t=0;t<arguments.length;t++){let n=r[t];if(n){let t=E[n];t&&(a.push(t[0]),e=t[1])}}let o=Object.assign.apply(Object,[{}].concat(a)),[s,c]=de(o,e),l=ue(c,e,r),u=l+` `+s;return fe[n]=u,E[l]=[o,e],t+u}function pe(e){return Array.isArray(e)?e:[e]}function me(e,t,n,r){let i=[];if(r[ie]=t,r[ae]=String(n),e)for(let t in r)e.setAttribute(t,r[t]);function a(t){return e?.sheet?e.sheet.insertRule(t,e.sheet.cssRules.length):i.push(t)}return{elementAttributes:r,insertRule:a,element:e,bucketName:t,cssRules(){return e?.sheet?Array.from(e.sheet.cssRules).map(e=>e.cssText):i}}}var he=[`r`,`d`,`l`,`v`,`w`,`f`,`i`,`h`,`a`,`s`,`k`,`t`,`m`,`c`].reduce((e,t,n)=>(e[t]=n,e),{});function ge(e,t,n){return(e===`m`?e+t:e)+n}function _e(e,t,n,r,i={}){let a=e===`m`,o=i.m??`0`,s=i.p??0,c=ge(e,o,s);if(!r.stylesheets[c]){let l=t&&t.createElement(`style`),u=me(l,e,s,Object.assign({},r.styleElementAttributes,a&&{media:o}));r.stylesheets[c]=u,t?.head&&l&&t.head.insertBefore(l,ye(t,n,e,r,i))}return r.stylesheets[c]}function ve(e,t,n){return t+(n.m??``)===e.getAttribute(ie)+(e.media??``)}function ye(e,t,n,r,i={}){let a=he[n],o=i.m??``,s=i.p??0,c=e=>a-he[e.getAttribute(ie)],l=e.head.querySelectorAll(`[${ie}]`);if(n===`m`){let t=e.head.querySelectorAll(`[${ie}="${n}"]`);t.length&&(l=t,c=e=>r.compareMediaQueries(o,e.media))}let u=e=>ve(e,n,i)?s-Number(e.getAttribute(`data-priority`)):c(e),d=l.length,f=d-1;for(;f>=0;){let e=l.item(f);if(u(e)>0)return e.nextSibling;f--}return d>0?l.item(0):t?t.nextSibling:null}`${[`-moz-placeholder`,`-moz-focus-inner`,`-moz-focusring`,`-ms-input-placeholder`,`-moz-read-write`,`-moz-read-only`].join(`|`)}`;function be(e,t){try{e.insertRule(t)}catch{}}var xe=0,Se=(e,t)=>e<t?-1:+(e>t);function Ce(e=typeof document>`u`?void 0:document,t={}){let{classNameHashSalt:n,unstable_filterCSSRule:r,insertionPoint:i,styleElementAttributes:a,compareMediaQueries:o=Se}=t,s={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(a),compareMediaQueries:o,id:`d${xe++}`,insertCSSRules(t){for(let n in t){let a=t[n];for(let t=0,o=a.length;t<o;t++){let[o,c]=pe(a[t]),l=_e(n,e,i||null,s,c);s.insertionCache[o]||(s.insertionCache[o]=n,r?r(o)&&be(l,o):be(l,o))}}}};return s}var we=()=>{let e={};return function(t,n){e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}};function Te(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e[r]=n,e},{})}function Ee(e){return typeof e==`boolean`}function De(e){return typeof e==`function`}function Oe(e){return typeof e==`number`}function ke(e){return e==null}function Ae(e){return e&&typeof e==`object`}function je(e){return typeof e==`string`}function Me(e,t){return e.indexOf(t)!==-1}function Ne(e){return parseFloat(e)===0?e:e[0]===`-`?e.slice(1):`-`+e}function Pe(e,t,n,r){return t+Ne(n)+r}function Fe(e){var t=e.indexOf(`.`);if(t===-1)e=100-parseFloat(e)+`%`;else{var n=e.length-t-2;e=100-parseFloat(e),e=e.toFixed(n)+`%`}return e}function Ie(e){return e.replace(/ +/g,` `).split(` `).map(function(e){return e.trim()}).filter(Boolean).reduce(function(e,t){var n=e.list,r=e.state,i=(t.match(/\(/g)||[]).length,a=(t.match(/\)/g)||[]).length;return r.parensDepth>0?n[n.length-1]=n[n.length-1]+` `+t:n.push(t),r.parensDepth+=i-a,{list:n,state:r}},{list:[],state:{parensDepth:0}}).list}function Le(e){var t=Ie(e);if(t.length<=3||t.length>4)return e;var n=t[0],r=t[1],i=t[2];return[n,t[3],i,r].join(` `)}function Re(e){return!Ee(e)&&!ke(e)}function ze(e){for(var t=[],n=0,r=0,i=!1;r<e.length;)!i&&e[r]===`,`?(t.push(e.substring(n,r).trim()),r++,n=r):e[r]===`(`?(i=!0,r++):(e[r]===`)`&&(i=!1),r++);return n!=r&&t.push(e.substring(n,r+1)),t}var k={padding:function(e){var t=e.value;return Oe(t)?t:Le(t)},textShadow:function(e){var t=e.value;return ze(t).map(function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,function(e,t,n,r){if(r===`0`)return e;var i=n===``?`-`:``;return``+t+i+r})}).join(`,`)},borderColor:function(e){var t=e.value;return Le(t)},borderRadius:function(e){var t=e.value;if(Oe(t))return t;if(Me(t,`/`)){var n=t.split(`/`),r=n[0],i=n[1],a=k.borderRadius({value:r.trim()}),o=k.borderRadius({value:i.trim()});return a+` / `+o}var s=Ie(t);switch(s.length){case 2:return s.reverse().join(` `);case 4:var c=s[0],l=s[1],u=s[2];return[l,c,s[3],u].join(` `);default:return t}},background:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgImgDirectionRegex,a=e.bgPosDirectionRegex;if(Oe(t))return t;var o=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,``).trim();return t=t.replace(o,k.backgroundPosition({value:o,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:a})),k.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:i})},backgroundImage:function(e){var t=e.value,n=e.valuesToConvert,r=e.bgImgDirectionRegex;return!Me(t,`url(`)&&!Me(t,`linear-gradient(`)?t:t.replace(r,function(e,t,r){return e.replace(r,n[r])})},backgroundPosition:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgPosDirectionRegex;return t.replace(r?/^((-|\d|\.)+%)/:null,function(e,t){return Fe(t)}).replace(i,function(e){return n[e]})},backgroundPositionX:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgPosDirectionRegex;return Oe(t)?t:k.backgroundPosition({value:t,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:i})},transition:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){var t=e.split(` `);return t[0]=n[t[0]]||t[0],t.join(` `)}).join(`, `)},transitionProperty:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){return n[e]||e}).join(`, `)},transform:function(e){var t=e.value,n=`[^\\u0020-\\u007e]`,r=`(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])`,i=`((?:-?`+(`(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|`+(`-?`+(`(?:[_a-z]|`+n+`|`+r+`)`)+(`(?:[_a-z0-9-]|`+n+`|`+r+`)`)+`*`)+`)?`)+`)|(?:inherit|auto))`,a=RegExp(`(translateX\\s*\\(\\s*)`+i+`(\\s*\\))`,`gi`),o=RegExp(`(translate\\s*\\(\\s*)`+i+`((?:\\s*,\\s*`+i+`){0,1}\\s*\\))`,`gi`),s=RegExp(`(translate3d\\s*\\(\\s*)`+i+`((?:\\s*,\\s*`+i+`){0,2}\\s*\\))`,`gi`),c=RegExp(`(rotate[ZY]?\\s*\\(\\s*)`+i+`(\\s*\\))`,`gi`);return t.replace(a,Pe).replace(o,Pe).replace(s,Pe).replace(c,Pe)}};k.objectPosition=k.backgroundPosition,k.margin=k.padding,k.borderWidth=k.padding,k.boxShadow=k.textShadow,k.webkitBoxShadow=k.boxShadow,k.mozBoxShadow=k.boxShadow,k.WebkitBoxShadow=k.boxShadow,k.MozBoxShadow=k.boxShadow,k.borderStyle=k.borderColor,k.webkitTransform=k.transform,k.mozTransform=k.transform,k.WebkitTransform=k.transform,k.MozTransform=k.transform,k.transformOrigin=k.backgroundPosition,k.webkitTransformOrigin=k.transformOrigin,k.mozTransformOrigin=k.transformOrigin,k.WebkitTransformOrigin=k.transformOrigin,k.MozTransformOrigin=k.transformOrigin,k.webkitTransition=k.transition,k.mozTransition=k.transition,k.WebkitTransition=k.transition,k.MozTransition=k.transition,k.webkitTransitionProperty=k.transitionProperty,k.mozTransitionProperty=k.transitionProperty,k.WebkitTransitionProperty=k.transitionProperty,k.MozTransitionProperty=k.transitionProperty,k[`text-shadow`]=k.textShadow,k[`border-color`]=k.borderColor,k[`border-radius`]=k.borderRadius,k[`background-image`]=k.backgroundImage,k[`background-position`]=k.backgroundPosition,k[`background-position-x`]=k.backgroundPositionX,k[`object-position`]=k.objectPosition,k[`border-width`]=k.padding,k[`box-shadow`]=k.textShadow,k[`-webkit-box-shadow`]=k.textShadow,k[`-moz-box-shadow`]=k.textShadow,k[`border-style`]=k.borderColor,k[`-webkit-transform`]=k.transform,k[`-moz-transform`]=k.transform,k[`transform-origin`]=k.transformOrigin,k[`-webkit-transform-origin`]=k.transformOrigin,k[`-moz-transform-origin`]=k.transformOrigin,k[`-webkit-transition`]=k.transition,k[`-moz-transition`]=k.transition,k[`transition-property`]=k.transitionProperty,k[`-webkit-transition-property`]=k.transitionProperty,k[`-moz-transition-property`]=k.transitionProperty;var Be=Te([[`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`]]),Ve=[`content`],He=Te([[`ltr`,`rtl`],[`left`,`right`],[`w-resize`,`e-resize`],[`sw-resize`,`se-resize`],[`nw-resize`,`ne-resize`]]),Ue=RegExp(`(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)`,`g`),We=RegExp(`(left)|(right)`);function Ge(e){return Object.keys(e).reduce(function(t,n){var r=e[n];if(je(r)&&(r=r.trim()),Me(Ve,n))return t[n]=r,t;var i=Ke(n,r),a=i.key;return t[a]=i.value,t},Array.isArray(e)?[]:{})}function Ke(e,t){var n=/\/\*\s?@noflip\s?\*\//.test(t),r=n?e:qe(e);return{key:r,value:n?t:Je(r,t)}}function qe(e){return Be[e]||e}function Je(e,t){if(!Re(t))return t;if(Ae(t))return Ge(t);var n=Oe(t),r=De(t),i=n||r?t:t.replace(/ !important.*?$/,``),a=!n&&i.length!==t.length,o=k[e],s=o?o({value:i,valuesToConvert:He,propertiesToConvert:Be,isRtl:!0,bgImgDirectionRegex:Ue,bgPosDirectionRegex:We}):He[i]||i;return a?s+` !important`:s}var Ye=/[A-Z]/g,Xe=/^ms-/,Ze={};function Qe(e){return`-`+e.toLowerCase()}function $e(e){if(Object.prototype.hasOwnProperty.call(Ze,e))return Ze[e];if(e.substr(0,2)===`--`)return e;let t=e.replace(Ye,Qe);return Ze[e]=Xe.test(t)?`-`+t:t}function et(e){return e.charAt(0)===`&`?e.slice(1):e}var tt=`-moz-`,nt=`-webkit-`,rt=`comm`,it=`rule`,at=`decl`,ot=`@media`,st=`@import`,ct=`@supports`,lt=`@namespace`,ut=`@keyframes`,dt=`@layer`,ft=Math.abs,pt=String.fromCharCode,mt=Object.assign;function ht(e,t){return bt(e,0)^45?(((t<<2^bt(e,0))<<2^bt(e,1))<<2^bt(e,2))<<2^bt(e,3):0}function gt(e){return e.trim()}function _t(e,t){return(e=t.exec(e))?e[0]:e}function vt(e,t,n){return e.replace(t,n)}function yt(e,t,n){return e.indexOf(t,n)}function bt(e,t){return e.charCodeAt(t)|0}function xt(e,t,n){return e.slice(t,n)}function St(e){return e.length}function Ct(e){return e.length}function wt(e,t){return t.push(e),e}function Tt(e,t){return e.map(t).join(``)}var A=1,Et=1,Dt=0,Ot=0,j=0,kt=``;function At(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:A,column:Et,length:o,return:``,siblings:s}}function jt(e,t){return mt(At(``,null,null,``,null,null,0,e.siblings),e,{length:-e.length},t)}function Mt(){return j}function Nt(){return j=Ot>0?bt(kt,--Ot):0,Et--,j===10&&(Et=1,A--),j}function Pt(){return j=Ot<Dt?bt(kt,Ot++):0,Et++,j===10&&(Et=1,A++),j}function Ft(){return bt(kt,Ot)}function It(){return Ot}function Lt(e,t){return xt(kt,e,t)}function Rt(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 zt(e){return A=Et=1,Dt=St(kt=e),Ot=0,[]}function Bt(e){return kt=``,e}function Vt(e){return gt(Lt(Ot-1,Kt(e===91?e+2:e===40?e+1:e)))}function Ht(e){return Bt(Wt(zt(e)))}function Ut(e){for(;(j=Ft())&&j<33;)Pt();return Rt(e)>2||Rt(j)>3?``:` `}function Wt(e){for(;Pt();)switch(Rt(j)){case 0:wt(Jt(Ot-1),e);break;case 2:wt(Vt(j),e);break;default:wt(pt(j),e)}return e}function Gt(e,t){for(;--t&&Pt()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return Lt(e,It()+(t<6&&Ft()==32&&Pt()==32))}function Kt(e){for(;Pt();)switch(j){case e:return Ot;case 34:case 39:e!==34&&e!==39&&Kt(j);break;case 40:e===41&&Kt(e);break;case 92:Pt();break}return Ot}function qt(e,t){for(;Pt()&&e+j!==57&&!(e+j===84&&Ft()===47););return`/*`+Lt(t,Ot-1)+`*`+pt(e===47?e:Pt())}function Jt(e){for(;!Rt(Ft());)Pt();return Lt(e,Ot)}function Yt(e){return Bt(M(``,null,null,null,[``],e=zt(e),0,[0],e))}function M(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=Pt()){case 40:if(m!=108&&bt(C,d-1)==58){yt(C+=vt(Vt(v),`&`,`&\f`),`&\f`,ft(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Vt(v);break;case 9:case 10:case 13:case 32:C+=Ut(m);break;case 92:C+=Gt(It()-1,7);continue;case 47:switch(Ft()){case 42:case 47:wt(Zt(qt(Pt(),It()),t,n,c),c),(Rt(m||1)==5||Rt(Ft()||1)==5)&&St(C)&&xt(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=St(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=vt(C,/\f/g,``)),p>0&&(St(C)-d||h===0&&m===47)&&wt(p>32?Qt(C+`;`,r,n,d-1,c):Qt(vt(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(wt(S=Xt(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123)if(u===0)M(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(bt(C,3)===110)break;case 108:if(bt(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?M(e,S,S,r&&wt(Xt(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):M(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+St(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Nt()==125)continue}switch(C+=pt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(St(C)-1)*_,_=1;break;case 64:Ft()===45&&(C+=Vt(Pt())),f=Ft(),u=d=St(y=C+=Jt(It())),v++;break;case 45:m===45&&St(C)==2&&(h=0)}}return a}function Xt(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Ct(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=xt(e,f+1,f=ft(g=o[h])),b=e;v<m;++v)(b=gt(g>0?p[v]+` `+y:vt(y,/&\f/g,p[v])))&&(c[_++]=b);return At(e,t,n,i===0?it:s,c,l,u,d)}function Zt(e,t,n,r){return At(e,t,n,rt,pt(Mt()),xt(e,2,-2),0,r)}function Qt(e,t,n,r,i){return At(e,t,n,at,xt(e,0,r),xt(e,r+1,-1),r,i)}function $t(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function en(e,t,n,r){switch(e.type){case dt:if(e.children.length)break;case st:case lt:case at:return e.return=e.return||e.value;case rt:return``;case ut:return e.return=e.value+`{`+$t(e.children,r)+`}`;case it:if(!St(e.value=e.props.join(`,`)))return``}return St(n=$t(e.children,r))?e.return=e.value+`{`+n+`}`:``}function tn(e){var t=Ct(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function nn(e){return function(t){t.root||(t=t.return)&&e(t)}}var rn=e=>{switch(e.type){case it:if(typeof e.props==`string`)return;e.props=e.props.map(e=>e.indexOf(`:global(`)===-1?e:Ht(e).reduce((e,t,n,r)=>{if(t===``)return e;if(t===`:`&&r[n+1]===`global`){let t=r[n+2].slice(1,-1)+` `;return e.unshift(t),r[n+1]=``,r[n+2]=``,e}return e.push(t),e},[]).join(``))}};function an(e,t,n){switch(ht(e,t)){case 5103:return nt+`print-`+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return nt+e+e;case 4215:if(bt(e,9)===102||bt(e,t+1)===116)return nt+e+e;break;case 4789:return tt+e+e;case 5349:case 4246:case 6968:return nt+e+tt+e+e;case 6187:if(!_t(e,/grab/))return vt(vt(vt(e,/(zoom-|grab)/,nt+`$1`),/(image-set)/,nt+`$1`),e,``)+e;case 5495:case 3959:return vt(e,/(image-set\([^]*)/,nt+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return vt(e,/(.+)-inline(.+)/,nt+`$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(St(e)-1-t>6)switch(bt(e,t+1)){case 102:if(bt(e,t+3)===108)return vt(e,/(.+:)(.+)-([^]+)/,`$1`+nt+`$2-$3$1`+tt+(bt(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~yt(e,`stretch`)?an(vt(e,`stretch`,`fill-available`),t)+e:e}break}return e}function on(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case at:e.return=an(e.value,e.length);return;case it:if(e.length)return Tt(e.props,function(t){switch(_t(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return $t([jt(e,{props:[vt(t,/:(read-\w+)/,`:`+tt+`$1`)]})],r);case`::placeholder`:return $t([jt(e,{props:[vt(t,/:(plac\w+)/,`:`+nt+`input-$1`)]}),jt(e,{props:[vt(t,/:(plac\w+)/,`:`+tt+`$1`)]})],r)}return``})}}function sn(e){switch(e.type){case`@container`:case ot:case ct:case dt:return!0}return!1}var cn=e=>{sn(e)&&Array.isArray(e.children)&&e.children.sort((e,t)=>e.props[0]>t.props[0]?1:-1)};function ln(){}function un(e,t){let n=[];return $t(Yt(e),tn([rn,t?cn:ln,on,en,nn(e=>n.push(e))])),n}var dn=/,( *[^ &])/g;function fn(e){return`&`+et(e.replace(dn,`,&$1`))}function pn(e,t,n){let r=t;return n.length>0&&(r=n.reduceRight((e,t)=>`${fn(t)} { ${e} }`,t)),`${e}{${r}}`}function mn(e,t){let{className:n,selectors:r,property:i,rtlClassName:a,rtlProperty:o,rtlValue:s,value:c}=e,{container:l,layer:u,media:d,supports:f}=t,p=pn(`.${n}`,Array.isArray(c)?`${c.map(e=>`${$e(i)}: ${e}`).join(`;`)};`:`${$e(i)}: ${c};`,r);if(o&&a){let e=`.${a}`,t=Array.isArray(s)?`${s.map(e=>`${$e(o)}: ${e}`).join(`;`)};`:`${$e(o)}: ${s};`;p+=pn(e,t,r)}return d&&(p=`@media ${d} { ${p} }`),u&&(p=`@layer ${u} { ${p} }`),f&&(p=`@supports ${f} { ${p} }`),l&&(p=`@container ${l} { ${p} }`),un(p,!0)}function hn(e){let t=``;for(let n in e){let r=e[n];if(typeof r==`string`||typeof r==`number`){t+=$e(n)+`:`+r+`;`;continue}if(Array.isArray(r))for(let e of r)t+=$e(n)+`:`+e+`;`}return t}function gn(e){let t=``;for(let n in e)t+=`${n}{${hn(e[n])}}`;return t}function _n(e,t){let n=`@keyframes ${e} {${t}}`,r=[];return $t(Yt(n),tn([en,on,nn(e=>r.push(e))])),r}var vn={animation:[-1,[`animationDelay`,`animationDirection`,`animationDuration`,`animationFillMode`,`animationIterationCount`,`animationName`,`animationPlayState`,`animationTimeline`,`animationTimingFunction`]],animationRange:[-1,[`animationRangeEnd`,`animationRangeStart`]],background:[-2,[`backgroundAttachment`,`backgroundClip`,`backgroundColor`,`backgroundImage`,`backgroundOrigin`,`backgroundPosition`,`backgroundPositionX`,`backgroundPositionY`,`backgroundRepeat`,`backgroundSize`]],backgroundPosition:[-1,[`backgroundPositionX`,`backgroundPositionY`]],border:[-2,[`borderBottom`,`borderBottomColor`,`borderBottomStyle`,`borderBottomWidth`,`borderLeft`,`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`,`borderRight`,`borderRightColor`,`borderRightStyle`,`borderRightWidth`,`borderTop`,`borderTopColor`,`borderTopStyle`,`borderTopWidth`]],borderBottom:[-1,[`borderBottomColor`,`borderBottomStyle`,`borderBottomWidth`]],borderImage:[-1,[`borderImageOutset`,`borderImageRepeat`,`borderImageSlice`,`borderImageSource`,`borderImageWidth`]],borderLeft:[-1,[`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`]],borderRadius:[-1,[`borderBottomLeftRadius`,`borderBottomRightRadius`,`borderTopLeftRadius`,`borderTopRightRadius`]],borderRight:[-1,[`borderRightColor`,`borderRightStyle`,`borderRightWidth`]],borderTop:[-1,[`borderTopColor`,`borderTopStyle`,`borderTopWidth`]],caret:[-1,[`caretColor`,`caretShape`]],columnRule:[-1,[`columnRuleColor`,`columnRuleStyle`,`columnRuleWidth`]],columns:[-1,[`columnCount`,`columnWidth`]],containIntrinsicSize:[-1,[`containIntrinsicHeight`,`containIntrinsicWidth`]],container:[-1,[`containerName`,`containerType`]],flex:[-1,[`flexBasis`,`flexGrow`,`flexShrink`]],flexFlow:[-1,[`flexDirection`,`flexWrap`]],font:[-1,[`fontFamily`,`fontSize`,`fontStretch`,`fontStyle`,`fontVariant`,`fontWeight`,`lineHeight`]],gap:[-1,[`columnGap`,`rowGap`]],grid:[-1,[`columnGap`,`gridAutoColumns`,`gridAutoFlow`,`gridAutoRows`,`gridColumnGap`,`gridRowGap`,`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`,`rowGap`]],gridArea:[-1,[`gridColumnEnd`,`gridColumnStart`,`gridRowEnd`,`gridRowStart`]],gridColumn:[-1,[`gridColumnEnd`,`gridColumnStart`]],gridRow:[-1,[`gridRowEnd`,`gridRowStart`]],gridTemplate:[-1,[`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`]],inset:[-1,[`bottom`,`left`,`right`,`top`]],insetBlock:[-1,[`insetBlockEnd`,`insetBlockStart`]],insetInline:[-1,[`insetInlineEnd`,`insetInlineStart`]],listStyle:[-1,[`listStyleImage`,`listStylePosition`,`listStyleType`]],margin:[-1,[`marginBottom`,`marginLeft`,`marginRight`,`marginTop`]],marginBlock:[-1,[`marginBlockEnd`,`marginBlockStart`]],marginInline:[-1,[`marginInlineEnd`,`marginInlineStart`]],mask:[-1,[`maskClip`,`maskComposite`,`maskImage`,`maskMode`,`maskOrigin`,`maskPosition`,`maskRepeat`,`maskSize`]],maskBorder:[-1,[`maskBorderMode`,`maskBorderOutset`,`maskBorderRepeat`,`maskBorderSlice`,`maskBorderSource`,`maskBorderWidth`]],offset:[-1,[`offsetAnchor`,`offsetDistance`,`offsetPath`,`offsetPosition`,`offsetRotate`]],outline:[-1,[`outlineColor`,`outlineStyle`,`outlineWidth`]],overflow:[-1,[`overflowX`,`overflowY`]],overscrollBehavior:[-1,[`overscrollBehaviorX`,`overscrollBehaviorY`]],padding:[-1,[`paddingBottom`,`paddingLeft`,`paddingRight`,`paddingTop`]],paddingBlock:[-1,[`paddingBlockEnd`,`paddingBlockStart`]],paddingInline:[-1,[`paddingInlineEnd`,`paddingInlineStart`]],placeContent:[-1,[`alignContent`,`justifyContent`]],placeItems:[-1,[`alignItems`,`justifyItems`]],placeSelf:[-1,[`alignSelf`,`justifySelf`]],scrollMargin:[-1,[`scrollMarginBottom`,`scrollMarginLeft`,`scrollMarginRight`,`scrollMarginTop`]],scrollMarginBlock:[-1,[`scrollMarginBlockEnd`,`scrollMarginBlockStart`]],scrollMarginInline:[-1,[`scrollMarginInlineEnd`,`scrollMarginInlineStart`]],scrollPadding:[-1,[`scrollPaddingBottom`,`scrollPaddingLeft`,`scrollPaddingRight`,`scrollPaddingTop`]],scrollPaddingBlock:[-1,[`scrollPaddingBlockEnd`,`scrollPaddingBlockStart`]],scrollPaddingInline:[-1,[`scrollPaddingInlineEnd`,`scrollPaddingInlineStart`]],scrollTimeline:[-1,[`scrollTimelineAxis`,`scrollTimelineName`]],textDecoration:[-1,[`textDecorationColor`,`textDecorationLine`,`textDecorationStyle`,`textDecorationThickness`]],textEmphasis:[-1,[`textEmphasisColor`,`textEmphasisStyle`]],transition:[-1,[`transitionBehavior`,`transitionDelay`,`transitionDuration`,`transitionProperty`,`transitionTimingFunction`]],viewTimeline:[-1,[`viewTimelineAxis`,`viewTimelineName`]]};function yn(e,t){return e.length===0?t:`${e} and ${t}`}function bn(e){return e.substr(0,6)===`@media`}function xn(e){return e.substr(0,6)===`@layer`}var Sn=/^(:|\[|>|&)/;function Cn(e){return Sn.test(e)}function wn(e){return e.substr(0,9)===`@supports`}function Tn(e){return e.substring(0,10)===`@container`}function En(e){return typeof e==`object`&&!!e&&Array.isArray(e)===!1}var Dn={"us-w":`w`,"us-v":`i`,nk:`l`,si:`v`,cu:`f`,ve:`h`,ti:`a`};function On(e,t){if(t.media)return`m`;if(t.layer||t.supports)return`t`;if(t.container)return`c`;if(e.length>0){let t=e[0].trim();if(t.charCodeAt(0)===58)return Dn[t.slice(4,8)]||Dn[t.slice(3,5)]||`d`}return`d`}function kn(e,t){return e&&t+e}function An(e){return kn(e.container,`c`)+kn(e.media,`m`)+kn(e.layer,`l`)+kn(e.supports,`s`)}function jn(e,t,n){let r=ce(e+An(n)+t),i=r.charCodeAt(0);return i>=48&&i<=57?String.fromCharCode(i+17)+r.slice(1):r}function Mn({property:e,selector:t,salt:n,value:r},i){return`f`+ce(n+t+An(i)+e+r.trim())}function Nn(e){return e===se}function Pn(e){return e.replace(/>\s+/g,`>`)}function Fn(e){return vn[e]}function In(e){return e?.[0]??0}function Ln(e,t,n,r){e[t]=r?[n,r]:n}function Rn(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function zn(e,t,n,r,i,a){let o=[];a!==0&&o.push([`p`,a]),t===`m`&&i&&o.push([`m`,i]),e[t]??(e[t]=[]),n&&e[t].push(Rn(n,o)),r&&e[t].push(Rn(r,o))}function Bn(e,t=``,n=[],r={container:``,layer:``,media:``,supports:``},i={},a={},o){for(let s in e){if(oe.hasOwnProperty(s)){e[s];continue}let c=e[s];if(c!=null){if(Nn(c)){Ln(i,jn(Pn(n.join(``)),s,r),0,void 0);continue}if(typeof c==`string`||typeof c==`number`){let e=Pn(n.join(``)),l=Fn(s);if(l){let e=l[1];Bn(Object.fromEntries(e.map(e=>[e,se])),t,n,r,i,a)}let u=jn(e,s,r),d=Mn({value:c.toString(),salt:t,selector:e,property:s},r),f=o&&{key:s,value:o}||Ke(s,c),p=f.key!==s||f.value!==c,m=p?Mn({value:f.value.toString(),property:f.key,salt:t,selector:e},r):void 0,h=p?{rtlClassName:m,rtlProperty:f.key,rtlValue:f.value}:void 0,g=On(n,r),[_,v]=mn(Object.assign({className:d,selectors:n,property:s,value:c},h),r);Ln(i,u,d,m),zn(a,g,_,v,r.media,In(l))}else if(s===`animationName`){let e=Array.isArray(c)?c:[c],o=[],s=[];for(let t of e){let e=gn(t),n=gn(Ge(t)),i=`f`+ce(e),c,l=_n(i,e),u=[];e===n?c=i:(c=`f`+ce(n),u=_n(c,n));for(let e=0;e<l.length;e++)zn(a,`k`,l[e],u[e],r.media,0);o.push(i),s.push(c)}Bn({animationName:o.join(`, `)},t,n,r,i,a,s.join(`, `))}else if(Array.isArray(c)){if(c.length===0)continue;let e=Pn(n.join(``)),o=Fn(s);if(o){let e=o[1];Bn(Object.fromEntries(e.map(e=>[e,se])),t,n,r,i,a)}let l=jn(e,s,r),u=Mn({value:c.map(e=>(e??``).toString()).join(`;`),salt:t,selector:e,property:s},r),d=c.map(e=>Ke(s,e));if(d.some(e=>e.key!==d[0].key))continue;let f=d[0].key!==s||d.some((e,t)=>e.value!==c[t]),p=f?Mn({value:d.map(e=>(e?.value??``).toString()).join(`;`),salt:t,property:d[0].key,selector:e},r):void 0,m=f?{rtlClassName:p,rtlProperty:d[0].key,rtlValue:d.map(e=>e.value)}:void 0,h=On(n,r),[g,_]=mn(Object.assign({className:u,selectors:n,property:s,value:c},m),r);Ln(i,l,u,p),zn(a,h,g,_,r.media,In(o))}else if(En(c)){if(Cn(s))Bn(c,t,n.concat(et(s)),r,i,a);else if(bn(s)){let e=yn(r.media,s.slice(6).trim());Bn(c,t,n,Object.assign({},r,{media:e}),i,a)}else if(xn(s)){let e=(r.layer?`${r.layer}.`:``)+s.slice(6).trim();Bn(c,t,n,Object.assign({},r,{layer:e}),i,a)}else if(wn(s)){let e=yn(r.supports,s.slice(9).trim());Bn(c,t,n,Object.assign({},r,{supports:e}),i,a)}else if(Tn(s)){let e=s.slice(10).trim();Bn(c,t,n,Object.assign({},r,{container:e}),i,a)}}}}return[i,a]}function Vn(e,t=``){let n={},r={};for(let i in e){let a=e[i],[o,s]=Bn(a,t);n[i]=o,Object.keys(s).forEach(e=>{r[e]=(r[e]||[]).concat(s[e])})}return[n,r]}function Hn(e,t=we){let n=t(),r=null,i=null,a=null,o=null;function s(t){let{dir:s,renderer:c}=t;r===null&&([r,i]=Vn(e,c.classNameHashSalt));let l=s===`ltr`;return l?a===null&&(a=D(r,s)):o===null&&(o=D(r,s)),n(c,i),l?a:o}return s}function Un(e,t,n=we){let r=n(),i=null,a=null;function o(n){let{dir:o,renderer:s}=n,c=o===`ltr`;return c?i===null&&(i=D(e,o)):a===null&&(a=D(e,o)),r(s,t),c?i:a}return o}function Wn(e,t,n,r=we){let i=r();function a(r){let{dir:a,renderer:o}=r,s=a===`ltr`?e:t||e;return i(o,Array.isArray(n)?{r:n}:n),s}return a}function Gn(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var Kn=_.useInsertionEffect?_.useInsertionEffect:void 0,qn=()=>{let e={};return function(t,n){if(Kn&&Gn()){Kn(()=>{t.insertCSSRules(n)},[t,n]);return}e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}},Jn=_.createContext(Ce());function Yn(){return _.useContext(Jn)}var Xn=_.createContext(`ltr`),Zn=({children:e,dir:t})=>_.createElement(Xn.Provider,{value:t},e);function Qn(){return _.useContext(Xn)}function $n(e){let t=Hn(e,qn);return function(){return t({dir:Qn(),renderer:Yn()})}}function N(e,t){let n=Un(e,t,qn);return function(){return n({dir:Qn(),renderer:Yn()})}}function er(e,t,n){let r=Wn(e,t,n,qn);return function(){return r({dir:Qn(),renderer:Yn()})}}function tr(e,t){return t?`${e} { ${Object.keys(t).reduce((e,n)=>`${e}--${n}: ${t[n]}; `,``)} }`:`${e} {}`}var nr=Symbol.for(`fui.slotRenderFunction`),rr=Symbol.for(`fui.slotElementType`),ir=Symbol.for(`fui.slotClassNameProp`);function P(e,t){let{defaultProps:n,elementType:r}=t,i=or(e),a={...n,...i,[rr]:r,[ir]:i?.className};return i&&typeof i.children==`function`&&(a[nr]=i.children,a.children=n?.children),a}function ar(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return P(e,t)}function or(e){return typeof e==`string`||typeof e==`number`||sr(e)||_.isValidElement(e)?{children:e}:e}var sr=e=>typeof e==`object`&&!!e&&Symbol.iterator in e;function cr(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!_.isValidElement(e)}function lr(e){return!!e?.hasOwnProperty(rr)}var F=(...e)=>{let t={};for(let n of e){let e=Array.isArray(n)?n:Object.keys(n);for(let n of e)t[n]=1}return t},ur=F(`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`.split(`.`)),dr=F(F([`accessKey`,`children`,`className`,`contentEditable`,`dir`,`draggable`,`hidden`,`htmlFor`,`id`,`lang`,`ref`,`role`,`style`,`tabIndex`,`title`,`translate`,`spellCheck`,`name`]),ur,F([`itemID`,`itemProp`,`itemRef`,`itemScope`,`itemType`])),fr=F(dr,[`form`]),pr=F(dr,[`height`,`loop`,`muted`,`preload`,`src`,`width`]),mr=F(pr,[`poster`]),hr=F(dr,[`start`]),gr=F(dr,[`value`]),_r=F(dr,[`download`,`href`,`hrefLang`,`media`,`referrerPolicy`,`rel`,`target`,`type`]),vr=F(dr,[`dateTime`]),yr=F(dr,[`autoFocus`,`disabled`,`form`,`formAction`,`formEncType`,`formMethod`,`formNoValidate`,`formTarget`,`type`,`value`]),br=F(yr,`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`.split(`.`)),xr=F(yr,[`autoCapitalize`,`cols`,`dirname`,`form`,`maxLength`,`placeholder`,`readOnly`,`required`,`rows`,`wrap`]),Sr=F(yr,[`form`,`multiple`,`required`]),Cr=F(dr,[`selected`,`value`]),wr=F(dr,[`cellPadding`,`cellSpacing`]),Tr=dr,Er=F(dr,[`colSpan`,`rowSpan`,`scope`]),Dr=F(dr,[`colSpan`,`headers`,`rowSpan`,`scope`]),Or=F(dr,[`span`]),kr=F(dr,[`span`]),Ar=F(dr,[`disabled`,`form`]),jr=F(dr,[`acceptCharset`,`action`,`encType`,`encType`,`method`,`noValidate`,`target`]),Mr=F(dr,[`allow`,`allowFullScreen`,`allowPaymentRequest`,`allowTransparency`,`csp`,`height`,`importance`,`referrerPolicy`,`sandbox`,`src`,`srcDoc`,`width`]),Nr=F(dr,[`alt`,`crossOrigin`,`height`,`src`,`srcSet`,`useMap`,`width`]),Pr=F(dr,[`open`,`onCancel`,`onClose`]);function Fr(e,t,n){let r=Array.isArray(t),i={},a=Object.keys(e);for(let o of a)(!r&&t[o]||r&&t.indexOf(o)>=0||o.indexOf(`data-`)===0||o.indexOf(`aria-`)===0)&&(!n||n?.indexOf(o)===-1)&&(i[o]=e[o]);return i}var Ir={label:fr,audio:pr,video:mr,ol:hr,li:gr,a:_r,button:yr,input:br,textarea:xr,select:Sr,option:Cr,table:wr,tr:Tr,th:Er,td:Dr,colGroup:Or,col:kr,fieldset:Ar,form:jr,iframe:Mr,img:Nr,time:vr,dialog:Pr};function Lr(e,t,n){let r=e&&Ir[e]||dr;return r.as=1,Fr(t,r,n)}var Rr=({primarySlotTagName:e,props:t,excludedPropNames:n})=>({root:{style:t.style,className:t.className},primary:Lr(e,t,[...n||[],`style`,`className`])}),zr=(e,t,n)=>Lr(t.as??e,t,n);function Br(e,t){let n=_.useRef(void 0),r=_.useCallback((r,i)=>(n.current!==void 0&&t(n.current),n.current=e(r,i),n.current),[t,e]),i=_.useCallback(()=>{n.current!==void 0&&(t(n.current),n.current=void 0)},[t]);return _.useEffect(()=>i,[i]),[r,i]}var Vr=_.createContext(void 0),Hr=Vr.Provider,Ur=_.createContext(void 0),Wr=``,Gr=Ur.Provider;function Kr(){return _.useContext(Ur)??Wr}var qr=_.createContext(void 0).Provider,Jr=_.createContext(void 0),Yr={targetDocument:typeof document==`object`?document:void 0,dir:`ltr`},Xr=Jr.Provider;function Zr(){return _.useContext(Jr)??Yr}var Qr=_.createContext(void 0),$r=Qr.Provider;function ei(){return _.useContext(Qr)??{}}var ti=_.createContext(void 0),ni=()=>{},ri=ti.Provider,ii=e=>_.useContext(ti)?.[e]??ni,ai=_.createContext(void 0);ai.Provider;function oi(){return _.useContext(ai)}var si=e=>(e(0),0),ci=e=>e;function li(){let{targetDocument:e}=Zr(),t=e?.defaultView;return Br(t?t.requestAnimationFrame:si,t?t.cancelAnimationFrame:ci)}function ui(e){return typeof e==`function`}var di=e=>{"use no memo";let[t,n]=_.useState(()=>e.defaultState===void 0?e.initialState:fi(e.defaultState)?e.defaultState():e.defaultState),r=_.useRef(e.state);_.useEffect(()=>{r.current=e.state},[e.state]);let i=_.useCallback(e=>{ui(e)&&e(r.current)},[]);return I(e.state)?[e.state,i]:[t,n]};function fi(e){return typeof e==`function`}var I=e=>{"use no memo";let[t]=_.useState(()=>e!==void 0);return t};function pi(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var mi={current:0},hi=_.createContext(void 0);function gi(){return _.useContext(hi)??mi}var _i=pi()?_.useLayoutEffect:_.useEffect,L=e=>{let t=_.useRef(()=>{throw Error(`Cannot call an event handler while rendering`)});return _i(()=>{t.current=e},[e]),_.useCallback((...e)=>{let n=t.current;return n(...e)},[t])};function vi(){let e=_.useRef(!0);return _.useEffect(()=>{e.current&&=!1},[]),e.current}var yi=_.createContext(void 0);yi.Provider;function bi(){return _.useContext(yi)||``}function xi(e=`fui-`,t){"use no memo";let n=gi(),r=bi(),i=_.useId;if(i){let n=i(),a=_.useMemo(()=>n.replace(/:/g,``),[n]);return t||`${r}${e}${a}`}return _.useMemo(()=>t||`${r}${e}${++n.current}`,[r,e,t,n])}function Si(...e){"use no memo";let t=_.useCallback(n=>{t.current=n;for(let t of e)typeof t==`function`?t(n):t&&(t.current=n)},[...e]);return t}var Ci=(e,t)=>!!e?.contains(t),wi=e=>{let{targetDocument:t}=Zr(),n=t?.defaultView,{refs:r,callback:i,element:a,disabled:o,disabledFocusOnIframe:s,contains:c=Ci}=e,l=_.useRef(void 0);Di({element:a,disabled:s||o,callback:i,refs:r,contains:c});let u=_.useRef(!1),d=L(e=>{if(u.current){u.current=!1;return}let t=e.composedPath()[0];r.every(e=>!c(e.current||null,t))&&!o&&i(e)}),f=L(e=>{u.current=r.some(t=>c(t.current||null,e.target))});_.useEffect(()=>{if(o)return;let e=Ti(n),t=t=>{if(t===e){e=void 0;return}d(t)};return a?.addEventListener(`click`,t,!0),a?.addEventListener(`touchstart`,t,!0),a?.addEventListener(`contextmenu`,t,!0),a?.addEventListener(`mousedown`,f,!0),l.current=n?.setTimeout(()=>{e=void 0},1),()=>{a?.removeEventListener(`click`,t,!0),a?.removeEventListener(`touchstart`,t,!0),a?.removeEventListener(`contextmenu`,t,!0),a?.removeEventListener(`mousedown`,f,!0),n?.clearTimeout(l.current),e=void 0}},[d,a,o,f,n])},Ti=e=>{if(e)return typeof e.window==`object`&&e.window===e?e.event:e.ownerDocument?.defaultView?.event??void 0},Ei=`fuiframefocus`,Di=e=>{let{disabled:t,element:n,callback:r,contains:i=Ci,pollDuration:a=100,refs:o}=e,s=_.useRef(void 0),c=L(e=>{o.every(t=>!i(t.current||null,e.target))&&!t&&r(e)});_.useEffect(()=>{if(!t)return n?.addEventListener(Ei,c,!0),()=>{n?.removeEventListener(Ei,c,!0)}},[n,t,c]),_.useEffect(()=>{if(!t)return s.current=n?.defaultView?.setInterval(()=>{let e=n?.activeElement;if(e?.tagName===`IFRAME`||e?.tagName===`WEBVIEW`){let t=new CustomEvent(Ei,{bubbles:!0});e.dispatchEvent(t)}},a),()=>{var e;n==null||(e=n.defaultView)==null||e.clearInterval(s.current)}},[n,t,a])},Oi=e=>-1,ki=e=>void 0;function Ai(){let{targetDocument:e}=Zr(),t=e?.defaultView;return Br(t?t.setTimeout:Oi,t?t.clearTimeout:ki)}function ji(e,t){return(...n)=>{e?.(...n),t?.(...n)}}function Mi(e,t){let n=e;return!!(n!=null&&n.ownerDocument?.defaultView&&n instanceof n.ownerDocument.defaultView[t?.constructorName??`HTMLElement`])}function Ni(e){if(!Mi(e))return!1;let{tagName:t}=e;switch(t){case`BUTTON`:case`A`:case`INPUT`:case`TEXTAREA`:return!0}return e.isContentEditable}function Pi(e){return e.type.startsWith(`touch`)}function Fi(e){return e.type.startsWith(`mouse`)||[`click`,`contextmenu`,`dblclick`].indexOf(e.type)>-1}function Ii(e){return Fi(e)?{clientX:e.clientX,clientY:e.clientY}:Pi(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function Li(e){return e instanceof Set?e:new Set(e)}function Ri(e){let[t,n]=di({initialState:new Set,defaultState:_.useMemo(()=>e.defaultSelectedItems&&Li(e.defaultSelectedItems),[e.defaultSelectedItems]),state:_.useMemo(()=>e.selectedItems&&Li(e.selectedItems),[e.selectedItems])});return[t,(t,r)=>{var i;(i=e.onSelectionChange)==null||i.call(e,t,{selectedItems:r}),n(r)}]}function zi(e){let[t,n]=Ri(e);return[t,{deselectItem:e=>n(e,new Set),selectItem:(e,t)=>n(e,new Set([t])),toggleAllItems:()=>{},toggleItem:(e,t)=>n(e,new Set([t])),clearItems:e=>n(e,new Set),isSelected:e=>t.has(e)??!1}]}function Bi(e){let[t,n]=Ri(e);return[t,{toggleItem:(e,r)=>{let i=new Set(t);t.has(r)?i.delete(r):i.add(r),n(e,i)},selectItem:(e,r)=>{let i=new Set(t);i.add(r),n(e,i)},deselectItem:(e,r)=>{let i=new Set(t);i.delete(r),n(e,i)},clearItems:e=>{n(e,new Set)},isSelected:e=>t.has(e),toggleAllItems:(e,r)=>{let i=r.every(e=>t.has(e)),a=new Set(t);i?a.clear():r.forEach(e=>a.add(e)),n(e,a)}}]}function Vi(e){"use no memo";return e.selectionMode===`multiselect`?Bi(e):zi(e)}function Hi(e){return e&&!!e._virtual}function Ui(e){return Hi(e)&&e._virtual.parent||null}function Wi(e,t={}){if(!e)return null;if(!t.skipVirtual){let t=Ui(e);if(t)return t}let n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Gi(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function Ki(e,t){return{...t,[rr]:e}}var qi=s((e=>{if(typeof Symbol==`function`&&Symbol.for){var t=Symbol.for;t(`react.element`),t(`react.portal`),t(`react.fragment`),t(`react.strict_mode`),t(`react.profiler`),t(`react.provider`),t(`react.context`),t(`react.forward_ref`),t(`react.suspense`),t(`react.suspense_list`),t(`react.memo`),t(`react.lazy`),t(`react.block`),t(`react.server.block`),t(`react.fundamental`),t(`react.debug_trace_mode`),t(`react.legacy_hidden`)}}));s(((e,t)=>{t.exports=qi()}))();function Ji(e,t){return function(n,r,i,a,o){return lr(r)?t(Ki(n,r),null,i,a,o):lr(n)?t(n,r,i,a,o):e(n,r,i,a,o)}}function Yi(e){let{as:t,[ir]:n,[rr]:r,[nr]:i,...a}=e,o=a,s=typeof r==`string`?t??r:r;return typeof s!=`string`&&t&&(o.as=t),{elementType:s,props:o,renderFunction:i}}var Xi=s((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),R=l(s(((e,t)=>{t.exports=Xi()}))()),z=R,Zi=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=Yi(e),o={...a,...t};return i?z.jsx(_.Fragment,{children:i(r,o)},n):z.jsx(r,o,n)},Qi=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=Yi(e),o={...a,...t};return i?z.jsx(_.Fragment,{children:i(r,{...o,children:z.jsxs(_.Fragment,{children:o.children},void 0)})},n):z.jsxs(r,o,n)},B=Ji(z.jsx,Zi),$i=Ji(z.jsxs,Qi),ea=_.createContext(void 0),ta={},na=ea.Provider,ra=()=>_.useContext(ea)??ta,ia=(e,t)=>B(Xr,{value:t.provider,children:B(Hr,{value:t.theme,children:B(Gr,{value:t.themeClassName,children:B(ri,{value:t.customStyleHooks_unstable,children:B(qr,{value:t.tooltip,children:B(Zn,{dir:t.textDirection,children:B(na,{value:t.iconDirection,children:B($r,{value:t.overrides_unstable,children:$i(e.root,{children:[pi()?null:B(`style`,{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}),aa=typeof WeakRef<`u`,oa=class{constructor(e){aa&&typeof e==`object`?this._weakRef=new WeakRef(e):this._instance=e}deref(){let e;return this._weakRef?(e=this._weakRef?.deref(),e||delete this._weakRef):(e=this._instance,(e?.isDisposed)?.call(e)&&delete this._instance),e}},sa=`keyborg:focusin`,ca=`keyborg:focusout`;function la(e){let t=e.HTMLElement,n=t.prototype.focus,r=!1;return t.prototype.focus=function(){r=!0},e.document.createElement(`button`).focus(),t.prototype.focus=n,r}var ua=!1;function da(e){let t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function fa(e){let t=e;ua||=la(t);let n=t.HTMLElement.prototype.focus;if(n.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=c;let r=new Set,i=e=>{let t=e.target;if(!t)return;let n=new CustomEvent(ca,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(n)},a=e=>{let t=e.target;if(!t)return;let n=e.composedPath()[0],s=new Set;for(;n;)n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(s.add(n),n=n.host):n=n.parentNode;for(let e of r){let t=e.deref();(!t||!s.has(t))&&(r.delete(e),t&&(t.removeEventListener(`focusin`,a,!0),t.removeEventListener(`focusout`,i,!0)))}o(t,e.relatedTarget||void 0)},o=(e,t,n)=>{let o=e.shadowRoot;if(o){for(let e of r)if(e.deref()===o)return;o.addEventListener(`focusin`,a,!0),o.addEventListener(`focusout`,i,!0),r.add(new oa(o));return}let c={relatedTarget:t,originalEvent:n},l=new CustomEvent(sa,{cancelable:!0,bubbles:!0,composed:!0,detail:c});l.details=c,(ua||s.lastFocusedProgrammatically)&&(c.isFocusedProgrammatically=e===s.lastFocusedProgrammatically?.deref(),s.lastFocusedProgrammatically=void 0),e.dispatchEvent(l)},s=t.__keyborgData={focusInHandler:a,focusOutHandler:i,shadowTargets:r};t.document.addEventListener(`focusin`,t.__keyborgData.focusInHandler,!0),t.document.addEventListener(`focusout`,t.__keyborgData.focusOutHandler,!0);function c(){let e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new oa(this)),n.apply(this,arguments)}let l=t.document.activeElement;for(;l&&l.shadowRoot;)o(l),l=l.shadowRoot.activeElement;c.__keyborgNativeFocus=n}function pa(e){let t=e,n=t.HTMLElement.prototype,r=n.focus.__keyborgNativeFocus,i=t.__keyborgData;if(i){t.document.removeEventListener(`focusin`,i.focusInHandler,!0),t.document.removeEventListener(`focusout`,i.focusOutHandler,!0);for(let e of i.shadowTargets){let t=e.deref();t&&(t.removeEventListener(`focusin`,i.focusInHandler,!0),t.removeEventListener(`focusout`,i.focusOutHandler,!0))}i.shadowTargets.clear(),delete t.__keyborgData}r&&(n.focus=r)}var ma=500,ha=0,ga=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;let t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||t.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{e.buttons===0||e.clientX===0&&e.clientY===0&&e.screenX===0&&e.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id=`c`+ ++ha,this._win=e;let n=e.document;if(t){let e=t.triggerKeys,n=t.dismissKeys;e?.length&&(this._triggerKeys=new Set(e)),n?.length&&(this._dismissKeys=new Set(n))}n.addEventListener(sa,this._onFocusIn,!0),n.addEventListener(`mousedown`,this._onMouseDown,!0),e.addEventListener(`keydown`,this._onKeyDown,!0),n.addEventListener(`touchstart`,this._onMouseOrTouch,!0),n.addEventListener(`touchend`,this._onMouseOrTouch,!0),n.addEventListener(`touchcancel`,this._onMouseOrTouch,!0),fa(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){let e=this._win;if(e){this._isMouseOrTouchUsedTimer&&=(e.clearTimeout(this._isMouseOrTouchUsedTimer),void 0),this._dismissTimer&&=(e.clearTimeout(this._dismissTimer),void 0),pa(e);let t=e.document;t.removeEventListener(sa,this._onFocusIn,!0),t.removeEventListener(`mousedown`,this._onMouseDown,!0),e.removeEventListener(`keydown`,this._onKeyDown,!0),t.removeEventListener(`touchstart`,this._onMouseOrTouch,!0),t.removeEventListener(`touchend`,this._onMouseOrTouch,!0),t.removeEventListener(`touchcancel`,this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){let e=this._win?.__keyborg?.refs;if(e)for(let t of Object.keys(e))_a.update(e[t],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){if(e.key===`Tab`)return!0;let t=this._win?.document.activeElement,n=!this._triggerKeys||this._triggerKeys.has(e.keyCode),r=t&&(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable);return n&&!r}_shouldDismissKeyboardNavigation(e){return this._dismissKeys?.has(e.keyCode)}_scheduleDismiss(){let e=this._win;if(e){this._dismissTimer&&=(e.clearTimeout(this._dismissTimer),void 0);let t=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;let n=e.document.activeElement;t&&n&&t===n&&(this.isNavigatingWithKeyboard=!1)},ma)}}},_a=class e{constructor(e,t){this._cb=[],this._id=`k`+ ++ha,this._win=e;let n=e.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new ga(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,n){return new e(t,n)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach(e=>e(t))}dispose(){let e=this._win?.__keyborg;e?.refs[this._id]&&(delete e.refs[this._id],Object.keys(e.refs).length===0&&(e.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){return!!this._core?.isNavigatingWithKeyboard}subscribe(e){this._cb.push(e)}unsubscribe(e){let t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};function va(e,t){return _a.create(e,t)}function ya(e){_a.dispose(e)}var ba=`data-tabster`,xa=`data-tabster-dummy`,Sa=[`a[href]`,`button:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`*[tabindex]`,`*[contenteditable]`,`details > summary`,`audio[controls]`,`video[controls]`].join(`, `),Ca={EscapeGroupper:1,Restorer:2,Deloser:3},wa={Invisible:0,PartiallyVisible:1,Visible:2},Ta={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},V={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Ea={Unlimited:0,Limited:1,LimitedTrapFocus:2},H={Enter:1,Escape:2},Da={Auto:0,Inside:1,Outside:2};function Oa(e,t){return e.storageEntry(t)?.tabster}function ka(e,t,n){let r=n||e._noop?void 0:t.getAttribute(ba),i=e.storageEntry(t),a;if(r)if(r!==i?.attr?.string)try{let e=JSON.parse(r);if(typeof e!=`object`)throw Error(`Value is not a JSON object, got '${r}'.`);a={string:r,object:e}}catch{}else return;else if(!i)return;i||=e.storageEntry(t,!0),i.tabster||={};let o=i.tabster||{},s=i.attr?.object||{},c=a?.object||{};for(let n of Object.keys(s))if(!c[n]){if(n===`root`){let t=o[n];t&&e.root.onRoot(t,!0)}switch(n){case`deloser`:case`root`:case`groupper`:case`modalizer`:case`restorer`:case`mover`:let r=o[n];r&&(r.dispose(),delete o[n]);break;case`observed`:delete o[n],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case`focusable`:case`outline`:case`uncontrolled`:case`sys`:delete o[n];break}}for(let n of Object.keys(c)){let r=c.sys;switch(n){case`deloser`:o.deloser?o.deloser.setProps(c.deloser):e.deloser&&(o.deloser=e.deloser.createDeloser(t,c.deloser));break;case`root`:o.root?o.root.setProps(c.root):o.root=e.root.createRoot(t,c.root,r),e.root.onRoot(o.root);break;case`modalizer`:o.modalizer?o.modalizer.setProps(c.modalizer):e.modalizer&&(o.modalizer=e.modalizer.createModalizer(t,c.modalizer,r));break;case`restorer`:o.restorer?o.restorer.setProps(c.restorer):e.restorer&&c.restorer&&(o.restorer=e.restorer.createRestorer(t,c.restorer));break;case`focusable`:o.focusable=c.focusable;break;case`groupper`:o.groupper?o.groupper.setProps(c.groupper):e.groupper&&(o.groupper=e.groupper.createGroupper(t,c.groupper,r));break;case`mover`:o.mover?o.mover.setProps(c.mover):e.mover&&(o.mover=e.mover.createMover(t,c.mover,r));break;case`observed`:e.observedElement&&(o.observed=c.observed,e.observedElement.onObservedElementUpdate(t));break;case`uncontrolled`:o.uncontrolled=c.uncontrolled;break;case`outline`:e.outline&&(o.outline=c.outline);break;case`sys`:o.sys=c.sys;break;default:console.error(`Unknown key '${n}' in data-tabster attribute value.`)}}a?i.attr=a:(Object.keys(o).length===0&&(delete i.tabster,delete i.attr),e.storageEntry(t,!1))}var Aa=`tabster:focusin`,ja=`tabster:focusout`,Ma=`tabster:movefocus`,Na=`tabster:mover:state`,Pa=`tabster:mover:movefocus`,Fa=`tabster:mover:memorized-element`,Ia=`tabster:groupper:movefocus`,La=`tabster:root:focus`,Ra=`tabster:root:blur`,za=typeof CustomEvent<`u`?CustomEvent:function(){},Ba=class extends za{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}},Va=class extends Ba{constructor(e){super(Aa,e)}},Ha=class extends Ba{constructor(e){super(ja,e)}},Ua=class extends Ba{constructor(e){super(Ma,e)}},Wa=class extends Ba{constructor(e){super(Na,e)}},Ga=class extends Ba{constructor(e){super(Pa,e)}},Ka=class extends Ba{constructor(e){super(Ia,e)}},qa=class extends Ba{constructor(e){super(La,e)}},Ja=class extends Ba{constructor(e){super(Ra,e)}},U={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,n,r)=>e.createTreeWalker(t,n,r),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!!(t&&e?.contains(t)),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>e?.firstChild||null,getLastChild:e=>e?.lastChild||null,getNextSibling:e=>e?.nextSibling||null,getPreviousSibling:e=>e?.previousSibling||null,getFirstElementChild:e=>e?.firstElementChild||null,getLastElementChild:e=>e?.lastElementChild||null,getNextElementSibling:e=>e?.nextElementSibling||null,getPreviousElementSibling:e=>e?.previousElementSibling||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,n)=>e.insertBefore(t,n),getSelection:e=>e.ownerDocument?.getSelection()||null,getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};function Ya(e){for(let t of Object.keys(e))U[t]=e[t]}var Xa,Za=typeof DOMRect<`u`?DOMRect:class{constructor(e,t,n,r){this.left=e||0,this.top=t||0,this.right=(e||0)+(n||0),this.bottom=(t||0)+(r||0)}},Qa=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Xa=!1}catch{Xa=!0}var $a=100;function eo(e){let t=e(),n=t.__tabsterInstanceContext;return n||(n={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=n),n}function to(e){let t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function no(e){return new(e.__tabsterInstanceContext?.basics.WeakMap||WeakMap)}function ro(e){return!!e.querySelector(Sa)}var io=class{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return e._target?t||!bo(e._target.ownerDocument,e._target)?(delete e._target,!0):!1:!0}},ao=class{constructor(e,t,n){let r=eo(e),i;r.WeakRef?i=new r.WeakRef(t):(i=new io(t),r.fakeWeakRefs.push(i)),this._ref=i,this._data=n}get(){let e=this._ref,t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}};function oo(e,t){let n=eo(e);n.fakeWeakRefs=n.fakeWeakRefs.filter(e=>!io.cleanup(e,t))}function so(e){let t=eo(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=So(t)),t.fakeWeakRefsTimer||=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,oo(e),so(e)},120*1e3)}function co(e){let t=eo(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function lo(e,t,n){if(t.nodeType!==Node.ELEMENT_NODE)return;let r=Xa?n:{acceptNode:n};return U.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,r,!1)}function uo(e,t){let n=t.__tabsterCacheId,r=eo(e),i=n?r.containerBoundingRectCache[n]:void 0;if(i)return i.rect;let a=t.ownerDocument&&t.ownerDocument.documentElement;if(!a)return new Za;let o=0,s=0,c=a.clientWidth,l=a.clientHeight;if(t!==a){let e=t.getBoundingClientRect();o=Math.max(o,e.left),s=Math.max(s,e.top),c=Math.min(c,e.right),l=Math.min(l,e.bottom)}let u=new Za(o<c?o:-1,s<l?s:-1,o<c?c-o:0,s<l?l-s:0);return n||(n=`r-`+ ++r.lastContainerBoundingRectCacheId,t.__tabsterCacheId=n),r.containerBoundingRectCache[n]={rect:u,element:t},r.containerBoundingRectCacheTimer||=window.setTimeout(()=>{r.containerBoundingRectCacheTimer=void 0;for(let e of Object.keys(r.containerBoundingRectCache))delete r.containerBoundingRectCache[e].element.__tabsterCacheId;r.containerBoundingRectCache={}},50),u}function fo(e,t,n){let r=mo(t);if(!r)return!1;let i=uo(e,r),a=t.getBoundingClientRect(),o=a.height*(1-n),s=Math.max(0,i.top-a.top)+Math.max(0,a.bottom-i.bottom);return s===0||s<=o}function po(e,t,n){let r=mo(t);if(r){let i=uo(e,r),a=t.getBoundingClientRect();n?r.scrollTop+=a.top-i.top:r.scrollTop+=a.bottom-i.bottom}}function mo(e){let t=e.ownerDocument;if(t){for(let t=U.getParentElement(e);t;t=U.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function ho(e){e.__shouldIgnoreFocus=!0}function go(e){return!!e.__shouldIgnoreFocus}function _o(e){let t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let e=0;e<t.length;e++)t[e]=4294967295*Math.random();let n=[];for(let e=0;e<t.length;e++)n.push(t[e].toString(36));return n.push(`|`),n.push((++Qa).toString(36)),n.push(`|`),n.push(Date.now().toString(36)),n.join(``)}function vo(e,t){let n=eo(e),r=t.__tabsterElementUID;return r||=t.__tabsterElementUID=_o(e()),!n.elementByUId[r]&&bo(t.ownerDocument,t)&&(n.elementByUId[r]=new ao(e,t)),r}function yo(e,t){let n=eo(e);for(let e of Object.keys(n.elementByUId)){let r=n.elementByUId[e],i=r&&r.get();i&&t&&!U.nodeContains(t,i)||delete n.elementByUId[e]}}function bo(e,t){return U.nodeContains(e?.body,t)}function W(e,t){let n=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return n&&n.call(e,t)}function xo(e){let t=eo(e);if(t.basics.Promise)return t.basics.Promise;throw Error(`No Promise defined.`)}function So(e){return e.basics.WeakRef}var Co=0,wo=class{constructor(e,t,n){let r=e.getWindow;this._tabster=e,this._element=new ao(r,t),this._props={...n},this.id=`i`+ ++Co}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}},To=class{constructor(e,t,n,r,i){this._focusIn=e=>{if(this._fixedTarget){let e=this._fixedTarget.get();e&&da(e);return}let t=this.input;if(this.onFocusIn&&t){let n=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,n),n)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let t=this.input;if(this.onFocusOut&&t){let n=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,n),n)}};let a=e(),o=a.document.createElement(`i`);o.tabIndex=0,o.setAttribute(`role`,`none`),o.setAttribute(xa,``),o.setAttribute(`aria-hidden`,`true`);let s=o.style;s.position=`fixed`,s.width=s.height=`1px`,s.opacity=`0.001`,s.zIndex=`-1`,s.setProperty(`content-visibility`,`hidden`),ho(o),this.input=o,this.isFirst=n.isFirst,this.isOutside=t,this._isPhantom=n.isPhantom??!1,this._fixedTarget=i,o.addEventListener(`focusin`,this._focusIn),o.addEventListener(`focusout`,this._focusOut),o.__tabsterDummyContainer=r,this._isPhantom&&(this._disposeTimer=a.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(a.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();let t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener(`focusin`,this._focusIn),t.removeEventListener(`focusout`,this._focusOut),delete t.__tabsterDummyContainer,(e=U.getParentNode(t))==null||e.removeChild(t))}setTopLeft(e,t){let n=this.input?.style;n&&(n.top=`${e}px`,n.left=`${t}px`)}_isBackward(e,t,n){return e&&!n?!this.isFirst:!!(n&&t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)}},Eo={Root:1,Modalizer:2,Mover:3,Groupper:4},G=class{constructor(e,t,n,r,i,a){this._element=t,this._instance=new Oo(e,t,this,n,r,i,a)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;(t=this._instance)==null||t.moveOut(e)}moveOutWithDefaultAction(e,t){var n;(n=this._instance)==null||n.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;(t=this._instance)==null||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,n,r,i){let a=new To(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let o,s;if(t.tagName===`BODY`)o=t,s=n&&r||!n&&!r?U.getFirstElementChild(t):null;else{n&&(!r||r&&!e.focusable.isFocusable(t,!1,!0,!0))?(o=t,s=r?t.firstElementChild:null):(o=U.getParentElement(t),s=n&&r||!n&&!r?t:U.getNextElementSibling(t));let i,a;do i=n&&r||!n&&!r?U.getPreviousElementSibling(s):s,a=Po(i),a===t?s=n&&r||!n&&!r?i:U.getNextElementSibling(i):a=null;while(a)}o?.dispatchEvent(new Ua({by:`root`,owner:o,next:null,relatedEvent:i}))&&(U.insertBefore(o,a,s),da(a))}}static addPhantomDummyWithTarget(e,t,n,r){let i=new To(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new ao(e.getWindow,r)).input;if(i){let e,r;ro(t)&&!n?(e=t,r=U.getFirstElementChild(t)):(e=U.getParentElement(t),r=n?t:U.getNextElementSibling(t)),e&&U.insertBefore(e,i,r)}}},Do=class{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{this._changedParents.has(e)||(this._changedParents.add(e),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=this._win?.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let e of this._dummyElements){let t=e.get();if(t){let e=this._dummyCallbacks.get(t);if(e){let n=U.getParentNode(t);(!n||this._changedParents.has(n))&&e()}}}this._changedParents=new WeakSet},$a)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new ao(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter(t=>{let n=t.get();return n&&n!==e}),this._dummyCallbacks.delete(e),this._dummyElements.length===0&&delete this.domChanged}dispose(){let e=this._win?.call(this);this._updateTimer&&(e?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(e?.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(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){this._updateTimer||=this._win?.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+$a<=Date.now()){let e=new Map,t=[];for(let n of this._updateQueue)t.push(n(e));this._updateQueue.clear();for(let e of t)e();e.clear()}else this._scheduledUpdatePositions()},$a)}},Oo=class{constructor(e,t,n,r,i,a,o){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,n)=>{this._onFocus(!0,e,t,n)},this._onFocusOut=(e,t,n)=>{this._onFocus(!1,e,t,n)},this.moveOut=e=>{let t=this._firstDummy,n=this._lastDummy;if(t&&n){this._ensurePosition();let r=t.input,i=n.input,a=this._element?.get();if(r&&i&&a){let t;e?(r.tabIndex=0,t=r):(i.tabIndex=0,t=i),t&&da(t)}}},this.moveOutWithDefaultAction=(e,t)=>{let n=this._firstDummy,r=this._lastDummy;if(n&&r){this._ensurePosition();let i=n.input,a=r.input,o=this._element?.get();if(i&&a&&o){let s;e?!n.isOutside&&this._tabster.focusable.isFocusable(o,!0,!0,!0)?s=o:(n.useDefaultAction=!0,i.tabIndex=0,s=i):(r.useDefaultAction=!0,a.tabIndex=0,s=a),s&&o.dispatchEvent(new Ua({by:`root`,owner:o,next:null,relatedEvent:t}))&&da(s)}}},this.setTabbable=(e,t)=>{for(let n of this._wrappers)if(n.manager===e){n.tabbable=t;break}let n=this._getCurrent();if(n){let e=n.tabbable?0:-1,t=this._firstDummy?.input;t&&(t.tabIndex=e),t=this._lastDummy?.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{let t=this._firstDummy?.input||this._lastDummy?.input,n=this._transformElements,r=new Set,i=0,a=0,o=this._getWindow();for(let s=t;s&&s.nodeType===Node.ELEMENT_NODE;s=U.getParentElement(s)){let t=e.get(s);if(t===void 0){let n=o.getComputedStyle(s).transform;n&&n!==`none`&&(t={scrollTop:s.scrollTop,scrollLeft:s.scrollLeft}),e.set(s,t||null)}t&&(r.add(s),n.has(s)||s.addEventListener(`scroll`,this._addTransformOffsets),i+=t.scrollTop,a+=t.scrollLeft)}for(let e of n)r.has(e)||e.removeEventListener(`scroll`,this._addTransformOffsets);return this._transformElements=r,()=>{var e,t;(e=this._firstDummy)==null||e.setTopLeft(i,a),(t=this._lastDummy)==null||t.setTopLeft(i,a)}};let s=t.get();if(!s)throw Error(`No element`);this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=o;let c=s.__tabsterDummy;if((c||this)._wrappers.push({manager:n,priority:r,tabbable:!0}),c)return c;s.__tabsterDummy=this;let l=i?.dummyInputsPosition,u=s.tagName;this._isOutside=l?l===Da.Outside:(a||u===`UL`||u===`OL`||u===`TABLE`)&&!(u===`LI`||u===`TD`||u===`TH`),this._firstDummy=new To(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new To(this._getWindow,this._isOutside,{isFirst:!1},t);let d=this._firstDummy.input;d&&e._dummyObserver.add(d,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(e,t){var n,r;if((this._wrappers=this._wrappers.filter(n=>n.manager!==e&&!t)).length===0){delete(this._element?.get()).__tabsterDummy;for(let e of this._transformElements)e.removeEventListener(`scroll`,this._addTransformOffsets);this._transformElements.clear();let e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);let t=this._firstDummy?.input;t&&this._tabster._dummyObserver.remove(t),(n=this._firstDummy)==null||n.dispose(),(r=this._lastDummy)==null||r.dispose()}}_onFocus(e,t,n,r){var i;let a=this._getCurrent();a&&(!t.useDefaultAction||this._callForDefaultAction)&&((i=a.manager.getHandler(e))==null||i(t,n,r))}_getCurrent(){return this._wrappers.sort((e,t)=>e.tabbable===t.tabbable?e.priority-t.priority:e.tabbable?-1:1),this._wrappers[0]}_ensurePosition(){let e=this._element?.get(),t=this._firstDummy?.input,n=this._lastDummy?.input;if(!(!e||!t||!n))if(this._isOutside){let r=U.getParentNode(e);if(r){let i=U.getNextSibling(e);i!==n&&U.insertBefore(r,n,i),U.getPreviousElementSibling(e)!==t&&U.insertBefore(r,t,e)}}else{U.getLastElementChild(e)!==n&&U.appendChild(e,n);let r=U.getFirstElementChild(e);r&&r!==t&&r.parentNode&&U.insertBefore(r.parentNode,t,r)}}};function ko(e){let t=null;for(let n=U.getLastElementChild(e);n;n=U.getLastElementChild(n))t=n;return t||void 0}function Ao(e,t){let n=e,r=null;for(;n&&!r;)r=t?U.getPreviousElementSibling(n):U.getNextElementSibling(n),n=U.getParentElement(n);return r||void 0}function jo(e){let t=e.ownerDocument,n=t.defaultView?.getComputedStyle(e);return e.offsetParent===null&&t.body!==e&&n?.position!==`fixed`||n?.visibility===`hidden`||n?.position===`fixed`&&(n.display===`none`||e.parentElement?.offsetParent===null&&t.body!==e.parentElement)}function Mo(e){return e.tagName===`INPUT`&&!!e.name&&e.type===`radio`}function No(e){if(!Mo(e))return;let t=e.name,n=Array.from(U.getElementsByName(e,t)),r;return n=n.filter(e=>Mo(e)?(e.checked&&(r=e),!0):!1),{name:t,buttons:new Set(n),checked:r}}function Po(e){return(e?.__tabsterDummyContainer)?.get()||null}function Fo(e,t){let n=JSON.stringify(e);return t===!0?n:{[ba]:n}}function Io(e,t){for(let n of Object.keys(t)){let r=t[n];r?e[n]=r:delete e[n]}}function Lo(e,t,n){let r;if(n){let t=e.getAttribute(ba);if(t)try{r=JSON.parse(t)}catch{}}r||={},Io(r,t),Object.keys(r).length>0?e.setAttribute(ba,Fo(r,!0)):e.removeAttribute(ba)}var Ro=class extends G{constructor(e,t,n,r){super(e,t,Eo.Root,r,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let n=this._element.get();if(n){this._setFocused(!0);let t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:n,ignoreAccessibility:!0});if(t){da(t);return}}(t=e.input)==null||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=n}},zo=class extends wo{constructor(e,t,n,r,i){super(e,t,r),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;let n=this._element.get();n&&(e?(this._isFocused=!0,(t=this._dummyManager)==null||t.setTabbable(!1),n.dispatchEvent(new qa({element:n}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,(e=this._dummyManager)==null||e.setTabbable(!0),n.dispatchEvent(new Ja({element:n}))},0))},this._onFocusIn=e=>{let t=this._tabster.getParent,n=this._element.get(),r=e.composedPath()[0];do{if(r===n){this._setFocused(!0);return}r&&=t(r)}while(r)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=n;let a=e.getWindow;this.uid=vo(a,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();let o=a().document;o.addEventListener(sa,this._onFocusIn),o.addEventListener(ca,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||=new Ro(this._tabster,this._element,this._setFocused,this._sys)}dispose(){var e;this._onDispose(this);let t=this._tabster.getWindow(),n=t.document;n.removeEventListener(sa,this._onFocusIn),n.removeEventListener(ca,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(e=this._dummyManager)==null||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){let n=this._dummyManager;if(n)n.moveOutWithDefaultAction(e,t);else{let n=this.getElement();n&&Ro.moveWithPhantomDummy(this._tabster,n,!0,e,t)}}_add(){}_remove(){}},Bo=class{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{let e=this._win().document,t=e.body;if(t){this._autoRootUnwait(e);let n=this._autoRoot;if(n)return Lo(t,{root:n},!0),ka(this._tabster,t),Oa(this._tabster,t)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,e.addEventListener(`readystatechange`,this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(e){e.removeEventListener(`readystatechange`,this._autoRootCreate),this._autoRootWaiting=!1}dispose(){let e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach(e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])}),this.rootById={}}createRoot(e,t,n){let r=new zo(this._tabster,e,this._onRootDispose,t,n);return this._roots[r.id]=r,this._forceDummy&&r.addDummyInputs(),r}addDummyInputs(){this._forceDummy=!0;let e=this._roots;for(let t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){let n=e().__tabsterInstance;return n&&n.root.rootById[t]}static getTabsterContext(e,t,n){if(n===void 0&&(n={}),!t.ownerDocument)return;let{checkRtl:r,referenceElement:i}=n,a=e.getParent;e.drainInitQueue();let o,s,c,l,u=!1,d,f,p,m,h=i||t,g={};for(;h&&(!o||r);){let n=Oa(e,h);if(r&&p===void 0){let e=h.dir;e&&(p=e.toLowerCase()===`rtl`)}if(!n){h=a(h);continue}let i=h.tagName;(n.uncontrolled||i===`IFRAME`||i===`WEBVIEW`)&&e.focusable.isVisible(h)&&(m=h),!l&&n.focusable?.excludeFromMover&&!c&&(u=!0);let _=n.modalizer,v=n.groupper,y=n.mover;!s&&_&&(s=_),!c&&v&&(!s||_)&&(s?(!v.isActive()&&v.getProps().tabbability&&s.userId!==e.modalizer?.activeId&&(s=void 0,c=v),f=v):c=v),!l&&y&&(!s||_)&&(!v||h!==t)&&h.contains(t)&&(l=y,d=!!c&&c!==v),n.root&&(o=n.root),n.focusable?.ignoreKeydown&&Object.assign(g,n.focusable.ignoreKeydown),h=a(h)}if(!o){let n=e.root;n._autoRoot&&t.ownerDocument?.body&&(o=n._autoRootCreate())}return c&&!l&&(d=!0),o?{root:o,modalizer:s,groupper:c,mover:l,groupperBeforeMover:d,modalizerInGroupper:f,rtl:r?!!p:void 0,uncontrolled:m,excludedFromMover:u,ignoreKeydown:e=>!!g[e.key]}:void 0}static getRoot(e,t){let n=e.getParent;for(let r=t;r;r=n(r)){let t=Oa(e,r)?.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}},Vo=class{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){let t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){let t=this._callbacks,n=t.indexOf(e);n>=0&&t.splice(n,1),t.unshift(e)}unsubscribe(e){let t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach(n=>n(e,t))}},Ho=class{constructor(e){this._tabster=e}dispose(){}getProps(e){let t=Oa(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,n,r){return W(e,Sa)&&(t||e.tabIndex!==-1)?(n||this.isVisible(e))&&(r||this.isAccessible(e)):!1}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE||jo(e))return!1;let t=e.ownerDocument.body.getBoundingClientRect();return!(t.width===0&&t.height===0)}isAccessible(e){for(let t=e;t;t=U.getParentElement(t)){let e=Oa(this._tabster,t);if(this._isHidden(t)||!e?.focusable?.ignoreAriaDisabled&&this._isDisabled(t))return!1}return!0}_isDisabled(e){return e.hasAttribute(`disabled`)}_isHidden(e){let t=e.getAttribute(`aria-hidden`);return!!(t&&t.toLowerCase()===`true`&&!this._tabster.modalizer?.isAugmented(e))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){let n=this._findElements(!1,e,t);return n&&n[0]}_findElements(e,t,n){let{container:r,currentElement:i=null,includeProgrammaticallyFocusable:a,useActiveModalizer:o,ignoreAccessibility:s,modalizerId:c,isBackward:l,onElement:u}=t;n||={};let d=[],{acceptCondition:f}=t,p=!!f;if(!r)return null;f||=e=>this.isFocusable(e,a,!1,s);let m={container:r,modalizerUserId:c===void 0&&o?this._tabster.modalizer?.activeId:c||Bo.getTabsterContext(this._tabster,r)?.modalizer?.userId,from:i||r,isBackward:l,isFindAll:e,acceptCondition:f,hasCustomCondition:p,includeProgrammaticallyFocusable:a,ignoreAccessibility:s,cachedGrouppers:{},cachedRadioGroups:{}},h=lo(r.ownerDocument,r,e=>this._acceptElement(e,m));if(!h)return null;let g=t=>{let r=m.foundElement??m.foundBackward;return r&&d.push(r),e?r&&(m.found=!1,delete m.foundElement,delete m.foundBackward,delete m.fromCtx,m.from=r,u&&!u(r))?!1:!!(r||t):(r&&n&&(n.uncontrolled=Bo.getTabsterContext(this._tabster,r)?.uncontrolled),!!(t&&!r))};if(i||(n.outOfDOMOrder=!0),i&&U.nodeContains(r,i))h.currentNode=i;else if(l){let e=ko(r);if(!e)return null;if(this._acceptElement(e,m)===NodeFilter.FILTER_ACCEPT&&!g(!0))return m.skippedFocusable&&(n.outOfDOMOrder=!0),d;h.currentNode=e}do l?h.previousNode():h.nextNode();while(g());return m.skippedFocusable&&(n.outOfDOMOrder=!0),d.length?d:null}_acceptElement(e,t){if(t.found)return NodeFilter.FILTER_ACCEPT;let n=t.foundBackward;if(n&&(e===n||!U.nodeContains(n,e)))return t.found=!0,t.foundElement=n,NodeFilter.FILTER_ACCEPT;let r=t.container;if(e===r)return NodeFilter.FILTER_SKIP;if(!U.nodeContains(r,e)||Po(e)||U.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;let i=t.currentCtx=Bo.getTabsterContext(this._tabster,e);if(!i)return NodeFilter.FILTER_SKIP;if(go(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(e.tagName===`IFRAME`||e.tagName===`WEBVIEW`))return this.isVisible(e)&&i.modalizer?.userId===this._tabster.modalizer?.activeId?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let a,o=t.fromCtx;o||=t.fromCtx=Bo.getTabsterContext(this._tabster,t.from);let s=o?.mover,c=i.groupper,l=i.mover;if(a=this._tabster.modalizer?.acceptElement(e,t),a!==void 0&&(t.skippedFocusable=!0),a===void 0&&(c||l||s)){let n=c?.getElement(),i=s?.getElement(),o=l?.getElement();if(o&&U.nodeContains(i,o)&&U.nodeContains(r,i)&&(!n||!l||U.nodeContains(i,n))&&(l=s,o=i),n){if(n===r||!U.nodeContains(r,n))c=void 0;else if(!U.nodeContains(n,e))return NodeFilter.FILTER_REJECT}if(o){if(!U.nodeContains(r,o))l=void 0;else if(!U.nodeContains(o,e))return NodeFilter.FILTER_REJECT}c&&l&&(o&&n&&!U.nodeContains(n,o)?l=void 0:c=void 0),c&&(a=c.acceptElement(e,t)),l&&(a=l.acceptElement(e,t))}if(a===void 0&&(a=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,a===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),a===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&Mo(e)&&!e.checked){let n=e.name,r=t.cachedRadioGroups[n];if(r||(r=No(e),r&&(t.cachedRadioGroups[n]=r)),r?.checked&&r.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,a=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return a}},Uo={Tab:`Tab`,Enter:`Enter`,Escape:`Escape`,PageUp:`PageUp`,PageDown:`PageDown`,End:`End`,Home:`Home`,ArrowLeft:`ArrowLeft`,ArrowUp:`ArrowUp`,ArrowRight:`ArrowRight`,ArrowDown:`ArrowDown`};function Wo(e,t){let n=e.getParent,r=t;do{let t=Oa(e,r)?.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(r,!!t.completely))return r;r=n(r)}while(r)}var Go={[Ca.Restorer]:0,[Ca.Deloser]:1,[Ca.EscapeGroupper]:2},Ko=class e extends Vo{constructor(t,n){super(),this._init=()=>{let e=this._win(),t=e.document;t.addEventListener(sa,this._onFocusIn,!0),t.addEventListener(ca,this._onFocusOut,!0),e.addEventListener(`keydown`,this._onKeyDown,!0);let n=U.getActiveElement(t);n&&n!==t.body&&this._setFocusedElement(n),this.subscribe(this._onChanged)},this._onFocusIn=e=>{let t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{this._setFocusedElement(void 0,e.detail?.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=t=>{if(t.key!==Uo.Tab||t.ctrlKey)return;let n=this.getVal();if(!n||!n.ownerDocument||n.contentEditable===`true`)return;let r=this._tabster,i=r.controlTab,a=Bo.getTabsterContext(r,n);if(!a||a.ignoreKeydown(t))return;let o=t.shiftKey,s=e.findNextTabbable(r,a,void 0,n,void 0,o,!0),c=a.root.getElement();if(!c)return;let l=s?.element,u=Wo(r,n);if(l){let e=s.uncontrolled;if(a.uncontrolled||U.nodeContains(e,n)){if(!s.outOfDOMOrder&&e===a.uncontrolled||u&&!U.nodeContains(u,l))return;G.addPhantomDummyWithTarget(r,n,o,l);return}if(e&&r.focusable.isVisible(e)||l.tagName===`IFRAME`&&r.focusable.isVisible(l)){c.dispatchEvent(new Ua({by:`root`,owner:c,next:l,relatedEvent:t}))&&G.moveWithPhantomDummy(r,e??l,!1,o,t);return}(i||s?.outOfDOMOrder)&&c.dispatchEvent(new Ua({by:`root`,owner:c,next:l,relatedEvent:t}))&&(t.preventDefault(),t.stopImmediatePropagation(),da(l))}else !u&&c.dispatchEvent(new Ua({by:`root`,owner:c,next:null,relatedEvent:t}))&&a.root.moveOutWithDefaultAction(o,t)},this._onChanged=(e,t)=>{if(e)e.dispatchEvent(new Va(t));else{let e=this._lastVal?.get();if(e){let n={...t},r=Bo.getTabsterContext(this._tabster,e)?.modalizer?.userId;r&&(n.modalizerId=r),e.dispatchEvent(new Ha(n))}}},this._tabster=t,this._win=n,t.queueInit(this._init)}dispose(){super.dispose();let t=this._win(),n=t.document;n.removeEventListener(sa,this._onFocusIn,!0),n.removeEventListener(ca,this._onFocusOut,!0),t.removeEventListener(`keydown`,this._onKeyDown,!0),this.unsubscribe(this._onChanged);let r=this._asyncFocus;r&&(t.clearTimeout(r.timeout),delete this._asyncFocus),delete e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,n){let r=e._lastResetElement,i=r&&r.get();i&&U.nodeContains(n,i)&&delete e._lastResetElement,i=(t._nextVal?.element)?.get(),i&&U.nodeContains(n,i)&&delete t._nextVal,r=t._lastVal,i=r&&r.get(),i&&U.nodeContains(n,i)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let e=this._lastVal?.get();return(!e||e&&!bo(e.ownerDocument,e))&&(this._lastVal=e=void 0),e}focus(e,t,n,r){return this._tabster.focusable.isFocusable(e,t,!1,n)?(e.focus({preventScroll:r}),!0):!1}focusDefault(e){let t=this._tabster.focusable.findDefault({container:e});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(t,n){let{container:r,ignoreAccessibility:i}=n,a;if(r){let n=Bo.getTabsterContext(this._tabster,r);n&&(a=e.findNextTabbable(this._tabster,n,r,void 0,void 0,!t,i)?.element)}return a&&!U.nodeContains(r,a)&&(a=void 0),a||void 0}_focusFirstOrLast(e,t){let n=this.getFirstOrLastTabbable(e,t);return n?(this.focus(n,!1,!0),!0):!1}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{let n=t.getAttribute(`tabindex`),r=t.getAttribute(`aria-hidden`);t.tabIndex=-1,t.setAttribute(`aria-hidden`,`true`),e._lastResetElement=new ao(this._win,t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,`tabindex`,n),this._setOrRemoveAttribute(t,`aria-hidden`,r)}return!0}requestAsyncFocus(e,t,n){let r=this._tabster.getWindow(),i=this._asyncFocus;if(i){if(Go[e]>Go[i.source])return;r.clearTimeout(i.timeout)}this._asyncFocus={source:e,callback:t,timeout:r.setTimeout(()=>{this._asyncFocus=void 0,t()},n)}}cancelAsyncFocus(e){let t=this._asyncFocus;t?.source===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,n){n===null?e.removeAttribute(t):e.setAttribute(t,n)}_setFocusedElement(t,n,r){if(this._tabster._noop)return;let i={relatedTarget:n};if(t){let n=e._lastResetElement?.get();if(e._lastResetElement=void 0,n===t||go(t))return;i.isFocusedProgrammatically=r;let a=Bo.getTabsterContext(this._tabster,t)?.modalizer?.userId;a&&(i.modalizerId=a)}let a=this._nextVal={element:t?new ao(this._win,t):void 0,detail:i};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===a&&this.setVal(t,i),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new ao(this._win,e))}static findNextTabbable(t,n,r,i,a,o,s){let c=r||n.root.getElement();if(!c)return null;let l=null,u=e._isTabbingTimer,d=t.getWindow();u&&d.clearTimeout(u),e.isTabbing=!0,e._isTabbingTimer=d.setTimeout(()=>{delete e._isTabbingTimer,e.isTabbing=!1},0);let f=n.modalizer,p=n.groupper,m=n.mover,h=n=>{if(l=n.findNextTabbable(i,a,o,s),i&&!l?.element){let a=n!==f&&U.getParentElement(n.getElement());if(a){let c=Bo.getTabsterContext(t,i,{referenceElement:a});if(c){let i=n.getElement(),u=o?i:i&&ko(i)||i;u&&(l=e.findNextTabbable(t,c,r,u,a,o,s),l&&(l.outOfDOMOrder=!0))}}}};if(p&&m)h(n.groupperBeforeMover?p:m);else if(p)h(p);else if(m)h(m);else if(f)h(f);else{let e={container:c,currentElement:i,referenceElement:a,ignoreAccessibility:s,useActiveModalizer:!0},n={};l={element:t.focusable[o?`findPrev`:`findNext`](e,n),outOfDOMOrder:n.outOfDOMOrder,uncontrolled:n.uncontrolled}}return l}};Ko.isTabbing=!1;var qo=class extends G{constructor(e,t,n,r){super(n,e,Eo.Groupper,r,!0),this._setHandlers((r,i,a)=>{let o=e.get(),s=r.input;if(o&&s){let e=Bo.getTabsterContext(n,s);if(e){let c;c=t.findNextTabbable(a||void 0,void 0,i,!0)?.element,c||=Ko.findNextTabbable(n,e,void 0,r.isOutside?s:Ao(o,!i),void 0,i,!0)?.element,c&&da(c)}}})}},Jo=class extends wo{constructor(e,t,n,r,i){super(e,t,r),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=n,e.controlTab||(this.dummyManager=new qo(this._element,this,e,i))}dispose(){var e;this._onDispose(this),this._element.get(),(e=this.dummyManager)==null||e.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(e,t,n,r){let i=this.getElement();if(!i)return null;let a=Po(e)===i;if(!this._shouldTabInside&&e&&U.nodeContains(i,e)&&!a)return{element:void 0,outOfDOMOrder:!0};let o=this.getFirst(!0);if(!e||!U.nodeContains(i,e)||a)return{element:o,outOfDOMOrder:!0};let s=this._tabster,c=null,l=!1,u;if(this._shouldTabInside&&o){let a={container:i,currentElement:e,referenceElement:t,ignoreAccessibility:r,useActiveModalizer:!0},o={};c=s.focusable[n?`findPrev`:`findNext`](a,o),l=!!o.outOfDOMOrder,!c&&this._props.tabbability===Ea.LimitedTrapFocus&&(c=s.focusable[n?`findLast`:`findFirst`]({container:i,ignoreAccessibility:r,useActiveModalizer:!0},o),l=!0),u=o.uncontrolled}return{element:c,uncontrolled:u,outOfDOMOrder:l}}makeTabbable(e){this._shouldTabInside=e||!this._props.tabbability}isActive(e){let t=this.getElement()||null,n=!0;for(let e=U.getParentElement(t);e;e=U.getParentElement(e)){let t=Oa(this._tabster,e)?.groupper;t&&(t._shouldTabInside||(n=!1))}let r=n?this._props.tabbability?this._shouldTabInside:!1:void 0;if(r&&e){let e=this._tabster.focusedElement.getFocusedElement();e&&(r=e!==this.getFirst(!0))}return r}getFirst(e){let t=this.getElement(),n;if(t){if(e&&this._tabster.focusable.isFocusable(t))return t;n=this._first?.get(),n||(n=this._tabster.focusable.findFirst({container:t,useActiveModalizer:!0})||void 0,n&&this.setFirst(n))}return n}setFirst(e){e?this._first=new ao(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){let n=t.cachedGrouppers,r=U.getParentElement(this.getElement()),i=r&&Bo.getTabsterContext(this._tabster,r),a=i?.groupper,o=i?.groupperBeforeMover?a:void 0,s,c=e=>{let t=n[e.id],r;return t?r=t.isActive:(r=this.isActive(!0),t=n[e.id]={isActive:r}),r};if(o&&(s=o.getElement(),!c(o)&&s&&t.container!==s&&U.nodeContains(t.container,s)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let l=c(this),u=this.getElement();if(u&&l!==!0){if(u===e&&a&&(s||=a.getElement(),s&&!c(a)&&U.nodeContains(t.container,s)&&s!==t.container)||u!==e&&U.nodeContains(u,e))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let r=n[this.id],i;if(i=`first`in r?r.first:r.first=this.getFirst(!0),i&&t.acceptCondition(i))return t.rejectElementsFrom=u,t.skippedFocusable=!0,i===t.from?NodeFilter.FILTER_REJECT:(t.found=!0,t.foundElement=i,NodeFilter.FILTER_ACCEPT)}}},Yo=class{constructor(e,t){this._current={},this._grouppers={},this._init=()=>{let e=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let t=e.document,n=U.getActiveElement(t);n&&this._onFocus(n),t.addEventListener(`mousedown`,this._onMouseDown,!0),e.addEventListener(`keydown`,this._onKeyDown,!0),e.addEventListener(Ia,this._onMoveFocus)},this._onGroupperDispose=e=>{delete this._grouppers[e.id]},this._onFocus=e=>{e&&this._updateCurrent(e)},this._onMouseDown=e=>{let t=e.target;for(;t&&!this._tabster.focusable.isFocusable(t);)t=this._tabster.getParent(t);t&&this._updateCurrent(t)},this._onKeyDown=e=>{if(e.key!==Uo.Enter&&e.key!==Uo.Escape||e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;let t=this._tabster.focusedElement.getFocusedElement();t&&this.handleKeyPress(t,e)},this._onMoveFocus=e=>{let t=e.composedPath()[0],n=e.detail?.action;t&&n!==void 0&&!e.defaultPrevented&&(n===H.Enter?this._enterGroupper(t):this._escapeGroupper(t),e.stopImmediatePropagation())},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){let e=this._win();this._tabster.focusedElement.cancelAsyncFocus(Ca.EscapeGroupper),this._current={},this._updateTimer&&(e.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),e.document.removeEventListener(`mousedown`,this._onMouseDown,!0),e.removeEventListener(`keydown`,this._onKeyDown,!0),e.removeEventListener(Ia,this._onMoveFocus),Object.keys(this._grouppers).forEach(e=>{this._grouppers[e]&&(this._grouppers[e].dispose(),delete this._grouppers[e])})}createGroupper(e,t,n){let r=this._tabster,i=new Jo(r,e,this._onGroupperDispose,t,n);this._grouppers[i.id]=i;let a=r.focusedElement.getFocusedElement();return a&&U.nodeContains(e,a)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,a===r.focusedElement.getFocusedElement()&&this._updateCurrent(a)},0)),i}forgetCurrentGrouppers(){this._current={}}_updateCurrent(e){this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);let t=this._tabster,n={};for(let r=t.getParent(e);r;r=t.getParent(r)){let i=Oa(t,r)?.groupper;if(i){n[i.id]=!0,this._current[i.id]=i;let t=i.isActive()||e!==r&&(!i.getProps().delegated||i.getFirst(!1)!==e);i.makeTabbable(t)}}for(let e of Object.keys(this._current)){let t=this._current[e];t.id in n||(t.makeTabbable(!1),t.setFirst(void 0),delete this._current[e])}}_enterGroupper(e,t){let n=this._tabster,r=Bo.getTabsterContext(n,e),i=r?.groupper||r?.modalizerInGroupper,a=i?.getElement();if(i&&a&&(e===a||i.getProps().delegated&&e===i.getFirst(!1))){let r=n.focusable.findNext({container:a,currentElement:e,useActiveModalizer:!0});if(r&&(!t||t&&a.dispatchEvent(new Ua({by:`groupper`,owner:a,next:r,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),r.focus(),r}return null}_escapeGroupper(e,t,n){let r=this._tabster,i=Bo.getTabsterContext(r,e),a=i?.groupper||i?.modalizerInGroupper,o=a?.getElement();if(a&&o&&U.nodeContains(o,e)){let i;if(e!==o||n)i=a.getFirst(!0);else{let e=U.getParentElement(o);a=(e?Bo.getTabsterContext(r,e):void 0)?.groupper,i=a?.getFirst(!0)}if(i&&(!t||t&&o.dispatchEvent(new Ua({by:`groupper`,owner:o,next:i,relatedEvent:t}))))return a&&a.makeTabbable(!1),i.focus(),i}return null}moveFocus(e,t){return t===H.Enter?this._enterGroupper(e):this._escapeGroupper(e)}handleKeyPress(e,t,n){let r=this._tabster,i=Bo.getTabsterContext(r,e);if(i&&(i?.groupper||i?.modalizerInGroupper)){if(r.focusedElement.cancelAsyncFocus(Ca.EscapeGroupper),i.ignoreKeydown(t))return;if(t.key===Uo.Enter)this._enterGroupper(e,t);else if(t.key===Uo.Escape){let i=r.focusedElement.getFocusedElement();r.focusedElement.requestAsyncFocus(Ca.EscapeGroupper,()=>{i!==r.focusedElement.getFocusedElement()&&(n&&!i||!n)||this._escapeGroupper(e,t,n)},0)}}}},Xo=class extends Vo{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=va(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),ya(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;(t=this._keyborg)==null||t.setVal(e)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}},Zo=[`input`,`textarea`,`*[contenteditable]`].join(`, `),Qo=class extends G{constructor(e,t,n,r){super(t,e,Eo.Mover,r),this._onFocusDummyInput=e=>{let t=this._element.get(),n=e.input;if(t&&n){let r=Bo.getTabsterContext(this._tabster,t),i;r&&(i=Ko.findNextTabbable(this._tabster,r,void 0,n,void 0,!e.isFirst,!0)?.element);let a=this._getMemorized()?.get();a&&this._tabster.focusable.isFocusable(a)&&(i=a),i&&da(i)}},this._tabster=t,this._getMemorized=n,this._setHandlers(this._onFocusDummyInput)}},$o=1,es=2,ts=3,ns=class extends wo{constructor(e,t,n,r,i){super(e,t,r),this._visible={},this._onIntersection=e=>{for(let t of e){let e=t.target,n=vo(this._win,e),r,i=this._fullyVisible;if(t.intersectionRatio>=.25?(r=t.intersectionRatio>=.75?wa.Visible:wa.PartiallyVisible,r===wa.Visible&&(i=n)):r=wa.Invisible,this._visible[n]!==r){r===void 0?(delete this._visible[n],i===n&&delete this._fullyVisible):(this._visible[n]=r,this._fullyVisible=i);let t=this.getState(e);t&&e.dispatchEvent(new Wa(t))}}},this._win=e.getWindow,this.visibilityTolerance=r.visibilityTolerance??.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=n;let a=()=>r.memorizeCurrent?this._current:void 0;e.controlTab||(this.dummyManager=new Qo(this._element,e,a,i))}dispose(){var e;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 t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),(e=this.dummyManager)==null||e.dispose(),delete this.dummyManager}setCurrent(e){e?this._current=new ao(this._win,e):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{delete this._setCurrentTimer;let e=[];this._current!==this._prevCurrent&&(e.push(this._current),e.push(this._prevCurrent),this._prevCurrent=this._current);for(let t of e){let e=t?.get();if(e&&this._allElements?.get(e)===this){let t=this._props;if(e&&(t.visibilityAware!==void 0||t.trackState)){let t=this.getState(e);t&&e.dispatchEvent(new Wa(t))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(e,t,n,r){let i=this.getElement(),a=i&&Po(e)===i;if(!i)return null;let o=null,s=!1,c;if(this._props.tabbable||a||e&&!U.nodeContains(i,e)){let a={currentElement:e,referenceElement:t,container:i,ignoreAccessibility:r,useActiveModalizer:!0},l={};o=this._tabster.focusable[n?`findPrev`:`findNext`](a,l),s=!!l.outOfDOMOrder,c=l.uncontrolled}return{element:o,uncontrolled:c,outOfDOMOrder:s}}acceptElement(e,t){if(!Ko.isTabbing)return t.currentCtx?.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:n,visibilityAware:r,hasDefault:i=!0}=this._props,a=this.getElement();if(a&&(n||r||i)&&(!U.nodeContains(a,t.from)||Po(t.from)===a)){let e;if(n){let n=this._current?.get();n&&t.acceptCondition(n)&&(e=n)}if(!e&&i&&(e=this._tabster.focusable.findDefault({container:a,useActiveModalizer:!0})),!e&&r&&(e=this._tabster.focusable.findElement({container:a,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{let n=vo(this._win,e),i=this._visible[n];return a!==e&&!!this._allElements?.get(e)&&t.acceptCondition(e)&&(i===wa.Visible||i===wa.PartiallyVisible&&(r===wa.PartiallyVisible||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=a,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){let e=this.getElement();if(this._unobserve||!e||typeof MutationObserver>`u`)return;let t=this._win(),n=this._allElements=new WeakMap,r=this._tabster.focusable,i=this._updateQueue=[],a=U.createMutationObserver(e=>{for(let t of e){let e=t.target,n=t.removedNodes,r=t.addedNodes;if(t.type===`attributes`)t.attributeName===`tabindex`&&i.push({element:e,type:es});else{for(let e=0;e<n.length;e++)i.push({element:n[e],type:ts});for(let e=0;e<r.length;e++)i.push({element:r[e],type:$o})}}u()}),o=(e,t)=>{var r,i;let a=n.get(e);a&&t&&((r=this._intersectionObserver)==null||r.unobserve(e),n.delete(e)),!a&&!t&&(n.set(e,this),(i=this._intersectionObserver)==null||i.observe(e))},s=e=>{let t=r.isFocusable(e);n.get(e)?t||o(e,!0):t&&o(e)},c=e=>{let{mover:n}=d(e);if(n&&n!==this)if(n.getElement()===e&&r.isFocusable(e))o(e);else return;let i=lo(t.document,e,e=>{let{mover:t,groupper:n}=d(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;let i=n?.getFirst(!0);return n&&n.getElement()!==e&&i&&i!==e?NodeFilter.FILTER_REJECT:(r.isFocusable(e)&&o(e),NodeFilter.FILTER_SKIP)});if(i)for(i.currentNode=e;i.nextNode(););},l=e=>{n.get(e)&&o(e,!0);for(let t=U.getFirstElementChild(e);t;t=U.getNextElementSibling(t))l(t)},u=()=>{!this._updateTimer&&i.length&&(this._updateTimer=t.setTimeout(()=>{delete this._updateTimer;for(let{element:e,type:t}of i)switch(t){case es:s(e);break;case $o:c(e);break;case ts:l(e);break}i=this._updateQueue=[]},0))},d=e=>{let t={};for(let n=e;n;n=U.getParentElement(n)){let e=Oa(this._tabster,n);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};i.push({element:e,type:$o}),u(),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`tabindex`]}),this._unobserve=()=>{a.disconnect()}}getState(e){let t=vo(this._win,e);if(t in this._visible){let n=this._visible[t]||wa.Invisible;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:n}}}};function rs(e,t,n,r,i,a,o,s){let c=n<i?i-n:o<e?e-o:0,l=r<a?a-r:s<t?t-s:0;return c===0?l:l===0?c:Math.sqrt(c*c+l*l)}var is=class{constructor(e,t){this._init=()=>{let e=this._win();e.addEventListener(`keydown`,this._onKeyDown,!0),e.addEventListener(Pa,this._onMoveFocus),e.addEventListener(Fa,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{let t=e,n=e;for(let r=U.getParentElement(e);r;r=U.getParentElement(r)){let e=Oa(this._tabster,r)?.mover;e&&(e.setCurrent(n),t=void 0),!t&&this._tabster.focusable.isFocusable(r)&&(t=n=r)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(t=this._ignoredInputResolve)==null||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;let n=e.key,r;if(n===Uo.ArrowDown?r=V.ArrowDown:n===Uo.ArrowRight?r=V.ArrowRight:n===Uo.ArrowUp?r=V.ArrowUp:n===Uo.ArrowLeft?r=V.ArrowLeft:n===Uo.PageDown?r=V.PageDown:n===Uo.PageUp?r=V.PageUp:n===Uo.Home?r=V.Home:n===Uo.End&&(r=V.End),!r)return;let i=this._tabster.focusedElement.getFocusedElement();!i||await this._isIgnoredInput(i,n)||this._moveFocus(i,r,e)},this._onMoveFocus=e=>{let t=e.composedPath()[0],n=e.detail?.key;t&&n!==void 0&&!e.defaultPrevented&&(this._moveFocus(t,n),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{let t=e.composedPath()[0],n=e.detail?.memorizedElement;if(t){let r=Bo.getTabsterContext(this._tabster,t)?.mover;r&&(n&&!U.nodeContains(r.getElement(),n)&&(n=void 0),r.setCurrent(n),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}dispose(){var e;let t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(e=this._ignoredInputResolve)==null||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener(`keydown`,this._onKeyDown,!0),t.removeEventListener(Pa,this._onMoveFocus),t.removeEventListener(Fa,this._onMemorizedElement),Object.keys(this._movers).forEach(e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])})}createMover(e,t,n){let r=new ns(this._tabster,e,this._onMoverDispose,t,n);return this._movers[r.id]=r,r}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,n){let r=this._tabster,i=Bo.getTabsterContext(r,e,{checkRtl:!0});if(!i||!i.mover||i.excludedFromMover||n&&i.ignoreKeydown(n))return null;let a=i.mover,o=a.getElement();if(i.groupperBeforeMover){let e=i.groupper;if(e&&!e.isActive(!0)){for(let t=U.getParentElement(e.getElement());t&&t!==o;t=U.getParentElement(t))if((Oa(r,t)?.groupper)?.isActive(!0))return null}else return null}if(!o)return null;let s=r.focusable,c=a.getProps(),l=c.direction||Ta.Both,u=l===Ta.Both,d=u||l===Ta.Vertical,f=u||l===Ta.Horizontal,p=l===Ta.GridLinear,m=p||l===Ta.Grid,h=c.cyclic,g,_,v,y=0,b=0;if(m&&(v=e.getBoundingClientRect(),y=Math.ceil(v.left),b=Math.floor(v.right)),i.rtl&&(t===V.ArrowRight?t=V.ArrowLeft:t===V.ArrowLeft&&(t=V.ArrowRight)),t===V.ArrowDown&&d||t===V.ArrowRight&&(f||m))if(g=s.findNext({currentElement:e,container:o,useActiveModalizer:!0}),g&&m){let e=Math.ceil(g.getBoundingClientRect().left);!p&&b>e&&(g=void 0)}else !g&&h&&(g=s.findFirst({container:o,useActiveModalizer:!0}));else if(t===V.ArrowUp&&d||t===V.ArrowLeft&&(f||m))if(g=s.findPrev({currentElement:e,container:o,useActiveModalizer:!0}),g&&m){let e=Math.floor(g.getBoundingClientRect().right);!p&&e>y&&(g=void 0)}else !g&&h&&(g=s.findLast({container:o,useActiveModalizer:!0}));else if(t===V.Home)m?s.findElement({container:o,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left??0);return t!==e&&y<=n?!0:(g=t,!1)}}):g=s.findFirst({container:o,useActiveModalizer:!0});else if(t===V.End)m?s.findElement({container:o,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left??0);return t!==e&&y>=n?!0:(g=t,!1)}}):g=s.findLast({container:o,useActiveModalizer:!0});else if(t===V.PageUp){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>s.isFocusable(e)?fo(this._win,e,a.visibilityTolerance)?(g=e,!1):!0:!1}),m&&g){let e=Math.ceil(g.getBoundingClientRect().left);s.findElement({currentElement:g,container:o,useActiveModalizer:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left);return y<n||e>=n?!0:(g=t,!1)}})}_=!1}else if(t===V.PageDown){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,acceptCondition:e=>s.isFocusable(e)?fo(this._win,e,a.visibilityTolerance)?(g=e,!1):!0:!1}),m&&g){let e=Math.ceil(g.getBoundingClientRect().left);s.findElement({currentElement:g,container:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left);return y>n||e<=n?!0:(g=t,!1)}})}_=!0}else if(m){let n=t===V.ArrowUp,r=y,i=Math.ceil(v.top),a=b,c=Math.floor(v.bottom),l,u,d=0;s.findAll({container:o,currentElement:e,isBackward:n,onElement:e=>{let t=e.getBoundingClientRect(),o=Math.ceil(t.left),s=Math.ceil(t.top),f=Math.floor(t.right),p=Math.floor(t.bottom);if(n&&i<p||!n&&c>s)return!0;let m=Math.ceil(Math.min(a,f))-Math.floor(Math.max(r,o)),h=Math.ceil(Math.min(a-r,f-o));if(m>0&&h>=m){let t=m/h;t>d&&(l=e,d=t)}else if(d===0){let t=rs(r,i,a,c,o,s,f,p);(u===void 0||t<u)&&(u=t,l=e)}else if(d>0)return!1;return!0}}),g=l}return g&&(!n||n&&o.dispatchEvent(new Ua({by:`mover`,owner:o,next:g,relatedEvent:n})))?(_!==void 0&&po(this._win,g,_),n&&(n.preventDefault(),n.stopImmediatePropagation()),da(g),g):null}async _isIgnoredInput(e,t){if(e.getAttribute(`aria-expanded`)===`true`&&e.hasAttribute(`aria-activedescendant`))return!0;if(W(e,Zo)){let n=0,r=0,i=0,a;if(e.tagName===`INPUT`||e.tagName===`TEXTAREA`){let a=e.type;if(i=(e.value||``).length,a===`email`||a===`number`){if(i){let n=U.getSelection(e);if(n){let e=n.toString().length,r=t===Uo.ArrowLeft||t===Uo.ArrowUp;if(n.modify(`extend`,r?`backward`:`forward`,`character`),e!==n.toString().length)return n.modify(`extend`,r?`forward`:`backward`,`character`),!0;i=0}}}else{let t=e.selectionStart;if(t===null)return a===`hidden`;n=t||0,r=e.selectionEnd||0}}else e.contentEditable===`true`&&(a=new(xo(this._win))(t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};let a=this._win();this._ignoredInputTimer&&a.clearTimeout(this._ignoredInputTimer);let{anchorNode:o,focusNode:s,anchorOffset:c,focusOffset:l}=U.getSelection(e)||{};this._ignoredInputTimer=a.setTimeout(()=>{var t,a;delete this._ignoredInputTimer;let{anchorNode:u,focusNode:d,anchorOffset:f,focusOffset:p}=U.getSelection(e)||{};if(u!==o||d!==s||f!==c||p!==l){(t=this._ignoredInputResolve)==null||t.call(this,!1);return}if(n=f||0,r=p||0,i=e.textContent?.length||0,u&&d&&U.nodeContains(e,u)&&U.nodeContains(e,d)&&u!==e){let t=!1,i=e=>{if(e===u)t=!0;else if(e===d)return!0;let a=e.textContent;if(a&&!U.getFirstChild(e)){let e=a.length;t?d!==u&&(r+=e):(n+=e,r+=e)}let o=!1;for(let t=U.getFirstChild(e);t&&!o;t=t.nextSibling)o=i(t);return o};i(e)}(a=this._ignoredInputResolve)==null||a.call(this,!0)},0)}));if(a&&!await a||n!==r||n>0&&(t===Uo.ArrowLeft||t===Uo.ArrowUp||t===Uo.Home)||n<i&&(t===Uo.ArrowRight||t===Uo.ArrowDown||t===Uo.End))return!0}return!1}};function as(e,t,n,r){if(typeof MutationObserver>`u`)return()=>{};let i=t.getWindow,a,o=e=>{var r,i,a,o,c;let l=new Set;for(let c of e){let e=c.target,u=c.removedNodes,d=c.addedNodes;if(c.type===`attributes`)c.attributeName===`data-tabster`&&(l.has(e)||n(t,e));else{for(let n=0;n<u.length;n++){let a=u[n];l.add(a),s(a,!0),(i=(r=t._dummyObserver).domChanged)==null||i.call(r,e)}for(let n=0;n<d.length;n++)s(d[n]),(o=(a=t._dummyObserver).domChanged)==null||o.call(a,e)}}l.clear(),(c=t.modalizer)==null||c.hiddenUpdate()};function s(t,n){a||=eo(i).elementByUId,c(t,n);let r=lo(e,t,e=>c(e,n));if(r)for(;r.nextNode(););}function c(e,r){if(!e.getAttribute)return NodeFilter.FILTER_SKIP;let o=e.__tabsterElementUID;return o&&a&&(r?delete a[o]:a[o]??(a[o]=new ao(i,e))),(Oa(t,e)||e.hasAttribute(`data-tabster`))&&n(t,e,r),NodeFilter.FILTER_SKIP}let l=U.createMutationObserver(o);return r&&s(i().document.body),l.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[ba]}),()=>{l.disconnect()}}var os=class{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){let n=this._isUncontrolledCompletely?.call(this,e,t);return n===void 0?t:n}},ss=class e{constructor(e){this._stack=[],this._getWindow=e}push(t){this._stack[this._stack.length-1]?.get()!==t&&(this._stack.length>e.DEPTH&&this._stack.shift(),this._stack.push(new ao(this._getWindow,t)))}pop(e){e===void 0&&(e=()=>!0);let t=this._getWindow().document;for(let n=this._stack.length-1;n>=0;n--){let n=this._stack.pop()?.get();if(n&&U.nodeContains(t.body,U.getParentElement(n))&&e(n))return n}}};ss.DEPTH=10;function cs(e,t){if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n=typeof n.assignedElements!=`function`&&n.assignedSlot?.parentNode?n.assignedSlot?.parentNode:n.nodeType===document.DOCUMENT_FRAGMENT_NODE?n.host:n.parentNode}return!1}var ls=class e{static _overrideAttachShadow(t){let n=t.Element.prototype.attachShadow;n.__origAttachShadow||(Element.prototype.attachShadow=function(t){let r=n.call(this,t);for(let t of e._shadowObservers)t._addSubObserver(r);return r},Element.prototype.attachShadow.__origAttachShadow=n)}constructor(e){this._isObserving=!1,this._callbackWrapper=(e,t)=>{for(let t of e)if(t.type===`childList`){let e=t.removedNodes,n=t.addedNodes;for(let t=0;t<e.length;t++)this._walkShadows(e[t],!0);for(let e=0;e<n.length;e++)this._walkShadows(n[e])}this._callback(e,t)},this._callback=e,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=new Map}_addSubObserver(e){if(!(!this._options||!this._callback||this._subObservers.has(e))&&this._options.subtree&&cs(this._root,e)){let t=new MutationObserver(this._callbackWrapper);this._subObservers.set(e,t),this._isObserving&&t.observe(e,this._options),this._walkShadows(e)}}disconnect(){this._isObserving=!1,delete this._options,e._shadowObservers.delete(this);for(let e of this._subObservers.values())e.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(t,n){let r=t.nodeType===Node.DOCUMENT_NODE?t:t.ownerDocument,i=r?.defaultView;!r||!i||(e._overrideAttachShadow(i),e._shadowObservers.add(this),this._root=t,this._options=n,this._isObserving=!0,this._observer.observe(t,n),this._walkShadows(t))}_walkShadows(e,t){let n=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument;if(n){if(e===n)e=n.body;else{let t=e.shadowRoot;if(t){this._addSubObserver(t);return}}n.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(e.nodeType===Node.ELEMENT_NODE)if(t){let t=this._subObservers.get(e);t&&(t.disconnect(),this._subObservers.delete(e))}else{let t=e.shadowRoot;t&&this._addSubObserver(t)}return NodeFilter.FILTER_SKIP}}).nextNode()}}takeRecords(){let e=this._observer.takeRecords();for(let t of this._subObservers.values())e.push(...t.takeRecords());return e}};ls._shadowObservers=new Set;var us=class{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}},ds=class{constructor(e,t){this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version=`8.5.6`,this._noop=!1,this.getWindow=()=>{if(!this._win)throw Error(`Using disposed Tabster.`);return this._win},this._storage=no(e),this._win=e;let n=this.getWindow;t?.DOMAPI&&Ya({...t.DOMAPI}),this.keyboardNavigation=new Xo(n),this.focusedElement=new Ko(this,n),this.focusable=new Ho(this),this.root=new Bo(this,t?.autoRoot),this.uncontrolled=new os(t?.checkUncontrolledCompletely||t?.checkUncontrolledTrappingFocus),this.controlTab=t?.controlTab??!0,this.rootDummyInputs=!!t?.rootDummyInputs,this._dummyObserver=new Do(n),this.getParent=t?.getParent??U.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){let t=n().document;this._unobserve=as(t,this,ka,e)}}},so(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(e){e&&(this.getParent=e.getParent??this.getParent)}createTabster(e,t){let n=new us(this);return e||this._wrappers.add(n),this._mergeProps(t),n}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),this._wrappers.size===0&&this.dispose()}dispose(){var e,t,n,r,i,a,o,s;this.internal.stopObserver();let c=this._win;c?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],c&&this._forgetMemorizedTimer&&(c.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(e=this.outline)==null||e.dispose(),(t=this.crossOrigin)==null||t.dispose(),(n=this.deloser)==null||n.dispose(),(r=this.groupper)==null||r.dispose(),(i=this.mover)==null||i.dispose(),(a=this.modalizer)==null||a.dispose(),(o=this.observedElement)==null||o.dispose(),(s=this.restorer)==null||s.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),co(this.getWindow),yo(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),c&&(to(c),delete c.__tabsterInstance,delete this._win)}storageEntry(e,t){let n=this._storage,r=n.get(e);return r?t===!1&&Object.keys(r).length===0&&n.delete(e):t===!0&&(r={},n.set(e,r)),r}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())yo(this.getWindow,e),Ko.forgetMemorized(this.focusedElement,e)},0),oo(this.getWindow,!0)))}queueInit(e){this._win&&(this._initQueue.push(e),this._initTimer||=this._win?.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0))}drainInitQueue(){if(!this._win)return;let e=this._initQueue;this._initQueue=[],e.forEach(e=>e())}};function fs(e,t){let n=gs(e);return n?n.createTabster(!1,t):(n=new ds(e,t),e.__tabsterInstance=n,n.createTabster())}function ps(e){let t=e.core;return t.groupper||=new Yo(t,t.getWindow),t.groupper}function ms(e){let t=e.core;return t.mover||=new is(t,t.getWindow),t.mover}function hs(e,t){e.core.disposeTabster(e,t)}function gs(e){return e.__tabsterInstance}var _s=e=>e;function vs(e){let t=e?.defaultView||void 0,n=t?.__tabsterShadowDOMAPI;if(t)return fs(t,{autoRoot:{},controlTab:!1,getParent:Wi,checkUncontrolledCompletely:e=>e.firstElementChild?.hasAttribute(`data-is-focus-trap-zone-bumper`)===!0||void 0,DOMAPI:n})}function ys(e=_s){let{targetDocument:t}=Zr(),n=_.useRef(null);return _i(()=>{let r=vs(t);if(r)return n.current=e(r),()=>{hs(r),n.current=null}},[t,e]),n}var bs=e=>{ys();let t=Fo(e,!0);return _.useMemo(()=>({[ba]:t}),[t])},xs=(e={})=>{let{circular:t,axis:n,memorizeCurrent:r=!0,tabbable:i,ignoreDefaultKeydown:a,unstable_hasDefault:o}=e;return ys(ms),bs({mover:{cyclic:!!t,direction:Ss(n??`vertical`),memorizeCurrent:r,tabbable:i,hasDefault:o},...a&&{focusable:{ignoreKeydown:a}}})};function Ss(e){switch(e){case`horizontal`:return Ta.Horizontal;case`grid`:return Ta.Grid;case`grid-linear`:return Ta.GridLinear;case`both`:return Ta.Both;default:return Ta.Vertical}}var Cs=e=>(ys(ps),bs({groupper:{tabbability:ws(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),ws=e=>{switch(e){case`unlimited`:return Ea.Unlimited;case`limited`:return Ea.Limited;case`limited-trap-focus`:return Ea.LimitedTrapFocus;default:return}},Ts=()=>{let e=ys(),{targetDocument:t}=Zr();return{findAllFocusable:_.useCallback((t,n)=>t&&e.current?.focusable.findAll({container:t,acceptCondition:n})||[],[e]),findFirstFocusable:_.useCallback(t=>t&&e.current?.focusable.findFirst({container:t}),[e]),findLastFocusable:_.useCallback(t=>t&&e.current?.focusable.findLast({container:t}),[e]),findNextFocusable:_.useCallback((n,r={})=>{if(!e.current||!t||!n)return null;let{container:i=t.body}=r;return e.current.focusable.findNext({currentElement:n,container:i})},[e,t]),findPrevFocusable:_.useCallback((n,r={})=>{if(!e.current||!t||!n)return null;let{container:i=t.body}=r;return e.current.focusable.findPrev({currentElement:n,container:i})},[e,t])}},Es=`data-fui-focus-visible`,Ds=`data-fui-focus-within`;function Os(e,t){if(ks(e))return()=>void 0;let n={current:void 0},r=va(t);function i(e){r.isNavigatingWithKeyboard()&&Mi(e)&&(n.current=e,e.setAttribute(Es,``))}function a(){n.current&&=(n.current.removeAttribute(Es),void 0)}r.subscribe(e=>{e?i(t.document.activeElement):a()});let o=e=>{a();let t=e.composedPath()[0];i(t)},s=t=>{(!t.relatedTarget||Mi(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(sa,o),e.addEventListener(`focusout`,s),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{a(),e.removeEventListener(sa,o),e.removeEventListener(`focusout`,s),e.focusVisible=void 0,ya(r)}}function ks(e){return e?e.focusVisible?!0:ks(e?.parentElement):!1}function As(e={}){let t=Zr(),n=_.useRef(null),r=e.targetDocument??t.targetDocument;return _.useEffect(()=>{if(r?.defaultView&&n.current)return Os(n.current,r.defaultView)},[n,r]),n}function js(e,t){let n=va(t);n.subscribe(t=>{t||Ns(e)});let r=t=>{n.isNavigatingWithKeyboard()&&Ps(t.target)&&Ms(e)},i=t=>{(!t.relatedTarget||Ps(t.relatedTarget)&&!e.contains(t.relatedTarget))&&Ns(e)};return e.addEventListener(sa,r),e.addEventListener(`focusout`,i),()=>{e.removeEventListener(sa,r),e.removeEventListener(`focusout`,i),ya(n)}}function Ms(e){e.setAttribute(Ds,``)}function Ns(e){e.removeAttribute(Ds)}function Ps(e){return e?!!(e&&typeof e==`object`&&`classList`in e&&`contains`in e):!1}function Fs(){let{targetDocument:e}=Zr(),t=_.useRef(null);return _.useEffect(()=>{if(e?.defaultView&&t.current)return js(t.current,e.defaultView)},[t,e]),t}function Is(){let{targetDocument:e}=Zr(),t=_.useRef(null);return _.useEffect(()=>{let n=e?.defaultView;if(n){let e=va(n);return t.current=e,()=>{ya(e),t.current=null}}},[e]),t}function Ls(e){let t=Is(),n=L(e);_.useEffect(()=>{let e=t.current;if(e){let t=e=>{n(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}},[t,n])}var Rs=(...e)=>{"use no memo";let t=e.reduce((e,t)=>(t?.[`data-tabster`]&&e.push(t[ba]),e),[]);return _.useMemo(()=>({[ba]:t.length>0?t.reduce(zs):void 0}),t)},zs=(e,t)=>JSON.stringify(Object.assign(Bs(e),Bs(t))),Bs=e=>{try{return JSON.parse(e)}catch{return{}}};function Vs(){let e=Is();return _.useCallback(t=>{var n;(n=e.current)==null||n.setVal(t)},[e])}var K={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`},Hs={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)`},Us={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)`},Ws={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)`},Gs={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)`},Ks={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`,qs=`#000000`,Js={shade50:`#130204`,shade40:`#230308`,shade30:`#420610`,shade20:`#590815`,shade10:`#690a19`,primary:`#750b1c`,tint10:`#861b2c`,tint20:`#962f3f`,tint30:`#ac4f5e`,tint40:`#d69ca5`,tint50:`#e9c7cd`,tint60:`#f9f0f2`},Ys={shade50:`#200205`,shade40:`#3b0509`,shade30:`#6e0811`,shade20:`#960b18`,shade10:`#b10e1c`,primary:`#c50f1f`,tint10:`#cc2635`,tint20:`#d33f4c`,tint30:`#dc626d`,tint40:`#eeacb2`,tint50:`#f6d1d5`,tint60:`#fdf3f4`},Xs={shade50:`#210809`,shade40:`#3f1011`,shade30:`#751d1f`,shade20:`#9f282b`,shade10:`#bc2f32`,primary:`#d13438`,tint10:`#d7494c`,tint20:`#dc5e62`,tint30:`#e37d80`,tint40:`#f1bbbc`,tint50:`#f8dadb`,tint60:`#fdf6f6`},Zs={shade50:`#230900`,shade40:`#411200`,shade30:`#7a2101`,shade20:`#a62d01`,shade10:`#c43501`,primary:`#da3b01`,tint10:`#de501c`,tint20:`#e36537`,tint30:`#e9835e`,tint40:`#f4bfab`,tint50:`#f9dcd1`,tint60:`#fdf6f3`},Qs={shade50:`#200d03`,shade40:`#3d1805`,shade30:`#712d09`,shade20:`#9a3d0c`,shade10:`#b6480e`,primary:`#ca5010`,tint10:`#d06228`,tint20:`#d77440`,tint30:`#df8e64`,tint40:`#efc4ad`,tint50:`#f7dfd2`,tint60:`#fdf7f4`},$s={shade50:`#271002`,shade40:`#4a1e04`,shade30:`#8a3707`,shade20:`#bc4b09`,shade10:`#de590b`,primary:`#f7630c`,tint10:`#f87528`,tint20:`#f98845`,tint30:`#faa06b`,tint40:`#fdcfb4`,tint50:`#fee5d7`,tint60:`#fff9f5`},ec={shade50:`#291600`,shade40:`#4d2a00`,shade30:`#8f4e00`,shade20:`#c26a00`,shade10:`#e67e00`,primary:`#ff8c00`,tint10:`#ff9a1f`,tint20:`#ffa83d`,tint30:`#ffba66`,tint40:`#ffddb3`,tint50:`#ffedd6`,tint60:`#fffaf5`},tc={shade50:`#251a00`,shade40:`#463100`,shade30:`#835b00`,shade20:`#b27c00`,shade10:`#d39300`,primary:`#eaa300`,tint10:`#edad1c`,tint20:`#efb839`,tint30:`#f2c661`,tint40:`#f9e2ae`,tint50:`#fcefd3`,tint60:`#fefbf4`},nc={shade50:`#282400`,shade40:`#4c4400`,shade30:`#817400`,shade20:`#c0ad00`,shade10:`#e4cc00`,primary:`#fde300`,tint10:`#fde61e`,tint20:`#fdea3d`,tint30:`#feee66`,tint40:`#fef7b2`,tint50:`#fffad6`,tint60:`#fffef5`},rc={shade50:`#1f1900`,shade40:`#3a2f00`,shade30:`#6c5700`,shade20:`#937700`,shade10:`#ae8c00`,primary:`#c19c00`,tint10:`#c8a718`,tint20:`#d0b232`,tint30:`#dac157`,tint40:`#ecdfa5`,tint50:`#f5eece`,tint60:`#fdfbf2`},ic={shade50:`#181202`,shade40:`#2e2103`,shade30:`#553e06`,shade20:`#745408`,shade10:`#89640a`,primary:`#986f0b`,tint10:`#a47d1e`,tint20:`#b18c34`,tint30:`#c1a256`,tint40:`#e0cea2`,tint50:`#efe4cb`,tint60:`#fbf8f2`},ac={shade50:`#170e07`,shade40:`#2b1a0e`,shade30:`#50301a`,shade20:`#6c4123`,shade10:`#804d29`,primary:`#8e562e`,tint10:`#9c663f`,tint20:`#a97652`,tint30:`#bb8f6f`,tint40:`#ddc3b0`,tint50:`#edded3`,tint60:`#faf7f4`},oc={shade50:`#0c1501`,shade40:`#162702`,shade30:`#294903`,shade20:`#376304`,shade10:`#427505`,primary:`#498205`,tint10:`#599116`,tint20:`#6ba02b`,tint30:`#85b44c`,tint40:`#bdd99b`,tint50:`#dbebc7`,tint60:`#f6faf0`},sc={shade50:`#002111`,shade40:`#003d20`,shade30:`#00723b`,shade20:`#009b51`,shade10:`#00b85f`,primary:`#00cc6a`,tint10:`#19d279`,tint20:`#34d889`,tint30:`#5ae0a0`,tint40:`#a8f0cd`,tint50:`#cff7e4`,tint60:`#f3fdf8`},cc={shade50:`#031a02`,shade40:`#063004`,shade30:`#0b5a08`,shade20:`#0e7a0b`,shade10:`#11910d`,primary:`#13a10e`,tint10:`#27ac22`,tint20:`#3db838`,tint30:`#5ec75a`,tint40:`#a7e3a5`,tint50:`#cef0cd`,tint60:`#f2fbf2`},lc={shade50:`#031403`,shade40:`#052505`,shade30:`#094509`,shade20:`#0c5e0c`,shade10:`#0e700e`,primary:`#107c10`,tint10:`#218c21`,tint20:`#359b35`,tint30:`#54b054`,tint40:`#9fd89f`,tint50:`#c9eac9`,tint60:`#f1faf1`},uc={shade50:`#021102`,shade40:`#032003`,shade30:`#063b06`,shade20:`#085108`,shade10:`#0a5f0a`,primary:`#0b6a0b`,tint10:`#1a7c1a`,tint20:`#2d8e2d`,tint30:`#4da64d`,tint40:`#9ad29a`,tint50:`#c6e7c6`,tint60:`#f0f9f0`},dc={shade50:`#001d1f`,shade40:`#00373a`,shade30:`#00666d`,shade20:`#008b94`,shade10:`#00a5af`,primary:`#00b7c3`,tint10:`#18bfca`,tint20:`#32c8d1`,tint30:`#58d3db`,tint40:`#a6e9ed`,tint50:`#cef3f5`,tint60:`#f2fcfd`},fc={shade50:`#001516`,shade40:`#012728`,shade30:`#02494c`,shade20:`#026467`,shade10:`#037679`,primary:`#038387`,tint10:`#159195`,tint20:`#2aa0a4`,tint30:`#4cb4b7`,tint40:`#9bd9db`,tint50:`#c7ebec`,tint60:`#f0fafa`},pc={shade50:`#000f12`,shade40:`#001b22`,shade30:`#00333f`,shade20:`#004555`,shade10:`#005265`,primary:`#005b70`,tint10:`#0f6c81`,tint20:`#237d92`,tint30:`#4496a9`,tint40:`#94c8d4`,tint50:`#c3e1e8`,tint60:`#eff7f9`},mc={shade50:`#001322`,shade40:`#002440`,shade30:`#004377`,shade20:`#005ba1`,shade10:`#006cbf`,primary:`#0078d4`,tint10:`#1a86d9`,tint20:`#3595de`,tint30:`#5caae5`,tint40:`#a9d3f2`,tint50:`#d0e7f8`,tint60:`#f3f9fd`},hc={shade50:`#000c16`,shade40:`#00172a`,shade30:`#002c4e`,shade20:`#003b6a`,shade10:`#00467e`,primary:`#004e8c`,tint10:`#125e9a`,tint20:`#286fa8`,tint30:`#4a89ba`,tint40:`#9abfdc`,tint50:`#c7dced`,tint60:`#f0f6fa`},J={shade50:`#0d1126`,shade40:`#182047`,shade30:`#2c3c85`,shade20:`#3c51b4`,shade10:`#4760d5`,primary:`#4f6bed`,tint10:`#637cef`,tint20:`#778df1`,tint30:`#93a4f4`,tint40:`#c8d1fa`,tint50:`#e1e6fc`,tint60:`#f7f9fe`},gc={shade50:`#00061d`,shade40:`#000c36`,shade30:`#001665`,shade20:`#001e89`,shade10:`#0023a2`,primary:`#0027b4`,tint10:`#173bbd`,tint20:`#3050c6`,tint30:`#546fd2`,tint40:`#a3b2e8`,tint50:`#ccd5f3`,tint60:`#f2f4fc`},_c={shade50:`#120f25`,shade40:`#221d46`,shade30:`#3f3682`,shade20:`#5649b0`,shade10:`#6656d1`,primary:`#7160e8`,tint10:`#8172eb`,tint20:`#9184ee`,tint30:`#a79cf1`,tint40:`#d2ccf8`,tint50:`#e7e4fb`,tint60:`#f9f8fe`},vc={shade50:`#0f0717`,shade40:`#1c0e2b`,shade30:`#341a51`,shade20:`#46236e`,shade10:`#532982`,primary:`#5c2e91`,tint10:`#6b3f9e`,tint20:`#7c52ab`,tint30:`#9470bd`,tint40:`#c6b1de`,tint50:`#e0d3ed`,tint60:`#f7f4fb`},yc={shade50:`#160418`,shade40:`#29072e`,shade30:`#4c0d55`,shade20:`#671174`,shade10:`#7a1589`,primary:`#881798`,tint10:`#952aa4`,tint20:`#a33fb1`,tint30:`#b55fc1`,tint40:`#d9a7e0`,tint50:`#eaceef`,tint60:`#faf2fb`},bc={shade50:`#1f091d`,shade40:`#3a1136`,shade30:`#6d2064`,shade20:`#932b88`,shade10:`#af33a1`,primary:`#c239b3`,tint10:`#c94cbc`,tint20:`#d161c4`,tint30:`#da7ed0`,tint40:`#edbbe7`,tint50:`#f5daf2`,tint60:`#fdf5fc`},xc={shade50:`#1c0b1f`,shade40:`#35153a`,shade30:`#63276d`,shade20:`#863593`,shade10:`#9f3faf`,primary:`#b146c2`,tint10:`#ba58c9`,tint20:`#c36bd1`,tint30:`#cf87da`,tint40:`#e6bfed`,tint50:`#f2dcf5`,tint60:`#fcf6fd`},Sc={shade50:`#24091b`,shade40:`#441232`,shade30:`#80215d`,shade20:`#ad2d7e`,shade10:`#cd3595`,primary:`#e43ba6`,tint10:`#e750b0`,tint20:`#ea66ba`,tint30:`#ef85c8`,tint40:`#f7c0e3`,tint50:`#fbddf0`,tint60:`#fef6fb`},Cc={shade50:`#1f0013`,shade40:`#390024`,shade30:`#6b0043`,shade20:`#91005a`,shade10:`#ac006b`,primary:`#bf0077`,tint10:`#c71885`,tint20:`#ce3293`,tint30:`#d957a8`,tint40:`#eca5d1`,tint50:`#f5cee6`,tint60:`#fcf2f9`},wc={shade50:`#13000c`,shade40:`#240017`,shade30:`#43002b`,shade20:`#5a003b`,shade10:`#6b0045`,primary:`#77004d`,tint10:`#87105d`,tint20:`#98246f`,tint30:`#ad4589`,tint40:`#d696c0`,tint50:`#e9c4dc`,tint60:`#faf0f6`},Tc={shade50:`#141313`,shade40:`#252323`,shade30:`#444241`,shade20:`#5d5958`,shade10:`#6e6968`,primary:`#7a7574`,tint10:`#8a8584`,tint20:`#9a9594`,tint30:`#afabaa`,tint40:`#d7d4d4`,tint50:`#eae8e8`,tint60:`#faf9f9`},Ec={shade50:`#0f0e0e`,shade40:`#1c1b1a`,shade30:`#343231`,shade20:`#474443`,shade10:`#54514f`,primary:`#5d5a58`,tint10:`#706d6b`,tint20:`#84817e`,tint30:`#9e9b99`,tint40:`#cecccb`,tint50:`#e5e4e3`,tint60:`#f8f8f8`},Dc={shade50:`#111314`,shade40:`#1f2426`,shade30:`#3b4447`,shade20:`#505c60`,shade10:`#5f6d71`,primary:`#69797e`,tint10:`#79898d`,tint20:`#89989d`,tint30:`#a0adb2`,tint40:`#cdd6d8`,tint50:`#e4e9ea`,tint60:`#f8f9fa`},Oc={shade50:`#090a0b`,shade40:`#111315`,shade30:`#202427`,shade20:`#2b3135`,shade10:`#333a3f`,primary:`#394146`,tint10:`#4d565c`,tint20:`#626c72`,tint30:`#808a90`,tint40:`#bcc3c7`,tint50:`#dbdfe1`,tint60:`#f6f7f8`},Y={red:Xs,green:lc,darkOrange:Zs,yellow:nc,berry:bc,lightGreen:cc,marigold:tc},kc={darkRed:Js,cranberry:Ys,pumpkin:Qs,peach:ec,gold:rc,brass:ic,brown:ac,forest:oc,seafoam:sc,darkGreen:uc,lightTeal:dc,teal:fc,steel:pc,blue:mc,royalBlue:hc,cornflower:J,navy:gc,lavender:_c,purple:vc,grape:yc,lilac:xc,pink:Sc,magenta:Cc,plum:wc,beige:Tc,mink:Ec,platinum:Dc,anchor:Oc},X={cranberry:Ys,green:lc,orange:$s},Ac=[`red`,`green`,`darkOrange`,`yellow`,`berry`,`lightGreen`,`marigold`],jc=`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`.split(`.`),Mc={success:`green`,warning:`orange`,danger:`cranberry`},Nc=Ac.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background1`]:Y[t].tint60,[`colorPalette${n}Background2`]:Y[t].tint40,[`colorPalette${n}Background3`]:Y[t].primary,[`colorPalette${n}Foreground1`]:Y[t].shade10,[`colorPalette${n}Foreground2`]:Y[t].shade30,[`colorPalette${n}Foreground3`]:Y[t].primary,[`colorPalette${n}BorderActive`]:Y[t].primary,[`colorPalette${n}Border1`]:Y[t].tint40,[`colorPalette${n}Border2`]:Y[t].primary};return Object.assign(e,r)},{});Nc.colorPaletteYellowForeground1=Y.yellow.shade30,Nc.colorPaletteRedForegroundInverted=Y.red.tint20,Nc.colorPaletteGreenForegroundInverted=Y.green.tint20,Nc.colorPaletteYellowForegroundInverted=Y.yellow.tint40;var Pc=jc.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:kc[t].tint40,[`colorPalette${n}Foreground2`]:kc[t].shade30,[`colorPalette${n}BorderActive`]:kc[t].primary};return Object.assign(e,r)},{}),Fc={...Nc,...Pc},Ic=Object.entries(Mc).reduce((e,[t,n])=>{let r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${r}Background1`]:X[n].tint60,[`colorStatus${r}Background2`]:X[n].tint40,[`colorStatus${r}Background3`]:X[n].primary,[`colorStatus${r}Foreground1`]:X[n].shade10,[`colorStatus${r}Foreground2`]:X[n].shade30,[`colorStatus${r}Foreground3`]:X[n].primary,[`colorStatus${r}ForegroundInverted`]:X[n].tint30,[`colorStatus${r}BorderActive`]:X[n].primary,[`colorStatus${r}Border1`]:X[n].tint40,[`colorStatus${r}Border2`]:X[n].primary};return Object.assign(e,i)},{});Ic.colorStatusDangerBackground3Hover=X[Mc.danger].shade10,Ic.colorStatusDangerBackground3Pressed=X[Mc.danger].shade20,Ic.colorStatusWarningForeground1=X[Mc.warning].shade20,Ic.colorStatusWarningForeground3=X[Mc.warning].shade20,Ic.colorStatusWarningBorder2=X[Mc.warning].shade20;var Lc=e=>({colorNeutralForeground1:K[14],colorNeutralForeground1Hover:K[14],colorNeutralForeground1Pressed:K[14],colorNeutralForeground1Selected:K[14],colorNeutralForeground2:K[26],colorNeutralForeground2Hover:K[14],colorNeutralForeground2Pressed:K[14],colorNeutralForeground2Selected:K[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:K[38],colorNeutralForeground3Hover:K[26],colorNeutralForeground3Pressed:K[26],colorNeutralForeground3Selected:K[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:K[44],colorNeutralForegroundDisabled:K[74],colorNeutralForegroundInvertedDisabled:Hs[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:K[26],colorNeutralForeground2LinkHover:K[14],colorNeutralForeground2LinkPressed:K[14],colorNeutralForeground2LinkSelected:K[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:K[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:K[96],colorNeutralBackground1Pressed:K[88],colorNeutralBackground1Selected:K[92],colorNeutralBackground2:K[98],colorNeutralBackground2Hover:K[94],colorNeutralBackground2Pressed:K[86],colorNeutralBackground2Selected:K[90],colorNeutralBackground3:K[96],colorNeutralBackground3Hover:K[92],colorNeutralBackground3Pressed:K[84],colorNeutralBackground3Selected:K[88],colorNeutralBackground4:K[94],colorNeutralBackground4Hover:K[98],colorNeutralBackground4Pressed:K[96],colorNeutralBackground4Selected:q,colorNeutralBackground5:K[92],colorNeutralBackground5Hover:K[96],colorNeutralBackground5Pressed:K[94],colorNeutralBackground5Selected:K[98],colorNeutralBackground6:K[90],colorNeutralBackgroundInverted:K[16],colorNeutralBackgroundStatic:K[20],colorNeutralBackgroundAlpha:Hs[50],colorNeutralBackgroundAlpha2:Hs[80],colorSubtleBackground:`transparent`,colorSubtleBackgroundHover:K[96],colorSubtleBackgroundPressed:K[88],colorSubtleBackgroundSelected:K[92],colorSubtleBackgroundLightAlphaHover:Hs[70],colorSubtleBackgroundLightAlphaPressed:Hs[50],colorSubtleBackgroundLightAlphaSelected:`transparent`,colorSubtleBackgroundInverted:`transparent`,colorSubtleBackgroundInvertedHover:Us[10],colorSubtleBackgroundInvertedPressed:Us[30],colorSubtleBackgroundInvertedSelected:Us[20],colorTransparentBackground:`transparent`,colorTransparentBackgroundHover:`transparent`,colorTransparentBackgroundPressed:`transparent`,colorTransparentBackgroundSelected:`transparent`,colorNeutralBackgroundDisabled:K[94],colorNeutralBackgroundInvertedDisabled:Hs[10],colorNeutralStencil1:K[90],colorNeutralStencil2:K[98],colorNeutralStencil1Alpha:Us[10],colorNeutralStencil2Alpha:Us[5],colorBackgroundOverlay:Us[40],colorScrollbarOverlay:Us[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:K[98],colorNeutralCardBackgroundHover:q,colorNeutralCardBackgroundPressed:K[96],colorNeutralCardBackgroundSelected:K[92],colorNeutralCardBackgroundDisabled:K[94],colorNeutralStrokeAccessible:K[38],colorNeutralStrokeAccessibleHover:K[34],colorNeutralStrokeAccessiblePressed:K[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:K[82],colorNeutralStroke1Hover:K[78],colorNeutralStroke1Pressed:K[70],colorNeutralStroke1Selected:K[74],colorNeutralStroke2:K[88],colorNeutralStroke3:K[94],colorNeutralStrokeSubtle:K[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:K[88],colorNeutralStrokeInvertedDisabled:Hs[40],colorTransparentStroke:`transparent`,colorTransparentStrokeInteractive:`transparent`,colorTransparentStrokeDisabled:`transparent`,colorNeutralStrokeAlpha:Us[5],colorNeutralStrokeAlpha2:Hs[20],colorStrokeFocus1:q,colorStrokeFocus2:qs,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)`}),Rc={borderRadiusNone:`0`,borderRadiusSmall:`2px`,borderRadiusMedium:`4px`,borderRadiusLarge:`6px`,borderRadiusXLarge:`8px`,borderRadiusCircular:`10000px`},zc={curveAccelerateMax:`cubic-bezier(0.9,0.1,1,0.2)`,curveAccelerateMid:`cubic-bezier(1,0,1,1)`,curveAccelerateMin:`cubic-bezier(0.8,0,0.78,1)`,curveDecelerateMax:`cubic-bezier(0.1,0.9,0.2,1)`,curveDecelerateMid:`cubic-bezier(0,0,0,1)`,curveDecelerateMin:`cubic-bezier(0.33,0,0.1,1)`,curveEasyEaseMax:`cubic-bezier(0.8,0,0.2,1)`,curveEasyEase:`cubic-bezier(0.33,0,0.67,1)`,curveLinear:`cubic-bezier(0,0,1,1)`},Bc={durationUltraFast:`50ms`,durationFaster:`100ms`,durationFast:`150ms`,durationNormal:`200ms`,durationGentle:`250ms`,durationSlow:`300ms`,durationSlower:`400ms`,durationUltraSlow:`500ms`},Vc={fontSizeBase100:`10px`,fontSizeBase200:`12px`,fontSizeBase300:`14px`,fontSizeBase400:`16px`,fontSizeBase500:`20px`,fontSizeBase600:`24px`,fontSizeHero700:`28px`,fontSizeHero800:`32px`,fontSizeHero900:`40px`,fontSizeHero1000:`68px`},Hc={lineHeightBase100:`14px`,lineHeightBase200:`16px`,lineHeightBase300:`20px`,lineHeightBase400:`22px`,lineHeightBase500:`28px`,lineHeightBase600:`32px`,lineHeightHero700:`36px`,lineHeightHero800:`40px`,lineHeightHero900:`52px`,lineHeightHero1000:`92px`},Z={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Uc={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`},Q={none:`0`,xxs:`2px`,xs:`4px`,sNudge:`6px`,s:`8px`,mNudge:`10px`,m:`12px`,l:`16px`,xl:`20px`,xxl:`24px`,xxxl:`32px`},Wc={spacingHorizontalNone:Q.none,spacingHorizontalXXS:Q.xxs,spacingHorizontalXS:Q.xs,spacingHorizontalSNudge:Q.sNudge,spacingHorizontalS:Q.s,spacingHorizontalMNudge:Q.mNudge,spacingHorizontalM:Q.m,spacingHorizontalL:Q.l,spacingHorizontalXL:Q.xl,spacingHorizontalXXL:Q.xxl,spacingHorizontalXXXL:Q.xxxl},Gc={spacingVerticalNone:Q.none,spacingVerticalXXS:Q.xxs,spacingVerticalXS:Q.xs,spacingVerticalSNudge:Q.sNudge,spacingVerticalS:Q.s,spacingVerticalMNudge:Q.mNudge,spacingVerticalM:Q.m,spacingVerticalL:Q.l,spacingVerticalXL:Q.xl,spacingVerticalXXL:Q.xxl,spacingVerticalXXXL:Q.xxxl},Kc={strokeWidthThin:`1px`,strokeWidthThick:`2px`,strokeWidthThicker:`3px`,strokeWidthThickest:`4px`},$={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)`,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)`,colorNeutralBackgroundInverted:`var(--colorNeutralBackgroundInverted)`,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)`,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)`,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)`,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)`,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 qc(e,t,n=``){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}var Jc=e=>{let t=Lc(e);return{...Rc,...Vc,...Hc,...Uc,...Z,...Kc,...Wc,...Gc,...Bc,...zc,...t,...Fc,...Ic,...qc(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...qc(t.colorBrandShadowAmbient,t.colorBrandShadowKey,`Brand`)}},Yc={10:`#2b2b40`,20:`#2f2f4a`,30:`#333357`,40:`#383966`,50:`#3d3e78`,60:`#444791`,70:`#4f52b2`,80:`#5b5fc7`,90:`#7579eb`,100:`#7f85f5`,110:`#9299f7`,120:`#aab1fa`,130:`#b6bcfa`,140:`#c5cbfa`,150:`#dce0fa`,160:`#e8ebfa`},Xc={10:`#29274f`,20:`#2f2a5e`,30:`#352e70`,40:`#3b3185`,50:`#44359e`,60:`#4d3aba`,70:`#5a40db`,80:`#654cf5`,90:`#7769fa`,100:`#887dff`,110:`#9791ff`,120:`#aba8ff`,130:`#bab8ff`,140:`#c8c7ff`,150:`#dcdbff`,160:`#e8e8ff`},Zc={...Uc,fontFamilyBase:`-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif`},Qc={...Jc(Yc),...Zc};({...Jc(Xc),...Zc});var $c=Ac.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background1`]:Y[t].shade40,[`colorPalette${n}Background2`]:Y[t].shade30,[`colorPalette${n}Background3`]:Y[t].primary,[`colorPalette${n}Foreground1`]:Y[t].tint30,[`colorPalette${n}Foreground2`]:Y[t].tint40,[`colorPalette${n}Foreground3`]:Y[t].tint20,[`colorPalette${n}BorderActive`]:Y[t].tint30,[`colorPalette${n}Border1`]:Y[t].primary,[`colorPalette${n}Border2`]:Y[t].tint20};return Object.assign(e,r)},{});$c.colorPaletteRedForeground3=Y.red.tint30,$c.colorPaletteRedBorder2=Y.red.tint30,$c.colorPaletteGreenForeground3=Y.green.tint40,$c.colorPaletteGreenBorder2=Y.green.tint40,$c.colorPaletteDarkOrangeForeground3=Y.darkOrange.tint30,$c.colorPaletteDarkOrangeBorder2=Y.darkOrange.tint30,$c.colorPaletteRedForegroundInverted=Y.red.primary,$c.colorPaletteGreenForegroundInverted=Y.green.primary,$c.colorPaletteYellowForegroundInverted=Y.yellow.shade30;var el=jc.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:kc[t].shade30,[`colorPalette${n}Foreground2`]:kc[t].tint40,[`colorPalette${n}BorderActive`]:kc[t].tint30};return Object.assign(e,r)},{});el.colorPaletteDarkRedBackground2=kc.darkRed.shade20,el.colorPalettePlumBackground2=kc.plum.shade20;var tl={...$c,...el},nl=Object.entries(Mc).reduce((e,[t,n])=>{let r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${r}Background1`]:X[n].shade40,[`colorStatus${r}Background2`]:X[n].shade30,[`colorStatus${r}Background3`]:X[n].primary,[`colorStatus${r}Foreground1`]:X[n].tint30,[`colorStatus${r}Foreground2`]:X[n].tint40,[`colorStatus${r}Foreground3`]:X[n].tint20,[`colorStatus${r}BorderActive`]:X[n].tint30,[`colorStatus${r}ForegroundInverted`]:X[n].shade10,[`colorStatus${r}Border1`]:X[n].primary,[`colorStatus${r}Border2`]:X[n].tint20};return Object.assign(e,i)},{});nl.colorStatusDangerBackground3Hover=X[Mc.danger].shade10,nl.colorStatusDangerBackground3Pressed=X[Mc.danger].shade20,nl.colorStatusDangerForeground3=X[Mc.danger].tint40,nl.colorStatusDangerBorder2=X[Mc.danger].tint30,nl.colorStatusSuccessForeground3=X[Mc.success].tint40,nl.colorStatusSuccessBorder2=X[Mc.success].tint40,nl.colorStatusWarningForegroundInverted=X[Mc.warning].shade20;var rl=e=>({colorNeutralForeground1:q,colorNeutralForeground1Hover:q,colorNeutralForeground1Pressed:q,colorNeutralForeground1Selected:q,colorNeutralForeground2:K[84],colorNeutralForeground2Hover:q,colorNeutralForeground2Pressed:q,colorNeutralForeground2Selected:q,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:K[68],colorNeutralForeground3Hover:K[84],colorNeutralForeground3Pressed:K[84],colorNeutralForeground3Selected:K[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:K[60],colorNeutralForegroundDisabled:K[36],colorNeutralForegroundInvertedDisabled:Hs[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:K[84],colorNeutralForeground2LinkHover:q,colorNeutralForeground2LinkPressed:q,colorNeutralForeground2LinkSelected:q,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:K[14],colorNeutralForegroundStaticInverted:q,colorNeutralForegroundInverted:K[14],colorNeutralForegroundInvertedHover:K[14],colorNeutralForegroundInvertedPressed:K[14],colorNeutralForegroundInvertedSelected:K[14],colorNeutralForegroundInverted2:K[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:K[16],colorNeutralBackground1Hover:K[24],colorNeutralBackground1Pressed:K[12],colorNeutralBackground1Selected:K[22],colorNeutralBackground2:K[14],colorNeutralBackground2Hover:K[22],colorNeutralBackground2Pressed:K[10],colorNeutralBackground2Selected:K[20],colorNeutralBackground3:K[12],colorNeutralBackground3Hover:K[20],colorNeutralBackground3Pressed:K[8],colorNeutralBackground3Selected:K[18],colorNeutralBackground4:K[8],colorNeutralBackground4Hover:K[16],colorNeutralBackground4Pressed:K[4],colorNeutralBackground4Selected:K[14],colorNeutralBackground5:K[4],colorNeutralBackground5Hover:K[12],colorNeutralBackground5Pressed:qs,colorNeutralBackground5Selected:K[10],colorNeutralBackground6:K[20],colorNeutralBackgroundInverted:q,colorNeutralBackgroundStatic:K[24],colorNeutralBackgroundAlpha:Ws[50],colorNeutralBackgroundAlpha2:Gs[70],colorSubtleBackground:`transparent`,colorSubtleBackgroundHover:K[22],colorSubtleBackgroundPressed:K[18],colorSubtleBackgroundSelected:K[20],colorSubtleBackgroundLightAlphaHover:Ks[80],colorSubtleBackgroundLightAlphaPressed:Ks[50],colorSubtleBackgroundLightAlphaSelected:`transparent`,colorSubtleBackgroundInverted:`transparent`,colorSubtleBackgroundInvertedHover:Us[10],colorSubtleBackgroundInvertedPressed:Us[30],colorSubtleBackgroundInvertedSelected:Us[20],colorTransparentBackground:`transparent`,colorTransparentBackgroundHover:`transparent`,colorTransparentBackgroundPressed:`transparent`,colorTransparentBackgroundSelected:`transparent`,colorNeutralBackgroundDisabled:K[8],colorNeutralBackgroundInvertedDisabled:Hs[10],colorNeutralStencil1:K[34],colorNeutralStencil2:K[20],colorNeutralStencil1Alpha:Hs[10],colorNeutralStencil2Alpha:Hs[5],colorBackgroundOverlay:Us[50],colorScrollbarOverlay:Hs[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:K[20],colorNeutralCardBackgroundHover:K[24],colorNeutralCardBackgroundPressed:K[18],colorNeutralCardBackgroundSelected:K[22],colorNeutralCardBackgroundDisabled:K[8],colorNeutralStrokeAccessible:K[68],colorNeutralStrokeAccessibleHover:K[74],colorNeutralStrokeAccessiblePressed:K[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:K[40],colorNeutralStroke1Hover:K[46],colorNeutralStroke1Pressed:K[42],colorNeutralStroke1Selected:K[44],colorNeutralStroke2:K[32],colorNeutralStroke3:K[24],colorNeutralStrokeSubtle:K[4],colorNeutralStrokeOnBrand:K[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[90],colorCompoundBrandStrokeHover:e[100],colorCompoundBrandStrokePressed:e[80],colorNeutralStrokeDisabled:K[26],colorNeutralStrokeInvertedDisabled:Hs[40],colorTransparentStroke:`transparent`,colorTransparentStrokeInteractive:`transparent`,colorTransparentStrokeDisabled:`transparent`,colorNeutralStrokeAlpha:Hs[10],colorNeutralStrokeAlpha2:Hs[20],colorStrokeFocus1:qs,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)`}),il=e=>{let t=rl(e);return{...Rc,...Vc,...Hc,...Uc,...Z,...Kc,...Wc,...Gc,...Bc,...zc,...t,...tl,...nl,...qc(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...qc(t.colorBrandShadowAmbient,t.colorBrandShadowKey,`Brand`)}},al={...il(Yc),...Zc};({...il(Xc),...Zc});var ol={root:`fui-FluentProvider`},sl=Un({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);}`]}),cl=e=>{"use no memo";let t=Yn(),n=sl({dir:e.dir,renderer:t});return e.root.className=O(ol.root,e.themeClassName,n.root,e.root.className),e},ll=_.useInsertionEffect?_.useInsertionEffect:_i,ul=(e,t)=>{if(!e?.head)return;let n=e.createElement(`style`);return Object.keys(t).forEach(e=>{n.setAttribute(e,t[e])}),e.head.appendChild(n),n},dl=(e,t)=>{let n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(t,0))},fl=e=>{"use no memo";let{targetDocument:t,theme:n,rendererAttributes:r}=e,i=_.useRef(void 0),a=xi(ol.root),o=r,s=_.useMemo(()=>tr(`.${a}`,n),[n,a]);return pl(t,a),ll(()=>{let e=t?.getElementById(a);return e?i.current=e:(i.current=ul(t,{...o,id:a}),i.current&&dl(i.current,s)),()=>{var e;(e=i.current)==null||e.remove()}},[a,t,s,o]),{styleTagId:a,rule:s}};function pl(e,t){_.useState(()=>{if(!e)return;let n=e.getElementById(t);n&&e.head.append(n)})}var ml={},hl={},gl=(e,t)=>{"use no memo";let n=Zr(),r=vl(),i=ei(),a=_.useContext(ti)||ml,{applyStylesToPortals:o=!0,customStyleHooks_unstable:s,dir:c=n.dir,targetDocument:l=n.targetDocument,theme:u,overrides_unstable:d={}}=e,f=_l(r,u),p=_l(i,d),m=_l(a,s),h=Yn(),{styleTagId:g,rule:v}=fl({theme:f,targetDocument:l,rendererAttributes:h.styleElementAttributes??hl});return{applyStylesToPortals:o,customStyleHooks_unstable:m,dir:c,targetDocument:l,theme:f,overrides_unstable:p,themeClassName:g,components:{root:`div`},root:P(zr(`div`,{...e,dir:c,ref:Si(t,As({targetDocument:l}))}),{elementType:`div`}),serverStyleProps:{cssRule:v,attributes:{...h.styleElementAttributes,id:g}}}};function _l(e,t){return e&&t?{...e,...t}:e||t}function vl(){return _.useContext(Vr)}function yl(e){let{applyStylesToPortals:t,customStyleHooks_unstable:n,dir:r,root:i,targetDocument:a,theme:o,themeClassName:s,overrides_unstable:c}=e,l=_.useMemo(()=>({dir:r,targetDocument:a}),[r,a]),[u]=_.useState(()=>({}));return{customStyleHooks_unstable:n,overrides_unstable:c,provider:l,textDirection:r,iconDirection:_.useMemo(()=>({textDirection:r}),[r]),tooltip:u,theme:o,themeClassName:t?i.className:s}}var bl=_.forwardRef((e,t)=>{let n=gl(e,t);return cl(n),ia(n,yl(n))});bl.displayName=`FluentProvider`;var xl=p(),Sl=e=>t=>{let n=_.useRef(t.value),r=_.useRef(0),i=_.useRef(null);return i.current||={value:n,version:r,listeners:[]},_i(()=>{n.current=t.value,r.current+=1,(0,xl.unstable_runWithPriority)(xl.unstable_NormalPriority,()=>{i.current.listeners.forEach(e=>{e([r.current,t.value])})})},[t.value]),_.createElement(e,{value:i.current},t.children)},Cl=e=>{let t=_.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=Sl(t.Provider),delete t.Consumer,t},wl=(e,t)=>{let{value:{current:n},version:{current:r},listeners:i}=_.useContext(e),a=t(n),[o,s]=_.useState([n,a]),c=e=>{s(i=>{if(!e)return[n,a];if(e[0]<=r)return Object.is(i[1],a)?i:[n,a];try{if(Object.is(i[0],e[1]))return i;let n=t(e[1]);return Object.is(i[1],n)?i:[e[1],n]}catch{}return[i[0],i[1]]})};Object.is(o[1],a)||c(void 0);let l=L(c);return _i(()=>(i.push(l),()=>{let e=i.indexOf(l);i.splice(e,1)}),[l,i]),o[1]};function Tl(e){let t=_.useContext(e);return t.version?t.version.current!==-1:!1}var El=`Shift`,Dl=`Enter`,Ol=`ArrowLeft`,kl=`ArrowRight`,Al=`Escape`;function jl(e,t){let{disabled:n,disabledFocusable:r=!1,"aria-disabled":i,onClick:a,onKeyDown:o,onKeyUp:s,...c}=t??{},l=typeof i==`string`?i===`true`:i,u=n||r||l,d=L(e=>{u?(e.preventDefault(),e.stopPropagation()):a?.(e)}),f=L(e=>{if(o?.(e),e.isDefaultPrevented())return;let t=e.key;if(u&&(t===`Enter`||t===` `)){e.preventDefault(),e.stopPropagation();return}if(t===` `){e.preventDefault();return}else t===`Enter`&&(e.preventDefault(),e.currentTarget.click())}),p=L(e=>{if(s?.(e),e.isDefaultPrevented())return;let t=e.key;if(u&&(t===`Enter`||t===` `)){e.preventDefault(),e.stopPropagation();return}t===` `&&(e.preventDefault(),e.currentTarget.click())});if(e===`button`||e===void 0)return{...c,disabled:n&&!r,"aria-disabled":r?!0:l,onClick:r?void 0:d,onKeyUp:r?void 0:s,onKeyDown:r?void 0:o};{let t=!!c.href,i=t?void 0:`button`;!i&&u&&(i=`link`);let a={role:i,tabIndex:r||!t&&!n?0:void 0,...c,onClick:d,onKeyUp:p,onKeyDown:f,"aria-disabled":u};return e===`a`&&u&&(a.href=void 0),a}}var Ml=()=>void 0,Nl={controller:{active:Ml,blur:Ml,find:Ml,first:Ml,focus:Ml,focusLastActive:Ml,scrollActiveIntoView:Ml,last:Ml,next:Ml,prev:Ml,showAttributes:Ml,hideAttributes:Ml,showFocusVisibleAttributes:Ml,hideFocusVisibleAttributes:Ml}},Pl=_.createContext(void 0),Fl=Pl.Provider,Il=()=>_.useContext(Pl)??Nl,Ll=()=>!!_.useContext(Pl);function Rl(e){let{matchOption:t}=e,{targetDocument:n}=Zr(),r=_.useRef(null),i=_.useRef(null),a=_.useCallback(e=>Mi(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),o=_.useCallback(e=>{e&&n?(i.current=e,r.current=n.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):(i.current=null,r.current=null)},[n,a]);return{optionWalker:_.useMemo(()=>({first:()=>!r.current||!i.current?null:(r.current.currentNode=i.current,r.current.firstChild()),last:()=>!r.current||!i.current?null:(r.current.currentNode=i.current,r.current.lastChild()),next:()=>r.current?r.current.nextNode():null,prev:()=>r.current?r.current.previousNode():null,find:(e,t)=>{if(!r.current||!i.current)return null;let a=t?n?.getElementById(t):null;r.current.currentNode=a??i.current;let o=r.current.currentNode;for(;o&&!e(o.id);)o=r.current.nextNode();return o},setCurrent:e=>{r.current&&(r.current.currentNode=e)}}),[n]),listboxCallbackRef:o}}var zl=`data-activedescendant`,Bl=`data-activedescendant-focusvisible`,Vl=e=>{if(!e)return;let t=Hl(e.parentElement);if(!t)return;let{offsetHeight:n}=e,r=Ul(e,t),{scrollMarginTop:i,scrollMarginBottom:a}=Wl(e),{offsetHeight:o,scrollTop:s}=t,c=r-i<s,l=r+n+a>s+o;c?t.scrollTo(0,r-i-2):l&&t.scrollTo(0,r+n+a-o+2)},Hl=e=>e?e.scrollHeight>e.offsetHeight?e:Hl(e.parentElement):null,Ul=(e,t)=>!e||e===t?0:e.contains(t)?t.offsetTop*-1:e.offsetTop+Ul(e.offsetParent,t),Wl=e=>{let t=e.ownerDocument?.defaultView;if(!t)return{scrollMarginTop:0,scrollMarginBottom:0};let n=t.getComputedStyle(e);return{scrollMarginTop:Gl(n.scrollMarginTop)??Gl(n.scrollMarginBlockStart),scrollMarginBottom:Gl(n.scrollMarginBottom)??Gl(n.scrollMarginBlockEnd)}},Gl=e=>e?parseInt(e,10):0,Kl=e=>new CustomEvent(`activedescendantchange`,{bubbles:!0,cancelable:!1,composed:!0,detail:e});function ql(e){let{imperativeRef:t,matchOption:n}=e,r=_.useRef(!1),i=_.useRef(!0),a=_.useRef(null),o=_.useRef(null),s=_.useRef(null),c=_.useRef(!0),l=_.useCallback(()=>{var e;(e=s.current)==null||e.removeAttribute(`aria-activedescendant`)},[]),u=_.useCallback(e=>{if(e&&(a.current=e),c.current&&a.current){var t;(t=s.current)==null||t.setAttribute(`aria-activedescendant`,a.current)}},[]);Ls(e=>{r.current=e;let t=h();t&&(e&&i.current?t.setAttribute(Bl,``):t.removeAttribute(Bl))});let d=L(n),f=_.useRef(null),{optionWalker:p,listboxCallbackRef:m}=Rl({matchOption:d}),h=_.useCallback(()=>f.current?.querySelector(`#${a.current}`),[f]),g=_.useCallback(e=>{i.current=e;let t=h();t&&(e&&r.current?t.setAttribute(Bl,``):t.removeAttribute(Bl))},[h]),v=_.useCallback(()=>{let e=h();return e&&(e.removeAttribute(zl),e.removeAttribute(Bl)),l(),o.current=a.current,a.current=null,e?.id??null},[h,l]),y=_.useCallback(e=>{if(!e)return;let t=v();Vl(e),u(e.id),e.setAttribute(zl,``),r.current&&i.current&&e.setAttribute(Bl,``);let n=Kl({id:e.id,previousId:t});e.dispatchEvent(n)},[v,u]),b=_.useMemo(()=>({first:({passive:e}={})=>{let t=p.first();return e||y(t),t?.id},last:({passive:e}={})=>{let t=p.last();return e||y(t),t?.id},next:({passive:e}={})=>{let t=h();if(!t)return;p.setCurrent(t);let n=p.next();return e||y(n),n?.id},prev:({passive:e}={})=>{let t=h();if(!t)return;p.setCurrent(t);let n=p.prev();return e||y(n),n?.id},blur:()=>{v()},active:()=>h()?.id,focus:e=>{if(!f.current)return;let t=f.current.querySelector(`#${e}`);t&&y(t)},focusLastActive:()=>{if(!f.current||!o.current)return;let e=f.current.querySelector(`#${o.current}`);if(e)return y(e),!0},find(e,{passive:t,startFrom:n}={}){let r=p.find(e,n);return t||y(r),r?.id},scrollActiveIntoView:()=>{if(!f.current)return;let e=h();e&&Vl(e)},showAttributes(){c.current=!0,u()},hideAttributes(){c.current=!1,l()},showFocusVisibleAttributes(){g(!0)},hideFocusVisibleAttributes(){g(!1)}}),[p,f,u,l,y,v,h,g]);return _.useImperativeHandle(t,()=>b),{listboxRef:Si(f,m),activeParentRef:s,controller:b}}var Jl=N({root:{mc9l5x:`f1w7gpdv`,Bg96gwp:`fez10in`},rtl:{Bz10aip:`f13rod7r`}},{d:[`.f1w7gpdv{display:inline;}`,`.fez10in{line-height:0;}`,`.f13rod7r{transform:scaleX(-1);}`]}),Yl=(e,t)=>{let{title:n,primaryFill:r=`currentColor`,...i}=e,a={...i,title:void 0,fill:r},o=Jl(),s=ra();return a.className=O(o.root,t?.flipInRtl&&s?.textDirection===`rtl`&&o.rtl,a.className),n&&(a[`aria-label`]=n),!a[`aria-label`]&&!a[`aria-labelledby`]?a[`aria-hidden`]=!0:a.role=`img`,a},Xl=N({root:{B8gzw0y:`f1dd5bof`}},{m:[[`@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}`,{m:`(forced-colors: active)`}]]}),Zl=(e,t,n,r)=>{let i=t===`1em`?`20`:t,a=_.forwardRef((e,a)=>{let o=Xl(),s=Yl(e,{flipInRtl:r?.flipInRtl}),c={...s,className:O(s.className,o.root),ref:a,width:t,height:t,viewBox:`0 0 ${i} ${i}`,xmlns:`http://www.w3.org/2000/svg`};return typeof n==`string`?_.createElement(`svg`,{...c,dangerouslySetInnerHTML:{__html:n}}):_.createElement(`svg`,c,...n.map(e=>_.createElement(`path`,{d:e,fill:c.fill})))});return a.displayName=e,a},Ql=Zl(`ArrowDownRegular`,`1em`,[`M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z`]),$l=Zl(`ArrowUpRegular`,`1em`,[`M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z`],{flipInRtl:!0}),eu=Zl(`CheckmarkFilled`,`1em`,[`M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z`]),tu=Zl(`ChevronDownRegular`,`1em`,[`M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z`]),nu=Zl(`CircleFilled`,`1em`,[`M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z`]),ru=Zl(`DismissRegular`,`1em`,[`m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z`]),iu=Zl(`PlayRegular`,`1em`,[`M17.22 8.69a1.5 1.5 0 0 1 0 2.62l-10 5.5A1.5 1.5 0 0 1 5 15.5v-11A1.5 1.5 0 0 1 7.22 3.2l10 5.5Zm-.48 1.75a.5.5 0 0 0 0-.88l-10-5.5A.5.5 0 0 0 6 4.5v11c0 .38.4.62.74.44l10-5.5Z`]),au=Zl(`SearchRegular`,`1em`,[`M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z`]),ou=Zl(`Checkmark12Filled`,`12`,[`M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z`]),su=Zl(`Checkmark16Filled`,`16`,[`M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z`]),cu=Zl(`Square12Filled`,`12`,[`M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z`]),lu=Zl(`Square16Filled`,`16`,[`M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z`]),uu=`data-popper-is-intersecting`,du=`data-popper-escaped`,fu=`data-popper-reference-hidden`,pu=`data-popper-placement`,mu=`fui-positioningend`,hu=({options:e})=>e,gu=_.createContext(void 0);gu.Provider;var _u=()=>_.useContext(gu)??hu,vu=[`top`,`right`,`bottom`,`left`],yu=Math.min,bu=Math.max,xu=Math.round,Su=e=>({x:e,y:e}),Cu={left:`right`,right:`left`,bottom:`top`,top:`bottom`},wu={start:`end`,end:`start`};function Tu(e,t,n){return bu(e,yu(t,n))}function Eu(e,t){return typeof e==`function`?e(t):e}function Du(e){return e.split(`-`)[0]}function Ou(e){return e.split(`-`)[1]}function ku(e){return e===`x`?`y`:`x`}function Au(e){return e===`y`?`height`:`width`}var ju=new Set([`top`,`bottom`]);function Mu(e){return ju.has(Du(e))?`y`:`x`}function Nu(e){return ku(Mu(e))}function Pu(e,t,n){n===void 0&&(n=!1);let r=Ou(e),i=Nu(e),a=Au(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Uu(o)),[o,Uu(o)]}function Fu(e){let t=Uu(e);return[Iu(e),t,Iu(t)]}function Iu(e){return e.replace(/start|end/g,e=>wu[e])}var Lu=[`left`,`right`],Ru=[`right`,`left`],zu=[`top`,`bottom`],Bu=[`bottom`,`top`];function Vu(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Ru:Lu:t?Lu:Ru;case`left`:case`right`:return t?zu:Bu;default:return[]}}function Hu(e,t,n,r){let i=Ou(e),a=Vu(Du(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Iu)))),a}function Uu(e){return e.replace(/left|right|bottom|top/g,e=>Cu[e])}function Wu(e){return{top:0,right:0,bottom:0,left:0,...e}}function Gu(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Wu(e)}function Ku(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function qu(e,t,n){let{reference:r,floating:i}=e,a=Mu(t),o=Nu(t),s=Au(o),c=Du(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Ou(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var Ju=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=qu(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=qu(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function Yu(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Eu(t,e),p=Gu(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ku(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Ku(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Xu=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Eu(e,t)||{};if(l==null)return{};let d=Gu(u),f={x:n,y:r},p=Nu(i),m=Au(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,ee=yu(d[_],T),te=yu(d[v],T),ne=ee,re=C-h[m]-te,E=C/2-h[m]/2+w,ie=Tu(ne,E,re),ae=!c.arrow&&Ou(i)!=null&&E!==ie&&a.reference[m]/2-(E<ne?ee:te)-h[m]/2<0,oe=ae?E<ne?E-ne:E-re:0;return{[p]:f[p]+oe,data:{[p]:ie,centerOffset:E-ie-oe,...ae&&{alignmentOffset:oe}},reset:ae}}}),Zu=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Eu(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Du(r),_=Mu(o),v=Du(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Uu(o)]:Fu(o)),x=p!==`none`;!d&&x&&b.push(...Hu(o,m,p,y));let S=[o,...b],C=await Yu(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Pu(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==Mu(t))||T.every(e=>Mu(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Mu(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function Qu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $u(e){return vu.some(t=>e[t]>=0)}var ed=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=Eu(e,t);switch(r){case`referenceHidden`:{let e=Qu(await Yu(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:$u(e)}}}case`escaped`:{let e=Qu(await Yu(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:$u(e)}}}default:return{}}}}},td=new Set([`left`,`top`]);async function nd(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Du(n),s=Ou(n),c=Mu(n)===`y`,l=td.has(o)?-1:1,u=a&&c?-1:1,d=Eu(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var rd=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await nd(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},id=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Eu(e,t),l={x:n,y:r},u=await Yu(t,c),d=Mu(Du(i)),f=ku(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=Tu(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=Tu(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},ad=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Eu(e,t),u={x:n,y:r},d=Mu(i),f=ku(d),p=u[f],m=u[d],h=Eu(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=td.has(Du(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},od=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=Eu(e,t),u=await Yu(t,l),d=Du(i),f=Ou(i),p=Mu(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=yu(h-u[g],v),x=yu(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=bu(u.left,0),t=bu(u.right,0),n=bu(u.top,0),r=bu(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:bu(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:bu(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function sd(){return typeof window<`u`}function cd(e){return dd(e)?(e.nodeName||``).toLowerCase():`#document`}function ld(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ud(e){return((dd(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function dd(e){return sd()?e instanceof Node||e instanceof ld(e).Node:!1}function fd(e){return sd()?e instanceof Element||e instanceof ld(e).Element:!1}function pd(e){return sd()?e instanceof HTMLElement||e instanceof ld(e).HTMLElement:!1}function md(e){return!sd()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof ld(e).ShadowRoot}var hd=new Set([`inline`,`contents`]);function gd(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=kd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!hd.has(i)}var _d=new Set([`table`,`td`,`th`]);function vd(e){return _d.has(cd(e))}var yd=[`:popover-open`,`:modal`];function bd(e){return yd.some(t=>{try{return e.matches(t)}catch{return!1}})}var xd=[`transform`,`translate`,`scale`,`rotate`,`perspective`],Sd=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],Cd=[`paint`,`layout`,`strict`,`content`];function wd(e){let t=Ed(),n=fd(e)?kd(e):e;return xd.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||Sd.some(e=>(n.willChange||``).includes(e))||Cd.some(e=>(n.contain||``).includes(e))}function Td(e){let t=jd(e);for(;pd(t)&&!Od(t);){if(wd(t))return t;if(bd(t))return null;t=jd(t)}return null}function Ed(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var Dd=new Set([`html`,`body`,`#document`]);function Od(e){return Dd.has(cd(e))}function kd(e){return ld(e).getComputedStyle(e)}function Ad(e){return fd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function jd(e){if(cd(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||md(e)&&e.host||ud(e);return md(t)?t.host:t}function Md(e){let t=jd(e);return Od(t)?e.ownerDocument?e.ownerDocument.body:e.body:pd(t)&&gd(t)?t:Md(t)}function Nd(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Md(e),i=r===e.ownerDocument?.body,a=ld(r);if(i){let e=Pd(a);return t.concat(a,a.visualViewport||[],gd(r)?r:[],e&&n?Nd(e):[])}return t.concat(r,Nd(r,[],n))}function Pd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Fd(e){let t=kd(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=pd(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=xu(n)!==a||xu(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Id(e){return fd(e)?e:e.contextElement}function Ld(e){let t=Id(e);if(!pd(t))return Su(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Fd(t),o=(a?xu(n.width):n.width)/r,s=(a?xu(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Rd=Su(0);function zd(e){let t=ld(e);return!Ed()||!t.visualViewport?Rd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Bd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ld(e)?!1:t}function Vd(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Id(e),o=Su(1);t&&(r?fd(r)&&(o=Ld(r)):o=Ld(e));let s=Bd(a,n,r)?zd(a):Su(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=ld(a),t=r&&fd(r)?ld(r):r,n=e,i=Pd(n);for(;i&&r&&t!==n;){let e=Ld(i),t=i.getBoundingClientRect(),r=kd(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=ld(i),i=Pd(n)}}return Ku({width:u,height:d,x:c,y:l})}function Hd(e,t){let n=Ad(e).scrollLeft;return t?t.left+n:Vd(ud(e)).left+n}function Ud(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Hd(e,n),y:n.top+t.scrollTop}}function Wd(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=ud(r),s=t?bd(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Su(1),u=Su(0),d=pd(r);if((d||!d&&!a)&&((cd(r)!==`body`||gd(o))&&(c=Ad(r)),pd(r))){let e=Vd(r);l=Ld(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Ud(o,c):Su(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Gd(e){return Array.from(e.getClientRects())}function Kd(e){let t=ud(e),n=Ad(e),r=e.ownerDocument.body,i=bu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=bu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Hd(e),s=-n.scrollTop;return kd(r).direction===`rtl`&&(o+=bu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var qd=25;function Jd(e,t){let n=ld(e),r=ud(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Ed();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Hd(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=qd&&(a-=o)}else l<=qd&&(a+=l);return{width:a,height:o,x:s,y:c}}var Yd=new Set([`absolute`,`fixed`]);function Xd(e,t){let n=Vd(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=pd(e)?Ld(e):Su(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Zd(e,t,n){let r;if(t===`viewport`)r=Jd(e,n);else if(t===`document`)r=Kd(ud(e));else if(fd(t))r=Xd(t,n);else{let n=zd(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ku(r)}function Qd(e,t){let n=jd(e);return n===t||!fd(n)||Od(n)?!1:kd(n).position===`fixed`||Qd(n,t)}function $d(e,t){let n=t.get(e);if(n)return n;let r=Nd(e,[],!1).filter(e=>fd(e)&&cd(e)!==`body`),i=null,a=kd(e).position===`fixed`,o=a?jd(e):e;for(;fd(o)&&!Od(o);){let t=kd(o),n=wd(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&Yd.has(i.position)||gd(o)&&!n&&Qd(e,o))?r=r.filter(e=>e!==o):i=t,o=jd(o)}return t.set(e,r),r}function ef(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?bd(t)?[]:$d(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=Zd(t,n,i);return e.top=bu(r.top,e.top),e.right=yu(r.right,e.right),e.bottom=yu(r.bottom,e.bottom),e.left=bu(r.left,e.left),e},Zd(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function tf(e){let{width:t,height:n}=Fd(e);return{width:t,height:n}}function nf(e,t,n){let r=pd(t),i=ud(t),a=n===`fixed`,o=Vd(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Su(0);function l(){c.x=Hd(i)}if(r||!r&&!a)if((cd(t)!==`body`||gd(i))&&(s=Ad(t)),r){let e=Vd(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?Ud(i,s):Su(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function rf(e){return kd(e).position===`static`}function af(e,t){if(!pd(e)||kd(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return ud(e)===n&&(n=n.ownerDocument.body),n}function of(e,t){let n=ld(e);if(bd(e))return n;if(!pd(e)){let t=jd(e);for(;t&&!Od(t);){if(fd(t)&&!rf(t))return t;t=jd(t)}return n}let r=af(e,t);for(;r&&vd(r)&&rf(r);)r=af(r,t);return r&&Od(r)&&rf(r)&&!wd(r)?n:r||Td(e)||n}var sf=async function(e){let t=this.getOffsetParent||of,n=this.getDimensions,r=await n(e.floating);return{reference:nf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function cf(e){return kd(e).direction===`rtl`}var lf={convertOffsetParentRelativeRectToViewportRelativeRect:Wd,getDocumentElement:ud,getClippingRect:ef,getOffsetParent:of,getElementRects:sf,getClientRects:Gd,getDimensions:tf,getScale:Ld,isElement:fd,isRTL:cf},uf=Yu,df=rd,ff=id,pf=Zu,mf=od,hf=ed,gf=Xu,_f=ad,vf=(e,t,n)=>{let r=new Map,i={platform:lf,...n},a={...i.platform,_c:r};return Ju(e,t,{...i,platform:a})};function yf(e){let t=e.split(`-`);return{side:t[0],alignment:t[1]}}var bf=e=>e.nodeName===`HTML`?e:e.parentNode||e.host,xf=e=>{if(e.nodeType!==1)return{};let t=e.ownerDocument?.defaultView;return t?t.getComputedStyle(e,null):{}},Sf=e=>{let t=e&&bf(e);if(!t)return document.body;switch(t.nodeName){case`HTML`:case`BODY`:return t.ownerDocument.body;case`#document`:return t.body}let{overflow:n,overflowX:r,overflowY:i}=xf(t);return/(auto|scroll|overlay)/.test(n+i+r)?t:Sf(t)},Cf=e=>{let t=Sf(e);return t?t!==t.ownerDocument?.body:!1};function wf(e,t){if(t===`window`)return e?.ownerDocument.documentElement;if(t===`clippingParents`)return`clippingAncestors`;if(t===`scrollParent`){let t=Sf(e);return t.nodeName===`BODY`&&(t=e?.ownerDocument.documentElement),t}return t}function Tf(e,t){if(typeof e==`number`)return e;let{start:n,end:r,...i}=e,a=i,o=t?`end`:`start`,s=t?`start`:`end`;return e[o]&&(a.left=e[o]),e[s]&&(a.right=e[s]),a}var Ef=e=>({above:`top`,below:`bottom`,before:e?`right`:`left`,after:e?`left`:`right`}),Df=()=>({start:`start`,end:`end`,top:`start`,bottom:`end`,center:void 0}),Of=(e,t)=>{let n=e===`above`||e===`below`,r=t===`top`||t===`bottom`;return n&&r||!n&&!r},kf=(e,t,n)=>{let r=Of(t,e)?`center`:e,i=t&&Ef(n)[t],a=r&&Df()[r];return i&&a?`${i}-${a}`:i},Af=()=>({top:`above`,bottom:`below`,right:`after`,left:`before`}),jf=e=>e===`above`||e===`below`?{start:`start`,end:`end`}:{start:`top`,end:`bottom`},Mf=e=>{let{side:t,alignment:n}=yf(e),r=Af()[t];return{position:r,alignment:n&&jf(r)[n]}},Nf={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 Pf(e){return e==null?{}:typeof e==`string`?Nf[e]:e}function Ff(e,t,n){let r=_.useRef(!0),[i]=_.useState(()=>({value:e,callback:t,facade:{get current(){return i.value},set current(e){let t=i.value;if(t!==e){if(i.value=e,n&&r.current)return;i.callback(e,t)}}}}));return _i(()=>{r.current=!1},[]),i.callback=t,i.facade}function If(e){let t;return()=>(t||=new Promise(n=>{Promise.resolve().then(()=>{t=void 0,n(e())})}),t)}function Lf(e){let{arrow:t,middlewareData:n}=e;if(!n.arrow||!t)return;let{x:r,y:i}=n.arrow;Object.assign(t.style,{left:r==null?``:`${r}px`,top:i==null?``:`${i}px`})}function Rf(e){let{container:t,placement:n,middlewareData:r,strategy:i,lowPPI:a,coordinates:o,useTransform:s=!0}=e;if(!t)return;t.setAttribute(pu,n),t.removeAttribute(uu),r.intersectionObserver.intersecting&&t.setAttribute(uu,``),t.removeAttribute(du),r.hide?.escaped&&t.setAttribute(du,``),t.removeAttribute(fu),r.hide?.referenceHidden&&t.setAttribute(fu,``);let c=t.ownerDocument.defaultView?.devicePixelRatio||1,l=Math.round(o.x*c)/c,u=Math.round(o.y*c)/c;if(Object.assign(t.style,{position:i}),s){Object.assign(t.style,{transform:a?`translate(${l}px, ${u}px)`:`translate3d(${l}px, ${u}px, 0)`});return}Object.assign(t.style,{left:`${l}px`,top:`${u}px`})}var zf=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 Bf(e){let t=[],n=e;for(;n;){let r=Sf(n);if(e.ownerDocument.body===r){t.push(r);break}if(r.nodeName===`BODY`&&r!==e.ownerDocument.body)break;t.push(r),n=r}return t}function Vf(e,t){return new e.ResizeObserver(t)}function Hf(e){let t=!1,{container:n,target:r,arrow:i,strategy:a,middleware:o,placement:s,useTransform:c=!0,disableUpdateOnResize:l=!1}=e,u=n.ownerDocument.defaultView;if(!r||!n||!u)return{updatePosition:()=>void 0,dispose:()=>void 0};let d=l?null:Vf(u,e=>{e.every(e=>e.contentRect.width>0&&e.contentRect.height>0)&&h()}),f=!0,p=new Set;Object.assign(n.style,{position:`fixed`,left:0,top:0,margin:0});let m=()=>{t||(f&&=(Bf(n).forEach(e=>p.add(e)),Mi(r)&&Bf(r).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener(`scroll`,h,{passive:!0})}),d?.observe(n),Mi(r)&&d?.observe(r),!1),Object.assign(n.style,{position:a}),vf(r,n,{placement:s,middleware:o,strategy:a}).then(({x:e,y:r,middlewareData:o,placement:s})=>{t||(Lf({arrow:i,middlewareData:o}),Rf({container:n,middlewareData:o,placement:s,coordinates:{x:e,y:r},lowPPI:(u?.devicePixelRatio||1)<=1,strategy:a,useTransform:c}),n.dispatchEvent(new CustomEvent(mu)))}).catch(e=>{}))},h=If(()=>m());return u&&(u.addEventListener(`scroll`,h,{passive:!0}),u.addEventListener(`resize`,h)),h(),{updatePosition:h,dispose:()=>{t=!0,u&&(u.removeEventListener(`scroll`,h),u.removeEventListener(`resize`,h)),p.forEach(e=>{e.removeEventListener(`scroll`,h)}),p.clear(),d?.disconnect()}}}function Uf(){return{name:`coverTarget`,fn:e=>{let{placement:t,rects:n,x:r,y:i}=e,a=yf(t).side,o={x:r,y:i};switch(a){case`bottom`:o.y-=n.reference.height;break;case`top`:o.y+=n.reference.height;break;case`left`:o.x+=n.reference.width;break;case`right`:o.x-=n.reference.width;break}return o}}}function Wf(e){let{hasScrollableElement:t,flipBoundary:n,container:r,fallbackPositions:i=[],isRtl:a}=e,o=i.reduce((e,t)=>{let{position:n,align:r}=Pf(t),i=kf(r,n,a);return i&&e.push(i),e},[]);return pf({...t&&{boundary:`clippingAncestors`},...n&&{altBoundary:!0,boundary:wf(r,n)},fallbackStrategy:`bestFit`,...o.length&&{fallbackPlacements:o}})}function Gf(){return{name:`intersectionObserver`,fn:async e=>{let t=e.rects.floating,n=await uf(e,{altBoundary:!0}),r=n.top<t.height&&n.top>0,i=n.bottom<t.height&&n.bottom>0;return{data:{intersecting:r||i}}}}}var Kf=e=>({name:`resetMaxSize`,fn({middlewareData:t,elements:n}){if(t.resetMaxSize?.maxSizeAlreadyReset)return{};let{applyMaxWidth:r,applyMaxHeight:i}=e;return r&&(n.floating.style.removeProperty(`box-sizing`),n.floating.style.removeProperty(`max-width`),n.floating.style.removeProperty(`width`)),i&&(n.floating.style.removeProperty(`box-sizing`),n.floating.style.removeProperty(`max-height`),n.floating.style.removeProperty(`height`)),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function qf(e,t){let{container:n,overflowBoundary:r,overflowBoundaryPadding:i,isRtl:a}=t;return mf({...i&&{padding:Tf(i,a)},...r&&{altBoundary:!0,boundary:wf(n,r)},apply({availableHeight:t,availableWidth:n,elements:r,rects:i}){let a=(e,t,n)=>{if(e&&(r.floating.style.setProperty(`box-sizing`,`border-box`),r.floating.style.setProperty(`max-${t}`,`${n}px`),i.floating[t]>n)){r.floating.style.setProperty(t,`${n}px`);let e=t===`width`?`x`:`y`;r.floating.style.getPropertyValue(`overflow-${e}`)||r.floating.style.setProperty(`overflow-${e}`,`auto`)}},{applyMaxWidth:o,applyMaxHeight:s}=e;a(o,`width`,n),a(s,`height`,t)}})}function Jf(e){return!e||typeof e==`number`||typeof e==`object`?e:({rects:{floating:t,reference:n},placement:r})=>{let{position:i,alignment:a}=Mf(r);return e({positionedRect:t,targetRect:n,position:i,alignment:a})}}function Yf(e){return df(Jf(e))}function Xf(e){let{hasScrollableElement:t,shiftToCoverTarget:n,disableTether:r,overflowBoundary:i,container:a,overflowBoundaryPadding:o,isRtl:s}=e;return ff({...t&&{boundary:`clippingAncestors`},...n&&{crossAxis:!0,limiter:_f({crossAxis:!0,mainAxis:!1})},...r&&{crossAxis:r===`all`,limiter:_f({crossAxis:r!==`all`,mainAxis:!1})},...o&&{padding:Tf(o,s)},...i&&{altBoundary:!0,boundary:wf(a,i)}})}var Zf=`--fui-match-target-size`;function Qf(){return{name:`matchTargetSize`,fn:async e=>{let{rects:{reference:t,floating:n},elements:{floating:r},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(t.width===n.width||i)return{};let{width:a}=t;return r.style.setProperty(Zf,`${a}px`),r.style.width||(r.style.width=`var(${Zf})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function $f(e,t){let{align:n,arrowPadding:r,autoSize:i,coverTarget:a,disableUpdateOnResize:o,flipBoundary:s,offset:c,overflowBoundary:l,pinned:u,position:d,unstable_disableTether:f,strategy:p,overflowBoundaryPadding:m,fallbackPositions:h,useTransform:g,matchTargetSize:v,shiftToCoverTarget:y}=t;return _.useCallback((t,_)=>e({container:t,arrow:_,options:{autoSize:i,disableUpdateOnResize:o,matchTargetSize:v,offset:c,strategy:p,coverTarget:a,flipBoundary:s,overflowBoundary:l,useTransform:g,overflowBoundaryPadding:m,pinned:u,arrowPadding:r,align:n,fallbackPositions:h,shiftToCoverTarget:y,position:d,unstable_disableTether:f}}),[i,o,v,c,p,a,s,l,g,m,u,r,n,h,y,d,f,e])}function ep(e){let{dir:t,targetDocument:n}=Zr(),r=t===`rtl`,i=$f(_u(),e),{positionFixed:a}=e;return _.useCallback((e,t)=>{let n=Cf(e),{autoSize:o,disableUpdateOnResize:s,matchTargetSize:c,offset:l,coverTarget:u,flipBoundary:d,overflowBoundary:f,useTransform:p,overflowBoundaryPadding:m,pinned:h,position:g,arrowPadding:_,strategy:v,align:y,fallbackPositions:b,shiftToCoverTarget:x,unstable_disableTether:S}=i(e,t),C=zf(o),w=[C&&Kf(C),c&&Qf(),l&&Yf(l),u&&Uf(),!h&&Wf({container:e,flipBoundary:d,hasScrollableElement:n,isRtl:r,fallbackPositions:b}),Xf({container:e,hasScrollableElement:n,overflowBoundary:f,disableTether:S,overflowBoundaryPadding:m,isRtl:r,shiftToCoverTarget:x}),C&&qf(C,{container:e,overflowBoundary:f,overflowBoundaryPadding:m,isRtl:r}),Gf(),t&&gf({element:t,padding:_}),hf({strategy:`referenceHidden`}),hf({strategy:`escaped`}),!1].filter(Boolean);return{placement:kf(y,g,r),middleware:w,strategy:v??a?`fixed`:`absolute`,disableUpdateOnResize:s,useTransform:p}},[i,r,n,a])}function tp(e){"use no memo";let t=_.useRef(null),n=_.useRef(null),r=_.useRef(null),i=_.useRef(null),a=_.useRef(null),{enabled:o=!0}=e,s=ep(e),c=_.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;let e=r.current??n.current;o&&pi()&&e&&i.current&&(t.current=Hf({container:i.current,target:e,arrow:a.current,...s(i.current,a.current)}))},[o,s]),l=L(e=>{r.current=e,c()});_.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>t.current?.updatePosition(),setTarget:t=>{e.target,l(t)}}),[e.target,l]),_i(()=>{l(e.target??null)},[e.target,l]),_i(()=>{c()},[c]);let u=Ff(null,e=>{n.current!==e&&(n.current=e,c())}),d=L(()=>e.onPositioningEnd?.call(e));return{targetRef:u,containerRef:Ff(null,e=>{if(i.current!==e){var t;(t=i.current)==null||t.removeEventListener(`fui-positioningend`,d),e?.addEventListener(`fui-positioningend`,d),i.current=e,c()}}),arrowRef:Ff(null,e=>{a.current!==e&&(a.current=e,c())})}}function np(e){return Mi(e)?{element:e}:typeof e==`object`?e===null?{element:null}:e:{}}var rp=N({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;}`]}),ip=_.useInsertionEffect,ap=e=>{"use no memo";let{className:t,dir:n,focusVisibleRef:r,targetNode:i}=e,a=_.useMemo(()=>{if(i===void 0||e.disabled)return null;let t=i.ownerDocument.createElement(`div`);return i.appendChild(t),t},[i,e.disabled]);return _.useMemo(()=>{a&&(a.className=t,a.setAttribute(`dir`,n),a.setAttribute(`data-portal-node`,`true`),r.current=a)},[t,n,a,r]),_.useEffect(()=>()=>{a?.remove()},[a]),a},op=()=>{let e;function t(t,n){return e||(n&&(e=t.ownerDocument.createElement(`div`),t.appendChild(e)),e)}function n(){e&&=(e.remove(),void 0)}return{get:t,dispose:n}},sp=ip?e=>{"use no memo";let{className:t,dir:n,focusVisibleRef:r,targetNode:i}=e,[a]=_.useState(op),o=_.useMemo(()=>i===void 0||e.disabled?null:new Proxy({},{get(e,t){if(t===`nodeType`)return 1;if(t===`remove`){let e=a.get(i,!1);return e&&e.childNodes.length===0&&a.dispose(),()=>{}}let n=a.get(i,!0),r=n?n[t]:void 0;return typeof r==`function`?r.bind(n):r},set(e,t,n){let r=t===`_virtual`||t===`focusVisible`,o=r?a.get(i,!1):a.get(i,!0);return r&&!o?!0:o?(Object.assign(o,{[t]:n}),!0):!1}}),[a,i,e.disabled]);return ip(()=>{if(!o)return;let e=t.split(` `).filter(Boolean);return o.classList.add(...e),o.setAttribute(`dir`,n),o.setAttribute(`data-portal-node`,`true`),r.current=o,()=>{o.classList.remove(...e),o.removeAttribute(`dir`)}},[t,n,o,r]),_.useEffect(()=>()=>{o?.remove()},[o]),o}:ap,cp=e=>{"use no memo";let{targetDocument:t,dir:n}=Zr(),r=oi(),i=As(),a=rp(),o=Kr();return sp({dir:n,disabled:e.disabled,focusVisibleRef:i,className:O(o,a.root,e.className),targetNode:r??t?.body})},lp=e=>{let{element:t,className:n}=np(e.mountNode),r=_.useRef(null),i=cp({disabled:!!t,className:n}),a=t??i,o={children:e.children,mountNode:a,virtualParentRootRef:r};return _.useEffect(()=>{if(!a)return;let e=r.current,t=a.contains(e);if(e&&!t)return Gi(a,e),()=>{Gi(a,void 0)}},[r,a]),o},up=l(h()),dp=e=>_.createElement(`span`,{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&up.createPortal(_.createElement(_.Fragment,null,e.children,_.createElement(`span`,{hidden:!0})),e.mountNode)),fp=e=>dp(lp(e));fp.displayName=`Portal`;var pp=e=>{let{iconOnly:t,iconPosition:n}=e;return $i(e.root,{children:[n!==`after`&&e.icon&&B(e.icon,{}),!t&&e.root.children,n===`after`&&e.icon&&B(e.icon,{})]})},mp=_.createContext(void 0),hp={};mp.Provider;var gp=()=>_.useContext(mp)??hp,_p=(e,t)=>{let{size:n}=gp(),{appearance:r=`secondary`,as:i=`button`,disabled:a=!1,disabledFocusable:o=!1,icon:s,iconPosition:c=`before`,shape:l=`rounded`,size:u=n??`medium`}=e,d=ar(s,{elementType:`span`});return{appearance:r,disabled:a,disabledFocusable:o,iconPosition:c,shape:l,size:u,iconOnly:!!(d?.children&&!e.children),components:{root:`button`,icon:`span`},root:P(zr(i,jl(e.as,e)),{elementType:`button`,defaultProps:{ref:t,type:i===`button`?`button`:void 0}}),icon:d}},vp={root:`fui-Button`,icon:`fui-Button__icon`};`${$.strokeWidthThin}`;var yp=er(`r1alrhcs`,null,{r:[`.r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}`,`.r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}`,`.r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}`,`.r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}`],s:[`@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}`,`@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}`,`@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}`]}),bp=er(`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);}`]),xp=N({outline:{De3pzq:`f1c21dwh`,Jwef8y:`fjxutwb`,iro3zm:`fwiml72`},primary:{De3pzq:`ffp7eso`,g2u3we:`f1p3nwhy`,h3c5rm:[`f11589ue`,`f1pdflbu`],B9xav0g:`f1q5o8ev`,zhjwy3:[`f1pdflbu`,`f11589ue`],sj55zd:`f1phragk`,Jwef8y:`f15wkkf3`,Bgoe8wy:`f1s2uweq`,Bwzppfd:[`fr80ssc`,`fecsdlb`],oetu4i:`f1ukrpxl`,gg5e9n:[`fecsdlb`,`fr80ssc`],Bi91k9c:`f1rq72xc`,iro3zm:`fnp9lpt`,b661bw:`f1h0usnq`,Bk6r4ia:[`fs4ktlq`,`fx2bmrt`],B9zn80p:`f16h9ulv`,Bpld233:[`fx2bmrt`,`fs4ktlq`],B2d53fq:`f1d6v5y2`,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`,rxnm8d:`fpelvsg`,Bso50sa:`f1r9enuy`,B65bq0w:[`fdvt4n0`,`f1grx941`],Buont6p:`f1l34yyb`,B0o9ejx:[`f1grx941`,`fdvt4n0`],Dcq74g:`fqfbdvs`},secondary:{},subtle:{De3pzq:`fhovq9v`,g2u3we:`f1p3nwhy`,h3c5rm:[`f11589ue`,`f1pdflbu`],B9xav0g:`f1q5o8ev`,zhjwy3:[`f1pdflbu`,`f11589ue`],sj55zd:`fkfq4zb`,Jwef8y:`f1t94bn6`,Bgoe8wy:`f1s2uweq`,Bwzppfd:[`fr80ssc`,`fecsdlb`],oetu4i:`f1ukrpxl`,gg5e9n:[`fecsdlb`,`fr80ssc`],Bi91k9c:`fnwyq0v`,Bk3fhr4:`ft1hn21`,Bmfj8id:`fuxngvv`,Bbdnnc7:`fy5bs14`,iro3zm:`fsv2rcd`,b661bw:`f1h0usnq`,Bk6r4ia:[`fs4ktlq`,`fx2bmrt`],B9zn80p:`f16h9ulv`,Bpld233:[`fx2bmrt`,`fs4ktlq`],B2d53fq:`f1omzyqd`,em6i61:`f1dfjoow`,vm6p8p:`f1j98vj9`,x3br3k:`fj8yq94`,Bahaeuw:`f1v3eptx`,Buhizc3:`fivsta0`,Dcq74g:`fqfbdvs`,zyxd5v:`f1wfsnb3`},transparent:{De3pzq:`f1c21dwh`,g2u3we:`f1p3nwhy`,h3c5rm:[`f11589ue`,`f1pdflbu`],B9xav0g:`f1q5o8ev`,zhjwy3:[`f1pdflbu`,`f11589ue`],sj55zd:`fkfq4zb`,Jwef8y:`fjxutwb`,Bgoe8wy:`f1s2uweq`,Bwzppfd:[`fr80ssc`,`fecsdlb`],oetu4i:`f1ukrpxl`,gg5e9n:[`fecsdlb`,`fr80ssc`],Bi91k9c:`f139oj5f`,Bk3fhr4:`ft1hn21`,Bmfj8id:`fuxngvv`,iro3zm:`fwiml72`,b661bw:`f1h0usnq`,Bk6r4ia:[`fs4ktlq`,`fx2bmrt`],B9zn80p:`f16h9ulv`,Bpld233:[`fx2bmrt`,`fs4ktlq`],B2d53fq:`f1fg1p5m`,em6i61:`f1dfjoow`,vm6p8p:`f1j98vj9`,Bbkh6qg:`fxoo9op`,Bahaeuw:`f1v3eptx`,rxnm8d:`f11slz88`,Dcq74g:`fqfbdvs`},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`f44lkw9`},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`f1fabniw`},small:{Bf4jedk:`fh7ncta`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`fneth5b`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`,Be2twd7:`fy9rknc`,Bhrd7zp:`figsok6`,Bg96gwp:`fwrc4pm`},smallWithIcon:{Byoj8tv:`f1brlhvm`,z8tnut:`f1sl3k7w`},medium:{},large:{Bf4jedk:`f14es27b`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f4db1ww`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`,Be2twd7:`fod5ikn`,Bhrd7zp:`fl43uef`,Bg96gwp:`faaz57k`},largeWithIcon:{Byoj8tv:`fy7v416`,z8tnut:`f1a1bwwz`}},{d:[`.f1c21dwh{background-color:var(--colorTransparentBackground);}`,`.ffp7eso{background-color:var(--colorBrandBackground);}`,`.f1p3nwhy{border-top-color:transparent;}`,`.f11589ue{border-right-color:transparent;}`,`.f1pdflbu{border-left-color:transparent;}`,`.f1q5o8ev{border-bottom-color:transparent;}`,`.f1phragk{color:var(--colorNeutralForegroundOnBrand);}`,`.fhovq9v{background-color:var(--colorSubtleBackground);}`,`.fkfq4zb{color:var(--colorNeutralForeground2);}`,[`.f44lkw9{border-radius:var(--borderRadiusCircular);}`,{p:-1}],[`.f1fabniw{border-radius:var(--borderRadiusNone);}`,{p:-1}],`.fh7ncta{min-width:64px;}`,[`.fneth5b{padding:3px var(--spacingHorizontalS);}`,{p:-1}],[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.fy9rknc{font-size:var(--fontSizeBase200);}`,`.figsok6{font-weight:var(--fontWeightRegular);}`,`.fwrc4pm{line-height:var(--lineHeightBase200);}`,`.f1brlhvm{padding-bottom:1px;}`,`.f1sl3k7w{padding-top:1px;}`,`.f14es27b{min-width:96px;}`,[`.f4db1ww{padding:8px var(--spacingHorizontalL);}`,{p:-1}],[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.fod5ikn{font-size:var(--fontSizeBase400);}`,`.fl43uef{font-weight:var(--fontWeightSemibold);}`,`.faaz57k{line-height:var(--lineHeightBase400);}`,`.fy7v416{padding-bottom:7px;}`,`.f1a1bwwz{padding-top:7px;}`],h:`.fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);},.fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);},.f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);},.f1s2uweq:hover{border-top-color:transparent;},.fr80ssc:hover{border-right-color:transparent;},.fecsdlb:hover{border-left-color:transparent;},.f1ukrpxl:hover{border-bottom-color:transparent;},.f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);},.fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);},.f1h0usnq:hover:active{border-top-color:transparent;},.fs4ktlq:hover:active{border-right-color:transparent;},.fx2bmrt:hover:active{border-left-color:transparent;},.f16h9ulv:hover:active{border-bottom-color:transparent;},.f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);},.f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);},.fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);},.ft1hn21:hover .fui-Icon-filled{display:inline;},.fuxngvv:hover .fui-Icon-regular{display:none;},.fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);},.fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);},.f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);},.f1dfjoow:hover:active .fui-Icon-filled{display:inline;},.f1j98vj9:hover:active .fui-Icon-regular{display:none;},.fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);},.f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);},.f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}`.split(`,`),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){.fpelvsg:hover:active{background-color:HighlightText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1r9enuy:hover:active{border-top-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1grx941:hover:active{border-left-color:Highlight;}.fdvt4n0:hover:active{border-right-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1l34yyb:hover:active{border-bottom-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fqfbdvs:hover:active{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){.f1wfsnb3:hover:active .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){.f11slz88:hover:active{background-color:var(--colorTransparentBackground);}}`,{m:`(forced-colors: active)`}]]}),Sp=N({base:{De3pzq:`f1bg9a2p`,g2u3we:`f1jj8ep1`,h3c5rm:[`f15xbau`,`fy0fskl`],B9xav0g:`f4ikngz`,zhjwy3:[`fy0fskl`,`f15xbau`],sj55zd:`f1s2aq7o`,Bceei9c:`fdrzuqr`,Bfinmwp:`f15x8b5r`,Jwef8y:`f1falr9n`,Bgoe8wy:`f12mpcsy`,Bwzppfd:[`f1gwvigk`,`f18rmfxp`],oetu4i:`f1jnshp0`,gg5e9n:[`f18rmfxp`,`f1gwvigk`],Bi91k9c:`fvgxktp`,eoavqd:`fphbwmw`,Bk3fhr4:`f19vpps7`,Bmfj8id:`fv5swzo`,Bbdnnc7:`f1al02dq`,iro3zm:`f1t6o4dc`,b661bw:`f10ztigi`,Bk6r4ia:[`f1ft5sdu`,`f1gzf82w`],B9zn80p:`f12zbtn2`,Bpld233:[`f1gzf82w`,`f1ft5sdu`],B2d53fq:`fcvwxyo`,c3iz72:`f8w4c43`,em6i61:`f1ol4fw6`,vm6p8p:`f1q1lw4e`,x3br3k:`f1dwjv2g`},highContrast:{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`,rxnm8d:`f1xxg0vq`,Bso50sa:`f16oldlo`,B65bq0w:[`f17g64ui`,`fqbrke7`],Buont6p:`fjvf891`,B0o9ejx:[`fqbrke7`,`f17g64ui`],Dcq74g:`f1efp33f`,zyxd5v:`f1gue8i`},outline:{De3pzq:`f1c21dwh`,Jwef8y:`f9ql6rf`,iro3zm:`f3h1zc4`},primary:{g2u3we:`f1p3nwhy`,h3c5rm:[`f11589ue`,`f1pdflbu`],B9xav0g:`f1q5o8ev`,zhjwy3:[`f1pdflbu`,`f11589ue`],Bgoe8wy:`f1s2uweq`,Bwzppfd:[`fr80ssc`,`fecsdlb`],oetu4i:`f1ukrpxl`,gg5e9n:[`fecsdlb`,`fr80ssc`],b661bw:`f1h0usnq`,Bk6r4ia:[`fs4ktlq`,`fx2bmrt`],B9zn80p:`f16h9ulv`,Bpld233:[`fx2bmrt`,`fs4ktlq`]},secondary:{},subtle:{De3pzq:`f1c21dwh`,g2u3we:`f1p3nwhy`,h3c5rm:[`f11589ue`,`f1pdflbu`],B9xav0g:`f1q5o8ev`,zhjwy3:[`f1pdflbu`,`f11589ue`],Jwef8y:`f9ql6rf`,Bgoe8wy:`f1s2uweq`,Bwzppfd:[`fr80ssc`,`fecsdlb`],oetu4i:`f1ukrpxl`,gg5e9n:[`fecsdlb`,`fr80ssc`],iro3zm:`f3h1zc4`,b661bw:`f1h0usnq`,Bk6r4ia:[`fs4ktlq`,`fx2bmrt`],B9zn80p:`f16h9ulv`,Bpld233:[`fx2bmrt`,`fs4ktlq`]},transparent:{De3pzq:`f1c21dwh`,g2u3we:`f1p3nwhy`,h3c5rm:[`f11589ue`,`f1pdflbu`],B9xav0g:`f1q5o8ev`,zhjwy3:[`f1pdflbu`,`f11589ue`],Jwef8y:`f9ql6rf`,Bgoe8wy:`f1s2uweq`,Bwzppfd:[`fr80ssc`,`fecsdlb`],oetu4i:`f1ukrpxl`,gg5e9n:[`fecsdlb`,`fr80ssc`],iro3zm:`f3h1zc4`,b661bw:`f1h0usnq`,Bk6r4ia:[`fs4ktlq`,`fx2bmrt`],B9zn80p:`f16h9ulv`,Bpld233:[`fx2bmrt`,`fs4ktlq`]}},{d:[`.f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}`,`.f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}`,`.f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}`,`.fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}`,`.f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}`,`.f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}`,`.fdrzuqr{cursor:not-allowed;}`,`.f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}`,`.f1c21dwh{background-color:var(--colorTransparentBackground);}`,`.f1p3nwhy{border-top-color:transparent;}`,`.f11589ue{border-right-color:transparent;}`,`.f1pdflbu{border-left-color:transparent;}`,`.f1q5o8ev{border-bottom-color:transparent;}`],h:`.f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);},.f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);},.f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);},.f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);},.f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);},.fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);},.fphbwmw:hover{cursor:not-allowed;},.f19vpps7:hover .fui-Icon-filled{display:none;},.fv5swzo:hover .fui-Icon-regular{display:inline;},.f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);},.f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);},.f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);},.f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);},.f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);},.f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);},.fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);},.f8w4c43:hover:active{cursor:not-allowed;},.f1ol4fw6:hover:active .fui-Icon-filled{display:none;},.f1q1lw4e:hover:active .fui-Icon-regular{display:inline;},.f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);},.f9ql6rf:hover{background-color:var(--colorTransparentBackground);},.f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);},.f1s2uweq:hover{border-top-color:transparent;},.fr80ssc:hover{border-right-color:transparent;},.fecsdlb:hover{border-left-color:transparent;},.f1ukrpxl:hover{border-bottom-color:transparent;},.f1h0usnq:hover:active{border-top-color:transparent;},.fs4ktlq:hover:active{border-right-color:transparent;},.fx2bmrt:hover:active{border-left-color:transparent;},.f16h9ulv:hover:active{border-bottom-color:transparent;}`.split(`,`),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){.f1xxg0vq:hover:active{background-color:ButtonFace;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f16oldlo:hover:active{border-top-color:GrayText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f17g64ui:hover:active{border-right-color:GrayText;}.fqbrke7:hover:active{border-left-color:GrayText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fjvf891:hover:active{border-bottom-color:GrayText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1gue8i:hover:active .fui-Button__icon{color:GrayText;}}`,{m:`(forced-colors: active)`}]]}),Cp=N({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;}}`]}),wp=N({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;}`]}),Tp=N({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);}`]}),Ep=e=>{"use no memo";let t=yp(),n=bp(),r=xp(),i=Sp(),a=Cp(),o=wp(),s=Tp(),{appearance:c,disabled:l,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:p,shape:m,size:h}=e;return e.root.className=O(vp.root,t,c&&r[c],r[h],d&&h===`small`&&r.smallWithIcon,d&&h===`large`&&r.largeWithIcon,r[m],(l||u)&&i.base,(l||u)&&i.highContrast,c&&(l||u)&&i[c],c===`primary`&&a.primary,a[h],a[m],f&&o[h],e.root.className),e.icon&&(e.icon.className=O(vp.icon,n,!!e.root.children&&s[p],s[h],e.icon.className)),e},Dp=_.forwardRef((e,t)=>{let n=_p(e,t);return Ep(n),ii(`useButtonStyles_unstable`)(n),pp(n)});Dp.displayName=`Button`;var Op=_.createContext(void 0);Op.Provider;var kp=()=>_.useContext(Op);function Ap(e,t){return jp(kp(),e,t)}function jp(e,t,n){if(!e)return t;t={...t};let{generatedControlId:r,hintId:i,labelFor:a,labelId:o,required:s,validationMessageId:c,validationState:l}=e;if(r){var u;(u=t).id??(u.id=r)}if(o&&(!n?.supportsLabelFor||a!==t.id)){var d,f;(d=t)[f=`aria-labelledby`]??(d[f]=o)}if((c||i)&&(t[`aria-describedby`]=[c,i,t?.[`aria-describedby`]].filter(Boolean).join(` `)),l===`error`){var p,m;(p=t)[m=`aria-invalid`]??(p[m]=!0)}if(s)if(n?.supportsRequired){var h;(h=t).required??(h.required=!0)}else{var g,_;(g=t)[_=`aria-required`]??(g[_]=!0)}if(n?.supportsSize){var v;(v=t).size??(v.size=e.size)}return t}var Mp=(e,t)=>{let{disabled:n=!1,required:r=!1,weight:i=`regular`,size:a=`medium`}=e;return{disabled:n,required:ar(r===!0?`*`:r||void 0,{defaultProps:{"aria-hidden":`true`},elementType:`span`}),weight:i,size:a,components:{root:`label`,required:`span`},root:P(zr(`label`,{ref:t,...e}),{elementType:`label`})}},Np=e=>$i(e.root,{children:[e.root.children,e.required&&B(e.required,{})]}),Pp={root:`fui-Label`,required:`fui-Label__required`},Fp=N({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)`}]]}),Ip=e=>{"use no memo";let t=Fp();return e.root.className=O(Pp.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight===`semibold`&&t.semibold,e.root.className),e.required&&(e.required.className=O(Pp.required,t.required,e.disabled&&t.disabled,e.required.className)),e},Lp=_.forwardRef((e,t)=>{let n=Mp(e,t);return Ip(n),ii(`useLabelStyles_unstable`)(n),Np(n)});Lp.displayName=`Label`;var Rp=(e,t)=>{"use no memo";e=Ap(e,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:n=!1,required:r,shape:i=`square`,size:a=`medium`,labelPosition:o=`after`,onChange:s}=e,[c,l]=di({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),u=Rr({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`size`,`onChange`]}),d=c===`mixed`,f=xi(`checkbox-`,u.primary.id),p;d?p=i===`circular`?_.createElement(nu,null):a===`large`?_.createElement(lu,null):_.createElement(cu,null):c&&(p=a===`large`?_.createElement(su,null):_.createElement(ou,null));let m={shape:i,checked:c,disabled:n,size:a,labelPosition:o,components:{root:`span`,input:`input`,indicator:`div`,label:Lp},root:P(e.root,{defaultProps:{ref:Fs(),...u.root},elementType:`span`}),input:P(e.input,{defaultProps:{type:`checkbox`,id:f,ref:t,checked:c===!0,...u.primary},elementType:`input`}),label:ar(e.label,{defaultProps:{htmlFor:f,disabled:n,required:r,size:`medium`},elementType:Lp}),indicator:ar(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:p},elementType:`div`})};m.input.onChange=L(e=>{let t=e.currentTarget.indeterminate?`mixed`:e.currentTarget.checked;s?.(e,{checked:t}),l(t)});let h=Si(m.input.ref);return m.input.ref=h,_i(()=>{h.current&&(h.current.indeterminate=d)},[h,d]),m},zp=e=>$i(e.root,{children:[B(e.input,{}),e.labelPosition===`before`&&e.label&&B(e.label,{}),e.indicator&&B(e.indicator,{}),e.labelPosition===`after`&&e.label&&B(e.label,{})]}),Bp={root:`fui-Checkbox`,label:`fui-Checkbox__label`,input:`fui-Checkbox__input`,indicator:`fui-Checkbox__indicator`},Vp=er(`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;}}`]}),Hp=N({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)`}]]}),Up=er(`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));}`]),Wp=N({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));}`]}),Gp=er(`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;}`]),Kp=N({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}]]}),qp=N({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);}`]}),Jp=e=>{"use no memo";let{checked:t,disabled:n,labelPosition:r,shape:i,size:a}=e,o=Vp(),s=Hp();e.root.className=O(Bp.root,o,n?s.disabled:t===`mixed`?s.mixed:t?s.checked:s.unchecked,e.root.className);let c=Up(),l=Wp();e.input.className=O(Bp.input,c,a===`large`&&l.large,l[r],e.input.className);let u=Gp(),d=Kp();e.indicator&&(e.indicator.className=O(Bp.indicator,u,a===`large`&&d.large,i===`circular`&&d.circular,e.indicator.className));let f=qp();return e.label&&(e.label.className=O(Bp.label,f.base,f[a],f[r],e.label.className)),e},Yp=_.forwardRef((e,t)=>{let n=Rp(e,t);return Jp(n),ii(`useCheckboxStyles_unstable`)(n),zp(n)});Yp.displayName=`Checkbox`;var Xp=Cl({activeOption:void 0,appearance:`outline`,focusVisible:!1,open:!1,registerOption(){return()=>void 0},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:`medium`});Xp.Provider;var Zp={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>void 0},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Qp=Cl(void 0),$p=e=>wl(Qp,(t=Zp)=>e(t));Qp.Provider;function em(e){let{appearance:t,open:n,getOptionById:r,getOptionsMatchingValue:i,registerOption:a,selectedOptions:o,selectOption:s,setOpen:c,size:l,activeDescendantController:u,onOptionClick:d,onActiveDescendantChange:f}=e,p={activeOption:void 0,appearance:t,focusVisible:!1,open:n,registerOption:a,selectedOptions:o,selectOption:s,setActiveOption:()=>null,setOpen:c,size:l},m={activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:i,registerOption:a,selectedOptions:o,selectOption:s,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:f};return{combobox:p,activeDescendant:_.useMemo(()=>({controller:u}),[u]),listbox:m}}function tm(e){let t=Tl(Qp),{getOptionById:n,getOptionsMatchingValue:r,multiselect:i,registerOption:a,selectedOptions:o,selectOption:s,activeDescendantController:c}=e,l=$p(e=>e.registerOption),u=$p(e=>e.onOptionClick),d=$p(e=>e.onActiveDescendantChange);return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:r,multiselect:i,registerOption:t?l:a,selectedOptions:o,selectOption:s,setActiveOption:()=>void 0,onOptionClick:u,onActiveDescendantChange:d},activeDescendant:_.useMemo(()=>({controller:c}),[c])}}function nm(e,t={}){let{open:n=!0,multiselect:r=!1}=t,i=e.key,{altKey:a,ctrlKey:o,key:s,metaKey:c}=e;return s.length===1&&i!==` `&&!a&&!o&&!c?`Type`:n?i===`ArrowUp`&&a||i===`Enter`||!r&&i===` `?`CloseSelect`:r&&i===` `?`Select`:i===`Escape`?`Close`:i===`ArrowDown`?`Next`:i===`ArrowUp`?`Previous`:i===`Home`?`First`:i===`End`?`Last`:i===`PageUp`?`PageUp`:i===`PageDown`?`PageDown`:i===`Tab`?`Tab`:`None`:i===`ArrowDown`||i===`ArrowUp`||i===`Enter`||i===` `?`Open`:`None`}var rm=()=>{let e=_.useRef(new Map),t=_.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>void 0,getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter(({text:e})=>t(e)),getOptionsMatchingValue:t=>{let n=[];for(let r of e.current.values())t(r.value)&&n.push(r);return n}}),[]),n=_.useCallback(t=>(e.current.set(t.id,t),()=>e.current.delete(t.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:n}},im=e=>{let{defaultSelectedOptions:t,multiselect:n,onOptionSelect:r}=e,[i,a]=di({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),r?.(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:_.useCallback((e,t)=>{if(t.disabled)return;let o=[t.value];if(n){let e=i.findIndex(e=>e===t.value);o=e>-1?[...i.slice(0,e),...i.slice(e+1)]:[...i,t.value]}a(o),r?.(e,{optionValue:t.value,optionText:t.text,selectedOptions:o})},[r,n,i,a]),selectedOptions:i}},am={root:`fui-Option`,checkIcon:`fui-Option__checkIcon`},om=N({root:{Bt984gj:`f122n59`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`,sj55zd:`f19n0e5`,i8kkvl:`f1ufnopg`,Bceei9c:`f1k6fduh`,mc9l5x:`f22iagw`,Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bg96gwp:`f1i3iumi`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`fm5eomj`,qhf8xq:`f10pi13n`,Jwef8y:`f1knas48`,Bi91k9c:`feu1g3u`,zqbkvg:`fo79ri9`,h82x05:[`f1osiabc`,`f1e8le25`],cqj998:`f1yusjty`,j3hlsh:[`f1e8le25`,`f1osiabc`],ecr2s2:`fb40n2d`,lj723h:`f1g4hkjv`,Btxx2vb:`f1lnr2zp`,sltcwy:[`f1ogfk9z`,`f1g7j8ec`],dnwvvm:`fiuf46r`,Blyvkvs:[`f1g7j8ec`,`f1ogfk9z`]},active:{Bowz1zl:`f11vrvdw`,oxogb1:`f17hxjb7`,Ix2sn8:`f1dha69c`,q7v32p:`f1lm7500`,B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:`fo7xqb`,Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:`f1kurthe`,Bhijsxg:`fwq15dy`,kktds4:`f1pb3wry`,Bmau3bo:[`ftjv2f4`,`f1flhb1f`],npektv:[`f1flhb1f`,`ftjv2f4`]},disabled:{sj55zd:`f1s2aq7o`,Jwef8y:`f9ql6rf`,Bi91k9c:`fvgxktp`,zqbkvg:`f185j3qj`,h82x05:[`f1dligi3`,`f1vydzie`],cqj998:`fjw1di3`,j3hlsh:[`f1vydzie`,`f1dligi3`],ecr2s2:`fgj9um3`,lj723h:`f19wldhg`,Btxx2vb:`f1ss0kt2`,sltcwy:[`f1t6oli3`,`fjy9ci8`],dnwvvm:`fresaxk`,Blyvkvs:[`fjy9ci8`,`f1t6oli3`],B7iucu3:`f1cyfu5x`},selected:{},checkIcon:{Bnnss6s:`fi64zpg`,Be2twd7:`fod5ikn`,Frg6f3:[`f18b9hdq`,`fn6qj8t`],t21cq0:[`f1xk557c`,`f1h9en5y`],Bcdw1i0:`fd7fpy0`,Bo70h7d:`fvc9v3g`},selectedCheck:{Bcdw1i0:`f1022m68`},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:`f1l3cf7o`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`fq9zq91`,B7ck84d:`f1ewtqcl`,mc9l5x:`f22iagw`,Bt984gj:`f122n59`,Brf1p80:`f4d9j23`,Bkfmm31:`f1w9h62z`,Be2twd7:`f1ugzwwg`,Bqenvij:`fd461yt`,a9b677:`fjw5fx7`,Bcdw1i0:`f1022m68`},selectedMultiselectCheck:{De3pzq:`ftywsgz`,sj55zd:`fqpbvvt`,g2u3we:`f3xi7mh`,h3c5rm:[`ftovhe4`,`f1wczvin`],B9xav0g:`f68vbr6`,zhjwy3:[`f1wczvin`,`ftovhe4`]},checkDisabled:{sj55zd:`f1s2aq7o`,B7iucu3:`f1cyfu5x`},multiselectCheckDisabled:{g2u3we:`f1r1t4y1`,h3c5rm:[`fmj8ijw`,`figx54m`],B9xav0g:`f360ss8`,zhjwy3:[`figx54m`,`fmj8ijw`]}},{d:[`.f122n59{align-items:center;}`,[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.f19n0e5{color:var(--colorNeutralForeground1);}`,`.f1ufnopg{column-gap:var(--spacingHorizontalXS);}`,`.f1k6fduh{cursor:pointer;}`,`.f22iagw{display:flex;}`,`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.fkhj508{font-size:var(--fontSizeBase300);}`,`.f1i3iumi{line-height:var(--lineHeightBase300);}`,[`.fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}`,{p:-1}],`.f10pi13n{position:relative;}`,`.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}`,`.f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}`,`.f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}`,`.f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}`,[`.fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}`,{p:-2}],[`.f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}`,`.f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}`,`.ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}`,`.f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}`,`.f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}`,`.fi64zpg{flex-shrink:0;}`,`.fod5ikn{font-size:var(--fontSizeBase400);}`,`.f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}`,`.fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}`,`.f1xk557c{margin-right:var(--spacingHorizontalXXS);}`,`.f1h9en5y{margin-left:var(--spacingHorizontalXXS);}`,`.fd7fpy0{visibility:hidden;}`,`.fvc9v3g svg{display:block;}`,`.f1022m68{visibility:visible;}`,[`.f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}`,{p:-2}],[`.fq9zq91{border-radius:var(--borderRadiusSmall);}`,{p:-1}],`.f1ewtqcl{box-sizing:border-box;}`,`.f4d9j23{justify-content:center;}`,`.f1w9h62z{fill:currentColor;}`,`.f1ugzwwg{font-size:12px;}`,`.fd461yt{height:16px;}`,`.fjw5fx7{width:16px;}`,`.ftywsgz{background-color:var(--colorCompoundBrandBackground);}`,`.fqpbvvt{color:var(--colorNeutralForegroundInverted);}`,`.f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}`,`.ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}`,`.f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}`,`.f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}`,`.f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}`,`.fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}`,`.figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}`,`.f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}`],h:[`.f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}`,`.feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}`,`.fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}`,`.f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}`,`.f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}`,`.f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}`,`.f9ql6rf:hover{background-color:var(--colorTransparentBackground);}`,`.fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}`,`.f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}`,`.f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}`,`.f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}`,`.fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}`],a:[`.fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}`,`.f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}`,`.f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}`,`.f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}`,`.f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}`,`.fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}`,`.fgj9um3:active{background-color:var(--colorTransparentBackground);}`,`.f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}`,`.f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}`,`.f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}`,`.fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}`,`.fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}`],m:[[`@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}`,{m:`(forced-colors: active)`}]]}),sm=e=>{"use no memo";let{disabled:t,multiselect:n,selected:r}=e,i=om();return e.root.className=O(am.root,i.root,i.active,t&&i.disabled,r&&i.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=O(am.checkIcon,i.checkIcon,n&&i.multiselectCheck,r&&i.selectedCheck,r&&n&&i.selectedMultiselectCheck,t&&i.checkDisabled,t&&n&&i.multiselectCheckDisabled,e.checkIcon.className)),e},cm={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},lm=(e,t)=>{"use no memo";let{multiselect:n,disableAutoFocus:r=!1}=e,i=rm(),{listboxRef:a,activeParentRef:o,controller:s}=ql({matchOption:e=>e.classList.contains(am.root)}),c=Tl(Qp),l=$p(e=>e.onActiveDescendantChange),u=$p(e=>e.getOptionById),d=$p(e=>e.getOptionsMatchingValue),f=c?u:i.getOptionById,p=c?d:i.getOptionsMatchingValue,m=_.useMemo(()=>{let e=null,t=e=>{l?.(e)};return n=>{if(!n){e?.removeEventListener(`activedescendantchange`,t);return}e=n,e.addEventListener(`activedescendantchange`,t)}},[l]),[h,g]=_.useState(!1);Ls(g);let v=Il(),y=Ll(),b=y?v.controller:s,{clearSelection:x,selectedOptions:S,selectOption:C}=im(e),w=e=>{let t=nm(e,{open:!0}),n=b.active(),r=n?f(n):null;switch(t){case`First`:case`Last`:case`Next`:case`Previous`:case`PageDown`:case`PageUp`:case`CloseSelect`:case`Select`:e.preventDefault();break}switch(t){case`Next`:r?b.next():b.first();break;case`Previous`:r?b.prev():b.first();break;case`PageUp`:case`First`:b.first();break;case`PageDown`:case`Last`:b.last();break;case`Select`:case`CloseSelect`:r&&C(e,r);break}},T=$p(e=>e.selectedOptions),ee=$p(e=>e.selectOption),te=c?{selectedOptions:T,selectOption:ee,...cm}:{selectedOptions:S,selectOption:C,...cm};_.useEffect(()=>{if(!y){if(b.hideFocusVisibleAttributes(),!r)if(!n&&te.selectedOptions.length>0){let e=p(e=>e===te.selectedOptions[0]).pop();e?.id&&b.focus(e.id)}else b.first();return()=>{b.blur()}}},[]);let ne=_.useCallback(()=>{y||(b.showFocusVisibleAttributes(),h&&b.scrollActiveIntoView())},[b,y,h]),re=_.useCallback(()=>{y||b.hideFocusVisibleAttributes()},[b,y]),E={components:{root:`div`},root:P(zr(`div`,{ref:Si(t,o,a,m),role:n?`menu`:`listbox`,tabIndex:0,...e}),{elementType:`div`}),standalone:!c,multiselect:n,clearSelection:x,activeDescendantController:b,onActiveDescendantChange:l,...i,...te};return E.root.onKeyDown=L(ji(E.root.onKeyDown,w)),E.root.onFocus=L(ji(E.root.onFocus,ne)),E.root.onBlur=L(ji(E.root.onBlur,re)),E},um=(e,t)=>B(Fl,{value:t.activeDescendant,children:B(Qp.Provider,{value:t.listbox,children:B(e.root,{})})}),dm={root:`fui-Listbox`},fm=N({root:{De3pzq:`fxugw4r`,B7ck84d:`f1ewtqcl`,mc9l5x:`f22iagw`,Beiy3e4:`f1vx9l62`,Bf4jedk:`f3hsy1e`,Bmxbyg5:`f5zp4f`,Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:`f1iepc6i`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f1t35pdg`,Belr9w4:`fiut8dr`}},{d:[`.fxugw4r{background-color:var(--colorNeutralBackground1);}`,`.f1ewtqcl{box-sizing:border-box;}`,`.f22iagw{display:flex;}`,`.f1vx9l62{flex-direction:column;}`,`.f3hsy1e{min-width:160px;}`,`.f5zp4f{overflow-y:auto;}`,[`.f1iepc6i{outline:1px solid var(--colorTransparentStroke);}`,{p:-1}],[`.f1t35pdg{padding:var(--spacingHorizontalXS);}`,{p:-1}],`.fiut8dr{row-gap:var(--spacingHorizontalXXS);}`]}),pm=e=>{"use no memo";let t=fm();return e.root.className=O(dm.root,t.root,e.root.className),e},mm=_.forwardRef((e,t)=>{let n=lm(e,t),r=tm(n);return pm(n),ii(`useListboxStyles_unstable`)(n),um(n,r)});mm.displayName=`Listbox`;function hm(e,t){if(e!==void 0)return e;let n=``,r=!1;return _.Children.forEach(t,e=>{typeof e==`string`?n+=e:r=!0}),r&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}var gm=(e,t)=>{let{children:n,disabled:r,text:i,value:a}=e,o=_.useRef(null),s=hm(i,n),c=a??s,l=xi(`fluent-option`,e.id),u=_.useMemo(()=>({id:l,disabled:r,text:s,value:c}),[l,r,s,c]),{controller:d}=Il(),f=$p(e=>e.multiselect),p=$p(e=>e.registerOption),m=$p(e=>{let t=e.selectedOptions;return c!==void 0&&t.find(e=>e===c)!==void 0}),h=$p(e=>e.selectOption),g=$p(e=>e.onOptionClick),v=_.createElement(eu,null);f&&(v=m?_.createElement(ou,null):``);let y=t=>{var n;if(r){t.preventDefault();return}d.focus(l),h(t,u),g(t),(n=e.onClick)==null||n.call(e,t)};_.useEffect(()=>{if(l&&o.current)return p(u,o.current)},[l,u,p]);let b=f?{role:`menuitemcheckbox`,"aria-checked":m}:{role:`option`,"aria-selected":m};return{components:{root:`div`,checkIcon:`span`},root:P(zr(`div`,{ref:Si(t,o),"aria-disabled":r?`true`:void 0,id:l,...b,...e,onClick:y}),{elementType:`div`}),checkIcon:ar(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":`true`,children:v},elementType:`span`}),disabled:r,multiselect:f,selected:m,focusVisible:!1,active:!1}},_m=e=>$i(e.root,{children:[e.checkIcon&&B(e.checkIcon,{}),e.root.children]}),vm=_.forwardRef((e,t)=>{let n=gm(e,t);return sm(n),ii(`useOptionStyles_unstable`)(n),_m(n)});vm.displayName=`Option`;var ym=e=>{"use no memo";let{appearance:t=`outline`,disableAutoFocus:n,children:r,clearable:i=!1,editable:a=!1,inlinePopup:o=!1,mountNode:s=void 0,multiselect:c,onOpenChange:l,size:u=`medium`,activeDescendantController:d,freeform:f=!1,disabled:p=!1,onActiveOptionChange:m=null}=e,h=rm(),{getOptionsMatchingValue:g}=h,{getOptionById:v}=h,y=_.useCallback(()=>{let e=d.active();return e?v(e):void 0},[d,v]),b=y(),x=_.useCallback(e=>{let t;typeof e==`function`&&(t=e(y())),t?d.focus(t.id):d.blur()},[d,y]),[S,C]=_.useState(!1),[w,T]=_.useState(!1),ee=_.useRef(!1),te=vi(),[ne,re]=di({state:e.value,initialState:void 0}),{selectedOptions:E,selectOption:ie,clearSelection:ae}=im(e),oe=_.useCallback((e,t)=>{up.unstable_batchedUpdates(()=>{re(void 0),ie(e,t)})},[re,ie]),se=_.useMemo(()=>{if(ne!==void 0)return ne;if(te&&e.defaultValue!==void 0)return e.defaultValue;let t=g(e=>E.includes(e)).map(e=>e.text);return c?a?``:t.join(`, `):t[0]},[ne,a,g,c,E]),[ce,le]=di({state:e.open,defaultState:e.defaultOpen,initialState:!1}),ue=_.useCallback((e,t)=>{p||(l?.(e,{open:t}),up.unstable_batchedUpdates(()=>{!t&&!f&&re(void 0),le(t)}))},[l,le,re,f,p]);_.useEffect(()=>{if(ce){if(!c&&E.length>0){let e=g(e=>e===E[0]).pop();e?.id&&d.focus(e.id)}}else d.blur()},[ce,d]),_.useEffect(()=>{ce&&!n&&!d.active()&&d.first()},[ce,r,n,d,v]);let de=L(e=>{let t=e.detail.previousId?h.getOptionById(e.detail.previousId):null,n=h.getOptionById(e.detail.id);m?.(e,{event:e,type:`change`,previousOption:t,nextOption:n})});return{...h,freeform:f,disabled:p,selectOption:oe,clearSelection:ae,selectedOptions:E,activeOption:b,appearance:t,clearable:i,focusVisible:S,ignoreNextBlur:ee,inlinePopup:o,mountNode:s,open:ce,hasFocus:w,setActiveOption:x,setFocusVisible:C,setHasFocus:T,setOpen:ue,setValue:re,size:u,value:se,multiselect:c,onOptionClick:L(e=>{c||ue(e,!1)}),onActiveDescendantChange:de}};function bm(e){let{positioning:t}=e,{targetRef:n,containerRef:r}=tp({position:`below`,align:`start`,offset:{crossAxis:0,mainAxis:2},fallbackPositions:[`above`,`after`,`after-top`,`before`,`before-top`],matchTargetSize:`width`,autoSize:!0,...Pf(t)});return[r,n]}function xm(e,t,n){let{state:{multiselect:r},triggerRef:i,defaultProps:a}=n,o=xi(`fluent-listbox`,cr(e)?e.id:void 0),s=ar(e,{renderByDefault:!0,elementType:mm,defaultProps:{id:o,multiselect:r,tabIndex:void 0,...a}}),c=Ap({id:o},{supportsLabelFor:!0});s&&!s[`aria-label`]&&!s[`aria-labelledby`]&&c[`aria-labelledby`]&&(s[`aria-labelledby`]=c[`aria-labelledby`]);let l=L(ji(e=>{e.preventDefault()},s?.onMouseDown)),u=L(ji(e=>{var t;e.preventDefault(),(t=i.current)==null||t.focus()},s?.onClick)),d=Si(s?.ref,t);return s&&(s.ref=d,s.onMouseDown=l,s.onClick=u),s}function Sm(e,t,n){let{state:{open:r,setOpen:i,setHasFocus:a},defaultProps:o,elementType:s,activeDescendantController:c}=n,l=P(e,{defaultProps:{type:`text`,"aria-expanded":r,role:`combobox`,...typeof o==`object`&&o},elementType:s});return l.ref=Si(_.useRef(null),l.ref,t),l.onBlur=ji(e=>{i(e,!1),a(!1)},l.onBlur),l.onFocus=ji(e=>{e.target===e.currentTarget&&a(!0)},l.onFocus),l.onClick=ji(e=>{i(e,!r)},l.onClick),l.onKeyDown=ji(Cm({activeDescendantController:c,...n.state}),l.onKeyDown),l}function Cm(e){let{activeDescendantController:t,getOptionById:n,setOpen:r,selectOption:i,multiselect:a,open:o}=e,s=_.useCallback(()=>{let e=t.active();return e?n(e):void 0},[t,n]),c=()=>{t.first()},l=()=>{t.last()},u=e=>{e?t.next():t.first()},d=e=>{e?t.prev():t.first()},f=()=>{for(let e=0;e<10;e++)t.prev()},p=()=>{for(let e=0;e<10;e++)t.next()},m=Vs();return L(e=>{let t=nm(e,{open:o,multiselect:a}),n=s();switch(t){case`First`:case`Last`:case`Next`:case`Previous`:case`PageDown`:case`PageUp`:case`Open`:case`Close`:case`CloseSelect`:case`Select`:e.preventDefault();break}switch(m(!0),t){case`First`:c();break;case`Last`:l();break;case`Next`:u(n);break;case`Previous`:d(n);break;case`PageDown`:p();break;case`PageUp`:f();break;case`Open`:r(e,!0);break;case`Close`:e.stopPropagation(),r(e,!1);break;case`CloseSelect`:!a&&!n?.disabled&&r(e,!1);case`Select`:n&&i(e,n);break;case`Tab`:!a&&n&&i(e,n);break}})}function wm(e,t,n){"use no memo";let{state:{open:r,setOpen:i,getOptionById:a},defaultProps:o,activeDescendantController:s}=n,c=_.useRef(``),[l,u]=Ai(),d=(e,t={startFromNext:!1})=>{let{startFromNext:n}=t,r=s.active();return s.find(t=>{let n=a(t);return!!n&&e(n.text)},{startFrom:n?s.next({passive:!0}):r})||s.find(t=>{let n=a(t);return!!n&&e(n.text)})},f=()=>{d(e=>e.toLocaleLowerCase().indexOf(c.current)===0,{startFromNext:c.current.length===1})||Tm(c.current)&&d(e=>e.toLocaleLowerCase().indexOf(c.current[0])===0,{startFromNext:!0})||s.blur()},p=e=>{u(),nm(e)===`Type`&&(c.current+=e.key.toLowerCase(),l(()=>{c.current=``},500),r&&f(),!r&&i(e,!0))},m=Sm(e,t,{state:n.state,defaultProps:o,elementType:`button`,activeDescendantController:s});return m.onKeyDown=ji(p,m.onKeyDown),m}function Tm(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}var Em=(e,t)=>{"use no memo";e=Ap(e,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:n,activeParentRef:r,controller:i}=ql({matchOption:e=>e.classList.contains(am.root)}),a=ym({...e,activeDescendantController:i,freeform:!1}),{clearable:o,clearSelection:s,disabled:c,hasFocus:l,multiselect:u,open:d,selectedOptions:f,setOpen:p}=a,{primary:m,root:h}=Rr({props:e,primarySlotTagName:`button`,excludedPropNames:[`children`]}),[g,v]=bm(e),y=_.useRef(null),b=xm(e.listbox,Si(g,n),{state:a,triggerRef:y,defaultProps:{children:e.children}}),{targetDocument:x}=Zr();wi({element:x,callback:e=>p(e,!1),refs:[y,g,v],disabled:!d});let S=wm(e.button??{},Si(y,r,t),{state:a,defaultProps:{type:`button`,tabIndex:m.disabled?void 0:0,children:a.value||e.placeholder,"aria-controls":d?b?.id:void 0,...m},activeDescendantController:i}),C=P(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&d?b?.id:void 0,children:e.children,...h},elementType:`div`});C.ref=Si(C.ref,v);let w=f.length>0&&!c&&o&&!u,T={components:{root:`div`,button:`button`,clearButton:`button`,expandIcon:`span`,listbox:mm},root:C,button:S,listbox:d||l?b:void 0,clearButton:ar(e.clearButton,{defaultProps:{"aria-label":`Clear selection`,children:_.createElement(ru,null),tabIndex:w?0:void 0,type:`button`},elementType:`button`,renderByDefault:!0}),expandIcon:ar(e.expandIcon,{renderByDefault:!0,defaultProps:{children:_.createElement(tu,null)},elementType:`span`}),placeholderVisible:!a.value&&!!e.placeholder,showClearButton:w,activeDescendantController:i,...a},ee=L(ji(T.clearButton?.onClick,e=>{var t;s(e),(t=y.current)==null||t.focus()}));return T.clearButton&&(T.clearButton.onClick=ee),u&&(T.clearButton=void 0),T},Dm=(e,t)=>B(e.root,{children:B(Fl,{value:t.activeDescendant,children:B(Qp.Provider,{value:t.listbox,children:$i(Xp.Provider,{value:t.combobox,children:[$i(e.button,{children:[e.button.children,e.expandIcon&&B(e.expandIcon,{})]}),e.clearButton&&B(e.clearButton,{}),e.listbox&&(e.inlinePopup?B(e.listbox,{}):B(fp,{mountNode:e.mountNode,children:B(e.listbox,{})}))]})})})}),Om={root:`fui-Dropdown`,button:`fui-Dropdown__button`,clearButton:`fui-Dropdown__clearButton`,expandIcon:`fui-Dropdown__expandIcon`,listbox:`fui-Dropdown__listbox`},km=N({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`,B7ck84d:`f1ewtqcl`,mc9l5x:`ftuwxu6`,Bf4jedk:`f1exfvgq`,qhf8xq:`f10pi13n`,ha4doy:`fmrv4ls`,Bbr2w1p:`f14a1fxs`,Bduesf4:`f3e99gv`,Bpq79vn:`fhljsf7`,li1rpt:`f1gw3sf2`,Bsft5z2:`f13zj6fq`,E3zdtr:`f1mdlcz9`,Eqx8gd:[`f1a7op3`,`f1cjjd47`],By385i5:`f1gboi2j`,B1piin3:[`f1cjjd47`,`f1a7op3`],Dlnsje:`ffyw7fx`,d9w3h3:[`f1kp91vd`,`f1ibwz09`],B3778ie:[`f1ibwz09`,`f1kp91vd`],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:`f1mnjydx`,Gjdm7m:`f13evtba`,b1kco5:`f1yk9hq`,Ba2ppi3:`fhwpy7i`,F2fol1:`f14ee0xe`,lck23g:`f1xhbsuh`,wi16st:`fsrmcvb`,ywj3b2:`f1t3k7v9`,umuwi5:`fjw5xc1`,Blcqepd:`f1xdyd5c`,nplu4u:`fatpbeo`,Bioka5o:`fb7uyps`,Bnupc0a:`fx04xgm`,bing71:`f1c7in40`,Bercvud:`f1ibeo51`,Br277j9:`f18qfb8s`,Btis473:`f1m082s7`},listbox:{B7ck84d:`f1ewtqcl`,E5pizo:`f1hg901r`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`,Bxyxcbc:`fmmk62d`},listboxCollapsed:{mc9l5x:`fjseox`},inlineListbox:{Bj3rh1h:`f19g0ac`},button:{Bt984gj:`f122n59`,De3pzq:`f1c21dwh`,Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:`f3bhgqh`,B7ck84d:`f1ewtqcl`,sj55zd:`f19n0e5`,i8kkvl:`f14mj54c`,Bceei9c:`f1k6fduh`,mc9l5x:`f13qh94s`,Bahqtrf:`fk6fouc`,Budl1dq:`f12nh0o2`,Brf1p80:`f1869bpl`,fsow6f:[`f1o700av`,`fes3tcz`],a9b677:`fly5x3f`,Brovlpu:`ftqa4ok`},placeholder:{sj55zd:`fxc4j92`},small:{Bahqtrf:`fk6fouc`,Be2twd7:`fy9rknc`,Bhrd7zp:`figsok6`,Bg96gwp:`fwrc4pm`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:[`fye6m5k`,`f3cq2dl`]},medium:{Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bhrd7zp:`figsok6`,Bg96gwp:`f1i3iumi`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:[`f14ev680`,`f58uxzw`]},large:{i8kkvl:`f1rjii52`,Bahqtrf:`fk6fouc`,Be2twd7:`fod5ikn`,Bhrd7zp:`figsok6`,Bg96gwp:`faaz57k`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:[`f139mn7i`,`f1v3q0m`]},outline:{De3pzq:`fxugw4r`,Bgfg5da:0,B9xav0g:`f1c1zstj`,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:`fhz96rm`},outlineInteractive:{Bgoe8wy:`fvcxoqz`,Bwzppfd:[`f1ub3y4t`,`f1m52nbi`],oetu4i:`f1l4zc64`,gg5e9n:[`f1m52nbi`,`f1ub3y4t`],B6oc9vd:`fvs00aa`,ak43y8:[`f1assf6x`,`f4ruux4`],wmxk5l:`f1z0osm6`,B50zh58:[`f4ruux4`,`f1assf6x`],Bvq3b66:`f1b473iu`,Brahy3i:[`f381qr8`,`ft4skwv`],zoxjo1:`f1qzcrsd`,an54nd:[`ft4skwv`,`f381qr8`]},underline:{De3pzq:`f1c21dwh`,B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:`f9ez7ne`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`fokr779`},"filled-lighter":{De3pzq:`fxugw4r`,Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:`fs2rfia`},"filled-darker":{De3pzq:`f16xq7d1`,Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:`fs2rfia`},invalid:{tvckwq:`fs4k3qj`,gk2u95:[`fcee079`,`fmyw78r`],hhx65j:`f1fgmyf4`,Bxowmz0:[`fmyw78r`,`fcee079`]},invalidUnderline:{hhx65j:`f1fgmyf4`},disabled:{Bceei9c:`fdrzuqr`,De3pzq:`f1c21dwh`,g2u3we:`f1jj8ep1`,h3c5rm:[`f15xbau`,`fy0fskl`],B9xav0g:`f4ikngz`,zhjwy3:[`fy0fskl`,`f15xbau`],Bcq6wej:`f9dbb4x`,Jcjdmf:[`f3qs60o`,`f5u9ap2`],sc4o1m:`fwd1oij`,Bosien3:[`f5u9ap2`,`f3qs60o`]},disabledText:{sj55zd:`f1s2aq7o`,Bceei9c:`fdrzuqr`},hidden:{mc9l5x:`fjseox`}},{d:[[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.f1ewtqcl{box-sizing:border-box;}`,`.ftuwxu6{display:inline-flex;}`,`.f1exfvgq{min-width:250px;}`,`.f10pi13n{position:relative;}`,`.fmrv4ls{vertical-align:middle;}`,`.f1gw3sf2::after{box-sizing:border-box;}`,`.f13zj6fq::after{content:"";}`,`.f1mdlcz9::after{position:absolute;}`,`.f1a7op3::after{left:-1px;}`,`.f1cjjd47::after{right:-1px;}`,`.f1gboi2j::after{bottom:-1px;}`,`.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}],`.f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}`,`.f1yk9hq::after{transform:scaleX(0);}`,`.fhwpy7i::after{transition-property:transform;}`,`.f14ee0xe::after{transition-duration:var(--durationUltraFast);}`,`.f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}`,`.f1hg901r{box-shadow:var(--shadow16);}`,[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.fmmk62d{max-height:80vh;}`,`.fjseox{display:none;}`,`.f19g0ac{z-index:1;}`,`.f122n59{align-items:center;}`,`.f1c21dwh{background-color:var(--colorTransparentBackground);}`,[`.f3bhgqh{border:none;}`,{p:-2}],`.f19n0e5{color:var(--colorNeutralForeground1);}`,`.f14mj54c{column-gap:var(--spacingHorizontalXXS);}`,`.f1k6fduh{cursor:pointer;}`,`.f13qh94s{display:grid;}`,`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}`,`.f1869bpl{justify-content:space-between;}`,`.f1o700av{text-align:left;}`,`.fes3tcz{text-align:right;}`,`.fly5x3f{width:100%;}`,`.fxc4j92{color:var(--colorNeutralForeground4);}`,`.fy9rknc{font-size:var(--fontSizeBase200);}`,`.figsok6{font-weight:var(--fontWeightRegular);}`,`.fwrc4pm{line-height:var(--lineHeightBase200);}`,[`.fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}`,{p:-1}],[`.f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}`,{p:-1}],`.fkhj508{font-size:var(--fontSizeBase300);}`,`.f1i3iumi{line-height:var(--lineHeightBase300);}`,[`.f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}`,{p:-1}],[`.f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}`,{p:-1}],`.f1rjii52{column-gap:var(--spacingHorizontalSNudge);}`,`.fod5ikn{font-size:var(--fontSizeBase400);}`,`.faaz57k{line-height:var(--lineHeightBase400);}`,[`.f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}`,{p:-1}],[`.f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}`,{p:-1}],`.fxugw4r{background-color:var(--colorNeutralBackground1);}`,[`.fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}`,{p:-2}],`.f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}`,[`.f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}`,{p:-1}],[`.fokr779{border-radius:0;}`,{p:-1}],[`.fs2rfia{border:var(--strokeWidthThin) solid transparent;}`,{p:-2}],`.f16xq7d1{background-color:var(--colorNeutralBackground3);}`,[`.fs2rfia{border:var(--strokeWidthThin) solid transparent;}`,{p:-2}],`.fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}`,`.fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}`,`.fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}`,`.f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}`,`.fdrzuqr{cursor:not-allowed;}`,`.f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}`,`.f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}`,`.fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}`,`.f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}`,`.f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}`],w:[`.f14a1fxs:focus-within{outline-width:2px;}`,`.f3e99gv:focus-within{outline-style:solid;}`,`.fhljsf7:focus-within{outline-color:transparent;}`,`.fjw5xc1:focus-within::after{transform:scaleX(1);}`,`.f1xdyd5c:focus-within::after{transition-property:transform;}`,`.fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}`,`.fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}`,`.f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}`,`.f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}`,`.f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}`,`.ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}`,`.f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}`],m:[[`@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}],[`@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}],[`@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}],[`@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}],[`@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}`,{m:`(forced-colors: active)`}]],t:[`@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}`,`@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}`],f:[`.ftqa4ok:focus{outline-style:none;}`],h:[`.fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}`,`.f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}`,`.f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}`,`.f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}`],a:[`.fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}`,`.f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}`,`.f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}`,`.f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}`]}),Am=N({icon:{B7ck84d:`f1ewtqcl`,sj55zd:`fxkbij4`,mc9l5x:`ftgm304`,Be2twd7:`f1pp30po`,Br312pm:`f12w6cgp`,Bw0ie65:`f8bv1bt`,Bo70h7d:`fvc9v3g`},small:{Be2twd7:`f4ybsrx`,Frg6f3:[`f1h9en5y`,`f1xk557c`]},medium:{Be2twd7:`fe5j1ua`,Frg6f3:[`f1h9en5y`,`f1xk557c`]},large:{Be2twd7:`f1rt2boy`,Frg6f3:[`f1t5qyk5`,`f1ikr372`]},disabled:{sj55zd:`f1s2aq7o`}},{d:[`.f1ewtqcl{box-sizing:border-box;}`,`.fxkbij4{color:var(--colorNeutralStrokeAccessible);}`,`.ftgm304{display:block;}`,`.f1pp30po{font-size:var(--fontSizeBase500);}`,`.f12w6cgp{grid-column-start:icon;}`,`.f8bv1bt{grid-column-end:end;}`,`.fvc9v3g svg{display:block;}`,`.f4ybsrx{font-size:16px;}`,`.f1h9en5y{margin-left:var(--spacingHorizontalXXS);}`,`.f1xk557c{margin-right:var(--spacingHorizontalXXS);}`,`.fe5j1ua{font-size:20px;}`,`.f1rt2boy{font-size:24px;}`,`.f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}`,`.f1ikr372{margin-right:var(--spacingHorizontalSNudge);}`,`.f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}`]}),jm=er(`rticfuj`,`r1vp6jef`,{r:[`.rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}`,`.rticfuj:focus{outline-style:none;}`,`.rticfuj:focus-visible{outline-style:none;}`,`.rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}`,`.rticfuj[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);}`,`.r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}`,`.r1vp6jef:focus{outline-style:none;}`,`.r1vp6jef:focus-visible{outline-style:none;}`,`.r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}`,`.r1vp6jef[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){.rticfuj[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){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}`]}),Mm=e=>{"use no memo";let{appearance:t,open:n,placeholderVisible:r,showClearButton:i,size:a}=e,o=`${e.button[`aria-invalid`]}`==`true`,s=e.button.disabled,c=km(),l=Am(),u=jm();return e.root.className=O(Om.root,c.root,c[t],!s&&t===`outline`&&c.outlineInteractive,o&&t!==`underline`&&c.invalid,o&&t===`underline`&&c.invalidUnderline,s&&c.disabled,e.root.className),e.button.className=O(Om.button,c.button,c[a],r&&c.placeholder,s&&c.disabledText,e.button.className),e.listbox&&(e.listbox.className=O(Om.listbox,c.listbox,e.inlinePopup&&c.inlineListbox,!n&&c.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=O(Om.expandIcon,l.icon,l[a],s&&l.disabled,i&&c.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=O(Om.clearButton,u,l.icon,l[a],s&&l.disabled,!i&&c.hidden,e.clearButton.className)),e},Nm=_.forwardRef((e,t)=>{let n=Em(e,t),r=em(n);return Mm(n),ii(`useDropdownStyles_unstable`)(n),Dm(n,r)});Nm.displayName=`Dropdown`;var Pm=(e,t)=>{e=Ap(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let n=ei(),{size:r=`medium`,appearance:i=n.inputDefaultAppearance??`outline`,onChange:a}=e,[o,s]=di({state:e.value,defaultState:e.defaultValue,initialState:``}),c=Rr({props:e,primarySlotTagName:`input`,excludedPropNames:[`size`,`onChange`,`value`,`defaultValue`]}),l={size:r,appearance:i,components:{root:`span`,input:`input`,contentBefore:`span`,contentAfter:`span`},input:P(e.input,{defaultProps:{type:`text`,ref:t,...c.primary},elementType:`input`}),contentAfter:ar(e.contentAfter,{elementType:`span`}),contentBefore:ar(e.contentBefore,{elementType:`span`}),root:P(e.root,{defaultProps:c.root,elementType:`span`})};return l.input.value=o,l.input.onChange=L(e=>{let t=e.target.value;a?.(e,{value:t}),s(t)}),l},Fm={root:`fui-Input`,input:`fui-Input__input`,contentBefore:`fui-Input__contentBefore`,contentAfter:`fui-Input__contentAfter`};$.spacingHorizontalSNudge,$.spacingHorizontalMNudge,$.spacingHorizontalM,$.spacingHorizontalXXS,$.spacingHorizontalXXS,$.spacingHorizontalSNudge,$.spacingHorizontalS,$.spacingHorizontalM,`${$.spacingHorizontalM}${$.spacingHorizontalSNudge}`;var Im=er(`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;}}`]}),Lm=N({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;}`]}),Rm=er(`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;}`]),zm=N({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);}`]}),Bm=er(`r1572tok`,null,[`.r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}`,`.r1572tok>svg{font-size:20px;}`]),Vm=N({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;}`]}),Hm=e=>{"use no memo";let{size:t,appearance:n}=e,r=e.input.disabled,i=`${e.input[`aria-invalid`]}`==`true`,a=n.startsWith(`filled`),o=Lm(),s=zm(),c=Vm();e.root.className=O(Fm.root,Im(),o[t],e.contentBefore&&o[`${t}WithContentBefore`],e.contentAfter&&o[`${t}WithContentAfter`],o[n],!r&&n===`outline`&&o.outlineInteractive,!r&&n===`underline`&&o.underlineInteractive,!r&&a&&o.filledInteractive,a&&o.filled,!r&&i&&o.invalid,r&&o.disabled,e.root.className),e.input.className=O(Fm.input,Rm(),s[t],e.contentBefore&&s[`${t}WithContentBefore`],e.contentAfter&&s[`${t}WithContentAfter`],r&&s.disabled,e.input.className);let l=[Bm(),r&&c.disabled,c[t]];return e.contentBefore&&(e.contentBefore.className=O(Fm.contentBefore,...l,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=O(Fm.contentAfter,...l,e.contentAfter.className)),e},Um=_.createContext(void 0),Wm={};Um.Provider;var Gm=()=>_.useContext(Um)||Wm,Km=e=>$i(e.root,{children:[B(e.input,{}),B(e.indicator,{}),e.label&&B(e.label,{})]}),qm=(e,t)=>{let n=Gm(),{name:r=n.name,checked:i=n.value===void 0?void 0:n.value===e.value,defaultChecked:a=n.defaultValue===void 0?void 0:n.defaultValue===e.value,labelPosition:o=n.layout===`horizontal-stacked`?`below`:`after`,disabled:s=n.disabled,required:c=n.required,"aria-describedby":l=n[`aria-describedby`],onChange:u}=e,d=Rr({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`onChange`]}),f=P(e.root,{defaultProps:{ref:Fs(),...d.root},elementType:`span`}),p=P(e.input,{defaultProps:{ref:t,type:`radio`,id:xi(`radio-`,d.primary.id),name:r,checked:i,defaultChecked:a,disabled:s,required:c,"aria-describedby":l,...d.primary},elementType:`input`});p.onChange=ji(p.onChange,e=>u?.(e,{value:e.currentTarget.value}));let m=ar(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:Lp}),h=P(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:`div`});return{labelPosition:o,components:{root:`span`,input:`input`,label:Lp,indicator:`div`},root:f,input:p,label:m,indicator:h}},Jm={root:`fui-Radio`,indicator:`fui-Radio__indicator`,input:`fui-Radio__input`,label:`fui-Radio__label`},Ym=er(`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;}}`]}),Xm=N({vertical:{Beiy3e4:`f1vx9l62`,Bt984gj:`f122n59`}},{d:[`.f1vx9l62{flex-direction:column;}`,`.f122n59{align-items:center;}`]}),Zm=er(`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);}`.split(`,`),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;}}`]}),Qm=N({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;}`]}),$m=er(`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;}`]),eh=N({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;}`]}),th=e=>{"use no memo";let{labelPosition:t}=e,n=Ym(),r=Xm();e.root.className=O(Jm.root,n,t===`below`&&r.vertical,e.root.className);let i=Zm(),a=Qm();e.input.className=O(Jm.input,i,t===`below`&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);let o=$m();e.indicator.className=O(Jm.indicator,o,e.indicator.className);let s=eh();return e.label&&(e.label.className=O(Jm.label,s.base,s[t],e.label.className)),e},nh=_.forwardRef((e,t)=>{let n=qm(e,t);return th(n),ii(`useRadioStyles_unstable`)(n),Km(n)});nh.displayName=`Radio`;var rh=_.createContext(void 0),ih={};rh.Provider;var ah=()=>_.useContext(rh)??ih,oh=(e,t)=>{let{size:n}=ah(),{appearance:r=`primary`,labelPosition:i=`after`,size:a=n??`medium`,delay:o=0}=e,s=xi(`spinner`),{role:c=`progressbar`,...l}=e,u=P(zr(`div`,{ref:t,role:c,...l},[`size`]),{elementType:`div`}),[d,f]=_.useState(!1),[p,m]=Ai();_.useEffect(()=>{if(!(o<=0))return p(()=>{f(!0)},o),()=>{m()}},[p,m,o]);let h=ar(e.label,{defaultProps:{id:s},renderByDefault:!1,elementType:Lp}),g=ar(e.spinner,{renderByDefault:!0,elementType:`span`});return h&&u&&!u[`aria-labelledby`]&&(u[`aria-labelledby`]=h.id),{appearance:r,delay:o,labelPosition:i,size:a,shouldRenderSpinner:!o||d,components:{root:`div`,spinner:`span`,spinnerTail:`span`,label:Lp},root:u,spinner:g,spinnerTail:P(e.spinnerTail,{elementType:`span`}),label:h}},sh=e=>{let{labelPosition:t,shouldRenderSpinner:n}=e;return $i(e.root,{children:[e.label&&n&&(t===`above`||t===`before`)&&B(e.label,{}),e.spinner&&n&&B(e.spinner,{children:e.spinnerTail&&B(e.spinnerTail,{})}),e.label&&n&&(t===`below`||t===`after`)&&B(e.label,{})]})},ch={root:`fui-Spinner`,spinner:`fui-Spinner__spinner`,spinnerTail:`fui-Spinner__spinnerTail`,label:`fui-Spinner__label`},lh=er(`rpp59a7`,null,[`.rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}`]),uh=N({vertical:{Beiy3e4:`f1vx9l62`}},{d:[`.f1vx9l62{flex-direction:column;}`]}),dh=er(`rvgcg50`,`r15nd2jo`,{r:[`.rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}`,`@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}`,`.r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}`,`@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}`],s:[`@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}`,`@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}`,`@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}`,`@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}`]}),fh=er(`rxov3xa`,`r1o544mv`,{r:[`.rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}`,`.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}`,`@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}`,`.rxov3xa::before{animation-name:r18vhmn8;}`,`@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}`,`.rxov3xa::after{animation-name:rkgrvoi;}`,`@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}`,`.r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}`,`.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}`,`@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}`,`.r1o544mv::before{animation-name:r17whflh;}`,`@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}`,`.r1o544mv::after{animation-name:re4odhl;}`,`@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}`],s:[`@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}`,`@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}`]}),ph=N({inverted:{De3pzq:`fr407j0`,sj55zd:`f1f7voed`},rtlTail:{btxmck:`f179dep3`,gb5jj2:`fbz9ihp`,Bdya8wy:`f1pme1qz`},"extra-tiny":{Bqenvij:`fd461yt`,a9b677:`fjw5fx7`,qmp6fs:`f1v3ph3m`},tiny:{Bqenvij:`fjamq6b`,a9b677:`f64fuq3`,qmp6fs:`f1v3ph3m`},"extra-small":{Bqenvij:`frvgh55`,a9b677:`fq4mcun`,qmp6fs:`f1v3ph3m`},small:{Bqenvij:`fxldao9`,a9b677:`f1w9dchk`,qmp6fs:`f1v3ph3m`},medium:{Bqenvij:`f1d2rq10`,a9b677:`f1szoe96`,qmp6fs:`fb52u90`},large:{Bqenvij:`f8ljn23`,a9b677:`fpdz1er`,qmp6fs:`fb52u90`},"extra-large":{Bqenvij:`fbhnoac`,a9b677:`feqmc2u`,qmp6fs:`fb52u90`},huge:{Bqenvij:`f1ft4266`,a9b677:`fksc0bp`,qmp6fs:`fa3u9ii`}},{d:[`.fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}`,`.f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}`,`.f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}`,`.fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}`,`.fd461yt{height:16px;}`,`.fjw5fx7{width:16px;}`,`.f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}`,`.fjamq6b{height:20px;}`,`.f64fuq3{width:20px;}`,`.frvgh55{height:24px;}`,`.fq4mcun{width:24px;}`,`.fxldao9{height:28px;}`,`.f1w9dchk{width:28px;}`,`.f1d2rq10{height:32px;}`,`.f1szoe96{width:32px;}`,`.fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}`,`.f8ljn23{height:36px;}`,`.fpdz1er{width:36px;}`,`.fbhnoac{height:40px;}`,`.feqmc2u{width:40px;}`,`.f1ft4266{height:44px;}`,`.fksc0bp{width:44px;}`,`.fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}`],m:[[`@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}`,{m:`screen and (prefers-reduced-motion: reduce)`}]]}),mh=N({inverted:{sj55zd:`fonrgv7`},"extra-tiny":{Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bhrd7zp:`figsok6`,Bg96gwp:`f1i3iumi`},tiny:{Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bhrd7zp:`figsok6`,Bg96gwp:`f1i3iumi`},"extra-small":{Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bhrd7zp:`figsok6`,Bg96gwp:`f1i3iumi`},small:{Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bhrd7zp:`figsok6`,Bg96gwp:`f1i3iumi`},medium:{Bahqtrf:`fk6fouc`,Be2twd7:`fod5ikn`,Bhrd7zp:`fl43uef`,Bg96gwp:`faaz57k`},large:{Bahqtrf:`fk6fouc`,Be2twd7:`fod5ikn`,Bhrd7zp:`fl43uef`,Bg96gwp:`faaz57k`},"extra-large":{Bahqtrf:`fk6fouc`,Be2twd7:`fod5ikn`,Bhrd7zp:`fl43uef`,Bg96gwp:`faaz57k`},huge:{Bahqtrf:`fk6fouc`,Be2twd7:`f1pp30po`,Bhrd7zp:`fl43uef`,Bg96gwp:`f106mvju`}},{d:[`.fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}`,`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.fkhj508{font-size:var(--fontSizeBase300);}`,`.figsok6{font-weight:var(--fontWeightRegular);}`,`.f1i3iumi{line-height:var(--lineHeightBase300);}`,`.fod5ikn{font-size:var(--fontSizeBase400);}`,`.fl43uef{font-weight:var(--fontWeightSemibold);}`,`.faaz57k{line-height:var(--lineHeightBase400);}`,`.f1pp30po{font-size:var(--fontSizeBase500);}`,`.f106mvju{line-height:var(--lineHeightBase500);}`]}),hh=e=>{"use no memo";let{labelPosition:t,size:n,appearance:r}=e,{dir:i}=Zr(),a=lh(),o=uh(),s=dh(),c=ph(),l=fh(),u=mh();return e.root.className=O(ch.root,a,(t===`above`||t===`below`)&&o.vertical,e.root.className),e.spinner&&(e.spinner.className=O(ch.spinner,s,c[n],r===`inverted`&&c.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=O(ch.spinnerTail,l,i===`rtl`&&c.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=O(ch.label,u[n],r===`inverted`&&u.inverted,e.label.className)),e},gh=_.forwardRef((e,t)=>{let n=oh(e,t);return hh(n),ii(`useSpinnerStyles_unstable`)(n),sh(n)});gh.displayName=`Spinner`;var _h=(e,t)=>{let{wrap:n,truncate:r,block:i,italic:a,underline:o,strikethrough:s,size:c,font:l,weight:u,align:d}=e;return{align:d??`start`,block:i??!1,font:l??`base`,italic:a??!1,size:c??300,strikethrough:s??!1,truncate:r??!1,underline:o??!1,weight:u??`regular`,wrap:n??!0,components:{root:`span`},root:P(zr(`span`,{ref:t,...e}),{elementType:`span`})}},vh=e=>B(e.root,{}),yh={root:`fui-Text`},bh=N({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;}`]}),xh=e=>{"use no memo";let t=bh();return e.root.className=O(yh.root,t.root,e.wrap===!1&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,e.size===100&&t.base100,e.size===200&&t.base200,e.size===400&&t.base400,e.size===500&&t.base500,e.size===600&&t.base600,e.size===700&&t.hero700,e.size===800&&t.hero800,e.size===900&&t.hero900,e.size===1e3&&t.hero1000,e.font===`monospace`&&t.monospace,e.font===`numeric`&&t.numeric,e.weight===`medium`&&t.weightMedium,e.weight===`semibold`&&t.weightSemibold,e.weight===`bold`&&t.weightBold,e.align===`center`&&t.alignCenter,e.align===`end`&&t.alignEnd,e.align===`justify`&&t.alignJustify,e.root.className),e},Sh=_.forwardRef((e,t)=>{let n=_h(e,t);return xh(n),ii(`useTextStyles_unstable`)(n),vh(n)});Sh.displayName=`Text`;function Ch(e){let{useStyles:t,className:n,displayName:r}=e,i=_.forwardRef((e,r)=>{"use no memo";let i=t(),a=_h(e,r);return xh(a),a.root.className=O(n,a.root.className,i.root,e.className),vh(a)});return i.displayName=r,i}var wh=Ch({useStyles:N({root:{Bahqtrf:`fk6fouc`,Be2twd7:`f1x0m3f5`,Bhrd7zp:`fl43uef`,Bg96gwp:`fb86gi6`}},{d:[`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.f1x0m3f5{font-size:var(--fontSizeBase600);}`,`.fl43uef{font-weight:var(--fontWeightSemibold);}`,`.fb86gi6{line-height:var(--lineHeightBase600);}`]}),className:{root:`fui-Title3`}.root,displayName:`Title3`}),Th=()=>void 0,Eh={allRowsSelected:!1,clearRows:Th,deselectRow:Th,isRowSelected:()=>!1,selectRow:Th,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:Th,toggleRow:Th,selectionMode:`multiselect`};function Dh(e){"use no memo";return t=>Oh(t,e)}function Oh(e,t){let{items:n,getRowId:r}=e,{selectionMode:i,defaultSelectedItems:a,selectedItems:o,onSelectionChange:s}=t,[c,l]=Vi({selectionMode:i,defaultSelectedItems:a,selectedItems:o,onSelectionChange:s}),u=_.useMemo(()=>{let e=new Set;for(let t=0;t<n.length;t++)e.add(r?.(n[t])??t);return e},[n,r]),d=_.useMemo(()=>{if(i===`single`){let e=Array.from(c)[0];return u.has(e)}if(c.size<u.size||u.size===0)return!1;let e=!0;return u.forEach(t=>{c.has(t)||(e=!1)}),e},[u,c,i]),f=_.useMemo(()=>{if(c.size<=0)return!1;let e=!1;return u.forEach(t=>{c.has(t)&&(e=!0)}),e},[u,c]),p=L(e=>{l.toggleAllItems(e,n.map((e,t)=>r?.(e)??t))}),m=L((e,t)=>l.toggleItem(e,t)),h=L((e,t)=>l.deselectItem(e,t)),g=L((e,t)=>l.selectItem(e,t)),v=e=>l.isSelected(e),y=L(e=>l.clearItems(e));return{...e,selection:{selectionMode:i,someRowsSelected:f,allRowsSelected:d,selectedRows:c,toggleRow:m,toggleAllRows:p,clearRows:y,deselectRow:h,selectRow:g,isRowSelected:v}}}var kh=()=>void 0,Ah={getSortDirection:()=>`ascending`,setColumnSort:kh,sort:e=>[...e],sortColumn:void 0,sortDirection:`ascending`,toggleColumnSort:kh};function jh(e){"use no memo";return t=>Mh(t,e)}function Mh(e,t){let{columns:n}=e,{sortState:r,defaultSortState:i,onSortChange:a=kh}=t,[o,s]=di({initialState:{sortDirection:`ascending`,sortColumn:void 0},defaultState:i,state:r}),{sortColumn:c,sortDirection:l}=o,u=L(a),d=_.useCallback((e,t)=>{s(n=>{let r={...n,sortColumn:t};return n.sortColumn===t?r.sortDirection=n.sortDirection===`ascending`?`descending`:`ascending`:r.sortDirection=`ascending`,u?.(e,r),r})},[u,s]),f=(e,t,n)=>{let r={sortColumn:t,sortDirection:n};u?.(e,r),s(r)},p=_.useCallback(e=>e.slice().sort((e,t)=>{let r=n.find(e=>e.columnId===c);if(!r?.compare)return 0;let i=l===`ascending`?1:-1;return r.compare(e.item,t.item)*i}),[n,c,l]),m=e=>c===e?l:void 0;return{...e,sort:{sort:p,sortColumn:c,sortDirection:l,setColumnSort:f,toggleColumnSort:d,getSortDirection:m}}}var Nh=(e,t)=>{let n=L(t=>{var n;(n=e.onClick)==null||n.call(e,t),t.stopPropagation()});return{components:{root:`div`},root:P(zr(`div`,{ref:t,...e,onClick:n}),{elementType:`div`})}},Ph=e=>B(e.root,{}),Fh={root:`fui-TableResizeHandle`},Ih=N({root:{qhf8xq:`f1euv43f`,j35jbq:[`f1e31b4d`,`f1vgc2s3`],Bhzewxz:`f15twtuk`,B5kzvoi:`f1yab3r1`,a9b677:`fjw5fx7`,jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:`fg06o1j`,Bceei9c:`fc3en1c`,abs64n:`fk73vx1`,Bmy1vo4:`f13u1uyl`,B3o57yi:`fezquic`,Bj3rh1h:`f19g0ac`,B3cna0y:`f1tkae59`,Brovlpu:`ftqa4ok`,B7zu5sd:`f15pjodv`,Bsft5z2:`f1rcdj94`,ap17g6:`f2gz7yw`,a2br6o:`ff2ryt5`,E3zdtr:`f1mdlcz9`,Eqx8gd:[`f10awi5f`,`f1nzedbg`],bn5sak:`frwkxtg`,By385i5:`fo72kxq`,Bjyk6c5:`fdlpgxj`}},{d:[`.f1euv43f{position:absolute;}`,`.f1e31b4d{right:0;}`,`.f1vgc2s3{left:0;}`,`.f15twtuk{top:0;}`,`.f1yab3r1{bottom:0;}`,`.fjw5fx7{width:16px;}`,[`.fg06o1j{margin:0 -8px;}`,{p:-1}],`.fc3en1c{cursor:col-resize;}`,`.fk73vx1{opacity:0;}`,`.f13u1uyl{transition-property:opacity;}`,`.fezquic{transition-duration:.2s;}`,`.f19g0ac{z-index:1;}`,`.f1rcdj94::after{content:" ";}`,`.f2gz7yw::after{display:block;}`,`.ff2ryt5::after{width:1px;}`,`.f1mdlcz9::after{position:absolute;}`,`.f10awi5f::after{left:50%;}`,`.f1nzedbg::after{right:50%;}`,`.frwkxtg::after{top:0;}`,`.fo72kxq::after{bottom:0;}`,`.fdlpgxj::after{background-color:var(--colorNeutralStroke1);}`],f:[`.f1tkae59:focus{opacity:1;}`,`.ftqa4ok:focus{outline-style:none;}`],h:[`.f15pjodv:hover{opacity:1;}`]}),Lh=e=>{"use no memo";let t=Ih();return e.root.className=O(Fh.root,t.root,e.root.className),e},Rh=_.forwardRef((e,t)=>{let n=Nh(e,t);return Lh(n),ii(`useTableResizeHandleStyles_unstable`)(n),Ph(n)});Rh.displayName=`TableResizeHandle`;function zh(){let[e,t]=_.useState(0),n=_.useRef(void 0),r=_.useRef(null),{targetDocument:i}=Zr(),a=_.useCallback(()=>{t(n.current?.getBoundingClientRect().width||0)},[]),o=_.useCallback(e=>{if(i&&(!e&&r.current&&n.current&&r.current.unobserve(n.current),n.current=void 0,e?.parentElement)){var t;n.current=e.parentElement,a(),(t=r.current)==null||t.observe(n.current)}},[i,a]);return _.useEffect(()=>{if(r.current=Bh(i,a),!(!n.current||!r.current))return r.current.observe(n.current),()=>{var e;(e=r.current)==null||e.disconnect()}},[a,i]),{width:e,measureElementRef:o}}function Bh(e,t){return e!=null&&e.defaultView?.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function Vh(e){let t=_.useRef(0),n=_.useRef(0),r=_.useRef(void 0),[i,a]=_.useState(!1),{targetDocument:o}=Zr(),{getColumnWidth:s,setColumnWidth:c}=e,l=_.useCallback(e=>{let{clientX:i}=Ii(e),a=i-t.current;n.current+=a,r.current&&c(e,{columnId:r.current,width:n.current}),t.current=i},[c]),[u]=li(),d=_.useCallback(e=>{u(()=>l(e))},[u,l]),f=_.useCallback(e=>{Fi(e)&&(o?.removeEventListener(`mouseup`,f),o?.removeEventListener(`mousemove`,d)),Pi(e)&&(o?.removeEventListener(`touchend`,f),o?.removeEventListener(`touchmove`,d)),a(!1)},[d,o]);return{getOnMouseDown:_.useCallback(e=>i=>{if(n.current=s(e),t.current=Ii(i).clientX,r.current=e,Fi(i)){if(i.target!==i.currentTarget||i.button!==0)return;o?.addEventListener(`mouseup`,f),o?.addEventListener(`mousemove`,d),a(!0)}Pi(i)&&(o?.addEventListener(`touchend`,f),o?.addEventListener(`touchmove`,d),a(!0))},[s,d,f,o]),dragging:i}}var Hh=150,Uh=100;function Wh(e,t=[],n={}){let r=!1,i=new Map(t.map(e=>[e.columnId,e])),a=e.map(e=>{let t=i.get(e.columnId);if(t){let{idealWidth:i=t.idealWidth,minWidth:a=t.minWidth,padding:o=t.padding}=n[e.columnId]??{};return i!==t.idealWidth||a!==t.minWidth||o!==t.padding?(r=!0,{...t,idealWidth:i,width:i,minWidth:a,padding:o}):t}let{defaultWidth:a,idealWidth:o=Hh,minWidth:s=Uh,padding:c}=n[e.columnId]??{};return r=!0,{columnId:e.columnId,width:Math.max(a??o,s),minWidth:s,idealWidth:Math.max(a??o,s),padding:c??16}});if(a.length!==t.length||r){let e=a.find(e=>e.width>e.idealWidth);e&&(e.width=e.idealWidth),r=!0}return r?a:t}function Gh(e,t){return e.find(e=>e.columnId===t)}function Kh(e,t){return e[t]}function qh(e){return e.reduce((e,t)=>e+t.width+t.padding,0)}function Jh(e,t){return Gh(e,t)?.width??0}function Yh(e,t,n,r){let i=Gh(e,t);if(!i||i?.[n]===r)return e;let a={...i,[n]:r};return e.reduce((e,t)=>t.columnId===a.columnId?[...e,a]:[...e,t],[])}function Xh(e,t){let n=e,r=qh(n);if(r<t){let e=t-r,i=0;for(;i<n.length&&e>0;){let t=Kh(n,i);if(!t)break;let r=Math.min(t.idealWidth-t.width,e);if(n=Yh(n,t.columnId,`width`,t.width+r),e-=r,i===n.length-1&&e!==0){let t=Kh(n,i);t&&(n=Yh(n,t.columnId,`width`,t.width+e))}i++}}else if(r>=t){let e=r-t,i=n.length-1;for(;i>=0&&e>0;){let t=Kh(n,i);if(!t){i--;continue}if(t.width>t.minWidth){let r=Math.min(t.width-t.minWidth,e);e-=r,n=Yh(n,t.columnId,`width`,t.width-r)}i--}}return n}var Zh=e=>(t,n)=>{switch(n.type){case`CONTAINER_WIDTH_UPDATED`:return{...t,containerWidth:n.containerWidth,columnWidthState:e?Xh(t.columnWidthState,n.containerWidth):t.columnWidthState};case`COLUMNS_UPDATED`:let r=Wh(n.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:n.columns,columnWidthState:e?Xh(r,t.containerWidth):r};case`COLUMN_SIZING_OPTIONS_UPDATED`:let i=Wh(t.columns,t.columnWidthState,n.columnSizingOptions);return{...t,columnSizingOptions:n.columnSizingOptions,columnWidthState:e?Xh(i,t.containerWidth):i};case`SET_COLUMN_WIDTH`:let{columnId:a,width:o}=n,{containerWidth:s}=t,c=Gh(t.columnWidthState,a),l=[...t.columnWidthState];return c?(l=Yh(l,a,`width`,o),l=Yh(l,a,`idealWidth`,o),e&&(l=Xh(l,s)),{...t,columnWidthState:l}):t}};function Qh(e,t,n={}){let{onColumnResize:r,columnSizingOptions:i,autoFitColumns:a=!0}=n,o=_.useMemo(()=>Zh(a),[a]),[s,c]=_.useReducer(o,{columns:e,containerWidth:0,columnWidthState:Wh(e,void 0,i),columnSizingOptions:i});_i(()=>{c({type:`CONTAINER_WIDTH_UPDATED`,containerWidth:t})},[t]),_i(()=>{c({type:`COLUMNS_UPDATED`,columns:e})},[e]),_i(()=>{c({type:`COLUMN_SIZING_OPTIONS_UPDATED`,columnSizingOptions:i})},[i]);let l=L((e,t)=>{let{width:n}=t,{columnId:i}=t,a=Gh(s.columnWidthState,i);a&&(n=Math.max(a.minWidth||0,n),r&&r(e,{columnId:i,width:n}),c({type:`SET_COLUMN_WIDTH`,columnId:i,width:n}))});return{getColumnById:_.useCallback(e=>Gh(s.columnWidthState,e),[s.columnWidthState]),getColumns:_.useCallback(()=>s.columnWidthState,[s.columnWidthState]),getColumnWidth:_.useCallback(e=>Jh(s.columnWidthState,e),[s.columnWidthState]),setColumnWidth:l}}var $h=20,eg=El,tg=1/4;function ng(e){let[t,n]=_.useState(),r=_.useRef(void 0),{findPrevFocusable:i}=Ts(),a=_.useRef(e);_.useEffect(()=>{a.current=e},[e]);let[o]=_.useState(()=>new Map),s=L(e=>{if(!t)return;let n=a.current.getColumnWidth(t),r=e.getModifierState(eg),i=()=>{e.preventDefault(),e.stopPropagation()};switch(e.key){case Ol:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n-(r?$h*tg:$h)});return;case kl:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n+(r?$h*tg:$h)});return;case` `:case Dl:case Al:var s,c;i(),(c=o.get(t))==null||(s=c.current)==null||s.blur();break}}),c=_.useCallback(e=>{var t;n(e),(t=r.current)==null||t.call(r,e,!0);let i=o.get(e)?.current;i&&(i.setAttribute(`tabindex`,`-1`),i.tabIndex=-1,i.focus())},[o]),l=_.useCallback(()=>{var e;if(!t)return;(e=r.current)==null||e.call(r,t,!1);let a=o.get(t)?.current;if(a){var s;(s=i(a))==null||s.focus(),a.removeAttribute(`tabindex`)}n(void 0)},[t,i,o]),u=(e,i)=>{r.current=i,t?e&&t!==e?(c(e),n(e)):l():c(e)},d=_.useCallback(e=>{let t=o.get(e)||_.createRef();return o.set(e,t),t},[o]),f=bs({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:u,columnId:t,getKeyboardResizingProps:_.useCallback((e,n)=>({onKeyDown:s,onBlur:l,ref:d(e),role:`separator`,"aria-label":`Resize column`,"aria-valuetext":`${n} pixels`,"aria-hidden":e!==t,tabIndex:e===t?0:void 0,...f}),[t,l,d,s,f])}}var rg={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:``}),getTableCellProps:()=>({style:{},columnId:``}),enableKeyboardMode:()=>()=>null};function ig(e){"use no memo";return t=>og(t,{autoFitColumns:!0,...e})}function ag(e,t){let n=e.width;return{width:n,minWidth:n,maxWidth:n,...t?{pointerEvents:`none`}:{}}}function og(e,t={}){let{columns:n}=e,{width:r,measureElementRef:i}=zh(),a=Qh(n,r+(t?.containerWidthOffset||0),t),o=Vh(a),{toggleInteractiveMode:s,getKeyboardResizingProps:c}=ng(a),{autoFitColumns:l}=t,u=_.useCallback((e,t)=>n=>{n.preventDefault(),n.nativeEvent.stopPropagation(),s(e,t)},[s]),{getColumnById:d,setColumnWidth:f,getColumns:p}=a,{getOnMouseDown:m,dragging:h}=o;return{...e,tableRef:i,columnSizing_unstable:{getOnMouseDown:m,setColumnWidth:(e,t)=>f(void 0,{columnId:e,width:t}),getColumnWidths:p,getTableProps:(e={})=>({...e,style:{minWidth:`fit-content`,...e.style||{}}}),getTableHeaderCellProps:_.useCallback(e=>{let t=d(e),r=n[n.length-1]?.columnId===e&&l?null:_.createElement(Rh,{onMouseDown:m(e),onTouchStart:m(e),...c(e,t?.width||0)});return t?{style:ag(t,h),aside:r}:{}},[d,n,h,c,m,l]),getTableCellProps:_.useCallback(e=>{let t=d(e);return t?{style:ag(t)}:{}},[d]),enableKeyboardMode:u}}}var sg=e=>e,cg={selection:Eh,sort:Ah,getRows:()=>[],getRowId:()=>``,items:[],columns:[],columnSizing_unstable:rg,tableRef:_.createRef()};function lg(e,t=[]){let{items:n,getRowId:r,columns:i}=e,a={getRowId:r,items:n,columns:i,getRows:_.useCallback((e=sg)=>n.map((t,n)=>e({item:t,rowId:r?.(t)??n})),[n,r]),selection:Eh,sort:Ah,columnSizing_unstable:rg,tableRef:_.createRef()};return t.reduce((e,t)=>t(e),a)}var ug=()=>0,dg=()=>null,fg=()=>null;function pg(e){let{columnId:t,renderCell:n=dg,renderHeaderCell:r=fg,compare:i=ug}=e;return{columnId:t,renderCell:n,renderHeaderCell:r,compare:i}}function mg(){let e=xs({axis:`horizontal`}),t=xs({axis:`grid`}),n=Cs({tabBehavior:`limited-trap-focus`}),{findFirstFocusable:r}=Ts(),{targetDocument:i}=Zr(),a=Rs(e,n);return{onTableKeyDown:_.useCallback(e=>{if(!i)return;let t=i.activeElement;if(!t||!e.currentTarget.contains(t))return;let n=t.getAttribute(`role`);if(e.key===`ArrowRight`&&n===`row`&&Mi(t)){var a;(a=r(t))==null||a.focus()}if(n===`row`)return;let o=(()=>{let e=Mi(t)?t:null;for(;e;){let t=e.getAttribute(`role`);if(t===`cell`||t===`gridcell`)return!0;e=e.parentElement}return!1})();if(e.key===`ArrowLeft`&&o){t.dispatchEvent(new Ka({action:H.Escape}));return}(e.key===`ArrowDown`||e.key===`ArrowUp`)&&o&&(t.dispatchEvent(new Ka({action:H.Escape})),t=i.activeElement,t&&t.dispatchEvent(new Ga({key:V[e.key]})))},[i,r]),tableTabsterAttribute:t,tableRowTabsterAttribute:a}}var hg=_.createContext(void 0),gg={size:`medium`,noNativeElements:!1,sortable:!1},_g=hg.Provider,vg=()=>_.useContext(hg)??gg,yg=(e,t)=>{let{noNativeElements:n,size:r}=vg(),i=e.as??n?`div`:`td`;return{components:{root:i},root:P(zr(i,{ref:t,role:i===`div`?`cell`:void 0,...e}),{elementType:i}),noNativeElements:n,size:r}},bg=e=>B(e.root,{}),xg={root:`fui-TableCell`},Sg=N({root:{mc9l5x:`f15pt5es`,ha4doy:`fmrv4ls`},medium:{Bqenvij:`f1ft4266`},small:{Bqenvij:`fbsu25e`},"extra-small":{Bqenvij:`frvgh55`}},{d:[`.f15pt5es{display:table-cell;}`,`.fmrv4ls{vertical-align:middle;}`,`.f1ft4266{height:44px;}`,`.fbsu25e{height:34px;}`,`.frvgh55{height:24px;}`]}),Cg=N({root:{mc9l5x:`f22iagw`,Bf4jedk:`f10tiqix`,Bt984gj:`f122n59`,xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:`f1izfyrr`},medium:{sshi5w:`f5pgtk9`},small:{sshi5w:`fcep9tg`},"extra-small":{sshi5w:`f1pha7fy`}},{d:[`.f22iagw{display:flex;}`,`.f10tiqix{min-width:0px;}`,`.f122n59{align-items:center;}`,[`.f1izfyrr{flex:1 1 0px;}`,{p:-1}],`.f5pgtk9{min-height:44px;}`,`.fcep9tg{min-height:34px;}`,`.f1pha7fy{min-height:24px;}`]}),wg=N({root:{qhf8xq:`f10pi13n`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f3gpkru`,Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:`f1dxfoyt`,Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:`f2krc9w`}},{d:[`.f10pi13n{position:relative;}`,[`.f3gpkru{padding:0px var(--spacingHorizontalS);}`,{p:-1}],[`.f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}`,{p:-1}],[`.f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}`,{p:-1}]]}),Tg=e=>{"use no memo";let t=wg(),n={table:Sg(),flex:Cg()};return e.root.className=O(xg.root,t.root,e.noNativeElements?n.flex.root:n.table.root,e.noNativeElements?n.flex[e.size]:n.table[e.size],e.root.className),e},Eg=_.createContext(void 0),Dg=``,Og=Eg.Provider,kg=()=>_.useContext(Eg)===Dg,Ag=(e,t)=>{let{noNativeElements:n,size:r}=vg(),i=e.as??n?`div`:`tr`,a=As(),o=Fs(),s=kg();return{components:{root:i},root:P(zr(i,{ref:Si(t,a,o),role:i===`div`?`row`:void 0,...e}),{elementType:i}),size:r,noNativeElements:n,appearance:e.appearance??`none`,isHeaderRow:s}},jg={root:`fui-TableSelectionCell`,checkboxIndicator:`fui-TableSelectionCell__checkboxIndicator`,radioIndicator:`fui-TableSelectionCell__radioIndicator`},Mg=N({root:{mc9l5x:`f15pt5es`,a9b677:`fksc0bp`}},{d:[`.f15pt5es{display:table-cell;}`,`.fksc0bp{width:44px;}`]}),Ng=N({root:{mc9l5x:`f22iagw`,xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:`f1izfyrr`,Bf4jedk:`fvrlu0f`,B2u0y6b:`f1c71y05`,Brf1p80:`f4d9j23`}},{d:[`.f22iagw{display:flex;}`,[`.f1izfyrr{flex:1 1 0px;}`,{p:-1}],`.fvrlu0f{min-width:44px;}`,`.f1c71y05{max-width:44px;}`,`.f4d9j23{justify-content:center;}`]}),Pg=N({root:{fsow6f:`f17mccla`,Huce71:`fz5stix`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f1mk8lai`,Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:`f1dxfoyt`,Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:`f2krc9w`},radioIndicator:{mc9l5x:`f22iagw`,Bh6795r:`fqerorx`,Bt984gj:`f122n59`,Brf1p80:`f4d9j23`},subtle:{abs64n:`fk73vx1`,B8a84jv:`f1y7ij6c`},hidden:{abs64n:`fk73vx1`}},{d:[`.f17mccla{text-align:center;}`,`.fz5stix{white-space:nowrap;}`,[`.f1mk8lai{padding:0;}`,{p:-1}],[`.f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}`,{p:-1}],[`.f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.f22iagw{display:flex;}`,`.fqerorx{flex-grow:1;}`,`.f122n59{align-items:center;}`,`.f4d9j23{justify-content:center;}`,`.fk73vx1{opacity:0;}`,`.f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}`]}),Fg=e=>{"use no memo";let t=Pg(),n={table:Mg(),flex:Ng()};return e.root.className=O(jg.root,t.root,e.noNativeElements?n.flex.root:n.table.root,e.subtle&&e.checked===!1&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=O(jg.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=O(jg.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},Ig={root:`fui-TableRow`},Lg=N({root:{mc9l5x:`f1u0rzck`}},{d:[`.f1u0rzck{display:table-row;}`]}),Rg=N({root:{mc9l5x:`f22iagw`,Bt984gj:`f122n59`}},{d:[`.f22iagw{display:flex;}`,`.f122n59{align-items:center;}`]}),zg=N({root:{sj55zd:`f19n0e5`,B7ck84d:`f1ewtqcl`,Bconypa:`f1jazu75`,B6guboy:`f1xeqee6`,Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:`f1dxfoyt`,Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:`f2krc9w`},rootInteractive:{B6guboy:`f1xeqee6`,ecr2s2:`f1wfn5kd`,lj723h:`f1g4hkjv`,B43xm9u:`f15ngxrw`,i921ia:`fjbbrdp`,Jwef8y:`f1t94bn6`,Bi91k9c:`feu1g3u`,Bpt6rm4:`f1uorfem`,ff6mpl:`fw60kww`,Bahaeuw:`f1v3eptx`,F230oe:`f8gmj8i`,Bdw8ktp:[`f1ap8nzx`,`fjag8bx`],Bj1xduy:`f1igan7k`,Bhh2cfd:[`fjag8bx`,`f1ap8nzx`]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:`f1facbz3`},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:`f1facbz3`},"extra-small":{Be2twd7:`fy9rknc`},brand:{De3pzq:`f16xkysk`,g2u3we:`f1bh3yvw`,h3c5rm:[`fmi79ni`,`f11fozsx`],B9xav0g:`fnzw4c6`,zhjwy3:[`f11fozsx`,`fmi79ni`],ecr2s2:`f7tkmfy`,lj723h:`f1r2dosr`,wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:`f1msmgpi`,Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:`fbo0xvd`,Bkp2nk:`fjuvmhu`,gy0h4g:`f1kvufhq`},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:`f1msmgpi`,Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:`fbo0xvd`,Bkp2nk:`fjuvmhu`,gy0h4g:`f1kvufhq`,De3pzq:`fq5gl1p`,sj55zd:`f1cgsbmv`,Jwef8y:`f1uqaxdt`,ecr2s2:`fa9o754`,g2u3we:`frmsihh`,h3c5rm:[`frttxa5`,`f11o2r7f`],B9xav0g:`fem5et0`,zhjwy3:[`f11o2r7f`,`frttxa5`]},none:{}},{d:[`.f19n0e5{color:var(--colorNeutralForeground1);}`,`.f1ewtqcl{box-sizing:border-box;}`,`.f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}`,`.f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}`,[`.f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}`,{p:-1}],[`.f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}`,{p:-1}],[`.f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}`,{p:-1}],[`.f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}`,{p:-1}],`.fy9rknc{font-size:var(--fontSizeBase200);}`,`.f16xkysk{background-color:var(--colorBrandBackground2);}`,`.f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}`,`.fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}`,`.f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}`,`.fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}`,`.fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}`,`.f1cgsbmv{color:var(--colorNeutralForeground1Hover);}`,`.frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}`,`.frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}`,`.f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}`,`.fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}`],a:[`.f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}`,`.f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}`,`.f15ngxrw:active .fui-TableCellActions{opacity:1;}`,`.fjbbrdp:active .fui-TableSelectionCell{opacity:1;}`,`.f7tkmfy:active{background-color:var(--colorBrandBackground2);}`,`.f1r2dosr:active{color:var(--colorNeutralForeground1);}`,`.fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}`],h:[`.f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}`,`.feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}`,`.f1uorfem:hover .fui-TableCellActions{opacity:1;}`,`.fw60kww:hover .fui-TableSelectionCell{opacity:1;}`,`.f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}`],m:[[`@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}`,{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){.f1msmgpi{border:2px solid transparent;}}`,{p:-2,m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}`,{p:-1,m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}`,{m:`(forced-colors: active)`}]]}),Bg=e=>{"use no memo";let t=zg(),n={table:Lg(),flex:Rg()};return e.root.className=O(Ig.root,t.root,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?n.flex.root:n.table.root,t[e.appearance],e.root.className),e},Vg=(e,t)=>{let{noNativeElements:n}=vg(),r=e.as??n?`div`:`tbody`;return{components:{root:r},root:P(zr(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},Hg=N({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),Ug=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),Wg=`fui-TableBody`,Gg=e=>{"use no memo";let t={table:Hg(),flex:Ug()};return e.root.className=O(Wg,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},Kg=(e,t)=>{let n=e.as??e.noNativeElements?`div`:`table`;return{components:{root:n},root:P(zr(n,{ref:t,role:n===`div`?`table`:void 0,...e}),{elementType:n}),size:e.size??`medium`,noNativeElements:e.noNativeElements??!1,sortable:e.sortable??!1}},qg=(e,t)=>B(_g,{value:t.table,children:B(e.root,{})}),Jg=`fui-Table`,Yg=N({root:{mc9l5x:`f1w4nmp0`,ha4doy:`fmrv4ls`,a9b677:`fly5x3f`,B73mfa3:`f14m3nip`}},{d:[`.f1w4nmp0{display:table;}`,`.fmrv4ls{vertical-align:middle;}`,`.fly5x3f{width:100%;}`,`.f14m3nip{table-layout:fixed;}`]}),Xg=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),Zg=N({root:{po53p8:`fgkb47j`,De3pzq:`fhovq9v`}},{d:[`.fgkb47j{border-collapse:collapse;}`,`.fhovq9v{background-color:var(--colorSubtleBackground);}`]}),Qg=e=>{"use no memo";let t=Zg(),n={table:Yg(),flex:Xg()};return e.root.className=O(Jg,t.root,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e};function $g(e){let{size:t,noNativeElements:n,sortable:r}=e;return{table:_.useMemo(()=>({noNativeElements:n,size:t,sortable:r}),[n,t,r])}}var e_=(e,t)=>{let{noNativeElements:n}=vg(),r=e.as??n?`div`:`thead`;return{components:{root:r},root:P(zr(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},t_=e=>B(Og,{value:``,children:B(e.root,{})}),n_=`fui-TableHeader`,r_=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),i_=N({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),a_=e=>{"use no memo";let t={table:i_(),flex:r_()};return e.root.className=O(n_,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},o_={ascending:_.createElement($l,{fontSize:12}),descending:_.createElement(Ql,{fontSize:12})},s_=(e,t)=>{let{noNativeElements:n,sortable:r}=vg(),{sortable:i=r}=e,a=e.as??n?`div`:`th`,o=P(e.button,{elementType:`div`,defaultProps:{as:`div`}}),s=jl(o.as,o);return{components:{root:a,button:`div`,sortIcon:`span`,aside:`span`},root:P(zr(a,{ref:Si(t,Fs()),role:a===`div`?`columnheader`:void 0,"aria-sort":i?e.sortDirection??`none`:void 0,...e}),{elementType:a}),aside:ar(e.aside,{elementType:`span`}),sortIcon:ar(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?o_[e.sortDirection]:void 0},elementType:`span`}),button:i?s:o,sortable:i,noNativeElements:n}},c_=e=>$i(e.root,{children:[$i(e.button,{children:[e.root.children,e.sortIcon&&B(e.sortIcon,{})]}),e.aside&&B(e.aside,{})]}),l_={root:`fui-TableHeaderCell`,button:`fui-TableHeaderCell__button`,sortIcon:`fui-TableHeaderCell__sortIcon`,aside:`fui-TableHeaderCell__aside`},u_=N({root:{mc9l5x:`f15pt5es`,ha4doy:`fmrv4ls`}},{d:[`.f15pt5es{display:table-cell;}`,`.fmrv4ls{vertical-align:middle;}`]}),d_=N({root:{mc9l5x:`f22iagw`,xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:`f1izfyrr`,Bf4jedk:`f10tiqix`}},{d:[`.f22iagw{display:flex;}`,[`.f1izfyrr{flex:1 1 0px;}`,{p:-1}],`.f10tiqix{min-width:0px;}`]}),f_=N({root:{Bhrd7zp:`figsok6`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f3gpkru`,robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:`f14ym4q2`,B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:`f1euou18`,qhf8xq:`f10pi13n`},rootInteractive:{Bi91k9c:`feu1g3u`,Jwef8y:`f1t94bn6`,lj723h:`f1g4hkjv`,ecr2s2:`f1wfn5kd`},resetButton:{B3rzk8w:`fq6nmtn`,B7ck84d:`f1e4lqlz`,De3pzq:`f1u2r49w`,sj55zd:`f1ym3bx4`,Bahqtrf:`f1mo0ibp`,Be2twd7:`fjoy568`,Bg96gwp:`fytdu2e`,B68tc82:0,Bmxbyg5:0,Bpg54ce:`f1gl81tg`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f1mk8lai`,Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:`f3bhgqh`,fsow6f:`fgusgyc`},button:{qhf8xq:`f10pi13n`,a9b677:`fly5x3f`,mc9l5x:`f22iagw`,Bh6795r:0,Bqenvij:`f1l02sjl`,Bt984gj:`f122n59`,i8kkvl:0,Belr9w4:0,rmohyg:`fkln5zr`,sshi5w:`f1nxs5xn`,xawz:0,Bnnss6s:0,fkmc3a:`f1izfyrr`,oeaueh:`f1s6fcnf`},sortable:{Bceei9c:`f1k6fduh`},sortIcon:{mc9l5x:`f22iagw`,Bt984gj:`f122n59`,z8tnut:`fclwglc`},resizeHandle:{}},{d:[`.figsok6{font-weight:var(--fontWeightRegular);}`,[`.f3gpkru{padding:0px var(--spacingHorizontalS);}`,{p:-1}],[`.f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}`,{p:-1}],[`.f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.f10pi13n{position:relative;}`,`.fq6nmtn{resize:horizontal;}`,`.f1e4lqlz{box-sizing:content-box;}`,`.f1u2r49w{background-color:inherit;}`,`.f1ym3bx4{color:inherit;}`,`.f1mo0ibp{font-family:inherit;}`,`.fjoy568{font-size:inherit;}`,`.fytdu2e{line-height:normal;}`,[`.f1gl81tg{overflow:visible;}`,{p:-1}],[`.f1mk8lai{padding:0;}`,{p:-1}],[`.f3bhgqh{border:none;}`,{p:-2}],`.fgusgyc{text-align:unset;}`,`.fly5x3f{width:100%;}`,`.f22iagw{display:flex;}`,`.fqerorx{flex-grow:1;}`,`.f1l02sjl{height:100%;}`,`.f122n59{align-items:center;}`,[`.fkln5zr{gap:var(--spacingHorizontalXS);}`,{p:-1}],`.f1nxs5xn{min-height:32px;}`,[`.f1izfyrr{flex:1 1 0px;}`,{p:-1}],`.f1s6fcnf{outline-style:none;}`,`.f1k6fduh{cursor:pointer;}`,`.fclwglc{padding-top:var(--spacingVerticalXXS);}`],h:[`.feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}`,`.f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}`],a:[`.f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}`,`.f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}`]}),p_=e=>{"use no memo";let t=f_(),n={table:u_(),flex:d_()};return e.root.className=O(l_.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e.button.className=O(l_.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=O(l_.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=O(l_.aside,t.resizeHandle,e.aside.className)),e},m_=_.createContext(void 0),h_=()=>_.useContext(m_)??``,g_=m_.Provider,__=_.createContext(void 0),v_=()=>_.useContext(__)??``,y_=__.Provider,b_=(e,t)=>{let n=yg(e,Si(t,Fs())),{noNativeElements:r}=vg(),{type:i=`checkbox`,checked:a=!1,subtle:o=!1,hidden:s=!1,invisible:c=!1}=e;return{...n,components:{...n.components,checkboxIndicator:Yp,radioIndicator:nh},checkboxIndicator:ar(e.checkboxIndicator,{renderByDefault:i===`checkbox`,defaultProps:{checked:e.checked},elementType:Yp}),radioIndicator:ar(e.radioIndicator,{renderByDefault:i===`radio`,defaultProps:{checked:!!a,input:{name:xi(`table-selection-radio`)}},elementType:nh}),type:i,checked:a,noNativeElements:r,subtle:o,hidden:c||s}},x_=e=>$i(e.root,{children:[e.type===`checkbox`&&e.checkboxIndicator&&B(e.checkboxIndicator,{}),e.type===`radio`&&e.radioIndicator&&B(e.radioIndicator,{})]}),S_=Cl(void 0),C_={...cg,subtleSelection:!1,selectableRows:!1,selectionAppearance:`brand`,focusMode:`none`,compositeRowTabsterAttribute:{}},w_=S_.Provider,T_=e=>wl(S_,(t=C_)=>e(t)),E_=(e,t)=>{let{focusMode:n=`cell`}=e,r=h_(),i=T_(e=>(e.focusMode===`cell`||e.focusMode===`composite`)&&n!==`none`),a=T_(e=>e.resizableColumns),o=T_(e=>e.columnSizing_unstable.getTableCellProps),s=Cs({tabBehavior:`limited-trap-focus`});return yg({as:`div`,role:`gridcell`,...n===`group`&&s,tabIndex:i?0:void 0,...a?o(r):{},...e},t)},D_=e=>bg(e),O_={root:`fui-DataGridCell`},k_=e=>{"use no memo";return Tg(e),e.root.className=O(O_.root,e.root.className),e},A_=_.forwardRef((e,t)=>{let n=E_(e,t);return k_(n),ii(`useDataGridCellStyles_unstable`)(n),D_(n)});A_.displayName=`DataGridCell`;var j_=(e,t)=>{let n=kg(),r=v_(),i=T_(e=>e.subtleSelection),a=T_(e=>n&&e.selection.selectionMode===`multiselect`?e.selection.allRowsSelected?!0:e.selection.someRowsSelected?`mixed`:!1:e.selection.isRowSelected(r)),o=T_(e=>e.selection.toggleAllRows),s=T_(e=>e.selection.selectionMode===`multiselect`?`checkbox`:`radio`),c=L(t=>{var r;n&&o(t),(r=e.onClick)==null||r.call(e,t)});return b_({as:`div`,role:`gridcell`,checked:a,type:s,invisible:n&&s===`radio`,"aria-selected":a===`mixed`?void 0:a,subtle:i,radioIndicator:n?null:void 0,...e,onClick:c},t)},M_=e=>x_(e),N_={root:`fui-DataGridSelectionCell`,checkboxIndicator:`fui-DataGridSelectionCell__checkboxIndicator`,radioIndicator:`fui-DataGridSelectionCell__radioIndicator`},P_=e=>{"use no memo";return Fg(e),e.root.className=O(N_.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=O(N_.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=O(N_.radioIndicator,e.radioIndicator.className)),e},F_=_.forwardRef((e,t)=>{let n=j_(e,t);return P_(n),ii(`useDataGridSelectionCellStyles_unstable`)(n),M_(n)});F_.displayName=`DataGridSelectionCell`;var I_=(e,t)=>{let n=v_(),r=kg(),i=T_(e=>e.columns),a=T_(e=>e.selectableRows),o=T_(e=>e.selection.isRowSelected(n)),s=T_(e=>e.focusMode),c=T_(e=>e.compositeRowTabsterAttribute),l=s===`row_unstable`||s===`composite`,u=T_(e=>!r&&a&&e.selection.isRowSelected(n)?e.selectionAppearance:`none`),d=T_(e=>e.selection.toggleRow),f=L(t=>{var i;a&&!r&&d(t,n),(i=e.onClick)==null||i.call(e,t)}),p=L(t=>{var i;a&&!r&&t.key===` `&&!Ni(t.target)&&(t.preventDefault(),d(t,n)),(i=e.onKeyDown)==null||i.call(e,t)}),m=Ag({appearance:u,"aria-selected":a?o:void 0,tabIndex:l&&!r?0:void 0,...s===`composite`&&!r&&c,...e,onClick:f,onKeyDown:p,children:null,as:`div`},t);return{...m,components:{...m.components,selectionCell:F_},selectionCell:ar(e.selectionCell,{renderByDefault:a,elementType:F_}),renderCell:e.children,columnDefs:i,dataGridContextValue:L_()}};function L_(){let e=_.useRef(C_);return T_(t=>(e.current=t,null)),e.current}var R_=e=>$i(e.root,{children:[e.selectionCell&&B(e.selectionCell,{}),e.columnDefs.map(t=>B(g_,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),z_={root:`fui-DataGridRow`,selectionCell:`fui-DataGridRow__selectionCell`},B_=N({subtleSelection:{Bconypa:`f1jazu75`,ff6mpl:`fw60kww`}},{d:[`.f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}`],h:[`.fw60kww:hover .fui-TableSelectionCell{opacity:1;}`]}),V_=e=>{"use no memo";let t=T_(e=>e.subtleSelection),n=B_();return Bg(e),e.root.className=O(z_.root,e.root.className,t&&n.subtleSelection),e.selectionCell&&(e.selectionCell.className=O(z_.selectionCell,e.selectionCell.className)),e},H_=_.forwardRef((e,t)=>{let n=I_(e,t);return V_(n),ii(`useDataGridRowStyles_unstable`)(n),R_(n)});H_.displayName=`DataGridRow`;var U_=(e,t)=>{let{sortable:n}=vg(),r=T_(e=>e.getRows),i=T_(e=>e.sort.sort),a=n?i(r()):r();return{...Vg({...e,children:null,as:`div`},t),rows:a,renderRow:e.children}},W_=e=>B(e.root,{children:e.rows.map(t=>B(y_,{value:t.rowId,children:e.renderRow(t)},t.rowId))}),G_={root:`fui-DataGridBody`},K_=e=>{"use no memo";return Gg(e),e.root.className=O(G_.root,e.root.className),e},q_=_.forwardRef((e,t)=>{let n=U_(e,t);return K_(n),ii(`useDataGridBodyStyles_unstable`)(n),W_(n)});q_.displayName=`DataGridBody`;var J_=(e,t)=>{let{items:n,columns:r,focusMode:i=`cell`,selectionMode:a,onSortChange:o,onSelectionChange:s,defaultSortState:c,sortState:l,selectedItems:u,defaultSelectedItems:d,subtleSelection:f=!1,selectionAppearance:p=`brand`,getRowId:m,resizableColumns:h,columnSizingOptions:g,onColumnResize:v,containerWidthOffset:y,resizableColumnsOptions:b={}}=e,x=y??(a?-44:0),S=xs({axis:`grid`}),{onTableKeyDown:C,tableTabsterAttribute:w,tableRowTabsterAttribute:T}=mg(),ee=lg({items:n,columns:r,getRowId:m},[jh({defaultSortState:c,sortState:l,onSortChange:o}),Dh({defaultSelectedItems:d,selectedItems:u,onSelectionChange:s,selectionMode:a??`multiselect`}),ig({onColumnResize:v,columnSizingOptions:g,containerWidthOffset:x,autoFitColumns:b.autoFitColumns??!0})]),te=_.useRef(null),{findFirstFocusable:ne,findLastFocusable:re}=Ts(),E=L(t=>{var n;if((n=e.onKeyDown)==null||n.call(e,t),i===`composite`&&C(t),!(!te.current||!t.ctrlKey||t.defaultPrevented)){if(t.key===`Home`){let e=te.current.querySelector(`[role="row"]`);if(e){var r;(r=ne(e))==null||r.focus()}}if(t.key===`End`){let e=te.current.querySelectorAll(`[role="row"]`);if(e.length){var a;(a=re(e.item(e.length-1)))==null||a.focus()}}}});return{...Kg({role:`grid`,as:`div`,noNativeElements:!0,...i===`cell`&&S,...i===`composite`&&w,...e,onKeyDown:E,...h?ee.columnSizing_unstable.getTableProps(e):{}},Si(t,ee.tableRef,te)),focusMode:i,tableState:ee,selectableRows:!!a,subtleSelection:f,selectionAppearance:p,resizableColumns:h,compositeRowTabsterAttribute:T}},Y_=(e,t)=>_.createElement(w_,{value:t.dataGrid},qg(e,t)),X_={root:`fui-DataGrid`},Z_=e=>{"use no memo";return Qg(e),e.root.className=O(X_.root,e.root.className),e};function Q_(e){let t=$g(e),{tableState:n,focusMode:r,selectableRows:i,subtleSelection:a,selectionAppearance:o,resizableColumns:s,compositeRowTabsterAttribute:c}=e;return{...t,dataGrid:{...n,focusMode:r,selectableRows:i,subtleSelection:a,selectionAppearance:o,resizableColumns:s,compositeRowTabsterAttribute:c}}}var $_=_.forwardRef((e,t)=>{let n=J_(e,t);return Z_(n),ii(`useDataGridStyles_unstable`)(n),Y_(n,Q_(n))});$_.displayName=`DataGrid`;var ev=(e,t)=>e_({...e,as:`div`},t),tv=e=>t_(e),nv={root:`fui-DataGridHeader`},rv=e=>{"use no memo";return a_(e),e.root.className=O(nv.root,e.root.className),e},iv=_.forwardRef((e,t)=>{let n=ev(e,t);return rv(n),ii(`useDataGridHeaderStyles_unstable`)(n),tv(n)});iv.displayName=`DataGridHeader`;function av(e){return e.compare.length>0}var ov=(e,t)=>{let n=h_(),{sortable:r}=vg(),i=T_(e=>e.sort.toggleColumnSort),a=T_(e=>{let t=!!e.columns.find(e=>e.columnId===n&&av(e));return r?t:!1}),o=T_(e=>a?e.sort.getSortDirection(n):void 0),s=T_(e=>e.resizableColumns),c=T_(e=>e.columnSizing_unstable.getTableHeaderCellProps),{focusMode:l=a?`none`:`cell`}=e,u=Cs({tabBehavior:`limited-trap-focus`}),d=L(t=>{var r;a&&i(t,n),(r=e.onClick)==null||r.call(e,t)});return s_({sortable:a,sortDirection:o,as:`div`,tabIndex:l===`none`?void 0:0,...l===`group`&&u,...s?c(n):{},...e,onClick:d},t)},sv=e=>c_(e),cv={root:`fui-DataGridHeaderCell`,button:`fui-DataGridHeaderCell__button`,sortIcon:`fui-DataGridHeaderCell__sortIcon`,aside:`fui-DataGridHeaderCell__aside`},lv=e=>{"use no memo";return p_(e),e.root.className=O(cv.root,e.root.className),e.button&&(e.button.className=O(cv.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=O(cv.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=O(cv.aside,e.aside.className)),e},uv=_.forwardRef((e,t)=>{let n=ov(e,t);return lv(n),ii(`useDataGridHeaderCellStyles_unstable`)(n),sv(n)});uv.displayName=`DataGridHeaderCell`;var dv=(e,t)=>{let{size:n=`medium`,disabled:r=!1,root:i,contentBefore:a,dismiss:o,contentAfter:s,value:c,defaultValue:l,...u}=e,d=_.useRef(null),f=_.useRef(null),[p,m]=di({state:c,defaultState:l,initialState:``}),[h,g]=_.useState(!1),v=_.useCallback(()=>{g(!0)},[g]),y=_.useCallback(e=>{g(!!d.current?.contains(e.relatedTarget))},[g]),b=or(i),x=L(t=>{var n,r;if(cr(o)){var i;(i=o.onClick)==null||i.call(o,t)}m(``),(n=e.onChange)==null||n.call(e,t,{value:``}),(r=f.current)==null||r.focus()}),S=Pm({type:`search`,disabled:r,size:n,value:p,root:P({...b,ref:Si(b?.ref,d),onFocus:ji(b?.onFocus,v),onBlur:ji(b?.onBlur,y)},{elementType:`span`}),contentBefore:ar(a,{renderByDefault:!0,defaultProps:{children:_.createElement(au,null)},elementType:`span`}),contentAfter:ar(s,{renderByDefault:!0,elementType:`span`}),...u,onChange:L(t=>{var n;let r=t.target.value;(n=e.onChange)==null||n.call(e,t,{value:r}),m(r)})},Si(f,t)),C={...S,components:{...S.components,dismiss:`span`},dismiss:ar(o,{defaultProps:{children:_.createElement(ru,null),role:`button`,"aria-label":`clear`,tabIndex:-1},renderByDefault:!0,elementType:`span`}),disabled:r,focused:h,size:n};return C.dismiss&&(C.dismiss.onClick=x),C},fv=e=>$i(e.root,{children:[e.contentBefore&&B(e.contentBefore,{}),B(e.input,{}),e.contentAfter&&$i(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&B(e.dismiss,{})]})]}),pv={root:`fui-SearchBox`,dismiss:`fui-SearchBox__dismiss`,contentAfter:`fui-SearchBox__contentAfter`,contentBefore:`fui-SearchBox__contentBefore`,input:`fui-SearchBox__input`},mv=N({small:{i8kkvl:`fjuset5`,B2u0y6b:`f1xzfw5u`,uwmqm3:[`fk8j09s`,`fdw0yi8`],z189sj:[`fdw0yi8`,`fk8j09s`]},medium:{i8kkvl:`fjuset5`,B2u0y6b:`f1xzfw5u`,uwmqm3:[`f1f5gg8d`,`f1vdfbxk`],z189sj:[`f1vdfbxk`,`f1f5gg8d`]},large:{i8kkvl:`fjuset5`,B2u0y6b:`f1xzfw5u`,uwmqm3:[`f1ng84yb`,`f11gcy0p`],z189sj:[`f11gcy0p`,`f1ng84yb`]},input:{uwmqm3:[`fk8j09s`,`fdw0yi8`],z189sj:[`fhxju0i`,`f1cnd47f`],Boqhc8c:`f18izjht`,B8uat0v:`fcoa6sg`},unfocusedNoContentAfter:{z189sj:[`fhxju0i`,`f1cnd47f`]}},{d:[`.fjuset5{column-gap:0;}`,`.f1xzfw5u{max-width:468px;}`,`.fk8j09s{padding-left:var(--spacingHorizontalSNudge);}`,`.fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}`,`.f1f5gg8d{padding-left:var(--spacingHorizontalS);}`,`.f1vdfbxk{padding-right:var(--spacingHorizontalS);}`,`.f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}`,`.f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}`,`.fhxju0i{padding-right:0;}`,`.f1cnd47f{padding-left:0;}`,`.f18izjht::-webkit-search-decoration{display:none;}`,`.fcoa6sg::-webkit-search-cancel-button{display:none;}`]}),hv=N({small:{z189sj:[`fdw0yi8`,`fk8j09s`]},medium:{z189sj:[`f1vdfbxk`,`f1f5gg8d`]},large:{z189sj:[`f11gcy0p`,`f1ng84yb`]}},{d:[`.fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}`,`.fk8j09s{padding-left:var(--spacingHorizontalSNudge);}`,`.f1vdfbxk{padding-right:var(--spacingHorizontalS);}`,`.f1f5gg8d{padding-left:var(--spacingHorizontalS);}`,`.f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}`,`.f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}`]}),gv=N({contentAfter:{uwmqm3:[`f1uw59to`,`fw5db7e`],i8kkvl:`f1ufnopg`},rest:{Bqenvij:`fniina8`,a9b677:`f3tsq5r`,uwmqm3:[`f1cnd47f`,`fhxju0i`],B68tc82:0,Bmxbyg5:0,Bpg54ce:`f1a3p1vp`}},{d:[`.f1uw59to{padding-left:var(--spacingHorizontalM);}`,`.fw5db7e{padding-right:var(--spacingHorizontalM);}`,`.f1ufnopg{column-gap:var(--spacingHorizontalXS);}`,`.fniina8{height:0;}`,`.f3tsq5r{width:0;}`,`.f1cnd47f{padding-left:0;}`,`.fhxju0i{padding-right:0;}`,[`.f1a3p1vp{overflow:hidden;}`,{p:-1}]]}),_v=er(`r1pvzcuu`,null,[`.r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}`,`.r1pvzcuu>svg{font-size:20px;}`]),vv=N({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;}`]}),yv=e=>{"use no memo";let{disabled:t,focused:n,size:r}=e,i=mv(),a=hv(),o=gv(),s=_v(),c=vv();return e.root.className=O(pv.root,i[r],!n&&i.unfocusedNoContentAfter,e.root.className),e.input.className=O(pv.input,i.input,!n&&a[r],e.input.className),e.dismiss&&(e.dismiss.className=O(pv.dismiss,s,t&&c.disabled,c[r],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=O(pv.contentBefore,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=O(pv.contentAfter,o.contentAfter,!n&&o.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=O(e.dismiss.className,o.contentAfter)),Hm(e),e},bv=_.forwardRef((e,t)=>{let n=dv(e,t);return yv(n),ii(`useSearchBoxStyles_unstable`)(n),fv(n)});bv.displayName=`SearchBox`;var xv=e=>{let t=xi(`solution-dropdown`),n=xi(`search-input`),r=e=>e.version?`${e.friendlyname} (${e.version})`:e.friendlyname,i=()=>{if(!e.selectedSolutionId)return``;let t=e.solutions.find(t=>t.solutionid===e.selectedSolutionId);return t?r(t):``},a=(t,n)=>{let r=n.optionValue;e.onSolutionFilterChanged(r||void 0)},o=(t,n)=>{e.onTextFilterChanged(n.value)},s=$n({root:{display:`flex`,gap:`12px`,alignItems:`flex-end`},field:{display:`grid`,justifyItems:`start`,gap:`2px`},dropdown:{width:`520px`,minWidth:`520px`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},optionLabel:{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,display:`block`},searchInput:{minWidth:`300px`}})();return(0,R.jsxs)(`div`,{className:s.root,children:[(0,R.jsxs)(`div`,{className:s.field,children:[(0,R.jsx)(`label`,{htmlFor:t,children:`Solution`}),(0,R.jsx)(Nm,{id:t,placeholder:`Select a solution`,value:i(),selectedOptions:e.selectedSolutionId?[e.selectedSolutionId]:[],onOptionSelect:a,className:s.dropdown,children:e.solutions.map(e=>{let t=r(e);return(0,R.jsx)(vm,{value:e.solutionid,text:t,children:(0,R.jsx)(`span`,{className:s.optionLabel,children:t})},e.solutionid)})})]}),(0,R.jsxs)(`div`,{className:s.field,children:[(0,R.jsx)(`label`,{htmlFor:n,children:`Filter Entities`}),(0,R.jsx)(bv,{id:n,placeholder:`Search by display name or logical name...`,value:e.textFilter,onChange:o,className:s.searchInput})]}),(0,R.jsx)(Dp,{appearance:`primary`,icon:(0,R.jsx)(iu,{}),onClick:e.onCountRecords,disabled:e.isCountingRecords,children:e.isCountingRecords?`Counting...`:`Count Records`})]})},Sv=$n({scrollWrapper:{height:`100%`,overflow:`auto`,position:`relative`},gridContainer:{minWidth:`max-content`},stickyHeader:{position:`sticky`,top:0,zIndex:10,backgroundColor:$.colorNeutralBackground1},cellStyles:{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`},cellStylesRight:{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,textAlign:`right`},viewDropdown:{width:`100%`}}),Cv=e=>{let t=Sv(),[n,r]=_.useState({sortColumn:`displayname`,sortDirection:`ascending`}),i=[pg({columnId:`displayname`,compare:(e,t)=>e.displayname.localeCompare(t.displayname),renderHeaderCell:()=>`Display Name`,renderCell:e=>(0,R.jsx)(`span`,{title:e.displayname,className:t.cellStyles,children:e.displayname})}),pg({columnId:`logicalname`,compare:(e,t)=>e.logicalname.localeCompare(t.logicalname),renderHeaderCell:()=>`Logical Name`,renderCell:e=>(0,R.jsx)(`span`,{title:e.logicalname,className:t.cellStyles,children:e.logicalname})}),pg({columnId:`views`,compare:()=>0,renderHeaderCell:()=>`View`,renderCell:n=>{let r=n.views?.find(e=>e.savedqueryid===n.selectedViewId),i=r?r.name:`All`;return(0,R.jsxs)(Nm,{value:i,selectedOptions:[n.selectedViewId||`All`],onOptionSelect:(t,r)=>{let i=r.optionValue===`All`?void 0:r.optionValue;e.onViewChange(n.logicalname,i)},className:t.viewDropdown,size:`medium`,children:[(0,R.jsx)(vm,{value:`All`,children:`All`},`all`),n.views?.map(e=>(0,R.jsx)(vm,{value:e.savedqueryid,children:e.name},e.savedqueryid))]})}}),pg({columnId:`recordCount`,compare:(e,t)=>(e.recordCount??-1)-(t.recordCount??-1),renderHeaderCell:()=>(0,R.jsx)(`div`,{style:{textAlign:`right`},children:`Record Count`}),renderCell:e=>e.isLoading?(0,R.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,alignItems:`center`,gap:`8px`},children:[(0,R.jsx)(gh,{size:`tiny`}),(0,R.jsx)(`span`,{children:`Progressing...`})]}):(0,R.jsx)(`div`,{style:{textAlign:`right`},children:e.recordCount===void 0?`-`:e.recordCount.toLocaleString()})})],a=_.useMemo(()=>[...e.items].sort((e,t)=>{let r=i.find(e=>e.columnId===n.sortColumn);if(!r||!r.compare)return 0;let a=r.compare(e,t);return n.sortDirection===`ascending`?a:-a}),[e.items,n]);return(0,R.jsx)(`div`,{className:t.scrollWrapper,children:(0,R.jsxs)($_,{items:a,columns:i,sortable:!0,sortState:n,onSortChange:(e,t)=>r(t),getRowId:e=>e.logicalname,className:t.gridContainer,resizableColumns:!0,columnSizingOptions:{displayname:{minWidth:300,defaultWidth:300},logicalname:{minWidth:300,defaultWidth:300},views:{minWidth:450,defaultWidth:450}},children:[(0,R.jsx)(iv,{className:t.stickyHeader,children:(0,R.jsx)(H_,{children:({renderHeaderCell:e})=>(0,R.jsx)(uv,{children:e()})})}),(0,R.jsx)(q_,{children:({item:e,rowId:t})=>(0,R.jsx)(H_,{children:({renderCell:t})=>(0,R.jsx)(A_,{children:t(e)})},t)})]})})},wv=new Set([`exchangesyncidmapping`,`fabricaiskill`,`roleeditorlayout`,`userquery`,`userqueryvisualization`,`msdyn_agentcopilotsetting`,`msdyn_copilotsummarizationsetting`,`msdyn_servicecopilotplugin`,`msdyn_servicecopilotpluginaction`,`msdyn_servicecopilotpluginrole`].map(e=>e.toLowerCase().trim())),Tv=e=>wv.has(e.toLowerCase().trim()),Ev=({connection:e})=>{let[t,n]=(0,_.useState)([]),[r,i]=(0,_.useState)([]),[a,o]=(0,_.useState)(void 0),[s,c]=(0,_.useState)(``),[l,u]=(0,_.useState)(!1),[d,f]=(0,_.useState)(!1),[p,m]=(0,_.useState)(!1),[h,g]=(0,_.useState)(new Map),v=$n({overviewRoot:{height:`100%`,display:`flex`,flexDirection:`column`,gap:`16px`,overflow:`hidden`},filterSection:{flexShrink:0},loadingContainer:{display:`flex`,justifyContent:`center`,alignItems:`center`,padding:`40px`},dataGridSection:{flex:1,display:`flex`,flexDirection:`column`,overflow:`hidden`,minHeight:0},eventLogSection:{flexShrink:0,height:`200px`,overflow:`hidden`}})();(0,_.useEffect)(()=>{(async()=>{e&&(await ee(),C().then(e=>{g(e),y.info(`Loaded views for ${e.size} entities in background`)}).catch(e=>{y.error(`Error loading views in background: ${e.message}`)}))})()},[e]),(0,_.useEffect)(()=>{e&&te()},[a]);let S=(0,_.useCallback)(async(e,t,n)=>{try{await window.toolboxAPI.utils.showNotification({title:e,body:t,type:n,duration:3e3})}catch(e){console.error(`Error showing notification:`,e)}},[]),ee=(0,_.useCallback)(async()=>{try{f(!0);let e=await b();n(e),y.info(`Fetched ${e.length} solutions`)}catch(e){y.error(`Error querying solutions: ${e.message}`),await S(`Error`,`Failed to load solutions: ${e.message}`,`error`)}finally{f(!1)}},[S]),te=(0,_.useCallback)(async()=>{try{u(!0);let e=await x(a),t=e.filter(e=>!Tv(e.logicalname)),n=e.length-t.length;n>0&&y.info(`Ignored ${n} blacklisted entities while loading`);let r=t.map(e=>{let t=h.get(e.logicalname)||[];return{...e,views:t}});i(r),y.info(`Fetched ${r.length} entities with views`);let o=a?` for selected solution`:``;await S(`Entities Loaded`,`Successfully loaded ${r.length} entities${o}`,`success`)}catch(e){y.error(`Error querying entities: ${e.message}`),await S(`Error`,`Failed to load entities: ${e.message}`,`error`)}finally{u(!1)}},[a,S]),ne=_.useMemo(()=>{if(!s)return r;let e=s.toLowerCase();return r.filter(t=>t.displayname?.toLowerCase().includes(e)||t.logicalname?.toLowerCase().includes(e))},[r,s]),re=(0,_.useCallback)(async()=>{try{m(!0),y.info(`Starting record count for all entities...`);let e=ne.filter(e=>!Tv(e.logicalname)),t=ne.length-e.length;if(t>0&&y.info(`Skipped ${t} blacklisted entities during counting`),e.length===0){await S(`Nothing to Count`,`No countable entities found after applying filters and blacklist.`,`info`);return}i(t=>t.map(t=>e.find(e=>e.logicalname===t.logicalname)?{...t,isLoading:!0,recordCount:void 0}:t));let n=e.filter(e=>e.views?.find(t=>t.savedqueryid===e.selectedViewId)?.fetchxml),r=e.filter(e=>!e.views?.find(t=>t.savedqueryid===e.selectedViewId)?.fetchxml);if(r.length>0){y.info(`Batch counting ${r.length} entities without views`);try{let e=await T(r.map(e=>e.logicalname));i(t=>t.map(t=>e.hasOwnProperty(t.logicalname)?{...t,recordCount:e[t.logicalname],isLoading:!1}:t)),y.info(`Batch count completed for ${r.length} entities`)}catch(e){y.error(`Error in batch counting: ${e.message}`),i(e=>e.map(e=>r.find(t=>t.logicalname===e.logicalname)?{...e,recordCount:0,isLoading:!1}:e)),await S(`Error`,`Failed to count records: ${e.message}`,`error`);return}}for(let t of n)try{let n=t.views?.find(e=>e.savedqueryid===t.selectedViewId),r=n?.fetchxml,a=await w(t.entitysetname,t.logicalname,r);i(e=>e.map(e=>e.logicalname===t.logicalname?{...e,recordCount:a,isLoading:!1}:e));let o=n?` (view: ${n.name})`:``;y.info(`Counted ${a} records for ${t.logicalname}${o}`),await S(`Record Count Complete`,`Successfully counted records for ${e.length} entities`,`success`),y.info(`Record count completed`)}catch(e){y.error(`Error counting records for ${t.logicalname}: ${e.message}`),i(e=>e.map(e=>e.logicalname===t.logicalname?{...e,recordCount:0,isLoading:!1}:e)),y.error(`Error counting records: ${e.message}`),await S(`Error`,`Failed to count records: ${e.message}`,`error`)}}finally{m(!1)}},[ne,S]),E=(0,_.useCallback)((e,t)=>{y.info(`View changed for ${e} to: ${t||`All`}`),i(n=>n.map(n=>n.logicalname===e?{...n,selectedViewId:t,recordCount:void 0}:n))},[]);return(0,R.jsx)(`div`,{className:v.overviewRoot,children:l||d?(0,R.jsx)(`div`,{className:v.loadingContainer,children:(0,R.jsx)(gh,{label:d?`Loading solutions...`:`Loading entities...`})}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`div`,{className:v.filterSection,children:(0,R.jsx)(xv,{solutions:t,selectedSolutionId:a,textFilter:s,onSolutionFilterChanged:e=>{y.info(`Solution filter changed to: ${e||`All`}`),o(e)},onTextFilterChanged:e=>{c(e)},onCountRecords:re,isCountingRecords:p})}),r.length>0&&(0,R.jsx)(`div`,{className:v.dataGridSection,children:(0,R.jsx)(Cv,{items:ne,onViewChange:E})})]})})};function Dv(){let[e,t]=(0,_.useState)(null),[n,r]=(0,_.useState)(!0),i=(0,_.useCallback)(async()=>{try{t(await window.toolboxAPI.connections.getActiveConnection())}catch(e){console.error(`Error refreshing connection:`,e)}finally{r(!1)}},[]);return(0,_.useEffect)(()=>{i()},[i]),{connection:e,isLoading:n,refreshConnection:i}}function Ov(e){(0,_.useEffect)(()=>(window.toolboxAPI.events.on((t,n)=>{console.log(`Toolbox event received: ${n.event}`,n.data),e(n.event,n.data)}),()=>{}),[e])}var kv=``+new URL(`fast-record-counter_small-CcFp3TaT.png`,document.currentScript&&document.currentScript.tagName.toUpperCase()===`SCRIPT`&&document.currentScript.src||document.baseURI).href,Av=$n({container:{backgroundColor:$.colorNeutralBackground1,height:`100vh`,display:`flex`,flexDirection:`column`,overflow:`hidden`},header:{padding:$.spacingVerticalL,paddingBottom:$.spacingVerticalS,borderBottom:`1px solid ${$.colorNeutralStroke1}`,gap:$.spacingVerticalXXS,flexShrink:0},headerTitle:{display:`flex`,alignItems:`center`,gap:$.spacingHorizontalM},headerIcon:{height:`50px`,objectFit:`contain`},subtitle:{color:$.colorNeutralForeground3,fontSize:$.fontSizeBase300},content:{padding:$.spacingVerticalL,flex:1,overflow:`hidden`,minHeight:0}});function jv(){let{connection:e,refreshConnection:t}=Dv(),[n,r]=(0,_.useState)(al),i=Av(),a=(0,_.useCallback)((e,n)=>{switch(console.log(`Received event: ${e}`),e){case`connection:updated`:case`connection:created`:t();break;case`connection:deleted`:t();break;case`terminal:output`:case`terminal:command:completed`:case`terminal:error`:break;case`settings:updated`:o(),y.info(`Settings updated`);break}},[t]);async function o(){let e=await window.toolboxAPI.utils.getCurrentTheme();r(e===`dark`?al:Qc),y.info(`Theme updated:${e}`)}return Ov(a),(0,_.useEffect)(()=>{(async()=>{await o(),y.info(`Initialized`)})()},[]),(0,R.jsx)(bl,{theme:n,children:(0,R.jsxs)(`div`,{className:i.container,children:[(0,R.jsx)(`div`,{className:i.header,children:(0,R.jsxs)(`div`,{className:i.headerTitle,children:[(0,R.jsx)(`img`,{src:kv,alt:`Fast Record Counter Icon`,className:i.headerIcon}),(0,R.jsx)(wh,{children:`Fast Record Counter`}),(0,R.jsx)(Sh,{className:i.subtitle,children:`Count records across all entities in your environment`})]})}),(0,R.jsx)(`div`,{className:i.content,children:(0,R.jsx)(Ev,{connection:e})})]})})}var Mv=document.getElementById(`root`);Mv&&!Mv.hasAttribute(`data-reactroot-initialized`)?(Mv.setAttribute(`data-reactroot-initialized`,`true`),(0,v.createRoot)(Mv).render((0,R.jsx)(_.StrictMode,{children:(0,R.jsx)(jv,{})}))):Mv||console.error(`Root element not found. Make sure the HTML contains <div id="root"></div>`)})();