@cyco77/pptb-fast-record-counter 0.8.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
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 E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var te=/\/+/g;function O(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function ne(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===``?`.`+O(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(te,`$&/`)+`/`),ne(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(te,`$&/`)+`/`)+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+O(s,l);c+=ne(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+O(s,l++),c+=ne(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 re(e,t,n){if(e==null)return e;var r=[],i=0;return ne(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ie(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 ae={current:null},oe={transition:null},se={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:oe,ReactCurrentOwner:C};function ce(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:re,forEach:function(e,t,n){re(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return re(e,function(){t++}),t},toArray:function(e){return re(e,function(e){return e})||[]},only:function(e){if(!D(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=se,e.act=ce,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=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ie}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=oe.transition;oe.transition={};try{e()}finally{oe.transition=t}},e.unstable_act=ce,e.useCallback=function(e,t){return ae.current.useCallback(e,t)},e.useContext=function(e){return ae.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return ae.current.useDeferredValue(e)},e.useEffect=function(e,t){return ae.current.useEffect(e,t)},e.useId=function(){return ae.current.useId()},e.useImperativeHandle=function(e,t,n){return ae.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return ae.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return ae.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return ae.current.useMemo(e,t)},e.useReducer=function(e,t,n){return ae.current.useReducer(e,t,n)},e.useRef=function(e){return ae.current.useRef(e)},e.useState=function(e){return ae.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return ae.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return ae.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,re(x);else{var t=n(l);t!==null&&ie(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&&!D());){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&&ie(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,E=-1;function D(){return!(e.unstable_now()-E<T)}function ee(){if(C!==null){var t=e.unstable_now();E=t;var n=!0;try{n=C(!0,t)}finally{n?te():(S=!1,C=null)}}else S=!1}var te;if(typeof v==`function`)te=function(){v(ee)};else if(typeof MessageChannel<`u`){var O=new MessageChannel,ne=O.port2;O.port1.onmessage=ee,te=function(){ne.postMessage(null)}}else te=function(){g(ee,0)};function re(e){C=e,S||(S=!0,te())}function ie(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,re(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,ie(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,re(x))),r},e.unstable_shouldYield=D,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`),E=Symbol.for(`react.fragment`),D=Symbol.for(`react.strict_mode`),ee=Symbol.for(`react.profiler`),te=Symbol.for(`react.provider`),O=Symbol.for(`react.context`),ne=Symbol.for(`react.forward_ref`),re=Symbol.for(`react.suspense`),ie=Symbol.for(`react.suspense_list`),ae=Symbol.for(`react.memo`),oe=Symbol.for(`react.lazy`),se=Symbol.for(`react.offscreen`),ce=Symbol.iterator;function le(e){return typeof e!=`object`||!e?null:(e=ce&&e[ce]||e[`@@iterator`],typeof e==`function`?e:null)}var k=Object.assign,ue;function A(e){if(ue===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ue=t&&t[1]||``}return`
3
+ `+ue+e}var de=!1;function fe(e,t){if(!e||de)return``;de=!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{de=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?A(e):``}function pe(e){switch(e.tag){case 5:return A(e.type);case 16:return A(`Lazy`);case 13:return A(`Suspense`);case 19:return A(`SuspenseList`);case 0:case 2:case 15:return e=fe(e.type,!1),e;case 11:return e=fe(e.type.render,!1),e;case 1:return e=fe(e.type,!0),e;default:return``}}function me(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 E:return`Fragment`;case T:return`Portal`;case ee:return`Profiler`;case D:return`StrictMode`;case re:return`Suspense`;case ie:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case O:return(e.displayName||`Context`)+`.Consumer`;case te:return(e._context.displayName||`Context`)+`.Provider`;case ne:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ae:return t=e.displayName||null,t===null?me(e.type)||`Memo`:t;case oe:t=e._payload,e=e._init;try{return me(e(t))}catch{}}return null}function he(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 me(t);case 8:return t===D?`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 ge(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function _e(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ve(e){var t=_e(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 ye(e){e._valueTracker||=ve(e)}function be(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=_e(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function xe(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 Se(e,t){var n=t.checked;return k({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ce(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=ge(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 we(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function Te(e,t){we(e,t);var n=ge(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`)?De(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&De(e,t.type,ge(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ee(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 De(e,t,n){(t!==`number`||xe(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var Oe=Array.isArray;function ke(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=``+ge(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 Ae(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return k({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function je(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(Oe(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:ge(n)}}function Me(e,t){var n=ge(t.value),r=ge(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 Ne(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Pe(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 Fe(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Pe(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var Ie,Le=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(Ie||=document.createElement(`div`),Ie.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=Ie.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function j(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Re={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},ze=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Re).forEach(function(e){ze.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Re[t]=Re[e]})});function Be(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Re.hasOwnProperty(e)&&Re[e]?(``+t).trim():t+`px`}function Ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Be(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var He=k({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 Ue(e,t){if(t){if(He[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 We(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 Ge=null;function Ke(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qe=null,Je=null,Ye=null;function Xe(e){if(e=Wi(e)){if(typeof qe!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Ki(t),qe(e.stateNode,e.type,t))}}function Ze(e){Je?Ye?Ye.push(e):Ye=[e]:Je=e}function Qe(){if(Je){var e=Je,t=Ye;if(Ye=Je=null,Xe(e),t)for(e=0;e<t.length;e++)Xe(t[e])}}function $e(e,t){return e(t)}function et(){}var tt=!1;function nt(e,t,n){if(tt)return e(t,n);tt=!0;try{return $e(e,t,n)}finally{tt=!1,(Je!==null||Ye!==null)&&(et(),Qe())}}function rt(e,t){var n=e.stateNode;if(n===null)return null;var i=Ki(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 it=!1;if(c)try{var at={};Object.defineProperty(at,"passive",{get:function(){it=!0}}),window.addEventListener(`test`,at,at),window.removeEventListener(`test`,at,at)}catch{it=!1}function ot(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 st=!1,ct=null,lt=!1,ut=null,dt={onError:function(e){st=!0,ct=e}};function ft(e,t,n,r,i,a,o,s,c){st=!1,ct=null,ot.apply(dt,arguments)}function pt(e,t,n,i,a,o,s,c,l){if(ft.apply(this,arguments),st){if(st){var u=ct;st=!1,ct=null}else throw Error(r(198));lt||(lt=!0,ut=u)}}function mt(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 ht(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 gt(e){if(mt(e)!==e)throw Error(r(188))}function _t(e){var t=e.alternate;if(!t){if(t=mt(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 gt(a),e;if(o===i)return gt(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 vt(e){return e=_t(e),e===null?null:yt(e)}function yt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=yt(e);if(t!==null)return t;e=e.sibling}return null}var bt=n.unstable_scheduleCallback,xt=n.unstable_cancelCallback,St=n.unstable_shouldYield,Ct=n.unstable_requestPaint,wt=n.unstable_now,Tt=n.unstable_getCurrentPriorityLevel,Et=n.unstable_ImmediatePriority,Dt=n.unstable_UserBlockingPriority,M=n.unstable_NormalPriority,Ot=n.unstable_LowPriority,kt=n.unstable_IdlePriority,At=null,jt=null;function Mt(e){if(jt&&typeof jt.onCommitFiberRoot==`function`)try{jt.onCommitFiberRoot(At,e,void 0,(e.current.flags&128)==128)}catch{}}var Nt=Math.clz32?Math.clz32:It,Pt=Math.log,Ft=Math.LN2;function It(e){return e>>>=0,e===0?32:31-(Pt(e)/Ft|0)|0}var Lt=64,Rt=4194304;function zt(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 Bt(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=zt(a))):r=zt(s)}else o=n&~i,o===0?a!==0&&(r=zt(a)):r=zt(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-Nt(t),i=1<<n,r|=e[n],t&=~i;return r}function Vt(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 Ht(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Nt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Vt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Ut(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Wt(){var e=Lt;return Lt<<=1,!(Lt&4194240)&&(Lt=64),e}function Gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Kt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function qt(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-Nt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Jt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Nt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var N=0;function Yt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Xt,Zt,Qt,$t,en,tn=!1,nn=[],rn=null,an=null,on=null,sn=new Map,cn=new Map,ln=[],un=`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 dn(e,t){switch(e){case`focusin`:case`focusout`:rn=null;break;case`dragenter`:case`dragleave`:an=null;break;case`mouseover`:case`mouseout`:on=null;break;case`pointerover`:case`pointerout`:sn.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:cn.delete(t.pointerId)}}function fn(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=Wi(t),t!==null&&Zt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function pn(e,t,n,r,i){switch(t){case`focusin`:return rn=fn(rn,e,t,n,r,i),!0;case`dragenter`:return an=fn(an,e,t,n,r,i),!0;case`mouseover`:return on=fn(on,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return sn.set(a,fn(sn.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,cn.set(a,fn(cn.get(a)||null,e,t,n,r,i)),!0}return!1}function mn(e){var t=Ui(e.target);if(t!==null){var n=mt(t);if(n!==null){if(t=n.tag,t===13){if(t=ht(n),t!==null){e.blockedOn=t,en(e.priority,function(){Qt(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 hn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=En(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ge=r,n.target.dispatchEvent(r),Ge=null}else return t=Wi(n),t!==null&&Zt(t),e.blockedOn=n,!1;t.shift()}return!0}function gn(e,t,n){hn(e)&&n.delete(t)}function _n(){tn=!1,rn!==null&&hn(rn)&&(rn=null),an!==null&&hn(an)&&(an=null),on!==null&&hn(on)&&(on=null),sn.forEach(gn),cn.forEach(gn)}function vn(e,t){e.blockedOn===t&&(e.blockedOn=null,tn||(tn=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,_n)))}function yn(e){function t(t){return vn(t,e)}if(0<nn.length){vn(nn[0],e);for(var n=1;n<nn.length;n++){var r=nn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(rn!==null&&vn(rn,e),an!==null&&vn(an,e),on!==null&&vn(on,e),sn.forEach(t),cn.forEach(t),n=0;n<ln.length;n++)r=ln[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ln.length&&(n=ln[0],n.blockedOn===null);)mn(n),n.blockedOn===null&&ln.shift()}var bn=C.ReactCurrentBatchConfig,xn=!0;function Sn(e,t,n,r){var i=N,a=bn.transition;bn.transition=null;try{N=1,wn(e,t,n,r)}finally{N=i,bn.transition=a}}function Cn(e,t,n,r){var i=N,a=bn.transition;bn.transition=null;try{N=4,wn(e,t,n,r)}finally{N=i,bn.transition=a}}function wn(e,t,n,r){if(xn){var i=En(e,t,n,r);if(i===null)gi(e,t,r,Tn,n),dn(e,r);else if(pn(i,e,t,n,r))r.stopPropagation();else if(dn(e,r),t&4&&-1<un.indexOf(e)){for(;i!==null;){var a=Wi(i);if(a!==null&&Xt(a),a=En(e,t,n,r),a===null&&gi(e,t,r,Tn,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else gi(e,t,r,null,n)}}var Tn=null;function En(e,t,n,r){if(Tn=null,e=Ke(r),e=Ui(e),e!==null)if(t=mt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ht(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 Tn=e,null}function Dn(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(Tt()){case Et:return 1;case Dt:return 4;case M:case Ot:return 16;case kt:return 536870912;default:return 16}default:return 16}}var On=null,kn=null,An=null;function jn(){if(An)return An;var e,t=kn,n=t.length,r,i=`value`in On?On.value:On.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 An=i.slice(e,1<r?1-r:void 0)}function Mn(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 Nn(){return!0}function Pn(){return!1}function Fn(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)?Nn:Pn,this.isPropagationStopped=Pn,this}return k(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=Nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Nn)},persist:function(){},isPersistent:Nn}),t}var In={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ln=Fn(In),Rn=k({},In,{view:0,detail:0}),zn=Fn(Rn),Bn,Vn,Hn,Un=k({},Rn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$n,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!==Hn&&(Hn&&e.type===`mousemove`?(Bn=e.screenX-Hn.screenX,Vn=e.screenY-Hn.screenY):Vn=Bn=0,Hn=e),Bn)},movementY:function(e){return`movementY`in e?e.movementY:Vn}}),Wn=Fn(Un),Gn=Fn(k({},Un,{dataTransfer:0})),Kn=Fn(k({},Rn,{relatedTarget:0})),qn=Fn(k({},In,{animationName:0,elapsedTime:0,pseudoElement:0})),Jn=Fn(k({},In,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Yn=Fn(k({},In,{data:0})),Xn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Zn={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`},Qn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function P(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Qn[e])?!!t[e]:!1}function $n(){return P}var er=Fn(k({},Rn,{key:function(e){if(e.key){var t=Xn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Mn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Zn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$n,charCode:function(e){return e.type===`keypress`?Mn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Mn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),tr=Fn(k({},Un,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nr=Fn(k({},Rn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$n})),rr=Fn(k({},In,{propertyName:0,elapsedTime:0,pseudoElement:0})),F=Fn(k({},Un,{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})),ir=[9,13,27,32],ar=c&&`CompositionEvent`in window,or=null;c&&`documentMode`in document&&(or=document.documentMode);var sr=c&&`TextEvent`in window&&!or,cr=c&&(!ar||or&&8<or&&11>=or),I=` `,lr=!1;function ur(e,t){switch(e){case`keyup`:return ir.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function dr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var fr=!1;function pr(e,t){switch(e){case`compositionend`:return dr(t);case`keypress`:return t.which===32?(lr=!0,I):null;case`textInput`:return e=t.data,e===I&&lr?null:e;default:return null}}function mr(e,t){if(fr)return e===`compositionend`||!ar&&ur(e,t)?(e=jn(),An=kn=On=null,fr=!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 cr&&t.locale!==`ko`?null:t.data;default:return null}}var hr={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 gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!hr[e.type]:t===`textarea`}function _r(e,t,n,r){Ze(r),t=_i(t,`onChange`),0<t.length&&(n=new Ln(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var vr=null,yr=null;function br(e){di(e,0)}function xr(e){if(be(Gi(e)))return e}function Sr(e,t){if(e===`change`)return t}var Cr=!1;if(c){var wr;if(c){var Tr=`oninput`in document;if(!Tr){var Er=document.createElement(`div`);Er.setAttribute(`oninput`,`return;`),Tr=typeof Er.oninput==`function`}wr=Tr}else wr=!1;Cr=wr&&(!document.documentMode||9<document.documentMode)}function Dr(){vr&&(vr.detachEvent(`onpropertychange`,Or),yr=vr=null)}function Or(e){if(e.propertyName===`value`&&xr(yr)){var t=[];_r(t,yr,e,Ke(e)),nt(br,t)}}function kr(e,t,n){e===`focusin`?(Dr(),vr=t,yr=n,vr.attachEvent(`onpropertychange`,Or)):e===`focusout`&&Dr()}function Ar(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return xr(yr)}function jr(e,t){if(e===`click`)return xr(t)}function Mr(e,t){if(e===`input`||e===`change`)return xr(t)}function Nr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Pr=typeof Object.is==`function`?Object.is:Nr;function Fr(e,t){if(Pr(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)||!Pr(e[i],t[i]))return!1}return!0}function Ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lr(e,t){var n=Ir(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=Ir(n)}}function Rr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zr(){for(var e=window,t=xe();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=xe(e.document)}return t}function Br(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 Vr(e){var t=zr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Rr(n.ownerDocument.documentElement,n)){if(r!==null&&Br(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=Lr(n,a);var o=Lr(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 Hr=c&&`documentMode`in document&&11>=document.documentMode,Ur=null,Wr=null,Gr=null,Kr=!1;function qr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Kr||Ur==null||Ur!==xe(r)||(r=Ur,`selectionStart`in r&&Br(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}),Gr&&Fr(Gr,r)||(Gr=r,r=_i(Wr,`onSelect`),0<r.length&&(t=new Ln(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Ur)))}function Jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Yr={animationend:Jr(`Animation`,`AnimationEnd`),animationiteration:Jr(`Animation`,`AnimationIteration`),animationstart:Jr(`Animation`,`AnimationStart`),transitionend:Jr(`Transition`,`TransitionEnd`)},Xr={},Zr={};c&&(Zr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Yr.animationend.animation,delete Yr.animationiteration.animation,delete Yr.animationstart.animation),`TransitionEvent`in window||delete Yr.transitionend.transition);function Qr(e){if(Xr[e])return Xr[e];if(!Yr[e])return e;var t=Yr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Zr)return Xr[e]=t[n];return e}var $r=Qr(`animationend`),ei=Qr(`animationiteration`),ti=Qr(`animationstart`),ni=Qr(`transitionend`),ri=new Map,ii=`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 ai(e,t){ri.set(e,t),o(t,[e])}for(var oi=0;oi<ii.length;oi++){var si=ii[oi];ai(si.toLowerCase(),`on`+(si[0].toUpperCase()+si.slice(1)))}ai($r,`onAnimationEnd`),ai(ei,`onAnimationIteration`),ai(ti,`onAnimationStart`),ai(`dblclick`,`onDoubleClick`),ai(`focusin`,`onFocus`),ai(`focusout`,`onBlur`),ai(ni,`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 ci=`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(` `),li=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(ci));function ui(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,pt(r,t,void 0,e),e.currentTarget=null}function di(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;ui(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;ui(i,s,l),a=c}}}if(lt)throw e=ut,lt=!1,ut=null,e}function L(e,t){var n=t[Bi];n===void 0&&(n=t[Bi]=new Set);var r=e+`__bubble`;n.has(r)||(hi(t,e,2,!1),n.add(r))}function fi(e,t,n){var r=0;t&&(r|=4),hi(n,e,r,t)}var pi=`_reactListening`+Math.random().toString(36).slice(2);function mi(e){if(!e[pi]){e[pi]=!0,i.forEach(function(t){t!==`selectionchange`&&(li.has(t)||fi(t,!1,e),fi(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[pi]||(t[pi]=!0,fi(`selectionchange`,!1,t))}}function hi(e,t,n,r){switch(Dn(t)){case 1:var i=Sn;break;case 4:i=Cn;break;default:i=wn}n=i.bind(null,t,n,e),i=void 0,!it||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 gi(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=Ui(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}nt(function(){var r=a,i=Ke(n),o=[];a:{var s=ri.get(e);if(s!==void 0){var c=Ln,l=e;switch(e){case`keypress`:if(Mn(n)===0)break a;case`keydown`:case`keyup`:c=er;break;case`focusin`:l=`focus`,c=Kn;break;case`focusout`:l=`blur`,c=Kn;break;case`beforeblur`:case`afterblur`:c=Kn;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=Wn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Gn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=nr;break;case $r:case ei:case ti:c=qn;break;case ni:c=rr;break;case`scroll`:c=zn;break;case`wheel`:c=F;break;case`copy`:case`cut`:case`paste`:c=Jn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=tr}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=rt(p,f),h!=null&&u.push(R(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!==Ge&&(l=n.relatedTarget||n.fromElement)&&(Ui(l)||l[zi]))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?Ui(l):null,l!==null&&(d=mt(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Wn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=tr,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Gi(c),m=l==null?s:Gi(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Ui(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=vi(m))p++;for(m=0,h=f;h;h=vi(h))m++;for(;0<p-m;)u=vi(u),p--;for(;0<m-p;)f=vi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=vi(u),f=vi(f)}u=null}else u=null;c!==null&&yi(o,s,c,u,!1),l!==null&&d!==null&&yi(o,d,l,u,!0)}}a:{if(s=r?Gi(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Sr;else if(gr(s))if(Cr)g=Mr;else{g=Ar;var _=kr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=jr);if(g&&=g(e,r)){_r(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&De(s,`number`,s.value)}switch(_=r?Gi(r):window,e){case`focusin`:(gr(_)||_.contentEditable===`true`)&&(Ur=_,Wr=r,Gr=null);break;case`focusout`:Gr=Wr=Ur=null;break;case`mousedown`:Kr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Kr=!1,qr(o,n,i);break;case`selectionchange`:if(Hr)break;case`keydown`:case`keyup`:qr(o,n,i)}var v;if(ar)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 fr?ur(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(cr&&n.locale!==`ko`&&(fr||y!==`onCompositionStart`?y===`onCompositionEnd`&&fr&&(v=jn()):(On=i,kn=`value`in On?On.value:On.textContent,fr=!0)),_=_i(r,y),0<_.length&&(y=new Yn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=dr(n),v!==null&&(y.data=v)))),(v=sr?pr(e,n):mr(e,n))&&(r=_i(r,`onBeforeInput`),0<r.length&&(i=new Yn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}di(o,t)})}function R(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _i(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=rt(e,n),a!=null&&r.unshift(R(e,a,i)),a=rt(e,t),a!=null&&r.push(R(e,a,i))),e=e.return}return r}function vi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function yi(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=rt(n,a),c!=null&&o.unshift(R(n,c,s))):i||(c=rt(n,a),c!=null&&o.push(R(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var bi=/\r\n?/g,xi=/\u0000|\uFFFD/g;function Si(e){return(typeof e==`string`?e:``+e).replace(bi,`
7
+ `).replace(xi,``)}function Ci(e,t,n){if(t=Si(t),Si(e)!==t&&n)throw Error(r(425))}function wi(){}var Ti=null,Ei=null;function Di(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 Oi=typeof setTimeout==`function`?setTimeout:void 0,ki=typeof clearTimeout==`function`?clearTimeout:void 0,Ai=typeof Promise==`function`?Promise:void 0,ji=typeof queueMicrotask==`function`?queueMicrotask:Ai===void 0?Oi:function(e){return Ai.resolve(null).then(e).catch(Mi)};function Mi(e){setTimeout(function(){throw e})}function Ni(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),yn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);yn(t)}function Pi(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 Fi(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 Ii=Math.random().toString(36).slice(2),Li=`__reactFiber$`+Ii,Ri=`__reactProps$`+Ii,zi=`__reactContainer$`+Ii,Bi=`__reactEvents$`+Ii,Vi=`__reactListeners$`+Ii,Hi=`__reactHandles$`+Ii;function Ui(e){var t=e[Li];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zi]||n[Li]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Fi(e);e!==null;){if(n=e[Li])return n;e=Fi(e)}return t}e=n,n=e.parentNode}return null}function Wi(e){return e=e[Li]||e[zi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Ki(e){return e[Ri]||null}var qi=[],Ji=-1;function Yi(e){return{current:e}}function z(e){0>Ji||(e.current=qi[Ji],qi[Ji]=null,Ji--)}function B(e,t){Ji++,qi[Ji]=e.current,e.current=t}var Xi={},Zi=Yi(Xi),V=Yi(!1),Qi=Xi;function $i(e,t){var n=e.type.contextTypes;if(!n)return Xi;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 ea(e){return e=e.childContextTypes,e!=null}function ta(){z(V),z(Zi)}function na(e,t,n){if(Zi.current!==Xi)throw Error(r(168));B(Zi,t),B(V,n)}function ra(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,he(e)||`Unknown`,a));return k({},n,i)}function ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xi,Qi=Zi.current,B(Zi,e),B(V,V.current),!0}function aa(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=ra(e,t,Qi),i.__reactInternalMemoizedMergedChildContext=e,z(V),z(Zi),B(Zi,e)):z(V),B(V,n)}var oa=null,sa=!1,ca=!1;function la(e){oa===null?oa=[e]:oa.push(e)}function ua(e){sa=!0,la(e)}function da(){if(!ca&&oa!==null){ca=!0;var e=0,t=N;try{var n=oa;for(N=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}oa=null,sa=!1}catch(t){throw oa!==null&&(oa=oa.slice(e+1)),bt(Et,da),t}finally{N=t,ca=!1}}return null}var fa=[],pa=0,ma=null,ha=0,ga=[],_a=0,va=null,ya=1,ba=``;function xa(e,t){fa[pa++]=ha,fa[pa++]=ma,ma=e,ha=t}function Sa(e,t,n){ga[_a++]=ya,ga[_a++]=ba,ga[_a++]=va,va=e;var r=ya;e=ba;var i=32-Nt(r)-1;r&=~(1<<i),n+=1;var a=32-Nt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ya=1<<32-Nt(t)+i|n<<i|r,ba=a+e}else ya=1<<a|n<<i|r,ba=e}function Ca(e){e.return!==null&&(xa(e,1),Sa(e,1,0))}function wa(e){for(;e===ma;)ma=fa[--pa],fa[pa]=null,ha=fa[--pa],fa[pa]=null;for(;e===va;)va=ga[--_a],ga[_a]=null,ba=ga[--_a],ga[_a]=null,ya=ga[--_a],ga[_a]=null}var H=null,Ta=null,U=!1,Ea=null;function Da(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 Oa(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,H=e,Ta=Pi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,H=e,Ta=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=va===null?null:{id:ya,overflow:ba},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Kl(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,H=e,Ta=null,!0);default:return!1}}function ka(e){return(e.mode&1)!=0&&(e.flags&128)==0}function Aa(e){if(U){var t=Ta;if(t){var n=t;if(!Oa(e,t)){if(ka(e))throw Error(r(418));t=Pi(n.nextSibling);var i=H;t&&Oa(e,t)?Da(i,n):(e.flags=e.flags&-4097|2,U=!1,H=e)}}else{if(ka(e))throw Error(r(418));e.flags=e.flags&-4097|2,U=!1,H=e}}}function ja(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;H=e}function Ma(e){if(e!==H)return!1;if(!U)return ja(e),U=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Di(e.type,e.memoizedProps)),t&&=Ta){if(ka(e))throw Na(),Error(r(418));for(;t;)Da(e,t),t=Pi(t.nextSibling)}if(ja(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){Ta=Pi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Ta=null}}else Ta=H?Pi(e.stateNode.nextSibling):null;return!0}function Na(){for(var e=Ta;e;)e=Pi(e.nextSibling)}function Pa(){Ta=H=null,U=!1}function Fa(e){Ea===null?Ea=[e]:Ea.push(e)}var Ia=C.ReactCurrentBatchConfig;function La(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 Ra(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function za(e){var t=e._init;return t(e._payload)}function Ba(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===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===oe&&za(i)===t.type)?(r=a(t,n.props),r.ref=La(e,t,n),r.return=e,r):(r=Xl(n.type,n.key,n.props,null,e.mode,r),r.ref=La(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=La(e,null,t),n.return=e,n;case T:return t=eu(t,e.mode,n),t.return=e,t;case oe:var r=t._init;return f(e,r(t._payload),n)}if(Oe(t)||le(t))return t=Zl(t,e.mode,n,null),t.return=e,t;Ra(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 oe:return i=n._init,p(e,t,i(n._payload),r)}if(Oe(n)||le(n))return i===null?d(e,t,n,r,null):null;Ra(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 oe:var a=r._init;return m(e,t,n,a(r._payload),i)}if(Oe(r)||le(r))return e=e.get(n)||null,d(t,e,r,i,null);Ra(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),U&&xa(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 U&&xa(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)}),U&&xa(r,h),l}function g(a,s,c,l){var u=le(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),U&&xa(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 U&&xa(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)}),U&&xa(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&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===E){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===oe&&za(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=La(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(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=La(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 oe:return l=i._init,_(e,r,l(i._payload),o)}if(Oe(i))return h(e,r,i,o);if(le(i))return g(e,r,i,o);Ra(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 Va=Ba(!0),Ha=Ba(!1),Ua=Yi(null),Wa=null,Ga=null,Ka=null;function qa(){Ka=Ga=Wa=null}function W(e){var t=Ua.current;z(Ua),e._currentValue=t}function Ja(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 Ya(e,t){Wa=e,Ka=Ga=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Rs=!0),e.firstContext=null)}function Xa(e){var t=e._currentValue;if(Ka!==e)if(e={context:e,memoizedValue:t,next:null},Ga===null){if(Wa===null)throw Error(r(308));Ga=e,Wa.dependencies={lanes:0,firstContext:e}}else Ga=Ga.next=e;return t}var Za=null;function Qa(e){Za===null?Za=[e]:Za.push(e)}function $a(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Qa(t)):(n.next=i.next,i.next=n),t.interleaved=n,eo(e,r)}function eo(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 to=!1;function no(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ro(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 io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ao(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,eo(e,n)}return i=r.interleaved,i===null?(t.next=t,Qa(r)):(t.next=i.next,i.next=t),r.interleaved=t,eo(e,n)}function oo(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,Jt(e,n)}}function so(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 co(e,t,n,r){var i=e.updateQueue;to=!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=k({},d,f);break a;case 2:to=!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 lo(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 uo={},fo=Yi(uo),po=Yi(uo),mo=Yi(uo);function ho(e){if(e===uo)throw Error(r(174));return e}function go(e,t){switch(B(mo,t),B(po,e),B(fo,uo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fe(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Fe(t,e)}z(fo),B(fo,t)}function _o(){z(fo),z(po),z(mo)}function vo(e){ho(mo.current);var t=ho(fo.current),n=Fe(t,e.type);t!==n&&(B(po,e),B(fo,n))}function yo(e){po.current===e&&(z(fo),z(po))}var bo=Yi(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(!Pr(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,Pr(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);Pr(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=!Pr(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!Pr(e,n)}catch{return!0}}function Jo(e){var t=eo(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?(Pr(n,t)||(n=Wt(),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=N;N=n!==0&&4>n?n:4,e(!0);var r=To.transition;To.transition={};try{e(!1),t()}finally{N=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=$a(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,Pr(s,o)){var c=t.interleaved;c===null?(i.next=i,Qa(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=$a(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,Jt(e,n)}}var _s={readContext:Xa,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:Xa,useCallback:function(e,t){return Lo().memoizedState=[e,t===void 0?null:t],e},useContext:Xa,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(U){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(U){var n=ba,r=ya;n=(r&~(1<<32-Nt(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:Xa,useCallback:ss,useContext:Xa,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:Xa,useCallback:ss,useContext:Xa,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=k({},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:k({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cs={isMounted:function(e){return(e=e._reactInternals)?mt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fl(),i=pl(e),a=io(r,i);a.payload=t,n!=null&&(a.callback=n),t=ao(e,a,i),t!==null&&(ml(t,e,i,r),oo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fl(),i=pl(e),a=io(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=ao(e,a,i),t!==null&&(ml(t,e,i,r),oo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fl(),r=pl(e),i=io(n,r);i.tag=2,t!=null&&(i.callback=t),t=ao(e,i,r),t!==null&&(ml(t,e,r,n),oo(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?!Fr(n,r)||!Fr(i,a):!0}function Ts(e,t,n){var r=!1,i=Xi,a=t.contextType;return typeof a==`object`&&a?a=Xa(a):(i=ea(t)?Qi:Zi.current,r=t.contextTypes,a=(r=r!=null)?$i(e,i):Xi),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={},no(e);var a=t.contextType;typeof a==`object`&&a?i.context=Xa(a):(a=ea(t)?Qi:Zi.current,i.context=$i(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),co(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+=pe(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=io(-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=io(-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=io(-1,1),t.tag=2,ao(n,t,1))),n.lanes|=1),e)}var Ls=C.ReactCurrentOwner,Rs=!1;function zs(e,t,n,r){t.child=e===null?Ha(t,null,n,r):Va(t,e.child,n,r)}function Bs(e,t,n,r,i){n=n.render;var a=t.ref;return Ya(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)):(U&&n&&Ca(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?Fr: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(Fr(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},B(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,B(Kc,Gc),Gc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,B(Kc,Gc),Gc|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),B(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=ea(n)?Qi:Zi.current;return a=$i(t,a),Ya(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)):(U&&r&&Ca(t),t.flags|=1,zs(e,t,n,i),t.child)}function Gs(e,t,n,r,i){if(ea(n)){var a=!0;ia(t)}else a=!1;if(Ya(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=Xa(l):(l=ea(n)?Qi:Zi.current,l=$i(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),to=!1;var f=t.memoizedState;o.state=f,co(t,r,o,i),c=t.memoizedState,s!==r||f!==c||V.current||to?(typeof u==`function`&&(Ss(t,n,u,r),c=t.memoizedState),(s=to||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,ro(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=Xa(c):(c=ea(n)?Qi:Zi.current,c=$i(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),to=!1,f=t.memoizedState,o.state=f,co(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||V.current||to?(typeof p==`function`&&(Ss(t,n,p,r),m=t.memoizedState),(l=to||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&&aa(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=Va(t,e.child,null,a),t.child=Va(t,null,s,a)):zs(e,t,s,a),t.memoizedState=r.state,i&&aa(t,n,!0),t.child}function q(e){var t=e.stateNode;t.pendingContext?na(e,t.pendingContext,t.pendingContext!==t.context):t.context&&na(e,t.context,!1),go(e,t.containerInfo)}function qs(e,t,n,r,i){return Pa(),Fa(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=bo.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),B(bo,i&1),e===null)return Aa(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&&Fa(r),Va(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&&Va(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,eo(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,Ta=Pi(a.nextSibling),H=t,U=!0,Ea=null,e!==null&&(ga[_a++]=ya,ga[_a++]=ba,ga[_a++]=va,ya=e.id,ba=e.overflow,va=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),Ja(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=bo.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(B(bo,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),Pa();break;case 5:vo(t);break;case 1:ea(t.type)&&ia(t);break;case 4:go(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;B(Ua,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(B(bo,bo.current&1),e=ic(e,t,n),e===null?null:e.sibling):Xs(e,t,n):(B(bo,bo.current&1),t.flags|=128,null);B(bo,bo.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),B(bo,bo.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,ho(fo.current);var o=null;switch(n){case`input`:i=Se(e,i),r=Se(e,r),o=[];break;case`select`:i=k({},i,{value:void 0}),r=k({},r,{value:void 0}),o=[];break;case`textarea`:i=Ae(e,i),r=Ae(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=wi)}Ue(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`&&L(`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(!U)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(wa(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 ea(t.type)&&ta(),uc(t),null;case 3:return i=t.stateNode,_o(),z(V),z(Zi),Co(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ma(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ea!==null&&(vl(Ea),Ea=null))),uc(t),null;case 5:yo(t);var o=ho(mo.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=ho(fo.current),Ma(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Li]=t,i[Ri]=s,e=(t.mode&1)!=0,n){case`dialog`:L(`cancel`,i),L(`close`,i);break;case`iframe`:case`object`:case`embed`:L(`load`,i);break;case`video`:case`audio`:for(o=0;o<ci.length;o++)L(ci[o],i);break;case`source`:L(`error`,i);break;case`img`:case`image`:case`link`:L(`error`,i),L(`load`,i);break;case`details`:L(`toggle`,i);break;case`input`:Ce(i,s),L(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},L(`invalid`,i);break;case`textarea`:je(i,s),L(`invalid`,i)}for(var c in Ue(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&Ci(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&Ci(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&L(`scroll`,i)}switch(n){case`input`:ye(i),Ee(i,s,!0);break;case`textarea`:ye(i),Ne(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=wi)}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=Pe(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[Li]=t,e[Ri]=i,oc(e,t,!1,!1),t.stateNode=e;a:{switch(c=We(n,i),n){case`dialog`:L(`cancel`,e),L(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:L(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<ci.length;o++)L(ci[o],e);o=i;break;case`source`:L(`error`,e),o=i;break;case`img`:case`image`:case`link`:L(`error`,e),L(`load`,e),o=i;break;case`details`:L(`toggle`,e),o=i;break;case`input`:Ce(e,i),o=Se(e,i),L(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=k({},i,{value:void 0}),L(`invalid`,e);break;case`textarea`:je(e,i),o=Ae(e,i),L(`invalid`,e);break;default:o=i}for(s in Ue(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Ve(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Le(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&j(e,u):typeof u==`number`&&j(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&L(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:ye(e),Ee(e,i,!1);break;case`textarea`:ye(e),Ne(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+ge(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&ke(e,!!i.multiple,i.defaultValue,!0):ke(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=wi)}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=ho(mo.current),ho(fo.current),Ma(t)){if(i=t.stateNode,n=t.memoizedProps,i[Li]=t,(s=i.nodeValue!==n)&&(e=H,e!==null))switch(e.tag){case 3:Ci(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Ci(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Li]=t,t.stateNode=i}return uc(t),null;case 13:if(z(bo),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&Ta!==null&&t.mode&1&&!(t.flags&128))Na(),Pa(),t.flags|=98560,s=!1;else if(s=Ma(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[Li]=t}else Pa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;uc(t),s=!1}else Ea!==null&&(vl(Ea),Ea=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||bo.current&1?$===0&&($=3):Ol())),t.updateQueue!==null&&(t.flags|=4),uc(t),null);case 4:return _o(),e===null&&mi(t.stateNode.containerInfo),uc(t),null;case 10:return W(t.type._context),uc(t),null;case 17:return ea(t.type)&&ta(),uc(t),null;case 19:if(z(bo),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 B(bo,bo.current&1|2),t.child}e=e.sibling}s.tail!==null&&wt()>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&&!U)return uc(t),null}else 2*wt()-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=wt(),t.sibling=null,n=bo.current,B(bo,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(wa(t),t.tag){case 1:return ea(t.type)&&ta(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _o(),z(V),z(Zi),Co(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return yo(t),null;case 13:if(z(bo),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Pa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return z(bo),null;case 4:return _o(),null;case 10:return W(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(Ti=xn,e=zr(),Br(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(Ei={focusedElem:e,selectionRange:n},xn=!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[Li],delete t[Ri],delete t[Bi],delete t[Vi],delete t[Hi])),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=wi));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(jt&&typeof jt.onCommitFiberUnmount==`function`)try{jt.onCommitFiberUnmount(At,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?Ni(e.parentNode,n):e.nodeType===1&&Ni(e,n),yn(e)):Ni(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{j(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&&we(a,o),We(c,s);var u=We(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Ve(a,f):d===`dangerouslySetInnerHTML`?Le(a,f):d===`children`?j(a,f):S(a,d,f,u)}switch(c){case`input`:Te(a,o);break;case`textarea`:Me(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?ke(a,!!o.multiple,o.multiple?[]:``,!1):ke(a,!!o.multiple,o.defaultValue,!0)):ke(a,!!o.multiple,m,!1)}a[Ri]=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{yn(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=wt())),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=Be(`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&&(j(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&&lo(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}lo(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&&yn(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=Yi(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?wt():ul===-1?ul=wt():ul}function pl(e){return e.mode&1?Z&2&&Wc!==0?Wc&-Wc:Ia.transition===null?(e=N,e===0?(e=window.event,e=e===void 0?16:Dn(e.type),e):e):(dl===0&&(dl=Wt()),dl):1}function ml(e,t,n,i){if(50<cl)throw cl=0,ll=null,Error(r(185));Kt(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=wt()+500,sa&&da()))}function hl(e,t){var n=e.callbackNode;Ht(e,t);var r=Bt(e,e===Uc?Wc:0);if(r===0)n!==null&&xt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&xt(n),t===1)e.tag===0?ua(xl.bind(null,e)):la(xl.bind(null,e)),ji(function(){!(Z&6)&&da()}),n=null;else{switch(Yt(r)){case 1:n=Et;break;case 4:n=Dt;break;case 16:n=M;break;case 536870912:n=kt;break;default:n=M}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=Bt(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=wt()+500,Tl(e,t));do try{jl();break}catch(t){El(e,t)}while(1);qa(),Bc.current=o,Z=a,Q===null?(Uc=null,Wc=0,t=$):t=0}if(t!==0){if(t===2&&(a=Ut(e),a!==0&&(i=a,t=_l(e,a))),t===1)throw n=qc,Tl(e,0),bl(e,i),hl(e,wt()),n;if(t===6)bl(e,i);else{if(a=e.current.alternate,!(i&30)&&!yl(a)&&(t=kl(e,i),t===2&&(o=Ut(e),o!==0&&(i=o,t=_l(e,o))),t===1))throw n=qc,Tl(e,0),bl(e,i),hl(e,wt()),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-wt(),10<t)){if(Bt(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){fl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Oi(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-Nt(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=wt()-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=Oi(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,wt()),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(!Pr(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-Nt(t),r=1<<n;e[n]=-1,t&=~r}}function xl(e){if(Z&6)throw Error(r(327));Il();var t=Bt(e,0);if(!(t&1))return hl(e,wt()),null;var n=kl(e,t);if(e.tag!==0&&n===2){var i=Ut(e);i!==0&&(t=i,n=_l(e,i))}if(n===1)throw n=qc,Tl(e,0),bl(e,t),hl(e,wt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pl(e,Qc,tl),hl(e,wt()),null}function Sl(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(el=wt()+500,sa&&da())}}function Cl(e){ol!==null&&ol.tag===0&&!(Z&6)&&Il();var t=Z;Z|=1;var n=Hc.transition,r=N;try{if(Hc.transition=null,N=1,e)return e()}finally{N=r,Hc.transition=n,Z=t,!(Z&6)&&da()}}function wl(){Gc=Kc.current,z(Kc)}function Tl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ki(n)),Q!==null)for(n=Q.return;n!==null;){var r=n;switch(wa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ta();break;case 3:_o(),z(V),z(Zi),Co();break;case 5:yo(r);break;case 4:_o();break;case 13:z(bo);break;case 19:z(bo);break;case 10:W(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,Za!==null){for(t=0;t<Za.length;t++)if(n=Za[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}Za=null}return e}function El(e,t){do{var n=Q;try{if(qa(),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(U&&c.mode&1){var _=Fs(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Is(_,s,c,o,t),Fa(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);so(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);so(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(qa(),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&&!St();)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=N,i=Hc.transition;try{Hc.transition=null,N=1,Fl(e,t,n,r)}finally{Hc.transition=i,N=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(qt(e,o),e===Uc&&(Q=Uc=null,Wc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||al||(al=!0,Wl(M,function(){return Il(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Hc.transition,Hc.transition=null;var s=N;N=1;var c=Z;Z|=4,Vc.current=null,yc(e,n),Mc(n,e),Vr(Ei),xn=!!Ti,Ei=Ti=null,e.current=n,Pc(n,e,a),Ct(),Z=c,N=s,Hc.transition=o}else e.current=n;if(al&&(al=!1,ol=e,sl=a),o=e.pendingLanes,o===0&&(il=null),Mt(n.stateNode,i),hl(e,wt()),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,da(),null}function Il(){if(ol!==null){var e=Yt(sl),t=Hc.transition,n=N;try{if(Hc.transition=null,N=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,da(),jt&&typeof jt.onPostCommitFiberRoot==`function`)try{jt.onPostCommitFiberRoot(At,e)}catch{}i=!0}return i}finally{N=n,Hc.transition=t}}return!1}function Ll(e,t,n){t=Os(n,t),t=Ms(e,t,1),e=ao(e,t,1),t=fl(),e!==null&&(Kt(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=ao(t,e,1),e=fl(),t!==null&&(Kt(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>wt()-$c?Tl(e,0):Xc|=n),hl(e,t)}function Bl(e,t){t===0&&(e.mode&1?(t=Rt,Rt<<=1,!(Rt&130023424)&&(Rt=4194304)):t=1);var n=fl();e=eo(e,t),e!==null&&(Kt(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||V.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,U&&t.flags&1048576&&Sa(t,ha,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;rc(e,t),e=t.pendingProps;var a=$i(t,Zi.current);Ya(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,ea(i)?(o=!0,ia(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,no(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,U&&o&&Ca(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,ro(e,t),co(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(Ta=Pi(t.stateNode.containerInfo.firstChild),H=t,U=!0,Ea=null,n=Ha(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pa(),i===a){t=ic(e,t,n);break a}zs(e,t,i,n)}t=t.child}return t;case 5:return vo(t),e===null&&Aa(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Di(i,a)?s=null:o!==null&&Di(i,o)&&(t.flags|=32),Us(e,t),zs(e,t,s,n),t.child;case 6:return e===null&&Aa(t),null;case 13:return Xs(e,t,n);case 4:return go(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Va(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,B(Ua,i._currentValue),i._currentValue=s,o!==null)if(Pr(o.value,s)){if(o.children===a.children&&!V.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=io(-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),Ja(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),Ja(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,Ya(t,n),a=Xa(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,ea(i)?(e=!0,ia(t)):e=!1,Ya(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 bt(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===ne)return 11;if(e===ae)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 E:return Zl(n.children,a,o,t);case D:s=8,a|=8;break;case ee:return e=Kl(12,n,t,a|2),e.elementType=ee,e.lanes=o,e;case re:return e=Kl(13,n,t,a),e.elementType=re,e.lanes=o,e;case ie:return e=Kl(19,n,t,a),e.elementType=ie,e.lanes=o,e;case se:return Ql(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case te:s=10;break a;case O:s=9;break a;case ne:s=11;break a;case ae:s=14;break a;case oe: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=se,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=Gt(0),this.expirationTimes=Gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gt(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},no(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 Xi;e=e._reactInternals;a:{if(mt(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(ea(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(ea(n))return ra(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=io(r,i),a.callback=t??null,ao(n,a,i),e.current.lanes=i,Kt(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=io(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ao(i,t,o),e!==null&&(ml(e,i,o,a),oo(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[zi]=null}};function pu(e){this._internalRoot=e}pu.prototype.unstable_scheduleHydration=function(e){if(e){var t=$t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ln.length&&t!==0&&t<ln[n].priority;n++);ln.splice(n,0,e),n===0&&mn(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[zi]=o.current,mi(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[zi]=c.current,mi(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)}Xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=zt(t.pendingLanes);n!==0&&(Jt(t,n|1),hl(t,wt()),!(Z&6)&&(el=wt()+500,da()))}break;case 13:Cl(function(){var t=eo(e,1);t!==null&&ml(t,e,1,fl())}),lu(e,1)}},Zt=function(e){if(e.tag===13){var t=eo(e,134217728);t!==null&&ml(t,e,134217728,fl()),lu(e,134217728)}},Qt=function(e){if(e.tag===13){var t=pl(e),n=eo(e,t);n!==null&&ml(n,e,t,fl()),lu(e,t)}},$t=function(){return N},en=function(e,t){var n=N;try{return N=e,t()}finally{N=n}},qe=function(e,t,n){switch(t){case`input`:if(Te(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=Ki(i);if(!a)throw Error(r(90));be(i),Te(i,a)}}}break;case`textarea`:Me(e,n);break;case`select`:t=n.value,t!=null&&ke(e,!!n.multiple,t,!1)}},$e=Sl,et=Cl;var yu={usingClientEntryPoint:!1,Events:[Wi,Gi,Ki,Ze,Qe,Sl]},bu={findFiberByHostInstance:Ui,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=vt(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{At=Su.inject(xu),jt=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[zi]=t.current,mi(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=vt(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[zi]=t.current,mi(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[zi]=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 E(`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 E(`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 E(`solutioncomponents?$select=objectid&$filter=_solutionid_value eq ${e} and componenttype eq 1`)).map(e=>e.objectid);return t.length===0?[]:(await E(`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 E(`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},E=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},D=typeof window>`u`?global:window,ee=`@griffel/`;function te(e,t){return D[Symbol.for(ee+e)]||(D[Symbol.for(ee+e)]=t),D[Symbol.for(ee+e)]}var O=te(`DEFINITION_LOOKUP_TABLE`,{}),ne=`data-make-styles-bucket`,re=`data-priority`,ie={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},ae=`DO_NOT_USE_DIRECTLY: @griffel/reset-value`;function oe(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 se(e){let t=e.length;if(t===7)return e;for(let n=t;n<7;n++)e+=`0`;return e}function ce(e,t,n=[]){return`___`+se(oe(e+t))}function le(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 k(e,t){let n={};for(let r in e){let[i,a]=le(e[r],t);if(a===``){n[r]=``;continue}let o=ce(a,t),s=o+(i===``?``:` `+i);O[o]=[e[r],t],n[r]=s}return n}var ue={};function A(){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=ue[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=O[n];t&&(a.push(t[0]),e=t[1])}}let o=Object.assign.apply(Object,[{}].concat(a)),[s,c]=le(o,e),l=ce(c,e,r),u=l+` `+s;return ue[n]=u,O[l]=[o,e],t+u}function de(e){return Array.isArray(e)?e:[e]}function fe(e,t,n,r){let i=[];if(r[ne]=t,r[re]=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 pe=[`r`,`d`,`l`,`v`,`w`,`f`,`i`,`h`,`a`,`s`,`k`,`t`,`m`,`c`].reduce((e,t,n)=>(e[t]=n,e),{});function me(e,t,n){return(e===`m`?e+t:e)+n}function he(e,t,n,r,i={}){let a=e===`m`,o=i.m??`0`,s=i.p??0,c=me(e,o,s);if(!r.stylesheets[c]){let l=t&&t.createElement(`style`),u=fe(l,e,s,Object.assign({},r.styleElementAttributes,a&&{media:o}));r.stylesheets[c]=u,t?.head&&l&&t.head.insertBefore(l,_e(t,n,e,r,i))}return r.stylesheets[c]}function ge(e,t,n){return t+(n.m??``)===e.getAttribute(ne)+(e.media??``)}function _e(e,t,n,r,i={}){let a=pe[n],o=i.m??``,s=i.p??0,c=e=>a-pe[e.getAttribute(ne)],l=e.head.querySelectorAll(`[${ne}]`);if(n===`m`){let t=e.head.querySelectorAll(`[${ne}="${n}"]`);t.length&&(l=t,c=e=>r.compareMediaQueries(o,e.media))}let u=e=>ge(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 ve(e,t){try{e.insertRule(t)}catch{}}var ye=0,be=(e,t)=>e<t?-1:+(e>t);function xe(e=typeof document>`u`?void 0:document,t={}){let{classNameHashSalt:n,unstable_filterCSSRule:r,insertionPoint:i,styleElementAttributes:a,compareMediaQueries:o=be}=t,s={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(a),compareMediaQueries:o,id:`d${ye++}`,insertCSSRules(t){for(let n in t){let a=t[n];for(let t=0,o=a.length;t<o;t++){let[o,c]=de(a[t]),l=he(n,e,i||null,s,c);s.insertionCache[o]||(s.insertionCache[o]=n,r?r(o)&&ve(l,o):ve(l,o))}}}};return s}var Se=()=>{let e={};return function(t,n){e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}};function Ce(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e[r]=n,e},{})}function we(e){return typeof e==`boolean`}function Te(e){return typeof e==`function`}function Ee(e){return typeof e==`number`}function De(e){return e==null}function Oe(e){return e&&typeof e==`object`}function ke(e){return typeof e==`string`}function Ae(e,t){return e.indexOf(t)!==-1}function je(e){return parseFloat(e)===0?e:e[0]===`-`?e.slice(1):`-`+e}function Me(e,t,n,r){return t+je(n)+r}function Ne(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 Pe(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 Fe(e){var t=Pe(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 Ie(e){return!we(e)&&!De(e)}function Le(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 j={padding:function(e){var t=e.value;return Ee(t)?t:Fe(t)},textShadow:function(e){var t=e.value;return Le(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 Fe(t)},borderRadius:function(e){var t=e.value;if(Ee(t))return t;if(Ae(t,`/`)){var n=t.split(`/`),r=n[0],i=n[1],a=j.borderRadius({value:r.trim()}),o=j.borderRadius({value:i.trim()});return a+` / `+o}var s=Pe(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(Ee(t))return t;var o=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,``).trim();return t=t.replace(o,j.backgroundPosition({value:o,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:a})),j.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:i})},backgroundImage:function(e){var t=e.value,n=e.valuesToConvert,r=e.bgImgDirectionRegex;return!Ae(t,`url(`)&&!Ae(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 Ne(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 Ee(t)?t:j.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,Me).replace(o,Me).replace(s,Me).replace(c,Me)}};j.objectPosition=j.backgroundPosition,j.margin=j.padding,j.borderWidth=j.padding,j.boxShadow=j.textShadow,j.webkitBoxShadow=j.boxShadow,j.mozBoxShadow=j.boxShadow,j.WebkitBoxShadow=j.boxShadow,j.MozBoxShadow=j.boxShadow,j.borderStyle=j.borderColor,j.webkitTransform=j.transform,j.mozTransform=j.transform,j.WebkitTransform=j.transform,j.MozTransform=j.transform,j.transformOrigin=j.backgroundPosition,j.webkitTransformOrigin=j.transformOrigin,j.mozTransformOrigin=j.transformOrigin,j.WebkitTransformOrigin=j.transformOrigin,j.MozTransformOrigin=j.transformOrigin,j.webkitTransition=j.transition,j.mozTransition=j.transition,j.WebkitTransition=j.transition,j.MozTransition=j.transition,j.webkitTransitionProperty=j.transitionProperty,j.mozTransitionProperty=j.transitionProperty,j.WebkitTransitionProperty=j.transitionProperty,j.MozTransitionProperty=j.transitionProperty,j[`text-shadow`]=j.textShadow,j[`border-color`]=j.borderColor,j[`border-radius`]=j.borderRadius,j[`background-image`]=j.backgroundImage,j[`background-position`]=j.backgroundPosition,j[`background-position-x`]=j.backgroundPositionX,j[`object-position`]=j.objectPosition,j[`border-width`]=j.padding,j[`box-shadow`]=j.textShadow,j[`-webkit-box-shadow`]=j.textShadow,j[`-moz-box-shadow`]=j.textShadow,j[`border-style`]=j.borderColor,j[`-webkit-transform`]=j.transform,j[`-moz-transform`]=j.transform,j[`transform-origin`]=j.transformOrigin,j[`-webkit-transform-origin`]=j.transformOrigin,j[`-moz-transform-origin`]=j.transformOrigin,j[`-webkit-transition`]=j.transition,j[`-moz-transition`]=j.transition,j[`transition-property`]=j.transitionProperty,j[`-webkit-transition-property`]=j.transitionProperty,j[`-moz-transition-property`]=j.transitionProperty;var Re=Ce([[`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`]]),ze=[`content`],Be=Ce([[`ltr`,`rtl`],[`left`,`right`],[`w-resize`,`e-resize`],[`sw-resize`,`se-resize`],[`nw-resize`,`ne-resize`]]),Ve=RegExp(`(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)`,`g`),He=RegExp(`(left)|(right)`);function Ue(e){return Object.keys(e).reduce(function(t,n){var r=e[n];if(ke(r)&&(r=r.trim()),Ae(ze,n))return t[n]=r,t;var i=We(n,r),a=i.key;return t[a]=i.value,t},Array.isArray(e)?[]:{})}function We(e,t){var n=/\/\*\s?@noflip\s?\*\//.test(t),r=n?e:Ge(e);return{key:r,value:n?t:Ke(r,t)}}function Ge(e){return Re[e]||e}function Ke(e,t){if(!Ie(t))return t;if(Oe(t))return Ue(t);var n=Ee(t),r=Te(t),i=n||r?t:t.replace(/ !important.*?$/,``),a=!n&&i.length!==t.length,o=j[e],s=o?o({value:i,valuesToConvert:Be,propertiesToConvert:Re,isRtl:!0,bgImgDirectionRegex:Ve,bgPosDirectionRegex:He}):Be[i]||i;return a?s+` !important`:s}var qe=/[A-Z]/g,Je=/^ms-/,Ye={};function Xe(e){return`-`+e.toLowerCase()}function Ze(e){if(Object.prototype.hasOwnProperty.call(Ye,e))return Ye[e];if(e.substr(0,2)===`--`)return e;let t=e.replace(qe,Xe);return Ye[e]=Je.test(t)?`-`+t:t}function Qe(e){return e.charAt(0)===`&`?e.slice(1):e}var $e=`-moz-`,et=`-webkit-`,tt=`comm`,nt=`rule`,rt=`decl`,it=`@media`,at=`@import`,ot=`@supports`,st=`@namespace`,ct=`@keyframes`,lt=`@layer`,ut=Math.abs,dt=String.fromCharCode,ft=Object.assign;function pt(e,t){return vt(e,0)^45?(((t<<2^vt(e,0))<<2^vt(e,1))<<2^vt(e,2))<<2^vt(e,3):0}function mt(e){return e.trim()}function ht(e,t){return(e=t.exec(e))?e[0]:e}function gt(e,t,n){return e.replace(t,n)}function _t(e,t,n){return e.indexOf(t,n)}function vt(e,t){return e.charCodeAt(t)|0}function yt(e,t,n){return e.slice(t,n)}function bt(e){return e.length}function xt(e){return e.length}function St(e,t){return t.push(e),e}function Ct(e,t){return e.map(t).join(``)}var wt=1,Tt=1,Et=0,Dt=0,M=0,Ot=``;function kt(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:wt,column:Tt,length:o,return:``,siblings:s}}function At(e,t){return ft(kt(``,null,null,``,null,null,0,e.siblings),e,{length:-e.length},t)}function jt(){return M}function Mt(){return M=Dt>0?vt(Ot,--Dt):0,Tt--,M===10&&(Tt=1,wt--),M}function Nt(){return M=Dt<Et?vt(Ot,Dt++):0,Tt++,M===10&&(Tt=1,wt++),M}function Pt(){return vt(Ot,Dt)}function Ft(){return Dt}function It(e,t){return yt(Ot,e,t)}function Lt(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 Rt(e){return wt=Tt=1,Et=bt(Ot=e),Dt=0,[]}function zt(e){return Ot=``,e}function Bt(e){return mt(It(Dt-1,Gt(e===91?e+2:e===40?e+1:e)))}function Vt(e){return zt(Ut(Rt(e)))}function Ht(e){for(;(M=Pt())&&M<33;)Nt();return Lt(e)>2||Lt(M)>3?``:` `}function Ut(e){for(;Nt();)switch(Lt(M)){case 0:St(qt(Dt-1),e);break;case 2:St(Bt(M),e);break;default:St(dt(M),e)}return e}function Wt(e,t){for(;--t&&Nt()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return It(e,Ft()+(t<6&&Pt()==32&&Nt()==32))}function Gt(e){for(;Nt();)switch(M){case e:return Dt;case 34:case 39:e!==34&&e!==39&&Gt(M);break;case 40:e===41&&Gt(e);break;case 92:Nt();break}return Dt}function Kt(e,t){for(;Nt()&&e+M!==57&&!(e+M===84&&Pt()===47););return`/*`+It(t,Dt-1)+`*`+dt(e===47?e:Nt())}function qt(e){for(;!Lt(Pt());)Nt();return It(e,Dt)}function Jt(e){return zt(N(``,null,null,null,[``],e=Rt(e),0,[0],e))}function N(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=Nt()){case 40:if(m!=108&&vt(C,d-1)==58){_t(C+=gt(Bt(v),`&`,`&\f`),`&\f`,ut(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Bt(v);break;case 9:case 10:case 13:case 32:C+=Ht(m);break;case 92:C+=Wt(Ft()-1,7);continue;case 47:switch(Pt()){case 42:case 47:St(Xt(Kt(Nt(),Ft()),t,n,c),c),(Lt(m||1)==5||Lt(Pt()||1)==5)&&bt(C)&&yt(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=bt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=gt(C,/\f/g,``)),p>0&&(bt(C)-d||h===0&&m===47)&&St(p>32?Zt(C+`;`,r,n,d-1,c):Zt(gt(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(St(S=Yt(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123)if(u===0)N(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(vt(C,3)===110)break;case 108:if(vt(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?N(e,S,S,r&&St(Yt(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):N(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+bt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Mt()==125)continue}switch(C+=dt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(bt(C)-1)*_,_=1;break;case 64:Pt()===45&&(C+=Bt(Nt())),f=Pt(),u=d=bt(y=C+=qt(Ft())),v++;break;case 45:m===45&&bt(C)==2&&(h=0)}}return a}function Yt(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=xt(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=yt(e,f+1,f=ut(g=o[h])),b=e;v<m;++v)(b=mt(g>0?p[v]+` `+y:gt(y,/&\f/g,p[v])))&&(c[_++]=b);return kt(e,t,n,i===0?nt:s,c,l,u,d)}function Xt(e,t,n,r){return kt(e,t,n,tt,dt(jt()),yt(e,2,-2),0,r)}function Zt(e,t,n,r,i){return kt(e,t,n,rt,yt(e,0,r),yt(e,r+1,-1),r,i)}function Qt(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function $t(e,t,n,r){switch(e.type){case lt:if(e.children.length)break;case at:case st:case rt:return e.return=e.return||e.value;case tt:return``;case ct:return e.return=e.value+`{`+Qt(e.children,r)+`}`;case nt:if(!bt(e.value=e.props.join(`,`)))return``}return bt(n=Qt(e.children,r))?e.return=e.value+`{`+n+`}`:``}function en(e){var t=xt(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 tn(e){return function(t){t.root||(t=t.return)&&e(t)}}var nn=e=>{switch(e.type){case nt:if(typeof e.props==`string`)return;e.props=e.props.map(e=>e.indexOf(`:global(`)===-1?e:Vt(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 rn(e,t,n){switch(pt(e,t)){case 5103:return et+`print-`+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return et+e+e;case 4215:if(vt(e,9)===102||vt(e,t+1)===116)return et+e+e;break;case 4789:return $e+e+e;case 5349:case 4246:case 6968:return et+e+$e+e+e;case 6187:if(!ht(e,/grab/))return gt(gt(gt(e,/(zoom-|grab)/,et+`$1`),/(image-set)/,et+`$1`),e,``)+e;case 5495:case 3959:return gt(e,/(image-set\([^]*)/,et+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return gt(e,/(.+)-inline(.+)/,et+`$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(bt(e)-1-t>6)switch(vt(e,t+1)){case 102:if(vt(e,t+3)===108)return gt(e,/(.+:)(.+)-([^]+)/,`$1`+et+`$2-$3$1`+$e+(vt(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~_t(e,`stretch`)?rn(gt(e,`stretch`,`fill-available`),t)+e:e}break}return e}function an(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case rt:e.return=rn(e.value,e.length);return;case nt:if(e.length)return Ct(e.props,function(t){switch(ht(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Qt([At(e,{props:[gt(t,/:(read-\w+)/,`:`+$e+`$1`)]})],r);case`::placeholder`:return Qt([At(e,{props:[gt(t,/:(plac\w+)/,`:`+et+`input-$1`)]}),At(e,{props:[gt(t,/:(plac\w+)/,`:`+$e+`$1`)]})],r)}return``})}}function on(e){switch(e.type){case`@container`:case it:case ot:case lt:return!0}return!1}var sn=e=>{on(e)&&Array.isArray(e.children)&&e.children.sort((e,t)=>e.props[0]>t.props[0]?1:-1)};function cn(){}function ln(e,t){let n=[];return Qt(Jt(e),en([nn,t?sn:cn,an,$t,tn(e=>n.push(e))])),n}var un=/,( *[^ &])/g;function dn(e){return`&`+Qe(e.replace(un,`,&$1`))}function fn(e,t,n){let r=t;return n.length>0&&(r=n.reduceRight((e,t)=>`${dn(t)} { ${e} }`,t)),`${e}{${r}}`}function pn(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=fn(`.${n}`,Array.isArray(c)?`${c.map(e=>`${Ze(i)}: ${e}`).join(`;`)};`:`${Ze(i)}: ${c};`,r);if(o&&a){let e=`.${a}`,t=Array.isArray(s)?`${s.map(e=>`${Ze(o)}: ${e}`).join(`;`)};`:`${Ze(o)}: ${s};`;p+=fn(e,t,r)}return d&&(p=`@media ${d} { ${p} }`),u&&(p=`@layer ${u} { ${p} }`),f&&(p=`@supports ${f} { ${p} }`),l&&(p=`@container ${l} { ${p} }`),ln(p,!0)}function mn(e){let t=``;for(let n in e){let r=e[n];if(typeof r==`string`||typeof r==`number`){t+=Ze(n)+`:`+r+`;`;continue}if(Array.isArray(r))for(let e of r)t+=Ze(n)+`:`+e+`;`}return t}function hn(e){let t=``;for(let n in e)t+=`${n}{${mn(e[n])}}`;return t}function gn(e,t){let n=`@keyframes ${e} {${t}}`,r=[];return Qt(Jt(n),en([$t,an,tn(e=>r.push(e))])),r}var _n={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 vn(e,t){return e.length===0?t:`${e} and ${t}`}function yn(e){return e.substr(0,6)===`@media`}function bn(e){return e.substr(0,6)===`@layer`}var xn=/^(:|\[|>|&)/;function Sn(e){return xn.test(e)}function Cn(e){return e.substr(0,9)===`@supports`}function wn(e){return e.substring(0,10)===`@container`}function Tn(e){return typeof e==`object`&&!!e&&Array.isArray(e)===!1}var En={"us-w":`w`,"us-v":`i`,nk:`l`,si:`v`,cu:`f`,ve:`h`,ti:`a`};function Dn(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 En[t.slice(4,8)]||En[t.slice(3,5)]||`d`}return`d`}function On(e,t){return e&&t+e}function kn(e){return On(e.container,`c`)+On(e.media,`m`)+On(e.layer,`l`)+On(e.supports,`s`)}function An(e,t,n){let r=oe(e+kn(n)+t),i=r.charCodeAt(0);return i>=48&&i<=57?String.fromCharCode(i+17)+r.slice(1):r}function jn({property:e,selector:t,salt:n,value:r},i){return`f`+oe(n+t+kn(i)+e+r.trim())}function Mn(e){return e===ae}function Nn(e){return e.replace(/>\s+/g,`>`)}function Pn(e){return _n[e]}function Fn(e){return e?.[0]??0}function In(e,t,n,r){e[t]=r?[n,r]:n}function Ln(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function Rn(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(Ln(n,o)),r&&e[t].push(Ln(r,o))}function zn(e,t=``,n=[],r={container:``,layer:``,media:``,supports:``},i={},a={},o){for(let s in e){if(ie.hasOwnProperty(s)){e[s];continue}let c=e[s];if(c!=null){if(Mn(c)){In(i,An(Nn(n.join(``)),s,r),0,void 0);continue}if(typeof c==`string`||typeof c==`number`){let e=Nn(n.join(``)),l=Pn(s);if(l){let e=l[1];zn(Object.fromEntries(e.map(e=>[e,ae])),t,n,r,i,a)}let u=An(e,s,r),d=jn({value:c.toString(),salt:t,selector:e,property:s},r),f=o&&{key:s,value:o}||We(s,c),p=f.key!==s||f.value!==c,m=p?jn({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=Dn(n,r),[_,v]=pn(Object.assign({className:d,selectors:n,property:s,value:c},h),r);In(i,u,d,m),Rn(a,g,_,v,r.media,Fn(l))}else if(s===`animationName`){let e=Array.isArray(c)?c:[c],o=[],s=[];for(let t of e){let e=hn(t),n=hn(Ue(t)),i=`f`+oe(e),c,l=gn(i,e),u=[];e===n?c=i:(c=`f`+oe(n),u=gn(c,n));for(let e=0;e<l.length;e++)Rn(a,`k`,l[e],u[e],r.media,0);o.push(i),s.push(c)}zn({animationName:o.join(`, `)},t,n,r,i,a,s.join(`, `))}else if(Array.isArray(c)){if(c.length===0)continue;let e=Nn(n.join(``)),o=Pn(s);if(o){let e=o[1];zn(Object.fromEntries(e.map(e=>[e,ae])),t,n,r,i,a)}let l=An(e,s,r),u=jn({value:c.map(e=>(e??``).toString()).join(`;`),salt:t,selector:e,property:s},r),d=c.map(e=>We(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?jn({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=Dn(n,r),[g,_]=pn(Object.assign({className:u,selectors:n,property:s,value:c},m),r);In(i,l,u,p),Rn(a,h,g,_,r.media,Fn(o))}else if(Tn(c)){if(Sn(s))zn(c,t,n.concat(Qe(s)),r,i,a);else if(yn(s)){let e=vn(r.media,s.slice(6).trim());zn(c,t,n,Object.assign({},r,{media:e}),i,a)}else if(bn(s)){let e=(r.layer?`${r.layer}.`:``)+s.slice(6).trim();zn(c,t,n,Object.assign({},r,{layer:e}),i,a)}else if(Cn(s)){let e=vn(r.supports,s.slice(9).trim());zn(c,t,n,Object.assign({},r,{supports:e}),i,a)}else if(wn(s)){let e=s.slice(10).trim();zn(c,t,n,Object.assign({},r,{container:e}),i,a)}}}}return[i,a]}function Bn(e,t=``){let n={},r={};for(let i in e){let a=e[i],[o,s]=zn(a,t);n[i]=o,Object.keys(s).forEach(e=>{r[e]=(r[e]||[]).concat(s[e])})}return[n,r]}function Vn(e,t=Se){let n=t(),r=null,i=null,a=null,o=null;function s(t){let{dir:s,renderer:c}=t;r===null&&([r,i]=Bn(e,c.classNameHashSalt));let l=s===`ltr`;return l?a===null&&(a=k(r,s)):o===null&&(o=k(r,s)),n(c,i),l?a:o}return s}function Hn(e,t,n=Se){let r=n(),i=null,a=null;function o(n){let{dir:o,renderer:s}=n,c=o===`ltr`;return c?i===null&&(i=k(e,o)):a===null&&(a=k(e,o)),r(s,t),c?i:a}return o}function Un(e,t,n,r=Se){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 Wn(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var Gn=_.useInsertionEffect?_.useInsertionEffect:void 0,Kn=()=>{let e={};return function(t,n){if(Gn&&Wn()){Gn(()=>{t.insertCSSRules(n)},[t,n]);return}e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}},qn=_.createContext(xe());function Jn(){return _.useContext(qn)}var Yn=_.createContext(`ltr`),Xn=({children:e,dir:t})=>_.createElement(Yn.Provider,{value:t},e);function Zn(){return _.useContext(Yn)}function Qn(e){let t=Vn(e,Kn);return function(){return t({dir:Zn(),renderer:Jn()})}}function P(e,t){let n=Hn(e,t,Kn);return function(){return n({dir:Zn(),renderer:Jn()})}}function $n(e,t,n){let r=Un(e,t,n,Kn);return function(){return r({dir:Zn(),renderer:Jn()})}}function er(e,t){return t?`${e} { ${Object.keys(t).reduce((e,n)=>`${e}--${n}: ${t[n]}; `,``)} }`:`${e} {}`}var tr=Symbol.for(`fui.slotRenderFunction`),nr=Symbol.for(`fui.slotElementType`),rr=Symbol.for(`fui.slotClassNameProp`);function F(e,t){let{defaultProps:n,elementType:r}=t,i=ar(e),a={...n,...i,[nr]:r,[rr]:i?.className};return i&&typeof i.children==`function`&&(a[tr]=i.children,a.children=n?.children),a}function ir(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return F(e,t)}function ar(e){return typeof e==`string`||typeof e==`number`||or(e)||_.isValidElement(e)?{children:e}:e}var or=e=>typeof e==`object`&&!!e&&Symbol.iterator in e;function sr(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!_.isValidElement(e)}function cr(e){return!!e?.hasOwnProperty(nr)}var I=(...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},lr=I(`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(`.`)),ur=I(I([`accessKey`,`children`,`className`,`contentEditable`,`dir`,`draggable`,`hidden`,`htmlFor`,`id`,`lang`,`ref`,`role`,`style`,`tabIndex`,`title`,`translate`,`spellCheck`,`name`]),lr,I([`itemID`,`itemProp`,`itemRef`,`itemScope`,`itemType`])),dr=I(ur,[`form`]),fr=I(ur,[`height`,`loop`,`muted`,`preload`,`src`,`width`]),pr=I(fr,[`poster`]),mr=I(ur,[`start`]),hr=I(ur,[`value`]),gr=I(ur,[`download`,`href`,`hrefLang`,`media`,`referrerPolicy`,`rel`,`target`,`type`]),_r=I(ur,[`dateTime`]),vr=I(ur,[`autoFocus`,`disabled`,`form`,`formAction`,`formEncType`,`formMethod`,`formNoValidate`,`formTarget`,`type`,`value`]),yr=I(vr,`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(`.`)),br=I(vr,[`autoCapitalize`,`cols`,`dirname`,`form`,`maxLength`,`placeholder`,`readOnly`,`required`,`rows`,`wrap`]),xr=I(vr,[`form`,`multiple`,`required`]),Sr=I(ur,[`selected`,`value`]),Cr=I(ur,[`cellPadding`,`cellSpacing`]),wr=ur,Tr=I(ur,[`colSpan`,`rowSpan`,`scope`]),Er=I(ur,[`colSpan`,`headers`,`rowSpan`,`scope`]),Dr=I(ur,[`span`]),Or=I(ur,[`span`]),kr=I(ur,[`disabled`,`form`]),Ar=I(ur,[`acceptCharset`,`action`,`encType`,`encType`,`method`,`noValidate`,`target`]),jr=I(ur,[`allow`,`allowFullScreen`,`allowPaymentRequest`,`allowTransparency`,`csp`,`height`,`importance`,`referrerPolicy`,`sandbox`,`src`,`srcDoc`,`width`]),Mr=I(ur,[`alt`,`crossOrigin`,`height`,`src`,`srcSet`,`useMap`,`width`]),Nr=I(ur,[`open`,`onCancel`,`onClose`]);function Pr(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 Fr={label:dr,audio:fr,video:pr,ol:mr,li:hr,a:gr,button:vr,input:yr,textarea:br,select:xr,option:Sr,table:Cr,tr:wr,th:Tr,td:Er,colGroup:Dr,col:Or,fieldset:kr,form:Ar,iframe:jr,img:Mr,time:_r,dialog:Nr};function Ir(e,t,n){let r=e&&Fr[e]||ur;return r.as=1,Pr(t,r,n)}var Lr=({primarySlotTagName:e,props:t,excludedPropNames:n})=>({root:{style:t.style,className:t.className},primary:Ir(e,t,[...n||[],`style`,`className`])}),Rr=(e,t,n)=>Ir(t.as??e,t,n);function zr(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 Br=_.createContext(void 0),Vr=Br.Provider,Hr=_.createContext(void 0),Ur=``,Wr=Hr.Provider;function Gr(){return _.useContext(Hr)??Ur}var Kr=_.createContext(void 0).Provider,qr=_.createContext(void 0),Jr={targetDocument:typeof document==`object`?document:void 0,dir:`ltr`},Yr=qr.Provider;function Xr(){return _.useContext(qr)??Jr}var Zr=_.createContext(void 0),Qr=Zr.Provider;function $r(){return _.useContext(Zr)??{}}var ei=_.createContext(void 0),ti=()=>{},ni=ei.Provider,ri=e=>_.useContext(ei)?.[e]??ti,ii=_.createContext(void 0);ii.Provider;function ai(){return _.useContext(ii)}var oi=e=>(e(0),0),si=e=>e;function ci(){let{targetDocument:e}=Xr(),t=e?.defaultView;return zr(t?t.requestAnimationFrame:oi,t?t.cancelAnimationFrame:si)}function li(e){return typeof e==`function`}var ui=e=>{"use no memo";let[t,n]=_.useState(()=>e.defaultState===void 0?e.initialState:di(e.defaultState)?e.defaultState():e.defaultState),r=_.useRef(e.state);_.useEffect(()=>{r.current=e.state},[e.state]);let i=_.useCallback(e=>{li(e)&&e(r.current)},[]);return L(e.state)?[e.state,i]:[t,n]};function di(e){return typeof e==`function`}var L=e=>{"use no memo";let[t]=_.useState(()=>e!==void 0);return t};function fi(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var pi={current:0},mi=_.createContext(void 0);function hi(){return _.useContext(mi)??pi}var gi=fi()?_.useLayoutEffect:_.useEffect,R=e=>{let t=_.useRef(()=>{throw Error(`Cannot call an event handler while rendering`)});return gi(()=>{t.current=e},[e]),_.useCallback((...e)=>{let n=t.current;return n(...e)},[t])};function _i(){let e=_.useRef(!0);return _.useEffect(()=>{e.current&&=!1},[]),e.current}var vi=_.createContext(void 0);vi.Provider;function yi(){return _.useContext(vi)||``}function bi(e=`fui-`,t){"use no memo";let n=hi(),r=yi(),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 xi(...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 Si=(e,t)=>!!e?.contains(t),Ci=e=>{let{targetDocument:t}=Xr(),n=t?.defaultView,{refs:r,callback:i,element:a,disabled:o,disabledFocusOnIframe:s,contains:c=Si}=e,l=_.useRef(void 0);Ei({element:a,disabled:s||o,callback:i,refs:r,contains:c});let u=_.useRef(!1),d=R(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=R(e=>{u.current=r.some(t=>c(t.current||null,e.target))});_.useEffect(()=>{if(o)return;let e=wi(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])},wi=e=>{if(e)return typeof e.window==`object`&&e.window===e?e.event:e.ownerDocument?.defaultView?.event??void 0},Ti=`fuiframefocus`,Ei=e=>{let{disabled:t,element:n,callback:r,contains:i=Si,pollDuration:a=100,refs:o}=e,s=_.useRef(void 0),c=R(e=>{o.every(t=>!i(t.current||null,e.target))&&!t&&r(e)});_.useEffect(()=>{if(!t)return n?.addEventListener(Ti,c,!0),()=>{n?.removeEventListener(Ti,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(Ti,{bubbles:!0});e.dispatchEvent(t)}},a),()=>{var e;n==null||(e=n.defaultView)==null||e.clearInterval(s.current)}},[n,t,a])},Di=e=>-1,Oi=e=>void 0;function ki(){let{targetDocument:e}=Xr(),t=e?.defaultView;return zr(t?t.setTimeout:Di,t?t.clearTimeout:Oi)}function Ai(e,t){return(...n)=>{e?.(...n),t?.(...n)}}function ji(e,t){let n=e;return!!(n!=null&&n.ownerDocument?.defaultView&&n instanceof n.ownerDocument.defaultView[t?.constructorName??`HTMLElement`])}function Mi(e){if(!ji(e))return!1;let{tagName:t}=e;switch(t){case`BUTTON`:case`A`:case`INPUT`:case`TEXTAREA`:return!0}return e.isContentEditable}function Ni(e){return e.type.startsWith(`touch`)}function Pi(e){return e.type.startsWith(`mouse`)||[`click`,`contextmenu`,`dblclick`].indexOf(e.type)>-1}function Fi(e){return Pi(e)?{clientX:e.clientX,clientY:e.clientY}:Ni(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function Ii(e){return e instanceof Set?e:new Set(e)}function Li(e){let[t,n]=ui({initialState:new Set,defaultState:_.useMemo(()=>e.defaultSelectedItems&&Ii(e.defaultSelectedItems),[e.defaultSelectedItems]),state:_.useMemo(()=>e.selectedItems&&Ii(e.selectedItems),[e.selectedItems])});return[t,(t,r)=>{var i;(i=e.onSelectionChange)==null||i.call(e,t,{selectedItems:r}),n(r)}]}function Ri(e){let[t,n]=Li(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 zi(e){let[t,n]=Li(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 Bi(e){"use no memo";return e.selectionMode===`multiselect`?zi(e):Ri(e)}function Vi(e){return e&&!!e._virtual}function Hi(e){return Vi(e)&&e._virtual.parent||null}function Ui(e,t={}){if(!e)return null;if(!t.skipVirtual){let t=Hi(e);if(t)return t}let n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Wi(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function Gi(e,t){return{...t,[nr]:e}}var Ki=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=Ki()}))();function qi(e,t){return function(n,r,i,a,o){return cr(r)?t(Gi(n,r),null,i,a,o):cr(n)?t(n,r,i,a,o):e(n,r,i,a,o)}}function Ji(e){let{as:t,[rr]:n,[nr]:r,[tr]: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 Yi=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})),z=l(s(((e,t)=>{t.exports=Yi()}))()),B=z,Xi=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=Ji(e),o={...a,...t};return i?B.jsx(_.Fragment,{children:i(r,o)},n):B.jsx(r,o,n)},Zi=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=Ji(e),o={...a,...t};return i?B.jsx(_.Fragment,{children:i(r,{...o,children:B.jsxs(_.Fragment,{children:o.children},void 0)})},n):B.jsxs(r,o,n)},V=qi(B.jsx,Xi),Qi=qi(B.jsxs,Zi),$i=_.createContext(void 0),ea={},ta=$i.Provider,na=()=>_.useContext($i)??ea,ra=(e,t)=>V(Yr,{value:t.provider,children:V(Vr,{value:t.theme,children:V(Wr,{value:t.themeClassName,children:V(ni,{value:t.customStyleHooks_unstable,children:V(Kr,{value:t.tooltip,children:V(Xn,{dir:t.textDirection,children:V(ta,{value:t.iconDirection,children:V(Qr,{value:t.overrides_unstable,children:Qi(e.root,{children:[fi()?null:V(`style`,{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}),ia=typeof WeakRef<`u`,aa=class{constructor(e){ia&&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}},oa=`keyborg:focusin`,sa=`keyborg:focusout`;function ca(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 la=!1;function ua(e){let t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function da(e){let t=e;la||=ca(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(sa,{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 aa(o));return}let c={relatedTarget:t,originalEvent:n},l=new CustomEvent(oa,{cancelable:!0,bubbles:!0,composed:!0,detail:c});l.details=c,(la||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 aa(this)),n.apply(this,arguments)}let l=t.document.activeElement;for(;l&&l.shadowRoot;)o(l),l=l.shadowRoot.activeElement;c.__keyborgNativeFocus=n}function fa(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 pa=500,ma=0,ha=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`+ ++ma,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(oa,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),da(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),fa(e);let t=e.document;t.removeEventListener(oa,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))ga.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)},pa)}}},ga=class e{constructor(e,t){this._cb=[],this._id=`k`+ ++ma,this._win=e;let n=e.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new ha(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 _a(e,t){return ga.create(e,t)}function va(e){ga.dispose(e)}var ya=`data-tabster`,ba=`data-tabster-dummy`,xa=[`a[href]`,`button:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`*[tabindex]`,`*[contenteditable]`,`details > summary`,`audio[controls]`,`video[controls]`].join(`, `),Sa={EscapeGroupper:1,Restorer:2,Deloser:3},Ca={Invisible:0,PartiallyVisible:1,Visible:2},wa={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},H={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Ta={Unlimited:0,Limited:1,LimitedTrapFocus:2},U={Enter:1,Escape:2},Ea={Auto:0,Inside:1,Outside:2};function Da(e,t){return e.storageEntry(t)?.tabster}function Oa(e,t,n){let r=n||e._noop?void 0:t.getAttribute(ya),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 ka=`tabster:focusin`,Aa=`tabster:focusout`,ja=`tabster:movefocus`,Ma=`tabster:mover:state`,Na=`tabster:mover:movefocus`,Pa=`tabster:mover:memorized-element`,Fa=`tabster:groupper:movefocus`,Ia=`tabster:root:focus`,La=`tabster:root:blur`,Ra=typeof CustomEvent<`u`?CustomEvent:function(){},za=class extends Ra{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}},Ba=class extends za{constructor(e){super(ka,e)}},Va=class extends za{constructor(e){super(Aa,e)}},Ha=class extends za{constructor(e){super(ja,e)}},Ua=class extends za{constructor(e){super(Ma,e)}},Wa=class extends za{constructor(e){super(Na,e)}},Ga=class extends za{constructor(e){super(Fa,e)}},Ka=class extends za{constructor(e){super(Ia,e)}},qa=class extends za{constructor(e){super(La,e)}},W={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 Ja(e){for(let t of Object.keys(e))W[t]=e[t]}var Ya,Xa=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)}},Za=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Ya=!1}catch{Ya=!0}var Qa=100;function $a(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 eo(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 to(e){return new(e.__tabsterInstanceContext?.basics.WeakMap||WeakMap)}function no(e){return!!e.querySelector(xa)}var ro=class{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return e._target?t||!yo(e._target.ownerDocument,e._target)?(delete e._target,!0):!1:!0}},io=class{constructor(e,t,n){let r=$a(e),i;r.WeakRef?i=new r.WeakRef(t):(i=new ro(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 ao(e,t){let n=$a(e);n.fakeWeakRefs=n.fakeWeakRefs.filter(e=>!ro.cleanup(e,t))}function oo(e){let t=$a(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=So(t)),t.fakeWeakRefsTimer||=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,ao(e),oo(e)},120*1e3)}function so(e){let t=$a(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function co(e,t,n){if(t.nodeType!==Node.ELEMENT_NODE)return;let r=Ya?n:{acceptNode:n};return W.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,r,!1)}function lo(e,t){let n=t.__tabsterCacheId,r=$a(e),i=n?r.containerBoundingRectCache[n]:void 0;if(i)return i.rect;let a=t.ownerDocument&&t.ownerDocument.documentElement;if(!a)return new Xa;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 Xa(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 uo(e,t,n){let r=po(t);if(!r)return!1;let i=lo(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 fo(e,t,n){let r=po(t);if(r){let i=lo(e,r),a=t.getBoundingClientRect();n?r.scrollTop+=a.top-i.top:r.scrollTop+=a.bottom-i.bottom}}function po(e){let t=e.ownerDocument;if(t){for(let t=W.getParentElement(e);t;t=W.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function mo(e){e.__shouldIgnoreFocus=!0}function ho(e){return!!e.__shouldIgnoreFocus}function go(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((++Za).toString(36)),n.push(`|`),n.push(Date.now().toString(36)),n.join(``)}function _o(e,t){let n=$a(e),r=t.__tabsterElementUID;return r||=t.__tabsterElementUID=go(e()),!n.elementByUId[r]&&yo(t.ownerDocument,t)&&(n.elementByUId[r]=new io(e,t)),r}function vo(e,t){let n=$a(e);for(let e of Object.keys(n.elementByUId)){let r=n.elementByUId[e],i=r&&r.get();i&&t&&!W.nodeContains(t,i)||delete n.elementByUId[e]}}function yo(e,t){return W.nodeContains(e?.body,t)}function bo(e,t){let n=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return n&&n.call(e,t)}function xo(e){let t=$a(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 io(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&&ua(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(ba,``),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`),mo(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=W.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?W.getFirstElementChild(t):null;else{n&&(!r||r&&!e.focusable.isFocusable(t,!1,!0,!0))?(o=t,s=r?t.firstElementChild:null):(o=W.getParentElement(t),s=n&&r||!n&&!r?t:W.getNextElementSibling(t));let i,a;do i=n&&r||!n&&!r?W.getPreviousElementSibling(s):s,a=Po(i),a===t?s=n&&r||!n&&!r?i:W.getNextElementSibling(i):a=null;while(a)}o?.dispatchEvent(new Ha({by:`root`,owner:o,next:null,relatedEvent:i}))&&(W.insertBefore(o,a,s),ua(a))}}static addPhantomDummyWithTarget(e,t,n,r){let i=new To(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new io(e.getWindow,r)).input;if(i){let e,r;no(t)&&!n?(e=t,r=W.getFirstElementChild(t)):(e=W.getParentElement(t),r=n?t:W.getNextElementSibling(t)),e&&W.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=W.getParentNode(t);(!n||this._changedParents.has(n))&&e()}}}this._changedParents=new WeakSet},Qa)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new io(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+Qa<=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()},Qa)}},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&&ua(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 Ha({by:`root`,owner:o,next:null,relatedEvent:t}))&&ua(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=W.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===Ea.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=W.getParentNode(e);if(r){let i=W.getNextSibling(e);i!==n&&W.insertBefore(r,n,i),W.getPreviousElementSibling(e)!==t&&W.insertBefore(r,t,e)}}else{W.getLastElementChild(e)!==n&&W.appendChild(e,n);let r=W.getFirstElementChild(e);r&&r!==t&&r.parentNode&&W.insertBefore(r.parentNode,t,r)}}};function ko(e){let t=null;for(let n=W.getLastElementChild(e);n;n=W.getLastElementChild(n))t=n;return t||void 0}function Ao(e,t){let n=e,r=null;for(;n&&!r;)r=t?W.getPreviousElementSibling(n):W.getNextElementSibling(n),n=W.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(W.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:{[ya]: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(ya);if(t)try{r=JSON.parse(t)}catch{}}r||={},Io(r,t),Object.keys(r).length>0?e.setAttribute(ya,Fo(r,!0)):e.removeAttribute(ya)}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){ua(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 Ka({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 qa({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=_o(a,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();let o=a().document;o.addEventListener(oa,this._onFocusIn),o.addEventListener(sa,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(oa,this._onFocusIn),n.removeEventListener(sa,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),Oa(this._tabster,t),Da(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=Da(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=Da(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=Da(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,n,r){return bo(e,xa)&&(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=W.getParentElement(t)){let e=Da(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=co(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&&W.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||!W.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(!W.nodeContains(r,e)||Po(e)||W.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;let i=t.currentCtx=Bo.getTabsterContext(this._tabster,e);if(!i)return NodeFilter.FILTER_SKIP;if(ho(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&&W.nodeContains(i,o)&&W.nodeContains(r,i)&&(!n||!l||W.nodeContains(i,n))&&(l=s,o=i),n){if(n===r||!W.nodeContains(r,n))c=void 0;else if(!W.nodeContains(n,e))return NodeFilter.FILTER_REJECT}if(o){if(!W.nodeContains(r,o))l=void 0;else if(!W.nodeContains(o,e))return NodeFilter.FILTER_REJECT}c&&l&&(o&&n&&!W.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=Da(e,r)?.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(r,!!t.completely))return r;r=n(r)}while(r)}var Go={[Sa.Restorer]:0,[Sa.Deloser]:1,[Sa.EscapeGroupper]:2},Ko=class e extends Vo{constructor(t,n){super(),this._init=()=>{let e=this._win(),t=e.document;t.addEventListener(oa,this._onFocusIn,!0),t.addEventListener(sa,this._onFocusOut,!0),e.addEventListener(`keydown`,this._onKeyDown,!0);let n=W.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||W.nodeContains(e,n)){if(!s.outOfDOMOrder&&e===a.uncontrolled||u&&!W.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 Ha({by:`root`,owner:c,next:l,relatedEvent:t}))&&G.moveWithPhantomDummy(r,e??l,!1,o,t);return}(i||s?.outOfDOMOrder)&&c.dispatchEvent(new Ha({by:`root`,owner:c,next:l,relatedEvent:t}))&&(t.preventDefault(),t.stopImmediatePropagation(),ua(l))}else !u&&c.dispatchEvent(new Ha({by:`root`,owner:c,next:null,relatedEvent:t}))&&a.root.moveOutWithDefaultAction(o,t)},this._onChanged=(e,t)=>{if(e)e.dispatchEvent(new Ba(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 Va(n))}}},this._tabster=t,this._win=n,t.queueInit(this._init)}dispose(){super.dispose();let t=this._win(),n=t.document;n.removeEventListener(oa,this._onFocusIn,!0),n.removeEventListener(sa,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&&W.nodeContains(n,i)&&delete e._lastResetElement,i=(t._nextVal?.element)?.get(),i&&W.nodeContains(n,i)&&delete t._nextVal,r=t._lastVal,i=r&&r.get(),i&&W.nodeContains(n,i)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let e=this._lastVal?.get();return(!e||e&&!yo(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&&!W.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 io(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||ho(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 io(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 io(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&&W.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&&ua(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&&W.nodeContains(i,e)&&!a)return{element:void 0,outOfDOMOrder:!0};let o=this.getFirst(!0);if(!e||!W.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===Ta.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=W.getParentElement(t);e;e=W.getParentElement(e)){let t=Da(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 io(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){let n=t.cachedGrouppers,r=W.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&&W.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)&&W.nodeContains(t.container,s)&&s!==t.container)||u!==e&&W.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=W.getActiveElement(t);n&&this._onFocus(n),t.addEventListener(`mousedown`,this._onMouseDown,!0),e.addEventListener(`keydown`,this._onKeyDown,!0),e.addEventListener(Fa,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===U.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(Sa.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(Fa,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&&W.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=Da(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 Ha({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&&W.nodeContains(o,e)){let i;if(e!==o||n)i=a.getFirst(!0);else{let e=W.getParentElement(o);a=(e?Bo.getTabsterContext(r,e):void 0)?.groupper,i=a?.getFirst(!0)}if(i&&(!t||t&&o.dispatchEvent(new Ha({by:`groupper`,owner:o,next:i,relatedEvent:t}))))return a&&a.makeTabbable(!1),i.focus(),i}return null}moveFocus(e,t){return t===U.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(Sa.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(Sa.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=_a(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),va(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&&ua(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=_o(this._win,e),r,i=this._fullyVisible;if(t.intersectionRatio>=.25?(r=t.intersectionRatio>=.75?Ca.Visible:Ca.PartiallyVisible,r===Ca.Visible&&(i=n)):r=Ca.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 Ua(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 io(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 Ua(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&&!W.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)&&(!W.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=_o(this._win,e),i=this._visible[n];return a!==e&&!!this._allElements?.get(e)&&t.acceptCondition(e)&&(i===Ca.Visible||i===Ca.PartiallyVisible&&(r===Ca.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=W.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=co(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=W.getFirstElementChild(e);t;t=W.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=W.getParentElement(n)){let e=Da(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=_o(this._win,e);if(t in this._visible){let n=this._visible[t]||Ca.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(Na,this._onMoveFocus),e.addEventListener(Pa,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=W.getParentElement(e);r;r=W.getParentElement(r)){let e=Da(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=H.ArrowDown:n===Uo.ArrowRight?r=H.ArrowRight:n===Uo.ArrowUp?r=H.ArrowUp:n===Uo.ArrowLeft?r=H.ArrowLeft:n===Uo.PageDown?r=H.PageDown:n===Uo.PageUp?r=H.PageUp:n===Uo.Home?r=H.Home:n===Uo.End&&(r=H.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&&!W.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(Na,this._onMoveFocus),t.removeEventListener(Pa,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=W.getParentElement(e.getElement());t&&t!==o;t=W.getParentElement(t))if((Da(r,t)?.groupper)?.isActive(!0))return null}else return null}if(!o)return null;let s=r.focusable,c=a.getProps(),l=c.direction||wa.Both,u=l===wa.Both,d=u||l===wa.Vertical,f=u||l===wa.Horizontal,p=l===wa.GridLinear,m=p||l===wa.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===H.ArrowRight?t=H.ArrowLeft:t===H.ArrowLeft&&(t=H.ArrowRight)),t===H.ArrowDown&&d||t===H.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===H.ArrowUp&&d||t===H.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===H.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===H.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===H.PageUp){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>s.isFocusable(e)?uo(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===H.PageDown){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,acceptCondition:e=>s.isFocusable(e)?uo(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===H.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 Ha({by:`mover`,owner:o,next:g,relatedEvent:n})))?(_!==void 0&&fo(this._win,g,_),n&&(n.preventDefault(),n.stopImmediatePropagation()),ua(g),g):null}async _isIgnoredInput(e,t){if(e.getAttribute(`aria-expanded`)===`true`&&e.hasAttribute(`aria-activedescendant`))return!0;if(bo(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=W.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}=W.getSelection(e)||{};this._ignoredInputTimer=a.setTimeout(()=>{var t,a;delete this._ignoredInputTimer;let{anchorNode:u,focusNode:d,anchorOffset:f,focusOffset:p}=W.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&&W.nodeContains(e,u)&&W.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&&!W.getFirstChild(e)){let e=a.length;t?d!==u&&(r+=e):(n+=e,r+=e)}let o=!1;for(let t=W.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||=$a(i).elementByUId,c(t,n);let r=co(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 io(i,e))),(Da(t,e)||e.hasAttribute(`data-tabster`))&&n(t,e,r),NodeFilter.FILTER_SKIP}let l=W.createMutationObserver(o);return r&&s(i().document.body),l.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[ya]}),()=>{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 io(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&&W.nodeContains(t.body,W.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=to(e),this._win=e;let n=this.getWindow;t?.DOMAPI&&Ja({...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??W.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,Oa,e)}}},oo(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(),so(this.getWindow),vo(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),c&&(eo(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())vo(this.getWindow,e),Ko.forgetMemorized(this.focusedElement,e)},0),ao(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:Ui,checkUncontrolledCompletely:e=>e.firstElementChild?.hasAttribute(`data-is-focus-trap-zone-bumper`)===!0||void 0,DOMAPI:n})}function ys(e=_s){let{targetDocument:t}=Xr(),n=_.useRef(null);return gi(()=>{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(()=>({[ya]: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 wa.Horizontal;case`grid`:return wa.Grid;case`grid-linear`:return wa.GridLinear;case`both`:return wa.Both;default:return wa.Vertical}}var Cs=e=>(ys(ps),bs({groupper:{tabbability:ws(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),ws=e=>{switch(e){case`unlimited`:return Ta.Unlimited;case`limited`:return Ta.Limited;case`limited-trap-focus`:return Ta.LimitedTrapFocus;default:return}},Ts=()=>{let e=ys(),{targetDocument:t}=Xr();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=_a(t);function i(e){r.isNavigatingWithKeyboard()&&ji(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||ji(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(oa,o),e.addEventListener(`focusout`,s),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{a(),e.removeEventListener(oa,o),e.removeEventListener(`focusout`,s),e.focusVisible=void 0,va(r)}}function ks(e){return e?e.focusVisible?!0:ks(e?.parentElement):!1}function As(e={}){let t=Xr(),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=_a(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(oa,r),e.addEventListener(`focusout`,i),()=>{e.removeEventListener(oa,r),e.removeEventListener(`focusout`,i),va(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}=Xr(),t=_.useRef(null);return _.useEffect(()=>{if(e?.defaultView&&t.current)return js(t.current,e.defaultView)},[t,e]),t}function Is(){let{targetDocument:e}=Xr(),t=_.useRef(null);return _.useEffect(()=>{let n=e?.defaultView;if(n){let e=_a(n);return t.current=e,()=>{va(e),t.current=null}}},[e]),t}function Ls(e){let t=Is(),n=R(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[ya]),e),[]);return _.useMemo(()=>({[ya]: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=Hn({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=Jn(),n=sl({dir:e.dir,renderer:t});return e.root.className=A(ol.root,e.themeClassName,n.root,e.root.className),e},ll=_.useInsertionEffect?_.useInsertionEffect:gi,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=bi(ol.root),o=r,s=_.useMemo(()=>er(`.${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=Xr(),r=vl(),i=$r(),a=_.useContext(ei)||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=Jn(),{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:F(Rr(`div`,{...e,dir:c,ref:xi(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(Br)}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),ra(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:[]},gi(()=>{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=R(c);return gi(()=>(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=R(e=>{u?(e.preventDefault(),e.stopPropagation()):a?.(e)}),f=R(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=R(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}=Xr(),r=_.useRef(null),i=_.useRef(null),a=_.useCallback(e=>ji(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=R(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:xi(f,m),activeParentRef:s,controller:b}}var Jl=P({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=na();return a.className=A(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=P({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:A(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(`ArrowDownloadRegular`,`1em`,[`M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z`]),eu=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}),tu=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`]),nu=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`]),ru=Zl(`CircleFilled`,`1em`,[`M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z`]),iu=Zl(`CopyRegular`,`1em`,[`M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z`]),au=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`]),ou=Zl(`DocumentTableRegular`,`1em`,[`M6 10.5C6 9.67 6.67 9 7.5 9h5c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 6 14.5v-4ZM8 15v-2H7v1.5c0 .28.22.5.5.5H8Zm1-3h4v-1.5a.5.5 0 0 0-.5-.5H9v2Zm0 3h3.5a.5.5 0 0 0 .5-.5V13H9v2Zm-1.5-5a.5.5 0 0 0-.5.5V12h1v-2h-.5ZM6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z`]),su=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`]),cu=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`]),lu=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`]),uu=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`]),du=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`]),fu=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`]),pu=`data-popper-is-intersecting`,mu=`data-popper-escaped`,hu=`data-popper-reference-hidden`,gu=`data-popper-placement`,_u=`fui-positioningend`,vu=({options:e})=>e,yu=_.createContext(void 0);yu.Provider;var bu=()=>_.useContext(yu)??vu,xu=[`top`,`right`,`bottom`,`left`],Su=Math.min,Cu=Math.max,wu=Math.round,Tu=e=>({x:e,y:e}),Eu={left:`right`,right:`left`,bottom:`top`,top:`bottom`},Du={start:`end`,end:`start`};function Ou(e,t,n){return Cu(e,Su(t,n))}function ku(e,t){return typeof e==`function`?e(t):e}function Au(e){return e.split(`-`)[0]}function ju(e){return e.split(`-`)[1]}function Mu(e){return e===`x`?`y`:`x`}function Nu(e){return e===`y`?`height`:`width`}var Pu=new Set([`top`,`bottom`]);function Fu(e){return Pu.has(Au(e))?`y`:`x`}function Iu(e){return Mu(Fu(e))}function Lu(e,t,n){n===void 0&&(n=!1);let r=ju(e),i=Iu(e),a=Nu(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Ku(o)),[o,Ku(o)]}function Ru(e){let t=Ku(e);return[zu(e),t,zu(t)]}function zu(e){return e.replace(/start|end/g,e=>Du[e])}var Bu=[`left`,`right`],Vu=[`right`,`left`],Hu=[`top`,`bottom`],Uu=[`bottom`,`top`];function Wu(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Vu:Bu:t?Bu:Vu;case`left`:case`right`:return t?Hu:Uu;default:return[]}}function Gu(e,t,n,r){let i=ju(e),a=Wu(Au(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(zu)))),a}function Ku(e){return e.replace(/left|right|bottom|top/g,e=>Eu[e])}function qu(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ju(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:qu(e)}function Yu(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 Xu(e,t,n){let{reference:r,floating:i}=e,a=Fu(t),o=Iu(t),s=Nu(o),c=Au(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(ju(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var Zu=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}=Xu(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}=Xu(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function Qu(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}=ku(t,e),p=Ju(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Yu(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=Yu(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 $u=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}=ku(e,t)||{};if(l==null)return{};let d=Ju(u),f={x:n,y:r},p=Iu(i),m=Nu(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,E=Su(d[_],T),D=Su(d[v],T),ee=E,te=C-h[m]-D,O=C/2-h[m]/2+w,ne=Ou(ee,O,te),re=!c.arrow&&ju(i)!=null&&O!==ne&&a.reference[m]/2-(O<ee?E:D)-h[m]/2<0,ie=re?O<ee?O-ee:O-te:0;return{[p]:f[p]+ie,data:{[p]:ne,centerOffset:O-ne-ie,...re&&{alignmentOffset:ie}},reset:re}}}),ed=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}=ku(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Au(r),_=Fu(o),v=Au(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Ku(o)]:Ru(o)),x=p!==`none`;!d&&x&&b.push(...Gu(o,m,p,y));let S=[o,...b],C=await Qu(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Lu(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`&&_!==Fu(t))||T.every(e=>Fu(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=Fu(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 td(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nd(e){return xu.some(t=>e[t]>=0)}var rd=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=ku(e,t);switch(r){case`referenceHidden`:{let e=td(await Qu(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:nd(e)}}}case`escaped`:{let e=td(await Qu(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:nd(e)}}}default:return{}}}}},id=new Set([`left`,`top`]);async function ad(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Au(n),s=ju(n),c=Fu(n)===`y`,l=id.has(o)?-1:1,u=a&&c?-1:1,d=ku(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 od=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 ad(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}}}}},sd=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}=ku(e,t),l={x:n,y:r},u=await Qu(t,c),d=Fu(Au(i)),f=Mu(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=Ou(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=Ou(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}}}}}},cd=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}=ku(e,t),u={x:n,y:r},d=Fu(i),f=Mu(d),p=u[f],m=u[d],h=ku(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=id.has(Au(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}}}},ld=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}=ku(e,t),u=await Qu(t,l),d=Au(i),f=ju(i),p=Fu(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=Su(h-u[g],v),x=Su(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=Cu(u.left,0),t=Cu(u.right,0),n=Cu(u.top,0),r=Cu(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:Cu(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:Cu(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 ud(){return typeof window<`u`}function dd(e){return md(e)?(e.nodeName||``).toLowerCase():`#document`}function fd(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pd(e){return((md(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function md(e){return ud()?e instanceof Node||e instanceof fd(e).Node:!1}function hd(e){return ud()?e instanceof Element||e instanceof fd(e).Element:!1}function gd(e){return ud()?e instanceof HTMLElement||e instanceof fd(e).HTMLElement:!1}function _d(e){return!ud()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof fd(e).ShadowRoot}var vd=new Set([`inline`,`contents`]);function yd(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Md(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!vd.has(i)}var bd=new Set([`table`,`td`,`th`]);function xd(e){return bd.has(dd(e))}var Sd=[`:popover-open`,`:modal`];function Cd(e){return Sd.some(t=>{try{return e.matches(t)}catch{return!1}})}var wd=[`transform`,`translate`,`scale`,`rotate`,`perspective`],Td=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],Ed=[`paint`,`layout`,`strict`,`content`];function Dd(e){let t=kd(),n=hd(e)?Md(e):e;return wd.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)||Td.some(e=>(n.willChange||``).includes(e))||Ed.some(e=>(n.contain||``).includes(e))}function Od(e){let t=Pd(e);for(;gd(t)&&!jd(t);){if(Dd(t))return t;if(Cd(t))return null;t=Pd(t)}return null}function kd(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var Ad=new Set([`html`,`body`,`#document`]);function jd(e){return Ad.has(dd(e))}function Md(e){return fd(e).getComputedStyle(e)}function Nd(e){return hd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Pd(e){if(dd(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||_d(e)&&e.host||pd(e);return _d(t)?t.host:t}function Fd(e){let t=Pd(e);return jd(t)?e.ownerDocument?e.ownerDocument.body:e.body:gd(t)&&yd(t)?t:Fd(t)}function Id(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Fd(e),i=r===e.ownerDocument?.body,a=fd(r);if(i){let e=Ld(a);return t.concat(a,a.visualViewport||[],yd(r)?r:[],e&&n?Id(e):[])}return t.concat(r,Id(r,[],n))}function Ld(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rd(e){let t=Md(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=gd(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=wu(n)!==a||wu(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function zd(e){return hd(e)?e:e.contextElement}function Bd(e){let t=zd(e);if(!gd(t))return Tu(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Rd(t),o=(a?wu(n.width):n.width)/r,s=(a?wu(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Vd=Tu(0);function Hd(e){let t=fd(e);return!kd()||!t.visualViewport?Vd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ud(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==fd(e)?!1:t}function Wd(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=zd(e),o=Tu(1);t&&(r?hd(r)&&(o=Bd(r)):o=Bd(e));let s=Ud(a,n,r)?Hd(a):Tu(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=fd(a),t=r&&hd(r)?fd(r):r,n=e,i=Ld(n);for(;i&&r&&t!==n;){let e=Bd(i),t=i.getBoundingClientRect(),r=Md(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=fd(i),i=Ld(n)}}return Yu({width:u,height:d,x:c,y:l})}function Gd(e,t){let n=Nd(e).scrollLeft;return t?t.left+n:Wd(pd(e)).left+n}function Kd(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Gd(e,n),y:n.top+t.scrollTop}}function qd(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=pd(r),s=t?Cd(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Tu(1),u=Tu(0),d=gd(r);if((d||!d&&!a)&&((dd(r)!==`body`||yd(o))&&(c=Nd(r)),gd(r))){let e=Wd(r);l=Bd(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Kd(o,c):Tu(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 Jd(e){return Array.from(e.getClientRects())}function Yd(e){let t=pd(e),n=Nd(e),r=e.ownerDocument.body,i=Cu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Cu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Gd(e),s=-n.scrollTop;return Md(r).direction===`rtl`&&(o+=Cu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Xd=25;function Zd(e,t){let n=fd(e),r=pd(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=kd();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Gd(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<=Xd&&(a-=o)}else l<=Xd&&(a+=l);return{width:a,height:o,x:s,y:c}}var Qd=new Set([`absolute`,`fixed`]);function $d(e,t){let n=Wd(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=gd(e)?Bd(e):Tu(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function ef(e,t,n){let r;if(t===`viewport`)r=Zd(e,n);else if(t===`document`)r=Yd(pd(e));else if(hd(t))r=$d(t,n);else{let n=Hd(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Yu(r)}function tf(e,t){let n=Pd(e);return n===t||!hd(n)||jd(n)?!1:Md(n).position===`fixed`||tf(n,t)}function nf(e,t){let n=t.get(e);if(n)return n;let r=Id(e,[],!1).filter(e=>hd(e)&&dd(e)!==`body`),i=null,a=Md(e).position===`fixed`,o=a?Pd(e):e;for(;hd(o)&&!jd(o);){let t=Md(o),n=Dd(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&Qd.has(i.position)||yd(o)&&!n&&tf(e,o))?r=r.filter(e=>e!==o):i=t,o=Pd(o)}return t.set(e,r),r}function rf(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Cd(t)?[]:nf(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=ef(t,n,i);return e.top=Cu(r.top,e.top),e.right=Su(r.right,e.right),e.bottom=Su(r.bottom,e.bottom),e.left=Cu(r.left,e.left),e},ef(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function af(e){let{width:t,height:n}=Rd(e);return{width:t,height:n}}function of(e,t,n){let r=gd(t),i=pd(t),a=n===`fixed`,o=Wd(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Tu(0);function l(){c.x=Gd(i)}if(r||!r&&!a)if((dd(t)!==`body`||yd(i))&&(s=Nd(t)),r){let e=Wd(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?Kd(i,s):Tu(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 sf(e){return Md(e).position===`static`}function cf(e,t){if(!gd(e)||Md(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return pd(e)===n&&(n=n.ownerDocument.body),n}function lf(e,t){let n=fd(e);if(Cd(e))return n;if(!gd(e)){let t=Pd(e);for(;t&&!jd(t);){if(hd(t)&&!sf(t))return t;t=Pd(t)}return n}let r=cf(e,t);for(;r&&xd(r)&&sf(r);)r=cf(r,t);return r&&jd(r)&&sf(r)&&!Dd(r)?n:r||Od(e)||n}var uf=async function(e){let t=this.getOffsetParent||lf,n=this.getDimensions,r=await n(e.floating);return{reference:of(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function df(e){return Md(e).direction===`rtl`}var ff={convertOffsetParentRelativeRectToViewportRelativeRect:qd,getDocumentElement:pd,getClippingRect:rf,getOffsetParent:lf,getElementRects:uf,getClientRects:Jd,getDimensions:af,getScale:Bd,isElement:hd,isRTL:df},pf=Qu,mf=od,hf=sd,gf=ed,_f=ld,vf=rd,yf=$u,bf=cd,xf=(e,t,n)=>{let r=new Map,i={platform:ff,...n},a={...i.platform,_c:r};return Zu(e,t,{...i,platform:a})};function Sf(e){let t=e.split(`-`);return{side:t[0],alignment:t[1]}}var Cf=e=>e.nodeName===`HTML`?e:e.parentNode||e.host,wf=e=>{if(e.nodeType!==1)return{};let t=e.ownerDocument?.defaultView;return t?t.getComputedStyle(e,null):{}},Tf=e=>{let t=e&&Cf(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}=wf(t);return/(auto|scroll|overlay)/.test(n+i+r)?t:Tf(t)},Ef=e=>{let t=Tf(e);return t?t!==t.ownerDocument?.body:!1};function Df(e,t){if(t===`window`)return e?.ownerDocument.documentElement;if(t===`clippingParents`)return`clippingAncestors`;if(t===`scrollParent`){let t=Tf(e);return t.nodeName===`BODY`&&(t=e?.ownerDocument.documentElement),t}return t}function Of(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 kf=e=>({above:`top`,below:`bottom`,before:e?`right`:`left`,after:e?`left`:`right`}),Af=()=>({start:`start`,end:`end`,top:`start`,bottom:`end`,center:void 0}),jf=(e,t)=>{let n=e===`above`||e===`below`,r=t===`top`||t===`bottom`;return n&&r||!n&&!r},Mf=(e,t,n)=>{let r=jf(t,e)?`center`:e,i=t&&kf(n)[t],a=r&&Af()[r];return i&&a?`${i}-${a}`:i},Nf=()=>({top:`above`,bottom:`below`,right:`after`,left:`before`}),Pf=e=>e===`above`||e===`below`?{start:`start`,end:`end`}:{start:`top`,end:`bottom`},Ff=e=>{let{side:t,alignment:n}=Sf(e),r=Nf()[t];return{position:r,alignment:n&&Pf(r)[n]}},If={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 Lf(e){return e==null?{}:typeof e==`string`?If[e]:e}function Rf(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 gi(()=>{r.current=!1},[]),i.callback=t,i.facade}function zf(e){let t;return()=>(t||=new Promise(n=>{Promise.resolve().then(()=>{t=void 0,n(e())})}),t)}function Bf(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 Vf(e){let{container:t,placement:n,middlewareData:r,strategy:i,lowPPI:a,coordinates:o,useTransform:s=!0}=e;if(!t)return;t.setAttribute(gu,n),t.removeAttribute(pu),r.intersectionObserver.intersecting&&t.setAttribute(pu,``),t.removeAttribute(mu),r.hide?.escaped&&t.setAttribute(mu,``),t.removeAttribute(hu),r.hide?.referenceHidden&&t.setAttribute(hu,``);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 Hf=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 Uf(e){let t=[],n=e;for(;n;){let r=Tf(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 Wf(e,t){return new e.ResizeObserver(t)}function Gf(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:Wf(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&&=(Uf(n).forEach(e=>p.add(e)),ji(r)&&Uf(r).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener(`scroll`,h,{passive:!0})}),d?.observe(n),ji(r)&&d?.observe(r),!1),Object.assign(n.style,{position:a}),xf(r,n,{placement:s,middleware:o,strategy:a}).then(({x:e,y:r,middlewareData:o,placement:s})=>{t||(Bf({arrow:i,middlewareData:o}),Vf({container:n,middlewareData:o,placement:s,coordinates:{x:e,y:r},lowPPI:(u?.devicePixelRatio||1)<=1,strategy:a,useTransform:c}),n.dispatchEvent(new CustomEvent(_u)))}).catch(e=>{}))},h=zf(()=>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 Kf(){return{name:`coverTarget`,fn:e=>{let{placement:t,rects:n,x:r,y:i}=e,a=Sf(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 qf(e){let{hasScrollableElement:t,flipBoundary:n,container:r,fallbackPositions:i=[],isRtl:a}=e,o=i.reduce((e,t)=>{let{position:n,align:r}=Lf(t),i=Mf(r,n,a);return i&&e.push(i),e},[]);return gf({...t&&{boundary:`clippingAncestors`},...n&&{altBoundary:!0,boundary:Df(r,n)},fallbackStrategy:`bestFit`,...o.length&&{fallbackPlacements:o}})}function Jf(){return{name:`intersectionObserver`,fn:async e=>{let t=e.rects.floating,n=await pf(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 Yf=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 Xf(e,t){let{container:n,overflowBoundary:r,overflowBoundaryPadding:i,isRtl:a}=t;return _f({...i&&{padding:Of(i,a)},...r&&{altBoundary:!0,boundary:Df(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 Zf(e){return!e||typeof e==`number`||typeof e==`object`?e:({rects:{floating:t,reference:n},placement:r})=>{let{position:i,alignment:a}=Ff(r);return e({positionedRect:t,targetRect:n,position:i,alignment:a})}}function Qf(e){return mf(Zf(e))}function $f(e){let{hasScrollableElement:t,shiftToCoverTarget:n,disableTether:r,overflowBoundary:i,container:a,overflowBoundaryPadding:o,isRtl:s}=e;return hf({...t&&{boundary:`clippingAncestors`},...n&&{crossAxis:!0,limiter:bf({crossAxis:!0,mainAxis:!1})},...r&&{crossAxis:r===`all`,limiter:bf({crossAxis:r!==`all`,mainAxis:!1})},...o&&{padding:Of(o,s)},...i&&{altBoundary:!0,boundary:Df(a,i)}})}var ep=`--fui-match-target-size`;function tp(){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(ep,`${a}px`),r.style.width||(r.style.width=`var(${ep})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function np(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 rp(e){let{dir:t,targetDocument:n}=Xr(),r=t===`rtl`,i=np(bu(),e),{positionFixed:a}=e;return _.useCallback((e,t)=>{let n=Ef(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=Hf(o),w=[C&&Yf(C),c&&tp(),l&&Qf(l),u&&Kf(),!h&&qf({container:e,flipBoundary:d,hasScrollableElement:n,isRtl:r,fallbackPositions:b}),$f({container:e,hasScrollableElement:n,overflowBoundary:f,disableTether:S,overflowBoundaryPadding:m,isRtl:r,shiftToCoverTarget:x}),C&&Xf(C,{container:e,overflowBoundary:f,overflowBoundaryPadding:m,isRtl:r}),Jf(),t&&yf({element:t,padding:_}),vf({strategy:`referenceHidden`}),vf({strategy:`escaped`}),!1].filter(Boolean);return{placement:Mf(y,g,r),middleware:w,strategy:v??a?`fixed`:`absolute`,disableUpdateOnResize:s,useTransform:p}},[i,r,n,a])}function ip(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=rp(e),c=_.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;let e=r.current??n.current;o&&fi()&&e&&i.current&&(t.current=Gf({container:i.current,target:e,arrow:a.current,...s(i.current,a.current)}))},[o,s]),l=R(e=>{r.current=e,c()});_.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>t.current?.updatePosition(),setTarget:t=>{e.target,l(t)}}),[e.target,l]),gi(()=>{l(e.target??null)},[e.target,l]),gi(()=>{c()},[c]);let u=Rf(null,e=>{n.current!==e&&(n.current=e,c())}),d=R(()=>e.onPositioningEnd?.call(e));return{targetRef:u,containerRef:Rf(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:Rf(null,e=>{a.current!==e&&(a.current=e,c())})}}function ap(e){return ji(e)?{element:e}:typeof e==`object`?e===null?{element:null}:e:{}}var op=P({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;}`]}),sp=_.useInsertionEffect,cp=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},lp=()=>{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}},up=sp?e=>{"use no memo";let{className:t,dir:n,focusVisibleRef:r,targetNode:i}=e,[a]=_.useState(lp),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 sp(()=>{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}:cp,dp=e=>{"use no memo";let{targetDocument:t,dir:n}=Xr(),r=ai(),i=As(),a=op(),o=Gr();return up({dir:n,disabled:e.disabled,focusVisibleRef:i,className:A(o,a.root,e.className),targetNode:r??t?.body})},fp=e=>{let{element:t,className:n}=ap(e.mountNode),r=_.useRef(null),i=dp({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 Wi(a,e),()=>{Wi(a,void 0)}},[r,a]),o},pp=l(h()),mp=e=>_.createElement(`span`,{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&pp.createPortal(_.createElement(_.Fragment,null,e.children,_.createElement(`span`,{hidden:!0})),e.mountNode)),hp=e=>mp(fp(e));hp.displayName=`Portal`;var gp=e=>{let{iconOnly:t,iconPosition:n}=e;return Qi(e.root,{children:[n!==`after`&&e.icon&&V(e.icon,{}),!t&&e.root.children,n===`after`&&e.icon&&V(e.icon,{})]})},_p=_.createContext(void 0),vp={};_p.Provider;var yp=()=>_.useContext(_p)??vp,bp=(e,t)=>{let{size:n}=yp(),{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=ir(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:F(Rr(i,jl(e.as,e)),{elementType:`button`,defaultProps:{ref:t,type:i===`button`?`button`:void 0}}),icon:d}},xp={root:`fui-Button`,icon:`fui-Button__icon`};`${$.strokeWidthThin}`;var Sp=$n(`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;}}`]}),Cp=$n(`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);}`]),wp=P({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)`}]]}),Tp=P({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)`}]]}),Ep=P({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;}}`]}),Dp=P({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;}`]}),Op=P({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);}`]}),kp=e=>{"use no memo";let t=Sp(),n=Cp(),r=wp(),i=Tp(),a=Ep(),o=Dp(),s=Op(),{appearance:c,disabled:l,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:p,shape:m,size:h}=e;return e.root.className=A(xp.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=A(xp.icon,n,!!e.root.children&&s[p],s[h],e.icon.className)),e},Ap=_.forwardRef((e,t)=>{let n=bp(e,t);return kp(n),ri(`useButtonStyles_unstable`)(n),gp(n)});Ap.displayName=`Button`;var jp=_.createContext(void 0);jp.Provider;var Mp=()=>_.useContext(jp);function Np(e,t){return Pp(Mp(),e,t)}function Pp(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 Fp=(e,t)=>{let{disabled:n=!1,required:r=!1,weight:i=`regular`,size:a=`medium`}=e;return{disabled:n,required:ir(r===!0?`*`:r||void 0,{defaultProps:{"aria-hidden":`true`},elementType:`span`}),weight:i,size:a,components:{root:`label`,required:`span`},root:F(Rr(`label`,{ref:t,...e}),{elementType:`label`})}},Ip=e=>Qi(e.root,{children:[e.root.children,e.required&&V(e.required,{})]}),Lp={root:`fui-Label`,required:`fui-Label__required`},Rp=P({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)`}]]}),zp=e=>{"use no memo";let t=Rp();return e.root.className=A(Lp.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight===`semibold`&&t.semibold,e.root.className),e.required&&(e.required.className=A(Lp.required,t.required,e.disabled&&t.disabled,e.required.className)),e},Bp=_.forwardRef((e,t)=>{let n=Fp(e,t);return zp(n),ri(`useLabelStyles_unstable`)(n),Ip(n)});Bp.displayName=`Label`;var Vp=(e,t)=>{"use no memo";e=Np(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]=ui({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),u=Lr({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`size`,`onChange`]}),d=c===`mixed`,f=bi(`checkbox-`,u.primary.id),p;d?p=i===`circular`?_.createElement(ru,null):a===`large`?_.createElement(fu,null):_.createElement(du,null):c&&(p=a===`large`?_.createElement(uu,null):_.createElement(lu,null));let m={shape:i,checked:c,disabled:n,size:a,labelPosition:o,components:{root:`span`,input:`input`,indicator:`div`,label:Bp},root:F(e.root,{defaultProps:{ref:Fs(),...u.root},elementType:`span`}),input:F(e.input,{defaultProps:{type:`checkbox`,id:f,ref:t,checked:c===!0,...u.primary},elementType:`input`}),label:ir(e.label,{defaultProps:{htmlFor:f,disabled:n,required:r,size:`medium`},elementType:Bp}),indicator:ir(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:p},elementType:`div`})};m.input.onChange=R(e=>{let t=e.currentTarget.indeterminate?`mixed`:e.currentTarget.checked;s?.(e,{checked:t}),l(t)});let h=xi(m.input.ref);return m.input.ref=h,gi(()=>{h.current&&(h.current.indeterminate=d)},[h,d]),m},Hp=e=>Qi(e.root,{children:[V(e.input,{}),e.labelPosition===`before`&&e.label&&V(e.label,{}),e.indicator&&V(e.indicator,{}),e.labelPosition===`after`&&e.label&&V(e.label,{})]}),Up={root:`fui-Checkbox`,label:`fui-Checkbox__label`,input:`fui-Checkbox__input`,indicator:`fui-Checkbox__indicator`},Wp=$n(`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;}}`]}),Gp=P({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)`}]]}),Kp=$n(`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));}`]),qp=P({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));}`]}),Jp=$n(`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;}`]),Yp=P({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}]]}),Xp=P({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);}`]}),Zp=e=>{"use no memo";let{checked:t,disabled:n,labelPosition:r,shape:i,size:a}=e,o=Wp(),s=Gp();e.root.className=A(Up.root,o,n?s.disabled:t===`mixed`?s.mixed:t?s.checked:s.unchecked,e.root.className);let c=Kp(),l=qp();e.input.className=A(Up.input,c,a===`large`&&l.large,l[r],e.input.className);let u=Jp(),d=Yp();e.indicator&&(e.indicator.className=A(Up.indicator,u,a===`large`&&d.large,i===`circular`&&d.circular,e.indicator.className));let f=Xp();return e.label&&(e.label.className=A(Up.label,f.base,f[a],f[r],e.label.className)),e},Qp=_.forwardRef((e,t)=>{let n=Vp(e,t);return Zp(n),ri(`useCheckboxStyles_unstable`)(n),Hp(n)});Qp.displayName=`Checkbox`;var $p=Cl({activeOption:void 0,appearance:`outline`,focusVisible:!1,open:!1,registerOption(){return()=>void 0},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:`medium`});$p.Provider;var em={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>void 0},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},tm=Cl(void 0),nm=e=>wl(tm,(t=em)=>e(t));tm.Provider;function rm(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 im(e){let t=Tl(tm),{getOptionById:n,getOptionsMatchingValue:r,multiselect:i,registerOption:a,selectedOptions:o,selectOption:s,activeDescendantController:c}=e,l=nm(e=>e.registerOption),u=nm(e=>e.onOptionClick),d=nm(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 am(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 om=()=>{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}},sm=e=>{let{defaultSelectedOptions:t,multiselect:n,onOptionSelect:r}=e,[i,a]=ui({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}},cm={root:`fui-Option`,checkIcon:`fui-Option__checkIcon`},lm=P({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)`}]]}),um=e=>{"use no memo";let{disabled:t,multiselect:n,selected:r}=e,i=lm();return e.root.className=A(cm.root,i.root,i.active,t&&i.disabled,r&&i.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=A(cm.checkIcon,i.checkIcon,n&&i.multiselectCheck,r&&i.selectedCheck,r&&n&&i.selectedMultiselectCheck,t&&i.checkDisabled,t&&n&&i.multiselectCheckDisabled,e.checkIcon.className)),e},dm={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},fm=(e,t)=>{"use no memo";let{multiselect:n,disableAutoFocus:r=!1}=e,i=om(),{listboxRef:a,activeParentRef:o,controller:s}=ql({matchOption:e=>e.classList.contains(cm.root)}),c=Tl(tm),l=nm(e=>e.onActiveDescendantChange),u=nm(e=>e.getOptionById),d=nm(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}=sm(e),w=e=>{let t=am(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=nm(e=>e.selectedOptions),E=nm(e=>e.selectOption),D=c?{selectedOptions:T,selectOption:E,...dm}:{selectedOptions:S,selectOption:C,...dm};_.useEffect(()=>{if(!y){if(b.hideFocusVisibleAttributes(),!r)if(!n&&D.selectedOptions.length>0){let e=p(e=>e===D.selectedOptions[0]).pop();e?.id&&b.focus(e.id)}else b.first();return()=>{b.blur()}}},[]);let ee=_.useCallback(()=>{y||(b.showFocusVisibleAttributes(),h&&b.scrollActiveIntoView())},[b,y,h]),te=_.useCallback(()=>{y||b.hideFocusVisibleAttributes()},[b,y]),O={components:{root:`div`},root:F(Rr(`div`,{ref:xi(t,o,a,m),role:n?`menu`:`listbox`,tabIndex:0,...e}),{elementType:`div`}),standalone:!c,multiselect:n,clearSelection:x,activeDescendantController:b,onActiveDescendantChange:l,...i,...D};return O.root.onKeyDown=R(Ai(O.root.onKeyDown,w)),O.root.onFocus=R(Ai(O.root.onFocus,ee)),O.root.onBlur=R(Ai(O.root.onBlur,te)),O},pm=(e,t)=>V(Fl,{value:t.activeDescendant,children:V(tm.Provider,{value:t.listbox,children:V(e.root,{})})}),mm={root:`fui-Listbox`},hm=P({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);}`]}),gm=e=>{"use no memo";let t=hm();return e.root.className=A(mm.root,t.root,e.root.className),e},_m=_.forwardRef((e,t)=>{let n=fm(e,t),r=im(n);return gm(n),ri(`useListboxStyles_unstable`)(n),pm(n,r)});_m.displayName=`Listbox`;function vm(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 ym=(e,t)=>{let{children:n,disabled:r,text:i,value:a}=e,o=_.useRef(null),s=vm(i,n),c=a??s,l=bi(`fluent-option`,e.id),u=_.useMemo(()=>({id:l,disabled:r,text:s,value:c}),[l,r,s,c]),{controller:d}=Il(),f=nm(e=>e.multiselect),p=nm(e=>e.registerOption),m=nm(e=>{let t=e.selectedOptions;return c!==void 0&&t.find(e=>e===c)!==void 0}),h=nm(e=>e.selectOption),g=nm(e=>e.onOptionClick),v=_.createElement(tu,null);f&&(v=m?_.createElement(lu,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:F(Rr(`div`,{ref:xi(t,o),"aria-disabled":r?`true`:void 0,id:l,...b,...e,onClick:y}),{elementType:`div`}),checkIcon:ir(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":`true`,children:v},elementType:`span`}),disabled:r,multiselect:f,selected:m,focusVisible:!1,active:!1}},bm=e=>Qi(e.root,{children:[e.checkIcon&&V(e.checkIcon,{}),e.root.children]}),xm=_.forwardRef((e,t)=>{let n=ym(e,t);return um(n),ri(`useOptionStyles_unstable`)(n),bm(n)});xm.displayName=`Option`;var Sm=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=om(),{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),E=_.useRef(!1),D=_i(),[ee,te]=ui({state:e.value,initialState:void 0}),{selectedOptions:O,selectOption:ne,clearSelection:re}=sm(e),ie=_.useCallback((e,t)=>{pp.unstable_batchedUpdates(()=>{te(void 0),ne(e,t)})},[te,ne]),ae=_.useMemo(()=>{if(ee!==void 0)return ee;if(D&&e.defaultValue!==void 0)return e.defaultValue;let t=g(e=>O.includes(e)).map(e=>e.text);return c?a?``:t.join(`, `):t[0]},[ee,a,g,c,O]),[oe,se]=ui({state:e.open,defaultState:e.defaultOpen,initialState:!1}),ce=_.useCallback((e,t)=>{p||(l?.(e,{open:t}),pp.unstable_batchedUpdates(()=>{!t&&!f&&te(void 0),se(t)}))},[l,se,te,f,p]);_.useEffect(()=>{if(oe){if(!c&&O.length>0){let e=g(e=>e===O[0]).pop();e?.id&&d.focus(e.id)}}else d.blur()},[oe,d]),_.useEffect(()=>{oe&&!n&&!d.active()&&d.first()},[oe,r,n,d,v]);let le=R(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:ie,clearSelection:re,selectedOptions:O,activeOption:b,appearance:t,clearable:i,focusVisible:S,ignoreNextBlur:E,inlinePopup:o,mountNode:s,open:oe,hasFocus:w,setActiveOption:x,setFocusVisible:C,setHasFocus:T,setOpen:ce,setValue:te,size:u,value:ae,multiselect:c,onOptionClick:R(e=>{c||ce(e,!1)}),onActiveDescendantChange:le}};function Cm(e){let{positioning:t}=e,{targetRef:n,containerRef:r}=ip({position:`below`,align:`start`,offset:{crossAxis:0,mainAxis:2},fallbackPositions:[`above`,`after`,`after-top`,`before`,`before-top`],matchTargetSize:`width`,autoSize:!0,...Lf(t)});return[r,n]}function wm(e,t,n){let{state:{multiselect:r},triggerRef:i,defaultProps:a}=n,o=bi(`fluent-listbox`,sr(e)?e.id:void 0),s=ir(e,{renderByDefault:!0,elementType:_m,defaultProps:{id:o,multiselect:r,tabIndex:void 0,...a}}),c=Np({id:o},{supportsLabelFor:!0});s&&!s[`aria-label`]&&!s[`aria-labelledby`]&&c[`aria-labelledby`]&&(s[`aria-labelledby`]=c[`aria-labelledby`]);let l=R(Ai(e=>{e.preventDefault()},s?.onMouseDown)),u=R(Ai(e=>{var t;e.preventDefault(),(t=i.current)==null||t.focus()},s?.onClick)),d=xi(s?.ref,t);return s&&(s.ref=d,s.onMouseDown=l,s.onClick=u),s}function Tm(e,t,n){let{state:{open:r,setOpen:i,setHasFocus:a},defaultProps:o,elementType:s,activeDescendantController:c}=n,l=F(e,{defaultProps:{type:`text`,"aria-expanded":r,role:`combobox`,...typeof o==`object`&&o},elementType:s});return l.ref=xi(_.useRef(null),l.ref,t),l.onBlur=Ai(e=>{i(e,!1),a(!1)},l.onBlur),l.onFocus=Ai(e=>{e.target===e.currentTarget&&a(!0)},l.onFocus),l.onClick=Ai(e=>{i(e,!r)},l.onClick),l.onKeyDown=Ai(Em({activeDescendantController:c,...n.state}),l.onKeyDown),l}function Em(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 R(e=>{let t=am(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 Dm(e,t,n){"use no memo";let{state:{open:r,setOpen:i,getOptionById:a},defaultProps:o,activeDescendantController:s}=n,c=_.useRef(``),[l,u]=ki(),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})||Om(c.current)&&d(e=>e.toLocaleLowerCase().indexOf(c.current[0])===0,{startFromNext:!0})||s.blur()},p=e=>{u(),am(e)===`Type`&&(c.current+=e.key.toLowerCase(),l(()=>{c.current=``},500),r&&f(),!r&&i(e,!0))},m=Tm(e,t,{state:n.state,defaultProps:o,elementType:`button`,activeDescendantController:s});return m.onKeyDown=Ai(p,m.onKeyDown),m}function Om(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}var km=(e,t)=>{"use no memo";e=Np(e,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:n,activeParentRef:r,controller:i}=ql({matchOption:e=>e.classList.contains(cm.root)}),a=Sm({...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}=Lr({props:e,primarySlotTagName:`button`,excludedPropNames:[`children`]}),[g,v]=Cm(e),y=_.useRef(null),b=wm(e.listbox,xi(g,n),{state:a,triggerRef:y,defaultProps:{children:e.children}}),{targetDocument:x}=Xr();Ci({element:x,callback:e=>p(e,!1),refs:[y,g,v],disabled:!d});let S=Dm(e.button??{},xi(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=F(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&d?b?.id:void 0,children:e.children,...h},elementType:`div`});C.ref=xi(C.ref,v);let w=f.length>0&&!c&&o&&!u,T={components:{root:`div`,button:`button`,clearButton:`button`,expandIcon:`span`,listbox:_m},root:C,button:S,listbox:d||l?b:void 0,clearButton:ir(e.clearButton,{defaultProps:{"aria-label":`Clear selection`,children:_.createElement(au,null),tabIndex:w?0:void 0,type:`button`},elementType:`button`,renderByDefault:!0}),expandIcon:ir(e.expandIcon,{renderByDefault:!0,defaultProps:{children:_.createElement(nu,null)},elementType:`span`}),placeholderVisible:!a.value&&!!e.placeholder,showClearButton:w,activeDescendantController:i,...a},E=R(Ai(T.clearButton?.onClick,e=>{var t;s(e),(t=y.current)==null||t.focus()}));return T.clearButton&&(T.clearButton.onClick=E),u&&(T.clearButton=void 0),T},Am=(e,t)=>V(e.root,{children:V(Fl,{value:t.activeDescendant,children:V(tm.Provider,{value:t.listbox,children:Qi($p.Provider,{value:t.combobox,children:[Qi(e.button,{children:[e.button.children,e.expandIcon&&V(e.expandIcon,{})]}),e.clearButton&&V(e.clearButton,{}),e.listbox&&(e.inlinePopup?V(e.listbox,{}):V(hp,{mountNode:e.mountNode,children:V(e.listbox,{})}))]})})})}),jm={root:`fui-Dropdown`,button:`fui-Dropdown__button`,clearButton:`fui-Dropdown__clearButton`,expandIcon:`fui-Dropdown__expandIcon`,listbox:`fui-Dropdown__listbox`},Mm=P({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);}`]}),Nm=P({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);}`]}),Pm=$n(`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;}}`]}),Fm=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=Mm(),l=Nm(),u=Pm();return e.root.className=A(jm.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=A(jm.button,c.button,c[a],r&&c.placeholder,s&&c.disabledText,e.button.className),e.listbox&&(e.listbox.className=A(jm.listbox,c.listbox,e.inlinePopup&&c.inlineListbox,!n&&c.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=A(jm.expandIcon,l.icon,l[a],s&&l.disabled,i&&c.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=A(jm.clearButton,u,l.icon,l[a],s&&l.disabled,!i&&c.hidden,e.clearButton.className)),e},Im=_.forwardRef((e,t)=>{let n=km(e,t),r=rm(n);return Fm(n),ri(`useDropdownStyles_unstable`)(n),Am(n,r)});Im.displayName=`Dropdown`;var Lm=(e,t)=>{e=Np(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let n=$r(),{size:r=`medium`,appearance:i=n.inputDefaultAppearance??`outline`,onChange:a}=e,[o,s]=ui({state:e.value,defaultState:e.defaultValue,initialState:``}),c=Lr({props:e,primarySlotTagName:`input`,excludedPropNames:[`size`,`onChange`,`value`,`defaultValue`]}),l={size:r,appearance:i,components:{root:`span`,input:`input`,contentBefore:`span`,contentAfter:`span`},input:F(e.input,{defaultProps:{type:`text`,ref:t,...c.primary},elementType:`input`}),contentAfter:ir(e.contentAfter,{elementType:`span`}),contentBefore:ir(e.contentBefore,{elementType:`span`}),root:F(e.root,{defaultProps:c.root,elementType:`span`})};return l.input.value=o,l.input.onChange=R(e=>{let t=e.target.value;a?.(e,{value:t}),s(t)}),l},Rm={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 zm=$n(`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;}}`]}),Bm=P({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;}`]}),Vm=$n(`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;}`]),Hm=P({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);}`]}),Um=$n(`r1572tok`,null,[`.r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}`,`.r1572tok>svg{font-size:20px;}`]),Wm=P({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;}`]}),Gm=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=Bm(),s=Hm(),c=Wm();e.root.className=A(Rm.root,zm(),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=A(Rm.input,Vm(),s[t],e.contentBefore&&s[`${t}WithContentBefore`],e.contentAfter&&s[`${t}WithContentAfter`],r&&s.disabled,e.input.className);let l=[Um(),r&&c.disabled,c[t]];return e.contentBefore&&(e.contentBefore.className=A(Rm.contentBefore,...l,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=A(Rm.contentAfter,...l,e.contentAfter.className)),e},Km=_.createContext(void 0),qm={};Km.Provider;var Jm=()=>_.useContext(Km)||qm,Ym=e=>Qi(e.root,{children:[V(e.input,{}),V(e.indicator,{}),e.label&&V(e.label,{})]}),Xm=(e,t)=>{let n=Jm(),{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=Lr({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`onChange`]}),f=F(e.root,{defaultProps:{ref:Fs(),...d.root},elementType:`span`}),p=F(e.input,{defaultProps:{ref:t,type:`radio`,id:bi(`radio-`,d.primary.id),name:r,checked:i,defaultChecked:a,disabled:s,required:c,"aria-describedby":l,...d.primary},elementType:`input`});p.onChange=Ai(p.onChange,e=>u?.(e,{value:e.currentTarget.value}));let m=ir(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:Bp}),h=F(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:`div`});return{labelPosition:o,components:{root:`span`,input:`input`,label:Bp,indicator:`div`},root:f,input:p,label:m,indicator:h}},Zm={root:`fui-Radio`,indicator:`fui-Radio__indicator`,input:`fui-Radio__input`,label:`fui-Radio__label`},Qm=$n(`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;}}`]}),$m=P({vertical:{Beiy3e4:`f1vx9l62`,Bt984gj:`f122n59`}},{d:[`.f1vx9l62{flex-direction:column;}`,`.f122n59{align-items:center;}`]}),eh=$n(`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;}}`]}),th=P({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;}`]}),nh=$n(`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;}`]),rh=P({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;}`]}),ih=e=>{"use no memo";let{labelPosition:t}=e,n=Qm(),r=$m();e.root.className=A(Zm.root,n,t===`below`&&r.vertical,e.root.className);let i=eh(),a=th();e.input.className=A(Zm.input,i,t===`below`&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);let o=nh();e.indicator.className=A(Zm.indicator,o,e.indicator.className);let s=rh();return e.label&&(e.label.className=A(Zm.label,s.base,s[t],e.label.className)),e},ah=_.forwardRef((e,t)=>{let n=Xm(e,t);return ih(n),ri(`useRadioStyles_unstable`)(n),Ym(n)});ah.displayName=`Radio`;var oh=_.createContext(void 0),sh={};oh.Provider;var ch=()=>_.useContext(oh)??sh,lh=(e,t)=>{let{size:n}=ch(),{appearance:r=`primary`,labelPosition:i=`after`,size:a=n??`medium`,delay:o=0}=e,s=bi(`spinner`),{role:c=`progressbar`,...l}=e,u=F(Rr(`div`,{ref:t,role:c,...l},[`size`]),{elementType:`div`}),[d,f]=_.useState(!1),[p,m]=ki();_.useEffect(()=>{if(!(o<=0))return p(()=>{f(!0)},o),()=>{m()}},[p,m,o]);let h=ir(e.label,{defaultProps:{id:s},renderByDefault:!1,elementType:Bp}),g=ir(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:Bp},root:u,spinner:g,spinnerTail:F(e.spinnerTail,{elementType:`span`}),label:h}},uh=e=>{let{labelPosition:t,shouldRenderSpinner:n}=e;return Qi(e.root,{children:[e.label&&n&&(t===`above`||t===`before`)&&V(e.label,{}),e.spinner&&n&&V(e.spinner,{children:e.spinnerTail&&V(e.spinnerTail,{})}),e.label&&n&&(t===`below`||t===`after`)&&V(e.label,{})]})},dh={root:`fui-Spinner`,spinner:`fui-Spinner__spinner`,spinnerTail:`fui-Spinner__spinnerTail`,label:`fui-Spinner__label`},fh=$n(`rpp59a7`,null,[`.rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}`]),ph=P({vertical:{Beiy3e4:`f1vx9l62`}},{d:[`.f1vx9l62{flex-direction:column;}`]}),mh=$n(`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;}}`]}),hh=$n(`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;}}`]}),gh=P({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)`}]]}),_h=P({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);}`]}),vh=e=>{"use no memo";let{labelPosition:t,size:n,appearance:r}=e,{dir:i}=Xr(),a=fh(),o=ph(),s=mh(),c=gh(),l=hh(),u=_h();return e.root.className=A(dh.root,a,(t===`above`||t===`below`)&&o.vertical,e.root.className),e.spinner&&(e.spinner.className=A(dh.spinner,s,c[n],r===`inverted`&&c.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=A(dh.spinnerTail,l,i===`rtl`&&c.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=A(dh.label,u[n],r===`inverted`&&u.inverted,e.label.className)),e},yh=_.forwardRef((e,t)=>{let n=lh(e,t);return vh(n),ri(`useSpinnerStyles_unstable`)(n),uh(n)});yh.displayName=`Spinner`;var bh=(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:F(Rr(`span`,{ref:t,...e}),{elementType:`span`})}},xh=e=>V(e.root,{}),Sh={root:`fui-Text`},Ch=P({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;}`]}),wh=e=>{"use no memo";let t=Ch();return e.root.className=A(Sh.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},Th=_.forwardRef((e,t)=>{let n=bh(e,t);return wh(n),ri(`useTextStyles_unstable`)(n),xh(n)});Th.displayName=`Text`;function Eh(e){let{useStyles:t,className:n,displayName:r}=e,i=_.forwardRef((e,r)=>{"use no memo";let i=t(),a=bh(e,r);return wh(a),a.root.className=A(n,a.root.className,i.root,e.className),xh(a)});return i.displayName=r,i}var Dh=Eh({useStyles:P({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`}),Oh=()=>void 0,kh={allRowsSelected:!1,clearRows:Oh,deselectRow:Oh,isRowSelected:()=>!1,selectRow:Oh,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:Oh,toggleRow:Oh,selectionMode:`multiselect`};function Ah(e){"use no memo";return t=>jh(t,e)}function jh(e,t){let{items:n,getRowId:r}=e,{selectionMode:i,defaultSelectedItems:a,selectedItems:o,onSelectionChange:s}=t,[c,l]=Bi({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=R(e=>{l.toggleAllItems(e,n.map((e,t)=>r?.(e)??t))}),m=R((e,t)=>l.toggleItem(e,t)),h=R((e,t)=>l.deselectItem(e,t)),g=R((e,t)=>l.selectItem(e,t)),v=e=>l.isSelected(e),y=R(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 Mh=()=>void 0,Nh={getSortDirection:()=>`ascending`,setColumnSort:Mh,sort:e=>[...e],sortColumn:void 0,sortDirection:`ascending`,toggleColumnSort:Mh};function Ph(e){"use no memo";return t=>Fh(t,e)}function Fh(e,t){let{columns:n}=e,{sortState:r,defaultSortState:i,onSortChange:a=Mh}=t,[o,s]=ui({initialState:{sortDirection:`ascending`,sortColumn:void 0},defaultState:i,state:r}),{sortColumn:c,sortDirection:l}=o,u=R(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 Ih=(e,t)=>{let n=R(t=>{var n;(n=e.onClick)==null||n.call(e,t),t.stopPropagation()});return{components:{root:`div`},root:F(Rr(`div`,{ref:t,...e,onClick:n}),{elementType:`div`})}},Lh=e=>V(e.root,{}),Rh={root:`fui-TableResizeHandle`},zh=P({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;}`]}),Bh=e=>{"use no memo";let t=zh();return e.root.className=A(Rh.root,t.root,e.root.className),e},Vh=_.forwardRef((e,t)=>{let n=Ih(e,t);return Bh(n),ri(`useTableResizeHandleStyles_unstable`)(n),Lh(n)});Vh.displayName=`TableResizeHandle`;function Hh(){let[e,t]=_.useState(0),n=_.useRef(void 0),r=_.useRef(null),{targetDocument:i}=Xr(),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=Uh(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 Uh(e,t){return e!=null&&e.defaultView?.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function Wh(e){let t=_.useRef(0),n=_.useRef(0),r=_.useRef(void 0),[i,a]=_.useState(!1),{targetDocument:o}=Xr(),{getColumnWidth:s,setColumnWidth:c}=e,l=_.useCallback(e=>{let{clientX:i}=Fi(e),a=i-t.current;n.current+=a,r.current&&c(e,{columnId:r.current,width:n.current}),t.current=i},[c]),[u]=ci(),d=_.useCallback(e=>{u(()=>l(e))},[u,l]),f=_.useCallback(e=>{Pi(e)&&(o?.removeEventListener(`mouseup`,f),o?.removeEventListener(`mousemove`,d)),Ni(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=Fi(i).clientX,r.current=e,Pi(i)){if(i.target!==i.currentTarget||i.button!==0)return;o?.addEventListener(`mouseup`,f),o?.addEventListener(`mousemove`,d),a(!0)}Ni(i)&&(o?.addEventListener(`touchend`,f),o?.addEventListener(`touchmove`,d),a(!0))},[s,d,f,o]),dragging:i}}var Gh=150,Kh=100;function qh(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=Gh,minWidth:s=Kh,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 Jh(e,t){return e.find(e=>e.columnId===t)}function Yh(e,t){return e[t]}function Xh(e){return e.reduce((e,t)=>e+t.width+t.padding,0)}function Zh(e,t){return Jh(e,t)?.width??0}function Qh(e,t,n,r){let i=Jh(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 $h(e,t){let n=e,r=Xh(n);if(r<t){let e=t-r,i=0;for(;i<n.length&&e>0;){let t=Yh(n,i);if(!t)break;let r=Math.min(t.idealWidth-t.width,e);if(n=Qh(n,t.columnId,`width`,t.width+r),e-=r,i===n.length-1&&e!==0){let t=Yh(n,i);t&&(n=Qh(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=Yh(n,i);if(!t){i--;continue}if(t.width>t.minWidth){let r=Math.min(t.width-t.minWidth,e);e-=r,n=Qh(n,t.columnId,`width`,t.width-r)}i--}}return n}var eg=e=>(t,n)=>{switch(n.type){case`CONTAINER_WIDTH_UPDATED`:return{...t,containerWidth:n.containerWidth,columnWidthState:e?$h(t.columnWidthState,n.containerWidth):t.columnWidthState};case`COLUMNS_UPDATED`:let r=qh(n.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:n.columns,columnWidthState:e?$h(r,t.containerWidth):r};case`COLUMN_SIZING_OPTIONS_UPDATED`:let i=qh(t.columns,t.columnWidthState,n.columnSizingOptions);return{...t,columnSizingOptions:n.columnSizingOptions,columnWidthState:e?$h(i,t.containerWidth):i};case`SET_COLUMN_WIDTH`:let{columnId:a,width:o}=n,{containerWidth:s}=t,c=Jh(t.columnWidthState,a),l=[...t.columnWidthState];return c?(l=Qh(l,a,`width`,o),l=Qh(l,a,`idealWidth`,o),e&&(l=$h(l,s)),{...t,columnWidthState:l}):t}};function tg(e,t,n={}){let{onColumnResize:r,columnSizingOptions:i,autoFitColumns:a=!0}=n,o=_.useMemo(()=>eg(a),[a]),[s,c]=_.useReducer(o,{columns:e,containerWidth:0,columnWidthState:qh(e,void 0,i),columnSizingOptions:i});gi(()=>{c({type:`CONTAINER_WIDTH_UPDATED`,containerWidth:t})},[t]),gi(()=>{c({type:`COLUMNS_UPDATED`,columns:e})},[e]),gi(()=>{c({type:`COLUMN_SIZING_OPTIONS_UPDATED`,columnSizingOptions:i})},[i]);let l=R((e,t)=>{let{width:n}=t,{columnId:i}=t,a=Jh(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=>Jh(s.columnWidthState,e),[s.columnWidthState]),getColumns:_.useCallback(()=>s.columnWidthState,[s.columnWidthState]),getColumnWidth:_.useCallback(e=>Zh(s.columnWidthState,e),[s.columnWidthState]),setColumnWidth:l}}var ng=20,rg=El,ig=1/4;function ag(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=R(e=>{if(!t)return;let n=a.current.getColumnWidth(t),r=e.getModifierState(rg),i=()=>{e.preventDefault(),e.stopPropagation()};switch(e.key){case Ol:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n-(r?ng*ig:ng)});return;case kl:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n+(r?ng*ig:ng)});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 og={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:``}),getTableCellProps:()=>({style:{},columnId:``}),enableKeyboardMode:()=>()=>null};function sg(e){"use no memo";return t=>lg(t,{autoFitColumns:!0,...e})}function cg(e,t){let n=e.width;return{width:n,minWidth:n,maxWidth:n,...t?{pointerEvents:`none`}:{}}}function lg(e,t={}){let{columns:n}=e,{width:r,measureElementRef:i}=Hh(),a=tg(n,r+(t?.containerWidthOffset||0),t),o=Wh(a),{toggleInteractiveMode:s,getKeyboardResizingProps:c}=ag(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(Vh,{onMouseDown:m(e),onTouchStart:m(e),...c(e,t?.width||0)});return t?{style:cg(t,h),aside:r}:{}},[d,n,h,c,m,l]),getTableCellProps:_.useCallback(e=>{let t=d(e);return t?{style:cg(t)}:{}},[d]),enableKeyboardMode:u}}}var ug=e=>e,dg={selection:kh,sort:Nh,getRows:()=>[],getRowId:()=>``,items:[],columns:[],columnSizing_unstable:og,tableRef:_.createRef()};function fg(e,t=[]){let{items:n,getRowId:r,columns:i}=e,a={getRowId:r,items:n,columns:i,getRows:_.useCallback((e=ug)=>n.map((t,n)=>e({item:t,rowId:r?.(t)??n})),[n,r]),selection:kh,sort:Nh,columnSizing_unstable:og,tableRef:_.createRef()};return t.reduce((e,t)=>t(e),a)}var pg=()=>0,mg=()=>null,hg=()=>null;function gg(e){let{columnId:t,renderCell:n=mg,renderHeaderCell:r=hg,compare:i=pg}=e;return{columnId:t,renderCell:n,renderHeaderCell:r,compare:i}}function _g(){let e=xs({axis:`horizontal`}),t=xs({axis:`grid`}),n=Cs({tabBehavior:`limited-trap-focus`}),{findFirstFocusable:r}=Ts(),{targetDocument:i}=Xr(),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`&&ji(t)){var a;(a=r(t))==null||a.focus()}if(n===`row`)return;let o=(()=>{let e=ji(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 Ga({action:U.Escape}));return}(e.key===`ArrowDown`||e.key===`ArrowUp`)&&o&&(t.dispatchEvent(new Ga({action:U.Escape})),t=i.activeElement,t&&t.dispatchEvent(new Wa({key:H[e.key]})))},[i,r]),tableTabsterAttribute:t,tableRowTabsterAttribute:a}}var vg=_.createContext(void 0),yg={size:`medium`,noNativeElements:!1,sortable:!1},bg=vg.Provider,xg=()=>_.useContext(vg)??yg,Sg=(e,t)=>{let{noNativeElements:n,size:r}=xg(),i=e.as??n?`div`:`td`;return{components:{root:i},root:F(Rr(i,{ref:t,role:i===`div`?`cell`:void 0,...e}),{elementType:i}),noNativeElements:n,size:r}},Cg=e=>V(e.root,{}),wg={root:`fui-TableCell`},Tg=P({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;}`]}),Eg=P({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;}`]}),Dg=P({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}]]}),Og=e=>{"use no memo";let t=Dg(),n={table:Tg(),flex:Eg()};return e.root.className=A(wg.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},kg=_.createContext(void 0),Ag=``,jg=kg.Provider,Mg=()=>_.useContext(kg)===Ag,Ng=(e,t)=>{let{noNativeElements:n,size:r}=xg(),i=e.as??n?`div`:`tr`,a=As(),o=Fs(),s=Mg();return{components:{root:i},root:F(Rr(i,{ref:xi(t,a,o),role:i===`div`?`row`:void 0,...e}),{elementType:i}),size:r,noNativeElements:n,appearance:e.appearance??`none`,isHeaderRow:s}},Pg={root:`fui-TableSelectionCell`,checkboxIndicator:`fui-TableSelectionCell__checkboxIndicator`,radioIndicator:`fui-TableSelectionCell__radioIndicator`},Fg=P({root:{mc9l5x:`f15pt5es`,a9b677:`fksc0bp`}},{d:[`.f15pt5es{display:table-cell;}`,`.fksc0bp{width:44px;}`]}),Ig=P({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;}`]}),Lg=P({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;}`]}),Rg=e=>{"use no memo";let t=Lg(),n={table:Fg(),flex:Ig()};return e.root.className=A(Pg.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=A(Pg.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=A(Pg.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},zg={root:`fui-TableRow`},Bg=P({root:{mc9l5x:`f1u0rzck`}},{d:[`.f1u0rzck{display:table-row;}`]}),Vg=P({root:{mc9l5x:`f22iagw`,Bt984gj:`f122n59`}},{d:[`.f22iagw{display:flex;}`,`.f122n59{align-items:center;}`]}),Hg=P({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)`}]]}),Ug=e=>{"use no memo";let t=Hg(),n={table:Bg(),flex:Vg()};return e.root.className=A(zg.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},Wg=(e,t)=>{let{noNativeElements:n}=xg(),r=e.as??n?`div`:`tbody`;return{components:{root:r},root:F(Rr(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},Gg=P({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),Kg=P({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),qg=`fui-TableBody`,Jg=e=>{"use no memo";let t={table:Gg(),flex:Kg()};return e.root.className=A(qg,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},Yg=(e,t)=>{let n=e.as??e.noNativeElements?`div`:`table`;return{components:{root:n},root:F(Rr(n,{ref:t,role:n===`div`?`table`:void 0,...e}),{elementType:n}),size:e.size??`medium`,noNativeElements:e.noNativeElements??!1,sortable:e.sortable??!1}},Xg=(e,t)=>V(bg,{value:t.table,children:V(e.root,{})}),Zg=`fui-Table`,Qg=P({root:{mc9l5x:`f1w4nmp0`,ha4doy:`fmrv4ls`,a9b677:`fly5x3f`,B73mfa3:`f14m3nip`}},{d:[`.f1w4nmp0{display:table;}`,`.fmrv4ls{vertical-align:middle;}`,`.fly5x3f{width:100%;}`,`.f14m3nip{table-layout:fixed;}`]}),$g=P({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),e_=P({root:{po53p8:`fgkb47j`,De3pzq:`fhovq9v`}},{d:[`.fgkb47j{border-collapse:collapse;}`,`.fhovq9v{background-color:var(--colorSubtleBackground);}`]}),t_=e=>{"use no memo";let t=e_(),n={table:Qg(),flex:$g()};return e.root.className=A(Zg,t.root,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e};function n_(e){let{size:t,noNativeElements:n,sortable:r}=e;return{table:_.useMemo(()=>({noNativeElements:n,size:t,sortable:r}),[n,t,r])}}var r_=(e,t)=>{let{noNativeElements:n}=xg(),r=e.as??n?`div`:`thead`;return{components:{root:r},root:F(Rr(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},i_=e=>V(jg,{value:``,children:V(e.root,{})}),a_=`fui-TableHeader`,o_=P({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),s_=P({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),c_=e=>{"use no memo";let t={table:s_(),flex:o_()};return e.root.className=A(a_,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},l_={ascending:_.createElement(eu,{fontSize:12}),descending:_.createElement(Ql,{fontSize:12})},u_=(e,t)=>{let{noNativeElements:n,sortable:r}=xg(),{sortable:i=r}=e,a=e.as??n?`div`:`th`,o=F(e.button,{elementType:`div`,defaultProps:{as:`div`}}),s=jl(o.as,o);return{components:{root:a,button:`div`,sortIcon:`span`,aside:`span`},root:F(Rr(a,{ref:xi(t,Fs()),role:a===`div`?`columnheader`:void 0,"aria-sort":i?e.sortDirection??`none`:void 0,...e}),{elementType:a}),aside:ir(e.aside,{elementType:`span`}),sortIcon:ir(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?l_[e.sortDirection]:void 0},elementType:`span`}),button:i?s:o,sortable:i,noNativeElements:n}},d_=e=>Qi(e.root,{children:[Qi(e.button,{children:[e.root.children,e.sortIcon&&V(e.sortIcon,{})]}),e.aside&&V(e.aside,{})]}),f_={root:`fui-TableHeaderCell`,button:`fui-TableHeaderCell__button`,sortIcon:`fui-TableHeaderCell__sortIcon`,aside:`fui-TableHeaderCell__aside`},p_=P({root:{mc9l5x:`f15pt5es`,ha4doy:`fmrv4ls`}},{d:[`.f15pt5es{display:table-cell;}`,`.fmrv4ls{vertical-align:middle;}`]}),m_=P({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;}`]}),h_=P({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);}`]}),g_=e=>{"use no memo";let t=h_(),n={table:p_(),flex:m_()};return e.root.className=A(f_.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e.button.className=A(f_.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=A(f_.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=A(f_.aside,t.resizeHandle,e.aside.className)),e},__=_.createContext(void 0),v_=()=>_.useContext(__)??``,y_=__.Provider,b_=_.createContext(void 0),x_=()=>_.useContext(b_)??``,S_=b_.Provider,C_=(e,t)=>{let n=Sg(e,xi(t,Fs())),{noNativeElements:r}=xg(),{type:i=`checkbox`,checked:a=!1,subtle:o=!1,hidden:s=!1,invisible:c=!1}=e;return{...n,components:{...n.components,checkboxIndicator:Qp,radioIndicator:ah},checkboxIndicator:ir(e.checkboxIndicator,{renderByDefault:i===`checkbox`,defaultProps:{checked:e.checked},elementType:Qp}),radioIndicator:ir(e.radioIndicator,{renderByDefault:i===`radio`,defaultProps:{checked:!!a,input:{name:bi(`table-selection-radio`)}},elementType:ah}),type:i,checked:a,noNativeElements:r,subtle:o,hidden:c||s}},w_=e=>Qi(e.root,{children:[e.type===`checkbox`&&e.checkboxIndicator&&V(e.checkboxIndicator,{}),e.type===`radio`&&e.radioIndicator&&V(e.radioIndicator,{})]}),T_=Cl(void 0),E_={...dg,subtleSelection:!1,selectableRows:!1,selectionAppearance:`brand`,focusMode:`none`,compositeRowTabsterAttribute:{}},D_=T_.Provider,O_=e=>wl(T_,(t=E_)=>e(t)),k_=(e,t)=>{let{focusMode:n=`cell`}=e,r=v_(),i=O_(e=>(e.focusMode===`cell`||e.focusMode===`composite`)&&n!==`none`),a=O_(e=>e.resizableColumns),o=O_(e=>e.columnSizing_unstable.getTableCellProps),s=Cs({tabBehavior:`limited-trap-focus`});return Sg({as:`div`,role:`gridcell`,...n===`group`&&s,tabIndex:i?0:void 0,...a?o(r):{},...e},t)},A_=e=>Cg(e),j_={root:`fui-DataGridCell`},M_=e=>{"use no memo";return Og(e),e.root.className=A(j_.root,e.root.className),e},N_=_.forwardRef((e,t)=>{let n=k_(e,t);return M_(n),ri(`useDataGridCellStyles_unstable`)(n),A_(n)});N_.displayName=`DataGridCell`;var P_=(e,t)=>{let n=Mg(),r=x_(),i=O_(e=>e.subtleSelection),a=O_(e=>n&&e.selection.selectionMode===`multiselect`?e.selection.allRowsSelected?!0:e.selection.someRowsSelected?`mixed`:!1:e.selection.isRowSelected(r)),o=O_(e=>e.selection.toggleAllRows),s=O_(e=>e.selection.selectionMode===`multiselect`?`checkbox`:`radio`),c=R(t=>{var r;n&&o(t),(r=e.onClick)==null||r.call(e,t)});return C_({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)},F_=e=>w_(e),I_={root:`fui-DataGridSelectionCell`,checkboxIndicator:`fui-DataGridSelectionCell__checkboxIndicator`,radioIndicator:`fui-DataGridSelectionCell__radioIndicator`},L_=e=>{"use no memo";return Rg(e),e.root.className=A(I_.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=A(I_.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=A(I_.radioIndicator,e.radioIndicator.className)),e},R_=_.forwardRef((e,t)=>{let n=P_(e,t);return L_(n),ri(`useDataGridSelectionCellStyles_unstable`)(n),F_(n)});R_.displayName=`DataGridSelectionCell`;var z_=(e,t)=>{let n=x_(),r=Mg(),i=O_(e=>e.columns),a=O_(e=>e.selectableRows),o=O_(e=>e.selection.isRowSelected(n)),s=O_(e=>e.focusMode),c=O_(e=>e.compositeRowTabsterAttribute),l=s===`row_unstable`||s===`composite`,u=O_(e=>!r&&a&&e.selection.isRowSelected(n)?e.selectionAppearance:`none`),d=O_(e=>e.selection.toggleRow),f=R(t=>{var i;a&&!r&&d(t,n),(i=e.onClick)==null||i.call(e,t)}),p=R(t=>{var i;a&&!r&&t.key===` `&&!Mi(t.target)&&(t.preventDefault(),d(t,n)),(i=e.onKeyDown)==null||i.call(e,t)}),m=Ng({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:R_},selectionCell:ir(e.selectionCell,{renderByDefault:a,elementType:R_}),renderCell:e.children,columnDefs:i,dataGridContextValue:B_()}};function B_(){let e=_.useRef(E_);return O_(t=>(e.current=t,null)),e.current}var V_=e=>Qi(e.root,{children:[e.selectionCell&&V(e.selectionCell,{}),e.columnDefs.map(t=>V(y_,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),H_={root:`fui-DataGridRow`,selectionCell:`fui-DataGridRow__selectionCell`},U_=P({subtleSelection:{Bconypa:`f1jazu75`,ff6mpl:`fw60kww`}},{d:[`.f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}`],h:[`.fw60kww:hover .fui-TableSelectionCell{opacity:1;}`]}),W_=e=>{"use no memo";let t=O_(e=>e.subtleSelection),n=U_();return Ug(e),e.root.className=A(H_.root,e.root.className,t&&n.subtleSelection),e.selectionCell&&(e.selectionCell.className=A(H_.selectionCell,e.selectionCell.className)),e},G_=_.forwardRef((e,t)=>{let n=z_(e,t);return W_(n),ri(`useDataGridRowStyles_unstable`)(n),V_(n)});G_.displayName=`DataGridRow`;var K_=(e,t)=>{let{sortable:n}=xg(),r=O_(e=>e.getRows),i=O_(e=>e.sort.sort),a=n?i(r()):r();return{...Wg({...e,children:null,as:`div`},t),rows:a,renderRow:e.children}},q_=e=>V(e.root,{children:e.rows.map(t=>V(S_,{value:t.rowId,children:e.renderRow(t)},t.rowId))}),J_={root:`fui-DataGridBody`},Y_=e=>{"use no memo";return Jg(e),e.root.className=A(J_.root,e.root.className),e},X_=_.forwardRef((e,t)=>{let n=K_(e,t);return Y_(n),ri(`useDataGridBodyStyles_unstable`)(n),q_(n)});X_.displayName=`DataGridBody`;var Z_=(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}=_g(),E=fg({items:n,columns:r,getRowId:m},[Ph({defaultSortState:c,sortState:l,onSortChange:o}),Ah({defaultSelectedItems:d,selectedItems:u,onSelectionChange:s,selectionMode:a??`multiselect`}),sg({onColumnResize:v,columnSizingOptions:g,containerWidthOffset:x,autoFitColumns:b.autoFitColumns??!0})]),D=_.useRef(null),{findFirstFocusable:ee,findLastFocusable:te}=Ts(),O=R(t=>{var n;if((n=e.onKeyDown)==null||n.call(e,t),i===`composite`&&C(t),!(!D.current||!t.ctrlKey||t.defaultPrevented)){if(t.key===`Home`){let e=D.current.querySelector(`[role="row"]`);if(e){var r;(r=ee(e))==null||r.focus()}}if(t.key===`End`){let e=D.current.querySelectorAll(`[role="row"]`);if(e.length){var a;(a=te(e.item(e.length-1)))==null||a.focus()}}}});return{...Yg({role:`grid`,as:`div`,noNativeElements:!0,...i===`cell`&&S,...i===`composite`&&w,...e,onKeyDown:O,...h?E.columnSizing_unstable.getTableProps(e):{}},xi(t,E.tableRef,D)),focusMode:i,tableState:E,selectableRows:!!a,subtleSelection:f,selectionAppearance:p,resizableColumns:h,compositeRowTabsterAttribute:T}},Q_=(e,t)=>_.createElement(D_,{value:t.dataGrid},Xg(e,t)),$_={root:`fui-DataGrid`},ev=e=>{"use no memo";return t_(e),e.root.className=A($_.root,e.root.className),e};function tv(e){let t=n_(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 nv=_.forwardRef((e,t)=>{let n=Z_(e,t);return ev(n),ri(`useDataGridStyles_unstable`)(n),Q_(n,tv(n))});nv.displayName=`DataGrid`;var rv=(e,t)=>r_({...e,as:`div`},t),iv=e=>i_(e),av={root:`fui-DataGridHeader`},ov=e=>{"use no memo";return c_(e),e.root.className=A(av.root,e.root.className),e},sv=_.forwardRef((e,t)=>{let n=rv(e,t);return ov(n),ri(`useDataGridHeaderStyles_unstable`)(n),iv(n)});sv.displayName=`DataGridHeader`;function cv(e){return e.compare.length>0}var lv=(e,t)=>{let n=v_(),{sortable:r}=xg(),i=O_(e=>e.sort.toggleColumnSort),a=O_(e=>{let t=!!e.columns.find(e=>e.columnId===n&&cv(e));return r?t:!1}),o=O_(e=>a?e.sort.getSortDirection(n):void 0),s=O_(e=>e.resizableColumns),c=O_(e=>e.columnSizing_unstable.getTableHeaderCellProps),{focusMode:l=a?`none`:`cell`}=e,u=Cs({tabBehavior:`limited-trap-focus`}),d=R(t=>{var r;a&&i(t,n),(r=e.onClick)==null||r.call(e,t)});return u_({sortable:a,sortDirection:o,as:`div`,tabIndex:l===`none`?void 0:0,...l===`group`&&u,...s?c(n):{},...e,onClick:d},t)},uv=e=>d_(e),dv={root:`fui-DataGridHeaderCell`,button:`fui-DataGridHeaderCell__button`,sortIcon:`fui-DataGridHeaderCell__sortIcon`,aside:`fui-DataGridHeaderCell__aside`},fv=e=>{"use no memo";return g_(e),e.root.className=A(dv.root,e.root.className),e.button&&(e.button.className=A(dv.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=A(dv.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=A(dv.aside,e.aside.className)),e},pv=_.forwardRef((e,t)=>{let n=lv(e,t);return fv(n),ri(`useDataGridHeaderCellStyles_unstable`)(n),uv(n)});pv.displayName=`DataGridHeaderCell`;var mv=(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]=ui({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=ar(i),x=R(t=>{var n,r;if(sr(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=Lm({type:`search`,disabled:r,size:n,value:p,root:F({...b,ref:xi(b?.ref,d),onFocus:Ai(b?.onFocus,v),onBlur:Ai(b?.onBlur,y)},{elementType:`span`}),contentBefore:ir(a,{renderByDefault:!0,defaultProps:{children:_.createElement(cu,null)},elementType:`span`}),contentAfter:ir(s,{renderByDefault:!0,elementType:`span`}),...u,onChange:R(t=>{var n;let r=t.target.value;(n=e.onChange)==null||n.call(e,t,{value:r}),m(r)})},xi(f,t)),C={...S,components:{...S.components,dismiss:`span`},dismiss:ir(o,{defaultProps:{children:_.createElement(au,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},hv=e=>Qi(e.root,{children:[e.contentBefore&&V(e.contentBefore,{}),V(e.input,{}),e.contentAfter&&Qi(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&V(e.dismiss,{})]})]}),gv={root:`fui-SearchBox`,dismiss:`fui-SearchBox__dismiss`,contentAfter:`fui-SearchBox__contentAfter`,contentBefore:`fui-SearchBox__contentBefore`,input:`fui-SearchBox__input`},_v=P({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;}`]}),vv=P({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);}`]}),yv=P({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}]]}),bv=$n(`r1pvzcuu`,null,[`.r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}`,`.r1pvzcuu>svg{font-size:20px;}`]),xv=P({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;}`]}),Sv=e=>{"use no memo";let{disabled:t,focused:n,size:r}=e,i=_v(),a=vv(),o=yv(),s=bv(),c=xv();return e.root.className=A(gv.root,i[r],!n&&i.unfocusedNoContentAfter,e.root.className),e.input.className=A(gv.input,i.input,!n&&a[r],e.input.className),e.dismiss&&(e.dismiss.className=A(gv.dismiss,s,t&&c.disabled,c[r],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=A(gv.contentBefore,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=A(gv.contentAfter,o.contentAfter,!n&&o.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=A(e.dismiss.className,o.contentAfter)),Gm(e),e},Cv=_.forwardRef((e,t)=>{let n=mv(e,t);return Sv(n),ri(`useSearchBoxStyles_unstable`)(n),hv(n)});Cv.displayName=`SearchBox`;var wv=e=>{let t=bi(`solution-dropdown`),n=bi(`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=Qn({root:{display:`flex`,gap:`12px`,alignItems:`flex-end`,flexWrap:`wrap`},growSection:{display:`flex`,gap:`12px`,alignItems:`flex-end`,flexWrap:`wrap`,flex:1,minWidth:0},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`},searchSection:{display:`flex`,gap:`12px`,alignItems:`flex-end`,flexWrap:`wrap`},actions:{display:`flex`,gap:`8px`,alignItems:`center`,marginLeft:`auto`,justifyContent:`flex-end`,flexWrap:`wrap`}})();return(0,z.jsxs)(`div`,{className:s.root,children:[(0,z.jsxs)(`div`,{className:s.growSection,children:[(0,z.jsxs)(`div`,{className:s.field,children:[(0,z.jsx)(`label`,{htmlFor:t,children:`Solution`}),(0,z.jsx)(Im,{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,z.jsx)(xm,{value:e.solutionid,text:t,children:(0,z.jsx)(`span`,{className:s.optionLabel,children:t})},e.solutionid)})})]}),(0,z.jsxs)(`div`,{className:s.searchSection,children:[(0,z.jsxs)(`div`,{className:s.field,children:[(0,z.jsx)(`label`,{htmlFor:n,children:`Filter Entities`}),(0,z.jsx)(Cv,{id:n,placeholder:`Search by display name or logical name...`,value:e.textFilter,onChange:o,className:s.searchInput})]}),(0,z.jsx)(Ap,{appearance:`primary`,icon:(0,z.jsx)(su,{}),onClick:e.onCountRecords,disabled:e.isCountingRecords,children:e.isCountingRecords?`Counting...`:`Count Records`})]})]}),(0,z.jsxs)(`div`,{className:s.actions,children:[(0,z.jsx)(Ap,{icon:(0,z.jsx)(iu,{}),onClick:e.onCopyCsv,disabled:!e.hasEntities,children:`Copy CSV`}),(0,z.jsx)(Ap,{icon:(0,z.jsx)(ou,{}),onClick:e.onCopyMarkdown,disabled:!e.hasEntities,children:`Copy Markdown`}),(0,z.jsx)(Ap,{icon:(0,z.jsx)($l,{}),onClick:e.onExportCsv,disabled:!e.hasEntities,children:`Export CSV`})]})]})},Tv=Qn({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%`}}),Ev=e=>{let t=Tv(),n=[gg({columnId:`displayname`,compare:(e,t)=>e.displayname.localeCompare(t.displayname),renderHeaderCell:()=>`Display Name`,renderCell:e=>(0,z.jsx)(`span`,{title:e.displayname,className:t.cellStyles,children:e.displayname})}),gg({columnId:`logicalname`,compare:(e,t)=>e.logicalname.localeCompare(t.logicalname),renderHeaderCell:()=>`Logical Name`,renderCell:e=>(0,z.jsx)(`span`,{title:e.logicalname,className:t.cellStyles,children:e.logicalname})}),gg({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,z.jsxs)(Im,{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,z.jsx)(xm,{value:`All`,children:`All`},`all`),n.views?.map(e=>(0,z.jsx)(xm,{value:e.savedqueryid,children:e.name},e.savedqueryid))]})}}),gg({columnId:`recordCount`,compare:(e,t)=>(e.recordCount??-1)-(t.recordCount??-1),renderHeaderCell:()=>(0,z.jsx)(`div`,{style:{textAlign:`right`},children:`Record Count`}),renderCell:e=>e.isLoading?(0,z.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,alignItems:`center`,gap:`8px`},children:[(0,z.jsx)(yh,{size:`tiny`}),(0,z.jsx)(`span`,{children:`Progressing...`})]}):(0,z.jsx)(`div`,{style:{textAlign:`right`},children:e.recordCount===void 0?`-`:e.recordCount.toLocaleString()})})];return(0,z.jsx)(`div`,{className:t.scrollWrapper,children:(0,z.jsxs)(nv,{items:e.items,columns:n,sortable:!0,sortState:e.sortState,onSortChange:e.onSortChange,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,z.jsx)(sv,{className:t.stickyHeader,children:(0,z.jsx)(G_,{children:({renderHeaderCell:e})=>(0,z.jsx)(pv,{children:e()})})}),(0,z.jsx)(X_,{children:({item:e,rowId:t})=>(0,z.jsx)(G_,{children:({renderCell:t})=>(0,z.jsx)(N_,{children:t(e)})},t)})]})})},Dv=new Set([`exchangesyncidmapping`,`fabricaiskill`,`roleeditorlayout`,`userquery`,`userqueryvisualization`,`msdyn_agentcopilotsetting`,`msdyn_copilotsummarizationsetting`,`msdyn_servicecopilotplugin`,`msdyn_servicecopilotpluginaction`,`msdyn_servicecopilotpluginrole`].map(e=>e.toLowerCase().trim())),Ov=e=>Dv.has(e.toLowerCase().trim()),kv=({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)({sortColumn:`displayname`,sortDirection:`ascending`}),[v,S]=(0,_.useState)(new Map),E=Qn({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=>{S(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 D=(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 D(`Error`,`Failed to load solutions: ${e.message}`,`error`)}finally{f(!1)}},[D]),te=(0,_.useCallback)(async()=>{try{u(!0);let e=await x(a),t=e.filter(e=>!Ov(e.logicalname)),n=e.length-t.length;n>0&&y.info(`Ignored ${n} blacklisted entities while loading`);let r=t.map(e=>{let t=v.get(e.logicalname)||[];return{...e,views:t}});i(r),y.info(`Fetched ${r.length} entities with views`);let o=a?` for selected solution`:``;await D(`Entities Loaded`,`Successfully loaded ${r.length} entities${o}`,`success`)}catch(e){y.error(`Error querying entities: ${e.message}`),await D(`Error`,`Failed to load entities: ${e.message}`,`error`)}finally{u(!1)}},[a,D]),O=_.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]),ne=_.useMemo(()=>[...O].sort((e,t)=>{let n=0;switch(h.sortColumn){case`logicalname`:n=e.logicalname.localeCompare(t.logicalname);break;case`recordCount`:n=(e.recordCount??-1)-(t.recordCount??-1);break;case`views`:n=0;break;default:n=e.displayname.localeCompare(t.displayname);break}return h.sortDirection===`descending`?-n:n}),[O,h]),re=(0,_.useCallback)(e=>e.views?.find(t=>t.savedqueryid===e.selectedViewId)?.name||`All`,[]),ie=(0,_.useCallback)(e=>e.isLoading?`Progressing...`:e.recordCount===void 0?`-`:e.recordCount.toString(),[]),ae=(0,_.useCallback)(()=>ne.map(e=>({displayName:e.displayname,logicalName:e.logicalname,view:re(e),recordCount:ie(e)})),[ie,re,ne]),oe=(0,_.useCallback)(e=>/[",\n]/.test(e)?`"${e.replace(/"/g,`""`)}"`:e,[]),se=(0,_.useCallback)(()=>{let e=ae(),t=[`Display Name`,`Logical Name`,`View`,`Record Count`],n=e.map(e=>[e.displayName,e.logicalName,e.view,e.recordCount].map(e=>oe(e)).join(`,`));return[t.join(`,`),...n].join(`
10
+ `)},[oe,ae]),ce=(0,_.useCallback)(e=>e.replace(/\|/g,`\\|`).replace(/\n/g,` `),[]),le=(0,_.useCallback)(()=>[`| Display Name | Logical Name | View | Record Count |`,`| --- | --- | --- | ---: |`,...ae().map(e=>`| ${ce(e.displayName)} | ${ce(e.logicalName)} | ${ce(e.view)} | ${ce(e.recordCount)} |`)].join(`
11
+ `),[ce,ae]),k=(0,_.useCallback)(async(e,t)=>{try{await navigator.clipboard.writeText(e),y.info(`${t} copied to clipboard`),await D(`${t} Copied`,`Copied ${ne.length} rows to the clipboard.`,`success`)}catch(e){y.error(`Error copying ${t.toLowerCase()}: ${e.message}`),await D(`Error`,`Failed to copy ${t.toLowerCase()}: ${e.message}`,`error`)}},[D,ne.length]),ue=(0,_.useCallback)(async()=>{try{let e=se(),t=new Date().toISOString().replace(/[:.]/g,`-`),n=await window.toolboxAPI.fileSystem.saveFile(`fast-record-counter-${t}.csv`,e,[{name:`CSV`,extensions:[`csv`]}]);if(!n){y.info(`CSV export canceled by user`);return}y.info(`Exported ${ne.length} rows to CSV: ${n}`),await D(`CSV Exported`,`Exported ${ne.length} rows to a CSV file.`,`success`)}catch(e){y.error(`Error exporting CSV: ${e.message}`),await D(`Error`,`Failed to export CSV: ${e.message}`,`error`)}},[se,D,ne.length]),A=(0,_.useCallback)(async()=>{await k(le(),`Markdown`)},[le,k]),de=(0,_.useCallback)(async()=>{await k(se(),`CSV`)},[se,k]),fe=(0,_.useCallback)(async()=>{try{m(!0),y.info(`Starting record count for all entities...`);let e=O.filter(e=>!Ov(e.logicalname)),t=O.length-e.length;if(t>0&&y.info(`Skipped ${t} blacklisted entities during counting`),e.length===0){await D(`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 D(`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 D(`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 D(`Error`,`Failed to count records: ${e.message}`,`error`)}}finally{m(!1)}},[O,D]),pe=(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,z.jsx)(`div`,{className:E.overviewRoot,children:l||d?(0,z.jsx)(`div`,{className:E.loadingContainer,children:(0,z.jsx)(yh,{label:d?`Loading solutions...`:`Loading entities...`})}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`div`,{className:E.filterSection,children:(0,z.jsx)(wv,{solutions:t,selectedSolutionId:a,textFilter:s,onSolutionFilterChanged:e=>{y.info(`Solution filter changed to: ${e||`All`}`),o(e)},onTextFilterChanged:e=>{c(e)},onCountRecords:fe,onExportCsv:ue,onCopyMarkdown:A,onCopyCsv:de,isCountingRecords:p,hasEntities:O.length>0})}),r.length>0&&(0,z.jsx)(`div`,{className:E.dataGridSection,children:(0,z.jsx)(Ev,{items:ne,onViewChange:pe,sortState:h,onSortChange:(e,t)=>g(t)})})]})})};function Av(){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 jv(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 Mv=``+new URL(`fast-record-counter_small-CcFp3TaT.png`,document.currentScript&&document.currentScript.tagName.toUpperCase()===`SCRIPT`&&document.currentScript.src||document.baseURI).href,Nv=Qn({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 Pv(){let{connection:e,refreshConnection:t}=Av(),[n,r]=(0,_.useState)(al),i=Nv(),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 jv(a),(0,_.useEffect)(()=>{(async()=>{await o(),y.info(`Initialized`)})()},[]),(0,z.jsx)(bl,{theme:n,children:(0,z.jsxs)(`div`,{className:i.container,children:[(0,z.jsx)(`div`,{className:i.header,children:(0,z.jsxs)(`div`,{className:i.headerTitle,children:[(0,z.jsx)(`img`,{src:Mv,alt:`Fast Record Counter Icon`,className:i.headerIcon}),(0,z.jsx)(Dh,{children:`Fast Record Counter`}),(0,z.jsx)(Th,{className:i.subtitle,children:`Count records across all entities in your environment`})]})}),(0,z.jsx)(`div`,{className:i.content,children:(0,z.jsx)(kv,{connection:e})})]})})}var Fv=document.getElementById(`root`);Fv&&!Fv.hasAttribute(`data-reactroot-initialized`)?(Fv.setAttribute(`data-reactroot-initialized`,`true`),(0,v.createRoot)(Fv).render((0,z.jsx)(_.StrictMode,{children:(0,z.jsx)(Pv,{})}))):Fv||console.error(`Root element not found. Make sure the HTML contains <div id="root"></div>`)})();