@ostack.tech/ui-exhibit 1.3.0-beta.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +5 -1
- package/dist/ostack-ui-exhibit.js +73 -43
- package/dist/ostack-ui-exhibit.js.map +1 -1
- package/dist/webapp/assets/index-CMsINKJZ.css +1 -0
- package/dist/webapp/assets/index-DLT-hjA2.js +1136 -0
- package/dist/webapp/index.html +2 -2
- package/package.json +5 -11
- package/types/sections/PaginationSection.d.ts +1 -0
- package/dist/webapp/assets/index-BLHQXNbF.js +0 -1136
- package/dist/webapp/assets/index-ESQuhIcZ.css +0 -1
|
@@ -0,0 +1,1136 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u=o((e=>{var t=Symbol.for(`react.transitional.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.consumer`),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.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function N(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function P(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`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,P(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),P(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+M(a,u),c+=P(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+M(a,u++),c+=P(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return P(N(e),r,i,a,o);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 F(e,t,n){if(e==null)return e;var r=[],i=0;return P(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function I(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var L=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function R(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,L)}catch(e){L(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function z(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else R(z.bind(null,e))}var B={map:F,forEach:function(e,t,n){F(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return F(e,function(){t++}),t},toArray:function(e){return F(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=B,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=z,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:I}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=R,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.1`})),d=o(((e,t)=>{t.exports=u()})),f=o((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(e.unstable_now=void 0,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=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(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 x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(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_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`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},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_requestPaint=function(){g=!0},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?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,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=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`),o=Symbol.for(`react.recoverable`),s=Symbol.for(`react.optimistic_key`);function c(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:r===s?s:``+r,children:e,containerInfo:t,implementation:n}}var l=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:o,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return c(e,t,null,r)},e.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version=`19.3.1`})),h=o(((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=o((e=>{var t=p(),n=d(),r=h();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function s(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 c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}function m(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&m(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function g(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function _(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function v(e){var t=[null,null],n=g(e);return n===null||y(t,e,n.child,{foundSelf:!1}),t}function y(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&y(e,t,n.child,r))return!0;n=n.sibling}return!1}function b(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var x=null,S=null;function C(e,t,n){return e===n||e===t&&(x=e,!0)}function w(e,t,n){return e===n?(S=e,!1):e===t&&(S!==null&&(x=e),!0)}function T(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function E(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var D=Object.assign,O=Symbol.for(`react.element`),k=Symbol.for(`react.transitional.element`),A=Symbol.for(`react.portal`),j=Symbol.for(`react.fragment`),M=Symbol.for(`react.strict_mode`),N=Symbol.for(`react.profiler`),P=Symbol.for(`react.consumer`),F=Symbol.for(`react.context`),I=Symbol.for(`react.forward_ref`),L=Symbol.for(`react.suspense`),R=Symbol.for(`react.suspense_list`),z=Symbol.for(`react.memo`),B=Symbol.for(`react.lazy`),V=Symbol.for(`react.activity`),H=Symbol.for(`react.legacy_hidden`),ee=Symbol.for(`react.memo_cache_sentinel`),U=Symbol.for(`react.view_transition`),W=Symbol.for(`react.recoverable`),G=Symbol.iterator;function K(e){return typeof e!=`object`||!e?null:(e=G&&e[G]||e[`@@iterator`],typeof e==`function`?e:null)}var q=Symbol.for(`react.client.reference`);function J(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===q?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case j:return`Fragment`;case N:return`Profiler`;case M:return`StrictMode`;case L:return`Suspense`;case R:return`SuspenseList`;case V:return`Activity`;case U:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case A:return`Portal`;case F:return e.displayName||`Context`;case P:return(e._context.displayName||`Context`)+`.Consumer`;case I:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case z:return t=e.displayName||null,t===null?J(e.type)||`Memo`:t;case B:t=e._payload,e=e._init;try{return J(e(t))}catch{}}return null}var te=Array.isArray,Y=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},re=[],ie=-1;function ae(e){return{current:e}}function oe(e){0>ie||(e.current=re[ie],re[ie]=null,ie--)}function se(e,t){ie++,re[ie]=e.current,e.current=t}var ce=ae(null),le=ae(null),ue=ae(null),Z=ae(null);function de(e,t){switch(se(ue,t),se(le,e),se(ce,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?up(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=up(t),e=dp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}oe(ce),se(ce,e)}function fe(){oe(ce),oe(le),oe(ue)}function pe(e){var t=e.memoizedState;t!==null&&(sh._currentValue=t.memoizedState,se(Z,e)),t=ce.current;var n=dp(t,e.type);t!==n&&(se(le,e),se(ce,n))}function me(e){le.current===e&&(oe(ce),oe(le)),Z.current===e&&(oe(Z),sh._currentValue=ne)}var he,ge;function _e(e){if(he===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);he=t&&t[1]||``,ge=-1<e.stack.indexOf(`
|
|
2
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
3
|
+
`+he+e+ge}var ve=!1;function ye(e,t){if(!e||ve)return``;ve=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
4
|
+
`),l=s.split(`
|
|
5
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
6
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{ve=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?_e(n):``}function be(e,t){switch(e.tag){case 26:case 27:case 5:return _e(e.type);case 16:return _e(`Lazy`);case 13:return e.child!==t&&t!==null?_e(`Suspense Fallback`):_e(`Suspense`);case 19:return _e(`SuspenseList`);case 0:case 15:return ye(e.type,!1);case 11:return ye(e.type.render,!1);case 1:return ye(e.type,!0);case 31:return _e(`Activity`);case 30:return _e(`ViewTransition`);default:return``}}function xe(e){try{var t=``,n=null;do t+=be(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
7
|
+
Error generating stack: `+e.message+`
|
|
8
|
+
`+e.stack}}var Se=Object.prototype.hasOwnProperty,Ce=t.unstable_scheduleCallback,we=t.unstable_cancelCallback,Te=t.unstable_shouldYield,Ee=t.unstable_requestPaint,De=t.unstable_now,Oe=t.unstable_getCurrentPriorityLevel,ke=t.unstable_ImmediatePriority,Ae=t.unstable_UserBlockingPriority,je=t.unstable_NormalPriority,Me=t.unstable_LowPriority,Ne=t.unstable_IdlePriority,Pe=t.log,Fe=t.unstable_setDisableYieldValue,Ie=null,Le=null;function Re(e){if(typeof Pe==`function`&&Fe(e),Le&&typeof Le.setStrictMode==`function`)try{Le.setStrictMode(Ie,e)}catch{}}var ze=Math.clz32?Math.clz32:He,Be=Math.log,Ve=Math.LN2;function He(e){return e>>>=0,e===0?32:31-(Be(e)/Ve|0)|0}var Ue=256,We=262144,Ge=4194304;function Ke(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function qe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ke(n))):i=Ke(o):i=Ke(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ke(n))):i=Ke(o)):i=Ke(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Je(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ye(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-ze(n),i=1<<r;t|=e[r],n&=~i}return t}function Xe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ze(){var e=Ge;return Ge<<=1,!(Ge&62914560)&&(Ge=4194304),e}function Qe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $e(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function et(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-ze(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&tt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function tt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ze(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function nt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ze(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function rt(e,t){var n=t&-t;return n=n&42?1:it(n),(n&(e.suspendedLanes|t))===0?n:0}function it(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function at(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ot(){var e=X.p;return e===0?(e=window.event,e===void 0?32:Ch(e.type)):e}function st(e,t){var n=X.p;try{return X.p=e,t()}finally{X.p=n}}var ct=Math.random().toString(36).slice(2),lt=`__reactFiber$`+ct,ut=`__reactProps$`+ct,dt=`__reactContainer$`+ct,ft=`__reactEvents$`+ct,pt=`__reactListeners$`+ct,mt=`__reactHandles$`+ct,ht=`__reactResources$`+ct,gt=`__reactMarker$`+ct,_t=`__reactLoad$`+ct;function vt(e){delete e[lt],delete e[ut],delete e[pt],delete e[mt]}function yt(e){var t;if(t=e[lt])return t;for(var n=e.parentNode;n;){if(t=n[dt]||n[lt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=fm(e);e!==null;){if(n=e[lt])return n;e=fm(e)}return t}e=n,n=e.parentNode}return null}function bt(e){if(e=e[lt]||e[dt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function xt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function St(e){var t=e[ht];return t||=e[ht]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Ct(e){e[gt]=!0}function wt(e){e[_t]=void 0}var Tt=new Set,Et={};function Dt(e,t){Ot(e,t),Ot(e+`Capture`,t)}function Ot(e,t){for(Et[e]=t,e=0;e<t.length;e++)Tt.add(t[e])}var kt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),At={},jt={};function Mt(e){return Se.call(jt,e)?!0:Se.call(At,e)?!1:kt.test(e)?jt[e]=!0:(At[e]=!0,!1)}var Nt=!1;function Pt(){var e=Nt;return Nt=!1,e}function Ft(e,t,n){if(Mt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function It(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function Lt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function Rt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function zt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Bt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vt(e){if(!e._valueTracker){var t=zt(e)?`checked`:`value`;e._valueTracker=Bt(e,t,``+e[t])}}function Ht(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=zt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var Ut=/[\n"\\]/g;function Wt(e){return e.replace(Ut,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Gt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Rt(t)):e.value!==``+Rt(t)&&(e.value=``+Rt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):qt(e,Rt(n)):o===`number`&&e.value==t?qt(e,Rt(e.value)):qt(e,Rt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Rt(s):e.removeAttribute(`name`)}function Kt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Vt(e);return}n=n==null?``:``+Rt(n),t=t==null?n:``+Rt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Vt(e)}function qt(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function Jt(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=``+Rt(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 Yt(e,t,n){t!=null&&(t=``+Rt(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+Rt(n)}function Xt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(te(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Rt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Vt(e)}function Zt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function $t(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Qt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function en(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,Nt=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&($t(e,a,r),Nt=!0)}else for(var o in t)t.hasOwnProperty(o)&&$t(e,o,t[o])}function tn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var nn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`maskType`,`mask-type`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function an(e){return rn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function on(){}var sn=null;function cn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ln=null,un=null;function dn(e){var t=bt(e);if(t&&(e=t.stateNode)){var n=e[ut]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Gt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Wt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ut]||null;if(!a)throw Error(i(90));Gt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Ht(r)}break a;case`textarea`:Yt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Jt(e,!!n.multiple,t,!1)}}}var fn=!1;function pn(e,t,n){if(fn)return e(t,n);fn=!0;try{return e(t)}finally{if(fn=!1,(ln!==null||un!==null)&&(Rd(),ln&&(t=ln,e=un,un=ln=null,dn(t),e)))for(t=0;t<e.length;t++)dn(e[t])}}function mn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ut]||null;if(r===null)return null;n=r[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`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var hn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,gn=!1;if(hn)try{var _n={};Object.defineProperty(_n,"passive",{get:function(){gn=!0}}),window.addEventListener(`test`,_n,_n),window.removeEventListener(`test`,_n,_n)}catch{gn=!1}var vn=null,yn=null,bn=null;function xn(){if(bn)return bn;var e,t=yn,n=t.length,r,i=`value`in vn?vn.value:vn.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 bn=i.slice(e,1<r?1-r:void 0)}function Sn(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 Cn(){return!0}function wn(){return!1}function Tn(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)?Cn:wn,this.isPropagationStopped=wn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Cn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Cn)},persist:function(){},isPersistent:Cn}),t}var En={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Dn=Tn(En),On=D({},En,{view:0,detail:0}),kn=Tn(On),An,jn,Mn,Nn=D({},On,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wn,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!==Mn&&(Mn&&e.type===`mousemove`?(An=e.screenX-Mn.screenX,jn=e.screenY-Mn.screenY):jn=An=0,Mn=e),An)},movementY:function(e){return`movementY`in e?e.movementY:jn}}),Pn=Tn(Nn),Fn=Tn(D({},Nn,{dataTransfer:0})),In=Tn(D({},On,{relatedTarget:0})),Ln=Tn(D({},En,{animationName:0,elapsedTime:0,pseudoElement:0})),Rn=Tn(D({},En,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),zn=Tn(D({},En,{data:0})),Bn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Vn={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`},Hn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Un(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hn[e])?!!t[e]:!1}function Wn(){return Un}var Gn=Tn(D({},On,{key:function(e){if(e.key){var t=Bn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Sn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Vn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wn,charCode:function(e){return e.type===`keypress`?Sn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Sn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Kn=Tn(D({},Nn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),qn=Tn(D({},En,{submitter:0})),Jn=Tn(D({},On,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wn})),Yn=Tn(D({},En,{propertyName:0,elapsedTime:0,pseudoElement:0})),Xn=Tn(D({},Nn,{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})),Zn=Tn(D({},En,{newState:0,oldState:0,source:0})),Qn=[9,13,27,32],$n=hn&&`CompositionEvent`in window,er=null;hn&&`documentMode`in document&&(er=document.documentMode);var tr=hn&&`TextEvent`in window&&!er,nr=hn&&(!$n||er&&8<er&&11>=er),rr=` `,ir=!1;function ar(e,t){switch(e){case`keyup`:return Qn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function or(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var sr=!1;function cr(e,t){switch(e){case`compositionend`:return or(t);case`keypress`:return t.which===32?(ir=!0,rr):null;case`textInput`:return e=t.data,e===rr&&ir?null:e;default:return null}}function lr(e,t){if(sr)return e===`compositionend`||!$n&&ar(e,t)?(e=xn(),bn=yn=vn=null,sr=!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 nr&&t.locale!==`ko`?null:t.data;default:return null}}var ur={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 dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!ur[e.type]:t===`textarea`}function fr(e,t,n,r){ln?un?un.push(r):un=[r]:ln=r,t=Jf(t,`onChange`),0<t.length&&(n=new Dn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var pr=null,mr=null;function hr(e){Vf(e,0)}function gr(e){if(Ht(xt(e)))return e}function _r(e,t){if(e===`change`)return t}var vr=!1;if(hn){var yr;if(hn){var br=`oninput`in document;if(!br){var xr=document.createElement(`div`);xr.setAttribute(`oninput`,`return;`),br=typeof xr.oninput==`function`}yr=br}else yr=!1;vr=yr&&(!document.documentMode||9<document.documentMode)}function Sr(){pr&&(pr.detachEvent(`onpropertychange`,Cr),mr=pr=null)}function Cr(e){if(e.propertyName===`value`&&gr(mr)){var t=[];fr(t,mr,e,cn(e)),pn(hr,t)}}function wr(e,t,n){e===`focusin`?(Sr(),pr=t,mr=n,pr.attachEvent(`onpropertychange`,Cr)):e===`focusout`&&Sr()}function Tr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return gr(mr)}function Er(e,t){if(e===`click`)return gr(t)}function Dr(e,t){if(e===`input`||e===`change`)return gr(t)}function Or(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var kr=typeof Object.is==`function`?Object.is:Or;function Ar(e,t){if(kr(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(!Se.call(t,i)||!kr(e[i],t[i]))return!1}return!0}function jr(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 Mr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e,t){var n=Mr(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=Mr(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=jr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=jr(e.document)}return t}function Ir(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`)}var Lr=hn&&`documentMode`in document&&11>=document.documentMode,Rr=null,zr=null,Br=null,Vr=!1;function Hr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vr||Rr==null||Rr!==jr(r)||(r=Rr,`selectionStart`in r&&Ir(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}),Br&&Ar(Br,r)||(Br=r,r=Jf(zr,`onSelect`),0<r.length&&(t=new Dn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function Ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Wr={animationend:Ur(`Animation`,`AnimationEnd`),animationiteration:Ur(`Animation`,`AnimationIteration`),animationstart:Ur(`Animation`,`AnimationStart`),transitionrun:Ur(`Transition`,`TransitionRun`),transitionstart:Ur(`Transition`,`TransitionStart`),transitioncancel:Ur(`Transition`,`TransitionCancel`),transitionend:Ur(`Transition`,`TransitionEnd`)},Gr={},Kr={};hn&&(Kr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),`TransitionEvent`in window||delete Wr.transitionend.transition);function qr(e){if(Gr[e])return Gr[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kr)return Gr[e]=t[n];return e}var Jr=qr(`animationend`),Yr=qr(`animationiteration`),Xr=qr(`animationstart`),Zr=qr(`transitionrun`),Qr=qr(`transitionstart`),$r=qr(`transitioncancel`),ei=qr(`transitionend`),ti=new Map,ni=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);ni.push(`scrollEnd`);function ri(e,t){ti.set(e,t),Dt(t,[e])}var ii=0;function ai(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=yd.identifierPrefix;var n=ii++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function oi(e){if(e==null||typeof e==`string`)return e;var t=null,n=Dd;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function si(e,t){return e=oi(e),t=oi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var ci=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},li=[],ui=0,di=0;function fi(){for(var e=ui,t=di=ui=0;t<e;){var n=li[t];li[t++]=null;var r=li[t];li[t++]=null;var i=li[t];li[t++]=null;var a=li[t];if(li[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&gi(n,i,a)}}function pi(e,t,n,r){li[ui++]=e,li[ui++]=t,li[ui++]=n,li[ui++]=r,di|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function mi(e,t,n,r){return pi(e,t,n,r),_i(e)}function hi(e,t){return pi(e,null,null,t),_i(e)}function gi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-ze(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function _i(e){if(50<Od)throw Od=0,kd=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var vi={};function yi(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.refCleanup=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 bi(e,t,n,r){return new yi(e,t,n,r)}function xi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Si(e,t){var n=e.alternate;return n===null?(n=bi(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&1206910976,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.refCleanup=e.refCleanup,n}function Ci(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function wi(e,t,n,r,a,o){var s=0;if(r=e,typeof r==`function`)xi(r)&&(s=1);else if(typeof r==`string`)s=qm(e,n,ce.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case V:return e=bi(31,n,t,a),e.elementType=V,e.lanes=o,e;case j:return Ti(n.children,a,o,t);case M:s=8,a|=24;break;case N:return e=bi(12,n,t,a|2),e.elementType=N,e.lanes=o,e;case L:return e=bi(13,n,t,a),e.elementType=L,e.lanes=o,e;case R:return e=bi(19,n,t,a),e.elementType=R,e.lanes=o,e;case H:case U:return e=a|32,e=bi(30,n,t,e),e.elementType=U,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case F:s=10;break a;case P:s=9;break a;case I:s=11;break a;case z:s=14;break a;case B:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=bi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Ti(e,t,n,r){return e=bi(7,e,r,t),e.lanes=n,e}function Ei(e,t,n){return e=bi(6,e,null,t),e.lanes=n,e}function Di(e){var t=bi(18,null,null,0);return t.stateNode=e,t}function Oi(e,t,n){return t=bi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ki=new WeakMap;function Ai(e,t){if(typeof e==`object`&&e){var n=ki.get(e);return n===void 0?(t={value:e,source:t,stack:xe(t)},ki.set(e,t),t):n}return{value:e,source:t,stack:xe(t)}}var ji=[],Mi=0,Ni=null,Pi=0,Fi=[],Ii=0,Li=null,Ri=1,zi=``;function Bi(e,t){ji[Mi++]=Pi,ji[Mi++]=Ni,Ni=e,Pi=t}function Vi(e,t,n){Fi[Ii++]=Ri,Fi[Ii++]=zi,Fi[Ii++]=Li,Li=e;var r=Ri;e=zi;var i=32-ze(r)-1;r&=~(1<<i),n+=1;var a=32-ze(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ri=1<<32-ze(t)+i|n<<i|r,zi=a+e}else Ri=1<<a|n<<i|r,zi=e}function Hi(e){e.return!==null&&(Bi(e,1),Vi(e,1,0))}function Ui(e){for(;e===Ni;)Ni=ji[--Mi],ji[Mi]=null,Pi=ji[--Mi],ji[Mi]=null;for(;e===Li;)Li=Fi[--Ii],Fi[Ii]=null,zi=Fi[--Ii],Fi[Ii]=null,Ri=Fi[--Ii],Fi[Ii]=null}function Wi(e,t){Fi[Ii++]=Ri,Fi[Ii++]=zi,Fi[Ii++]=Li,Ri=t.id,zi=t.overflow,Li=e}var Gi=null,Ki=null,qi=!1,Ji=null,Yi=!1,Xi=Error(i(519));function Zi(e){throw ra(Ai(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Xi}function Qi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[lt]=e,t[ut]=r,n){case`dialog`:Hf(`cancel`,t),Hf(`close`,t);break;case`iframe`:case`object`:case`embed`:Hf(`load`,t);break;case`video`:case`audio`:for(n=0;n<zf.length;n++)Hf(zf[n],t);break;case`source`:Hf(`error`,t);break;case`img`:case`image`:case`link`:Hf(`error`,t),Hf(`load`,t);break;case`details`:Hf(`toggle`,t);break;case`input`:Hf(`invalid`,t),Kt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Hf(`invalid`,t);break;case`textarea`:Hf(`invalid`,t),Xt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||ep(t.textContent,n)?(r.popover!=null&&(Hf(`beforetoggle`,t),Hf(`toggle`,t)),r.onScroll!=null&&Hf(`scroll`,t),r.onScrollEnd!=null&&Hf(`scrollend`,t),r.onClick!=null&&(t.onclick=on),t=!0):t=!1,t||Zi(e,!0)}function $i(e){for(Gi=e.return;Gi;)switch(Gi.tag){case 5:case 31:case 13:Yi=!1;return;case 27:case 3:Yi=!0;return;default:Gi=Gi.return}}function ea(e){if(e!==Gi)return!1;if(!qi)return $i(e),qi=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||pp(e.type,e.memoizedProps)),n=!n),n&&Ki&&Zi(e),$i(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ki=dm(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ki=dm(e)}else t===27?(t=Ki,Sp(e.type)?(e=um,um=null,Ki=e):Ki=t):Ki=Gi?lm(e.stateNode.nextSibling):null;return!0}function ta(){Ki=Gi=null,qi=!1}function na(){var e=Ji;return e!==null&&(dd===null?dd=e:dd.push.apply(dd,e),Ji=null),e}function ra(e){Ji===null?Ji=[e]:Ji.push(e)}var ia=ae(null),aa=null,oa=null;function sa(e,t,n){se(ia,t._currentValue),t._currentValue=n}function ca(e){e._currentValue=ia.current,oe(ia)}function la(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 ua(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),la(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),la(s,n,e),s=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),la(a.return,n,e),s=a.child,s=s===null?null:s.sibling):s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function da(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;kr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===Z.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[sh]:e.push(sh))}a=a.return}return e!==null&&ua(t,e,n,r),t.flags|=262144,e!==null}function fa(e){for(e=e.firstContext;e!==null;){if(!kr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function pa(e){aa=e,oa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ma(e){return ga(aa,e)}function ha(e,t){return aa===null&&pa(e),ga(e,t)}function ga(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},oa===null){if(e===null)throw Error(i(308));oa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else oa=oa.next=t;return n}var _a=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},va=t.unstable_scheduleCallback,ya=t.unstable_NormalPriority,ba={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xa(){return{controller:new _a,data:new Map,refCount:0}}function Sa(e){e.refCount--,e.refCount===0&&va(ya,function(){e.controller.abort()})}function Ca(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var wa=null;function Ta(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Ea=null,Da=0,Oa=0,ka=null;function Aa(e,t){if(Ea===null){var n=Ea=[];Da=0,Oa=Pf(),ka={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Da++,t.then(ja,ja),t}function ja(){if(--Da===0&&(wa=null,Ea!==null)){ka!==null&&(ka.status=`fulfilled`);var e=Ea;Ea=null,Oa=0,ka=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ma(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Na=Y.S;Y.S=function(e,t){if(md=De(),typeof t==`object`&&t&&typeof t.then==`function`&&Aa(e,t),wa!==null)for(var n=bf;n!==null;)Ca(n,wa),n=n.next;if(n=e.types,n!==null){for(var r=bf;r!==null;)Ca(r,n),r=r.next;if(Oa!==0){r=wa,r===null&&(r=wa=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}Na!==null&&Na(e,t)};var Pa=ae(null);function Fa(){var e=Pa.current;return e===null?Yu.pooledCache:e}function Ia(e,t){t===null?se(Pa,Pa.current):se(Pa,t.pool)}function La(){var e=Fa();return e===null?null:{parent:ba._currentValue,pool:e}}var Ra=Error(i(460)),za=Error(i(474)),Ba=Error(i(542)),Va={then:function(){}};function Ha(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ua(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(on,on),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,qa(e),e===void 0&&!(`reason`in t)?Error(i(600)):e;default:if(typeof t.status==`string`)t.then(on,on);else{if(e=Yu,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,qa(e),e}throw Ga=t,Ra}}function Wa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ga=e,Ra):e}}var Ga=null;function Ka(){if(Ga===null)throw Error(i(459));var e=Ga;return Ga=null,e}function qa(e){if(e===Ra||e===Ba)throw Error(i(483))}var Ja=null,Ya=0;function Xa(e){var t=Ya;return Ya+=1,Ja===null&&(Ja=[]),Ua(Ja,e,t)}function Za(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Qa(e,t){throw t.$$typeof===O?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function $a(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 r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=Si(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|=134217730,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|=134217730),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Ei(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===j?(e=d(e,t,n.props.children,r,n.key),Za(e,n),e):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===B&&Wa(i)===t.type)?(t=a(t,n.props),Za(t,n),t.return=e,t):(t=wi(n.type,n.key,n.props,null,e.mode,r),Za(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Oi(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=Ti(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`||typeof t==`bigint`)return t=Ei(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case k:return n=wi(t.type,t.key,t.props,null,e.mode,n),Za(n,t),n.return=e,n;case A:return t=Oi(t,e.mode,n),t.return=e,t;case B:return t=Wa(t),f(e,t,n)}if(te(t)||K(t))return t=Ti(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Xa(t),n);if(t.$$typeof===F)return f(e,ha(e,t),n);Qa(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`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case k:return n.key===i?l(e,t,n,r):null;case A:return n.key===i?u(e,t,n,r):null;case B:return n=Wa(n),p(e,t,n,r)}if(te(n)||K(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Xa(n),r);if(n.$$typeof===F)return p(e,t,ha(e,n),r);Qa(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case k:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case A:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case B:return r=Wa(r),m(e,t,n,r,i)}if(te(r)||K(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Xa(r),i);if(r.$$typeof===F)return m(e,t,n,ha(t,r),i);Qa(t,r)}return null}function h(i,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(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),qi&&Bi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return qi&&Bi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),qi&&Bi(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=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),qi&&Bi(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 qi&&Bi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.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)}),qi&&Bi(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===j&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case k:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===j){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),Za(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===B&&Wa(l)===r.type){n(e,r.sibling),c=a(r,o.props),Za(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===j?(c=Ti(o.props.children,e.mode,c,o.key),Za(c,o),c.return=e,e=c):(c=wi(o.type,o.key,o.props,null,e.mode,c),Za(c,o),c.return=e,e=c)}return s(e);case A:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Oi(o,e.mode,c),c.return=e,e=c}return s(e);case B:return o=Wa(o),_(e,r,o,c)}if(te(o))return h(e,r,o,c);if(K(o)){if(l=K(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,Xa(o),c);if(o.$$typeof===F)return _(e,r,ha(e,o),c);Qa(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Ei(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ya=0;var i=_(e,t,n,r);return Ja=null,i}catch(t){if(t===Ra||t===Ba)throw t;var a=bi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var eo=$a(!0),to=$a(!1),no=!1;function ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function io(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ao(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function oo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ju&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=_i(e),gi(e,null,n),t}return pi(e,r,t,n),_i(e)}function so(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nt(e,n)}}function co(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,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,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var lo=!1;function uo(){if(lo){var e=ka;if(e!==null)throw e}}function fo(e,t,n,r){lo=!1;var i=e.updateQueue;no=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Zu&f)===f:(r&f)===f){f!==0&&f===Oa&&(lo=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,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(g,d,f):m,f==null)break a;d=D({},d,f);break a;case 2:no=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else 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;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),ad|=o,e.lanes=o,e.memoizedState=d}}function po(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function mo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)po(n[e],t)}var ho=ae(null),go=ae(0);function _o(e,t){e=rd,se(go,e),se(ho,t),rd=e|t.baseLanes}function vo(){se(go,rd),se(ho,ho.current)}function yo(){rd=go.current,oe(ho),oe(go)}var bo=ae(null),xo=null;function So(e){var t=e.alternate;se(Do,Do.current&1),se(bo,e),xo===null&&(t===null||ho.current!==null||t.memoizedState!==null)&&(xo=e)}function Co(e){se(Do,Do.current),se(bo,e),xo===null&&(xo=e)}function wo(e){e.tag===22?(se(Do,Do.current),se(bo,e),xo===null&&(xo=e)):To()}function To(){se(Do,Do.current),se(bo,bo.current)}function Eo(e){oe(bo),xo===e&&(xo=null),oe(Do)}var Do=ae(0);function Oo(e,t){se(bo,bo.current),se(Do,t)}function ko(e){oe(Do),oe(bo),xo===e&&(xo=null)}function Ao(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||om(n)||sm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){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 jo=0,Mo=null,No=null,Po=null,Fo=!1,Io=!1,Lo=!1,Ro=0,zo=0,Bo=null,Vo=0;function Ho(){throw Error(i(321))}function Uo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!kr(e[n],t[n]))return!1;return!0}function Wo(e,t,n,r,i,a){return jo=a,Mo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Y.H=e===null||e.memoizedState===null?sc:cc,Lo=!1,a=n(r,i),Lo=!1,Io&&(a=Ko(t,n,r,i)),Go(e),a}function Go(e){Y.H=oc;var t=No!==null&&No.next!==null;if(jo=0,Po=No=Mo=null,Fo=!1,zo=0,Bo=null,t)throw Error(i(300));e===null||Tc||(e=e.dependencies,e!==null&&fa(e)&&(Tc=!0))}function Ko(e,t,n,r){Mo=e;var a=0;do{if(Io&&(Bo=null),zo=0,Io=!1,25<=a)throw Error(i(301));if(a+=1,Po=No=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}Y.H=lc,o=t(n,r)}while(Io);return o}function qo(){var e=Y.H,t=e.useState()[0];return t=typeof t.then==`function`?es(t):t,e=e.useState()[0],(No===null?null:No.memoizedState)!==e&&(Mo.flags|=1024),t}function Jo(){var e=Ro!==0;return Ro=0,e}function Yo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Xo(e){if(Fo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Fo=!1}jo=0,Po=No=Mo=null,Io=!1,zo=Ro=0,Bo=null}function Zo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Po===null?Mo.memoizedState=Po=e:Po=Po.next=e,Po}function Qo(){if(No===null){var e=Mo.alternate;e=e===null?null:e.memoizedState}else e=No.next;var t=Po===null?Mo.memoizedState:Po.next;if(t!==null)Po=t,No=e;else{if(e===null)throw Mo.alternate===null?Error(i(467)):Error(i(310));No=e,e={memoizedState:No.memoizedState,baseState:No.baseState,baseQueue:No.baseQueue,queue:No.queue,next:null},Po===null?Mo.memoizedState=Po=e:Po=Po.next=e}return Po}function $o(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function es(e){var t=zo;return zo+=1,Bo===null&&(Bo=[]),e=Ua(Bo,e,t),t=Mo,(Po===null?t.memoizedState:Po.next)===null&&(t=t.alternate,Y.H=t===null||t.memoizedState===null?sc:cc),e}function ts(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return es(e);if(e.$$typeof===W)return;if(e.$$typeof===F)return ma(e)}throw Error(i(438,String(e)))}function ns(e){var t=null,n=Mo.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=Mo.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=$o(),Mo.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ee;return t.index++,n}function rs(e,t){return typeof t==`function`?t(e):t}function is(e){return as(Qo(),No,e)}function as(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(jo&f)===f:(Zu&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Oa&&(d=!0);else if((jo&p)===p){u=u.next,p===Oa&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,Mo.lanes|=p,ad|=p;f=u.action,Lo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,Mo.lanes|=f,ad|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!kr(o,e.memoizedState)&&(Tc=!0,d&&(n=ka,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function os(e){var t=Qo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=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);kr(o,t.memoizedState)||(Tc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ss(e,t,n){var r=Mo,a=Qo(),o=qi;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!kr((No||a).memoizedState,n);if(s&&(a.memoizedState=n,Tc=!0),a=a.queue,Ms(us.bind(null,r,a,e),[e]),e=a.getSnapshot!==t||s||Po!==null&&!!(Po.memoizedState.tag&1),Ds(e?9:8,{destroy:void 0},ls.bind(null,r,a,n,t),null),e){if(r.flags|=2048,Yu===null)throw Error(i(349));o||jo&127||cs(r,t,n)}return n}function cs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Mo.updateQueue,t===null?(t=$o(),Mo.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ls(e,t,n,r){t.value=n,t.getSnapshot=r,ds(t)&&fs(e)}function us(e,t,n){return n(function(){ds(t)&&fs(e)})}function ds(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kr(e,n)}catch{return!0}}function fs(e){var t=hi(e,2);t!==null&&Nd(t,e,2)}function ps(e){var t=Zo();if(typeof e==`function`){var n=e;if(e=n(),Lo){Re(!0);try{n()}finally{Re(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:e},t}function ms(e,t,n,r){return e.baseState=n,as(e,No,typeof r==`function`?r:rs)}function hs(e,t,n,r,a){if(rc(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};Y.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,gs(t,o)):(o.next=n.next,t.pending=n.next=o)}}function gs(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=Y.T,o={};o.types=a===null?null:a.types,Y.T=o;try{var s=n(i,r),c=Y.S;c!==null&&c(o,s),_s(e,t,s)}catch(n){ys(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),Y.T=a}}else try{a=n(i,r),_s(e,t,a)}catch(n){ys(e,t,n)}}function _s(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){vs(e,t,n)},function(n){return ys(e,t,n)}):vs(e,t,n)}function vs(e,t,n){t.status=`fulfilled`,t.value=n,bs(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,gs(e,n)))}function ys(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,bs(t),t=t.next;while(t!==r)}e.action=null}function bs(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function xs(e,t){return t}function Ss(e,t){if(qi){var n=Yu.formState;if(n!==null){a:{var r=Mo;if(qi){if(Ki){b:{for(var i=Ki,a=Yi;i.nodeType!==8;)if(!a||(i=lm(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ki=lm(i.nextSibling),r=i.data===`F!`;break a}}Zi(r)}r=!1}r&&(t=n[0])}}return n=Zo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xs,lastRenderedState:t},n.queue=r,n=ec.bind(null,Mo,r),r.dispatch=n,r=ps(!1),a=nc.bind(null,Mo,!1,r.queue),r=Zo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=hs.bind(null,Mo,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Cs(e){return ws(Qo(),No,e)}function ws(e,t,n){if(t=as(e,t,xs)[0],e=is(rs)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=es(t)}catch(e){throw e===Ra?Ba:e}else r=t;t=Qo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(Mo.flags|=2048,Ds(9,{destroy:void 0},Ts.bind(null,i,n),null)),[r,a,e]}function Ts(e,t){e.action=t}function Es(e){var t=Qo(),n=No;if(n!==null)return ws(t,n,e);Qo(),t=t.memoizedState,n=Qo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ds(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=Mo.updateQueue,t===null&&(t=$o(),Mo.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Os(){return Qo().memoizedState}function ks(e,t,n,r){var i=Zo();Mo.flags|=e,i.memoizedState=Ds(1|t,{destroy:void 0},n,r===void 0?null:r)}function As(e,t,n,r){var i=Qo();r=r===void 0?null:r;var a=i.memoizedState.inst;No!==null&&r!==null&&Uo(r,No.memoizedState.deps)?i.memoizedState=Ds(t,a,n,r):(Mo.flags|=e,i.memoizedState=Ds(1|t,a,n,r))}function js(e,t){ks(8390656,8,e,t)}function Ms(e,t){As(2048,8,e,t)}function Ns(e){Mo.flags|=4;var t=Mo.updateQueue;if(t===null)t=$o(),Mo.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ps(e){var t=Qo().memoizedState;return Ns({ref:t,nextImpl:e}),function(){if(Ju&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Fs(e,t){return As(4,2,e,t)}function Is(e,t){return As(4,4,e,t)}function Ls(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Rs(e,t,n){n=n==null?null:n.concat([e]),As(4,4,Ls.bind(null,t,e),n)}function zs(){}function Bs(e,t){var n=Qo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Uo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Vs(e,t){var n=Qo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Uo(t,r[1]))return r[0];if(r=e(),Lo){Re(!0);try{e()}finally{Re(!1)}}return n.memoizedState=[r,t],r}function Hs(e,t,n){return n===void 0||jo&1073741824&&!(Zu&261930)?e.memoizedState=t:(e.memoizedState=n,e=jd(),Mo.lanes|=e,ad|=e,n)}function Us(e,t,n,r){return kr(n,t)?n:ho.current===null?!(jo&106)||jo&1073741824&&!(Zu&261930)?(Tc=!0,e.memoizedState=n):(e=jd(),Mo.lanes|=e,ad|=e,t):(e=Hs(e,n,r),kr(e,t)||(Tc=!0),e)}function Ws(e,t,n,r,i){var a=X.p;X.p=a!==0&&8>a?a:8;var o=Y.T,s={};s.types=o===null?null:o.types,Y.T=s,nc(e,!1,t,n);try{var c=i(),l=Y.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?tc(e,t,Ma(c,r),Ad(e)):tc(e,t,r,Ad(e))}catch(n){tc(e,t,{then:function(){},status:`rejected`,reason:n},Ad())}finally{X.p=a,o!==null&&s.types!==null&&(o.types=s.types),Y.T=o}}function Gs(){}function Ks(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=qs(e).queue;Ws(e,a,t,ne,n===null?Gs:function(){return Js(e),n(r)})}function qs(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:ne},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Js(e){var t=qs(e);t.next===null&&(t=e.alternate.memoizedState),tc(e,t.next.queue,{},Ad())}function Ys(){return ma(sh)}function Xs(){return Qo().memoizedState}function Zs(){return Qo().memoizedState}function Qs(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ad();e=ao(n);var r=oo(t,e,n);r!==null&&(Nd(r,t,n),so(r,t,n)),t={cache:xa()},e.payload=t;return}t=t.return}}function $s(e,t,n){var r=Ad();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},rc(e)?ic(t,n):(n=mi(e,t,n,r),n!==null&&(Nd(n,e,r),ac(n,t,r)))}function ec(e,t,n){tc(e,t,n,Ad())}function tc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(rc(e))ic(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,kr(s,o))return pi(e,t,i,0),Yu===null&&fi(),!1}catch{}if(n=mi(e,t,i,r),n!==null)return Nd(n,e,r),ac(n,t,r),!0}return!1}function nc(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},rc(e)){if(t)throw Error(i(479))}else t=mi(e,n,r,2),t!==null&&Nd(t,e,2)}function rc(e){var t=e.alternate;return e===Mo||t!==null&&t===Mo}function ic(e,t){Io=Fo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ac(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nt(e,n)}}var oc={readContext:ma,use:ts,useCallback:Ho,useContext:Ho,useEffect:Ho,useImperativeHandle:Ho,useLayoutEffect:Ho,useInsertionEffect:Ho,useMemo:Ho,useReducer:Ho,useRef:Ho,useState:Ho,useDebugValue:Ho,useDeferredValue:Ho,useTransition:Ho,useSyncExternalStore:Ho,useId:Ho,useHostTransitionStatus:Ho,useFormState:Ho,useActionState:Ho,useOptimistic:Ho,useMemoCache:Ho,useCacheRefresh:Ho,useEffectEvent:Ho},sc={readContext:ma,use:ts,useCallback:function(e,t){return Zo().memoizedState=[e,t===void 0?null:t],e},useContext:ma,useEffect:js,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ks(4194308,4,Ls.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ks(4194308,4,e,t)},useInsertionEffect:function(e,t){ks(4,2,e,t)},useMemo:function(e,t){var n=Zo();t=t===void 0?null:t;var r=e();if(Lo){Re(!0);try{e()}finally{Re(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Zo();if(n!==void 0){var i=n(t);if(Lo){Re(!0);try{n(t)}finally{Re(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=$s.bind(null,Mo,e),[r.memoizedState,e]},useRef:function(e){var t=Zo();return e={current:e},t.memoizedState=e},useState:function(e){e=ps(e);var t=e.queue,n=ec.bind(null,Mo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:zs,useDeferredValue:function(e,t){return Hs(Zo(),e,t)},useTransition:function(){var e=ps(!1);return e=Ws.bind(null,Mo,e.queue,!0,!1),Zo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Mo,a=Zo();if(qi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Yu===null)throw Error(i(349));Zu&127||cs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,js(us.bind(null,r,o,e),[e]),r.flags|=2048,Ds(9,{destroy:void 0},ls.bind(null,r,o,n,t),null),n},useId:function(){var e=Zo(),t=Yu.identifierPrefix;if(qi){var n=zi,r=Ri;n=(r&~(1<<32-ze(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Ro++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Vo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Ys,useFormState:Ss,useActionState:Ss,useOptimistic:function(e){var t=Zo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=nc.bind(null,Mo,!0,n),n.dispatch=t,[e,t]},useMemoCache:ns,useCacheRefresh:function(){return Zo().memoizedState=Qs.bind(null,Mo)},useEffectEvent:function(e){var t=Zo(),n={impl:e};return t.memoizedState=n,function(){if(Ju&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},cc={readContext:ma,use:ts,useCallback:Bs,useContext:ma,useEffect:Ms,useImperativeHandle:Rs,useInsertionEffect:Fs,useLayoutEffect:Is,useMemo:Vs,useReducer:is,useRef:Os,useState:function(){return is(rs)},useDebugValue:zs,useDeferredValue:function(e,t){return Us(Qo(),No.memoizedState,e,t)},useTransition:function(){var e=is(rs)[0],t=Qo().memoizedState;return[typeof e==`boolean`?e:es(e),t]},useSyncExternalStore:ss,useId:Xs,useHostTransitionStatus:Ys,useFormState:Cs,useActionState:Cs,useOptimistic:function(e,t){return ms(Qo(),No,e,t)},useMemoCache:ns,useCacheRefresh:Zs,useEffectEvent:Ps},lc={readContext:ma,use:ts,useCallback:Bs,useContext:ma,useEffect:Ms,useImperativeHandle:Rs,useInsertionEffect:Fs,useLayoutEffect:Is,useMemo:Vs,useReducer:os,useRef:Os,useState:function(){return os(rs)},useDebugValue:zs,useDeferredValue:function(e,t){var n=Qo();return No===null?Hs(n,e,t):Us(n,No.memoizedState,e,t)},useTransition:function(){var e=os(rs)[0],t=Qo().memoizedState;return[typeof e==`boolean`?e:es(e),t]},useSyncExternalStore:ss,useId:Xs,useHostTransitionStatus:Ys,useFormState:Es,useActionState:Es,useOptimistic:function(e,t){var n=Qo();return No===null?(n.baseState=e,[e,n.queue.dispatch]):ms(n,No,e,t)},useMemoCache:ns,useCacheRefresh:Zs,useEffectEvent:Ps};function uc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:D({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var dc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ad(),i=ao(r);i.payload=t,n!=null&&(i.callback=n),t=oo(e,i,r),t!==null&&(Nd(t,e,r),so(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ad(),i=ao(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=oo(e,i,r),t!==null&&(Nd(t,e,r),so(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ad(),r=ao(n);r.tag=2,t!=null&&(r.callback=t),t=oo(e,r,n),t!==null&&(Nd(t,e,n),so(t,e,n))}};function fc(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?!Ar(n,r)||!Ar(i,a):!0}function pc(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&&dc.enqueueReplaceState(t,t.state,null)}function mc(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=D({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function hc(e){ci(e)}function gc(e){console.error(e)}function _c(e){ci(e)}function vc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function yc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function bc(e,t,n){return n=ao(n),n.tag=3,n.payload={element:null},n.callback=function(){vc(e,t)},n}function xc(e){return e=ao(e),e.tag=3,e}function Sc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){yc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){yc(t,n,r),typeof i!=`function`&&(_d===null?_d=new Set([this]):_d.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Cc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&da(t,n,a,!0),n=bo.current,n!==null){switch(n.tag){case 31:case 13:case 19:return xo===null?Gd():n.alternate===null&&id===0&&(id=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Va?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),mf(e,r,a)),!1;case 22:return n.flags|=65536,r===Va?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),mf(e,r,a)),!1}throw Error(i(435,n.tag))}return mf(e,r,a),Gd(),!1}if(qi)return t=bo.current,t===null?(r!==Xi&&(t=Error(i(423),{cause:r}),ra(Ai(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ai(r,n),a=bc(e.stateNode,r,a),co(e,a),id!==4&&(id=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Xi&&(e=Error(i(422),{cause:r}),ra(Ai(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ai(o,n),ud===null?ud=[o]:ud.push(o),id!==4&&(id=2),t===null)return!0;r=Ai(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=bc(n.stateNode,r,e),co(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(_d===null||!_d.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=xc(a),Sc(a,e,n,r),co(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var wc=Error(i(461)),Tc=!1;function Ec(e,t,n,r){t.child=e===null?to(t,null,n,r):eo(t,e.child,n,r)}function Dc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return pa(t),r=Wo(e,t,n,o,a,i),s=Jo(),e!==null&&!Tc?(Yo(e,t,i),tl(e,t,i)):(qi&&s&&Hi(t),t.flags|=1,Ec(e,t,r,i),t.child)}function Oc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!xi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,kc(e,t,a,r,i)):(e=wi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!nl(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Ar:n,n(o,r)&&e.ref===t.ref)return tl(e,t,i)}return t.flags|=1,e=Si(a,r),e.ref=t.ref,e.return=t,t.child=e}function kc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ar(a,r)&&e.ref===t.ref){if(Tc=!1,t.pendingProps=r=a,nl(e,i))e.flags&131072&&(Tc=!0);else return t.lanes=e.lanes,tl(e,t,i)}}return Lc(e,t,n,r,i)}function Ac(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ia(t,a===null?null:a.cachePool),a===null?vo():_o(t,a),wo(t);else return r=t.lanes=536870912,Mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ia(t,null),vo(),To()):(Ia(t,a.cachePool),_o(t,a),To(),t.memoizedState=null);return Ec(e,t,i,n),t.child}function jc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Mc(e,t,n,r,i){var a=Fa();return a=a===null?null:{parent:ba._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ia(t,null),vo(),wo(t),e!==null&&da(e,t,r,!0),t.childLanes=i,null}function Nc(e,t){return t=Kc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Pc(e,t,n){return eo(t,e.child,null,n),e=Nc(t,t.pendingProps),e.flags|=2,Eo(t),t.memoizedState=null,e}function Fc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(qi){if(r.mode===`hidden`)return e=Nc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},jc(null,e);if(Co(t),(e=Ki)?(e=am(e,Yi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Li===null?null:{id:Ri,overflow:zi},retryLane:536870912,hydrationErrors:null},n=Di(e),n.return=t,t.child=n,Gi=t,Ki=null)):e=null,e===null)throw Zi(t);return t.lanes=536870912,null}return Nc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Co(t),a){if(t.flags&256)t.flags&=-257,t=Pc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Tc||da(e,t,n,!1),a=(n&e.childLanes)!==0,Tc||a){if(ho.current===null){if(r=Yu,r!==null&&(s=rt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,hi(e,s),Nd(r,e,s),wc;Gd()}t=Pc(e,t,n)}else e=o.treeContext,Ki=lm(s.nextSibling),Gi=t,qi=!0,Ji=null,Yi=!1,e!==null&&Wi(t,e),t=Nc(t,r),t.flags|=134221824;return t}return e=Si(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ic(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Lc(e,t,n,r,i){return pa(t),n=Wo(e,t,n,r,void 0,i),r=Jo(),e!==null&&!Tc?(Yo(e,t,i),tl(e,t,i)):(qi&&r&&Hi(t),t.flags|=1,Ec(e,t,n,i),t.child)}function Rc(e,t,n,r,i,a){return pa(t),t.updateQueue=null,n=Ko(t,r,n,i),Go(e),r=Jo(),e!==null&&!Tc?(Yo(e,t,a),tl(e,t,a)):(qi&&r&&Hi(t),t.flags|=1,Ec(e,t,n,a),t.child)}function zc(e,t,n,r,i){if(pa(t),t.stateNode===null){var a=vi,o=n.contextType;typeof o==`object`&&o&&(a=ma(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=dc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},ro(t),o=n.contextType,a.context=typeof o==`object`&&o?ma(o):vi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(uc(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&dc.enqueueReplaceState(a,a.state,null),fo(t,r,a,i),uo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=mc(n,s);a.props=c;var l=a.context,u=n.contextType;o=vi,typeof u==`object`&&u&&(o=ma(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&pc(t,a,r,o),no=!1;var f=t.memoizedState;a.state=f,fo(t,r,a,i),uo(),l=t.memoizedState,s||f!==l||no?(typeof d==`function`&&(uc(t,n,d,r),l=t.memoizedState),(c=no||fc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,io(e,t),o=t.memoizedProps,u=mc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=vi,typeof l==`object`&&l&&(c=ma(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&pc(t,a,r,c),no=!1,f=t.memoizedState,a.state=f,fo(t,r,a,i),uo();var p=t.memoizedState;o!==d||f!==p||no||e!==null&&e.dependencies!==null&&fa(e.dependencies)?(typeof s==`function`&&(uc(t,n,s,r),p=t.memoizedState),(u=no||fc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&fa(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Ic(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=eo(t,e.child,null,i),t.child=eo(t,null,n,i)):Ec(e,t,n,i),t.memoizedState=a.state,e=t.child):e=tl(e,t,i),e}function Bc(e,t,n,r){return ta(),t.flags|=256,Ec(e,t,n,r),t.child}var Vc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Hc(e){return{baseLanes:e,cachePool:La()}}function Uc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=cd),e}function Wc(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Do.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(qi){if(i?So(t):To(),(e=Ki)?(e=am(e,Yi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Li===null?null:{id:Ri,overflow:zi},retryLane:536870912,hydrationErrors:null},n=Di(e),n.return=t,t.child=n,Gi=t,Ki=null)):e=null,e===null)throw Zi(t);return t.lanes=sm(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(To(),i=t.mode,a=Kc({mode:`hidden`,children:a},i),r=Ti(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=Hc(n),r.childLanes=Uc(e,o,n),t.memoizedState=Vc,jc(null,r)):(So(t),Gc(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return Jc(e,t,a,o,r,c,s,n)}return i?(To(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Si(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=Ti(i,a,n,null),i.flags|=2):i=Si(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,jc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=Hc(n):(a=i.cachePool,a===null?a=La():(s=ba._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=Uc(e,o,n),t.memoizedState=Vc,jc(e.child,r)):(So(t),n=e.child,e=n.sibling,n=Si(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Gc(e,t){return t=Kc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Kc(e,t){return e=bi(22,e,null,t),e.lanes=0,e}function qc(e,t,n){return eo(t,e.child,null,n),e=Gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Jc(e,t,n,r,a,o,s,c){if(n)return t.flags&256?(So(t),t.flags&=-257,qc(e,t,c)):t.memoizedState===null?(To(),o=a.fallback,s=t.mode,a=Kc({mode:`visible`,children:a.children},s),o=Ti(o,s,c,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,eo(t,e.child,null,c),a=t.child,a.memoizedState=Hc(c),a.childLanes=Uc(e,r,c),t.memoizedState=Vc,jc(null,a)):(To(),t.child=e.child,t.flags|=128,null);if(So(t),sm(o)){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(a=Error(i(419)),a.stack=``,a.digest=r,ra({value:a,source:null,stack:null})),qc(e,t,c)}if(Tc||da(e,t,c,!1),r=(c&e.childLanes)!==0,Tc||r){if(ho.current!==null)return qc(e,t,c);if(r=Yu,r!==null&&(a=rt(r,c),a!==0&&a!==s.retryLane))throw s.retryLane=a,hi(e,a),Nd(r,e,a),wc;return om(o)||Gd(),qc(e,t,c)}return om(o)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,Ki=lm(o.nextSibling),Gi=t,qi=!0,Ji=null,Yi=!1,e!==null&&Wi(t,e),t=Gc(t,a.children),t.flags|=134221824,t)}function Yc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),la(e.return,t,n)}function Xc(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Ao(n)===null&&(t=e),e=e.sibling}return t}function Zc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Qc(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function $c(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Do.current;if(t.flags&128)return Oo(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Oo(t,o),i===`backwards`&&e!==null?(Qc(e),Ec(e,t,r,n),Qc(e)):Ec(e,t,r,n),r=qi?Pi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Yc(e,n,t);else if(e.tag===19)Yc(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}switch(i){case`backwards`:n=Xc(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,Qc(t)),Zc(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ao(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Zc(t,!0,n,null,a,r);break;case`together`:Zc(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=Xc(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Zc(t,!1,i,n,a,r)}return t.child}function el(e,t,n){var r=t.pendingProps;return sa(t,t.type,r.value),Ec(e,t,r.children,n),t.child}function tl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ad|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(da(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=Si(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Si(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function nl(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&fa(e)))}function rl(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),sa(t,ba,e.memoizedState.cache),ta();break;case 27:case 5:pe(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:sa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Co(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return So(t),t.flags|=128,null;r=da(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?Wc(e,t,n):(So(t),e=tl(e,t,n),e===null?null:e.sibling)}So(t);break;case 19:if(t.flags&128)return $c(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(da(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return $c(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Oo(t,Do.current),r)break;return null;case 22:return t.lanes=0,Ac(e,t,n,t.pendingProps);case 24:sa(t,ba,e.memoizedState.cache)}return tl(e,t,n)}function il(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Tc=!0;else{if(!nl(e,n)&&!(t.flags&128))return Tc=!1,rl(e,t,n);Tc=!!(e.flags&131072)}}else Tc=!1,qi&&t.flags&1048576&&Vi(t,Pi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Wa(t.elementType),t.type=e,typeof e==`function`)xi(e)?(r=mc(e,r),t.tag=1,t=zc(null,t,e,r,n)):(t.tag=0,t=Lc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===I){t.tag=11,t=Dc(null,t,e,r,n);break a}if(a===z){t.tag=14,t=Oc(null,t,e,r,n);break a}if(a===F){t.tag=10,t.type=e,t=el(null,t,n);break a}}throw t=J(e)||e,Error(i(306,t,``))}}return t;case 0:return Lc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=mc(r,t.pendingProps),zc(e,t,r,a,n);case 3:a:{if(de(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,io(e,t),fo(t,r,null,n);var s=t.memoizedState;if(r=s.cache,sa(t,ba,r),r!==o.cache&&ua(t,[ba],n,!0),uo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Bc(e,t,r,n);break a}if(r!==a){a=Ai(Error(i(424)),t),ra(a),t=Bc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ki=lm(e.firstChild),Gi=t,qi=!0,Ji=null,Yi=!0,n=to(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(ta(),r===a){t=tl(e,t,n);break a}Ec(e,t,r,n)}t=t.child}return t;case 26:return Ic(e,t),e===null?(n=Nm(t.type,null,t.pendingProps,null))?t.memoizedState=n:qi||(t.stateNode=fp(t.type,t.pendingProps,ue.current,t)):t.memoizedState=Nm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),e===null&&qi&&(r=t.stateNode=hm(t.type,t.pendingProps,ue.current),Gi=t,Yi=!0,a=Ki,Sp(t.type)?(um=a,Ki=lm(r.firstChild)):Ki=a),Ec(e,t,t.pendingProps.children,n),Ic(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&qi&&((a=r=Ki)&&(r=rm(r,t.type,t.pendingProps,Yi),r===null?a=!1:(t.stateNode=r,Gi=t,Ki=lm(r.firstChild),Yi=!1,a=!0)),a||Zi(t)),pe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,pp(a,o)?r=null:s!==null&&pp(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Wo(e,t,qo,null,null,n),sh._currentValue=a),Ic(e,t),Ec(e,t,r,n),t.child;case 6:return e===null&&qi&&((e=n=Ki)&&(n=im(n,t.pendingProps,Yi),n===null?e=!1:(t.stateNode=n,Gi=t,Ki=null,e=!0)),e||Zi(t)),null;case 13:return Wc(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=eo(t,null,r,n):Ec(e,t,r,n),t.child;case 11:return Dc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Ic(e,t),Ec(e,t,r,n),t.child;case 8:return Ec(e,t,t.pendingProps.children,n),t.child;case 12:return Ec(e,t,t.pendingProps.children,n),t.child;case 10:return el(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,pa(t),a=ma(a),r=r(a),t.flags|=1,Ec(e,t,r,n),t.child;case 14:return Oc(e,t,t.type,t.pendingProps,n);case 15:return kc(e,t,t.type,t.pendingProps,n);case 19:return $c(e,t,n);case 31:return Fc(e,t,n);case 22:return Ac(e,t,n,t.pendingProps);case 24:return pa(t),r=ma(ba),e===null?(a=Fa(),a===null&&(a=Yu,o=xa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},ro(t),sa(t,ba,a)):((e.lanes&n)!==0&&(io(e,t),fo(t,null,null,n),uo()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,sa(t,ba,r),r!==a.cache&&ua(t,[ba],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),sa(t,ba,r))),Ec(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:qi&&Hi(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Ic(e,t),Ec(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function al(e){e.flags|=4}function ol(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?Jm(t,r):Jm(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Hd())e.flags|=8192;else throw Ga=Va,za}}else e.flags&=-16777217}function sl(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Ym(t)){if(Hd())e.flags|=8192;else throw Ga=Va,za}}function cl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Ze(),e.lanes|=t,ld|=t)}function ll(e,t){if(!qi)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,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;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function ul(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&1206910976,r|=i.flags&1206910976,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 dl(e,t,n){var r=t.pendingProps;switch(Ui(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ul(t),null;case 1:return ul(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ca(ba),fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ea(t)?al(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,na())),ul(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(al(t),o===null?(ul(t),ol(t,a,null,r,n)):(ul(t),sl(t,o))):o?o===e.memoizedState?(ul(t),t.flags&=-16777217):(al(t),ul(t),sl(t,o)):(e=e.memoizedProps,e!==r&&al(t),ul(t),ol(t,a,e,r,n)),null;case 27:if(me(t),n=ue.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&al(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return ul(t),t.subtreeFlags&=-33554433,null}e=ce.current,ea(t)?Qi(t,e):(e=hm(a,r,n),t.stateNode=e,al(t))}return ul(t),t.subtreeFlags&=-33554433,null;case 5:if(me(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&al(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return ul(t),t.subtreeFlags&=-33554433,null}if(o=ce.current,ea(t))Qi(t,o);else{var s=lp(ue.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[lt]=t,o[ut]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(rp(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&al(t)}}return ul(t),t.subtreeFlags&=-33554433,ol(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&al(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ue.current,ea(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Gi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[lt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ep(e.nodeValue,n)),e||Zi(t,!0)}else e=lp(e).createTextNode(r),e[lt]=t,t.stateNode=e}return ul(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=ea(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[lt]=t}else ta(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ul(t),e=!1}else n=na(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Eo(t),t):(Eo(t),null);if(t.flags&128)throw Error(i(558))}return ul(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=ea(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[lt]=t}else ta(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ul(t),a=!1}else a=na(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Eo(t),t):(Eo(t),null)}return Eo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),cl(t,t.updateQueue),ul(t),null);case 4:return fe(),e===null&&Gf(t.stateNode.containerInfo),t.flags|=67108864,ul(t),null;case 10:return ca(t.type),ul(t),null;case 19:if(ko(t),r=t.memoizedState,r===null)return ul(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)ll(r,!1);else{if(id!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ao(e),o!==null){for(t.flags|=128,ll(r,!1),e=o.updateQueue,t.updateQueue=e,cl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ci(n,e),n=n.sibling;return Oo(t,Do.current&1|2),qi&&Bi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&De()>hd&&(t.flags|=128,a=!0,ll(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Ao(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,cl(t,e),ll(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!qi)return ul(t),null}else 2*De()-r.renderingStartTime>hd&&n!==536870912&&(t.flags|=128,a=!0,ll(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=De(),e.sibling=null,o=Do.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||qi?Oo(t,o):(n=o,se(bo,t),se(Do,n),xo===null&&(xo=t)),qi&&Bi(t,r.treeForkCount),e}return ul(t),null;case 22:case 23:return Eo(t),yo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(ul(t),t.subtreeFlags&6&&(t.flags|=8192)):ul(t),n=t.updateQueue,n!==null&&cl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&oe(Pa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ca(ba),ul(t),null;case 25:return null;case 30:return t.flags|=33554432,ul(t),null}throw Error(i(156,t.tag))}function fl(e,t){switch(Ui(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ca(ba),fe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return me(t),null;case 31:if(t.memoizedState!==null){if(Eo(t),t.alternate===null)throw Error(i(340));ta()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Eo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ta()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ko(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return fe(),null;case 10:return ca(t.type),null;case 22:case 23:return Eo(t),yo(),e!==null&&oe(Pa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ca(ba),null;case 25:return null;default:return null}}function pl(e,t){switch(Ui(t),t.tag){case 3:ca(ba),fe();break;case 26:case 27:case 5:me(t);break;case 4:fe();break;case 31:t.memoizedState!==null&&Eo(t);break;case 13:Eo(t);break;case 19:ko(t);break;case 10:ca(t.type);break;case 22:case 23:Eo(t),yo(),e!==null&&oe(Pa);break;case 24:ca(ba)}}function ml(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){pf(t,t.return,e)}}function hl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){pf(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){pf(t,t.return,e)}}function gl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{mo(t,n)}catch(t){pf(e,e.return,t)}}}function _l(e,t,n){n.props=mc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){pf(e,t,n)}}function vl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=ai(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);m(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){pf(e,t,n)}}function yl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){pf(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){pf(e,t,n)}else n.current=null}}function bl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)em(e.stateNode,t[n])}function xl(e){for(var t=e.return;t!==null&&(wl(t)&&em(e.stateNode,t.stateNode),!Cl(t));)t=t.return}function Sl(e){for(var t=e.return;t!==null&&(wl(t)&&tm(e.stateNode,t.stateNode),!Cl(t));)t=t.return}function Cl(e){return e.tag===5||e.tag===3||e.tag===27}function wl(e){return e&&e.tag===7&&e.stateNode!==null}function Tl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){pf(e,e.return,t)}}function El(e,t,n){try{var r=e.stateNode;ap(r,e.type,n,t),r[ut]=t}catch(t){pf(e,e.return,t)}}function Dl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Sp(e.type)||e.tag===4}function Ol(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Dl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Sp(e.type)||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 kl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=on)),bl(e,r),Nt=!0;else if(i!==4&&(i===27&&(bl(e,r),r=null,Sp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(kl(e,t,n,r),e=e.sibling;e!==null;)kl(e,t,n,r),e=e.sibling}function Al(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),bl(e,r),Nt=!0;else if(i!==4&&(i===27&&(bl(e,r),r=null,Sp(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Al(e,t,n,r),e=e.sibling;e!==null;)Al(e,t,n,r),e=e.sibling}function jl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);rp(t,r,n),t[lt]=e,t[ut]=n}catch(t){pf(e,e.return,t)}}var Ml=!1,Nl=null;function Pl(e){(e.tag===30||e.subtreeFlags&33554432)&&(Ml=!0)}var Fl=null;function Il(){var e=Fl;return Fl=null,e}var Ll=0;function Rl(e,t,n,r,i){return Ll=0,zl(e.child,t,n,r,i)}function zl(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Op(o);r.push(s),s.view&&(a=!0)}else a||Op(o).view&&(a=!0);Ml=!0,Tp(o,Ll===0?t:t+`_`+Ll,n),Ll++}else e.tag===22&&e.memoizedState!==null||e.tag===30&&i||zl(e.child,t,n,r,i)&&(a=!0);e=e.sibling}return a}function Bl(e,t){for(;e!==null;)e.tag===5?Ep(e.stateNode,e.memoizedProps):e.tag===22&&e.memoizedState!==null||e.tag===30&&t||Bl(e.child,t),e=e.sibling}function Vl(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Vl(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(i(544));var n=t.name;t=si(t.default,t.share),t!==`none`&&(Rl(e,n,t,null,!1)||Bl(e.child,!1))}e=e.sibling}}function Hl(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=ai(r,n),a=si(r.default,n.paired?r.share:r.enter);a===`none`?Vl(e):Rl(e,i,a,null,!1)?(Vl(e),n.paired||t||Md(e,r.onEnter)):Bl(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Hl(e,t),e=e.sibling;else Vl(e)}function Ul(e){if(Nl!==null&&Nl.size!==0){var t=Nl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=si(n.default,n.share);if(a!==`none`&&(Rl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Md(e,n.onShare)):Bl(e.child,!1)),t.delete(r),t.size===0)break}}}Ul(e)}e=e.sibling}}}function Wl(e){if(e.tag===30){var t=e.memoizedProps,n=ai(t,e.stateNode),r=Nl===null?void 0:Nl.get(n),i=si(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Rl(e,n,i,null,!1)?r===void 0?Md(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Nl.delete(n),Md(e,t.onShare)):Bl(e.child,!1)),Nl!==null&&Ul(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Wl(e),e=e.sibling;else Nl!==null&&Ul(e)}function Gl(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=ai(t,e.stateNode);t=si(t.default,t.update),e.flags&=-5,t!==`none`&&Rl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&Gl(e);e=e.sibling}}function Kl(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,Bl(e.child,!1))}Kl(e)}e=e.sibling}}function ql(e){if(e.tag===30)e.stateNode.paired=null,Bl(e.child,!1),Kl(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)ql(e),e=e.sibling;else Kl(e)}function Jl(e){for(e=e.child;e!==null;)e.tag===30?Bl(e.child,!1):e.subtreeFlags&33554432&&Jl(e),e=e.sibling}function Yl(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Ll<a.length){var l=a[Ll],u=Op(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Tp(c,Ll===0?n:n+`_`+Ll,i),s&&e.flags&4||(Fl===null&&(Fl=[]),Fl.push(c,Ll===0?r:r+`_`+Ll,t.memoizedProps)),Ll++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:Yl(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function Xl(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=ai(n,r),a=si(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(kp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Ll=0,i=Yl(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Md(e,n.onUpdate))}else e.subtreeFlags&33554432&&Xl(e,t);e=e.sibling}}var Zl=!1,Ql=!1,$l=!1,eu=!1,tu=typeof WeakSet==`function`?WeakSet:Set,nu=null,ru=!1,iu=!1,au=!1,ou=!1;function su(e,t,n){if(e=e.containerInfo,sp=gh,e=Fr(e),Ir(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||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===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(cp={focusedElem:e,selectionRange:r},gh=!1,n=(n&335544064)===n,nu=t,t=n?9270:1024;nu!==null;){if(e=nu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&Wl(r[a]);if(e.alternate===null&&e.flags&2)n&&Pl(e),cu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&Wl(r),cu(n);continue}if(r!==null&&r.memoizedState!==null){n&&Pl(e),cu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,nu=r):(n&&Gl(e),cu(n))}}Nl=null}function cu(e){for(;nu!==null;){var t=nu,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(a&1024&&r!==null){n=void 0,a=r.memoizedProps,r=r.memoizedState;var o=t.stateNode;try{var s=mc(t.type,a);n=o.getSnapshotBeforeUpdate(s,r),o.__reactInternalSnapshotBeforeUpdate=n}catch(e){pf(t,t.return,e)}}break;case 3:if(a&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)nm(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:nm(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=ai(r.memoizedProps,r.stateNode),a=t.memoizedProps,a=si(a.default,a.update),a!==`none`&&Rl(r,n,a,r.memoizedState=[],!0));break;default:if(a&1024)throw Error(i(163))}if(r=t.sibling,r!==null){r.return=t.return,nu=r;break}nu=t.return}}function lu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:ku(e,n),r&4&&ml(5,n);break;case 1:if(ku(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){pf(n,n.return,e)}else{var i=mc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){pf(n,n.return,e)}}}r&64&&gl(n),r&512&&vl(n,n.return);break;case 3:if(ku(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{mo(e,t)}catch(e){pf(n,n.return,e)}}break;case 27:t===null&&r&4&&jl(n);case 26:case 5:ku(e,n),t===null&&r&4&&Tl(n),r&512&&vl(n,n.return);break;case 12:ku(e,n);break;case 31:ku(e,n),r&4&&vu(e,n);break;case 13:ku(e,n),r&4&&yu(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=_f.bind(null,n),cm(e,n))));break;case 22:if(r=n.memoizedState!==null||Zl,!r){var a=t!==null&&t.memoizedState!==null||Ql;t=Zl,i=Ql,Zl=r,(Ql=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),ju(e,n,r)):ku(e,n),Zl=t,Ql=i}break;case 30:ku(e,n),r&512&&vl(n,n.return);break;case 7:r&512&&vl(n,n.return);default:ku(e,n)}}function uu(e,t){for(e=e.child;e!==null;)du(e,t),e=e.sibling}function du(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){pf(e,e.return,t)}fu(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,Nt=!0}catch(t){pf(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?wp(s,!0):wp(e.stateNode,!1)}catch(t){pf(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&uu(e,t);break;default:uu(e,t)}}function fu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:du(n,r);break a;case 22:n.memoizedState===null&&fu(n,r);break a;default:fu(n,r)}}e=e.sibling}}function pu(e){var t=e.alternate;t!==null&&(e.alternate=null,pu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&vt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var mu=null,hu=!1;function gu(e,t,n){for(n=n.child;n!==null;)_u(e,t,n),n=n.sibling}function _u(e,t,n){if(Le&&typeof Le.onCommitFiberUnmount==`function`)try{Le.onCommitFiberUnmount(Ie,n)}catch{}switch(n.tag){case 26:Ql||yl(n,t),gu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Ql&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ql||yl(n,t),Sl(n);var r=mu,i=hu;Sp(n.type)&&(mu=n.stateNode,hu=!1),gu(e,t,n),gm(n.stateNode,n.type,n.memoizedProps),mu=r,hu=i;break;case 5:Ql||yl(n,t),Sl(n);case 6:if(n.tag===6&&Sl(n),r=mu,i=hu,mu=null,gu(e,t,n),mu=r,hu=i,mu!==null){if(hu)try{(mu.nodeType===9?mu.body:mu.nodeName===`HTML`?mu.ownerDocument.body:mu).removeChild(n.stateNode),Nt=!0}catch(e){pf(n,t,e)}else try{mu.removeChild(n.stateNode),Nt=!0}catch(e){pf(n,t,e)}}break;case 18:mu!==null&&(hu?(e=mu,Cp(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Hh(e)):Cp(mu,n.stateNode));break;case 4:r=mu,i=hu,mu=n.stateNode.containerInfo,hu=!0,gu(e,t,n),mu=r,hu=i;break;case 0:case 11:case 14:case 15:hl(2,n,t),Ql||hl(4,n,t),gu(e,t,n);break;case 1:Ql||(yl(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&_l(n,t,r)),gu(e,t,n);break;case 21:gu(e,t,n);break;case 22:Ql=(r=Ql)||n.memoizedState!==null,gu(e,t,n),Ql=r;break;case 30:yl(n,t),gu(e,t,n);break;case 7:Ql||yl(n,t),gu(e,t,n);break;default:gu(e,t,n)}}function vu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Hh(e)}catch(e){pf(t,t.return,e)}}}function yu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Hh(e)}catch(e){pf(t,t.return,e)}}function bu(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new tu),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new tu),t;default:throw Error(i(435,e.tag))}}function xu(e,t){var n=bu(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=vf.bind(null,e,t);t.then(r,r)}})}function Su(e,t,n){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=r[a],s=e,c=t,l=c;a:for(;l!==null;){switch(l.tag){case 27:if(Sp(l.type)){mu=l.stateNode,hu=!1;break a}break;case 5:mu=l.stateNode,hu=!1;break a;case 3:case 4:mu=l.stateNode.containerInfo,hu=!0;break a}l=l.return}if(mu===null)throw Error(i(160));_u(s,c,o),mu=null,hu=!1,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)wu(t,e,n),t=t.sibling}var Cu=null;function wu(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var o=0;o<r.length;o++){var s=r[o];s.ref.impl=s.nextImpl}Su(t,e,n),Tu(e),a&4&&(hl(3,e,e.return),ml(3,e),hl(5,e,e.return));break;case 1:Su(t,e,n),Tu(e),a&512&&(Ql||r===null||yl(r,r.return)),a&64&&Zl&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=Cu,Su(t,e,n),Tu(e),a&512&&(Ql||r===null||yl(r,r.return)),a&4){if(a=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(Zl)e.stateNode=fp(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,a=o.ownerDocument||o;b:switch(t){case`title`:r=a.getElementsByTagName(`title`)[0],(!r||r[gt]||r[lt]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=a.createElement(t),a.head.insertBefore(r,a.querySelector(`head > title`))),rp(r,t,n),r[lt]=e,Ct(r),t=r;break a;case`link`:if(o=Gm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break b}}r=a.createElement(t),rp(r,t,n),a.head.appendChild(r);break;case`meta`:if(o=Gm(`meta`,`content`,a).get(t+(n.content||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){o.splice(s,1);break b}}r=a.createElement(t),rp(r,t,n),a.head.appendChild(r);break;default:throw Error(i(468,t))}r[lt]=e,Ct(r),t=r}e.stateNode=t}}else Zl||Km(o,e.type,e.stateNode)}else e.stateNode=Bm(o,n,e.memoizedProps)}else a===n?n===null&&e.stateNode!==null&&El(e,e.memoizedProps,r.memoizedProps):(a===null?(t=r.stateNode,t===null||Ql||t.parentNode.removeChild(t)):a.count--,n===null?Zl||Km(o,e.type,e.stateNode):Bm(o,n,e.memoizedProps))}break;case 27:Su(t,e,n),Tu(e),a&512&&(Ql||r===null||yl(r,r.return)),r!==null&&a&4&&El(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=$l,$l=!1,Su(t,e,n),$l=o,Tu(e),a&512&&(Ql||r===null||yl(r,r.return)),e.flags&32){t=e.stateNode;try{Zt(t,``),Nt=!0}catch(t){pf(e,e.return,t)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,El(e,t,r===null?t:r.memoizedProps)),a&1024&&(eu=!0);break;case 6:if(Su(t,e,n),Tu(e),a&4){if(e.stateNode===null)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,Nt=!0}catch(t){pf(e,e.return,t)}}break;case 3:if(Nt=!1,Wm=null,o=Cu,Cu=bm(t.containerInfo),Su(t,e,n),Cu=o,Tu(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{Hh(t.containerInfo)}catch(t){pf(e,e.return,t)}eu&&(eu=!1,Eu(e)),Nt=!1;break;case 4:a=$l,$l=Zl,r=Pt(),o=Cu,Cu=bm(e.stateNode.containerInfo),Su(t,e,n),Tu(e),Cu=o,Nt&&iu&&(au=!0),Nt=r,$l=a;break;case 12:Su(t,e,n),Tu(e);break;case 31:Su(t,e,n),Tu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xu(e,t)));break;case 13:Su(t,e,n),Tu(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(pd=De()),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xu(e,t)));break;case 22:o=e.memoizedState!==null,s=r!==null&&r.memoizedState!==null;var c=Zl,l=Ql,u=$l;Zl=c||o,$l=u||o,Ql=l||s,Su(t,e,n),Ql=l,$l=u,Zl=c,Tu(e),a&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||r===null||s||Zl||Ql||(t=s||Ql,n=Zl,r=Ql,Zl=o||Zl,Ql=t,Au(e,2),Zl=n,Ql=r),!o&&$l||uu(e,o)),a&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,xu(e,n))));break;case 19:Su(t,e,n),Tu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xu(e,t)));break;case 30:a&512&&(Ql||r===null||yl(r,r.return)),a=Pt(),o=iu,s=(n&335544064)===n,c=e.memoizedProps,iu=s&&si(c.default,c.update)!==`none`,Su(t,e,n),Tu(e),s&&r!==null&&Nt&&(e.flags|=4),iu=o,Nt=a;break;case 21:break;case 7:a&512&&(Ql||r===null||yl(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:Su(t,e,n),Tu(e)}}function Tu(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Dl(r)){n=r;break}r=r.return}r=null;for(var a=e.return;a!==null;){if(wl(a)){var o=a.stateNode;r===null?r=[o]:r.push(o)}if(Cl(a))break;a=a.return}var s=r;if(n==null)throw Error(i(160));switch(n.tag){case 27:var c=n.stateNode;Al(e,Ol(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(Zt(l,``),n.flags&=-33),Al(e,Ol(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;kl(e,Ol(e),u,s);break;default:throw Error(i(161))}}catch(t){pf(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Eu(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Eu(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,gh=!0,t.reset(),gh=!1),e=e.sibling}}function Du(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Ou(t,e),t=t.sibling;else Xl(t,!1)}function Ou(e,t){var n=e.alternate;if(n===null)Hl(e,!1);else switch(e.tag){case 3:if(ou=ru=!1,Il(),Du(t,e),!ru&&!au){if(e=Fl,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];Ep(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),ou=!0}Fl=null;break;case 5:Du(t,e);break;case 4:r=ru,ru=!1,Du(t,e),ru&&(au=!0),ru=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Du(t,e):Hl(e,!1));break;case 30:r=ru,i=Il(),ru=!1,Du(t,e),ru&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=ai(a,o),o=ai(n.memoizedProps,o);var s=si(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Ll=0,t=Yl(e,n,t,o,s,a,!0),Ll!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Md(e,e.memoizedProps.onUpdate),Fl=i):i!==null&&(i.push.apply(i,Fl),Fl=i),ru=e.flags&32?!0:r;break;default:Du(t,e)}}function ku(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)lu(e,t.alternate,t),t=t.sibling}function Au(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:hl(4,n,n.return),Au(n,r);break;case 1:yl(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&_l(n,n.return,i),Au(n,r);break;case 27:r&2&&gm(n.stateNode,n.type,n.memoizedProps);case 5:yl(n,n.return),n.tag!==5&&n.tag!==27||Sl(n),Au(n,r);break;case 6:Sl(n);break;case 26:yl(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||Ql||i.parentNode.removeChild(i),Au(n,r);break;case 22:n.memoizedState===null&&Au(n,r);break;case 30:yl(n,n.return),Au(n,r);break;case 7:yl(n,n.return);default:Au(n,r)}e=e.sibling}}function ju(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:ju(i,a,n),ml(4,a);break;case 1:if(ju(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){pf(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)po(l[i],c)}catch(e){pf(r,r.return,e)}}s&&o&64&&gl(a),vl(a,a.return);break;case 27:n&2&&jl(a);case 5:a.tag!==5&&a.tag!==27||xl(a),ju(i,a,n),s&&r===null&&o&4&&Tl(a),vl(a,a.return);break;case 6:xl(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||Zl||Km(bm(c.ownerDocument),a.type,c),ju(i,a,n),s&&r===null&&o&4&&Tl(a),vl(a,a.return);break;case 12:ju(i,a,n);break;case 31:ju(i,a,n),s&&o&4&&vu(i,a);break;case 13:ju(i,a,n),s&&o&4&&yu(i,a);break;case 22:a.memoizedState===null&&ju(i,a,n),vl(a,a.return);break;case 30:ju(i,a,n),vl(a,a.return);break;case 7:vl(a,a.return);default:ju(i,a,n)}t=t.sibling}}function Mu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Sa(n))}function Nu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Sa(e))}function Pu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Fu(e,t,n,r),t=t.sibling;else i&&Jl(t)}function Fu(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&ql(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:Pu(e,t,n,r),a&2048&&ml(9,t);break;case 1:Pu(e,t,n,r);break;case 3:Pu(e,t,n,r),i&&ou&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&Sa(a)));break;case 12:if(a&2048){Pu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){pf(t,t.return,e)}}else Pu(e,t,n,r);break;case 31:Pu(e,t,n,r);break;case 13:Pu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&ql(t),o._visibility&2?Pu(e,t,n,r):(o._visibility|=2,Iu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&ql(s),o._visibility&2?Pu(e,t,n,r):Lu(e,t)),a&2048&&Mu(s,t);break;case 24:Pu(e,t,n,r),a&2048&&Nu(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&(Bl(a.child,!0),Bl(t.child,!0))),Pu(e,t,n,r);break;default:Pu(e,t,n,r)}}function Iu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Iu(a,o,s,c,i),ml(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Iu(a,o,s,c,i)):u._visibility&2?Iu(a,o,s,c,i):Lu(a,o),i&&l&2048&&Mu(o.alternate,o);break;case 24:Iu(a,o,s,c,i),i&&l&2048&&Nu(o.alternate,o);break;default:Iu(a,o,s,c,i)}t=t.sibling}}function Lu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Lu(n,r),i&2048&&Mu(r.alternate,r);break;case 24:Lu(n,r),i&2048&&Nu(r.alternate,r);break;default:Lu(n,r)}t=t.sibling}}var Ru=8192;function zu(e,t,n){if(e.subtreeFlags&Ru)for(e=e.child;e!==null;)Bu(e,t,n),e=e.sibling}function Bu(e,t,n){switch(e.tag){case 26:zu(e,t,n),e.flags&Ru&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&Zm(n,e)):Qm(n,Cu,e.memoizedState,e.memoizedProps));break;case 5:zu(e,t,n),e.flags&Ru&&(e=e.stateNode,(t&335544128)===t&&Zm(n,e));break;case 3:case 4:var r=Cu;Cu=bm(e.stateNode.containerInfo),zu(e,t,n),Cu=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ru,Ru=16777216,zu(e,t,n),Ru=r):zu(e,t,n));break;case 30:if((e.flags&Ru)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Nl===null&&(Nl=new Map),Nl.set(r,i)}zu(e,t,n);break;default:zu(e,t,n)}}function Vu(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Hu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];nu=r,Gu(r,e)}Vu(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Uu(e),e=e.sibling}function Uu(e){switch(e.tag){case 0:case 11:case 15:Hu(e),e.flags&2048&&hl(9,e,e.return);break;case 3:Hu(e);break;case 12:Hu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Wu(e)):Hu(e);break;default:Hu(e)}}function Wu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];nu=r,Gu(r,e)}Vu(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:hl(8,t,t.return),Wu(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Wu(t));break;default:Wu(t)}e=e.sibling}}function Gu(e,t){for(;nu!==null;){var n=nu;switch(n.tag){case 0:case 11:case 15:hl(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Sa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,nu=r;else a:for(n=e;nu!==null;){r=nu;var i=r.sibling,a=r.return;if(pu(r),r===n){nu=null;break a}if(i!==null){i.return=a,nu=i;break a}nu=a}}}var Ku={getCacheForType:function(e){var t=ma(ba),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ma(ba).controller.signal}},qu=typeof WeakMap==`function`?WeakMap:Map,Ju=0,Yu=null,Xu=null,Zu=0,Qu=0,$u=null,ed=!1,td=!1,nd=!1,rd=0,id=0,ad=0,od=0,sd=0,cd=0,ld=0,ud=null,dd=null,fd=!1,pd=0,md=0,hd=1/0,gd=null,_d=null,vd=0,yd=null,bd=null,xd=0,Sd=0,Cd=null,wd=null,Td=null,Ed=null,Dd=null,Od=0,kd=null;function Ad(){return Ju&2&&Zu!==0?Zu&-Zu:Y.T===null?ot():Pf()}function jd(){if(cd===0){if(!(Zu&536870912)||qi){var e=We;We<<=1,!(We&3932160)&&(We=262144),cd=e}else cd=536870912}return e=bo.current,e!==null&&(e.flags|=32),cd}function Md(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Pp(ai(e.memoizedProps,n))),Ed===null&&(Ed=[]),Ed.push(t.bind(null,r))}}function Nd(e,t,n){(e===Yu&&(Qu===2||Qu===9)||e.cancelPendingCommit!==null)&&(Bd(e,0),Ld(e,Zu,cd,!1)),$e(e,n),Ju&2&&e===Yu||(e===Yu&&(!(Ju&2)&&(od|=n),id===4&&Ld(e,Zu,cd,!1)),Ef(e))}function Pd(e,t,n){if(Ju&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||Je(e,t),a=r?Jd(e,t):Kd(e,t,!0),o=r;do{if(a===0){td&&!r&&Ld(e,t,0,!1);break}if(n=e.current.alternate,o&&!Id(n))a=Kd(e,t,!1),o=!1;else{if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=ud;var l=c.current.memoizedState.isDehydrated;if(l&&(Bd(c,s).flags|=256),s=Kd(c,s,!1),s!==2&&s!==6){if(nd&&!l){c.errorRecoveryDisabledLanes|=o,od|=o,a=4;break a}o=dd,dd=a,o!==null&&(dd===null?dd=o:dd.push.apply(dd,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Bd(e,0),Ld(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Ld(r,t,cd,!ed);break a;case 2:dd=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=pd+300-De(),10<a)){if(Ld(r,t,cd,!ed),qe(r,0,!0)!==0)break a;xd=t,r.timeoutHandle=gp(Fd.bind(null,r,n,dd,gd,fd,t,cd,od,ld,ed,o,`Throttled`,-0,0),a);break a}Fd(r,n,dd,gd,fd,t,cd,od,ld,ed,o,null,-0,0)}break}}while(1);Ef(e)}function Fd(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:on},Nl=null,Bu(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=nh.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?pd-De():(a&4194048)===a?md-De():0,m=eh(d,m),m!==null)?(xd=a,e.cancelPendingCommit=m(tf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),Ld(e,a,o,!l)):tf(e,t,a,n,r,i,o,s,c,l,u,d)}function Id(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,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(!kr(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 Ld(e,t,n,r){t=Ye(e,t),t&=~sd,t&=~od,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-ze(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&tt(e,n,t)}function Rd(){return Ju&6?!0:(Df(0,!1),!1)}function zd(){if(Xu!==null){if(Qu===0)var e=Xu.return;else e=Xu,oa=aa=null,Xo(e),Ja=null,Ya=0,e=Xu;for(;e!==null;)pl(e.alternate,e),e=e.return;Xu=null}}function Bd(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,_p(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),xd=0,zd(),Yu=e,Xu=n=Si(e.current,null),Zu=t,Qu=0,$u=null,ed=!1,td=Je(e,t),nd=!1,ld=cd=sd=od=ad=id=0,dd=ud=null,fd=!1,rd=Ye(e,t),fi(),n}function Vd(e,t){Mo=null,Y.H=oc,t===Ra||t===Ba?(t=Ka(),Qu=3):t===za?(t=Ka(),Qu=4):Qu=t===wc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,$u=t,Xu===null&&(id=1,vc(e,Ai(t,e.current)))}function Hd(){var e=bo.current;return e===null?!0:(Zu&4194048)===Zu?xo===null:(Zu&62914560)===Zu||Zu&536870912?e===xo:!1}function Ud(){var e=Y.H;return Y.H=oc,e===null?oc:e}function Wd(){var e=Y.A;return Y.A=Ku,e}function Gd(){id=4,ed||(Zu&4194048)!==Zu&&bo.current!==null||(td=!0),!(ad&134217727)&&!(od&134217727)||Yu===null||Ld(Yu,Zu,cd,!1)}function Kd(e,t,n){var r=Ju;Ju|=2;var i=Ud(),a=Wd();(Yu!==e||Zu!==t)&&(gd=null,Bd(e,t)),t=!1;var o=id;a:do try{if(Qu!==0&&Xu!==null){var s=Xu,c=$u;switch(Qu){case 8:zd(),o=6;break a;case 3:case 2:case 9:case 6:bo.current===null&&(t=!0);var l=Qu;if(Qu=0,$u=null,Qd(e,s,c,l),n&&td){o=0;break a}break;default:l=Qu,Qu=0,$u=null,Qd(e,s,c,l)}}qd(),o=id;break}catch(t){Vd(e,t)}while(1);return t&&e.shellSuspendCounter++,oa=aa=null,Ju=r,Y.H=i,Y.A=a,Xu===null&&(Yu=null,Zu=0,fi()),o}function qd(){for(;Xu!==null;)Xd(Xu)}function Jd(e,t){var n=Ju;Ju|=2;var r=Ud(),a=Wd();Yu!==e||Zu!==t?(gd=null,hd=De()+500,Bd(e,t)):td=Je(e,t);a:do try{if(Qu!==0&&Xu!==null){t=Xu;var o=$u;b:switch(Qu){case 1:Qu=0,$u=null,Qd(e,t,o,1);break;case 2:case 9:if(Ha(o)){Qu=0,$u=null,Zd(t);break}t=function(){Qu!==2&&Qu!==9||Yu!==e||(Qu=7),Ef(e)},o.then(t,t);break a;case 3:Qu=7;break a;case 4:Qu=5;break a;case 7:Ha(o)?(Qu=0,$u=null,Zd(t)):(Qu=0,$u=null,Qd(e,t,o,7));break;case 5:var s=null;switch(Xu.tag){case 26:s=Xu.memoizedState;case 5:case 27:var c=Xu;if(s?Ym(s):c.stateNode.complete){Qu=0,$u=null;var l=c.sibling;if(l!==null)Xu=l;else{var u=c.return;u===null?Xu=null:(Xu=u,$d(u))}break b}}Qu=0,$u=null,Qd(e,t,o,5);break;case 6:Qu=0,$u=null,Qd(e,t,o,6);break;case 8:zd(),id=6;break a;default:throw Error(i(462))}}Yd();break}catch(t){Vd(e,t)}while(1);return oa=aa=null,Y.H=r,Y.A=a,Ju=n,Xu===null?(Yu=null,Zu=0,fi(),id):0}function Yd(){for(;Xu!==null&&!Te();)Xd(Xu)}function Xd(e){var t=il(e.alternate,e,rd);e.memoizedProps=e.pendingProps,t===null?$d(e):Xu=t}function Zd(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Rc(n,t,t.pendingProps,t.type,void 0,Zu);break;case 11:t=Rc(n,t,t.pendingProps,t.type.render,t.ref,Zu);break;case 5:Xo(t);var r=t;r===Gi&&(qi?($i(r),r.tag===5&&r.stateNode!=null&&(Ki=r.stateNode)):($i(r),qi=!0));default:pl(n,t),t=Xu=Ci(t,rd),t=il(n,t,rd)}e.memoizedProps=e.pendingProps,t===null?$d(e):Xu=t}function Qd(e,t,n,r){oa=aa=null,Xo(t),Ja=null,Ya=0;var i=t.return;try{if(Cc(e,i,t,n,Zu)){id=1,vc(e,Ai(n,e.current)),Xu=null;return}}catch(t){if(i!==null)throw Xu=i,t;id=1,vc(e,Ai(n,e.current)),Xu=null;return}t.flags&32768?(qi||r===1?e=!0:td||Zu&536870912?e=!1:(ed=e=!0,(r===2||r===9||r===3||r===6)&&(r=bo.current,r!==null&&r.tag===13&&(r.flags|=16384))),ef(t,e)):$d(t)}function $d(e){var t=e;do{if(t.flags&32768){ef(t,ed);return}e=t.return;var n=dl(t.alternate,t,rd);if(n!==null){Xu=n;return}if(t=t.sibling,t!==null){Xu=t;return}Xu=t=e}while(t!==null);id===0&&(id=5)}function ef(e,t){do{var n=fl(e.alternate,e);if(n!==null){n.flags&=32767,Xu=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Xu=e;return}Xu=e=n}while(e!==null);id=6,Xu=null}function tf(e,t,n,r,a,o,s,c,l,u,d,f){e.cancelPendingCommit=null;do uf();while(vd!==0);if(Ju&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));e===Yu&&(Xu=Yu=null,Zu=0),bd=t,yd=e,xd=n,Cd=a,wd=r,nf(e,t,n,s,c,l,f)}}function nf(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(Sd=s,s|=di,et(e,n,s,r,i,a),Ed=null,(n&335544064)===n?(Dd=Ta(e),r=10262):(Dd=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,yf(je,function(){return df(),null})):(e.callbackNode=null,e.callbackPriority=0),Ml=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=Y.T,Y.T=null,i=X.p,X.p=2,a=Ju,Ju|=4;try{su(e,t,n)}finally{Ju=a,X.p=i,Y.T=r}}vd=1,Ml?Td=Mp(o,e.containerInfo,Dd,of,sf,af,cf,df,rf,null,null):(of(),sf(),cf())}function rf(e){if(vd!==0){var t=yd.onRecoverableError;t(e,{componentStack:null})}}function af(){vd===3&&(vd=0,Ou(bd,yd),vd=4)}function of(){if(vd===1){vd=0;var e=yd,t=bd,n=xd,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=Y.T,Y.T=null;var i=X.p;X.p=2;var a=Ju;Ju|=4;try{iu=au=!1,wu(t,e,n),n=cp;var o=Fr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Pr(s.ownerDocument.documentElement,s)){if(c!==null&&Ir(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Nr(s,h),v=Nr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}gh=!!sp,cp=sp=null}finally{Ju=a,X.p=i,Y.T=r}}e.current=t,vd=2}}function sf(){if(vd===2){vd=0;var e=yd,t=bd,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=Y.T,Y.T=null;var r=X.p;X.p=2;var i=Ju;Ju|=4;try{lu(e,t.alternate,t)}finally{Ju=i,X.p=r,Y.T=n}}vd=3}}function cf(){if(vd===4||vd===3){vd=0;var e=Td;Td=null,Ee();var t=yd,n=bd,r=xd,i=wd,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?vd=5:(vd=0,bd=yd=null,lf(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(_d=null),at(r),n=n.stateNode,Le&&typeof Le.onCommitFiberRoot==`function`)try{Le.onCommitFiberRoot(Ie,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=Y.T,a=X.p,X.p=2,Y.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{Y.T=n,X.p=a}}if(i=Ed,o=Dd,Dd=null,i!==null&&(Ed=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);xd&3&&uf(),Ef(t),a=t.pendingLanes,r&261930&&a&42?t===kd?Od++:(Od=0,kd=t):(Od=0,kd=null),Df(0,!1)}}function lf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Sa(t)))}function uf(){return Td!==null&&(Td.skipTransition(),Td=null),of(),sf(),cf(),df()}function df(){if(vd!==5)return!1;var e=yd,t=Sd;Sd=0;var n=at(xd),r=Y.T,a=X.p;try{X.p=32>n?32:n,Y.T=null,n=Cd,Cd=null;var o=yd,s=xd;if(vd=0,bd=yd=null,xd=0,Ju&6)throw Error(i(331));var c=Ju;if(Ju|=4,Uu(o.current),Fu(o,o.current,s,n),Ju=c,Df(0,!1),Le&&typeof Le.onPostCommitFiberRoot==`function`)try{Le.onPostCommitFiberRoot(Ie,o)}catch{}return!0}finally{X.p=a,Y.T=r,lf(e,t)}}function ff(e,t,n){t=Ai(n,t),t=bc(e.stateNode,t,2),e=oo(e,t,2),e!==null&&($e(e,2),Ef(e))}function pf(e,t,n){if(e.tag===3)ff(e,e,n);else for(;t!==null;){if(t.tag===3){ff(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(_d===null||!_d.has(r))){e=Ai(n,e),n=xc(2),r=oo(t,n,2),r!==null&&(Sc(n,r,t,e),$e(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new qu;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)||(nd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Yu===e&&(Zu&n)===n&&(id===4||id===3&&(Zu&62914560)===Zu&&300>De()-pd?Ju&2?sd|=n:Bd(e,0):sd|=n,ld===Zu&&(ld=0)),Ef(e)}function gf(e,t){t===0&&(t=Ze()),e=hi(e,t),e!==null&&($e(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return Ce(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-ze(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Zu,a=qe(r,r===Yu?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Je(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&hp()&&(e=Tf);for(var t=De(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}vd!==0&&vd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-ze(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Xe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Yu,n=Zu,n=qe(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Qu===2||Qu===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&we(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Je(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&we(r),at(n)){case 2:case 8:n=Ae;break;case 32:n=je;break;case 268435456:n=Ne;break;default:n=je}return r=jf.bind(null,e),n=Ce(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&we(r),e.callbackPriority=2,e.callbackNode=null,2}function jf(e,t){if(vd!==0&&vd!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(uf()&&e.callbackNode!==n)return null;var r=Zu;return r=qe(e,e===Yu?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Pd(e,r,t),Af(e,De()),e.callbackNode!=null&&e.callbackNode===n?jf.bind(null,e):null)}function Mf(e,t){if(uf())return null;Pd(e,t,!0)}function Nf(){bp(function(){Ju&6?Ce(ke,Of):kf()})}function Pf(){if(Tf===0){var e=Oa;e===0&&(e=Ue,Ue<<=1,!(Ue&261888)&&(Ue=256)),Tf=e}return Tf}function Ff(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:an(e)}function If(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Ff((i[ut]||null).action),o=r.submitter;o&&(t=(t=o[ut]||null)?Ff(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Dn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Tf!==0){var e=new FormData(i,o);Ks(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),Ks(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Lf=0;Lf<ni.length;Lf++){var Rf=ni[Lf];ri(Rf.toLowerCase(),`on`+(Rf[0].toUpperCase()+Rf.slice(1)))}ri(Jr,`onAnimationEnd`),ri(Yr,`onAnimationIteration`),ri(Xr,`onAnimationStart`),ri(`dblclick`,`onDoubleClick`),ri(`focusin`,`onFocus`),ri(`focusout`,`onBlur`),ri(Zr,`onTransitionRun`),ri(Qr,`onTransitionStart`),ri($r,`onTransitionCancel`),ri(ei,`onTransitionEnd`),Ot(`onMouseEnter`,[`mouseout`,`mouseover`]),Ot(`onMouseLeave`,[`mouseout`,`mouseover`]),Ot(`onPointerEnter`,[`pointerout`,`pointerover`]),Ot(`onPointerLeave`,[`pointerout`,`pointerover`]),Dt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Dt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Dt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Dt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Dt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Dt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var zf=`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(` `),Bf=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(zf));function Vf(e,t){t=!!(t&4);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;a=s,i.currentTarget=l;try{a(i)}catch(e){ci(e)}i.currentTarget=null,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;a=s,i.currentTarget=l;try{a(i)}catch(e){ci(e)}i.currentTarget=null,a=c}}}}function Hf(e,t){var n=t[ft];n===void 0&&(n=t[ft]=new Set);var r=e+`__bubble`;n.has(r)||(Kf(t,e,2,!1),n.add(r))}function Uf(e,t,n){var r=0;t&&(r|=4),Kf(n,e,r,t)}var Wf=`_reactListening`+Math.random().toString(36).slice(2);function Gf(e){if(!e[Wf]){e[Wf]=!0,Tt.forEach(function(t){t!==`selectionchange`&&(Bf.has(t)||Uf(t,!1,e),Uf(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wf]||(t[Wf]=!0,Uf(`selectionchange`,!1,t))}}function Kf(e,t,n,r){switch(Ch(t)){case 2:var i=_h;break;case 8:i=vh;break;default:i=yh}n=i.bind(null,t,n,e),i=void 0,!gn||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 Q(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=yt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}pn(function(){var r=a,i=cn(n),s=[];a:{var c=ti.get(e);if(c!==void 0){var l=Dn,u=e;switch(e){case`keypress`:if(Sn(n)===0)break a;case`keydown`:case`keyup`:l=Gn;break;case`focusin`:u=`focus`,l=In;break;case`focusout`:u=`blur`,l=In;break;case`beforeblur`:case`afterblur`:l=In;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`:l=Pn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Fn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Jn;break;case Jr:case Yr:case Xr:l=Ln;break;case ei:l=Yn;break;case`scroll`:case`scrollend`:l=kn;break;case`wheel`:l=Xn;break;case`copy`:case`cut`:case`paste`:l=Rn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Kn;break;case`submit`:l=qn;break;case`toggle`:case`beforetoggle`:l=Zn}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=mn(m,p),g!=null&&d.push(qf(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(l=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,l&&n!==sn&&(u=n.relatedTarget||n.fromElement)&&(yt(u)||u[dt]))break a;(c||l)&&(u=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?yt(l):null,l!==null&&(f=o(l),d=l.tag,l!==f||d!==5&&d!==27&&d!==6)&&(l=null)):(c=null,l=r),c!==l&&(d=Pn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Kn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=c==null?u:xt(c),h=l==null?u:xt(l),u=new d(g,m+`leave`,c,n,i),u.target=f,u.relatedTarget=h,g=null,yt(i)===r&&(d=new d(p,m+`enter`,l,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=c&&l?E(c,l,Yf):null,c!==null&&Xf(s,u,c,d,!1),l!==null&&f!==null&&Xf(s,f,l,d,!0)))}a:{if(c=r?xt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=_r;else if(dr(c)){if(vr)_=Dr;else{_=Tr;var v=wr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&tn(r.elementType)&&(_=_r):_=Er;if(_&&=_(e,r)){fr(s,_,n,i);break a}v&&v(e,c,r)}switch(v=r?xt(r):window,e){case`focusin`:(dr(v)||v.contentEditable===`true`)&&(Rr=v,zr=r,Br=null);break;case`focusout`:Br=zr=Rr=null;break;case`mousedown`:Vr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Vr=!1,Hr(s,n,i);break;case`selectionchange`:if(Lr)break;case`keydown`:case`keyup`:Hr(s,n,i)}var y;if($n)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else sr?ar(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(nr&&n.locale!==`ko`&&(sr||b!==`onCompositionStart`?b===`onCompositionEnd`&&sr&&(y=xn()):(vn=i,yn=`value`in vn?vn.value:vn.textContent,sr=!0)),v=Jf(r,b),0<v.length&&(b=new zn(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=or(n),y!==null&&(b.data=y)))),(y=tr?cr(e,n):lr(e,n))&&(b=Jf(r,`onBeforeInput`),0<b.length&&(v=new zn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),If(s,e,r,n,i)}Vf(s,t)})}function qf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jf(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=mn(e,n),i!=null&&r.unshift(qf(e,i,a)),i=mn(e,t),i!=null&&r.push(qf(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Yf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Xf(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(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=mn(n,a),l!=null&&o.unshift(qf(n,l,c))):i||(l=mn(n,a),l!=null&&o.push(qf(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Zf=/\r\n?/g,Qf=/\u0000|\uFFFD/g;function $f(e){return(typeof e==`string`?e:``+e).replace(Zf,`
|
|
9
|
+
`).replace(Qf,``)}function ep(e,t){return t=$f(t),$f(e)===t}function tp(e,t,n,r,a,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||Zt(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&Zt(e,``+r);else return;break;case`className`:It(e,`class`,r);break;case`tabIndex`:It(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:It(e,n,r);break;case`style`:en(e,r,o);return;case`data`:if(t!==`object`){It(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=an(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&tp(e,t,`name`,a.name,a,null),tp(e,t,`formEncType`,a.formEncType,a,null),tp(e,t,`formMethod`,a.formMethod,a,null),tp(e,t,`formTarget`,a.formTarget,a,null)):(tp(e,t,`encType`,a.encType,a,null),tp(e,t,`method`,a.method,a,null),tp(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=an(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=on);return;case`onScroll`:r!=null&&Hf(`scroll`,e);return;case`onScrollEnd`:r!=null&&Hf(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=an(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Hf(`beforetoggle`,e),Hf(`toggle`,e),Ft(e,`popover`,r);break;case`xlinkActuate`:Lt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Lt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Lt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Lt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Lt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Lt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Lt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Lt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Lt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Ft(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=nn.get(n)||n,Ft(e,n,r);else return}Nt=!0}function np(e,t,n,r,a,o){switch(n){case`style`:en(e,r,o);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)Zt(e,r);else if(typeof r==`number`||typeof r==`bigint`)Zt(e,``+r);else return;break;case`onScroll`:r!=null&&Hf(`scroll`,e);return;case`onScrollEnd`:r!=null&&Hf(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=on);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!Et.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),o=n.slice(2,a?n.length-7:void 0),t=e[ut]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(o,t,a),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,r,a);break a}Nt=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):Ft(e,n,r)}return}Nt=!0}function rp(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Hf(`error`,e),Hf(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:tp(e,t,o,s,n,null)}}a&&tp(e,t,`srcSet`,n.srcSet,n,null),r&&tp(e,t,`src`,n.src,n,null);return;case`input`:Hf(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:tp(e,t,r,d,n,null)}}Kt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Hf(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:tp(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Jt(e,!!r,n,!0):Jt(e,!!r,t,!1);return;case`textarea`:for(s in Hf(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:tp(e,t,s,c,n,null)}Xt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:tp(e,t,l,r,n,null)}return;case`dialog`:Hf(`beforetoggle`,e),Hf(`toggle`,e),Hf(`cancel`,e),Hf(`close`,e);break;case`iframe`:case`object`:Hf(`load`,e);break;case`video`:case`audio`:for(r=0;r<zf.length;r++)Hf(zf[r],e);break;case`image`:Hf(`error`,e),Hf(`load`,e);break;case`details`:Hf(`toggle`,e);break;case`embed`:case`source`:case`link`:Hf(`error`,e),Hf(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:tp(e,t,u,r,n,null)}return;default:if(tn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&np(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&tp(e,t,c,r,n,null))}var ip={};function ap(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||tp(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(Nt=!0),o=m;break;case`name`:m!==f&&(Nt=!0),a=m;break;case`checked`:m!==f&&(Nt=!0),u=m;break;case`defaultChecked`:m!==f&&(Nt=!0),d=m;break;case`value`:m!==f&&(Nt=!0),s=m;break;case`defaultValue`:m!==f&&(Nt=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&tp(e,t,p,m,r,f)}}Gt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||tp(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:o!==l&&(Nt=!0),p=o;break;case`defaultValue`:o!==l&&(Nt=!0),c=o;break;case`multiple`:o!==l&&(Nt=!0),s=o;default:o!==l&&tp(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Jt(e,!!n,n?[]:``,!1):Jt(e,!!n,t,!0)):Jt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:tp(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:a!==o&&(Nt=!0),p=a;break;case`defaultValue`:a!==o&&(Nt=!0),m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&tp(e,t,s,a,r,o)}Yt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:tp(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:p!==m&&(Nt=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:tp(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&tp(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:tp(e,t,u,p,r,m)}return;default:if(tn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&np(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||np(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&tp(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||tp(e,t,f,p,r,m)}function op(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function $(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&op(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&op(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var sp=null,cp=null;function lp(e){return e.nodeType===9?e:e.ownerDocument}function up(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function dp(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function fp(e,t,n,r){return n=lp(n).createElement(e),n[lt]=r,n[ut]=t,rp(n,e,t),Ct(n),n}function pp(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var mp=null;function hp(){var e=window.event;return e&&e.type===`popstate`?e!==mp&&(mp=e,!0):(mp=null,!1)}var gp=typeof setTimeout==`function`?setTimeout:void 0,_p=typeof clearTimeout==`function`?clearTimeout:void 0,vp=typeof Promise==`function`?Promise:void 0,yp=typeof requestAnimationFrame==`function`?requestAnimationFrame:gp,bp=typeof queueMicrotask==`function`?queueMicrotask:vp===void 0?gp:function(e){return vp.resolve(null).then(e).catch(xp)};function xp(e){setTimeout(function(){throw e})}function Sp(e){return e===`head`}function Cp(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===`/$`||n===`/&`){if(r===0){e.removeChild(i),Hh(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)_m(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,_m(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[gt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&_m(e.ownerDocument.body)}n=i}while(n);Hh(t)}function wp(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Tp(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function Ep(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Dp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Op(e){return Dp(e.getBoundingClientRect(),getComputedStyle(e),e)}function kp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Dp(t,n,e)}function Ap(e){return e.documentElement.clientHeight}function jp(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Mp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Ap(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=Xm(f),u>$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Np(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Np.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:D({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Np.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Np.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Pp(e){return{name:e,group:new Np(`group`,e),imagePair:new Np(`image-pair`,e),old:new Np(`old`,e),new:new Np(`new`,e)}}function Fp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Fp.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(Bp(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Rp(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),m(this._fragmentFiber.child,!1,Ip,e,s,r)}this._eventListeners=a}};function Ip(e,t,n,r){return b(e).addEventListener(t,n,r),!1}Fp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=Bp(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Rp(i.optionsOrUseCapture),m(this._fragmentFiber.child,!1,Lp,e,n,i),r.splice(t,1),a!==null&&a()}};function Lp(e,t,n,r){return b(e).removeEventListener(t,n,r),!1}function Rp(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function zp(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function Bp(e,t,n,r){if(e.length===0)return-1;r=zp(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&zp(a.optionsOrUseCapture)===r)return i}return-1}Fp.prototype.dispatchEvent=function(e){var t=g(this._fragmentFiber);if(t===null)return!0;t=b(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Rp(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Rp(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Fp.prototype.focus=function(e){m(this._fragmentFiber.child,!0,Vp,e,void 0,void 0)};function Vp(e,t){return e.tag!==6&&(e=b(e),pm(e,t))}Fp.prototype.focusLast=function(e){var t=[];m(this._fragmentFiber.child,!0,Hp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Vp(t[n],e);n--);};function Hp(e,t){return t.push(e),!1}Fp.prototype.blur=function(){var e=g(this._fragmentFiber);e!==null&&(e=b(e),e=lp(e).activeElement,e!==null&&m(this._fragmentFiber.child,!1,Up,e,void 0,void 0))};function Up(e,t){return e.tag!==6&&(e=b(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Fp.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),m(this._fragmentFiber.child,!1,Wp,e,void 0,void 0)};function Wp(e,t){return e.tag===6||(e=b(e),t.observe(e)),!1}Fp.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),m(this._fragmentFiber.child,!1,Gp,e,void 0,void 0);for(var n=t=0;n<Kp.length;n++){var r=Kp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):Kp[t++]=r}Kp.length=t}};function Gp(e,t){return e.tag===6||(e=b(e),t.unobserve(e)),!1}var Kp=[],qp=!1;function Jp(e,t,n){Kp.push({fragmentInstance:e,observer:t,instance:n}),qp||(qp=!0,mm(function(){qp=!1;var e=Kp;Kp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Fp.prototype.getClientRects=function(){var e=[];return m(this._fragmentFiber.child,!1,Yp,e,void 0,void 0),e};function Yp(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=b(e),t.push.apply(t,e.getClientRects());return!1}Fp.prototype.getRootNode=function(e){var t=g(this._fragmentFiber);return t===null?this:b(t).getRootNode(e)},Fp.prototype.compareDocumentPosition=function(e){var t=g(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];m(this._fragmentFiber.child,!1,Hp,n,void 0,void 0);var r=b(t);if(n.length===0){if(n=r,_(this._fragmentFiber)){a:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break a}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=v(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=b(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=b(n[0]),i=b(n[n.length-1]);var a=_(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Xp(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Xp(e,t,n,r,i){var a=yt(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=g(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=E(n,a,T),t===null?t=!1:(m(t,!0,C,a,n),a=x,x=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=E(r,a,T),t===null?t=!1:(m(t,!0,w,a,r),a=x,S=x=null,t=a!==null)),t):!1}function Zp(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Fp.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(i(566));var t=[];m(this._fragmentFiber.child,!1,Hp,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=v(this._fragmentFiber);if(r=n?r[1]||r[0]||g(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=b(r),Zp(e,n);return}if(r=b(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var a=t[r];a.tag===6?(a=b(a),Zp(a,n)):b(a).scrollIntoView(e),r+=n?-1:1}};function Qp(e,t){return e=b(e),$p(e,t),!1}function $p(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function em(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Rp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<Kp.length;i++){var a=Kp[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(Kp[r++]=a)}Kp.length=r,n.observe(e)}),$p(e,t))}function tm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Rp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?Jp(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function nm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:nm(n),vt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function rm(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[gt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=lm(e.nextSibling),e===null)break}return null}function im(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lm(e.nextSibling),e===null))return null;return e}function am(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lm(e.nextSibling),e===null))return null;return e}function om(e){return e.data===`$?`||e.data===`$~`}function sm(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cm(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function lm(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===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var um=null;function dm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lm(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function fm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function pm(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function mm(e){yp(function(){yp(function(t){return e(t)})})}function hm(e,t,n){switch(t=lp(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function gm(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&tp(e,t,r,null,ip,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===on&&(e.onclick=null),vt(e)}function _m(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);vt(e)}var vm=new Map,ym=new Set;function bm(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var xm=X.d;X.d={f:Sm,r:Cm,D:Em,C:Dm,L:Om,m:km,X:jm,S:Am,M:Mm};function Sm(){var e=xm.f(),t=Rd();return e||t}function Cm(e){var t=bt(e);t!==null&&t.tag===5&&t.type===`form`?Js(t):xm.r(e)}var wm=typeof document>`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=Wt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),rp(t,`link`,e),Ct(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+Wt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Wt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Wt(n.imageSizes)+`"]`)):i+=`[href="`+Wt(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=D({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);rp(o,`link`,e),t===`style`&&(o[_t]=!0,o.onload=o.onerror=function(){wt(o)}),Ct(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Wt(r)+`"][href="`+Wt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=D({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),rp(r,`link`,e),Ct(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=St(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=D({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Ct(c),rp(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=St(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=D({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ct(a),rp(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=St(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=D({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ct(a),rp(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var a=(a=ue.current)?bm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=St(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=St(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=St(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Pm(e){return`href="`+Wt(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[_t]){r.loading=1;return}}else t=e.createElement(`link`),t[_t]=!0,t.onload=t.onerror=wt.bind(null,t),rp(t,`link`,n),Ct(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+Wt(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Wt(n.href)+`"]`);if(r)return t.instance=r,Ct(r),r;var a=D({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ct(r),rp(r,`style`,a),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Pm(n.href);var o=e.querySelector(Fm(a));if(o)return t.state.loading|=4,t.instance=o,Ct(o),o;r=Im(n),(a=vm.get(a))&&Hm(r,a),o=(e.ownerDocument||e).createElement(`link`),Ct(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),rp(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(a=e.querySelector(zm(o)))?(t.instance=a,Ct(a),a):(r=n,(a=vm.get(o))&&(r=D({},n),Um(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ct(a),rp(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Hm(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Um(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Wm=null;function Gm(e,t,n){if(Wm===null){var r=new Map,i=Wm=new Map;i.set(n,r)}else i=Wm,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[gt]||a[lt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Km(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ct(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Ct(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),rp(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&$m===0&&($m=62500*$());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=nh.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var sh={$$typeof:F,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function ch(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qe(0),this.hiddenUpdates=Qe(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function lh(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ch(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=bi(3,null,null,t),e.current=a,a.stateNode=e,t=xa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ro(a),e}function uh(e){return e?(e=vi,e):vi}function dh(e,t,n,r,i,a){i=uh(i),r.context===null?r.context=i:r.pendingContext=i,r=ao(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=oo(e,r,t),n!==null&&(Nd(n,e,t),so(n,e,t))}function fh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ph(e,t){fh(e,t),(e=e.alternate)&&fh(e,t)}function mh(e){if(e.tag===13||e.tag===31){var t=hi(e,67108864);t!==null&&Nd(t,e,67108864),ph(e,67108864)}}function hh(e){if(e.tag===13||e.tag===31){var t=Ad();t=it(t);var n=hi(e,t);n!==null&&Nd(n,e,t),ph(e,t)}}var gh=!0;function _h(e,t,n,r){var i=Y.T;Y.T=null;var a=X.p;try{X.p=2,yh(e,t,n,r)}finally{X.p=a,Y.T=i}}function vh(e,t,n,r){var i=Y.T;Y.T=null;var a=X.p;try{X.p=8,yh(e,t,n,r)}finally{X.p=a,Y.T=i}}function yh(e,t,n,r){if(gh){var i=bh(r);if(i===null)Q(e,t,r,xh,n),Mh(e,r);else if(Ph(i,e,t,n,r))r.stopPropagation();else if(Mh(e,r),t&4&&-1<jh.indexOf(e)){for(;i!==null;){var a=bt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ke(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-ze(o);s.entanglements[1]|=c,o&=~c}Ef(a),!(Ju&6)&&(hd=De()+500,Df(0,!1))}}break;case 31:case 13:s=hi(a,2),s!==null&&Nd(s,a,2),Rd(),ph(a,2)}if(a=bh(r),a===null&&Q(e,t,r,xh,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Q(e,t,r,null,n)}}function bh(e){return e=cn(e),Sh(e)}var xh=null;function Sh(e){if(xh=null,e=yt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(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 xh=e,null}function Ch(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`fullscreenerror`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Oe()){case ke:return 2;case Ae:return 8;case je:case Me:return 32;case Ne:return 268435456;default:return 32}default:return 32}}var wh=!1,Th=null,Eh=null,Dh=null,Oh=new Map,kh=new Map,Ah=[],jh=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Mh(e,t){switch(e){case`focusin`:case`focusout`:Th=null;break;case`dragenter`:case`dragleave`:Eh=null;break;case`mouseover`:case`mouseout`:Dh=null;break;case`pointerover`:case`pointerout`:Oh.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:kh.delete(t.pointerId)}}function Nh(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=bt(t),t!==null&&mh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ph(e,t,n,r,i){switch(t){case`focusin`:return Th=Nh(Th,e,t,n,r,i),!0;case`dragenter`:return Eh=Nh(Eh,e,t,n,r,i),!0;case`mouseover`:return Dh=Nh(Dh,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Oh.set(a,Nh(Oh.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,kh.set(a,Nh(kh.get(a)||null,e,t,n,r,i)),!0}return!1}function Fh(e){var t=yt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,st(e.priority,function(){hh(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,st(e.priority,function(){hh(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 Ih(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bh(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);sn=r,n.target.dispatchEvent(r),sn=null}else return t=bt(n),t!==null&&mh(t),e.blockedOn=n,!1;t.shift()}return!0}function Lh(e,t,n){Ih(e)&&n.delete(t)}function Rh(){wh=!1,Th!==null&&Ih(Th)&&(Th=null),Eh!==null&&Ih(Eh)&&(Eh=null),Dh!==null&&Ih(Dh)&&(Dh=null),Oh.forEach(Lh),kh.forEach(Lh)}function zh(e,n){e.blockedOn===n&&(e.blockedOn=null,wh||(wh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Rh)))}var Bh=null;function Vh(e){Bh!==e&&(Bh=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Bh===e&&(Bh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Sh(r||n)===null)continue;break}var a=bt(n);a!==null&&(e.splice(t,3),t-=3,Ks(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Hh(e){function t(t){return zh(t,e)}Th!==null&&zh(Th,e),Eh!==null&&zh(Eh,e),Dh!==null&&zh(Dh,e),Oh.forEach(t),kh.forEach(t);for(var n=0;n<Ah.length;n++){var r=Ah[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ah.length&&(n=Ah[0],n.blockedOn===null);)Fh(n),n.blockedOn===null&&Ah.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ut]||null;if(typeof a==`function`)o||Vh(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ut]||null)s=o.formAction;else if(Sh(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Vh(n)}}}function Uh(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Wh(e){this._internalRoot=e}Gh.prototype.render=Wh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;dh(n,Ad(),e,t,null,null)},Gh.prototype.unmount=Wh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dh(e.current,2,null,e,null,null),Rd(),t[dt]=null}};function Gh(e){this._internalRoot=e}Gh.prototype.unstable_scheduleHydration=function(e){if(e){var t=ot();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ah.length&&t!==0&&t<Ah[n].priority;n++);Ah.splice(n,0,e),n===0&&Fh(e)}};var Kh=n.version;if(Kh!==`19.3.1`)throw Error(i(527,Kh,`19.3.1`));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var qh={bundleType:0,version:`19.3.1`,rendererPackageName:`react-dom`,currentDispatcherRef:Y,reconcilerVersion:`19.3.1`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Jh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jh.isDisabled&&Jh.supportsFiber)try{Ie=Jh.inject(qh),Le=Jh}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=hc,s=gc,c=_c;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=lh(e,1,!1,null,null,n,r,null,o,s,c,Uh),e[dt]=t.current,Gf(e),new Wh(t)}})),_=o(((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=g()})),v=o((e=>{var t=d().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;e.c=function(e){return t.H.useMemoCache(e)}})),y=o(((e,t)=>{t.exports=v()})),b=l(d(),1),x=Object.defineProperty,S=(e,t)=>x(e,`name`,{value:t,configurable:!0});function C(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}S(C,`setRef`);function w(...e){return t=>{let n=!1,r=e.map(e=>{let r=C(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():C(e[t],null)}}}}S(w,`composeRefs`);function T(...e){return b.useCallback(w(...e),e)}S(T,`useComposedRefs`);var E=Object.defineProperty,D=(e,t)=>E(e,`name`,{value:t,configurable:!0});function O(e){let t=b.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];r=B(r),b.Children.forEach(r,e=>{if(I(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;for(;R(n)&&typeof U==`function`;)n=U(n._payload);a=N(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=b.cloneElement(a,void 0,s):!o&&b.Children.count(r)===1&&b.isValidElement(r)&&(a=r);let c=a?F(a):void 0,l=T(n,c);if(!a){if(r||r===0)throw Error(o?ee(e):H(e));return r}let u=P(i,a.props??{});return a.type!==b.Fragment&&(u.ref=n?l:c),b.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}D(O,`createSlot`);var k=O(`Slot`),A=Symbol.for(`radix.slottable`);function j(e){let t=D(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=A,t}D(j,`createSlottable`);var M=j(`Slottable`),N=D((e,t)=>`child`in e.props?b.isValidElement(t)?b.cloneElement(t,void 0,e.props.children(t.props.children)):null:b.isValidElement(t)?t:null,`getSlottableElementFromSlottable`);function P(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`?n[r]=[i,a].filter(Boolean).join(` `):r===`aria-describedby`&&(n[r]=V(a,i))}return{...e,...n}}D(P,`mergeProps`);function F(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}D(F,`getElementRef`);function I(e){return b.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===A}D(I,`isSlottable`);var L=Symbol.for(`react.lazy`);function R(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===L&&`_payload`in e&&z(e._payload)}D(R,`isLazyComponent`);function z(e){return typeof e==`object`&&!!e&&`then`in e}D(z,`isPromiseLike`);function B(e){let t=e;for(;R(t)&&typeof U==`function`;)t=U(t._payload);return t}D(B,`useUnwrappedLazy`);function V(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}D(V,`concatAriaDescribedby`);var H=D(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),ee=D(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),U=b.use,W=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),G=o(((e,t)=>{t.exports=W()})),K=l(h(),1),q=G(),J=Object.defineProperty,te=(e,t)=>J(e,`name`,{value:t,configurable:!0}),Y=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=O(`Primitive.${t}`),r=b.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,q.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function X(e,t){e&&K.flushSync(()=>e.dispatchEvent(t))}te(X,`dispatchDiscreteCustomEvent`);var ne=Object.defineProperty,re=(e,t)=>ne(e,`name`,{value:t,configurable:!0}),ie=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),ae=b.forwardRef(re(function(e,t){return(0,q.jsx)(Y.span,{...e,ref:t,style:{...ie,...e.style}})},`VisuallyHidden`)),oe=Object.defineProperty,se=(e,t)=>oe(e,`name`,{value:t,configurable:!0});function ce(e,t){let n=b.createContext(t);n.displayName=e+`Context`;let r=se(e=>{let{children:t,...r}=e,i=b.useMemo(()=>r,Object.values(r));return(0,q.jsx)(n.Provider,{value:i,children:t})},`Provider`);r.displayName=e+`Provider`;function i(r,i={}){let{optional:a=!1}=i,o=b.useContext(n);if(o)return o;if(t!==void 0)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return se(i,`useContext`),[r,i]}se(ce,`createContext`);function le(e,t=[]){let n=[];function r(t,r){let i=b.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=se(t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=b.useMemo(()=>o,Object.values(o));return(0,q.jsx)(s.Provider,{value:c,children:r})},`Provider`);o.displayName=t+`Provider`;function s(n,o,s={}){let{optional:c=!1}=s,l=o?.[e]?.[a]||i,u=b.useContext(l);if(u)return u;if(r!==void 0)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return se(s,`useContext`),[o,s]}se(r,`createContext`);let i=se(()=>{let t=n.map(e=>b.createContext(e));return se(function(n){let r=n?.[e]||t;return b.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return i.scopeName=e,[r,ue(i,...t)]}se(le,`createContextScope`);function ue(...e){let t=e[0];if(e.length===1)return t;let n=se(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return se(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}se(ue,`composeContextScopes`);var Z=globalThis?.document?b.useLayoutEffect:()=>{},de=Object.defineProperty,fe=(e,t)=>de(e,`name`,{value:t,configurable:!0});function pe(e){let t=e+`CollectionProvider`,[n,r]=le(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=fe(e=>{let{scope:t,children:n}=e,r=b.useRef(null),a=b.useRef(new Map).current;return(0,q.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})},`CollectionProvider`);o.displayName=t;let s=e+`CollectionSlot`,c=O(s),l=b.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=T(t,a(s,n).collectionRef);return(0,q.jsx)(c,{ref:i,children:r})});l.displayName=s;let u=e+`CollectionItemSlot`,d=`data-radix-collection-item`,f=O(u),p=b.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=b.useRef(null),s=T(t,o),c=a(u,n);return b.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,q.jsx)(f,{[d]:``,ref:s,children:r})});p.displayName=u;function m(t){let n=a(e+`CollectionConsumer`,t);return b.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return fe(m,`useCollection`),[{Provider:o,Slot:l,ItemSlot:p},m,r]}fe(pe,`createCollection`);var me=new WeakMap,he=class e extends Map{static{fe(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],me.set(this,!0)}set(e,t){return me.get(this)&&!this.has(e)&&this.#e.push(e),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=r?this.size:this.size+1,a=ve(e),o=a>=0?Math.min(a,i-1):Math.max(i+a,0);if(r?this.#e.indexOf(t)===o:o===this.size)return this.set(t,n),this;let s=this.#e.filter(e=>e!==t);s.splice(o,0,t);let c=s.map(e=>[e,e===t?n:this.get(e)]);this.clear();for(let[e,t]of c)this.set(e,t);return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);if(r===-1)return this;let i=this.#e.indexOf(t),a=i!==-1&&i<r?r-1:r;return this.insert(a,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);if(r===-1)return this;let i=this.#e.indexOf(t),a=i!==-1&&i<=r?r:r+1;return this.insert(a,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=ge(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=ge(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return ge(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=e.length>1;if(!r&&this.size===0)throw TypeError(`Reduce of empty OrderedDict with no initial value`);let i=0,a=n;for(let e of this)a=i===0&&!r?e:Reflect.apply(t,this,[a,e,i,this]),i++;return a}reduceRight(...e){let[t,n]=e,r=e.length>1;if(!r&&this.size===0)throw TypeError(`Reduce of empty OrderedDict with no initial value`);let i=n;for(let e=this.size-1;e>=0;e--){let n=this.entryAt(e);i=e===this.size-1&&!r?n:Reflect.apply(t,this,[i,n,e,this])}return i}sort(e){if(typeof e!=`function`)throw TypeError(`OrderedDict.sort requires a compare function`);let t=[...this.entries()].sort(e);this.clear();for(let[e,n]of t)this.set(e,n);return this}toSorted(t){if(typeof t!=`function`)throw TypeError(`OrderedDict.toSorted requires a compare function`);let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e;for(let e of this.#e.slice(t,n))r.set(e,this.get(e));return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function ge(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=_e(e,t);return n===-1?void 0:e[n]}fe(ge,`at`);function _e(e,t){let n=e.length,r=ve(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}fe(_e,`toSafeIndex`);function ve(e){return e!==e||e===0?0:Math.trunc(e)}fe(ve,`toSafeInteger`);function ye(e){let t=e+`CollectionProvider`,[n,r]=le(t),[i,a]=n(t);i.displayName=e+`CollectionStableContextProvider`;let[o,s]=n(t);o.displayName=e+`CollectionStatefulContextProvider`;let c=fe(({state:e,...t})=>e?(0,q.jsx)(u,{...t,state:e}):(0,q.jsx)(l,{...t}),`CollectionProvider`);c.displayName=t;let l=fe(e=>{let t=_();return(0,q.jsx)(u,{...e,state:t})},`CollectionInit`);l.displayName=e+`CollectionInit`;let u=fe(e=>{let{scope:t,children:n,state:r}=e,a=b.useRef(null),[s,c]=b.useState(null),l=T(a,c),[u,d]=r,f=b.useRef(new he),p=b.useCallback(()=>{let e=f.current;return Se(e)||e.sort(Ce),e},[]);return b.useEffect(()=>{if(!s)return;let e=we(()=>{d(e=>{let t=e.toSorted(Ce);return t.some(([t],n)=>e.keyAt(n)!==t)?t:e})});return e.observe(s,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[s,d]),(0,q.jsx)(i,{scope:t,collectionElementRef:l,collectionElementRefObject:a,getCollection:p,setCollection:d,registryRef:f,children:(0,q.jsx)(o,{scope:t,collectionElement:s,collection:u,children:n})})},`CollectionProviderImpl`);u.displayName=e+`CollectionProviderImpl`;let d=e+`CollectionSlot`,f=O(d),p=b.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=T(t,a(d,n).collectionElementRef);return(0,q.jsx)(f,{ref:i,children:r})});p.displayName=d;let m=e+`CollectionItemSlot`,h=O(m),g=b.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=b.useRef(null),{setCollection:s,registryRef:c}=a(m,n),l=b.useRef(i);be(l.current,i)||(l.current=i);let u=l.current,d=T(t,b.useCallback(e=>{let t=c.current;e?t.set(e,{...l.current,element:e}):o.current&&t.delete(o.current)},[c]),o);Z(()=>{let e=o.current,t=c.current;e&&t.has(e)&&t.set(e,{...u,element:e})},[u,c]);let f=b.useRef(null);return b.useEffect(()=>{let e=o.current,t=f.current;((t?.element??null)!==e||e&&t?.itemData!==u)&&(f.current=e?{element:e,itemData:u}:null,s(n=>{let r=new he(n);return t&&t.element!==e&&r.delete(t.element),e&&r.set(e,{...u,element:e}),r.sort(Ce)}))}),b.useEffect(()=>()=>{let e=f.current;f.current=null,e&&s(t=>{if(!t.has(e.element))return t;let n=new he(t);return n.delete(e.element),n})},[s]),(0,q.jsx)(h,{"data-radix-collection-item":``,ref:d,children:r})});g.displayName=m;function _(){return b.useState(new he)}fe(_,`useInitCollection`);function v(t){let{collection:n}=s(e+`CollectionConsumer`,t);return n}fe(v,`useCollection`);function y(t){let{getCollection:n}=a(e+`CollectionConsumer`,t);return n}return fe(y,`useGetCollection`),[{Provider:c,Slot:p,ItemSlot:g},{createCollectionScope:r,useCollection:v,useGetCollection:y,useInitCollection:_}]}fe(ye,`createCollection`);function be(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}fe(be,`shallowEqual`);function xe(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}fe(xe,`isElementPreceding`);function Se(e){let t;for(let n of e.keys()){if(t){let e=t.compareDocumentPosition(n);if(!(e&Node.DOCUMENT_POSITION_DISCONNECTED)&&e&Node.DOCUMENT_POSITION_PRECEDING)return!1}t=n}return!0}fe(Se,`isInDocumentOrder`);function Ce(e,t){return!e[1].element||!t[1].element?0:xe(e[1].element,t[1].element)?-1:1}fe(Ce,`sortByDocumentPosition`);function we(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}fe(we,`getChildListObserver`);var Te=Object.defineProperty,Ee=(e,t)=>Te(e,`name`,{value:t,configurable:!0}),De=!!(typeof window<`u`&&window.document&&window.document.createElement);function Oe(e,t,{checkForDefaultPrevented:n=!0}={}){return Ee(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}Ee(Oe,`composeEventHandlers`);function ke(e){if(!De)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}Ee(ke,`getOwnerWindow`);function Ae(e){if(!De)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}Ee(Ae,`getOwnerDocument`);function je(e,t=!1){let{activeElement:n}=Ae(e);if(!n?.nodeName)return null;if(Me(n)&&n.contentDocument)return je(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=Ae(n).getElementById(e);if(t)return t}}return n}Ee(je,`getActiveElement`);function Me(e){return e.tagName===`IFRAME`}Ee(Me,`isFrame`);var Ne=Object.defineProperty,Pe=(e,t)=>Ne(e,`name`,{value:t,configurable:!0}),Fe=b.useEffectEvent,Ie=b.useInsertionEffect;function Le(e){if(typeof Fe==`function`)return Fe(e);let t=b.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof Ie==`function`?Ie(()=>{t.current=e}):Z(()=>{t.current=e}),b.useMemo(()=>((...e)=>t.current?.(...e)),[])}Pe(Le,`useEffectEvent`);var Re=Object.defineProperty,ze=(e,t)=>Re(e,`name`,{value:t,configurable:!0}),Be=b.useInsertionEffect||Z;function Ve({prop:e,defaultProp:t,onChange:n=ze(()=>{},`onChange`),caller:r}){let[i,a,o]=He({defaultProp:t,onChange:n}),s=e!==void 0;return[s?e:i,b.useCallback(t=>{if(s){let n=Ue(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}ze(Ve,`useControllableState`);function He({defaultProp:e,onChange:t}){let[n,r]=b.useState(e),i=b.useRef(n),a=b.useRef(t);return Be(()=>{a.current=t},[t]),b.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}ze(He,`useUncontrolledState`);function Ue(e){return typeof e==`function`}ze(Ue,`isFunction`);var We=Symbol(`RADIX:SYNC_STATE`);function Ge(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:s}=t,c=i!==void 0,l=Le(o),u=[{...n,state:a}];r&&u.push(r);let[d,f]=b.useReducer((t,n)=>{if(n.type===We)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&l(r.state),r},...u),p=d.state,m=b.useRef(p);b.useEffect(()=>{m.current!==p&&(m.current=p,c||l(p))},[p,m,c]);let h=b.useMemo(()=>i===void 0?d:{...d,state:i},[d,i]);return b.useEffect(()=>{c&&!Object.is(i,d.state)&&f({type:We,state:i})},[i,d.state,c]),[h,f]}ze(Ge,`useControllableStateReducer`);var Ke=Object.defineProperty,qe=(e,t)=>Ke(e,`name`,{value:t,configurable:!0});function Je(e,t){return b.useReducer((e,n)=>t[e][n]??e,e)}qe(Je,`useStateMachine`);var Ye=qe(e=>{let{present:t,children:n}=e,r=Xe(t),i=typeof n==`function`?n({present:r.isPresent}):b.Children.only(n),a=Qe(r.ref,et(i));return typeof n==`function`||r.isPresent?b.cloneElement(i,{ref:a}):null},`Presence`);function Xe(e){let[t,n]=b.useState(),r=b.useRef(null),i=b.useRef(e),a=b.useRef(`none`),o=b.useRef(void 0),[s,c]=Je(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return b.useEffect(()=>{s===`mounted`?(a.current=o.current??$e(r.current),o.current=void 0):a.current=`none`},[s]),Z(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=$e(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),Z(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=qe(a=>{let o=$e(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=qe(e=>{e.target===t&&(a.current=$e(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:b.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=$e(t)}else r.current=null;n(e)},[])}}qe(Xe,`usePresence`);function Ze(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}qe(Ze,`setRef`);function Qe(...e){let t=b.useRef(e);return t.current=e,b.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=Ze(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():Ze(n[e],null)}}},[])}qe(Qe,`useStableComposedRefs`);function $e(e){return e?.animationName||`none`}qe($e,`getAnimationName`);function et(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}qe(et,`getElementRef`);var tt=Object.defineProperty,nt=(e,t)=>tt(e,`name`,{value:t,configurable:!0}),rt=b.useId||(()=>void 0),it=0;function at(e){let[t,n]=b.useState(rt());return Z(()=>{e||n(e=>e??String(it++))},[e]),e||(t?`radix-${t}`:``)}nt(at,`useId`);var ot=s({Collapsible:()=>mt,CollapsibleContent:()=>vt,CollapsibleTrigger:()=>gt,Content:()=>vt,Root:()=>mt,Trigger:()=>gt,createCollapsibleScope:()=>dt}),st=Object.defineProperty,ct=(e,t)=>st(e,`name`,{value:t,configurable:!0}),lt=`Collapsible`,[ut,dt]=le(lt),[ft,pt]=ut(lt),mt=b.forwardRef(ct(function(e,t){let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,l]=Ve({prop:r,defaultProp:i??!1,onChange:o,caller:lt});return(0,q.jsx)(ft,{scope:n,disabled:a,contentId:at(),open:c,onOpenToggle:b.useCallback(()=>l(e=>!e),[l]),children:(0,q.jsx)(Y.div,{"data-state":bt(c),"data-disabled":a?``:void 0,...s,ref:t})})},`Collapsible`)),ht=`CollapsibleTrigger`,gt=b.forwardRef(ct(function(e,t){let{__scopeCollapsible:n,...r}=e,i=pt(ht,n);return(0,q.jsx)(Y.button,{type:`button`,"aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":bt(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:Oe(e.onClick,i.onOpenToggle)})},`CollapsibleTrigger`)),_t=`CollapsibleContent`,vt=b.forwardRef(ct(function(e,t){let{forceMount:n,...r}=e,i=pt(_t,e.__scopeCollapsible);return(0,q.jsx)(Ye,{present:n||i.open,children:({present:e})=>(0,q.jsx)(yt,{...r,ref:t,present:e})})},`CollapsibleContent`)),yt=b.forwardRef(ct(function(e,t){let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=pt(_t,n),[s,c]=b.useState(r),l=b.useRef(null),u=T(t,l),d=b.useRef(0),f=d.current,p=b.useRef(0),m=p.current,h=o.open||s,g=b.useRef(h),_=b.useRef(void 0);return b.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),Z(()=>{let e=l.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();d.current=t.height,p.current=t.width,g.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),c(r)}},[o.open,r]),(0,q.jsx)(Y.div,{"data-state":bt(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!h,...a,ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style},children:h&&i})},`CollapsibleContentImpl`));function bt(e){return e?`open`:`closed`}ct(bt,`getState`);var xt=Object.defineProperty,St=(e,t)=>xt(e,`name`,{value:t,configurable:!0}),Ct={LTR:`ltr`,RTL:`rtl`},wt=b.createContext(void 0);function Tt(e){let t=b.useContext(wt);return e||t||Ct.LTR}St(Tt,`useDirection`);var Et=Object.defineProperty,Dt=(e,t)=>Et(e,`name`,{value:t,configurable:!0}),Ot=b.useInsertionEffect;function kt(e){let t=b.useRef(e);return typeof Ot==`function`?Ot(()=>{t.current=e}):Z(()=>{t.current=e}),b.useMemo(()=>((...e)=>t.current?.(...e)),[])}Dt(kt,`useCallbackRef`);var At=Object.defineProperty,jt=(e,t)=>At(e,`name`,{value:t,configurable:!0}),Mt=`dismissableLayer.update`,Nt=`dismissableLayer.pointerDownOutside`,Pt=`dismissableLayer.focusOutside`,Ft,It=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Lt=b.forwardRef(jt(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:c,...l}=e,u=b.useContext(It),[d,f]=b.useState(null),p=d?.ownerDocument??globalThis?.document,[,m]=b.useState({}),h=T(t,f),g=Array.from(u.layers),[_]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=_?g.indexOf(_):-1,y=d?g.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,S=y>=v,C=b.useRef(!1),w=Vt(e=>{a?.(e),s?.(e),e.defaultPrevented||c?.()},{ownerDocument:p,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:b.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...u.branches].some(t=>t.contains(e));return S&&!t},[u.branches,S])}),E=Ht(e=>{if(r&&C.current)return;let t=e.target;[...u.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||c?.())},p),D=d?y===g.length-1:!1,O=kt(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))});return b.useEffect(()=>{if(D)return p.addEventListener(`keydown`,O,{capture:!0}),()=>p.removeEventListener(`keydown`,O,{capture:!0})},[p,D,O]),b.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ft=p.body.style.pointerEvents,p.body.style.pointerEvents=`none`),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Ut(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=Ft))}},[d,p,n,u]),b.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Ut())},[d,u]),b.useEffect(()=>{let e=jt(()=>m({}),`handleUpdate`);return document.addEventListener(Mt,e),()=>document.removeEventListener(Mt,e)},[]),(0,q.jsx)(Y.div,{...l,ref:h,style:{pointerEvents:x?S?`auto`:`none`:void 0,...e.style},onFocusCapture:Oe(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Oe(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Oe(e.onPointerDownCapture,w.onPointerDownCapture)})},`DismissableLayer`)),Rt=b.forwardRef(jt(function(e,t){let n=b.useContext(It),r=b.useRef(null),i=T(t,r);return b.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,q.jsx)(Y.div,{...e,ref:i})},`DismissableLayerBranch`));function zt(){let e=b.useContext(It),[t,n]=b.useState(null);return b.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}jt(zt,`useDismissableLayerSurface`);var Bt=jt(()=>!0,`IS_TRUE`);function Vt(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=Bt}=t,s=kt(e),c=b.useRef(!1),l=b.useRef(!1),u=b.useRef(new Map),d=b.useRef(()=>{});return b.useEffect(()=>{function e(){l.current=!1,i.current=!1,u.current.clear()}jt(e,`resetOutsideInteraction`);function t(){return Array.from(u.current.values()).some(Boolean)}jt(t,`isOutsideInteractionIntercepted`);function f(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||u.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{l.current&&d.current()},0)}jt(f,`handleInteractionCapture`);function p(e){l.current&&u.current.set(e.type,!1)}jt(p,`handleInteractionBubble`);let m=jt(a=>{if(a.target&&!c.current){let f=function(){n.removeEventListener(`click`,d.current);let r=t();e(),r||Wt(Nt,s,p,{discrete:!0})};if(jt(f,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,d.current),e(),c.current=!1;return}let p={originalEvent:a};l.current=!0,i.current=r&&a.button===0,u.current.clear(),!r||a.button!==0?f():(n.removeEventListener(`click`,d.current),d.current=f,n.addEventListener(`click`,d.current,{once:!0}))}else n.removeEventListener(`click`,d.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,f,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,d.current);for(let e of h)n.removeEventListener(e,f,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:jt(()=>c.current=!0,`onPointerDownCapture`)}}jt(Vt,`usePointerDownOutside`);function Ht(e,t=globalThis?.document){let n=kt(e),r=b.useRef(!1);return b.useEffect(()=>{let e=jt(e=>{e.target&&!r.current&&Wt(Pt,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:jt(()=>r.current=!0,`onFocusCapture`),onBlurCapture:jt(()=>r.current=!1,`onBlurCapture`)}}jt(Ht,`useFocusOutside`);function Ut(){let e=new CustomEvent(Mt);document.dispatchEvent(e)}jt(Ut,`dispatchUpdate`);function Wt(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?X(i,a):i.dispatchEvent(a)}jt(Wt,`handleAndDispatchCustomEvent`);var Gt=Object.defineProperty,Kt=(e,t)=>Gt(e,`name`,{value:t,configurable:!0}),qt=`focusScope.autoFocusOnMount`,Jt=`focusScope.autoFocusOnUnmount`,Yt={bubbles:!1,cancelable:!0},Xt=b.forwardRef(Kt(function(e,t){let{loop:n=!1,trapped:r=!1,branches:i,onMountAutoFocus:a,onUnmountAutoFocus:o,...s}=e,[c,l]=b.useState(null),u=kt(a),d=kt(o),f=b.useRef(null),p=T(t,l),m=b.useRef(i);b.useEffect(()=>{m.current=i});let h=b.useCallback(e=>e?c?.contains(e)?!0:!!m.current?.some(t=>t.contains(e)):!1,[c]),g=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let e=function(e){if(g.paused||!c)return;let t=e.target;h(t)?f.current=t:cn(f.current,{select:!0})},t=function(e){if(g.paused||!c)return;let t=e.relatedTarget;t!==null&&(h(t)||cn(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&cn(c)};Kt(e,`handleFocusIn`),Kt(t,`handleFocusOut`),Kt(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,c,g.paused,h]),b.useEffect(()=>{if(c){ln.add(g);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(qt,Yt);c.addEventListener(qt,u),c.dispatchEvent(t),t.defaultPrevented||(tn(fn(rn(c)),{select:!0}),document.activeElement===e&&cn(c))}return()=>{c.removeEventListener(qt,u);let t=c.ownerDocument,n=CustomEvent;setTimeout(()=>{let r=new n(Jt,Yt);c.addEventListener(Jt,d),c.dispatchEvent(r),r.defaultPrevented||cn(e??t.body,{select:!0}),c.removeEventListener(Jt,d),ln.remove(g)},0)}}},[c,u,d,g]);let _=b.useCallback(e=>{if(!n&&!r||g.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=nn(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&cn(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&cn(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,g.paused]);return(0,q.jsx)(Y.div,{tabIndex:-1,...s,ref:p,onKeyDown:_})},`FocusScope`)),Zt=b.createContext(null);function Qt({registry:e,children:t}){return e?(0,q.jsx)(Zt.Provider,{value:e,children:t}):t}Kt(Qt,`FocusScopeBranchProvider`);function $t(){let[e,t]=b.useState([]);return{nodes:e,registry:b.useMemo(()=>({add:Kt(e=>t(t=>t.includes(e)?t:[...t,e]),`add`),remove:Kt(e=>t(t=>t.filter(t=>t!==e)),`remove`)}),[])}}Kt($t,`useFocusScopeBranchRegistry`);function en(e){let t=b.useContext(Zt);b.useEffect(()=>{if(e&&t)return t.add(e),()=>t.remove(e)},[e,t])}Kt(en,`useFocusScopeBranch`);function tn(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(cn(r,{select:t}),document.activeElement!==n)return}Kt(tn,`focusFirst`);function nn(e){let t=rn(e);return[an(t,e),an(t.reverse(),e)]}Kt(nn,`getTabbableEdges`);function rn(e){let t=[],n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:Kt(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}Kt(rn,`getTabbableCandidates`);function an(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):on(r,{upTo:t})))return r}Kt(an,`findVisible`);function on(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}Kt(on,`isHidden`);function sn(e){return e.tagName===`INPUT`&&typeof e.select==`function`}Kt(sn,`isSelectableInput`);function cn(e,{select:t=!1}={}){if(e&&e.focus){let n=(e.ownerDocument??document).activeElement;e.focus({preventScroll:!0}),e!==n&&sn(e)&&t&&e.select()}}Kt(cn,`focus`);var ln=un();function un(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=dn(e,t),e.unshift(t)},remove(t){e=dn(e,t),e[0]?.resume()}}}Kt(un,`createFocusScopesStack`);function dn(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}Kt(dn,`arrayRemove`);function fn(e){return e.filter(e=>e.tagName!==`A`)}Kt(fn,`removeLinks`);var pn=Object.defineProperty,mn=b.forwardRef(((e,t)=>pn(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=b.useState(!1);Z(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?K.createPortal((0,q.jsx)(Y.div,{...r,ref:t}),o):null},`Portal`)),hn=Object.defineProperty,gn=(e,t)=>hn(e,`name`,{value:t,configurable:!0}),_n=0,vn=null;function yn(e){return bn(),e.children}gn(yn,`FocusGuards`);function bn(){b.useEffect(()=>{vn||={start:xn(),end:xn()};let{start:e,end:t}=vn;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),_n++,()=>{_n===1&&(vn?.start.remove(),vn?.end.remove(),vn=null),_n=Math.max(0,_n-1)}},[])}gn(bn,`useFocusGuards`);function xn(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}gn(xn,`createFocusGuard`);var Sn=function(){return Sn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Sn.apply(this,arguments)};function Cn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function wn(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Tn=`right-scroll-bar-position`,En=`width-before-scroll-bar`,Dn=`with-scroll-bars-hidden`,On=`--removed-body-scroll-bar-size`;function kn(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function An(e,t){var n=(0,b.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var jn=typeof window<`u`?b.useLayoutEffect:b.useEffect,Mn=new WeakMap;function Nn(e,t){var n=An(t||null,function(t){return e.forEach(function(e){return kn(e,t)})});return jn(function(){var t=Mn.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||kn(e,null)}),i.forEach(function(e){r.has(e)||kn(e,a)})}Mn.set(n,e)},[e]),n}function Pn(e){return e}function Fn(e,t){t===void 0&&(t=Pn);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function In(e){e===void 0&&(e={});var t=Fn(null);return t.options=Sn({async:!0,ssr:!1},e),t}var Ln=function(e){var t=e.sideCar,n=Cn(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return b.createElement(r,Sn({},n))};Ln.isSideCarExport=!0;function Rn(e,t){return e.useMedium(t),Ln}var zn=In(),Bn=function(){},Vn=b.forwardRef(function(e,t){var n=b.useRef(null),r=b.useState({onScrollCapture:Bn,onWheelCapture:Bn,onTouchMoveCapture:Bn}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,_=e.as,v=_===void 0?`div`:_,y=e.gapMode,x=Cn(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=f,C=Nn([n,t]),w=Sn(Sn({},x),i);return b.createElement(b.Fragment,null,u&&b.createElement(S,{sideCar:zn,removeScrollBar:l,shards:d,noRelative:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n,gapMode:y}),o?b.cloneElement(b.Children.only(s),Sn(Sn({},w),{ref:C})):b.createElement(v,Sn({},w,{className:c,ref:C}),s))});Vn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Vn.classNames={fullWidth:En,zeroRight:Tn};var Hn=function(){if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Un(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=Hn();return t&&e.setAttribute(`nonce`,t),e}function Wn(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Gn(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var Kn=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Un())&&(Wn(t,n),Gn(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},qn=function(){var e=Kn();return function(t,n){b.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Jn=function(){var e=qn();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Yn={left:0,top:0,right:0,gap:0},Xn=function(e){return parseInt(e||``,10)||0},Zn=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Xn(n),Xn(r),Xn(i)]},Qn=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return Yn;var t=Zn(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},$n=Jn(),er=`data-scroll-locked`,tr=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
|
|
10
|
+
.${Dn} {
|
|
11
|
+
overflow: hidden ${r};
|
|
12
|
+
padding-right: ${s}px ${r};
|
|
13
|
+
}
|
|
14
|
+
body[${er}] {
|
|
15
|
+
overflow: hidden ${r};
|
|
16
|
+
overscroll-behavior: contain;
|
|
17
|
+
${[t&&`position: relative ${r};`,n===`margin`&&`
|
|
18
|
+
padding-left: ${i}px;
|
|
19
|
+
padding-top: ${a}px;
|
|
20
|
+
padding-right: ${o}px;
|
|
21
|
+
margin-left:0;
|
|
22
|
+
margin-top:0;
|
|
23
|
+
margin-right: ${s}px ${r};
|
|
24
|
+
`,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.${Tn} {
|
|
28
|
+
right: ${s}px ${r};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.${En} {
|
|
32
|
+
margin-right: ${s}px ${r};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.${Tn} .${Tn} {
|
|
36
|
+
right: 0 ${r};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.${En} .${En} {
|
|
40
|
+
margin-right: 0 ${r};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
body[${er}] {
|
|
44
|
+
${On}: ${s}px;
|
|
45
|
+
}
|
|
46
|
+
`},nr=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},rr=function(){b.useEffect(function(){return document.body.setAttribute(er,(nr()+1).toString()),function(){var e=nr()-1;e<=0?document.body.removeAttribute(er):document.body.setAttribute(er,e.toString())}},[])},ir=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;rr();var a=b.useMemo(function(){return Qn(i)},[i]);return b.createElement($n,{styles:tr(a,!t,i,n?``:`!important`)})},ar=!1;if(typeof window<`u`)try{var or=Object.defineProperty({},"passive",{get:function(){return ar=!0,!0}});window.addEventListener(`test`,or,or),window.removeEventListener(`test`,or,or)}catch{ar=!1}var sr=ar?{passive:!1}:!1,cr=function(e){return e.tagName===`TEXTAREA`},lr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!cr(e)&&n[t]===`visible`)},ur=function(e){return lr(e,`overflowY`)},dr=function(e){return lr(e,`overflowX`)},fr=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),hr(e,r)){var i=gr(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},pr=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},mr=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},hr=function(e,t){return e===`v`?ur(t):dr(t)},gr=function(e,t){return e===`v`?pr(t):mr(t)},_r=function(e,t){return e===`h`&&t===`rtl`?-1:1},vr=function(e,t,n,r,i){var a=_r(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=gr(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&hr(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},yr=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},br=function(e){return[e.deltaX,e.deltaY]},xr=function(e){return e&&`current`in e?e.current:e},Sr=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Cr=function(e){return`
|
|
47
|
+
.block-interactivity-${e} {pointer-events: none;}
|
|
48
|
+
.allow-interactivity-${e} {pointer-events: all;}
|
|
49
|
+
`},wr=0,Tr=[];function Er(e){var t=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),i=b.useState(wr++)[0],a=b.useState(Jn)[0],o=b.useRef(e);b.useEffect(function(){o.current=e},[e]),b.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=wn([e.lockRef.current],(e.shards||[]).map(xr),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=b.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=yr(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=fr(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=fr(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return vr(h,t,e,h===`h`?s:c,!0)},[]),c=b.useCallback(function(e){var n=e;if(Tr.length&&Tr[Tr.length-1]===a){var r=`deltaY`in n?br(n):yr(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Sr(e.delta,r)})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var c=(o.current.shards||[]).map(xr).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=b.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:Dr(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=b.useCallback(function(e){n.current=yr(e),r.current=void 0},[]),d=b.useCallback(function(t){l(t.type,br(t),t.target,s(t,e.lockRef.current))},[]),f=b.useCallback(function(t){l(t.type,yr(t),t.target,s(t,e.lockRef.current))},[]);b.useEffect(function(){return Tr.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener(`wheel`,c,sr),document.addEventListener(`touchmove`,c,sr),document.addEventListener(`touchstart`,u,sr),function(){Tr=Tr.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,sr),document.removeEventListener(`touchmove`,c,sr),document.removeEventListener(`touchstart`,u,sr)}},[]);var p=e.removeScrollBar,m=e.inert;return b.createElement(b.Fragment,null,m?b.createElement(a,{styles:Cr(i)}):null,p?b.createElement(ir,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Dr(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Or=Rn(zn,Er),kr=b.forwardRef(function(e,t){return b.createElement(Vn,Sn({},e,{ref:t,sideCar:Or}))});kr.classNames=Vn.classNames;var Ar=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},jr=new WeakMap,Mr=new WeakMap,Nr={},Pr=0,Fr=function(e){return e&&(e.host||Fr(e.parentNode))},Ir=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Fr(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Lr=function(e,t,n,r){var i=Ir(t,Array.isArray(e)?e:[e]);Nr[n]||(Nr[n]=new WeakMap);var a=Nr[n],o=[],s=new Set,c=new Set(i),l=function(e){e&&!s.has(e)&&(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(jr.get(e)||0)+1,l=(a.get(e)||0)+1;jr.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Mr.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Pr++,function(){o.forEach(function(e){var t=jr.get(e)-1,i=a.get(e)-1;jr.set(e,t),a.set(e,i),t||(Mr.has(e)||e.removeAttribute(r),Mr.delete(e)),i||e.removeAttribute(n)}),Pr--,Pr||(jr=new WeakMap,jr=new WeakMap,Mr=new WeakMap,Nr={})}},Rr=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||Ar(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Lr(r,i,n,`aria-hidden`)):function(){return null}},zr=Object.defineProperty,Br=(e,t)=>zr(e,`name`,{value:t,configurable:!0}),Vr=`Dialog`,[Hr,Ur]=le(Vr),[Wr,Gr]=Hr(Vr),Kr=Br(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=b.useRef(null),c=b.useRef(null),{nodes:l,registry:u}=$t(),[d,f]=Ve({prop:r,defaultProp:i??!1,onChange:a,caller:Vr}),[p,m]=b.useState(0),[h,g]=b.useState(0);return(0,q.jsx)(Wr,{scope:t,triggerRef:s,contentRef:c,contentId:at(),titleId:at(),descriptionId:at(),titlePresent:p>0,descriptionPresent:h>0,setTitleCount:m,setDescriptionCount:g,open:d,onOpenChange:f,onOpenToggle:b.useCallback(()=>f(e=>!e),[f]),modal:o,branchNodes:l,branchRegistry:u,children:n})},`Dialog`),qr=`DialogTrigger`,Jr=b.forwardRef(Br(function(e,t){let{__scopeDialog:n,...r}=e,i=Gr(qr,n),a=T(t,i.triggerRef);return(0,q.jsx)(Y.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":pi(i.open),...r,ref:a,onClick:Oe(e.onClick,i.onOpenToggle)})},`DialogTrigger`)),Yr=`DialogPortal`,[Xr,Zr]=Hr(Yr,{forceMount:void 0}),Qr=Br(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=Gr(Yr,t);return(0,q.jsx)(Xr,{scope:t,forceMount:n,children:b.Children.map(r,e=>(0,q.jsx)(Ye,{present:n||a.open,children:(0,q.jsx)(mn,{asChild:!0,container:i,children:e})}))})},`DialogPortal`),$r=`DialogOverlay`,ei=b.forwardRef(Br(function(e,t){let n=Zr($r,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Gr($r,e.__scopeDialog);return a.modal?(0,q.jsx)(Ye,{present:r||a.open,children:(0,q.jsx)(ni,{...i,ref:t})}):null},`DialogOverlay`)),ti=O(`DialogOverlay.RemoveScroll`),ni=b.forwardRef(Br(function(e,t){let{__scopeDialog:n,...r}=e,i=Gr($r,n),a=T(t,zt());return(0,q.jsx)(kr,{as:ti,allowPinchZoom:!0,shards:b.useMemo(()=>[i.contentRef,...i.branchNodes.map(e=>({current:e}))],[i.contentRef,i.branchNodes]),children:(0,q.jsx)(Y.div,{"data-state":pi(i.open),...r,ref:a,style:{pointerEvents:`auto`,...r.style}})})},`DialogOverlayImpl`)),ri=`DialogContent`,ii=b.forwardRef(Br(function(e,t){let n=Zr(ri,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Gr(ri,e.__scopeDialog);return(0,q.jsx)(Ye,{present:r||a.open,children:a.modal?(0,q.jsx)(ai,{...i,ref:t}):(0,q.jsx)(oi,{...i,ref:t})})},`DialogContent`)),ai=b.forwardRef(Br(function(e,t){let n=Gr(ri,e.__scopeDialog),r=b.useRef(null),i=T(t,n.contentRef,r);return b.useEffect(()=>{let e=r.current;if(e)return Rr(e)},[]),(0,q.jsx)(si,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:Oe(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Oe(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:Oe(e.onFocusOutside,e=>e.preventDefault())})},`DialogContentModal`)),oi=b.forwardRef(Br(function(e,t){let n=Gr(ri,e.__scopeDialog),r=b.useRef(!1),i=b.useRef(!1);return(0,q.jsx)(si,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`DialogContentNonModal`)),si=b.forwardRef(Br(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,"aria-describedby":o,children:s,...c}=e,l=Gr(ri,n);return bn(),(0,q.jsx)(Qt,{registry:l.branchRegistry,children:(0,q.jsx)(Xt,{asChild:!0,loop:!0,trapped:r,branches:l.branchNodes,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,q.jsx)(Lt,{role:`dialog`,id:l.contentId,"aria-labelledby":l.titlePresent?l.titleId:void 0,"aria-describedby":l.descriptionPresent?fi(o,l.descriptionId):o,"data-state":pi(l.open),...c,ref:t,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1),children:s})})})},`DialogContentImpl`)),ci=b.forwardRef(Br(function(e,t){let{__scopeDialog:n,...r}=e,i=Gr(`DialogTitle`,n),{setTitleCount:a}=i;return Z(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,q.jsx)(Y.h2,{id:i.titleId,...r,ref:t})},`DialogTitle`)),li=b.forwardRef(Br(function(e,t){let{__scopeDialog:n,...r}=e,i=Gr(`DialogDescription`,n),{setDescriptionCount:a}=i;return Z(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,q.jsx)(Y.p,{id:i.descriptionId,...r,ref:t})},`DialogDescription`)),ui=`DialogClose`,di=b.forwardRef(Br(function(e,t){let{__scopeDialog:n,...r}=e,i=Gr(ui,n);return(0,q.jsx)(Y.button,{type:`button`,...r,ref:t,onClick:Oe(e.onClick,()=>i.onOpenChange(!1))})},`DialogClose`));function fi(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}Br(fi,`concatAriaDescribedby`);function pi(e){return e?`open`:`closed`}Br(pi,`getState`);var mi=Object.defineProperty,hi=(e,t)=>mi(e,`name`,{value:t,configurable:!0}),[gi,_i]=le(`AlertDialog`,[Ur]),vi=Ur(),yi=hi(e=>{let{__scopeAlertDialog:t,...n}=e,r=vi(t);return(0,q.jsx)(Kr,{...r,...n,modal:!0})},`AlertDialog`),bi=b.forwardRef(hi(function(e,t){let{__scopeAlertDialog:n,...r}=e,i=vi(n);return(0,q.jsx)(Jr,{...i,...r,ref:t})},`AlertDialogTrigger`)),xi=hi(e=>{let{__scopeAlertDialog:t,...n}=e,r=vi(t);return(0,q.jsx)(Qr,{...r,...n})},`AlertDialogPortal`),Si=b.forwardRef(hi(function(e,t){let{__scopeAlertDialog:n,...r}=e,i=vi(n);return(0,q.jsx)(ei,{...i,...r,ref:t})},`AlertDialogOverlay`)),[Ci,wi]=gi(`AlertDialogContent`),Ti=b.forwardRef(hi(function(e,t){let{__scopeAlertDialog:n,children:r,...i}=e,a=vi(n),o=T(t,b.useRef(null)),s=b.useRef(null);return(0,q.jsx)(Ci,{scope:n,cancelRef:s,children:(0,q.jsx)(ii,{role:`alertdialog`,...a,...i,ref:o,onOpenAutoFocus:Oe(i.onOpenAutoFocus,e=>{e.preventDefault(),s.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:r})})},`AlertDialogContent`)),Ei=b.forwardRef(hi(function(e,t){let{__scopeAlertDialog:n,...r}=e,i=vi(n);return(0,q.jsx)(ci,{...i,...r,ref:t})},`AlertDialogTitle`)),Di=b.forwardRef(hi(function(e,t){let{__scopeAlertDialog:n,...r}=e,i=vi(n);return(0,q.jsx)(li,{...i,...r,ref:t})},`AlertDialogDescription`)),Oi=b.forwardRef(hi(function(e,t){let{__scopeAlertDialog:n,...r}=e,i=vi(n);return(0,q.jsx)(di,{...i,...r,ref:t})},`AlertDialogAction`)),ki=`AlertDialogCancel`,Ai=b.forwardRef(hi(function(e,t){let{__scopeAlertDialog:n,...r}=e,{cancelRef:i}=wi(ki,n),a=vi(n),o=T(t,i);return(0,q.jsx)(di,{...a,...r,ref:o})},`AlertDialogCancel`)),ji=Object.defineProperty,Mi=(e,t)=>ji(e,`name`,{value:t,configurable:!0});function Ni(e){let[t,n]=b.useState(void 0);return Z(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=0,r=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;let i=r[0];window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{let t,r;if(`borderBoxSize`in i){let e=i.borderBoxSize,n=Array.isArray(e)?e[0]:e;t=n.inlineSize,r=n.blockSize}else t=e.offsetWidth,r=e.offsetHeight;n({width:t,height:r})})});return r.observe(e,{box:`border-box`}),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}n(void 0)},[e]),t}Mi(Ni,`useSize`);var Pi=Object.defineProperty,Fi=(e,t)=>Pi(e,`name`,{value:t,configurable:!0}),Ii=`Checkbox`,[Li,Ri]=le(Ii),[zi,Bi]=Li(Ii);function Vi(e){let{__scopeCheckbox:t,checked:n,children:r,defaultChecked:i,disabled:a,form:o,name:s,onCheckedChange:c,required:l,value:u=`on`,internal_do_not_use_render:d}=e,[f,p]=Ve({prop:n,defaultProp:i??!1,onChange:c,caller:Ii}),[m,h]=b.useState(null),[g,_]=b.useState(null),[v,y]=b.useState(null),x=!m||!!o||!!m.closest(`form`),S={checked:f,disabled:a,setChecked:p,control:m,setControl:h,name:s,form:o,value:u,userClick:v,onUserClick:y,required:l,defaultChecked:!Xi(i)&&i,isFormControl:x,bubbleInput:g,setBubbleInput:_};return(0,q.jsx)(zi,{scope:t,...S,children:Yi(d)?d(S):r})}Fi(Vi,`CheckboxProvider`);var Hi=`CheckboxTrigger`,Ui=b.forwardRef(Fi(function({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},i){let{control:a,value:o,disabled:s,checked:c,required:l,setControl:u,setChecked:d,onUserClick:f,isFormControl:p,bubbleInput:m}=Bi(Hi,e),h=T(i,u),g=b.useRef(c);return b.useEffect(()=>{let e=a?.form;if(e){let t=Fi(()=>d(g.current),`reset`);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[a,d]),(0,q.jsx)(Y.button,{type:`button`,role:`checkbox`,"aria-checked":Xi(c)?`mixed`:c,"aria-required":l,"data-state":Zi(c),"data-disabled":s?``:void 0,disabled:s,value:o,...r,ref:h,onKeyDown:Oe(t,e=>{e.key===`Enter`&&e.preventDefault()}),onClick:Oe(n,e=>{let t=e.isPropagationStopped();f({requestedChecked:Xi(c)?!0:!c,hasConsumerStoppedPropagation:t}),d(e=>Xi(e)?!0:!e),m&&p&&(t||e.stopPropagation())})})},`CheckboxTrigger`)),Wi=b.forwardRef(Fi(function(e,t){let{__scopeCheckbox:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c,onCheckedChange:l,form:u,...d}=e;return(0,q.jsx)(Vi,{__scopeCheckbox:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:l,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Ui,{...d,ref:t,__scopeCheckbox:n}),e&&(0,q.jsx)(Ji,{__scopeCheckbox:n})]})})},`Checkbox`)),Gi=`CheckboxIndicator`,Ki=b.forwardRef(Fi(function(e,t){let{__scopeCheckbox:n,forceMount:r,...i}=e,a=Bi(Gi,n);return(0,q.jsx)(Ye,{present:r||Xi(a.checked)||a.checked===!0,children:(0,q.jsx)(Y.span,{"data-state":Zi(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t,style:{pointerEvents:`none`,...e.style}})})},`CheckboxIndicator`)),qi=`CheckboxBubbleInput`,Ji=b.forwardRef(Fi(function({__scopeCheckbox:e,onClick:t,...n},r){let{control:i,userClick:a,checked:o,defaultChecked:s,required:c,disabled:l,name:u,value:d,form:f,bubbleInput:p,setBubbleInput:m}=Bi(qi,e),h=T(r,m),g=Ni(i),_=b.useRef(!1),v=b.useRef(o),y=b.useRef(a),x=b.useRef(null);b.useEffect(()=>{let e=p;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set;if(!n)return;let r=v.current!==o;v.current=o;let i=a!==null&&a!==y.current;if(y.current=a,i)x.current=r?null:a,r&&(e.indeterminate=Xi(o),n.call(e,!Xi(o)&&o)),e.dispatchEvent(new Event(`click`,{bubbles:!a.hasConsumerStoppedPropagation}));else if(r){let t=x.current;x.current=null;let r=t?.requestedChecked===o;_.current=!0,e.indeterminate=Xi(o),n.call(e,!Xi(o)&&o),e.dispatchEvent(new Event(`click`,{bubbles:!(r&&t.hasConsumerStoppedPropagation)})),_.current=!1}},[p,o,a]);let S=b.useRef(!Xi(o)&&o);return(0,q.jsx)(Y.input,{type:`checkbox`,"aria-hidden":!0,defaultChecked:s??S.current,required:c,disabled:l,name:u,value:d,form:f,...n,tabIndex:-1,ref:h,onClick:Oe(t,e=>{_.current&&e.stopPropagation()}),style:{...n.style,...g,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})},`CheckboxBubbleInput`));function Yi(e){return typeof e==`function`}Fi(Yi,`isFunction`);function Xi(e){return e===`indeterminate`}Fi(Xi,`isIndeterminate`);function Zi(e){return Xi(e)?`indeterminate`:e?`checked`:`unchecked`}Fi(Zi,`getState`);var Qi=[`top`,`right`,`bottom`,`left`],$i=Math.min,ea=Math.max,ta=Math.round,na=Math.floor,ra=e=>({x:e,y:e}),ia={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function aa(e,t,n){return ea(e,$i(t,n))}function oa(e,t){return typeof e==`function`?e(t):e}function sa(e){return e.split(`-`)[0]}function ca(e){return e.split(`-`)[1]}function la(e){return e===`x`?`y`:`x`}function ua(e){return e===`y`?`height`:`width`}function da(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function fa(e){return la(da(e))}function pa(e,t,n){n===void 0&&(n=!1);let r=ca(e),i=fa(e),a=ua(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Sa(o)),[o,Sa(o)]}function ma(e){let t=Sa(e);return[ha(e),t,ha(t)]}function ha(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var ga=[`left`,`right`],_a=[`right`,`left`],va=[`top`,`bottom`],ya=[`bottom`,`top`];function ba(e,t,n){switch(e){case`top`:case`bottom`:return n?t?_a:ga:t?ga:_a;case`left`:case`right`:return t?va:ya;default:return[]}}function xa(e,t,n,r){let i=ca(e),a=ba(sa(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(ha)))),a}function Sa(e){let t=sa(e);return ia[t]+e.slice(t.length)}function Ca(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function wa(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Ca(e)}function Ta(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 Ea(e,t,n){let{reference:r,floating:i}=e,a=da(t),o=fa(t),s=ua(o),c=sa(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}}let m=ca(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Da(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}=oa(t,e),p=wa(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ta(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=Ta(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 Oa=50,ka=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Da},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Ea(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Oa&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Ea(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Aa=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}=oa(e,t)||{};if(l==null)return{};let d=wa(u),f={x:n,y:r},p=fa(i),m=ua(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=$i(d[_],T),D=$i(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=aa(E,k,O),j=!c.arrow&&ca(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,M=j?k<E?k-E:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),ja=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}=oa(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=sa(r),_=da(o),v=sa(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Sa(o)]:ma(o)),x=p!==`none`;!d&&x&&b.push(...xa(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=pa(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`||_===da(t)||T.every(e=>da(e.placement)!==_||e.overflows[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=da(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}if(r!==n)return{reset:{placement:n}}}return{}}}};function Ma(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Na(e){return Qi.some(t=>e[t]>=0)}var Pa=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=oa(e,t);switch(i){case`referenceHidden`:{let e=Ma(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Na(e)}}}case`escaped`:{let e=Ma(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Na(e)}}}default:return{}}}}},Fa=new Set([`left`,`top`]);async function Ia(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=sa(n),s=ca(n),c=da(n)===`y`,l=Fa.has(o)?-1:1,u=a&&c?-1:1,d=oa(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 La=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 Ia(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}}}}},Ra=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=oa(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=da(i),p=la(f),m=u[p],h=u[f],g=(e,t)=>aa(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},za=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}=oa(e,t),u={x:n,y:r},d=da(i),f=la(d),p=u[f],m=u[d],h=oa(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};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=Fa.has(sa(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}}}},Ba=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=oa(e,t),c=await i.detectOverflow(t,s),l=sa(n),u=ca(n),d=da(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=$i(p-c[m],g),y=$i(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*ea(c.left,c.right):S=p-2*ea(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function Va(){return typeof window<`u`}function Ha(e){return Ga(e)?(e.nodeName||``).toLowerCase():`#document`}function Ua(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wa(e){return((Ga(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Ga(e){return Va()?e instanceof Node||e instanceof Ua(e).Node:!1}function Ka(e){return Va()?e instanceof Element||e instanceof Ua(e).Element:!1}function qa(e){return Va()?e instanceof HTMLElement||e instanceof Ua(e).HTMLElement:!1}function Ja(e){return!Va()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Ua(e).ShadowRoot}function Ya(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=oo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Xa(e){return/^(table|td|th)$/.test(Ha(e))}function Za(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Qa=/transform|translate|scale|rotate|perspective|filter/,$a=/paint|layout|strict|content/,eo=e=>!!e&&e!==`none`,to;function no(e){let t=Ka(e)?oo(e):e;return eo(t.transform)||eo(t.translate)||eo(t.scale)||eo(t.rotate)||eo(t.perspective)||!io()&&(eo(t.backdropFilter)||eo(t.filter))||Qa.test(t.willChange||``)||$a.test(t.contain||``)}function ro(e){let t=co(e);for(;qa(t)&&!ao(t);){if(no(t))return t;if(Za(t))return null;t=co(t)}return null}function io(){return to??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),to}function ao(e){return/^(html|body|#document)$/.test(Ha(e))}function oo(e){return Ua(e).getComputedStyle(e)}function so(e){return Ka(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function co(e){if(Ha(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Ja(e)&&e.host||Wa(e);return Ja(t)?t.host:t}function lo(e){let t=co(e);return ao(t)?(e.ownerDocument||e).body:qa(t)&&Ya(t)?t:lo(t)}function uo(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=lo(e),i=r===e.ownerDocument?.body,a=Ua(r);if(i){let e=fo(a);return t.concat(a,a.visualViewport||[],Ya(r)?r:[],e&&n?uo(e):[])}return t.concat(r,uo(r,[],n))}function fo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function po(e){let t=oo(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=qa(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ta(n)!==a||ta(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function mo(e){return Ka(e)?e:e.contextElement}function ho(e){let t=mo(e);if(!qa(t))return ra(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=po(t),o=(a?ta(n.width):n.width)/r,s=(a?ta(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var go=ra(0);function _o(e){let t=Ua(e);return!io()||!t.visualViewport?go:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vo(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Ua(e)}function yo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=mo(e),o=ra(1);t&&(r?Ka(r)&&(o=ho(r)):o=ho(e));let s=vo(a,n,r)?_o(a):ra(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&&r){let e=Ua(a),t=Ka(r)?Ua(r):r,n=e,i=fo(n);for(;i&&t!==n;){let e=ho(i),t=i.getBoundingClientRect(),r=oo(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=Ua(i),i=fo(n)}}return Ta({width:u,height:d,x:c,y:l})}function bo(e,t){let n=so(e).scrollLeft;return t?t.left+n:yo(Wa(e)).left+n}function xo(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-bo(e,n),y:n.top+t.scrollTop}}function So(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Wa(r),s=t?Za(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ra(1),u=ra(0),d=qa(r);if((d||!a)&&((Ha(r)!==`body`||Ya(o))&&(c=so(r)),d)){let e=yo(r);l=ho(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?xo(o,c):ra(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 Co(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function wo(e){let t=so(e),n=e.ownerDocument.body,r=ea(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=ea(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+bo(e),o=-t.scrollTop;return oo(n).direction===`rtl`&&(a+=ea(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var To=25;function Eo(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=Ua(e),a=Wa(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!io()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(bo(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=To&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Do(e,t){let n=yo(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=ho(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Oo(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Eo(e,n,t);else if(t===`document`)r=wo(Wa(e));else if(Ka(t))r=Do(t,n);else{let n=_o(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ta(r)}function ko(e,t){let n=t.get(e);if(n)return n;let r=uo(e,[],!1).filter(e=>Ka(e)&&Ha(e)!==`body`),i=null,a=oo(e).position===`fixed`,o=a?co(e):e;for(;Ka(o)&&!ao(o);){let e=oo(o),t=no(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=co(o)}return t.set(e,r),r}function Ao(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Za(t)?[]:ko(t,this._c):[].concat(n),r],o=Oo(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Oo(t,a[e],i);s=ea(n.top,s),c=$i(n.right,c),l=$i(n.bottom,l),u=ea(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function jo(e){let{width:t,height:n}=po(e);return{width:t,height:n}}function Mo(e,t,n){let r=qa(t),i=Wa(t),a=n===`fixed`,o=yo(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ra(0);if((r||!a)&&((Ha(t)!==`body`||Ya(i))&&(s=so(t)),r)){let e=yo(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=bo(i));let l=i&&!r&&!a?xo(i,s):ra(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function No(e){return oo(e).position===`static`}function Po(e,t){if(!qa(e)||oo(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Wa(e)===n&&(n=n.ownerDocument.body),n}function Fo(e,t){let n=Ua(e);if(Za(e))return n;if(!qa(e)){let t=co(e);for(;t&&!ao(t);){if(Ka(t)&&!No(t))return t;t=co(t)}return n}let r=Po(e,t);for(;r&&Xa(r)&&No(r);)r=Po(r,t);return r&&ao(r)&&No(r)&&!no(r)?n:r||ro(e)||n}var Io=async function(e){let t=this.getOffsetParent||Fo,n=this.getDimensions,r=await n(e.floating);return{reference:Mo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Lo(e){return oo(e).direction===`rtl`}var Ro={convertOffsetParentRelativeRectToViewportRelativeRect:So,getDocumentElement:Wa,getClippingRect:Ao,getOffsetParent:Fo,getElementRects:Io,getClientRects:Co,getDimensions:jo,getScale:ho,isElement:Ka,isRTL:Lo};function zo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Bo(e,t,n){let r=null,i,a=Wa(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=na(d),h=na(a.clientWidth-(u+f)),g=na(a.clientHeight-(d+p)),_=na(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:ea(0,$i(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!zo(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=Ua(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Vo(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=mo(e),u=i||a?[...l?uo(l):[],...t?uo(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Bo(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?yo(e):null;c&&g();function g(){let t=yo(e);h&&!zo(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Ho=La,Uo=Ra,Wo=ja,Go=Ba,Ko=Pa,qo=Aa,Jo=za,Yo=(e,t,n)=>{let r=new Map,i=n??{},a={...Ro,...i.platform,_c:r};return ka(e,t,{...i,platform:a})},Xo=typeof document<`u`?b.useLayoutEffect:function(){};function Zo(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Zo(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Zo(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Qo(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $o(e,t){let n=Qo(e);return Math.round(t*n)/n}function es(e){let t=b.useRef(e);return Xo(()=>{t.current=e}),t}function ts(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=b.useState(r);Zo(f,r)||p(r);let[m,h]=b.useState(null),[g,_]=b.useState(null),v=b.useCallback(e=>{e!==C.current&&(C.current=e,h(e))},[]),y=b.useCallback(e=>{e!==w.current&&(w.current=e,_(e))},[]),x=a||m,S=o||g,C=b.useRef(null),w=b.useRef(null),T=b.useRef(u),E=c!=null,D=es(c),O=es(i),k=es(l),A=b.useCallback(()=>{if(!C.current||!w.current)return;let e={placement:t,strategy:n,middleware:f};O.current&&(e.platform=O.current),Yo(C.current,w.current,e).then(e=>{let t={...e,isPositioned:k.current!==!1};j.current&&!Zo(T.current,t)&&(T.current=t,K.flushSync(()=>{d(t)}))})},[f,t,n,O,k]);Xo(()=>{l===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let j=b.useRef(!1);Xo(()=>(j.current=!0,()=>{j.current=!1}),[]),Xo(()=>{if(x&&(C.current=x),S&&(w.current=S),x&&S){if(D.current)return D.current(x,S,A);A()}},[x,S,A,D,E]);let M=b.useMemo(()=>({reference:C,floating:w,setReference:v,setFloating:y}),[v,y]),N=b.useMemo(()=>({reference:x,floating:S}),[x,S]),P=b.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=$o(N.floating,u.x),r=$o(N.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...Qo(N.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,N.floating,u.x,u.y]);return b.useMemo(()=>({...u,update:A,refs:M,elements:N,floatingStyles:P}),[u,A,M,N,P])}var ns=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:qo({element:r.current,padding:i}).fn(n):r?qo({element:r,padding:i}).fn(n):{}}}},rs=(e,t)=>{let n=Ho(e);return{name:n.name,fn:n.fn,options:[e,t]}},is=(e,t)=>{let n=Uo(e);return{name:n.name,fn:n.fn,options:[e,t]}},as=(e,t)=>({fn:Jo(e).fn,options:[e,t]}),os=(e,t)=>{let n=Wo(e);return{name:n.name,fn:n.fn,options:[e,t]}},ss=(e,t)=>{let n=Go(e);return{name:n.name,fn:n.fn,options:[e,t]}},cs=(e,t)=>{let n=Ko(e);return{name:n.name,fn:n.fn,options:[e,t]}},ls=(e,t)=>{let n=ns(e);return{name:n.name,fn:n.fn,options:[e,t]}},us=Object.defineProperty,ds=b.forwardRef(((e,t)=>us(e,`name`,{value:t,configurable:!0}))(function(e,t){let{children:n,width:r=10,height:i=5,...a}=e;return(0,q.jsx)(Y.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,q.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})},`Arrow`)),fs=Object.defineProperty,ps=(e,t)=>fs(e,`name`,{value:t,configurable:!0}),ms={Partial:`partial`,Always:`always`},hs={Optimized:`optimized`,Always:`always`},gs=`Popper`,[_s,vs]=le(gs),[ys,bs]=_s(gs),xs=ps(e=>{let{__scopePopper:t,children:n}=e,[r,i]=b.useState(null),[a,o]=b.useState(void 0);return(0,q.jsx)(ys,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:o,children:n})},`Popper`),Ss=`PopperAnchor`,Cs=b.forwardRef(ps(function(e,t){let{__scopePopper:n,virtualRef:r,...i}=e,a=bs(Ss,n),o=b.useRef(null),s=a.onAnchorChange,c=T(t,b.useCallback(e=>{o.current=e,e&&s(e)},[s])),l=b.useRef(null);b.useEffect(()=>{if(!r)return;let e=l.current;l.current=r.current,e!==l.current&&s(l.current)});let u=a.placementState&&Ns(a.placementState),d=u?.[0],f=u?.[1];return r?null:(0,q.jsx)(Y.div,{"data-radix-popper-side":d,"data-radix-popper-align":f,...i,ref:c})},`PopperAnchor`)),ws=`PopperContent`,[Ts,Es]=_s(ws),Ds=b.forwardRef(ps(function(e,t){let{__scopePopper:n,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d=ms.Partial,hideWhenDetached:f=!1,updatePositionStrategy:p=hs.Optimized,onPlaced:m,...h}=e,g=bs(ws,n),[_,v]=b.useState(null),y=T(t,v),[x,S]=b.useState(null),C=Ni(x),w=C?.width??0,E=C?.height??0,D=r+(a===`center`?``:`-`+a),O=typeof u==`number`?u:{top:0,right:0,bottom:0,left:0,...u},k=Array.isArray(l)?l:[l],A=k.length>0,j={padding:O,boundary:k.filter(js),altBoundary:A},{refs:M,floatingStyles:N,placement:P,isPositioned:F,middlewareData:I}=ts({strategy:`fixed`,placement:D,whileElementsMounted:ps((...e)=>Vo(...e,{animationFrame:p===hs.Always}),`whileElementsMounted`),elements:{reference:g.anchor},middleware:[rs({mainAxis:i+E,alignmentAxis:o}),c&&is({mainAxis:!0,crossAxis:!1,...d===ms.Partial?{limiter:as()}:{},...j}),c&&os({...j}),ss({...j,apply:ps(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)},`apply`)}),x&&ls({element:x,padding:s}),Ms({arrowWidth:w,arrowHeight:E}),f&&cs(A?{strategy:`referenceHidden`,...j}:{strategy:`referenceHidden`,padding:j.padding,altBoundary:j.altBoundary})]}),L=g.setPlacementState;Z(()=>(L(P),()=>{L(void 0)}),[P,L]);let[R,z]=Ns(P),B=kt(m);Z(()=>{F&&B?.()},[F,B]);let V=I.arrow?.x,H=I.arrow?.y,ee=I.arrow?.centerOffset!==0,[U,W]=b.useState();return Z(()=>{_&&W(window.getComputedStyle(_).zIndex)},[_]),(0,q.jsx)(`div`,{ref:M.setFloating,"data-radix-popper-content-wrapper":``,style:{...N,transform:F?N.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:U,"--radix-popper-transform-origin":[I.transformOrigin?.x,I.transformOrigin?.y].join(` `),...I.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,q.jsx)(Ts,{scope:n,placedSide:R,placedAlign:z,onArrowChange:S,arrowX:V,arrowY:H,shouldHideArrow:ee,children:(0,q.jsx)(Y.div,{"data-side":R,"data-align":z,...h,ref:y,style:{...h.style,animation:F?h.style?.animation:`none`}})})})},`PopperContent`)),Os=`PopperArrow`,ks={top:`bottom`,right:`left`,bottom:`top`,left:`right`},As=b.forwardRef(ps(function(e,t){let{__scopePopper:n,...r}=e,i=Es(Os,n),a=ks[i.placedSide];return(0,q.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,q.jsx)(ds,{...r,ref:t,style:{...r.style,display:`block`}})})},`PopperArrow`));function js(e){return e!==null}ps(js,`isNotNull`);var Ms=ps(e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Ns(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}),`transformOrigin`);function Ns(e){let[t,n=`center`]=e.split(`-`);return[t,n]}ps(Ns,`getSideAndAlignFromPlacement`);var Ps=Object.defineProperty,Fs=(e,t)=>Ps(e,`name`,{value:t,configurable:!0}),Is=!1;function Ls(){let[e,t]=b.useState(Is);return b.useEffect(()=>{Is||(Is=!0,t(!0))},[]),e}Fs(Ls,`useIsHydrated`);var Rs=b.useSyncExternalStore;function zs(){return()=>{}}Fs(zs,`subscribe`);function Bs(){return Rs(zs,()=>!0,()=>!1)}Fs(Bs,`useIsHydratedModern`);var Vs=typeof Rs==`function`?Bs:Ls,Hs=Object.defineProperty,Us=(e,t)=>Hs(e,`name`,{value:t,configurable:!0}),Ws=`rovingFocusGroup.onEntryFocus`,Gs={bubbles:!1,cancelable:!0},Ks=`RovingFocusGroup`,[qs,Js,Ys]=pe(Ks),[Xs,Zs]=le(Ks,[Ys]),Qs={Vertical:`vertical`,Horizontal:`horizontal`},$s={LTR:`ltr`,RTL:`rtl`},[ec,tc]=Xs(Ks),nc=b.forwardRef(Us(function(e,t){return(0,q.jsx)(qs.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,q.jsx)(qs.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,q.jsx)(rc,{...e,ref:t})})})},`RovingFocusGroup`)),rc=b.forwardRef(Us(function(e,t){let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,f=b.useRef(null),p=T(t,f),m=Tt(a),[h,g]=Ve({prop:o,defaultProp:s??null,onChange:c,caller:Ks}),[_,v]=b.useState(!1),y=kt(l),x=Js(n),S=b.useRef(!1),[C,w]=b.useState(0);return b.useEffect(()=>{let e=f.current;if(e)return e.addEventListener(Ws,y),()=>e.removeEventListener(Ws,y)},[y]),(0,q.jsx)(ec,{scope:n,orientation:r,dir:m,loop:i,currentTabStopId:h,onItemFocus:b.useCallback(e=>g(e),[g]),onItemShiftTab:b.useCallback(()=>v(!0),[]),onFocusableItemAdd:b.useCallback(()=>w(e=>e+1),[]),onFocusableItemRemove:b.useCallback(()=>w(e=>e-1),[]),children:(0,q.jsx)(Y.div,{tabIndex:_||C===0?-1:0,"data-orientation":r,...d,ref:p,style:{outline:`none`,...e.style},onMouseDown:Oe(e.onMouseDown,()=>{S.current=!0}),onFocus:Oe(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(Ws,Gs);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=x().filter(e=>e.focusable);lc([e.find(e=>e.active),e.find(e=>e.id===h),...e].filter(Boolean).map(e=>e.ref.current),u)}}S.current=!1}),onBlur:Oe(e.onBlur,()=>v(!1))})})},`RovingFocusGroupImpl`)),ic=`RovingFocusGroupItem`,ac=b.forwardRef(Us(function(e,t){let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=at(),l=a||c,u=tc(ic,n),d=u.currentTabStopId===l,f=Js(n),{onFocusableItemAdd:p,onFocusableItemRemove:m,currentTabStopId:h}=u,g=Vs();return Z(()=>{if(g&&r)return p(),()=>m()},[g,r,p,m]),b.useEffect(()=>{if(!g&&r)return p(),()=>m()},[g,r,p,m]),(0,q.jsx)(qs.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,q.jsx)(Y.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:Oe(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:Oe(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Oe(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=cc(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?uc(n,r+1):n.slice(r+1)}setTimeout(()=>lc(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:h!=null}):o})})},`RovingFocusGroupItem`)),oc={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function sc(e,t){return t===$s.RTL?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}Us(sc,`getDirectionAwareKey`);function cc(e,t,n){let r=sc(e.key,n);if(!(t===Qs.Vertical&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===Qs.Horizontal&&[`ArrowUp`,`ArrowDown`].includes(r)))return oc[r]}Us(cc,`getFocusIntent`);function lc(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}Us(lc,`focusFirst`);function uc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}Us(uc,`wrapArray`);var dc=Object.defineProperty,fc=(e,t)=>dc(e,`name`,{value:t,configurable:!0}),pc={LTR:`ltr`,RTL:`rtl`},mc=[`Enter`,` `],hc=[`ArrowDown`,`PageUp`,`Home`],gc=[`ArrowUp`,`PageDown`,`End`],_c=[...hc,...gc],vc={ltr:[...mc,`ArrowRight`],rtl:[...mc,`ArrowLeft`]},yc={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},bc=`Menu`,[xc,Sc,Cc]=pe(bc),[wc,Tc]=le(bc,[Cc,vs,Zs]),Ec=vs(),Dc=Zs(),[Oc,kc]=wc(bc),[Ac,jc]=wc(bc),Mc=fc(e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=Ec(t),[c,l]=b.useState(null),u=b.useRef(!1),d=kt(a),f=Tt(i);return b.useEffect(()=>{let e=fc(()=>{u.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},`handleKeyDown`),t=fc(()=>u.current=!1,`handlePointer`);return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),b.useEffect(()=>{if(!n)return;let e=fc(()=>d(!1),`handleBlur`);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[n,d]),(0,q.jsx)(xs,{...s,children:(0,q.jsx)(Oc,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:l,children:(0,q.jsx)(Ac,{scope:t,onClose:b.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:f,modal:o,children:r})})})},`Menu`),Nc=b.forwardRef(fc(function(e,t){let{__scopeMenu:n,...r}=e,i=Ec(n);return(0,q.jsx)(Cs,{...i,...r,ref:t})},`MenuAnchor`)),Pc=`MenuPortal`,[Fc,Ic]=wc(Pc,{forceMount:void 0}),Lc=fc(e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=kc(Pc,t);return(0,q.jsx)(Fc,{scope:t,forceMount:n,children:(0,q.jsx)(Ye,{present:n||a.open,children:(0,q.jsx)(mn,{asChild:!0,container:i,children:r})})})},`MenuPortal`),Rc=`MenuContent`,[zc,Bc]=wc(Rc),Vc=b.forwardRef(fc(function(e,t){let n=Ic(Rc,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=kc(Rc,e.__scopeMenu),o=jc(Rc,e.__scopeMenu);return(0,q.jsx)(xc.Provider,{scope:e.__scopeMenu,children:(0,q.jsx)(Ye,{present:r||a.open,children:(0,q.jsx)(xc.Slot,{scope:e.__scopeMenu,children:o.modal?(0,q.jsx)(Hc,{...i,ref:t}):(0,q.jsx)(Uc,{...i,ref:t})})})})},`MenuContent`)),Hc=b.forwardRef(fc(function(e,t){let n=kc(Rc,e.__scopeMenu),r=b.useRef(null),i=T(t,r);return b.useEffect(()=>{let e=r.current;if(e)return Rr(e)},[]),(0,q.jsx)(Gc,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Oe(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentModal`)),Uc=b.forwardRef(fc(function(e,t){let n=kc(Rc,e.__scopeMenu);return(0,q.jsx)(Gc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentNonModal`)),Wc=O(`MenuContent.ScrollLock`),Gc=b.forwardRef(fc(function(e,t){let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,disableOutsideScroll:m,...h}=e,g=kc(Rc,n),_=jc(Rc,n),v=Ec(n),y=Dc(n),x=Sc(n),[S,C]=b.useState(null),w=b.useRef(null),[E,D]=b.useState(null);en(E);let{nodes:O,registry:k}=$t(),A=!!(i||m),j=T(t,w,g.onContentChange,D),M=b.useRef(0),N=b.useRef(``),P=b.useRef(0),F=b.useRef(null),I=b.useRef(`right`),L=b.useRef(0),R=b.useMemo(()=>m?[w,...O.map(e=>({current:e}))]:[],[w,O,m]),z=m?kr:b.Fragment,B=m?{as:Wc,allowPinchZoom:!0,shards:R}:void 0,V=fc(e=>{let t=N.current+e,n=x().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=xl(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;function s(e){N.current=e,window.clearTimeout(M.current),e!==``&&(M.current=window.setTimeout(()=>s(``),1e3))}fc(s,`updateSearch`),s(t),o&&setTimeout(()=>o.focus())},`handleTypeaheadSearch`);b.useEffect(()=>()=>window.clearTimeout(M.current),[]),bn();let H=b.useCallback(e=>I.current===F.current?.side&&Cl(e,F.current?.area),[]);return(0,q.jsx)(zc,{scope:n,searchRef:N,onItemEnter:b.useCallback(e=>{H(e)&&e.preventDefault()},[H]),onItemLeave:b.useCallback(e=>{H(e)||(w.current?.focus(),C(null))},[H]),onTriggerLeave:b.useCallback(e=>{H(e)&&e.preventDefault()},[H]),pointerGraceTimerRef:P,onPointerGraceIntentChange:b.useCallback(e=>{F.current=e},[]),children:(0,q.jsx)(Qt,{registry:A?k:null,children:(0,q.jsx)(z,{...B,children:(0,q.jsx)(Xt,{asChild:!0,trapped:i,branches:O,onMountAutoFocus:Oe(a,e=>{e.preventDefault(),w.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:(0,q.jsx)(Lt,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,children:(0,q.jsx)(nc,{asChild:!0,...y,dir:_.dir,orientation:`vertical`,loop:r,currentTabStopId:S,onCurrentTabStopIdChange:C,onEntryFocus:Oe(c,e=>{_.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,q.jsx)(Ds,{role:`menu`,"aria-orientation":`vertical`,"data-state":gl(g.open),"data-radix-menu-content":``,dir:_.dir,...v,...h,ref:j,style:{outline:`none`,...h.style},onKeyDown:Oe(h.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&V(e.key));let i=w.current;if(e.target!==i||!_c.includes(e.key))return;e.preventDefault();let a=x().filter(e=>!e.disabled).map(e=>e.ref.current);gc.includes(e.key)&&a.reverse(),yl(a)}),onBlur:Oe(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(M.current),N.current=``)}),onPointerMove:Oe(e.onPointerMove,wl(e=>{let t=e.target,n=L.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>L.current?`right`:`left`;I.current=t,L.current=e.clientX}}))})})})})})})})},`MenuContentImpl`)),Kc=b.forwardRef(fc(function(e,t){let{__scopeMenu:n,...r}=e;return(0,q.jsx)(Y.div,{role:`group`,...r,ref:t})},`MenuGroup`)),qc=`MenuItem`,Jc=`menu.itemSelect`,Yc=b.forwardRef(fc(function(e,t){let{disabled:n=!1,onSelect:r,...i}=e,a=b.useRef(null),o=jc(qc,e.__scopeMenu),s=Bc(qc,e.__scopeMenu),c=T(t,a),l=b.useRef(!1),u=fc(()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(Jc,{bubbles:!0,cancelable:!0});e.addEventListener(Jc,e=>r?.(e),{once:!0}),X(e,t),t.defaultPrevented?l.current=!1:o.onClose()}},`handleSelect`);return(0,q.jsx)(Xc,{...i,ref:c,disabled:n,onClick:Oe(e.onClick,u),onPointerDown:t=>{e.onPointerDown?.(t),l.current=!0},onPointerUp:Oe(e.onPointerUp,e=>{l.current||e.currentTarget?.click()}),onKeyDown:Oe(e.onKeyDown,e=>{n||e.target!==e.currentTarget||(s.searchRef.current===``||e.key!==` `)&&mc.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},`MenuItem`)),Xc=b.forwardRef(fc(function(e,t){let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=Bc(qc,n),s=Dc(n),c=b.useRef(null),l=T(t,c),[u,d]=b.useState(!1),[f,p]=b.useState(``);return b.useEffect(()=>{let e=c.current;e&&p((e.textContent??``).trim())},[a.children]),(0,q.jsx)(xc.ItemSlot,{scope:n,disabled:r,textValue:i??f,children:(0,q.jsx)(ac,{asChild:!0,...s,focusable:!r,children:(0,q.jsx)(Y.div,{role:`menuitem`,"data-highlighted":u?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0,...a,ref:l,onPointerMove:Oe(e.onPointerMove,wl(e=>{r?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Oe(e.onPointerLeave,wl(e=>o.onItemLeave(e))),onFocus:Oe(e.onFocus,()=>d(!0)),onBlur:Oe(e.onBlur,()=>d(!1))})})})},`MenuItemImpl`)),Zc=b.forwardRef(fc(function(e,t){let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,q.jsx)(il,{scope:e.__scopeMenu,checked:n,children:(0,q.jsx)(Yc,{role:`menuitemcheckbox`,"aria-checked":_l(n)?`mixed`:n,...i,ref:t,"data-state":vl(n),onSelect:Oe(i.onSelect,()=>r?.(_l(n)?!0:!n),{checkForDefaultPrevented:!1})})})},`MenuCheckboxItem`)),[Qc,$c]=wc(`MenuRadioGroup`,{value:void 0,onValueChange:fc(()=>{},`onValueChange`)}),el=b.forwardRef(fc(function(e,t){let{value:n,onValueChange:r,...i}=e,a=kt(r);return(0,q.jsx)(Qc,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,q.jsx)(Kc,{...i,ref:t})})},`MenuRadioGroup`)),tl=`MenuRadioItem`,nl=b.forwardRef(fc(function(e,t){let{value:n,...r}=e,i=$c(tl,e.__scopeMenu),a=n===i.value;return(0,q.jsx)(il,{scope:e.__scopeMenu,checked:a,children:(0,q.jsx)(Yc,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":vl(a),onSelect:Oe(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})},`MenuRadioItem`)),rl=`MenuItemIndicator`,[il,al]=wc(rl,{checked:!1}),ol=b.forwardRef(fc(function(e,t){let{__scopeMenu:n,forceMount:r,...i}=e,a=al(rl,n);return(0,q.jsx)(Ye,{present:r||_l(a.checked)||a.checked===!0,children:(0,q.jsx)(Y.span,{...i,ref:t,"data-state":vl(a.checked)})})},`MenuItemIndicator`)),sl=b.forwardRef(fc(function(e,t){let{__scopeMenu:n,...r}=e,i=Ec(n);return(0,q.jsx)(As,{...i,...r,ref:t})},`MenuArrow`)),cl=`MenuSub`,[ll,ul]=wc(cl),dl=fc(e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,a=kc(cl,t),o=Ec(t),[s,c]=b.useState(null),[l,u]=b.useState(null),d=kt(i);return b.useEffect(()=>(a.open===!1&&d(!1),()=>d(!1)),[a.open,d]),(0,q.jsx)(xs,{...o,children:(0,q.jsx)(Oc,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:u,children:(0,q.jsx)(ll,{scope:t,contentId:at(),triggerId:at(),trigger:s,onTriggerChange:c,children:n})})})},`MenuSub`),fl=`MenuSubTrigger`,pl=b.forwardRef(fc(function(e,t){let n=kc(fl,e.__scopeMenu),r=jc(fl,e.__scopeMenu),i=ul(fl,e.__scopeMenu),a=Bc(fl,e.__scopeMenu),o=b.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,l={__scopeMenu:e.__scopeMenu},u=b.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);b.useEffect(()=>u,[u]),b.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]);let d=T(t,i.onTriggerChange);return(0,q.jsx)(Nc,{asChild:!0,...l,children:(0,q.jsx)(Xc,{id:i.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":n.open?i.contentId:void 0,"data-state":gl(n.open),...e,ref:d,onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Oe(e.onPointerMove,wl(t=>{a.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||o.current||(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:Oe(e.onPointerLeave,wl(e=>{u();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,o=i?-5:5,c=t[i?`left`:`right`],l=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:c,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:c,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:Oe(e.onKeyDown,t=>{e.disabled||t.target!==t.currentTarget||(a.searchRef.current===``||t.key!==` `)&&vc[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})},`MenuSubTrigger`)),ml=`MenuSubContent`,hl=b.forwardRef(fc(function(e,t){let n=Ic(Rc,e.__scopeMenu),{forceMount:r=n.forceMount,align:i=`start`,...a}=e,o=kc(Rc,e.__scopeMenu),s=jc(Rc,e.__scopeMenu),c=ul(ml,e.__scopeMenu),l=b.useRef(null),u=T(t,l);return(0,q.jsx)(xc.Provider,{scope:e.__scopeMenu,children:(0,q.jsx)(Ye,{present:r||o.open,children:(0,q.jsx)(xc.Slot,{scope:e.__scopeMenu,children:(0,q.jsx)(Gc,{id:c.contentId,"aria-labelledby":c.triggerId,...a,ref:u,align:i,side:s.dir===pc.RTL?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{s.isUsingKeyboardRef.current&&l.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:Oe(e.onFocusOutside,e=>{e.target!==c.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:Oe(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:Oe(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=yc[s.dir].includes(e.key);t&&n&&(o.onOpenChange(!1),c.trigger?.focus(),e.preventDefault())})})})})})},`MenuSubContent`));function gl(e){return e?`open`:`closed`}fc(gl,`getOpenState`);function _l(e){return e===`indeterminate`}fc(_l,`isIndeterminate`);function vl(e){return _l(e)?`indeterminate`:e?`checked`:`unchecked`}fc(vl,`getCheckedState`);function yl(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}fc(yl,`focusFirst`);function bl(e,t){return e.map((n,r)=>e[(t+r)%e.length])}fc(bl,`wrapArray`);function xl(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=bl(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}fc(xl,`getNextMatch`);function Sl(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}fc(Sl,`isPointInPolygon`);function Cl(e,t){return t?Sl({x:e.clientX,y:e.clientY},t):!1}fc(Cl,`isPointerInGraceArea`);function wl(e){return t=>t.pointerType===`mouse`?e(t):void 0}fc(wl,`whenMouse`);var Tl=Object.defineProperty,El=(e,t)=>Tl(e,`name`,{value:t,configurable:!0}),Dl=`DropdownMenu`,[Ol,kl]=le(Dl,[Tc]),Al=Tc(),[jl,Ml]=Ol(Dl),Nl=El(e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=Al(t),l=b.useRef(null),[u,d]=Ve({prop:i,defaultProp:a??!1,onChange:o,caller:Dl});return(0,q.jsx)(jl,{scope:t,triggerId:at(),triggerRef:l,contentId:at(),open:u,onOpenChange:d,onOpenToggle:b.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,q.jsx)(Mc,{...c,open:u,onOpenChange:d,dir:r,modal:s,children:n})})},`DropdownMenu`),Pl=`DropdownMenuTrigger`,Fl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Ml(Pl,n),o=Al(n),s=T(t,a.triggerRef);return(0,q.jsx)(Nc,{asChild:!0,...o,children:(0,q.jsx)(Y.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:s,onPointerDown:Oe(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:Oe(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})},`DropdownMenuTrigger`)),Il=El(e=>{let{__scopeDropdownMenu:t,...n}=e,r=Al(t);return(0,q.jsx)(Lc,{...r,...n})},`DropdownMenuPortal`),Ll=`DropdownMenuContent`,Rl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Ml(Ll,n),a=Al(n),o=b.useRef(!1);return(0,q.jsx)(Vc,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:Oe(e.onCloseAutoFocus,e=>{o.current||i.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:Oe(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuContent`)),zl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(Kc,{...i,...r,ref:t})},`DropdownMenuGroup`)),Bl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(Yc,{...i,...r,ref:t})},`DropdownMenuItem`)),Vl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(Zc,{...i,...r,ref:t})},`DropdownMenuCheckboxItem`)),Hl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(el,{...i,...r,ref:t})},`DropdownMenuRadioGroup`)),Ul=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(nl,{...i,...r,ref:t})},`DropdownMenuRadioItem`)),Wl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(ol,{...i,...r,ref:t})},`DropdownMenuItemIndicator`)),Gl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(sl,{...i,...r,ref:t})},`DropdownMenuArrow`)),Kl=El(e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:a}=e,o=Al(t),[s,c]=Ve({prop:r,defaultProp:a??!1,onChange:i,caller:`DropdownMenuSub`});return(0,q.jsx)(dl,{...o,open:s,onOpenChange:c,children:n})},`DropdownMenuSub`),ql=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(pl,{...i,...r,ref:t})},`DropdownMenuSubTrigger`)),Jl=b.forwardRef(El(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=Al(n);return(0,q.jsx)(hl,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuSubContent`)),Yl=Object.defineProperty,Xl=b.forwardRef(((e,t)=>Yl(e,`name`,{value:t,configurable:!0}))(function(e,t){return(0,q.jsx)(Y.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},`Label`)),Zl=Object.defineProperty,Ql=(e,t)=>Zl(e,`name`,{value:t,configurable:!0}),$l=`Popover`,[eu,tu]=le($l,[vs]),nu=vs(),[ru,iu]=eu($l),au=Ql(e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=nu(t),c=b.useRef(null),[l,u]=b.useState(!1),[d,f]=b.useState(0),[p,m]=b.useState(0),[h,g]=Ve({prop:r,defaultProp:i??!1,onChange:a,caller:$l});return(0,q.jsx)(xs,{...s,children:(0,q.jsx)(ru,{scope:t,contentId:at(),titleId:at(),descriptionId:at(),titlePresent:d>0,descriptionPresent:p>0,setTitleCount:f,setDescriptionCount:m,triggerRef:c,open:h,onOpenChange:g,onOpenToggle:b.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:l,onCustomAnchorAdd:b.useCallback(()=>u(!0),[]),onCustomAnchorRemove:b.useCallback(()=>u(!1),[]),modal:o,children:n})})},`Popover`),ou=`PopoverAnchor`,su=b.forwardRef(Ql(function(e,t){let{__scopePopover:n,...r}=e,i=iu(ou,n),a=nu(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return b.useEffect(()=>(o(),()=>s()),[o,s]),(0,q.jsx)(Cs,{...a,...r,ref:t})},`PopoverAnchor`)),cu=`PopoverTrigger`,lu=b.forwardRef(Ql(function(e,t){let{__scopePopover:n,...r}=e,i=iu(cu,n),a=nu(n),o=T(t,i.triggerRef),s=(0,q.jsx)(Y.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":xu(i.open),...r,ref:o,onClick:Oe(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,q.jsx)(Cs,{asChild:!0,...a,children:s})},`PopoverTrigger`)),uu=`PopoverPortal`,[du,fu]=eu(uu,{forceMount:void 0}),pu=Ql(e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=iu(uu,t);return(0,q.jsx)(du,{scope:t,forceMount:n,children:(0,q.jsx)(Ye,{present:n||a.open,children:(0,q.jsx)(mn,{asChild:!0,container:i,children:r})})})},`PopoverPortal`),mu=`PopoverContent`,hu=b.forwardRef(Ql(function(e,t){let n=fu(mu,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=iu(mu,e.__scopePopover);return(0,q.jsx)(Ye,{present:r||a.open,children:a.modal?(0,q.jsx)(_u,{...i,ref:t}):(0,q.jsx)(vu,{...i,ref:t})})},`PopoverContent`)),gu=O(`PopoverContent.RemoveScroll`),_u=b.forwardRef(Ql(function(e,t){let n=iu(mu,e.__scopePopover),r=b.useRef(null),i=T(t,r),a=b.useRef(!1),{nodes:o,registry:s}=$t();return b.useEffect(()=>{let e=r.current;if(e)return Rr(e)},[]),(0,q.jsx)(kr,{as:gu,allowPinchZoom:!0,shards:b.useMemo(()=>[r,...o.map(e=>({current:e}))],[r,o]),children:(0,q.jsx)(yu,{...e,ref:i,branchNodes:o,branchRegistry:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Oe(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Oe(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;a.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:Oe(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},`PopoverContentModal`)),vu=b.forwardRef(Ql(function(e,t){let n=iu(mu,e.__scopePopover),r=b.useRef(!1),i=b.useRef(!1);return(0,q.jsx)(yu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`PopoverContentNonModal`)),yu=b.forwardRef(Ql(function(e,t){let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,"aria-describedby":d,branchNodes:f,branchRegistry:p,...m}=e,h=iu(mu,n),g=nu(n),[_,v]=b.useState(null),y=T(t,v);return en(_),bn(),(0,q.jsx)(Qt,{registry:p,children:(0,q.jsx)(Xt,{asChild:!0,loop:!0,trapped:r,branches:f,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,q.jsx)(Lt,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>h.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,q.jsx)(Ds,{"data-state":xu(h.open),role:`dialog`,id:h.contentId,"aria-labelledby":h.titlePresent?h.titleId:void 0,"aria-describedby":h.descriptionPresent?Su(d,h.descriptionId):d,...g,...m,ref:y,style:{...m.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})})},`PopoverContentImpl`)),bu=b.forwardRef(Ql(function(e,t){let{__scopePopover:n,...r}=e,i=nu(n);return(0,q.jsx)(As,{...i,...r,ref:t})},`PopoverArrow`));function xu(e){return e?`open`:`closed`}Ql(xu,`getState`);function Su(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}Ql(Su,`concatAriaDescribedby`);var Cu=Object.defineProperty,wu=(e,t)=>Cu(e,`name`,{value:t,configurable:!0}),Tu=`Radio`,[Eu,Du]=le(Tu),[Ou,ku]=Eu(Tu);function Au(e){let{__scopeRadio:t,checked:n=!1,children:r,disabled:i,form:a,name:o,onCheck:s,required:c,value:l=`on`,internal_do_not_use_render:u}=e,[d,f]=b.useState(null),[p,m]=b.useState(null),[h,g]=b.useState(null),_={checked:n,disabled:i,required:c,name:o,form:a,value:l,control:d,setControl:f,userClick:h,onUserClick:g,isFormControl:!d||!!a||!!d.closest(`form`),bubbleInput:p,setBubbleInput:m,onCheck:wu(()=>s?.(),`onCheck`)};return(0,q.jsx)(Ou,{scope:t,..._,children:Lu(u)?u(_):r})}wu(Au,`RadioProvider`);var ju=`RadioTrigger`,Mu=b.forwardRef(wu(function({__scopeRadio:e,onClick:t,...n},r){let{checked:i,disabled:a,value:o,setControl:s,onCheck:c,onUserClick:l,isFormControl:u,bubbleInput:d}=ku(ju,e),f=T(r,s);return(0,q.jsx)(Y.button,{type:`button`,role:`radio`,"aria-checked":i,"data-state":Ru(i),"data-disabled":a?``:void 0,disabled:a,value:o,...n,ref:f,onClick:Oe(t,e=>{let t=e.isPropagationStopped();i||(l({hasConsumerStoppedPropagation:t}),c()),d&&u&&(t||e.stopPropagation())})})},`RadioTrigger`)),Nu=`RadioIndicator`,Pu=b.forwardRef(wu(function(e,t){let{__scopeRadio:n,forceMount:r,...i}=e,a=ku(Nu,n);return(0,q.jsx)(Ye,{present:r||a.checked,children:(0,q.jsx)(Y.span,{"data-state":Ru(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t})})},`RadioIndicator`)),Fu=`RadioBubbleInput`,Iu=b.forwardRef(wu(function({__scopeRadio:e,onClick:t,...n},r){let{control:i,checked:a,required:o,disabled:s,name:c,value:l,form:u,bubbleInput:d,setBubbleInput:f,userClick:p}=ku(Fu,e),m=T(r,f),h=Ni(i),g=b.useRef(!1),_=b.useRef(a),v=b.useRef(p),y=b.useRef(null);b.useEffect(()=>{let e=d;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set;if(!n)return;let r=_.current!==a;_.current=a;let i=p!==null&&p!==v.current;if(v.current=p,i)y.current=r?null:p,r&&n.call(e,a),e.dispatchEvent(new Event(`click`,{bubbles:!p.hasConsumerStoppedPropagation}));else if(r){let t=y.current;y.current=null;let r=a&&t!==null;g.current=!0,n.call(e,a),e.dispatchEvent(new Event(`click`,{bubbles:!(r&&t.hasConsumerStoppedPropagation)})),g.current=!1}},[d,a,p]);let x=b.useRef(a);return(0,q.jsx)(Y.input,{type:`radio`,"aria-hidden":!0,defaultChecked:x.current,required:o,disabled:s,name:c,value:l,form:u,...n,tabIndex:-1,ref:m,onClick:Oe(t,e=>{g.current&&e.stopPropagation()}),style:{...n.style,...h,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})},`RadioBubbleInput`));function Lu(e){return typeof e==`function`}wu(Lu,`isFunction`);function Ru(e){return e?`checked`:`unchecked`}wu(Ru,`getState`);var zu=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],Bu=`RadioGroup`,[Vu,Hu]=le(Bu,[Zs,Du]),Uu=Zs(),Wu=Du(),[Gu,Ku]=Vu(Bu),qu=b.forwardRef(wu(function(e,t){let{__scopeRadioGroup:n,name:r,form:i,defaultValue:a,value:o,required:s=!1,disabled:c=!1,orientation:l,dir:u,loop:d=!0,onValueChange:f,...p}=e,m=Uu(n),h=Tt(u),[g,_]=Ve({prop:o,defaultProp:a??null,onChange:f,caller:Bu}),[v,y]=b.useState(null),x=T(t,y),S=b.useRef(g);return b.useEffect(()=>{let e=i?v?.ownerDocument.getElementById(i):v?.closest(`form`);if(e instanceof HTMLFormElement){let t=wu(()=>_(S.current),`reset`);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[v,i,_]),(0,q.jsx)(Gu,{scope:n,name:r,form:i,required:s,disabled:c,value:g,onValueChange:_,children:(0,q.jsx)(nc,{asChild:!0,...m,orientation:l,dir:h,loop:d,children:(0,q.jsx)(Y.div,{role:`radiogroup`,"aria-required":s,"aria-orientation":l,"data-disabled":c?``:void 0,dir:h,...p,ref:x})})})},`RadioGroup`)),Ju=`RadioGroupItemProvider`,Yu=`RadioGroupItemTrigger`;function Xu(e){let{__scopeRadioGroup:t,value:n,disabled:r,children:i,internal_do_not_use_render:a}=e,o=Ku(Ju,t),s=Wu(t),c=o.disabled||r;return(0,q.jsx)(Au,{...s,checked:o.value===n,disabled:c,required:o.required,name:o.name,form:o.form,value:n,onCheck:()=>o.onValueChange(n),internal_do_not_use_render:a,children:i})}wu(Xu,`RadioGroupItemProvider`);var Zu=b.forwardRef(wu(function(e,t){let{__scopeRadioGroup:n,...r}=e,i=Uu(n),a=Wu(n),{checked:o,disabled:s}=ku(Yu,a.__scopeRadio),c=b.useRef(null),l=T(t,c),u=b.useRef(!1);return b.useEffect(()=>{let e=wu(e=>{zu.includes(e.key)&&(u.current=!0)},`handleKeyDown`),t=wu(()=>u.current=!1,`handleKeyUp`);return document.addEventListener(`keydown`,e),document.addEventListener(`keyup`,t),()=>{document.removeEventListener(`keydown`,e),document.removeEventListener(`keyup`,t)}},[]),(0,q.jsx)(ac,{asChild:!0,...i,focusable:!s,active:o,children:(0,q.jsx)(Mu,{...a,...r,ref:l,onKeyDown:Oe(r.onKeyDown,e=>{e.key===`Enter`&&e.preventDefault()}),onFocus:Oe(r.onFocus,()=>{u.current&&c.current?.click()})})})},`RadioGroupItemTrigger`)),Qu=b.forwardRef(wu(function(e,t){let{__scopeRadioGroup:n,value:r,disabled:i,...a}=e;return(0,q.jsx)(Xu,{__scopeRadioGroup:n,value:r,disabled:i,internal_do_not_use_render:({isFormControl:e})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Zu,{...a,ref:t,__scopeRadioGroup:n}),e&&(0,q.jsx)($u,{__scopeRadioGroup:n})]})})},`RadioGroupItem`)),$u=b.forwardRef(wu(function(e,t){let{__scopeRadioGroup:n,...r}=e,i=Wu(n);return(0,q.jsx)(Iu,{...i,...r,ref:t})},`RadioGroupItemBubbleInput`)),ed=b.forwardRef(wu(function(e,t){let{__scopeRadioGroup:n,...r}=e,i=Wu(n);return(0,q.jsx)(Pu,{...i,...r,ref:t})},`RadioGroupIndicator`)),td=Object.defineProperty,nd=(e,t)=>td(e,`name`,{value:t,configurable:!0}),rd={Automatic:`automatic`,Manual:`manual`},id=`Tabs`,[ad,od]=le(id,[Zs]),sd=Zs(),[cd,ld]=ad(id),ud=b.forwardRef(nd(function(e,t){let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=rd.Automatic,...l}=e,u=Tt(s),[d,f]=Ve({prop:r,onChange:i,defaultProp:a??``,caller:id});return(0,q.jsx)(cd,{scope:n,baseId:at(),value:d,onValueChange:f,orientation:o,dir:u,activationMode:c,children:(0,q.jsx)(Y.div,{dir:u,"data-orientation":o,...l,ref:t})})},`Tabs`)),dd=`TabsList`,fd=b.forwardRef(nd(function(e,t){let{__scopeTabs:n,loop:r=!0,...i}=e,a=ld(dd,n),o=sd(n);return(0,q.jsx)(nc,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:(0,q.jsx)(Y.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})},`TabsList`)),pd=`TabsTrigger`,md=b.forwardRef(nd(function(e,t){let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=ld(pd,n),s=sd(n),c=_d(o.baseId,r),l=vd(o.baseId,r),u=r===o.value;return(0,q.jsx)(ac,{asChild:!0,...s,focusable:!i,active:u,children:(0,q.jsx)(Y.button,{type:`button`,role:`tab`,"aria-selected":u,"aria-controls":l,"data-state":u?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:c,...a,ref:t,onMouseDown:Oe(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?(e.currentTarget.focus(),o.onValueChange(r)):e.preventDefault()}),onKeyDown:Oe(e.onKeyDown,e=>{i||e.target!==e.currentTarget||[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:Oe(e.onFocus,()=>{let e=o.activationMode!==rd.Manual;!u&&!i&&e&&o.onValueChange(r)})})})},`TabsTrigger`)),hd=`TabsContent`,gd=b.forwardRef(nd(function(e,t){let{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=ld(hd,n),c=_d(s.baseId,r),l=vd(s.baseId,r),u=r===s.value,d=b.useRef(u);return b.useEffect(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,q.jsx)(Ye,{present:i||u,children:({present:n})=>(0,q.jsx)(Y.div,{"data-state":u?`active`:`inactive`,"data-orientation":s.orientation,role:`tabpanel`,"aria-labelledby":c,hidden:!n,id:l,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:d.current?`0s`:void 0},children:n&&a})})},`TabsContent`));function _d(e,t){return`${e}-trigger-${t}`}nd(_d,`makeTriggerId`);function vd(e,t){return`${e}-content-${t}`}nd(vd,`makeContentId`);var yd=Object.defineProperty,bd=(e,t)=>yd(e,`name`,{value:t,configurable:!0}),xd=b.startTransition||(()=>void 0),Sd=`ToastProvider`,[Cd,wd,Td]=pe(`Toast`),Ed={Up:`up`,Down:`down`,Left:`left`,Right:`right`},Dd={Foreground:`foreground`,Background:`background`},[Od,kd]=le(`Toast`,[Td]),[Ad,jd]=Od(Sd);function Md(e){typeof xd==`function`?xd(e):e()}bd(Md,`scheduleUpdate`);var Nd=bd(e=>{let{__scopeToast:t,label:n=`Notification`,duration:r=5e3,swipeDirection:i=Ed.Right,swipeThreshold:a=50,announcerContainer:o,children:s}=e,[c,l]=b.useState(null),[u,d]=b.useState(0),f=b.useRef(!1),p=b.useCallback(e=>{Md(()=>l(e))},[]),m=b.useCallback(()=>{Md(()=>d(e=>e+1))},[]),h=b.useCallback(()=>{Md(()=>d(e=>e-1))},[]);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Sd}\`. Expected non-empty \`string\`.`),(0,q.jsx)(Cd.Provider,{scope:t,children:(0,q.jsx)(Ad,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:u,viewport:c,onViewportChange:p,onToastAdd:m,onToastRemove:h,isClosePausedRef:f,announcerContainer:o,children:s})})},`ToastProvider`),Pd=`ToastViewport`,Fd=[`F8`],Id=`toast.viewportPause`,Ld=`toast.viewportResume`,Rd=b.forwardRef(bd(function(e,t){let{__scopeToast:n,hotkey:r=Fd,label:i=`Notifications ({hotkey})`,...a}=e,o=jd(Pd,n),s=wd(n),c=b.useRef(null),l=b.useRef(null),u=b.useRef(null),d=b.useRef(null),f=T(t,d,o.onViewportChange),p=r.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),m=o.toastCount>0;b.useEffect(()=>{let e=bd(e=>{r.length!==0&&r.every(t=>e[t]||e.code===t)&&d.current?.focus()},`handleKeyDown`);return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[r]),b.useEffect(()=>{let e=c.current,t=d.current;if(m&&e&&t){let n=bd(()=>{if(!o.isClosePausedRef.current){let e=new CustomEvent(Id);t.dispatchEvent(e),o.isClosePausedRef.current=!0}},`handlePause`),r=bd(()=>{if(o.isClosePausedRef.current){let e=new CustomEvent(Ld);t.dispatchEvent(e),o.isClosePausedRef.current=!1}},`handleResume`),i=bd(t=>{e.contains(t.relatedTarget)||r()},`handleFocusOutResume`),a=bd(()=>{e.contains(document.activeElement)||r()},`handlePointerLeaveResume`);return e.addEventListener(`focusin`,n),e.addEventListener(`focusout`,i),e.addEventListener(`pointermove`,n),e.addEventListener(`pointerleave`,a),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),()=>{e.removeEventListener(`focusin`,n),e.removeEventListener(`focusout`,i),e.removeEventListener(`pointermove`,n),e.removeEventListener(`pointerleave`,a),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)}}},[m,o.isClosePausedRef]);let h=b.useCallback(({tabbingDirection:e})=>{let t=s().map(t=>{let n=t.ref.current,r=[n,...uf(n)];return e===`forwards`?r:r.reverse()});return(e===`forwards`?t.reverse():t).flat()},[s]);return b.useEffect(()=>{let e=d.current;if(e){let t=bd(t=>{let n=t.altKey||t.ctrlKey||t.metaKey;if(t.key===`Tab`&&!n){let n=document.activeElement,r=t.shiftKey;if(t.target===e&&r){l.current?.focus();return}let i=h({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);df(i.slice(a+1))?t.preventDefault():r?l.current?.focus():u.current?.focus()}},`handleKeyDown`);return e.addEventListener(`keydown`,t),()=>e.removeEventListener(`keydown`,t)}},[s,h]),(0,q.jsxs)(Rt,{ref:c,role:`region`,"aria-label":i.replace(`{hotkey}`,p),tabIndex:-1,style:{pointerEvents:m?void 0:`none`},children:[m&&(0,q.jsx)(Bd,{ref:l,onFocusFromOutsideViewport:()=>{df(h({tabbingDirection:`forwards`}))}}),(0,q.jsx)(Cd.Slot,{scope:n,children:(0,q.jsx)(Y.ol,{tabIndex:-1,...a,ref:f})}),m&&(0,q.jsx)(Bd,{ref:u,onFocusFromOutsideViewport:()=>{df(h({tabbingDirection:`backwards`}))}})]})},`ToastViewport`)),zd=`ToastFocusProxy`,Bd=b.forwardRef(bd(function(e,t){let{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=jd(zd,n);return(0,q.jsx)(ae,{tabIndex:0,...i,ref:t,style:{position:`fixed`},onFocus:e=>{let t=e.relatedTarget;a.viewport?.contains(t)||r()}})},`ToastFocusProxy`)),Vd=`Toast`,Hd=`toast.swipeStart`,Ud=`toast.swipeMove`,Wd=`toast.swipeCancel`,Gd=`toast.swipeEnd`,Kd=b.forwardRef(bd(function(e,t){let{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...o}=e,[s,c]=Ve({prop:r,defaultProp:i??!0,onChange:a,caller:Vd});return(0,q.jsx)(Ye,{present:n||s,children:(0,q.jsx)(Yd,{open:s,...o,ref:t,onClose:()=>c(!1),onPause:kt(e.onPause),onResume:kt(e.onResume),onSwipeStart:Oe(e.onSwipeStart,e=>{e.currentTarget.setAttribute(`data-swipe`,`start`)}),onSwipeMove:Oe(e.onSwipeMove,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`move`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-y`,`${n}px`)}),onSwipeCancel:Oe(e.onSwipeCancel,e=>{e.currentTarget.setAttribute(`data-swipe`,`cancel`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-y`)}),onSwipeEnd:Oe(e.onSwipeEnd,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`end`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-y`,`${n}px`),c(!1)})})})},`Toast`)),[qd,Jd]=Od(Vd,{onClose(){}}),Yd=b.forwardRef(bd(function(e,t){let{__scopeToast:n,type:r=Dd.Foreground,duration:i,open:a,onClose:o,onEscapeKeyDown:s,onPause:c,onResume:l,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...m}=e,h=jd(Vd,n),g=wd(n),[_,v]=b.useState(null),y=T(t,v),x=b.useRef(null),S=b.useRef(null),C=i||h.duration,w=b.useRef(0),E=b.useRef(C),D=b.useRef(0),{onToastAdd:O,onToastRemove:k}=h,A=kt(()=>{_?.contains(document.activeElement)&&h.viewport?.focus(),o()}),j=b.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(D.current),w.current=new Date().getTime(),D.current=window.setTimeout(A,e))},[A]);b.useEffect(()=>{let e=h.viewport;if(e){let t=bd(()=>{j(E.current),l?.()},`handleResume`),n=bd(()=>{let e=new Date().getTime()-w.current;E.current-=e,window.clearTimeout(D.current),c?.()},`handlePause`);return e.addEventListener(Id,n),e.addEventListener(Ld,t),()=>{e.removeEventListener(Id,n),e.removeEventListener(Ld,t)}}},[h.viewport,C,c,l,j]),b.useEffect(()=>{E.current=C,a&&!h.isClosePausedRef.current&&j(C)},[a,C,h.isClosePausedRef,j]),b.useEffect(()=>()=>{window.clearTimeout(D.current)},[]),b.useEffect(()=>(O(),()=>k()),[O,k]);let M=b.useMemo(()=>_?af(_):null,[_]);return h.viewport?(0,q.jsxs)(q.Fragment,{children:[M&&(0,q.jsx)(Xd,{__scopeToast:n,role:`status`,"aria-live":r===Dd.Foreground?`assertive`:`polite`,children:M}),(0,q.jsx)(qd,{scope:n,onClose:A,children:K.createPortal((0,q.jsx)(Cd.ItemSlot,{scope:n,children:(0,q.jsx)(Lt,{asChild:!0,onEscapeKeyDown:Oe(s,e=>{g().some(t=>t.ref.current?.contains(e.target))||A()}),children:(0,q.jsx)(Y.li,{tabIndex:0,"data-state":a?`open`:`closed`,"data-swipe-direction":h.swipeDirection,...m,ref:y,style:{userSelect:`none`,touchAction:`none`,...e.style},onKeyDown:Oe(e.onKeyDown,e=>{e.key===`Escape`&&(s?.(e.nativeEvent),e.nativeEvent.defaultPrevented||A())}),onPointerDown:Oe(e.onPointerDown,e=>{e.button===0&&(x.current={x:e.clientX,y:e.clientY})}),onPointerMove:Oe(e.onPointerMove,e=>{if(!x.current)return;let t=e.clientX-x.current.x,n=e.clientY-x.current.y,r=!!S.current,i=[`left`,`right`].includes(h.swipeDirection),a=[`left`,`up`].includes(h.swipeDirection)?Math.min:Math.max,o=i?a(0,t):0,s=i?0:a(0,n),c=e.pointerType===`touch`?10:2,l={x:o,y:s},f={originalEvent:e,delta:l};r?(S.current=l,of(Ud,d,f,{discrete:!1})):sf(l,h.swipeDirection,c)?(S.current=l,of(Hd,u,f,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>c||Math.abs(n)>c)&&(x.current=null)}),onPointerUp:Oe(e.onPointerUp,e=>{let t=S.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),S.current=null,x.current=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};sf(t,h.swipeDirection,h.swipeThreshold)?of(Gd,p,r,{discrete:!0}):of(Wd,f,r,{discrete:!0}),n.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}})})})}),h.viewport)})]}):null},`ToastImpl`)),Xd=bd(e=>{let{__scopeToast:t,children:n,...r}=e,i=jd(Vd,t),[a,o]=b.useState(!1),[s,c]=b.useState(!1);return cf(()=>o(!0)),b.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),s?null:(0,q.jsx)(mn,{asChild:!0,container:i.announcerContainer||void 0,children:(0,q.jsx)(ae,{...r,children:a&&(0,q.jsxs)(q.Fragment,{children:[i.label,` `,n]})})})},`ToastAnnounce`),Zd=b.forwardRef(bd(function(e,t){let{__scopeToast:n,...r}=e;return(0,q.jsx)(Y.div,{...r,ref:t})},`ToastTitle`)),Qd=b.forwardRef(bd(function(e,t){let{__scopeToast:n,...r}=e;return(0,q.jsx)(Y.div,{...r,ref:t})},`ToastDescription`)),$d=`ToastAction`,ef=b.forwardRef(bd(function(e,t){let{altText:n,...r}=e;return n.trim()?(0,q.jsx)(rf,{altText:n,asChild:!0,children:(0,q.jsx)(nf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${$d}\`. Expected non-empty \`string\`.`),null)},`ToastAction`)),tf=`ToastClose`,nf=b.forwardRef(bd(function(e,t){let{__scopeToast:n,...r}=e,i=Jd(tf,n);return(0,q.jsx)(rf,{asChild:!0,children:(0,q.jsx)(Y.button,{type:`button`,...r,ref:t,onClick:Oe(e.onClick,i.onClose)})})},`ToastClose`)),rf=b.forwardRef(bd(function(e,t){let{__scopeToast:n,altText:r,...i}=e;return(0,q.jsx)(Y.div,{"data-radix-toast-announce-exclude":``,"data-radix-toast-announce-alt":r||void 0,...i,ref:t})},`ToastAnnounceExclude`));function af(e){let t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),lf(e)){let n=e.ariaHidden||e.hidden||e.style.display===`none`,r=e.dataset.radixToastAnnounceExclude===``;if(!n){if(r){let n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)}else t.push(...af(e))}}}),t}bd(af,`getAnnounceTextContent`);function of(e,t,n,{discrete:r}){let i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?X(i,a):i.dispatchEvent(a)}bd(of,`handleAndDispatchCustomEvent`);var sf=bd((e,t,n=0)=>{let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t===Ed.Left||t===Ed.Right?a&&r>n:!a&&i>n},`isDeltaInDirection`);function cf(e=()=>{}){let t=kt(e);Z(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}bd(cf,`useNextFrame`);function lf(e){return e.nodeType===e.ELEMENT_NODE}bd(lf,`isHTMLElement`);function uf(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:bd(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}bd(uf,`getTabbableCandidates`);function df(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}bd(df,`focusFirst`);var ff=Object.defineProperty,pf=(e,t)=>ff(e,`name`,{value:t,configurable:!0}),[mf,hf]=le(`Tooltip`,[vs]),gf=vs(),_f=`TooltipProvider`,vf=700,yf=`tooltip.open`,[bf,xf]=mf(_f),Sf=pf(e=>{let{__scopeTooltip:t,delayDuration:n=vf,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=b.useRef(!0),s=b.useRef(!1),c=b.useRef(0);return b.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,q.jsx)(bf,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:b.useCallback(()=>{r<=0||(window.clearTimeout(c.current),o.current=!1)},[r]),onClose:b.useCallback(()=>{r<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r))},[r]),isPointerInTransitRef:s,onPointerInTransitChange:b.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:a})},`TooltipProvider`),Cf=`Tooltip`,[wf,Tf]=mf(Cf),Ef=pf(e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,c=xf(Cf,e.__scopeTooltip),l=gf(t),[u,d]=b.useState(null),[f,p]=b.useState(void 0),m=at(),h=b.useRef(0),g=o??c.disableHoverableContent,_=s??c.delayDuration,v=b.useRef(!1),[y,x]=Ve({prop:r,defaultProp:i??!1,onChange:pf(e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(yf))):c.onClose(),a?.(e)},`onChange`),caller:Cf}),S=b.useMemo(()=>y?v.current?`delayed-open`:`instant-open`:`closed`,[y]),C=b.useCallback(()=>{window.clearTimeout(h.current),h.current=0,v.current=!1,x(!0)},[x]),w=b.useCallback(()=>{window.clearTimeout(h.current),h.current=0,x(!1)},[x]),T=b.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{v.current=!0,x(!0),h.current=0},_)},[_,x]);b.useEffect(()=>()=>{h.current&&=(window.clearTimeout(h.current),0)},[]);let E=f??m;return(0,q.jsx)(xs,{...l,children:(0,q.jsx)(wf,{scope:t,contentId:E,setContentId:p,open:y,stateAttribute:S,trigger:u,onTriggerChange:d,onTriggerEnter:b.useCallback(()=>{c.isOpenDelayedRef.current?T():C()},[c.isOpenDelayedRef,T,C]),onTriggerLeave:b.useCallback(()=>{g?w():(window.clearTimeout(h.current),h.current=0)},[w,g]),onOpen:C,onClose:w,disableHoverableContent:g,children:n})})},`Tooltip`),Df=`TooltipTrigger`,Of=b.forwardRef(pf(function(e,t){let{__scopeTooltip:n,"aria-describedby":r,...i}=e,a=Tf(Df,n),o=xf(Df,n),s=gf(n),c=T(t,b.useRef(null),a.onTriggerChange),l=b.useRef(!1),u=b.useRef(!1),d=b.useCallback(()=>l.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener(`pointerup`,d),[d]),(0,q.jsx)(Cs,{asChild:!0,...s,children:(0,q.jsx)(Y.button,{"aria-describedby":a.open?Gf(r,a.contentId):r,"data-state":a.stateAttribute,...i,ref:c,onPointerMove:Oe(e.onPointerMove,e=>{e.pointerType!==`touch`&&!u.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:Oe(e.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:Oe(e.onPointerDown,()=>{a.open&&a.onClose(),l.current=!0,document.addEventListener(`pointerup`,d,{once:!0})}),onFocus:Oe(e.onFocus,()=>{l.current||a.onOpen()}),onBlur:Oe(e.onBlur,a.onClose),onClick:Oe(e.onClick,a.onClose)})})},`TooltipTrigger`)),kf=`TooltipPortal`,[Af,jf]=mf(kf,{forceMount:void 0}),Mf=pf(e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=Tf(kf,t);return(0,q.jsx)(Af,{scope:t,forceMount:n,children:(0,q.jsx)(Ye,{present:n||a.open,children:(0,q.jsx)(mn,{asChild:!0,container:i,children:r})})})},`TooltipPortal`),Nf=`TooltipContent`,Pf=b.forwardRef(pf(function(e,t){let n=jf(Nf,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=`top`,...a}=e,o=Tf(Nf,e.__scopeTooltip);return(0,q.jsx)(Ye,{present:r||o.open,children:o.disableHoverableContent?(0,q.jsx)(Lf,{side:i,...a,ref:t}):(0,q.jsx)(Ff,{side:i,...a,ref:t})})},`TooltipContent`)),Ff=b.forwardRef(pf(function(e,t){let n=Tf(Nf,e.__scopeTooltip),r=xf(Nf,e.__scopeTooltip),i=b.useRef(null),a=T(t,i),[o,s]=b.useState(null),{trigger:c,onClose:l}=n,u=i.current,{onPointerInTransitChange:d}=r,f=b.useCallback(()=>{s(null),d(!1)},[d]),p=b.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=Bf(r,zf(r,n.getBoundingClientRect())),a=Vf(t.getBoundingClientRect()),o=Uf([...i,...a]);s(o),d(!0)},[d]);return b.useEffect(()=>()=>f(),[f]),b.useEffect(()=>{if(c&&u){let e=pf(e=>p(e,u),`handleTriggerLeave`),t=pf(e=>p(e,c),`handleContentLeave`);return c.addEventListener(`pointerleave`,e),u.addEventListener(`pointerleave`,t),()=>{c.removeEventListener(`pointerleave`,e),u.removeEventListener(`pointerleave`,t)}}},[c,u,p,f]),b.useEffect(()=>{if(o){let e=pf(e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||u?.contains(t),i=!Hf(n,o);r?f():i&&(f(),l())},`handleTrackPointerGrace`);return document.addEventListener(`pointermove`,e),()=>document.removeEventListener(`pointermove`,e)}},[c,u,o,l,f]),(0,q.jsx)(Lf,{...e,ref:a})},`TooltipContentHoverable`)),If=j(`TooltipContent`),Lf=b.forwardRef(pf(function(e,t){let{__scopeTooltip:n,children:r,"aria-label":i,id:a,onEscapeKeyDown:o,onPointerDownOutside:s,...c}=e,l=Tf(Nf,n),u=gf(n),{onClose:d}=l,[f,p]=b.useState(null),m=T(t,p);en(f),b.useEffect(()=>(document.addEventListener(yf,d),()=>document.removeEventListener(yf,d)),[d]),b.useEffect(()=>{if(l.trigger){let e=pf(e=>{e.target instanceof Node&&e.target.contains(l.trigger)&&d()},`handleScroll`);return window.addEventListener(`scroll`,e,{capture:!0}),()=>window.removeEventListener(`scroll`,e,{capture:!0})}},[l.trigger,d]);let{setContentId:h}=l;return Z(()=>(h(a),()=>{h(void 0)}),[a,h]),(0,q.jsx)(Lt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,q.jsxs)(Ds,{"data-state":l.stateAttribute,role:i?void 0:`tooltip`,id:i?void 0:l.contentId,...u,...c,ref:m,style:{...c.style,"--radix-tooltip-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-tooltip-content-available-width":`var(--radix-popper-available-width)`,"--radix-tooltip-content-available-height":`var(--radix-popper-available-height)`,"--radix-tooltip-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-tooltip-trigger-height":`var(--radix-popper-anchor-height)`},children:[(0,q.jsx)(If,{children:r}),i?(0,q.jsx)(ae,{id:l.contentId,role:`tooltip`,children:i}):null]})})},`TooltipContentImpl`)),Rf=b.forwardRef(pf(function(e,t){let{__scopeTooltip:n,...r}=e,i=gf(n);return(0,q.jsx)(As,{...i,...r,ref:t})},`TooltipArrow`));function zf(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}pf(zf,`getExitSideFromRect`);function Bf(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}pf(Bf,`getPaddedExitPoints`);function Vf(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}pf(Vf,`getPointsFromRect`);function Hf(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}pf(Hf,`isPointInPolygon`);function Uf(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:+(e.y>t.y)),Wf(t)}pf(Uf,`getHull`);function Wf(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}pf(Wf,`getHullPresorted`);function Gf(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}pf(Gf,`concatAriaDescribedby`);var Kf=yi,Q=y();function qf(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(Oi,{...e,asChild:!0}),t[0]=e,t[1]=n),n}var Jf=Kr,Yf=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},Xf=(e=>e?Yf(e):Yf),Zf=e=>e;function Qf(e,t=Zf){let n=b.useSyncExternalStore(e.subscribe,b.useCallback(()=>t(e.getState()),[e,t]),()=>t(e.getInitialState()));return b.useDebugValue(n),n}var $f=e=>{let t=Xf(e),n=e=>Qf(t,e);return Object.assign(n,t),n},ep=(e=>e?$f(e):$f),tp=`o-ui-`,np=Xf(()=>({defaultPrefix:tp})),rp=(0,b.createContext)(null);function ip(e){let t=(0,Q.c)(3),{prefix:n,children:r}=e,i;return t[0]!==r||t[1]!==n?(i=n===void 0?r:(0,q.jsx)(rp,{value:n,children:r}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function ap(){let e=(0,Q.c)(2),t=Qf(np,op),n=(0,b.useContext)(rp)??t,r;return e[0]===n?r=e[1]:(r=e=>`${n}${e===void 0?``:e}`,e[0]=n,e[1]=r),r}function op(e){let{defaultPrefix:t}=e;return t}function $(...e){let t=[];for(let n of e)if(n&&typeof n!=`boolean`){if(Array.isArray(n)){let e=$(...n);e&&t.push(e)}else if(typeof n==`object`&&n.toString===Object.prototype.toString)for(let e of Object.keys(n))n[e]&&t.push(e);else t.push(String(n))}return t.join(` `)||void 0}var sp={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400};function cp(e){let t=(0,Q.c)(13),n=ap(),r=e?.prefix??n,i;t[0]===r?i=t[1]:(i=e=>`--${r(e)}`,t[0]=r,t[1]=i);let a=i,o;t[2]===a?o=t[3]:(o=(e,t)=>`var(${a(e)}${t==null?``:`, ${String(t)}`})`,t[2]=a,t[3]=o);let s=o,c;t[4]===a?c=t[5]:(c=(e,t)=>t==null?void 0:{[a(e)]:String(t)},t[4]=a,t[5]=c);let l=c,u;t[6]===s?u=t[7]:(u=e=>s(`toggler-${e}`,null),t[6]=s,t[7]=u);let d=u,f;return t[8]!==d||t[9]!==s||t[10]!==a||t[11]!==l?(f={cssVarName:a,cssVar:s,cssVarStyle:l,cssToggler:d},t[8]=d,t[9]=s,t[10]=a,t[11]=l,t[12]=f):f=t[12],f}function lp(e,t,n,r,i){let a=(0,Q.c)(6),{cssVarName:o}=cp(i),s;return a[0]!==e||a[1]!==o||a[2]!==r||a[3]!==t||a[4]!==n?(s=dp(o,e,t,n,r),a[0]=e,a[1]=o,a[2]=r,a[3]=t,a[4]=n,a[5]=s):s=a[5],s}function up(e,t,n,r){let i=(0,Q.c)(5),{cssVarName:a}=cp(r),o;return i[0]!==e||i[1]!==a||i[2]!==n||i[3]!==t?(o=fp(a,e,t,n),i[0]=e,i[1]=a,i[2]=n,i[3]=t,i[4]=o):o=i[4],o}function dp(e,t,n,r,i){let a={},o={};if(r!=null){let s=`${t}${n}`;if(mp(r))for(let[t,c]of Object.entries(r)){let r=i&&c!=null?i(c):c;r!=null&&(a[e(`${s}-${t}`)]=String(r),o[`data-has-${n}-${t}`]=``)}else{let t=i&&r!=null?i(r):r;t!=null&&(a[e(s)]=String(t))}}return{cssVars:a,dataAttrs:o}}function fp(e,t,n,r){let i={},a={};for(let[o,s]of Object.entries(n)){let n=dp(e,t,o,s,r?.[o]);Object.assign(i,n.cssVars),Object.assign(a,n.dataAttrs)}return{cssVars:i,dataAttrs:a}}function pp(e,t){if(e===void 0)return t;if(t===void 0)return e;if(!mp(t))return t;let n=mp(e)?e:{xs:e},r={},i=!1;for(let e in sp)i?r[e]=t[e]:(r[e]=t[e]??n[e],i=t[e]!==void 0);return r}function mp(e){if(typeof e!=`object`||!e||Array.isArray(e))return!1;for(let t in e)if(t in sp)return!0;return!1}function hp(){let e=(0,Q.c)(2),{cssVar:t}=cp(),n;return e[0]===t?n=e[1]:(n=(...e)=>e.map(e=>e===0?`0px`:e===1?t(`space`):`calc(${t(`space`)} * ${e})`).join(` `),e[0]=t,e[1]=n),n}function gp(e){let t=(0,Q.c)(55),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({m:n,my:c,mx:s,mt:o,mr:a,mb:r,ml:i,...l}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=hp(),d;t[9]!==n||t[10]!==o||t[11]!==c?(d=pp(n,pp(c,o)),t[9]=n,t[10]=o,t[11]=c,t[12]=d):d=t[12];let f=d,p;t[13]!==n||t[14]!==a||t[15]!==s?(p=pp(n,pp(s,a)),t[13]=n,t[14]=a,t[15]=s,t[16]=p):p=t[16];let m=p,h;t[17]!==n||t[18]!==r||t[19]!==c?(h=pp(n,pp(c,r)),t[17]=n,t[18]=r,t[19]=c,t[20]=h):h=t[20];let g=h,_;t[21]!==n||t[22]!==i||t[23]!==s?(_=pp(n,pp(s,i)),t[21]=n,t[22]=i,t[23]=s,t[24]=_):_=t[24];let v=_,y;t[25]===u?y=t[26]:(y=e=>typeof e==`number`?u(e):e,t[25]=u,t[26]=y);let b=y,x=lp(``,`mt`,f,b),S=lp(``,`mr`,m,b),C=lp(``,`mb`,g,b),w=lp(``,`ml`,v,b),T;t[27]!==C.cssVars||t[28]!==w.cssVars||t[29]!==S.cssVars||t[30]!==x.cssVars?(T={...x.cssVars,...S.cssVars,...C.cssVars,...w.cssVars},t[27]=C.cssVars,t[28]=w.cssVars,t[29]=S.cssVars,t[30]=x.cssVars,t[31]=T):T=t[31];let E;t[32]===f?E=t[33]:(E=f!=null&&{"data-has-mt":``},t[32]=f,t[33]=E);let D;t[34]===m?D=t[35]:(D=m!=null&&{"data-has-mr":``},t[34]=m,t[35]=D);let O;t[36]===g?O=t[37]:(O=g!=null&&{"data-has-mb":``},t[36]=g,t[37]=O);let k;t[38]===v?k=t[39]:(k=v!=null&&{"data-has-ml":``},t[38]=v,t[39]=k);let A;t[40]!==C.dataAttrs||t[41]!==w.dataAttrs||t[42]!==S.dataAttrs||t[43]!==x.dataAttrs||t[44]!==k||t[45]!==E||t[46]!==D||t[47]!==O?(A={...E,...x.dataAttrs,...D,...S.dataAttrs,...O,...C.dataAttrs,...k,...w.dataAttrs},t[40]=C.dataAttrs,t[41]=w.dataAttrs,t[42]=S.dataAttrs,t[43]=x.dataAttrs,t[44]=k,t[45]=E,t[46]=D,t[47]=O,t[48]=A):A=t[48];let j;t[49]!==A||t[50]!==T?(j={cssVars:T,dataAttrs:A},t[49]=A,t[50]=T,t[51]=j):j=t[51];let M;return t[52]!==l||t[53]!==j?(M={marginProps:j,...l},t[52]=l,t[53]=j,t[54]=M):M=t[54],M}var _p=k,vp=M;function yp(e){let t=(0,Q.c)(26),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({asChild:n,variant:o,color:s,mergeSections:c,className:r,style:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=o===void 0?`solid`:o,u=s===void 0?`neutral`:s,d=c!==void 0&&c,f=ap(),p=gp(i),m,h;t[8]===p?(m=t[9],h=t[10]):({marginProps:m,...h}=p,t[8]=p,t[9]=m,t[10]=h);let g=n?_p:`div`,_;t[11]!==r||t[12]!==d||t[13]!==f||t[14]!==l?(_=$(f(`card`),f(`card--${l}`),d&&f(`card--merged`),r),t[11]=r,t[12]=d,t[13]=f,t[14]=l,t[15]=_):_=t[15];let v;t[16]!==m.cssVars||t[17]!==a?(v={...m.cssVars,...a},t[16]=m.cssVars,t[17]=a,t[18]=v):v=t[18];let y;return t[19]!==g||t[20]!==u||t[21]!==m.dataAttrs||t[22]!==h||t[23]!==_||t[24]!==v?(y=(0,q.jsx)(g,{className:_,style:v,"data-accent":u,...m.dataAttrs,...h}),t[19]=g,t[20]=u,t[21]=m.dataAttrs,t[22]=h,t[23]=_,t[24]=v,t[25]=y):y=t[25],y}function bp(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({asChild:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),o=n?_p:`div`,s;t[4]!==r||t[5]!==a?(s=$(a(`card__body`),r),t[4]=r,t[5]=a,t[6]=s):s=t[6];let c;return t[7]!==o||t[8]!==i||t[9]!==s?(c=(0,q.jsx)(o,{className:s,...i}),t[7]=o,t[8]=i,t[9]=s,t[10]=c):c=t[10],c}function xp(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({asChild:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),o=n?_p:`div`,s;t[4]!==r||t[5]!==a?(s=$(a(`card__footer`),r),t[4]=r,t[5]=a,t[6]=s):s=t[6];let c;return t[7]!==o||t[8]!==i||t[9]!==s?(c=(0,q.jsx)(o,{className:s,...i}),t[7]=o,t[8]=i,t[9]=s,t[10]=c):c=t[10],c}function Sp(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({asChild:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),o=n?_p:`div`,s;t[4]!==r||t[5]!==a?(s=$(a(`card__header`),r),t[4]=r,t[5]=a,t[6]=s):s=t[6];let c;return t[7]!==o||t[8]!==i||t[9]!==s?(c=(0,q.jsx)(o,{className:s,...i}),t[7]=o,t[8]=i,t[9]=s,t[10]=c):c=t[10],c}function Cp(e){let t=(0,Q.c)(21),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({as:o,asChild:n,className:r,style:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0?`div`:o,c=ap(),l=gp(i),u,d;t[6]===l?(u=t[7],d=t[8]):({marginProps:u,...d}=l,t[6]=l,t[7]=u,t[8]=d);let f=n?_p:s,p;t[9]!==r||t[10]!==c?(p=$(c(`card__title`),r),t[9]=r,t[10]=c,t[11]=p):p=t[11];let m;t[12]!==u.cssVars||t[13]!==a?(m={...u.cssVars,...a},t[12]=u.cssVars,t[13]=a,t[14]=m):m=t[14];let h;return t[15]!==f||t[16]!==u.dataAttrs||t[17]!==d||t[18]!==p||t[19]!==m?(h=(0,q.jsx)(f,{className:p,style:m,...u.dataAttrs,...d}),t[15]=f,t[16]=u.dataAttrs,t[17]=d,t[18]=p,t[19]=m,t[20]=h):h=t[20],h}function wp(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`dialog__body`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(bp,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function Tp(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(di,{...e,asChild:!0}),t[0]=e,t[1]=n),n}function Ep(e){let t=(0,Q.c)(3),n=(0,b.useRef)(e),r,i;return t[0]===e?(r=t[1],i=t[2]):(r=()=>{n.current=e},i=[e],t[0]=e,t[1]=r,t[2]=i),(0,b.useInsertionEffect)(r,i),n}function Dp(e,t){let n=(0,Q.c)(7),r=t?.checkDefaultPrevented??!1,i;n[0]===e?i=n[1]:(i=e.filter(Boolean),n[0]=e,n[1]=i);let a=i,o;n[2]!==a||n[3]!==r?(o={checkDefaultPrevented:r,activeHandlers:a},n[2]=a,n[3]=r,n[4]=o):o=n[4];let s=Ep(o);if(a.length===0)return;let c;return n[5]===s?c=n[6]:(c=(...e)=>{let t=e,{checkDefaultPrevented:n,activeHandlers:r}=s.current;for(let e of r)if(e(...t),n&&t[0]?.defaultPrevented)break},n[5]=s,n[6]=c),c}var Op=e=>(t,n,r)=>{let i=r.subscribe;return r.subscribe=((e,t,n)=>{let a=e;if(t){let i=n?.equalityFn||Object.is,o=e(r.getState());a=n=>{let r=e(n);if(!i(o,r)){let e=o;t(o=r,e)}},n?.fireImmediately&&t(o,o)}return i(a)}),e(t,n,r)},kp=(0,b.createContext)(null);function Ap(e,t){let n=(0,Q.c)(7),[r,i]=(0,b.useState)(e),a;n[0]===t?a=n[1]:(a={controlledValue:t},n[0]=t,n[1]=a);let o=Ep(a),s;n[2]===o?s=n[3]:(s=e=>{let{controlledValue:t}=o.current;i(t===void 0?e:typeof e==`function`?e(t):t)},n[2]=o,n[3]=s);let c=s,l=t===void 0?r:t,u;return n[4]!==c||n[5]!==l?(u=[l,c],n[4]=c,n[5]=l,n[6]=u):u=n[6],u}function jp(e){let t=(0,Q.c)(7),{defaultLocale:n,locale:r,onLocaleChange:i,children:a}=e,[o,s]=Ap(n,r),c;t[0]!==i||t[1]!==s?(c=[i,s],t[0]=i,t[1]=s,t[2]=c):c=t[2];let l=Dp(c),u;return t[3]!==a||t[4]!==l||t[5]!==o?(u=o===void 0?a:(0,q.jsx)(kp,{value:{locale:o,setLocale:l},children:a}),t[3]=a,t[4]=l,t[5]=o,t[6]=u):u=t[6],u}function Mp(){let e=(0,Q.c)(3),t=(0,b.useContext)(kp);if(t===null)throw Error("No locale has been provided. Please provide a `defaultLocale`/`locale` property to the `Root` or `LocalizationProvider` components.");let n;return e[0]!==t.locale||e[1]!==t.setLocale?(n=[t.locale,t.setLocale],e[0]=t.locale,e[1]=t.setLocale,e[2]=n):n=e[2],n}function Np(e){return typeof e?.then==`function`}function Pp(e){return(0,b.useState)(e)[0]}var Fp=e=>Symbol.iterator in e,Ip=e=>`entries`in e,Lp=(e,t)=>{let n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(let[e,t]of n)if(!r.has(e)||!Object.is(t,r.get(e)))return!1;return!0},Rp=(e,t)=>{let n=e[Symbol.iterator](),r=t[Symbol.iterator](),i=n.next(),a=r.next();for(;!i.done&&!a.done;){if(!Object.is(i.value,a.value))return!1;i=n.next(),a=r.next()}return!!i.done&&!!a.done};function zp(e,t){return Object.is(e,t)?!0:typeof e!=`object`||!e||typeof t!=`object`||!t||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?!1:Fp(e)&&Fp(t)?Ip(e)&&Ip(t)?Lp(e,t):Rp(e,t):Lp({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}function Bp(e){let t=b.useRef(void 0);return n=>{let r=e(n);return zp(t.current,r)?t.current:t.current=r}}var Vp=Xf(()=>({}));function Hp(e){return e??Vp}function Up(e,t){let n,r;return()=>{let i=e();return n!==void 0&&zp(n,i)||(n=i,r=t(...i)),r}}var Wp=typeof document<`u`?b.useLayoutEffect:b.useEffect,Gp=(0,b.createContext)({printing:!1});function Kp(){return(0,b.useContext)(Gp)}function qp(){return Kp().printing}function Jp(e,t){return typeof t==`function`?t(e):e[t]}function Yp(e,t){return String(e).localeCompare(String(t))}function Xp(e,t,n){if(e===``||t===``)return null;let r=e=>e.normalize(`NFD`).replace(/\p{M}/gu,``).toLocaleLowerCase(n),i=e.normalize(`NFC`),a=r(i),o=r(t),s=a.indexOf(o);if(s===-1)return null;let c=s+o.length;return{before:i.slice(0,s),matched:i.slice(s,c),after:i.slice(c)}}var Zp=6048e5,Qp=864e5,$p=6e4,em=36e5,tm=1e3,nm=Symbol.for(`constructDateFrom`);function rm(e,t){return typeof e==`function`?e(t):e&&typeof e==`object`&&nm in e?e[nm](t):e instanceof Date?new e.constructor(t):new Date(t)}function im(e,t){return rm(t||e,e)}function am(e,t,n){let r=im(e,n?.in);return isNaN(t)?rm(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function om(e,t,n){let r=im(e,n?.in);if(isNaN(t))return rm(n?.in||e,NaN);if(!t)return r;let i=r.getDate(),a=rm(n?.in||e,r.getTime());return a.setMonth(r.getMonth()+t+1,0),i>=a.getDate()?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}var sm={};function cm(){return sm}function lm(e,t){let n=cm(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=im(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function um(e,t){return lm(e,{...t,weekStartsOn:1})}function dm(e,t){let n=im(e,t?.in),r=n.getFullYear(),i=rm(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let a=um(i),o=rm(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let s=um(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function fm(e){let t=im(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-n}function pm(e,...t){let n=rm.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function mm(e,t){let n=im(e,t?.in);return n.setHours(0,0,0,0),n}function hm(e,t,n){let[r,i]=pm(n?.in,e,t),a=mm(r),o=mm(i),s=+a-fm(a),c=+o-fm(o);return Math.round((s-c)/Qp)}function gm(e,t){let n=dm(e,t),r=rm(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),um(r)}function _m(e,t,n){return am(e,t*7,n)}function vm(e,t,n){return om(e,t*12,n)}function ym(e,t){let n,r=t?.in;return e.forEach(e=>{!r&&typeof e==`object`&&(r=rm.bind(null,e));let t=im(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),rm(r,n||NaN)}function bm(e,t){let n,r=t?.in;return e.forEach(e=>{!r&&typeof e==`object`&&(r=rm.bind(null,e));let t=im(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),rm(r,n||NaN)}function xm(e,t,n){let[r,i]=pm(n?.in,e,t);return+mm(r)==+mm(i)}function Sm(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}function Cm(e){return!(!Sm(e)&&typeof e!=`number`||isNaN(+im(e)))}function wm(e,t,n){let[r,i]=pm(n?.in,e,t),a=r.getFullYear()-i.getFullYear(),o=r.getMonth()-i.getMonth();return a*12+o}function Tm(e,t){let n=im(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Em(e,t){let[n,r]=pm(e,t.start,t.end);return{start:n,end:r}}function Dm(e,t){let{start:n,end:r}=Em(t?.in,e),i=+n>+r,a=i?+n:+r,o=i?r:n;o.setHours(0,0,0,0),o.setDate(1);let s=t?.step??1;if(!s)return[];s<0&&(s=-s,i=!i);let c=[];for(;+o<=a;)c.push(rm(n,o)),o.setMonth(o.getMonth()+s);return i?c.reverse():c}function Om(e,t){let n=im(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function km(e,t){let n=im(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Am(e,t){let n=im(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function jm(e,t){let{start:n,end:r}=Em(t?.in,e),i=+n>+r,a=i?+n:+r,o=i?r:n;o.setHours(0,0,0,0),o.setMonth(0,1);let s=t?.step??1;if(!s)return[];s<0&&(s=-s,i=!i);let c=[];for(;+o<=a;)c.push(rm(n,o)),o.setFullYear(o.getFullYear()+s);return i?c.reverse():c}function Mm(e,t){let n=cm(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=im(e,t?.in),a=i.getDay(),o=(a<r?-7:0)+6-(a-r);return i.setDate(i.getDate()+o),i.setHours(23,59,59,999),i}function Nm(e,t){return Mm(e,{...t,weekStartsOn:1})}var Pm={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},Fm=(e,t,n)=>{let r,i=Pm[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?`in `+r:r+` ago`:r};function Im(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var Lm={date:Im({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:Im({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:Im({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},Rm={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},zm=(e,t,n,r)=>Rm[e];function Bm(e){return(t,n)=>{let r=n?.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}var Vm={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:Bm({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:Bm({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:Bm({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:Bm({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:Bm({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};function Hm(e){return(t,n={})=>{let r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?Wm(s,e=>e.test(o)):Um(s,e=>e.test(o)),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;let u=t.slice(o.length);return{value:l,rest:u}}}function Um(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Wm(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Gm(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}var Km={ordinalNumber:Gm({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:Hm({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:Hm({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:Hm({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:Hm({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:Hm({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})},qm={code:`en-US`,formatDistance:Fm,formatLong:Lm,formatRelative:zm,localize:Vm,match:Km,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Jm(e,t){let n=im(e,t?.in);return hm(n,Am(n))+1}function Ym(e,t){let n=im(e,t?.in),r=+um(n)-gm(n);return Math.round(r/Zp)+1}function Xm(e,t){let n=im(e,t?.in),r=n.getFullYear(),i=cm(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=rm(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let s=lm(o,t),c=rm(t?.in||e,0);c.setFullYear(r,0,a),c.setHours(0,0,0,0);let l=lm(c,t);return+n>=+s?r+1:+n>=+l?r:r-1}function Zm(e,t){let n=cm(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=Xm(e,t),a=rm(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),lm(a,t)}function Qm(e,t){let n=im(e,t?.in),r=+lm(n,t)-Zm(n,t);return Math.round(r/Zp)+1}function $m(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}var eh={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return $m(t===`yy`?r%100:r,t.length)},M(e,t){let n=e.getMonth();return t===`M`?String(n+1):$m(n+1,2)},d(e,t){return $m(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.toUpperCase();case`aaa`:return n;case`aaaaa`:return n[0];default:return n===`am`?`a.m.`:`p.m.`}},h(e,t){return $m(e.getHours()%12||12,t.length)},H(e,t){return $m(e.getHours(),t.length)},m(e,t){return $m(e.getMinutes(),t.length)},s(e,t){return $m(e.getSeconds(),t.length)},S(e,t){let n=t.length,r=e.getMilliseconds();return $m(Math.trunc(r*10**(n-3)),t.length)}},th={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},nh={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case`G`:case`GG`:case`GGG`:return n.era(r,{width:`abbreviated`});case`GGGGG`:return n.era(r,{width:`narrow`});default:return n.era(r,{width:`wide`})}},y:function(e,t,n){if(t===`yo`){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:`year`})}return eh.y(e,t)},Y:function(e,t,n,r){let i=Xm(e,r),a=i>0?i:1-i;return t===`YY`?$m(a%100,2):t===`Yo`?n.ordinalNumber(a,{unit:`year`}):$m(a,t.length)},R:function(e,t){return $m(dm(e),t.length)},u:function(e,t){return $m(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`Q`:return String(r);case`QQ`:return $m(r,2);case`Qo`:return n.ordinalNumber(r,{unit:`quarter`});case`QQQ`:return n.quarter(r,{width:`abbreviated`,context:`formatting`});case`QQQQQ`:return n.quarter(r,{width:`narrow`,context:`formatting`});default:return n.quarter(r,{width:`wide`,context:`formatting`})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`q`:return String(r);case`qq`:return $m(r,2);case`qo`:return n.ordinalNumber(r,{unit:`quarter`});case`qqq`:return n.quarter(r,{width:`abbreviated`,context:`standalone`});case`qqqqq`:return n.quarter(r,{width:`narrow`,context:`standalone`});default:return n.quarter(r,{width:`wide`,context:`standalone`})}},M:function(e,t,n){let r=e.getMonth();switch(t){case`M`:case`MM`:return eh.M(e,t);case`Mo`:return n.ordinalNumber(r+1,{unit:`month`});case`MMM`:return n.month(r,{width:`abbreviated`,context:`formatting`});case`MMMMM`:return n.month(r,{width:`narrow`,context:`formatting`});default:return n.month(r,{width:`wide`,context:`formatting`})}},L:function(e,t,n){let r=e.getMonth();switch(t){case`L`:return String(r+1);case`LL`:return $m(r+1,2);case`Lo`:return n.ordinalNumber(r+1,{unit:`month`});case`LLL`:return n.month(r,{width:`abbreviated`,context:`standalone`});case`LLLLL`:return n.month(r,{width:`narrow`,context:`standalone`});default:return n.month(r,{width:`wide`,context:`standalone`})}},w:function(e,t,n,r){let i=Qm(e,r);return t===`wo`?n.ordinalNumber(i,{unit:`week`}):$m(i,t.length)},I:function(e,t,n){let r=Ym(e);return t===`Io`?n.ordinalNumber(r,{unit:`week`}):$m(r,t.length)},d:function(e,t,n){return t===`do`?n.ordinalNumber(e.getDate(),{unit:`date`}):eh.d(e,t)},D:function(e,t,n){let r=Jm(e);return t===`Do`?n.ordinalNumber(r,{unit:`dayOfYear`}):$m(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case`E`:case`EE`:case`EEE`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`EEEEE`:return n.day(r,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},e:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`e`:return String(a);case`ee`:return $m(a,2);case`eo`:return n.ordinalNumber(a,{unit:`day`});case`eee`:return n.day(i,{width:`abbreviated`,context:`formatting`});case`eeeee`:return n.day(i,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(i,{width:`short`,context:`formatting`});default:return n.day(i,{width:`wide`,context:`formatting`})}},c:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`c`:return String(a);case`cc`:return $m(a,t.length);case`co`:return n.ordinalNumber(a,{unit:`day`});case`ccc`:return n.day(i,{width:`abbreviated`,context:`standalone`});case`ccccc`:return n.day(i,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(i,{width:`short`,context:`standalone`});default:return n.day(i,{width:`wide`,context:`standalone`})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case`i`:return String(i);case`ii`:return $m(i,t.length);case`io`:return n.ordinalNumber(i,{unit:`day`});case`iii`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`iiiii`:return n.day(r,{width:`narrow`,context:`formatting`});case`iiiiii`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},a:function(e,t,n){let r=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`});case`aaa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`aaaaa`:return n.dayPeriod(r,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(r,{width:`wide`,context:`formatting`})}},b:function(e,t,n){let r=e.getHours(),i;switch(i=r===12?th.noon:r===0?th.midnight:r/12>=1?`pm`:`am`,t){case`b`:case`bb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`bbb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`bbbbb`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},B:function(e,t,n){let r=e.getHours(),i;switch(i=r>=17?th.evening:r>=12?th.afternoon:r>=4?th.morning:th.night,t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`BBBBB`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},h:function(e,t,n){if(t===`ho`){let t=e.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:`hour`})}return eh.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):eh.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t===`Ko`?n.ordinalNumber(r,{unit:`hour`}):$m(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t===`ko`?n.ordinalNumber(r,{unit:`hour`}):$m(r,t.length)},m:function(e,t,n){return t===`mo`?n.ordinalNumber(e.getMinutes(),{unit:`minute`}):eh.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):eh.s(e,t)},S:function(e,t){return eh.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return ih(r);case`XXXX`:case`XX`:return ah(r);default:return ah(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return ih(r);case`xxxx`:case`xx`:return ah(r);default:return ah(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+rh(r,`:`);default:return`GMT`+ah(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+rh(r,`:`);default:return`GMT`+ah(r,`:`)}},t:function(e,t,n){return $m(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return $m(+e,t.length)}};function rh(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+$m(a,2)}function ih(e,t){return e%60==0?(e>0?`-`:`+`)+$m(Math.abs(e)/60,2):ah(e,t)}function ah(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=$m(Math.trunc(r/60),2),a=$m(r%60,2);return n+i+t+a}var oh=(e,t)=>{switch(e){case`P`:return t.date({width:`short`});case`PP`:return t.date({width:`medium`});case`PPP`:return t.date({width:`long`});default:return t.date({width:`full`})}},sh=(e,t)=>{switch(e){case`p`:return t.time({width:`short`});case`pp`:return t.time({width:`medium`});case`ppp`:return t.time({width:`long`});default:return t.time({width:`full`})}},ch={p:sh,P:(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return oh(e,t);let a;switch(r){case`P`:a=t.dateTime({width:`short`});break;case`PP`:a=t.dateTime({width:`medium`});break;case`PPP`:a=t.dateTime({width:`long`});break;default:a=t.dateTime({width:`full`})}return a.replace(`{{date}}`,oh(r,t)).replace(`{{time}}`,sh(i,t))}},lh=/^D+$/,uh=/^Y+$/,dh=[`D`,`DD`,`YY`,`YYYY`];function fh(e){return lh.test(e)}function ph(e){return uh.test(e)}function mh(e,t,n){let r=hh(e,t,n);if(console.warn(r),dh.includes(e))throw RangeError(r)}function hh(e,t,n){let r=e[0]===`Y`?`years`:`days of the month`;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var gh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_h=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,vh=/^'([^]*?)'?$/,yh=/''/g,bh=/[a-zA-Z]/;function xh(e,t,n){let r=cm(),i=n?.locale??r.locale??qm,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=im(e,n?.in);if(!Cm(s))throw RangeError(`Invalid time value`);let c=t.match(_h).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=ch[t];return n(e,i.formatLong)}return e}).join(``).match(gh).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:Sh(e)};if(nh[t])return{isToken:!0,value:e};if(t.match(bh))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));let l={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;(!n?.useAdditionalWeekYearTokens&&ph(a)||!n?.useAdditionalDayOfYearTokens&&fh(a))&&mh(a,t,String(e));let o=nh[a[0]];return o(s,a,i.localize,l)}).join(``)}function Sh(e){let t=e.match(vh);return t?t[1].replace(yh,`'`):e}function Ch(e,t){let n=im(e,t?.in);if(isNaN(+n))throw RangeError(`Invalid time value`);let r=t?.format??`extended`,i=t?.representation??`complete`,a=``,o=``,s=r===`extended`?`-`:``,c=r===`extended`?`:`:``;if(i!==`time`){let e=$m(n.getDate(),2),t=$m(n.getMonth()+1,2);a=`${$m(n.getFullYear(),4)}${s}${t}${s}${e}`}if(i!==`date`){let e=n.getTimezoneOffset();if(e!==0){let t=Math.abs(e),n=$m(Math.trunc(t/60),2),r=$m(t%60,2);o=`${e<0?`+`:`-`}${n}:${r}`}else o=`Z`;let t=$m(n.getHours(),2),r=$m(n.getMinutes(),2),i=$m(n.getSeconds(),2),s=a===``?``:`T`,l=[t,r,i].join(c);a=`${a}${s}${l}${o}`}return a}function wh(e,t){let n=im(e,t?.in),r=n.getFullYear(),i=n.getMonth(),a=rm(n,0);return a.setFullYear(r,i+1,0),a.setHours(0,0,0,0),a.getDate()}function Th(){return Object.assign({},cm())}function Eh(e,t){let n=im(e,t?.in).getDay();return n===0?7:n}function Dh(e,t){return im(e,t?.in).getMonth()}function Oh(e,t){let n=im(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(0,0,0,0),im(n,t?.in)}function kh(e,t){return im(e,t?.in).getFullYear()}function Ah(e,t){return+im(e)>+im(t)}function jh(e,t){return+im(e)<+im(t)}function Mh(e,t){return+im(e)==+im(t)}function Nh(e,t){let n=Ph(t)?new t(0):rm(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function Ph(e){return typeof e==`function`&&e.prototype?.constructor===e}var Fh=10,Ih=class{subPriority=0;validate(e,t){return!0}},Lh=class extends Ih{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},Rh=class extends Ih{priority=Fh;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>rm(t,e))}set(e,t){return t.timestampIsSet?e:rm(e,Nh(e,this.context))}},zh=class{run(e,t,n,r){let i=this.parse(e,t,n,r);return i?{setter:new Lh(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}},Bh=class extends zh{priority=140;parse(e,t,n){switch(t){case`G`:case`GG`:case`GGG`:return n.era(e,{width:`abbreviated`})||n.era(e,{width:`narrow`});case`GGGGG`:return n.era(e,{width:`narrow`});default:return n.era(e,{width:`wide`})||n.era(e,{width:`abbreviated`})||n.era(e,{width:`narrow`})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`R`,`u`,`t`,`T`]},Vh={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Hh={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Uh(e,t){return e&&{value:t(e.value),rest:e.rest}}function Wh(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Gh(e,t){let n=t.match(e);if(!n)return null;if(n[0]===`Z`)return{value:0,rest:t.slice(1)};let r=n[1]===`+`?1:-1,i=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:r*(i*em+a*$p+o*tm),rest:t.slice(n[0].length)}}function Kh(e){return Wh(Vh.anyDigitsSigned,e)}function qh(e,t){switch(e){case 1:return Wh(Vh.singleDigit,t);case 2:return Wh(Vh.twoDigits,t);case 3:return Wh(Vh.threeDigits,t);case 4:return Wh(Vh.fourDigits,t);default:return Wh(RegExp(`^\\d{1,`+e+`}`),t)}}function Jh(e,t){switch(e){case 1:return Wh(Vh.singleDigitSigned,t);case 2:return Wh(Vh.twoDigitsSigned,t);case 3:return Wh(Vh.threeDigitsSigned,t);case 4:return Wh(Vh.fourDigitsSigned,t);default:return Wh(RegExp(`^-?\\d{1,`+e+`}`),t)}}function Yh(e){switch(e){case`morning`:return 4;case`evening`:return 17;case`pm`:case`noon`:case`afternoon`:return 12;default:return 0}}function Xh(e,t){let n=t>0,r=n?t:1-t,i;if(r<=50)i=e||100;else{let t=r+50,n=Math.trunc(t/100)*100,a=e>=t%100;i=e+n-(a?100:0)}return n?i:1-i}function Zh(e){return e%400==0||e%4==0&&e%100!=0}var Qh=class extends zh{priority=130;incompatibleTokens=[`Y`,`R`,`u`,`w`,`I`,`i`,`e`,`c`,`t`,`T`];parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:t===`yy`});switch(t){case`y`:return Uh(qh(4,e),r);case`yo`:return Uh(n.ordinalNumber(e,{unit:`year`}),r);default:return Uh(qh(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=Xh(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i=!(`era`in t)||t.era===1?n.year:1-n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}},$h=class extends zh{priority=130;parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:t===`YY`});switch(t){case`Y`:return Uh(qh(4,e),r);case`Yo`:return Uh(n.ordinalNumber(e,{unit:`year`}),r);default:return Uh(qh(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){let i=Xm(e,r);if(n.isTwoDigitYear){let t=Xh(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),lm(e,r)}let a=!(`era`in t)||t.era===1?n.year:1-n.year;return e.setFullYear(a,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),lm(e,r)}incompatibleTokens=[`y`,`R`,`u`,`Q`,`q`,`M`,`L`,`I`,`d`,`D`,`i`,`t`,`T`]},eg=class extends zh{priority=130;parse(e,t){return Jh(t===`R`?4:t.length,e)}set(e,t,n){let r=rm(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),um(r)}incompatibleTokens=[`G`,`y`,`Y`,`u`,`Q`,`q`,`M`,`L`,`w`,`d`,`D`,`e`,`c`,`t`,`T`]},tg=class extends zh{priority=130;parse(e,t){return Jh(t===`u`?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`G`,`y`,`Y`,`R`,`w`,`I`,`i`,`e`,`c`,`t`,`T`]},ng=class extends zh{priority=120;parse(e,t,n){switch(t){case`Q`:case`QQ`:return qh(t.length,e);case`Qo`:return n.ordinalNumber(e,{unit:`quarter`});case`QQQ`:return n.quarter(e,{width:`abbreviated`,context:`formatting`})||n.quarter(e,{width:`narrow`,context:`formatting`});case`QQQQQ`:return n.quarter(e,{width:`narrow`,context:`formatting`});default:return n.quarter(e,{width:`wide`,context:`formatting`})||n.quarter(e,{width:`abbreviated`,context:`formatting`})||n.quarter(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`M`,`L`,`w`,`I`,`d`,`D`,`i`,`e`,`c`,`t`,`T`]},rg=class extends zh{priority=120;parse(e,t,n){switch(t){case`q`:case`qq`:return qh(t.length,e);case`qo`:return n.ordinalNumber(e,{unit:`quarter`});case`qqq`:return n.quarter(e,{width:`abbreviated`,context:`standalone`})||n.quarter(e,{width:`narrow`,context:`standalone`});case`qqqqq`:return n.quarter(e,{width:`narrow`,context:`standalone`});default:return n.quarter(e,{width:`wide`,context:`standalone`})||n.quarter(e,{width:`abbreviated`,context:`standalone`})||n.quarter(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`Q`,`M`,`L`,`w`,`I`,`d`,`D`,`i`,`e`,`c`,`t`,`T`]},ig=class extends zh{incompatibleTokens=[`Y`,`R`,`q`,`Q`,`L`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`];priority=110;parse(e,t,n){let r=e=>e-1;switch(t){case`M`:return Uh(Wh(Vh.month,e),r);case`MM`:return Uh(qh(2,e),r);case`Mo`:return Uh(n.ordinalNumber(e,{unit:`month`}),r);case`MMM`:return n.month(e,{width:`abbreviated`,context:`formatting`})||n.month(e,{width:`narrow`,context:`formatting`});case`MMMMM`:return n.month(e,{width:`narrow`,context:`formatting`});default:return n.month(e,{width:`wide`,context:`formatting`})||n.month(e,{width:`abbreviated`,context:`formatting`})||n.month(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},ag=class extends zh{priority=110;parse(e,t,n){let r=e=>e-1;switch(t){case`L`:return Uh(Wh(Vh.month,e),r);case`LL`:return Uh(qh(2,e),r);case`Lo`:return Uh(n.ordinalNumber(e,{unit:`month`}),r);case`LLL`:return n.month(e,{width:`abbreviated`,context:`standalone`})||n.month(e,{width:`narrow`,context:`standalone`});case`LLLLL`:return n.month(e,{width:`narrow`,context:`standalone`});default:return n.month(e,{width:`wide`,context:`standalone`})||n.month(e,{width:`abbreviated`,context:`standalone`})||n.month(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`M`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`]};function og(e,t,n){let r=im(e,n?.in),i=Qm(r,n)-t;return r.setDate(r.getDate()-i*7),im(r,n?.in)}var sg=class extends zh{priority=100;parse(e,t,n){switch(t){case`w`:return Wh(Vh.week,e);case`wo`:return n.ordinalNumber(e,{unit:`week`});default:return qh(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return lm(og(e,n,r),r)}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`i`,`t`,`T`]};function cg(e,t,n){let r=im(e,n?.in),i=Ym(r,n)-t;return r.setDate(r.getDate()-i*7),r}var lg=class extends zh{priority=100;parse(e,t,n){switch(t){case`I`:return Wh(Vh.week,e);case`Io`:return n.ordinalNumber(e,{unit:`week`});default:return qh(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return um(cg(e,n))}incompatibleTokens=[`y`,`Y`,`u`,`q`,`Q`,`M`,`L`,`w`,`d`,`D`,`e`,`c`,`t`,`T`]},ug=[31,28,31,30,31,30,31,31,30,31,30,31],dg=[31,29,31,30,31,30,31,31,30,31,30,31],fg=class extends zh{priority=90;subPriority=1;parse(e,t,n){switch(t){case`d`:return Wh(Vh.date,e);case`do`:return n.ordinalNumber(e,{unit:`date`});default:return qh(t.length,e)}}validate(e,t){let n=Zh(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=dg[r]:t>=1&&t<=ug[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`]},pg=class extends zh{priority=90;subpriority=1;parse(e,t,n){switch(t){case`D`:case`DD`:return Wh(Vh.dayOfYear,e);case`Do`:return n.ordinalNumber(e,{unit:`date`});default:return qh(t.length,e)}}validate(e,t){return Zh(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`M`,`L`,`w`,`I`,`d`,`E`,`i`,`e`,`c`,`t`,`T`]};function mg(e,t,n){let r=cm(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=im(e,n?.in),o=a.getDay(),s=(t%7+7)%7,c=7-i;return am(a,t<0||t>6?t-(o+c)%7:(s+c)%7-(o+c)%7,n)}var hg=class extends zh{priority=90;parse(e,t,n){switch(t){case`E`:case`EE`:case`EEE`:return n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});case`EEEEE`:return n.day(e,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});default:return n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=mg(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`D`,`i`,`e`,`c`,`t`,`T`]},gg=class extends zh{priority=90;parse(e,t,n,r){let i=e=>{let t=Math.floor((e-1)/7)*7;return(e+r.weekStartsOn+6)%7+t};switch(t){case`e`:case`ee`:return Uh(qh(t.length,e),i);case`eo`:return Uh(n.ordinalNumber(e,{unit:`day`}),i);case`eee`:return n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});case`eeeee`:return n.day(e,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});default:return n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=mg(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`E`,`i`,`c`,`t`,`T`]},_g=class extends zh{priority=90;parse(e,t,n,r){let i=e=>{let t=Math.floor((e-1)/7)*7;return(e+r.weekStartsOn+6)%7+t};switch(t){case`c`:case`cc`:return Uh(qh(t.length,e),i);case`co`:return Uh(n.ordinalNumber(e,{unit:`day`}),i);case`ccc`:return n.day(e,{width:`abbreviated`,context:`standalone`})||n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`});case`ccccc`:return n.day(e,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`});default:return n.day(e,{width:`wide`,context:`standalone`})||n.day(e,{width:`abbreviated`,context:`standalone`})||n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=mg(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`E`,`i`,`e`,`t`,`T`]};function vg(e,t,n){let r=im(e,n?.in);return am(r,t-Eh(r,n),n)}var yg=class extends zh{priority=90;parse(e,t,n){let r=e=>e===0?7:e;switch(t){case`i`:case`ii`:return qh(t.length,e);case`io`:return n.ordinalNumber(e,{unit:`day`});case`iii`:return Uh(n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r);case`iiiii`:return Uh(n.day(e,{width:`narrow`,context:`formatting`}),r);case`iiiiii`:return Uh(n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r);default:return Uh(n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return e=vg(e,n),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`Y`,`u`,`q`,`Q`,`M`,`L`,`w`,`d`,`D`,`E`,`e`,`c`,`t`,`T`]},bg=class extends zh{priority=80;parse(e,t,n){switch(t){case`a`:case`aa`:case`aaa`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`aaaaa`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(Yh(n),0,0,0),e}incompatibleTokens=[`b`,`B`,`H`,`k`,`t`,`T`]},xg=class extends zh{priority=80;parse(e,t,n){switch(t){case`b`:case`bb`:case`bbb`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`bbbbb`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(Yh(n),0,0,0),e}incompatibleTokens=[`a`,`B`,`H`,`k`,`t`,`T`]},Sg=class extends zh{priority=80;parse(e,t,n){switch(t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`BBBBB`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(Yh(n),0,0,0),e}incompatibleTokens=[`a`,`b`,`t`,`T`]},Cg=class extends zh{priority=70;parse(e,t,n){switch(t){case`h`:return Wh(Vh.hour12h,e);case`ho`:return n.ordinalNumber(e,{unit:`hour`});default:return qh(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):!r&&n===12?e.setHours(0,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=[`H`,`K`,`k`,`t`,`T`]},wg=class extends zh{priority=70;parse(e,t,n){switch(t){case`H`:return Wh(Vh.hour23h,e);case`Ho`:return n.ordinalNumber(e,{unit:`hour`});default:return qh(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=[`a`,`b`,`h`,`K`,`k`,`t`,`T`]},Tg=class extends zh{priority=70;parse(e,t,n){switch(t){case`K`:return Wh(Vh.hour11h,e);case`Ko`:return n.ordinalNumber(e,{unit:`hour`});default:return qh(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=[`h`,`H`,`k`,`t`,`T`]},Eg=class extends zh{priority=70;parse(e,t,n){switch(t){case`k`:return Wh(Vh.hour24h,e);case`ko`:return n.ordinalNumber(e,{unit:`hour`});default:return qh(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){let r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=[`a`,`b`,`h`,`H`,`K`,`t`,`T`]},Dg=class extends zh{priority=60;parse(e,t,n){switch(t){case`m`:return Wh(Vh.minute,e);case`mo`:return n.ordinalNumber(e,{unit:`minute`});default:return qh(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=[`t`,`T`]},Og=class extends zh{priority=50;parse(e,t,n){switch(t){case`s`:return Wh(Vh.second,e);case`so`:return n.ordinalNumber(e,{unit:`second`});default:return qh(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=[`t`,`T`]},kg=class extends zh{priority=30;parse(e,t){return Uh(qh(t.length,e),e=>Math.trunc(e*10**(-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=[`t`,`T`]},Ag=class extends zh{priority=10;parse(e,t){switch(t){case`X`:return Gh(Hh.basicOptionalMinutes,e);case`XX`:return Gh(Hh.basic,e);case`XXXX`:return Gh(Hh.basicOptionalSeconds,e);case`XXXXX`:return Gh(Hh.extendedOptionalSeconds,e);default:return Gh(Hh.extended,e)}}set(e,t,n){return t.timestampIsSet?e:rm(e,e.getTime()-fm(e)-n)}incompatibleTokens=[`t`,`T`,`x`]},jg=class extends zh{priority=10;parse(e,t){switch(t){case`x`:return Gh(Hh.basicOptionalMinutes,e);case`xx`:return Gh(Hh.basic,e);case`xxxx`:return Gh(Hh.basicOptionalSeconds,e);case`xxxxx`:return Gh(Hh.extendedOptionalSeconds,e);default:return Gh(Hh.extended,e)}}set(e,t,n){return t.timestampIsSet?e:rm(e,e.getTime()-fm(e)-n)}incompatibleTokens=[`t`,`T`,`X`]},Mg=class extends zh{priority=40;parse(e){return Kh(e)}set(e,t,n){return[rm(e,n*1e3),{timestampIsSet:!0}]}incompatibleTokens=`*`},Ng=class extends zh{priority=20;parse(e){return Kh(e)}set(e,t,n){return[rm(e,n),{timestampIsSet:!0}]}incompatibleTokens=`*`},Pg={G:new Bh,y:new Qh,Y:new $h,R:new eg,u:new tg,Q:new ng,q:new rg,M:new ig,L:new ag,w:new sg,I:new lg,d:new fg,D:new pg,E:new hg,e:new gg,c:new _g,i:new yg,a:new bg,b:new xg,B:new Sg,h:new Cg,H:new wg,K:new Tg,k:new Eg,m:new Dg,s:new Og,S:new kg,X:new Ag,x:new jg,t:new Mg,T:new Ng},Fg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ig=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Lg=/^'([^]*?)'?$/,Rg=/''/g,zg=/\S/,Bg=/[a-zA-Z]/;function Vg(e,t,n,r){let i=()=>rm(r?.in||n,NaN),a=Th(),o=r?.locale??a.locale??qm,s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0;if(!t)return e?i():im(n,r?.in);let l={firstWeekContainsDate:s,weekStartsOn:c,locale:o},u=[new Rh(r?.in,n)],d=t.match(Ig).map(e=>{let t=e[0];if(t in ch){let n=ch[t];return n(e,o.formatLong)}return e}).join(``).match(Fg),f=[];for(let n of d){!r?.useAdditionalWeekYearTokens&&ph(n)&&mh(n,t,e),!r?.useAdditionalDayOfYearTokens&&fh(n)&&mh(n,t,e);let a=n[0],s=Pg[a];if(s){let{incompatibleTokens:t}=s;if(Array.isArray(t)){let e=f.find(e=>t.includes(e.token)||e.token===a);if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if(s.incompatibleTokens===`*`&&f.length>0)throw RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);f.push({token:a,fullToken:n});let r=s.run(e,n,o.match,l);if(!r)return i();u.push(r.setter),e=r.rest}else{if(a.match(Bg))throw RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");if(n===`''`?n=`'`:a===`'`&&(n=Hg(n)),e.indexOf(n)===0)e=e.slice(n.length);else return i()}}if(e.length>0&&zg.test(e))return i();let p=u.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>u.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),m=im(n,r?.in);if(isNaN(+m))return i();let h={};for(let e of p){if(!e.validate(m,l))return i();let t=e.set(m,h,l);Array.isArray(t)?(m=t[0],Object.assign(h,t[1])):m=t}return m}function Hg(e){return e.match(Lg)[1].replace(Rg,`'`)}function Ug(e,t,n){let[r,i]=pm(n?.in,e,t);return r.getFullYear()===i.getFullYear()&&r.getMonth()===i.getMonth()}function Wg(e,t,n){let[r,i]=pm(n?.in,e,t);return r.getFullYear()===i.getFullYear()}function Gg(e,t,n){let r=+im(e,n?.in),[i,a]=[+im(t.start,n?.in),+im(t.end,n?.in)].sort((e,t)=>e-t);return r>=i&&r<=a}function Kg(e,t){let n=()=>rm(t?.in,NaN),r=t?.additionalDigits??2,i=Zg(e),a;if(i.date){let e=Qg(i.date,r);a=$g(e.restDateString,e.year)}if(!a||isNaN(+a))return n();let o=+a,s=0,c;if(i.time&&(s=t_(i.time),isNaN(s)))return n();if(i.timezone){if(c=r_(i.timezone),isNaN(c))return n()}else{let e=new Date(o+s),n=im(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return im(o+s+c,t?.in)}var qg={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Jg=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Yg=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Xg=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Zg(e){let t={},n=e.split(qg.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],qg.timeZoneDelimiter.test(t.date)&&(t.date=e.split(qg.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){let e=qg.timezone.exec(r);e?(t.time=r.replace(e[1],``),t.timezone=e[1]):t.time=r}return t}function Qg(e,t){let n=RegExp(`^(?:(\\d{4}|[+-]\\d{`+(4+t)+`})|(\\d{2}|[+-]\\d{`+(2+t)+`})$)`),r=e.match(n);if(!r)return{year:NaN,restDateString:``};let i=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:a===null?i:a*100,restDateString:e.slice((r[1]||r[2]).length)}}function $g(e,t){if(t===null)return new Date(NaN);let n=e.match(Jg);if(!n)return new Date(NaN);let r=!!n[4],i=e_(n[1]),a=e_(n[2])-1,o=e_(n[3]),s=e_(n[4]),c=e_(n[5])-1;if(r)return l_(t,s,c)?i_(t,s,c):new Date(NaN);{let e=new Date(0);return!s_(t,a,o)||!c_(t,i)?new Date(NaN):(e.setUTCFullYear(t,a,Math.max(i,o)),e)}}function e_(e){return e?parseInt(e):1}function t_(e){let t=e.match(Yg);if(!t)return NaN;let n=n_(t[1]),r=n_(t[2]),i=n_(t[3]);return u_(n,r,i)?n*em+r*$p+i*1e3:NaN}function n_(e){return e&&parseFloat(e.replace(`,`,`.`))||0}function r_(e){if(e===`Z`)return 0;let t=e.match(Xg);if(!t)return 0;let n=t[1]===`+`?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return d_(r,i)?n*(r*em+i*$p):NaN}function i_(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7,a=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+a),r}var a_=[31,null,31,30,31,30,31,31,30,31,30,31];function o_(e){return e%400==0||e%4==0&&e%100!=0}function s_(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(a_[t]||(o_(e)?29:28))}function c_(e,t){return t>=1&&t<=(o_(e)?366:365)}function l_(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function u_(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function d_(e,t){return t>=0&&t<=59}function f_(e,t,n){let r=im(e,n?.in),i=r.getFullYear(),a=r.getDate(),o=rm(n?.in||e,0);o.setFullYear(i,t,15),o.setHours(0,0,0,0);let s=wh(o);return r.setMonth(t,Math.min(a,s)),r}function p_(e,t,n){let r=im(e,n?.in);return isNaN(+r)?rm(n?.in||e,NaN):(r.setFullYear(t),r)}function m_(e,t,n=`asc`){let r=n===`asc`?1:-1,i=e.map((e,t)=>[e,t]);return i.sort((e,n)=>(t(e[0],n[0],e[1],n[1])||e[1]-n[1])*r),i.map(e=>e[0])}function h_(e,t,n,r){let i=__(e),a=__(t);if(i!==a)return g_.indexOf(i)-g_.indexOf(a);if(i===`null`)return 0;if(i===`boolean`)return+e-t;if(i===`numeric`){let n=Number.isNaN(e),r=Number.isNaN(t);return n||r?+r-n:e>t?1:e<t?-1:0}if(i===`date`){let n=!Cm(e),r=!Cm(t);return n||r?+r-n:+e-t}return String(e).localeCompare(String(t),n,r)}var g_=[`null`,`boolean`,`numeric`,`date`,`string`,`other`];function __(e){if(e==null)return`null`;let t=typeof e;return t===`boolean`||t===`string`?t:t===`number`||t===`bigint`?`numeric`:Sm(e)?`date`:`other`}function v_(e,t,n,r){return!t||n===``?t:t.filter((t,i)=>Object.entries(e).some(([e,a])=>{if(!a.filterable)return!1;let o=a.getValue?a.getValue({row:t,index:i}):t[e],s=a.format?a.format({value:o,row:t,index:i}):o?.toString()??``;return(a.match?a.match(s,n):Xp(s,n,a.locale??r))!=null}))}function y_(e,t,n,r,i){if(!t)return t;if(n===null)return r===`asc`?t:t.slice().reverse();let a=e[n],o=a.getValue??(({row:e})=>e[n]);return m_(t,a.compare?(e,t,n,r)=>a.compare(o({row:e,index:n}),o({row:t,index:r})):(e,t,n,r)=>h_(o({row:e,index:n}),o({row:t,index:r}),i,a.sortOptions),r??a.defaultSortDirection??`asc`)}function b_(e,t,n,r,i,a=0,o=0){let s=Math.min(a,e-i),c=typeof o==`number`?o:o.length,l=c-s,u=e+l;if(i>=t+n||i+s<=t&&l===0)return{totalCount:u,window:r};let d=Math.min(u-t,n);if(d<0)return{totalCount:u,window:[]};let f;if(i+s<=t&&l<0)f=r.slice(-l);else{let e=i-t,n=Math.max(0,e),a=Math.max(0,e+s-n),u=Math.max(0,Math.min(t-i,c)),d=Math.max(0,l-c+u),p=typeof o==`number`?Array.from({length:o-u+d}):o.slice(u).concat(Array.from({length:d}));f=r.slice(),f.splice(n,a,...p)}let p=f.length;return f.length=d,p<d&&f.fill(void 0,p),{totalCount:u,window:f}}var x_=(0,b.createContext)(null);function S_(e){let t=(0,Q.c)(91),{displayMode:n,columns:r,rows:i,onVisibleRowsChange:a,onProcessedRowsChange:o,getRows:s,rowKey:c,loadingCount:l,required:u,loading:d,renderRow:f,renderCell:p,dynamicRowHeight:m,estimatedRowHeight:h,overscan:g,showAllRowsWhilePrinting:_,apiRef:v,leafColumns:y,headCount:x,defaultOffset:S,offset:C,onOffsetChange:w,defaultLimit:T,limit:E,onLimitChange:D,defaultFilter:O,filter:k,onFilterChange:A,defaultSortBy:j,sortBy:M,defaultSortDirection:N,sortDirection:P,onSort:F,showSelectionColumn:I,selectionMode:L,defaultSelectedRows:R,selectedRows:z,onSelectedRowsChange:B,selectAllChecked:V,onSelectAll:H,disabledSelections:ee,selectAllRowsLabel:U,selectRowLabel:W}=e,[G]=Mp(),{startPrintingTask:K,finishPrintingTask:q}=Kp(),J;t[0]!==q||t[1]!==A||t[2]!==D||t[3]!==w||t[4]!==o||t[5]!==B||t[6]!==F||t[7]!==a||t[8]!==K?(J={startPrintingTask:K,finishPrintingTask:q,onVisibleRowsChange:a,onProcessedRowsChange:o,onOffsetChange:w,onLimitChange:D,onSort:F,onFilterChange:A,onSelectedRowsChange:B},t[0]=q,t[1]=A,t[2]=D,t[3]=w,t[4]=o,t[5]=B,t[6]=F,t[7]=a,t[8]=K,t[9]=J):J=t[9];let te=Ep(J),Y;t[10]!==r||t[11]!==O||t[12]!==T||t[13]!==S||t[14]!==R||t[15]!==j||t[16]!==N||t[17]!==ee||t[18]!==n||t[19]!==k||t[20]!==s||t[21]!==x||t[22]!==te||t[23]!==y||t[24]!==E||t[25]!==d||t[26]!==l||t[27]!==G.languageTag||t[28]!==C||t[29]!==i||t[30]!==z||t[31]!==L||t[32]!==M||t[33]!==P?(Y=()=>{let e=M??j;return Xf()(Op((t,a)=>({columns:r,leafColumns:y,hasFooterCells:Up(()=>[a().leafColumns],N_),headCount:x,_offset:C??S,offset:Up(()=>[a()._offset,a().totalCount()],M_),currentPage:Up(()=>[a().offset(),a().limit()],j_),pageOffset:Up(()=>[a().currentPage(),a().limit()],A_),limitOptions:void 0,_limit:E??T,limit:Up(()=>[a()._limit,a().limitOptions],k_),pageLimit:Up(()=>[a().pageOffset(),a().limit(),a().totalCount()],O_),filter:k??O,sortBy:e,sortDirection:P??N??(e!==null&&y[e].defaultSortDirection||`asc`),selectionMode:L,selectedRows:[new Set(z??R??void 0)],disabledSelections:ee&&new Set(ee),_rows:i,_filteredRows:Up(()=>[a().leafColumns,a()._rows,a().filter,a().locale],D_),processedRows:Up(()=>[a().leafColumns,a()._filteredRows(),a().sortBy,a().sortDirection,a().locale],E_),getRows:s,loading:d,loadingCount:l,updateCounter:0,ongoingGetRows:void 0,abortController:void 0,cachedRows:void 0,visibleRows:Up(()=>[n,a().pageOffset(),a().pageLimit(),a().limit(),a().totalCount(),a().scrolledRangeStart,a().scrolledRangeEnd],(e,t,n,r,i,o,s)=>{if(e===`paged`)return a().actions.getRowsWindow(t,n??r);{let e=i??r,t=Math.min(o,e-1),n=Math.min(s,e-1);return a().actions.getRowsWindow(t,n-t+1)}}),_totalCount:void 0,totalCount:Up(()=>[a().processedRows(),a()._totalCount],T_),bodyCount:Up(()=>[a().totalCount(),a().loading,a().loadingCount],w_),footCount:Up(()=>[a().hasFooterCells()],C_),scrolledRangeStart:1,scrolledRangeEnd:1,tableHeadHeight:void 0,tableFootHeight:void 0,locale:G.languageTag,actions:{getRowsWindow:(e,t)=>a()._rows?a().processedRows().slice(e,e+t):Array.from({length:t},(t,n)=>a().cachedRows?.[e+n]),setGetRows:e=>{a().offset()>0&&a().actions.setOffset(0),t({getRows:e}),a().actions.refresh(null)},setOffset:e=>{let n=a().offset();t({updateCounter:a().updateCounter+1,_offset:e});let r=a().offset();n!==r&&(te.current.onOffsetChange?.(r),a()._rows&&te.current.onVisibleRowsChange?.(a().visibleRows()))},setLimit:e=>{let n=a().limit();t({updateCounter:a().updateCounter+1,_limit:e});let r=a().limit();n!==e&&(te.current.onLimitChange?.(r),a()._rows&&te.current.onVisibleRowsChange?.(a().visibleRows()))},setFilter:e=>{a().offset()>0&&a().actions.setOffset(0),t({filter:e}),a().actions.refresh(null),te.current.onFilterChange?.(e),a()._rows&&(te.current.onVisibleRowsChange?.(a().visibleRows()),te.current.onProcessedRowsChange?.(a().processedRows()))},setSort:(e,n)=>{a().offset()>0&&a().actions.setOffset(0),t({sortBy:e,sortDirection:n}),a().actions.refresh(),te.current.onSort?.(e,n),a()._rows&&(te.current.onVisibleRowsChange?.(a().visibleRows()),te.current.onProcessedRowsChange?.(a().processedRows()))},selectRows:e=>{let{selectionMode:n,selectedRows:r,disabledSelections:i}=a(),[o]=r,s=!1;for(let t of e)i?.has(t)||(n===`additive`&&!o.has(t)?(o.add(t),s=!0):n===`subtractive`&&o.delete(t)&&(s=!0));s&&(t({selectedRows:[o]}),te.current.onSelectedRowsChange?.(Array.from(o).sort(Yp),n))},unselectRows:e=>{let{selectionMode:n,selectedRows:r,disabledSelections:i}=a(),[o]=r,s=!1;for(let t of e)i?.has(t)||(n===`additive`&&o.delete(t)?s=!0:n===`subtractive`&&!o.has(t)&&(o.add(t),s=!0));s&&(t({selectedRows:[o]}),te.current.onSelectedRowsChange?.(Array.from(o).sort(Yp),n))},updateWindow:(e,n)=>{if(a()._rows||!a().getRows)return;let r=-1;for(let t=0;t<n;++t)if(a().cachedRows?.[e+t]===void 0){r=e+t;break}if(r!==-1){let i;for(let t=n-1;;--t)if(a().cachedRows?.[e+t]===void 0){i=e+t;break}let o=i-r+1,s=a().ongoingGetRows;if(s&&s.from<=r&&s.to>=i)return;a().abortController?.abort();let c=new AbortController;t({abortController:c,ongoingGetRows:{from:r,to:i}});let l=a().getRows({offset:r,limit:o,filter:a().filter,sortBy:a().sortBy,sortDirection:a().sortDirection,signal:c.signal}),u=i=>{let{rows:o,totalCount:s}=i,c={},l=r-e;for(let t=0;t<n;++t)c[e+t]=o[t-l]??a().cachedRows?.[e+t];t({updateCounter:a().updateCounter+1,cachedRows:c,_totalCount:s,abortController:void 0,ongoingGetRows:void 0})};if(Np(l)){let{startPrintingTask:e,finishPrintingTask:t}=te.current;e?.(),l.then(e=>{t?.(),c.signal.aborted||u(e)},e=>{if(t?.(),!(e instanceof DOMException)||e.name!==`AbortError`)throw e})}else u(l)}else if(a().cachedRows&&Object.keys(a().cachedRows).length>n){let r={};for(let t=0;t<n;++t)r[e+t]=a().cachedRows?.[e+t];t({cachedRows:r})}},spliceWindow:(e,n,r,i,o)=>{let s=i===void 0?0:i,c=o===void 0?0:o;if(a()._rows||!a().getRows)return;let l=[];for(let t=0;t<n;++t)l.push(a().cachedRows?.[e+t]);let{totalCount:u,window:d}=b_(a().totalCount()??e+n,e,n,l,r,s,c);if(l!==d){let n={};for(let t=0;t<d.length;++t)n[e+t]=d[t];t({updateCounter:a().updateCounter+1,_totalCount:u,cachedRows:n})}},refresh:e=>{!a()._rows&&a().getRows&&(a().abortController?.abort(),t({updateCounter:a().updateCounter+1,cachedRows:void 0,...e===void 0?{}:{_totalCount:e??void 0},abortController:void 0,ongoingGetRows:void 0}))}}})))},t[10]=r,t[11]=O,t[12]=T,t[13]=S,t[14]=R,t[15]=j,t[16]=N,t[17]=ee,t[18]=n,t[19]=k,t[20]=s,t[21]=x,t[22]=te,t[23]=y,t[24]=E,t[25]=d,t[26]=l,t[27]=G.languageTag,t[28]=C,t[29]=i,t[30]=z,t[31]=L,t[32]=M,t[33]=P,t[34]=Y):Y=t[34];let X=Pp(Y),ne,re;t[35]!==s||t[36]!==X?(ne=()=>{X.getState().getRows!==s&&X.getState().actions.setGetRows(s)},re=[s,X],t[35]=s,t[36]=X,t[37]=ne,t[38]=re):(ne=t[37],re=t[38]),(0,b.useEffect)(ne,re);let ie,ae;t[39]!==C||t[40]!==X?(ie=()=>{C!==void 0&&C!==X.getState()._offset&&X.getState().actions.setOffset(C)},ae=[C,X],t[39]=C,t[40]=X,t[41]=ie,t[42]=ae):(ie=t[41],ae=t[42]),(0,b.useEffect)(ie,ae);let oe,se;t[43]!==E||t[44]!==X?(oe=()=>{E!==void 0&&E!==X.getState()._limit&&X.getState().actions.setLimit(E)},se=[E,X],t[43]=E,t[44]=X,t[45]=oe,t[46]=se):(oe=t[45],se=t[46]),(0,b.useEffect)(oe,se);let ce,le;t[47]!==k||t[48]!==X?(le=()=>{k!==void 0&&k!==X.getState().filter&&X.getState().actions.setFilter(k)},ce=[k,X],t[47]=k,t[48]=X,t[49]=ce,t[50]=le):(ce=t[49],le=t[50]),(0,b.useEffect)(le,ce);let ue,Z;t[51]!==M||t[52]!==P||t[53]!==X?(ue=()=>{M===void 0&&P===void 0||M===X.getState().sortBy&&P===X.getState().sortDirection||X.getState().actions.setSort(M===void 0?X.getState().sortBy:M,P??X.getState().sortDirection)},Z=[M,P,X],t[51]=M,t[52]=P,t[53]=X,t[54]=ue,t[55]=Z):(ue=t[54],Z=t[55]),(0,b.useEffect)(ue,Z);let de,fe;t[56]!==r||t[57]!==ee||t[58]!==x||t[59]!==y||t[60]!==d||t[61]!==l||t[62]!==G.languageTag||t[63]!==i||t[64]!==z||t[65]!==L||t[66]!==X?(de=()=>{X.setState({columns:r,leafColumns:y,_rows:i,loading:d,loadingCount:l,headCount:x,selectionMode:L,...z===void 0?{}:{selectedRows:[new Set(z)]},disabledSelections:ee&&new Set(ee),locale:G.languageTag})},fe=[r,ee,x,d,l,y,i,z,X,L,G.languageTag],t[56]=r,t[57]=ee,t[58]=x,t[59]=y,t[60]=d,t[61]=l,t[62]=G.languageTag,t[63]=i,t[64]=z,t[65]=L,t[66]=X,t[67]=de,t[68]=fe):(de=t[67],fe=t[68]),(0,b.useEffect)(de,fe);let pe,me;t[69]!==te||t[70]!==X?(pe=()=>{if(X.getState()._rows){let{visibleRows:e,processedRows:t}=X.getState();te.current.onVisibleRowsChange?.(e()),te.current.onProcessedRowsChange?.(t())}},me=[te,X],t[69]=te,t[70]=X,t[71]=pe,t[72]=me):(pe=t[71],me=t[72]),(0,b.useEffect)(pe,me);let he=(0,b.useId)(),ge;return t[73]!==v||t[74]!==n||t[75]!==m||t[76]!==h||t[77]!==he||t[78]!==H||t[79]!==g||t[80]!==p||t[81]!==f||t[82]!==u||t[83]!==c||t[84]!==V||t[85]!==U||t[86]!==W||t[87]!==_||t[88]!==I||t[89]!==X?(ge={displayMode:n,rowKey:c,required:u,showSelectionColumn:I,renderRow:f,renderCell:p,dynamicRowHeight:m,estimatedRowHeight:h,overscan:g,selectAllChecked:V,onSelectAll:H,selectAllRowsLabel:U,selectRowLabel:W,generatedId:he,showAllRowsWhilePrinting:_,apiRef:v,store:X},t[73]=v,t[74]=n,t[75]=m,t[76]=h,t[77]=he,t[78]=H,t[79]=g,t[80]=p,t[81]=f,t[82]=u,t[83]=c,t[84]=V,t[85]=U,t[86]=W,t[87]=_,t[88]=I,t[89]=X,t[90]=ge):ge=t[90],ge}function C_(e){return+!!e}function w_(e,t,n){return t?n:e??n}function T_(e,t){return e?.length??t}function E_(e,t,n,r,i){return y_(e,t,n,r,i)}function D_(e,t,n,r){return v_(e,t,n,r)}function O_(e,t,n){return n==null?void 0:Math.min(n-e,t)}function k_(e,t){if(!t||t.length===0)return Math.max(e,1);let n=t[0],r=Math.abs(e-n);for(let i=1;i<t.length;++i){let a=t[i],o=Math.abs(e-a);if(o>r)break;n=a,r=o}return n}function A_(e,t){return e*t}function j_(e,t){return Math.floor(e/t)}function M_(e,t){return Math.min(Math.max(e,0),Math.max((t===void 0?e:t)-1,0))}function N_(e){return Object.values(e).some(P_)}function P_(e){return typeof e.footer!=`boolean`&&e.footer!=null}function F_(){let e=(0,b.useContext)(x_);if(!e)throw Error(`Data table context not in scope.`);return e}var I_=(0,b.createContext)(null);function L_(){return(0,b.useContext)(I_)?.columnLabelId??null}var R_=(0,b.createContext)(null);function z_(){return Pp(B_)}function B_(){return Xf()(Op(V_))}function V_(e){return{controlName:void 0,controlStatus:void 0,controlFocused:!1,feedbackIds:[],actions:{addFeedbackId:t=>e(e=>({feedbackIds:[...e.feedbackIds,t]})),removeFeedbackId:t=>e(e=>({feedbackIds:e.feedbackIds.filter(e=>t!==e)}))}}}function H_(){return(0,b.useContext)(R_)}function U_(e){let t=(0,Q.c)(2),n=H_(),r;return t[0]===n?r=t[1]:(r=Hp(n),t[0]=n,t[1]=r),Qf(r,e)}function W_(){return U_(G_)}function G_(e){return e.controlStatus}function K_(e){let t=(0,Q.c)(10),n=ap(),{addFeedbackId:r,removeFeedbackId:i}=U_(q_)??{},a=(0,b.useId)(),o;t[0]!==r||t[1]!==e||t[2]!==a||t[3]!==n?(o=e??(r?n(`feedback-${a}`):void 0),t[0]=r,t[1]=e,t[2]=a,t[3]=n,t[4]=o):o=t[4];let s=o,c,l;return t[5]!==s||t[6]!==r||t[7]!==i?(c=()=>(r?.(s),()=>i?.(s)),l=[s,r,i],t[5]=s,t[6]=r,t[7]=i,t[8]=c,t[9]=l):(c=t[8],l=t[9]),Wp(c,l),s}function q_(e){return e.actions}var J_=(0,b.createContext)(null);function Y_(){return Pp(X_)}function X_(){return Xf()(Op(Z_))}function Z_(e){return{controlHasCode:!1}}function Q_(){return(0,b.useContext)(J_)}var $_=(0,b.createContext)(null);function ev(){return Pp(tv)}function tv(){return Xf()(Op(nv))}function nv(e){return{helperTextIds:[],actions:{addHelperTextId:t=>e(e=>({helperTextIds:[...e.helperTextIds,t]})),removeHelperTextId:t=>e(e=>({helperTextIds:e.helperTextIds.filter(e=>t!==e)}))}}}function rv(){return(0,b.useContext)($_)}function iv(e){let t=(0,Q.c)(2),n=rv(),r;return t[0]===n?r=t[1]:(r=Hp(n),t[0]=n,t[1]=r),Qf(r,e)}function av(e){let t=(0,Q.c)(10),n=ap(),{addHelperTextId:r,removeHelperTextId:i}=iv(ov)??{},a=(0,b.useId)(),o;t[0]!==r||t[1]!==a||t[2]!==e||t[3]!==n?(o=e??(r?n(`helper-text-${a}`):void 0),t[0]=r,t[1]=a,t[2]=e,t[3]=n,t[4]=o):o=t[4];let s=o,c,l;return t[5]!==s||t[6]!==r||t[7]!==i?(c=()=>(r?.(s),()=>i?.(s)),l=[s,r,i],t[5]=s,t[6]=r,t[7]=i,t[8]=c,t[9]=l):(c=t[8],l=t[9]),Wp(c,l),s}function ov(e){return e.actions}var sv=(0,b.createContext)(null);function cv(){return Pp(lv)}function lv(){return Xf()(Op(uv))}function uv(e){return{label:void 0,labelId:void 0,controlId:void 0,controlTagName:void 0,controlRequired:!1}}function dv(){return(0,b.useContext)(sv)}function fv(e){let t=(0,Q.c)(2),n=dv(),r;return t[0]===n?r=t[1]:(r=Hp(n),t[0]=n,t[1]=r),Qf(r,e)}function pv(e,t){let n=(0,Q.c)(10),r=ap(),i=dv(),a=(0,b.useId)(),o;n[0]!==a||n[1]!==t||n[2]!==r||n[3]!==i?(o=t??(i?r(`label-${a}`):void 0),n[0]=a,n[1]=t,n[2]=r,n[3]=i,n[4]=o):o=n[4];let s=o,c,l;return n[5]!==s||n[6]!==e||n[7]!==i?(c=()=>(i?.setState({label:e,labelId:s}),()=>i?.setState({label:void 0,labelId:void 0})),l=[s,e,i],n[5]=s,n[6]=e,n[7]=i,n[8]=c,n[9]=l):(c=n[8],l=n[9]),(0,b.useEffect)(c,l),s}function mv(){return fv(hv)}function hv(e){return e.controlId}function gv(){return fv(_v)}function _v(e){return e.controlTagName}function vv(){return fv(yv)}function yv(e){return e.controlRequired}var bv={defaultColor:`primary`,defaultVariant:`default`},xv=(0,b.createContext)(bv);function Sv(){return(0,b.useContext)(xv)}function Cv(e){return e.reduce((e,t)=>Math.max(e,Cv(t.subColumns??[])+1),0)}function wv(e){return e.reduce((e,t)=>{let n=t.subColumns??[];return e+(n.length===0?t.colSpan??1:wv(n))},0)}function Tv(e,t){return t===0?e:e.reduce((e,n)=>(e.push(...Tv(n.subColumns??[],t-1)),e),[])}function Ev(e){return e.reduce((e,t)=>{let n=t.subColumns??[];return e.push(...n.length===0?[t]:Ev(n)),e},[])}function Dv(e,t){return e.reduce((e,n)=>e+Av(n,t),0)+`px`}function Ov(e,t){return e.every(e=>e.fixed)?Dv(e,t):void 0}function kv(e,t){let n=e.reduce((e,n)=>e+(n.fixed?0:Av(n,t)),0);return e.reduce((e,r)=>{let i=r.colSpan??1,a=Array.isArray(r.width)?r.width:Array(i).fill(Av(r,t)/i);for(let t=0;t<i;++t){let i=a[t]??0;e.push(r.fixed?`${i}px`:`${i/n*100}%`)}return e},[])}function Av(e,t){return Array.isArray(e.width)?e.width.reduce((e,t)=>e+t,0):e.width??t*(e.colSpan??1)}function jv(e){if(e.length===0)return[];let t=e[0];return[t,...jv(t.subColumns??[])]}function Mv(e){if(e.length===0)return[];let t=e[e.length-1];return[t,...Mv(t.subColumns??[])]}function Nv(e){let t=e.subColumns??[];return t.length===0?e:Nv(t[0])}function Pv(e){let t=e.subColumns??[];return t.length===0?e:Pv(t[t.length-1])}function Fv(e,t){let n=Array(e.length),r=0,i=0;for(let a=0;a<e.length;++a){let o=e[a],s=e[e.length-1-a];o.sticky===`left`&&(n[a]=r,r+=Av(o,t)),s.sticky===`right`&&(n[e.length-1-a]=i,i+=Av(s,t))}return n}var Iv=(0,b.createContext)(null);function Lv(e){let t=(0,Q.c)(11),{editable:n,status:r,layout:i,defaultColumnWidth:a}=e,o;t[0]===a?o=t[1]:(o=()=>Xf()(Op((e,t)=>({scrollPosition:void 0,leafColumns:void 0,defaultColumnWidth:a,numberOfColumns:Up(()=>[t().leafColumns],zv),stickyColumnOffsets:Up(()=>[t().leafColumns,t().defaultColumnWidth],Rv)}))),t[0]=a,t[1]=o);let s=Pp(o),c,l;t[2]!==a||t[3]!==s?(c=()=>{s.setState({defaultColumnWidth:a})},l=[a,s],t[2]=a,t[3]=s,t[4]=c,t[5]=l):(c=t[4],l=t[5]),(0,b.useEffect)(c,l);let u;return t[6]!==n||t[7]!==i||t[8]!==r||t[9]!==s?(u={editable:n,status:r,layout:i,store:s},t[6]=n,t[7]=i,t[8]=r,t[9]=s,t[10]=u):u=t[10],u}function Rv(e,t){return e&&Fv(e,t)}function zv(e){return e&&wv(e)}function Bv(){let e=(0,b.useContext)(Iv);if(!e)throw Error(`Table context not in scope.`);return e}function Vv(){let{store:e}=Bv();return Qf(e,Hv)}function Hv(e){let{numberOfColumns:t}=e;return t()}var Uv=(0,b.createContext)(!1);function Wv(){return(0,b.useContext)(Uv)}var Gv=(0,b.createContext)(!1),Kv=(0,b.createContext)(!1);function qv(){return(0,b.useContext)(Kv)}function Jv(e){let t=(0,Q.c)(14),{dataTableCell:n,field:r,label:i,feedback:a,helperText:o,link:s,tableCell:c,children:l}=e,u=n===void 0||n,d=r===void 0||r,f=i===void 0?d:i,p=a===void 0?d:a,m=o===void 0?d:o,h=s===void 0||s,g=c===void 0||c,_=l;if(u){let e;t[0]===_?e=t[1]:(e=(0,q.jsx)(I_,{value:null,children:_}),t[0]=_,t[1]=e),_=e}if(d){let e;t[2]===_?e=t[3]:(e=(0,q.jsx)(J_,{value:null,children:_}),t[2]=_,t[3]=e),_=e}if(f){let e;t[4]===_?e=t[5]:(e=(0,q.jsx)(sv,{value:null,children:_}),t[4]=_,t[5]=e),_=e}if(p){let e;t[6]===_?e=t[7]:(e=(0,q.jsx)(R_,{value:null,children:_}),t[6]=_,t[7]=e),_=e}if(m){let e;t[8]===_?e=t[9]:(e=(0,q.jsx)($_,{value:null,children:_}),t[8]=_,t[9]=e),_=e}if(h){let e;t[10]===_?e=t[11]:(e=(0,q.jsx)(xv,{value:bv,children:_}),t[10]=_,t[11]=e),_=e}if(g){let e;t[12]===_?e=t[13]:(e=(0,q.jsx)(Kv,{value:!1,children:_}),t[12]=_,t[13]=e),_=e}return _}var Yv=(0,b.createContext)([]);function Xv(e){let t,n;for(let r of e)typeof r==`number`?t=(t??0)+r:(n??=[]).push(r);return n===void 0?t===void 0?`auto`:t.toString():t===void 0?n.length===1?n[0]:`calc(${n.join(` + `)})`:`calc(${n.join(` + `)}${t===0?``:t>0?` + ${t}`:` - ${-t}`})`}function Zv(e){let t=(0,Q.c)(19),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({zIndex:a,reset:r,style:i,...n}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let{cssVar:o,cssVarStyle:s}=cp(),c=(0,b.useContext)(Yv),l;t[5]===o?l=t[6]:(l=e=>typeof e==`string`?o(`z-index-${e}`):e,t[5]=o,t[6]=l);let u=l,d;if(t[7]!==u||t[8]!==c||t[9]!==r||t[10]!==a){let e=(Array.isArray(a)?a.map(u):[u(a)]).filter(Qv);d=e==null?r?[]:c:r?e:[...c,...e],t[7]=u,t[8]=c,t[9]=r,t[10]=a,t[11]=d}else d=t[11];let f=d,p;if(t[12]!==o||t[13]!==s||t[14]!==n||t[15]!==r||t[16]!==i||t[17]!==f){let e=f.length===0&&!r?void 0:Xv(f);p=f.length===0&&!r?(0,q.jsx)(_p,{style:i,...n}):(0,q.jsx)(Yv,{value:f,children:(0,q.jsx)(_p,{style:{...s(`layer-z-index`,e),zIndex:o(`layer-z-index`),...i},...n})}),t[12]=o,t[13]=s,t[14]=n,t[15]=r,t[16]=i,t[17]=f,t[18]=p}else p=t[18];return p}function Qv(e){return e!=null}function $v(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`overlay`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(`div`,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}var ey=(0,b.createContext)(null);function ty(){return(0,b.useContext)(ey)}function ny(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({asChild:n,children:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ty()?.container,o;t[4]!==n||t[5]!==r?(o=(0,q.jsx)(lO,{asChild:n,children:r}),t[4]=n,t[5]=r,t[6]=o):o=t[6];let s;return t[7]!==i||t[8]!==a||t[9]!==o?(s=(0,q.jsx)(mn,{asChild:!0,container:a,...i,children:o}),t[7]=i,t[8]=a,t[9]=o,t[10]=s):s=t[10],s}function ry(e){let t=(0,Q.c)(47),n,r,i,a,o,s,c,l,u,d,f,p;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12]):({asChild:n,variant:d,mergeSections:o,color:f,size:p,forceMount:a,onPointerDownOutside:s,portalProps:u,overlayProps:l,className:i,children:r,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p);let m=d===void 0?`solid`:d,h=f===void 0?`neutral`:f,g=p===void 0?`md`:p,_=ap(),v=ty(),y=iy,b=v?.container,x;t[13]!==l?.className||t[14]!==_?(x=$(_(`dialog__overlay`),l?.className),t[13]=l?.className,t[14]=_,t[15]=x):x=t[15];let S=!n,C;t[16]===s?C=t[17]:(C=[s,y],t[16]=s,t[17]=C);let w;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(w={checkDefaultPrevented:!0},t[18]=w):w=t[18];let T=Dp(C,w),E;t[19]!==i||t[20]!==_||t[21]!==g?(E=$(_(`dialog`),_(`dialog--${g}`),i),t[19]=i,t[20]=_,t[21]=g,t[22]=E):E=t[22];let D;t[23]!==n||t[24]!==r||t[25]!==h||t[26]!==o||t[27]!==m?(D=(0,q.jsx)(yp,{asChild:n,variant:m,color:h,mergeSections:o,children:r}),t[23]=n,t[24]=r,t[25]=h,t[26]=o,t[27]=m,t[28]=D):D=t[28];let O;t[29]!==c||t[30]!==E||t[31]!==D||t[32]!==S||t[33]!==T?(O=(0,q.jsx)(ii,{asChild:S,onPointerDownOutside:T,className:E,...c,children:D}),t[29]=c,t[30]=E,t[31]=D,t[32]=S,t[33]=T,t[34]=O):O=t[34];let k;t[35]!==l||t[36]!==O||t[37]!==x?(k=(0,q.jsx)($v,{...l,className:x,children:O}),t[35]=l,t[36]=O,t[37]=x,t[38]=k):k=t[38];let A;t[39]!==a||t[40]!==k?(A=(0,q.jsx)(lO,{asChild:!0,children:(0,q.jsx)(Zv,{zIndex:`dialog`,reset:!0,children:(0,q.jsx)(ei,{forceMount:a,asChild:!0,children:k})})}),t[39]=a,t[40]=k,t[41]=A):A=t[41];let j;return t[42]!==a||t[43]!==u||t[44]!==A||t[45]!==b?(j=(0,q.jsx)(Jv,{children:(0,q.jsx)(Qr,{container:b,...u,forceMount:a,children:A})}),t[42]=a,t[43]=u,t[44]=A,t[45]=b,t[46]=j):j=t[46],j}function iy(e){e.detail.originalEvent.offsetX>e.currentTarget.clientWidth&&e.preventDefault()}function ay(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`dialog__description`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(li,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function oy(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`dialog__footer`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(xp,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function sy(e){let t=(0,Q.c)(4),n=(0,b.useRef)(null),r=(0,b.useRef)(null),i=(0,b.useRef)(null),a,o;t[0]===e?(a=t[1],o=t[2]):(a=()=>{n.current===null&&(n.current=new Set);let t=n.current;for(let n of t)e.includes(n)||(t.delete(n),i.current!==null&&ly(n,r));for(let n of e)n!=null&&!t.has(n)&&(t.add(n),i.current!==null&&cy(n,i.current,r))},o=[e],t[0]=e,t[1]=a,t[2]=o),(0,b.useInsertionEffect)(a,o);let s;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=e=>{let t=n.current;i.current=e;for(let n of t)cy(n,e,r);return()=>{i.current=null;for(let e of t)ly(e,r)}},t[3]=s):s=t[3],s}function cy(e,t,n){if(typeof e==`function`){let r=e(t);typeof r==`function`&&(n.current??=new Map).set(e,r)}else e.current=t}function ly(e,t){if(typeof e==`function`){let n=t.current?.get(e);n?(n(),t.current.delete(e)):e(null)}else e.current=null}var uy=_(),dy={prefix:`fas`,iconName:`minus`,icon:[448,512,[8211,8722,10134,`subtract`],`f068`,`M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z`]},fy={prefix:`fas`,iconName:`display`,icon:[512,512,[],`e163`,`M448 96l0 256-384 0 0-256 384 0zM64 32C28.7 32 0 60.7 0 96L0 352c0 35.3 28.7 64 64 64l144 0-16 48-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l272 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0-16-48 144 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 32z`]},py={prefix:`fas`,iconName:`magnifying-glass`,icon:[512,512,[128269,`search`],`f002`,`M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z`]},my={prefix:`fas`,iconName:`floppy-disk`,icon:[448,512,[128190,128426,`save`],`f0c7`,`M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-242.7c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32L64 32zm32 96c0-17.7 14.3-32 32-32l160 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32l0-64zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z`]},hy={prefix:`fas`,iconName:`sort-up`,icon:[384,512,[`sort-asc`],`f0de`,`M32 224c-12.9 0-24.6-7.8-29.6-19.8S.2 178.5 9.4 169.4l160-160c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 224 352 224L32 224z`]},gy={prefix:`fas`,iconName:`eye`,icon:[576,512,[128065],`f06e`,`M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z`]},_y={prefix:`fas`,iconName:`angle-left`,icon:[256,512,[8249],`f104`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z`]},vy={prefix:`fas`,iconName:`clock`,icon:[512,512,[128339,`clock-four`],`f017`,`M256 0a256 256 0 1 1 0 512 256 256 0 1 1 0-512zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z`]},yy={prefix:`fas`,iconName:`folder-open`,icon:[576,512,[128194,128449,61717],`f07c`,`M56 225.6L32.4 296.2 32.4 96c0-35.3 28.7-64 64-64l138.7 0c13.8 0 27.3 4.5 38.4 12.8l38.4 28.8c5.5 4.2 12.3 6.4 19.2 6.4l117.3 0c35.3 0 64 28.7 64 64l0 16-365.4 0c-41.3 0-78 26.4-91.1 65.6zM477.8 448L99 448c-32.8 0-55.9-32.1-45.5-63.2l48-144C108 221.2 126.4 208 147 208l378.8 0c32.8 0 55.9 32.1 45.5 63.2l-48 144c-6.5 19.6-24.9 32.8-45.5 32.8z`]},by={prefix:`fas`,iconName:`seedling`,icon:[512,512,[127793,`sprout`],`f4d8`,`M512 32C512 140.1 435.4 230.3 333.6 251.4 325.7 193.3 299.6 141 261.1 100.5 301.2 40 369.9 0 448 0l32 0c17.7 0 32 14.3 32 32zM0 96C0 78.3 14.3 64 32 64l32 0c123.7 0 224 100.3 224 224l0 192c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-160C100.3 320 0 219.7 0 96z`]},xy={prefix:`fas`,iconName:`print`,icon:[512,512,[128424,128438,9113],`f02f`,`M64 64C64 28.7 92.7 0 128 0L341.5 0c17 0 33.3 6.7 45.3 18.7l42.5 42.5c12 12 18.7 28.3 18.7 45.3l0 37.5-384 0 0-80zM0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 96c0 17.7-14.3 32-32 32l-32 0 0 64c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-64-32 0c-17.7 0-32-14.3-32-32l0-96zM128 416l0 32 256 0 0-96-256 0 0 64zM456 272a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z`]},Sy={prefix:`fas`,iconName:`comment`,icon:[512,512,[128489,61669],`f075`,`M512 240c0 132.5-114.6 240-256 240-37.1 0-72.3-7.4-104.1-20.7L33.5 510.1c-9.4 4-20.2 1.7-27.1-5.8S-2 485.8 2.8 476.8l48.8-92.2C19.2 344.3 0 294.3 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240z`]},Cy={prefix:`fas`,iconName:`circle-xmark`,icon:[512,512,[61532,`times-circle`,`xmark-circle`],`f057`,`M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z`]},wy={prefix:`fas`,iconName:`pencil`,icon:[512,512,[9999,61504,`pencil-alt`],`f303`,`M36.4 353.2c4.1-14.6 11.8-27.9 22.6-38.7l181.2-181.2 33.9-33.9c16.6 16.6 51.3 51.3 104 104l33.9 33.9-33.9 33.9-181.2 181.2c-10.7 10.7-24.1 18.5-38.7 22.6L30.4 510.6c-8.3 2.3-17.3 0-23.4-6.2S-1.4 489.3 .9 481L36.4 353.2zm55.6-3.7c-4.4 4.7-7.6 10.4-9.3 16.6l-24.1 86.9 86.9-24.1c6.4-1.8 12.2-5.1 17-9.7L91.9 349.5zm354-146.1c-16.6-16.6-51.3-51.3-104-104L308 65.5C334.5 39 349.4 24.1 352.9 20.6 366.4 7 384.8-.6 404-.6S441.6 7 455.1 20.6l35.7 35.7C504.4 69.9 512 88.3 512 107.4s-7.6 37.6-21.2 51.1c-3.5 3.5-18.4 18.4-44.9 44.9z`]},Ty={prefix:`fas`,iconName:`network-wired`,icon:[576,512,[],`f6ff`,`M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z`]},Ey={prefix:`fas`,iconName:`angle-right`,icon:[256,512,[8250],`f105`,`M247.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L179.2 256 41.9 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z`]},Dy={prefix:`fas`,iconName:`circle-exclamation`,icon:[512,512,[`exclamation-circle`],`f06a`,`M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z`]},Oy={prefix:`fas`,iconName:`gear`,icon:[512,512,[9881,`cog`],`f013`,`M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z`]},ky={prefix:`fas`,iconName:`circle-question`,icon:[512,512,[62108,`question-circle`],`f059`,`M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-336c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM224 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z`]},Ay={prefix:`fas`,iconName:`arrow-up`,icon:[384,512,[8593],`f062`,`M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z`]},jy={prefix:`fas`,iconName:`trash-can`,icon:[448,512,[61460,`trash-alt`],`f2ed`,`M136.7 5.9C141.1-7.2 153.3-16 167.1-16l113.9 0c13.8 0 26 8.8 30.4 21.9L320 32 416 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 8.7-26.1zM32 144l384 0 0 304c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-304zm88 64c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24z`]},My={prefix:`fas`,iconName:`check`,icon:[448,512,[10003,10004],`f00c`,`M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z`]},Ny={prefix:`fas`,iconName:`user`,icon:[448,512,[128100,62144,62470,`user-alt`,`user-large`],`f007`,`M224 248a120 120 0 1 0 0-240 120 120 0 1 0 0 240zm-29.7 56C95.8 304 16 383.8 16 482.3 16 498.7 29.3 512 45.7 512l356.6 0c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3l-59.4 0z`]},Py={prefix:`fas`,iconName:`bookmark`,icon:[384,512,[128278,61591],`f02e`,`M64 0C28.7 0 0 28.7 0 64L0 480c0 11.5 6.2 22.2 16.2 27.8s22.3 5.5 32.2-.4L192 421.3 335.5 507.4c9.9 5.9 22.2 6.1 32.2 .4S384 491.5 384 480l0-416c0-35.3-28.7-64-64-64L64 0z`]},Fy={prefix:`fas`,iconName:`arrow-right`,icon:[512,512,[8594],`f061`,`M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z`]},Iy={prefix:`fas`,iconName:`xmark`,icon:[384,512,[128473,10005,10006,10060,215,`close`,`multiply`,`remove`,`times`],`f00d`,`M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z`]},Ly={prefix:`fas`,iconName:`circle-check`,icon:[512,512,[61533,`check-circle`],`f058`,`M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z`]},Ry={prefix:`fas`,iconName:`angle-down`,icon:[384,512,[8964],`f107`,`M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]},zy={prefix:`fas`,iconName:`star`,icon:[576,512,[11088,61446],`f005`,`M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z`]},By={prefix:`fas`,iconName:`triangle-exclamation`,icon:[512,512,[9888,`exclamation-triangle`,`warning`],`f071`,`M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z`]},Vy={prefix:`fas`,iconName:`volume-high`,icon:[640,512,[128266,`volume-up`],`f028`,`M533.6 32.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C557.5 113.8 592 180.8 592 256s-34.5 142.2-88.7 186.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C598.5 426.7 640 346.2 640 256S598.5 85.2 533.6 32.5zM473.1 107c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C475.3 170.7 496 210.9 496 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5zM80 352l48 0 134.1 119.2c6.4 5.7 14.6 8.8 23.1 8.8 19.2 0 34.8-15.6 34.8-34.8l0-378.4c0-19.2-15.6-34.8-34.8-34.8-8.5 0-16.7 3.1-23.1 8.8L128 160 80 160c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48z`]},Hy={prefix:`fas`,iconName:`asterisk`,icon:[448,512,[10033,61545],`2a`,`M224 0c17.7 0 32 14.3 32 32l0 168.6 144-83.1c15.3-8.8 34.9-3.6 43.7 11.7s3.6 34.9-11.7 43.7L288 256 432 339.1c15.3 8.8 20.6 28.4 11.7 43.7s-28.4 20.6-43.7 11.7L256 311.4 256 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-168.6-144 83.1c-15.3 8.8-34.9 3.6-43.7-11.7S.7 348 16 339.1L160 256 16 172.9C.7 164-4.5 144.5 4.3 129.1S32.7 108.6 48 117.4L192 200.6 192 32c0-17.7 14.3-32 32-32z`]},Uy={prefix:`fas`,iconName:`caret-up`,icon:[320,512,[],`f0d8`,`M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z`]},Wy={prefix:`fas`,iconName:`arrow-left`,icon:[512,512,[8592],`f060`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z`]},Gy={prefix:`fas`,iconName:`arrow-rotate-right`,icon:[512,512,[8635,`arrow-right-rotate`,`arrow-rotate-forward`,`redo`],`f01e`,`M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z`]},Ky={prefix:`fas`,iconName:`caret-down`,icon:[320,512,[],`f0d7`,`M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z`]},qy={prefix:`fas`,iconName:`bolt`,icon:[448,512,[9889,`zap`],`f0e7`,`M338.8-9.9c11.9 8.6 16.3 24.2 10.9 37.8L271.3 224 416 224c13.5 0 25.5 8.4 30.1 21.1s.7 26.9-9.6 35.5l-288 240c-11.3 9.4-27.4 9.9-39.3 1.3s-16.3-24.2-10.9-37.8L176.7 288 32 288c-13.5 0-25.5-8.4-30.1-21.1s-.7-26.9 9.6-35.5l288-240c11.3-9.4 27.4-9.9 39.3-1.3z`]},Jy={prefix:`fas`,iconName:`wifi`,icon:[576,512,[`wifi-3`,`wifi-strong`],`f1eb`,`M288 96c-90.9 0-173.2 36-233.7 94.6-12.7 12.3-33 12-45.2-.7s-12-33 .7-45.2C81.7 74.9 179.9 32 288 32S494.3 74.9 566.3 144.7c12.7 12.3 13 32.6 .7 45.2s-32.6 13-45.2 .7C461.2 132 378.9 96 288 96zM240 432a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM168 326.2c-11.7 13.3-31.9 14.5-45.2 2.8s-14.5-31.9-2.8-45.2C161 237.4 221.1 208 288 208s127 29.4 168 75.8c11.7 13.3 10.4 33.5-2.8 45.2s-33.5 10.4-45.2-2.8C378.6 292.9 335.8 272 288 272s-90.6 20.9-120 54.2z`]},Yy={prefix:`fas`,iconName:`arrow-up-right-from-square`,icon:[512,512,[`external-link`],`f08e`,`M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0-201.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 80c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 96z`]},Xy={prefix:`fas`,iconName:`angle-up`,icon:[384,512,[8963],`f106`,`M169.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L192 205.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z`]},Zy={prefix:`fas`,iconName:`arrow-down`,icon:[384,512,[8595],`f063`,`M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]},Qy={prefix:`fas`,iconName:`keyboard`,icon:[576,512,[9e3],`f11c`,`M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm16 64l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM64 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM176 128l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM160 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l224 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zm80-176c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zm80-80c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zm80-80c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16z`]},$y={prefix:`fas`,iconName:`circle-info`,icon:[512,512,[`info-circle`],`f05a`,`M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z`]},eb={prefix:`fas`,iconName:`sort-down`,icon:[384,512,[`sort-desc`],`f0dd`,`M32 288c-12.9 0-24.6 7.8-29.6 19.8S.2 333.5 9.4 342.6l160 160c12.5 12.5 32.8 12.5 45.3 0l160-160c9.2-9.2 11.9-22.9 6.9-34.9S364.9 288 352 288L32 288z`]};function tb(e){return e?``:void 0}function nb(e,t,n){e!=null&&(n?e.dataset[t]=``:delete e.dataset[t])}var rb=[`Shift`,`Meta`,`Alt`,`Control`],ib=1e3,ab=`keydown`,ob=typeof navigator==`object`?navigator.platform:``,sb=/Mac|iPod|iPhone|iPad/.test(ob)?`Meta`:`Control`,cb=ob===`Win32`?[`Control`,`Alt`]:[`Alt`];function lb(e){return!!(e.key&&e.code&&e.getModifierState)}function ub(e){let t=e.target;return e.repeat||e.isComposing||t!==e.currentTarget&&t.matches(`[contenteditable],input,select,textarea`)}function db(e,t){return typeof e.getModifierState==`function`?e.getModifierState(t)||cb.includes(t)&&e.getModifierState(`AltGraph`):!1}function fb(e){return e.trim().split(` `).map(e=>{let t=e.split(/(?<=\w|\])\+/),n=t.pop(),r=n.match(/^\((.+)\)$/),i=r?RegExp(`^(?:${r[1]})$`,`iv`):n,a=[],o=[];for(let e of t){let t=e.match(/^\[(.*)\]$/),n=t?.[1]??e;n=n===`$mod`?sb:n,t?o.push(n):a.push(n)}return[a,o,i]})}function pb(e,[t,n,r]){let i=t.includes(`AltGraph`);return!((r instanceof RegExp?!(r.test(e.key)||r.test(e.code)):r.toUpperCase()!==e.key.toUpperCase()&&r!==e.code)||t.find(t=>!db(e,t))||rb.find(a=>!t.includes(a)&&!n.includes(a)&&r!==a&&db(e,a)&&!(i&&cb.includes(a))))}function mb(e,t={}){let n=t.timeout??ib,r=t.ignore??ub,i=Object.keys(e).map(t=>[t,fb(t),e[t]]),a=new Map,o=null;return e=>{if(!lb(e)||r(e))return;let t=[];for(let[n,r,o]of i){let[i,...s]=a.get(n)||r;if(!pb(e,i))db(e,e.key)||a.delete(n);else if(s.length>0)a.set(n,s),t.push(n);else if(a.delete(n),t.length)console.warn(`tinykeys: Conflict found, "${n}" did not fire, waiting for:`,t);else{o(e);break}}o&&clearTimeout(o),o=setTimeout(()=>a.clear(),n)}}function hb(e,t,n={}){let r=n.event??ab,i=mb(t,n);return e.addEventListener(r,i,n.capture),()=>{e.removeEventListener(r,i,n.capture)}}var gb=/^Key|^Digit/;function _b(e,t,{target:n=window,eventType:r=`keydown`,sequenceTimeout:i=1e3,ignore:a=yb,capture:o=!1,preventDefault:s}={}){let c=s?e=>{e.preventDefault(),t(e)}:t;return hb(n,typeof e==`string`?{[e]:c}:e.reduce((e,t)=>(e[t]=c,e),{}),{event:r,capture:o,timeout:i,ignore:a})}function vb(e,t,n){let r=(0,Q.c)(22),i;r[0]===n?i=r[1]:(i=n===void 0?{}:n,r[0]=n,r[1]=i);let{disabled:a,target:o,eventType:s,sequenceTimeout:c,ignore:l,capture:u,preventDefault:d}=i,f=o===void 0?window:o,p=s===void 0?`keydown`:s,m=c===void 0?1e3:c,h=u!==void 0&&u,g;r[2]===e?g=r[3]:(g=Array.isArray(e)?e.join(`__`):e,r[2]=e,r[3]=g);let _=g,v=(0,b.useEffectEvent)(t),y=(0,b.useEffectEvent)(l??yb),x;r[4]!==h||r[5]!==a||r[6]!==p||r[7]!==_||r[8]!==v||r[9]!==y||r[10]!==d||r[11]!==m||r[12]!==f?(x=()=>{if(!a&&_&&f!==null)return _b(_.split(`__`),v,{target:f,eventType:p,sequenceTimeout:m,ignore:y,capture:h,preventDefault:d})},r[4]=h,r[5]=a,r[6]=p,r[7]=_,r[8]=v,r[9]=y,r[10]=d,r[11]=m,r[12]=f,r[13]=x):x=r[13];let S;r[14]!==h||r[15]!==a||r[16]!==p||r[17]!==_||r[18]!==d||r[19]!==m||r[20]!==f?(S=[h,a,p,d,m,_,f],r[14]=h,r[15]=a,r[16]=p,r[17]=_,r[18]=d,r[19]=m,r[20]=f,r[21]=S):S=r[21],(0,b.useEffect)(x,S)}function yb(e){return e.repeat||e.isComposing}function bb(e){return e==null?[]:(Array.isArray(e)?e:[e]).map(e=>fb(e).map(([e,t,n])=>{let r;return n instanceof RegExp?r=`(${n.source.slice(1,-1)})`:(r=n.replace(gb,``),r.length===1&&(r=r.toUpperCase())),e.concat(t,r)}))}function xb(e){return bb(e).map(e=>e.map(e=>e.map(e=>e===`+`?`plus`:e).join(`+`)).join(` `)).join(` `)||void 0}function Sb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Cb(e){if(Array.isArray(e))return e}function wb(e){if(Array.isArray(e))return Sb(e)}function Tb(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Eb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,zb(r.key),r)}}function Db(e,t,n){return t&&Eb(e.prototype,t),n&&Eb(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ob(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=Vb(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
50
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function kb(e,t,n){return(t=zb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ab(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function jb(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Mb(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
51
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nb(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
52
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Pb(Object(n),!0).forEach(function(t){kb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ib(e,t){return Cb(e)||jb(e,t)||Vb(e,t)||Mb()}function Lb(e){return wb(e)||Ab(e)||Vb(e)||Nb()}function Rb(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function zb(e){var t=Rb(e,`string`);return typeof t==`symbol`?t:t+``}function Bb(e){"@babel/helpers - typeof";return Bb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Bb(e)}function Vb(e,t){if(e){if(typeof e==`string`)return Sb(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sb(e,t):void 0}}var Hb=function(){},Ub={},Wb={},Gb=null,Kb={mark:Hb,measure:Hb};try{typeof window<`u`&&(Ub=window),typeof document<`u`&&(Wb=document),typeof MutationObserver<`u`&&(Gb=MutationObserver),typeof performance<`u`&&(Kb=performance)}catch{}var qb=(Ub.navigator||{}).userAgent,Jb=qb===void 0?``:qb,Yb=Ub,Xb=Wb,Zb=Gb,Qb=Kb;Yb.document;var $b=!!Xb.documentElement&&!!Xb.head&&typeof Xb.addEventListener==`function`&&typeof Xb.createElement==`function`,ex=~Jb.indexOf(`MSIE`)||~Jb.indexOf(`Trident/`),tx,nx=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt|sldr|slpdr|pr|ms|vs)?[\-\ ]/,rx=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Slab Duo|Slab Press Duo|Pixel|Mosaic|Vellum|Whiteboard)?.*/i,ix={classic:{fa:`solid`,fas:`solid`,"fa-solid":`solid`,far:`regular`,"fa-regular":`regular`,fal:`light`,"fa-light":`light`,fat:`thin`,"fa-thin":`thin`,fab:`brands`,"fa-brands":`brands`},duotone:{fa:`solid`,fad:`solid`,"fa-solid":`solid`,"fa-duotone":`solid`,fadr:`regular`,"fa-regular":`regular`,fadl:`light`,"fa-light":`light`,fadt:`thin`,"fa-thin":`thin`},sharp:{fa:`solid`,fass:`solid`,"fa-solid":`solid`,fasr:`regular`,"fa-regular":`regular`,fasl:`light`,"fa-light":`light`,fast:`thin`,"fa-thin":`thin`},"sharp-duotone":{fa:`solid`,fasds:`solid`,"fa-solid":`solid`,fasdr:`regular`,"fa-regular":`regular`,fasdl:`light`,"fa-light":`light`,fasdt:`thin`,"fa-thin":`thin`},slab:{"fa-regular":`regular`,faslr:`regular`},"slab-press":{"fa-regular":`regular`,faslpr:`regular`},"slab-duo":{"fa-regular":`regular`,fasldr:`regular`},"slab-press-duo":{"fa-regular":`regular`,faslpdr:`regular`},thumbprint:{"fa-light":`light`,fatl:`light`},vellum:{"fa-solid":`solid`,favs:`solid`},pixel:{"fa-regular":`regular`,fapr:`regular`},mosaic:{"fa-solid":`solid`,fams:`solid`},whiteboard:{"fa-semibold":`semibold`,fawsb:`semibold`},notdog:{"fa-solid":`solid`,fans:`solid`},"notdog-duo":{"fa-solid":`solid`,fands:`solid`},etch:{"fa-solid":`solid`,faes:`solid`},graphite:{"fa-thin":`thin`,fagt:`thin`},jelly:{"fa-regular":`regular`,fajr:`regular`},"jelly-fill":{"fa-regular":`regular`,fajfr:`regular`},"jelly-duo":{"fa-regular":`regular`,fajdr:`regular`},chisel:{"fa-regular":`regular`,facr:`regular`},utility:{"fa-semibold":`semibold`,fausb:`semibold`},"utility-duo":{"fa-semibold":`semibold`,faudsb:`semibold`},"utility-fill":{"fa-semibold":`semibold`,faufsb:`semibold`}},ax={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`},ox=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-slab-press-duo`,`fa-slab-duo`,`fa-mosaic`,`fa-pixel`,`fa-vellum`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`],sx=`classic`,cx=`duotone`,lx=`sharp`,ux=`sharp-duotone`,dx=`chisel`,fx=`etch`,px=`graphite`,mx=`jelly`,hx=`jelly-duo`,gx=`jelly-fill`,_x=`mosaic`,vx=`notdog`,yx=`notdog-duo`,bx=`pixel`,xx=`slab`,Sx=`slab-duo`,Cx=`slab-press`,wx=`slab-press-duo`,Tx=`thumbprint`,Ex=`utility`,Dx=`utility-duo`,Ox=`utility-fill`,kx=`vellum`,Ax=`whiteboard`,jx=`Classic`,Mx=`Duotone`,Nx=`Sharp`,Px=`Sharp Duotone`,Fx=`Chisel`,Ix=`Etch`,Lx=`Graphite`,Rx=`Jelly`,zx=`Jelly Duo`,Bx=`Jelly Fill`,Vx=`Mosaic`,Hx=`Notdog`,Ux=`Notdog Duo`,Wx=`Pixel`,Gx=`Slab`,Kx=`Slab Duo`,qx=`Slab Press`,Jx=`Slab Press Duo`,Yx=`Thumbprint`,Xx=`Utility`,Zx=`Utility Duo`,Qx=`Utility Fill`,$x=`Vellum`,eS=`Whiteboard`,tS=[sx,cx,lx,ux,dx,fx,px,mx,hx,gx,_x,vx,yx,bx,xx,Sx,Cx,wx,Tx,Ex,Dx,Ox,kx,Ax];tx={},kb(kb(kb(kb(kb(kb(kb(kb(kb(kb(tx,sx,jx),cx,Mx),lx,Nx),ux,Px),dx,Fx),fx,Ix),px,Lx),mx,Rx),hx,zx),gx,Bx),kb(kb(kb(kb(kb(kb(kb(kb(kb(kb(tx,_x,Vx),vx,Hx),yx,Ux),bx,Wx),xx,Gx),Sx,Kx),Cx,qx),wx,Jx),Tx,Yx),Ex,Xx),kb(kb(kb(kb(tx,Dx,Zx),Ox,Qx),kx,$x),Ax,eS);var nS={classic:{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},duotone:{900:`fad`,400:`fadr`,300:`fadl`,100:`fadt`},sharp:{900:`fass`,400:`fasr`,300:`fasl`,100:`fast`},"sharp-duotone":{900:`fasds`,400:`fasdr`,300:`fasdl`,100:`fasdt`},slab:{400:`faslr`},"slab-press":{400:`faslpr`},"slab-duo":{400:`fasldr`},"slab-press-duo":{400:`faslpdr`},vellum:{900:`favs`},mosaic:{900:`fams`},pixel:{400:`fapr`},whiteboard:{600:`fawsb`},thumbprint:{300:`fatl`},notdog:{900:`fans`},"notdog-duo":{900:`fands`},etch:{900:`faes`},graphite:{100:`fagt`},chisel:{400:`facr`},jelly:{400:`fajr`},"jelly-fill":{400:`fajfr`},"jelly-duo":{400:`fajdr`},utility:{600:`fausb`},"utility-duo":{600:`faudsb`},"utility-fill":{600:`faufsb`}},rS={"Font Awesome 7 Free":{900:`fas`,400:`far`},"Font Awesome 7 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},"Font Awesome 7 Brands":{400:`fab`,normal:`fab`},"Font Awesome 7 Duotone":{900:`fad`,400:`fadr`,normal:`fadr`,300:`fadl`,100:`fadt`},"Font Awesome 7 Sharp":{900:`fass`,400:`fasr`,normal:`fasr`,300:`fasl`,100:`fast`},"Font Awesome 7 Sharp Duotone":{900:`fasds`,400:`fasdr`,normal:`fasdr`,300:`fasdl`,100:`fasdt`},"Font Awesome 7 Jelly":{400:`fajr`,normal:`fajr`},"Font Awesome 7 Jelly Fill":{400:`fajfr`,normal:`fajfr`},"Font Awesome 7 Jelly Duo":{400:`fajdr`,normal:`fajdr`},"Font Awesome 7 Slab":{400:`faslr`,normal:`faslr`},"Font Awesome 7 Slab Press":{400:`faslpr`,normal:`faslpr`},"Font Awesome 7 Slab Duo":{400:`fasldr`,normal:`fasldr`},"Font Awesome 7 Slab Press Duo":{400:`faslpdr`,normal:`faslpdr`},"Font Awesome 7 Pixel":{400:`fapr`,normal:`fapr`},"Font Awesome 7 Mosaic":{900:`fams`,normal:`fams`},"Font Awesome 7 Vellum":{900:`favs`,normal:`favs`},"Font Awesome 7 Thumbprint":{300:`fatl`,normal:`fatl`},"Font Awesome 7 Notdog":{900:`fans`,normal:`fans`},"Font Awesome 7 Notdog Duo":{900:`fands`,normal:`fands`},"Font Awesome 7 Etch":{900:`faes`,normal:`faes`},"Font Awesome 7 Graphite":{100:`fagt`,normal:`fagt`},"Font Awesome 7 Chisel":{400:`facr`,normal:`facr`},"Font Awesome 7 Whiteboard":{600:`fawsb`,normal:`fawsb`},"Font Awesome 7 Utility":{600:`fausb`,normal:`fausb`},"Font Awesome 7 Utility Duo":{600:`faudsb`,normal:`faudsb`},"Font Awesome 7 Utility Fill":{600:`faufsb`,normal:`faufsb`}},iS=new Map([[`classic`,{defaultShortPrefixId:`fas`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`,`brands`],futureStyleIds:[],defaultFontWeight:900}],[`duotone`,{defaultShortPrefixId:`fad`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp`,{defaultShortPrefixId:`fass`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp-duotone`,{defaultShortPrefixId:`fasds`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`chisel`,{defaultShortPrefixId:`facr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`etch`,{defaultShortPrefixId:`faes`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`graphite`,{defaultShortPrefixId:`fagt`,defaultStyleId:`thin`,styleIds:[`thin`],futureStyleIds:[],defaultFontWeight:100}],[`jelly`,{defaultShortPrefixId:`fajr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-duo`,{defaultShortPrefixId:`fajdr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-fill`,{defaultShortPrefixId:`fajfr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`mosaic`,{defaultShortPrefixId:`fams`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`notdog`,{defaultShortPrefixId:`fans`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`notdog-duo`,{defaultShortPrefixId:`fands`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`pixel`,{defaultShortPrefixId:`fapr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab`,{defaultShortPrefixId:`faslr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-duo`,{defaultShortPrefixId:`fasldr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-press`,{defaultShortPrefixId:`faslpr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-press-duo`,{defaultShortPrefixId:`faslpdr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`thumbprint`,{defaultShortPrefixId:`fatl`,defaultStyleId:`light`,styleIds:[`light`],futureStyleIds:[],defaultFontWeight:300}],[`utility`,{defaultShortPrefixId:`fausb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-duo`,{defaultShortPrefixId:`faudsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-fill`,{defaultShortPrefixId:`faufsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`vellum`,{defaultShortPrefixId:`favs`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`whiteboard`,{defaultShortPrefixId:`fawsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}]]),aS={chisel:{regular:`facr`},classic:{brands:`fab`,light:`fal`,regular:`far`,solid:`fas`,thin:`fat`},duotone:{light:`fadl`,regular:`fadr`,solid:`fad`,thin:`fadt`},etch:{solid:`faes`},graphite:{thin:`fagt`},jelly:{regular:`fajr`},"jelly-duo":{regular:`fajdr`},"jelly-fill":{regular:`fajfr`},mosaic:{solid:`fams`},notdog:{solid:`fans`},"notdog-duo":{solid:`fands`},pixel:{regular:`fapr`},sharp:{light:`fasl`,regular:`fasr`,solid:`fass`,thin:`fast`},"sharp-duotone":{light:`fasdl`,regular:`fasdr`,solid:`fasds`,thin:`fasdt`},slab:{regular:`faslr`},"slab-duo":{regular:`fasldr`},"slab-press":{regular:`faslpr`},"slab-press-duo":{regular:`faslpdr`},thumbprint:{light:`fatl`},utility:{semibold:`fausb`},"utility-duo":{semibold:`faudsb`},"utility-fill":{semibold:`faufsb`},vellum:{solid:`favs`},whiteboard:{semibold:`fawsb`}},oS=[`fak`,`fa-kit`,`fakd`,`fa-kit-duotone`],sS={kit:{fak:`kit`,"fa-kit":`kit`},"kit-duotone":{fakd:`kit-duotone`,"fa-kit-duotone":`kit-duotone`}},cS=[`kit`];kb(kb({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var lS={kit:{"fa-kit":`fak`},"kit-duotone":{"fa-kit-duotone":`fakd`}},uS={"Font Awesome Kit":{400:`fak`,normal:`fak`},"Font Awesome Kit Duotone":{400:`fakd`,normal:`fakd`}},dS={kit:{fak:`fa-kit`},"kit-duotone":{fakd:`fa-kit-duotone`}},fS={kit:{kit:`fak`},"kit-duotone":{"kit-duotone":`fakd`}},pS,mS={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`},hS=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-slab-press-duo`,`fa-slab-duo`,`fa-mosaic`,`fa-pixel`,`fa-vellum`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`];pS={},kb(kb(kb(kb(kb(kb(kb(kb(kb(kb(pS,`classic`,`Classic`),`duotone`,`Duotone`),`sharp`,`Sharp`),`sharp-duotone`,`Sharp Duotone`),`chisel`,`Chisel`),`etch`,`Etch`),`graphite`,`Graphite`),`jelly`,`Jelly`),`jelly-duo`,`Jelly Duo`),`jelly-fill`,`Jelly Fill`),kb(kb(kb(kb(kb(kb(kb(kb(kb(kb(pS,`mosaic`,`Mosaic`),`notdog`,`Notdog`),`notdog-duo`,`Notdog Duo`),`pixel`,`Pixel`),`slab`,`Slab`),`slab-duo`,`Slab Duo`),`slab-press`,`Slab Press`),`slab-press-duo`,`Slab Press Duo`),`thumbprint`,`Thumbprint`),`utility`,`Utility`),kb(kb(kb(kb(pS,`utility-duo`,`Utility Duo`),`utility-fill`,`Utility Fill`),`vellum`,`Vellum`),`whiteboard`,`Whiteboard`),kb(kb({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var gS={classic:{"fa-brands":`fab`,"fa-duotone":`fad`,"fa-light":`fal`,"fa-regular":`far`,"fa-solid":`fas`,"fa-thin":`fat`},duotone:{"fa-regular":`fadr`,"fa-light":`fadl`,"fa-thin":`fadt`},sharp:{"fa-solid":`fass`,"fa-regular":`fasr`,"fa-light":`fasl`,"fa-thin":`fast`},"sharp-duotone":{"fa-solid":`fasds`,"fa-regular":`fasdr`,"fa-light":`fasdl`,"fa-thin":`fasdt`},slab:{"fa-regular":`faslr`},"slab-press":{"fa-regular":`faslpr`},"slab-duo":{"fa-regular":`fasldr`},"slab-press-duo":{"fa-regular":`faslpdr`},pixel:{"fa-regular":`fapr`},mosaic:{"fa-solid":`fams`},vellum:{"fa-solid":`favs`},whiteboard:{"fa-semibold":`fawsb`},thumbprint:{"fa-light":`fatl`},notdog:{"fa-solid":`fans`},"notdog-duo":{"fa-solid":`fands`},etch:{"fa-solid":`faes`},graphite:{"fa-thin":`fagt`},jelly:{"fa-regular":`fajr`},"jelly-fill":{"fa-regular":`fajfr`},"jelly-duo":{"fa-regular":`fajdr`},chisel:{"fa-regular":`facr`},utility:{"fa-semibold":`fausb`},"utility-duo":{"fa-semibold":`faudsb`},"utility-fill":{"fa-semibold":`faufsb`}},_S={classic:[`fas`,`far`,`fal`,`fat`,`fad`],duotone:[`fadr`,`fadl`,`fadt`],sharp:[`fass`,`fasr`,`fasl`,`fast`],"sharp-duotone":[`fasds`,`fasdr`,`fasdl`,`fasdt`],slab:[`faslr`],"slab-press":[`faslpr`],"slab-duo":[`fasldr`],"slab-press-duo":[`faslpdr`],pixel:[`fapr`],mosaic:[`fams`],vellum:[`favs`],whiteboard:[`fawsb`],thumbprint:[`fatl`],notdog:[`fans`],"notdog-duo":[`fands`],etch:[`faes`],graphite:[`fagt`],jelly:[`fajr`],"jelly-fill":[`fajfr`],"jelly-duo":[`fajdr`],chisel:[`facr`],utility:[`fausb`],"utility-duo":[`faudsb`],"utility-fill":[`faufsb`]},vS={classic:{fab:`fa-brands`,fad:`fa-duotone`,fal:`fa-light`,far:`fa-regular`,fas:`fa-solid`,fat:`fa-thin`},duotone:{fadr:`fa-regular`,fadl:`fa-light`,fadt:`fa-thin`},sharp:{fass:`fa-solid`,fasr:`fa-regular`,fasl:`fa-light`,fast:`fa-thin`},"sharp-duotone":{fasds:`fa-solid`,fasdr:`fa-regular`,fasdl:`fa-light`,fasdt:`fa-thin`},slab:{faslr:`fa-regular`},"slab-press":{faslpr:`fa-regular`},"slab-duo":{fasldr:`fa-regular`},"slab-press-duo":{faslpdr:`fa-regular`},pixel:{fapr:`fa-regular`},mosaic:{fams:`fa-solid`},vellum:{favs:`fa-solid`},whiteboard:{fawsb:`fa-semibold`},thumbprint:{fatl:`fa-light`},notdog:{fans:`fa-solid`},"notdog-duo":{fands:`fa-solid`},etch:{faes:`fa-solid`},graphite:{fagt:`fa-thin`},jelly:{fajr:`fa-regular`},"jelly-fill":{fajfr:`fa-regular`},"jelly-duo":{fajdr:`fa-regular`},chisel:{facr:`fa-regular`},utility:{fausb:`fa-semibold`},"utility-duo":{faudsb:`fa-semibold`},"utility-fill":{faufsb:`fa-semibold`}},yS=`fa.fas.far.fal.fat.fad.fadr.fadl.fadt.fab.fass.fasr.fasl.fast.fasds.fasdr.fasdl.fasdt.faslr.faslpr.fasldr.faslpdr.fapr.fams.favs.fawsb.fatl.fans.fands.faes.fagt.fajr.fajfr.fajdr.facr.fausb.faudsb.faufsb`.split(`.`).concat(hS,[`fa-solid`,`fa-regular`,`fa-light`,`fa-thin`,`fa-duotone`,`fa-brands`,`fa-semibold`]),bS=[`solid`,`regular`,`light`,`thin`,`duotone`,`brands`,`semibold`],xS=[1,2,3,4,5,6,7,8,9,10],SS=xS.concat([11,12,13,14,15,16,17,18,19,20]),CS=[].concat(Lb(Object.keys(_S)),bS,[`aw`,`fw`,`pull-left`,`pull-right`],[`2xs`,`xs`,`sm`,`lg`,`xl`,`2xl`,`beat`,`beat-fade`,`border`,`bounce`,`buzz`,`canvas-square`,`canvas-roomy`,`fade`,`flip-360`,`flip-both`,`flip-horizontal`,`flip-vertical`,`flip`,`float`,`inverse`,`jello`,`layers`,`layers-bottom-left`,`layers-bottom-right`,`layers-counter`,`layers-text`,`layers-top-left`,`layers-top-right`,`li`,`pull-end`,`pull-start`,`pulse`,`rotate-180`,`rotate-270`,`rotate-90`,`rotate-by`,`shake`,`spin-pulse`,`spin-reverse`,`spin`,`spin-snap`,`spin-snap-4`,`spin-snap-8`,`stack-1x`,`stack-2x`,`stack`,`swing`,`ul`,`wag`,`width-auto`,`width-fixed`,mS.GROUP,mS.SWAP_OPACITY,mS.PRIMARY,mS.SECONDARY],xS.map(function(e){return`${e}x`}),SS.map(function(e){return`w-${e}`})),wS={"Font Awesome 5 Free":{900:`fas`,400:`far`},"Font Awesome 5 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`},"Font Awesome 5 Brands":{400:`fab`,normal:`fab`},"Font Awesome 5 Duotone":{900:`fad`}},TS=`___FONT_AWESOME___`,ES=16,DS=`fa`,OS=`svg-inline--fa`,kS=`data-fa-i2svg`,AS=`data-fa-pseudo-element`,jS=`data-fa-pseudo-element-pending`,MS=`data-prefix`,NS=`data-icon`,PS=`fontawesome-i2svg`,FS=`async`,IS=[`HTML`,`HEAD`,`STYLE`,`SCRIPT`],LS=[`::before`,`::after`,`:before`,`:after`],RS=function(){try{return!0}catch{return!1}}();function zS(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[sx]}})}var BS=Fb({},ix);BS[sx]=Fb(Fb(Fb(Fb({},{"fa-duotone":`duotone`}),ix[sx]),sS.kit),sS[`kit-duotone`]);var VS=zS(BS),HS=Fb({},aS);HS[sx]=Fb(Fb(Fb(Fb({},{duotone:`fad`}),HS[sx]),fS.kit),fS[`kit-duotone`]);var US=zS(HS),WS=Fb({},vS);WS[sx]=Fb(Fb({},WS[sx]),dS.kit);var GS=zS(WS),KS=Fb({},gS);KS[sx]=Fb(Fb({},KS[sx]),lS.kit),zS(KS);var qS=nx,JS=`fa-layers-text`,YS=rx;zS(Fb({},nS));var XS=[`class`,`data-prefix`,`data-icon`,`data-fa-transform`,`data-fa-mask`],ZS=ax,QS=[].concat(Lb(cS),Lb(CS)),$S=Yb.FontAwesomeConfig||{};function eC(e){var t=Xb.querySelector(`script[`+e+`]`);if(t)return t.getAttribute(e)}function tC(e){return e===``?!0:e===`false`?!1:e===`true`||e}Xb&&typeof Xb.querySelector==`function`&&[[`data-family-prefix`,`familyPrefix`],[`data-css-prefix`,`cssPrefix`],[`data-family-default`,`familyDefault`],[`data-style-default`,`styleDefault`],[`data-replacement-class`,`replacementClass`],[`data-auto-replace-svg`,`autoReplaceSvg`],[`data-auto-add-css`,`autoAddCss`],[`data-search-pseudo-elements`,`searchPseudoElements`],[`data-search-pseudo-elements-warnings`,`searchPseudoElementsWarnings`],[`data-search-pseudo-elements-full-scan`,`searchPseudoElementsFullScan`],[`data-observe-mutations`,`observeMutations`],[`data-mutate-approach`,`mutateApproach`],[`data-keep-original-source`,`keepOriginalSource`],[`data-measure-performance`,`measurePerformance`],[`data-show-missing-icons`,`showMissingIcons`]].forEach(function(e){var t=Ib(e,2),n=t[0],r=t[1],i=tC(eC(n));i!=null&&($S[r]=i)});var nC={styleDefault:`solid`,familyDefault:sx,cssPrefix:DS,replacementClass:OS,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:`async`,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$S.familyPrefix&&($S.cssPrefix=$S.familyPrefix);var rC=Fb(Fb({},nC),$S);rC.autoReplaceSvg||(rC.observeMutations=!1);var iC={};Object.keys(nC).forEach(function(e){Object.defineProperty(iC,e,{enumerable:!0,set:function(t){rC[e]=t,aC.forEach(function(e){return e(iC)})},get:function(){return rC[e]}})}),Object.defineProperty(iC,"familyPrefix",{enumerable:!0,set:function(e){rC.cssPrefix=e,aC.forEach(function(e){return e(iC)})},get:function(){return rC.cssPrefix}}),Yb.FontAwesomeConfig=iC;var aC=[];function oC(e){return aC.push(e),function(){aC.splice(aC.indexOf(e),1)}}var sC=ES,cC={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function lC(e){if(e&&$b){var t=Xb.createElement(`style`);t.setAttribute(`type`,`text/css`),t.innerHTML=e;for(var n=Xb.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||``).toUpperCase();[`STYLE`,`LINK`].indexOf(o)>-1&&(r=a)}return Xb.head.insertBefore(t,r),e}}var uC=`0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`;function dC(){for(var e=12,t=``;e-->0;)t+=uC[Math.random()*62|0];return t}function fC(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function pC(e){return e.classList?fC(e.classList):(e.getAttribute(`class`)||``).split(` `).filter(function(e){return e})}function mC(e){return`${e}`.replace(/&/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}function hC(e){return Object.keys(e||{}).reduce(function(t,n){return t+`${n}="${mC(e[n])}" `},``).trim()}function gC(e){return Object.keys(e||{}).reduce(function(t,n){return t+`${n}: ${e[n].trim()};`},``)}function _C(e){return e.size!==cC.size||e.x!==cC.x||e.y!==cC.y||e.rotate!==cC.rotate||e.flipX||e.flipY}function vC(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth;return{outer:{transform:`translate(${n/2} 256)`},inner:{transform:`${`translate(${t.x*32}, ${t.y*32}) `} ${`scale(${t.size/16*(t.flipX?-1:1)}, ${t.size/16*(t.flipY?-1:1)}) `} ${`rotate(${t.rotate} 0 0)`}`},path:{transform:`translate(${r/2*-1} -256)`}}}function yC(e){var t=e.transform,n=e.width,r=n===void 0?ES:n,i=e.height,a=i===void 0?ES:i,o=e.startCentered,s=o!==void 0&&o,c=``;return c+=s&&ex?`translate(${t.x/sC-r/2}em, ${t.y/sC-a/2}em) `:s?`translate(calc(-50% + ${t.x/sC}em), calc(-50% + ${t.y/sC}em)) `:`translate(${t.x/sC}em, ${t.y/sC}em) `,c+=`scale(${t.size/sC*(t.flipX?-1:1)}, ${t.size/sC*(t.flipY?-1:1)}) `,c+=`rotate(${t.rotate}deg) `,c}var bC=`:root, :host {
|
|
53
|
+
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
54
|
+
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
|
55
|
+
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
|
56
|
+
--fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';
|
|
57
|
+
--fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';
|
|
58
|
+
--fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';
|
|
59
|
+
--fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';
|
|
60
|
+
--fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';
|
|
61
|
+
--fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';
|
|
62
|
+
--fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';
|
|
63
|
+
--fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';
|
|
64
|
+
--fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';
|
|
65
|
+
--fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';
|
|
66
|
+
--fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
67
|
+
--fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
68
|
+
--fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
69
|
+
--fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
70
|
+
--fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';
|
|
71
|
+
--fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';
|
|
72
|
+
--fa-font-slab-duo-regular: normal 400 1em/1 'Font Awesome 7 Slab Duo';
|
|
73
|
+
--fa-font-slab-press-duo-regular: normal 400 1em/1 'Font Awesome 7 Slab Press Duo';
|
|
74
|
+
--fa-font-pixel-regular: normal 400 1em/1 'Font Awesome 7 Pixel';
|
|
75
|
+
--fa-font-mosaic-solid: normal 900 1em/1 'Font Awesome 7 Mosaic';
|
|
76
|
+
--fa-font-vellum-solid: normal 900 1em/1 'Font Awesome 7 Vellum';
|
|
77
|
+
--fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';
|
|
78
|
+
--fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';
|
|
79
|
+
--fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';
|
|
80
|
+
--fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';
|
|
81
|
+
--fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';
|
|
82
|
+
--fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';
|
|
83
|
+
--fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';
|
|
84
|
+
--fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';
|
|
85
|
+
--fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';
|
|
86
|
+
--fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';
|
|
87
|
+
--fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';
|
|
88
|
+
--fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';
|
|
89
|
+
--fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.svg-inline--fa {
|
|
93
|
+
box-sizing: content-box;
|
|
94
|
+
display: var(--fa-display, inline-block);
|
|
95
|
+
height: 1em;
|
|
96
|
+
overflow: visible;
|
|
97
|
+
vertical-align: -0.125em;
|
|
98
|
+
width: var(--fa-width, 1.25em);
|
|
99
|
+
}
|
|
100
|
+
.svg-inline--fa.fa-2xs {
|
|
101
|
+
vertical-align: 0.1em;
|
|
102
|
+
}
|
|
103
|
+
.svg-inline--fa.fa-xs {
|
|
104
|
+
vertical-align: 0em;
|
|
105
|
+
}
|
|
106
|
+
.svg-inline--fa.fa-sm {
|
|
107
|
+
vertical-align: -0.0714285714em;
|
|
108
|
+
}
|
|
109
|
+
.svg-inline--fa.fa-lg {
|
|
110
|
+
vertical-align: -0.2em;
|
|
111
|
+
}
|
|
112
|
+
.svg-inline--fa.fa-xl {
|
|
113
|
+
vertical-align: -0.25em;
|
|
114
|
+
}
|
|
115
|
+
.svg-inline--fa.fa-2xl {
|
|
116
|
+
vertical-align: -0.3125em;
|
|
117
|
+
}
|
|
118
|
+
.svg-inline--fa.fa-pull-left,
|
|
119
|
+
.svg-inline--fa .fa-pull-start {
|
|
120
|
+
float: inline-start;
|
|
121
|
+
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
122
|
+
}
|
|
123
|
+
.svg-inline--fa.fa-pull-right,
|
|
124
|
+
.svg-inline--fa .fa-pull-end {
|
|
125
|
+
float: inline-end;
|
|
126
|
+
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
127
|
+
}
|
|
128
|
+
.svg-inline--fa.fa-li {
|
|
129
|
+
width: var(--fa-li-width, 2em);
|
|
130
|
+
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
131
|
+
inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.fa-layers-counter, .fa-layers-text {
|
|
135
|
+
display: inline-block;
|
|
136
|
+
position: absolute;
|
|
137
|
+
text-align: center;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.fa-layers {
|
|
141
|
+
display: inline-block;
|
|
142
|
+
height: 1em;
|
|
143
|
+
position: relative;
|
|
144
|
+
text-align: center;
|
|
145
|
+
vertical-align: -0.125em;
|
|
146
|
+
width: var(--fa-width, 1.25em);
|
|
147
|
+
}
|
|
148
|
+
.fa-layers .svg-inline--fa {
|
|
149
|
+
inset: 0;
|
|
150
|
+
margin: auto;
|
|
151
|
+
position: absolute;
|
|
152
|
+
transform-origin: center center;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.fa-layers-text {
|
|
156
|
+
left: 50%;
|
|
157
|
+
top: 50%;
|
|
158
|
+
transform: translate(-50%, -50%);
|
|
159
|
+
transform-origin: center center;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.fa-layers-counter {
|
|
163
|
+
background-color: var(--fa-counter-background-color, #ff253a);
|
|
164
|
+
border-radius: var(--fa-counter-border-radius, 1em);
|
|
165
|
+
box-sizing: border-box;
|
|
166
|
+
color: var(--fa-inverse, #fff);
|
|
167
|
+
line-height: var(--fa-counter-line-height, 1);
|
|
168
|
+
max-width: var(--fa-counter-max-width, 5em);
|
|
169
|
+
min-width: var(--fa-counter-min-width, 1.5em);
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
172
|
+
right: var(--fa-right, 0);
|
|
173
|
+
text-overflow: ellipsis;
|
|
174
|
+
top: var(--fa-top, 0);
|
|
175
|
+
transform: scale(var(--fa-counter-scale, 0.25));
|
|
176
|
+
transform-origin: top right;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.fa-layers-bottom-right {
|
|
180
|
+
bottom: var(--fa-bottom, 0);
|
|
181
|
+
right: var(--fa-right, 0);
|
|
182
|
+
top: auto;
|
|
183
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
184
|
+
transform-origin: bottom right;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.fa-layers-bottom-left {
|
|
188
|
+
bottom: var(--fa-bottom, 0);
|
|
189
|
+
left: var(--fa-left, 0);
|
|
190
|
+
right: auto;
|
|
191
|
+
top: auto;
|
|
192
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
193
|
+
transform-origin: bottom left;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.fa-layers-top-right {
|
|
197
|
+
top: var(--fa-top, 0);
|
|
198
|
+
right: var(--fa-right, 0);
|
|
199
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
200
|
+
transform-origin: top right;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.fa-layers-top-left {
|
|
204
|
+
left: var(--fa-left, 0);
|
|
205
|
+
right: auto;
|
|
206
|
+
top: var(--fa-top, 0);
|
|
207
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
208
|
+
transform-origin: top left;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.fa-1x {
|
|
212
|
+
font-size: 1em;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.fa-2x {
|
|
216
|
+
font-size: 2em;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.fa-3x {
|
|
220
|
+
font-size: 3em;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.fa-4x {
|
|
224
|
+
font-size: 4em;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.fa-5x {
|
|
228
|
+
font-size: 5em;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.fa-6x {
|
|
232
|
+
font-size: 6em;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.fa-7x {
|
|
236
|
+
font-size: 7em;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.fa-8x {
|
|
240
|
+
font-size: 8em;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.fa-9x {
|
|
244
|
+
font-size: 9em;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.fa-10x {
|
|
248
|
+
font-size: 10em;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.fa-2xs {
|
|
252
|
+
font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
|
|
253
|
+
line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
254
|
+
vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.fa-xs {
|
|
258
|
+
font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
|
|
259
|
+
line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
260
|
+
vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.fa-sm {
|
|
264
|
+
font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
|
|
265
|
+
line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
266
|
+
vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.fa-lg {
|
|
270
|
+
font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
|
|
271
|
+
line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
272
|
+
vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.fa-xl {
|
|
276
|
+
font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
|
|
277
|
+
line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
278
|
+
vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.fa-2xl {
|
|
282
|
+
font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
|
|
283
|
+
line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
284
|
+
vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.fa-width-auto {
|
|
288
|
+
--fa-width: auto;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.fa-fw,
|
|
292
|
+
.fa-width-fixed {
|
|
293
|
+
--fa-width: 1.25em;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.fa-canvas-square {
|
|
297
|
+
padding-block: 0.125em;
|
|
298
|
+
margin-block-end: -0.125em;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.fa-canvas-roomy {
|
|
302
|
+
padding-block: 0.25em;
|
|
303
|
+
padding-inline: 0.125em;
|
|
304
|
+
margin-block-end: -0.25em;
|
|
305
|
+
box-sizing: content-box;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.fa-ul {
|
|
309
|
+
list-style-type: none;
|
|
310
|
+
margin-inline-start: var(--fa-li-margin, 2.5em);
|
|
311
|
+
padding-inline-start: 0;
|
|
312
|
+
}
|
|
313
|
+
.fa-ul > li {
|
|
314
|
+
position: relative;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.fa-li {
|
|
318
|
+
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
319
|
+
position: absolute;
|
|
320
|
+
text-align: center;
|
|
321
|
+
width: var(--fa-li-width, 2em);
|
|
322
|
+
line-height: inherit;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/* Heads Up: Bordered Icons will not be supported in the future!
|
|
326
|
+
- This feature will be deprecated in the next major release of Font Awesome (v8)!
|
|
327
|
+
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
|
|
328
|
+
*/
|
|
329
|
+
/* Notes:
|
|
330
|
+
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
|
|
331
|
+
* --@{v.$css-prefix}-border-padding =
|
|
332
|
+
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
|
|
333
|
+
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
|
|
334
|
+
*/
|
|
335
|
+
.fa-border {
|
|
336
|
+
border-color: var(--fa-border-color, #eee);
|
|
337
|
+
border-radius: var(--fa-border-radius, 0.1em);
|
|
338
|
+
border-style: var(--fa-border-style, solid);
|
|
339
|
+
border-width: var(--fa-border-width, 0.0625em);
|
|
340
|
+
box-sizing: var(--fa-border-box-sizing, content-box);
|
|
341
|
+
padding: var(--fa-border-padding, 0.1875em 0.25em);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.fa-pull-left,
|
|
345
|
+
.fa-pull-start {
|
|
346
|
+
float: inline-start;
|
|
347
|
+
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.fa-pull-right,
|
|
351
|
+
.fa-pull-end {
|
|
352
|
+
float: inline-end;
|
|
353
|
+
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.fa-beat {
|
|
357
|
+
animation-name: fa-beat;
|
|
358
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
359
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
360
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
361
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
362
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.fa-bounce {
|
|
366
|
+
animation-name: fa-bounce;
|
|
367
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
368
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
369
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
370
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
371
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.fa-fade {
|
|
375
|
+
animation-name: fa-fade;
|
|
376
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
377
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
378
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
379
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
380
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.fa-beat-fade {
|
|
384
|
+
animation-name: fa-beat-fade;
|
|
385
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
386
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
387
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
388
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
389
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.fa-flip {
|
|
393
|
+
animation-name: fa-flip;
|
|
394
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
395
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
396
|
+
animation-duration: var(--fa-animation-duration, 1.5s);
|
|
397
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
398
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.fa-flip-360 {
|
|
402
|
+
animation-name: fa-flip-360;
|
|
403
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
404
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
405
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
406
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
407
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.fa-shake {
|
|
411
|
+
animation-name: fa-shake;
|
|
412
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
413
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
414
|
+
animation-duration: var(--fa-animation-duration, 0.75s);
|
|
415
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
416
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.fa-spin {
|
|
420
|
+
animation-name: fa-spin;
|
|
421
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
422
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
423
|
+
animation-duration: var(--fa-animation-duration, 2s);
|
|
424
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
425
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.fa-spin-reverse {
|
|
429
|
+
--fa-animation-direction: reverse;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.fa-pulse,
|
|
433
|
+
.fa-spin-pulse {
|
|
434
|
+
animation-name: fa-spin;
|
|
435
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
436
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
437
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
438
|
+
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.fa-spin-snap {
|
|
442
|
+
animation-name: fa-spin-snap;
|
|
443
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
444
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
445
|
+
animation-duration: var(--fa-animation-duration, 3s);
|
|
446
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
447
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.fa-spin-snap-4 {
|
|
451
|
+
animation-name: fa-spin-snap-4;
|
|
452
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
453
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
454
|
+
animation-duration: var(--fa-animation-duration, 2.4s);
|
|
455
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
456
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.fa-spin-snap-8 {
|
|
460
|
+
animation-name: fa-spin-snap-8;
|
|
461
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
462
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
463
|
+
animation-duration: var(--fa-animation-duration, 4s);
|
|
464
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
465
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.fa-buzz {
|
|
469
|
+
animation-name: fa-buzz;
|
|
470
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
471
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
472
|
+
animation-duration: var(--fa-animation-duration, 0.6s);
|
|
473
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
474
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.fa-wag {
|
|
478
|
+
animation-name: fa-wag;
|
|
479
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
480
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
481
|
+
animation-duration: var(--fa-animation-duration, 0.9s);
|
|
482
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
483
|
+
animation-timing-function: var(--fa-animation-timing, ease-out);
|
|
484
|
+
transform-origin: bottom center;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.fa-float {
|
|
488
|
+
animation-name: fa-float;
|
|
489
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
490
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
491
|
+
animation-duration: var(--fa-animation-duration, 3s);
|
|
492
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
493
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
494
|
+
will-change: transform;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.fa-swing {
|
|
498
|
+
animation-name: fa-swing;
|
|
499
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
500
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
501
|
+
animation-duration: var(--fa-animation-duration, 1.2s);
|
|
502
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
503
|
+
animation-timing-function: var(--fa-animation-timing, ease-out);
|
|
504
|
+
transform-origin: top center;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.fa-jello {
|
|
508
|
+
animation-name: fa-jello;
|
|
509
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
510
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
511
|
+
animation-duration: var(--fa-animation-duration, 0.9s);
|
|
512
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
513
|
+
animation-timing-function: var(--fa-animation-timing, ease-out);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
@media (prefers-reduced-motion: reduce) {
|
|
517
|
+
.fa-beat,
|
|
518
|
+
.fa-bounce,
|
|
519
|
+
.fa-fade,
|
|
520
|
+
.fa-beat-fade,
|
|
521
|
+
.fa-flip,
|
|
522
|
+
.fa-flip-360,
|
|
523
|
+
.fa-pulse,
|
|
524
|
+
.fa-shake,
|
|
525
|
+
.fa-spin,
|
|
526
|
+
.fa-spin-pulse,
|
|
527
|
+
.fa-buzz,
|
|
528
|
+
.fa-float,
|
|
529
|
+
.fa-jello,
|
|
530
|
+
.fa-spin-snap,
|
|
531
|
+
.fa-spin-snap-4,
|
|
532
|
+
.fa-spin-snap-8,
|
|
533
|
+
.fa-swing,
|
|
534
|
+
.fa-wag {
|
|
535
|
+
animation: none !important;
|
|
536
|
+
transition: none !important;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
@keyframes fa-beat {
|
|
540
|
+
0% {
|
|
541
|
+
transform: scale(1);
|
|
542
|
+
}
|
|
543
|
+
25% {
|
|
544
|
+
transform: scale(calc(1.25 * var(--fa-beat-scale, 1.25)));
|
|
545
|
+
}
|
|
546
|
+
45% {
|
|
547
|
+
transform: scale(calc(1.22 * var(--fa-beat-scale, 1.22)));
|
|
548
|
+
}
|
|
549
|
+
65% {
|
|
550
|
+
transform: scale(calc(1.25 * var(--fa-beat-scale, 1.25)));
|
|
551
|
+
}
|
|
552
|
+
90% {
|
|
553
|
+
transform: scale(1);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
@keyframes fa-bounce {
|
|
557
|
+
0% {
|
|
558
|
+
transform: scale(1, 1) translateY(0);
|
|
559
|
+
animation-timing-function: var(--fa-animation-timing);
|
|
560
|
+
}
|
|
561
|
+
14% {
|
|
562
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.06), var(--fa-bounce-start-scale-y, 0.94)) translateY(var(--fa-bounce-anticipation, 3px));
|
|
563
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
|
564
|
+
}
|
|
565
|
+
32% {
|
|
566
|
+
transform: scale(var(--fa-bounce-jump-scale-x, 0.94), var(--fa-bounce-jump-scale-y, 1.12)) translateY(calc(-1 * var(--fa-bounce-height, 0.5em)));
|
|
567
|
+
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
|
568
|
+
}
|
|
569
|
+
52% {
|
|
570
|
+
transform: scale(1, 1) translateY(calc(-1 * var(--fa-bounce-height, 0.5em) * 1.1));
|
|
571
|
+
animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
|
|
572
|
+
}
|
|
573
|
+
70% {
|
|
574
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.06), var(--fa-bounce-land-scale-y, 0.92)) translateY(0);
|
|
575
|
+
animation-timing-function: cubic-bezier(0.33, 0.33, 0.66, 1);
|
|
576
|
+
}
|
|
577
|
+
85% {
|
|
578
|
+
transform: scale(0.98, 1.04) translateY(calc(-2px * var(--fa-bounce-rebound, 1)));
|
|
579
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
|
580
|
+
}
|
|
581
|
+
100% {
|
|
582
|
+
transform: scale(1, 1) translateY(0);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
@keyframes fa-fade {
|
|
586
|
+
0% {
|
|
587
|
+
opacity: 1;
|
|
588
|
+
transform: scale(1);
|
|
589
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
|
590
|
+
}
|
|
591
|
+
40% {
|
|
592
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
593
|
+
transform: scale(0.98);
|
|
594
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
595
|
+
}
|
|
596
|
+
100% {
|
|
597
|
+
opacity: 1;
|
|
598
|
+
transform: scale(1);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
@keyframes fa-beat-fade {
|
|
602
|
+
0% {
|
|
603
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
604
|
+
transform: scale(1);
|
|
605
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
|
606
|
+
}
|
|
607
|
+
25% {
|
|
608
|
+
opacity: calc(var(--fa-beat-fade-opacity, 0.4) + 0.4);
|
|
609
|
+
transform: scale(var(--fa-beat-fade-scale, 1.28));
|
|
610
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
611
|
+
}
|
|
612
|
+
45% {
|
|
613
|
+
opacity: 1;
|
|
614
|
+
transform: scale(var(--fa-beat-fade-scale, 1.25));
|
|
615
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
616
|
+
}
|
|
617
|
+
65% {
|
|
618
|
+
opacity: calc(var(--fa-beat-fade-opacity, 0.4) + 0.4);
|
|
619
|
+
transform: scale(var(--fa-beat-fade-scale, 1.28));
|
|
620
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
621
|
+
}
|
|
622
|
+
100% {
|
|
623
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
624
|
+
transform: scale(1);
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
@keyframes fa-flip {
|
|
628
|
+
0% {
|
|
629
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
|
630
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
|
631
|
+
}
|
|
632
|
+
8% {
|
|
633
|
+
transform: perspective(2em) scale(var(--fa-flip-anticipation-scale, 0.95)) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
|
634
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
|
635
|
+
}
|
|
636
|
+
35% {
|
|
637
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * 0.6));
|
|
638
|
+
animation-timing-function: linear;
|
|
639
|
+
}
|
|
640
|
+
65% {
|
|
641
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * 0.5));
|
|
642
|
+
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
|
643
|
+
}
|
|
644
|
+
92% {
|
|
645
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * var(--fa-flip-overshoot, 1.04)));
|
|
646
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
|
647
|
+
}
|
|
648
|
+
100% {
|
|
649
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -360deg));
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
@keyframes fa-flip-360 {
|
|
653
|
+
0% {
|
|
654
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
|
655
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
|
656
|
+
}
|
|
657
|
+
8% {
|
|
658
|
+
transform: perspective(2em) scale(var(--fa-flip-anticipation-scale, 0.95)) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
|
659
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
|
660
|
+
}
|
|
661
|
+
50% {
|
|
662
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * 0.6));
|
|
663
|
+
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
|
664
|
+
}
|
|
665
|
+
80% {
|
|
666
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * var(--fa-flip-overshoot, 1.04)));
|
|
667
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
|
668
|
+
}
|
|
669
|
+
100% {
|
|
670
|
+
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -360deg));
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
@keyframes fa-shake {
|
|
674
|
+
0% {
|
|
675
|
+
transform: rotate(0deg);
|
|
676
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
|
|
677
|
+
}
|
|
678
|
+
8% {
|
|
679
|
+
transform: rotate(35deg) translateX(1px);
|
|
680
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
|
681
|
+
}
|
|
682
|
+
20% {
|
|
683
|
+
transform: rotate(-22deg) translateX(-1px);
|
|
684
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
|
685
|
+
}
|
|
686
|
+
35% {
|
|
687
|
+
transform: rotate(15deg) translateX(1px);
|
|
688
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
|
689
|
+
}
|
|
690
|
+
50% {
|
|
691
|
+
transform: rotate(-9deg);
|
|
692
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
693
|
+
}
|
|
694
|
+
65% {
|
|
695
|
+
transform: rotate(5deg);
|
|
696
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
697
|
+
}
|
|
698
|
+
78% {
|
|
699
|
+
transform: rotate(-3deg);
|
|
700
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
701
|
+
}
|
|
702
|
+
90% {
|
|
703
|
+
transform: rotate(1deg);
|
|
704
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
705
|
+
}
|
|
706
|
+
100% {
|
|
707
|
+
transform: rotate(0deg);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
@keyframes fa-spin {
|
|
711
|
+
0% {
|
|
712
|
+
transform: rotate(0deg);
|
|
713
|
+
}
|
|
714
|
+
100% {
|
|
715
|
+
transform: rotate(360deg);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
@keyframes fa-spin-snap {
|
|
719
|
+
0% {
|
|
720
|
+
transform: rotate(0deg);
|
|
721
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
722
|
+
}
|
|
723
|
+
12% {
|
|
724
|
+
transform: rotate(60deg);
|
|
725
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
726
|
+
}
|
|
727
|
+
16.67% {
|
|
728
|
+
transform: rotate(60deg);
|
|
729
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
730
|
+
}
|
|
731
|
+
28.67% {
|
|
732
|
+
transform: rotate(120deg);
|
|
733
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
734
|
+
}
|
|
735
|
+
33.33% {
|
|
736
|
+
transform: rotate(120deg);
|
|
737
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
738
|
+
}
|
|
739
|
+
45.33% {
|
|
740
|
+
transform: rotate(180deg);
|
|
741
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
742
|
+
}
|
|
743
|
+
50% {
|
|
744
|
+
transform: rotate(180deg);
|
|
745
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
746
|
+
}
|
|
747
|
+
62% {
|
|
748
|
+
transform: rotate(240deg);
|
|
749
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
750
|
+
}
|
|
751
|
+
66.67% {
|
|
752
|
+
transform: rotate(240deg);
|
|
753
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
754
|
+
}
|
|
755
|
+
78.67% {
|
|
756
|
+
transform: rotate(300deg);
|
|
757
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
758
|
+
}
|
|
759
|
+
83.33% {
|
|
760
|
+
transform: rotate(300deg);
|
|
761
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
762
|
+
}
|
|
763
|
+
95.33% {
|
|
764
|
+
transform: rotate(360deg);
|
|
765
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
766
|
+
}
|
|
767
|
+
100% {
|
|
768
|
+
transform: rotate(360deg);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
@keyframes fa-spin-snap-4 {
|
|
772
|
+
0% {
|
|
773
|
+
transform: rotate(0deg);
|
|
774
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
775
|
+
}
|
|
776
|
+
15% {
|
|
777
|
+
transform: rotate(90deg);
|
|
778
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
779
|
+
}
|
|
780
|
+
25% {
|
|
781
|
+
transform: rotate(90deg);
|
|
782
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
783
|
+
}
|
|
784
|
+
40% {
|
|
785
|
+
transform: rotate(180deg);
|
|
786
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
787
|
+
}
|
|
788
|
+
50% {
|
|
789
|
+
transform: rotate(180deg);
|
|
790
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
791
|
+
}
|
|
792
|
+
65% {
|
|
793
|
+
transform: rotate(270deg);
|
|
794
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
795
|
+
}
|
|
796
|
+
75% {
|
|
797
|
+
transform: rotate(270deg);
|
|
798
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
799
|
+
}
|
|
800
|
+
90% {
|
|
801
|
+
transform: rotate(360deg);
|
|
802
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
803
|
+
}
|
|
804
|
+
100% {
|
|
805
|
+
transform: rotate(360deg);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
@keyframes fa-spin-snap-8 {
|
|
809
|
+
0% {
|
|
810
|
+
transform: rotate(0deg);
|
|
811
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
812
|
+
}
|
|
813
|
+
9% {
|
|
814
|
+
transform: rotate(45deg);
|
|
815
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
816
|
+
}
|
|
817
|
+
12.5% {
|
|
818
|
+
transform: rotate(45deg);
|
|
819
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
820
|
+
}
|
|
821
|
+
21.5% {
|
|
822
|
+
transform: rotate(90deg);
|
|
823
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
824
|
+
}
|
|
825
|
+
25% {
|
|
826
|
+
transform: rotate(90deg);
|
|
827
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
828
|
+
}
|
|
829
|
+
34% {
|
|
830
|
+
transform: rotate(135deg);
|
|
831
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
832
|
+
}
|
|
833
|
+
37.5% {
|
|
834
|
+
transform: rotate(135deg);
|
|
835
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
836
|
+
}
|
|
837
|
+
46.5% {
|
|
838
|
+
transform: rotate(180deg);
|
|
839
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
840
|
+
}
|
|
841
|
+
50% {
|
|
842
|
+
transform: rotate(180deg);
|
|
843
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
844
|
+
}
|
|
845
|
+
59% {
|
|
846
|
+
transform: rotate(225deg);
|
|
847
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
848
|
+
}
|
|
849
|
+
62.5% {
|
|
850
|
+
transform: rotate(225deg);
|
|
851
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
852
|
+
}
|
|
853
|
+
71.5% {
|
|
854
|
+
transform: rotate(270deg);
|
|
855
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
856
|
+
}
|
|
857
|
+
75% {
|
|
858
|
+
transform: rotate(270deg);
|
|
859
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
860
|
+
}
|
|
861
|
+
84% {
|
|
862
|
+
transform: rotate(315deg);
|
|
863
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
864
|
+
}
|
|
865
|
+
87.5% {
|
|
866
|
+
transform: rotate(315deg);
|
|
867
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
868
|
+
}
|
|
869
|
+
96.5% {
|
|
870
|
+
transform: rotate(360deg);
|
|
871
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
872
|
+
}
|
|
873
|
+
100% {
|
|
874
|
+
transform: rotate(360deg);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
@keyframes fa-buzz {
|
|
878
|
+
0% {
|
|
879
|
+
transform: translateX(0) rotate(0deg);
|
|
880
|
+
animation-timing-function: cubic-bezier(0.1, 0, 0.9, 1);
|
|
881
|
+
}
|
|
882
|
+
5% {
|
|
883
|
+
transform: translateX(var(--fa-buzz-distance, 4px)) rotate(0.5deg);
|
|
884
|
+
}
|
|
885
|
+
10% {
|
|
886
|
+
transform: translateX(calc(-1 * var(--fa-buzz-distance, 4px))) rotate(-0.5deg);
|
|
887
|
+
}
|
|
888
|
+
15% {
|
|
889
|
+
transform: translateX(var(--fa-buzz-distance, 4px)) rotate(0.3deg);
|
|
890
|
+
}
|
|
891
|
+
20% {
|
|
892
|
+
transform: translateX(calc(-1 * var(--fa-buzz-distance, 4px))) rotate(-0.3deg);
|
|
893
|
+
}
|
|
894
|
+
25% {
|
|
895
|
+
transform: translateX(calc(var(--fa-buzz-distance, 4px) * 0.7)) rotate(0.2deg);
|
|
896
|
+
}
|
|
897
|
+
30% {
|
|
898
|
+
transform: translateX(calc(-1 * var(--fa-buzz-distance, 4px) * 0.7)) rotate(-0.2deg);
|
|
899
|
+
}
|
|
900
|
+
35% {
|
|
901
|
+
transform: translateX(calc(var(--fa-buzz-distance, 4px) * 0.4)) rotate(0.1deg);
|
|
902
|
+
}
|
|
903
|
+
40% {
|
|
904
|
+
transform: translateX(0) rotate(0deg);
|
|
905
|
+
}
|
|
906
|
+
100% {
|
|
907
|
+
transform: translateX(0) rotate(0deg);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
@keyframes fa-wag {
|
|
911
|
+
0% {
|
|
912
|
+
transform: rotate(0deg);
|
|
913
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
|
|
914
|
+
}
|
|
915
|
+
12% {
|
|
916
|
+
transform: rotate(var(--fa-wag-angle, 12deg));
|
|
917
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
918
|
+
}
|
|
919
|
+
24% {
|
|
920
|
+
transform: rotate(2deg);
|
|
921
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
|
|
922
|
+
}
|
|
923
|
+
36% {
|
|
924
|
+
transform: rotate(calc(var(--fa-wag-angle, 12deg) * 0.85));
|
|
925
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
926
|
+
}
|
|
927
|
+
48% {
|
|
928
|
+
transform: rotate(1deg);
|
|
929
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
|
|
930
|
+
}
|
|
931
|
+
58% {
|
|
932
|
+
transform: rotate(calc(var(--fa-wag-angle, 12deg) * 0.6));
|
|
933
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
934
|
+
}
|
|
935
|
+
68% {
|
|
936
|
+
transform: rotate(0deg);
|
|
937
|
+
}
|
|
938
|
+
100% {
|
|
939
|
+
transform: rotate(0deg);
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
@keyframes fa-float {
|
|
943
|
+
0% {
|
|
944
|
+
transform: translateY(0) translateX(0) rotate(0deg) scale(var(--fa-float-squash-x, 1.02), var(--fa-float-squash-y, 0.98));
|
|
945
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
|
946
|
+
}
|
|
947
|
+
15% {
|
|
948
|
+
transform: translateY(calc(-0.4 * var(--fa-float-height, 6px))) translateX(var(--fa-float-drift, 1px)) rotate(var(--fa-float-tilt, 1deg)) scale(1, 1);
|
|
949
|
+
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
|
950
|
+
}
|
|
951
|
+
35% {
|
|
952
|
+
transform: translateY(calc(-1 * var(--fa-float-height, 6px))) translateX(0) rotate(0deg) scale(var(--fa-float-stretch-x, 0.98), var(--fa-float-stretch-y, 1.03));
|
|
953
|
+
animation-timing-function: cubic-bezier(0.5, 0, 0.5, 0);
|
|
954
|
+
}
|
|
955
|
+
50% {
|
|
956
|
+
transform: translateY(calc(-0.92 * var(--fa-float-height, 6px))) translateX(calc(-0.5 * var(--fa-float-drift, 1px))) rotate(calc(-0.5 * var(--fa-float-tilt, 1deg))) scale(0.995, 1.01);
|
|
957
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
|
958
|
+
}
|
|
959
|
+
70% {
|
|
960
|
+
transform: translateY(calc(-0.3 * var(--fa-float-height, 6px))) translateX(calc(-1 * var(--fa-float-drift, 1px))) rotate(calc(-1 * var(--fa-float-tilt, 1deg))) scale(1, 1);
|
|
961
|
+
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
|
962
|
+
}
|
|
963
|
+
90% {
|
|
964
|
+
transform: translateY(calc(0.05 * var(--fa-float-height, 6px))) translateX(0) rotate(0deg) scale(var(--fa-float-squash-x, 1.02), var(--fa-float-squash-y, 0.98));
|
|
965
|
+
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
|
966
|
+
}
|
|
967
|
+
100% {
|
|
968
|
+
transform: translateY(0) translateX(0) rotate(0deg) scale(var(--fa-float-squash-x, 1.02), var(--fa-float-squash-y, 0.98));
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
@keyframes fa-swing {
|
|
972
|
+
0% {
|
|
973
|
+
transform: rotate(0deg);
|
|
974
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
|
|
975
|
+
}
|
|
976
|
+
8% {
|
|
977
|
+
transform: rotate(var(--fa-swing-angle, 22deg));
|
|
978
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
|
979
|
+
}
|
|
980
|
+
18% {
|
|
981
|
+
transform: rotate(calc(-1 * var(--fa-swing-angle, 22deg) * 0.85));
|
|
982
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
|
983
|
+
}
|
|
984
|
+
28% {
|
|
985
|
+
transform: rotate(calc(var(--fa-swing-angle, 22deg) * 0.65));
|
|
986
|
+
animation-timing-function: cubic-bezier(0.35, 0, 0.65, 1);
|
|
987
|
+
}
|
|
988
|
+
38% {
|
|
989
|
+
transform: rotate(calc(-1 * var(--fa-swing-angle, 22deg) * 0.45));
|
|
990
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
991
|
+
}
|
|
992
|
+
48% {
|
|
993
|
+
transform: rotate(calc(var(--fa-swing-angle, 22deg) * 0.25));
|
|
994
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
995
|
+
}
|
|
996
|
+
56% {
|
|
997
|
+
transform: rotate(calc(-1 * var(--fa-swing-angle, 22deg) * 0.1));
|
|
998
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
999
|
+
}
|
|
1000
|
+
64% {
|
|
1001
|
+
transform: rotate(0deg);
|
|
1002
|
+
}
|
|
1003
|
+
100% {
|
|
1004
|
+
transform: rotate(0deg);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
@keyframes fa-jello {
|
|
1008
|
+
0% {
|
|
1009
|
+
transform: scale(1, 1);
|
|
1010
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
|
|
1011
|
+
}
|
|
1012
|
+
12% {
|
|
1013
|
+
transform: scale(var(--fa-jello-scale-x, 1.15), calc(2 - var(--fa-jello-scale-x, 1.15)));
|
|
1014
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
|
1015
|
+
}
|
|
1016
|
+
24% {
|
|
1017
|
+
transform: scale(calc(2 - var(--fa-jello-scale-y, 1.12)), var(--fa-jello-scale-y, 1.12));
|
|
1018
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
|
1019
|
+
}
|
|
1020
|
+
36% {
|
|
1021
|
+
transform: scale(calc(1 + (var(--fa-jello-scale-x, 1.15) - 1) * 0.5), calc(2 - (1 + (var(--fa-jello-scale-x, 1.15) - 1) * 0.5)));
|
|
1022
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
1023
|
+
}
|
|
1024
|
+
48% {
|
|
1025
|
+
transform: scale(calc(2 - (1 + (var(--fa-jello-scale-y, 1.12) - 1) * 0.3)), calc(1 + (var(--fa-jello-scale-y, 1.12) - 1) * 0.3));
|
|
1026
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
1027
|
+
}
|
|
1028
|
+
58% {
|
|
1029
|
+
transform: scale(1.02, 0.98);
|
|
1030
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1031
|
+
}
|
|
1032
|
+
68% {
|
|
1033
|
+
transform: scale(1, 1);
|
|
1034
|
+
}
|
|
1035
|
+
100% {
|
|
1036
|
+
transform: scale(1, 1);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
.fa-rotate-90 {
|
|
1040
|
+
transform: rotate(90deg);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.fa-rotate-180 {
|
|
1044
|
+
transform: rotate(180deg);
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.fa-rotate-270 {
|
|
1048
|
+
transform: rotate(270deg);
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
.fa-flip-horizontal {
|
|
1052
|
+
transform: scale(-1, 1);
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
.fa-flip-vertical {
|
|
1056
|
+
transform: scale(1, -1);
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.fa-flip-both,
|
|
1060
|
+
.fa-flip-horizontal.fa-flip-vertical {
|
|
1061
|
+
transform: scale(-1, -1);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.fa-rotate-by {
|
|
1065
|
+
transform: rotate(var(--fa-rotate-angle, 0));
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.svg-inline--fa .fa-primary {
|
|
1069
|
+
fill: var(--fa-primary-color, currentColor);
|
|
1070
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
.svg-inline--fa .fa-secondary {
|
|
1074
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
1075
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
1079
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
1083
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.svg-inline--fa mask .fa-primary,
|
|
1087
|
+
.svg-inline--fa mask .fa-secondary {
|
|
1088
|
+
fill: black;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.svg-inline--fa.fa-inverse {
|
|
1092
|
+
fill: var(--fa-inverse, #fff);
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.fa-stack {
|
|
1096
|
+
display: inline-block;
|
|
1097
|
+
height: 2em;
|
|
1098
|
+
line-height: 2em;
|
|
1099
|
+
position: relative;
|
|
1100
|
+
vertical-align: middle;
|
|
1101
|
+
width: 2.5em;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.fa-inverse {
|
|
1105
|
+
color: var(--fa-inverse, #fff);
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.svg-inline--fa.fa-stack-1x {
|
|
1109
|
+
--fa-width: 1.25em;
|
|
1110
|
+
height: 1em;
|
|
1111
|
+
width: var(--fa-width);
|
|
1112
|
+
}
|
|
1113
|
+
.svg-inline--fa.fa-stack-2x {
|
|
1114
|
+
--fa-width: 2.5em;
|
|
1115
|
+
height: 2em;
|
|
1116
|
+
width: var(--fa-width);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.fa-stack-1x,
|
|
1120
|
+
.fa-stack-2x {
|
|
1121
|
+
inset: 0;
|
|
1122
|
+
margin: auto;
|
|
1123
|
+
position: absolute;
|
|
1124
|
+
z-index: var(--fa-stack-z-index, auto);
|
|
1125
|
+
}`;function xC(){var e=DS,t=OS,n=iC.cssPrefix,r=iC.replacementClass,i=bC;if(n!==e||r!==t){var a=RegExp(`\\.${e}\\-`,`g`),o=RegExp(`\\--${e}\\-`,`g`),s=RegExp(`\\.${t}`,`g`);i=i.replace(a,`.${n}-`).replace(o,`--${n}-`).replace(s,`.${r}`)}return i}var SC=!1;function CC(){iC.autoAddCss&&!SC&&(lC(xC()),SC=!0)}var wC={mixout:function(){return{dom:{css:xC,insertCss:CC}}},hooks:function(){return{beforeDOMElementCreation:function(){CC()},beforeI2svg:function(){CC()}}}},TC=Yb||{};TC[TS]||(TC[TS]={}),TC[TS].styles||(TC[TS].styles={}),TC[TS].hooks||(TC[TS].hooks={}),TC[TS].shims||(TC[TS].shims=[]);var EC=TC[TS],DC=[],OC=function(){Xb.removeEventListener(`DOMContentLoaded`,OC),kC=1,DC.map(function(e){return e()})},kC=!1;$b&&(kC=(Xb.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Xb.readyState),kC||Xb.addEventListener(`DOMContentLoaded`,OC));function AC(e){$b&&(kC?setTimeout(e,0):DC.push(e))}function jC(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e==`string`?mC(e):`<${t} ${hC(r)}>${a.map(jC).join(``)}</${t}>`}function MC(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var NC=function(e,t){return function(n,r,i,a){return e.call(t,n,r,i,a)}},PC=function(e,t,n,r){var i=Object.keys(e),a=i.length,o=r===void 0?t:NC(t,r),s,c,l;for(n===void 0?(s=1,l=e[i[0]]):(s=0,l=n);s<a;s++)c=i[s],l=o(l,e[c],c,e);return l};function FC(e){return Lb(e).length===1?e.codePointAt(0).toString(16):null}function IC(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function LC(e,t){var n=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).skipHooks,r=n!==void 0&&n,i=IC(t);typeof EC.hooks.addPack==`function`&&!r?EC.hooks.addPack(e,IC(t)):EC.styles[e]=Fb(Fb({},EC.styles[e]||{}),i),e===`fas`&&LC(`fa`,t)}var RC=EC.styles,zC=EC.shims,BC=Object.keys(GS),VC=BC.reduce(function(e,t){return e[t]=Object.keys(GS[t]),e},{}),HC=null,UC={},WC={},GC={},KC={},qC={};function JC(e){return~QS.indexOf(e)}function YC(e,t){var n=t.split(`-`),r=n[0],i=n.slice(1).join(`-`);return r===e&&i!==``&&!JC(i)?i:null}var XC=function(){var e=function(e){return PC(RC,function(t,n,r){return t[r]=PC(n,e,{}),t},{})};UC=e(function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter(function(e){return typeof e==`number`}).forEach(function(t){e[t.toString(16)]=n}),e}),WC=e(function(e,t,n){return e[n]=n,t[2]&&t[2].filter(function(e){return typeof e==`string`}).forEach(function(t){e[t]=n}),e}),qC=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t=`far`in RC||iC.autoFetchSvg,n=PC(zC,function(e,n){var r=n[0],i=n[1],a=n[2];return i===`far`&&!t&&(i=`fas`),typeof r==`string`&&(e.names[r]={prefix:i,iconName:a}),typeof r==`number`&&(e.unicodes[r.toString(16)]={prefix:i,iconName:a}),e},{names:{},unicodes:{}});GC=n.names,KC=n.unicodes,HC=aw(iC.styleDefault,{family:iC.familyDefault})};oC(function(e){HC=aw(e.styleDefault,{family:iC.familyDefault})}),XC();function ZC(e,t){return(UC[e]||{})[t]}function QC(e,t){return(WC[e]||{})[t]}function $C(e,t){return(qC[e]||{})[t]}function ew(e){return GC[e]||{prefix:null,iconName:null}}function tw(e){var t=KC[e],n=ZC(`fas`,e);return t||(n?{prefix:`fas`,iconName:n}:null)||{prefix:null,iconName:null}}function nw(){return HC}var rw=function(){return{prefix:null,iconName:null,rest:[]}};function iw(e){var t=sx,n=BC.reduce(function(e,t){return e[t]=`${iC.cssPrefix}-${t}`,e},{});return tS.forEach(function(r){(e.includes(n[r])||e.some(function(e){return VC[r].includes(e)}))&&(t=r)}),t}function aw(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).family,n=t===void 0?sx:t,r=VS[n][e];if(n===cx&&!e)return`fad`;var i=US[n][e]||US[n][r],a=e in EC.styles?e:null;return i||a||null}function ow(e){var t=[],n=null;return e.forEach(function(e){var r=YC(iC.cssPrefix,e);r?n=r:e&&t.push(e)}),{iconName:n,rest:t}}function sw(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}var cw=yS.concat(oS);function lw(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).skipLookups,n=t!==void 0&&t,r=null,i=sw(e.filter(function(e){return cw.includes(e)})),a=sw(e.filter(function(e){return!cw.includes(e)})),o=Ib(i.filter(function(e){return r=e,!ox.includes(e)}),1)[0],s=o===void 0?null:o,c=iw(i),l=Fb(Fb({},ow(a)),{},{prefix:aw(s,{family:c})});return Fb(Fb(Fb({},l),pw({values:e,family:c,styles:RC,config:iC,canonical:l,givenPrefix:r})),uw(n,r,l))}function uw(e,t,n){var r=n.prefix,i=n.iconName;if(e||!r||!i)return{prefix:r,iconName:i};var a=t===`fa`?ew(i):{},o=$C(r,i);return i=a.iconName||o||i,r=a.prefix||r,r===`far`&&!RC.far&&RC.fas&&!iC.autoFetchSvg&&(r=`fas`),{prefix:r,iconName:i}}var dw=tS.filter(function(e){return e!==sx||e!==cx}),fw=Object.keys(vS).filter(function(e){return e!==sx}).map(function(e){return Object.keys(vS[e])}).flat();function pw(e){var t=e.values,n=e.family,r=e.canonical,i=e.givenPrefix,a=i===void 0?``:i,o=e.styles,s=o===void 0?{}:o,c=e.config,l=c===void 0?{}:c,u=n===cx,d=t.includes(`fa-duotone`)||t.includes(`fad`),f=l.familyDefault===`duotone`,p=r.prefix===`fad`||r.prefix===`fa-duotone`;return!u&&(d||f||p)&&(r.prefix=`fad`),(t.includes(`fa-brands`)||t.includes(`fab`))&&(r.prefix=`fab`),!r.prefix&&dw.includes(n)&&(Object.keys(s).find(function(e){return fw.includes(e)})||l.autoFetchSvg)&&(r.prefix=iS.get(n).defaultShortPrefixId,r.iconName=$C(r.prefix,r.iconName)||r.iconName),(r.prefix===`fa`||a===`fa`)&&(r.prefix=nw()||`fas`),r}var mw=function(){function e(){Tb(this,e),this.definitions={}}return Db(e,[{key:`add`,value:function(){var e=this,t=[...arguments].reduce(this._pullDefinitions,{});Object.keys(t).forEach(function(n){e.definitions[n]=Fb(Fb({},e.definitions[n]||{}),t[n]),LC(n,t[n]);var r=GS[sx][n];r&&LC(r,t[n]),XC()})}},{key:`reset`,value:function(){this.definitions={}}},{key:`_pullDefinitions`,value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],i=r.prefix,a=r.iconName,o=r.icon,s=o[2];e[i]||(e[i]={}),s.length>0&&s.forEach(function(t){typeof t==`string`&&(e[i][t]=o)}),e[i][a]=o}),e}}])}(),hw=[],gw={},_w={},vw=Object.keys(_w);function yw(e,t){var n=t.mixoutsTo;return hw=e,gw={},Object.keys(_w).forEach(function(e){vw.indexOf(e)===-1&&delete _w[e]}),hw.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){typeof t[e]==`function`&&(n[e]=t[e]),Bb(t[e])===`object`&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){gw[e]||(gw[e]=[]),gw[e].push(r[e])})}e.provides&&e.provides(_w)}),n}function bw(e,t){var n=[...arguments].slice(2);return(gw[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function xw(e){var t=[...arguments].slice(1);(gw[e]||[]).forEach(function(e){e.apply(null,t)})}function Sw(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _w[e]?_w[e].apply(null,t):void 0}function Cw(e){e.prefix===`fa`&&(e.prefix=`fas`);var t=e.iconName,n=e.prefix||nw();if(t)return t=$C(n,t)||t,MC(ww.definitions,n,t)||MC(EC.styles,n,t)}var ww=new mw,Tw={noAuto:function(){iC.autoReplaceSvg=!1,iC.observeMutations=!1,xw(`noAuto`)},config:iC,dom:{i2svg:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return $b?(xw(`beforeI2svg`,e),Sw(`pseudoElements2svg`,e),Sw(`i2svg`,e)):Promise.reject(Error(`Operation requires a DOM of some kind.`))},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.autoReplaceSvgRoot;iC.autoReplaceSvg===!1&&(iC.autoReplaceSvg=!0),iC.observeMutations=!0,AC(function(){Ew({autoReplaceSvgRoot:t}),xw(`watch`,e)})}},parse:{icon:function(e){if(e===null)return null;if(Bb(e)===`object`&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:$C(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var t=e[1].indexOf(`fa-`)===0?e[1].slice(3):e[1],n=aw(e[0]);return{prefix:n,iconName:$C(n,t)||t}}if(typeof e==`string`&&(e.indexOf(`${iC.cssPrefix}-`)>-1||e.match(qS))){var r=lw(e.split(` `),{skipLookups:!0});return{prefix:r.prefix||nw(),iconName:$C(r.prefix,r.iconName)||r.iconName}}if(typeof e==`string`){var i=nw();return{prefix:i,iconName:$C(i,e)||e}}}},library:ww,findIconDefinition:Cw,toHtml:jC},Ew=function(){var e=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).autoReplaceSvgRoot,t=e===void 0?Xb:e;(Object.keys(EC.styles).length>0||iC.autoFetchSvg)&&$b&&iC.autoReplaceSvg&&Tw.dom.i2svg({node:t})};function Dw(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return jC(e)})}}),Object.defineProperty(e,"node",{get:function(){if($b){var t=Xb.createElement(`div`);return t.innerHTML=e.html,t.children}}}),e}function Ow(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(_C(o)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=gC(Fb(Fb({},a),{},{"transform-origin":`${s.x+o.x/16}em ${s.y+o.y/16}em`}))}return[{tag:`svg`,attributes:i,children:t}]}function kw(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?`${t}-${iC.cssPrefix}-${n}`:a;return[{tag:`svg`,attributes:{style:`display: none;`},children:[{tag:`symbol`,attributes:Fb(Fb({},i),{},{id:o}),children:r}]}]}function Aw(e){return[`aria-label`,`aria-labelledby`,`title`,`role`].some(function(t){return t in e})}function jw(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,s=e.symbol,c=e.maskId,l=e.extra,u=e.watchable,d=u!==void 0&&u,f=r.found?r:n,p=f.width,m=f.height,h=[iC.replacementClass,a?`${iC.cssPrefix}-${a}`:``].filter(function(e){return l.classes.indexOf(e)===-1}).filter(function(e){return e!==``||!!e}).concat(l.classes).join(` `),g={children:[],attributes:Fb(Fb({},l.attributes),{},{"data-prefix":i,"data-icon":a,class:h,role:l.attributes.role||`img`,viewBox:`0 0 ${p} ${m}`})};!Aw(l.attributes)&&!l.attributes[`aria-hidden`]&&(g.attributes[`aria-hidden`]=`true`),d&&(g.attributes[kS]=``);var _=Fb(Fb({},g),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:s,styles:Fb({},l.styles)}),v=r.found&&n.found?Sw(`generateAbstractMask`,_)||{children:[],attributes:{}}:Sw(`generateAbstractIcon`,_)||{children:[],attributes:{}},y=v.children,b=v.attributes;return _.children=y,_.attributes=b,s?kw(_):Ow(_)}function Mw(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.extra,o=e.watchable,s=o!==void 0&&o,c=Fb(Fb({},a.attributes),{},{class:a.classes.join(` `)});s&&(c[kS]=``);var l=Fb({},a.styles);_C(i)&&(l.transform=yC({transform:i,startCentered:!0,width:n,height:r}),l[`-webkit-transform`]=l.transform);var u=gC(l);u.length>0&&(c.style=u);var d=[];return d.push({tag:`span`,attributes:c,children:[t]}),d}function Nw(e){var t=e.content,n=e.extra,r=Fb(Fb({},n.attributes),{},{class:n.classes.join(` `)}),i=gC(n.styles);i.length>0&&(r.style=i);var a=[];return a.push({tag:`span`,attributes:r,children:[t]}),a}var Pw=EC.styles;function Fw(e){var t=e[0],n=e[1],r=Ib(e.slice(4),1)[0],i=null;return i=Array.isArray(r)?{tag:`g`,attributes:{class:`${iC.cssPrefix}-${ZS.GROUP}`},children:[{tag:`path`,attributes:{class:`${iC.cssPrefix}-${ZS.SECONDARY}`,fill:`currentColor`,d:r[0]}},{tag:`path`,attributes:{class:`${iC.cssPrefix}-${ZS.PRIMARY}`,fill:`currentColor`,d:r[1]}}]}:{tag:`path`,attributes:{fill:`currentColor`,d:r}},{found:!0,width:t,height:n,icon:i}}var Iw={found:!1,width:512,height:512};function Lw(e,t){!RS&&!iC.showMissingIcons&&e&&console.error(`Icon with name "${e}" and prefix "${t}" is missing.`)}function Rw(e,t){var n=t;return t===`fa`&&iC.styleDefault!==null&&(t=nw()),new Promise(function(r,i){if(n===`fa`){var a=ew(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Pw[t]&&Pw[t][e]){var o=Pw[t][e];return r(Fw(o))}Lw(e,t),r(Fb(Fb({},Iw),{},{icon:iC.showMissingIcons&&e&&Sw(`missingIconAbstract`)||{}}))})}var zw=function(){},Bw=iC.measurePerformance&&Qb&&Qb.mark&&Qb.measure?Qb:{mark:zw,measure:zw},Vw=`FA "7.3.1"`,Hw=function(e){return Bw.mark(`${Vw} ${e} begins`),function(){return Uw(e)}},Uw=function(e){Bw.mark(`${Vw} ${e} ends`),Bw.measure(`${Vw} ${e}`,`${Vw} ${e} begins`,`${Vw} ${e} ends`)},Ww={begin:Hw,end:Uw},Gw=function(){};function Kw(e){return typeof(e.getAttribute?e.getAttribute(kS):null)==`string`}function qw(e){var t=e.getAttribute?e.getAttribute(MS):null,n=e.getAttribute?e.getAttribute(NS):null;return t&&n}function Jw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(iC.replacementClass)}function Yw(){return iC.autoReplaceSvg===!0?eT.replace:eT[iC.autoReplaceSvg]||eT.replace}function Xw(e){return Xb.createElementNS(`http://www.w3.org/2000/svg`,e)}function Zw(e){return Xb.createElement(e)}function Qw(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).ceFn,n=t===void 0?e.tag===`svg`?Xw:Zw:t;if(typeof e==`string`)return Xb.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){r.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){r.appendChild(Qw(e,{ceFn:n}))}),r}function $w(e){var t=` ${e.outerHTML} `;return t=`${t}Font Awesome fontawesome.com `,t}var eT={replace:function(e){var t=e[0];if(t.parentNode){if(e[1].forEach(function(e){t.parentNode.insertBefore(Qw(e),t)}),t.getAttribute(kS)===null&&iC.keepOriginalSource){var n=Xb.createComment($w(t));t.parentNode.replaceChild(n,t)}else t.remove()}},nest:function(e){var t=e[0],n=e[1];if(~pC(t).indexOf(iC.replacementClass))return eT.replace(e);var r=RegExp(`${iC.cssPrefix}-.*`);if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(` `).reduce(function(e,t){return t===iC.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(` `),i.toNode.length===0?t.removeAttribute(`class`):t.setAttribute(`class`,i.toNode.join(` `))}var a=n.map(function(e){return jC(e)}).join(`
|
|
1126
|
+
`);t.setAttribute(kS,``),t.innerHTML=a}};function tT(e){e()}function nT(e,t){var n=typeof t==`function`?t:Gw;if(e.length===0)n();else{var r=tT;iC.mutateApproach===FS&&(r=Yb.requestAnimationFrame||tT),r(function(){var t=Yw(),r=Ww.begin(`mutate`);e.map(t),r(),n()})}}var rT=!1;function iT(){rT=!0}function aT(){rT=!1}var oT=null;function sT(e){if(Zb&&iC.observeMutations){var t=e.treeCallback,n=t===void 0?Gw:t,r=e.nodeCallback,i=r===void 0?Gw:r,a=e.pseudoElementsCallback,o=a===void 0?Gw:a,s=e.observeMutationsRoot,c=s===void 0?Xb:s;oT=new Zb(function(e){if(!rT){var t=nw();fC(e).forEach(function(e){if(e.type===`childList`&&e.addedNodes.length>0&&!Kw(e.addedNodes[0])&&(iC.searchPseudoElements&&o(e.target),n(e.target)),e.type===`attributes`&&e.target.parentNode&&iC.searchPseudoElements&&o([e.target],!0),e.type===`attributes`&&Kw(e.target)&&~XS.indexOf(e.attributeName)){if(e.attributeName===`class`&&qw(e.target)){var r=lw(pC(e.target)),a=r.prefix,s=r.iconName;e.target.setAttribute(MS,a||t),s&&e.target.setAttribute(NS,s)}else Jw(e.target)&&i(e.target)}})}}),$b&&oT.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function cT(){oT&&oT.disconnect()}function lT(e){var t=e.getAttribute(`style`),n=[];return t&&(n=t.split(`;`).reduce(function(e,t){var n=t.split(`:`),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(`:`).trim()),e},{})),n}function uT(e){var t=e.getAttribute(`data-prefix`),n=e.getAttribute(`data-icon`),r=e.innerText===void 0?``:e.innerText.trim(),i=lw(pC(e));return i.prefix||=nw(),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=QC(i.prefix,e.innerText)||ZC(i.prefix,FC(e.innerText))),!i.iconName&&iC.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function dT(e){return fC(e.attributes).reduce(function(e,t){return e.name!==`class`&&e.name!==`style`&&(e[t.name]=t.value),e},{})}function fT(){return{iconName:null,prefix:null,transform:cC,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function pT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=uT(e),r=n.iconName,i=n.prefix,a=n.rest,o=dT(e),s=bw(`parseNodeAttributes`,{},e);return Fb({iconName:r,prefix:i,transform:cC,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:t.styleParser?lT(e):[],attributes:o}},s)}var mT=EC.styles;function hT(e){var t=iC.autoReplaceSvg===`nest`?pT(e,{styleParser:!1}):pT(e);return~t.extra.classes.indexOf(JS)?Sw(`generateLayersText`,e,t):Sw(`generateSvgReplacementMutation`,e,t)}function gT(){return[].concat(Lb(oS),Lb(yS))}function _T(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!$b)return Promise.resolve();var n=Xb.documentElement.classList,r=function(e){return n.add(`${PS}-${e}`)},i=function(e){return n.remove(`${PS}-${e}`)},a=iC.autoFetchSvg?gT():ox.concat(Object.keys(mT));a.includes(`fa`)||a.push(`fa`);var o=[`.${JS}:not([${kS}])`].concat(a.map(function(e){return`.${e}:not([${kS}])`})).join(`, `);if(o.length===0)return Promise.resolve();var s=[];try{s=fC(e.querySelectorAll(o))}catch{}if(s.length>0)r(`pending`),i(`complete`);else return Promise.resolve();var c=Ww.begin(`onTree`),l=s.reduce(function(e,t){try{var n=hT(t);n&&e.push(n)}catch(e){RS||e.name===`MissingIcon`&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(l).then(function(n){nT(n,function(){r(`active`),r(`complete`),i(`pending`),typeof t==`function`&&t(),c(),e()})}).catch(function(e){c(),n(e)})})}function vT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;hT(e).then(function(e){e&&nT([e],t)})}function yT(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Cw(t||{}),i=n.mask;return i&&=(i||{}).icon?i:Cw(i||{}),e(r,Fb(Fb({},n),{},{mask:i}))}}var bT=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transform,r=n===void 0?cC:n,i=t.symbol,a=i!==void 0&&i,o=t.mask,s=o===void 0?null:o,c=t.maskId,l=c===void 0?null:c,u=t.classes,d=u===void 0?[]:u,f=t.attributes,p=f===void 0?{}:f,m=t.styles,h=m===void 0?{}:m;if(e){var g=e.prefix,_=e.iconName,v=e.icon;return Dw(Fb({type:`icon`},e),function(){return xw(`beforeDOMElementCreation`,{iconDefinition:e,params:t}),jw({icons:{main:Fw(v),mask:s?Fw(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:_,transform:Fb(Fb({},cC),r),symbol:a,maskId:l,extra:{attributes:p,styles:h,classes:d}})})}},xT={mixout:function(){return{icon:yT(bT)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=_T,e.nodeCallback=vT,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=t===void 0?Xb:t,r=e.callback;return _T(n,r===void 0?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.prefix,i=t.transform,a=t.symbol,o=t.mask,s=t.maskId,c=t.extra;return new Promise(function(t,l){Promise.all([Rw(n,r),o.iconName?Rw(o.iconName,o.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(o){var l=Ib(o,2),u=l[0],d=l[1];t([e,jw({icons:{main:u,mask:d},prefix:r,iconName:n,transform:i,symbol:a,maskId:s,extra:c,watchable:!0})])}).catch(l)})},e.generateAbstractIcon=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,a=e.styles,o=gC(a);o.length>0&&(n.style=o);var s;return _C(i)&&(s=Sw(`generateAbstractTransformGrouping`,{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},ST={mixout:function(){return{layer:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.classes,r=n===void 0?[]:n;return Dw({type:`layer`},function(){xw(`beforeDOMElementCreation`,{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:`span`,attributes:{class:[`${iC.cssPrefix}-layers`].concat(Lb(r)).join(` `)},children:n}]})}}}},CT={mixout:function(){return{counter:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.title,r=n===void 0?null:n,i=t.classes,a=i===void 0?[]:i,o=t.attributes,s=o===void 0?{}:o,c=t.styles,l=c===void 0?{}:c;return Dw({type:`counter`,content:e},function(){return xw(`beforeDOMElementCreation`,{content:e,params:t}),Nw({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:[`${iC.cssPrefix}-layers-counter`].concat(Lb(a))}})})}}}},wT={mixout:function(){return{text:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transform,r=n===void 0?cC:n,i=t.classes,a=i===void 0?[]:i,o=t.attributes,s=o===void 0?{}:o,c=t.styles,l=c===void 0?{}:c;return Dw({type:`text`,content:e},function(){return xw(`beforeDOMElementCreation`,{content:e,params:t}),Mw({content:e,transform:Fb(Fb({},cC),r),extra:{attributes:s,styles:l,classes:[`${iC.cssPrefix}-layers-text`].concat(Lb(a))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,r=t.extra,i=null,a=null;if(ex){var o=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();i=s.width/o,a=s.height/o}return Promise.resolve([e,Mw({content:e.innerHTML,width:i,height:a,transform:n,extra:r,watchable:!0})])}}},TT=RegExp(`"`,`ug`),ET=[1105920,1112319],DT=Fb(Fb(Fb(Fb({},{FontAwesome:{normal:`fas`,400:`fas`}}),rS),wS),uS),OT=Object.keys(DT).reduce(function(e,t){return e[t.toLowerCase()]=DT[t],e},{}),kT=Object.keys(OT).reduce(function(e,t){var n=OT[t];return e[t]=n[900]||Lb(Object.entries(n))[0][1],e},{});function AT(e){return FC(Lb(e.replace(TT,``))[0]||``)}function jT(e){var t=e.getPropertyValue(`font-feature-settings`).includes(`ss01`),n=e.getPropertyValue(`content`).replace(TT,``),r=n.codePointAt(0),i=r>=ET[0]&&r<=ET[1],a=n.length===2&&n[0]===n[1];return i||a||t}function MT(e,t){var n=e.replace(/^['"]|['"]$/g,``).toLowerCase(),r=parseInt(t),i=isNaN(r)?`normal`:r;return(OT[n]||{})[i]||kT[n]}function NT(e,t){var n=`${jS}${t.replace(`:`,`-`)}`;return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=fC(e.children).filter(function(e){return e.getAttribute(AS)===t})[0],o=Yb.getComputedStyle(e,t),s=o.getPropertyValue(`font-family`),c=s.match(YS),l=o.getPropertyValue(`font-weight`),u=o.getPropertyValue(`content`);if(a&&!c)return e.removeChild(a),r();if(c&&u!==`none`&&u!==``){var d=o.getPropertyValue(`content`),f=MT(s,l),p=AT(d),m=c[0].startsWith(`FontAwesome`),h=jT(o),g=ZC(f,p),_=g;if(m){var v=tw(p);v.iconName&&v.prefix&&(g=v.iconName,f=v.prefix)}if(g&&!h&&(!a||a.getAttribute(MS)!==f||a.getAttribute(NS)!==_)){e.setAttribute(n,_),a&&e.removeChild(a);var y=fT(),b=y.extra;b.attributes[AS]=t,Rw(g,f).then(function(i){var a=jw(Fb(Fb({},y),{},{icons:{main:i,mask:rw()},prefix:f,iconName:_,extra:b,watchable:!0})),o=Xb.createElementNS(`http://www.w3.org/2000/svg`,`svg`);t===`::before`?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=a.map(function(e){return jC(e)}).join(`
|
|
1127
|
+
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function PT(e){return Promise.all([NT(e,`::before`),NT(e,`::after`)])}function FT(e){return e.parentNode!==document.head&&!~IS.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(AS)&&(!e.parentNode||e.parentNode.tagName!==`svg`)}var IT=function(e){return!!e&&LS.some(function(t){return e.includes(t)})},LT=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes(`(`)?e:e.split(`,`).map(function(e){return e.trim()})});var r=Ob(n),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;if(IT(a)){var o=LS.reduce(function(e,t){return e.replace(t,``)},a);o!==``&&o!==`*`&&t.add(o)}}}catch(e){r.e(e)}finally{r.f()}return t};function RT(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if($b){var n;if(t)n=e;else if(iC.searchPseudoElementsFullScan)n=e.querySelectorAll(`*`);else{var r=new Set,i=Ob(document.styleSheets),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;try{var s=Ob(o.cssRules),c;try{for(s.s();!(c=s.n()).done;){var l=c.value,u=Ob(LT(l.selectorText)),d;try{for(u.s();!(d=u.n()).done;){var f=d.value;r.add(f)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){s.e(e)}finally{s.f()}}catch(e){iC.searchPseudoElementsWarnings&&console.warn(`Font Awesome: cannot parse stylesheet: ${o.href} (${e.message})
|
|
1128
|
+
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`)}}}catch(e){i.e(e)}finally{i.f()}if(!r.size)return;var p=Array.from(r).join(`, `);try{n=e.querySelectorAll(p)}catch{}}return new Promise(function(e,t){var r=fC(n).filter(FT).map(PT),i=Ww.begin(`searchPseudoElements`);iT(),Promise.all(r).then(function(){i(),aT(),e()}).catch(function(){i(),aT(),t()})})}}var zT={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=RT,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=t===void 0?Xb:t;iC.searchPseudoElements&&RT(n)}}},BT=!1,VT={mixout:function(){return{dom:{unwatch:function(){iT(),BT=!0}}}},hooks:function(){return{bootstrap:function(){sT(bw(`mutationObserverCallbacks`,{}))},noAuto:function(){cT()},watch:function(e){var t=e.observeMutationsRoot;BT?aT():sT(bw(`mutationObserverCallbacks`,{observeMutationsRoot:t}))}}}},HT=function(e){return e.toLowerCase().split(` `).reduce(function(e,t){var n=t.toLowerCase().split(`-`),r=n[0],i=n.slice(1).join(`-`);if(r&&i===`h`)return e.flipX=!0,e;if(r&&i===`v`)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case`grow`:e.size+=i;break;case`shrink`:e.size-=i;break;case`left`:e.x-=i;break;case`right`:e.x+=i;break;case`up`:e.y-=i;break;case`down`:e.y+=i;break;case`rotate`:e.rotate+=i}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},UT={mixout:function(){return{parse:{transform:function(e){return HT(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-transform`);return n&&(e.transform=HT(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,a={outer:{transform:`translate(${r/2} 256)`},inner:{transform:`${`translate(${n.x*32}, ${n.y*32}) `} ${`scale(${n.size/16*(n.flipX?-1:1)}, ${n.size/16*(n.flipY?-1:1)}) `} ${`rotate(${n.rotate} 0 0)`}`},path:{transform:`translate(${i/2*-1} -256)`}};return{tag:`g`,attributes:Fb({},a.outer),children:[{tag:`g`,attributes:Fb({},a.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Fb(Fb({},t.icon.attributes),a.path)}]}]}}}},WT={x:0,y:0,width:`100%`,height:`100%`};function GT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill=`black`),e}function KT(e){return e.tag===`g`?e.children:[e]}yw([wC,xT,ST,CT,wT,zT,VT,UT,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-mask`),r=n?lw(n.split(` `).map(function(e){return e.trim()})):rw();return r.prefix||=nw(),e.mask=r,e.maskId=t.getAttribute(`data-fa-mask-id`),e}}},provides:function(e){e.generateAbstractMask=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.mask,a=e.maskId,o=e.transform,s=r.width,c=r.icon,l=i.width,u=i.icon,d=vC({transform:o,containerWidth:l,iconWidth:s}),f={tag:`rect`,attributes:Fb(Fb({},WT),{},{fill:`white`})},p=c.children?{children:c.children.map(GT)}:{},m={tag:`g`,attributes:Fb({},d.inner),children:[GT(Fb({tag:c.tag,attributes:Fb(Fb({},c.attributes),d.path)},p))]},h={tag:`g`,attributes:Fb({},d.outer),children:[m]},g=`mask-${a||dC()}`,_=`clip-${a||dC()}`,v={tag:`mask`,attributes:Fb(Fb({},WT),{},{id:g,maskUnits:`userSpaceOnUse`,maskContentUnits:`userSpaceOnUse`}),children:[f,h]},y={tag:`defs`,children:[{tag:`clipPath`,attributes:{id:_},children:KT(u)},v]};return t.push(y,{tag:`rect`,attributes:Fb({fill:`currentColor`,"clip-path":`url(#${_})`,mask:`url(#${g})`},WT)}),{children:t,attributes:n}}}},{provides:function(e){var t=!1;Yb.matchMedia&&(t=Yb.matchMedia(`(prefers-reduced-motion: reduce)`).matches),e.missingIconAbstract=function(){var e=[],n={fill:`currentColor`},r={attributeType:`XML`,repeatCount:`indefinite`,dur:`2s`};e.push({tag:`path`,attributes:Fb(Fb({},n),{},{d:`M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z`})});var i=Fb(Fb({},r),{},{attributeName:`opacity`}),a={tag:`circle`,attributes:Fb(Fb({},n),{},{cx:`256`,cy:`364`,r:`28`}),children:[]};return t||a.children.push({tag:`animate`,attributes:Fb(Fb({},r),{},{attributeName:`r`,values:`28;14;28;28;14;28;`})},{tag:`animate`,attributes:Fb(Fb({},i),{},{values:`1;0;1;1;0;1;`})}),e.push(a),e.push({tag:`path`,attributes:Fb(Fb({},n),{},{opacity:`1`,d:`M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z`}),children:t?[]:[{tag:`animate`,attributes:Fb(Fb({},i),{},{values:`1;0;0;0;0;1;`})}]}),t||e.push({tag:`path`,attributes:Fb(Fb({},n),{},{opacity:`0`,d:`M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z`}),children:[{tag:`animate`,attributes:Fb(Fb({},i),{},{values:`0;0;1;1;0;0;`})}]}),{tag:`g`,attributes:{class:`missing`},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-symbol`);return e.symbol=n===null?!1:n===``||n,e}}}}],{mixoutsTo:Tw}),Tw.noAuto;var qT=Tw.config;Tw.library,Tw.dom;var JT=Tw.parse;Tw.findIconDefinition,Tw.toHtml;var YT=Tw.icon;Tw.layer,Tw.text,Tw.counter;function XT(e){return e-=0,e===e}function ZT(e){return XT(e)?e:(e=e.replace(/[_-]+(.)?/g,(e,t)=>t?t.toUpperCase():``),e.charAt(0).toLowerCase()+e.slice(1))}var QT=(e,t)=>b.createElement(`stop`,{key:`${t}-${e.offset}`,offset:e.offset,stopColor:e.color,...e.opacity!==void 0&&{stopOpacity:e.opacity}});function $T(e){return e.charAt(0).toUpperCase()+e.slice(1)}var eE=new Map,tE=1e3;function nE(e){if(eE.has(e))return eE.get(e);let t={},n=0,r=e.length;for(;n<r;){let i=e.indexOf(`;`,n),a=i===-1?r:i,o=e.slice(n,a).trim();if(o){let e=o.indexOf(`:`);if(e>0){let n=o.slice(0,e).trim(),r=o.slice(e+1).trim();if(n&&r){let e=ZT(n);t[e.startsWith(`webkit`)?$T(e):e]=r}}}n=a+1}if(eE.size===tE){let e=eE.keys().next().value;e&&eE.delete(e)}return eE.set(e,t),t}function rE(e,t,n={}){if(typeof t==`string`)return t;let r=(t.children||[]).map(t=>{let r=t;return(`fill`in n||n.gradientFill)&&t.tag===`path`&&`fill`in t.attributes&&(r={...t,attributes:{...t.attributes,fill:void 0}}),rE(e,r)}),i=t.attributes||{},a={};for(let[e,t]of Object.entries(i))switch(!0){case e===`class`:a.className=t;break;case e===`style`:a.style=nE(String(t));break;case e.startsWith(`aria-`):case e.startsWith(`data-`):a[e.toLowerCase()]=t;break;default:a[ZT(e)]=t}let{style:o,role:s,"aria-label":c,gradientFill:l,...u}=n;if(o&&(a.style=a.style?{...a.style,...o}:o),s&&(a.role=s),c&&(a[`aria-label`]=c,a[`aria-hidden`]=`false`),l){a.fill=`url(#${l.id})`;let{type:t,stops:n=[],...i}=l;r.unshift(e(t===`linear`?`linearGradient`:`radialGradient`,{...i,id:l.id},n.map(QT)))}return e(t.tag,{...a,...u},...r)}var iE=rE.bind(null,b.createElement),aE=(e,t)=>{let n=(0,b.useId)();return e||(t?n:void 0)},oE=class{constructor(e=`react-fontawesome`){this.enabled=!1;let t=!1;try{t=typeof process<`u`&&!1}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}};typeof process<`u`&&{}.FA_VERSION;var sE=`searchPseudoElementsFullScan`in qT&&typeof qT.searchPseudoElementsFullScan==`boolean`?`7.0.0`:`6.0.0`,cE=Number.parseInt(sE)>=7,lE=()=>cE,uE=`fa`,dE={beat:`fa-beat`,fade:`fa-fade`,beatFade:`fa-beat-fade`,bounce:`fa-bounce`,shake:`fa-shake`,spin:`fa-spin`,spinPulse:`fa-spin-pulse`,spinReverse:`fa-spin-reverse`,pulse:`fa-pulse`,flip360:`fa-flip-360`,buzz:`fa-buzz`,float:`fa-float`,jello:`fa-jello`,spinSnap:`fa-spin-snap`,spinSnap4:`fa-spin-snap-4`,spinSnap8:`fa-spin-snap-8`,swing:`fa-swing`,wag:`fa-wag`},fE={left:`fa-pull-left`,right:`fa-pull-right`},pE={90:`fa-rotate-90`,180:`fa-rotate-180`,270:`fa-rotate-270`},mE={"2xs":`fa-2xs`,xs:`fa-xs`,sm:`fa-sm`,lg:`fa-lg`,xl:`fa-xl`,"2xl":`fa-2xl`,"1x":`fa-1x`,"2x":`fa-2x`,"3x":`fa-3x`,"4x":`fa-4x`,"5x":`fa-5x`,"6x":`fa-6x`,"7x":`fa-7x`,"8x":`fa-8x`,"9x":`fa-9x`,"10x":`fa-10x`},hE={border:`fa-border`,fixedWidth:`fa-fw`,flip:`fa-flip`,flipHorizontal:`fa-flip-horizontal`,flipVertical:`fa-flip-vertical`,inverse:`fa-inverse`,rotateBy:`fa-rotate-by`,swapOpacity:`fa-swap-opacity`,widthAuto:`fa-width-auto`,canvasSquare:`fa-canvas-square`,canvasRoomy:`fa-canvas-roomy`},gE={default:`fa-layers`};function _E(e){let t=qT.cssPrefix||qT.familyPrefix||uE;return t===uE?e:e.replace(new RegExp(String.raw`(?<=^|\s)${uE}-`,`g`),`${t}-`)}function vE(e){let{beat:t,fade:n,beatFade:r,bounce:i,shake:a,spin:o,spinPulse:s,spinReverse:c,pulse:l,fixedWidth:u,inverse:d,border:f,flip:p,size:m,rotation:h,pull:g,swapOpacity:_,rotateBy:v,widthAuto:y,canvasSquare:b,canvasRoomy:x,flip360:S,buzz:C,float:w,jello:T,spinSnap:E,spinSnap4:D,spinSnap8:O,swing:k,wag:A,className:j}=e,M=[];return j&&M.push(...j.split(` `)),t&&M.push(dE.beat),n&&M.push(dE.fade),r&&M.push(dE.beatFade),i&&M.push(dE.bounce),a&&M.push(dE.shake),o&&M.push(dE.spin),c&&M.push(dE.spinReverse),s&&M.push(dE.spinPulse),l&&M.push(dE.pulse),u&&M.push(hE.fixedWidth),d&&M.push(hE.inverse),f&&M.push(hE.border),p===!0&&M.push(hE.flip),(p===`horizontal`||p===`both`)&&M.push(hE.flipHorizontal),(p===`vertical`||p===`both`)&&M.push(hE.flipVertical),m!=null&&M.push(mE[m]),h!=null&&h!==0&&M.push(pE[h]),g!=null&&M.push(fE[g]),_&&M.push(hE.swapOpacity),lE()?(v&&M.push(hE.rotateBy),y&&M.push(hE.widthAuto),b&&M.push(hE.canvasSquare),x&&M.push(hE.canvasRoomy),S&&M.push(dE.flip360),C&&M.push(dE.buzz),w&&M.push(dE.float),T&&M.push(dE.jello),E&&M.push(dE.spinSnap),D&&M.push(dE.spinSnap4),O&&M.push(dE.spinSnap8),k&&M.push(dE.swing),A&&M.push(dE.wag),(qT.cssPrefix||qT.familyPrefix||uE)===uE?M:M.map(_E)):M}var yE=e=>typeof e==`object`&&`icon`in e&&!!e.icon;function bE(e){if(e)return yE(e)?e:JT.icon(e)}function xE(e){return Object.keys(e)}var SE=new oE(`FontAwesomeIcon`),CE={border:!1,className:``,mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:``,titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1,canvasSquare:!1,canvasRoomy:!1,flip360:!1,buzz:!1,float:!1,jello:!1,spinSnap:!1,spinSnap4:!1,spinSnap8:!1,swing:!1,wag:!1},wE=new Set(Object.keys(CE)),TE=b.forwardRef((e,t)=>{let n={...CE,...e},{icon:r,mask:i,symbol:a,title:o,titleId:s,maskId:c,transform:l}=n,u=aE(c,!!i),d=aE(s,!!o),f=bE(r);if(!f)return SE.error(`Icon lookup is undefined`,r),null;let p=vE(n),m=typeof l==`string`?JT.transform(l):l,h=bE(i),g=YT(f,{...p.length>0&&{classes:p},...m&&{transform:m},...h&&{mask:h},symbol:a,title:o,titleId:d,maskId:u});if(!g)return SE.error(`Could not find icon`,f),null;let{abstract:_}=g,v={ref:t};for(let e of xE(n))wE.has(e)||(v[e]=n[e]);return iE(_[0],v)});TE.displayName=`FontAwesomeIcon`,`${gE.default}${hE.fixedWidth}`;var EE={thin:100,"extra-light":200,light:300,normal:400,medium:500,semibold:600,bold:700,"extra-bold":800,black:900};function DE(e){let t=(0,Q.c)(44),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({size:i,truncate:a,align:n,weight:o,wrap:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let{cssVar:c}=cp(),l;t[7]===c?l=t[8]:(l=e=>c(`font-size-${e}`),t[7]=c,t[8]=l);let u=lp(``,`font-size`,i,l),d;t[9]===c?d=t[10]:(d=e=>c(`line-height-${e}`),t[9]=c,t[10]=d);let f=lp(``,`line-height`,i,d),p=lp(``,`text-align`,n),m=lp(``,`font-weight`,o,kE),h=lp(``,`text-wrap`,s,OE),g;t[11]!==p.cssVars||t[12]!==u.cssVars||t[13]!==f.cssVars||t[14]!==m.cssVars||t[15]!==h.cssVars?(g={...u.cssVars,...f.cssVars,...p.cssVars,...m.cssVars,...h.cssVars},t[11]=p.cssVars,t[12]=u.cssVars,t[13]=f.cssVars,t[14]=m.cssVars,t[15]=h.cssVars,t[16]=g):g=t[16];let _;t[17]===i?_=t[18]:(_=i!=null&&{"data-has-text-size":``},t[17]=i,t[18]=_);let v;t[19]===a?v=t[20]:(v=a&&{"data-text-truncate":``},t[19]=a,t[20]=v);let y;t[21]===n?y=t[22]:(y=n!=null&&{"data-has-text-align":``},t[21]=n,t[22]=y);let b;t[23]===o?b=t[24]:(b=o!=null&&{"data-has-font-weight":``},t[23]=o,t[24]=b);let x;t[25]===s?x=t[26]:(x=s!=null&&{"data-has-text-wrap":``},t[25]=s,t[26]=x);let S;t[27]!==p.dataAttrs||t[28]!==u.dataAttrs||t[29]!==f.dataAttrs||t[30]!==_||t[31]!==v||t[32]!==y||t[33]!==b||t[34]!==x||t[35]!==m.dataAttrs||t[36]!==h.dataAttrs?(S={..._,...u.dataAttrs,...f.dataAttrs,...v,...y,...p.dataAttrs,...b,...m.dataAttrs,...x,...h.dataAttrs},t[27]=p.dataAttrs,t[28]=u.dataAttrs,t[29]=f.dataAttrs,t[30]=_,t[31]=v,t[32]=y,t[33]=b,t[34]=x,t[35]=m.dataAttrs,t[36]=h.dataAttrs,t[37]=S):S=t[37];let C;t[38]!==g||t[39]!==S?(C={cssVars:g,dataAttrs:S},t[38]=g,t[39]=S,t[40]=C):C=t[40];let w;return t[41]!==r||t[42]!==C?(w={textProps:C,...r},t[41]=r,t[42]=C,t[43]=w):w=t[43],w}function OE(e){return e===!0?`wrap`:e===!1?`nowrap`:e}function kE(e){return typeof e==`string`&&e in EE?EE[e]:e}function AE(e){let t=(0,Q.c)(17),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({asChild:n,as:o,focusable:i,className:r,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0?`span`:o,c=ap(),l=n?_p:s,u;if(t[6]!==r||t[7]!==i||t[8]!==c){let e;t[10]!==i||t[11]!==c?(e=i&&c(`visually-hidden-focusable`),t[10]=i,t[11]=c,t[12]=e):e=t[12],u=$(!i&&c(`visually-hidden`),e,r),t[6]=r,t[7]=i,t[8]=c,t[9]=u}else u=t[9];let d;return t[13]!==l||t[14]!==a||t[15]!==u?(d=(0,q.jsx)(l,{className:u,...a}),t[13]=l,t[14]=a,t[15]=u,t[16]=d):d=t[16],d}function jE(e){let t=(0,Q.c)(36),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({size:s,color:r,highContrast:i,label:a,style:c,className:n,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=ap(),u=gp(o),d,f;t[8]===u?(d=t[9],f=t[10]):({marginProps:d,...f}=u,t[8]=u,t[9]=d,t[10]=f);let p;t[11]===s?p=t[12]:(p={size:s},t[11]=s,t[12]=p);let{textProps:m}=DE(p),h;if(t[13]!==n||t[14]!==i||t[15]!==l){let e;t[17]!==i||t[18]!==l?(e=i&&l(`icon--high-contrast`),t[17]=i,t[18]=l,t[19]=e):e=t[19],h=$(l(`icon`),e,n),t[13]=n,t[14]=i,t[15]=l,t[16]=h}else h=t[16];let g;t[20]!==d.cssVars||t[21]!==c||t[22]!==m.cssVars?(g={...d.cssVars,...m.cssVars,...c},t[20]=d.cssVars,t[21]=c,t[22]=m.cssVars,t[23]=g):g=t[23];let _;t[24]!==r||t[25]!==d.dataAttrs||t[26]!==f||t[27]!==h||t[28]!==g||t[29]!==m.dataAttrs?(_=(0,q.jsx)(TE,{className:h,style:g,"data-accent":r,...d.dataAttrs,...m.dataAttrs,...f}),t[24]=r,t[25]=d.dataAttrs,t[26]=f,t[27]=h,t[28]=g,t[29]=m.dataAttrs,t[30]=_):_=t[30];let v=_,y;t[31]===a?y=t[32]:(y=a&&(0,q.jsx)(AE,{children:a}),t[31]=a,t[32]=y);let b;return t[33]!==v||t[34]!==y?(b=(0,q.jsxs)(q.Fragment,{children:[v,y]}),t[33]=v,t[34]=y,t[35]=b):b=t[35],b}function ME(e,t){return e.reduce((e,n,r,i)=>(e.push(n),r<i.length-1&&e.push(typeof t==`function`?t(r):t),e),[])}var NE=typeof navigator==`object`?navigator.platform:``,PE=/Mac|iPod|iPhone|iPad/.test(NE);function FE(e){let t=(0,Q.c)(27),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({asChild:n,color:i,className:r,style:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=ap(),c=gp(a),l,u;t[6]===c?(l=t[7],u=t[8]):({marginProps:l,...u}=c,t[6]=c,t[7]=l,t[8]=u);let d=DE(u),f,p;t[9]===d?(f=t[10],p=t[11]):({textProps:p,...f}=d,t[9]=d,t[10]=f,t[11]=p);let m=n?_p:`kbd`,h;t[12]!==r||t[13]!==s?(h=$(s(`keyboard`),r),t[12]=r,t[13]=s,t[14]=h):h=t[14];let g;t[15]!==l.cssVars||t[16]!==o||t[17]!==p.cssVars?(g={...l.cssVars,...p.cssVars,...o},t[15]=l.cssVars,t[16]=o,t[17]=p.cssVars,t[18]=g):g=t[18];let _;return t[19]!==m||t[20]!==i||t[21]!==l.dataAttrs||t[22]!==f||t[23]!==h||t[24]!==g||t[25]!==p.dataAttrs?(_=(0,q.jsx)(m,{className:h,style:g,"data-accent":i,...l.dataAttrs,...p.dataAttrs,...f}),t[19]=m,t[20]=i,t[21]=l.dataAttrs,t[22]=f,t[23]=h,t[24]=g,t[25]=p.dataAttrs,t[26]=_):_=t[26],_}var IE={Control:PE?`⌃`:`Ctrl`,Alt:PE?`⌥`:`Alt`,Option:PE?`⌥`:`Alt`,Shift:PE?`⇧`:`Shift`,Meta:PE?`⌘`:`Win`,CapsLock:PE?`⇪`:`Caps Lock`,Tab:PE?`⇥`:`Tab`,ArrowUp:(0,q.jsx)(jE,{icon:Ay}),ArrowDown:(0,q.jsx)(jE,{icon:Zy}),ArrowLeft:(0,q.jsx)(jE,{icon:Wy}),ArrowRight:(0,q.jsx)(jE,{icon:Fy}),Enter:PE?`⏎`:`↵`,Escape:`Esc`,Backspace:`⌫`,Delete:PE?`⌦`:`Del`,Insert:`Ins`,PageUp:`PgUp`,PageDown:`PgDn`},LE={Alt:PE?`Option`:`Alt`,Option:PE?`Option`:`Alt`,Meta:PE?`Command`:`Windows`,Enter:PE?`Return`:`Enter`};function RE(e){let t=(0,Q.c)(3),{keyName:n,keyLabels:r,keySymbols:i}=e,[a]=Mp(),o=a.Keybinds.keySymbols,s=a.Keybinds.keyLabels,c=i?.[n]??o?.[n]??IE[n],l=r?.[n]??s?.[n]??LE[n]??n,u;return t[0]!==l||t[1]!==c?(u=!c||c===l?(0,q.jsx)(FE,{children:l}):(0,q.jsxs)(FE,{children:[(0,q.jsx)(`span`,{"aria-hidden":!0,children:c}),(0,q.jsx)(AE,{children:l})]}),t[0]=l,t[1]=c,t[2]=u):u=t[2],u}var zE=PE?` `:` + `;function BE({keyPress:e,keySymbols:t,keyLabels:n}){return ME(e.map((e,r)=>(0,q.jsx)(RE,{keyName:e,keySymbols:t,keyLabels:n},`key-${r}`)),e=>(0,q.jsx)(`span`,{"aria-hidden":!0,children:zE},`key-separator-${e}`))}var VE=` `;function HE(e){let t=(0,Q.c)(10),{keybind:n,keyPressesSeparatorLabel:r,keySymbols:i,keyLabels:a}=e,[o]=Mp(),s=r??o.Keybinds.keyPressesSeparatorLabel,c;if(t[0]!==a||t[1]!==s||t[2]!==i||t[3]!==n){let e;t[5]!==a||t[6]!==i?(e=(e,t)=>(0,q.jsx)(BE,{keyPress:e,keySymbols:i,keyLabels:a},`key-press-${t}`),t[5]=a,t[6]=i,t[7]=e):e=t[7];let r;t[8]===s?r=t[9]:(r=e=>(0,q.jsxs)(b.Fragment,{children:[(0,q.jsx)(`span`,{"aria-hidden":!0,children:VE}),(0,q.jsxs)(AE,{children:[` `,s,` `]})]},`key-press-separator-${e}`),t[8]=s,t[9]=r),c=ME(n.map(e),r),t[0]=a,t[1]=s,t[2]=i,t[3]=n,t[4]=c}else c=t[4];return c}var UE=`\xA0/ `;function WE(e){let t=(0,Q.c)(27),n,r,i,a,o,s,c,l,u;if(t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9]):({keybinds:o,limit:c,keybindsSeparatorLabel:s,keyPressesSeparatorLabel:i,keySymbols:a,keyLabels:r,className:n,style:u,...l}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u),c!=null&&c<1)throw RangeError(`Limit must be >= 1.`);let d=ap(),[f]=Mp(),p;t[10]!==o||t[11]!==c?(p=Array.isArray(o)?o.slice(0,c):o,t[10]=o,t[11]=c,t[12]=p):p=t[12];let m=p,h=s??f.Keybinds.keybindsSeparatorLabel,g=gp(l),_,v;t[13]===g?(_=t[14],v=t[15]):({marginProps:_,...v}=g,t[13]=g,t[14]=_,t[15]=v);let y;if(t[16]!==n||t[17]!==r||t[18]!==i||t[19]!==a||t[20]!==m||t[21]!==h||t[22]!==_||t[23]!==v||t[24]!==d||t[25]!==u){let e=bb(m);y=e.length===0?null:(0,q.jsx)(`span`,{className:$(d(`keybinds`),n),style:{..._.cssVars,...u},..._.dataAttrs,...v,children:ME(e.map((e,t)=>(0,q.jsx)(HE,{keybind:e,keyPressesSeparatorLabel:i,keySymbols:a,keyLabels:r},`keybind-${t}`)),e=>(0,q.jsxs)(b.Fragment,{children:[(0,q.jsx)(`span`,{"aria-hidden":!0,children:UE}),h&&(0,q.jsxs)(AE,{children:[` `,h,` `]})]},`keybind-separator-${e}`))}),t[16]=n,t[17]=r,t[18]=i,t[19]=a,t[20]=m,t[21]=h,t[22]=_,t[23]=v,t[24]=d,t[25]=u,t[26]=y}else y=t[26];return y}function GE(e){let t=(0,Q.c)(30),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({size:o,color:r,label:i,className:n,style:s,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=ap(),l=gp(a),u,d;t[7]===l?(u=t[8],d=t[9]):({marginProps:u,...d}=l,t[7]=l,t[8]=u,t[9]=d);let f;t[10]===o?f=t[11]:(f={size:o},t[10]=o,t[11]=f);let{textProps:p}=DE(f),m;t[12]!==n||t[13]!==c?(m=$(c(`spinner`),n),t[12]=n,t[13]=c,t[14]=m):m=t[14];let h;t[15]!==u.cssVars||t[16]!==s||t[17]!==p.cssVars?(h={...u.cssVars,...p.cssVars,...s},t[15]=u.cssVars,t[16]=s,t[17]=p.cssVars,t[18]=h):h=t[18];let g=i?`status`:void 0,_;t[19]===i?_=t[20]:(_=i&&(0,q.jsx)(AE,{children:i}),t[19]=i,t[20]=_);let v;return t[21]!==r||t[22]!==u.dataAttrs||t[23]!==d||t[24]!==m||t[25]!==h||t[26]!==g||t[27]!==_||t[28]!==p.dataAttrs?(v=(0,q.jsx)(`span`,{className:m,style:h,"data-accent":r,role:g,...u.dataAttrs,...p.dataAttrs,...d,children:_}),t[21]=r,t[22]=u.dataAttrs,t[23]=d,t[24]=m,t[25]=h,t[26]=g,t[27]=_,t[28]=p.dataAttrs,t[29]=v):v=t[29],v}function KE(e){let t=(0,Q.c)(34),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15]):({content:a,showArrow:m,children:r,defaultOpen:o,open:d,onOpenChange:u,delayDuration:s,disableHoverableContent:c,forceMount:l,portalProps:p,arrowProps:n,sideOffset:h,collisionPadding:g,className:i,...f}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g);let _=m===void 0||m,v=h===void 0?4:h,y=g===void 0?3:g,b=ap(),x=ty(),S;return t[16]!==n||t[17]!==r||t[18]!==i||t[19]!==y||t[20]!==a||t[21]!==o||t[22]!==s||t[23]!==c||t[24]!==l||t[25]!==u||t[26]!==d||t[27]!==f||t[28]!==x?.container||t[29]!==p||t[30]!==b||t[31]!==_||t[32]!==v?(S=a==null||typeof a==`boolean`?r:(0,q.jsxs)(Ef,{defaultOpen:o,open:d,onOpenChange:u,delayDuration:s,disableHoverableContent:c,children:[(0,q.jsx)(Of,{asChild:!0,children:r}),(0,q.jsx)(Jv,{children:(0,q.jsx)(Mf,{container:x?.container,...p,forceMount:l,children:(0,q.jsx)(lO,{asChild:!0,children:(0,q.jsx)(Zv,{zIndex:`tooltip`,children:(0,q.jsxs)(Pf,{sideOffset:v,collisionPadding:y,className:$(b(`tooltip`),i),...f,children:[a,_&&(0,q.jsx)(Rf,{width:8,height:4,...n,className:$(b(`tooltip__arrow`),n?.className)})]})})})})})]}),t[16]=n,t[17]=r,t[18]=i,t[19]=y,t[20]=a,t[21]=o,t[22]=s,t[23]=c,t[24]=l,t[25]=u,t[26]=d,t[27]=f,t[28]=x?.container,t[29]=p,t[30]=b,t[31]=_,t[32]=v,t[33]=S):S=t[33],S}var qE=Sf;function JE(e){let t=(0,Q.c)(95),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27]):({as:S,asChild:i,variant:C,color:w,size:T,circle:o,icon:l,label:p,active:n,disabled:c,loading:h,loadingLabel:g,showSpinner:E,tooltipContent:D,keybinds:d,iconProps:u,labelProps:m,spinnerProps:y,tooltipProps:O,keybindsProps:f,type:k,onClick:_,className:s,style:x,children:a,"aria-disabled":r,...v}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k);let A=S===void 0?`button`:S,j=C===void 0?`solid`:C,M=w===void 0?`neutral`:w,N=T===void 0?`md`:T,P=E===void 0?h:E,F=ap(),I=gp(v),L,R;t[28]===I?(L=t[29],R=t[30]):({marginProps:L,...R}=I,t[28]=I,t[29]=L,t[30]=R);let z=h&&g||p,B=D===void 0?z:D,V;t[31]!==m||t[32]!==z?(V=z&&(0,q.jsx)(AE,{...m,children:z}),t[31]=m,t[32]=z,t[33]=V):V=t[33];let H=V,ee;t[34]!==l||t[35]!==u||t[36]!==F||t[37]!==P?(ee=l&&!P&&(0,q.jsx)(_p,{className:$(F(`icon-button__icon`),u?.className),children:(0,b.isValidElement)(l)?l:(0,q.jsx)(jE,{icon:l,fixedWidth:!0,...u})}),t[34]=l,t[35]=u,t[36]=F,t[37]=P,t[38]=ee):ee=t[38];let U=ee,W;t[39]!==F||t[40]!==P||t[41]!==y?(W=P&&(0,q.jsx)(GE,{...y,className:$(F(`icon-button__spinner`),y?.className)}),t[39]=F,t[40]=P,t[41]=y,t[42]=W):W=t[42];let G=W,K;t[43]!==U||t[44]!==H||t[45]!==G?(K=(0,q.jsxs)(q.Fragment,{children:[G,U,H]}),t[43]=U,t[44]=H,t[45]=G,t[46]=K):K=t[46];let J=K;if(i){let e;t[47]!==a||t[48]!==J?(e=(0,b.cloneElement)(a,void 0,J),t[47]=a,t[48]=J,t[49]=e):e=t[49],J=e}let te=h||r===`true`||r===!0,Y;t[50]!==c||t[51]!==te||t[52]!==_?(Y=e=>{c||te?e.preventDefault():_?.(e)},t[50]=c,t[51]=te,t[52]=_,t[53]=Y):Y=t[53];let X=Y,ne=A===`button`&&!i,re=i?_p:A,ie=k??(ne?`button`:void 0),ae;t[54]!==o||t[55]!==s||t[56]!==F||t[57]!==N||t[58]!==j?(ae=$(F(`icon-button`),F(`icon-button--${j}`),F(`icon-button--${N}`),o&&F(`icon-button--circle`),s),t[54]=o,t[55]=s,t[56]=F,t[57]=N,t[58]=j,t[59]=ae):ae=t[59];let oe=te||!ne&&c,se;t[60]===oe?se=t[61]:(se=tb(oe),t[60]=oe,t[61]=se);let ce=te||!ne&&c||void 0,le;t[62]===P?le=t[63]:(le=tb(P),t[62]=P,t[63]=le);let ue;t[64]===n?ue=t[65]:(ue=tb(n),t[64]=n,t[65]=ue);let Z;t[66]===d?Z=t[67]:(Z=xb(d),t[66]=d,t[67]=Z);let de=!ne&&c?-1:void 0,fe;t[68]!==L.cssVars||t[69]!==x?(fe={...L.cssVars,...x},t[68]=L.cssVars,t[69]=x,t[70]=fe):fe=t[70];let pe;t[71]!==re||t[72]!==M||t[73]!==J||t[74]!==c||t[75]!==X||t[76]!==L.dataAttrs||t[77]!==R||t[78]!==ie||t[79]!==ae||t[80]!==se||t[81]!==ce||t[82]!==le||t[83]!==ue||t[84]!==Z||t[85]!==de||t[86]!==fe?(pe=(0,q.jsx)(re,{type:ie,className:ae,onClick:X,"data-accent":M,disabled:c,"data-disabled":se,"aria-disabled":ce,"data-spinning":le,"data-active":ue,"aria-keyshortcuts":Z,tabIndex:de,style:fe,...L.dataAttrs,...R,children:J}),t[71]=re,t[72]=M,t[73]=J,t[74]=c,t[75]=X,t[76]=L.dataAttrs,t[77]=R,t[78]=ie,t[79]=ae,t[80]=se,t[81]=ce,t[82]=le,t[83]=ue,t[84]=Z,t[85]=de,t[86]=fe,t[87]=pe):pe=t[87];let me=pe,he;return t[88]!==me||t[89]!==d||t[90]!==f||t[91]!==F||t[92]!==B||t[93]!==O?(he=B&&typeof B!=`boolean`||d?(0,q.jsx)(KE,{...O,content:(0,q.jsxs)(q.Fragment,{children:[B&&(0,q.jsx)(`div`,{"aria-hidden":!0,children:B}),d&&(0,q.jsx)(WE,{"aria-hidden":!0,keybinds:d,...f,className:$(F(`icon-button__keybinds`),f?.className)})]}),children:me}):me,t[88]=me,t[89]=d,t[90]=f,t[91]=F,t[92]=B,t[93]=O,t[94]=he):he=t[94],he}function YE(e){let t=(0,Q.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({icon:r,label:i,className:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=ap(),[s]=Mp(),c=i===void 0?s.CloseButton.label:i,l;t[5]!==n||t[6]!==o?(l=$(o(`close-button`),n),t[5]=n,t[6]=o,t[7]=l):l=t[7];let u=r??Iy,d;return t[8]!==c||t[9]!==a||t[10]!==l||t[11]!==u?(d=(0,q.jsx)(JE,{className:l,variant:`ghost`,circle:!0,icon:u,label:c,...a}),t[8]=c,t[9]=a,t[10]=l,t[11]=u,t[12]=d):d=t[12],d}function XE(e){let t=(0,Q.c)(26),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({showCloseButton:o,closeButtonProps:i,className:r,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0||o,c=ap(),[l,u]=(0,b.useState)(-1),d=(0,b.useRef)(null),f,p;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{queueMicrotask(()=>{u(void 0);let e=document.activeElement?.tabIndex;(e==null||e<0)&&queueMicrotask(()=>d.current?.focus())})},p=[],t[6]=f,t[7]=p):(f=t[6],p=t[7]),(0,b.useEffect)(f,p);let m=i?.ref,h;t[8]===m?h=t[9]:(h=[d,m],t[8]=m,t[9]=h);let g=sy(h),_;t[10]!==r||t[11]!==c?(_=$(c(`dialog__header`),r),t[10]=r,t[11]=c,t[12]=_):_=t[12];let v;t[13]===n?v=t[14]:(v=(0,q.jsx)(vp,{children:n}),t[13]=n,t[14]=v);let y;t[15]!==i||t[16]!==l||t[17]!==g||t[18]!==c||t[19]!==s?(y=s&&(0,q.jsx)(di,{asChild:!0,children:(0,q.jsx)(YE,{ref:g,...i,tabIndex:l??i?.tabIndex,className:$(c(`dialog__close-button`),i?.className)})}),t[15]=i,t[16]=l,t[17]=g,t[18]=c,t[19]=s,t[20]=y):y=t[20];let x;return t[21]!==a||t[22]!==_||t[23]!==v||t[24]!==y?(x=(0,q.jsxs)(Sp,{className:_,...a,children:[v,y]}),t[21]=a,t[22]=_,t[23]=v,t[24]=y,t[25]=x):x=t[25],x}function ZE(e){let t=(0,Q.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({as:a,asChild:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`h2`:a,s=ap(),c=n?_p:o,l;t[5]!==r||t[6]!==s?(l=$(s(`dialog__title`),r),t[5]=r,t[6]=s,t[7]=l):l=t[7];let u;return t[8]!==c||t[9]!==i||t[10]!==l?(u=(0,q.jsx)(Cp,{asChild:!0,children:(0,q.jsx)(ci,{asChild:!0,children:(0,q.jsx)(c,{className:l,...i})})}),t[8]=c,t[9]=i,t[10]=l,t[11]=u):u=t[11],u}function QE(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(Jr,{...e,asChild:!0}),t[0]=e,t[1]=n),n}function $E(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(wp,{...e}),t[0]=e,t[1]=n),n}function eD(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(Ai,{...e,asChild:!0}),t[0]=e,t[1]=n),n}function tD(e){let t=(0,Q.c)(39),n,r,i,a,o,s,c,l,u,d,f;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11]):({asChild:n,variant:u,mergeSections:o,color:d,size:f,forceMount:a,portalProps:l,overlayProps:c,className:i,children:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f);let p=u===void 0?`solid`:u,m=d===void 0?`neutral`:d,h=f===void 0?`md`:f,g=ap(),_=ty()?.container,v;t[12]!==c?.className||t[13]!==g?(v=$(g(`dialog__overlay`),c?.className),t[12]=c?.className,t[13]=g,t[14]=v):v=t[14];let y=!n,b;t[15]!==i||t[16]!==g||t[17]!==h?(b=$(g(`dialog`),g(`dialog--${h}`),i),t[15]=i,t[16]=g,t[17]=h,t[18]=b):b=t[18];let x;t[19]!==n||t[20]!==r||t[21]!==m||t[22]!==o||t[23]!==p?(x=(0,q.jsx)(yp,{asChild:n,variant:p,color:m,mergeSections:o,children:r}),t[19]=n,t[20]=r,t[21]=m,t[22]=o,t[23]=p,t[24]=x):x=t[24];let S;t[25]!==s||t[26]!==y||t[27]!==b||t[28]!==x?(S=(0,q.jsx)(Ti,{asChild:y,className:b,...s,children:x}),t[25]=s,t[26]=y,t[27]=b,t[28]=x,t[29]=S):S=t[29];let C;t[30]!==c||t[31]!==v||t[32]!==S?(C=(0,q.jsx)(lO,{asChild:!0,children:(0,q.jsx)(Zv,{zIndex:`dialog`,reset:!0,children:(0,q.jsx)(Si,{asChild:!0,children:(0,q.jsx)($v,{...c,className:v,children:S})})})}),t[30]=c,t[31]=v,t[32]=S,t[33]=C):C=t[33];let w;return t[34]!==a||t[35]!==l||t[36]!==C||t[37]!==_?(w=(0,q.jsx)(Jv,{children:(0,q.jsx)(xi,{container:_,...l,forceMount:a,children:C})}),t[34]=a,t[35]=l,t[36]=C,t[37]=_,t[38]=w):w=t[38],w}function nD(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`dialog__description`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(Di,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function rD(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(oy,{...e}),t[0]=e,t[1]=n),n}function iD(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`dialog__header`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(Sp,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function aD(e){let t=(0,Q.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({as:a,asChild:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`h2`:a,s=ap(),c=n?_p:o,l;t[5]!==r||t[6]!==s?(l=$(s(`dialog__title`),r),t[5]=r,t[6]=s,t[7]=l):l=t[7];let u;return t[8]!==c||t[9]!==i||t[10]!==l?(u=(0,q.jsx)(Cp,{asChild:!0,children:(0,q.jsx)(Ei,{asChild:!0,children:(0,q.jsx)(c,{className:l,...i})})}),t[8]=c,t[9]=i,t[10]=l,t[11]=u):u=t[11],u}function oD(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(bi,{...e,asChild:!0}),t[0]=e,t[1]=n),n}function sD(e){let t=(0,Q.c)(97),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26]):({as:_,asChild:i,variant:v,color:y,size:x,vertical:O,icon:S,iconPlacement:C,active:n,disabled:s,loading:d,loadingContent:f,showSpinner:w,tooltipContent:T,keybinds:l,iconProps:c,spinnerProps:h,tooltipProps:E,keybindsProps:u,type:D,onClick:p,className:o,style:g,children:a,"aria-disabled":r,...m}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O);let k=_===void 0?`button`:_,A=v===void 0?`solid`:v,j=y===void 0?`neutral`:y,M=x===void 0?`md`:x,N=S===void 0?null:S,P=C===void 0?`start`:C,F=w===void 0?d:w,I=ap(),L=gp(m),R,z;t[27]===L?(R=t[28],z=t[29]):({marginProps:R,...z}=L,t[27]=L,t[28]=R,t[29]=z);let B;t[30]!==N||t[31]!==P||t[32]!==c||t[33]!==I||t[34]!==F?(B=N&&!F&&(0,q.jsx)(_p,{className:$(I(`button__icon`),I(`button__icon--${P}`),c?.className),children:(0,b.isValidElement)(N)?N:(0,q.jsx)(jE,{icon:N,widthAuto:!0,...c})}),t[30]=N,t[31]=P,t[32]=c,t[33]=I,t[34]=F,t[35]=B):B=t[35];let V=B,H;t[36]!==P||t[37]!==I||t[38]!==F||t[39]!==h?(H=F&&(0,q.jsx)(GE,{...h,className:$(I(`button__spinner`),I(`button__spinner--${P}`),h?.className)}),t[36]=P,t[37]=I,t[38]=F,t[39]=h,t[40]=H):H=t[40];let ee=H,U;t[41]!==i||t[42]!==a||t[43]!==d||t[44]!==f?(U=d&&f?i?(0,b.cloneElement)(a,void 0,f):f:a,t[41]=i,t[42]=a,t[43]=d,t[44]=f,t[45]=U):U=t[45];let W=U,G=d||r===`true`||r===!0,K;t[46]!==s||t[47]!==G||t[48]!==p?(K=e=>{s||G?e.preventDefault():p?.(e)},t[46]=s,t[47]=G,t[48]=p,t[49]=K):K=t[49];let J=K,te=k===`button`&&!i,Y=i?_p:k,X=D??(te?`button`:void 0),ne;t[50]!==o||t[51]!==I||t[52]!==M||t[53]!==A||t[54]!==O?(ne=$(I(`button`),I(`button--${A}`),I(`button--${M}`),O&&I(`button--vertical`),o),t[50]=o,t[51]=I,t[52]=M,t[53]=A,t[54]=O,t[55]=ne):ne=t[55];let re=G||!te&&s,ie;t[56]===re?ie=t[57]:(ie=tb(re),t[56]=re,t[57]=ie);let ae=G||!te&&s||void 0,oe;t[58]===F?oe=t[59]:(oe=tb(F),t[58]=F,t[59]=oe);let se;t[60]===n?se=t[61]:(se=tb(n),t[60]=n,t[61]=se);let ce;t[62]===l?ce=t[63]:(ce=xb(l),t[62]=l,t[63]=ce);let le=!te&&s?-1:void 0,ue;t[64]!==R.cssVars||t[65]!==g?(ue={...R.cssVars,...g},t[64]=R.cssVars,t[65]=g,t[66]=ue):ue=t[66];let Z=P===`start`&&ee,de=P===`start`&&V,fe;t[67]===W?fe=t[68]:(fe=(0,q.jsx)(vp,{children:W}),t[67]=W,t[68]=fe);let pe=P===`end`&&V,me=P===`end`&&ee,he;t[69]!==Y||t[70]!==j||t[71]!==s||t[72]!==J||t[73]!==R.dataAttrs||t[74]!==z||t[75]!==X||t[76]!==ne||t[77]!==ie||t[78]!==ae||t[79]!==oe||t[80]!==se||t[81]!==ce||t[82]!==le||t[83]!==ue||t[84]!==Z||t[85]!==de||t[86]!==fe||t[87]!==pe||t[88]!==me?(he=(0,q.jsxs)(Y,{type:X,className:ne,onClick:J,"data-accent":j,disabled:s,"data-disabled":ie,"aria-disabled":ae,"data-spinning":oe,"data-active":se,"aria-keyshortcuts":ce,tabIndex:le,style:ue,...R.dataAttrs,...z,children:[Z,de,fe,pe,me]}),t[69]=Y,t[70]=j,t[71]=s,t[72]=J,t[73]=R.dataAttrs,t[74]=z,t[75]=X,t[76]=ne,t[77]=ie,t[78]=ae,t[79]=oe,t[80]=se,t[81]=ce,t[82]=le,t[83]=ue,t[84]=Z,t[85]=de,t[86]=fe,t[87]=pe,t[88]=me,t[89]=he):he=t[89];let ge=he,_e;return t[90]!==ge||t[91]!==l||t[92]!==u||t[93]!==I||t[94]!==T||t[95]!==E?(_e=T&&typeof T!=`boolean`||l?(0,q.jsx)(KE,{...E,content:(0,q.jsxs)(q.Fragment,{children:[T&&(0,q.jsx)(`div`,{children:T}),l&&(0,q.jsx)(WE,{keybinds:l,"aria-hidden":!0,...u,className:$(I(`button__keybinds`),u?.className)})]}),children:ge}):ge,t[90]=ge,t[91]=l,t[92]=u,t[93]=I,t[94]=T,t[95]=E,t[96]=_e):_e=t[96],_e}var cD=(0,b.createContext)(null);function lD(e){let t=(0,Q.c)(16),{children:n}=e,[r]=Mp(),[i,a]=(0,b.useState)(!1),[o,s]=(0,b.useState)(null),c=(0,b.useRef)(null),l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=e=>new Promise(t=>{let n=c.current=e=>{t(e),a(!1)};s((0,q.jsx)(b.Fragment,{children:e(n)},Math.random())),a(!0)}),t[0]=l):l=t[0];let u=l,d;t[1]===r?d=t[2]:(d=(e,t)=>{let{variant:n,mergeSections:i,color:a,size:o,title:s,extraBodyContent:c,okText:l,triggerElement:d,contentProps:f,headerProps:p,titleProps:m,bodyProps:h,descriptionProps:g,footerProps:_,okButtonProps:v}=t===void 0?{}:t,y=a===void 0?`neutral`:a,b=l??r.AlertDialog.okText;return u(t=>(0,q.jsxs)(tD,{...f,variant:n,mergeSections:i,color:y,size:o,onCloseAutoFocus:e=>{f?.onCloseAutoFocus?.(e),e.defaultPrevented||d?.focus()},children:[s&&(0,q.jsx)(iD,{...p,children:(0,q.jsx)(aD,{...m,children:s})}),(0,q.jsxs)($E,{...h,children:[e&&(0,q.jsx)(nD,{...g,children:e}),c]}),(0,q.jsx)(rD,{..._,children:(0,q.jsx)(qf,{children:(0,q.jsx)(sD,{...v,color:v?.color??(y===`neutral`?`primary`:y),onClick:()=>t(),children:b})})})]}))},t[1]=r,t[2]=d);let f=d,p;t[3]===r?p=t[4]:(p=(e,t)=>{let{variant:n,mergeSections:i,color:a,size:o,title:s,extraBodyContent:c,okText:l,cancelText:d,triggerElement:f,contentProps:p,headerProps:m,titleProps:h,bodyProps:g,descriptionProps:_,footerProps:v,okButtonProps:y,cancelButtonProps:b}=t===void 0?{}:t,x=a===void 0?`neutral`:a,S=l??r.ConfirmDialog.okText??r.AlertDialog.okText,C=d??r.ConfirmDialog.cancelText;return u(t=>(0,q.jsxs)(tD,{...p,variant:n,mergeSections:i,color:x,size:o,onEscapeKeyDown:e=>{p?.onEscapeKeyDown?.(e),e.defaultPrevented||t(!1)},onCloseAutoFocus:e=>{p?.onCloseAutoFocus?.(e),e.defaultPrevented||f?.focus()},children:[s&&(0,q.jsx)(iD,{...m,children:(0,q.jsx)(aD,{...h,children:s})}),(0,q.jsxs)($E,{...g,children:[e&&(0,q.jsx)(nD,{..._,children:e}),c]}),(0,q.jsxs)(rD,{...v,children:[(0,q.jsx)(eD,{children:(0,q.jsx)(sD,{variant:`subtle`,...b,onClick:()=>t(!1),children:C})}),(0,q.jsx)(qf,{children:(0,q.jsx)(sD,{...y,color:y?.color??(x===`neutral`?`primary`:x),onClick:()=>t(!0),children:S})})]})]}))},t[3]=r,t[4]=p);let m=p,h;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(h=e=>{e||(c.current?.(),a(!1))},t[5]=h):h=t[5];let g=h,_=m,v;t[6]!==f||t[7]!==_?(v={prompt:u,alert:f,confirm:_},t[6]=f,t[7]=_,t[8]=v):v=t[8];let y;t[9]!==o||t[10]!==i?(y=(0,q.jsx)(Kf,{open:i,onOpenChange:g,children:o}),t[9]=o,t[10]=i,t[11]=y):y=t[11];let x;return t[12]!==n||t[13]!==v||t[14]!==y?(x=(0,q.jsxs)(cD,{value:v,children:[n,y]}),t[12]=n,t[13]=v,t[14]=y,t[15]=x):x=t[15],x}var uD;function dD(){return uD??document.title}function fD(e){uD===void 0&&queueMicrotask(()=>{document.title=uD,uD=void 0}),uD=e}var pD=(0,b.createContext)(null),mD=(0,b.createContext)(null);function hD(e){let t=(0,Q.c)(6),n;t[0]===e?n=t[1]:(n=()=>Xf()(Op(t=>({breadcrumbs:e??[],childrenDocumentTitles:0,actions:{addChildDocumentTitle:()=>t(_D),removeChildDocumentTitle:()=>t(gD)}}))),t[0]=e,t[1]=n);let r=Pp(n),i,a;return t[2]!==e||t[3]!==r?(i=()=>{r.setState({breadcrumbs:e})},a=[e,r],t[2]=e,t[3]=r,t[4]=i,t[5]=a):(i=t[4],a=t[5]),(0,b.useEffect)(i,a),r}function gD(e){let{childrenDocumentTitles:t}=e;return{childrenDocumentTitles:t-1}}function _D(e){let{childrenDocumentTitles:t}=e;return{childrenDocumentTitles:t+1}}var vD=dD(),yD=` ‹ `;function bD(e){let t=(0,Q.c)(14),{baseDocumentTitle:n,baseSeparator:r,breadcrumbsSeparator:i,children:a}=e,o=n===void 0?vD:n,s=r===void 0?` | `:r,c=i===void 0?yD:i,l=hD(),u,d;t[0]!==o||t[1]!==l?(u=()=>l.subscribe(xD,e=>{e===0&&fD(o??``)},{fireImmediately:!0}),d=[o,l],t[0]=o,t[1]=l,t[2]=u,t[3]=d):(u=t[2],d=t[3]),(0,b.useEffect)(u,d);let f;t[4]!==o||t[5]!==s||t[6]!==c?(f={baseDocumentTitle:o,baseSeparator:s,breadcrumbsSeparator:c},t[4]=o,t[5]=s,t[6]=c,t[7]=f):f=t[7];let p;t[8]!==a||t[9]!==l?(p=(0,q.jsx)(mD,{value:l,children:a}),t[8]=a,t[9]=l,t[10]=p):p=t[10];let m;return t[11]!==f||t[12]!==p?(m=(0,q.jsx)(pD,{value:f,children:p}),t[11]=f,t[12]=p,t[13]=m):m=t[13],m}function xD(e){let{childrenDocumentTitles:t}=e;return t}function SD(e){let t=2166136261;for(let n=0,r=e.length;n<r;++n)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}function CD(e,t){let n=e instanceof Error?`${e.name}: ${e.message}`:String(e),r=e instanceof Error?e.stack??null:null,i=t?.componentStack??null;return{digest:SD(n+(r??``)+(i??``)).toString(16),message:n,stack:r,componentStack:i,timestamp:new Date,userAgent:navigator.userAgent,url:location.href}}var wD=(0,b.createContext)(null);function TD(e){let t=(0,Q.c)(17),{enabled:n,reportError:r,errorReportingUrl:i,errorReportingMethod:a,encodeErrorReport:o,encodedErrorReportMimeType:s,errorReportingOptions:c,children:l}=e,u=n===void 0||n,d=a===void 0?`POST`:a,f=o===void 0?ED:o,p=s===void 0?`application/json`:s,m;t[0]!==f||t[1]!==p||t[2]!==d||t[3]!==c||t[4]!==i||t[5]!==r?(m=r??(i==null?void 0:e=>{fetch(i,{...c,method:d,body:f(e),headers:new Headers([[`Content-Type`,p],...new Headers(c?.headers)])})}),t[0]=f,t[1]=p,t[2]=d,t[3]=c,t[4]=i,t[5]=r,t[6]=m):m=t[6];let h=m,g;t[7]!==u||t[8]!==h?(g={enabled:u,reportError:h},t[7]=u,t[8]=h,t[9]=g):g=t[9];let _=Ep(g),v=(0,b.useRef)(null),y;t[10]===_?y=t[11]:(y=async(e,t)=>{let{enabled:n,reportError:r}=_.current;if(!r||!n)return;let i=CD(e,t);if(!v.current?.has(i.digest)){v.current===null&&(v.current=new Set),v.current.add(i.digest);try{await r(i)}catch{v.current.delete(i.digest)}}},t[10]=_,t[11]=y);let x=y,S;t[12]===x?S=t[13]:(S={onError:x},t[12]=x,t[13]=S);let C;return t[14]!==l||t[15]!==S?(C=(0,q.jsx)(wD,{value:S,children:l}),t[14]=l,t[15]=S,t[16]=C):C=t[16],C}function ED(e){return JSON.stringify(e,null,0)}function DD(){let e=(0,b.useContext)(wD);if(!e)throw Error(`Error reporting context not in scope.`);return e.onError}var OD=(0,b.createContext)(null),kD={neutral:null,info:$y,success:Ly,danger:Dy,warning:By};function AD(e){let t=(0,Q.c)(124),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30]):({duration:f,defaultOpen:d,open:u,onOpenChange:g,onEscapeKeyDown:h,onPause:_,onResume:v,onSwipeStart:C,onSwipeMove:S,onSwipeEnd:x,onSwipeCancel:y,forceMount:p,variant:D,severity:O,announce:k,icon:A,action:n,actionAltText:r,dismissible:j,showCloseButton:E,visuallyHidden:M,rootProps:T,containerProps:c,iconProps:m,contentProps:l,actionContainerProps:i,closeButtonProps:s,children:a,className:o,...w}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M);let N=D===void 0?`solid`:D,P=O===void 0?`info`:O,F=k===void 0?`assertive`:k,I=A===void 0?kD[P]:A,L=j===void 0||j,R=ap(),z=E??(n==null||typeof n==`boolean`),[B,V]=Ap(d,u),[H,ee]=(0,b.useState)(!B),U,W;t[31]===B?(U=t[32],W=t[33]):(U=()=>{requestAnimationFrame(()=>ee(!!B))},W=[B],t[31]=B,t[32]=U,t[33]=W),(0,b.useEffect)(U,W);let G;t[34]===L?G=t[35]:(G=e=>{L||e.preventDefault()},t[34]=L,t[35]=G);let K=G,J=P===`info`?`primary`:P,te=F===`polite`?`background`:`foreground`,Y;t[36]!==g||t[37]!==V?(Y=[g,V],t[36]=g,t[37]=V,t[38]=Y):Y=t[38];let X=Dp(Y),ne;t[39]!==h||t[40]!==K?(ne=[K,h],t[39]=h,t[40]=K,t[41]=ne):ne=t[41];let re=Dp(ne),ie;t[42]!==C||t[43]!==K?(ie=[K,C],t[42]=C,t[43]=K,t[44]=ie):ie=t[44];let ae=Dp(ie),oe;t[45]!==S||t[46]!==K?(oe=[K,S],t[45]=S,t[46]=K,t[47]=oe):oe=t[47];let se=Dp(oe),ce;t[48]!==x||t[49]!==K?(ce=[K,x],t[48]=x,t[49]=K,t[50]=ce):ce=t[50];let le=Dp(ce),ue;t[51]!==y||t[52]!==K?(ue=[K,y],t[51]=y,t[52]=K,t[53]=ue):ue=t[53];let Z=Dp(ue),de;t[54]!==R||t[55]!==T?.className?(de=$(R(`toast__root`),T?.className),t[54]=R,t[55]=T?.className,t[56]=de):de=t[56];let fe;t[57]!==c?.className||t[58]!==R?(fe=$(R(`toast__container`),c?.className),t[57]=c?.className,t[58]=R,t[59]=fe):fe=t[59];let pe;t[60]===J?pe=t[61]:(pe={defaultColor:J,defaultVariant:`alert`},t[60]=J,t[61]=pe);let me;t[62]!==o||t[63]!==R||t[64]!==N?(me=$(R(`toast`),R(`toast--${N}`),o),t[62]=o,t[63]=R,t[64]=N,t[65]=me):me=t[65];let he;t[66]!==I||t[67]!==m||t[68]!==R?(he=I&&(0,q.jsx)(jE,{size:`lg`,...m,className:$(R(`toast__icon`),m?.className),icon:I}),t[66]=I,t[67]=m,t[68]=R,t[69]=he):he=t[69];let ge;t[70]!==l?.className||t[71]!==R?(ge=$(R(`toast__content`),l?.className),t[70]=l?.className,t[71]=R,t[72]=ge):ge=t[72];let _e;t[73]!==a||t[74]!==l||t[75]!==ge?(_e=(0,q.jsx)(`div`,{...l,className:ge,children:a}),t[73]=a,t[74]=l,t[75]=ge,t[76]=_e):_e=t[76];let ve;t[77]!==J||t[78]!==n||t[79]!==r||t[80]!==i||t[81]!==s||t[82]!==L||t[83]!==R||t[84]!==z||t[85]!==N?(ve=(n||L&&z)&&(0,q.jsxs)(`div`,{...i,className:$(R(`toast__action-container`),i?.className),children:[n&&(0,q.jsx)(ef,{altText:r,asChild:!0,children:n}),L&&z&&(0,q.jsx)(nf,{asChild:!0,children:(0,q.jsx)(YE,{color:N===`solid`?`neutral`:J,...s,className:$(R(`toast__close-button`),s?.className)})})]}),t[77]=J,t[78]=n,t[79]=r,t[80]=i,t[81]=s,t[82]=L,t[83]=R,t[84]=z,t[85]=N,t[86]=ve):ve=t[86];let ye;t[87]!==J||t[88]!==w||t[89]!==me||t[90]!==he||t[91]!==_e||t[92]!==ve?(ye=(0,q.jsxs)(`div`,{className:me,"data-accent":J,...w,children:[he,_e,ve]}),t[87]=J,t[88]=w,t[89]=me,t[90]=he,t[91]=_e,t[92]=ve,t[93]=ye):ye=t[93];let be;t[94]!==pe||t[95]!==ye?(be=(0,q.jsx)(xv,{value:pe,children:ye}),t[94]=pe,t[95]=ye,t[96]=be):be=t[96];let xe;t[97]!==c||t[98]!==p||t[99]!==fe||t[100]!==be?(xe=(0,q.jsx)(vt,{forceMount:p,...c,className:fe,children:be}),t[97]=c,t[98]=p,t[99]=fe,t[100]=be,t[101]=xe):xe=t[101];let Se;t[102]!==H||t[103]!==xe?(Se=(0,q.jsx)(mt,{open:H,asChild:!0,children:xe}),t[102]=H,t[103]=xe,t[104]=Se):Se=t[104];let Ce;t[105]!==f||t[106]!==p||t[107]!==_||t[108]!==v||t[109]!==B||t[110]!==T||t[111]!==X||t[112]!==re||t[113]!==ae||t[114]!==se||t[115]!==le||t[116]!==Z||t[117]!==de||t[118]!==Se||t[119]!==te?(Ce=(0,q.jsx)(Kd,{type:te,duration:f,open:B,onOpenChange:X,onEscapeKeyDown:re,onPause:_,onResume:v,onSwipeStart:ae,onSwipeMove:se,onSwipeEnd:le,onSwipeCancel:Z,forceMount:p,...T,className:de,children:Se}),t[105]=f,t[106]=p,t[107]=_,t[108]=v,t[109]=B,t[110]=T,t[111]=X,t[112]=re,t[113]=ae,t[114]=se,t[115]=le,t[116]=Z,t[117]=de,t[118]=Se,t[119]=te,t[120]=Ce):Ce=t[120];let we=Ce,Te;return t[121]!==we||t[122]!==M?(Te=M?(0,q.jsx)(AE,{asChild:!0,children:we}):we,t[121]=we,t[122]=M,t[123]=Te):Te=t[123],Te}var jD=Qd;function MD(e){let t=(0,Q.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({label:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let[i]=Mp(),a=n??i.ToastProvider.label,o;return t[3]!==a||t[4]!==r?(o=(0,q.jsx)(Nd,{label:a,...r}),t[3]=a,t[4]=r,t[5]=o):o=t[5],o}function ND(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`toast__title`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(Zd,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function PD(e){let t=(0,Q.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({position:a,label:r,className:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`right`:a,s=ap(),[c]=Mp(),l=r??c.ToastViewport.label,u;t[5]!==n||t[6]!==s?(u=$(s(`toast__viewport`),n),t[5]=n,t[6]=s,t[7]=u):u=t[7];let d;return t[8]!==l||t[9]!==i||t[10]!==o||t[11]!==u?(d=(0,q.jsx)(Zv,{zIndex:`toast`,reset:!0,children:(0,q.jsx)(Rd,{label:l,className:u,"data-position":o,...i})}),t[8]=l,t[9]=i,t[10]=o,t[11]=u,t[12]=d):d=t[12],d}function FD(e){let t=(0,Q.c)(14),{children:n}=e,r=(0,b.useRef)(0),i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={},t[0]=i):i=t[0];let[a,o]=(0,b.useState)(i),s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=(e,t)=>{let n=t===void 0?{}:t,i=r.current,a=i++;r.current=i;let s=a;return o(t=>({...t,[s]:{open:!0,description:e,...n}})),s},t[1]=s):s=t[1];let c=s,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=e=>{e!=null&&o(t=>e in t&&t[e].open?Object.entries(t).reduce((t,n)=>{let[r,i]=n,a=+r;return t[a]=a===e?{...i,open:!1}:i,t},{}):t)},t[2]=l):l=t[2];let u=l,d;t[3]===a?d=t[4]:(d=e=>{a[e].open||o(t=>{let n={...t};return delete n[e],n})},t[3]=a,t[4]=d);let f=d,p;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(p={addToast:c,removeToast:u},t[5]=p):p=t[5];let m;t[6]===a?m=t[7]:(m=Object.entries(a),t[6]=a,t[7]=m);let h;t[8]!==f||t[9]!==m?(h=m.map(e=>{let[t,n]=e,{title:r,description:i,htmlTitle:a,rootProps:o,titleProps:s,descriptionProps:c,...l}=n;return(0,q.jsxs)(AD,{title:a,onOpenChange:e=>!e&&u(+t),rootProps:{...o,onAnimationEnd:e=>{o?.onAnimationEnd?.(e),f(+t)}},...l,children:[r&&(0,q.jsx)(ND,{...s,children:r}),(0,q.jsx)(jD,{...c,children:i})]},t)}),t[8]=f,t[9]=m,t[10]=h):h=t[10];let g;return t[11]!==n||t[12]!==h?(g=(0,q.jsxs)(OD,{value:p,children:[n,h]}),t[11]=n,t[12]=h,t[13]=g):g=t[13],g}function ID(){let e=(0,b.useContext)(OD);if(!e)throw Error(`Toast manager context not in scope.`);return e}var LD;function RD(e){LD??=new Set,LD.has(e)||(console.warn(e),LD.add(e))}var zD=(0,b.createContext)(!1);function BD(){return(0,b.useContext)(zD)}function VD(e){let t=(0,Q.c)(55),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({p:r,py:l,px:c,pt:s,pr:o,pb:i,pl:a,...n}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=hp(),d;t[9]!==r||t[10]!==s||t[11]!==l?(d=pp(r,pp(l,s)),t[9]=r,t[10]=s,t[11]=l,t[12]=d):d=t[12];let f=d,p;t[13]!==r||t[14]!==o||t[15]!==c?(p=pp(r,pp(c,o)),t[13]=r,t[14]=o,t[15]=c,t[16]=p):p=t[16];let m=p,h;t[17]!==r||t[18]!==i||t[19]!==l?(h=pp(r,pp(l,i)),t[17]=r,t[18]=i,t[19]=l,t[20]=h):h=t[20];let g=h,_;t[21]!==r||t[22]!==a||t[23]!==c?(_=pp(r,pp(c,a)),t[21]=r,t[22]=a,t[23]=c,t[24]=_):_=t[24];let v=_,y;t[25]===u?y=t[26]:(y=e=>typeof e==`number`?u(e):e,t[25]=u,t[26]=y);let b=y,x=lp(``,`pt`,f,b),S=lp(``,`pr`,m,b),C=lp(``,`pb`,g,b),w=lp(``,`pl`,v,b),T;t[27]!==C.cssVars||t[28]!==w.cssVars||t[29]!==S.cssVars||t[30]!==x.cssVars?(T={...x.cssVars,...S.cssVars,...C.cssVars,...w.cssVars},t[27]=C.cssVars,t[28]=w.cssVars,t[29]=S.cssVars,t[30]=x.cssVars,t[31]=T):T=t[31];let E;t[32]===f?E=t[33]:(E=f!=null&&{"data-has-pt":``},t[32]=f,t[33]=E);let D;t[34]===m?D=t[35]:(D=m!=null&&{"data-has-pr":``},t[34]=m,t[35]=D);let O;t[36]===g?O=t[37]:(O=g!=null&&{"data-has-pb":``},t[36]=g,t[37]=O);let k;t[38]===v?k=t[39]:(k=v!=null&&{"data-has-pl":``},t[38]=v,t[39]=k);let A;t[40]!==C.dataAttrs||t[41]!==w.dataAttrs||t[42]!==S.dataAttrs||t[43]!==x.dataAttrs||t[44]!==k||t[45]!==E||t[46]!==D||t[47]!==O?(A={...E,...x.dataAttrs,...D,...S.dataAttrs,...O,...C.dataAttrs,...k,...w.dataAttrs},t[40]=C.dataAttrs,t[41]=w.dataAttrs,t[42]=S.dataAttrs,t[43]=x.dataAttrs,t[44]=k,t[45]=E,t[46]=D,t[47]=O,t[48]=A):A=t[48];let j;t[49]!==A||t[50]!==T?(j={cssVars:T,dataAttrs:A},t[49]=A,t[50]=T,t[51]=j):j=t[51];let M;return t[52]!==n||t[53]!==j?(M={paddingProps:j,...n},t[52]=n,t[53]=j,t[54]=M):M=t[54],M}function HD(e){let t=(0,Q.c)(46),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({width:c,minWidth:o,maxWidth:i,height:n,minHeight:a,maxHeight:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=UD,u=lp(``,`w`,c,l),d=lp(``,`min-w`,o,l),f=lp(``,`max-w`,i,l),p=lp(``,`h`,n,l),m=lp(``,`min-h`,a,l),h=lp(``,`max-h`,r,l),g;t[8]!==p.cssVars||t[9]!==h.cssVars||t[10]!==f.cssVars||t[11]!==m.cssVars||t[12]!==d.cssVars||t[13]!==u.cssVars?(g={...u.cssVars,...d.cssVars,...f.cssVars,...p.cssVars,...m.cssVars,...h.cssVars},t[8]=p.cssVars,t[9]=h.cssVars,t[10]=f.cssVars,t[11]=m.cssVars,t[12]=d.cssVars,t[13]=u.cssVars,t[14]=g):g=t[14];let _;t[15]===c?_=t[16]:(_=c!=null&&{"data-has-w":``},t[15]=c,t[16]=_);let v;t[17]===o?v=t[18]:(v=o!=null&&{"data-has-min-w":``},t[17]=o,t[18]=v);let y;t[19]===i?y=t[20]:(y=i!=null&&{"data-has-max-w":``},t[19]=i,t[20]=y);let b;t[21]===n?b=t[22]:(b=n!=null&&{"data-has-h":``},t[21]=n,t[22]=b);let x;t[23]===a?x=t[24]:(x=a!=null&&{"data-has-min-h":``},t[23]=a,t[24]=x);let S;t[25]===r?S=t[26]:(S=r!=null&&{"data-has-max-h":``},t[25]=r,t[26]=S);let C;t[27]!==p.dataAttrs||t[28]!==h.dataAttrs||t[29]!==f.dataAttrs||t[30]!==m.dataAttrs||t[31]!==d.dataAttrs||t[32]!==_||t[33]!==v||t[34]!==y||t[35]!==b||t[36]!==x||t[37]!==S||t[38]!==u.dataAttrs?(C={..._,...u.dataAttrs,...v,...d.dataAttrs,...y,...f.dataAttrs,...b,...p.dataAttrs,...x,...m.dataAttrs,...S,...h.dataAttrs},t[27]=p.dataAttrs,t[28]=h.dataAttrs,t[29]=f.dataAttrs,t[30]=m.dataAttrs,t[31]=d.dataAttrs,t[32]=_,t[33]=v,t[34]=y,t[35]=b,t[36]=x,t[37]=S,t[38]=u.dataAttrs,t[39]=C):C=t[39];let w;t[40]!==g||t[41]!==C?(w={cssVars:g,dataAttrs:C},t[40]=g,t[41]=C,t[42]=w):w=t[42];let T;return t[43]!==s||t[44]!==w?(T={sizingProps:w,...s},t[43]=s,t[44]=w,t[45]=T):T=t[45],T}function UD(e){return typeof e==`number`?`${e}px`:e}function WD(e){let t=(0,Q.c)(26),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({as:a,asChild:n,style:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`div`:a,s=gp(r),c,l;t[5]===s?(c=t[6],l=t[7]):({marginProps:c,...l}=s,t[5]=s,t[6]=c,t[7]=l);let u=VD(l),d,f;t[8]===u?(d=t[9],f=t[10]):({paddingProps:f,...d}=u,t[8]=u,t[9]=d,t[10]=f);let p=HD(d),m,h;t[11]===p?(m=t[12],h=t[13]):({sizingProps:h,...m}=p,t[11]=p,t[12]=m,t[13]=h);let g=n?_p:o,_;t[14]!==c.cssVars||t[15]!==f.cssVars||t[16]!==h.cssVars||t[17]!==i?(_={...c.cssVars,...f.cssVars,...h.cssVars,...i},t[14]=c.cssVars,t[15]=f.cssVars,t[16]=h.cssVars,t[17]=i,t[18]=_):_=t[18];let v;return t[19]!==g||t[20]!==c.dataAttrs||t[21]!==m||t[22]!==f.dataAttrs||t[23]!==h.dataAttrs||t[24]!==_?(v=(0,q.jsx)(g,{style:_,...c.dataAttrs,...f.dataAttrs,...h.dataAttrs,...m}),t[19]=g,t[20]=c.dataAttrs,t[21]=m,t[22]=f.dataAttrs,t[23]=h.dataAttrs,t[24]=_,t[25]=v):v=t[25],v}var GD=(0,b.createContext)(null);function KD({children:e,didCatch:t,error:n,resetErrorBoundary:r}){let i=(0,b.useMemo)(()=>({didCatch:t,error:n,resetErrorBoundary:r}),[t,n,r]);return(0,b.createElement)(GD.Provider,{value:i},e)}var qD={didCatch:!1,error:null},JD=class extends b.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=qD}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){let{didCatch:t}=this.state;t&&(this.props.onReset?.({args:e,reason:`imperative-api`}),this.setState(qD))}componentDidCatch(e,t){this.props.onError?.(e,t)}componentDidUpdate(e,t){let{didCatch:n}=this.state,{resetKeys:r}=this.props;n&&t.didCatch&&YD(e.resetKeys,r)&&(this.props.onReset?.({next:r,prev:e.resetKeys,reason:`keys`}),this.setState(qD))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:i,error:a}=this.state,o=e;if(i){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof t==`function`)o=t(e);else if(n)o=(0,b.createElement)(n,e);else if(`fallback`in this.props)o=r;else throw a}return(0,b.createElement)(KD,{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary},o)}};function YD(e=[],t=[]){return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}var XD=(0,b.createContext)(null);function ZD(){let e=(0,b.useContext)(XD);if(!e)throw Error(`Collapsible context not in scope.`);return e}function QD(e){let t=(0,Q.c)(24),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({defaultOpen:i,open:r,onOpenChange:a,orientation:s,className:n,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=s===void 0?`vertical`:s,l=ap(),[u,d]=Ap(i??!1,r),f;t[7]!==u||t[8]!==c?(f={open:u,orientation:c},t[7]=u,t[8]=c,t[9]=f):f=t[9];let p;t[10]!==a||t[11]!==d?(p=[a,d],t[10]=a,t[11]=d,t[12]=p):p=t[12];let m=Dp(p),h;t[13]!==n||t[14]!==l?(h=$(l(`collapsible`),n),t[13]=n,t[14]=l,t[15]=h):h=t[15];let g;t[16]!==u||t[17]!==o||t[18]!==m||t[19]!==h?(g=(0,q.jsx)(mt,{open:u,onOpenChange:m,className:h,...o}),t[16]=u,t[17]=o,t[18]=m,t[19]=h,t[20]=g):g=t[20];let _;return t[21]!==f||t[22]!==g?(_=(0,q.jsx)(XD,{value:f,children:g}),t[21]=f,t[22]=g,t[23]=_):_=t[23],_}function $D(e){let t=(0,Q.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),{orientation:a}=ZD(),o;t[3]!==n||t[4]!==i?(o=$(i(`collapsible__content`),n),t[3]=n,t[4]=i,t[5]=o):o=t[5];let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,q.jsx)(vt,{className:o,...r,"data-orientation":a}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}function eO(e){let t=(0,Q.c)(12),{children:n,...r}=e,i=ap(),[a]=Mp(),{open:o,orientation:s}=ZD();if(n!==void 0){let e;return t[0]!==n||t[1]!==o?(e=typeof n==`function`?n(o):n,t[0]=n,t[1]=o,t[2]=e):e=t[2],(0,q.jsx)(gt,{...r,asChild:!0,children:e})}let{icon:c,expandIcon:l,collapseIcon:u,label:d,expandLabel:f,collapseLabel:p,className:m,...h}=r,g=l??c??(s===`horizontal`?Ey:Ry),_=u??c??(s===`horizontal`?_y:Xy),v=f??d??a.CollapsibleTrigger.expandLabel,y=p??d??a.CollapsibleTrigger.collapseLabel,b=ot,x=JE,S=$(i(`collapsible__trigger`),m),C=o?_:g,w=o?y:v,T;t[3]!==x||t[4]!==h||t[5]!==S||t[6]!==C||t[7]!==w?(T=(0,q.jsx)(x,{variant:`ghost`,className:S,...h,icon:C,label:w}),t[3]=x,t[4]=h,t[5]=S,t[6]=C,t[7]=w,t[8]=T):T=t[8];let E;return t[9]!==b.Trigger||t[10]!==T?(E=(0,q.jsx)(b.Trigger,{asChild:!0,children:T}),t[9]=b.Trigger,t[10]=T,t[11]=E):E=t[11],E}var tO=(0,b.createContext)(null);function nO(){let e=(0,b.useContext)(tO);if(!e)throw Error(`Alert context not in scope.`);return e}var rO={neutral:null,info:$y,success:Ly,danger:Dy,warning:By};function iO(e){let t=(0,Q.c)(81),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21]):({variant:v,severity:y,announce:x,defaultOpen:S,open:p,onOpenChange:f,icon:C,showCloseButton:g,action:n,containerProps:l,iconProps:d,contentProps:u,actionContainerProps:r,closeButtonProps:c,children:o,className:s,style:_,role:h,"aria-label":i,"aria-labelledby":a,...m}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C);let w=v===void 0?`subtle`:v,T=y===void 0?`info`:y,E=x===void 0?`off`:x,D=S===void 0||S,O=C===void 0?rO[T]:C,k=ap(),A=gp(m),j,M;t[22]===A?(j=t[23],M=t[24]):({marginProps:j,...M}=A,t[22]=A,t[23]=j,t[24]=M);let[N,P]=(0,b.useState)(),F=T===`info`?`primary`:T,I=h??(E===`assertive`?`alert`:E===`polite`?`status`:void 0),L;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(L={setTitleId:P},t[25]=L):L=t[25];let R;t[26]!==l?.className||t[27]!==k?(R=$(k(`alert__container`),l?.className),t[26]=l?.className,t[27]=k,t[28]=R):R=t[28];let z;t[29]===F?z=t[30]:(z={defaultColor:F,defaultVariant:`alert`},t[29]=F,t[30]=z);let B;t[31]!==s||t[32]!==k||t[33]!==w?(B=$(k(`alert`),k(`alert--${w}`),s),t[31]=s,t[32]=k,t[33]=w,t[34]=B):B=t[34];let V;t[35]!==j.cssVars||t[36]!==_?(V={...j.cssVars,..._},t[35]=j.cssVars,t[36]=_,t[37]=V):V=t[37];let H=a??(i===void 0&&(I===`alert`||I===`status`)?N:void 0),ee=j.dataAttrs,U;t[38]!==O||t[39]!==d||t[40]!==k?(U=O&&(0,q.jsx)(jE,{size:`lg`,...d,className:$(k(`alert__icon`),d?.className),icon:O}),t[38]=O,t[39]=d,t[40]=k,t[41]=U):U=t[41];let W;t[42]!==u?.className||t[43]!==k?(W=$(k(`alert__content`),u?.className),t[42]=u?.className,t[43]=k,t[44]=W):W=t[44];let G;t[45]!==o||t[46]!==u||t[47]!==W?(G=(0,q.jsx)(`div`,{...u,className:W,children:o}),t[45]=o,t[46]=u,t[47]=W,t[48]=G):G=t[48];let K;t[49]!==F||t[50]!==n||t[51]!==r||t[52]!==c||t[53]!==k||t[54]!==g||t[55]!==w?(K=(n||g)&&(0,q.jsxs)(`div`,{...r,className:$(k(`alert__action-container`),r?.className),children:[n,g&&(0,q.jsx)(eO,{children:(0,q.jsx)(YE,{color:w===`solid`?`neutral`:F,...c,className:$(k(`alert__close-button`),c?.className)})})]}),t[49]=F,t[50]=n,t[51]=r,t[52]=c,t[53]=k,t[54]=g,t[55]=w,t[56]=K):K=t[56];let J;t[57]!==F||t[58]!==I||t[59]!==i||t[60]!==j.dataAttrs||t[61]!==M||t[62]!==B||t[63]!==V||t[64]!==H||t[65]!==U||t[66]!==G||t[67]!==K?(J=(0,q.jsxs)(`div`,{className:B,style:V,"data-accent":F,role:I,"aria-label":i,"aria-labelledby":H,...ee,...M,children:[U,G,K]}),t[57]=F,t[58]=I,t[59]=i,t[60]=j.dataAttrs,t[61]=M,t[62]=B,t[63]=V,t[64]=H,t[65]=U,t[66]=G,t[67]=K,t[68]=J):J=t[68];let te;t[69]!==J||t[70]!==z?(te=(0,q.jsx)(xv,{value:z,children:J}),t[69]=J,t[70]=z,t[71]=te):te=t[71];let Y;t[72]!==l||t[73]!==te||t[74]!==R?(Y=(0,q.jsx)($D,{...l,className:R,children:te}),t[72]=l,t[73]=te,t[74]=R,t[75]=Y):Y=t[75];let X;return t[76]!==D||t[77]!==f||t[78]!==p||t[79]!==Y?(X=(0,q.jsx)(tO,{value:L,children:(0,q.jsx)(QD,{defaultOpen:D,open:p,onOpenChange:f,asChild:!0,children:Y})}),t[76]=D,t[77]=f,t[78]=p,t[79]=Y,t[80]=X):X=t[80],X}function aO(e){let t=(0,Q.c)(26),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({as:s,asChild:n,id:i,className:r,ref:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=s===void 0?`div`:s,l=ap(),u=(0,b.useId)(),d;t[7]!==u||t[8]!==i||t[9]!==l?(d=i??l(`alert-title-${u}`),t[7]=u,t[8]=i,t[9]=l,t[10]=d):d=t[10];let f=d,{setTitleId:p}=nO(),m;t[11]!==f||t[12]!==p?(m=e=>{p(e?f:void 0)},t[11]=f,t[12]=p,t[13]=m):m=t[13];let h=m,g=n?_p:c,_;t[14]!==r||t[15]!==l?(_=$(l(`alert__title`),r),t[14]=r,t[15]=l,t[16]=_):_=t[16];let v=o,y;t[17]!==v||t[18]!==h?(y=[h,v],t[17]=v,t[18]=h,t[19]=y):y=t[19];let x=Dp(y),S;return t[20]!==g||t[21]!==f||t[22]!==a||t[23]!==_||t[24]!==x?(S=(0,q.jsx)(g,{id:f,className:_,...a,ref:x}),t[20]=g,t[21]=f,t[22]=a,t[23]=_,t[24]=x,t[25]=S):S=t[25],S}function oO(e){let t=(0,Q.c)(28),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({asChild:n,color:o,className:r,style:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0?`neutral`:o,c=ap(),l=gp(i),u,d;t[6]===l?(u=t[7],d=t[8]):({marginProps:u,...d}=l,t[6]=l,t[7]=u,t[8]=d);let f=DE(d),p,m;t[9]===f?(p=t[10],m=t[11]):({textProps:m,...p}=f,t[9]=f,t[10]=p,t[11]=m);let h=n?_p:`code`,g;t[12]!==r||t[13]!==c?(g=$(c(`code`),r),t[12]=r,t[13]=c,t[14]=g):g=t[14];let _=n?`code`:void 0,v;t[15]!==u.cssVars||t[16]!==a||t[17]!==m.cssVars?(v={...u.cssVars,...m.cssVars,...a},t[15]=u.cssVars,t[16]=a,t[17]=m.cssVars,t[18]=v):v=t[18];let y;return t[19]!==h||t[20]!==s||t[21]!==u.dataAttrs||t[22]!==p||t[23]!==g||t[24]!==_||t[25]!==v||t[26]!==m.dataAttrs?(y=(0,q.jsx)(h,{className:g,role:_,style:v,"data-accent":s,...u.dataAttrs,...m.dataAttrs,...p}),t[19]=h,t[20]=s,t[21]=u.dataAttrs,t[22]=p,t[23]=g,t[24]=_,t[25]=v,t[26]=m.dataAttrs,t[27]=y):y=t[27],y}function sO(e){let t=(0,Q.c)(29),n,r,i,a,o,s,c,l,u,d;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10]):({fallback:r,showError:u,showResetButton:d,fallbackTitle:a,fallbackMessage:n,onError:o,resetButtonLabel:c,fallbackProps:i,resetButtonProps:l,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d);let f=u!==void 0&&u,p=d===void 0||d,[m]=Mp(),h=a??m.ErrorBoundary.fallbackTitle,g=n??m.ErrorBoundary.fallbackMessage,_=c??m.ErrorBoundary.resetButtonLabel,v=DD(),y;t[11]!==g||t[12]!==r||t[13]!==i||t[14]!==h||t[15]!==_||t[16]!==l||t[17]!==f||t[18]!==p?(y=r??(e=>{let{error:t,resetErrorBoundary:n}=e;return(0,q.jsxs)(iO,{severity:`danger`,...i,action:p&&(0,q.jsx)(JE,{variant:`ghost`,color:`danger`,icon:Gy,...l,label:_,onClick:e=>{l?.onClick?.(e),e.defaultPrevented||n()}}),children:[(!f||!(t instanceof Error))&&(0,q.jsxs)(q.Fragment,{children:[h&&(0,q.jsx)(aO,{children:typeof h==`function`?h(t):h}),typeof g==`function`?g(t):g]}),f&&t instanceof Error&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(aO,{children:t.name}),t.message,(0,q.jsx)(`pre`,{children:(0,q.jsx)(oO,{color:`danger`,children:t.stack})})]})]})}),t[11]=g,t[12]=r,t[13]=i,t[14]=h,t[15]=_,t[16]=l,t[17]=f,t[18]=p,t[19]=y):y=t[19];let x=y,S;t[20]===x?S=t[21]:(S=(0,b.isValidElement)(x)?{FallbackComponent:x}:typeof x==`function`?{fallbackRender:x}:{fallback:x},t[20]=x,t[21]=S);let C=S,w;t[22]!==o||t[23]!==v?(w=[v,o],t[22]=o,t[23]=v,t[24]=w):w=t[24];let T=Dp(w),E=C,D;return t[25]!==s||t[26]!==T||t[27]!==E?(D=(0,q.jsx)(JD,{onError:T,...E,...s}),t[25]=s,t[26]=T,t[27]=E,t[28]=D):D=t[28],D}function cO(e){let t=(0,Q.c)(23),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({asChild:n,includeErrorBoundary:o,errorBoundaryProps:a,className:i,children:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=ap(),[l]=Mp(),u;t[7]===a?u=t[8]:(u=e=>(0,q.jsx)(sO,{...a,children:e}),t[7]=a,t[8]=u);let d=u,f=l.languageTag,p;t[9]!==i||t[10]!==c?(p=$(c(`root`),i),t[9]=i,t[10]=c,t[11]=p):p=t[11];let m;t[12]!==n||t[13]!==r||t[14]!==d||t[15]!==o?(m=o?n?(0,b.cloneElement)(r,void 0,d(r.props.children)):d(r):r,t[12]=n,t[13]=r,t[14]=d,t[15]=o,t[16]=m):m=t[16];let h;return t[17]!==n||t[18]!==l.languageTag||t[19]!==s||t[20]!==p||t[21]!==m?(h=(0,q.jsx)(WD,{asChild:n,lang:f,className:p,...s,children:m}),t[17]=n,t[18]=l.languageTag,t[19]=s,t[20]=p,t[21]=m,t[22]=h):h=t[22],h}function lO(e){let t=(0,Q.c)(61),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],b=t[19],x=t[20],S=t[21],C=t[22],w=t[23],T=t[24],E=t[25],D=t[26],O=t[27],k=t[28]):({prefix:h,enableErrorReporting:c,reportError:y,errorReportingUrl:m,errorReportingMethod:f,encodeErrorReport:l,encodedErrorReportMimeType:u,errorReportingOptions:p,defaultLocale:i,locale:r,onLocaleChange:g,baseDocumentTitle:n,documentTitleBaseSeparator:o,documentTitleBreadcrumbsSeparator:s,portalsContainer:v,tooltipsDelayDuration:O,tooltipsSkipDelayDuration:k,disableTooltipsHoverableContent:a,toastsLabel:T,toastsDuration:w,toastsSwipeThreshold:D,toastViewportPosition:S,toastsSwipeDirection:E,toastViewportHotkey:b,toastViewportLabel:x,toastViewportProps:C,errorBoundaryProps:d,..._}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=b,t[20]=x,t[21]=S,t[22]=C,t[23]=w,t[24]=T,t[25]=E,t[26]=D,t[27]=O,t[28]=k);let A=BD(),j=E??(S===`left`?`left`:void 0),M={enableErrorReporting:c,reportError:y,errorReportingUrl:m,errorReportingMethod:f,encodeErrorReport:l,encodedErrorReportMimeType:u,errorReportingOptions:p,baseDocumentTitle:n,documentTitleBaseSeparator:o,documentTitleBreadcrumbsSeparator:s,portalsContainer:v,tooltipsDelayDuration:O,tooltipsSkipDelayDuration:k,disableTooltipsHoverableContent:a,toastsLabel:T,toastsDuration:w,toastsSwipeDirection:j,toastsSwipeThreshold:D,toastViewportPosition:S,toastViewportHotkey:b,toastViewportLabel:x,toastViewportProps:C,errorBoundaryProps:d};A&&Object.values(M).some(dO)&&RD(`Root: Properties ${Object.keys(M).map(uO).join(`, `)} have no effect in nested \`Root\` components. Please set any of these properties on the top-most \`Root\` component instead.`);let N=!A,P;t[29]!==_||t[30]!==N?(P=(0,q.jsx)(cO,{includeErrorBoundary:N,..._}),t[29]=_,t[30]=N,t[31]=P):P=t[31];let F=P,I;return t[32]!==n||t[33]!==r||t[34]!==i||t[35]!==a||t[36]!==o||t[37]!==s||t[38]!==c||t[39]!==l||t[40]!==u||t[41]!==f||t[42]!==p||t[43]!==m||t[44]!==A||t[45]!==h||t[46]!==g||t[47]!==v||t[48]!==y||t[49]!==F||t[50]!==b||t[51]!==x||t[52]!==S||t[53]!==C||t[54]!==w||t[55]!==T||t[56]!==j||t[57]!==D||t[58]!==O||t[59]!==k?(I=A?(0,q.jsx)(ip,{prefix:h,children:(0,q.jsx)(jp,{defaultLocale:i,locale:r,onLocaleChange:g,children:F})}):(0,q.jsx)(zD,{value:!0,children:(0,q.jsx)(ip,{prefix:h,children:(0,q.jsx)(TD,{enabled:c,reportError:y,errorReportingUrl:m,errorReportingMethod:f,encodeErrorReport:l,encodedErrorReportMimeType:u,errorReportingOptions:p,children:(0,q.jsx)(jp,{defaultLocale:i,locale:r,onLocaleChange:g,children:(0,q.jsx)(bD,{baseDocumentTitle:n,baseSeparator:o,breadcrumbsSeparator:s,children:(0,q.jsx)(ey,{value:{container:v},children:(0,q.jsx)(qE,{delayDuration:O,skipDelayDuration:k,disableHoverableContent:a,children:(0,q.jsx)(MD,{label:T,duration:w,swipeDirection:j,swipeThreshold:D,children:(0,q.jsx)(FD,{children:(0,q.jsxs)(lD,{children:[F,(0,q.jsx)(ny,{container:v,asChild:!0,children:(0,q.jsx)(PD,{position:S,hotkey:b,label:x,...C})})]})})})})})})})})})}),t[32]=n,t[33]=r,t[34]=i,t[35]=a,t[36]=o,t[37]=s,t[38]=c,t[39]=l,t[40]=u,t[41]=f,t[42]=p,t[43]=m,t[44]=A,t[45]=h,t[46]=g,t[47]=v,t[48]=y,t[49]=F,t[50]=b,t[51]=x,t[52]=S,t[53]=C,t[54]=w,t[55]=T,t[56]=j,t[57]=D,t[58]=O,t[59]=k,t[60]=I):I=t[60],I}function uO(e){return`\`${e}\``}function dO(e){return e!==void 0}var fO=Nl,pO=(0,b.createContext)({iconPlacement:`start`,variant:`subtle`});function mO(){return(0,b.useContext)(pO)}function hO(e){let t=(0,Q.c)(29),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({asChild:n,variant:o,iconPlacement:s,className:r,style:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=o===void 0?`solid`:o,l=s===void 0?`start`:s,u=ap(),d=gp(i),f,p;t[7]===d?(f=t[8],p=t[9]):({marginProps:f,...p}=d,t[7]=d,t[8]=f,t[9]=p);let m=n?_p:`ul`,h;t[10]!==l||t[11]!==c?(h={iconPlacement:l,variant:c},t[10]=l,t[11]=c,t[12]=h):h=t[12];let g;t[13]!==r||t[14]!==u||t[15]!==c?(g=$(u(`menu-list`),u(`menu-list--${c}`),r),t[13]=r,t[14]=u,t[15]=c,t[16]=g):g=t[16];let _;t[17]!==f.cssVars||t[18]!==a?(_={...f.cssVars,...a},t[17]=f.cssVars,t[18]=a,t[19]=_):_=t[19];let v;t[20]!==m||t[21]!==f.dataAttrs||t[22]!==p||t[23]!==g||t[24]!==_?(v=(0,q.jsx)(m,{className:g,style:_,...f.dataAttrs,...p}),t[20]=m,t[21]=f.dataAttrs,t[22]=p,t[23]=g,t[24]=_,t[25]=v):v=t[25];let y;return t[26]!==h||t[27]!==v?(y=(0,q.jsx)(pO,{value:h,children:v}),t[26]=h,t[27]=v,t[28]=y):y=t[28],y}function gO(e){let t=(0,Q.c)(37),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({asChild:n,label:s,itemAs:a,className:i,itemProps:o,labelProps:c,children:r,...l}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=ap(),d=(0,b.useId)(),f;t[9]!==d||t[10]!==s||t[11]!==c?.id||t[12]!==u?(f=s==null?void 0:c?.id??u(`menu-list-group-label-${d}`),t[9]=d,t[10]=s,t[11]=c?.id,t[12]=u,t[13]=f):f=t[13];let p=f,m=a??(n?`div`:`li`),h=n?_p:`ul`,g;t[14]!==o?.className||t[15]!==u?(g=$(u(`menu-list__group-item`),o?.className),t[14]=o?.className,t[15]=u,t[16]=g):g=t[16];let _;t[17]!==s||t[18]!==p||t[19]!==c||t[20]!==u?(_=s!=null&&(0,q.jsx)(`div`,{...c,id:p,className:$(u(`menu-list__group-label`),c?.className),children:s}),t[17]=s,t[18]=p,t[19]=c,t[20]=u,t[21]=_):_=t[21];let v;t[22]!==i||t[23]!==u?(v=$(u(`menu-list__group`),i),t[22]=i,t[23]=u,t[24]=v):v=t[24];let y;t[25]!==h||t[26]!==r||t[27]!==p||t[28]!==l||t[29]!==v?(y=(0,q.jsx)(h,{"aria-labelledby":p,className:v,...l,children:r}),t[25]=h,t[26]=r,t[27]=p,t[28]=l,t[29]=v,t[30]=y):y=t[30];let x;return t[31]!==m||t[32]!==o||t[33]!==g||t[34]!==_||t[35]!==y?(x=(0,q.jsxs)(m,{...o,className:g,children:[_,y]}),t[31]=m,t[32]=o,t[33]=g,t[34]=_,t[35]=y,t[36]=x):x=t[36],x}function _O(e){let t=(0,Q.c)(107),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24]):({asChild:i,type:C,selected:x,onSelect:_,color:s,disabled:l,loading:h,loadingContent:g,showSpinner:w,icon:T,iconPlacement:d,keybinds:p,href:u,target:E,rel:y,actionProps:n,contentProps:c,iconProps:f,spinnerProps:S,keybindsProps:m,className:o,children:a,"aria-disabled":r,...v}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E);let D=C===void 0?`button`:C,O=w===void 0?h:w,k=T===void 0?null:T,A=ap(),j=mO(),M=j.variant,N=d??j.iconPlacement,P=h||r===`true`||r===!0,F;t[25]!==l||t[26]!==_||t[27]!==P?(F=e=>{l||P?e.preventDefault():_?.(e)},t[25]=l,t[26]=_,t[27]=P,t[28]=F):F=t[28];let I=F,L;t[29]!==k||t[30]!==N||t[31]!==f||t[32]!==A||t[33]!==O?(L=k&&!O&&(0,q.jsx)(_p,{className:$(A(`menu-list__item-icon`),A(`menu-list__item-icon--${N}`),f?.className),children:(0,b.isValidElement)(k)?k:(0,q.jsx)(jE,{icon:k,...f})}),t[29]=k,t[30]=N,t[31]=f,t[32]=A,t[33]=O,t[34]=L):L=t[34];let R=L,z;t[35]!==N||t[36]!==A||t[37]!==O||t[38]!==S?(z=O&&(0,q.jsx)(GE,{...S,className:$(A(`menu-list__item-spinner`),A(`menu-list__item-spinner--${N}`),S?.className)}),t[35]=N,t[36]=A,t[37]=O,t[38]=S,t[39]=z):z=t[39];let B=z,V=D===`button`?`button`:D===`link`?`a`:`div`,H=D===`button`?`button`:void 0,ee=D===`button`?l:void 0,U=D!==`button`&&l||P,W;t[40]===U?W=t[41]:(W=tb(U),t[40]=U,t[41]=W);let G=D===`button`&&P||D===`link`&&(l||P)||void 0,K;t[42]===O?K=t[43]:(K=tb(O),t[42]=O,t[43]=K);let J;t[44]===x?J=t[45]:(J=tb(x),t[44]=x,t[45]=J);let te;t[46]!==p||t[47]!==D?(te=D===`text`?void 0:xb(p),t[46]=p,t[47]=D,t[48]=te):te=t[48];let Y=D===`link`&&l?-1:void 0,X=n,ne=n?.onClick,re;t[49]!==I||t[50]!==ne?(re=[I,ne],t[49]=I,t[50]=ne,t[51]=re):re=t[51];let ie;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(ie={checkDefaultPrevented:!0},t[52]=ie):ie=t[52];let ae=Dp(re,ie),oe;t[53]!==n?.className||t[54]!==A||t[55]!==M?(oe=$(A(`menu-list__item-action`),A(`menu-list__item-action--${M}`),n?.className),t[53]=n?.className,t[54]=A,t[55]=M,t[56]=oe):oe=t[56];let se=N===`start`&&B,ce=N===`start`&&R,le;t[57]!==c?.className||t[58]!==A?(le=$(A(`menu-list__item-content`),c?.className),t[57]=c?.className,t[58]=A,t[59]=le):le=t[59];let ue=h&&g?g:i?a.props.children:a,Z;t[60]!==c||t[61]!==le||t[62]!==ue?(Z=(0,q.jsx)(`span`,{...c,className:le,children:ue}),t[60]=c,t[61]=le,t[62]=ue,t[63]=Z):Z=t[63];let de;t[64]!==p||t[65]!==m||t[66]!==A?(de=p&&(0,q.jsx)(WE,{"aria-hidden":!0,keybinds:p,limit:1,...m,className:$(A(`menu-list__item-keybinds`),m?.className)}),t[64]=p,t[65]=m,t[66]=A,t[67]=de):de=t[67];let fe=N===`end`&&R,pe=N===`end`&&B,me;t[68]!==V||t[69]!==s||t[70]!==u||t[71]!==y||t[72]!==W||t[73]!==G||t[74]!==K||t[75]!==J||t[76]!==te||t[77]!==Y||t[78]!==X||t[79]!==ae||t[80]!==oe||t[81]!==se||t[82]!==ce||t[83]!==Z||t[84]!==de||t[85]!==fe||t[86]!==pe||t[87]!==H||t[88]!==ee||t[89]!==E?(me=(0,q.jsxs)(V,{type:H,disabled:ee,"data-disabled":W,"aria-disabled":G,"data-spinning":K,"data-selected":J,"data-accent":s,href:u,target:E,rel:y,"aria-keyshortcuts":te,tabIndex:Y,...X,onClick:ae,className:oe,children:[se,ce,Z,de,fe,pe]}),t[68]=V,t[69]=s,t[70]=u,t[71]=y,t[72]=W,t[73]=G,t[74]=K,t[75]=J,t[76]=te,t[77]=Y,t[78]=X,t[79]=ae,t[80]=oe,t[81]=se,t[82]=ce,t[83]=Z,t[84]=de,t[85]=fe,t[86]=pe,t[87]=H,t[88]=ee,t[89]=E,t[90]=me):me=t[90];let he=me,ge=i?_p:`li`,_e;t[91]!==o||t[92]!==A?(_e=$(A(`menu-list__item`),o),t[91]=o,t[92]=A,t[93]=_e):_e=t[93];let ve;t[94]!==p||t[95]!==D?(ve=D===`text`?xb(p):void 0,t[94]=p,t[95]=D,t[96]=ve):ve=t[96];let ye;t[97]!==he||t[98]!==i||t[99]!==a?(ye=i?(0,b.cloneElement)(a,void 0,he):he,t[97]=he,t[98]=i,t[99]=a,t[100]=ye):ye=t[100];let be;return t[101]!==ge||t[102]!==v||t[103]!==_e||t[104]!==ve||t[105]!==ye?(be=(0,q.jsx)(ge,{className:_e,"aria-keyshortcuts":ve,...v,children:ye}),t[101]=ge,t[102]=v,t[103]=_e,t[104]=ve,t[105]=ye,t[106]=be):be=t[106],be}function vO(e){let t=(0,Q.c)(67),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],b=t[19],x=t[20],S=t[21]):({showCheckbox:S,defaultChecked:c,checked:s,onCheckedChange:_,onSelect:v,color:a,disabled:l,loading:h,loadingContent:g,showSpinner:b,iconPlacement:u,keybinds:p,actionProps:n,contentProps:o,iconProps:d,spinnerProps:x,keybindsProps:m,indicatorProps:f,className:i,"aria-disabled":r,...y}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=b,t[20]=x,t[21]=S);let C=S===void 0||S,w=ap(),T=h||r===`true`||r===!0,[E,D]=Ap(c??!1,s),O;t[22]!==_||t[23]!==D||t[24]!==T?(O=e=>{T||(_?.(e),D(e))},t[22]=_,t[23]=D,t[24]=T,t[25]=O):O=t[25];let k=O,A;t[26]!==v||t[27]!==T?(A=e=>{T?e.preventDefault():v?.(e)},t[26]=v,t[27]=T,t[28]=A):A=t[28];let j=A,M=!C,N;t[29]===M?N=t[30]:(N=tb(M),t[29]=M,t[30]=N);let P;t[31]!==E||t[32]!==f||t[33]!==w||t[34]!==C?(P=C?(0,q.jsx)(`div`,{className:w(`dropdown-menu__checkbox`),children:(0,q.jsx)(Wl,{asChild:!0,children:(0,q.jsx)(jE,{...f,icon:E===`indeterminate`?dy:My,className:$(w(`dropdown-menu__checkbox-indicator`),f?.className)})})}):null,t[31]=E,t[32]=f,t[33]=w,t[34]=C,t[35]=P):P=t[35];let F;t[36]!==i||t[37]!==w?(F=$(w(`dropdown-menu__checkbox-item`),i),t[36]=i,t[37]=w,t[38]=F):F=t[38];let I=l||T,L;t[39]===I?L=t[40]:(L=tb(I),t[39]=I,t[40]=L);let R=l||T,z;t[41]!==E||t[42]!==l||t[43]!==k||t[44]!==j||t[45]!==y||t[46]!==R||t[47]!==F||t[48]!==L?(z=(0,q.jsx)(Vl,{className:F,checked:E,onCheckedChange:k,onSelect:j,disabled:l,"data-disabled":L,"aria-disabled":R,...y}),t[41]=E,t[42]=l,t[43]=k,t[44]=j,t[45]=y,t[46]=R,t[47]=F,t[48]=L,t[49]=z):z=t[49];let B;return t[50]!==n||t[51]!==r||t[52]!==a||t[53]!==o||t[54]!==l||t[55]!==u||t[56]!==d||t[57]!==p||t[58]!==m||t[59]!==h||t[60]!==g||t[61]!==b||t[62]!==x||t[63]!==z||t[64]!==N||t[65]!==P?(B=(0,q.jsx)(_O,{asChild:!0,type:`text`,color:a,disabled:l,loading:h,loadingContent:g,showSpinner:b,iconPlacement:u,keybinds:p,actionProps:n,contentProps:o,"data-hide-control":N,icon:P,iconProps:d,spinnerProps:x,keybindsProps:m,"aria-disabled":r,children:z}),t[50]=n,t[51]=r,t[52]=a,t[53]=o,t[54]=l,t[55]=u,t[56]=d,t[57]=p,t[58]=m,t[59]=h,t[60]=g,t[61]=b,t[62]=x,t[63]=z,t[64]=N,t[65]=P,t[66]=B):B=t[66],B}function yO(e){let t=(0,Q.c)(49),n,r,i,a,o,s,c,l,u,d,f,p,m;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13]):({variant:m,iconPlacement:u,showArrow:d,sideOffset:f,collisionPadding:p,forceMount:a,className:i,style:l,portalProps:c,arrowProps:n,menuListProps:o,children:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m);let h=u===void 0?`end`:u,g=d===void 0||d,_=f===void 0?4:f,v=p===void 0?4:p,y=ap(),b=ty(),x=HD(s),S,C;t[14]===x?(S=t[15],C=t[16]):({sizingProps:C,...S}=x,t[14]=x,t[15]=S,t[16]=C);let w=b?.container,T;t[17]!==i||t[18]!==y?(T=$(y(`dropdown-menu`),i),t[17]=i,t[18]=y,t[19]=T):T=t[19];let E;t[20]!==C.cssVars||t[21]!==l?(E={...C.cssVars,...l},t[20]=C.cssVars,t[21]=l,t[22]=E):E=t[22];let D;t[23]!==n||t[24]!==y||t[25]!==g?(D=g&&(0,q.jsx)(Gl,{width:12,height:6,...n,className:$(y(`dropdown-menu__arrow`),n?.className)}),t[23]=n,t[24]=y,t[25]=g,t[26]=D):D=t[26];let O;t[27]!==r||t[28]!==D?(O=(0,q.jsxs)(`div`,{children:[r,D]}),t[27]=r,t[28]=D,t[29]=O):O=t[29];let k;t[30]!==h||t[31]!==o||t[32]!==O||t[33]!==m?(k=(0,q.jsx)(hO,{...o,variant:m,iconPlacement:h,asChild:!0,children:O}),t[30]=h,t[31]=o,t[32]=O,t[33]=m,t[34]=k):k=t[34];let A;t[35]!==v||t[36]!==a||t[37]!==S||t[38]!==_||t[39]!==C.dataAttrs||t[40]!==k||t[41]!==T||t[42]!==E?(A=(0,q.jsx)(lO,{asChild:!0,children:(0,q.jsx)(Zv,{zIndex:`dropdown`,children:(0,q.jsx)(Rl,{className:T,style:E,sideOffset:_,collisionPadding:v,forceMount:a,...C.dataAttrs,...S,children:k})})}),t[35]=v,t[36]=a,t[37]=S,t[38]=_,t[39]=C.dataAttrs,t[40]=k,t[41]=T,t[42]=E,t[43]=A):A=t[43];let j;return t[44]!==a||t[45]!==c||t[46]!==A||t[47]!==w?(j=(0,q.jsx)(Jv,{children:(0,q.jsx)(Il,{container:w,...c,forceMount:a,children:A})}),t[44]=a,t[45]=c,t[46]=A,t[47]=w,t[48]=j):j=t[48],j}function bO(e){let t=(0,Q.c)(17),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({label:i,itemProps:r,labelProps:a,className:n,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=ap(),c;t[6]!==n||t[7]!==s?(c=$(s(`dropdown-menu__group`),n),t[6]=n,t[7]=s,t[8]=c):c=t[8];let l;t[9]!==o||t[10]!==c?(l=(0,q.jsx)(zl,{className:c,...o}),t[9]=o,t[10]=c,t[11]=l):l=t[11];let u;return t[12]!==r||t[13]!==i||t[14]!==a||t[15]!==l?(u=(0,q.jsx)(gO,{label:i,itemProps:r,labelProps:a,asChild:!0,children:l}),t[12]=r,t[13]=i,t[14]=a,t[15]=l,t[16]=u):u=t[16],u}function xO(e){let t=(0,Q.c)(63),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],b=t[19],x=t[20],S=t[21],C=t[22]):({onSelect:_,asLink:i,selected:b,color:o,disabled:c,loading:h,loadingContent:g,showSpinner:x,icon:u,iconPlacement:d,keybinds:p,href:l,target:C,rel:y,actionProps:n,contentProps:s,iconProps:f,spinnerProps:S,keybindsProps:m,className:a,"aria-disabled":r,...v}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=b,t[20]=x,t[21]=S,t[22]=C);let w=ap(),T=h||r===`true`||r===!0,E;t[23]!==i||t[24]!==l||t[25]!==_||t[26]!==y||t[27]!==T||t[28]!==C?(E=e=>{T?e.preventDefault():(_?.(e),i&&!e.defaultPrevented&&window.open(l,C,y?.split(` `).join(`,`)))},t[23]=i,t[24]=l,t[25]=_,t[26]=y,t[27]=T,t[28]=C,t[29]=E):E=t[29];let D=E,O=i?`link`:`text`,k;t[30]!==a||t[31]!==w?(k=$(w(`dropdown-menu__item`),a),t[30]=a,t[31]=w,t[32]=k):k=t[32];let A=c||T,j;t[33]===A?j=t[34]:(j=tb(A),t[33]=A,t[34]=j);let M=c||T,N;t[35]!==c||t[36]!==D||t[37]!==v||t[38]!==k||t[39]!==j||t[40]!==M?(N=(0,q.jsx)(Bl,{className:k,onSelect:D,disabled:c,"data-disabled":j,"aria-disabled":M,...v}),t[35]=c,t[36]=D,t[37]=v,t[38]=k,t[39]=j,t[40]=M,t[41]=N):N=t[41];let P;return t[42]!==n||t[43]!==r||t[44]!==o||t[45]!==s||t[46]!==c||t[47]!==l||t[48]!==u||t[49]!==d||t[50]!==f||t[51]!==p||t[52]!==m||t[53]!==h||t[54]!==g||t[55]!==y||t[56]!==b||t[57]!==x||t[58]!==S||t[59]!==O||t[60]!==N||t[61]!==C?(P=(0,q.jsx)(_O,{asChild:!0,type:O,selected:b,color:o,disabled:c,loading:h,loadingContent:g,showSpinner:x,icon:u,iconPlacement:d,keybinds:p,href:l,target:C,rel:y,actionProps:n,contentProps:s,iconProps:f,spinnerProps:S,keybindsProps:m,"aria-disabled":r,children:N}),t[42]=n,t[43]=r,t[44]=o,t[45]=s,t[46]=c,t[47]=l,t[48]=u,t[49]=d,t[50]=f,t[51]=p,t[52]=m,t[53]=h,t[54]=g,t[55]=y,t[56]=b,t[57]=x,t[58]=S,t[59]=O,t[60]=N,t[61]=C,t[62]=P):P=t[62],P}function SO(e){let t=(0,Q.c)(17),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({label:i,itemProps:r,labelProps:a,className:n,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=ap(),c;t[6]!==n||t[7]!==s?(c=$(s(`dropdown-menu__radio-group`),n),t[6]=n,t[7]=s,t[8]=c):c=t[8];let l;t[9]!==o||t[10]!==c?(l=(0,q.jsx)(Hl,{className:c,...o}),t[9]=o,t[10]=c,t[11]=l):l=t[11];let u;return t[12]!==r||t[13]!==i||t[14]!==a||t[15]!==l?(u=(0,q.jsx)(gO,{label:i,itemProps:r,labelProps:a,asChild:!0,children:l}),t[12]=r,t[13]=i,t[14]=a,t[15]=l,t[16]=u):u=t[16],u}function CO(e){let t=(0,Q.c)(57),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18]):({showRadio:y,onSelect:h,color:a,disabled:s,loading:p,loadingContent:m,showSpinner:_,iconPlacement:c,keybinds:d,actionProps:n,contentProps:o,iconProps:l,spinnerProps:v,keybindsProps:f,indicatorProps:u,className:i,"aria-disabled":r,...g}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y);let b=y===void 0||y,x=ap(),S=p||r===`true`||r===!0,C;t[19]!==h||t[20]!==S?(C=e=>{S?e.preventDefault():h?.(e)},t[19]=h,t[20]=S,t[21]=C):C=t[21];let w=C,T=!b,E;t[22]===T?E=t[23]:(E=tb(T),t[22]=T,t[23]=E);let D;t[24]!==u||t[25]!==x||t[26]!==b?(D=b?(0,q.jsx)(`div`,{className:x(`dropdown-menu__radio`),children:(0,q.jsx)(Wl,{...u,className:$(x(`dropdown-menu__radio-indicator`),u?.className)})}):null,t[24]=u,t[25]=x,t[26]=b,t[27]=D):D=t[27];let O;t[28]!==i||t[29]!==x?(O=$(x(`dropdown-menu__radio-item`),i),t[28]=i,t[29]=x,t[30]=O):O=t[30];let k=s||S,A;t[31]===k?A=t[32]:(A=tb(k),t[31]=k,t[32]=A);let j=s||S,M;t[33]!==s||t[34]!==w||t[35]!==g||t[36]!==O||t[37]!==A||t[38]!==j?(M=(0,q.jsx)(Ul,{className:O,onSelect:w,disabled:s,"data-disabled":A,"aria-disabled":j,...g}),t[33]=s,t[34]=w,t[35]=g,t[36]=O,t[37]=A,t[38]=j,t[39]=M):M=t[39];let N;return t[40]!==n||t[41]!==r||t[42]!==a||t[43]!==o||t[44]!==s||t[45]!==c||t[46]!==l||t[47]!==d||t[48]!==f||t[49]!==p||t[50]!==m||t[51]!==_||t[52]!==v||t[53]!==M||t[54]!==E||t[55]!==D?(N=(0,q.jsx)(_O,{asChild:!0,type:`text`,color:a,disabled:s,loading:p,loadingContent:m,showSpinner:_,iconPlacement:c,keybinds:d,actionProps:n,contentProps:o,"data-hide-control":E,icon:D,iconProps:l,spinnerProps:v,keybindsProps:f,"aria-disabled":r,children:M}),t[40]=n,t[41]=r,t[42]=a,t[43]=o,t[44]=s,t[45]=c,t[46]=l,t[47]=d,t[48]=f,t[49]=p,t[50]=m,t[51]=_,t[52]=v,t[53]=M,t[54]=E,t[55]=D,t[56]=N):N=t[56],N}var wO=Kl;function TO(e){let t=(0,Q.c)(25),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({variant:l,iconPlacement:i,sideOffset:s,alignOffset:c,className:r,children:n,menuListProps:a,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=s===void 0?-4:s,d=c===void 0?-4:c,f=ap(),p=mO(),m;t[9]!==r||t[10]!==f?(m=$(f(`dropdown-menu`),r),t[9]=r,t[10]=f,t[11]=m):m=t[11];let h=l??p.variant,g=i??p.iconPlacement,_;t[12]===n?_=t[13]:(_=(0,q.jsx)(`div`,{children:n}),t[12]=n,t[13]=_);let v;t[14]!==a||t[15]!==h||t[16]!==g||t[17]!==_?(v=(0,q.jsx)(hO,{...a,asChild:!0,variant:h,iconPlacement:g,children:_}),t[14]=a,t[15]=h,t[16]=g,t[17]=_,t[18]=v):v=t[18];let y;return t[19]!==d||t[20]!==o||t[21]!==u||t[22]!==m||t[23]!==v?(y=(0,q.jsx)(Jl,{className:m,sideOffset:u,alignOffset:d,...o,children:v}),t[19]=d,t[20]=o,t[21]=u,t[22]=m,t[23]=v,t[24]=y):y=t[24],y}function EO(e){let t=(0,Q.c)(30),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({color:i,icon:l,disabled:o,actionProps:n,contentProps:a,iconProps:s,className:r,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=l===void 0?Ey:l,d=ap(),f;t[9]!==s?.className||t[10]!==d?(f=$(d(`dropdown-menu__sub-trigger-icon`),s?.className),t[9]=s?.className,t[10]=d,t[11]=f):f=t[11];let p;t[12]!==s||t[13]!==f?(p={...s,className:f},t[12]=s,t[13]=f,t[14]=p):p=t[14];let m;t[15]!==r||t[16]!==d?(m=$(d(`dropdown-menu__sub-trigger`),r),t[15]=r,t[16]=d,t[17]=m):m=t[17];let h;t[18]!==o||t[19]!==c||t[20]!==m?(h=(0,q.jsx)(ql,{className:m,disabled:o,...c}),t[18]=o,t[19]=c,t[20]=m,t[21]=h):h=t[21];let g;return t[22]!==n||t[23]!==i||t[24]!==a||t[25]!==o||t[26]!==u||t[27]!==p||t[28]!==h?(g=(0,q.jsx)(_O,{asChild:!0,type:`text`,color:i,icon:u,iconPlacement:`end`,disabled:o,actionProps:n,contentProps:a,iconProps:p,children:h}),t[22]=n,t[23]=i,t[24]=a,t[25]=o,t[26]=u,t[27]=p,t[28]=h,t[29]=g):g=t[29],g}function DO(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(Fl,{...e,asChild:!0}),t[0]=e,t[1]=n),n}function OO(e){let t=(0,Q.c)(35),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({asChild:n,label:a,className:i,style:s,children:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=ap(),l=gp(o),u,d;t[7]===l?(u=t[8],d=t[9]):({marginProps:u,...d}=l,t[7]=l,t[8]=u,t[9]=d);let f=(0,b.useId)(),p;t[10]!==f||t[11]!==a||t[12]!==c?(p=a!=null&&typeof a!=`string`&&c(`button-group-${f}`),t[10]=f,t[11]=a,t[12]=c,t[13]=p):p=t[13];let m=p,h=n?_p:`div`,g;t[14]!==i||t[15]!==c?(g=$(c(`button-group`),i),t[14]=i,t[15]=c,t[16]=g):g=t[16];let _=typeof a==`string`?a:void 0,v=m||void 0,y;t[17]!==u.cssVars||t[18]!==s?(y={...u.cssVars,...s},t[17]=u.cssVars,t[18]=s,t[19]=y):y=t[19];let x;t[20]!==a||t[21]!==m?(x=m&&(0,q.jsx)(`span`,{id:m,hidden:!0,children:a}),t[20]=a,t[21]=m,t[22]=x):x=t[22];let S;t[23]===r?S=t[24]:(S=(0,q.jsx)(vp,{children:r}),t[23]=r,t[24]=S);let C;return t[25]!==h||t[26]!==u.dataAttrs||t[27]!==d||t[28]!==g||t[29]!==_||t[30]!==v||t[31]!==y||t[32]!==x||t[33]!==S?(C=(0,q.jsxs)(h,{className:g,role:`group`,"aria-label":_,"aria-labelledby":v,style:y,...u.dataAttrs,...d,children:[x,S]}),t[25]=h,t[26]=u.dataAttrs,t[27]=d,t[28]=g,t[29]=_,t[30]=v,t[31]=y,t[32]=x,t[33]=S,t[34]=C):C=t[34],C}var kO=(0,b.createContext)(null);function AO(e){let t=(0,Q.c)(70),n,r,i,a,o,s,c,l,u,d,f;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11]):({direction:o,gap:c,divider:s,alignItems:r,justifyContent:l,alignContent:n,wrap:f,className:a,style:d,children:i,...u}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f);let p=ap(),{cssVar:m}=cp(),h=hp(),g=(0,b.useContext)(kO),_;t[12]===m?_=t[13]:(_=(e,t)=>n=>n===`column`&&t===`t`||n===`column-reverse`&&t===`b`||n===`row`&&t===`l`||n===`row-reverse`&&t===`r`?m(`stack-${e}`):`0px`,t[12]=m,t[13]=_);let v=_,y;t[14]===h?y=t[15]:(y=e=>typeof e==`number`?h(e):e,t[14]=h,t[15]=y);let x=y,S=g?.direction,C=g?.direction,w=g?.direction,T=g?.direction,E=g?.gap,D;t[16]!==n||t[17]!==r||t[18]!==o||t[19]!==c||t[20]!==l||t[21]!==S||t[22]!==C||t[23]!==w||t[24]!==T||t[25]!==E||t[26]!==f?(D={"ancestor-child-mt":S,"ancestor-child-mr":C,"ancestor-child-mb":w,"ancestor-child-ml":T,"ancestor-gap":E,direction:o,gap:c,"child-mt":o,"child-mr":o,"child-mb":o,"child-ml":o,"align-items":r,"justify-content":l,"align-content":n,wrap:f},t[16]=n,t[17]=r,t[18]=o,t[19]=c,t[20]=l,t[21]=S,t[22]=C,t[23]=w,t[24]=T,t[25]=E,t[26]=f,t[27]=D):D=t[27];let O,k,A,j;t[28]===v?(O=t[29],k=t[30],A=t[31],j=t[32]):(j=v(`ancestor-gap`,`t`),O=v(`ancestor-gap`,`r`),k=v(`ancestor-gap`,`b`),A=v(`ancestor-gap`,`l`),t[28]=v,t[29]=O,t[30]=k,t[31]=A,t[32]=j);let M,N,P,F;t[33]===v?(M=t[34],N=t[35],P=t[36],F=t[37]):(M=v(`gap`,`t`),N=v(`gap`,`r`),P=v(`gap`,`b`),F=v(`gap`,`l`),t[33]=v,t[34]=M,t[35]=N,t[36]=P,t[37]=F);let I;t[38]!==x||t[39]!==O||t[40]!==k||t[41]!==A||t[42]!==M||t[43]!==N||t[44]!==P||t[45]!==F||t[46]!==j?(I={"ancestor-gap":x,"ancestor-child-mt":j,"ancestor-child-mr":O,"ancestor-child-mb":k,"ancestor-child-ml":A,gap:x,"child-mt":M,"child-mr":N,"child-mb":P,"child-ml":F,wrap:jO},t[38]=x,t[39]=O,t[40]=k,t[41]=A,t[42]=M,t[43]=N,t[44]=P,t[45]=F,t[46]=j,t[47]=I):I=t[47];let L=up(`stack-`,D,I),R;t[48]!==o||t[49]!==c?(R={direction:o,gap:c},t[48]=o,t[49]=c,t[50]=R):R=t[50];let z;t[51]!==a||t[52]!==p?(z=$(p(`stack`),a),t[51]=a,t[52]=p,t[53]=z):z=t[53];let B;t[54]!==L.cssVars||t[55]!==d?(B={...L.cssVars,...d},t[54]=L.cssVars,t[55]=d,t[56]=B):B=t[56];let V;t[57]!==i||t[58]!==s||t[59]!==p?(V=s?ME(b.Children.toArray(i).filter(Boolean),e=>(0,b.cloneElement)(s,{key:p(`stack-divider-${e}`)})):i,t[57]=i,t[58]=s,t[59]=p,t[60]=V):V=t[60];let H;t[61]!==u||t[62]!==L.dataAttrs||t[63]!==z||t[64]!==B||t[65]!==V?(H=(0,q.jsx)(WD,{className:z,style:B,...L.dataAttrs,...u,children:V}),t[61]=u,t[62]=L.dataAttrs,t[63]=z,t[64]=B,t[65]=V,t[66]=H):H=t[66];let ee;return t[67]!==R||t[68]!==H?(ee=(0,q.jsx)(kO,{value:R,children:H}),t[67]=R,t[68]=H,t[69]=ee):ee=t[69],ee}function jO(e){return e===`reverse`?`wrap-reverse`:e?`wrap`:`nowrap`}function MO(e,t,n=`long`){return new Intl.DateTimeFormat(`en-US`,{hour:`numeric`,timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(` `)}var NO={},PO={};function FO(e,t){try{let n=(NO[e]||=new Intl.DateTimeFormat(`en-US`,{timeZone:e,timeZoneName:`longOffset`}).format)(t).split(`GMT`)[1];return n in PO?PO[n]:LO(n,n.split(`:`))}catch{if(e in PO)return PO[e];let t=e?.match(IO);return t?LO(e,t.slice(1)):NaN}}var IO=/([+-]\d\d):?(\d\d)?/;function LO(e,t){let n=+(t[0]||0),r=+(t[1]||0),i=(t[2]||0)/60;return PO[e]=n*60+r>0?n*60+r+i:n*60-r-i}var RO=class e extends Date{constructor(...e){super(),e.length>1&&typeof e[e.length-1]==`string`&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(FO(this.timeZone,this))?this.setTime(NaN):e.length?typeof e[0]==`number`&&(e.length===1||e.length===2&&typeof e[1]!=`number`)?this.setTime(e[0]):typeof e[0]==`string`?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),HO(this,e)):this.setTime(Date.now())}static tz(t,...n){return n.length?new e(...n,t):new e(Date.now(),t)}withTimeZone(t){return new e(+this,t)}getTimezoneOffset(){let e=-FO(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),BO(this),+this}[Symbol.for(`constructDateFrom`)](t){return new e(+new Date(t),this.timeZone)}},zO=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!zO.test(e))return;let t=e.replace(zO,`$1UTC`);RO.prototype[t]&&(e.startsWith(`get`)?RO.prototype[e]=function(){return this.internal[t]()}:(RO.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),VO(this),+this},RO.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),BO(this),+this}))});function BO(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-FO(e.timeZone,e)*60))}function VO(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),HO(e)}function HO(e,t){let n=Array.isArray(t)?UO(t):+e.internal,r=FO(e.timeZone,e),i=r>0?Math.floor(r):Math.ceil(r),a=new Date(+e);a.setUTCHours(a.getUTCHours()-1);let o=-new Date(+e).getTimezoneOffset(),s=-new Date(+a).getTimezoneOffset(),c=o-s,l=o;if(c&&o!==i&&Date.prototype.getHours.apply(e)!==(Array.isArray(t)?t[3]||0:e.internal.getUTCHours())){let t=new Date(+e),n=o-i;n&&t.setUTCMinutes(t.getUTCMinutes()+n);let r=FO(e.timeZone,t);(r>0?Math.floor(r):Math.ceil(r))===i&&(l=s)}let u=l-i;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);let d=new Date(+e);d.setUTCSeconds(0);let f=o>0?d.getSeconds():(d.getSeconds()-60)%60,p=Math.round(-(FO(e.timeZone,e)*60))%60;(p||f)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+p+f);let m=FO(e.timeZone,e),h=m>0?Math.floor(m):Math.ceil(m),g=-new Date(+e).getTimezoneOffset()-h,_=h!==i,v=g-u,y=h-i,b=n-h*60*1e3,x=y>0&&WO(e)-n===y*60*1e3&&WO(e,b)!==n;if(_&&v&&!x){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v);let t=FO(e.timeZone,e),n=h-(t>0?Math.floor(t):Math.ceil(t));n&&v<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n)}BO(e);let S=(t?n:n+p*1e3)-+e.internal;S&&Math.abs(S)<18e5&&(Date.prototype.setTime.call(e,+e+S),BO(e))}function UO(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function WO(e,t){let n=new Date(t??+e);return n.setUTCSeconds(n.getUTCSeconds()-Math.round(-FO(e.timeZone,n)*60)),+n}var GO=class e extends RO{static tz(t,...n){return n.length?new e(...n,t):new e(Date.now(),t)}toISOString(){let[e,t,n]=this.tzComponents(),r=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+r}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,n,r]=this.internal.toUTCString().split(` `);return`${e?.slice(0,-1)} ${n} ${t} ${r}`}toTimeString(){let e=this.internal.toUTCString().split(` `)[4],[t,n,r]=this.tzComponents();return`${e} GMT${t}${n}${r} (${MO(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset();return[e>0?`-`:`+`,String(Math.floor(Math.abs(e)/60)).padStart(2,`0`),String(Math.abs(e)%60).padStart(2,`0`)]}withTimeZone(t){return new e(+this,t)}[Symbol.for(`constructDateFrom`)](t){return new e(+new Date(t),this.timeZone)}},KO=5,qO=4;function JO(e,t){let n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,i=t.addDays(e,-r+1),a=t.addDays(i,34);return t.getMonth(e)===t.getMonth(a)?KO:qO}function YO(e,t){let n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-6):t.addDays(n,-1*(r-1))}function XO(e,t){let n=YO(e,t),r=JO(e,t);return t.addDays(n,r*7-1)}var ZO={...qm,labels:{labelDayButton:(e,t,n,r)=>{let i;i=r&&typeof r.format==`function`?r.format.bind(r):(e,t)=>xh(e,t,{locale:qm,...n});let a=i(e,`PPPP`);return t.today&&(a=`Today, ${a}`),t.selected&&(a=`${a}, selected`),a},labelMonthDropdown:`Choose the Month`,labelNext:`Go to the Next Month`,labelPrevious:`Go to the Previous Month`,labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:`Choose the Year`,labelGrid:(e,t,n)=>{let r;return r=n&&typeof n.format==`function`?n.format.bind(n):(e,n)=>xh(e,n,{locale:qm,...t}),r(e,`LLLL yyyy`)},labelGridcell:(e,t,n,r)=>{let i;i=r&&typeof r.format==`function`?r.format.bind(r):(e,t)=>xh(e,t,{locale:qm,...n});let a=i(e,`PPPP`);return t?.today&&(a=`Today, ${a}`),a},labelNav:`Navigation bar`,labelWeekNumberHeader:`Week Number`,labelWeekday:(e,t,n)=>{let r;return r=n&&typeof n.format==`function`?n.format.bind(n):(e,n)=>xh(e,n,{locale:qm,...t}),r(e,`cccc`)}}},QO=class e{constructor(e,t){this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?GO.tz(this.options.timeZone):new(this.options.Date??Date),this.newDate=(e,t,n)=>this.overrides?.newDate?this.overrides.newDate(e,t,n):this.options.timeZone?new GO(e,t,n,this.options.timeZone):new Date(e,t,n),this.addDays=(e,t)=>this.overrides?.addDays?this.overrides.addDays(e,t):am(e,t),this.addMonths=(e,t)=>this.overrides?.addMonths?this.overrides.addMonths(e,t):om(e,t),this.addWeeks=(e,t)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,t):_m(e,t),this.addYears=(e,t)=>this.overrides?.addYears?this.overrides.addYears(e,t):vm(e,t),this.differenceInCalendarDays=(e,t)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):hm(e,t),this.differenceInCalendarMonths=(e,t)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):wm(e,t),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):Dm(e),this.eachYearOfInterval=e=>{let t=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(e):jm(e),n=new Set(t.map(e=>this.getYear(e)));if(n.size===t.length)return t;let r=[];return n.forEach(e=>{r.push(new Date(e,0,1))}),r},this.endOfBroadcastWeek=e=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):XO(e,this),this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):Nm(e),this.endOfMonth=e=>this.overrides?.endOfMonth?this.overrides.endOfMonth(e):Tm(e),this.endOfWeek=(e,t)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,t):Mm(e,this.options),this.endOfYear=e=>this.overrides?.endOfYear?this.overrides.endOfYear(e):km(e),this.format=(e,t,n)=>{let r=this.overrides?.format?this.overrides.format(e,t,this.options):xh(e,t,this.options);return this.options.numerals&&this.options.numerals!==`latn`?this.replaceDigits(r):r},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):Ym(e),this.getMonth=(e,t)=>this.overrides?.getMonth?this.overrides.getMonth(e,this.options):Dh(e,this.options),this.getYear=(e,t)=>this.overrides?.getYear?this.overrides.getYear(e,this.options):kh(e,this.options),this.getWeek=(e,t)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):Qm(e,this.options),this.isAfter=(e,t)=>this.overrides?.isAfter?this.overrides.isAfter(e,t):Ah(e,t),this.isBefore=(e,t)=>this.overrides?.isBefore?this.overrides.isBefore(e,t):jh(e,t),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):Sm(e),this.isSameDay=(e,t)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,t):xm(e,t),this.isSameMonth=(e,t)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,t):Ug(e,t),this.isSameYear=(e,t)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,t):Wg(e,t),this.max=e=>this.overrides?.max?this.overrides.max(e):ym(e),this.min=e=>this.overrides?.min?this.overrides.min(e):bm(e),this.setMonth=(e,t)=>this.overrides?.setMonth?this.overrides.setMonth(e,t):f_(e,t),this.setYear=(e,t)=>this.overrides?.setYear?this.overrides.setYear(e,t):p_(e,t),this.startOfBroadcastWeek=(e,t)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):YO(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):mm(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):um(e),this.startOfMonth=e=>this.overrides?.startOfMonth?this.overrides.startOfMonth(e):Om(e),this.startOfWeek=(e,t)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):lm(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):Am(e),this.options={locale:ZO,...e},this.overrides=t}getDigitMap(){let{numerals:e=`latn`}=this.options,t=new Intl.NumberFormat(`en-US`,{numberingSystem:e}),n={};for(let e=0;e<10;e++)n[e.toString()]=t.format(e);return n}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let t=this.options.locale?.code;return t&&e.yearFirstLocales.has(t)?`year-first`:`month-first`}formatMonthYear(t){let{locale:n,timeZone:r,numerals:i}=this.options,a=n?.code;if(a&&e.yearFirstLocales.has(a))try{return new Intl.DateTimeFormat(a,{month:`long`,year:`numeric`,timeZone:r,numberingSystem:i}).format(t)}catch{}let o=this.getMonthYearOrder()===`year-first`?`y LLLL`:`LLLL y`;return this.format(t,o)}};QO.yearFirstLocales=new Set([`eu`,`hu`,`ja`,`ja-Hira`,`ja-JP`,`ko`,`ko-KR`,`lt`,`lt-LT`,`lv`,`lv-LV`,`mn`,`mn-MN`,`zh`,`zh-CN`,`zh-HK`,`zh-TW`]);var $O=new QO,ek=class{constructor(e,t,n=$O){this.date=e,this.displayMonth=t,this.outside=!(!t||n.isSameMonth(e,t)),this.dateLib=n,this.isoDate=n.format(e,`yyyy-MM-dd`),this.displayMonthId=n.format(t,`yyyy-MM`),this.dateMonthId=n.format(e,`yyyy-MM`)}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}},tk=class{constructor(e,t){this.date=e,this.weeks=t}},nk=class{constructor(e,t){this.days=t,this.weekNumber=e}};function rk(e){return b.createElement(`span`,{...e})}function ik(e){let{size:t=24,orientation:n=`left`,className:r,style:i}=e;return b.createElement(`svg`,{className:r,style:i,width:t,height:t,viewBox:`0 0 24 24`},n===`up`&&b.createElement(`polygon`,{points:`6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28`}),n===`down`&&b.createElement(`polygon`,{points:`6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72`}),n===`left`&&b.createElement(`polygon`,{points:`16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20`}),n===`right`&&b.createElement(`polygon`,{points:`8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20`}))}function ak(e){let{day:t,modifiers:n,...r}=e;return b.createElement(`td`,{...r})}function ok(e){let{day:t,modifiers:n,...r}=e,i=b.useRef(null);return b.useEffect(()=>{n.focused&&i.current?.focus()},[n.focused]),b.createElement(`button`,{ref:i,...r})}var sk;(function(e){e.Root=`root`,e.Chevron=`chevron`,e.Day=`day`,e.DayButton=`day_button`,e.CaptionLabel=`caption_label`,e.Dropdowns=`dropdowns`,e.Dropdown=`dropdown`,e.DropdownRoot=`dropdown_root`,e.Footer=`footer`,e.MonthGrid=`month_grid`,e.MonthCaption=`month_caption`,e.MonthsDropdown=`months_dropdown`,e.Month=`month`,e.Months=`months`,e.Nav=`nav`,e.NextMonthButton=`button_next`,e.PreviousMonthButton=`button_previous`,e.Week=`week`,e.Weeks=`weeks`,e.Weekday=`weekday`,e.Weekdays=`weekdays`,e.WeekNumber=`week_number`,e.WeekNumberHeader=`week_number_header`,e.YearsDropdown=`years_dropdown`})(sk||={});var ck;(function(e){e.disabled=`disabled`,e.hidden=`hidden`,e.outside=`outside`,e.focused=`focused`,e.today=`today`})(ck||={});var lk;(function(e){e.range_end=`range_end`,e.range_middle=`range_middle`,e.range_start=`range_start`,e.selected=`selected`})(lk||={});var uk;(function(e){e.weeks_before_enter=`weeks_before_enter`,e.weeks_before_exit=`weeks_before_exit`,e.weeks_after_enter=`weeks_after_enter`,e.weeks_after_exit=`weeks_after_exit`,e.caption_after_enter=`caption_after_enter`,e.caption_after_exit=`caption_after_exit`,e.caption_before_enter=`caption_before_enter`,e.caption_before_exit=`caption_before_exit`})(uk||={});var dk=(0,b.createContext)(void 0);function fk(){let e=(0,b.useContext)(dk);if(e===void 0)throw Error(`useDayPicker() must be used within a custom component.`);return e}function pk(e){let{options:t,className:n,...r}=e,{classNames:i,components:a,styles:o}=fk(),s=[i[sk.Dropdown],n].join(` `),c=t?.find(({value:e})=>e===r.value);return b.createElement(`span`,{"data-disabled":r.disabled,className:i[sk.DropdownRoot],style:o?.[sk.DropdownRoot]},b.createElement(a.Select,{className:s,...r},t?.map(({value:e,label:t,disabled:n})=>b.createElement(a.Option,{key:e,value:e,disabled:n},t))),b.createElement(`span`,{className:i[sk.CaptionLabel],style:o?.[sk.CaptionLabel],"aria-hidden":!0},c?.label,b.createElement(a.Chevron,{orientation:`down`,size:18,className:i[sk.Chevron],style:o?.[sk.Chevron]})))}function mk(e){return b.createElement(`div`,{...e})}function hk(e){return b.createElement(`div`,{...e})}function gk(e){let{calendarMonth:t,displayIndex:n,...r}=e;return b.createElement(`div`,{...r},e.children)}function _k(e){let{calendarMonth:t,displayIndex:n,...r}=e;return b.createElement(`div`,{...r})}function vk(e){return b.createElement(`table`,{...e})}function yk(e){return b.createElement(`div`,{...e})}function bk(e){let{components:t}=fk();return b.createElement(t.Dropdown,{...e})}function xk(e){let{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:i,...a}=e,{components:o,classNames:s,styles:c,labels:{labelPrevious:l,labelNext:u}}=fk(),d=(0,b.useCallback)(e=>{i&&n?.(e)},[i,n]),f=(0,b.useCallback)(e=>{r&&t?.(e)},[r,t]);return b.createElement(`nav`,{...a},b.createElement(o.PreviousMonthButton,{type:`button`,className:s[sk.PreviousMonthButton],style:c?.[sk.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":!r||void 0,"aria-label":l(r),onClick:f},b.createElement(o.Chevron,{disabled:!r||void 0,className:s[sk.Chevron],style:c?.[sk.Chevron],orientation:`left`})),b.createElement(o.NextMonthButton,{type:`button`,className:s[sk.NextMonthButton],style:c?.[sk.NextMonthButton],tabIndex:i?void 0:-1,"aria-disabled":!i||void 0,"aria-label":u(i),onClick:d},b.createElement(o.Chevron,{disabled:!i||void 0,orientation:`right`,className:s[sk.Chevron],style:c?.[sk.Chevron]})))}function Sk(e){return b.createElement(`button`,{...e})}function Ck(e){return b.createElement(`option`,{...e})}function wk(e){return b.createElement(`button`,{...e})}function Tk(e){let{rootRef:t,...n}=e;return b.createElement(`div`,{...n,ref:t})}function Ek(e){return b.createElement(`select`,{...e})}function Dk(e){let{week:t,...n}=e;return b.createElement(`tr`,{...n})}function Ok(e){return b.createElement(`th`,{...e})}function kk(e){return b.createElement(`thead`,{"aria-hidden":!0},b.createElement(`tr`,{...e}))}function Ak(e){let{week:t,...n}=e;return b.createElement(`th`,{...n})}function jk(e){return b.createElement(`th`,{...e})}function Mk(e){return b.createElement(`tbody`,{...e})}function Nk(e){let{components:t}=fk();return b.createElement(t.Dropdown,{...e})}var Pk=s({CaptionLabel:()=>rk,Chevron:()=>ik,Day:()=>ak,DayButton:()=>ok,Dropdown:()=>pk,DropdownNav:()=>mk,Footer:()=>hk,Month:()=>gk,MonthCaption:()=>_k,MonthGrid:()=>vk,Months:()=>yk,MonthsDropdown:()=>bk,Nav:()=>xk,NextMonthButton:()=>Sk,Option:()=>Ck,PreviousMonthButton:()=>wk,Root:()=>Tk,Select:()=>Ek,Week:()=>Dk,WeekNumber:()=>Ak,WeekNumberHeader:()=>jk,Weekday:()=>Ok,Weekdays:()=>kk,Weeks:()=>Mk,YearsDropdown:()=>Nk});function Fk(e,t,n=!1,r=$O){let{from:i,to:a}=e,{differenceInCalendarDays:o,isSameDay:s}=r;return i&&a?(o(a,i)<0&&([i,a]=[a,i]),o(t,i)>=+!!n&&o(a,t)>=+!!n):!n&&a?s(a,t):!n&&i?s(i,t):!1}function Ik(e){return!!(e&&typeof e==`object`&&`before`in e&&`after`in e)}function Lk(e){return!!(e&&typeof e==`object`&&`from`in e)}function Rk(e){return!!(e&&typeof e==`object`&&`after`in e)}function zk(e){return!!(e&&typeof e==`object`&&`before`in e)}function Bk(e){return!!(e&&typeof e==`object`&&`dayOfWeek`in e)}function Vk(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Hk(e,t,n=$O){let r=Array.isArray(t)?t:[t],{isSameDay:i,differenceInCalendarDays:a,isAfter:o}=n;return r.some(t=>{if(typeof t==`boolean`)return t;if(n.isDate(t))return i(e,t);if(Vk(t,n))return t.some(t=>i(e,t));if(Lk(t))return Fk(t,e,!1,n);if(Bk(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(Ik(t)){let n=a(t.before,e),r=a(t.after,e),i=n>0,s=r<0;return o(t.before,t.after)?s&&i:i||s}return Rk(t)?a(e,t.after)>0:zk(t)?a(t.before,e)>0:typeof t==`function`&&t(e)})}function Uk(e,t,n,r,i){let{disabled:a,hidden:o,modifiers:s,showOutsideDays:c,broadcastCalendar:l,today:u=i.today()}=t,{isSameDay:d,isSameMonth:f,startOfMonth:p,isBefore:m,endOfMonth:h,isAfter:g}=i,_=n&&p(n),v=r&&h(r),y={[ck.focused]:[],[ck.outside]:[],[ck.disabled]:[],[ck.hidden]:[],[ck.today]:[]},b={};for(let t of e){let{date:e,displayMonth:n}=t,r=!(!n||f(e,n)),p=!!(_&&m(e,_)),h=!!(v&&g(e,v)),x=!!(a&&Hk(e,a,i)),S=!!(o&&Hk(e,o,i))||p||h||!l&&!c&&r||l&&c===!1&&r,C=d(e,u);r&&y.outside.push(t),x&&y.disabled.push(t),S&&y.hidden.push(t),C&&y.today.push(t),s&&Object.keys(s).forEach(n=>{let r=s?.[n];r&&Hk(e,r,i)&&(b[n]?b[n].push(t):b[n]=[t])})}return e=>{let t={[ck.focused]:!1,[ck.disabled]:!1,[ck.hidden]:!1,[ck.outside]:!1,[ck.today]:!1},n={};for(let n in y)t[n]=y[n].some(t=>t===e);for(let t in b)n[t]=b[t].some(t=>t===e);return{...t,...n}}}function Wk(e,t,n={}){return Object.entries(e).filter(([,e])=>e===!0).reduce((e,[r])=>(n[r]?e.push(n[r]):t[ck[r]]?e.push(t[ck[r]]):t[lk[r]]&&e.push(t[lk[r]]),e),[t[sk.Day]])}function Gk(e){return{...Pk,...e}}function Kk(e){let t={"data-mode":e.mode??void 0,"data-required":`required`in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([e,n])=>{e.startsWith(`data-`)&&(t[e]=n)}),t}function qk(){let e={};for(let t in sk)e[sk[t]]=`rdp-${sk[t]}`;for(let t in ck)e[ck[t]]=`rdp-${ck[t]}`;for(let t in lk)e[lk[t]]=`rdp-${lk[t]}`;for(let t in uk)e[uk[t]]=`rdp-${uk[t]}`;return e}function Jk(e,t,n){return(n??new QO(t)).formatMonthYear(e)}function Yk(e,t,n){return(n??new QO(t)).format(e,`d`)}function Xk(e,t=$O){return t.format(e,`LLLL`)}function Zk(e,t,n){return(n??new QO(t)).format(e,`cccccc`)}function Qk(e,t=$O){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function $k(){return``}function eA(e,t=$O){return t.format(e,`yyyy`)}var tA=s({formatCaption:()=>Jk,formatDay:()=>Yk,formatMonthDropdown:()=>Xk,formatWeekNumber:()=>Qk,formatWeekNumberHeader:()=>$k,formatWeekdayName:()=>Zk,formatYearDropdown:()=>eA});function nA(e){return{...tA,...e}}function rA(e,t,n,r){let i=(r??new QO(n)).format(e,`PPPP`);return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i}function iA(e,t,n){return(n??new QO(t)).formatMonthYear(e)}function aA(e,t,n,r){let i=(r??new QO(n)).format(e,`PPPP`);return t?.today&&(i=`Today, ${i}`),i}function oA(e){return`Choose the Month`}function sA(){return``}var cA=`Go to the Next Month`;function lA(e,t){return cA}function uA(e){return`Go to the Previous Month`}function dA(e,t,n){return(n??new QO(t)).format(e,`cccc`)}function fA(e,t){return`Week ${e}`}function pA(e){return`Week Number`}function mA(e){return`Choose the Year`}var hA=s({labelDayButton:()=>rA,labelGrid:()=>iA,labelGridcell:()=>aA,labelMonthDropdown:()=>oA,labelNav:()=>sA,labelNext:()=>lA,labelPrevious:()=>uA,labelWeekNumber:()=>fA,labelWeekNumberHeader:()=>pA,labelWeekday:()=>dA,labelYearDropdown:()=>mA}),gA=(e,t,n)=>t||(n?typeof n==`function`?n:(...e)=>n:e);function _A(e,t){let n=t.locale?.labels??{};return{...hA,...e??{},labelDayButton:gA(rA,e?.labelDayButton,n.labelDayButton),labelMonthDropdown:gA(oA,e?.labelMonthDropdown,n.labelMonthDropdown),labelNext:gA(lA,e?.labelNext,n.labelNext),labelPrevious:gA(uA,e?.labelPrevious,n.labelPrevious),labelWeekNumber:gA(fA,e?.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:gA(mA,e?.labelYearDropdown,n.labelYearDropdown),labelGrid:gA(iA,e?.labelGrid,n.labelGrid),labelGridcell:gA(aA,e?.labelGridcell,n.labelGridcell),labelNav:gA(sA,e?.labelNav,n.labelNav),labelWeekNumberHeader:gA(pA,e?.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:gA(dA,e?.labelWeekday,n.labelWeekday)}}function vA(e,t,n,r,i){let{startOfMonth:a,startOfYear:o,endOfYear:s,eachMonthOfInterval:c,getMonth:l}=i;return c({start:o(e),end:s(e)}).map(e=>{let o=r.formatMonthDropdown(e,i);return{value:l(e),label:o,disabled:t&&e<a(t)||n&&e>a(n)||!1}})}function yA(e,t={},n={}){let r={...t?.[sk.Day]};return Object.entries(e).filter(([,e])=>e===!0).forEach(([e])=>{r={...r,...n?.[e]}}),r}function bA(e,t,n,r){let i=r??e.today(),a=n?e.startOfBroadcastWeek(i,e):t?e.startOfISOWeek(i):e.startOfWeek(i),o=[];for(let t=0;t<7;t++){let n=e.addDays(a,t);o.push(n)}return o}function xA(e,t,n,r,i=!1){if(!e||!t)return;let{startOfYear:a,endOfYear:o,eachYearOfInterval:s,getYear:c}=r,l=s({start:a(e),end:o(t)});return i&&l.reverse(),l.map(e=>{let t=n.formatYearDropdown(e,r);return{value:c(e),label:t,disabled:!1}})}function SA(e,t={}){let{weekStartsOn:n,locale:r}=t,i=n??r?.options?.weekStartsOn??0,a=t=>{let n=typeof t==`number`||typeof t==`string`?new Date(t):t;return new GO(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,e)},o=e=>{let t=a(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)};return{today:()=>a(GO.tz(e)),newDate:(t,n,r)=>new GO(t,n,r,12,0,0,e),startOfDay:e=>a(e),startOfWeek:(e,t)=>{let n=a(e),r=t?.weekStartsOn??i,o=(n.getDay()-r+7)%7;return n.setDate(n.getDate()-o),n},startOfISOWeek:e=>{let t=a(e),n=(t.getDay()-1+7)%7;return t.setDate(t.getDate()-n),t},startOfMonth:e=>{let t=a(e);return t.setDate(1),t},startOfYear:e=>{let t=a(e);return t.setMonth(0,1),t},endOfWeek:(e,t)=>{let n=a(e),r=(((t?.weekStartsOn??i)+6)%7-n.getDay()+7)%7;return n.setDate(n.getDate()+r),n},endOfISOWeek:e=>{let t=a(e),n=(7-t.getDay())%7;return t.setDate(t.getDate()+n),t},endOfMonth:e=>{let t=a(e);return t.setMonth(t.getMonth()+1,0),t},endOfYear:e=>{let t=a(e);return t.setMonth(11,31),t},eachMonthOfInterval:t=>{let n=a(t.start),r=a(t.end),i=[],o=new GO(n.getFullYear(),n.getMonth(),1,12,0,0,e),s=r.getFullYear()*12+r.getMonth();for(;o.getFullYear()*12+o.getMonth()<=s;)i.push(new GO(o,e)),o.setMonth(o.getMonth()+1,1);return i},addDays:(e,t)=>{let n=a(e);return n.setDate(n.getDate()+t),n},addWeeks:(e,t)=>{let n=a(e);return n.setDate(n.getDate()+t*7),n},addMonths:(e,t)=>{let n=a(e);return n.setMonth(n.getMonth()+t),n},addYears:(e,t)=>{let n=a(e);return n.setFullYear(n.getFullYear()+t),n},eachYearOfInterval:t=>{let n=a(t.start),r=a(t.end),i=[],o=new GO(n.getFullYear(),0,1,12,0,0,e);for(;o.getFullYear()<=r.getFullYear();)i.push(new GO(o,e)),o.setFullYear(o.getFullYear()+1,0,1);return i},getWeek:(e,t)=>Qm(o(e),{weekStartsOn:t?.weekStartsOn??i,firstWeekContainsDate:t?.firstWeekContainsDate??r?.options?.firstWeekContainsDate??1}),getISOWeek:e=>Ym(o(e)),differenceInCalendarDays:(e,t)=>hm(o(e),o(t)),differenceInCalendarMonths:(e,t)=>wm(o(e),o(t))}}var CA=e=>e instanceof HTMLElement?e:null,wA=e=>[...e.querySelectorAll(`[data-animated-month]`)??[]],TA=e=>CA(e.querySelector(`[data-animated-month]`)),EA=e=>CA(e.querySelector(`[data-animated-caption]`)),DA=e=>CA(e.querySelector(`[data-animated-weeks]`)),OA=e=>CA(e.querySelector(`[data-animated-nav]`)),kA=e=>CA(e.querySelector(`[data-animated-weekdays]`));function AA(e,t,{classNames:n,months:r,focused:i,dateLib:a}){let o=(0,b.useRef)(null),s=(0,b.useRef)(r),c=(0,b.useRef)(!1);(0,b.useLayoutEffect)(()=>{let l=s.current;if(s.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||l.length===0||r.length!==l.length)return;let u=a.isSameMonth(r[0].date,l[0].date),d=a.isAfter(r[0].date,l[0].date),f=d?n[uk.caption_after_enter]:n[uk.caption_before_enter],p=d?n[uk.weeks_after_enter]:n[uk.weeks_before_enter],m=o.current,h=e.current.cloneNode(!0);if(h instanceof HTMLElement?(wA(h).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=TA(e);t&&e.contains(t)&&e.removeChild(t);let n=EA(e);n&&n.classList.remove(f);let r=DA(e);r&&r.classList.remove(p)}),o.current=h):o.current=null,c.current||u||i)return;let g=m instanceof HTMLElement?wA(m):[],_=wA(e.current);if(_?.every(e=>e instanceof HTMLElement)&&g?.every(e=>e instanceof HTMLElement)){c.current=!0;let t=[];e.current.style.isolation=`isolate`;let r=OA(e.current);r&&(r.style.zIndex=`1`),_.forEach((i,a)=>{let o=g[a];if(!o)return;i.style.position=`relative`,i.style.overflow=`hidden`;let s=EA(i);s&&s.classList.add(f);let l=DA(i);l&&l.classList.add(p);let u=()=>{c.current=!1,e.current&&(e.current.style.isolation=``),r&&(r.style.zIndex=``),s&&s.classList.remove(f),l&&l.classList.remove(p),i.style.position=``,i.style.overflow=``,i.contains(o)&&i.removeChild(o)};t.push(u),o.style.pointerEvents=`none`,o.style.position=`absolute`,o.style.overflow=`hidden`,o.setAttribute(`aria-hidden`,`true`);let m=kA(o);m&&(m.style.opacity=`0`);let h=EA(o);h&&(h.classList.add(d?n[uk.caption_before_exit]:n[uk.caption_after_exit]),h.addEventListener(`animationend`,u));let _=DA(o);_&&_.classList.add(d?n[uk.weeks_before_exit]:n[uk.weeks_after_exit]),i.insertBefore(o,i.firstChild)})}})}function jA(e,t,n,r){let i=e[0],a=e[e.length-1],{ISOWeek:o,fixedWeeks:s,broadcastCalendar:c}=n??{},{addDays:l,differenceInCalendarDays:u,differenceInCalendarMonths:d,endOfBroadcastWeek:f,endOfISOWeek:p,endOfMonth:m,endOfWeek:h,isAfter:g,startOfBroadcastWeek:_,startOfISOWeek:v,startOfWeek:y}=r,b=c?_(i,r):o?v(i):y(i),x=c?f(a):o?p(m(a)):h(m(a)),S=t&&(c?f(t):o?p(t):h(t)),C=u(S&&g(x,S)?S:x,b),w=d(a,i)+1,T=[];for(let e=0;e<=C;e++){let t=l(b,e);T.push(t)}let E=(c?35:42)*w;if(s&&T.length<E){let e=E-T.length;for(let t=0;t<e;t++){let e=l(T[T.length-1],1);T.push(e)}}return T}function MA(e){let t=[];return e.reduce((e,n)=>{let r=n.weeks.reduce((e,t)=>e.concat(t.days.slice()),t.slice());return e.concat(r.slice())},t.slice())}function NA(e,t,n,r){let{numberOfMonths:i=1}=n,a=[];for(let n=0;n<i;n++){let i=r.addMonths(e,n);if(t&&i>t)break;a.push(i)}return a}function PA(e,t,n,r){let{month:i,defaultMonth:a,today:o=r.today(),numberOfMonths:s=1}=e,c=i||a||o,{differenceInCalendarMonths:l,addMonths:u,startOfMonth:d}=r;return n&&l(n,c)<s-1&&(c=u(n,-1*(s-1))),t&&l(c,t)<0&&(c=t),d(c)}function FA(e,t,n,r){let{addDays:i,endOfBroadcastWeek:a,endOfISOWeek:o,endOfMonth:s,endOfWeek:c,getISOWeek:l,getWeek:u,startOfBroadcastWeek:d,startOfISOWeek:f,startOfWeek:p}=r,m=e.reduce((e,m)=>{let h=n.broadcastCalendar?d(m,r):n.ISOWeek?f(m):p(m),g=n.broadcastCalendar?a(m):n.ISOWeek?o(s(m)):c(s(m)),_=t.filter(e=>e>=h&&e<=g),v=n.broadcastCalendar?35:42;if(n.fixedWeeks&&_.length<v){let e=t.filter(e=>{let t=v-_.length;return e>g&&e<=i(g,t)});_.push(...e)}let y=new tk(m,_.reduce((e,t)=>{let i=n.ISOWeek?l(t):u(t),a=e.find(e=>e.weekNumber===i),o=new ek(t,m,r);return a?a.days.push(o):e.push(new nk(i,[o])),e},[]));return e.push(y),e},[]);return n.reverseMonths?m.reverse():m}function IA(e,t){let{startMonth:n,endMonth:r}=e,{startOfYear:i,startOfDay:a,startOfMonth:o,endOfMonth:s,addYears:c,endOfYear:l,today:u}=t,d=e.captionLayout===`dropdown`||e.captionLayout===`dropdown-years`;return n?n=o(n):!n&&d&&(n=i(c(e.today??u(),-100))),r?r=s(r):!r&&d&&(r=l(e.today??u())),[n&&a(n),r&&a(r)]}function LA(e,t,n,r){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:a=1}=n,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:c}=r,l=i?a:1,u=o(e);if(!t||!(c(t,e)<a))return s(u,l)}function RA(e,t,n,r){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:a}=n,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:c}=r,l=i?a??1:1,u=o(e);if(!t||!(c(u,t)<=0))return s(u,-l)}function zA(e){return e.reduce((e,t)=>e.concat(t.weeks.slice()),[].slice())}function BA(e,t){let[n,r]=(0,b.useState)(e);return[t===void 0?n:t,r]}function VA(e,t){let[n,r]=IA(e,t),{startOfMonth:i,endOfMonth:a}=t,o=PA(e,n,r,t),[s,c]=BA(o,e.month?o:void 0);(0,b.useEffect)(()=>{let i=PA(e,n,r,t);c(i)},[e.timeZone]);let{months:l,weeks:u,days:d,previousMonth:f,nextMonth:p}=(0,b.useMemo)(()=>{let i=NA(s,r,{numberOfMonths:e.numberOfMonths},t),o=FA(i,jA(i,e.endMonth?a(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t);return{months:o,weeks:zA(o),days:MA(o),previousMonth:RA(s,n,e,t),nextMonth:LA(s,r,e,t)}},[t,s.getTime(),r?.getTime(),n?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:m,onMonthChange:h}=e,g=e=>u.some(t=>t.days.some(t=>t.isEqualTo(e))),_=e=>{if(m)return;let t=i(e);n&&t<i(n)&&(t=i(n)),r&&t>i(r)&&(t=i(r)),c(t),h?.(t)};return{months:l,weeks:u,days:d,navStart:n,navEnd:r,previousMonth:f,nextMonth:p,goToMonth:_,goToDay:e=>{g(e)||_(e.date)}}}var HA;(function(e){e[e.Today=0]=`Today`,e[e.Selected=1]=`Selected`,e[e.LastFocused=2]=`LastFocused`,e[e.FocusedModifier=3]=`FocusedModifier`})(HA||={});function UA(e){return!e[ck.disabled]&&!e[ck.hidden]&&!e[ck.outside]}function WA(e,t,n,r){let i,a=-1;for(let o of e){let e=t(o);UA(e)&&(e[ck.focused]&&a<HA.FocusedModifier?(i=o,a=HA.FocusedModifier):r?.isEqualTo(o)&&a<HA.LastFocused?(i=o,a=HA.LastFocused):n(o.date)&&a<HA.Selected?(i=o,a=HA.Selected):e[ck.today]&&a<HA.Today&&(i=o,a=HA.Today))}return i||=e.find(e=>UA(t(e))),i}function GA(e,t,n,r,i,a,o){let{ISOWeek:s,broadcastCalendar:c}=a,{addDays:l,addMonths:u,addWeeks:d,addYears:f,endOfBroadcastWeek:p,endOfISOWeek:m,endOfWeek:h,max:g,min:_,startOfBroadcastWeek:v,startOfISOWeek:y,startOfWeek:b}=o,x={day:l,week:d,month:u,year:f,startOfWeek:e=>c?v(e,o):s?y(e):b(e),endOfWeek:e=>c?p(e):s?m(e):h(e)}[e](n,t===`after`?1:-1);return t===`before`&&r?x=g([r,x]):t===`after`&&i&&(x=_([i,x])),x}function KA(e,t,n,r,i,a,o,s=0){if(s>365)return;let c=GA(e,t,n.date,r,i,a,o),l=!!(a.disabled&&Hk(c,a.disabled,o)),u=!!(a.hidden&&Hk(c,a.hidden,o)),d=new ek(c,c,o);return!l&&!u?d:KA(e,t,d,r,i,a,o,s+1)}function qA(e,t,n,r,i){let{autoFocus:a}=e,[o,s]=(0,b.useState)(),c=WA(t.days,n,r||(()=>!1),o),[l,u]=(0,b.useState)(a?c:void 0);return(0,b.useEffect)(()=>{l&&c&&(t.days.some(e=>e.isEqualTo(l))||u(c))},[t.days,l,c]),{isFocusTarget:e=>!!c?.isEqualTo(e),setFocused:u,focused:l,blur:()=>{s(l),u(void 0)},moveFocus:(n,r)=>{if(!l)return;let a=KA(n,r,l,t.navStart,t.navEnd,e,i);a&&(!e.disableNavigation||t.days.some(e=>e.isEqualTo(a)))&&(t.goToDay(a),u(a))}}}function JA(e,t){let{selected:n,required:r,onSelect:i}=e,[a,o]=BA(n,i?n:void 0),s=i?n:a,{isSameDay:c}=t,l=e=>s?.some(t=>c(t,e))??!1,{min:u,max:d}=e;return{selected:s,select:(e,t,n)=>{let a=[...s??[]];if(l(e)){if(s?.length===u||r&&s?.length===1)return;a=s?.filter(t=>!c(t,e))}else a=s?.length===d?[e]:[...a,e];return i||o(a),i?.(a,e,t,n),a},isSelected:l}}function YA(e,t,n=0,r=0,i=!1,a=$O){let{from:o,to:s}=t||{},{isSameDay:c,isAfter:l,isBefore:u}=a,d;if(!o&&!s)d={from:e,to:n>0?void 0:e};else if(o&&!s)d=c(o,e)?n===0?{from:o,to:e}:i?{from:o,to:void 0}:void 0:u(e,o)?{from:e,to:o}:{from:o,to:e};else if(o&&s){if(c(o,e)&&c(s,e))d=i?{from:o,to:s}:void 0;else if(c(o,e))d={from:o,to:n>0?void 0:e};else if(c(s,e))d={from:e,to:n>0?void 0:e};else if(u(e,o))d={from:e,to:s};else if(l(e,o))d={from:o,to:e};else if(l(e,s))d={from:o,to:e};else throw Error(`Invalid range`)}if(d?.from&&d?.to){let t=a.differenceInCalendarDays(d.to,d.from);(r>0&&t>r||n>1&&t<n)&&(d={from:e,to:void 0})}return d}function XA(e,t,n=$O){let r=Array.isArray(t)?t:[t],i=e.from,a=n.differenceInCalendarDays(e.to,e.from),o=Math.min(a,6);for(let e=0;e<=o;e++){if(r.includes(i.getDay()))return!0;i=n.addDays(i,1)}return!1}function ZA(e,t,n=$O){return Fk(e,t.from,!1,n)||Fk(e,t.to,!1,n)||Fk(t,e.from,!1,n)||Fk(t,e.to,!1,n)}function QA(e,t,n=$O){let r=Array.isArray(t)?t:[t];if(r.filter(e=>typeof e!=`function`).some(t=>typeof t==`boolean`?t:n.isDate(t)?Fk(e,t,!1,n):Vk(t,n)?t.some(t=>Fk(e,t,!1,n)):Lk(t)?t.from&&t.to?ZA(e,{from:t.from,to:t.to},n):!1:Bk(t)?XA(e,t.dayOfWeek,n):Ik(t)?n.isAfter(t.before,t.after)?ZA(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):Hk(e.from,t,n)||Hk(e.to,t,n):Rk(t)||zk(t)?Hk(e.from,t,n)||Hk(e.to,t,n):!1))return!0;let i=r.filter(e=>typeof e==`function`);if(i.length){let t=e.from,r=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=r;e++){if(i.some(e=>e(t)))return!0;t=n.addDays(t,1)}}return!1}function $A(e,t){let{disabled:n,excludeDisabled:r,resetOnSelect:i,selected:a,required:o,onSelect:s}=e,[c,l]=BA(a,s?a:void 0),u=s?a:c;return{selected:u,select:(a,c,d)=>{let{min:f,max:p}=e,m;if(a){let e=u?.from,n=u?.to,r=!!e&&!!n,s=!!e&&!!n&&t.isSameDay(e,n)&&t.isSameDay(a,e);m=i&&(r||!u?.from)?!o&&s?void 0:{from:a,to:void 0}:YA(a,u,f,p,o,t)}return r&&n&&m?.from&&m.to&&QA({from:m.from,to:m.to},n,t)&&(m.from=a,m.to=void 0),s||l(m),s?.(m,a,c,d),m},isSelected:e=>u&&Fk(u,e,!1,t)}}function ej(e,t){let{selected:n,required:r,onSelect:i}=e,[a,o]=BA(n,i?n:void 0),s=i?n:a,{isSameDay:c}=t;return{selected:s,select:(e,t,n)=>{let a=e;return!r&&s&&s&&c(e,s)&&(a=void 0),i||o(a),i?.(a,e,t,n),a},isSelected:e=>s?c(s,e):!1}}function tj(e,t){let n=ej(e,t),r=JA(e,t),i=$A(e,t);switch(e.mode){case`single`:return n;case`multiple`:return r;case`range`:return i;default:return}}function nj(e,t){return e instanceof GO&&e.timeZone===t?e:new GO(e,t)}function rj(e,t,n){if(!n)return nj(e,t);let r=nj(e,t),i=new GO(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,t);return new Date(i.getTime())}function ij(e,t,n){return typeof e==`boolean`||typeof e==`function`?e:e instanceof Date?rj(e,t,n):Array.isArray(e)?e.map(e=>e instanceof Date?rj(e,t,n):e):Lk(e)?{...e,from:e.from?nj(e.from,t):e.from,to:e.to?nj(e.to,t):e.to}:Ik(e)?{before:rj(e.before,t,n),after:rj(e.after,t,n)}:Rk(e)?{after:rj(e.after,t,n)}:zk(e)?{before:rj(e.before,t,n)}:e}function aj(e,t,n){return e&&(Array.isArray(e)?e.map(e=>ij(e,t,n)):ij(e,t,n))}function oj(e){let t=e,n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=nj(t.today,n)),t.month&&(t.month=nj(t.month,n)),t.defaultMonth&&(t.defaultMonth=nj(t.defaultMonth,n)),t.startMonth&&(t.startMonth=nj(t.startMonth,n)),t.endMonth&&(t.endMonth=nj(t.endMonth,n)),t.mode===`single`&&t.selected?t.selected=nj(t.selected,n):t.mode===`multiple`&&t.selected?t.selected=t.selected?.map(e=>nj(e,n)):t.mode===`range`&&t.selected&&(t.selected={from:t.selected.from?nj(t.selected.from,n):t.selected.from,to:t.selected.to?nj(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=aj(t.disabled,n)),t.hidden!==void 0&&(t.hidden=aj(t.hidden,n)),t.modifiers)){let e={};Object.keys(t.modifiers).forEach(r=>{e[r]=aj(t.modifiers?.[r],n)}),t.modifiers=e}let{components:r,formatters:i,labels:a,dateLib:o,locale:s,classNames:c}=(0,b.useMemo)(()=>{let e={...ZO,...t.locale},n=t.broadcastCalendar?1:t.weekStartsOn,r=t.noonSafe&&t.timeZone?SA(t.timeZone,{weekStartsOn:n,locale:e}):void 0,i=t.dateLib&&r?{...r,...t.dateLib}:t.dateLib??r,a=new QO({locale:e,weekStartsOn:n,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},i);return{dateLib:a,components:Gk(t.components),formatters:nA(t.formatters),labels:_A(t.labels,a.options),locale:e,classNames:{...qk(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:o.today()});let{captionLayout:l,mode:u,navLayout:d,numberOfMonths:f=1,onDayBlur:p,onDayClick:m,onDayFocus:h,onDayKeyDown:g,onDayMouseEnter:_,onDayMouseLeave:v,onNextClick:y,onPrevClick:x,showWeekNumber:S,styles:C}=t,{formatCaption:w,formatDay:T,formatMonthDropdown:E,formatWeekNumber:D,formatWeekNumberHeader:O,formatWeekdayName:k,formatYearDropdown:A}=i,j=VA(t,o),{days:M,months:N,navStart:P,navEnd:F,previousMonth:I,nextMonth:L,goToMonth:R}=j,z=Uk(M,t,P,F,o),{isSelected:B,select:V,selected:H}=tj(t,o)??{},{blur:ee,focused:U,isFocusTarget:W,moveFocus:G,setFocused:K}=qA(t,j,z,B??(()=>!1),o),{labelDayButton:q,labelGridcell:J,labelGrid:te,labelMonthDropdown:Y,labelNav:X,labelPrevious:ne,labelNext:re,labelWeekday:ie,labelWeekNumber:ae,labelWeekNumberHeader:oe,labelYearDropdown:se}=a,ce=(0,b.useMemo)(()=>bA(o,t.ISOWeek,t.broadcastCalendar,t.today),[o,t.ISOWeek,t.broadcastCalendar,t.today]),le=u!==void 0||m!==void 0,ue=(0,b.useCallback)(()=>{I&&(R(I),x?.(I))},[I,R,x]),Z=(0,b.useCallback)(()=>{L&&(R(L),y?.(L))},[R,L,y]),de=(0,b.useCallback)((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),K(e),t.disabled||(V?.(e.date,t,n),m?.(e.date,t,n))},[V,m,K]),fe=(0,b.useCallback)((e,t)=>n=>{K(e),h?.(e.date,t,n)},[h,K]),pe=(0,b.useCallback)((e,t)=>n=>{ee(),p?.(e.date,t,n)},[ee,p]),me=(0,b.useCallback)((e,n)=>r=>{let i={ArrowLeft:[r.shiftKey?`month`:`day`,t.dir===`rtl`?`after`:`before`],ArrowRight:[r.shiftKey?`month`:`day`,t.dir===`rtl`?`before`:`after`],ArrowDown:[r.shiftKey?`year`:`week`,`after`],ArrowUp:[r.shiftKey?`year`:`week`,`before`],PageUp:[r.shiftKey?`year`:`month`,`before`],PageDown:[r.shiftKey?`year`:`month`,`after`],Home:[`startOfWeek`,`before`],End:[`endOfWeek`,`after`]};if(i[r.key]){r.preventDefault(),r.stopPropagation();let[e,t]=i[r.key];G(e,t)}g?.(e.date,n,r)},[G,g,t.dir]),he=(0,b.useCallback)((e,t)=>n=>{_?.(e.date,t,n)},[_]),ge=(0,b.useCallback)((e,t)=>n=>{v?.(e.date,t,n)},[v]),_e=(0,b.useCallback)((e,t)=>n=>{let r=Number(n.target.value),i=o.setMonth(o.startOfMonth(e),r);R(o.addMonths(i,-t))},[o,R]),ve=(0,b.useCallback)((e,t)=>n=>{let r=Number(n.target.value),i=o.setYear(o.startOfMonth(e),r);R(o.addMonths(i,-t))},[o,R]),{className:ye,style:be}=(0,b.useMemo)(()=>({className:[c[sk.Root],t.className].filter(Boolean).join(` `),style:{...C?.[sk.Root],...t.style}}),[c,t.className,t.style,C]),xe=Kk(t),Se=e=>{let t=C?.[sk.Dropdown],n=C?.[e];if(t||n)return{...t,...n}},Ce=(0,b.useRef)(null);AA(Ce,!!t.animate,{classNames:c,months:N,focused:U,dateLib:o});let we={dayPickerProps:t,selected:H,select:V,isSelected:B,months:N,nextMonth:L,previousMonth:I,goToMonth:R,getModifiers:z,components:r,classNames:c,styles:C,labels:a,formatters:i};return b.createElement(dk.Provider,{value:we},b.createElement(r.Root,{rootRef:t.animate?Ce:void 0,className:ye,style:be,dir:t.dir,id:t.id,lang:t.lang??s.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t[`aria-label`],"aria-labelledby":t[`aria-labelledby`],...xe},b.createElement(r.Months,{className:c[sk.Months],style:C?.[sk.Months]},!t.hideNavigation&&!d&&b.createElement(r.Nav,{"data-animated-nav":t.animate?`true`:void 0,className:c[sk.Nav],style:C?.[sk.Nav],"aria-label":X(),onPreviousClick:ue,onNextClick:Z,previousMonth:I,nextMonth:L}),N.map((e,n)=>{let a=t.reverseMonths?N.length-1-n:n;return b.createElement(r.Month,{"data-animated-month":t.animate?`true`:void 0,className:c[sk.Month],style:C?.[sk.Month],key:n,displayIndex:n,calendarMonth:e},d===`around`&&!t.hideNavigation&&n===0&&b.createElement(r.PreviousMonthButton,{type:`button`,className:c[sk.PreviousMonthButton],style:C?.[sk.PreviousMonthButton],tabIndex:I?void 0:-1,"aria-disabled":!I||void 0,"aria-label":ne(I),onClick:ue,"data-animated-button":t.animate?`true`:void 0},b.createElement(r.Chevron,{disabled:!I||void 0,className:c[sk.Chevron],style:C?.[sk.Chevron],orientation:t.dir===`rtl`?`right`:`left`})),b.createElement(r.MonthCaption,{"data-animated-caption":t.animate?`true`:void 0,className:c[sk.MonthCaption],style:C?.[sk.MonthCaption],calendarMonth:e,displayIndex:n},l?.startsWith(`dropdown`)?b.createElement(r.DropdownNav,{className:c[sk.Dropdowns],style:C?.[sk.Dropdowns]},(()=>{let n=l===`dropdown`||l===`dropdown-months`?b.createElement(r.MonthsDropdown,{key:`month`,className:c[sk.MonthsDropdown],"aria-label":Y(),disabled:!!t.disableNavigation,onChange:_e(e.date,a),options:vA(e.date,P,F,i,o),style:Se(sk.MonthsDropdown),value:o.getMonth(e.date)}):b.createElement(`span`,{key:`month`},E(e.date,o)),s=l===`dropdown`||l===`dropdown-years`?b.createElement(r.YearsDropdown,{key:`year`,className:c[sk.YearsDropdown],"aria-label":se(o.options),disabled:!!t.disableNavigation,onChange:ve(e.date,a),options:xA(P,F,i,o,!!t.reverseYears),style:Se(sk.YearsDropdown),value:o.getYear(e.date)}):b.createElement(`span`,{key:`year`},A(e.date,o));return o.getMonthYearOrder()===`year-first`?[s,n]:[n,s]})(),b.createElement(`span`,{role:`status`,"aria-live":`polite`,style:{border:0,clip:`rect(0 0 0 0)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`absolute`,width:`1px`,whiteSpace:`nowrap`,wordWrap:`normal`}},w(e.date,o.options,o))):b.createElement(r.CaptionLabel,{className:c[sk.CaptionLabel],style:C?.[sk.CaptionLabel],role:`status`,"aria-live":`polite`},w(e.date,o.options,o))),d===`around`&&!t.hideNavigation&&n===f-1&&b.createElement(r.NextMonthButton,{type:`button`,className:c[sk.NextMonthButton],style:C?.[sk.NextMonthButton],tabIndex:L?void 0:-1,"aria-disabled":!L||void 0,"aria-label":re(L),onClick:Z,"data-animated-button":t.animate?`true`:void 0},b.createElement(r.Chevron,{disabled:!L||void 0,className:c[sk.Chevron],style:C?.[sk.Chevron],orientation:t.dir===`rtl`?`left`:`right`})),n===f-1&&d===`after`&&!t.hideNavigation&&b.createElement(r.Nav,{"data-animated-nav":t.animate?`true`:void 0,className:c[sk.Nav],style:C?.[sk.Nav],"aria-label":X(),onPreviousClick:ue,onNextClick:Z,previousMonth:I,nextMonth:L}),b.createElement(r.MonthGrid,{role:`grid`,"aria-multiselectable":u===`multiple`||u===`range`,"aria-label":te(e.date,o.options,o)||void 0,className:c[sk.MonthGrid],style:C?.[sk.MonthGrid]},!t.hideWeekdays&&b.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?`true`:void 0,className:c[sk.Weekdays],style:C?.[sk.Weekdays]},S&&b.createElement(r.WeekNumberHeader,{"aria-label":oe(o.options),className:c[sk.WeekNumberHeader],style:C?.[sk.WeekNumberHeader],scope:`col`},O()),ce.map(e=>b.createElement(r.Weekday,{"aria-label":ie(e,o.options,o),className:c[sk.Weekday],key:String(e),style:C?.[sk.Weekday],scope:`col`},k(e,o.options,o)))),b.createElement(r.Weeks,{"data-animated-weeks":t.animate?`true`:void 0,className:c[sk.Weeks],style:C?.[sk.Weeks]},e.weeks.map(e=>b.createElement(r.Week,{className:c[sk.Week],key:e.weekNumber,style:C?.[sk.Week],week:e},S&&b.createElement(r.WeekNumber,{week:e,style:C?.[sk.WeekNumber],"aria-label":ae(e.weekNumber,{locale:s}),className:c[sk.WeekNumber],scope:`row`,role:`rowheader`},D(e.weekNumber,o)),e.days.map(e=>{let{date:n}=e,i=z(e);if(i[ck.focused]=!i.hidden&&!!U?.isEqualTo(e),i[lk.selected]=B?.(n)||i.selected,Lk(H)){let{from:e,to:t}=H;i[lk.range_start]=!!(e&&t&&o.isSameDay(n,e)),i[lk.range_end]=!!(e&&t&&o.isSameDay(n,t)),i[lk.range_middle]=Fk(H,n,!0,o)}let a=yA(i,C,t.modifiersStyles),s=Wk(i,c,t.modifiersClassNames),l=!le&&!i.hidden?J(n,i,o.options,o):void 0;return b.createElement(r.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:i,className:s.join(` `),style:a,role:`gridcell`,"aria-selected":i.selected||void 0,"aria-label":l,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":i.selected||void 0,"data-disabled":i.disabled||void 0,"data-hidden":i.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":i.focused||void 0,"data-today":i.today||void 0},!i.hidden&&le?b.createElement(r.DayButton,{className:c[sk.DayButton],style:C?.[sk.DayButton],type:`button`,day:e,modifiers:i,disabled:!i.focused&&i.disabled||void 0,"aria-disabled":i.focused&&i.disabled||void 0,tabIndex:W(e)?0:-1,"aria-label":q(n,i,o.options,o),onClick:de(e,i),onBlur:pe(e,i),onFocus:fe(e,i),onKeyDown:me(e,i),onMouseEnter:he(e,i),onMouseLeave:ge(e,i)},T(n,o.options,o)):!i.hidden&&T(e.date,o.options,o))}))))))})),t.footer&&b.createElement(r.Footer,{className:c[sk.Footer],style:C?.[sk.Footer],role:`status`,"aria-live":`polite`},t.footer)))}var sj=(0,b.createContext)(null);function cj(){let e=(0,b.useContext)(sj);if(!e)throw Error(`Calendar context not in scope.`);return e}function lj(e){let t=(0,Q.c)(18),n,r,i;if(t[0]!==e){let{day:a,modifiers:o,children:s,...c}=e;r=o,n=s,i=c,t[0]=e,t[1]=n,t[2]=r,t[3]=i}else n=t[1],r=t[2],i=t[3];let a=ap(),{classNames:o,dayPickerProps:s}=fk(),{disableNavigation:c,onDayClick:l}=s,u=n&&l!==void 0,d=u&&(!c||!r.outside),f=u?n.props.children:n,p;t[4]===a?p=t[5]:(p=a(`calendar__day-content`),t[4]=a,t[5]=p);let m;t[6]!==f||t[7]!==p?(m=(0,q.jsx)(`span`,{className:p,children:f}),t[6]=f,t[7]=p,t[8]=m):m=t[8];let h=m,g;t[9]!==n||t[10]!==o||t[11]!==h||t[12]!==r.hidden||t[13]!==d?(g=!r.hidden&&(d?(0,b.cloneElement)(n,{children:h}):(0,q.jsx)(`span`,{className:o.day_button,children:h})),t[9]=n,t[10]=o,t[11]=h,t[12]=r.hidden,t[13]=d,t[14]=g):g=t[14];let _;return t[15]!==i||t[16]!==g?(_=(0,q.jsx)(`td`,{...i,children:g}),t[15]=i,t[16]=g,t[17]=_):_=t[17],_}function uj(e){let t=[];for(let n of e)if(Array.isArray(n)){let t=uj(n);t&&e.push(t)}else n&&typeof n!=`boolean`&&t.push(String(n));return t.join(` `)||void 0}function dj(e,t,n){for(let r=Object.getPrototypeOf(e);r!==null;r=Object.getPrototypeOf(r)){let i=Object.getOwnPropertyDescriptor(r,t)?.set;if(i){i.call(e,n);return}}let r=Object.getOwnPropertyDescriptor(e,t)?.set;if(r)r.call(e,n);else throw Error(`The given element does not have a "${t}" setter.`)}function fj(e){let t=(0,Q.c)(33),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({asChild:n,variant:c,status:o,visuallyHiddenPrefix:l,className:i,style:s,children:r,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=c===void 0?`default`:c,d=ap(),[f]=Mp(),p=gp(a),m,h;t[9]===p?(m=t[10],h=t[11]):({marginProps:m,...h}=p,t[9]=p,t[10]=m,t[11]=h);let g=l??f.ControlCode.visuallyHiddenPrefix,_=eM(),v=n?_p:`div`,y;t[12]!==i||t[13]!==d?(y=$(d(`control-code`),i),t[12]=i,t[13]=d,t[14]=y):y=t[14];let b;t[15]!==m.cssVars||t[16]!==s?(b={...m.cssVars,...s},t[15]=m.cssVars,t[16]=s,t[17]=b):b=t[17];let x=_?.variant??u,S=_?.status??o,C;t[18]===g?C=t[19]:(C=g&&(0,q.jsxs)(AE,{children:[g,` `]}),t[18]=g,t[19]=C);let w;t[20]===r?w=t[21]:(w=(0,q.jsx)(vp,{children:r}),t[20]=r,t[21]=w);let T;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,q.jsx)(AE,{children:`, `}),t[22]=T):T=t[22];let E;return t[23]!==v||t[24]!==m.dataAttrs||t[25]!==h||t[26]!==y||t[27]!==b||t[28]!==x||t[29]!==S||t[30]!==C||t[31]!==w?(E=(0,q.jsx)($j,{value:null,children:(0,q.jsxs)(v,{className:y,style:b,"data-variant":x,"data-status":S,...m.dataAttrs,...h,children:[C,w,T]})}),t[23]=v,t[24]=m.dataAttrs,t[25]=h,t[26]=y,t[27]=b,t[28]=x,t[29]=S,t[30]=C,t[31]=w,t[32]=E):E=t[32],E}var pj=(0,b.createContext)(null);function mj(){return(0,b.useContext)(pj)}var hj=(0,b.createContext)(!1);function gj(){return(0,b.useContext)(hj)}function _j(){return U_(vj)}function vj(e){return e.feedbackIds}function yj(e){let t=(0,Q.c)(4),n=H_(),r,i;return t[0]!==e||t[1]!==n?(r=()=>(n?.setState({controlName:e}),()=>n?.setState?.({controlName:void 0})),i=[e,n],t[0]=e,t[1]=n,t[2]=r,t[3]=i):(r=t[2],i=t[3]),Wp(r,i),n!==null}function bj(e){let t=(0,Q.c)(4),n=H_(),r,i;return t[0]!==e||t[1]!==n?(r=()=>(n?.setState({controlStatus:e}),()=>n?.setState?.({controlStatus:void 0})),i=[e,n],t[0]=e,t[1]=n,t[2]=r,t[3]=i):(r=t[2],i=t[3]),Wp(r,i),n!==null}function xj(){let e=(0,Q.c)(2),t=H_(),n;return e[0]===t?n=e[1]:(n=e=>t?.setState({controlFocused:e}),e[0]=t,e[1]=n),n}function Sj(e){let t=(0,Q.c)(46),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({asChild:n,type:c,visuallyHiddenPrefix:l,id:a,className:i,style:s,children:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=ap(),[d]=Mp(),f=l??d.Feedback.visuallyHiddenPrefix,p=gp(o),m,h;t[9]===p?(m=t[10],h=t[11]):({marginProps:m,...h}=p,t[9]=p,t[10]=m,t[11]=h);let g=DE(h),_,v;t[12]===g?(_=t[13],v=t[14]):({textProps:v,..._}=g,t[12]=g,t[13]=_,t[14]=v);let y=W_(),b=c??(y===`warned`?`warning`:y===`valid`?`success`:`error`),{onAddFeedback:x,onRemoveFeedback:S}=mj()??{},C,w;t[15]!==x||t[16]!==S||t[17]!==b?(C=()=>(x?.(b),()=>S?.(b)),w=[x,S,b],t[15]=x,t[16]=S,t[17]=b,t[18]=C,t[19]=w):(C=t[18],w=t[19]),Wp(C,w);let T=gj(),E;t[20]!==b||t[21]!==f?(E=typeof f==`function`?f(b):f,t[20]=b,t[21]=f,t[22]=E):E=t[22];let D=E,O=K_(a),k=n?_p:T?`li`:`div`,A;t[23]!==i||t[24]!==u?(A=$(u(`feedback`),i),t[23]=i,t[24]=u,t[25]=A):A=t[25];let j;t[26]!==m.cssVars||t[27]!==s||t[28]!==v.cssVars?(j={...m.cssVars,...v.cssVars,...s},t[26]=m.cssVars,t[27]=s,t[28]=v.cssVars,t[29]=j):j=t[29];let M=b===`error`?`danger`:b,N;t[30]===D?N=t[31]:(N=D&&(0,q.jsxs)(AE,{children:[D,` `]}),t[30]=D,t[31]=N);let P;t[32]===r?P=t[33]:(P=(0,q.jsx)(vp,{children:r}),t[32]=r,t[33]=P);let F;return t[34]!==k||t[35]!==O||t[36]!==m.dataAttrs||t[37]!==_||t[38]!==P||t[39]!==A||t[40]!==j||t[41]!==M||t[42]!==N||t[43]!==v.dataAttrs||t[44]!==b?(F=(0,q.jsxs)(k,{id:O,className:A,style:j,"data-accent":M,"data-type":b,...m.dataAttrs,...v.dataAttrs,..._,children:[N,P]}),t[34]=k,t[35]=O,t[36]=m.dataAttrs,t[37]=_,t[38]=P,t[39]=A,t[40]=j,t[41]=M,t[42]=N,t[43]=v.dataAttrs,t[44]=b,t[45]=F):F=t[45],F}var Cj=au,wj=su;function Tj(e){let t=(0,Q.c)(46),n,r,i,a,o,s,c,l,u,d;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10]):({showArrow:l,sideOffset:u,collisionPadding:d,forceMount:a,className:i,style:c,portalProps:s,arrowProps:n,children:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d);let f=l===void 0||l,p=u===void 0?3:u,m=d===void 0?3:d,h=ap(),g=VD(o),_,v;t[11]===g?(_=t[12],v=t[13]):({paddingProps:v,..._}=g,t[11]=g,t[12]=_,t[13]=v);let y=HD(_),b,x;t[14]===y?(b=t[15],x=t[16]):({sizingProps:x,...b}=y,t[14]=y,t[15]=b,t[16]=x);let S=ty()?.container,C;t[17]!==i||t[18]!==h?(C=$(h(`popover`),i),t[17]=i,t[18]=h,t[19]=C):C=t[19];let w;t[20]!==v.cssVars||t[21]!==x.cssVars||t[22]!==c?(w={...v.cssVars,...x.cssVars,...c},t[20]=v.cssVars,t[21]=x.cssVars,t[22]=c,t[23]=w):w=t[23];let T;t[24]===r?T=t[25]:(T=(0,q.jsx)(vp,{children:r}),t[24]=r,t[25]=T);let E;t[26]!==n||t[27]!==h||t[28]!==f?(E=f&&(0,q.jsx)(bu,{width:12,height:6,...n,className:$(h(`popover__arrow`),n?.className)}),t[26]=n,t[27]=h,t[28]=f,t[29]=E):E=t[29];let D;t[30]!==m||t[31]!==a||t[32]!==b||t[33]!==v.dataAttrs||t[34]!==p||t[35]!==x.dataAttrs||t[36]!==E||t[37]!==C||t[38]!==w||t[39]!==T?(D=(0,q.jsx)(lO,{asChild:!0,children:(0,q.jsx)(Zv,{zIndex:`popover`,children:(0,q.jsxs)(hu,{className:C,sideOffset:p,collisionPadding:m,forceMount:a,style:w,...v.dataAttrs,...x.dataAttrs,...b,children:[T,E]})})}),t[30]=m,t[31]=a,t[32]=b,t[33]=v.dataAttrs,t[34]=p,t[35]=x.dataAttrs,t[36]=E,t[37]=C,t[38]=w,t[39]=T,t[40]=D):D=t[40];let O;return t[41]!==a||t[42]!==s||t[43]!==D||t[44]!==S?(O=(0,q.jsx)(Jv,{children:(0,q.jsx)(pu,{container:S,...s,forceMount:a,children:D})}),t[41]=a,t[42]=s,t[43]=D,t[44]=S,t[45]=O):O=t[45],O}function Ej(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n=(0,q.jsx)(lu,{...e,asChild:!0}),t[0]=e,t[1]=n),n}function Dj(e,t){let n=(0,Q.c)(4),r,i;n[0]!==e||n[1]!==t?(r=()=>{if(!e){t(void 0);return}let n=()=>t({target:e,top:e.scrollTop,right:e.scrollWidth-e.scrollLeft-e.clientWidth,bottom:e.scrollHeight-e.scrollTop-e.clientHeight,left:e.scrollLeft});n();let r=new ResizeObserver(n);return r.observe(e),e.addEventListener(`scroll`,n,{capture:!1,passive:!0}),()=>{r.disconnect(),e.removeEventListener(`scroll`,n),t(void 0)}},i=[e,t],n[0]=e,n[1]=t,n[2]=r,n[3]=i):(r=n[2],i=n[3]),(0,b.useEffect)(r,i)}var Oj=new Set([`BUTTON`,`INPUT`,`METER`,`OUTPUT`,`PROGRESS`,`SELECT`,`TEXTAREA`]);function kj(e,t){let n;try{n=e()}catch(e){let n=t();if(Np(n))return Promise.resolve(n).then(()=>{throw e});throw e}if(Np(n))return Promise.resolve(n).finally(t);let r=t();return Np(r)?Promise.resolve(r).then(()=>n):n}function Aj(){let e=(0,Q.c)(7),t=ap(),n;e[0]===t?n=e[1]:(n=t(`print-only`),e[0]=t,e[1]=n);let r;e[2]===t?r=e[3]:(r=t(`print-hidden`),e[2]=t,e[3]=r);let i;return e[4]!==n||e[5]!==r?(i={printOnly:n,printHidden:r},e[4]=n,e[5]=r,e[6]=i):i=e[6],i}function jj(e){let t=(0,Q.c)(97),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],b=t[19],x=t[20]):({asChild:n,required:_,helperText:d,helperButtonLabel:s,color:a,highContrast:f,htmlFor:p,id:m,className:i,truncate:x,style:b,children:r,containerProps:o,requiredIconProps:y,requiredIconContainerProps:v,helperButtonProps:c,helperPopoverProps:u,helperPopoverContentProps:l,onClick:h,...g}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=b,t[20]=x);let S=ap(),[C]=Mp(),w=s??C.Label.helperButtonLabel,T=gp(g),E,D;t[21]===T?(E=t[22],D=t[23]):({marginProps:E,...D}=T,t[21]=T,t[22]=E,t[23]=D);let O;t[24]!==D||t[25]!==x?(O={truncate:x,...D},t[24]=D,t[25]=x,t[26]=O):O=t[26];let k=DE(O),A,j;t[27]===k?(A=t[28],j=t[29]):({textProps:j,...A}=k,t[27]=k,t[28]=A,t[29]=j);let{printHidden:M}=Aj(),N=pv(r,m),P=mv(),F=gv(),I=vv(),L=_??I,R;t[30]!==n||t[31]!==P||t[32]!==p?(R=e=>{let t=p??P;if(e.isTrusted&&t){let r=document.getElementById(t);if(r&&(n||!Oj.has(r.tagName))&&!r.contains(e.target)){let e=r.contentEditable;r.contentEditable=`true`,r.focus(),r.contentEditable=e}}},t[30]=n,t[31]=P,t[32]=p,t[33]=R):R=t[33];let z=R,B;t[34]!==n||t[35]!==P||t[36]!==F||t[37]!==p?(B=p??(!n&&F&&Oj.has(F)?P:void 0),t[34]=n,t[35]=P,t[36]=F,t[37]=p,t[38]=B):B=t[38];let V=B,H=n==null&&V==null,ee;t[39]!==L||t[40]!==S||t[41]!==v?.className||t[42]!==y?(ee=L&&(0,q.jsxs)(`span`,{className:$(S(`label__required-icon-container`),v?.className),children:[``,(0,q.jsx)(jE,{...y,className:$(S(`label__required-icon`),y?.className),icon:Hy})]}),t[39]=L,t[40]=S,t[41]=v?.className,t[42]=y,t[43]=ee):ee=t[43];let U=ee,W=E.dataAttrs,G;t[44]!==o?.className||t[45]!==S?(G=$(S(`label__container`),o?.className),t[44]=o?.className,t[45]=S,t[46]=G):G=t[46];let K=o?.style,J;t[47]!==E.cssVars||t[48]!==K?(J={...E.cssVars,...K},t[47]=E.cssVars,t[48]=K,t[49]=J):J=t[49];let te=n??H,Y;if(t[50]!==i||t[51]!==f||t[52]!==S){let e;t[54]!==f||t[55]!==S?(e=f&&S(`label--high-contrast`),t[54]=f,t[55]=S,t[56]=e):e=t[56],Y=$(S(`label`),e,i),t[50]=i,t[51]=f,t[52]=S,t[53]=Y}else Y=t[53];let X;t[57]!==z||t[58]!==h?(X=[h,z],t[57]=z,t[58]=h,t[59]=X):X=t[59];let ne;t[60]===Symbol.for(`react.memo_cache_sentinel`)?(ne={checkDefaultPrevented:!0},t[60]=ne):ne=t[60];let re=Dp(X,ne),ie;t[61]!==b||t[62]!==j.cssVars?(ie={...j.cssVars,...b},t[61]=b,t[62]=j.cssVars,t[63]=ie):ie=t[63];let ae;t[64]!==r||t[65]!==H?(ae=H?(0,q.jsx)(`span`,{children:r}):r,t[64]=r,t[65]=H,t[66]=ae):ae=t[66];let oe;t[67]===ae?oe=t[68]:(oe=(0,q.jsx)(vp,{children:ae}),t[67]=ae,t[68]=oe);let se=!x&&U,ce;t[69]!==V||t[70]!==a||t[71]!==N||t[72]!==A||t[73]!==te||t[74]!==Y||t[75]!==re||t[76]!==ie||t[77]!==oe||t[78]!==se||t[79]!==j.dataAttrs?(ce=(0,q.jsxs)(Xl,{asChild:te,id:N,className:Y,htmlFor:V,onClick:re,style:ie,"data-accent":a,...j.dataAttrs,...A,children:[oe,se]}),t[69]=V,t[70]=a,t[71]=N,t[72]=A,t[73]=te,t[74]=Y,t[75]=re,t[76]=ie,t[77]=oe,t[78]=se,t[79]=j.dataAttrs,t[80]=ce):ce=t[80];let le=x&&U,ue;t[81]!==w||t[82]!==c||t[83]!==l||t[84]!==u||t[85]!==d||t[86]!==S||t[87]!==M?(ue=d&&(0,q.jsxs)(Cj,{modal:!1,...u,children:[(0,q.jsx)(Ej,{children:(0,q.jsx)(JE,{icon:ky,variant:`ghost`,size:`sm`,label:w??``,...c,className:$(S(`label__helper-button`),M,c?.className)})}),(0,q.jsx)(Tj,{side:`top`,...l,className:$(S(`label__helper-popover`),l?.className),children:d})]}),t[81]=w,t[82]=c,t[83]=l,t[84]=u,t[85]=d,t[86]=S,t[87]=M,t[88]=ue):ue=t[88];let Z;return t[89]!==o||t[90]!==E.dataAttrs||t[91]!==J||t[92]!==ce||t[93]!==le||t[94]!==ue||t[95]!==G?(Z=(0,q.jsxs)(`div`,{...W,...o,className:G,style:J,children:[ce,le,ue]}),t[89]=o,t[90]=E.dataAttrs,t[91]=J,t[92]=ce,t[93]=le,t[94]=ue,t[95]=G,t[96]=Z):Z=t[96],Z}function Mj(e){let t=(0,Q.c)(3),{children:n}=e,r=cv(),i;return t[0]!==n||t[1]!==r?(i=(0,q.jsx)(sv,{value:r,children:n}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}function Nj(){return fv(Pj)}function Pj(e){return e.label}function Fj(){return fv(Ij)}function Ij(e){return e.labelId}function Lj(e,t,n){let r=(0,Q.c)(6),i=n!==void 0&&n,a=dv(),o,s;return r[0]!==e||r[1]!==i||r[2]!==a||r[3]!==t?(o=()=>(a?.setState({controlId:e,controlTagName:t,controlRequired:i}),()=>a?.setState?.({controlId:void 0,controlTagName:void 0,controlRequired:!1})),s=[e,i,a,t],r[0]=e,r[1]=i,r[2]=a,r[3]=t,r[4]=o,r[5]=s):(o=r[4],s=r[5]),Wp(o,s),a!==null}function Rj(e){let t=(0,Q.c)(128),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21]):({caption:a,captionSide:g,visuallyHiddenCaption:_,editable:v,variant:y,status:h,layout:x,required:p,defaultColumnWidth:S,maxHeight:u,containerProps:l,scrollableProps:m,captionProps:o,visuallyHiddenCaptionProps:C,className:c,children:s,"aria-label":r,"aria-labelledby":i,"aria-describedby":n,ref:f,...d}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C);let w=g===void 0?`bottom`:g,T=_===void 0?a:_,E=v!==void 0&&v,D=y===void 0?E?`control`:`default`:y,O=x===void 0?E?`fixed`:`auto`:x,k=S===void 0?150:S,A=ap(),j=gp(d),M,N;t[22]===j?(M=t[23],N=t[24]):({marginProps:M,...N}=j,t[22]=j,t[23]=M,t[24]=N);let P=Nj(),F=T??P,I=l?.id,L;t[25]!==p||t[26]!==h||t[27]!==I?(L={id:I,tagName:`DIV`,required:p,status:h},t[25]=p,t[26]=h,t[27]=I,t[28]=L):L=t[28];let{generatedId:R,controlId:z,codeId:B,feedbackIds:V,helperTextIds:H}=MP(L),ee;t[29]!==R||t[30]!==A||t[31]!==F||t[32]!==C?.id?(ee=F?C?.id??A(`table-caption-${R}`):void 0,t[29]=R,t[30]=A,t[31]=F,t[32]=C?.id,t[33]=ee):ee=t[33];let U=ee,W=(0,b.useRef)(null),[G,K]=(0,b.useState)(null),J;t[34]!==k||t[35]!==E||t[36]!==O||t[37]!==h?(J={editable:E,status:h,layout:O,defaultColumnWidth:k},t[34]=k,t[35]=E,t[36]=O,t[37]=h,t[38]=J):J=t[38];let te=Lv(J),{store:Y}=te,X,ne;t[39]!==k||t[40]!==O||t[41]!==Y?(X=()=>{if(O===`fixed`)return Y.subscribe(e=>{let{leafColumns:t}=e;return t&&Dv(t,k)},e=>{W.current&&(W.current.style.minWidth=e??``)},{fireImmediately:!0})},ne=[k,O,Y],t[39]=k,t[40]=O,t[41]=Y,t[42]=X,t[43]=ne):(X=t[42],ne=t[43]),(0,b.useEffect)(X,ne);let re,ie;t[44]!==k||t[45]!==O||t[46]!==G||t[47]!==Y?(re=()=>{if(O===`fixed`)return Y.subscribe(e=>{let{leafColumns:t}=e;return t&&Ov(t,k)},e=>{W.current&&(W.current.style.maxWidth=e??``),G&&(G.style.maxWidth=e?`min(100%, ${e})`:``)},{fireImmediately:!0})},ie=[k,O,G,Y],t[44]=k,t[45]=O,t[46]=G,t[47]=Y,t[48]=re,t[49]=ie):(re=t[48],ie=t[49]),(0,b.useEffect)(re,ie);let ae;t[50]===te.store?ae=t[51]:(ae=e=>te.store.setState({scrollPosition:e}),t[50]=te.store,t[51]=ae),Dj(G,ae);let oe;t[52]!==a||t[53]!==o||t[54]!==w||t[55]!==A?(oe=a&&(0,q.jsx)(`div`,{"aria-hidden":!0,...o,className:$(A(`table__caption`),A(`table__caption--${w}`),o?.className),children:a}),t[52]=a,t[53]=o,t[54]=w,t[55]=A,t[56]=oe):oe=t[56];let se=oe,ce=M.dataAttrs,le;t[57]!==l?.className||t[58]!==A?(le=$(A(`table__container`),l?.className),t[57]=l?.className,t[58]=A,t[59]=le):le=t[59];let ue=l?.style,Z;t[60]!==M.cssVars||t[61]!==ue?(Z={...M.cssVars,...ue},t[60]=M.cssVars,t[61]=ue,t[62]=Z):Z=t[62];let de=w===`top`&&se,fe;t[63]===h?fe=t[64]:(fe=NP(h),t[63]=h,t[64]=fe);let pe;t[65]!==A||t[66]!==m?.className||t[67]!==D?(pe=$(A(`table__scrollable`),A(`table__scrollable--${D}`),m?.className),t[65]=A,t[66]=m?.className,t[67]=D,t[68]=pe):pe=t[68];let me=u!=null||m?.style?.maxHeight!=null?void 0:`hidden`,he=m?.style,ge;t[69]!==u||t[70]!==me||t[71]!==he?(ge={maxHeight:u,overflowY:me,...he},t[69]=u,t[70]=me,t[71]=he,t[72]=ge):ge=t[72];let _e=m?.ref,ve;t[73]===_e?ve=t[74]:(ve=[K,_e],t[73]=_e,t[74]=ve);let ye=sy(ve),be;t[75]!==c||t[76]!==O||t[77]!==A||t[78]!==D?(be=$(A(`table`),A(`table--${D}`),O===`fixed`&&A(`table--fixed`),c),t[75]=c,t[76]=O,t[77]=A,t[78]=D,t[79]=be):be=t[79];let xe;t[80]!==r||t[81]!==i||t[82]!==B||t[83]!==U?(xe=i??(r===void 0&&B?uj([B,U]):void 0),t[80]=r,t[81]=i,t[82]=B,t[83]=U,t[84]=xe):xe=t[84];let Se;t[85]!==n||t[86]!==V||t[87]!==H?(Se=uj([V,n,H]),t[85]=n,t[86]=V,t[87]=H,t[88]=Se):Se=t[88];let Ce;t[89]===f?Ce=t[90]:(Ce=[W,f],t[89]=f,t[90]=Ce);let we=sy(Ce),Te;t[91]!==F||t[92]!==U||t[93]!==C?(Te=U&&(0,q.jsx)(AE,{asChild:!0,children:(0,q.jsx)(`caption`,{...C,id:U,children:F})}),t[91]=F,t[92]=U,t[93]=C,t[94]=Te):Te=t[94];let Ee;t[95]===k?Ee=t[96]:(Ee=(0,q.jsx)(zj,{defaultColumnWidth:k}),t[95]=k,t[96]=Ee);let De;t[97]!==r||t[98]!==s||t[99]!==N||t[100]!==h||t[101]!==be||t[102]!==xe||t[103]!==Se||t[104]!==we||t[105]!==Te||t[106]!==Ee?(De=(0,q.jsxs)(`table`,{className:be,"data-status":h,"aria-label":r,"aria-labelledby":xe,"aria-describedby":Se,...N,ref:we,children:[Te,Ee,s]}),t[97]=r,t[98]=s,t[99]=N,t[100]=h,t[101]=be,t[102]=xe,t[103]=Se,t[104]=we,t[105]=Te,t[106]=Ee,t[107]=De):De=t[107];let Oe;t[108]!==z||t[109]!==m||t[110]!==h||t[111]!==fe||t[112]!==pe||t[113]!==ge||t[114]!==ye||t[115]!==De?(Oe=(0,q.jsx)(`div`,{"data-status":h,"data-accent":fe,tabIndex:0,...m,id:z,className:pe,style:ge,ref:ye,children:De}),t[108]=z,t[109]=m,t[110]=h,t[111]=fe,t[112]=pe,t[113]=ge,t[114]=ye,t[115]=De,t[116]=Oe):Oe=t[116];let ke=w===`bottom`&&se,Ae;t[117]!==l||t[118]!==M.dataAttrs||t[119]!==le||t[120]!==Z||t[121]!==de||t[122]!==Oe||t[123]!==ke?(Ae=(0,q.jsxs)(`div`,{...ce,...l,className:le,style:Z,children:[de,Oe,ke]}),t[117]=l,t[118]=M.dataAttrs,t[119]=le,t[120]=Z,t[121]=de,t[122]=Oe,t[123]=ke,t[124]=Ae):Ae=t[124];let je;return t[125]!==Ae||t[126]!==te?(je=(0,q.jsx)(Jv,{children:(0,q.jsx)(Iv,{value:te,children:Ae})}),t[125]=Ae,t[126]=te,t[127]=je):je=t[127],je}function zj(e){let t=(0,Q.c)(4),{defaultColumnWidth:n}=e,{store:r}=Bv(),i;t[0]===n?i=t[1]:(i=e=>e.leafColumns&&kv(e.leafColumns,n),t[0]=n,t[1]=i);let a=Qf(r,Bp(i)),o;return t[2]===a?o=t[3]:(o=a&&(0,q.jsx)(`colgroup`,{children:a.map(Bj)}),t[2]=a,t[3]=o),o}function Bj(e,t){return(0,q.jsx)(`col`,{style:e==null?void 0:{width:e}},t)}function Vj(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=ap(),a;t[3]!==n||t[4]!==i?(a=$(i(`table__body`),n),t[3]=n,t[4]=i,t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==a?(o=(0,q.jsx)(`tbody`,{className:a,...r}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function Hj(e){let t=(0,Q.c)(31),{columnIndex:n,_stickyColumnIndex:r,id:i,ref:a,...o}=e,s=ap(),{cssVarName:c,cssVarStyle:l}=cp(),{status:u,editable:d,store:f}=Bv(),p=Wv(),m;t[0]===n?m=t[1]:(m=e=>n!=null&&e.leafColumns?.[n]||{},t[0]=n,t[1]=m);let{header:h,align:g,variant:_,status:v,framed:y,paddingless:x,sticky:S,className:C,style:w,subColumns:T,id:E,label:D,helperText:O,helperButtonLabel:k,width:A,fixed:j,sortable:M,defaultSortDirection:N,sorted:P,onSort:F,containerProps:I,labelProps:L,sortButtonProps:R,sortIconContainerProps:z,sortAscIconProps:B,sortDescIconProps:V,helperButtonProps:H,helperPopoverProps:ee,helperPopoverContentProps:U,ref:W,...G}={...Qf(f,Bp(m)),...o},K=h===void 0?p:h,J=_===void 0?K?`header`:`data`:_,te=v===void 0?K?u:void 0:v,Y=y===void 0?d:y,X=x===void 0?!K&&d:x,ne=r,{colSpan:re}=o,ie=re===void 0?1:re;n!=null&&ne==null&&S&&(ne=n+(S===`left`?0:ie-1));let ae=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(S)return f.subscribe(e=>{let{scrollPosition:t,stickyColumnOffsets:n}=e;return ne!=null&&n()?.[ne+(S===`left`?ie:-ie)]===void 0&&t!=null&&(S===`left`?t.left>0:t.right>0)},e=>nb(ae.current,`stuck`,e),{fireImmediately:!0})},[ne,ie,S,f]);let oe=ne,se;t[2]!==c||t[3]!==S||t[4]!==f||t[5]!==oe?(se=[oe,c,S,f],t[2]=c,t[3]=S,t[4]=f,t[5]=oe,t[6]=se):se=t[6],(0,b.useEffect)(()=>{if(ne!=null&&S)return f.subscribe(e=>{let{stickyColumnOffsets:t}=e;return t()?.[ne]},e=>{e&&ae.current&&ae.current.style.setProperty(c(`table-cell-sticky-offset`),`${e}px`)},{fireImmediately:!0})},se);let ce=K?`th`:`td`,le=Kv,ue=$(s(`table__cell`),C),Z=l(`table-cell-align`,g),de;t[7]!==w||t[8]!==Z?(de={...Z,...w},t[7]=w,t[8]=Z,t[9]=de):de=t[9];let fe=te??void 0,pe;t[10]===Y?pe=t[11]:(pe=tb(Y),t[10]=Y,t[11]=pe);let me;t[12]===X?me=t[13]:(me=tb(X),t[12]=X,t[13]=me);let he;t[14]===a?he=t[15]:(he=[ae,a],t[14]=a,t[15]=he);let ge=sy(he),_e;t[16]!==ce||t[17]!==i||t[18]!==G||t[19]!==S||t[20]!==ue||t[21]!==de||t[22]!==fe||t[23]!==pe||t[24]!==me||t[25]!==ge||t[26]!==J?(_e=(0,q.jsx)(ce,{id:i,className:ue,style:de,"data-status":fe,"data-framed":pe,"data-paddingless":me,"data-variant":J,"data-sticky":S,...G,ref:ge}),t[16]=ce,t[17]=i,t[18]=G,t[19]=S,t[20]=ue,t[21]=de,t[22]=fe,t[23]=pe,t[24]=me,t[25]=ge,t[26]=J,t[27]=_e):_e=t[27];let ve;return t[28]!==le||t[29]!==_e?(ve=(0,q.jsx)(le,{value:!0,children:_e}),t[28]=le,t[29]=_e,t[30]=ve):ve=t[30],ve}function Uj(e){return null}function Wj(e){return null}function Gj(e){let t=(0,Q.c)(21),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({sticky:a,className:n,ref:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0||a,s=ap(),{store:c}=Bv(),l=(0,b.useRef)(null),u,d;t[5]!==o||t[6]!==c?(u=()=>c.subscribe(e=>{let{scrollPosition:t}=e;return o&&t!=null&&t.bottom>0},e=>nb(l.current,`stuck`,e),{fireImmediately:!0}),d=[o,c],t[5]=o,t[6]=c,t[7]=u,t[8]=d):(u=t[7],d=t[8]),(0,b.useEffect)(u,d);let f;t[9]!==n||t[10]!==s?(f=$(s(`table__foot`),n),t[9]=n,t[10]=s,t[11]=f):f=t[11];let p;t[12]===o?p=t[13]:(p=tb(o),t[12]=o,t[13]=p);let m;t[14]===i?m=t[15]:(m=[l,i],t[14]=i,t[15]=m);let h=sy(m),g;return t[16]!==r||t[17]!==f||t[18]!==p||t[19]!==h?(g=(0,q.jsx)(Gv,{value:!0,children:(0,q.jsx)(`tfoot`,{className:f,"data-sticky":p,...r,ref:h})}),t[16]=r,t[17]=f,t[18]=p,t[19]=h,t[20]=g):g=t[20],g}function Kj(e,t,n){let{toObject:r,objectKeyProp:i=`id`,groupType:a,allowNestedGroups:o=!1,groupProp:s=`children`,renderUnknownComponents:c=!0,doNotRender:l,transformObject:u,transformChildObject:d=u,transformGroupObject:f=u}=n??{},p=r?{}:[];return b.Children.forEach(e,e=>{if(!(0,b.isValidElement)(e)||typeof e.type==`string`)return;let{type:u,props:m}=e;if(u===b.Fragment){let e=Kj(m.children,t,n);r?Object.assign(p,e):p.push(...e)}else if(u===t||u===a){let e,c;if(r){let{[i]:t,...n}=m;e=n,c=t}else e={...m};if(u===t)d&&(e=d(e));else{let i=Kj(m.children,t,o?n:{...n,groupType:void 0,doNotRender:[...l??[],a]});(r&&Object.keys(i).length>0||!r&&i.length>0)&&(e[s]=i),f&&(e=f(e))}r?p[c]=e:p.push(e)}else if(c&&typeof u==`function`&&!u.prototype?.isReactComponent&&!l?.includes(u)){let e=Kj(u(m),t,n);r?Object.assign(p,e):p.push(...e)}}),p}function qj(e){let t=(0,Q.c)(18),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,selected:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=ap(),s;if(t[5]!==n){s=[];let e=0;for(let t of b.Children.toArray(n)){if(!(0,b.isValidElement)(t)||t.type!==Hj){s.push(t);continue}let n=t.props,{columnIndex:r,colSpan:i}=n;r===void 0?(s.push((0,b.cloneElement)(t,{...n,columnIndex:e})),e+=i??1):(s.push(t),r!==null&&(e=r+(i??1)))}t[5]=n,t[6]=s}else s=t[6];let c;t[7]!==r||t[8]!==o?(c=$(o(`table__row`),r),t[7]=r,t[8]=o,t[9]=c):c=t[9];let l;t[10]===a?l=t[11]:(l=tb(a),t[10]=a,t[11]=l);let u=a||void 0,d;return t[12]!==s||t[13]!==i||t[14]!==c||t[15]!==l||t[16]!==u?(d=(0,q.jsx)(`tr`,{className:c,"data-selected":l,"aria-selected":u,...i,children:s}),t[12]=s,t[13]=i,t[14]=c,t[15]=l,t[16]=u,t[17]=d):d=t[17],d}function Jj(e){let t=(0,Q.c)(40),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({columns:i,sticky:l,sortByColumnDescription:c,rowProps:s,className:r,children:n,ref:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=l===void 0||l,d=ap(),[f]=Mp(),p=c??f.TableHead.sortByColumnDescription,{status:m,layout:h,store:g}=Bv(),_;t[9]!==n||t[10]!==i?(_=i??Kj(n,Uj,{groupType:Wj,groupProp:`subColumns`,allowNestedGroups:!0,doNotRender:[qj],transformObject:Zj}),t[9]=n,t[10]=i,t[11]=_):_=t[11];let v=_,y=Cv(v),x=Array.from({length:y},(e,t)=>Tv(v,t)),{printHidden:S}=Aj(),C=(0,b.useId)(),w,T;t[12]===v?(w=t[13],T=t[14]):(w=Ev(v),T=new Map(w.map(Xj)),t[12]=v,t[13]=w,t[14]=T);let E=T,D,O;t[15]!==w||t[16]!==g?(D=()=>g.setState({leafColumns:w}),O=[w,g],t[15]=w,t[16]=g,t[17]=D,t[18]=O):(D=t[17],O=t[18]),(0,b.useEffect)(D,O);let k=(0,b.useRef)(null),A,j;t[19]!==u||t[20]!==g?(A=()=>g.subscribe(e=>{let{scrollPosition:t}=e;return u&&t!=null&&t.top>0},e=>nb(k.current,`stuck`,e),{fireImmediately:!0}),j=[u,g],t[19]=u,t[20]=g,t[21]=A,t[22]=j):(A=t[21],j=t[22]),(0,b.useEffect)(A,j);let M=jv(v),N=Mv(v),P=Uv,F;t[23]!==r||t[24]!==d?(F=$(d(`table__head`),r),t[23]=r,t[24]=d,t[25]=F):F=t[25];let I;t[26]===u?I=t[27]:(I=tb(u),t[26]=u,t[27]=I);let L;t[28]===o?L=t[29]:(L=[k,o],t[28]=o,t[29]=L);let R=sy(L),z=x.map((e,t)=>(0,q.jsx)(qj,{...typeof s==`function`?s(t):s,children:e.map((e,n)=>{let{subColumns:r,label:i,helperText:a,helperButtonLabel:o,width:s,fixed:c,header:l,align:u,sticky:g,sortable:_,defaultSortDirection:v,sorted:b,onSort:x,containerProps:w,labelProps:T,sortButtonProps:D,sortIconContainerProps:O,sortAscIconProps:k,sortDescIconProps:A,helperButtonProps:j,helperPopoverProps:P,helperPopoverContentProps:F,style:I,...L}=e,R=r===void 0?[]:r,z=v===void 0?`asc`:v,B=o??f.TableColumn.helperButtonLabel,V=Cv([e])>1?1:y-t,H=wv([e]),ee=R.length===0,U=ee?E.get(e):-1,W=g?ee?U:E.get(g===`left`?Nv(e):Pv(e)):-1,G=b?b===z?b===`asc`?`desc`:`asc`:null:z,K=ee&&_?d(`table-column-${U}-sort-description-${C}`):void 0,J=a&&(0,q.jsxs)(Cj,{modal:!1,...P,children:[(0,q.jsx)(Ej,{children:(0,q.jsx)(JE,{variant:`ghost`,icon:ky,color:NP(m),label:B??``,"data-align":u,...j,className:$(d(`table__column-helper-button`),S,j?.className)})}),(0,q.jsx)(Tj,{side:`top`,...F,className:$(d(`table__column-helper-popover`),F?.className),children:a})]});return(0,q.jsx)(Hj,{columnIndex:null,_stickyColumnIndex:W===-1?null:W,header:!0,scope:ee?`col`:`colgroup`,align:u,sticky:g,rowSpan:V===1?void 0:V,colSpan:H===1?void 0:H,style:{width:h===`fixed`&&s!=null?Array.isArray(s)?s.reduce(Yj,0):s:void 0,...I},"aria-sort":b===`asc`?`ascending`:b===`desc`?`descending`:void 0,...L,"data-left-most-column":tb(M.includes(e)),"data-right-most-column":tb(N.includes(e)),children:(0,q.jsxs)(AO,{direction:u===`right`?`row-reverse`:`row`,alignItems:`center`,justifyContent:u===`center`?`center`:void 0,gap:1.5,...w,children:[(!ee||!_)&&i&&(0,q.jsx)(`div`,{"data-align":u,...T,className:$(d(`table__column-label`),T?.className),children:i}),ee&&_&&(0,q.jsxs)(sD,{variant:`ghost`,"data-align":u,...D,className:$(d(`table__column-sort-button`),D?.className),"aria-describedby":uj([D?.[`aria-describedby`],K]),onClick:e=>{D?.onClick?.(e),e.defaultPrevented||x?.(G)},children:[i&&(0,q.jsx)(`div`,{...T,className:$(d(`table__column-label`),T?.className),children:i}),_&&(0,q.jsxs)(`div`,{...O,className:$(d(`table__column-icon-container`),`fa-stack`,O?.className),children:[(0,q.jsx)(jE,{"data-state":b===`desc`?`active`:!b&&z===`desc`||b&&z===`asc`?`next-active`:`inactive`,...A,icon:eb,className:$(d(`table__column-icon`),`fa-stack-1x`,A?.className)}),(0,q.jsx)(jE,{"data-state":b===`asc`?`active`:!b&&z===`asc`||b&&z===`desc`?`next-active`:`inactive`,...k,icon:hy,className:$(d(`table__column-icon`),`fa-stack-1x`,k?.className)})]}),_&&(0,q.jsx)(AE,{id:K,children:p(G)})]}),J]})},n)})},t)),B;t[30]!==n||t[31]!==a||t[32]!==I||t[33]!==R||t[34]!==z||t[35]!==F?(B=(0,q.jsxs)(`thead`,{className:F,"data-sticky":I,...a,ref:R,children:[z,n]}),t[30]=n,t[31]=a,t[32]=I,t[33]=R,t[34]=z,t[35]=F,t[36]=B):B=t[36];let V;return t[37]!==P||t[38]!==B?(V=(0,q.jsx)(P,{value:!0,children:B}),t[37]=P,t[38]=B,t[39]=V):V=t[39],V}function Yj(e,t){return e+t}function Xj(e,t){return[e,t]}function Zj(e){let{label:t,children:n,...r}=e;return{label:t??n,...r}}function Qj(e){let t=(0,Q.c)(3),{children:n}=e,r=z_(),i;return t[0]!==n||t[1]!==r?(i=(0,q.jsx)(R_,{value:r,children:n}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}var $j=(0,b.createContext)(null);function eM(){return(0,b.useContext)($j)}function tM(e){let t=typeof e==`string`?+e:e;return t===void 0||Number.isNaN(t)?void 0:Math.trunc(t)}function nM(e){return Object.entries(e).reduce((e,[t,n])=>(n.subColumns?Object.assign(e,nM(n.subColumns)):e[t]=n,e),{})}function rM(e){return Object.values(e).reduce((e,t)=>Math.max(e,rM(t.subColumns??{})+1),0)}function iM(e){return null}function aM(e){return null}function oM(e){return null}function sM(e,t){return e==null||e in t?e:null}function cM(e){return e===void 0||e===`asc`||e===`desc`?e:void 0}var lM=0,uM=10;function dM(e){let t=(0,Q.c)(130),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,ee,U,W,G;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38],V=t[39],H=t[40],ee=t[41],U=t[42],W=t[43],G=t[44]):({displayMode:F,columns:a,rows:D,onVisibleRowsChange:x,onProcessedRowsChange:g,getRows:u,rowKey:E,loadingCount:z,required:T,loading:B,defaultOffset:V,offset:f,onOffsetChange:h,defaultLimit:H,limit:d,onLimitChange:m,defaultFilter:ee,filter:l,onFilterChange:p,defaultSortBy:U,sortBy:N,defaultSortDirection:s,sortDirection:P,onSort:y,showSelectionColumn:W,selectionMode:G,defaultSelectedRows:o,selectedRows:j,onSelectedRowsChange:v,selectAllChecked:O,onSelectAll:_,disabledSelections:c,selectAllRowsLabel:k,selectRowLabel:A,renderRow:w,renderCell:C,dynamicRowHeight:I,estimatedRowHeight:L,overscan:R,showAllRowsWhilePrinting:M,apiRef:n,className:i,children:r,...S}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B,t[39]=V,t[40]=H,t[41]=ee,t[42]=U,t[43]=W,t[44]=G);let K=F===void 0?`paged`:F,J=z===void 0?2:z,te=B!==void 0&&B,Y=V===void 0?lM:V,X=H===void 0?uM:H,ne=ee===void 0?``:ee,re=U===void 0?null:U,ie=W!==void 0&&W,ae=G===void 0?`additive`:G,oe=I!==void 0&&I,se=L===void 0?41:L,ce=R===void 0?5:R,le=ap(),ue=qp(),Z=a;if(!Z){let e;t[45]===r?e=t[46]:(e=Kj(b.Children.toArray(r).find(pM).props.children,iM,{toObject:!0,groupType:aM,groupProp:`subColumns`,allowNestedGroups:!0,transformChildObject:fM}),t[45]=r,t[46]=e),Z=e}let de,fe,pe,me,he,ge,_e,ve;if(t[47]!==Z||t[48]!==X||t[49]!==Y||t[50]!==re||t[51]!==d||t[52]!==f||t[53]!==N){he=nM(Z);let e;t[62]===Z?e=t[63]:(e=rM(Z),t[62]=Z,t[63]=e),me=e;let n;t[64]===Y?n=t[65]:(n=tM(Y)??lM,t[64]=Y,t[65]=n),fe=n;let r;t[66]===f?r=t[67]:(r=tM(f),t[66]=f,t[67]=r),_e=r;let i;t[68]===X?i=t[69]:(i=tM(X)??uM,t[68]=X,t[69]=i),de=i;let a;t[70]===d?a=t[71]:(a=tM(d),t[70]=d,t[71]=a),ge=a,pe=sM(re,he)??null,ve=sM(N,he),t[47]=Z,t[48]=X,t[49]=Y,t[50]=re,t[51]=d,t[52]=f,t[53]=N,t[54]=de,t[55]=fe,t[56]=pe,t[57]=me,t[58]=he,t[59]=ge,t[60]=_e,t[61]=ve}else de=t[54],fe=t[55],pe=t[56],me=t[57],he=t[58],ge=t[59],_e=t[60],ve=t[61];let ye=ve,be;t[72]===s?be=t[73]:(be=cM(s),t[72]=s,t[73]=be);let xe=be,Se;t[74]===P?Se=t[75]:(Se=cM(P),t[74]=P,t[75]=Se);let Ce=Se,we=ue?`paged`:K,Te;t[76]!==n||t[77]!==Z||t[78]!==ne||t[79]!==de||t[80]!==fe||t[81]!==o||t[82]!==pe||t[83]!==xe||t[84]!==c||t[85]!==oe||t[86]!==se||t[87]!==l||t[88]!==u||t[89]!==me||t[90]!==he||t[91]!==ge||t[92]!==te||t[93]!==J||t[94]!==_e||t[95]!==p||t[96]!==m||t[97]!==h||t[98]!==g||t[99]!==_||t[100]!==v||t[101]!==y||t[102]!==x||t[103]!==ce||t[104]!==C||t[105]!==w||t[106]!==T||t[107]!==E||t[108]!==D||t[109]!==O||t[110]!==k||t[111]!==A||t[112]!==j||t[113]!==ae||t[114]!==M||t[115]!==ie||t[116]!==ye||t[117]!==Ce||t[118]!==we?(Te={displayMode:we,columns:Z,rows:D,onVisibleRowsChange:x,onProcessedRowsChange:g,getRows:u,rowKey:E,loadingCount:J,required:T,loading:te,renderRow:w,renderCell:C,dynamicRowHeight:oe,estimatedRowHeight:se,overscan:ce,showAllRowsWhilePrinting:M,apiRef:n,leafColumns:he,headCount:me,defaultOffset:fe,offset:_e,onOffsetChange:h,defaultLimit:de,limit:ge,onLimitChange:m,defaultFilter:ne,filter:l,onFilterChange:p,defaultSortBy:pe,sortBy:ye,defaultSortDirection:xe,sortDirection:Ce,onSort:y,showSelectionColumn:ie,selectionMode:ae,defaultSelectedRows:o,selectedRows:j,onSelectedRowsChange:v,selectAllChecked:O,onSelectAll:_,disabledSelections:c,selectAllRowsLabel:k,selectRowLabel:A},t[76]=n,t[77]=Z,t[78]=ne,t[79]=de,t[80]=fe,t[81]=o,t[82]=pe,t[83]=xe,t[84]=c,t[85]=oe,t[86]=se,t[87]=l,t[88]=u,t[89]=me,t[90]=he,t[91]=ge,t[92]=te,t[93]=J,t[94]=_e,t[95]=p,t[96]=m,t[97]=h,t[98]=g,t[99]=_,t[100]=v,t[101]=y,t[102]=x,t[103]=ce,t[104]=C,t[105]=w,t[106]=T,t[107]=E,t[108]=D,t[109]=O,t[110]=k,t[111]=A,t[112]=j,t[113]=ae,t[114]=M,t[115]=ie,t[116]=ye,t[117]=Ce,t[118]=we,t[119]=Te):Te=t[119];let Ee=S_(Te),De;t[120]!==i||t[121]!==le?(De=$(le(`data-table`),i),t[120]=i,t[121]=le,t[122]=De):De=t[122];let Oe;t[123]!==r||t[124]!==S||t[125]!==De?(Oe=(0,q.jsx)(`div`,{className:De,...S,children:r}),t[123]=r,t[124]=S,t[125]=De,t[126]=Oe):Oe=t[126];let ke;return t[127]!==Ee||t[128]!==Oe?(ke=(0,q.jsx)(x_,{value:Ee,children:Oe}),t[127]=Ee,t[128]=Oe,t[129]=ke):ke=t[129],ke}function fM(e){let{children:t,render:n,...r}=e;return{render:n??t,...r}}function pM(e){return(0,b.isValidElement)(e)&&e.type===oM}function mM(e){let t=(0,Q.c)(17),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({columnLabel:r,columnLabelId:i,className:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=ap(),s;t[5]!==r||t[6]!==i?(s={columnLabel:r,columnLabelId:i},t[5]=r,t[6]=i,t[7]=s):s=t[7];let c;t[8]!==n||t[9]!==o?(c=$(o(`data-table__cell`),n),t[8]=n,t[9]=o,t[10]=c):c=t[10];let l;t[11]!==a||t[12]!==c?(l=(0,q.jsx)(Hj,{className:c,...a}),t[11]=a,t[12]=c,t[13]=l):l=t[13];let u;return t[14]!==s||t[15]!==l?(u=(0,q.jsx)(I_,{value:s,children:l}),t[14]=s,t[15]=l,t[16]=u):u=t[16],u}function hM(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[],e[0]=t):t=e[0],(0,b.useEffect)(_M,t),vM(gM)}function gM(e){return e.measurements}function _M(){return vM.getState().actions.subscribe()}var vM=ep((e,t)=>({measurements:{height:0,width:0},element:Up(()=>[],()=>{let e=document.createElement(`div`);return e.style.width=`99px`,e.style.height=`99px`,e.style.overflow=`scroll`,e.style.position=`absolute`,e.style.top=`-9999px`,e.ariaHidden=`true`,e.role=`presentation`,e}),subscriptionCount:0,actions:{subscribe:()=>{let{element:n,subscriptionCount:r,actions:i}=t();return r===0&&(window.addEventListener(`resize`,i.updateMeasurements),document.body.appendChild(n()),i.updateMeasurements()),e(e=>({subscriptionCount:e.subscriptionCount+1})),i.unsubscribe},unsubscribe:()=>{let{element:n,subscriptionCount:r,actions:i}=t();e(e=>({subscriptionCount:e.subscriptionCount-1})),r===0&&(window.removeEventListener(`resize`,i.updateMeasurements),document.body.removeChild(n()))},updateMeasurements:()=>{let{offsetHeight:n,clientHeight:r,offsetWidth:i,clientWidth:a}=t().element(),o=n-r,s=i-a;e(e=>{let{height:t,width:n}=e.measurements;return t!==o||n!==s?{measurements:{height:o,width:s}}:{measurements:e.measurements}})}}}));function yM(e){let t=(0,Q.c)(28),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({asChild:n,color:o,className:r,style:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0?`warning`:o,c=ap(),l=gp(i),u,d;t[6]===l?(u=t[7],d=t[8]):({marginProps:u,...d}=l,t[6]=l,t[7]=u,t[8]=d);let f=DE(d),p,m;t[9]===f?(p=t[10],m=t[11]):({textProps:m,...p}=f,t[9]=f,t[10]=p,t[11]=m);let h=n?_p:`mark`,g;t[12]!==r||t[13]!==c?(g=$(c(`mark`),r),t[12]=r,t[13]=c,t[14]=g):g=t[14];let _=n?`mark`:void 0,v;t[15]!==u.cssVars||t[16]!==a||t[17]!==m.cssVars?(v={...u.cssVars,...m.cssVars,...a},t[15]=u.cssVars,t[16]=a,t[17]=m.cssVars,t[18]=v):v=t[18];let y;return t[19]!==h||t[20]!==s||t[21]!==u.dataAttrs||t[22]!==p||t[23]!==g||t[24]!==_||t[25]!==v||t[26]!==m.dataAttrs?(y=(0,q.jsx)(h,{className:g,role:_,style:v,"data-accent":s,...u.dataAttrs,...m.dataAttrs,...p}),t[19]=h,t[20]=s,t[21]=u.dataAttrs,t[22]=p,t[23]=g,t[24]=_,t[25]=v,t[26]=m.dataAttrs,t[27]=y):y=t[27],y}var bM=(0,b.createContext)(null);function xM(e){let t=(0,Q.c)(24),{defaultValue:n,value:r,onValueChange:i,formOnChange:a,name:o,minChecked:s,maxChecked:c,loadingDescriptionId:l,feedbackIds:u,helperTextIds:d,checkboxGroupRef:f}=e,p=ap(),m;t[0]!==a||t[1]!==i?(m={onValueChange:i,formOnChange:a},t[0]=a,t[1]=i,t[2]=m):m=t[2];let h=Ep(m),g;t[3]!==n||t[4]!==h||t[5]!==r?(g=()=>Xf()(Op((e,t)=>({value:r??n??[],firstCheckboxId:void 0,actions:{handleCheckedChange:(n,r)=>{let i=r?[...t().value,n]:t().value.filter(e=>e!==n);e({value:i}),h.current.onValueChange?.(i),h.current.formOnChange(i)}}}))),t[3]=n,t[4]=h,t[5]=r,t[6]=g):g=t[6];let _=Pp(g),v,y;t[7]!==_||t[8]!==r?(v=()=>{r!==void 0&&_.setState({value:r})},y=[_,r],t[7]=_,t[8]=r,t[9]=v,t[10]=y):(v=t[9],y=t[10]),(0,b.useEffect)(v,y);let x,S;t[11]!==f||t[12]!==p||t[13]!==_?(x=()=>{let e=f.current;if(!e)return;let t=()=>_.setState({firstCheckboxId:e.querySelector(`.${p(`checkbox`)}`)?.id}),n=new MutationObserver(t);return n.observe(e,{childList:!0,subtree:!0}),t(),()=>n.disconnect()},S=[f,p,_],t[11]=f,t[12]=p,t[13]=_,t[14]=x,t[15]=S):(x=t[14],S=t[15]),Wp(x,S);let C;return t[16]!==u||t[17]!==d||t[18]!==l||t[19]!==c||t[20]!==s||t[21]!==o||t[22]!==_?(C={name:o,minChecked:s,maxChecked:c,loadingDescriptionId:l,feedbackIds:u,helperTextIds:d,store:_},t[16]=u,t[17]=d,t[18]=l,t[19]=c,t[20]=s,t[21]=o,t[22]=_,t[23]=C):C=t[23],C}function SM(){return(0,b.useContext)(bM)}function CM(e){let t=(0,Q.c)(10),n=SM()?.store,r;t[0]===n?r=t[1]:(r=Hp(n),t[0]=n,t[1]=r);let i=r,a=Qf(i,wM),o;t[2]===e?o=t[3]:(o=t=>t.value?.includes(e),t[2]=e,t[3]=o);let s=Qf(i,o),c;t[4]!==e||t[5]!==a?(c=a&&(t=>a(e,t)),t[4]=e,t[5]=a,t[6]=c):c=t[6];let l;return t[7]!==s||t[8]!==c?(l=[s,c],t[7]=s,t[8]=c,t[9]=l):l=t[9],l}function wM(e){return e.actions?.handleCheckedChange}function TM(){let e=(0,Q.c)(4),t=SM(),n=t?.store,r;e[0]===n?r=e[1]:(r=Hp(n),e[0]=n,e[1]=r);let i=r,a=t?.minChecked,o;return e[2]===a?o=e[3]:(o=e=>a!=null&&e.value.length<a,e[2]=a,e[3]=o),Qf(i,o)}function EM(e){let t=(0,Q.c)(5),n=SM(),r=n?.store,i;t[0]===r?i=t[1]:(i=Hp(r),t[0]=r,t[1]=i);let a=i,o=n?.maxChecked,s;return t[2]!==e||t[3]!==o?(s=t=>o!=null&&!e&&t.value.length>=o,t[2]=e,t[3]=o,t[4]=s):s=t[4],Qf(a,s)}function DM(e){let t=(0,Q.c)(4),n=SM(),r=n?.store,i;t[0]===r?i=t[1]:(i=Hp(r),t[0]=r,t[1]=i);let a=i,o=n?.helperTextIds,s;return t[2]===e?s=t[3]:(s=t=>t.firstCheckboxId===e,t[2]=e,t[3]=s),Qf(a,s)?o:void 0}var OM=[`valueMissing`,`badInput`,`typeMismatch`,`patternMismatch`,`tooShort`,`tooLong`,`rangeUnderflow`,`rangeOverflow`,`stepMismatch`],kM=(0,b.createContext)(null);function AM(e,t,n,r){let i=(0,Q.c)(36),a=(0,b.useContext)(kM),o=a?.store,s;i[0]===o?s=i[1]:(s=Hp(o),i[0]=o,i[1]=s);let c=s,l=r??a?.validationMode??`onSubmitThenChange`,u=a?.disableNativeValidations;yj(e);let d;i[2]!==u||i[3]!==n?(d={disableNativeValidations:u,validate:n},i[2]=u,i[3]=n,i[4]=d):d=i[4];let f=Ep(d),p;i[5]!==f||i[6]!==e||i[7]!==c?(p=t=>{let{actions:n}=c.getState();if(!e||!n)return;let r=n.getElement(e),i=(r instanceof RadioNodeList?Array.from(r):[r]).filter(jM);if(i.length>0){if(!f.current.disableNativeValidations){let t=new Set,r=[];for(let e of i)for(let n of OM)e.validity[n]&&!t.has(n)&&r.push({key:n,element:e});n.setNativeErrors(e,r)}let r=f.current.validate;if(r){let i=function(t){n.setValidateErrors(e,t)},a=r(t,n.getValue());return Np(a)?a.then(i):i(a)}}},i[5]=f,i[6]=e,i[7]=c,i[8]=p):p=i[8];let m=p,h=(0,b.useRef)(t),g,_;i[9]!==e||i[10]!==c||i[11]!==m||i[12]!==l?(g=()=>{let{actions:t}=c.getState();if(!e||!t)return;let n=t.registerControl(e,h.current,m);return l===`onChange`&&t.queueValidate(),n},_=[e,c,m,l],i[9]=e,i[10]=c,i[11]=m,i[12]=l,i[13]=g,i[14]=_):(g=i[13],_=i[14]),(0,b.useEffect)(g,_);let v;i[15]!==e||i[16]!==c?(v=t=>{let{actions:n}=c.getState();e&&n&&n.setValue(e,t)},i[15]=e,i[16]=c,i[17]=v):v=i[17];let y=v,x;i[18]!==e||i[19]!==c||i[20]!==l?(x=t=>{let{submitCount:n,actions:r}=c.getState();e&&r&&(r.setValue(e,t),r.setDirty(e),r.clearSubmitErrors(e),(l===`onChange`||l===`onSubmitThenChange`&&n!==0)&&r.queueValidate(),r.onValueChange())},i[18]=e,i[19]=c,i[20]=l,i[21]=x):x=i[21];let S=x,C;i[22]!==e||i[23]!==c||i[24]!==l?(C=()=>{let{submitCount:t,actions:n}=c.getState();e&&n&&(n.setTouched(e),(l===`onBlur`||l===`onSubmitThenBlur`&&t!==0)&&n.validate())},i[22]=e,i[23]=c,i[24]=l,i[25]=C):C=i[25];let w=C,T;i[26]===e?T=i[27]:(T=t=>{let{actions:n}=t;return!!(e&&n?.isTouched(e)&&!n.isValid(e))},i[26]=e,i[27]=T);let E=Qf(c,T),D;i[28]===e?D=i[29]:(D=t=>{let{submitting:n}=t;return e&&n||!1},i[28]=e,i[29]=D);let O=Qf(c,D),k=E?`invalid`:void 0,A;return i[30]!==w||i[31]!==S||i[32]!==y||i[33]!==O||i[34]!==k?(A={status:k,disabled:O,setValue:y,onChange:S,onBlur:w},i[30]=w,i[31]=S,i[32]=y,i[33]=O,i[34]=k,i[35]=A):A=i[35],A}function jM(e){return e?.willValidate===!0}function MM(e){let t=(0,Q.c)(235),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38]):({variant:B,status:F,code:c,loading:y,loadingDescription:x,showSpinner:I,onBlurToOutside:w,validate:L,validationMode:R,children:o,rootProps:j,containerProps:u,codeProps:l,indicatorProps:_,labelProps:v,spinnerProps:M,value:z,defaultChecked:f,checked:d,onCheckedChange:T,onFocus:E,onBlur:C,id:g,name:S,className:s,required:A,disabled:p,readOnly:O,startAdornment:N,endAdornment:m,"aria-disabled":r,"aria-label":i,"aria-labelledby":a,"aria-describedby":n,startContainerProps:P,endContainerProps:h,ref:k,...D}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B);let V=I===void 0?y:I,H=ap(),[ee]=Mp(),U=x??ee.Input.loadingDescription,W=gp(D),G,K;t[39]===W?(G=t[40],K=t[41]):({marginProps:G,...K}=W,t[39]=W,t[40]=G,t[41]=K);let J=eM(),te=SM(),Y=(0,b.useRef)(null),X=(0,b.useRef)(null),ne=qv(),[re,ie]=CM(String(z??``)),[ae,oe]=Ap(f??!1,re??d),{status:se,disabled:ce,onChange:le,onBlur:ue}=AM(S,ae,L,R),Z=B??(ne?`cell`:`default`),de=J?.status??F??se,fe=p||J?.disabled||ce,pe=O||J?.readOnly,me;t[42]!==c||t[43]!==l||t[44]!==g||t[45]!==A||t[46]!==de?(me={id:g,tagName:`BUTTON`,required:A,status:de,code:c,codeProps:l},t[42]=c,t[43]=l,t[44]=g,t[45]=A,t[46]=de,t[47]=me):me=t[47];let{generatedId:he,controlId:ge,codeId:_e,labelId:ve,dataTableColumnLabelId:ye,feedbackIds:be,helperTextIds:xe}=MP(me),Se;t[48]!==he||t[49]!==H||t[50]!==ge?(Se=ge??H(`control-${he}`),t[48]=he,t[49]=H,t[50]=ge,t[51]=Se):Se=t[51];let Ce=Se,we;t[52]!==o||t[53]!==he||t[54]!==v?.id||t[55]!==H?(we=o&&(v?.id??H(`checkbox-label-${he}`)),t[52]=o,t[53]=he,t[54]=v?.id,t[55]=H,t[56]=we):we=t[56];let Te=we,Ee;t[57]!==he||t[58]!==y||t[59]!==U||t[60]!==H?(Ee=y&&U&&H(`control-loading-${he}`),t[57]=he,t[58]=y,t[59]=U,t[60]=H,t[61]=Ee):Ee=t[61];let De=Ee,Oe=(0,b.useRef)(null),ke=TM(),Ae=EM(re),je=DM(Ce),Me=Ae||J?.softDisabled||y||r===`true`||r===!0,Ne;t[62]!==le||t[63]!==T||t[64]!==pe||t[65]!==oe||t[66]!==ie||t[67]!==Me?(Ne=e=>{!Me&&!pe&&(T?.(e),oe(e),ie?.(e===!0),le(e))},t[62]=le,t[63]=T,t[64]=pe,t[65]=oe,t[66]=ie,t[67]=Me,t[68]=Ne):Ne=t[68];let Pe=Ne,Fe=xj(),Ie;t[69]===Fe?Ie=t[70]:(Ie=()=>Fe(!0),t[69]=Fe,t[70]=Ie);let Le=Ie,Re;t[71]===Fe?Re=t[72]:(Re=()=>Fe(!1),t[71]=Fe,t[72]=Re);let ze=Re,Be;t[73]===Symbol.for(`react.memo_cache_sentinel`)?(Be=e=>{e.target.tagName===`INPUT`&&e.target.type===`checkbox`&&Y.current?.contains(e.target)&&Oe.current?.focus()},t[73]=Be):Be=t[73];let Ve=Be,He;t[74]!==ue||t[75]!==w?(He=e=>{e.relatedTarget&&Y.current?.contains(e.relatedTarget)||(w?.(e),ue())},t[74]=ue,t[75]=w,t[76]=He):He=t[76];let Ue=He,We;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(We=()=>{let e=X.current;e&&e.tabIndex<0&&(e.tabIndex=0,queueMicrotask(()=>e.tabIndex=-1))},t[77]=We):We=t[77];let Ge=We,Ke=Te??ve??ye,qe;t[78]!==_e||t[79]!==Ke?(qe=uj([_e,Ke]),t[78]=_e,t[79]=Ke,t[80]=qe):qe=t[80];let Je=qe,Ye=v?.ref,Xe;t[81]===Ye?Xe=t[82]:(Xe=[Ye,X],t[81]=Ye,t[82]=Xe);let Ze=sy(Xe),Qe=v?.onMouseDown,$e;t[83]===Qe?$e=t[84]:($e=[Qe,Ge],t[83]=Qe,t[84]=$e);let et=Dp($e),tt=B??(ne?`cell`:J?.variant??`default`),nt;t[85]!==fe||t[86]!==pe||t[87]!==Me||t[88]!==de||t[89]!==tt?(nt={variant:tt,status:de,disabled:fe,softDisabled:Me,readOnly:pe},t[85]=fe,t[86]=pe,t[87]=Me,t[88]=de,t[89]=tt,t[90]=nt):nt=t[90];let rt;t[91]===de?rt=t[92]:(rt=NP(de),t[91]=de,t[92]=rt);let it=!!c,at;t[93]===it?at=t[94]:(at=tb(it),t[93]=it,t[94]=at);let ot=G.dataAttrs,st;t[95]!==H||t[96]!==j?.className?(st=$(H(`checkbox__root`),j?.className),t[95]=H,t[96]=j?.className,t[97]=st):st=t[97];let ct=j?.style,lt;t[98]!==G.cssVars||t[99]!==ct?(lt={...G.cssVars,...ct},t[98]=G.cssVars,t[99]=ct,t[100]=lt):lt=t[100];let ut;t[101]!==c||t[102]!==_e||t[103]!==l||t[104]!==H?(ut=c!=null&&typeof c!=`boolean`&&(0,q.jsx)(fj,{...l,id:_e,className:$(H(`checkbox__code`),l?.className),children:c}),t[101]=c,t[102]=_e,t[103]=l,t[104]=H,t[105]=ut):ut=t[105];let dt;t[106]!==Z||t[107]!==fe||t[108]!==H||t[109]!==pe||t[110]!==Me||t[111]!==N||t[112]!==P||t[113]!==de?(dt=N&&(0,q.jsx)(`div`,{"data-status":de,"data-variant":Z,"data-disabled":tb(fe||Me),"data-readonly":tb(pe),...P,className:$(H(`checkbox__start-container`),P?.className),children:N}),t[106]=Z,t[107]=fe,t[108]=H,t[109]=pe,t[110]=Me,t[111]=N,t[112]=P,t[113]=de,t[114]=dt):dt=t[114];let ft=fe||Me,pt;t[115]===ft?pt=t[116]:(pt=tb(ft),t[115]=ft,t[116]=pt);let mt;t[117]===pe?mt=t[118]:(mt=tb(pe),t[117]=pe,t[118]=mt);let ht;t[119]!==u?.className||t[120]!==H?(ht=$(H(`checkbox__container`),u?.className),t[119]=u?.className,t[120]=H,t[121]=ht):ht=t[121];let gt=u?.onBlur,_t;t[122]!==Ue||t[123]!==gt?(_t=[gt,Ue],t[122]=Ue,t[123]=gt,t[124]=_t):_t=t[124];let vt=Dp(_t),yt=u?.onFocus,bt;t[125]===yt?bt=t[126]:(bt=[yt,Ve],t[125]=yt,t[126]=bt);let xt=Dp(bt),St=u?.ref,Ct;t[127]===St?Ct=t[128]:(Ct=[St,Y],t[127]=St,t[128]=Ct);let wt=sy(Ct),Tt;t[129]!==s||t[130]!==H?(Tt=$(H(`checkbox`),s),t[129]=s,t[130]=H,t[131]=Tt):Tt=t[131];let Et=S??te?.name,Dt=ke||A||void 0,Ot;t[132]===Me?Ot=t[133]:(Ot=tb(Me),t[132]=Me,t[133]=Ot);let kt;t[134]===pe?kt=t[135]:(kt=tb(pe),t[134]=pe,t[135]=kt);let At;t[136]!==Le||t[137]!==E?(At=[E,Le],t[136]=Le,t[137]=E,t[138]=At):At=t[138];let jt=Dp(At),Mt;t[139]!==ze||t[140]!==C?(Mt=[C,ze],t[139]=ze,t[140]=C,t[141]=Mt):Mt=t[141];let Nt=Dp(Mt),Pt=Me||pe||void 0,Ft=a??(i===void 0&&Je!==Te&&Je!==ve?Je:void 0),It=de===`invalid`||void 0,Lt=te?.loadingDescriptionId,Rt=te?.feedbackIds,zt;t[142]!==n||t[143]!==be||t[144]!==je||t[145]!==xe||t[146]!==De||t[147]!==Lt||t[148]!==Rt?(zt=uj([De,Lt,be,Rt,n,xe,je]),t[142]=n,t[143]=be,t[144]=je,t[145]=xe,t[146]=De,t[147]=Lt,t[148]=Rt,t[149]=zt):zt=t[149];let Bt;t[150]===k?Bt=t[151]:(Bt=[Oe,k],t[150]=k,t[151]=Bt);let Vt=sy(Bt),Ht=ae===`indeterminate`?dy:My,Ut;t[152]!==_?.className||t[153]!==H?(Ut=$(H(`checkbox__indicator`),_?.className),t[152]=_?.className,t[153]=H,t[154]=Ut):Ut=t[154];let Wt;t[155]!==_||t[156]!==Ht||t[157]!==Ut?(Wt=(0,q.jsx)(Ki,{asChild:!0,children:(0,q.jsx)(jE,{icon:Ht,..._,className:Ut})}),t[155]=_,t[156]=Ht,t[157]=Ut,t[158]=Wt):Wt=t[158];let Gt;t[159]!==i||t[160]!==Z||t[161]!==ae||t[162]!==Ce||t[163]!==fe||t[164]!==Pe||t[165]!==K||t[166]!==de||t[167]!==Tt||t[168]!==Et||t[169]!==Dt||t[170]!==Ot||t[171]!==kt||t[172]!==jt||t[173]!==Nt||t[174]!==Pt||t[175]!==Ft||t[176]!==It||t[177]!==zt||t[178]!==Vt||t[179]!==Wt||t[180]!==z?(Gt=(0,q.jsx)(Wi,{id:Ce,className:Tt,name:Et,value:z,checked:ae,required:Dt,disabled:fe,"data-disabled":Ot,"data-readonly":kt,"data-status":de,"data-variant":Z,onCheckedChange:Pe,onFocus:jt,onBlur:Nt,"aria-disabled":Pt,"aria-label":i,"aria-labelledby":Ft,"aria-invalid":It,"aria-describedby":zt,...K,ref:Vt,children:Wt}),t[159]=i,t[160]=Z,t[161]=ae,t[162]=Ce,t[163]=fe,t[164]=Pe,t[165]=K,t[166]=de,t[167]=Tt,t[168]=Et,t[169]=Dt,t[170]=Ot,t[171]=kt,t[172]=jt,t[173]=Nt,t[174]=Pt,t[175]=Ft,t[176]=It,t[177]=zt,t[178]=Vt,t[179]=Wt,t[180]=z,t[181]=Gt):Gt=t[181];let Kt;t[182]!==o||t[183]!==et||t[184]!==Ze||t[185]!==Ce||t[186]!==Te||t[187]!==v||t[188]!==H||t[189]!==A||t[190]!==de?(Kt=Te&&(0,q.jsx)(jj,{htmlFor:Ce,"data-status":de,...v,id:Te,className:$(H(`checkbox__label`),v?.className),required:A,onMouseDown:et,containerProps:{...v?.containerProps,className:$(H(`checkbox__label-container`),v?.containerProps?.className)},ref:Ze,children:o}),t[182]=o,t[183]=et,t[184]=Ze,t[185]=Ce,t[186]=Te,t[187]=v,t[188]=H,t[189]=A,t[190]=de,t[191]=Kt):Kt=t[191];let qt;t[192]!==Z||t[193]!==u||t[194]!==de||t[195]!==pt||t[196]!==mt||t[197]!==ht||t[198]!==vt||t[199]!==xt||t[200]!==wt||t[201]!==Gt||t[202]!==Kt?(qt=(0,q.jsxs)(`div`,{"data-status":de,"data-variant":Z,"data-disabled":pt,"data-readonly":mt,...u,className:ht,onBlur:vt,onFocus:xt,ref:wt,children:[Gt,Kt]}),t[192]=Z,t[193]=u,t[194]=de,t[195]=pt,t[196]=mt,t[197]=ht,t[198]=vt,t[199]=xt,t[200]=wt,t[201]=Gt,t[202]=Kt,t[203]=qt):qt=t[203];let Jt;t[204]!==Z||t[205]!==fe||t[206]!==m||t[207]!==h||t[208]!==H||t[209]!==pe||t[210]!==V||t[211]!==Me||t[212]!==M||t[213]!==de?(Jt=(V||m)&&(0,q.jsxs)(`div`,{"data-status":de,"data-variant":Z,"data-disabled":tb(fe||Me),"data-readonly":tb(pe),...h,className:$(H(`checkbox__end-container`),h?.className),children:[V&&(0,q.jsx)(GE,{color:NP(de,`neutral`),"data-disabled":tb(fe||Me),...M,className:$(H(`checkbox__spinner`),M?.className)}),m]}),t[204]=Z,t[205]=fe,t[206]=m,t[207]=h,t[208]=H,t[209]=pe,t[210]=V,t[211]=Me,t[212]=M,t[213]=de,t[214]=Jt):Jt=t[214];let Yt;t[215]!==Z||t[216]!==G.dataAttrs||t[217]!==j||t[218]!==de||t[219]!==rt||t[220]!==at||t[221]!==st||t[222]!==lt||t[223]!==ut||t[224]!==dt||t[225]!==qt||t[226]!==Jt?(Yt=(0,q.jsxs)(`div`,{"data-status":de,"data-accent":rt,"data-variant":Z,"data-has-code":at,...ot,...j,className:st,style:lt,children:[ut,dt,qt,Jt]}),t[215]=Z,t[216]=G.dataAttrs,t[217]=j,t[218]=de,t[219]=rt,t[220]=at,t[221]=st,t[222]=lt,t[223]=ut,t[224]=dt,t[225]=qt,t[226]=Jt,t[227]=Yt):Yt=t[227];let Xt;t[228]!==U||t[229]!==De?(Xt=De&&(0,q.jsx)(`span`,{hidden:!0,id:De,children:U}),t[228]=U,t[229]=De,t[230]=Xt):Xt=t[230];let Zt;return t[231]!==nt||t[232]!==Yt||t[233]!==Xt?(Zt=(0,q.jsx)(Jv,{field:!1,children:(0,q.jsxs)($j,{value:nt,children:[Yt,Xt]})}),t[231]=nt,t[232]=Yt,t[233]=Xt,t[234]=Zt):Zt=t[234],Zt}function NM(){let e=(0,Q.c)(29),t=ap(),[n]=Mp(),{rowKey:r,showSelectionColumn:i,selectAllChecked:a,onSelectAll:o,selectAllRowsLabel:s,selectRowLabel:c,store:l}=F_(),u=s??n.DataTable.selectAllRowsLabel,d=c??n.DataTable.selectRowLabel,f=Qf(l,LM),[p]=Qf(l,IM),m=Qf(l,FM),{selectRows:h,unselectRows:g}=Qf(l,PM),_;e[0]!==m||e[1]!==r||e[2]!==i?(_=e=>{if(e.loading||!i)return`loading`;let{selectionMode:t,selectedRows:n}=e,[a]=n,o=e.visibleRows(),s=0,c=0,l=!0;for(let e of o){if(e===void 0)return`loading`;let n=Jp(e,r),i=a.has(n)===(t===`additive`),o=m?.has(n)??!1;s+=+i,c+=+o,o||(l&&=i)}return{allDisabled:c===o.length,allChecked:o.length>0&&s===o.length||s!==0&&`indeterminate`,allEnabledChecked:l}},e[0]=m,e[1]=r,e[2]=i,e[3]=_):_=e[3];let v=Qf(l,Bp(_));if(i){let n;e[4]===t?n=e[5]:(n=t(`data-table__selection-column-cell`),e[4]=t,e[5]=n);let i;e[6]!==u||e[7]!==v||e[8]!==o||e[9]!==t||e[10]!==r||e[11]!==a||e[12]!==h||e[13]!==l||e[14]!==g?(i=v===`loading`?(0,q.jsx)(GE,{}):(0,q.jsx)(MM,{checked:a??v.allChecked,onCheckedChange:()=>{let e=l.getState().visibleRows().map(e=>Jp(e,r));v.allEnabledChecked?g(e):h(e),o?.(!v.allEnabledChecked)},disabled:v.allDisabled,labelProps:{containerProps:{className:t(`visually-hidden`)}},children:u}),e[6]=u,e[7]=v,e[8]=o,e[9]=t,e[10]=r,e[11]=a,e[12]=h,e[13]=l,e[14]=g,e[15]=i):i=e[15];let s;e[16]!==d||e[17]!==m||e[18]!==t||e[19]!==r||e[20]!==h||e[21]!==p||e[22]!==f||e[23]!==g?(s=e=>{let{row:n}=e,i=Jp(n,r);return(0,q.jsx)(MM,{checked:p.has(i)===(f===`additive`),onCheckedChange:e=>{e?h([i]):g([i])},disabled:m?.has(i),labelProps:{containerProps:{className:t(`visually-hidden`)}},children:d})},e[16]=d,e[17]=m,e[18]=t,e[19]=r,e[20]=h,e[21]=p,e[22]=f,e[23]=g,e[24]=s):s=e[24];let c;return e[25]!==n||e[26]!==i||e[27]!==s?(c={className:n,label:i,header:!0,sticky:`left`,width:42,fixed:!0,align:`center`,paddingless:!0,render:s},e[25]=n,e[26]=i,e[27]=s,e[28]=c):c=e[28],c}}function PM(e){return e.actions}function FM(e){return e.disabledSelections}function IM(e){return e.selectedRows}function LM(e){return e.selectionMode}function RM(){let e=(0,Q.c)(2),t=ap(),n;return e[0]===t?n=e[1]:(n=t(`data-table-selection-column`),e[0]=t,e[1]=n),n}function zM(e){let t=(0,Q.c)(44),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({row:a,index:r,className:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let[o]=Mp(),s=ap(),c=qp(),{rowKey:l,renderCell:u,generatedId:d,estimatedRowHeight:f,store:p}=F_(),m=NM(),h=RM(),g;t[5]!==h||t[6]!==m?(g=e=>m?{[h]:m,...e.leafColumns}:e.leafColumns,t[5]=h,t[6]=m,t[7]=g):g=t[7];let _=Qf(p,Bp(g)),v=Qf(p,VM),y=Qf(p,BM),x;t[8]!==a||t[9]!==l?(x=e=>a&&e.selectedRows[0].has(Jp(a,l)),t[8]=a,t[9]=l,t[10]=x):x=t[10];let S=Qf(p,x),C;t[11]!==f||t[12]!==r?(C=typeof f==`number`?f:f(r),t[11]=f,t[12]=r,t[13]=C):C=t[13];let w=C,T;t[14]!==n||t[15]!==s?(T=$(s(`data-table__row`),n),t[14]=n,t[15]=s,t[16]=T):T=t[16];let E=v+r+1,D;if(t[17]!==y||t[18]!==d||t[19]!==r||t[20]!==_||t[21]!==o||t[22]!==s||t[23]!==c||t[24]!==u||t[25]!==a||t[26]!==w){let e;t[28]!==y||t[29]!==d||t[30]!==r||t[31]!==o||t[32]!==s||t[33]!==c||t[34]!==u||t[35]!==a||t[36]!==w?(e=(e,t,n)=>{let[i,l]=t,{filterable:f,locale:p,subColumns:m,getValue:h,format:g,render:_,compare:v,match:x,footer:S,label:C,helperText:T,helperButtonLabel:E,width:D,fixed:O,sortable:k,defaultSortDirection:A,showWhilePrinting:j,id:M,cellId:N,containerProps:P,labelProps:F,footerProps:I,sortButtonProps:L,sortIconContainerProps:R,sortAscIconProps:z,sortDescIconProps:B,helperButtonProps:V,helperPopoverProps:H,helperPopoverContentProps:ee,...U}=l;if(c&&!(j===void 0||j))return e;let W=a===void 0,G=!W&&(h?h({row:a,index:r}):a?.[i]??null),K=!W&&(g?g({value:G,row:a,index:r}):G?.toString()??``),J=!W&&f?x?x(K,y):Xp(K,y,p??o.languageTag):null,te=J==null?K:(0,q.jsxs)(q.Fragment,{children:[J.before,(0,q.jsx)(yM,{children:J.matched}),J.after]}),Y={"data-loading":tb(W),...U,style:{height:W?w:void 0,...U?.style},columnLabel:C,columnLabelId:C?F?.id??`data-table-column-label-${i}-${d}`:void 0,children:W?(0,q.jsx)(GE,{className:$(s(`data-table__cell-spinner`))}):_?typeof _==`function`?_({formattedValue:K,match:J,markedValue:te,value:G,row:a,index:r}):_:te};return e.push(u?(0,q.jsx)(b.Fragment,{children:u({columnIndex:n,...Y})},i):(0,q.jsx)(mM,{columnIndex:n,...Y},i)),e},t[28]=y,t[29]=d,t[30]=r,t[31]=o,t[32]=s,t[33]=c,t[34]=u,t[35]=a,t[36]=w,t[37]=e):e=t[37],D=Object.entries(_).reduce(e,[]),t[17]=y,t[18]=d,t[19]=r,t[20]=_,t[21]=o,t[22]=s,t[23]=c,t[24]=u,t[25]=a,t[26]=w,t[27]=D}else D=t[27];let O;return t[38]!==i||t[39]!==S||t[40]!==T||t[41]!==E||t[42]!==D?(O=(0,q.jsx)(qj,{className:T,selected:S,"aria-rowindex":E,...i,children:D}),t[38]=i,t[39]=S,t[40]=T,t[41]=E,t[42]=D,t[43]=O):O=t[43],O}function BM(e){return e.filter}function VM(e){return e.headCount}function HM(e){let t=(0,Q.c)(10),{emptyMessage:n,emptyMessageProps:r}=e,i=ap(),{renderRow:a,store:o,apiRef:s}=F_(),c=Qf(o,YM),l=Qf(o,JM),u=Vv()??1,d=Qf(o,qM),f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f=[],t[0]=f):f=t[0],(0,b.useImperativeHandle)(s,UM,f);let p;return t[1]!==n||t[2]!==r?.className||t[3]!==d||t[4]!==c||t[5]!==l||t[6]!==u||t[7]!==i||t[8]!==a?(p=c?Array.from({length:l},(e,t)=>{let n={row:void 0,index:t},r=`loading-${t}`;return a?(0,q.jsx)(b.Fragment,{children:a(n)},r):(0,q.jsx)(zM,{...n},r)}):(0,q.jsx)(qj,{"aria-rowindex":d+1,children:(0,q.jsx)(Hj,{columnIndex:null,header:!0,variant:`data`,paddingless:!1,colSpan:u===1?void 0:u,children:(0,q.jsx)(`div`,{className:$(i(`data-table__empty-message`),r?.className),children:n})})}),t[1]=n,t[2]=r?.className,t[3]=d,t[4]=c,t[5]=l,t[6]=u,t[7]=i,t[8]=a,t[9]=p):p=t[9],p}function UM(){return{splice:KM,refresh:GM,goTo:WM}}function WM(){}function GM(){}function KM(){}function qM(e){return e.headCount}function JM(e){return e.loadingCount}function YM(e){return e.loading}function XM(){let e=(0,Q.c)(27),{rowKey:t,renderRow:n,showAllRowsWhilePrinting:r,apiRef:i,store:a}=F_(),o=qp(),s=r&&o,c;e[0]===a?c=e[1]:(c=(e,t,n)=>{let r=t===void 0?0:t,i=n===void 0?0:n,{pageOffset:o,limit:s,actions:c}=a.getState();c.spliceWindow(o(),s(),e,r,i)},e[0]=a,e[1]=c);let l=c,u;e[2]===a?u=e[3]:(u=e=>a.getState().actions.refresh(e),e[2]=a,e[3]=u);let d=u,f;e[4]===a?f=e[5]:(f=e=>(0,b.startTransition)(()=>a.getState().actions.setOffset(e)),e[4]=a,e[5]=f);let p=f,m,h;e[6]!==p||e[7]!==d||e[8]!==l?(m=()=>({splice:l,refresh:d,goTo:p}),h=[p,d,l],e[6]=p,e[7]=d,e[8]=l,e[9]=m,e[10]=h):(m=e[9],h=e[10]),(0,b.useImperativeHandle)(i,m,h);let g,_;e[11]===a?(g=e[12],_=e[13]):(g=()=>a.subscribe(ZM,()=>{let{pageOffset:e,pageLimit:t,limit:n,actions:r}=a.getState();r.updateWindow(e(),t()??n())},{fireImmediately:!0}),_=[a],e[11]=a,e[12]=g,e[13]=_),(0,b.useEffect)(g,_);let v;e[14]===s?v=e[15]:(v=e=>s?0:e.pageOffset(),e[14]=s,e[15]=v);let y=Qf(a,v),x;e[16]===s?x=e[17]:(x=e=>e.actions.getRowsWindow(s?0:e.pageOffset(),(s?e.totalCount():e.pageLimit())??e.loadingCount),e[16]=s,e[17]=x);let S=Qf(a,Bp(x)),C;if(e[18]!==y||e[19]!==n||e[20]!==t||e[21]!==S){let r;e[23]!==y||e[24]!==n||e[25]!==t?(r=(e,r)=>{let i={row:e,index:y+r},a=e?`row-${Jp(e,t)}`:`loading-${r}`;return n?(0,q.jsx)(b.Fragment,{children:n(i)},a):(0,q.jsx)(zM,{...i},a)},e[23]=y,e[24]=n,e[25]=t,e[26]=r):r=e[26],C=S.map(r),e[18]=y,e[19]=n,e[20]=t,e[21]=S,e[22]=C}else C=e[22];return C}function ZM(e){let{updateCounter:t}=e;return t}function QM(e){return typeof e==`object`?e.key:e}function $M(e,t){let n=e.length;return new Proxy(e,{get(e,r,i){if(typeof r==`string`){let i=r.charCodeAt(0);if(i>=48&&i<=57){let i=+r;if(Number.isInteger(i)&&i>=0&&i<n){let n=e[i];if(typeof n!=`object`){let r=t[i*2];n=e[i]={index:i,key:n,start:r,size:t[i*2+1],end:r+t[i*2+1],lane:0}}return n}}if(r===`length`)return n}return Reflect.get(e,r,i)}})}function eN(e,t,n){let r=n.initialDeps??[],i,a=!0;function o(){let o=e();return(o.length!==r.length||o.some((e,t)=>r[t]!==e))&&(r=o,i=t(...o),n?.onChange&&!(a&&n.skipInitialOnChange)&&n.onChange(i),a=!1),i}return o.updateDeps=e=>{r=e},o}function tN(e,t){if(e===void 0)throw Error(`Unexpected undefined${t?`: ${t}`:``}`);return e}var nN=(e,t)=>Math.abs(e-t)<1.01,rN=(e,t,n)=>{let r;return Object.assign(function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)},{cancel:()=>{e.clearTimeout(r)}})};function iN({offset:e,isScrolling:t,elementMax:n,holdOffset:r,scrollOffset:i,pendingWrite:a,clampedMaxAtWrite:o}){return t&&a===null&&e===i?`spurious`:a!==null&&Math.abs(e-a.target)<1.5?`readBack`:a!==null&&!a.smooth&&n!==null&&a.target>n+r+.5&&Math.abs(e-(n+r))<1.5||a!==null&&!a.smooth&&a.lowMaxes?.some(t=>Math.abs(e-t)<1.5)?`clampedReadBack`:o!==null&&Math.abs(e-o)<1.5?`clampedEcho`:`external`}var aN=e=>e===`smooth`||e===`smoothFinishing`;function oN({kind:e,offset:t,command:n,target:r}){return e!==`spurious`&&e!==`readBack`&&e!==`clampedReadBack`&&n?.index!=null&&n.phase!==`queued`&&!aN(n.phase)&&!nN(t,n.lastTargetOffset)&&!nN(t,r())&&e!==`clampedEcho`}var sN=40;function cN(e){let t=e[e.length-1];if(t===void 0)return!1;let n=e.length-2;for(;n>=0&&t.t-e[n].t<sN;)n--;if(n<0)return!1;let r=e[n],i=n-1;for(;i>=0&&r.t-e[i].t<sN;)i--;if(i<0)return!1;let a=e[i],o=(t.offset-r.offset)/(t.t-r.t),s=(r.offset-a.offset)/(r.t-a.t);return o*s>=0&&Math.abs(o)>=2*Math.abs(s)&&Math.abs(o)-Math.abs(s)>=.8}function lN(e){let t=e[e.length-1];if(t===void 0)return!1;let n=e.length-2;for(;n>=0&&t.t-e[n].t<sN;)n--;if(n<0)return!1;let r=e[n];return Math.abs(t.offset-r.offset)/(t.t-r.t)>=.05}var uN,dN=()=>{if(uN!==void 0)return uN;if(typeof navigator>`u`)return uN=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return uN=!0;let e=navigator.maxTouchPoints;return uN=navigator.platform===`MacIntel`&&e!==void 0&&e>0},fN,pN=()=>fN===void 0?fN=dN()&&typeof CSS<`u`&&typeof CSS.supports==`function`&&CSS.supports(`overflow-anchor: auto`):fN,mN=()=>!dN()||pN(),hN={capture:!0,passive:!0},gN=class{constructor(e){this.host=e,this._touch=null,this.inMotion=()=>this._touch!==null&&this._touch.phase!==`lateFling`,this.dragging=()=>this._touch?.phase===`down`&&this._touch.moved,this.tail=()=>this._touch?.phase===`tail`?this._touch.moved?`fling`:`tap`:null,this.onScroll=({isScrolling:e,ownReadBack:t,moved:n,external:r})=>(e&&this._touch?.phase===`tail`?this._openTail(this._touch.moved||!t,!1):this._touch?.phase===`lateFling`&&(this.host.now()>this._touch.until?this._touch=null:r&&e&&n&&this._openTail(!0,!1)),!t&&e&&n&&this._touch?.phase===`down`?(this._touch.moved=!0,!0):!1),this.touchStart=()=>{this.end(),this._touch={phase:`down`,moved:!1}},this.touchEnd=()=>{let e=this._touch?.phase===`down`&&this._touch.moved;this.end(),this._openTail(e,e)},this.end=()=>{let e=this.host.getWindow();this._touch?.phase===`tail`&&e!=null&&e.clearTimeout(this._touch.timerId),this._touch=null},this.listen=e=>{let t=()=>this.touchStart(),n=()=>this.touchEnd();return e.addEventListener(`touchstart`,t,hN),e.addEventListener(`touchend`,n,hN),e.addEventListener(`touchcancel`,n,hN),()=>{e.removeEventListener(`touchstart`,t,hN),e.removeEventListener(`touchend`,n,hN),e.removeEventListener(`touchcancel`,n,hN),this.end()}},this._openTail=(e,t)=>{let n=this.host.getWindow();if(n==null)return;this.end();let r={phase:`tail`,moved:e,awaitingFling:t,timerId:n.setTimeout(()=>{this.host.tailStillMoving()?this._openTail(r.moved,r.awaitingFling):(this._touch=r.awaitingFling?{phase:`lateFling`,until:this.host.now()+1e3}:null,this.host.onTailClosed())},150)};this._touch=r}}get touch(){return this._touch}},_N=e=>{let{clientWidth:t,clientHeight:n}=e;return{width:t,height:n}},vN=e=>{let t=new Set;return{schedule:n=>{let r=e.requestAnimationFrame(()=>{t.delete(r),n()});t.add(r)},cancel:()=>{t.forEach(t=>e.cancelAnimationFrame(t)),t.clear()}}},yN=e=>e,bN=e=>{let t=e.overscan*Math.max(e.lanes??1,1),n=Math.max(e.startIndex-t,0),r=Math.min(e.endIndex+t,e.count-1)-n+1,i=Array(r);for(let e=0;e<r;e++)i[e]=n+e;return i},xN=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(_N(n)),!r.ResizeObserver)return()=>{};let a=vN(r),o=new r.ResizeObserver(()=>{let t=()=>{i(_N(n))};e.options.useAnimationFrameWithResizeObserver?a.schedule(t):t()});return o.observe(n,{box:`content-box`}),()=>{o.unobserve(n),a.cancel()}},SN={passive:!0},CN=typeof window>`u`||`onscrollend`in window,wN=(e,t,n)=>{let r=e.scrollElement;if(!r)return;let i=e.targetWindow;if(!i)return;let a=e.options.useScrollendEvent&&CN,o=0,s=a?null:rN(i,()=>t(n(r),!1),e.options.isScrollingResetDelay),c=e=>()=>{o=n(r),s?.(),t(o,e)},l=c(!0),u=c(!1);return r.addEventListener(`scroll`,l,SN),a&&r.addEventListener(`scrollend`,u,SN),()=>{r.removeEventListener(`scroll`,l),a&&r.removeEventListener(`scrollend`,u),s?.cancel()}},TN=(e,t)=>wN(e,t,t=>{let{horizontal:n,isRtl:r}=e.options;return n?t.scrollLeft*(r&&-1||1):t.scrollTop}),EN=(e,t,n)=>{if(n.options.useCachedMeasurements){let t=n.indexFromElement(e),r=n.options.getItemKey(t);return n.itemSizeCache.get(r)??n.options.estimateSize(t)}if(t?.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?`inlineSize`:`blockSize`])}if(!t){let t=n.indexFromElement(e),r=n.options.getItemKey(t),i=n.itemSizeCache.get(r);if(i!==void 0)return i}return e[n.options.horizontal?`offsetWidth`:`offsetHeight`]},DN=(e,{adjustments:t=0,behavior:n},r)=>{var i;let{scrollElement:a,options:o}=r,s=e+t,c=o.horizontal&&o.isRtl&&a!==null&&`ownerDocument`in a;(i=a?.scrollTo)==null||i.call(a,{[o.horizontal?`left`:`top`]:c?-s:s,behavior:n})},ON=(e,t)=>e===`smooth`?t?`smoothLanded`:`smooth`:`instant`,kN=e=>e?.phase===`smooth`||e?.phase===`smoothLanded`;function AN(e,t,n,r){if(t===0)return!1;let i=r(0),a=new Set,o=0;for(;o<e;){let e=n(o);if(e===i)break;a.add(e),o++}let s=e-o;if(s===0||s>=t)return!1;for(let e=0;e<s;e++)if(r(e)!==n(o+e))return!1;for(let e=s;e<t;e++)if(a.has(r(e)))return!1;return!0}var jN=class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._singleLaneMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this._holdOffset=0,this._reportedOverscroll=!1,this._iosGesture=new gN({getWindow:()=>this.targetWindow,now:()=>this.now(),tailStillMoving:()=>{let e=this.scrollState;if(e?.phase!==`queued`||this.pendingWrite!==null)return!1;let t=this._readElementOffset();return t===null||this._lastElementOffset===null||Math.abs(t-this._lastElementOffset)<1?!1:(this._lastElementOffset=t,e.samples=[...e.samples??[],{t:this.now(),offset:t}],!0)},onTailClosed:()=>{let e=this.scrollState;e?.phase===`queued`&&lN(e.samples??[])&&(this.scrollState=null),this._flushHoldIfReady(!0),this._writeAwaitingCommand(),this._retryClampedAdjustment()}}),this._lastElementOffset=null,this.pendingWrite=null,this._clampedAdjustment=null,this.elementsCache=new Map,this._resizeBatch=null,this.now=()=>{var e;return((e=this.targetWindow?.performance)?.now)?.call(e)??Date.now()},this.observer=(()=>{let e=null,t=null,n=!1,r=!1,i=new Set,a=()=>{if(e)return e;let r=this.targetWindow;if(!r||!r.ResizeObserver)return null;let i=t=vN(r);return e=new r.ResizeObserver(e=>{let t=()=>{let t={sync:!1};this._resizeBatch=t;try{e.forEach(o)}finally{this._resizeBatch=null,t.notify&&(this.notify(t.sync),this._noteClampMax(),this._flushHoldIfReady(!0),this._retryClampedAdjustment(),this.measureElement(null))}};if(this.options.useAnimationFrameWithResizeObserver)i.schedule(t);else{n=!0;try{t()}finally{n=!1}}})},o=e=>{let t=e.target,n=this.indexFromElement(t);if(t.isConnected)this.isIndexInRange(n)&&this.shouldMeasureDuringScroll(n)&&this.resizeItem(n,this.options.measureElement(t,e,this));else{this.observer.unobserve(t);for(let[e,n]of this.elementsCache)if(n===t){this.elementsCache.delete(e);break}}};return{disconnect:()=>{var n;(n=a())==null||n.disconnect(),t?.cancel(),i.clear(),r=!1,e=null,t=null},observe:o=>{let s=a();s&&(n?(i.add(o),r||(r=!0,t?.schedule(()=>{r=!1,i.forEach(t=>{t.isConnected&&e?.observe(t,{box:`border-box`})}),i.clear()}))):s.observe(o,{box:`border-box`}))},unobserve:e=>{var t;i.delete(e),(t=a())==null||t.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{let t={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:yN,rangeExtractor:bN,onChange:()=>{},measureElement:EN,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:`data-index`,initialMeasurementsCache:[],lanes:1,anchorTo:`start`,followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:`estimate`,useCachedMeasurements:!1};for(let n in e){let r=e[n];r!==void 0&&(t[n]=r)}let n=this.options,r=null,i=null,a=!1;if(n!==void 0&&n.enabled&&t.enabled&&t.anchorTo===`end`&&this.scrollElement!==null){let e=n.count,o=t.count,s=this.getMeasurements(),c=this._singleLaneMeasurements?.items??s,l=e=>QM(c[e]),u=e>0?l(0):null,d=e>0?l(e-1):null;if(o!==e||e>0&&o>0&&(t.getItemKey(0)!==u||t.getItemKey(o-1)!==d)){a=!0;let c=e>0?this.getVirtualItemForOffset(this.getScrollOffset())??s[0]:null;c&&(r=[c.key,this.getScrollOffset()-c.start]);let u=t.followOnAppend===!0?`auto`:t.followOnAppend||null;u&&o>0&&this.isAtEnd(n.scrollEndThreshold)&&(e===0||t.getItemKey(o-1)!==d)&&(o>e||AN(e,o,l,t.getItemKey))&&(i=u)}}this.options=t,a&&(this.pendingMin=0,this.itemSizeCacheVersion++);let o=null;if(r&&this.scrollOffset!==null&&!this._awaitingCommandReadBack()){let[e,t]=r,n=this.getMeasurements(),{count:a,getItemKey:s}=this.options,c=0;for(;c<a&&s(c)!==e;)c++;if(c<a){let e=n[c];if(e){let n=Math.max(0,e.start+t);!i&&n!==this.scrollOffset&&(o=n-this.scrollOffset,this.scrollOffset=n)}}}i?this.pendingScrollAnchor={kind:`follow`,behavior:i}:o!==null&&(this._canWriteScroll()?this.pendingScrollAnchor={kind:`anchor`,delta:o}:(this._holdOffset+=o,this._followOffsetTarget(o)))},this.notify=e=>{var t,n;(n=(t=this.options).onChange)==null||n.call(t,this,e)},this.maybeNotify=eN(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{var e;this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,(e=this._momentumStop)==null||e.restore(),this._momentumStop=null,this.isScrolling=!1,this.scrollDirection=null,this._holdOffset=0,this._reportedOverscroll=!1,this._clampedAdjustment=null,this.pendingWrite=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{let e=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==e){if(this.cleanup(),!e){this.maybeNotify();return}this.scrollElement=e,this.targetWindow=this.scrollElement&&`ownerDocument`in this.scrollElement?this.scrollElement.ownerDocument.defaultView:this.scrollElement?.window??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{let n=t?this._elementMaxScrollOffset():null,r=this._reportedOverscroll;this._reportedOverscroll=e<0||n!==null&&e>n+1;let i=e;this._lastElementOffset=i,e=this._toLayoutOffset(e);let a=this._classifyScrollEvent(e,t,n);if(a===`spurious`)return;a===`readBack`?e=this.pendingWrite.target:a===`clampedReadBack`&&this.scrollState?.index!=null&&e<this.getMaxScrollOffset()-1.5?this.scrollState.lastTargetOffset=e:oN({kind:a,offset:e,command:this.scrollState,target:()=>this.getScrollStateTarget(this.scrollState)})&&(this.scrollState=null),this.pendingWrite=null,this._clampedAdjustment!==null&&Math.abs(e-this._clampedAdjustment.maxAtWrite)>=1.5&&(this._clampedAdjustment=null);let o=this.getScrollOffset(),s=this.scrollDirection;this.scrollDirection=t?o===e?this.scrollDirection:o<e?`forward`:`backward`:null,this.scrollOffset=e,this.isScrolling=t;let c=this.scrollState;if(c?.phase===`queued`&&a===`external`&&t){if(r||this._reportedOverscroll)c.samples=[];else{let e=this.now();c.samples=[...(c.samples??[]).filter(t=>e-t.t<=200),{t:e,offset:i}],(s!==null&&this.scrollDirection!==s||cN(c.samples))&&(this.scrollState=null)}}this._iosGesture.onScroll({isScrolling:t,ownReadBack:a===`readBack`,moved:e!==o,external:a===`external`&&this.scrollState?.phase!==`smooth`&&this.scrollState?.phase!==`smoothFinishing`})&&this.scrollState?.phase===`queued`&&(this.scrollState=null),this._flushHoldIfReady(!0),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),`addEventListener`in this.scrollElement&&this.unsubs.push(this._iosGesture.listen(this.scrollElement)),this._scrollToOffset(this.getScrollOffset())}this._noteClampMax();let t=this.pendingScrollAnchor;this.pendingScrollAnchor=null,t&&this.scrollElement&&this.options.enabled&&(t.kind===`anchor`?this._canWriteScroll()?kN(this.scrollState)&&!nN(this.getScrollOffset()-t.delta,this.scrollState.lastTargetOffset)||(this._followOffsetTarget(t.delta),this._scrollToOffset(this.getScrollOffset())):(this._holdOffset+=t.delta,this._followOffsetTarget(t.delta),this.notify(!1)):this.scrollToEnd({behavior:t.behavior})),this._flushHoldIfReady(!1),this._retryClampedAdjustment()},this._classifyScrollEvent=(e,t,n)=>iN({offset:e,isScrolling:t,elementMax:n,holdOffset:this._holdOffset,scrollOffset:this.scrollOffset,pendingWrite:this.pendingWrite,clampedMaxAtWrite:this._clampedAdjustment?.maxAtWrite??null}),this._retryClampedAdjustment=()=>{if(this._clampedAdjustment===null||!this.scrollElement||!this.options.enabled||!this._canWriteScroll())return;let{target:e,maxAtWrite:t}=this._clampedAdjustment,n=this.getMaxScrollOffset();n>t+.5&&(this._clampedAdjustment=e>n+.5?{target:e,maxAtWrite:n}:null,this._scrollToOffset(e))},this._writeAwaitingCommand=()=>{let e=this.scrollState;if(e===null||e.phase!==`queued`)return;let{behavior:t}=e;this.getMeasurements();let n=this.getScrollStateTarget(e);e.lastTargetOffset=n,this._clampedAdjustment=null,e.phase=ON(t,e.index!=null&&nN(n,this.getScrollOffset())),this._scrollToOffset(n,{behavior:t}),this.scheduleScrollReconcile()},this._readElementOffset=()=>{let e=this.scrollElement;if(e==null)return null;let{horizontal:t,isRtl:n}=this.options;return typeof e.scrollTop==`number`?t?e.scrollLeft*(n&&-1||1):e.scrollTop:typeof e.scrollY==`number`?t?e.scrollX:e.scrollY:null},this._canWriteScroll=()=>!(dN()&&this._iosGesture.inMotion())&&!this._reportedOverscroll,this._flushHoldIfReady=e=>{if(this._holdOffset===0||!this.scrollElement||!this.options.enabled||!this._canWriteScroll()||this.scrollState?.phase===`smooth`)return;this._holdOffset=0,this.scrollOffset!==null&&this.scrollOffset<0&&(this.scrollOffset=0),this.notify(e);let t=this.getCommandWrittenOffset()??this.getScrollOffset();this._clampedAdjustment=this._clampedBy(t),this._scrollToOffset(t)},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?`width`:`height`]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset==`function`?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getMeasurementOptions=eN(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode,this.options.gap],(e,t,n,r,i,a,o,s)=>(this.prevLanes!==void 0&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMin=null,{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o,gap:s}),{key:!1}),this.isIndexInRange=e=>e>=0&&e<this.options.count,this.getMeasurements=eN(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o,gap:s},c)=>{let l=this.itemSizeCache;if(!i)return this.measurementsCache=[],this._singleLaneMeasurements=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this._singleLaneMeasurements=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let u=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1),a===1){let i=e*2,a=this._singleLaneMeasurements?.flat;if(!a||a.length<i){let e=new Float64Array(i);a&&u>0&&e.set(a.subarray(0,u*2)),a=e}let o=u===0?Array(e):this._singleLaneMeasurements.items.slice(),c;if(u===0)c=t+n;else{let e=u-1;c=a[e*2]+a[e*2+1]+s}for(let t=u;t<e;t++){let e=r(t);o[t]=e;let n=l.get(e),i=typeof n==`number`?n:this.options.estimateSize(t);a[t*2]=c,a[t*2+1]=i,c+=i+s}this._singleLaneMeasurements={flat:a,items:o};let d=$M(o,a);return this.measurementsCache=d,d}let d=this.measurementsCache.slice(0,u),f=Array(a).fill(void 0),p=new Float64Array(a),m=0;for(let e=0;e<u;e++){let t=d[e];t&&(f[t.lane]===void 0&&m++,f[t.lane]=e,p[t.lane]=t.end)}for(let i=u;i<e;i++){let e=r(i),c=this.laneAssignments.get(i),u,h,g=o===`estimate`||l.has(e);if(c!==void 0&&this.options.lanes>1){u=c;let e=f[u],r=e===void 0?void 0:d[e];h=r?r.end+s:t+n}else if(m===a){let e=0,t=p[0],n=f[0];for(let r=1;r<a;r++){let i=p[r];(i<t||i===t&&f[r]<n)&&(e=r,t=i,n=f[r])}u=e,h=t+s,g&&this.laneAssignments.set(i,u)}else u=i%this.options.lanes,h=t+n,g&&this.laneAssignments.set(i,u);let _=l.get(e),v=typeof _==`number`?_:this.options.estimateSize(i),y=h+v;d[i]={index:i,start:h,size:v,end:y,key:e,lane:u},f[u]===void 0&&m++,f[u]=i,p[u]=y}return this.measurementsCache=d,d},{key:!1,debug:()=>this.options.debug}),this.calculateRange=eN(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes,this._getLayoutTotalSize()+this.options.scrollMargin],(e,t,n,r,i)=>{if(e.length===0||t===0)return this.range=null,null;let a=Math.max(i-t,0);return this.range=PN(e,t,Math.min(n,a),r,r===1&&this._singleLaneMeasurements!==null?this._singleLaneMeasurements.flat:null),this.range},{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=eN(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t,this.options.lanes]},(e,t,n,r,i,a)=>r===null||i===null?[]:e({startIndex:r,endIndex:i,overscan:t,count:n,lanes:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=e=>{if(!kN(this.scrollState))return!0;let t=this.scrollState.index??this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)?.index;if(t!==void 0&&this.range){let n=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),r=Math.max(0,t-n),i=Math.min(this.options.count-1,t+n);return e>=r&&e<=i}return!0},this.measureElement=e=>{if(!e){this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});return}let t=this.indexFromElement(e);if(!this.isIndexInRange(t))return;let n=this.options.getItemKey(t),r=this.elementsCache.get(n);r!==e&&(r&&this.observer.unobserve(r),this.observer.observe(e),this.elementsCache.set(n,e)),e.isConnected&&(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(t)&&this.resizeItem(t,this.options.measureElement(e,void 0,this))},this.resizeItem=(e,t)=>{var n;if(!this.isIndexInRange(e))return;this._resizeBatch?.sync&&this.getMeasurements();let r,i,a,o=this._singleLaneMeasurements?.flat;if(this.options.lanes===1&&o!=null)a=this.options.getItemKey(e),i=o[e*2],r=o[e*2+1];else{let t=this.measurementsCache[e];if(!t)return;a=t.key,i=t.start,r=t.size}let s=this.itemSizeCache.get(a)??r,c=t-s;if(c!==0){let o=this.options.anchorTo===`end`&&!kN(this.scrollState)&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,l=o?this._getLayoutTotalSize():0,u=this.getScrollOffset(),d=this.itemSizeCache.has(a)?i+s<=u&&this.scrollDirection!==`backward`:i<u,f=!kN(this.scrollState)&&(this.shouldAdjustScrollPositionOnItemSizeChange===void 0?d:this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[e]??{index:e,key:a,start:i,size:r,end:i+r,lane:0},c,this));(this.pendingMin===null||e<this.pendingMin)&&(this.pendingMin=e),this.itemSizeCache.set(a,t),this.itemSizeCacheVersion++;let p=!1;if(this._awaitingCommandReadBack()||(o?p=this.applyScrollAdjustment(this._getLayoutTotalSize()-l):f&&(p=this.applyScrollAdjustment(c))),this._resizeBatch){this._resizeBatch.notify=!0,(n=this._resizeBatch).sync||(n.sync=p);return}this.notify(p),this._noteClampMax(),this._flushHoldIfReady(!0),this._retryClampedAdjustment()}},this.getVirtualItems=eN(()=>[this.getVirtualIndexes(),this.getMeasurements(),this._holdOffset],(e,t,n)=>{let r=[];for(let i=0,a=e.length;i<a;i++){let a=t[e[i]];r.push(n===0?a:{...a,start:a.start-n,end:a.end-n})}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(t.length===0)return;let n=this._singleLaneMeasurements?.flat,r=this.options.lanes===1&&n!=null;return tN(t[MN(0,t.length-1,r?e=>n[e*2]:e=>tN(t[e]).start,e)])},this._noteClampMax=()=>{if(!this._awaitingCommandReadBack())return;let e=this._elementMaxScrollOffset();if(e===null)return;let t=this.pendingWrite,n=Math.max(e,0)+this._holdOffset;if(n>=t.target)return;let r=t.lowMaxes??=[];r[r.length-1]!==n&&r.push(n)},this.getMaxScrollOffset=()=>(this._elementMaxScrollOffset()??0)+this._holdOffset,this._toLayoutOffset=e=>{let t=e+this._holdOffset;return this.pendingScrollAnchor?.kind===`anchor`&&(t+=this.pendingScrollAnchor.delta),t},this._elementMaxScrollOffset=()=>{let e=this.scrollElement;if(e===null)return null;if(`scrollHeight`in e)return this.options.horizontal?e.scrollWidth-e.clientWidth:e.scrollHeight-e.clientHeight;if(`document`in e){let t=e.document.documentElement;return this.options.horizontal?t.scrollWidth-e.innerWidth:t.scrollHeight-e.innerHeight}return null},this._momentumStop=null,this._stopMomentum=e=>{let t=this.scrollElement,n=this.targetWindow;if(t===null||n===null)return;let r=`document`in t?t.document.scrollingElement:t;if(!r?.style)return;if(this._momentumStop){this._momentumStop.done=e;return}let{style:i}=r,a=this.options.horizontal?`overflow-x`:`overflow-y`,o=i.getPropertyValue(a),s=i.getPropertyPriority(a),c=()=>this.options.horizontal?r.clientHeight:r.clientWidth,l=c();if(i.setProperty(a,`hidden`,`important`),c()!==l){i.setProperty(a,o,s);return}let u={restore:()=>i.getPropertyValue(a)!==`hidden`||i.getPropertyPriority(a)!==`important`?!1:(i.setProperty(a,o,s),!0),done:e};this._momentumStop=u,n.requestAnimationFrame(()=>n.requestAnimationFrame(()=>{this._momentumStop===u&&(this._momentumStop=null,u.restore()&&u.done())}))},this._clampedBy=e=>{let t=this._elementMaxScrollOffset();if(t===null)return null;let n=t+this._holdOffset;return e>n+.5?{target:e,maxAtWrite:n}:null},this.getVirtualDistanceFromEnd=()=>Math.max(this._getLayoutTotalSize()+this.options.scrollMargin-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(e=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=e,this.getOffsetForAlignment=(e,t,n=0)=>{if(!this.scrollElement)return 0;let r=this.getSize(),i=this.getScrollOffset();t===`auto`&&(t=e>=i+r?`end`:`start`),t===`center`?e+=(n-r)/2:t===`end`&&(e-=r);let a=this.getMaxScrollOffset();return Math.max(Math.min(a,e),0)},this.getOffsetForIndex=(e,t=`auto`)=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.getSize(),r=this.getScrollOffset(),i=this.getMeasurements()[e];if(!i)return;if(t===`auto`){if(i.end>=r+n-this.options.scrollPaddingEnd)t=`end`;else if(i.start<=r+this.options.scrollPaddingStart)t=`start`;else return[r,t]}if(t===`end`&&e===this.options.count-1){let e=this.getMaxScrollOffset(),n=e-this.options.paddingEnd+this.options.scrollPaddingEnd;return[Math.max(Math.min(n,e),0),t]}let a=t===`end`?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,t,i.size),t]},this.scrollToOffset=(e,{align:t=`start`,behavior:n=`auto`}={})=>{this._startScroll({index:null,align:t},this.getOffsetForAlignment(e,t),n,`absolute`)},this.scrollToIndex=(e,{align:t=`auto`,behavior:n=`auto`}={})=>{e=Math.max(0,Math.min(e,this.options.count-1));let r=this.getOffsetForIndex(e,t);if(!r)return;let[i,a]=r;this._startScroll({index:e,align:a},i,n,`absolute`)},this.scrollBy=(e,{behavior:t=`auto`}={})=>{let n=this.getOffsetForAlignment((this.getCommandWrittenOffset()??this.getScrollOffset())+e,`start`);this._startScroll({index:null,align:`start`},n,t,`relative`)},this.scrollToEnd=({behavior:e=`auto`}={})=>{this.options.count>0?this._startScroll({index:this.options.count-1,align:`end`,toEnd:!0},Math.max(this.getMaxScrollOffset(),0),e,`absolute`):this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:e})},this.cancelScroll=()=>{this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null},this.getTotalSize=()=>Math.max(this._getLayoutTotalSize()-this._holdOffset,0),this._getLayoutTotalSize=()=>{let e=this.getMeasurements(),t;if(e.length===0)t=this.options.paddingStart;else if(this.options.lanes===1){let n=e.length-1,r=this._singleLaneMeasurements?.flat;t=r==null?e[n]?.end??0:r[n*2]+r[n*2+1]}else{let n=Array(this.options.lanes).fill(null),r=e.length-1;for(;r>=0&&n.some(e=>e===null);){let t=e[r];n[t.lane]===null&&(n[t.lane]=t.end),r--}t=Math.max(...n.filter(e=>e!==null))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{let e=[];if(this.itemSizeCache.size===0)return e;let t=this.getMeasurements();for(let n of t)n&&this.itemSizeCache.has(n.key)&&e.push({index:n.index,key:n.key,start:n.start,size:n.size,end:n.end,lane:n.lane});return e},this._scrollToOffset=(e,{adjustments:t,behavior:n}={})=>{let r={target:e+(t??0),smooth:n===`smooth`};return this.pendingWrite=r,this.options.scrollToFn(e-this._holdOffset,{behavior:n,adjustments:t},this),r},this.getCommandWrittenOffset=()=>this.scrollState!==null&&this.pendingWrite!==null&&!this.pendingWrite.smooth?this.pendingWrite.target:null,this._awaitingCommandReadBack=()=>{let e=this.getCommandWrittenOffset();return!(dN()&&this._iosGesture.dragging())&&e!==null&&!nN(e,this.getScrollOffset())},this._followOffsetTarget=e=>{this.scrollState!==null&&this.scrollState.index==null&&(this.scrollState.lastTargetOffset+=e)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(e)}get scrollAdjustments(){return 0}applyScrollAdjustment(e,t){if(e===0)return!1;if(this._followOffsetTarget(e),this._canWriteScroll()){let n=this.getScrollOffset();this._clampedAdjustment=this._clampedBy(n+e);let r=this._scrollToOffset(n,{adjustments:e,behavior:t});return this.scrollOffset!==null&&(this.pendingWrite===r&&(this.scrollOffset+=e),this.scrollOffset<0&&(this.scrollOffset=0)),!0}return this._holdOffset+=e,this.scrollOffset!==null&&(this.scrollOffset+=e),!0}scheduleScrollReconcile(){this.targetWindow?this.rafId??=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}):this.scrollState=null}getScrollStateTarget(e){let t=e.toEnd?[Math.max(this.getMaxScrollOffset(),0)]:e.index==null?void 0:this.getOffsetForIndex(e.index,e.align);return t?t[0]:e.lastTargetOffset}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}if(this.scrollState.phase===`queued`){this.scheduleScrollReconcile();return}this.getMeasurements();let e=this.getScrollStateTarget(this.scrollState),t=this.scrollState.index==null?1:this.options.useAnimationFrameWithResizeObserver?3:2,n=e!==this.scrollState.lastTargetOffset;if(!n&&nN(e,this.getScrollOffset())){if(this.scrollState.phase===`smooth`?this.scrollState.phase=`smoothLanded`:this.scrollState.phase===`smoothFinishing`&&(this.scrollState.phase=`instant`),this.scrollState.stableFrames++,this.scrollState.stableFrames>=t){this.getScrollOffset()!==e&&this._scrollToOffset(e,{behavior:`auto`}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,n){let t=this.getSize()||600,n=Math.abs(e-this.getScrollOffset()),r=kN(this.scrollState)&&n>t;this.scrollState.lastTargetOffset=e,r?this.scrollState.phase=`smooth`:this.scrollState.phase===`smooth`?this.scrollState.phase=`smoothFinishing`:this.scrollState.phase===`smoothLanded`&&(this.scrollState.phase=`instant`),this._scrollToOffset(e,{behavior:r?`smooth`:`auto`})}this.scheduleScrollReconcile()}_startScroll(e,t,n,r){this.pendingScrollAnchor=null,this._clampedAdjustment=null;let i=this._iosGesture.tail();if(r===`absolute`&&i!==null){if(i===`fling`&&mN()){this._stopMomentum(()=>{this.scrollState?.phase!==`queued`||this._iosGesture.tail()!==`fling`||this._reportedOverscroll||(this._iosGesture.end(),this._flushHoldIfReady(!0),this._writeAwaitingCommand())}),this.scrollState={...e,startedAt:this.now(),lastTargetOffset:t,stableFrames:0,phase:`queued`,behavior:n,samples:[]},this.scheduleScrollReconcile();return}this._iosGesture.end()}this.scrollState={...e,startedAt:this.now(),lastTargetOffset:t,stableFrames:0,behavior:n,phase:ON(n,e.index!=null&&nN(t,this.getScrollOffset()))},this._scrollToOffset(t,{behavior:n}),this.scheduleScrollReconcile()}},MN=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,a=n(i);if(a<r)e=i+1;else if(a>r)t=i-1;else return i}return e>0?e-1:0};function NN(e,t,n){let r=0;for(;r<=t;){let i=(r+t)/2|0,a=e[i*2];if(a<n)r=i+1;else if(a>n)t=i-1;else return i}return r>0?r-1:0}function PN(e,t,n,r,i){let a=e.length-1;if(e.length<=r)return{startIndex:0,endIndex:a};if(r===1&&i!==null){let e=NN(i,a,n),r=e,o=n+t;for(;r<a&&i[r*2]+i[r*2+1]<o;)r++;return{startIndex:e,endIndex:r}}let o=MN(0,a,t=>e[t].start,n),s=o;if(r===1)for(;s<a&&e[s].end<n+t;)s++;else if(r>1){let i=Array(r).fill(0);for(;s<a&&i.some(e=>e<n+t);){let t=e[s];i[t.lane]=t.end,s++}let c=Array(r).fill(n+t);for(;o>=0&&c.some(e=>e>=n);){let t=e[o];c[t.lane]=t.start,o--}o=Math.max(0,o-o%r),s=Math.min(a,s+(r-1-s%r))}return{startIndex:o,endIndex:s}}var FN=typeof document<`u`?b.useLayoutEffect:b.useEffect;function IN({useFlushSync:e=!0,directDomUpdates:t=!1,directDomUpdatesMode:n=`transform`,...r}){let i=b.useReducer(e=>e+1,0)[1],a=b.useRef({enabled:t,mode:n,container:null,lastSize:null,lastPositions:new WeakMap,prevRange:null});a.current.enabled=t,a.current.mode=n;let o=b.useRef(!1),s=e=>{let t=a.current;if(!t.enabled||!t.container)return;let n=e.getTotalSize();if(n!==t.lastSize){t.lastSize=n;let r=e.options.horizontal?`width`:`height`;t.container.style[r]=`${n}px`}},c=(e,t,n)=>{let r=a.current,i=!!e.options.horizontal,o=t.start-e.options.scrollMargin;r.lastPositions.get(n)!==o&&(r.lastPositions.set(n,o),r.mode===`transform`?n.style.transform=i?`translate3d(${o}px, 0, 0)`:`translate3d(0, ${o}px, 0)`:n.style[i?`left`:`top`]=`${o}px`)},l=e=>{let t=a.current;if(t.enabled&&t.container){s(e);for(let t of e.getVirtualItems()){let n=e.elementsCache.get(t.key);n&&c(e,t,n)}}},u={...r,onChange:(t,n)=>{var s;let c=a.current,u=!0;if(c.enabled){l(t);let e=t.range,n=c.prevRange;u=!n||n.isScrolling!==t.isScrolling||n.startIndex!==e?.startIndex||n.endIndex!==e?.endIndex,u&&(c.prevRange=e?{startIndex:e.startIndex,endIndex:e.endIndex,isScrolling:t.isScrolling}:null)}u&&(e&&n&&!o.current?(0,K.flushSync)(i):i()),(s=r.onChange)==null||s.call(r,t,n)}},[d]=b.useState(()=>{let e=new jN(u),t=e.measureElement;return e.measureElement=n=>{o.current=!0;try{t(n)}finally{o.current=!1}let r=a.current;if(n!==null&&r.enabled&&r.container){let t=e.measurementsCache[e.indexFromElement(n)];t&&c(e,t,n)}},Object.assign(e,{containerRef:t=>{let n=a.current;n.container=t,n.lastSize=null,t!==null&&l(e)}})});return d.setOptions(u),FN(()=>d._didMount(),[]),FN(()=>(s(d),d._willUpdate())),FN(()=>{l(d)}),d}function LN(e){return IN({observeElementRect:xN,observeElementOffset:TN,scrollToFn:DN,...e})}function RN(e){"use no memo";let t=LN(e);return{virtualizer:t,virtualItems:t.getVirtualItems(),totalSize:t.getTotalSize(),startIndex:t.range?.startIndex??0,endIndex:t.range?.endIndex??0}}function zN(e){let t=(0,Q.c)(75),{scrollableEl:n}=e,{rowKey:r,renderRow:i,dynamicRowHeight:a,estimatedRowHeight:o,overscan:s,apiRef:c,store:l}=F_(),u=Qf(l,HN),d;t[0]!==s||t[1]!==l?(d=e=>{let{offset:t,limit:n,totalCount:r,actions:i}=l.getState();if(r()==null){let e=Math.max(0,t()-s),r=t()+n()+s;i.updateWindow(e,r-e+1)}else i.updateWindow(e[0]?.index??0,e.length)},t[0]=s,t[1]=l,t[2]=d):d=t[2];let f=d,p;t[3]===n?p=t[4]:(p=()=>n,t[3]=n,t[4]=p);let m;t[5]===o?m=t[6]:(m=e=>typeof o==`number`?o:o(e),t[5]=o,t[6]=m);let h;t[7]!==o||t[8]!==l?(h=(e,t)=>xN(e,e=>{let{width:n,height:r}=e;t({width:n,height:r-(l.getState().tableHeadHeight??(typeof o==`number`?o:o(0)))})}),t[7]=o,t[8]=l,t[9]=h):h=t[9];let g;t[10]===f?g=t[11]:(g=(e,t)=>{t||f(e.getVirtualItems())},t[10]=f,t[11]=g);let _;t[12]!==u||t[13]!==s||t[14]!==p||t[15]!==m||t[16]!==h||t[17]!==g?(_={count:u,getScrollElement:p,estimateSize:m,overscan:s,observeElementRect:h,onChange:g},t[12]=u,t[13]=s,t[14]=p,t[15]=m,t[16]=h,t[17]=g,t[18]=_):_=t[18];let{virtualizer:v,virtualItems:y,totalSize:x,startIndex:S,endIndex:C}=RN(_),w,T;t[19]!==l||t[20]!==f||t[21]!==v?(w=()=>l.subscribe(VN,()=>f(v.getVirtualItems())),T=[l,f,v],t[19]=l,t[20]=f,t[21]=v,t[22]=w,t[23]=T):(w=t[22],T=t[23]),(0,b.useEffect)(w,T);let E;t[24]!==s||t[25]!==l||t[26]!==v?(E=(e,t,n)=>{let r=t===void 0?0:t,i=n===void 0?0:n,{limit:a,actions:o}=l.getState(),c=v.getVirtualItems()[0]?.index??0,u=a()+Math.min(c,s)+s;o.spliceWindow(c,u,e,r,i)},t[24]=s,t[25]=l,t[26]=v,t[27]=E):E=t[27];let D=E,O;t[28]!==l||t[29]!==v?(O=e=>{l.getState().actions.refresh(e),v.measure()},t[28]=l,t[29]=v,t[30]=O):O=t[30];let k=O,A;t[31]!==l||t[32]!==v?(A=(e,t)=>{let n=l.getState(),r=n.totalCount();r!=null&&r>n.limit()&&(e<r-1?v.scrollToIndex(e,t):v.scrollToOffset(1/0,{align:`end`,...t}))},t[31]=l,t[32]=v,t[33]=A):A=t[33];let j=A,M,N;t[34]!==j||t[35]!==k||t[36]!==D?(M=()=>({splice:D,refresh:k,goTo:j}),N=[j,k,D],t[34]=j,t[35]=k,t[36]=D,t[37]=M,t[38]=N):(M=t[37],N=t[38]),(0,b.useImperativeHandle)(c,M,N);let P=y[0],F=y[y.length-1],I;t[39]!==P?.index||t[40]!==y.length?(I=e=>e.actions.getRowsWindow(P?.index??0,y.length),t[39]=P?.index,t[40]=y.length,t[41]=I):I=t[41];let L=Qf(l,Bp(I)),R,z;t[42]!==j||t[43]!==l||t[44]!==v?(R=()=>l.subscribe(BN,e=>!v.isScrolling&&j(e)),z=[j,l,v],t[42]=j,t[43]=l,t[44]=v,t[45]=R,t[46]=z):(R=t[45],z=t[46]),(0,b.useEffect)(R,z);let B,V;t[47]!==C||t[48]!==S||t[49]!==l?(B=()=>{(0,b.startTransition)(()=>{l.getState().actions.setOffset(S),l.setState({scrolledRangeStart:S,scrolledRangeEnd:C})})},V=[C,S,l],t[47]=C,t[48]=S,t[49]=l,t[50]=B,t[51]=V):(B=t[50],V=t[51]),(0,b.useEffect)(B,V);let H=P?.start??0,ee;t[52]===H?ee=t[53]:(ee=(0,q.jsx)(`tr`,{"aria-hidden":!0,children:(0,q.jsx)(`td`,{style:{height:H,padding:0,border:0}})}),t[52]=H,t[53]=ee);let U;if(t[54]!==u||t[55]!==a||t[56]!==i||t[57]!==r||t[58]!==L||t[59]!==y||t[60]!==v){let e;t[62]!==u||t[63]!==a||t[64]!==i||t[65]!==r||t[66]!==L||t[67]!==v?(e=(e,t)=>{let n={row:L[t],index:e.index,"data-index":a?e.index:void 0,"data-even-row":tb(e.index%2!=0),"data-odd-row":tb(e.index%2==0),"data-last-row":tb(e.index===u-1),ref:a?v.measureElement:void 0},o=L[t]?`row-${Jp(L[t],r)}`:`loading-${t}`;return i?(0,q.jsx)(b.Fragment,{children:i(n)},o):(0,q.jsx)(zM,{...n},o)},t[62]=u,t[63]=a,t[64]=i,t[65]=r,t[66]=L,t[67]=v,t[68]=e):e=t[68],U=y.map(e),t[54]=u,t[55]=a,t[56]=i,t[57]=r,t[58]=L,t[59]=y,t[60]=v,t[61]=U}else U=t[61];let W=x-(F?.end??0),G;t[69]===W?G=t[70]:(G=(0,q.jsx)(`tr`,{"aria-hidden":!0,children:(0,q.jsx)(`td`,{style:{height:W,padding:0,border:0}})}),t[69]=W,t[70]=G);let K;return t[71]!==ee||t[72]!==U||t[73]!==G?(K=(0,q.jsxs)(q.Fragment,{children:[ee,U,G]}),t[71]=ee,t[72]=U,t[73]=G,t[74]=K):K=t[74],K}function BN(e){let{offset:t}=e;return t()}function VN(e){let{updateCounter:t}=e;return t}function HN(e){return e.bodyCount()}function UN(e){let t=(0,Q.c)(17),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({emptyMessage:n,emptyMessageProps:r,scrollableEl:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let{displayMode:o,store:s}=F_(),c=Qf(s,WN),l;t[5]!==n||t[6]!==r||t[7]!==c?(l=c&&(0,q.jsx)(HM,{emptyMessage:n,emptyMessageProps:r}),t[5]=n,t[6]=r,t[7]=c,t[8]=l):l=t[8];let u;t[9]!==o||t[10]!==c||t[11]!==a?(u=!c&&(o===`paged`?(0,q.jsx)(XM,{}):(0,q.jsx)(zN,{scrollableEl:a})),t[9]=o,t[10]=c,t[11]=a,t[12]=u):u=t[12];let d;return t[13]!==i||t[14]!==l||t[15]!==u?(d=(0,q.jsxs)(Vj,{...i,children:[l,u]}),t[13]=i,t[14]=l,t[15]=u,t[16]=d):d=t[16],d}function WN(e){return e.loading||e.totalCount()===0}function GN(e,t){let n=(0,Q.c)(4),r,i;n[0]!==e||n[1]!==t?(r=()=>{if(!e){t(void 0);return}t(e.getBoundingClientRect());let n=new ResizeObserver(n=>{let[r]=n;return r&&t(e.getBoundingClientRect())});return n.observe(e),()=>{n.disconnect(),t(void 0)}},i=[e,t],n[0]=e,n[1]=t,n[2]=r,n[3]=i):(r=n[2],i=n[3]),Wp(r,i)}function KN(e){let t=(0,Q.c)(26),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({footContent:n,showWhenEmpty:a,ref:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let{store:o}=F_(),s=qp(),c;t[5]===a?c=t[6]:(c=e=>a||!e.loading&&(e.totalCount()??0)>0,t[5]=a,t[6]=c);let l=Qf(o,c),[u,d]=(0,b.useState)(null),f;t[7]===o?f=t[8]:(f=e=>o.setState({tableFootHeight:e?.height}),t[7]=o,t[8]=f),GN(u,f);let p=NM(),m=RM(),h;t[9]!==m||t[10]!==p?(h=e=>{let{leafColumns:t}=e;return p?{[m]:p,...t}:t},t[9]=m,t[10]=p,t[11]=h):h=t[11];let g=Qf(o,Bp(h)),_=Qf(o,JN),v;t[12]===_?v=t[13]:(v=e=>{let{headCount:t,bodyCount:n}=e;return _?t+n()+1:void 0},t[12]=_,t[13]=v);let y=Qf(o,v),x=Qf(o,qN),S;t[14]===i?S=t[15]:(S=[d,i],t[14]=i,t[15]=S);let C=sy(S),w;return t[16]!==C||t[17]!==n||t[18]!==y||t[19]!==_||t[20]!==g||t[21]!==r||t[22]!==s||t[23]!==x||t[24]!==l?(w=l&&(_||n)&&(0,q.jsxs)(Gj,{...r,ref:C,children:[_&&(0,q.jsx)(qj,{"aria-rowindex":y,children:Object.entries(g).reduce((e,t)=>{let[n,r]=t,{filterable:i,locale:a,subColumns:o,getValue:c,format:l,render:u,compare:d,footer:f,label:p,helperText:m,helperButtonLabel:h,width:g,fixed:_,sortable:v,defaultSortDirection:y,showWhilePrinting:b,id:S,cellId:C,containerProps:w,labelProps:T,sortButtonProps:E,sortIconContainerProps:D,sortAscIconProps:O,sortDescIconProps:k,helperButtonProps:A,helperPopoverProps:j,helperPopoverContentProps:M,...N}=r;return(!s||b===void 0||b)&&e.push((0,q.jsx)(Hj,{...N,children:typeof f==`function`?f({rows:x}):f},n)),e},[])}),n]}),t[16]=C,t[17]=n,t[18]=y,t[19]=_,t[20]=g,t[21]=r,t[22]=s,t[23]=x,t[24]=l,t[25]=w):w=t[25],w}function qN(e){let{processedRows:t}=e;return t()}function JN(e){let{hasFooterCells:t}=e;return t()}function YN(e){let t=(0,Q.c)(27),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({rowProps:i,ref:r,...n}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let{generatedId:a,store:o}=F_(),s=qp(),c=NM(),l=RM(),u;t[4]!==l||t[5]!==c?(u=e=>c?{[l]:c,...e.columns}:e.columns,t[4]=l,t[5]=c,t[6]=u):u=t[6];let d=Qf(o,Bp(u)),f=Qf(o,QN),p=Qf(o,ZN),{setSort:m}=Qf(o,XN),[h,g]=(0,b.useState)(null),_;t[7]===o?_=t[8]:(_=e=>o.setState({tableHeadHeight:e?.height}),t[7]=o,t[8]=_),GN(h,_);let v;t[9]===m?v=t[10]:(v=(...e)=>{let t=e;return(0,b.startTransition)(()=>m(...t))},t[9]=m,t[10]=v);let y;t[11]!==d||t[12]!==a||t[13]!==s||t[14]!==f||t[15]!==p||t[16]!==v?(y=$N(d,s,a,{sortBy:f,sortDirection:p,onSort:v}),t[11]=d,t[12]=a,t[13]=s,t[14]=f,t[15]=p,t[16]=v,t[17]=y):y=t[17];let x;t[18]===i?x=t[19]:(x=e=>({...typeof i==`function`?i(e):i,"aria-rowindex":e+1}),t[18]=i,t[19]=x);let S;t[20]===r?S=t[21]:(S=[g,r],t[20]=r,t[21]=S);let C=sy(S),w;return t[22]!==n||t[23]!==y||t[24]!==x||t[25]!==C?(w=(0,q.jsx)(Jj,{...n,columns:y,rowProps:x,ref:C}),t[22]=n,t[23]=y,t[24]=x,t[25]=C,t[26]=w):w=t[26],w}function XN(e){return e.actions}function ZN(e){return e.sortDirection}function QN(e){return e.sortBy}function $N(e,t,n,r){return e&&Object.entries(e).reduce((e,[i,a])=>{let{sortable:o,subColumns:s,cellId:c,showWhilePrinting:l=!0,labelProps:u,filterable:d,paddingless:f,getValue:p,format:m,render:h,compare:g,footer:_,footerProps:v,...y}=a;if(t&&!l)return e;let b={id:u?.id??`data-table-column-label-${i}-${n}`,...u};return e.push(s?{id:c,labelProps:b,...y,subColumns:$N(s,t,n,r)}:{id:c,labelProps:b,...y,sortable:o,sorted:o&&r.sortBy===i?r.sortDirection:void 0,onSort:e=>e?r.onSort(i,e):r.onSort(null,`asc`)}),e},[])}function eP(e){let t=(0,Q.c)(62),n,r,i,a,o,s,c,l,u,d,f,p;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12]):({emptyMessage:i,tableFootContent:d,showTableFootWhenEmpty:l,containerProps:r,scrollableProps:c,tableHeadProps:p,tableBodyProps:u,tableFootProps:f,emptyMessageProps:a,className:n,ref:s,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p);let m=l!==void 0&&l,h=ap(),[g]=Mp(),_=i??g.DataTableContent.emptyMessage,{displayMode:v,required:y,estimatedRowHeight:x,store:S}=F_(),C=(0,b.useRef)(null),[w,T]=(0,b.useState)(null),{height:E}=hM(),D;t[13]===x?D=t[14]:(D=typeof x==`number`?x:x(0),t[13]=x,t[14]=D);let O=D,k;t[15]!==v||t[16]!==O||t[17]!==E?(k=e=>v===`scrolled`&&!e.loading&&(e.totalCount()??0)>e.limit()?(e.tableHeadHeight??O)+(e.tableFootHeight??0)+O*e.limit()+E:void 0,t[15]=v,t[16]=O,t[17]=E,t[18]=k):k=t[18];let A=Qf(S,k),j=A!==void 0,M,N;t[19]===S?(M=t[20],N=t[21]):(M=()=>S.subscribe(tP,e=>{C.current.ariaRowCount=e.toString()},{fireImmediately:!0}),N=[S],t[19]=S,t[20]=M,t[21]=N),(0,b.useEffect)(M,N);let P;t[22]!==n||t[23]!==h?(P=$(h(`data-table__content`),n),t[22]=n,t[23]=h,t[24]=P):P=t[24];let F;t[25]!==r?.className||t[26]!==h?(F=$(h(`data-table__content-container`),r?.className),t[25]=r?.className,t[26]=h,t[27]=F):F=t[27];let I;t[28]!==r||t[29]!==F?(I={...r,className:F},t[28]=r,t[29]=F,t[30]=I):I=t[30];let L=c?.ref,R;t[31]===L?R=t[32]:(R=[T,L],t[31]=L,t[32]=R);let z=sy(R),B;t[33]!==c||t[34]!==z?(B={...c,ref:z},t[33]=c,t[34]=z,t[35]=B):B=t[35];let V;t[36]===s?V=t[37]:(V=[C,s],t[36]=s,t[37]=V);let H=sy(V),ee;t[38]!==j||t[39]!==p?(ee=(0,q.jsx)(YN,{sticky:j,...p}),t[38]=j,t[39]=p,t[40]=ee):ee=t[40];let U;t[41]!==_||t[42]!==a||t[43]!==w||t[44]!==u?(U=(0,q.jsx)(UN,{scrollableEl:w,emptyMessage:_,emptyMessageProps:a,...u}),t[41]=_,t[42]=a,t[43]=w,t[44]=u,t[45]=U):U=t[45];let W;t[46]!==m||t[47]!==j||t[48]!==d||t[49]!==f?(W=(0,q.jsx)(KN,{sticky:j,showWhenEmpty:m,footContent:d,...f}),t[46]=m,t[47]=j,t[48]=d,t[49]=f,t[50]=W):W=t[50];let G;return t[51]!==A||t[52]!==o||t[53]!==y||t[54]!==B||t[55]!==H||t[56]!==ee||t[57]!==U||t[58]!==W||t[59]!==P||t[60]!==I?(G=(0,q.jsxs)(Rj,{className:P,required:y,maxHeight:A,containerProps:I,scrollableProps:B,...o,layout:`fixed`,ref:H,children:[ee,U,W]}),t[51]=A,t[52]=o,t[53]=y,t[54]=B,t[55]=H,t[56]=ee,t[57]=U,t[58]=W,t[59]=P,t[60]=I,t[61]=G):G=t[61],G}function tP(e){return e.headCount+e.bodyCount()+e.footCount()}function nP(e){let t=(0,Q.c)(35),n,r,i,a,o,s,c,l,u,d,f,p;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12]):({type:u,multiple:i,name:a,defaultValue:n,value:p,status:l,disabled:r,validate:d,validationMode:f,onValueChange:s,onBlurToOutside:o,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p);let m;t[13]!==n||t[14]!==i||t[15]!==u||t[16]!==p?(m=u===`file`?i?[]:null:(p??n)?.toString()??``,t[13]=n,t[14]=i,t[15]=u,t[16]=p,t[17]=m):m=t[17];let h=AM(a,m,d,f),g=u,_=l??h.status,v=r||h.disabled,y=h.onChange,b;t[18]!==s||t[19]!==y?(b=[y,s],t[18]=s,t[19]=y,t[20]=b):b=t[20];let x=Dp(b),S;t[21]!==h.onBlur||t[22]!==o?(S=[h.onBlur,o],t[21]=h.onBlur,t[22]=o,t[23]=S):S=t[23];let C=Dp(S),w;return t[24]!==n||t[25]!==i||t[26]!==a||t[27]!==c||t[28]!==g||t[29]!==_||t[30]!==v||t[31]!==x||t[32]!==C||t[33]!==p?(w=(0,q.jsx)(LP,{...c,type:g,multiple:i,name:a,defaultValue:n,value:p,status:_,disabled:v,onValueChange:x,onBlurToOutside:C}),t[24]=n,t[25]=i,t[26]=a,t[27]=c,t[28]=g,t[29]=_,t[30]=v,t[31]=x,t[32]=C,t[33]=p,t[34]=w):w=t[34],w}function rP(e){let t=(0,Q.c)(37),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({preferRightAlignment:l,endAdornment:i,placeholder:s,"aria-label":n,onValueChange:a,className:r,rootProps:c,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=l===void 0||l,d=ap(),[f]=Mp(),p=n??f.DataTableFilter[`aria-label`],m=s??f.DataTableFilter.placeholder,{store:h}=F_(),g=Qf(h,iP),_;t[9]===h?_=t[10]:(_=e=>{(0,b.startTransition)(()=>h.getState().actions.setFilter(e))},t[9]=h,t[10]=_);let v=_,y;t[11]===i?y=t[12]:(y=i??(0,q.jsx)(VP,{children:(0,q.jsx)(jE,{icon:py})}),t[11]=i,t[12]=y);let x;t[13]!==r||t[14]!==d?(x=$(d(`data-table__filter`),r),t[13]=r,t[14]=d,t[15]=x):x=t[15];let S;t[16]!==v||t[17]!==a?(S=[a,v],t[16]=v,t[17]=a,t[18]=S):S=t[18];let C=Dp(S),w;t[19]!==d||t[20]!==c?.className?(w=$(d(`data-table__filter-root`),c?.className),t[19]=d,t[20]=c?.className,t[21]=w):w=t[21];let T;t[22]===u?T=t[23]:(T=tb(u),t[22]=u,t[23]=T);let E;t[24]!==c||t[25]!==w||t[26]!==T?(E={...c,className:w,"data-prefer-right-alignment":T},t[24]=c,t[25]=w,t[26]=T,t[27]=E):E=t[27];let D=E,O;return t[28]!==p||t[29]!==g||t[30]!==o||t[31]!==m||t[32]!==D||t[33]!==y||t[34]!==x||t[35]!==C?(O=(0,q.jsx)(Jv,{children:(0,q.jsx)(nP,{type:`search`,placeholder:m,endAdornment:y,className:x,value:g,onValueChange:C,rootProps:D,"aria-label":p,...o})}),t[28]=p,t[29]=g,t[30]=o,t[31]=m,t[32]=D,t[33]=y,t[34]=x,t[35]=C,t[36]=O):O=t[36],O}function iP(e){return e.filter}function aP(e,t,n,r){let i=(e,t)=>Array.from({length:Math.max(0,t-e+1)},(t,n)=>e+n),a=i(1,Math.min(r,t)),o=i(Math.max(t-r+1,r+1),t),s=Math.max(Math.min(e-n,t-r-n*2-1),r+2),c=Math.min(Math.max(e+n,r+n*2+2),t-r-1);return[...a,...s>r+2?[`start-ellipsis`]:r+1<t-r?[r+1]:[],...i(s,c),...c<t-r-1?[`end-ellipsis`]:t-r>r?[t-r]:[],...o]}function oP(e){let t=(0,Q.c)(105),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20]):({count:i,defaultPage:a,page:r,onPageChange:p,size:y,siblingCount:x,boundaryCount:S,disabled:o,loading:l,label:c,previousPageButtonLabel:_,nextPageButtonLabel:d,pageButtonLabel:h,previousPageButtonProps:v,nextPageButtonProps:f,pageButtonProps:g,ellipsisButtonProps:s,loadingButtonProps:u,className:n,...m}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S);let C=x===void 0?1:x,w=S===void 0?1:S,T=ap(),[E]=Mp(),D=c??E.Pagination.label,O=_??E.Pagination.previousPageButtonLabel,k=d??E.Pagination.nextPageButtonLabel,A=h??E.Pagination.pageButtonLabel,j=(0,b.useId)(),M;t[21]!==j||t[22]!==D||t[23]!==T?(M=D!=null&&typeof D!=`string`&&T(`button-group-${j}`),t[21]=j,t[22]=D,t[23]=T,t[24]=M):M=t[24];let N=M,P=new Intl.NumberFormat(E.languageTag,{useGrouping:!0}),[F,I]=Ap(a??1,r),L;t[25]!==p||t[26]!==I?(L=e=>{I(e),p?.(e)},t[25]=p,t[26]=I,t[27]=L):L=t[27];let R=L,z;t[28]===F?z=t[29]:(z=tM(F)??1,t[28]=F,t[29]=z);let B=Math.min(Math.max(z,1),Math.max(i,1)),V=aP(B,i,C,w),H;t[30]!==n||t[31]!==T?(H=$(T(`pagination`),n),t[30]=n,t[31]=T,t[32]=H):H=t[32];let ee=typeof D==`string`?D:void 0,U=N||void 0,W;t[33]===o?W=t[34]:(W=tb(o),t[33]=o,t[34]=W);let G;t[35]!==D||t[36]!==N?(G=N&&(0,q.jsx)(`span`,{id:N,hidden:!0,children:D}),t[35]=D,t[36]=N,t[37]=G):G=t[37];let K;t[38]===T?K=t[39]:(K=T(`pagination__list`),t[38]=T,t[39]=K);let J;t[40]===T?J=t[41]:(J=T(`pagination__item`),t[40]=T,t[41]=J);let te;t[42]!==T||t[43]!==v?.className?(te=$(T(`pagination__button`),T(`pagination__arrow`),v?.className),t[42]=T,t[43]=v?.className,t[44]=te):te=t[44];let Y=o||v?.disabled,X=l||B<=1||v?.[`aria-disabled`],ne=v?.onClick,re;t[45]!==R||t[46]!==B?(re=()=>R(B-1),t[45]=R,t[46]=B,t[47]=re):re=t[47];let ie;t[48]!==ne||t[49]!==re?(ie=[ne,re],t[48]=ne,t[49]=re,t[50]=ie):ie=t[50];let ae;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(ae={checkDefaultPrevented:!0},t[51]=ae):ae=t[51];let oe=Dp(ie,ae),se;t[52]!==O||t[53]!==v||t[54]!==y||t[55]!==te||t[56]!==Y||t[57]!==X||t[58]!==oe?(se=(0,q.jsx)(JE,{variant:`ghost`,size:y,icon:_y,label:O,...v,className:te,disabled:Y,"aria-disabled":X,onClick:oe}),t[52]=O,t[53]=v,t[54]=y,t[55]=te,t[56]=Y,t[57]=X,t[58]=oe,t[59]=se):se=t[59];let ce;t[60]!==J||t[61]!==se?(ce=(0,q.jsx)(`li`,{className:J,children:se}),t[60]=J,t[61]=se,t[62]=ce):ce=t[62];let le=!l&&V.map(e=>{if(typeof e!=`number`)return(0,q.jsx)(`li`,{className:T(`pagination__item`),"aria-hidden":!0,children:(0,q.jsx)(sD,{asChild:!0,variant:`ghost`,size:y,"data-disabled":tb(o),...s,className:$(T(`pagination__button`),T(`pagination__ellipsis`),s?.className),children:(0,q.jsx)(`span`,{children:(0,q.jsx)(`span`,{className:T(`pagination__ellipsis-text`),children:`…`})})})},e);let t=e===B,n=P.format(e),r=A?.(n);return(0,q.jsx)(`li`,{className:T(`pagination__item`),children:(0,q.jsxs)(sD,{variant:t?`subtle`:`ghost`,size:y,disabled:o,"data-current":tb(t),"aria-current":t?`page`:void 0,...g,className:$(T(`pagination__button`),T(`pagination__page`),g?.className),onClick:t=>{g?.onClick?.(t),t.defaultPrevented||R(e)},children:[r!=null&&(0,q.jsx)(AE,{children:r}),(0,q.jsx)(`span`,{"aria-hidden":r!=null||void 0,children:n})]})},e)}),ue;t[63]!==l||t[64]!==u||t[65]!==T||t[66]!==y?(ue=l&&(0,q.jsx)(`li`,{className:T(`pagination__item`),"aria-hidden":!0,children:(0,q.jsx)(sD,{variant:`ghost`,size:y,loading:!0,disabled:!0,...u,className:$(T(`pagination__button`),T(`pagination__loading`),u?.className)})}),t[63]=l,t[64]=u,t[65]=T,t[66]=y,t[67]=ue):ue=t[67];let Z;t[68]===T?Z=t[69]:(Z=T(`pagination__item`),t[68]=T,t[69]=Z);let de;t[70]!==f?.className||t[71]!==T?(de=$(T(`pagination__button`),T(`pagination__arrow`),f?.className),t[70]=f?.className,t[71]=T,t[72]=de):de=t[72];let fe=o||f?.disabled,pe=l||B>=i||f?.[`aria-disabled`],me=f?.onClick,he;t[73]!==R||t[74]!==B?(he=()=>R(B+1),t[73]=R,t[74]=B,t[75]=he):he=t[75];let ge;t[76]!==me||t[77]!==he?(ge=[me,he],t[76]=me,t[77]=he,t[78]=ge):ge=t[78];let _e;t[79]===Symbol.for(`react.memo_cache_sentinel`)?(_e={checkDefaultPrevented:!0},t[79]=_e):_e=t[79];let ve=Dp(ge,_e),ye;t[80]!==k||t[81]!==f||t[82]!==y||t[83]!==de||t[84]!==fe||t[85]!==pe||t[86]!==ve?(ye=(0,q.jsx)(JE,{variant:`ghost`,size:y,icon:Ey,label:k,...f,className:de,disabled:fe,"aria-disabled":pe,onClick:ve}),t[80]=k,t[81]=f,t[82]=y,t[83]=de,t[84]=fe,t[85]=pe,t[86]=ve,t[87]=ye):ye=t[87];let be;t[88]!==Z||t[89]!==ye?(be=(0,q.jsx)(`li`,{className:Z,children:ye}),t[88]=Z,t[89]=ye,t[90]=be):be=t[90];let xe;t[91]!==K||t[92]!==ce||t[93]!==le||t[94]!==ue||t[95]!==be?(xe=(0,q.jsxs)(`ul`,{className:K,children:[ce,le,ue,be]}),t[91]=K,t[92]=ce,t[93]=le,t[94]=ue,t[95]=be,t[96]=xe):xe=t[96];let Se;return t[97]!==m||t[98]!==G||t[99]!==xe||t[100]!==H||t[101]!==ee||t[102]!==U||t[103]!==W?(Se=(0,q.jsxs)(`nav`,{className:H,"aria-label":ee,"aria-labelledby":U,"data-disabled":W,...m,children:[G,xe]}),t[97]=m,t[98]=G,t[99]=xe,t[100]=H,t[101]=ee,t[102]=U,t[103]=W,t[104]=Se):Se=t[104],Se}function sP(e){let t=(0,Q.c)(20),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({preferRightAlignment:i,className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),{store:o}=F_(),s=Qf(o,fP),c=Qf(o,dP),l=Qf(o,uP),u=Qf(o,lP),{setOffset:d}=Qf(o,cP),f;t[4]!==n||t[5]!==a?(f=$(a(`data-table__pagination`),n),t[4]=n,t[5]=a,t[6]=f):f=t[6];let p=Math.ceil((c??0)/l),m=u+1,h;t[7]!==l||t[8]!==d?(h=e=>(0,b.startTransition)(()=>d((e-1)*l)),t[7]=l,t[8]=d,t[9]=h):h=t[9];let g=s||c==null,_;t[10]===i?_=t[11]:(_=tb(i),t[10]=i,t[11]=_);let v;return t[12]!==r||t[13]!==f||t[14]!==p||t[15]!==m||t[16]!==h||t[17]!==g||t[18]!==_?(v=(0,q.jsx)(Jv,{children:(0,q.jsx)(oP,{className:f,count:p,page:m,onPageChange:h,loading:g,...r,"data-prefer-right-alignment":_})}),t[12]=r,t[13]=f,t[14]=p,t[15]=m,t[16]=h,t[17]=g,t[18]=_,t[19]=v):v=t[19],v}function cP(e){return e.actions}function lP(e){return e.currentPage()}function uP(e){return e.limit()}function dP(e){return e.totalCount()}function fP(e){return e.loading}function pP(e){let t=(0,Q.c)(24),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({rowsRange:a,preferRightAlignment:i,className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=ap(),{store:s}=F_(),c=Qf(s,gP),l=Qf(s,hP),u=Qf(s,mP),d;t[5]!==n||t[6]!==o?(d=$(o(`data-table__pagination-label`),n),t[5]=n,t[6]=o,t[7]=d):d=t[7];let f;t[8]===i?f=t[9]:(f=tb(i),t[8]=i,t[9]=f);let p;t[10]!==o||t[11]!==c?(p=c==null&&(0,q.jsx)(GE,{className:o(`data-table__pagination-spinner`)}),t[10]=o,t[11]=c,t[12]=p):p=t[12];let m;t[13]!==a||t[14]!==u||t[15]!==l||t[16]!==c?(m=c!=null&&a?.(Math.min(l+1,c),Math.min(u+1,c),c),t[13]=a,t[14]=u,t[15]=l,t[16]=c,t[17]=m):m=t[17];let h;return t[18]!==r||t[19]!==d||t[20]!==f||t[21]!==p||t[22]!==m?(h=(0,q.jsxs)(`div`,{className:d,...r,"data-prefer-right-alignment":f,children:[p,m]}),t[18]=r,t[19]=d,t[20]=f,t[21]=p,t[22]=m,t[23]=h):h=t[23],h}function mP(e){return e.scrolledRangeEnd}function hP(e){return e.scrolledRangeStart}function gP(e){return e.totalCount()}function _P(e){let t=(0,Q.c)(41),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16]):({rowsRange:p,size:h,siblingCount:m,boundaryCount:n,label:i,previousPageButtonLabel:d,nextPageButtonLabel:o,pageButtonLabel:l,previousPageButtonProps:f,nextPageButtonProps:s,pageButtonProps:u,ellipsisButtonProps:r,loadingButtonProps:a,preferRightAlignment:_,style:g,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_);let v=_===void 0||_,[y]=Mp(),b=p??y.DataTablePagination.rowsRange,x=i??y.DataTablePagination.label,S=d??y.DataTablePagination.previousPageButtonLabel,C=o??y.DataTablePagination.nextPageButtonLabel,w=l??y.DataTablePagination.pageButtonLabel,T=gp(c),E,D;t[17]===T?(E=t[18],D=t[19]):({marginProps:E,...D}=T,t[17]=T,t[18]=E,t[19]=D);let{displayMode:O,showAllRowsWhilePrinting:k}=F_(),A=qp(),j;return t[20]!==n||t[21]!==O||t[22]!==r||t[23]!==x||t[24]!==a||t[25]!==E||t[26]!==C||t[27]!==s||t[28]!==D||t[29]!==w||t[30]!==u||t[31]!==v||t[32]!==S||t[33]!==f||t[34]!==A||t[35]!==b||t[36]!==k||t[37]!==m||t[38]!==h||t[39]!==g?(j=A&&k?null:O===`paged`?(0,q.jsx)(sP,{size:h,siblingCount:m,boundaryCount:n,label:x,previousPageButtonLabel:S,nextPageButtonLabel:C,pageButtonLabel:w,previousPageButtonProps:f,nextPageButtonProps:s,pageButtonProps:u,ellipsisButtonProps:r,loadingButtonProps:a,preferRightAlignment:v,style:{...E.cssVars,...g},...E.dataAttrs,...D}):(0,q.jsx)(pP,{rowsRange:b,preferRightAlignment:v,style:{...E.cssVars,...g},...E.dataAttrs,...D}),t[20]=n,t[21]=O,t[22]=r,t[23]=x,t[24]=a,t[25]=E,t[26]=C,t[27]=s,t[28]=D,t[29]=w,t[30]=u,t[31]=v,t[32]=S,t[33]=f,t[34]=A,t[35]=b,t[36]=k,t[37]=m,t[38]=h,t[39]=g,t[40]=j):j=t[40],j}var vP=[10,15,25,50];function yP(e){let t=(0,Q.c)(53),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({limitOptions:s,label:r,preferRightAlignment:a,className:n,style:o,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=s===void 0?vP:s,l=ap(),[u]=Mp(),d=r??u.DataTableRowsPerPage.label,f=gp(i),p,m;t[7]===f?(p=t[8],m=t[9]):({marginProps:p,...m}=f,t[7]=f,t[8]=p,t[9]=m);let{store:h}=F_(),g=Qf(h,wP),{setLimit:_}=Qf(h,CP),v;t[10]===c?v=t[11]:(v=c===vP?c:Array.from(new Set(c.map(Math.trunc))).sort(SP).filter(xP),t[10]=c,t[11]=v);let y=v,x,S;t[12]!==y||t[13]!==h?(x=()=>(h.setState({limitOptions:y}),()=>h.setState({limitOptions:void 0})),S=[y,h],t[12]=y,t[13]=h,t[14]=x,t[15]=S):(x=t[14],S=t[15]),(0,b.useEffect)(x,S);let C;t[16]!==n||t[17]!==l?(C=$(l(`data-table__rows-per-page`),n),t[16]=n,t[17]=l,t[18]=C):C=t[18];let w;t[19]!==p.cssVars||t[20]!==o?(w={...p.cssVars,...o},t[19]=p.cssVars,t[20]=o,t[21]=w):w=t[21];let T=p.dataAttrs,E;t[22]===a?E=t[23]:(E=tb(a),t[22]=a,t[23]=E);let D;t[24]===l?D=t[25]:(D=l(`data-table__rows-per-page-label`),t[24]=l,t[25]=D);let O;t[26]!==d||t[27]!==D?(O=(0,q.jsx)(jj,{className:D,children:d}),t[26]=d,t[27]=D,t[28]=O):O=t[28];let k;t[29]===l?k=t[30]:(k=l(`data-table__rows-per-page-select`),t[29]=l,t[30]=k);let A;t[31]===_?A=t[32]:(A=e=>_(+e),t[31]=_,t[32]=A);let j;t[33]===l?j=t[34]:(j=l(`data-table__rows-per-page-select-root`),t[33]=l,t[34]=j);let M;t[35]===j?M=t[36]:(M={className:j},t[35]=j,t[36]=M);let N;t[37]===y?N=t[38]:(N=y.map(bP),t[37]=y,t[38]=N);let P;t[39]!==g||t[40]!==k||t[41]!==A||t[42]!==M||t[43]!==N?(P=(0,q.jsx)(sI,{className:k,value:g,onValueChange:A,showClearButton:!1,rootProps:M,children:N}),t[39]=g,t[40]=k,t[41]=A,t[42]=M,t[43]=N,t[44]=P):P=t[44];let F;return t[45]!==p.dataAttrs||t[46]!==m||t[47]!==O||t[48]!==P||t[49]!==C||t[50]!==w||t[51]!==E?(F=(0,q.jsx)(Jv,{children:(0,q.jsx)(Mj,{children:(0,q.jsxs)(`div`,{className:C,style:w,...T,...m,"data-prefer-right-alignment":E,children:[O,P]})})}),t[45]=p.dataAttrs,t[46]=m,t[47]=O,t[48]=P,t[49]=C,t[50]=w,t[51]=E,t[52]=F):F=t[52],F}function bP(e){return(0,q.jsx)(WF,{value:e,children:e},e)}function xP(e){return e>=1}function SP(e,t){return e-t}function CP(e){return e.actions}function wP(e){return e.limit()}function TP(e){let t=(0,Q.c)(27),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({asChild:n,id:i,className:r,style:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=ap(),c=gp(a),l,u;t[6]===c?(l=t[7],u=t[8]):({marginProps:l,...u}=c,t[6]=c,t[7]=l,t[8]=u);let d=DE(u),f,p;t[9]===d?(f=t[10],p=t[11]):({textProps:p,...f}=d,t[9]=d,t[10]=f,t[11]=p);let m=av(i),h=n?_p:`div`,g;t[12]!==r||t[13]!==s?(g=$(s(`helper-text`),r),t[12]=r,t[13]=s,t[14]=g):g=t[14];let _;t[15]!==l.cssVars||t[16]!==o||t[17]!==p.cssVars?(_={...l.cssVars,...p.cssVars,...o},t[15]=l.cssVars,t[16]=o,t[17]=p.cssVars,t[18]=_):_=t[18];let v;return t[19]!==h||t[20]!==m||t[21]!==l.dataAttrs||t[22]!==f||t[23]!==g||t[24]!==_||t[25]!==p.dataAttrs?(v=(0,q.jsx)(h,{id:m,className:g,style:_,...l.dataAttrs,...p.dataAttrs,...f}),t[19]=h,t[20]=m,t[21]=l.dataAttrs,t[22]=f,t[23]=g,t[24]=_,t[25]=p.dataAttrs,t[26]=v):v=t[26],v}function EP(e){let t=(0,Q.c)(3),{children:n}=e,r=ev(),i;return t[0]!==n||t[1]!==r?(i=(0,q.jsx)($_,{value:r,children:n}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}function DP(){return iv(OP)}function OP(e){return e.helperTextIds}function kP(e){let t=(0,Q.c)(19),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,ref:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),o=Y_(),s=(0,b.useRef)(null),c,l;t[4]===o?(c=t[5],l=t[6]):(c=()=>o.subscribe(AP,e=>nb(s.current,`controlHasCode`,e),{fireImmediately:!0}),l=[o],t[4]=o,t[5]=c,t[6]=l),Wp(c,l);let u;t[7]!==n||t[8]!==a?(u=$(a(`field`),n),t[7]=n,t[8]=a,t[9]=u):u=t[9];let d;t[10]===i?d=t[11]:(d=[s,i],t[10]=i,t[11]=d);let f=sy(d),p;t[12]!==r||t[13]!==u||t[14]!==f?(p=(0,q.jsx)(Mj,{children:(0,q.jsx)(Qj,{children:(0,q.jsx)(EP,{children:(0,q.jsx)(WD,{className:u,ref:f,...r})})})}),t[12]=r,t[13]=u,t[14]=f,t[15]=p):p=t[15];let m;return t[16]!==o||t[17]!==p?(m=(0,q.jsx)(J_,{value:o,children:p}),t[16]=o,t[17]=p,t[18]=m):m=t[18],m}function AP(e){let{controlHasCode:t}=e;return t}function jP(e){let t=(0,Q.c)(4),n=Q_(),r,i;return t[0]!==e||t[1]!==n?(r=()=>(n?.setState({controlHasCode:e}),()=>n?.setState?.({controlHasCode:!1})),i=[e,n],t[0]=e,t[1]=n,t[2]=r,t[3]=i):(r=t[2],i=t[3]),Wp(r,i),n!==null}function MP(e){let t=(0,Q.c)(17),{id:n,tagName:r,required:i,status:a,code:o,codeProps:s}=e,c=ap(),l=Fj(),u=L_(),d=_j(),f=DP(),p=(0,b.useId)(),m;t[0]!==p||t[1]!==n||t[2]!==c?(m=n??c(`control-${p}`),t[0]=p,t[1]=n,t[2]=c,t[3]=m):m=t[3];let h=m;jP(!!o);let g=Lj(h,r,i);bj(a);let _=g?h:n,v;t[4]!==o||t[5]!==s?.id||t[6]!==p||t[7]!==c?(v=o?s?.id??c(`control-code-${p}`):void 0,t[4]=o,t[5]=s?.id,t[6]=p,t[7]=c,t[8]=v):v=t[8];let y;return t[9]!==u||t[10]!==d||t[11]!==p||t[12]!==f||t[13]!==l||t[14]!==_||t[15]!==v?(y={generatedId:p,controlId:_,codeId:v,labelId:l,dataTableColumnLabelId:u,feedbackIds:d,helperTextIds:f},t[9]=u,t[10]=d,t[11]=p,t[12]=f,t[13]=l,t[14]=_,t[15]=v,t[16]=y):y=t[16],y}function NP(e,t){switch(e){case`valid`:return`success`;case`invalid`:return`danger`;case`warned`:return`warning`;default:return t}}var PP=[`INPUT`,`SELECT`,`TEXTAREA`],FP=[`INPUT`,`TEXTAREA`],IP=[`file`,`color`];function LP(e){let t=(0,Q.c)(277),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38],V=t[39],H=t[40]):({asChild:s,type:B,defaultValue:h,value:V,variant:H,status:L,code:f,loading:y,loadingDescription:x,showSpinner:z,align:n,startAdornment:I,endAdornment:_,showClearButton:P,clearDescription:d,clearButtonLabel:l,onValueChange:O,onBlurToOutside:w,rootProps:N,codeProps:p,containerProps:m,clearButtonProps:u,spinnerProps:F,name:S,id:v,className:c,required:M,disabled:g,readOnly:A,style:R,onChange:T,onFocus:D,onBlur:C,onClick:E,"aria-disabled":i,"aria-label":a,"aria-labelledby":o,"aria-describedby":r,ref:j,...k}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B,t[39]=V,t[40]=H);let ee=z===void 0?y:z,U=ap(),[W]=Mp(),G=x??W.Input.loadingDescription,K=l??W.Input.clearButtonLabel,J=P??(B===`file`||B===`search`?`auto`:void 0),te=gp(k),Y,X;t[41]===te?(Y=t[42],X=t[43]):({marginProps:Y,...X}=te,t[41]=te,t[42]=Y,t[43]=X);let{printHidden:ne}=Aj(),[re,ie]=(0,b.useState)(null),ae=re?.tagName,oe;t[44]!==f||t[45]!==p||t[46]!==v||t[47]!==M||t[48]!==L||t[49]!==ae?(oe={id:v,tagName:ae,required:M,status:L,code:f,codeProps:p},t[44]=f,t[45]=p,t[46]=v,t[47]=M,t[48]=L,t[49]=ae,t[50]=oe):oe=t[50];let{generatedId:se,controlId:ce,codeId:le,labelId:ue,dataTableColumnLabelId:Z,feedbackIds:de,helperTextIds:fe}=MP(oe),pe;t[51]!==se||t[52]!==y||t[53]!==G||t[54]!==U?(pe=y&&G&&U(`control-loading-${se}`),t[51]=se,t[52]=y,t[53]=G,t[54]=U,t[55]=pe):pe=t[55];let me=pe,he=(0,b.useRef)(null),ge=(0,b.useRef)(null),_e=qv(),ve=H??(_e?`cell`:`default`),ye=V!==void 0,be=y||i===`true`||i===!0,xe=V??h,[Se,Ce]=(0,b.useState)(xe!=null&&(typeof xe==`number`||xe.length>0)),we,Te;t[56]!==re||t[57]!==ye||t[58]!==J?(we=()=>{re&&J===`auto`&&!ye&&Ce(!zP(RP(re)))},Te=[re,ye,J],t[56]=re,t[57]=ye,t[58]=J,t[59]=we,t[60]=Te):(we=t[59],Te=t[60]),Wp(we,Te);let Ee;t[61]!==ye||t[62]!==O||t[63]!==J||t[64]!==be?(Ee=e=>{if(be){e.preventDefault();return}let t=RP(e.target);O?.(t),J===`auto`&&!ye&&Ce(!zP(t))},t[61]=ye,t[62]=O,t[63]=J,t[64]=be,t[65]=Ee):Ee=t[65];let De=Ee,Oe=xj(),ke;t[66]!==re||t[67]!==g||t[68]!==Oe?(ke=e=>{!g&&e.target===re&&(nb(he.current,`focused`,!0),Oe(!0))},t[66]=re,t[67]=g,t[68]=Oe,t[69]=ke):ke=t[69];let Ae=ke,je;t[70]!==re||t[71]!==w||t[72]!==Oe?(je=e=>{(!e.relatedTarget||re!==e.relatedTarget&&!ge.current?.contains(e.relatedTarget))&&(nb(he.current,`focused`,!1),Oe(!1),w?.(e))},t[70]=re,t[71]=w,t[72]=Oe,t[73]=je):je=t[73];let Me=je,Ne;t[74]!==A||t[75]!==B?(Ne=e=>{A&&B&&IP.includes(B)&&e.preventDefault()},t[74]=A,t[75]=B,t[76]=Ne):Ne=t[76];let Pe=Ne,Fe;t[77]!==re||t[78]!==g||t[79]!==U?(Fe=e=>{let t=e.target;if(re&&!g&&t.closest(`.${U(`input__container`)}`)&&!t.closest(`input, select, textarea, button, a`)){let e=RP(re),n=typeof e==`string`&&t.closest(`.${U(`input`)} ~ *`)?e.length:0;`setSelectionRange`in re&&requestAnimationFrame(()=>{try{re.setSelectionRange(n,n)}catch{}re.focus()})}},t[77]=re,t[78]=g,t[79]=U,t[80]=Fe):Fe=t[80];let Ie=Fe,Le;t[81]===re?Le=t[82]:(Le=()=>{if(re&&`value`in re&&re.value!==``){dj(re,`value`,``);let e=new Event(re instanceof HTMLInputElement&&re.type===`file`?`change`:`input`,{bubbles:!0,cancelable:!0});re.dispatchEvent(e),e.defaultPrevented||re.focus()}},t[81]=re,t[82]=Le);let Re=Le,ze;t[83]!==g||t[84]!==ye||t[85]!==A||t[86]!==Se||t[87]!==J||t[88]!==be||t[89]!==V?(ze=!g&&!be&&!A&&(J===!0||J===`auto`&&(ye?(V?.toString()??``)?.length>0:Se)),t[83]=g,t[84]=ye,t[85]=A,t[86]=Se,t[87]=J,t[88]=be,t[89]=V,t[90]=ze):ze=t[90];let Be=ze,Ve;t[91]!==d||t[92]!==se||t[93]!==Be||t[94]!==U?(Ve=Be&&d&&U(`control-clear-${se}`),t[91]=d,t[92]=se,t[93]=Be,t[94]=U,t[95]=Ve):Ve=t[95];let He=Ve,Ue;t[96]===n?Ue=t[97]:(Ue={align:n},t[96]=n,t[97]=Ue);let{textProps:We}=DE(Ue),Ge;t[98]===ae?Ge=t[99]:(Ge=ae&&PP.includes(ae),t[98]=ae,t[99]=Ge);let Ke=!!Ge,qe;t[100]!==ae||t[101]!==B?(qe=ae&&FP.includes(ae)&&(!B||!IP.includes(B)),t[100]=ae,t[101]=B,t[102]=qe):qe=t[102];let Je=!!qe,Ye=ae!==`OUTPUT`,Xe=Ye,Ze=ue??Z,Qe;t[103]!==le||t[104]!==Ze?(Qe=uj([le,Ze]),t[103]=le,t[104]=Ze,t[105]=Qe):Qe=t[105];let $e=Qe,et=u?.onClick,tt;t[106]!==Re||t[107]!==et?(tt=[et,Re],t[106]=Re,t[107]=et,t[108]=tt):tt=t[108];let nt;t[109]===Symbol.for(`react.memo_cache_sentinel`)?(nt={checkDefaultPrevented:!0},t[109]=nt):nt=t[109];let rt=Dp(tt,nt),it=u?.onFocus,at;t[110]!==Ae||t[111]!==it?(at=[it,Ae],t[110]=Ae,t[111]=it,t[112]=at):at=t[112];let ot=Dp(at),st=u?.onBlur,ct;t[113]!==Me||t[114]!==st?(ct=[st,Me],t[113]=Me,t[114]=st,t[115]=ct):ct=t[115];let lt=Dp(ct),ut=u?.ref,dt;t[116]===ut?dt=t[117]:(dt=[ge,ut],t[116]=ut,t[117]=dt);let ft=sy(dt),pt=s?_p:`input`,mt;t[118]!==g||t[119]!==A||t[120]!==be||t[121]!==L||t[122]!==ve?(mt={variant:ve,status:L,disabled:g,softDisabled:be,readOnly:A},t[118]=g,t[119]=A,t[120]=be,t[121]=L,t[122]=ve,t[123]=mt):mt=t[123];let ht;t[124]===L?ht=t[125]:(ht=NP(L),t[124]=L,t[125]=ht);let gt=g||be,_t;t[126]===gt?_t=t[127]:(_t=tb(gt),t[126]=gt,t[127]=_t);let vt;t[128]===A?vt=t[129]:(vt=tb(A),t[128]=A,t[129]=vt);let yt=!!f,bt;t[130]===yt?bt=t[131]:(bt=tb(yt),t[130]=yt,t[131]=bt);let xt=Y.dataAttrs,St;t[132]!==U||t[133]!==N?.className?(St=$(U(`input__root`),N?.className),t[132]=U,t[133]=N?.className,t[134]=St):St=t[134];let Ct=N?.style,wt;t[135]!==Y.cssVars||t[136]!==Ct?(wt={...Y.cssVars,...Ct},t[135]=Y.cssVars,t[136]=Ct,t[137]=wt):wt=t[137];let Tt;t[138]!==f||t[139]!==le||t[140]!==p||t[141]!==U?(Tt=le&&(0,q.jsx)(fj,{...p,id:le,className:$(U(`input__code`),p?.className),children:f}),t[138]=f,t[139]=le,t[140]=p,t[141]=U,t[142]=Tt):Tt=t[142];let Et;t[143]===L?Et=t[144]:(Et=NP(L),t[143]=L,t[144]=Et);let Dt=g||be,Ot;t[145]===Dt?Ot=t[146]:(Ot=tb(Dt),t[145]=Dt,t[146]=Ot);let kt;t[147]===A?kt=t[148]:(kt=tb(A),t[147]=A,t[148]=kt);let At;t[149]!==m?.className||t[150]!==U?(At=$(U(`input__container`),m?.className),t[149]=m?.className,t[150]=U,t[151]=At):At=t[151];let jt=m?.onPointerDown,Mt;t[152]!==Ie||t[153]!==jt?(Mt=[jt,Ie],t[152]=Ie,t[153]=jt,t[154]=Mt):Mt=t[154];let Nt;t[155]===Symbol.for(`react.memo_cache_sentinel`)?(Nt={checkDefaultPrevented:!0},t[155]=Nt):Nt=t[155];let Pt=Dp(Mt,Nt),Ft=m?.ref,It;t[156]===Ft?It=t[157]:(It=[he,Ft],t[156]=Ft,t[157]=It);let Lt=sy(It),Rt;t[158]!==c||t[159]!==U?(Rt=$(U(`input`),c),t[158]=c,t[159]=U,t[160]=Rt):Rt=t[160];let zt=M&&Ke,Bt=(be||A)&&Je,Vt;t[161]!==De||t[162]!==T?(Vt=[De,T],t[161]=De,t[162]=T,t[163]=Vt):Vt=t[163];let Ht;t[164]===Symbol.for(`react.memo_cache_sentinel`)?(Ht={checkDefaultPrevented:!0},t[164]=Ht):Ht=t[164];let Ut=Dp(Vt,Ht),Wt;t[165]!==Ae||t[166]!==D?(Wt=[D,Ae],t[165]=Ae,t[166]=D,t[167]=Wt):Wt=t[167];let Gt=Dp(Wt),Kt;t[168]!==Me||t[169]!==C?(Kt=[C,Me],t[168]=Me,t[169]=C,t[170]=Kt):Kt=t[170];let qt=Dp(Kt),Jt;t[171]!==Pe||t[172]!==E?(Jt=[E,Pe],t[171]=Pe,t[172]=E,t[173]=Jt):Jt=t[173];let Yt=Dp(Jt),Xt;t[174]!==R||t[175]!==We.cssVars?(Xt={...We.cssVars,...R},t[174]=R,t[175]=We.cssVars,t[176]=Xt):Xt=t[176];let Zt;t[177]===be?Zt=t[178]:(Zt=tb(be),t[177]=be,t[178]=Zt);let Qt=A&&!Je,$t;t[179]===Qt?$t=t[180]:($t=tb(Qt),t[179]=Qt,t[180]=$t);let en;t[181]===L?en=t[182]:(en=NP(L),t[181]=L,t[182]=en);let tn=We.dataAttrs,nn=(be||A)&&Ye&&!Je||void 0,rn=M&&!Ke||void 0,an=L===`invalid`&&Xe||void 0,on=o??(a===void 0&&$e!==ue?$e:void 0),sn;t[183]!==r||t[184]!==He||t[185]!==de||t[186]!==fe||t[187]!==me?(sn=uj([me,de,r,fe,He]),t[183]=r,t[184]=He,t[185]=de,t[186]=fe,t[187]=me,t[188]=sn):sn=t[188];let cn=X,ln=j,un;t[189]===ln?un=t[190]:(un=[ie,ln],t[189]=ln,t[190]=un);let dn=sy(un),fn;t[191]!==pt||t[192]!==a||t[193]!==ce||t[194]!==h||t[195]!==g||t[196]!==S||t[197]!==L||t[198]!==Rt||t[199]!==zt||t[200]!==Bt||t[201]!==Ut||t[202]!==Gt||t[203]!==qt||t[204]!==Yt||t[205]!==Xt||t[206]!==Zt||t[207]!==$t||t[208]!==en||t[209]!==nn||t[210]!==rn||t[211]!==an||t[212]!==on||t[213]!==sn||t[214]!==cn||t[215]!==dn||t[216]!==We.dataAttrs||t[217]!==B||t[218]!==V||t[219]!==ve?(fn=(0,q.jsx)(pt,{type:B,name:S,defaultValue:h,value:V,id:ce,className:Rt,required:zt,disabled:g,readOnly:Bt,onChange:Ut,onFocus:Gt,onBlur:qt,onClick:Yt,style:Xt,"data-disabled":Zt,"data-readonly":$t,"data-status":L,"data-accent":en,"data-variant":ve,...tn,"aria-disabled":nn,"aria-required":rn,"aria-invalid":an,"aria-label":a,"aria-labelledby":on,"aria-describedby":sn,...cn,ref:dn}),t[191]=pt,t[192]=a,t[193]=ce,t[194]=h,t[195]=g,t[196]=S,t[197]=L,t[198]=Rt,t[199]=zt,t[200]=Bt,t[201]=Ut,t[202]=Gt,t[203]=qt,t[204]=Yt,t[205]=Xt,t[206]=Zt,t[207]=$t,t[208]=en,t[209]=nn,t[210]=rn,t[211]=an,t[212]=on,t[213]=sn,t[214]=cn,t[215]=dn,t[216]=We.dataAttrs,t[217]=B,t[218]=V,t[219]=ve,t[220]=fn):fn=t[220];let pn;t[221]!==K||t[222]!==u||t[223]!==lt||t[224]!==rt||t[225]!==ot||t[226]!==ft||t[227]!==Be||t[228]!==U||t[229]!==ne?(pn=Be&&(0,q.jsx)(YE,{size:`sm`,label:K,tabIndex:-1,...u,className:$(U(`input__clear-button`),ne,u?.className),onClick:rt,onFocus:ot,onBlur:lt,ref:ft}),t[221]=K,t[222]=u,t[223]=lt,t[224]=rt,t[225]=ot,t[226]=ft,t[227]=Be,t[228]=U,t[229]=ne,t[230]=pn):pn=t[230];let mn;t[231]!==g||t[232]!==U||t[233]!==ee||t[234]!==be||t[235]!==F||t[236]!==L?(mn=ee&&(0,q.jsx)(GE,{color:NP(L,`neutral`),"data-disabled":tb(g||be),...F,className:$(U(`input__spinner`),F?.className)}),t[231]=g,t[232]=U,t[233]=ee,t[234]=be,t[235]=F,t[236]=L,t[237]=mn):mn=t[237];let hn;t[238]!==m||t[239]!==_||t[240]!==I||t[241]!==L||t[242]!==Et||t[243]!==Ot||t[244]!==kt||t[245]!==At||t[246]!==Pt||t[247]!==Lt||t[248]!==fn||t[249]!==pn||t[250]!==mn||t[251]!==ve?(hn=(0,q.jsxs)(`div`,{"data-status":L,"data-accent":Et,"data-variant":ve,"data-disabled":Ot,"data-readonly":kt,...m,className:At,onPointerDown:Pt,ref:Lt,children:[I,fn,pn,mn,_]}),t[238]=m,t[239]=_,t[240]=I,t[241]=L,t[242]=Et,t[243]=Ot,t[244]=kt,t[245]=At,t[246]=Pt,t[247]=Lt,t[248]=fn,t[249]=pn,t[250]=mn,t[251]=ve,t[252]=hn):hn=t[252];let gn;t[253]!==Y.dataAttrs||t[254]!==N||t[255]!==L||t[256]!==ht||t[257]!==_t||t[258]!==vt||t[259]!==bt||t[260]!==St||t[261]!==wt||t[262]!==Tt||t[263]!==hn||t[264]!==ve?(gn=(0,q.jsxs)(`div`,{"data-status":L,"data-accent":ht,"data-variant":ve,"data-disabled":_t,"data-readonly":vt,"data-has-code":bt,...xt,...N,className:St,style:wt,children:[Tt,hn]}),t[253]=Y.dataAttrs,t[254]=N,t[255]=L,t[256]=ht,t[257]=_t,t[258]=vt,t[259]=bt,t[260]=St,t[261]=wt,t[262]=Tt,t[263]=hn,t[264]=ve,t[265]=gn):gn=t[265];let _n;t[266]!==G||t[267]!==me?(_n=me&&(0,q.jsx)(`span`,{hidden:!0,id:me,children:G}),t[266]=G,t[267]=me,t[268]=_n):_n=t[268];let vn;t[269]!==d||t[270]!==He?(vn=He&&(0,q.jsx)(`span`,{hidden:!0,id:He,children:d}),t[269]=d,t[270]=He,t[271]=vn):vn=t[271];let yn;return t[272]!==mt||t[273]!==gn||t[274]!==_n||t[275]!==vn?(yn=(0,q.jsx)(Jv,{field:!1,children:(0,q.jsxs)($j,{value:mt,children:[gn,_n,vn]})}),t[272]=mt,t[273]=gn,t[274]=_n,t[275]=vn,t[276]=yn):yn=t[276],yn}function RP(e){return e instanceof HTMLInputElement&&e.type===`file`?e.multiple?Array.from(e.files??[]):e.files?.[0]??null:e&&`value`in e?e.value:null}function zP(e){return typeof e==`string`||Array.isArray(e)?e.length===0:e==null}function BP(e){let t=(0,Q.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({containerProps:n,controlRef:r,ref:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=n?.ref,s;t[5]!==a||t[6]!==o?(s=[a,o],t[5]=a,t[6]=o,t[7]=s):s=t[7];let c=sy(s),l;t[8]!==n||t[9]!==c?(l={...n,ref:c},t[8]=n,t[9]=c,t[10]=l):l=t[10];let u=r,d;return t[11]!==i||t[12]!==l||t[13]!==u?(d=(0,q.jsx)(LP,{containerProps:l,ref:u,...i}),t[11]=i,t[12]=l,t[13]=u,t[14]=d):d=t[14],d}function VP(e){let t=(0,Q.c)(26),n,r,i,a,o,s,c,l,u;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9]):({as:c,asChild:n,variant:l,status:s,muted:i,readOnly:o,className:r,type:u,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u);let d=c===void 0?`div`:c,f=l===void 0?`default`:l,p=ap(),m=eM(),h=n?_p:d,g=u??(d===`button`?`button`:void 0),_;t[10]!==r||t[11]!==p?(_=$(p(`control-addon`),r),t[10]=r,t[11]=p,t[12]=_):_=t[12];let v=m?.variant??f,y=m?.status??s,b=m?.disabled||m?.softDisabled||i,x;t[13]===b?x=t[14]:(x=tb(b),t[13]=b,t[14]=x);let S=m?.readOnly||o,C;t[15]===S?C=t[16]:(C=tb(S),t[15]=S,t[16]=C);let w;return t[17]!==h||t[18]!==a||t[19]!==C||t[20]!==g||t[21]!==_||t[22]!==v||t[23]!==y||t[24]!==x?(w=(0,q.jsx)($j,{value:null,children:(0,q.jsx)(h,{type:g,className:_,"data-variant":v,"data-status":y,"data-muted":x,"data-readonly":C,...a})}),t[17]=h,t[18]=a,t[19]=C,t[20]=g,t[21]=_,t[22]=v,t[23]=y,t[24]=x,t[25]=w):w=t[25],w}var HP=1,UP=.9,WP=.8,GP=.17,KP=.1,qP=.999,JP=.9999,YP=.99,XP=/[\\\/_+.#"@\[\(\{&]/,ZP=/[\\\/_+.#"@\[\(\{&]/g,QP=/[\s-]/,$P=/[\s-]/g;function eF(e,t,n,r,i,a,o){if(a===t.length)return i===e.length?HP:YP;var s=`${i},${a}`;if(o[s]!==void 0)return o[s];for(var c=r.charAt(a),l=n.indexOf(c,i),u=0,d,f,p,m;l>=0;)d=eF(e,t,n,r,l+1,a+1,o),d>u&&(l===i?d*=HP:XP.test(e.charAt(l-1))?(d*=WP,p=e.slice(i,l-1).match(ZP),p&&i>0&&(d*=qP**+p.length)):QP.test(e.charAt(l-1))?(d*=UP,m=e.slice(i,l-1).match($P),m&&i>0&&(d*=qP**+m.length)):(d*=GP,i>0&&(d*=qP**+(l-i))),e.charAt(l)!==t.charAt(a)&&(d*=JP)),(d<KP&&n.charAt(l-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(l-1)!==r.charAt(a))&&(f=eF(e,t,n,r,l+1,a+2,o),f*KP>d&&(d=f*KP)),d>u&&(u=d),l=n.indexOf(c,l+1);return o[s]=u,u}function tF(e){return e.toLowerCase().replace($P,` `)}function nF(e,t,n){return e=n&&n.length>0?`${e+` `+n.join(` `)}`:e,eF(e,t,tF(e),tF(t),0,0,{})}var rF=`[cmdk-group=""]`,iF=`[cmdk-group-items=""]`,aF=`[cmdk-group-heading=""]`,oF=`[cmdk-item=""]`,sF=`${oF}:not([data-disabled])`,cF=`cmdk-item-select`,lF=`data-value`,uF=(e,t,n)=>nF(e,t,n),dF=b.createContext(void 0),fF=()=>b.useContext(dF),pF=b.createContext(void 0),mF=()=>b.useContext(pF),hF=b.createContext(void 0),gF=b.forwardRef((e,t)=>{let n=OF(()=>({search:``,value:e.value??e.defaultValue??``,selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}})),r=OF(()=>new Set),i=OF(()=>new Map),a=OF(()=>new Map),o=OF(()=>new Set),s=DF(e),{asChild:c,label:l,children:u,value:d,onValueChange:f,filter:p,shouldFilter:m,loop:h,disablePointerSelection:g=!1,..._}=e,v=b.useId(),y=b.useId(),x=b.useId(),S=b.useRef(null),C=jF();Wp(()=>{if(d!==void 0){let e=d.trim();n.current.value=e,w.emit()}},[d]),Wp(()=>{setTimeout(()=>{C(6,A)})},[]);let w=b.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{if(!Object.is(n.current[e],t)){if(n.current[e]=t,e===`search`)k(),D(),C(1,O);else if(e===`value`){if(document.activeElement.hasAttribute(`cmdk-input`)||document.activeElement.hasAttribute(`cmdk-root`)){let e=document.getElementById(x);e?e.focus():document.getElementById(v)?.focus()}if(C(7,()=>{n.current.selectedItemId=r.id,w.emit()}),r.disableScrollIntoView||C(5,()=>A(r.id)),s.current?.value!==void 0){let e=t??``;s.current.onValueChange?.(e);return}}w.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),T=b.useMemo(()=>({value:(e,t,r)=>{t!==a.current.get(e)?.value&&(a.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,E(t,r)),C(2,()=>{D(),w.emit()}))},item:(e,t)=>(r.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),C(3,()=>{k(),D(),n.current.value||O(),w.emit()}),()=>{a.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=j();C(4,()=>{k(),t?.getAttribute(`id`)===e&&O(),w.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{a.current.delete(e),i.current.delete(e)}),filter:()=>s.current.shouldFilter,label:l||e[`aria-label`],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:v,inputId:x,labelId:y,listInnerRef:S}),[]);function E(e,t){let r=s.current?.filter??uF;return e?r(e,n.current.search,t):0}function D(){if(!n.current.search||s.current.shouldFilter===!1)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=i.current.get(n),a=0;r.forEach(t=>{let n=e.get(t);a=Math.max(n,a)}),t.push([n,a])});let r=S.current;M().sort((t,n)=>{let r=t.getAttribute(`id`),i=n.getAttribute(`id`);return(e.get(i)??0)-(e.get(r)??0)}).forEach(e=>{let t=e.closest(iF);t?t.appendChild(e.parentElement===t?e:e.closest(`${iF} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${iF} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{let t=S.current?.querySelector(`${rF}[${lF}="${encodeURIComponent(e[0])}"]`);t?.parentElement.appendChild(t)})}function O(){let e=M()[0],t=e?.getAttribute(lF);w.setState(`value`,t||void 0,{id:e?.getAttribute(`id`)})}function k(){if(!n.current.search||s.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let e=0;for(let t of r.current){let r=E(a.current.get(t)?.value??``,a.current.get(t)?.keywords??[]);n.current.filtered.items.set(t,r),r>0&&e++}for(let[e,t]of i.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=e}function A(e){let t=e?document.getElementById(e):j();t&&(t.parentElement?.firstChild===t&&t.closest(rF)?.querySelector(aF)?.scrollIntoView({block:`nearest`}),t.scrollIntoView({block:`nearest`}))}function j(){return S.current?.querySelector(`${oF}[data-selected]`)}function M(){return Array.from(S.current?.querySelectorAll(sF)||[])}function N(e){let t=M()[e];t&&w.setState(`value`,t.getAttribute(lF),{id:t.getAttribute(`id`)})}function P(e){let t=j(),n=M(),r=t?n.findIndex(e=>e===t):-1,i=r===-1?e>0?0:n.length-1:r+e;i=s.current?.loop?i<0?n.length-1:i>=n.length?0:i:Math.max(0,Math.min(i,n.length-1));let a=n[i];a&&w.setState(`value`,a.getAttribute(lF),{id:a.getAttribute(`id`)})}function F(e){let t=j()?.closest(rF),n;for(;t&&!n;)t=e>0?TF(t,rF):EF(t,rF),n=t?.querySelector(sF);n?w.setState(`value`,n.getAttribute(lF),{id:n.getAttribute(`id`)}):P(e)}let I=()=>N(M().length-1),L=e=>{e.preventDefault(),e.metaKey?I():e.altKey?F(1):P(1)},R=e=>{e.preventDefault(),e.metaKey?N(0):e.altKey?F(-1):P(-1)};return(0,q.jsxs)(c?_p:`div`,{ref:t,tabIndex:-1,..._,"cmdk-root":``,onKeyDown:e=>{_.onKeyDown?.(e);let t=e.nativeEvent.isComposing||e.keyCode===229;if(!(e.defaultPrevented||t))switch(e.key){case`ArrowDown`:L(e);break;case`ArrowUp`:R(e);break;case`Home`:e.preventDefault(),N(0);break;case`End`:e.preventDefault(),I();break;case`Enter`:{e.preventDefault();let t=j();if(t){let e=new Event(cF);t.dispatchEvent(e)}}}},children:[(0,q.jsx)(`label`,{"cmdk-label":``,htmlFor:T.inputId,id:T.labelId,style:PF,children:l}),NF(e,e=>(0,q.jsx)(pF,{value:w,children:(0,q.jsx)(dF,{value:T,children:e})}))]})}),_F=b.forwardRef((e,t)=>{let n=b.useId(),r=b.useRef(null),i=b.useContext(hF),a=fF(),o=DF(e),s=o.current?.forceMount??i?.forceMount;Wp(()=>{if(!s)return a.item(n,i?.id)},[s]);let c=AF(n,r,[e.value,e.children,r],e.keywords),l=mF(),u=kF(e=>e.value&&e.value===c.current),d=kF(e=>s?!0:a.filter()===!1||!e.search||e.filtered.items.get(n)>0);b.useEffect(()=>{let t=r.current;if(t&&!e.disabled)return t.addEventListener(cF,f),()=>t.removeEventListener(cF,f)},[d,e.onSelect,e.disabled]);function f(){p(),o.current.onSelect?.(c.current)}function p(){l.setState(`value`,c.current,{id:n,disableScrollIntoView:!0})}let m=sy([r,t]);if(!d)return null;let{asChild:h,disabled:g,value:_,onSelect:v,forceMount:y,keywords:x,...S}=e;return(0,q.jsx)(h?_p:`div`,{ref:m,id:n,"cmdk-item":``,role:`option`,"aria-disabled":!!g||void 0,"aria-selected":!!u||void 0,"data-disabled":tb(g),"data-selected":tb(u),...S,onPointerMove:g||a.getDisablePointerSelection()?void 0:p,onClick:g?void 0:f,children:e.children})}),vF=b.forwardRef((e,t)=>{let{asChild:n,heading:r,children:i,forceMount:a,...o}=e,s=b.useId(),c=b.useRef(null),l=b.useRef(null),u=b.useId(),d=fF(),f=kF(e=>a?!0:d.filter()===!1||!e.search||e.filtered.groups.has(s));Wp(()=>d.group(s),[]),AF(s,c,[e.value,e.heading,l]);let p=b.useMemo(()=>({id:s,forceMount:a}),[a]),m=sy([c,t]);return(0,q.jsxs)(n?_p:`div`,{ref:m,"cmdk-group":``,role:`presentation`,hidden:!f||void 0,...o,children:[r&&(0,q.jsx)(`div`,{ref:l,"cmdk-group-heading":``,"aria-hidden":!0,id:u,children:r}),NF(e,e=>(0,q.jsx)(`div`,{"cmdk-group-items":``,role:`group`,"aria-labelledby":r?u:void 0,children:(0,q.jsx)(hF,{value:p,children:e})}))]})}),yF=b.forwardRef((e,t)=>{let{asChild:n,alwaysRender:r,...i}=e,a=b.useRef(null),o=kF(e=>!e.search),s=sy([a,t]);return!r&&!o?null:(0,q.jsx)(n?_p:`div`,{ref:s,"cmdk-separator":``,role:`separator`,...i})}),bF=b.forwardRef((e,t)=>{let{asChild:n,onValueChange:r,...i}=e,a=e.value!=null,o=mF(),s=kF(e=>e.search),c=kF(e=>e.selectedItemId),l=fF();return b.useEffect(()=>{e.value!=null&&o.setState(`search`,e.value)},[e.value]),(0,q.jsx)(n?_p:`input`,{ref:t,"cmdk-input":``,autoComplete:`off`,autoCorrect:`off`,spellCheck:!1,"aria-autocomplete":`list`,role:`combobox`,"aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":c,id:l.inputId,type:`text`,value:a?e.value:s,...i,onChange:e=>{a||o.setState(`search`,e.target.value),r?.(e.target.value)}})}),xF=b.forwardRef((e,t)=>{let{asChild:n,children:r,label:i=`Suggestions`,...a}=e,o=b.useRef(null),s=b.useRef(null),c=kF(e=>e.selectedItemId),l=fF();b.useEffect(()=>{if(s.current&&o.current){let e=s.current,t=o.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty(`--cmdk-list-height`,n.toFixed(1)+`px`)})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]);let u=sy([s,l.listInnerRef]);return(0,q.jsx)(n?_p:`div`,{ref:sy([o,t]),"cmdk-list":``,role:`listbox`,tabIndex:-1,"aria-activedescendant":c,"aria-label":i,id:l.listId,...a,children:NF(e,e=>(0,q.jsx)(`div`,{ref:u,"cmdk-list-sizer":``,children:e}))})}),SF=b.forwardRef((e,t)=>{if(!kF(e=>e.filtered.count===0))return null;let{asChild:n,...r}=e;return(0,q.jsx)(n?_p:`div`,{ref:t,"cmdk-empty":``,role:`presentation`,...r})}),CF=b.forwardRef((e,t)=>{let{asChild:n,progress:r,children:i,label:a=`Loading...`,...o}=e;return(0,q.jsx)(n?_p:`div`,{ref:t,"cmdk-loading":``,role:`progressbar`,"aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,...o,children:NF(e,e=>(0,q.jsx)(`div`,{"aria-hidden":!0,children:e}))})}),wF=Object.assign(gF,{List:xF,Item:_F,Input:bF,Group:vF,Separator:yF,Empty:SF,Loading:CF});function TF(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function EF(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function DF(e){let t=b.useRef(e);return Wp(()=>{t.current=e}),t}function OF(e){let t=b.useRef();return t.current===void 0&&(t.current=e()),t}function kF(e){let t=mF(),n=()=>e(t.snapshot());return b.useSyncExternalStore(t.subscribe,n,n)}function AF(e,t,n,r=[]){let i=b.useRef(),a=fF();return Wp(()=>{let o=(()=>{for(let e of n){if(typeof e==`string`)return e.trim();if(typeof e==`object`&&`current`in e)return e.current?e.current.textContent?.trim():i.current}})(),s=r.map(e=>e.trim());a.value(e,o,s),t.current?.setAttribute(lF,o),i.current=o}),i}var jF=()=>{let[e,t]=b.useState(),n=OF(()=>new Map);return Wp(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function MF(e){let t=e.type;return typeof t==`function`?t(e.props):`render`in t?t.render(e.props):e}function NF({asChild:e,children:t},n){return e&&b.isValidElement(t)?b.cloneElement(MF(t),{ref:t.ref},n(t.props.children)):n(t)}var PF={position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`};function FF(e){let t=(0,Q.c)(95),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],b=t[19],x=t[20],S=t[21]):({variant:S,iconPlacement:x,label:o,searchPlaceholder:_,searchValue:y,onSearchValueChange:p,listLabel:s,loading:l,loadingLabel:u,loadingProgress:d,emptyMessage:i,className:r,searchProps:v,searchAdornmentProps:h,searchIconProps:g,listProps:c,loadingProps:f,spinnerProps:b,emptyMessageProps:a,children:n,...m}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=b,t[20]=x,t[21]=S);let C=x===void 0?`start`:x,w=ap(),[T]=Mp(),E=o??T.CommandMenu.label,D=_??T.CommandMenu.searchPlaceholder,O=i??T.CommandMenu.emptyMessage,k=s??T.CommandMenu.listLabel,A=u??T.CommandMenu.loadingLabel,j;t[22]!==w||t[23]!==h?.className?(j=$(w(`command-menu__search-adornment`),h?.className),t[22]=w,t[23]=h?.className,t[24]=j):j=t[24];let M;t[25]!==w||t[26]!==g?.className?(M=$(w(`command-menu__search-icon`),g?.className),t[25]=w,t[26]=g?.className,t[27]=M):M=t[27];let N;t[28]!==g||t[29]!==M?(N=(0,q.jsx)(jE,{icon:py,...g,className:M}),t[28]=g,t[29]=M,t[30]=N):N=t[30];let P;t[31]!==h||t[32]!==j||t[33]!==N?(P=(0,q.jsx)(VP,{...h,className:j,children:N}),t[31]=h,t[32]=j,t[33]=N,t[34]=P):P=t[34];let F=P,I;t[35]!==r||t[36]!==w?(I=$(w(`command-menu`),r),t[35]=r,t[36]=w,t[37]=I):I=t[37];let L=C===`start`&&F,R=C===`end`&&F,z;t[38]!==w||t[39]!==v?.className?(z=$(w(`command-menu__search`),v?.className),t[38]=w,t[39]=v?.className,t[40]=z):z=t[40];let B;t[41]!==w||t[42]!==v?.rootProps?.className?(B=$(w(`command-menu__search-root`),v?.rootProps?.className),t[41]=w,t[42]=v?.rootProps?.className,t[43]=B):B=t[43];let V;t[44]===B?V=t[45]:(V={className:B},t[44]=B,t[45]=V);let H;t[46]!==w||t[47]!==v?.containerProps?.className?(H=$(w(`command-menu__search-container`),v?.containerProps?.className),t[46]=w,t[47]=v?.containerProps?.className,t[48]=H):H=t[48];let ee;t[49]===H?ee=t[50]:(ee={className:H},t[49]=H,t[50]=ee);let U;t[51]!==D||t[52]!==v||t[53]!==V||t[54]!==ee||t[55]!==L||t[56]!==R||t[57]!==z?(U=(0,q.jsx)(nP,{variant:`cell`,placeholder:D,startAdornment:L,endAdornment:R,...v,className:z,rootProps:V,containerProps:ee}),t[51]=D,t[52]=v,t[53]=V,t[54]=ee,t[55]=L,t[56]=R,t[57]=z,t[58]=U):U=t[58];let W;t[59]!==p||t[60]!==y||t[61]!==U?(W=(0,q.jsx)(wF.Input,{asChild:!0,value:y,onValueChange:p,children:U}),t[59]=p,t[60]=y,t[61]=U,t[62]=W):W=t[62];let G;t[63]!==c?.className||t[64]!==w?(G=$(w(`command-menu__list`),c?.className),t[63]=c?.className,t[64]=w,t[65]=G):G=t[65];let K;t[66]!==l||t[67]!==A||t[68]!==d||t[69]!==f?.className||t[70]!==w||t[71]!==b?(K=l&&(0,q.jsx)(wF.Loading,{label:A,progress:d,className:$(w(`command-menu__loading`),f?.className),children:(0,q.jsx)(GE,{...b,className:$(w(`command-menu__spinner`),b?.className)})}),t[66]=l,t[67]=A,t[68]=d,t[69]=f?.className,t[70]=w,t[71]=b,t[72]=K):K=t[72];let J;t[73]!==O||t[74]!==a||t[75]!==l||t[76]!==w?(J=!l&&(0,q.jsx)(wF.Empty,{...a,className:$(w(`command-menu__empty-message`),a?.className),children:O}),t[73]=O,t[74]=a,t[75]=l,t[76]=w,t[77]=J):J=t[77];let te=!l&&n,Y;t[78]!==k||t[79]!==K||t[80]!==J||t[81]!==te?(Y=(0,q.jsxs)(wF.List,{label:k,children:[K,J,te]}),t[78]=k,t[79]=K,t[80]=J,t[81]=te,t[82]=Y):Y=t[82];let X;t[83]!==C||t[84]!==c||t[85]!==G||t[86]!==Y||t[87]!==S?(X=(0,q.jsx)(hO,{...c,className:G,variant:S,iconPlacement:C,asChild:!0,children:Y}),t[83]=C,t[84]=c,t[85]=G,t[86]=Y,t[87]=S,t[88]=X):X=t[88];let ne;return t[89]!==E||t[90]!==m||t[91]!==W||t[92]!==X||t[93]!==I?(ne=(0,q.jsxs)(wF,{label:E,className:I,...m,children:[W,X]}),t[89]=E,t[90]=m,t[91]=W,t[92]=X,t[93]=I,t[94]=ne):ne=t[94],ne}function IF(e){let t=(0,Q.c)(49),n,r,i,a,o,s,c,l,u,d,f,p,m;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13]):({title:m,description:a,size:p,open:l,defaultOpen:i,onOpenChange:c,modal:s,forceMount:o,portalProps:f,overlayProps:d,className:r,children:n,...u}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m);let h=p===void 0?`md`:p,g=ap(),[_]=Mp(),v=m??_.CommandMenuDialog.title,y=a??_.CommandMenuDialog.description,b=ty()?.container,x;t[14]!==d?.className||t[15]!==g?(x=$(g(`command-menu__overlay`),d?.className),t[14]=d?.className,t[15]=g,t[16]=x):x=t[16];let S;t[17]!==r||t[18]!==g||t[19]!==h?(S=$(g(`command-menu__dialog`),g(`command-menu__dialog--${h}`),r),t[17]=r,t[18]=g,t[19]=h,t[20]=S):S=t[20];let C;t[21]===v?C=t[22]:(C=(0,q.jsx)(AE,{asChild:!0,children:(0,q.jsx)(ci,{children:v})}),t[21]=v,t[22]=C);let w;t[23]===y?w=t[24]:(w=(0,q.jsx)(AE,{asChild:!0,children:(0,q.jsx)(li,{children:y})}),t[23]=y,t[24]=w);let T;t[25]!==n||t[26]!==u||t[27]!==S||t[28]!==C||t[29]!==w?(T=(0,q.jsxs)(ii,{autoFocus:!0,className:S,"aria-describedby":void 0,...u,children:[C,w,n]}),t[25]=n,t[26]=u,t[27]=S,t[28]=C,t[29]=w,t[30]=T):T=t[30];let E;t[31]!==d||t[32]!==x||t[33]!==T?(E=(0,q.jsx)($v,{...d,className:x,children:T}),t[31]=d,t[32]=x,t[33]=T,t[34]=E):E=t[34];let D;t[35]!==o||t[36]!==E?(D=(0,q.jsx)(lO,{asChild:!0,children:(0,q.jsx)(Zv,{zIndex:`dialog`,reset:!0,children:(0,q.jsx)(ei,{forceMount:o,asChild:!0,children:E})})}),t[35]=o,t[36]=E,t[37]=D):D=t[37];let O;t[38]!==o||t[39]!==f||t[40]!==b||t[41]!==D?(O=(0,q.jsx)(Jv,{children:(0,q.jsx)(Qr,{container:b,...f,forceMount:o,children:D})}),t[38]=o,t[39]=f,t[40]=b,t[41]=D,t[42]=O):O=t[42];let k;return t[43]!==i||t[44]!==s||t[45]!==c||t[46]!==l||t[47]!==O?(k=(0,q.jsx)(Kr,{open:l,defaultOpen:i,onOpenChange:c,modal:s,children:O}),t[43]=i,t[44]=s,t[45]=c,t[46]=l,t[47]=O,t[48]=k):k=t[48],k}function LF(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({label:r,className:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),o;t[4]!==n||t[5]!==a?(o=$(a(`command-menu__group`),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==i||t[9]!==o?(s=(0,q.jsx)(wF.Group,{heading:r,className:o,...i}),t[7]=r,t[8]=i,t[9]=o,t[10]=s):s=t[10],s}function RF(e){let t=(0,Q.c)(74),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],b=t[19],x=t[20],S=t[21],C=t[22],w=t[23],T=t[24]):({onSelect:y,selected:S,asLink:i,color:s,disabled:l,loading:_,loadingContent:v,showSpinner:C,icon:d,iconPlacement:f,keybinds:m,href:u,target:T,rel:x,keywords:g,actionProps:n,contentProps:c,iconProps:p,spinnerProps:w,keybindsProps:h,className:o,children:a,"aria-disabled":r,...b}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=b,t[20]=x,t[21]=S,t[22]=C,t[23]=w,t[24]=T);let E=ap(),D=_||r===`true`||r===!0,O;t[25]!==i||t[26]!==u||t[27]!==y||t[28]!==x||t[29]!==D||t[30]!==T?(O=e=>{D||(y?.(e),i&&window.open(u,T,x?.split(` `).join(`,`)))},t[25]=i,t[26]=u,t[27]=y,t[28]=x,t[29]=D,t[30]=T,t[31]=O):O=t[31];let k=O,A=i?`link`:`text`,j=i?-1:void 0,M;t[32]!==n?.className||t[33]!==E?(M=$(E(`command-menu__item-action`),n?.className),t[32]=n?.className,t[33]=E,t[34]=M):M=t[34];let N;t[35]!==n||t[36]!==j||t[37]!==M?(N={tabIndex:j,...n,className:M},t[35]=n,t[36]=j,t[37]=M,t[38]=N):N=t[38];let P;t[39]!==o||t[40]!==E?(P=$(E(`command-menu__item`),o),t[39]=o,t[40]=E,t[41]=P):P=t[41];let F;t[42]!==a||t[43]!==g?(F=typeof a==`string`?[a,...g??[]]:g,t[42]=a,t[43]=g,t[44]=F):F=t[44];let I=l||D,L;t[45]!==a||t[46]!==l||t[47]!==k||t[48]!==b||t[49]!==P||t[50]!==F||t[51]!==I?(L=(0,q.jsx)(wF.Item,{className:P,onSelect:k,keywords:F,disabled:l,"aria-disabled":I,...b,children:a}),t[45]=a,t[46]=l,t[47]=k,t[48]=b,t[49]=P,t[50]=F,t[51]=I,t[52]=L):L=t[52];let R;return t[53]!==r||t[54]!==s||t[55]!==c||t[56]!==l||t[57]!==u||t[58]!==d||t[59]!==f||t[60]!==p||t[61]!==m||t[62]!==h||t[63]!==_||t[64]!==v||t[65]!==x||t[66]!==S||t[67]!==C||t[68]!==w||t[69]!==A||t[70]!==N||t[71]!==L||t[72]!==T?(R=(0,q.jsx)(_O,{asChild:!0,selected:S,type:A,color:s,disabled:l,loading:_,loadingContent:v,showSpinner:C,icon:d,iconPlacement:f,keybinds:m,href:u,target:T,rel:x,actionProps:N,contentProps:c,iconProps:p,spinnerProps:w,keybindsProps:h,"aria-disabled":r,children:L}),t[53]=r,t[54]=s,t[55]=c,t[56]=l,t[57]=u,t[58]=d,t[59]=f,t[60]=p,t[61]=m,t[62]=h,t[63]=_,t[64]=v,t[65]=x,t[66]=S,t[67]=C,t[68]=w,t[69]=A,t[70]=N,t[71]=L,t[72]=T,t[73]=R):R=t[73],R}var zF=(0,b.createContext)(null);function BF(e){let t=(0,Q.c)(11),{multiple:n,value:r,onOptionSelect:i,status:a,maxSelected:o,disabled:s,readOnly:c,valueTagCloseButtonLabel:l,valueTagProps:u}=e,d=Pp(VF),f;return t[0]!==s||t[1]!==o||t[2]!==n||t[3]!==i||t[4]!==c||t[5]!==a||t[6]!==d||t[7]!==r||t[8]!==l||t[9]!==u?(f={multiple:n,value:r,onOptionSelect:i,status:a,maxSelected:o,disabled:s,readOnly:c,valueTagCloseButtonLabel:l,valueTagProps:u,store:d},t[0]=s,t[1]=o,t[2]=n,t[3]=i,t[4]=c,t[5]=a,t[6]=d,t[7]=r,t[8]=l,t[9]=u,t[10]=f):f=t[10],f}function VF(){return Xf()(Op(HF))}function HF(e,t){return{options:[new Map],actions:{getOptionState:e=>t().options[0].get(e),registerOption:(n,r)=>{let[i]=t().options;i.set(n,r),e({options:[i]})},unregisterOption:n=>{let[r]=t().options;r.delete(n),e({options:[r]})}}}}function UF(){let e=(0,b.useContext)(zF);if(!e)throw Error(`Select context not in scope.`);return e}function WF(e){let t=(0,Q.c)(54),n,r,i,a,o,s,c,l,u;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9]):({value:u,color:o,disabled:s,className:a,actionProps:n,iconProps:c,children:i,"aria-disabled":r,...l}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u);let d=ap(),f;t[10]===u?f=t[11]:(f=u?.toString()??``,t[10]=u,t[11]=f);let p=f,{registering:m,multiple:h,value:g,onOptionSelect:_,maxSelected:v,store:y}=UF(),{registerOption:x,unregisterOption:S}=Qf(y,GF),C,w;if(t[12]!==i||t[13]!==o||t[14]!==s||t[15]!==x||t[16]!==m||t[17]!==p||t[18]!==S?(C=()=>{if(m)return x(p,{value:p,content:i,color:o,disabled:s}),()=>S(p)},w=[i,s,o,m,x,p,S],t[12]=i,t[13]=o,t[14]=s,t[15]=x,t[16]=m,t[17]=p,t[18]=S,t[19]=C,t[20]=w):(C=t[19],w=t[20]),(0,b.useEffect)(C,w),m)return null;let T;t[21]!==h||t[22]!==g||t[23]!==p?(T=h?g.includes(p):g===p,t[21]=h,t[22]=g,t[23]=p,t[24]=T):T=t[24];let E=T,D=r||!E&&v!=null&&g.length>=v,O;t[25]!==a||t[26]!==d?(O=$(d(`select__option`),a),t[25]=a,t[26]=d,t[27]=O):O=t[27];let k=E||void 0,A=E?My:void 0,j;t[28]!==n?.className||t[29]!==d?(j=$(d(`select__option-action`),n?.className),t[28]=n?.className,t[29]=d,t[30]=j):j=t[30];let M;t[31]!==n||t[32]!==j?(M={...n,className:j},t[31]=n,t[32]=j,t[33]=M):M=t[33];let N;t[34]!==c?.className||t[35]!==d?(N=$(d(`select__option-indicator`),c?.className),t[34]=c?.className,t[35]=d,t[36]=N):N=t[36];let P;t[37]!==c||t[38]!==N?(P={size:`sm`,...c,className:N},t[37]=c,t[38]=N,t[39]=P):P=t[39];let F;return t[40]!==i||t[41]!==o||t[42]!==s||t[43]!==_||t[44]!==l||t[45]!==E||t[46]!==D||t[47]!==P||t[48]!==O||t[49]!==k||t[50]!==A||t[51]!==M||t[52]!==p?(F=(0,q.jsx)(RF,{className:O,value:p,onSelect:_,selected:E,"aria-selected":k,disabled:s,"aria-disabled":D,color:o,icon:A,actionProps:M,iconProps:P,...l,children:i}),t[40]=i,t[41]=o,t[42]=s,t[43]=_,t[44]=l,t[45]=E,t[46]=D,t[47]=P,t[48]=O,t[49]=k,t[50]=A,t[51]=M,t[52]=p,t[53]=F):F=t[53],F}function GF(e){return e.actions}function KF(e,t,n){let r=(0,Q.c)(5),i=(0,b.useRef)(t),a=(0,b.useEffectEvent)(n),o;r[0]!==e||r[1]!==a?(o=()=>{let t=e?.form??e?.closest(`form`);if(t){let e=()=>a(i.current);return t.addEventListener(`reset`,e),()=>t.removeEventListener(`reset`,e)}},r[0]=e,r[1]=a,r[2]=o):o=r[2];let s;r[3]===e?s=r[4]:(s=[e],r[3]=e,r[4]=s),(0,b.useEffect)(o,s)}function qF(e){let t=(0,Q.c)(85),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],b=t[19]):({asChild:n,variant:h,color:g,defaultOpen:_,open:u,onOpenChange:l,icon:v,iconPlacement:y,pill:f,showCloseButton:p,className:i,truncate:b,style:m,containerProps:o,contentProps:s,iconProps:c,closeButtonProps:a,children:r,...d}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=b);let x=h===void 0?`solid`:h,S=g===void 0?`neutral`:g,C=_===void 0||_,w=v===void 0?null:v,T=y===void 0?`start`:y,E=ap(),D=gp(d),O,k;t[20]===D?(O=t[21],k=t[22]):({marginProps:O,...k}=D,t[20]=D,t[21]=O,t[22]=k);let A=DE(k),j,M;t[23]===A?(j=t[24],M=t[25]):({textProps:M,...j}=A,t[23]=A,t[24]=j,t[25]=M);let N;t[26]===b?N=t[27]:(N={truncate:b},t[26]=b,t[27]=N);let{textProps:P}=DE(N),{printHidden:F}=Aj(),I;t[28]!==w||t[29]!==T||t[30]!==c||t[31]!==E?(I=w&&(0,q.jsx)(jE,{icon:w,...c,className:$(E(`tag__icon`),E(`tag__icon--${T}`),c?.className)}),t[28]=w,t[29]=T,t[30]=c,t[31]=E,t[32]=I):I=t[32];let L=I,R=n?_p:`span`,z=O.dataAttrs,B;t[33]!==o?.className||t[34]!==E?(B=$(E(`tag__container`),o?.className),t[33]=o?.className,t[34]=E,t[35]=B):B=t[35];let V=o?.style,H;t[36]!==O.cssVars||t[37]!==V?(H={...O.cssVars,...V},t[36]=O.cssVars,t[37]=V,t[38]=H):H=t[38];let ee;t[39]!==i||t[40]!==f||t[41]!==E||t[42]!==x?(ee=$(E(`tag`),E(`tag--${x}`),f&&E(`tag--pill`),i),t[39]=i,t[40]=f,t[41]=E,t[42]=x,t[43]=ee):ee=t[43];let U;t[44]!==m||t[45]!==M.cssVars?(U={...M.cssVars,...m},t[44]=m,t[45]=M.cssVars,t[46]=U):U=t[46];let W=M.dataAttrs,G=P.dataAttrs,K=T===`start`&&L,J;t[47]!==s?.className||t[48]!==E?(J=$(E(`tag__content`),s?.className),t[47]=s?.className,t[48]=E,t[49]=J):J=t[49];let te;t[50]!==r||t[51]!==s||t[52]!==J||t[53]!==P.dataAttrs?(te=(0,q.jsx)(vp,{children:(0,q.jsx)(`span`,{...s,className:J,...P.dataAttrs,children:r})}),t[50]=r,t[51]=s,t[52]=J,t[53]=P.dataAttrs,t[54]=te):te=t[54];let Y=T===`end`&&L,X;t[55]!==a||t[56]!==S||t[57]!==E||t[58]!==F||t[59]!==p||t[60]!==x?(X=p&&(0,q.jsx)(eO,{children:(0,q.jsx)(YE,{size:`sm`,color:x===`solid`?`neutral`:S,...a,className:$(E(`tag__close-button`),F,a?.className)})}),t[55]=a,t[56]=S,t[57]=E,t[58]=F,t[59]=p,t[60]=x,t[61]=X):X=t[61];let ne;t[62]!==R||t[63]!==S||t[64]!==j||t[65]!==ee||t[66]!==U||t[67]!==K||t[68]!==te||t[69]!==Y||t[70]!==X||t[71]!==M.dataAttrs||t[72]!==P.dataAttrs?(ne=(0,q.jsxs)(R,{className:ee,style:U,"data-accent":S,...W,...G,...j,children:[K,te,Y,X]}),t[62]=R,t[63]=S,t[64]=j,t[65]=ee,t[66]=U,t[67]=K,t[68]=te,t[69]=Y,t[70]=X,t[71]=M.dataAttrs,t[72]=P.dataAttrs,t[73]=ne):ne=t[73];let re;t[74]!==o||t[75]!==O.dataAttrs||t[76]!==B||t[77]!==H||t[78]!==ne?(re=(0,q.jsx)($D,{asChild:!0,children:(0,q.jsx)(`span`,{...z,...o,className:B,style:H,children:ne})}),t[74]=o,t[75]=O.dataAttrs,t[76]=B,t[77]=H,t[78]=ne,t[79]=re):re=t[79];let ie;return t[80]!==C||t[81]!==l||t[82]!==u||t[83]!==re?(ie=(0,q.jsx)(QD,{defaultOpen:C,open:u,onOpenChange:l,orientation:`horizontal`,asChild:!0,children:re}),t[80]=C,t[81]=l,t[82]=u,t[83]=re,t[84]=ie):ie=t[84],ie}function JF(){let e=(0,Q.c)(24),t=ap(),{value:n,onOptionSelect:r,status:i,disabled:a,readOnly:o,valueTagCloseButtonLabel:s,valueTagProps:c,store:l}=UF(),u;e[0]===n?u=e[1]:(u=e=>e.actions.getOptionState(n),e[0]=n,e[1]=u),Qf(l,u);let d;e[2]===r?d=e[3]:(d=(e,t)=>{t.preventDefault(),r(e)},e[2]=r,e[3]=d);let f=d,p;if(e[4]!==n){let t=n,r;e[6]===t?r=e[7]:(r=new Set(t),e[6]=t,e[7]=r),p=Array.from(r),e[4]=n,e[5]=p}else p=e[5];let m=p,h;e[8]===m?h=e[9]:(h=e=>m.map(t=>e.actions.getOptionState(t)),e[8]=m,e[9]=h);let g=Qf(l,Bp(h)),_;e[10]===g?_=e[11]:(_=g.map(ZF),e[10]=g,e[11]=_);let v=_,y;e[12]!==a||e[13]!==f||e[14]!==t||e[15]!==i||e[16]!==s||e[17]!==c||e[18]!==g||e[19]!==m?(y=ME(m.map((e,n)=>{let r=g[n];return r&&(0,q.jsx)(qF,{variant:`subtle`,...c,showCloseButton:!r.disabled,closeButtonProps:{label:null,tooltipContent:s,asChild:!0,children:(0,q.jsx)(`span`,{}),type:void 0,disabled:a,"data-disabled":tb(a),onMouseDown:XF,onClick:t=>f(e,t),"aria-controls":void 0,"aria-expanded":void 0,"aria-describedby":void 0,...c?.closeButtonProps},color:r.color??NP(i,`primary`),className:$(t(`select__value-tag`),c?.className),containerProps:{className:$(t(`select__value-tag-container`),c?.containerProps?.className),...c?.containerProps},contentProps:{className:$(t(`select__value-tag-content`),c?.contentProps?.className),...c?.contentProps},children:r.content},e)}),YF),e[12]=a,e[13]=f,e[14]=t,e[15]=i,e[16]=s,e[17]=c,e[18]=g,e[19]=m,e[20]=y):y=e[20];let b=y,x=m.length>0&&o&&v,S=m.length>0&&!o&&b,C;return e[21]!==x||e[22]!==S?(C=(0,q.jsxs)(q.Fragment,{children:[x,S]}),e[21]=x,e[22]=S,e[23]=C):C=e[23],C}function YF(e){return(0,q.jsx)(AE,{children:`, `},`separator-${e}`)}function XF(e){return e.preventDefault()}function ZF(e,t){return(0,q.jsxs)(b.Fragment,{children:[t===0?``:`, `,e?.content]},t)}function QF(e){let t=(0,Q.c)(18),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({actualElement:n,form:r,onFocus:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;t[5]!==n||t[6]!==r?(o=!n||!!r||!!n?.closest(`form`),t[5]=n,t[6]=r,t[7]=o):o=t[7];let s=o,c;t[8]===n?c=t[9]:(c=()=>{n?.focus()},t[8]=n,t[9]=c);let l=c,u=i,d;t[10]!==l||t[11]!==u?(d=[l,u],t[10]=l,t[11]=u,t[12]=d):d=t[12];let f=Dp(d),p;return t[13]!==f||t[14]!==r||t[15]!==s||t[16]!==a?(p=s&&(0,q.jsx)(AE,{asChild:!0,children:(0,q.jsx)(_p,{form:r,onFocus:f,...a,tabIndex:-1,"aria-hidden":!0})}),t[13]=f,t[14]=r,t[15]=s,t[16]=a,t[17]=p):p=t[17],p}function $F(e){let t=(0,Q.c)(26),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({actualElement:n,multiple:r,onValueChange:i,value:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let{store:s}=UF(),c=Qf(s,aI),l=Qf(s,Bp(iI)),u;t[6]!==r||t[7]!==i?(u=e=>i(r?Array.from(e.target.options).filter(rI).map(nI):e.target.value),t[6]=r,t[7]=i,t[8]=u):u=t[8];let d=u,f;t[9]===l?f=t[10]:(f=l.map(tI).join(`;`),t[9]=l,t[10]=f);let p=(c?``:`;`)+f,m;t[11]===l?m=t[12]:(m=l.map(eI),t[11]=l,t[12]=m);let h=m,g;t[13]===c?g=t[14]:(g=!c&&(0,q.jsx)(`option`,{value:``}),t[13]=c,t[14]=g);let _;t[15]!==h||t[16]!==g?(_=(0,q.jsxs)(`select`,{children:[g,h]}),t[15]=h,t[16]=g,t[17]=_):_=t[17];let v;return t[18]!==n||t[19]!==d||t[20]!==r||t[21]!==a||t[22]!==p||t[23]!==_||t[24]!==o?(v=(0,q.jsx)(QF,{actualElement:n,onChange:d,multiple:r,value:o,...a,children:_},p),t[18]=n,t[19]=d,t[20]=r,t[21]=a,t[22]=p,t[23]=_,t[24]=o,t[25]=v):v=t[25],v}function eI(e){let{value:t,disabled:n}=e;return(0,q.jsx)(`option`,{value:t,disabled:n},t)}function tI(e){return e.value}function nI(e){return e.value}function rI(e){return e.selected}function iI(e){return Array.from(e.options[0].values())}function aI(e){return e.actions.getOptionState(``)!==void 0}function oI(){let e=(0,Q.c)(2),{value:t,store:n}=UF(),r;return e[0]===t?r=e[1]:(r=e=>e.actions.getOptionState(t)?.content,e[0]=t,e[1]=r),Qf(n,r)}function sI(e){let t=(0,Q.c)(333),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,ee,U,W,G,K,J,te,Y,X,ne,re,ie,ae,oe,se,ce,le,ue;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38],V=t[39],H=t[40],ee=t[41],U=t[42],W=t[43],G=t[44],K=t[45],J=t[46],te=t[47],Y=t[48],X=t[49],ne=t[50],re=t[51],ie=t[52],ae=t[53],oe=t[54],se=t[55],ce=t[56],le=t[57],ue=t[58]):({multiple:X,defaultValue:y,value:_,onValueChange:I,defaultOpen:v,open:h,onOpenChange:P,searchPlaceholder:G,searchValue:g,onSearchValueChange:F,name:j,placeholder:z,disabled:x,readOnly:V,required:ee,maxSelected:A,loading:T,loadingDescription:E,variant:ue,status:te,code:d,startAdornment:J,endAdornment:C,showClearButton:ne,clearDescription:u,searchLabel:W,optionsLabel:L,loadingOptions:D,loadingOptionsLabel:O,loadingOptionsProgress:k,showSpinner:re,emptyMessage:S,valueTagCloseButtonLabel:se,valueTagMaxWidth:ce,onKeyDown:N,onBlurToOutside:M,validate:ie,validationMode:ae,className:c,rootProps:U,codeProps:f,containerProps:m,valueProps:oe,valueTagProps:le,clearButtonProps:l,spinnerProps:K,arrowProps:a,popoverProps:B,commandMenuProps:p,autoComplete:o,form:w,style:Y,"aria-disabled":n,"aria-label":r,"aria-labelledby":i,children:s,ref:H,...R}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B,t[39]=V,t[40]=H,t[41]=ee,t[42]=U,t[43]=W,t[44]=G,t[45]=K,t[46]=J,t[47]=te,t[48]=Y,t[49]=X,t[50]=ne,t[51]=re,t[52]=ie,t[53]=ae,t[54]=oe,t[55]=se,t[56]=ce,t[57]=le,t[58]=ue);let Z=X!==void 0&&X,de=ne===void 0?`auto`:ne,fe=re===void 0?T||D:re,pe=ap(),{cssVarStyle:me}=cp(),[he]=Mp(),ge=z??he.Select.placeholder,_e=W??he.Select.searchLabel,ve=G??he.Select.searchPlaceholder,ye=S??he.Select.emptyMessage,be=se??he.Select.valueTagCloseButtonLabel,xe=L??he.Select.optionsLabel,Se=O??he.Select.loadingOptionsLabel,Ce=u??he.Select.clearDescription,we=Fj(),Te=L_(),Ee=(0,b.useId)(),De;t[59]!==d||t[60]!==f?.id||t[61]!==Ee||t[62]!==pe?(De=d?f?.id??pe(`select-code-${Ee}`):void 0,t[59]=d,t[60]=f?.id,t[61]=Ee,t[62]=pe,t[63]=De):De=t[63];let Oe=De,ke;t[64]!==Ee||t[65]!==pe||t[66]!==oe?.id?(ke=oe?.id??pe(`select-value-${Ee}`),t[64]=Ee,t[65]=pe,t[66]=oe?.id,t[67]=ke):ke=t[67];let Ae=ke,je;t[68]!==r||t[69]!==Ee||t[70]!==pe?(je=r&&pe(`select-aria-label-${Ee}`),t[68]=r,t[69]=Ee,t[70]=pe,t[71]=je):je=t[71];let Me=je,{printHidden:Ne}=Aj(),[Pe,Fe]=Ap(v??!1,h),[Ie,Le]=Ap(y??``,_),[Re,ze]=Ap(``,g),Be=T||n===`true`||n===!0,Ve;t[72]!==Z||t[73]!==Ie?(Ve=Z?Array.isArray(Ie)?Ie:Ie===``?[]:[Ie.toString()]:Array.isArray(Ie)?Ie.at(-1)??``:Ie.toString(),t[72]=Z,t[73]=Ie,t[74]=Ve):Ve=t[74];let He=Ve,Ue=Z?He.length===0:He===``,[We,Ge]=(0,b.useState)(null),Ke=(0,b.useRef)(null),qe=(0,b.useRef)(null),{status:Je,disabled:Ye,setValue:Xe,onChange:Ze,onBlur:Qe}=AM(j,He,ie,ae),$e=te??Je,et=x||Ye,tt;t[75]!==We||t[76]!==et||t[77]!==pe||t[78]!==Fe||t[79]!==Be?(tt=e=>{e.preventDefault();let t=e.target;We&&!et&&!Be&&t.closest(`.${pe(`select__container`)}`)&&!t.closest(`input, select, textarea, button, a`)&&Fe(lI)},t[75]=We,t[76]=et,t[77]=pe,t[78]=Fe,t[79]=Be,t[80]=tt):tt=t[80];let nt=tt,rt;t[81]!==Ze||t[82]!==I||t[83]!==Le?(rt=e=>{Le(e),I?.(e),Ze(e)},t[81]=Ze,t[82]=I,t[83]=Le,t[84]=rt):rt=t[84];let it=rt,at;t[85]!==He||t[86]!==We||t[87]!==it||t[88]!==Z||t[89]!==F||t[90]!==Pe||t[91]!==Fe||t[92]!==ze?(at=e=>{if(Z){let t=He.includes(e)?He.filter(t=>t!==e):[...He,e];it(t),Pe?qe.current?.focus():We?.focus()}else e!==He&&it(e),Fe(!1);ze(``),F?.(``)},t[85]=He,t[86]=We,t[87]=it,t[88]=Z,t[89]=F,t[90]=Pe,t[91]=Fe,t[92]=ze,t[93]=at):at=t[93];let ot=at,st;t[94]!==it||t[95]!==Ue||t[96]!==Z?(st=()=>{Ue||it(Z?[]:``)},t[94]=it,t[95]=Ue,t[96]=Z,t[97]=st):st=t[97];let ct=st,lt;t[98]===We?lt=t[99]:(lt=e=>{(document.activeElement===document.body||document.activeElement===document.documentElement)&&(e.preventDefault(),We?.focus())},t[98]=We,t[99]=lt);let ut=lt,dt=(0,b.useRef)(null),ft;t[100]===Fe?ft=t[101]:(ft=e=>{e.code===`Delete`||e.code===`Backspace`?dt.current?.click():(e.code===`ArrowUp`||e.code===`ArrowDown`)&&Fe(!0)},t[100]=Fe,t[101]=ft);let pt=ft,mt;t[102]!==We||t[103]!==Qe||t[104]!==M?(mt=e=>{e.relatedTarget&&(We?.contains(e.relatedTarget)||Ke.current?.contains(e.relatedTarget))||(M?.(e),Qe())},t[102]=We,t[103]=Qe,t[104]=M,t[105]=mt):mt=t[105];let ht=mt,gt;t[106]!==Xe||t[107]!==V||t[108]!==Le||t[109]!==Be?(gt=e=>{!Be&&!V&&(Le(e),Xe(e))},t[106]=Xe,t[107]=V,t[108]=Le,t[109]=Be,t[110]=gt):gt=t[110];let _t=gt,vt=(0,b.useRef)(null),yt;t[111]!==_t||t[112]!==Z?(yt=e=>{_t(e);let t=vt.current;t&&setTimeout(()=>Z?Array.from(t.options).forEach(t=>t.selected=e.includes(t.value)):t.value=e)},t[111]=_t,t[112]=Z,t[113]=yt):yt=t[113],KF(We,He,yt);let bt=et||Be,xt;t[114]!==He||t[115]!==ot||t[116]!==A||t[117]!==Z||t[118]!==V||t[119]!==$e||t[120]!==bt||t[121]!==be||t[122]!==le?(xt={multiple:Z,value:He,onOptionSelect:ot,status:$e,maxSelected:A,disabled:bt,readOnly:V,valueTagCloseButtonLabel:be,valueTagProps:le},t[114]=He,t[115]=ot,t[116]=A,t[117]=Z,t[118]=V,t[119]=$e,t[120]=bt,t[121]=be,t[122]=le,t[123]=xt):xt=t[123];let St=BF(xt),Ct;t[124]===St?Ct=t[125]:(Ct={registering:!0,...St},t[124]=St,t[125]=Ct);let wt=Ct,Tt=Pe&&!et&&!Be&&!V,Et;t[126]!==s||t[127]!==wt?(Et=(0,q.jsx)(zF,{value:wt,children:s}),t[126]=s,t[127]=wt,t[128]=Et):Et=t[128];let Dt;t[129]!==P||t[130]!==Fe?(Dt=[P,Fe],t[129]=P,t[130]=Fe,t[131]=Dt):Dt=t[131];let Ot=Dp(Dt),kt;t[132]!==c||t[133]!==pe?(kt=$(pe(`select`),c),t[132]=c,t[133]=pe,t[134]=kt):kt=t[134];let At;t[135]===Z?At=t[136]:(At=tb(Z),t[135]=Z,t[136]=At);let jt=ce!=null,Mt;t[137]===jt?Mt=t[138]:(Mt=tb(jt),t[137]=jt,t[138]=Mt);let Nt;t[139]!==pt||t[140]!==N?(Nt=[N,pt],t[139]=pt,t[140]=N,t[141]=Nt):Nt=t[141];let Pt=Dp(Nt),Ft=typeof ce==`number`?`${ce}px`:ce,It;t[142]!==me||t[143]!==Ft?(It=me(`select-value-tag-max-width`,Ft),t[142]=me,t[143]=Ft,t[144]=It):It=t[144];let Lt;t[145]!==Y||t[146]!==It?(Lt={...It,...Y},t[145]=Y,t[146]=It,t[147]=Lt):Lt=t[147];let Rt;t[148]!==a?.className||t[149]!==et||t[150]!==pe||t[151]!==Ne||t[152]!==V||t[153]!==Tt||t[154]!==Be||t[155]!==$e?(Rt=!V&&(0,q.jsx)(jE,{icon:Tt?Xy:Ry,className:$(pe(`select__arrow`),Ne,a?.className),onClick:cI,"data-status":$e,"data-disabled":tb(et||Be)}),t[148]=a?.className,t[149]=et,t[150]=pe,t[151]=Ne,t[152]=V,t[153]=Tt,t[154]=Be,t[155]=$e,t[156]=Rt):Rt=t[156];let zt;t[157]!==C||t[158]!==Rt?(zt=(0,q.jsxs)(q.Fragment,{children:[Rt,C]}),t[157]=C,t[158]=Rt,t[159]=zt):zt=t[159];let Bt=de===`auto`?!Ue:de,Vt;t[160]!==Oe||t[161]!==f?(Vt={...f,id:Oe},t[160]=Oe,t[161]=f,t[162]=Vt):Vt=t[162];let Ht=Tt?`open`:`closed`,Ut;t[163]===Ht?Ut=t[164]:(Ut={"data-state":Ht},t[163]=Ht,t[164]=Ut);let Wt;t[165]!==m?.className||t[166]!==pe?(Wt=$(pe(`select__container`),m?.className),t[165]=m?.className,t[166]=pe,t[167]=Wt):Wt=t[167];let Gt=m?.onPointerDown,Kt;t[168]!==nt||t[169]!==Gt?(Kt=[Gt,nt],t[168]=nt,t[169]=Gt,t[170]=Kt):Kt=t[170];let qt=Dp(Kt),Jt;t[171]!==m||t[172]!==Ut||t[173]!==Wt||t[174]!==qt?(Jt={...Ut,...m,className:Wt,onPointerDown:qt},t[171]=m,t[172]=Ut,t[173]=Wt,t[174]=qt,t[175]=Jt):Jt=t[175];let Yt;t[176]!==l?.className||t[177]!==pe?(Yt=$(pe(`select__clear-button`),l?.className),t[176]=l?.className,t[177]=pe,t[178]=Yt):Yt=t[178];let Xt=l?.onClick,Zt;t[179]!==ct||t[180]!==Xt?(Zt=[Xt,ct],t[179]=ct,t[180]=Xt,t[181]=Zt):Zt=t[181];let Qt;t[182]===Symbol.for(`react.memo_cache_sentinel`)?(Qt={checkDefaultPrevented:!0},t[182]=Qt):Qt=t[182];let $t=Dp(Zt,Qt),en=l?.ref,tn;t[183]===en?tn=t[184]:(tn=[dt,en],t[183]=en,t[184]=tn);let nn=sy(tn),rn;t[185]!==l||t[186]!==Yt||t[187]!==$t||t[188]!==nn?(rn={...l,className:Yt,onClick:$t,ref:nn},t[185]=l,t[186]=Yt,t[187]=$t,t[188]=nn,t[189]=rn):rn=t[189];let an;t[190]===Pe?an=t[191]:(an=Pe?{}:{"aria-controls":void 0},t[190]=Pe,t[191]=an);let on;t[192]!==Me||t[193]!==i||t[194]!==Oe||t[195]!==Te||t[196]!==we?(on=i??Me??uj([Oe,we??Te]),t[192]=Me,t[193]=i,t[194]=Oe,t[195]=Te,t[196]=we,t[197]=on):on=t[197];let sn;t[198]!==on||t[199]!==Ae?(sn=uj([on,Ae]),t[198]=on,t[199]=Ae,t[200]=sn):sn=t[200];let cn;t[201]!==pe||t[202]!==K?.className?(cn=$(pe(`select__spinner`),K?.className),t[201]=pe,t[202]=K?.className,t[203]=cn):cn=t[203];let ln;t[204]!==K||t[205]!==cn?(ln={...K,className:cn},t[204]=K,t[205]=cn,t[206]=ln):ln=t[206];let un;t[207]===Ue?un=t[208]:(un=tb(Ue),t[207]=Ue,t[208]=un);let dn;t[209]===H?dn=t[210]:(dn=[Ge,H],t[209]=H,t[210]=dn);let fn=sy(dn),pn;t[211]!==pe||t[212]!==oe?.className?(pn=$(pe(`select__value`),oe?.className),t[211]=pe,t[212]=oe?.className,t[213]=pn):pn=t[213];let mn;t[214]===Symbol.for(`react.memo_cache_sentinel`)?(mn=(0,q.jsx)(AE,{children:`, `}),t[214]=mn):mn=t[214];let hn=Ue&&ge,gn;t[215]!==Ue||t[216]!==Z?(gn=!Ue&&!Z&&(0,q.jsx)(oI,{}),t[215]=Ue,t[216]=Z,t[217]=gn):gn=t[217];let _n;t[218]!==Ue||t[219]!==Z?(_n=!Ue&&Z&&(0,q.jsx)(JF,{}),t[218]=Ue,t[219]=Z,t[220]=_n):_n=t[220];let vn;t[221]!==pn||t[222]!==hn||t[223]!==gn||t[224]!==_n||t[225]!==Ae||t[226]!==oe?(vn=(0,q.jsxs)(`span`,{...oe,id:Ae,className:pn,children:[mn,hn,gn,_n]}),t[221]=pn,t[222]=hn,t[223]=gn,t[224]=_n,t[225]=Ae,t[226]=oe,t[227]=vn):vn=t[227];let yn;t[228]!==fn||t[229]!==vn?(yn=(0,q.jsx)(`button`,{ref:fn,children:vn}),t[228]=fn,t[229]=vn,t[230]=yn):yn=t[230];let bn;t[231]!==n||t[232]!==Ce||t[233]!==d||t[234]!==et||t[235]!==ht||t[236]!==T||t[237]!==E||t[238]!==V||t[239]!==ee||t[240]!==U||t[241]!==fe||t[242]!==J||t[243]!==$e||t[244]!==zt||t[245]!==Bt||t[246]!==Vt||t[247]!==Jt||t[248]!==rn||t[249]!==an||t[250]!==sn||t[251]!==ln||t[252]!==un||t[253]!==yn||t[254]!==ue?(bn=(0,q.jsx)(BP,{asChild:!0,variant:ue,status:$e,code:d,disabled:et,readOnly:V,required:ee,loading:T,loadingDescription:E,showSpinner:fe,startAdornment:J,endAdornment:zt,showClearButton:Bt,clearDescription:Ce,onBlurToOutside:ht,rootProps:U,codeProps:Vt,containerProps:Jt,clearButtonProps:rn,...an,"aria-disabled":n,"aria-labelledby":sn,spinnerProps:ln,"data-placeholder":un,children:yn}),t[231]=n,t[232]=Ce,t[233]=d,t[234]=et,t[235]=ht,t[236]=T,t[237]=E,t[238]=V,t[239]=ee,t[240]=U,t[241]=fe,t[242]=J,t[243]=$e,t[244]=zt,t[245]=Bt,t[246]=Vt,t[247]=Jt,t[248]=rn,t[249]=an,t[250]=sn,t[251]=ln,t[252]=un,t[253]=yn,t[254]=ue,t[255]=bn):bn=t[255];let xn;t[256]!==R||t[257]!==kt||t[258]!==At||t[259]!==Mt||t[260]!==Pt||t[261]!==Lt||t[262]!==bn?(xn=(0,q.jsx)(Ej,{className:kt,"data-multiple":At,"data-limit-value-tags-width":Mt,onKeyDown:Pt,...R,style:Lt,children:bn}),t[256]=R,t[257]=kt,t[258]=At,t[259]=Mt,t[260]=Pt,t[261]=Lt,t[262]=bn,t[263]=xn):xn=t[263];let Sn;t[264]!==B?.className||t[265]!==pe?(Sn=$(pe(`select__popover`),B?.className),t[264]=B?.className,t[265]=pe,t[266]=Sn):Sn=t[266];let Cn=B?.onCloseAutoFocus,wn;t[267]!==ut||t[268]!==Cn?(wn=[Cn,ut],t[267]=ut,t[268]=Cn,t[269]=wn):wn=t[269];let Tn;t[270]===Symbol.for(`react.memo_cache_sentinel`)?(Tn={checkDefaultPrevented:!0},t[270]=Tn):Tn=t[270];let En=Dp(wn,Tn),Dn=B?.onBlur,On;t[271]!==ht||t[272]!==Dn?(On=[Dn,ht],t[271]=ht,t[272]=Dn,t[273]=On):On=t[273];let kn=Dp(On),An=B?.ref,jn;t[274]===An?jn=t[275]:(jn=[Ke,An],t[274]=An,t[275]=jn);let Mn=sy(jn),Nn=Z?``:He,Pn;t[276]!==F||t[277]!==ze?(Pn=[F,ze],t[276]=F,t[277]=ze,t[278]=Pn):Pn=t[278];let Fn=Dp(Pn),In=p?.searchProps,Ln=p?.searchProps?.ref,Rn;t[279]===Ln?Rn=t[280]:(Rn=[qe,Ln],t[279]=Ln,t[280]=Rn);let zn=sy(Rn),Bn;t[281]!==In||t[282]!==zn?(Bn={...In,ref:zn},t[281]=In,t[282]=zn,t[283]=Bn):Bn=t[283];let Vn=Z?!0:void 0,Hn=p?.listProps,Un;t[284]!==Vn||t[285]!==Hn?(Un={"aria-multiselectable":Vn,...Hn},t[284]=Vn,t[285]=Hn,t[286]=Un):Un=t[286];let Wn;t[287]!==s||t[288]!==p||t[289]!==ye||t[290]!==D||t[291]!==Se||t[292]!==k||t[293]!==xe||t[294]!==_e||t[295]!==ve||t[296]!==Re||t[297]!==Nn||t[298]!==Fn||t[299]!==Bn||t[300]!==Un?(Wn=(0,q.jsx)(FF,{value:Nn,...p,searchPlaceholder:ve,emptyMessage:ye,label:_e,listLabel:xe,loading:D,loadingLabel:Se,loadingProgress:k,iconPlacement:`end`,searchValue:Re,onSearchValueChange:Fn,searchProps:Bn,listProps:Un,children:s}),t[287]=s,t[288]=p,t[289]=ye,t[290]=D,t[291]=Se,t[292]=k,t[293]=xe,t[294]=_e,t[295]=ve,t[296]=Re,t[297]=Nn,t[298]=Fn,t[299]=Bn,t[300]=Un,t[301]=Wn):Wn=t[301];let Gn;t[302]!==B||t[303]!==Sn||t[304]!==En||t[305]!==kn||t[306]!==Mn||t[307]!==Wn?(Gn=(0,q.jsx)(Tj,{asChild:!0,align:`start`,showArrow:!1,...B,className:Sn,onCloseAutoFocus:En,onBlur:kn,ref:Mn,children:Wn}),t[302]=B,t[303]=Sn,t[304]=En,t[305]=kn,t[306]=Mn,t[307]=Wn,t[308]=Gn):Gn=t[308];let Kn;t[309]!==Tt||t[310]!==Ot||t[311]!==xn||t[312]!==Gn?(Kn=(0,q.jsxs)(Cj,{open:Tt,onOpenChange:Ot,children:[xn,Gn]}),t[309]=Tt,t[310]=Ot,t[311]=xn,t[312]=Gn,t[313]=Kn):Kn=t[313];let qn;t[314]!==r||t[315]!==Me?(qn=Me&&(0,q.jsx)(`span`,{hidden:!0,id:Me,children:r}),t[314]=r,t[315]=Me,t[316]=qn):qn=t[316];let Jn;t[317]!==He||t[318]!==o||t[319]!==We||t[320]!==et||t[321]!==w||t[322]!==_t||t[323]!==Z||t[324]!==j||t[325]!==ee?(Jn=(0,q.jsx)($F,{actualElement:We,onValueChange:_t,name:j,value:He,multiple:Z,required:ee,disabled:et,autoComplete:o,form:w,ref:vt}),t[317]=He,t[318]=o,t[319]=We,t[320]=et,t[321]=w,t[322]=_t,t[323]=Z,t[324]=j,t[325]=ee,t[326]=Jn):Jn=t[326];let Yn;return t[327]!==St||t[328]!==Et||t[329]!==Kn||t[330]!==qn||t[331]!==Jn?(Yn=(0,q.jsxs)(zF,{value:St,children:[Et,Kn,qn,Jn]}),t[327]=St,t[328]=Et,t[329]=Kn,t[330]=qn,t[331]=Jn,t[332]=Yn):Yn=t[332],Yn}function cI(e){return e.preventDefault()}function lI(e){return!e}var uI=`LLLL y`,dI=`LLLL`,fI=`yyyy`;function pI(e){let t=(0,Q.c)(97),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({calendarMonth:n,displayIndex:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),{curDate:o,minAllowedDate:s,maxAllowedDate:c,monthSelectLabel:l,yearSelectLabel:u,previousMonthLabel:d,nextMonthLabel:f,headerProps:p,headerLabelProps:m,previousButtonProps:h,nextButtonProps:g,monthSelectProps:_,yearSelectProps:v}=cj(),{months:y,goToMonth:b,dayPickerProps:x}=fk(),{onPrevClick:S,onNextClick:C,disableNavigation:w,pagedNavigation:T,locale:E}=x,D=n.date,O=r===0,k=r===y.length-1,A,j;t[4]!==s||t[5]!==y[0].date||t[6]!==y.length||t[7]!==T?(A=om(y[0].date,T?-y.length:-1),j=s==null||!jh(A,Om(s)),t[4]=s,t[5]=y[0].date,t[6]=y.length,t[7]=T,t[8]=A,t[9]=j):(A=t[8],j=t[9]);let M=j,N,P;t[10]!==c||t[11]!==y[0].date||t[12]!==y.length||t[13]!==T?(N=om(y[0].date,T?y.length:1),P=c==null||!Ah(N,Om(c)),t[10]=c,t[11]=y[0].date,t[12]=y.length,t[13]=T,t[14]=N,t[15]=P):(N=t[14],P=t[15]);let F=P,I;t[16]!==M||t[17]!==b||t[18]!==S||t[19]!==A?(I=()=>{M&&(b(A),S?.(A))},t[16]=M,t[17]=b,t[18]=S,t[19]=A,t[20]=I):I=t[20];let L=I,R;t[21]!==F||t[22]!==b||t[23]!==N||t[24]!==C?(R=()=>{F&&(b(N),C?.(N))},t[21]=F,t[22]=b,t[23]=N,t[24]=C,t[25]=R):R=t[25];let z=R,B=[],V=Om(o);for(let e=0;e<=11;e++)B.push(f_(V,e));let H=D.getFullYear(),ee=o.getFullYear(),U=ee+50-(ee+50)%100,W=s?s.getFullYear():Math.min(H,U-100),G=c?c.getFullYear():Math.max(H,U+99),K=[];H<W&&K.push(p_(Am(o),H));for(let e=W;e<=G;e++)K.push(p_(Am(o),e));H>G&&K.push(p_(Am(o),H));let J;t[26]===s?J=t[27]:(J=s&&Om(s),t[26]=s,t[27]=J);let te=J,Y;t[28]===c?Y=t[29]:(Y=c&&Om(c),t[28]=c,t[29]=Y);let X=Y,ne;t[30]!==X||t[31]!==te?(ne=e=>te&&jh(e,te)?te:X&&Ah(e,X)?X:e,t[30]=X,t[31]=te,t[32]=ne):ne=t[32];let re=ne,ie;t[33]!==re||t[34]!==D||t[35]!==r||t[36]!==b?(ie=e=>b(re(om(f_(Om(D),Number(e)),-r))),t[33]=re,t[34]=D,t[35]=r,t[36]=b,t[37]=ie):ie=t[37];let ae=ie,oe;t[38]!==re||t[39]!==D||t[40]!==r||t[41]!==b?(oe=e=>b(re(om(p_(Om(D),Number(e)),-r))),t[38]=re,t[39]=D,t[40]=r,t[41]=b,t[42]=oe):oe=t[42];let se=oe,ce;t[43]!==m?.className||t[44]!==a?(ce=$(a(`calendar__header-label`),m?.className),t[43]=m?.className,t[44]=a,t[45]=ce):ce=t[45];let le=E,ue;t[46]!==D||t[47]!==le?(ue=xh(D,uI,{locale:le}),t[46]=D,t[47]=le,t[48]=ue):ue=t[48];let Z;t[49]!==m||t[50]!==ce||t[51]!==ue?(Z=(0,q.jsx)(`span`,{role:`status`,...m,className:ce,children:ue}),t[49]=m,t[50]=ce,t[51]=ue,t[52]=Z):Z=t[52];let de=Z,fe=!M,pe;t[53]!==a||t[54]!==h?.className?(pe=$(a(`calendar__navigation-button`),h?.className),t[53]=a,t[54]=h?.className,t[55]=pe):pe=t[55];let me=d??``,he=h?.onClick,ge;t[56]!==L||t[57]!==he?(ge=[he,L],t[56]=L,t[57]=he,t[58]=ge):ge=t[58];let _e;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(_e={checkDefaultPrevented:!0},t[59]=_e):_e=t[59];let ve=Dp(ge,_e),ye;t[60]!==h||t[61]!==fe||t[62]!==pe||t[63]!==me||t[64]!==ve?(ye=(0,q.jsx)(JE,{variant:`ghost`,icon:_y,disabled:fe,circle:!0,...h,className:pe,label:me,onClick:ve}),t[60]=h,t[61]=fe,t[62]=pe,t[63]=me,t[64]=ve,t[65]=ye):ye=t[65];let be=ye,xe=!F,Se;t[66]!==g?.className||t[67]!==a?(Se=$(a(`calendar__navigation-button`),g?.className),t[66]=g?.className,t[67]=a,t[68]=Se):Se=t[68];let Ce=f??``,we=g?.onClick,Te;t[69]!==z||t[70]!==we?(Te=[we,z],t[69]=z,t[70]=we,t[71]=Te):Te=t[71];let Ee;t[72]===Symbol.for(`react.memo_cache_sentinel`)?(Ee={checkDefaultPrevented:!0},t[72]=Ee):Ee=t[72];let De=Dp(Te,Ee),Oe;t[73]!==g||t[74]!==xe||t[75]!==Se||t[76]!==Ce||t[77]!==De?(Oe=(0,q.jsx)(JE,{variant:`ghost`,icon:Ey,disabled:xe,circle:!0,...g,className:Se,label:Ce,onClick:De}),t[73]=g,t[74]=xe,t[75]=Se,t[76]=Ce,t[77]=De,t[78]=Oe):Oe=t[78];let ke=Oe,Ae=s?.getMonth(),je=c?.getMonth(),Me=_?.onValueChange,Ne;t[79]!==ae||t[80]!==Me?(Ne=[Me,ae],t[79]=ae,t[80]=Me,t[81]=Ne):Ne=t[81];let Pe=Dp(Ne),Fe=v?.onValueChange,Ie;t[82]!==se||t[83]!==Fe?(Ie=[Fe,se],t[82]=se,t[83]=Fe,t[84]=Ie):Ie=t[84];let Le=Dp(Ie),Re;t[85]!==p?.className||t[86]!==a?(Re=$(a(`calendar__header`),p?.className),t[85]=p?.className,t[86]=a,t[87]=Re):Re=t[87];let ze;t[88]!==de||t[89]!==w?(ze=w?de:(0,q.jsx)(AE,{asChild:!0,children:de}),t[88]=de,t[89]=w,t[90]=ze):ze=t[90];let Be=!w&&(0,q.jsxs)(q.Fragment,{children:[y.length>1&&(0,q.jsx)(`div`,{className:$(a(`calendar__navigation`)),children:O&&be}),(0,q.jsx)(`div`,{className:a(`calendar__selects`),children:(0,q.jsxs)(Jv,{children:[(0,q.jsx)(sI,{"aria-label":l,showClearButton:!1,..._,className:$(a(`calendar__select`),_?.className),onValueChange:Pe,value:D.getMonth(),children:B.map(e=>{let t=e.getMonth();return(0,q.jsx)(WF,{value:t,disabled:Ae!==void 0&&H===W&&t<Ae||je!==void 0&&H===G&&t>je,children:xh(e,dI,{locale:E})},t)})}),(0,q.jsx)(sI,{"aria-label":u,showClearButton:!1,...v,className:$(a(`calendar__select`),v?.className),onValueChange:Le,value:D.getFullYear(),children:K.map(e=>{let t=e.getFullYear();return(0,q.jsx)(WF,{value:t,disabled:t<W||t>G,children:xh(e,fI,{locale:E})},t)})})]})}),(0,q.jsxs)(`div`,{className:$(a(`calendar__navigation`)),children:[y.length===1&&be,k&&ke]})]}),Ve;return t[91]!==p||t[92]!==i||t[93]!==Re||t[94]!==ze||t[95]!==Be?(Ve=(0,q.jsxs)(`header`,{...i,...p,className:Re,children:[ze,Be]}),t[91]=p,t[92]=i,t[93]=Re,t[94]=ze,t[95]=Be,t[96]=Ve):Ve=t[96],Ve}function mI(e){let t=(0,Q.c)(15),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({children:r,"aria-label":n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),o=`calendar-grid-caption-${(0,b.useId)()}`,s;t[4]!==a||t[5]!==o?(s=a(o),t[4]=a,t[5]=o,t[6]=s):s=t[6];let c=s,l;t[7]!==n||t[8]!==c?(l=(0,q.jsx)(AE,{asChild:!0,children:(0,q.jsx)(`caption`,{id:c,children:n})}),t[7]=n,t[8]=c,t[9]=l):l=t[9];let u;return t[10]!==c||t[11]!==r||t[12]!==i||t[13]!==l?(u=(0,q.jsxs)(`table`,{...i,"aria-labelledby":c,children:[l,r]}),t[10]=c,t[11]=r,t[12]=i,t[13]=l,t[14]=u):u=t[14],u}function hI(e){let t=typeof e==`string`?Kg(e):e??null;return t===null||!Cm(t)?null:t}function gI(e,t,n){let r=hI(t),i=[hI(e),r&&Om(r),n!=null&&new Date(n,0,1)].filter(e=>e);return i.length>0?ym(i):void 0}function _I(e,t,n){let r=hI(t),i=[hI(e),r&&Tm(r),n!=null&&new Date(n,11,31)].filter(e=>e);return i.length>0?bm(i):void 0}var vI={start:null,end:null},yI={MonthCaption:pI,MonthGrid:mI,Day:lj,Nav:()=>null};function bI(e){let t=(0,Q.c)(270),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38]):({selectionMode:P,defaultValue:o,value:i,onValueChange:D,required:M,minDate:m,maxDate:d,minMonth:h,maxMonth:f,minYear:g,maxYear:p,monthSelectLabel:v,yearSelectLabel:z,previousMonthLabel:j,nextMonthLabel:S,defaultMonth:a,month:r,onMonthChange:E,onDayClick:C,onDayFocus:w,onDayMouseEnter:T,numberOfMonths:F,fixedWeeks:I,showOutsideDays:L,disableNavigation:s,disabled:c,modifiers:_,today:R,apiRef:n,headerProps:u,headerLabelProps:l,previousButtonProps:A,nextButtonProps:x,monthSelectProps:y,yearSelectProps:B,pagedNavigation:k,style:N,...O}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B);let V=P===void 0?`none`:P,H=F===void 0?1:F,ee=I===void 0||I,U=L===void 0||L,W=ap(),[G]=Mp(),K=v??G.Calendar.monthSelectLabel,J=z??G.Calendar.yearSelectLabel,te=j??G.Calendar.previousMonthLabel,Y=S??G.Calendar.nextMonthLabel,X=V===`range`||V===`range-start`||V===`range-end`,ne=gp(O),re,ie;t[39]===ne?(re=t[40],ie=t[41]):({marginProps:re,...ie}=ne,t[39]=ne,t[40]=re,t[41]=ie);let[ae,oe]=Ap(o??null,i),se;bb0:{if(ae==null){se=null;break bb0}if(typeof ae==`string`||Sm(ae)){let e;t[42]===ae?e=t[43]:(e=hI(ae),t[42]=ae,t[43]=e),se=e;break bb0}if(Array.isArray(ae)){let e;t[44]===ae?e=t[45]:(e=ae.reduce(CI,[]),t[44]=ae,t[45]=e),se=e;break bb0}let e;if(t[46]!==ae.end||t[47]!==ae.start){let n={start:hI(ae.start),end:hI(ae.end)};e=n.start&&n.end&&Ah(n.start,n.end)?null:n,t[46]=ae.end,t[47]=ae.start,t[48]=e}else e=t[48];se=e}let ce=se,le;bb1:{switch(V){case`none`:le=null;break bb1;case`single`:{let e;t[49]===ce?e=t[50]:(e=ce===null||Sm(ce)?ce:Array.isArray(ce)?ce[0]??null:ce.start??ce.end,t[49]=ce,t[50]=e),le=e;break bb1}case`multiple`:{let e;t[51]===ce?e=t[52]:(e=Array.isArray(ce)?ce:ce===null?[]:Sm(ce)?[ce]:[ce.start,ce.end].filter(SI),t[51]=ce,t[52]=e),le=e;break bb1}case`range`:case`range-start`:case`range-end`:{let e;t[53]===ce?e=t[54]:(e=ce===null?vI:Sm(ce)?{start:ce,end:null}:Array.isArray(ce)?ce.length===0?vI:{start:bm(ce),end:ym(ce)}:ce,t[53]=ce,t[54]=e),le=e;break bb1}}le=void 0}let ue=le,[Z,de]=(0,b.useState)(vI),fe;t[55]!==m||t[56]!==h||t[57]!==g?(fe=gI(m,h,g),t[55]=m,t[56]=h,t[57]=g,t[58]=fe):fe=t[58];let pe=fe,me;t[59]!==d||t[60]!==f||t[61]!==p?(me=_I(d,f,p),t[59]=d,t[60]=f,t[61]=p,t[62]=me):me=t[62];let he=me,[ge]=(0,b.useState)(xI),_e=R??ge,ve;t[63]===_e?ve=t[64]:(ve=Om(_e),t[63]=_e,t[64]=ve);let ye=ve,be;bb2:{if(r!==void 0){be=r;break bb2}if(a!==void 0){be=a;break bb2}let e=V===`none`?null:V===`single`?ue:V===`multiple`?ue[0]:V===`range-end`?ue.end??ue.start:ue.start??ue.end;if(e!=null){be=e;break bb2}let n;t[65]===pe?n=t[66]:(n=pe&&Om(pe),t[65]=pe,t[66]=n);let i=n,o;t[67]===he?o=t[68]:(o=he&&Om(he),t[67]=he,t[68]=o);let s=o,c;t[69]!==ye||t[70]!==s||t[71]!==i?(c=(!i||!jh(ye,i))&&(!s||!Ah(ye,s))?ye:i??s??ye,t[69]=ye,t[70]=s,t[71]=i,t[72]=c):c=t[72],be=c}let[xe,Se]=Ap(be,r),Ce;t[73]!==ye||t[74]!==xe?(Ce=hI(xe)??ye,t[73]=ye,t[74]=xe,t[75]=Ce):Ce=t[75];let we=Ce,Te;t[76]!==we||t[77]!==H||t[78]!==ue?(Te={value:ue,month:we,numberOfMonths:H},t[76]=we,t[77]=H,t[78]=ue,t[79]=Te):Te=t[79];let Ee=Ep(Te),De,Oe;t[80]!==Ee||t[81]!==Se||t[82]!==oe?(De=()=>({getValue:()=>Ee.current.value,setValue:oe,getMonth:()=>Ee.current.month,setMonth:Se,isVisible:e=>{let t=hI(e);if(!t)throw Error(`Invalid date argument: ${e.toString()}`);return Gg(t,{start:Ee.current.month,end:Oh(om(Ee.current.month,(Ee.current.numberOfMonths??1)-1))})}}),Oe=[Ee,Se,oe],t[80]=Ee,t[81]=Se,t[82]=oe,t[83]=De,t[84]=Oe):(De=t[83],Oe=t[84]),(0,b.useImperativeHandle)(n,De,Oe);let ke;t[85]!==E||t[86]!==Se?(ke=e=>{E?.(e),Se(e)},t[85]=E,t[86]=Se,t[87]=ke):ke=t[87];let Ae=ke,je;t[88]!==Ae||t[89]!==we||t[90]!==H||t[91]!==C||t[92]!==D||t[93]!==k||t[94]!==M||t[95]!==V||t[96]!==oe||t[97]!==ue?(je=(e,t,n)=>{C?.(e,t,n);bb240:switch(V){case`single`:{let t=ue,n=t!==null&&xm(t,e);!M&&n?(oe(null),D?.(null)):n||(oe(e),D?.(e));break bb240}case`multiple`:{let t=ue,n=t.some(t=>xm(t,e))?t.filter(t=>!xm(t,e)):[...t,e];oe(n),D?.(n);break bb240}case`range`:case`range-start`:case`range-end`:{de(vI);let t=ue,n;if(V===`range-start`)n=!t.end||!Ah(e,t.end)?{start:e,end:t.end}:{start:e,end:null};else if(V===`range-end`)n=!t.start||!jh(e,t.start)?{start:t.start,end:e}:{start:e,end:null};else if(!t.start&&!t.end||t.start&&t.end)n={start:e,end:null};else{let r=t.start??t.end;n=Ah(e,r)?{start:r,end:e}:{start:e,end:r}}oe(n),D?.(n)}}if(t.outside){let t=Om(we),n=Oh(om(t,H-1));jh(e,t)?Ae(om(t,k?-H:-1)):Ah(e,n)&&Ae(om(t,k?H:1))}},t[88]=Ae,t[89]=we,t[90]=H,t[91]=C,t[92]=D,t[93]=k,t[94]=M,t[95]=V,t[96]=oe,t[97]=ue,t[98]=je):je=t[98];let Me=je,Ne;t[99]!==X||t[100]!==V||t[101]!==ue?(Ne=(e,t,n,r)=>{if(r?.(e,t,n),!X)return;let i=ue,a;if(V===`range-start`&&i.end&&jh(e,i.end))a={start:e,end:i.end};else if(V===`range-end`&&i.start&&Ah(e,i.start))a={start:i.start,end:e};else if(V===`range`&&(i.start&&!i.end||!i.start&&i.end)){let t=i.start??i.end;a=Ah(e,t)?{start:t,end:e}:{start:e,end:t}}else a=vI;de(a)},t[99]=X,t[100]=V,t[101]=ue,t[102]=Ne):Ne=t[102];let Pe=Ne,Fe;t[103]!==_||t[104]!==W?(Fe=_?Object.keys(_).reduce((e,t)=>(e[t]=W(`calendar__day--${t.replaceAll(`_`,`-`)}`),e),{}):null,t[103]=_,t[104]=W,t[105]=Fe):Fe=t[105];let Ie=Fe,Le;if(t[106]!==c||t[107]!==he||t[108]!==pe){if(Le=[],pe){let e;t[110]===pe?e=t[111]:(e={before:pe},t[110]=pe,t[111]=e),Le.push(e)}if(he){let e;t[112]===he?e=t[113]:(e={after:he},t[112]=he,t[113]=e),Le.push(e)}c&&(Array.isArray(c)?Le.push(...c):Le.push(c)),t[106]=c,t[107]=he,t[108]=pe,t[109]=Le}else Le=t[109];let Re=Le,ze;bb3:{if(!X){let e;t[114]===Symbol.for(`react.memo_cache_sentinel`)?(e={},t[114]=e):e=t[114],ze=e;break bb3}let e=ue,n=e.start??e.end??!1,r=e.end??e.start??!1,i;t[115]!==e.end||t[116]!==e.start?(i=e.start&&e.end&&!Mh(e.start,e.end)?{after:e.start,before:e.end}:!1,t[115]=e.end,t[116]=e.start,t[117]=i):i=t[117];let a=Z.start??!1,o=Z.end??!1,s;t[118]!==Z.end||t[119]!==Z.start?(s=Z.start&&Z.end&&!Mh(Z.start,Z.end)?{after:Z.start,before:Z.end}:!1,t[118]=Z.end,t[119]=Z.start,t[120]=s):s=t[120];let c;t[121]!==n||t[122]!==r||t[123]!==i||t[124]!==a||t[125]!==o||t[126]!==s?(c={range_start:n,range_end:r,range_middle:i,focused_range_start:a,focused_range_end:o,focused_range_middle:s},t[121]=n,t[122]=r,t[123]=i,t[124]=a,t[125]=o,t[126]=s,t[127]=c):c=t[127],ze=c}let Be=ze,Ve;t[128]!==_e||t[129]!==l||t[130]!==u||t[131]!==he||t[132]!==pe||t[133]!==K||t[134]!==y||t[135]!==x||t[136]!==Y||t[137]!==A||t[138]!==te||t[139]!==J||t[140]!==B?(Ve={curDate:_e,minAllowedDate:pe,maxAllowedDate:he,monthSelectLabel:K,yearSelectLabel:J,previousMonthLabel:te,nextMonthLabel:Y,headerProps:u,headerLabelProps:l,previousButtonProps:A,nextButtonProps:x,monthSelectProps:y,yearSelectProps:B},t[128]=_e,t[129]=l,t[130]=u,t[131]=he,t[132]=pe,t[133]=K,t[134]=y,t[135]=x,t[136]=Y,t[137]=A,t[138]=te,t[139]=J,t[140]=B,t[141]=Ve):Ve=t[141];let He=G.dayPickerLocale,Ue=M,We;t[142]===W?We=t[143]:(We=W(`calendar`),t[142]=W,t[143]=We);let Ge;t[144]===W?Ge=t[145]:(Ge=W(`calendar__months`),t[144]=W,t[145]=Ge);let Ke;t[146]===W?Ke=t[147]:(Ke=W(`calendar__month`),t[146]=W,t[147]=Ke);let qe;t[148]===W?qe=t[149]:(qe=W(`calendar__caption`),t[148]=W,t[149]=qe);let Je;t[150]===W?Je=t[151]:(Je=W(`calendar__caption-label`),t[150]=W,t[151]=Je);let Ye;t[152]===W?Ye=t[153]:(Ye=W(`calendar__previous`),t[152]=W,t[153]=Ye);let Xe;t[154]===W?Xe=t[155]:(Xe=W(`calendar__next`),t[154]=W,t[155]=Xe);let Ze;t[156]===W?Ze=t[157]:(Ze=W(`calendar__grid`),t[156]=W,t[157]=Ze);let Qe;t[158]===W?Qe=t[159]:(Qe=W(`calendar__weekdays`),t[158]=W,t[159]=Qe);let $e;t[160]===W?$e=t[161]:($e=W(`calendar__weekday`),t[160]=W,t[161]=$e);let et;t[162]===W?et=t[163]:(et=W(`calendar__weeks`),t[162]=W,t[163]=et);let tt;t[164]===W?tt=t[165]:(tt=W(`calendar__week`),t[164]=W,t[165]=tt);let nt;t[166]===W?nt=t[167]:(nt=W(`calendar__week-number`),t[166]=W,t[167]=nt);let rt;t[168]===W?rt=t[169]:(rt=W(`calendar__day`),t[168]=W,t[169]=rt);let it;t[170]===W?it=t[171]:(it=W(`calendar__day-inner`),t[170]=W,t[171]=it);let at;t[172]===W?at=t[173]:(at=W(`calendar__footer`),t[172]=W,t[173]=at);let ot;t[174]!==We||t[175]!==Ge||t[176]!==Ke||t[177]!==qe||t[178]!==Je||t[179]!==Ye||t[180]!==Xe||t[181]!==Ze||t[182]!==Qe||t[183]!==$e||t[184]!==et||t[185]!==tt||t[186]!==nt||t[187]!==rt||t[188]!==it||t[189]!==at?(ot={root:We,months:Ge,month:Ke,month_caption:qe,caption_label:Je,button_previous:Ye,button_next:Xe,month_grid:Ze,weekdays:Qe,weekday:$e,weeks:et,week:tt,week_number:nt,day:rt,day_button:it,footer:at},t[174]=We,t[175]=Ge,t[176]=Ke,t[177]=qe,t[178]=Je,t[179]=Ye,t[180]=Xe,t[181]=Ze,t[182]=Qe,t[183]=$e,t[184]=et,t[185]=tt,t[186]=nt,t[187]=rt,t[188]=it,t[189]=at,t[190]=ot):ot=t[190];let st;t[191]!==X||t[192]!==V||t[193]!==ue?(st=ue===null?void 0:V===`single`||V===`multiple`?ue:X?{from:ue.start??ue.end??void 0,to:ue.end??ue.start??void 0}:void 0,t[191]=X,t[192]=V,t[193]=ue,t[194]=st):st=t[194];let ct;t[195]!==_||t[196]!==Be||t[197]!==st?(ct={..._,selected:st,...Be},t[195]=_,t[196]=Be,t[197]=st,t[198]=ct):ct=t[198];let lt;t[199]===W?lt=t[200]:(lt=W(`calendar__day--selected`),t[199]=W,t[200]=lt);let ut;t[201]===W?ut=t[202]:(ut=W(`calendar__day--focused`),t[201]=W,t[202]=ut);let dt;t[203]===W?dt=t[204]:(dt=W(`calendar__day--disabled`),t[203]=W,t[204]=dt);let ft;t[205]===W?ft=t[206]:(ft=W(`calendar__day--hidden`),t[205]=W,t[206]=ft);let pt;t[207]===W?pt=t[208]:(pt=W(`calendar__day--today`),t[207]=W,t[208]=pt);let mt;t[209]===W?mt=t[210]:(mt=W(`calendar__day--outside`),t[209]=W,t[210]=mt);let ht;t[211]===W?ht=t[212]:(ht=W(`calendar__day--range-start`),t[211]=W,t[212]=ht);let gt;t[213]===W?gt=t[214]:(gt=W(`calendar__day--range-middle`),t[213]=W,t[214]=gt);let _t;t[215]===W?_t=t[216]:(_t=W(`calendar__day--range-end`),t[215]=W,t[216]=_t);let vt;t[217]===W?vt=t[218]:(vt=W(`calendar__day--focused-range-start`),t[217]=W,t[218]=vt);let yt;t[219]===W?yt=t[220]:(yt=W(`calendar__day--focused-range-middle`),t[219]=W,t[220]=yt);let bt;t[221]===W?bt=t[222]:(bt=W(`calendar__day--focused-range-end`),t[221]=W,t[222]=bt);let xt;t[223]!==Ie||t[224]!==lt||t[225]!==ut||t[226]!==dt||t[227]!==ft||t[228]!==pt||t[229]!==mt||t[230]!==ht||t[231]!==gt||t[232]!==_t||t[233]!==vt||t[234]!==yt||t[235]!==bt?(xt={...Ie,selected:lt,focused:ut,disabled:dt,hidden:ft,today:pt,outside:mt,range_start:ht,range_middle:gt,range_end:_t,focused_range_start:vt,focused_range_middle:yt,focused_range_end:bt},t[223]=Ie,t[224]=lt,t[225]=ut,t[226]=dt,t[227]=ft,t[228]=pt,t[229]=mt,t[230]=ht,t[231]=gt,t[232]=_t,t[233]=vt,t[234]=yt,t[235]=bt,t[236]=xt):xt=t[236];let St=V===`none`?C&&Me:Me,Ct;t[237]!==Pe||t[238]!==w?(Ct=(e,t,n)=>Pe(e,t,n,w),t[237]=Pe,t[238]=w,t[239]=Ct):Ct=t[239];let wt;t[240]!==Pe||t[241]!==T?(wt=(e,t,n)=>Pe(e,t,n,T),t[240]=Pe,t[241]=T,t[242]=wt):wt=t[242];let Tt;t[243]!==re.cssVars||t[244]!==N?(Tt={...re.cssVars,...N},t[243]=re.cssVars,t[244]=N,t[245]=Tt):Tt=t[245];let Et;t[246]!==Re||t[247]!==s||t[248]!==ee||t[249]!==Ae||t[250]!==G.dayPickerLocale||t[251]!==re.dataAttrs||t[252]!==we||t[253]!==ie||t[254]!==H||t[255]!==k||t[256]!==U||t[257]!==Ue||t[258]!==ot||t[259]!==ct||t[260]!==xt||t[261]!==St||t[262]!==Ct||t[263]!==wt||t[264]!==Tt||t[265]!==R?(Et=(0,q.jsx)(oj,{locale:He,required:Ue,disabled:Re,today:R,components:yI,classNames:ot,modifiers:ct,modifiersClassNames:xt,onDayClick:St,onDayFocus:Ct,onDayMouseEnter:wt,month:we,onMonthChange:Ae,numberOfMonths:H,fixedWeeks:ee,showOutsideDays:U,disableNavigation:s,pagedNavigation:k,style:Tt,...re.dataAttrs,...ie}),t[246]=Re,t[247]=s,t[248]=ee,t[249]=Ae,t[250]=G.dayPickerLocale,t[251]=re.dataAttrs,t[252]=we,t[253]=ie,t[254]=H,t[255]=k,t[256]=U,t[257]=Ue,t[258]=ot,t[259]=ct,t[260]=xt,t[261]=St,t[262]=Ct,t[263]=wt,t[264]=Tt,t[265]=R,t[266]=Et):Et=t[266];let Dt;return t[267]!==Ve||t[268]!==Et?(Dt=(0,q.jsx)(sj,{value:Ve,children:Et}),t[267]=Ve,t[268]=Et,t[269]=Dt):Dt=t[269],Dt}function xI(){return new Date}function SI(e){return e!==null}function CI(e,t){let n=hI(t);return n!==null&&e.push(n),e}function wI(e){let t=(0,Q.c)(197),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38]):({inline:h,variant:B,status:M,code:s,name:x,loading:g,loadingDescription:_,showSpinner:P,required:O,minChecked:y,maxChecked:v,disabled:F,readOnly:I,defaultValue:d,value:z,onValueChange:T,onBlurToOutside:S,validate:L,validationMode:R,codeProps:c,containerProps:l,startContainerProps:j,endContainerProps:p,spinnerProps:k,id:m,className:o,startAdornment:A,endAdornment:f,onMouseDown:w,onFocus:C,tabIndex:u,style:N,children:a,"aria-disabled":n,"aria-label":r,"aria-labelledby":i,ref:D,...E}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B);let V=P===void 0?g:P,H=F!==void 0&&F,ee=I!==void 0&&I,U=ap(),[W]=Mp(),G=_??W.Input.loadingDescription,K=gp(E),J,te;t[39]===K?(J=t[40],te=t[41]):({marginProps:J,...te}=K,t[39]=K,t[40]=J,t[41]=te);let Y=O&&(y==null||y<1)?1:y,X;t[42]!==d||t[43]!==z?(X=z??d??[],t[42]=d,t[43]=z,t[44]=X):X=t[44];let{status:ne,disabled:re,onChange:ie,onBlur:ae}=AM(x,X,L,R),oe=M??ne,se=H||re,ce;t[45]!==s||t[46]!==c||t[47]!==m||t[48]!==O||t[49]!==oe?(ce={id:m,tagName:`DIV`,required:O,status:oe,code:s,codeProps:c},t[45]=s,t[46]=c,t[47]=m,t[48]=O,t[49]=oe,t[50]=ce):ce=t[50];let{generatedId:le,controlId:ue,codeId:Z,labelId:de,dataTableColumnLabelId:fe,feedbackIds:pe,helperTextIds:me}=MP(ce),he;t[51]!==le||t[52]!==g||t[53]!==G||t[54]!==U?(he=g&&G?U(`control-loading-${le}`):void 0,t[51]=le,t[52]=g,t[53]=G,t[54]=U,t[55]=he):he=t[55];let ge=he,_e=(0,b.useRef)(null),ve=(0,b.useRef)(null),ye=qv(),be=B??(ye?`cell`:`default`),xe=h??be===`cell`,Se=g||n===`true`||n===!0,[Ce,we]=Ap(se?-1:0,u??(se?-1:void 0)),Te,Ee;t[56]===we?(Te=t[57],Ee=t[58]):(Te=()=>{let e=e=>{we(e.target instanceof Node&&ve.current?.contains(e.target)?-1:0)};return document.addEventListener(`focusin`,e,{passive:!0}),()=>document.removeEventListener(`focusin`,e)},Ee=[we],t[56]=we,t[57]=Te,t[58]=Ee),(0,b.useEffect)(Te,Ee);let De=(0,b.useRef)(!1),Oe;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=()=>{De.current=!0},t[59]=Oe):Oe=t[59];let ke=Oe,Ae;t[60]===U?Ae=t[61]:(Ae=e=>{e.target===_e.current&&!De.current&&(ve.current?.querySelector(`.${U(`checkbox`)}`))?.focus(),De.current=!1},t[60]=U,t[61]=Ae);let je=Ae,Me=xj(),Ne;t[62]===Me?Ne=t[63]:(Ne=()=>Me(!0),t[62]=Me,t[63]=Ne);let Pe=Ne,Fe;t[64]!==ae||t[65]!==S||t[66]!==Me?(Fe=e=>{Me(!1),e.relatedTarget&&ve.current?.contains(e.relatedTarget)||(S?.(e),ae())},t[64]=ae,t[65]=S,t[66]=Me,t[67]=Fe):Fe=t[67];let Ie=Fe,Le;t[68]!==d||t[69]!==pe||t[70]!==ie||t[71]!==me||t[72]!==ge||t[73]!==v||t[74]!==Y||t[75]!==x||t[76]!==T||t[77]!==z?(Le={defaultValue:d,value:z,onValueChange:T,formOnChange:ie,name:x,minChecked:Y,maxChecked:v,loadingDescriptionId:ge,feedbackIds:pe,helperTextIds:me,checkboxGroupRef:_e},t[68]=d,t[69]=pe,t[70]=ie,t[71]=me,t[72]=ge,t[73]=v,t[74]=Y,t[75]=x,t[76]=T,t[77]=z,t[78]=Le):Le=t[78];let Re=xM(Le),ze;t[79]!==se||t[80]!==ee||t[81]!==Se||t[82]!==oe||t[83]!==be?(ze={variant:be,status:oe,disabled:se,softDisabled:Se,readOnly:ee},t[79]=se,t[80]=ee,t[81]=Se,t[82]=oe,t[83]=be,t[84]=ze):ze=t[84];let Be;if(t[85]!==o||t[86]!==xe||t[87]!==U){let e;t[89]!==xe||t[90]!==U?(e=xe&&U(`checkbox-group--inline`),t[89]=xe,t[90]=U,t[91]=e):e=t[91],Be=$(U(`checkbox-group`),e,o),t[85]=o,t[86]=xe,t[87]=U,t[88]=Be}else Be=t[88];let Ve;t[92]===w?Ve=t[93]:(Ve=[w,ke],t[92]=w,t[93]=Ve);let He=Dp(Ve),Ue;t[94]!==je||t[95]!==C?(Ue=[C,je],t[94]=je,t[95]=C,t[96]=Ue):Ue=t[96];let We=Dp(Ue),Ge;t[97]===oe?Ge=t[98]:(Ge=NP(oe),t[97]=oe,t[98]=Ge);let Ke=!!s,qe;t[99]===Ke?qe=t[100]:(qe=tb(Ke),t[99]=Ke,t[100]=qe);let Je=Se||ee||void 0,Ye;t[101]!==r||t[102]!==i||t[103]!==Z||t[104]!==fe||t[105]!==de?(Ye=i??(r===void 0?uj([Z,de??fe]):void 0),t[101]=r,t[102]=i,t[103]=Z,t[104]=fe,t[105]=de,t[106]=Ye):Ye=t[106];let Xe;t[107]!==J.cssVars||t[108]!==N?(Xe={...J.cssVars,...N},t[107]=J.cssVars,t[108]=N,t[109]=Xe):Xe=t[109];let Ze=J.dataAttrs,Qe;t[110]===D?Qe=t[111]:(Qe=[_e,D],t[110]=D,t[111]=Qe);let $e=sy(Qe),et;t[112]!==s||t[113]!==Z||t[114]!==c||t[115]!==U||t[116]!==oe?(et=s!=null&&typeof s!=`boolean`&&(0,q.jsx)(fj,{status:oe,...c,id:Z,className:$(U(`checkbox-group__code`),c?.className),children:s}),t[112]=s,t[113]=Z,t[114]=c,t[115]=U,t[116]=oe,t[117]=et):et=t[117];let tt;t[118]!==se||t[119]!==U||t[120]!==ee||t[121]!==Se||t[122]!==A||t[123]!==j||t[124]!==oe||t[125]!==be?(tt=A&&(0,q.jsx)(`div`,{"data-status":oe,"data-variant":be,"data-disabled":tb(se||Se),"data-readonly":tb(ee),...j,className:$(U(`checkbox-group__start-container`),j?.className),children:A}),t[118]=se,t[119]=U,t[120]=ee,t[121]=Se,t[122]=A,t[123]=j,t[124]=oe,t[125]=be,t[126]=tt):tt=t[126];let nt=se||Se,rt;t[127]===nt?rt=t[128]:(rt=tb(nt),t[127]=nt,t[128]=rt);let it;t[129]===ee?it=t[130]:(it=tb(ee),t[129]=ee,t[130]=it);let at;t[131]!==l?.className||t[132]!==U?(at=$(U(`checkbox-group__container`),l?.className),t[131]=l?.className,t[132]=U,t[133]=at):at=t[133];let ot=l?.onFocus,st;t[134]!==Pe||t[135]!==ot?(st=[ot,Pe],t[134]=Pe,t[135]=ot,t[136]=st):st=t[136];let ct=Dp(st),lt=l?.onBlur,ut;t[137]!==Ie||t[138]!==lt?(ut=[lt,Ie],t[137]=Ie,t[138]=lt,t[139]=ut):ut=t[139];let dt=Dp(ut),ft=l?.ref,pt;t[140]===ft?pt=t[141]:(pt=[ve,ft],t[140]=ft,t[141]=pt);let mt=sy(pt),ht;t[142]===a?ht=t[143]:(ht=(0,q.jsx)(Jv,{children:a}),t[142]=a,t[143]=ht);let gt;t[144]!==l||t[145]!==oe||t[146]!==rt||t[147]!==it||t[148]!==at||t[149]!==ct||t[150]!==dt||t[151]!==mt||t[152]!==ht||t[153]!==be?(gt=(0,q.jsx)(`div`,{"data-status":oe,"data-variant":be,"data-disabled":rt,"data-readonly":it,...l,className:at,onFocus:ct,onBlur:dt,ref:mt,children:ht}),t[144]=l,t[145]=oe,t[146]=rt,t[147]=it,t[148]=at,t[149]=ct,t[150]=dt,t[151]=mt,t[152]=ht,t[153]=be,t[154]=gt):gt=t[154];let _t;t[155]!==se||t[156]!==f||t[157]!==p||t[158]!==U||t[159]!==ee||t[160]!==V||t[161]!==Se||t[162]!==k||t[163]!==oe||t[164]!==be?(_t=(V||f)&&(0,q.jsxs)(`div`,{"data-status":oe,"data-variant":be,"data-disabled":tb(se||Se),"data-readonly":tb(ee),...p,className:$(U(`checkbox-group__end-container`),p?.className),children:[V&&(0,q.jsx)(GE,{color:NP(oe,`neutral`),"data-disabled":tb(se||Se),...k,className:$(U(`checkbox-group__spinner`),k?.className)}),f]}),t[155]=se,t[156]=f,t[157]=p,t[158]=U,t[159]=ee,t[160]=V,t[161]=Se,t[162]=k,t[163]=oe,t[164]=be,t[165]=_t):_t=t[165];let vt;t[166]!==r||t[167]!==ue||t[168]!==J.dataAttrs||t[169]!==te||t[170]!==oe||t[171]!==Be||t[172]!==He||t[173]!==We||t[174]!==Ge||t[175]!==qe||t[176]!==Je||t[177]!==Ye||t[178]!==Xe||t[179]!==$e||t[180]!==et||t[181]!==tt||t[182]!==gt||t[183]!==_t||t[184]!==Ce||t[185]!==be?(vt=(0,q.jsxs)(`div`,{role:`group`,id:ue,className:Be,onMouseDown:He,onFocus:We,"data-status":oe,"data-accent":Ge,"data-variant":be,"data-has-code":qe,"aria-disabled":Je,"aria-label":r,"aria-labelledby":Ye,tabIndex:Ce,style:Xe,...Ze,...te,ref:$e,children:[et,tt,gt,_t]}),t[166]=r,t[167]=ue,t[168]=J.dataAttrs,t[169]=te,t[170]=oe,t[171]=Be,t[172]=He,t[173]=We,t[174]=Ge,t[175]=qe,t[176]=Je,t[177]=Ye,t[178]=Xe,t[179]=$e,t[180]=et,t[181]=tt,t[182]=gt,t[183]=_t,t[184]=Ce,t[185]=be,t[186]=vt):vt=t[186];let yt;t[187]!==G||t[188]!==ge?(yt=ge&&(0,q.jsx)(`span`,{hidden:!0,id:ge,children:G}),t[187]=G,t[188]=ge,t[189]=yt):yt=t[189];let bt;t[190]!==Re||t[191]!==vt||t[192]!==yt?(bt=(0,q.jsxs)(bM,{value:Re,children:[vt,yt]}),t[190]=Re,t[191]=vt,t[192]=yt,t[193]=bt):bt=t[193];let xt;return t[194]!==ze||t[195]!==bt?(xt=(0,q.jsx)(Jv,{field:!1,children:(0,q.jsx)($j,{value:ze,children:bt})}),t[194]=ze,t[195]=bt,t[196]=xt):xt=t[196],xt}function TI(e){let t=(0,Q.c)(42),n,r,i,a,o,s,c,l,u;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9]):({asChild:n,fluid:c,maxWidth:a,gutter:i,leftGutter:l,rightGutter:u,className:r,style:s,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u);let d=c===void 0?`sm`:c,f=l===void 0?i:l,p=u===void 0?i:u,m=ap(),h=hp(),{cssVar:g,cssVarStyle:_}=cp(),v=gp(o),y,b;t[10]===v?(y=t[11],b=t[12]):({marginProps:y,...b}=v,t[10]=v,t[11]=y,t[12]=b);let x;t[13]===h?x=t[14]:(x=e=>typeof e==`number`?h(e):e,t[13]=h,t[14]=x);let S=x,C;t[15]!==f||t[16]!==p?(C={"left-gutter":f,"right-gutter":p},t[15]=f,t[16]=p,t[17]=C):C=t[17];let w;t[18]===S?w=t[19]:(w={"left-gutter":S,"right-gutter":S},t[18]=S,t[19]=w);let T=up(`container`,C,w),E=n?_p:`div`,D;t[20]!==r||t[21]!==d||t[22]!==m?(D=$(m(`container`),d!==!0&&m(`container--fluid-${d}`),r),t[20]=r,t[21]=d,t[22]=m,t[23]=D):D=t[23];let O;t[24]!==g||t[25]!==a?(O=typeof a==`string`&&a!==`xs`&&a in sp?g(`container-max-width-${a}`):typeof a==`number`?`${a}px`:a,t[24]=g,t[25]=a,t[26]=O):O=t[26];let k;t[27]!==_||t[28]!==O?(k=_(`container-max-width`,O),t[27]=_,t[28]=O,t[29]=k):k=t[29];let A;t[30]!==y.cssVars||t[31]!==T.cssVars||t[32]!==s||t[33]!==k?(A={...k,...y.cssVars,...T.cssVars,...s},t[30]=y.cssVars,t[31]=T.cssVars,t[32]=s,t[33]=k,t[34]=A):A=t[34];let j;return t[35]!==E||t[36]!==y.dataAttrs||t[37]!==b||t[38]!==T.dataAttrs||t[39]!==A||t[40]!==D?(j=(0,q.jsx)(E,{className:D,style:A,...y.dataAttrs,...T.dataAttrs,...b}),t[35]=E,t[36]=y.dataAttrs,t[37]=b,t[38]=T.dataAttrs,t[39]=A,t[40]=D,t[41]=j):j=t[41],j}var EI={prefix:`far`,iconName:`calendar`,icon:[448,512,[128197,128198],`f133`,`M120 0c13.3 0 24 10.7 24 24l0 40 160 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 32 0c35.3 0 64 28.7 64 64l0 288c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 128C0 92.7 28.7 64 64 64l32 0 0-40c0-13.3 10.7-24 24-24zm0 112l-56 0c-8.8 0-16 7.2-16 16l0 48 352 0 0-48c0-8.8-7.2-16-16-16l-264 0zM48 224l0 192c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-192-352 0z`]};function DI(e,t,n){let r=Vg(e,t,n?.referenceDate??new Date,n);return isNaN(+r)?null:xh(r,t,n)===e?r:null}function OI(e){let t=(0,Q.c)(9),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{locale:r,format:i}=n,[a]=Mp(),o=r??a.dayPickerLocale,s;t[2]!==o||t[3]!==i||t[4]!==a?(s=i??a.DateInput.format??o.formatLong?.date({width:`short`})??`yyyy-MM-dd`,t[2]=o,t[3]=i,t[4]=a,t[5]=s):s=t[5];let c=s,l;return t[6]!==o||t[7]!==c?(l={parse:(e,t)=>DI(e,t?.format??c,{locale:t?.locale??o,referenceDate:t?.referenceDate}),format:(e,t)=>e==null?``:xh(e,t?.format??c,{locale:t?.locale??o})},t[6]=o,t[7]=c,t[8]=l):l=t[8],l}function kI(e){let t=(0,Q.c)(236),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,ee,U,W;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38],V=t[39],H=t[40],ee=t[41],U=t[42],W=t[43]):({name:k,value:m,defaultValue:h,onValueChange:P,onChange:j,onFocus:M,disabled:g,loading:S,readOnly:R,status:H,showClearButton:ee,endAdornment:_,minDate:E,maxDate:C,minMonth:D,maxMonth:w,minYear:O,maxYear:T,required:B,autoComplete:a,format:y,announcedFormat:n,formatDescription:x,selectedDateDescription:V,form:v,validate:U,validationMode:W,calendarButtonLabel:s,onPopoverOpenChange:N,onBlurToOutside:A,containerProps:p,clearButtonProps:f,calendarButtonTooltipProps:l,calendarButtonProps:c,calendarButtonIconProps:o,calendarProps:u,popoverContentProps:L,className:d,placeholder:I,"aria-disabled":i,"aria-describedby":r,ref:z,...F}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B,t[39]=V,t[40]=H,t[41]=ee,t[42]=U,t[43]=W);let G=ee===void 0?`auto`:ee,K=ap(),[J]=Mp(),te=I??J.DateInput.placeholder,Y;t[44]!==n||t[45]!==J?(Y=n??J.dayPickerLocale?.formatLong.date({width:`long`}),t[44]=n,t[45]=J,t[46]=Y):Y=t[46];let X=Y,ne=x??J.DateInput.formatDescription,re=V??J.DateInput.selectedDateDescription,ie=s??J.DateInput.calendarButtonLabel,{printHidden:ae}=Aj(),oe=S||i===`true`||i===!0,se;t[47]===y?se=t[48]:(se={format:y},t[47]=y,t[48]=se);let{format:ce,parse:le}=OI(se),ue=(0,b.useId)(),Z;t[49]!==ne||t[50]!==ue||t[51]!==K?(Z=ne&&K(`date-input-format-${ue}`),t[49]=ne,t[50]=ue,t[51]=K,t[52]=Z):Z=t[52];let de=Z,fe;t[53]!==h||t[54]!==ce?(fe=h===null||Sm(h)?ce(h):h?.toString()??``,t[53]=h,t[54]=ce,t[55]=fe):fe=t[55];let pe;t[56]!==m||t[57]!==ce?(pe=m===null||Sm(m)?ce(m):m?.toString(),t[56]=m,t[57]=ce,t[58]=pe):pe=t[58];let[me,he]=Ap(fe,pe),ge,_e;t[59]!==me||t[60]!==le?(ge=le(me),_e=ge&&Ch(ge,{representation:`date`}),t[59]=me,t[60]=le,t[61]=ge,t[62]=_e):(ge=t[61],_e=t[62]);let ve=_e,ye=(0,b.useDeferredValue)(me),be;t[63]!==ye||t[64]!==le?(be=le(ye),t[63]=ye,t[64]=le,t[65]=be):be=t[65];let xe=be,Se;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(Se={open:!1,modal:!1},t[66]=Se):Se=t[66];let[Ce,we]=(0,b.useState)(Se),Te=(0,b.useRef)(null),[Ee,De]=(0,b.useState)(null),Oe=(0,b.useRef)(null),ke=(0,b.useRef)(null),Ae=(0,b.useRef)(null),je=(0,b.useRef)(null),Me=(0,b.useRef)(null),{status:Ne,disabled:Pe,setValue:Fe,onChange:Ie,onBlur:Le}=AM(k,ve,U,W),Re=H??Ne,ze=g||Pe,Be;t[67]!==N||t[68]!==Ce.open?(Be=e=>{we(e),Ce.open!==e.open&&N?.(e.open)},t[67]=N,t[68]=Ce.open,t[69]=Be):Be=t[69];let Ve=Be,He;t[70]!==u||t[71]!==Ie||t[72]!==P||t[73]!==le||t[74]!==he?(He=e=>{let t=e.currentTarget.value,n=le(t),r=n&&Ch(n,{representation:`date`});P?.({formattedValue:t,stringValue:r,dateValue:n}),he(t),Ie(r);let i=Te.current;if(!e.defaultPrevented&&n&&i&&!i?.isVisible(n)){let e=Om(n);u?.onMonthChange?.(e),i.setMonth(e)}},t[70]=u,t[71]=Ie,t[72]=P,t[73]=le,t[74]=he,t[75]=He):He=t[75];let Ue=He,We;t[76]===Ve?We=t[77]:(We=()=>{Ve({open:!0,modal:!1})},t[76]=Ve,t[77]=We);let Ge=We,Ke;t[78]===Ve?Ke=t[79]:(Ke=()=>{Ve({open:!0,modal:!0})},t[78]=Ve,t[79]=Ke);let qe=Ke,Je;t[80]!==Ve||t[81]!==Ie||t[82]!==ce||t[83]!==P||t[84]!==he?(Je=e=>{let t=ce(e),n=e&&Ch(e,{representation:`date`});P?.({formattedValue:t,stringValue:n,dateValue:e}),he(t),Ie(n),Ve({open:!1,modal:!1}),ke.current?.focus()},t[80]=Ve,t[81]=Ie,t[82]=ce,t[83]=P,t[84]=he,t[85]=Je):Je=t[85];let Ye=Je,Xe;t[86]===Ce.modal?Xe=t[87]:(Xe=e=>{Ce.modal||e.preventDefault()},t[86]=Ce.modal,t[87]=Xe);let Ze=Xe,Qe;t[88]!==Ve||t[89]!==Ee||t[90]!==Ce.modal?(Qe=e=>{!Ce.modal&&Ee!==e.target&&Ve({open:!1,modal:!1})},t[88]=Ve,t[89]=Ee,t[90]=Ce.modal,t[91]=Qe):Qe=t[91];let $e=Qe,et;t[92]!==Ve||t[93]!==Ce.modal?(et=()=>{Ce.modal&&Ve({open:!1,modal:!1})},t[92]=Ve,t[93]=Ce.modal,t[94]=et):et=t[94];let tt=et,nt;t[95]!==Ve||t[96]!==Ce.modal?(nt=()=>{Ce.modal&&Ve({open:!1,modal:!1})},t[95]=Ve,t[96]=Ce.modal,t[97]=nt):nt=t[97];let rt=nt,it;t[98]!==ge||t[99]!==Le||t[100]!==Ie||t[101]!==ce||t[102]!==me||t[103]!==Ee||t[104]!==A||t[105]!==P||t[106]!==he||t[107]!==ve?(it=e=>{if(!e.relatedTarget||!Ee?.contains(e.relatedTarget)&&!Oe.current?.contains(e.relatedTarget)&&!ke.current?.contains(e.relatedTarget)&&!Ae.current?.contains(e.relatedTarget)&&!je.current?.contains(e.relatedTarget)&&!Me.current?.contains(e.relatedTarget)){let t=ce(ge);t!==me&&(P?.({formattedValue:t,stringValue:ve,dateValue:ge}),he(t),Ie(ve)),A?.(e),Le()}},t[98]=ge,t[99]=Le,t[100]=Ie,t[101]=ce,t[102]=me,t[103]=Ee,t[104]=A,t[105]=P,t[106]=he,t[107]=ve,t[108]=it):it=t[108];let at=it,ot;if(t[109]!==E||t[110]!==D||t[111]!==O){let e=gI(E,D,O);ot=e&&Ch(e,{representation:`date`}),t[109]=E,t[110]=D,t[111]=O,t[112]=ot}else ot=t[112];let st=ot,ct;if(t[113]!==C||t[114]!==w||t[115]!==T){let e=_I(C,w,T);ct=e&&Ch(e,{representation:`date`}),t[113]=C,t[114]=w,t[115]=T,t[116]=ct}else ct=t[116];let lt=ct,ut;t[117]!==Fe||t[118]!==ce||t[119]!==he?(ut=e=>{he(ce(e&&Kg(e))),Fe(e)},t[117]=Fe,t[118]=ce,t[119]=he,t[120]=ut):ut=t[120];let dt=ut;KF(Ee,ve,dt);let ft=ce(ge,{format:X}),pt=re&&ft&&K(`date-input-selected-${ue}`),mt=Ce.open,ht=Ce.modal,gt;t[121]!==d||t[122]!==K?(gt=$(K(`date-input`),d),t[121]=d,t[122]=K,t[123]=gt):gt=t[123];let _t;t[124]!==Ue||t[125]!==j?(_t=[j,Ue],t[124]=Ue,t[125]=j,t[126]=_t):_t=t[126];let vt=Dp(_t),yt;t[127]!==Ge||t[128]!==M?(yt=[M,Ge],t[127]=Ge,t[128]=M,t[129]=yt):yt=t[129];let bt=Dp(yt),xt;t[130]!==c?.className||t[131]!==K||t[132]!==ae?(xt=$(K(`date-input__calendar-button`),ae,c?.className),t[130]=c?.className,t[131]=K,t[132]=ae,t[133]=xt):xt=t[133];let St=c?.onClick,Ct;t[134]!==qe||t[135]!==St?(Ct=[St,qe],t[134]=qe,t[135]=St,t[136]=Ct):Ct=t[136];let wt=c?.onBlur,Tt;t[137]!==at||t[138]!==wt?(Tt=[wt,at],t[137]=at,t[138]=wt,t[139]=Tt):Tt=t[139];let Et=c?.ref,Dt;t[140]===Et?Dt=t[141]:(Dt=[Et,ke],t[140]=Et,t[141]=Dt);let Ot;t[142]!==o||t[143]!==ie?(Ot=(0,q.jsx)(jE,{icon:EI,...o,label:ie}),t[142]=o,t[143]=ie,t[144]=Ot):Ot=t[144];let kt=uj([r,de,pt]),At=Ce.open?`open`:`closed`,jt;t[145]===At?jt=t[146]:(jt={"data-state":At},t[145]=At,t[146]=jt);let Mt;t[147]!==p||t[148]!==jt?(Mt={...jt,...p},t[147]=p,t[148]=jt,t[149]=Mt):Mt=t[149];let Nt=f?.ref,Pt;t[150]===Nt?Pt=t[151]:(Pt=[Nt,Oe],t[150]=Nt,t[151]=Pt);let Ft=sy(Pt),It;t[152]!==f||t[153]!==Ft?(It={...f,ref:Ft},t[152]=f,t[153]=Ft,t[154]=It):It=t[154];let Lt;t[155]===z?Lt=t[156]:(Lt=[De,z],t[155]=z,t[156]=Lt);let Rt;t[157]!==L?.className||t[158]!==K?(Rt=$(K(`date-input__popover`),L?.className),t[157]=L?.className,t[158]=K,t[159]=Rt):Rt=t[159];let zt=L?.onOpenAutoFocus,Bt;t[160]!==Ze||t[161]!==zt?(Bt=[zt,Ze],t[160]=Ze,t[161]=zt,t[162]=Bt):Bt=t[162];let Vt=Dp(Bt),Ht=L?.onEscapeKeyDown,Ut;t[163]!==tt||t[164]!==Ht?(Ut=[Ht,tt],t[163]=tt,t[164]=Ht,t[165]=Ut):Ut=t[165];let Wt=Dp(Ut),Gt=L?.onPointerDownOutside,Kt;t[166]!==rt||t[167]!==Gt?(Kt=[Gt,rt],t[166]=rt,t[167]=Gt,t[168]=Kt):Kt=t[168];let qt=Dp(Kt),Jt=L?.onInteractOutside,Yt;t[169]!==$e||t[170]!==Jt?(Yt=[Jt,$e],t[169]=$e,t[170]=Jt,t[171]=Yt):Yt=t[171];let Xt=Dp(Yt),Zt=L?.onBlur,Qt;t[172]!==at||t[173]!==Zt?(Qt=[Zt,at],t[172]=at,t[173]=Zt,t[174]=Qt):Qt=t[174];let $t=Dp(Qt),en=L?.ref,tn;t[175]===en?tn=t[176]:(tn=[en,Ae],t[175]=en,t[176]=tn);let nn=sy(tn),rn;t[177]!==u?.className||t[178]!==K?(rn=$(K(`date-input__picker`),u?.className),t[177]=u?.className,t[178]=K,t[179]=rn):rn=t[179];let an=ze||oe||R||u?.disabled,on=u?.monthSelectProps,sn=u?.monthSelectProps?.popoverProps,cn;t[180]===sn?cn=t[181]:(cn={...sn,ref:je},t[180]=sn,t[181]=cn);let ln;t[182]!==on||t[183]!==cn?(ln={...on,popoverProps:cn},t[182]=on,t[183]=cn,t[184]=ln):ln=t[184];let un=u?.yearSelectProps,dn=u?.yearSelectProps?.popoverProps,fn;t[185]===dn?fn=t[186]:(fn={...dn,ref:Me},t[185]=dn,t[186]=fn);let pn;t[187]!==un||t[188]!==fn?(pn={...un,popoverProps:fn},t[187]=un,t[188]=fn,t[189]=pn):pn=t[189];let mn=Ce.modal?`status`:void 0,hn=u?.headerLabelProps,gn;t[190]!==mn||t[191]!==hn?(gn={role:mn,...hn},t[190]=mn,t[191]=hn,t[192]=gn):gn=t[192];let _n;t[193]!==u||t[194]!==xe||t[195]!==Ye||t[196]!==C||t[197]!==w||t[198]!==T||t[199]!==E||t[200]!==D||t[201]!==O||t[202]!==rn||t[203]!==an||t[204]!==ln||t[205]!==pn||t[206]!==gn?(_n=(0,q.jsx)(bI,{className:rn,required:!0,...u,selectionMode:`single`,value:xe,onValueChange:Ye,disabled:an,minDate:E,maxDate:C,minMonth:D,maxMonth:w,minYear:O,maxYear:T,apiRef:Te,monthSelectProps:ln,yearSelectProps:pn,headerLabelProps:gn}),t[193]=u,t[194]=xe,t[195]=Ye,t[196]=C,t[197]=w,t[198]=T,t[199]=E,t[200]=D,t[201]=O,t[202]=rn,t[203]=an,t[204]=ln,t[205]=pn,t[206]=gn,t[207]=_n):_n=t[207];let vn;t[208]!==L||t[209]!==Rt||t[210]!==Vt||t[211]!==Wt||t[212]!==qt||t[213]!==Xt||t[214]!==$t||t[215]!==nn||t[216]!==_n?(vn=(0,q.jsx)(Tj,{side:`bottom`,sideOffset:5,showArrow:!1,...L,className:Rt,onOpenAutoFocus:Vt,onEscapeKeyDown:Wt,onPointerDownOutside:qt,onInteractOutside:Xt,onBlur:$t,ref:nn,children:_n}),t[208]=L,t[209]=Rt,t[210]=Vt,t[211]=Wt,t[212]=qt,t[213]=Xt,t[214]=$t,t[215]=nn,t[216]=_n,t[217]=vn):vn=t[217];let yn;t[218]!==ne||t[219]!==de?(yn=de&&(0,q.jsx)(`span`,{hidden:!0,id:de,children:ne}),t[218]=ne,t[219]=de,t[220]=yn):yn=t[220];let bn;t[221]===dt?bn=t[222]:(bn=e=>dt(e.target.value),t[221]=dt,t[222]=bn);let xn=ve??``,Sn;t[223]===Symbol.for(`react.memo_cache_sentinel`)?(Sn=(0,q.jsx)(`input`,{}),t[223]=Sn):Sn=t[223];let Cn;return t[224]!==a||t[225]!==ze||t[226]!==v||t[227]!==lt||t[228]!==st||t[229]!==Ee||t[230]!==k||t[231]!==R||t[232]!==B||t[233]!==bn||t[234]!==xn?(Cn=(0,q.jsx)(QF,{actualElement:Ee,onChange:bn,name:k,type:`date`,value:xn,required:B,disabled:ze,readOnly:R,autoComplete:a,min:st,max:lt,form:v,children:Sn}),t[224]=a,t[225]=ze,t[226]=v,t[227]=lt,t[228]=st,t[229]=Ee,t[230]=k,t[231]=R,t[232]=B,t[233]=bn,t[234]=xn,t[235]=Cn):Cn=t[235],(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(Cj,{open:mt,modal:ht,children:[(0,q.jsx)(wj,{asChild:!0,children:(0,q.jsx)(BP,{className:gt,value:me,placeholder:te,required:B,disabled:ze,loading:S,readOnly:R,status:Re,onChange:vt,onFocus:bt,onBlurToOutside:at,showClearButton:G,endAdornment:(0,q.jsxs)(q.Fragment,{children:[_,(0,q.jsx)(KE,{...l,content:ie,children:(0,q.jsx)(Ej,{children:(0,q.jsx)(VP,{as:`button`,"data-state":void 0,...c,className:xt,onClick:Dp(Ct),onBlur:Dp(Tt),"aria-describedby":uj([pt,c?.[`aria-describedby`]]),ref:sy(Dt),children:Ot})})})]}),autoComplete:`off`,"aria-disabled":i,"aria-describedby":kt,containerProps:Mt,clearButtonProps:It,controlRef:sy(Lt),...F})}),vn]}),yn,pt&&(0,q.jsx)(`span`,{hidden:!0,id:pt,children:re(ft)}),Cn]})}function AI(e){let t=(0,Q.c)(372),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,ee,U,W,G,K,J,te,Y,X,ne,re,ie,ae,oe,se,ce,le,ue,Z,de,fe,pe;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38],V=t[39],H=t[40],ee=t[41],U=t[42],W=t[43],G=t[44],K=t[45],J=t[46],te=t[47],Y=t[48],X=t[49],ne=t[50],re=t[51],ie=t[52],ae=t[53],oe=t[54],se=t[55],ce=t[56],le=t[57],ue=t[58],Z=t[59],de=t[60],fe=t[61],pe=t[62]):({name:F,variant:pe,status:ie,code:f,value:m,defaultValue:h,onValueChange:R,required:ee,disabled:oe,readOnly:se,minDate:M,maxDate:k,minMonth:N,maxMonth:A,minYear:P,maxYear:j,loading:D,loadingDescription:O,showSpinners:ce,showStartSpinner:le,showEndSpinner:ue,align:n,startAdornment:K,startMiddleAdornment:ne,endMiddleAdornment:S,endAdornment:g,showClearButtons:Z,clearButtonsLabel:d,format:T,announcedFormat:r,formatDescription:E,startInputLabel:Y,endInputLabel:y,selectedDateDescription:U,selectedDateRangeDescription:W,calendarButtonLabel:o,placeholder:B,startPlaceholder:re,endPlaceholder:C,className:u,onPopoverOpenChange:L,onBlurToOutside:I,form:w,validate:de,validationMode:fe,codeProps:p,popoverAnchorProps:V,startContainerProps:te,endContainerProps:v,startInputProps:X,endInputProps:x,startClearButtonProps:J,endClearButtonProps:_,spinnerProps:G,calendarButtonTooltipProps:c,calendarButtonProps:s,calendarButtonIconProps:a,calendarProps:l,popoverContentProps:H,"aria-disabled":i,style:ae,...z}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B,t[39]=V,t[40]=H,t[41]=ee,t[42]=U,t[43]=W,t[44]=G,t[45]=K,t[46]=J,t[47]=te,t[48]=Y,t[49]=X,t[50]=ne,t[51]=re,t[52]=ie,t[53]=ae,t[54]=oe,t[55]=se,t[56]=ce,t[57]=le,t[58]=ue,t[59]=Z,t[60]=de,t[61]=fe,t[62]=pe);let me=oe!==void 0&&oe,he=se!==void 0&&se,ge=ce===void 0?D:ce,_e=le===void 0?ge:le,ve=ue===void 0?ge:ue,ye=Z===void 0?`auto`:Z,be=ap(),[xe]=Mp(),Se=O??xe.Input.loadingDescription,Ce=d??xe.Input.clearButtonLabel,we=B??xe.DateInput.placeholder,Te;t[63]!==r||t[64]!==xe?(Te=r??xe.dayPickerLocale?.formatLong.date({width:`long`}),t[63]=r,t[64]=xe,t[65]=Te):Te=t[65];let Ee=Te,De=E??xe.DateInput.formatDescription,Oe=Y??xe.DateRangeInput.startInputLabel,ke=y??xe.DateRangeInput.endInputLabel,Ae=U??xe.DateInput.selectedDateDescription,je=W??xe.DateRangeInput.selectedDateRangeDescription,Me=o??xe.DateRangeInput.calendarButtonLabel??xe.DateInput.calendarButtonLabel,Ne;t[66]===T?Ne=t[67]:(Ne={format:T},t[66]=T,t[67]=Ne);let{format:Pe,parse:Fe}=OI(Ne),Ie=qv(),Le=pe??(Ie?`cell`:`default`),Re;t[68]!==h||t[69]!==Pe?(Re=h&&(h.start===null||Sm(h.start))?{start:Pe(h.start),end:Pe(h.end)}:h??{start:``,end:``},t[68]=h,t[69]=Pe,t[70]=Re):Re=t[70];let ze;t[71]!==m||t[72]!==Pe?(ze=m&&(m.start===null||Sm(m.start))?{start:Pe(m.start),end:Pe(m.end)}:m,t[71]=m,t[72]=Pe,t[73]=ze):ze=t[73];let[Be,Ve]=Ap(Re,ze),He={start:Fe(Be.start),end:Fe(Be.end)},Ue={start:He.start&&Ch(He.start,{representation:`date`}),end:He.end&&Ch(He.end,{representation:`date`})},We=(0,b.useDeferredValue)(Be),Ge;t[74]!==We.start||t[75]!==Fe?(Ge=Fe(We.start),t[74]=We.start,t[75]=Fe,t[76]=Ge):Ge=t[76];let Ke;t[77]!==We.end||t[78]!==Fe?(Ke=Fe(We.end),t[77]=We.end,t[78]=Fe,t[79]=Ke):Ke=t[79];let qe;t[80]!==Ge||t[81]!==Ke?(qe={start:Ge,end:Ke},t[80]=Ge,t[81]=Ke,t[82]=qe):qe=t[82];let Je=qe,[Ye,Xe]=(0,b.useState)(`start`),Ze;t[83]===Symbol.for(`react.memo_cache_sentinel`)?(Ze={open:!1,modal:!1},t[83]=Ze):Ze=t[83];let[Qe,$e]=(0,b.useState)(Ze),et=(0,b.useRef)(null),tt=(0,b.useRef)(null),nt=(0,b.useRef)(null),[rt,it]=(0,b.useState)(null),[at,ot]=(0,b.useState)(null),st=(0,b.useRef)(null),ct=(0,b.useRef)(null),lt=(0,b.useRef)(null),ut=(0,b.useRef)(null),dt=(0,b.useRef)(null),ft=(0,b.useRef)(null),{status:pt,disabled:mt,setValue:ht,onChange:gt,onBlur:_t}=AM(F,Ue,de,fe),vt=ie??pt,yt=me||mt,{printHidden:bt}=Aj(),xt=X?.id,St;t[84]!==f||t[85]!==p||t[86]!==ee||t[87]!==vt||t[88]!==xt?(St={id:xt,tagName:`INPUT`,required:ee,status:vt,code:f,codeProps:p},t[84]=f,t[85]=p,t[86]=ee,t[87]=vt,t[88]=xt,t[89]=St):St=t[89];let{generatedId:Ct,controlId:wt,codeId:Tt,labelId:Et,dataTableColumnLabelId:Dt,feedbackIds:Ot,helperTextIds:kt}=MP(St),At=xj(),jt;t[90]!==Ct||t[91]!==be||t[92]!==Oe?(jt=Oe&&be(`control-start-label-${Ct}`),t[90]=Ct,t[91]=be,t[92]=Oe,t[93]=jt):jt=t[93];let Mt=jt,Nt;t[94]!==ke||t[95]!==Ct||t[96]!==be?(Nt=ke&&be(`control-end-label-${Ct}`),t[94]=ke,t[95]=Ct,t[96]=be,t[97]=Nt):Nt=t[97];let Pt=Nt,Ft;t[98]!==Ct||t[99]!==D||t[100]!==Se||t[101]!==be?(Ft=D&&Se&&be(`control-loading-${Ct}`),t[98]=Ct,t[99]=D,t[100]=Se,t[101]=be,t[102]=Ft):Ft=t[102];let It=Ft,Lt=De&&typeof De!=`boolean`?be(`control-format-${Ct}`):void 0,Rt=yt||X?.disabled,zt=yt||x?.disabled,Bt=Rt&&zt,Vt=i===`true`||i===!0,Ht=D||Vt||X?.[`aria-disabled`]===`true`||X?.[`aria-disabled`]===!0,Ut=D||Vt||x?.[`aria-disabled`]===`true`||x?.[`aria-disabled`]===!0,Wt=Ht&&Ut,Gt=he||X?.readOnly,Kt=he||x?.readOnly,qt=Gt&&Kt,Jt;t[103]!==L||t[104]!==Qe.open||t[105]!==Ye?(Jt=e=>{$e(e),Qe.open!==e.open&&L?.(e.open,Ye)},t[103]=L,t[104]=Qe.open,t[105]=Ye,t[106]=Jt):Jt=t[106];let Yt=Jt,Xt=e=>{let t=e.currentTarget.value,n=Fe(t),r={start:t,end:Be.end},i={start:n,end:He.end},a={start:i.start&&Ch(i.start,{representation:`date`}),end:i.end&&Ch(i.end,{representation:`date`})};R?.({formattedValue:r,stringValue:a,dateValue:i}),Ve(r),gt(a);let o=et.current;if(!e.defaultPrevented&&n&&o&&!o.isVisible(n)){let e=Om(n);l?.onMonthChange?.(e),o.setMonth(e)}},Zt=e=>{let t=e.currentTarget.value,n=Fe(t),r={start:Be.start,end:t},i={start:He.start,end:n},a={start:i.start&&Ch(i.start,{representation:`date`}),end:i.end&&Ch(i.end,{representation:`date`})};R?.({formattedValue:r,stringValue:a,dateValue:i}),Ve(r),gt(a);let o=et.current;if(!e.defaultPrevented&&n&&o&&!o.isVisible(n)){let e=om(Om(n),-(l?.numberOfMonths??1)+1);l?.onMonthChange?.(e),o.setMonth(e)}},Qt;t[107]!==Yt||t[108]!==At?(Qt=e=>t=>{At(!0),Xe(e),t.defaultPrevented||Yt({open:!0,modal:!1})},t[107]=Yt,t[108]=At,t[109]=Qt):Qt=t[109];let $t=Qt,en=jI,tn;t[110]!==at||t[111]!==be||t[112]!==rt?(tn=e=>t=>{let n=t.target,r=e===`start`?rt:at;if(r&&!r.disabled&&!n.closest(`input, select, textarea, button, a`)){let e=n.closest(`.${be(`date-range-input`)} ~ *`)?r.value.length:0;requestAnimationFrame(()=>kj(()=>r.setSelectionRange(e,e),()=>r.focus()))}},t[110]=at,t[111]=be,t[112]=rt,t[113]=tn):tn=t[113];let nn=tn,rn;t[114]===Yt?rn=t[115]:(rn=()=>{Xe(`start`),Yt({open:!0,modal:!0})},t[114]=Yt,t[115]=rn);let an=rn,on=e=>{let t={start:Pe(e.start),end:Pe(e.end)},n={start:e.start&&Ch(e.start,{representation:`date`}),end:e.end&&Ch(e.end,{representation:`date`})};R?.({formattedValue:t,stringValue:n,dateValue:e}),Ve(t),gt(n),Ye===`start`?(Xe(`end`),Qe.modal||at?.focus()):e.start?e.end&&(Yt({open:!1,modal:!1}),lt.current?.focus()):(Xe(`start`),Qe.modal||rt?.focus())},sn;t[116]===Qe.modal?sn=t[117]:(sn=e=>{Qe.modal||e.preventDefault()},t[116]=Qe.modal,t[117]=sn);let cn=sn,ln;t[118]!==Yt||t[119]!==at||t[120]!==Qe.modal||t[121]!==rt?(ln=e=>{!Qe.modal&&rt!==e.target&&at!==e.target&&Yt({open:!1,modal:!1})},t[118]=Yt,t[119]=at,t[120]=Qe.modal,t[121]=rt,t[122]=ln):ln=t[122];let un=ln,dn;t[123]!==Yt||t[124]!==Qe.modal?(dn=()=>{Qe.modal&&Yt({open:!1,modal:!1})},t[123]=Yt,t[124]=Qe.modal,t[125]=dn):dn=t[125];let fn=dn,pn;t[126]!==Yt||t[127]!==Qe.modal?(pn=()=>{Qe.modal&&Yt({open:!1,modal:!1})},t[126]=Yt,t[127]=Qe.modal,t[128]=pn):pn=t[128];let mn=pn,hn=e=>{if(At(!1),!e.relatedTarget||!rt?.contains(e.relatedTarget)&&!at?.contains(e.relatedTarget)&&!st.current?.contains(e.relatedTarget)&&!ct.current?.contains(e.relatedTarget)&&!lt.current?.contains(e.relatedTarget)&&!ut.current?.contains(e.relatedTarget)&&!dt.current?.contains(e.relatedTarget)&&!ft.current?.contains(e.relatedTarget)){let t=Pe(He.start),n=Pe(He.end);if(t!==Be.start||n!==Be.end){let e={start:t,end:n};R?.({formattedValue:e,stringValue:Ue,dateValue:He}),Ve(e)}I?.(e),_t()}},gn=!Rt&&!Ht&&!Gt&&(ye===!0||ye===`auto`&&Be.start!==``),_n=!zt&&!Ut&&!Kt&&(ye===!0||ye===`auto`&&Be.end!==``),vn=gp(z),yn,bn;t[129]===vn?(yn=t[130],bn=t[131]):({marginProps:yn,...bn}=vn,t[129]=vn,t[130]=yn,t[131]=bn);let xn;t[132]===n?xn=t[133]:(xn={align:n},t[132]=n,t[133]=xn);let{textProps:Sn}=DE(xn),Cn=Pe(He.start,{format:Ee}),wn=Pe(He.end,{format:Ee}),Tn=Ae&&Cn&&be(`date-range-input-start-selected-${Ct}`),En=Ae&&wn&&be(`date-range-input-end-selected-${Ct}`),Dn=je&&(Cn||wn)&&be(`date-range-input-selected-${Ct}`),On=gI(M,N,P),kn=On&&Ch(On,{representation:`date`}),An;An=kn?He.start?Ch(ym([He.start,Kg(kn)]),{representation:`date`}):kn:Ue.start??void 0;let jn;if(t[134]!==k||t[135]!==A||t[136]!==j){let e=_I(k,A,j);jn=e&&Ch(e,{representation:`date`}),t[134]=k,t[135]=A,t[136]=j,t[137]=jn}else jn=t[137];let Mn=jn,Nn=e=>{Ve({start:Pe(e&&Kg(e)),end:Be.end}),ht({start:e,end:Ue.end})},Pn=e=>{Ve({start:Be.start,end:Pe(e&&Kg(e))}),ht({start:Ue.start,end:e})};KF(rt,Ue.start,Nn),KF(at,Ue.end,Pn);let Fn=J?.onClick,In;t[138]===rt?In=t[139]:(In=en(rt),t[138]=rt,t[139]=In);let Ln;t[140]!==Fn||t[141]!==In?(Ln=[Fn,In],t[140]=Fn,t[141]=In,t[142]=Ln):Ln=t[142];let Rn;t[143]===Symbol.for(`react.memo_cache_sentinel`)?(Rn={checkDefaultPrevented:!0},t[143]=Rn):Rn=t[143];let zn=Dp(Ln,Rn),Bn=_?.onClick,Vn;t[144]===at?Vn=t[145]:(Vn=en(at),t[144]=at,t[145]=Vn);let Hn;t[146]!==Bn||t[147]!==Vn?(Hn=[Bn,Vn],t[146]=Bn,t[147]=Vn,t[148]=Hn):Hn=t[148];let Un;t[149]===Symbol.for(`react.memo_cache_sentinel`)?(Un={checkDefaultPrevented:!0},t[149]=Un):Un=t[149];let Wn=Dp(Hn,Un),Gn=sy([st,J?.ref]),Kn=sy([ct,_?.ref]),qn;t[150]!==qt||t[151]!==Wt||t[152]!==yt||t[153]!==vt||t[154]!==Le?(qn={variant:Le,status:vt,disabled:yt,softDisabled:Wt,readOnly:qt},t[150]=qt,t[151]=Wt,t[152]=yt,t[153]=vt,t[154]=Le,t[155]=qn):qn=t[155];let Jn;t[156]!==u||t[157]!==be?(Jn=$(be(`date-range-input__root`),u),t[156]=u,t[157]=be,t[158]=Jn):Jn=t[158];let Yn;t[159]===vt?Yn=t[160]:(Yn=NP(vt),t[159]=vt,t[160]=Yn);let Xn=Bt||Wt,Zn;t[161]===Xn?Zn=t[162]:(Zn=tb(Xn),t[161]=Xn,t[162]=Zn);let Qn=he||X?.readOnly&&x?.readOnly,$n;t[163]===Qn?$n=t[164]:($n=tb(Qn),t[163]=Qn,t[164]=$n);let er=!!f,tr;t[165]===er?tr=t[166]:(tr=tb(er),t[165]=er,t[166]=tr);let nr;t[167]!==yn.cssVars||t[168]!==ae?(nr={...yn.cssVars,...ae},t[167]=yn.cssVars,t[168]=ae,t[169]=nr):nr=t[169];let rr=yn.dataAttrs,ir;t[170]!==f||t[171]!==Tt||t[172]!==p||t[173]!==be?(ir=f!=null&&typeof f!=`boolean`&&(0,q.jsx)(fj,{...p,id:Tt,className:$(be(`date-range-input__code`),p?.className),children:f}),t[170]=f,t[171]=Tt,t[172]=p,t[173]=be,t[174]=ir):ir=t[174];let ar=Qe.open,or=Qe.modal,sr;t[175]===vt?sr=t[176]:(sr=NP(vt),t[175]=vt,t[176]=sr);let cr=Bt||Wt,lr;t[177]===cr?lr=t[178]:(lr=tb(cr),t[177]=cr,t[178]=lr);let ur=he||X?.readOnly&&x?.readOnly,dr;t[179]===ur?dr=t[180]:(dr=tb(ur),t[179]=ur,t[180]=dr);let fr;t[181]!==V?.className||t[182]!==be?(fr=$(be(`date-range-input__container`),be(`date-range-input__popover-anchor`),V?.className),t[181]=V?.className,t[182]=be,t[183]=fr):fr=t[183];let pr=!Rt&&Qe.open&&Ye===`start`,mr;t[184]===pr?mr=t[185]:(mr=tb(pr),t[184]=pr,t[185]=mr);let hr;t[186]===vt?hr=t[187]:(hr=NP(vt),t[186]=vt,t[187]=hr);let gr=Bt||Wt,_r;t[188]===gr?_r=t[189]:(_r=tb(gr),t[188]=gr,t[189]=_r);let vr;t[190]===qt?vr=t[191]:(vr=tb(qt),t[190]=qt,t[191]=vr);let yr;t[192]!==be||t[193]!==te?.className?(yr=$(be(`date-range-input__container`),be(`date-range-input__container--start`),te?.className),t[192]=be,t[193]=te?.className,t[194]=yr):yr=t[194];let br=te?.onPointerDown,xr;t[195]===nn?xr=t[196]:(xr=nn(`start`),t[195]=nn,t[196]=xr);let Sr;t[197]!==br||t[198]!==xr?(Sr=[br,xr],t[197]=br,t[198]=xr,t[199]=Sr):Sr=t[199];let Cr=Dp(Sr),wr=te?.ref,Tr;t[200]===wr?Tr=t[201]:(Tr=[tt,wr],t[200]=wr,t[201]=Tr);let Er=sy(Tr),Dr;t[202]===Ht?Dr=t[203]:(Dr=tb(Ht),t[202]=Ht,t[203]=Dr);let Or;t[204]!==be||t[205]!==X?.className?(Or=$(be(`date-range-input`),be(`date-range-input--start`),X?.className),t[204]=be,t[205]=X?.className,t[206]=Or):Or=t[206];let kr=Be.start,Ar=Dp([X?.onChange,Xt]),jr=X?.onFocus,Mr;t[207]===$t?Mr=t[208]:(Mr=$t(`start`),t[207]=$t,t[208]=Mr);let Nr;t[209]!==jr||t[210]!==Mr?(Nr=[jr,Mr],t[209]=jr,t[210]=Mr,t[211]=Nr):Nr=t[211];let Pr=X?.style,Fr;t[212]!==Pr||t[213]!==Sn.cssVars?(Fr={...Sn.cssVars,...Pr},t[212]=Pr,t[213]=Sn.cssVars,t[214]=Fr):Fr=t[214];let Ir;t[215]!==Tt||t[216]!==Dt||t[217]!==Et||t[218]!==Mt||t[219]!==X?(Ir=X?.[`aria-labelledby`]??(X?.[`aria-label`]===void 0?uj([Tt,Et??Dt,Mt]):void 0),t[215]=Tt,t[216]=Dt,t[217]=Et,t[218]=Mt,t[219]=X,t[220]=Ir):Ir=t[220];let Lr=X?.ref,Rr;t[221]===Lr?Rr=t[222]:(Rr=[it,Lr],t[221]=Lr,t[222]=Rr);let zr;t[223]!==Ce||t[224]!==zn||t[225]!==Gn||t[226]!==gn||t[227]!==be||t[228]!==bt||t[229]!==J?(zr=gn&&(0,q.jsx)(YE,{size:`sm`,label:Ce,tabIndex:-1,...J,className:$(be(`date-range-input__clear-button`),be(`date-range-input__clear-button--start`),bt,J?.className),onClick:zn,ref:Gn}),t[223]=Ce,t[224]=zn,t[225]=Gn,t[226]=gn,t[227]=be,t[228]=bt,t[229]=J,t[230]=zr):zr=t[230];let Br;t[231]!==be||t[232]!==_e||t[233]!==G||t[234]!==Rt||t[235]!==Ht||t[236]!==vt?(Br=_e&&(0,q.jsx)(GE,{color:NP(vt,`neutral`),"data-disabled":tb(Rt||Ht),...G,className:$(be(`date-range-input__spinner`),be(`date-range-input__spinner--start`),G?.className)}),t[231]=be,t[232]=_e,t[233]=G,t[234]=Rt,t[235]=Ht,t[236]=vt,t[237]=Br):Br=t[237];let Vr;t[238]===be?Vr=t[239]:(Vr=$(be(`date-range-input__arrow`)),t[238]=be,t[239]=Vr);let Hr;t[240]===Symbol.for(`react.memo_cache_sentinel`)?(Hr=(0,q.jsx)(jE,{icon:Fy}),t[240]=Hr):Hr=t[240];let Ur;t[241]===Vr?Ur=t[242]:(Ur=(0,q.jsx)(VP,{className:Vr,children:Hr}),t[241]=Vr,t[242]=Ur);let Wr=!zt&&Qe.open&&Ye===`end`,Gr;t[243]===Wr?Gr=t[244]:(Gr=tb(Wr),t[243]=Wr,t[244]=Gr);let Kr;t[245]===vt?Kr=t[246]:(Kr=NP(vt),t[245]=vt,t[246]=Kr);let qr=Bt||Wt,Jr;t[247]===qr?Jr=t[248]:(Jr=tb(qr),t[247]=qr,t[248]=Jr);let Yr;t[249]===qt?Yr=t[250]:(Yr=tb(qt),t[249]=qt,t[250]=Yr);let Xr;t[251]!==v?.className||t[252]!==be?(Xr=$(be(`date-range-input__container`),be(`date-range-input__container--end`),v?.className),t[251]=v?.className,t[252]=be,t[253]=Xr):Xr=t[253];let Zr=v?.onPointerDown,Qr;t[254]===nn?Qr=t[255]:(Qr=nn(`end`),t[254]=nn,t[255]=Qr);let $r;t[256]!==Zr||t[257]!==Qr?($r=[Zr,Qr],t[256]=Zr,t[257]=Qr,t[258]=$r):$r=t[258];let ei=Dp($r),ti=v?.ref,ni;t[259]===ti?ni=t[260]:(ni=[nt,ti],t[259]=ti,t[260]=ni);let ri=sy(ni),ii;t[261]===Ut?ii=t[262]:(ii=tb(Ut),t[261]=Ut,t[262]=ii);let ai;t[263]!==x?.className||t[264]!==be?(ai=$(be(`date-range-input`),be(`date-range-input--end`),x?.className),t[263]=x?.className,t[264]=be,t[265]=ai):ai=t[265];let oi=Be.end,si=Dp([x?.onChange,Zt]),ci=x?.onFocus,li;t[266]===$t?li=t[267]:(li=$t(`end`),t[266]=$t,t[267]=li);let ui;t[268]!==ci||t[269]!==li?(ui=[ci,li],t[268]=ci,t[269]=li,t[270]=ui):ui=t[270];let di=x?.style,fi;t[271]!==di||t[272]!==Sn.cssVars?(fi={...Sn.cssVars,...di},t[271]=di,t[272]=Sn.cssVars,t[273]=fi):fi=t[273];let pi;t[274]!==Tt||t[275]!==Dt||t[276]!==Pt||t[277]!==x||t[278]!==Et?(pi=x?.[`aria-labelledby`]??(x?.[`aria-label`]===void 0?uj([Tt,Et??Dt,Pt]):void 0),t[274]=Tt,t[275]=Dt,t[276]=Pt,t[277]=x,t[278]=Et,t[279]=pi):pi=t[279];let mi=x?.ref,hi;t[280]===mi?hi=t[281]:(hi=[ot,mi],t[280]=mi,t[281]=hi);let gi;t[282]!==Ce||t[283]!==Wn||t[284]!==Kn||t[285]!==_||t[286]!==_n||t[287]!==be||t[288]!==bt?(gi=_n&&(0,q.jsx)(YE,{size:`sm`,label:Ce,tabIndex:-1,..._,className:$(be(`date-range-input__clear-button`),be(`date-range-input__clear-button--end`),bt,_?.className),onClick:Wn,ref:Kn}),t[282]=Ce,t[283]=Wn,t[284]=Kn,t[285]=_,t[286]=_n,t[287]=be,t[288]=bt,t[289]=gi):gi=t[289];let _i;t[290]!==zt||t[291]!==Ut||t[292]!==be||t[293]!==ve||t[294]!==G||t[295]!==vt?(_i=ve&&(0,q.jsx)(GE,{color:NP(vt,`neutral`),"data-disabled":tb(zt||Ut),...G,className:$(be(`date-range-input__spinner`),be(`date-range-input__spinner--end`),G?.className)}),t[290]=zt,t[291]=Ut,t[292]=be,t[293]=ve,t[294]=G,t[295]=vt,t[296]=_i):_i=t[296];let vi;t[297]!==s?.className||t[298]!==be||t[299]!==bt?(vi=$(be(`date-range-input__calendar-button`),bt,s?.className),t[297]=s?.className,t[298]=be,t[299]=bt,t[300]=vi):vi=t[300];let yi=s?.onClick,bi;t[301]!==an||t[302]!==yi?(bi=[yi,an],t[301]=an,t[302]=yi,t[303]=bi):bi=t[303];let xi;t[304]!==a||t[305]!==Me?(xi=(0,q.jsx)(jE,{icon:EI,...a,label:Me}),t[304]=a,t[305]=Me,t[306]=xi):xi=t[306];let Si;t[307]!==H?.className||t[308]!==be?(Si=$(be(`date-range-input__popover`),H?.className),t[307]=H?.className,t[308]=be,t[309]=Si):Si=t[309];let Ci=H?.onOpenAutoFocus,wi;t[310]!==cn||t[311]!==Ci?(wi=[Ci,cn],t[310]=cn,t[311]=Ci,t[312]=wi):wi=t[312];let Ti=Dp(wi),Ei=H?.onEscapeKeyDown,Di;t[313]!==fn||t[314]!==Ei?(Di=[Ei,fn],t[313]=fn,t[314]=Ei,t[315]=Di):Di=t[315];let Oi=Dp(Di),ki=H?.onPointerDownOutside,Ai;t[316]!==mn||t[317]!==ki?(Ai=[ki,mn],t[316]=mn,t[317]=ki,t[318]=Ai):Ai=t[318];let ji=Dp(Ai),Mi=H?.onInteractOutside,Ni;t[319]!==un||t[320]!==Mi?(Ni=[Mi,un],t[319]=un,t[320]=Mi,t[321]=Ni):Ni=t[321];let Pi=Dp(Ni),Fi=Dp([H?.onBlur,hn]),Ii=sy([ut,H?.ref]),Li;t[322]!==l?.className||t[323]!==be?(Li=$(be(`date-range-input__picker`),l?.className),t[322]=l?.className,t[323]=be,t[324]=Li):Li=t[324];let Ri=Qe.modal?`status`:void 0,zi=l?.headerLabelProps,Bi;t[325]!==Ri||t[326]!==zi?(Bi={role:Ri,...zi},t[325]=Ri,t[326]=zi,t[327]=Bi):Bi=t[327];let Vi;t[328]!==Oe||t[329]!==Mt?(Vi=Mt&&(0,q.jsx)(`span`,{hidden:!0,id:Mt,children:Oe}),t[328]=Oe,t[329]=Mt,t[330]=Vi):Vi=t[330];let Hi;t[331]!==ke||t[332]!==Pt?(Hi=Pt&&(0,q.jsx)(`span`,{hidden:!0,id:Pt,children:ke}),t[331]=ke,t[332]=Pt,t[333]=Hi):Hi=t[333];let Ui;t[334]!==Se||t[335]!==It?(Ui=It&&(0,q.jsx)(`span`,{hidden:!0,id:It,children:Se}),t[334]=Se,t[335]=It,t[336]=Ui):Ui=t[336];let Wi;t[337]!==wn||t[338]!==Cn||t[339]!==je||t[340]!==Dn?(Wi=Dn&&(0,q.jsx)(`span`,{hidden:!0,id:Dn,children:je({start:Cn,end:wn})}),t[337]=wn,t[338]=Cn,t[339]=je,t[340]=Dn,t[341]=Wi):Wi=t[341];let Gi;t[342]===Nn?Gi=t[343]:(Gi=e=>Nn(e.target.value),t[342]=Nn,t[343]=Gi);let Ki=X?.name??F,qi=Ue.start??``,Ji=ee||X?.required,Yi=Ht||Gt,Xi=X?.autoComplete,Zi;t[344]===Symbol.for(`react.memo_cache_sentinel`)?(Zi=(0,q.jsx)(`input`,{}),t[344]=Zi):Zi=t[344];let Qi;t[345]!==w||t[346]!==Mn||t[347]!==kn||t[348]!==Rt||t[349]!==rt||t[350]!==Gi||t[351]!==Ki||t[352]!==qi||t[353]!==Ji||t[354]!==Yi||t[355]!==Xi?(Qi=(0,q.jsx)(QF,{actualElement:rt,onChange:Gi,name:Ki,type:`date`,value:qi,required:Ji,disabled:Rt,readOnly:Yi,autoComplete:Xi,min:kn,max:Mn,form:w,children:Zi}),t[345]=w,t[346]=Mn,t[347]=kn,t[348]=Rt,t[349]=rt,t[350]=Gi,t[351]=Ki,t[352]=qi,t[353]=Ji,t[354]=Yi,t[355]=Xi,t[356]=Qi):Qi=t[356];let $i;t[357]===Pn?$i=t[358]:($i=e=>Pn(e.target.value),t[357]=Pn,t[358]=$i);let ea=x?.name??F,ta=Ue.end??``,na=ee||x?.required,ra=Ut||Kt,ia=x?.autoComplete,aa;t[359]===Symbol.for(`react.memo_cache_sentinel`)?(aa=(0,q.jsx)(`input`,{}),t[359]=aa):aa=t[359];let oa;return t[360]!==zt||t[361]!==at||t[362]!==w||t[363]!==An||t[364]!==Mn||t[365]!==$i||t[366]!==ea||t[367]!==ta||t[368]!==na||t[369]!==ra||t[370]!==ia?(oa=(0,q.jsx)(QF,{actualElement:at,onChange:$i,name:ea,type:`date`,value:ta,required:na,disabled:zt,readOnly:ra,autoComplete:ia,min:An,max:Mn,form:w,children:aa}),t[360]=zt,t[361]=at,t[362]=w,t[363]=An,t[364]=Mn,t[365]=$i,t[366]=ea,t[367]=ta,t[368]=na,t[369]=ra,t[370]=ia,t[371]=oa):oa=t[371],(0,q.jsx)(Jv,{field:!1,children:(0,q.jsxs)($j,{value:qn,children:[(0,q.jsxs)(`div`,{className:Jn,"data-status":vt,"data-accent":Yn,"data-variant":Le,"data-disabled":Zn,"data-readonly":$n,"data-has-code":tr,style:nr,...rr,...bn,children:[ir,(0,q.jsxs)(Cj,{open:ar,modal:or,children:[(0,q.jsxs)(wj,{"data-status":vt,"data-accent":sr,"data-variant":Le,"data-disabled":lr,"data-readonly":dr,...V,className:fr,children:[K,(0,q.jsxs)(`div`,{"data-focused":mr,"data-status":vt,"data-accent":hr,"data-variant":Le,"data-disabled":_r,"data-readonly":vr,...te,className:yr,onPointerDown:Cr,ref:Er,children:[(0,q.jsx)(`input`,{...X,name:void 0,id:wt,"data-disabled":Dr,"data-status":vt,"data-variant":Le,className:Or,value:kr,placeholder:X?.placeholder??re??we,required:ee||X?.required,disabled:Rt,readOnly:Ht||Gt,onChange:Ar,onFocus:Dp(Nr),onBlur:Dp([X?.onBlur,hn]),style:Fr,autoComplete:`off`,...Sn.dataAttrs,"aria-invalid":vt===`invalid`||void 0,"aria-labelledby":Ir,"aria-describedby":uj([It,Ot,X?.[`aria-describedby`],kt,Lt,Tn]),ref:sy(Rr)}),zr,Br]}),ne,Ur,S,(0,q.jsxs)(`div`,{"data-focused":Gr,"data-status":vt,"data-accent":Kr,"data-variant":Le,"data-disabled":Jr,"data-readonly":Yr,...v,className:Xr,onPointerDown:ei,ref:ri,children:[(0,q.jsx)(`input`,{...x,name:void 0,"data-disabled":ii,"data-status":vt,"data-variant":Le,className:ai,value:oi,placeholder:x?.placeholder??C??we,required:ee||x?.required,disabled:zt,readOnly:Ut||Kt,onChange:si,onFocus:Dp(ui),onBlur:Dp([x?.onBlur,hn]),style:fi,autoComplete:`off`,...Sn.dataAttrs,"aria-invalid":vt===`invalid`||void 0,"aria-labelledby":pi,"aria-describedby":uj([It,Ot,x?.[`aria-describedby`],kt,Lt,En]),ref:sy(hi)}),gi,_i]}),g,(0,q.jsx)(KE,{...c,content:Me,children:(0,q.jsx)(Ej,{children:(0,q.jsx)(VP,{as:`button`,"data-state":void 0,...s,className:vi,onClick:Dp(bi),onBlur:Dp([s?.onBlur,hn]),"aria-describedby":uj([Dn,s?.[`aria-describedby`]]),ref:sy([s?.ref,lt]),children:xi})})})]}),(0,q.jsx)(Tj,{...H,className:Si,side:H?.side??`bottom`,sideOffset:H?.sideOffset??5,showArrow:H?.showArrow??!1,onOpenAutoFocus:Ti,onEscapeKeyDown:Oi,onPointerDownOutside:ji,onInteractOutside:Pi,onBlur:Fi,ref:Ii,children:(0,q.jsx)(bI,{className:Li,required:!0,...l,selectionMode:`range-${Ye}`,value:Je,onValueChange:on,disabled:Bt||Wt||qt||(Rt||Ht||Gt)&&(zt||Ut||Kt)||l?.disabled,minDate:M,maxDate:k,minMonth:N,maxMonth:A,minYear:P,maxYear:j,apiRef:et,monthSelectProps:{...l?.monthSelectProps,popoverProps:{...l?.monthSelectProps?.popoverProps,ref:dt}},yearSelectProps:{...l?.yearSelectProps,popoverProps:{...l?.yearSelectProps?.popoverProps,ref:ft}},headerLabelProps:Bi})})]})]}),Vi,Hi,Ui,Lt&&(0,q.jsx)(`span`,{hidden:!0,id:Lt,children:De}),Tn&&(0,q.jsx)(`span`,{hidden:!0,id:Tn,children:Ae(Cn)}),En&&(0,q.jsx)(`span`,{hidden:!0,id:En,children:Ae(wn)}),Wi,Qi,oa]})})}function jI(e){return()=>{if(e&&e.value!==``){dj(e,`value`,``);let t=new Event(`change`,{bubbles:!0,cancelable:!0});e.dispatchEvent(t),t.defaultPrevented||e.focus()}}}var MI=(0,b.createContext)(null);function NI(e){let t=(0,Q.c)(87),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23]):({container:g,columns:a,gap:o,rowGap:_,columnGap:v,xs:S,sm:p,md:u,lg:c,xl:y,xxl:w,xsOffset:C,smOffset:m,mdOffset:d,lgOffset:l,xlOffset:x,xxlOffset:T,alignItems:r,justifyContent:s,alignContent:n,className:i,style:h,...f}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T);let E=g!==void 0&&g,D=_===void 0?o:_,O=v===void 0?o:v,k=ap(),{cssToggler:A}=cp(),j=hp(),M=(0,b.useContext)(MI),N;t[24]!==c||t[25]!==u||t[26]!==p||t[27]!==y||t[28]!==S||t[29]!==w?(N={xs:S,sm:p,md:u,lg:c,xl:y,xxl:w},t[24]=c,t[25]=u,t[26]=p,t[27]=y,t[28]=S,t[29]=w,t[30]=N):N=t[30];let P=N,F;t[31]!==l||t[32]!==d||t[33]!==m||t[34]!==x||t[35]!==C||t[36]!==T?(F={xs:C,sm:m,md:d,lg:l,xl:x,xxl:T},t[31]=l,t[32]=d,t[33]=m,t[34]=x,t[35]=C,t[36]=T,t[37]=F):F=t[37];let I=F,L;t[38]===j?L=t[39]:(L=e=>typeof e==`number`?j(e):e,t[38]=j,t[39]=L);let R=L,z=E?D:void 0,B=E?O:void 0,V=M?.container?M?.columns:void 0,H=M?.container?M?.rowGap:void 0,ee=M?.container?M?.columnGap:void 0,U=M?.container?P:void 0,W=M?.container?P:void 0,G=M?.container?I:void 0,K=M?.container?I:void 0,J;t[40]!==n||t[41]!==r||t[42]!==s||t[43]!==H||t[44]!==ee||t[45]!==U||t[46]!==W||t[47]!==G||t[48]!==K||t[49]!==z||t[50]!==B||t[51]!==V?(J={"row-gap":z,"column-gap":B,"container-columns":V,"container-row-gap":H,"container-column-gap":ee,"item-size":U,"item-auto-size":W,"item-offset":G,"item-auto-offset":K,"align-items":r,"justify-content":s,"align-content":n},t[40]=n,t[41]=r,t[42]=s,t[43]=H,t[44]=ee,t[45]=U,t[46]=W,t[47]=G,t[48]=K,t[49]=z,t[50]=B,t[51]=V,t[52]=J):J=t[52];let te,Y;t[53]===A?(te=t[54],Y=t[55]):(te=e=>A(e===`auto`),Y=e=>A(e===`auto`),t[53]=A,t[54]=te,t[55]=Y);let X;t[56]!==R||t[57]!==te||t[58]!==Y?(X={"row-gap":R,"column-gap":R,"container-row-gap":R,"container-column-gap":R,"item-size":PI,"item-auto-size":te,"item-auto-offset":Y},t[56]=R,t[57]=te,t[58]=Y,t[59]=X):X=t[59];let ne=up(`grid-`,J,X),re;t[60]!==O||t[61]!==a||t[62]!==E||t[63]!==D?(re={container:E,columns:a,rowGap:D,columnGap:O},t[60]=O,t[61]=a,t[62]=E,t[63]=D,t[64]=re):re=t[64];let ie;if(t[65]!==i||t[66]!==E||t[67]!==M?.container||t[68]!==k){let e;t[70]!==E||t[71]!==k?(e=E&&k(`grid__container`),t[70]=E,t[71]=k,t[72]=e):e=t[72];let n;t[73]!==M?.container||t[74]!==k?(n=M?.container&&k(`grid__item`),t[73]=M?.container,t[74]=k,t[75]=n):n=t[75],ie=$(k(`grid`),e,n,i),t[65]=i,t[66]=E,t[67]=M?.container,t[68]=k,t[69]=ie}else ie=t[69];let ae;t[76]!==ne.cssVars||t[77]!==h?(ae={...ne.cssVars,...h},t[76]=ne.cssVars,t[77]=h,t[78]=ae):ae=t[78];let oe;t[79]!==f||t[80]!==ne.dataAttrs||t[81]!==ie||t[82]!==ae?(oe=(0,q.jsx)(WD,{className:ie,style:ae,...ne.dataAttrs,...f}),t[79]=f,t[80]=ne.dataAttrs,t[81]=ie,t[82]=ae,t[83]=oe):oe=t[83];let se;return t[84]!==re||t[85]!==oe?(se=(0,q.jsx)(MI,{value:re,children:oe}),t[84]=re,t[85]=oe,t[86]=se):se=t[86],se}function PI(e){return typeof e==`number`?e:`auto`}function FI(e){let t=(0,Q.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({asChild:n,columns:a,gap:o,rowGap:c,columnGap:i,className:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=ap(),u=n?_p:`dl`,d;t[8]!==r||t[9]!==l?(d=$(l(`description-list`),r),t[8]=r,t[9]=l,t[10]=d):d=t[10];let f;t[11]!==u||t[12]!==s||t[13]!==d?(f=(0,q.jsx)(u,{className:d,...s}),t[11]=u,t[12]=s,t[13]=d,t[14]=f):f=t[14];let p;return t[15]!==i||t[16]!==a||t[17]!==o||t[18]!==c||t[19]!==f?(p=(0,q.jsx)(NI,{asChild:!0,container:!0,columns:a,gap:o,rowGap:c,columnGap:i,children:f}),t[15]=i,t[16]=a,t[17]=o,t[18]=c,t[19]=f,t[20]=p):p=t[20],p}function II(e){let t=(0,Q.c)(29),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({term:s,children:n,descriptionTermProps:a,descriptionDetailsProps:i,className:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=ap(),l;t[7]!==r||t[8]!==c?(l=$(c(`description-list__item`),r),t[7]=r,t[8]=c,t[9]=l):l=t[9];let u;t[10]!==a?.className||t[11]!==c?(u=$(c(`description-list__term`),a?.className),t[10]=a?.className,t[11]=c,t[12]=u):u=t[12];let d;t[13]!==a||t[14]!==u||t[15]!==s?(d=(0,q.jsx)(`dt`,{...a,className:u,children:s}),t[13]=a,t[14]=u,t[15]=s,t[16]=d):d=t[16];let f;t[17]!==i?.className||t[18]!==c?(f=$(c(`description-list__details`),i?.className),t[17]=i?.className,t[18]=c,t[19]=f):f=t[19];let p;t[20]!==n||t[21]!==i||t[22]!==f?(p=(0,q.jsx)(`dd`,{...i,className:f,children:n}),t[20]=n,t[21]=i,t[22]=f,t[23]=p):p=t[23];let m;return t[24]!==o||t[25]!==l||t[26]!==d||t[27]!==p?(m=(0,q.jsxs)(NI,{className:l,...o,children:[d,p]}),t[24]=o,t[25]=l,t[26]=d,t[27]=p,t[28]=m):m=t[28],m}var LI=(0,b.createContext)(null);function RI(){let e=(0,b.useContext)(LI);if(!e)throw Error(`Field group context not in scope.`);return e}function zI(e){let t=(0,Q.c)(30),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({asChild:i,className:a,style:s,"aria-label":n,"aria-labelledby":r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=ap(),l=gp(o),u,d;t[7]===l?(u=t[8],d=t[9]):({marginProps:u,...d}=l,t[7]=l,t[8]=u,t[9]=d);let[f,p]=(0,b.useState)(),[m,h]=(0,b.useState)(),g=i?_p:`div`,_;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(_={setCodeId:p,setTitleId:h},t[10]=_):_=t[10];let v;t[11]!==a||t[12]!==c?(v=$(c(`field-group`),a),t[11]=a,t[12]=c,t[13]=v):v=t[13];let y;t[14]!==u.cssVars||t[15]!==s?(y={...u.cssVars,...s},t[14]=u.cssVars,t[15]=s,t[16]=y):y=t[16];let x;t[17]!==n||t[18]!==r||t[19]!==f||t[20]!==m?(x=r??(n===void 0?uj([f,m]):void 0),t[17]=n,t[18]=r,t[19]=f,t[20]=m,t[21]=x):x=t[21];let S;return t[22]!==g||t[23]!==n||t[24]!==u.dataAttrs||t[25]!==d||t[26]!==v||t[27]!==y||t[28]!==x?(S=(0,q.jsx)(LI,{value:_,children:(0,q.jsx)(g,{className:v,style:y,role:`group`,"aria-label":n,"aria-labelledby":x,...u.dataAttrs,...d})}),t[22]=g,t[23]=n,t[24]=u.dataAttrs,t[25]=d,t[26]=v,t[27]=y,t[28]=x,t[29]=S):S=t[29],S}function BI(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({asChild:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=ap(),o=n?_p:`div`,s;t[4]!==r||t[5]!==a?(s=$(a(`field-group__body`),r),t[4]=r,t[5]=a,t[6]=s):s=t[6];let c;return t[7]!==o||t[8]!==i||t[9]!==s?(c=(0,q.jsx)(o,{className:s,...i}),t[7]=o,t[8]=i,t[9]=s,t[10]=c):c=t[10],c}function VI(e){let t=(0,Q.c)(37),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({asChild:n,code:a,visuallyHiddenCodePrefix:c,codeProps:o,className:i,children:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=ap(),[u]=Mp(),d=c??u.FieldGroupHeader.visuallyHiddenCodePrefix,f=(0,b.useId)(),p;t[8]!==a||t[9]!==o?.id||t[10]!==f||t[11]!==l?(p=a?o?.id??l(`field-group-code-${f}`):void 0,t[8]=a,t[9]=o?.id,t[10]=f,t[11]=l,t[12]=p):p=t[12];let m=p,{setCodeId:h}=RI(),g,_;t[13]!==m||t[14]!==h?(g=()=>{h(m)},_=[m,h],t[13]=m,t[14]=h,t[15]=g,t[16]=_):(g=t[15],_=t[16]),(0,b.useEffect)(g,_);let v=n?_p:`div`,y;t[17]!==i||t[18]!==l?(y=$(l(`field-group__header`),i),t[17]=i,t[18]=l,t[19]=y):y=t[19];let x=!!a,S;t[20]===x?S=t[21]:(S=tb(x),t[20]=x,t[21]=S);let C;t[22]!==a||t[23]!==m||t[24]!==o||t[25]!==l||t[26]!==d?(C=a!=null&&typeof a!=`boolean`&&(0,q.jsxs)(`span`,{...o,id:m,className:$(l(`field-group__code`),o?.className),children:[d&&(0,q.jsxs)(AE,{children:[d,` `]}),a,(0,q.jsx)(AE,{children:`, `})]}),t[22]=a,t[23]=m,t[24]=o,t[25]=l,t[26]=d,t[27]=C):C=t[27];let w;t[28]===r?w=t[29]:(w=(0,q.jsx)(vp,{children:r}),t[28]=r,t[29]=w);let T;return t[30]!==v||t[31]!==s||t[32]!==y||t[33]!==S||t[34]!==C||t[35]!==w?(T=(0,q.jsxs)(v,{className:y,"data-has-code":S,...s,children:[C,w]}),t[30]=v,t[31]=s,t[32]=y,t[33]=S,t[34]=C,t[35]=w,t[36]=T):T=t[36],T}function HI(e){let t=(0,Q.c)(31),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({as:s,asChild:n,id:i,className:r,style:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=s===void 0?`div`:s,l=ap(),u=(0,b.useId)(),d=gp(a),f,p;t[7]===d?(f=t[8],p=t[9]):({marginProps:f,...p}=d,t[7]=d,t[8]=f,t[9]=p);let m;t[10]!==u||t[11]!==i||t[12]!==l?(m=i??l(`field-group-title-${u}`),t[10]=u,t[11]=i,t[12]=l,t[13]=m):m=t[13];let h=m,{setTitleId:g}=RI(),_,v;t[14]!==g||t[15]!==h?(_=()=>{g(h)},v=[g,h],t[14]=g,t[15]=h,t[16]=_,t[17]=v):(_=t[16],v=t[17]),(0,b.useEffect)(_,v);let y=n?_p:c,x;t[18]!==r||t[19]!==l?(x=$(l(`field-group__title`),r),t[18]=r,t[19]=l,t[20]=x):x=t[20];let S;t[21]!==f.cssVars||t[22]!==o?(S={...f.cssVars,...o},t[21]=f.cssVars,t[22]=o,t[23]=S):S=t[23];let C;return t[24]!==y||t[25]!==f.dataAttrs||t[26]!==p||t[27]!==x||t[28]!==S||t[29]!==h?(C=(0,q.jsx)(y,{id:h,className:x,style:S,...f.dataAttrs,...p}),t[24]=y,t[25]=f.dataAttrs,t[26]=p,t[27]=x,t[28]=S,t[29]=h,t[30]=C):C=t[30],C}function UI(e){let t=(0,Q.c)(32),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({as:n,asChild:r,level:l,color:a,highContrast:o,className:i,style:c,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=l===void 0?2:l,d=ap(),f=gp(s),p,m;t[9]===f?(p=t[10],m=t[11]):({marginProps:p,...m}=f,t[9]=f,t[10]=p,t[11]=m);let h=DE(m),g,_;t[12]===h?(g=t[13],_=t[14]):({textProps:_,...g}=h,t[12]=h,t[13]=g,t[14]=_);let v=r?_p:n??`h${u}`,y;t[15]!==i||t[16]!==o||t[17]!==u||t[18]!==d?(y=$(d(`heading`),d(`heading--${u}`),o&&d(`heading--high-contrast`),i),t[15]=i,t[16]=o,t[17]=u,t[18]=d,t[19]=y):y=t[19];let b;t[20]!==p.cssVars||t[21]!==c||t[22]!==_.cssVars?(b={...p.cssVars,..._.cssVars,...c},t[20]=p.cssVars,t[21]=c,t[22]=_.cssVars,t[23]=b):b=t[23];let x;return t[24]!==v||t[25]!==a||t[26]!==p.dataAttrs||t[27]!==g||t[28]!==y||t[29]!==b||t[30]!==_.dataAttrs?(x=(0,q.jsx)(v,{className:y,style:b,"data-accent":a,...p.dataAttrs,..._.dataAttrs,...g}),t[24]=v,t[25]=a,t[26]=p.dataAttrs,t[27]=g,t[28]=y,t[29]=b,t[30]=_.dataAttrs,t[31]=x):x=t[31],x}function WI(e){let t=(0,Q.c)(46),n,r,i,a,o,s,c,l,u,d,f,p;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12]):({as:u,asChild:n,type:f,color:a,variant:p,external:o,icon:d,iconProps:s,className:i,style:l,children:r,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p);let m=u===void 0?`a`:u,h=d===void 0?o?Yy:null:d,g=ap(),{defaultColor:_,defaultVariant:v}=Sv(),y=a??_,b=p??v,x=gp(c),S,C;t[13]===x?(S=t[14],C=t[15]):({marginProps:S,...C}=x,t[13]=x,t[14]=S,t[15]=C);let w=DE(C),T,E;t[16]===w?(T=t[17],E=t[18]):({textProps:E,...T}=w,t[16]=w,t[17]=T,t[18]=E);let D=m===`a`&&!n,O=n?_p:m,k=f??(m===`button`?`button`:void 0),A;t[19]!==i||t[20]!==g||t[21]!==b?(A=$(g(`link`),b!=="default"&&g(`link--${b}`),i),t[19]=i,t[20]=g,t[21]=b,t[22]=A):A=t[22];let j=D&&o?`_blank`:void 0,M=D&&o?`noopener noreferrer`:void 0,N;t[23]!==S.cssVars||t[24]!==l||t[25]!==E.cssVars?(N={...S.cssVars,...E.cssVars,...l},t[23]=S.cssVars,t[24]=l,t[25]=E.cssVars,t[26]=N):N=t[26];let P;t[27]===r?P=t[28]:(P=(0,q.jsx)(vp,{children:r}),t[27]=r,t[28]=P);let F;t[29]!==h||t[30]!==s||t[31]!==g?(F=h&&(0,q.jsx)(jE,{...s,className:$(g(`link__icon`),s?.className),icon:h}),t[29]=h,t[30]=s,t[31]=g,t[32]=F):F=t[32];let I;return t[33]!==O||t[34]!==y||t[35]!==S.dataAttrs||t[36]!==T||t[37]!==P||t[38]!==F||t[39]!==k||t[40]!==A||t[41]!==j||t[42]!==M||t[43]!==N||t[44]!==E.dataAttrs?(I=(0,q.jsxs)(O,{type:k,className:A,"data-accent":y,target:j,rel:M,style:N,...S.dataAttrs,...E.dataAttrs,...T,children:[P,F]}),t[33]=O,t[34]=y,t[35]=S.dataAttrs,t[36]=T,t[37]=P,t[38]=F,t[39]=k,t[40]=A,t[41]=j,t[42]=M,t[43]=N,t[44]=E.dataAttrs,t[45]=I):I=t[45],I}function GI(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var KI;(function(e){e.event=`event`,e.props=`prop`})(KI||={});function qI(){}function JI(e){var t,n=void 0;return function(){for(var r=[],i=arguments.length;i--;)r[i]=arguments[i];return t&&r.length===t.length&&r.every(function(e,n){return e===t[n]})||(t=r,n=e.apply(void 0,r)),n}}function YI(e){return!!(e||``).match(/\d/)}function XI(e){return e==null}function ZI(e){return typeof e==`number`&&isNaN(e)}function QI(e){return XI(e)||ZI(e)||typeof e==`number`&&!isFinite(e)}function $I(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,`\\$&`)}function eL(e){switch(e){case`lakh`:return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case`wan`:return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}function tL(e,t,n){var r=eL(n),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(r,`$1`+t)}function nL(e){var t=(0,b.useRef)(e);return t.current=e,(0,b.useRef)(function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return t.current.apply(t,e)}).current}function rL(e,t){t===void 0&&(t=!0);var n=e[0]===`-`,r=n&&t;e=e.replace(`-`,``);var i=e.split(`.`);return{beforeDecimal:i[0],afterDecimal:i[1]||``,hasNegation:n,addNegation:r}}function iL(e){if(!e)return e;var t=e[0]===`-`;t&&(e=e.substring(1,e.length));var n=e.split(`.`),r=n[0].replace(/^0+/,``)||`0`,i=n[1]||``;return(t?`-`:``)+r+(i?`.`+i:``)}function aL(e,t,n){for(var r=``,i=n?`0`:``,a=0;a<=t-1;a++)r+=e[a]||i;return r}function oL(e,t){return Array(t+1).join(e)}function sL(e){var t=e+``,n=t[0]===`-`?`-`:``;n&&(t=t.substring(1));var r=t.split(/[eE]/g),i=r[0],a=r[1];if(a=Number(a),!a)return n+i;i=i.replace(`.`,``);var o=1+a,s=i.length;return o<0?i=`0.`+oL(`0`,Math.abs(o))+i:o>=s?i+=oL(`0`,o-s):i=(i.substring(0,o)||`0`)+`.`+i.substring(o),n+i}function cL(e,t,n){if([``,`-`].indexOf(e)!==-1)return e;var r=(e.indexOf(`.`)!==-1||n)&&t,i=rL(e),a=i.beforeDecimal,o=i.afterDecimal,s=i.hasNegation,c=parseFloat(`0.`+(o||`0`)),l=(o.length<=t?`0.`+o:c.toFixed(t)).split(`.`),u=a;a&&Number(l[0])&&(u=a.split(``).reverse().reduce(function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},l[0]));var d=aL(l[1]||``,t,n),f=s?`-`:``,p=r?`.`:``;return``+f+u+p+d}function lL(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move(`character`,t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var uL=JI(function(e,t){for(var n=0,r=0,i=e.length,a=t.length;e[n]===t[n]&&n<i;)n++;for(;e[i-1-r]===t[a-1-r]&&a-r>n&&i-r>n;)r++;return{from:{start:n,end:i-r},to:{start:n,end:a-r}}}),dL=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function fL(e,t,n){return Math.min(Math.max(e,t),n)}function pL(e){return Math.max(e.selectionStart,e.selectionEnd)}function mL(){return typeof navigator<`u`&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function hL(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:``}}function gL(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,i=e.formattedValueIndex;return t[r]===n[i]}function _L(e,t,n,r,i,a,o){o===void 0&&(o=gL);var s=i.findIndex(function(e){return e}),c=e.slice(0,s);!t&&!n.startsWith(c)&&(t=c,n=c+n,r+=c.length);for(var l=n.length,u=e.length,d={},f=Array(l),p=0;p<l;p++){f[p]=-1;for(var m=0,h=u;m<h;m++)if(o({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:p,formattedValueIndex:m})&&d[m]!==!0){f[p]=m,d[m]=!0;break}}for(var g=r;g<l&&(f[g]===-1||!a(n[g]));)g++;var _=g===l||f[g]===-1?u:f[g];for(g=r-1;g>0&&f[g]===-1;)g--;var v=g===-1||f[g]===-1?0:f[g]+1;return v>_?_:r-v<_-r?v:_}function vL(e,t,n,r){var i=e.length;if(t=fL(t,0,i),r===`left`){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=i&&!n[t];)t++;t>i&&(t=n.lastIndexOf(!0))}return t===-1&&(t=i),t}function yL(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(YI(e[n])||YI(e[n-1]));return t}function bL(e,t,n,r,i,a){a===void 0&&(a=qI);var o=nL(function(e,t){var n,a;return QI(e)?(a=``,n=``):typeof e==`number`||t?(a=typeof e==`number`?sL(e):e,n=r(a)):(a=i(e,void 0),n=r(a)),{formattedValue:n,numAsString:a}}),s=(0,b.useState)(function(){return o(XI(e)?t:e,n)}),c=s[0],l=s[1],u=nL(function(e,t){e.formattedValue!==c.formattedValue&&l({formattedValue:e.formattedValue,numAsString:e.value}),a(e,t)}),d=e,f=n;XI(e)&&(d=c.numAsString,f=!0);var p=o(d,f);return(0,b.useMemo)(function(){l(p)},[p.formattedValue]),(0,b.useEffect)(function(){if(!XI(t)&&XI(e)&&c.formattedValue!==``){var n=parseFloat(c.numAsString);u({formattedValue:c.formattedValue,value:c.numAsString,floatValue:isNaN(n)?void 0:n},{event:void 0,source:KI.props})}},[]),[c,u]}function xL(e){return e.replace(/[^0-9]/g,``)}function SL(e){return e}function CL(e){var t=e.type;t===void 0&&(t=`text`);var n=e.displayType;n===void 0&&(n=`input`);var r=e.customInput,i=e.renderText,a=e.getInputRef,o=e.format;o===void 0&&(o=SL);var s=e.removeFormatting;s===void 0&&(s=xL);var c=e.defaultValue,l=e.valueIsNumericString,u=e.onValueChange,d=e.isAllowed,f=e.onChange;f===void 0&&(f=qI);var p=e.onKeyDown;p===void 0&&(p=qI);var m=e.onMouseUp;m===void 0&&(m=qI);var h=e.onFocus;h===void 0&&(h=qI);var g=e.onBlur;g===void 0&&(g=qI);var _=e.value,v=e.getCaretBoundary;v===void 0&&(v=yL);var y=e.isValidInputCharacter;y===void 0&&(y=YI);var x=e.isCharacterSame,S=GI(e,[`type`,`displayType`,`customInput`,`renderText`,`getInputRef`,`format`,`removeFormatting`,`defaultValue`,`valueIsNumericString`,`onValueChange`,`isAllowed`,`onChange`,`onKeyDown`,`onMouseUp`,`onFocus`,`onBlur`,`value`,`getCaretBoundary`,`isValidInputCharacter`,`isCharacterSame`]),C=bL(_,c,!!l,o,s,u),w=C[0],T=w.formattedValue,E=w.numAsString,D=C[1],O=(0,b.useRef)(),k=(0,b.useRef)({formattedValue:T,numAsString:E}),A=function(e,t){k.current={formattedValue:e.formattedValue,numAsString:e.value},D(e,t)},j=(0,b.useState)(!1),M=j[0],N=j[1],P=(0,b.useRef)(null),F=(0,b.useRef)({setCaretTimeout:null,focusTimeout:null});(0,b.useEffect)(function(){return N(!0),function(){clearTimeout(F.current.setCaretTimeout),clearTimeout(F.current.focusTimeout)}},[]);var I=o,L=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},R=function(e,t,n){(e.selectionStart!==0||e.selectionEnd!==e.value.length)&&(lL(e,t),F.current.setCaretTimeout=setTimeout(function(){e.value===n&&e.selectionStart!==t&&lL(e,t)},0))},z=function(e,t,n){return vL(e,t,v(e),n)},B=function(e,t,n){var r=v(t),i=_L(t,T,e,n,r,y,x);return i=vL(t,i,r),i},V=function(e){var t=e.formattedValue;t===void 0&&(t=``);var n=e.input,r=e.source,i=e.event,a=e.numAsString,o;if(n){var s=e.inputValue||n.value,c=pL(n);n.value=t,o=B(s,t,c),o!==void 0&&R(n,o,t)}t!==T&&A(L(t,a),{event:i,source:r})};(0,b.useEffect)(function(){var e=k.current,t=e.formattedValue,n=e.numAsString;(T!==t||E!==n)&&A(L(T,E),{event:void 0,source:KI.props})},[T,E]);var H=P.current?pL(P.current):void 0;(typeof window<`u`?b.useLayoutEffect:b.useEffect)(function(){var e=P.current;if(T!==k.current.formattedValue&&e){var t=B(k.current.formattedValue,T,H);e.value=T,R(e,t,T)}},[T]);var ee=function(e,t,n){var r=t.target,i=O.current?dL(O.current,r.selectionEnd):uL(T,e),a=Object.assign(Object.assign({},i),{lastValue:T}),o=s(e,a),c=I(o);if(o=s(c,void 0),d&&!d(L(c,o))){var l=t.target,u=B(e,T,pL(l));return l.value=T,R(l,u,T),!1}return V({formattedValue:c,numAsString:o,inputValue:e,event:t,source:n,input:t.target}),!0},U=function(e,t){t===void 0&&(t=0),O.current={selectionStart:e.selectionStart,selectionEnd:e.selectionEnd+t}},W=function(e){var t=e.target.value;ee(t,e,KI.event)&&f(e),O.current=void 0},G=function(e){var t=e.target,n=e.key,r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o;n===`ArrowLeft`||n===`Backspace`?o=Math.max(r-1,0):n===`ArrowRight`?o=Math.min(r+1,a.length):n===`Delete`&&(o=r);var s=0;n===`Delete`&&r===i&&(s=1);var c=n===`ArrowLeft`||n===`ArrowRight`;if(o===void 0||r!==i&&!c)p(e),U(t,s);else{var l=o;c?(l=z(a,o,n===`ArrowLeft`?`left`:`right`),l!==o&&e.preventDefault()):n===`Delete`&&!y(a[o])?l=z(a,o,`right`):n===`Backspace`&&!y(a[o])&&(l=z(a,o,`left`)),l!==o&&R(t,l,a),p(e),U(t,s)}},K=function(e){var t=e.target,n=function(){var e=t.selectionStart,n=t.selectionEnd,r=t.value;if(r===void 0&&(r=``),e===n){var i=z(r,e);i!==e&&R(t,i,r)}};n(),requestAnimationFrame(function(){n()}),m(e),U(t)},q=function(e){e.persist&&e.persist();var t=e.target,n=e.currentTarget;P.current=t,F.current.focusTimeout=setTimeout(function(){var r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o=z(a,r);o!==r&&(r!==0||i!==a.length)&&R(t,o,a),h(Object.assign(Object.assign({},e),{currentTarget:n}))},0)},J=function(e){P.current=null,clearTimeout(F.current.focusTimeout),clearTimeout(F.current.setCaretTimeout),g(e)},te=M&&mL()?`numeric`:void 0,Y=Object.assign({inputMode:te},S,{type:t,value:T,onChange:W,onKeyDown:G,onMouseUp:K,onFocus:q,onBlur:J});if(n===`text`)return i?b.createElement(b.Fragment,null,i(T,S)||null):b.createElement(`span`,Object.assign({},S,{ref:a}),T);if(r){var X=r;return b.createElement(X,Object.assign({},Y,{ref:a}))}return b.createElement(`input`,Object.assign({},Y,{ref:a}))}function wL(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i=``);var a=t.suffix;a===void 0&&(a=``);var o=t.allowNegative,s=t.thousandsGroupStyle;if(s===void 0&&(s=`thousand`),e===``||e===`-`)return e;var c=TL(t),l=c.thousandSeparator,u=c.decimalSeparator,d=n!==0&&e.indexOf(`.`)!==-1||n&&r,f=rL(e,o),p=f.beforeDecimal,m=f.afterDecimal,h=f.addNegation;return n!==void 0&&(m=aL(m,n,!!r)),l&&(p=tL(p,l,s)),i&&(p=i+p),a&&(m+=a),h&&(p=`-`+p),e=p+(d&&u||``)+m,e}function TL(e){var t=e.decimalSeparator;t===void 0&&(t=`.`);var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=`,`),r||=[t,`.`],{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function EL(e,t){e===void 0&&(e=``);var n=RegExp(`(-)`),r=RegExp(`(-)(.)*(-)`),i=n.test(e),a=r.test(e);return e=e.replace(/-/g,``),i&&!a&&t&&(e=`-`+e),e}function DL(e,t){return RegExp(`(^-)|[0-9]|`+$I(e),t?`g`:void 0)}function OL(e,t,n){return e===``||!t?.match(/\d/)&&!n?.match(/\d/)&&typeof e==`string`&&!isNaN(Number(e))}function kL(e,t,n){var r;t===void 0&&(t=hL(e));var i=n.allowNegative,a=n.prefix;a===void 0&&(a=``);var o=n.suffix;o===void 0&&(o=``);var s=n.decimalScale,c=t.from,l=t.to,u=l.start,d=l.end,f=TL(n),p=f.allowedDecimalSeparators,m=f.decimalSeparator,h=e[d]===m;if(YI(e)&&(e===a||e===o)&&t.lastValue===``)return e;if(d-u===1&&p.indexOf(e[u])!==-1){var g=s===0?``:m;e=e.substring(0,u)+g+e.substring(u+1,e.length)}var _=function(e,t,n){var r=!1,i=!1;a.startsWith(`-`)?r=!1:e.startsWith(`--`)?(r=!1,i=!0):o.startsWith(`-`)&&e.length===o.length?r=!1:e[0]===`-`&&(r=!0);var s=+!!r;return i&&(s=2),s&&(e=e.substring(s),t-=s,n-=s),{value:e,start:t,end:n,hasNegation:r}},v=_(e,u,d),y=v.hasNegation;r=v,e=r.value,u=r.start,d=r.end;var b=_(t.lastValue,c.start,c.end),x=b.start,S=b.end,C=b.value,w=e.substring(u,d);e.length&&C.length&&(x>C.length-o.length||S<a.length)&&!(w&&o.startsWith(w))&&(e=C);var T=0;e.startsWith(a)?T+=a.length:u<a.length&&(T=u),e=e.substring(T),d-=T;var E=e.length,D=e.length-o.length;e.endsWith(o)?E=D:(d>D||d>e.length-o.length)&&(E=d),e=e.substring(0,E),e=EL(y?`-`+e:e,i),e=(e.match(DL(m,!0))||[]).join(``);var O=e.indexOf(m);e=e.replace(new RegExp($I(m),`g`),function(e,t){return t===O?`.`:``});var k=rL(e,i),A=k.beforeDecimal,j=k.afterDecimal,M=k.addNegation;return l.end-l.start<c.end-c.start&&A===``&&h&&!parseFloat(j)&&(e=M?`-`:``),e}function AL(e,t){var n=t.prefix;n===void 0&&(n=``);var r=t.suffix;r===void 0&&(r=``);var i=Array.from({length:e.length+1}).map(function(){return!0}),a=e[0]===`-`;i.fill(!1,0,Math.min(n.length+ +!!a,e.length));var o=e.length;return i.fill(!1,o-r.length+1,o+1),i}function jL(e){var t=TL(e),n=t.thousandSeparator,r=t.decimalSeparator,i=e.prefix;i===void 0&&(i=``);var a=e.allowNegative;if(a===void 0&&(a=!0),n===r)throw Error(`
|
|
1129
|
+
Decimal separator can't be same as thousand separator.
|
|
1130
|
+
thousandSeparator: `+n+` (thousandSeparator = {true} is same as thousandSeparator = ",")
|
|
1131
|
+
decimalSeparator: `+r+` (default value for decimalSeparator is .)
|
|
1132
|
+
`);return i.startsWith(`-`)&&a&&(console.error(`
|
|
1133
|
+
Prefix can't start with '-' when allowNegative is true.
|
|
1134
|
+
prefix: `+i+`
|
|
1135
|
+
allowNegative: `+a+`
|
|
1136
|
+
`),a=!1),Object.assign(Object.assign({},e),{allowNegative:a})}function ML(e){e=jL(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,r=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=qI);var a=e.onBlur;a===void 0&&(a=qI);var o=e.thousandSeparator,s=e.decimalScale,c=e.fixedDecimalScale,l=e.prefix;l===void 0&&(l=``);var u=e.defaultValue,d=e.value,f=e.valueIsNumericString,p=e.onValueChange,m=GI(e,[`decimalSeparator`,`allowedDecimalSeparators`,`thousandsGroupStyle`,`suffix`,`allowNegative`,`allowLeadingZeros`,`onKeyDown`,`onBlur`,`thousandSeparator`,`decimalScale`,`fixedDecimalScale`,`prefix`,`defaultValue`,`value`,`valueIsNumericString`,`onValueChange`]),h=TL(e),g=h.decimalSeparator,_=h.allowedDecimalSeparators,v=function(t){return wL(t,e)},y=function(t,n){return kL(t,n,e)},b=XI(d)?u:d,x=f??OL(b,l,t);XI(d)?XI(u)||(x||=typeof u==`number`):x||=typeof d==`number`;var S=function(e){return QI(e)?e:(typeof e==`number`&&(e=sL(e)),x&&typeof s==`number`?cL(e,s,!!c):e)},C=bL(S(d),S(u),!!x,v,y,p),w=C[0],T=w.numAsString,E=w.formattedValue,D=C[1];return Object.assign(Object.assign({},m),{value:E,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===g||YI(e)},isCharacterSame:function(e){var t=e.currentValue,n=e.lastValue,r=e.formattedValue,i=e.currentValueIndex,a=e.formattedValueIndex,o=t[i],u=r[a],f=uL(n,t).to,p=function(e){return y(e).indexOf(`.`)+l.length};return d===0&&c&&s&&t[f.start]===g&&p(t)<i&&p(r)>a?!1:i>=f.start&&i<f.end&&_&&_.includes(o)&&u===g?!0:o===u},onValueChange:D,format:v,removeFormatting:y,getCaretBoundary:function(t){return AL(t,e)},onKeyDown:function(e){var t=e.target,r=e.key,a=t.selectionStart,u=t.selectionEnd,d=t.value;if(d===void 0&&(d=``),(r===`Backspace`||r===`Delete`)&&u<l.length&&d!==`-`)e.preventDefault();else if(a!==u)i(e);else{r===`Backspace`&&d[0]===`-`&&a===l.length+1&&n&&lL(t,1),s&&c&&(r===`Backspace`&&d[a-1]===g?(lL(t,a-1),e.preventDefault()):r===`Delete`&&d[a]===g&&e.preventDefault()),_?.includes(r)&&d[a]===g&&lL(t,a+1);var f=o===!0?`,`:o;r===`Backspace`&&d[a-1]===f&&lL(t,a-1),r===`Delete`&&d[a]===f&&lL(t,a+1),i(e)}},onBlur:function(t){var n=T;n.match(/\d/g)||(n=``),r||(n=iL(n)),c&&s&&(n=cL(n,s,c)),n!==T&&D({formattedValue:wL(n,e),value:n,floatValue:parseFloat(n)},{event:t,source:KI.event}),a(t)}})}function NL(e){var t=ML(e);return b.createElement(CL,Object.assign({},t))}function PL(e){return Array.isArray(e)?e:String(e).split(/[eE]/)}function FL(e){let t=PL(e);return!Number.isNaN(Number(t[1]))}function IL(e){let t=PL(e);if(!FL(t))return t[0];let n=t[0][0]===`-`?`-`:``,r=t[0].replace(/^-/,``).split(`.`),i=r[0],a=r[1]||``,o=Number(t[1]);if(o===0)return`${n+i}.${a}`;if(o<0){let e=i.length+o;if(e>0){let t=i.substr(0,e),r=i.substr(e);return`${n+t}.${r}${a}`}{let t=`0.`;for(o=e;o;)t+=`0`,o+=1;return n+t+i+a}}{let e=a.length-o;if(e>0){let e=a.substr(o),t=a.substr(0,o);return`${n+i+t}.${e}`}{let t=-e,r=``;for(;t;)r+=`0`,--t;return n+i+a+r}}}function LL(e){return typeof e==`string`?e:typeof e==`bigint`?e.toString():e==null||isNaN(e)?``:IL(e)}function RL(e){return e.startsWith(`-`)}function zL(e){return e===``||e===`-`||e===`.`||e===`-.`}function BL(e){if(zL(e))return``;let t=RL(e),[n,r]=(t?e.slice(1):e).split(`.`);n=n.replace(/^0*/,``),r=r?.replace(/0*$/,``);let i=!n&&!r?`0`:n&&!r?n:!n&&r?`0.${r}`:`${n}.${r}`;return t?`-${i}`:i}function VL(e,t){let n=RL(e),r=RL(t),i=BL(e).slice(+!!n)||`0`,a=BL(t).slice(+!!r)||`0`;if(n!==r)return i===`0`&&a===`0`?0:r?1:-1;let o=n?-1:1,[s,c=``]=i.split(`.`),[l,u=``]=a.split(`.`);if(s.length!==l.length)return(s.length>l.length?1:-1)*o;for(let e=0;e<s.length;++e){let t=s[e],n=l[e];if(t!==n)return(t>n?1:-1)*o}for(let e=0;e<Math.max(c.length,u.length);++e){let t=c[e]??`0`,n=u[e]??`0`;if(t!==n)return(t>n?1:-1)*o}return 0}function HL(e,t){if(zL(e)||t===0)return e;let n=RL(e),r=(n?e.slice(1):e).padStart(t+1,`0`);return`${n?`-`:``}${r.slice(0,-t)}.${r.slice(-t)}`}function UL(e,t){if(zL(e))return e;let[n,r=``]=e.split(`.`);return t===0?n:`${n}${r.length>t?r.slice(0,t):r.padEnd(t,`0`)}`}var WL={from:{start:0,end:0},to:{start:0,end:0},lastValue:``};function GL(e,t,n){if(typeof e==`string`&&!n.valueIsNumericString)return e;let r=LL(e);return t&&n.decimalScale&&(r=HL(r,n.decimalScale)),n.valueIsNumericString?r:wL(r,n)}function KL(e,t,n){if(typeof e!=`string`||n.valueIsNumericString)return BL(LL(e));let r=kL(e,WL,n);return t&&n.decimalScale&&(r=UL(r,n.decimalScale)),BL(r)}function qL({formattedValue:e,value:t,floatValue:n},r,i){if(!r||!i||Number.isNaN(n)||n==null)return{formattedValue:e,stringValue:BL(t),numberValue:Number.isNaN(n)||n==null?null:n};let a=BL(UL(t,i));return{formattedValue:e,stringValue:a,numberValue:+a}}function JL(e,t){if(!(e||t===0))return t==null?`any`:`0.${`0`.repeat(t-1)}1`}function YL(e){let t=(0,Q.c)(86),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30]):({name:h,defaultValue:a,value:r,valueIsUnformattedString:D,valueIsInteger:O,onValueChange:_,onBlurToOutside:g,precision:k,scale:w,fixedScale:l,decimalSeparator:i,groupDigits:A,groupingStyle:f,groupSeparator:d,prefix:y,suffix:E,min:m,max:p,exclusiveMin:c,exclusiveMax:s,validate:j,validationMode:M,required:C,disabled:o,readOnly:x,status:T,autoComplete:n,form:u,ref:S,...v}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M);let N=D!==void 0&&D,P=O!==void 0&&O,F=k===void 0?null:k,I=A!==void 0&&A,[L]=Mp(),R=i??L.NumericInput.decimalSeparator??`.`,z=f??L.NumericInput.groupingStyle??`thousand`,B=d??L.NumericInput.groupSeparator??`,`,V=w??(P||F!=null?0:null),H=l??V!=null,ee,U,W,G,K;t[31]!==R||t[32]!==s||t[33]!==c||t[34]!==B||t[35]!==p||t[36]!==m||t[37]!==F||t[38]!==V||t[39]!==P?(G=LL(m),W=LL(p),U=LL(c),ee=LL(s),K=(!G||VL(G,`0`)<0)&&(!U||VL(U,`0`)<0),t[31]=R,t[32]=s,t[33]=c,t[34]=B,t[35]=p,t[36]=m,t[37]=F,t[38]=V,t[39]=P,t[40]=ee,t[41]=U,t[42]=W,t[43]=G,t[44]=K):(ee=t[40],U=t[41],W=t[42],G=t[43],K=t[44]);let J={valueIsNumericString:N,decimalScale:V??void 0,fixedDecimalScale:H,decimalSeparator:R,thousandSeparator:I?B:``,thousandsGroupStyle:I?z:`none`,prefix:y,suffix:E,allowNegative:K},[te,Y]=(0,b.useState)(null),[X,ne]=Ap(a,r),re=KL(X,P,J),ie=GL(X,P,J),ae;t[45]!==ee||t[46]!==U||t[47]!==W||t[48]!==G||t[49]!==F||t[50]!==V||t[51]!==re||t[52]!==P?(ae=e=>{let{stringValue:t}=qL(e,P,V);if(t){if(F!=null){let e=RL(t),n=RL(re);if(P){let r=t.length-+!!e;if(r>F&&r>re.length-+!!n)return!1}else{let r=t.indexOf(`.`),i=(r===-1?t:t.slice(0,r)).length-+!!e;if(i>F-V){let e=re.indexOf(`.`);if(i>(e===-1?re:re.slice(0,e)).length-+!!n)return!1}}}if(G&&(VL(G,`0`)<0&&VL(t,G)<0||VL(G,`0`)>=0&&VL(t,`0`)<0)&&VL(t,re)<0||W&&(VL(W,`0`)>0&&VL(t,W)>0||VL(W,`0`)<=0&&VL(t,`0`)>0)&&VL(t,re)>0||U&&(VL(U,`0`)<0&&VL(t,U)<=0||VL(U,`0`)>=0&&VL(t,`0`)<0)&&VL(t,re)<0||ee&&(VL(ee,`0`)>0&&VL(t,ee)>=0||VL(ee,`0`)<=0&&VL(t,`0`)>0)&&VL(t,re)>0)return!1}return!0},t[45]=ee,t[46]=U,t[47]=W,t[48]=G,t[49]=F,t[50]=V,t[51]=re,t[52]=P,t[53]=ae):ae=t[53];let oe=ae,{status:se,disabled:ce,setValue:le,onChange:ue,onBlur:Z}=AM(h,re,j,M),de=T??se,fe=o||ce,pe;t[54]!==ue||t[55]!==_||t[56]!==V||t[57]!==ne||t[58]!==P||t[59]!==N?(pe=e=>{let t=qL(e,P,V);_?.(t),ne(N?t.stringValue:t.formattedValue),ue(t.stringValue)},t[54]=ue,t[55]=_,t[56]=V,t[57]=ne,t[58]=P,t[59]=N,t[60]=pe):pe=t[60];let me=pe,he=e=>{let t=e;N||(P&&V&&(t=HL(t,V)),t=wL(t,J)),ne(t),le(t)};KF(te,re,he);let ge;t[61]!==Z||t[62]!==g?(ge=[Z,g],t[61]=Z,t[62]=g,t[63]=ge):ge=t[63];let _e;t[64]!==S||t[65]!==Y?(_e=[Y,S],t[64]=S,t[65]=Y,t[66]=_e):_e=t[66];let ve;t[67]===he?ve=t[68]:(ve=e=>he(e.target.value),t[67]=he,t[68]=ve);let ye=G||void 0,be=W||void 0,xe;t[69]!==V||t[70]!==P?(xe=JL(P,V),t[69]=V,t[70]=P,t[71]=xe):xe=t[71];let Se;t[72]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,q.jsx)(`input`,{}),t[72]=Se):Se=t[72];let Ce;return t[73]!==n||t[74]!==fe||t[75]!==u||t[76]!==te||t[77]!==h||t[78]!==x||t[79]!==C||t[80]!==re||t[81]!==ve||t[82]!==ye||t[83]!==be||t[84]!==xe?(Ce=(0,q.jsx)(QF,{actualElement:te,onChange:ve,name:h,type:`number`,value:re,required:C,disabled:fe,readOnly:x,autoComplete:n,min:ye,max:be,step:xe,form:u,children:Se}),t[73]=n,t[74]=fe,t[75]=u,t[76]=te,t[77]=h,t[78]=x,t[79]=C,t[80]=re,t[81]=ve,t[82]=ye,t[83]=be,t[84]=xe,t[85]=Ce):Ce=t[85],(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(NL,{value:ie,...J,required:C,disabled:fe,readOnly:x,status:de,onValueChange:me,onBlurToOutside:Dp(ge),isAllowed:oe,customInput:LP,autoComplete:`off`,getInputRef:sy(_e),...v}),Ce]})}function XL(e){let t=(0,Q.c)(18),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({pending:a,pendingContent:o,showSpinner:s,className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=s===void 0?a:s,l=ap(),u;t[7]!==r||t[8]!==l?(u=$(l(`output`),r),t[7]=r,t[8]=l,t[9]=u):u=t[9];let d=a||void 0,f=a&&o||n,p;t[10]===f?p=t[11]:(p=(0,q.jsx)(`output`,{children:f}),t[10]=f,t[11]=p);let m;return t[12]!==i||t[13]!==c||t[14]!==u||t[15]!==d||t[16]!==p?(m=(0,q.jsx)(LP,{className:u,showSpinner:c,"aria-busy":d,...i,asChild:!0,readOnly:!0,children:p}),t[12]=i,t[13]=c,t[14]=u,t[15]=d,t[16]=p,t[17]=m):m=t[17],m}function ZL(e){let t=(0,Q.c)(169),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27]):({value:k,status:D,code:s,loading:g,loadingDescription:_,showSpinner:O,children:a,rootProps:C,codeProps:c,indicatorProps:m,labelProps:h,spinnerProps:w,id:p,disabled:u,readOnly:x,startAdornment:T,endAdornment:d,containerProps:l,startContainerProps:E,endContainerProps:f,onClick:v,className:o,"aria-disabled":n,"aria-label":r,"aria-labelledby":i,ref:S,...y}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k);let A=O===void 0?g:O,j=ap(),[M]=Mp(),N=_??M.Input.loadingDescription,P=gp(y),F,I;t[28]===P?(F=t[29],I=t[30]):({marginProps:F,...I}=P,t[28]=P,t[29]=F,t[30]=I);let L=eM(),R=(0,b.useId)(),z;t[31]!==R||t[32]!==p||t[33]!==j?(z=p??j(`control-${R}`),t[31]=R,t[32]=p,t[33]=j,t[34]=z):z=t[34];let B=z,V;t[35]!==s||t[36]!==c?.id||t[37]!==R||t[38]!==j?(V=s!=null&&typeof s!=`boolean`&&(c?.id??j(`control-code-${R}`)),t[35]=s,t[36]=c?.id,t[37]=R,t[38]=j,t[39]=V):V=t[39];let H=V,ee;t[40]!==a||t[41]!==R||t[42]!==h?.id||t[43]!==j?(ee=a&&(h?.id??j(`radio-label-${R}`)),t[40]=a,t[41]=R,t[42]=h?.id,t[43]=j,t[44]=ee):ee=t[44];let U=ee,W;t[45]!==R||t[46]!==g||t[47]!==N||t[48]!==j?(W=g&&N&&j(`control-loading-${R}`),t[45]=R,t[46]=g,t[47]=N,t[48]=j,t[49]=W):W=t[49];let G=W,K=L?.status??D,J=u||L?.disabled,te=x||L?.readOnly,Y=L?.softDisabled||g||n===`true`||n===!0,X;t[50]!==te||t[51]!==Y?(X=e=>{(Y||te)&&e.preventDefault()},t[50]=te,t[51]=Y,t[52]=X):X=t[52];let ne=X,re=(0,b.useRef)(null),ie=(0,b.useRef)(null),ae;t[53]===Symbol.for(`react.memo_cache_sentinel`)?(ae=e=>{e.target.tagName===`INPUT`&&e.target.type===`radio`&&re.current?.contains(e.target)&&ie.current?.focus()},t[53]=ae):ae=t[53];let oe=ae,se;t[54]!==H||t[55]!==U?(se=uj([H,U]),t[54]=H,t[55]=U,t[56]=se):se=t[56];let ce=se,le;t[57]===K?le=t[58]:(le=NP(K),t[57]=K,t[58]=le);let ue=F.dataAttrs,Z;t[59]!==j||t[60]!==C?.className?(Z=$(j(`radio__root`),C?.className),t[59]=j,t[60]=C?.className,t[61]=Z):Z=t[61];let de=C?.style,fe;t[62]!==F.cssVars||t[63]!==de?(fe={...F.cssVars,...de},t[62]=F.cssVars,t[63]=de,t[64]=fe):fe=t[64];let pe=C?.onFocus,me;t[65]===pe?me=t[66]:(me=[pe,oe],t[65]=pe,t[66]=me);let he=Dp(me),ge=C?.ref,_e;t[67]===ge?_e=t[68]:(_e=[re,ge],t[67]=ge,t[68]=_e);let ve=sy(_e),ye;t[69]!==s||t[70]!==H||t[71]!==c||t[72]!==j||t[73]!==K?(ye=H&&(0,q.jsx)(fj,{status:K,...c,id:H,className:$(j(`radio__code`),c?.className),children:s}),t[69]=s,t[70]=H,t[71]=c,t[72]=j,t[73]=K,t[74]=ye):ye=t[74];let be;t[75]!==J||t[76]!==j||t[77]!==te||t[78]!==Y||t[79]!==T||t[80]!==E||t[81]!==K?(be=T&&(0,q.jsx)(`div`,{"data-status":K,"data-disabled":tb(J||Y),"data-readonly":tb(te),...E,className:$(j(`radio__start-container`),E?.className),children:T}),t[75]=J,t[76]=j,t[77]=te,t[78]=Y,t[79]=T,t[80]=E,t[81]=K,t[82]=be):be=t[82];let xe=J||Y,Se;t[83]===xe?Se=t[84]:(Se=tb(xe),t[83]=xe,t[84]=Se);let Ce;t[85]===te?Ce=t[86]:(Ce=tb(te),t[85]=te,t[86]=Ce);let we;t[87]!==l?.className||t[88]!==j?(we=$(j(`radio__container`),l?.className),t[87]=l?.className,t[88]=j,t[89]=we):we=t[89];let Te;t[90]!==o||t[91]!==j?(Te=$(j(`radio`),o),t[90]=o,t[91]=j,t[92]=Te):Te=t[92];let Ee;t[93]===k?Ee=t[94]:(Ee=k?.toString()??``,t[93]=k,t[94]=Ee);let De;t[95]===Y?De=t[96]:(De=tb(Y),t[95]=Y,t[96]=De);let Oe;t[97]===te?Oe=t[98]:(Oe=tb(te),t[97]=te,t[98]=Oe);let ke=Y||te||void 0,Ae=i??(r===void 0&&ce!==U?ce:void 0),je;t[99]!==ne||t[100]!==v?(je=[v,ne],t[99]=ne,t[100]=v,t[101]=je):je=t[101];let Me=Dp(je),Ne;t[102]===S?Ne=t[103]:(Ne=[ie,S],t[102]=S,t[103]=Ne);let Pe=sy(Ne),Fe;t[104]!==m?.className||t[105]!==j?(Fe=$(j(`radio__indicator`),m?.className),t[104]=m?.className,t[105]=j,t[106]=Fe):Fe=t[106];let Ie;t[107]!==m||t[108]!==Fe?(Ie=(0,q.jsx)(ed,{...m,className:Fe}),t[107]=m,t[108]=Fe,t[109]=Ie):Ie=t[109];let Le;t[110]!==r||t[111]!==B||t[112]!==J||t[113]!==I||t[114]!==K||t[115]!==Te||t[116]!==Ee||t[117]!==De||t[118]!==Oe||t[119]!==ke||t[120]!==Ae||t[121]!==Me||t[122]!==Pe||t[123]!==Ie?(Le=(0,q.jsx)(Qu,{id:B,className:Te,value:Ee,disabled:J,"data-disabled":De,"data-readonly":Oe,"data-status":K,"aria-disabled":ke,"aria-label":r,"aria-labelledby":Ae,...I,onClick:Me,ref:Pe,children:Ie}),t[110]=r,t[111]=B,t[112]=J,t[113]=I,t[114]=K,t[115]=Te,t[116]=Ee,t[117]=De,t[118]=Oe,t[119]=ke,t[120]=Ae,t[121]=Me,t[122]=Pe,t[123]=Ie,t[124]=Le):Le=t[124];let Re;t[125]!==a||t[126]!==B||t[127]!==U||t[128]!==h||t[129]!==j||t[130]!==K?(Re=U&&(0,q.jsx)(jj,{htmlFor:B,"data-status":K,...h,id:U,className:$(j(`radio__label`),h?.className),containerProps:{...h?.containerProps,className:$(j(`radio__label-container`),h?.containerProps?.className)},children:a}),t[125]=a,t[126]=B,t[127]=U,t[128]=h,t[129]=j,t[130]=K,t[131]=Re):Re=t[131];let ze;t[132]!==l||t[133]!==K||t[134]!==Se||t[135]!==Ce||t[136]!==we||t[137]!==Le||t[138]!==Re?(ze=(0,q.jsxs)(`div`,{"data-status":K,"data-disabled":Se,"data-readonly":Ce,...l,className:we,children:[Le,Re]}),t[132]=l,t[133]=K,t[134]=Se,t[135]=Ce,t[136]=we,t[137]=Le,t[138]=Re,t[139]=ze):ze=t[139];let Be;t[140]!==J||t[141]!==d||t[142]!==f||t[143]!==j||t[144]!==te||t[145]!==A||t[146]!==Y||t[147]!==w||t[148]!==K?(Be=(A||d)&&(0,q.jsxs)(`div`,{"data-status":K,"data-disabled":tb(J||Y),"data-readonly":tb(te),...f,className:$(j(`radio__end-container`),f?.className),children:[A&&(0,q.jsx)(GE,{color:NP(K,`neutral`),"data-disabled":tb(J||Y),...w,className:$(j(`radio__spinner`),w?.className)}),d]}),t[140]=J,t[141]=d,t[142]=f,t[143]=j,t[144]=te,t[145]=A,t[146]=Y,t[147]=w,t[148]=K,t[149]=Be):Be=t[149];let Ve;t[150]!==F.dataAttrs||t[151]!==C||t[152]!==K||t[153]!==le||t[154]!==Z||t[155]!==fe||t[156]!==he||t[157]!==ve||t[158]!==ye||t[159]!==be||t[160]!==ze||t[161]!==Be?(Ve=(0,q.jsxs)(`div`,{"data-status":K,"data-accent":le,...ue,...C,className:Z,style:fe,onFocus:he,ref:ve,children:[ye,be,ze,Be]}),t[150]=F.dataAttrs,t[151]=C,t[152]=K,t[153]=le,t[154]=Z,t[155]=fe,t[156]=he,t[157]=ve,t[158]=ye,t[159]=be,t[160]=ze,t[161]=Be,t[162]=Ve):Ve=t[162];let He;t[163]!==N||t[164]!==G?(He=G&&(0,q.jsx)(`span`,{hidden:!0,id:G,children:N}),t[163]=N,t[164]=G,t[165]=He):He=t[165];let Ue;return t[166]!==Ve||t[167]!==He?(Ue=(0,q.jsxs)(q.Fragment,{children:[Ve,He]}),t[166]=Ve,t[167]=He,t[168]=Ue):Ue=t[168],Ue}function QL(e){let t=(0,Q.c)(228),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18],x=t[19],S=t[20],C=t[21],w=t[22],T=t[23],E=t[24],D=t[25],O=t[26],k=t[27],A=t[28],j=t[29],M=t[30],N=t[31],P=t[32],F=t[33],I=t[34],L=t[35],R=t[36],z=t[37],B=t[38]):({defaultValue:h,value:m,onValueChange:E,inline:x,variant:B,status:F,loading:S,loadingDescription:C,showSpinner:L,code:d,showClearButton:j,clearDescription:u,clearButtonLabel:c,onBlurToOutside:T,validate:R,validationMode:z,startAdornment:N,endAdornment:_,codeProps:f,containerProps:p,startContainerProps:P,endContainerProps:v,clearButtonProps:l,spinnerProps:M,id:y,name:w,required:A,disabled:g,readOnly:O,className:s,style:I,children:o,"aria-disabled":r,"aria-label":i,"aria-labelledby":a,"aria-describedby":n,ref:k,...D}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y,t[19]=x,t[20]=S,t[21]=C,t[22]=w,t[23]=T,t[24]=E,t[25]=D,t[26]=O,t[27]=k,t[28]=A,t[29]=j,t[30]=M,t[31]=N,t[32]=P,t[33]=F,t[34]=I,t[35]=L,t[36]=R,t[37]=z,t[38]=B);let V=L===void 0?S:L,H=ap(),[ee]=Mp(),U=C??ee.Input.loadingDescription,W=c??ee.Input.clearButtonLabel,G=u??ee.RadioGroup.clearDescription,K=gp(D),J,te;t[39]===K?(J=t[40],te=t[41]):({marginProps:J,...te}=K,t[39]=K,t[40]=J,t[41]=te);let[Y,X]=Ap(h??``,m),{status:ne,disabled:re,setValue:ie,onChange:ae,onBlur:oe}=AM(w,Y,R,z),se=F??ne,ce=g||re,le;t[42]!==d||t[43]!==f||t[44]!==y||t[45]!==A||t[46]!==se?(le={id:y,tagName:`DIV`,required:A,status:se,code:d,codeProps:f},t[42]=d,t[43]=f,t[44]=y,t[45]=A,t[46]=se,t[47]=le):le=t[47];let{generatedId:ue,controlId:Z,codeId:de,labelId:fe,dataTableColumnLabelId:pe,feedbackIds:me,helperTextIds:he}=MP(le),ge;t[48]!==ue||t[49]!==S||t[50]!==U||t[51]!==H?(ge=S&&U&&H(`control-loading-${ue}`),t[48]=ue,t[49]=S,t[50]=U,t[51]=H,t[52]=ge):ge=t[52];let _e=ge,[ve,ye]=(0,b.useState)(null),be=(0,b.useRef)(null),xe=(0,b.useRef)(null),Se=qv(),Ce=B??(Se?`cell`:`default`),we=x??Ce===`cell`,Te=S||r===`true`||r===!0,Ee;t[53]!==ae||t[54]!==E||t[55]!==O||t[56]!==X||t[57]!==Te?(Ee=e=>{!Te&&!O&&(X(e),E?.(e),ae(e))},t[53]=ae,t[54]=E,t[55]=O,t[56]=X,t[57]=Te,t[58]=Ee):Ee=t[58];let De=Ee,Oe=xj(),ke;t[59]===Oe?ke=t[60]:(ke=()=>Oe(!0),t[59]=Oe,t[60]=ke);let Ae=ke,je;t[61]!==oe||t[62]!==T||t[63]!==Oe?(je=e=>{Oe(!1),e.relatedTarget&&(be.current?.contains(e.relatedTarget)||xe.current?.contains(e.relatedTarget))||(T?.(e),oe())},t[61]=oe,t[62]=T,t[63]=Oe,t[64]=je):je=t[64];let Me=je,Ne;t[65]!==De||t[66]!==ve?(Ne=()=>{De(null),ve?.focus()},t[65]=De,t[66]=ve,t[67]=Ne):Ne=t[67];let Pe=Ne,Fe=!ce&&!Te&&!O&&(j===!0||j===`auto`&&(Y?.length??0)>0),Ie;t[68]!==G||t[69]!==ue||t[70]!==Fe||t[71]!==H?(Ie=Fe&&G&&H(`control-clear-${ue}`),t[68]=G,t[69]=ue,t[70]=Fe,t[71]=H,t[72]=Ie):Ie=t[72];let Le=Ie,Re;t[73]!==Pe||t[74]!==Fe?(Re=e=>{Fe&&(e.code===`Delete`||e.code===`Backspace`)&&Pe()},t[73]=Pe,t[74]=Fe,t[75]=Re):Re=t[75];let ze=Re,Be;t[76]!==ie||t[77]!==O||t[78]!==X||t[79]!==Te?(Be=e=>{!Te&&!O&&(X(e),ie(e))},t[76]=ie,t[77]=O,t[78]=X,t[79]=Te,t[80]=Be):Be=t[80],KF(ve,Y,Be);let Ve=l?.onClick,He;t[81]!==Pe||t[82]!==Ve?(He=[Ve,Pe],t[81]=Pe,t[82]=Ve,t[83]=He):He=t[83];let Ue;t[84]===Symbol.for(`react.memo_cache_sentinel`)?(Ue={checkDefaultPrevented:!0},t[84]=Ue):Ue=t[84];let We=Dp(He,Ue),Ge=l?.onFocus,Ke;t[85]!==Ae||t[86]!==Ge?(Ke=[Ge,Ae],t[85]=Ae,t[86]=Ge,t[87]=Ke):Ke=t[87];let qe=Dp(Ke),Je=l?.onBlur,Ye;t[88]!==Me||t[89]!==Je?(Ye=[Je,Me],t[88]=Me,t[89]=Je,t[90]=Ye):Ye=t[90];let Xe=Dp(Ye),Ze=l?.ref,Qe;t[91]===Ze?Qe=t[92]:(Qe=[xe,Ze],t[91]=Ze,t[92]=Qe);let $e=sy(Qe),et;t[93]!==ce||t[94]!==O||t[95]!==Te||t[96]!==se||t[97]!==Ce?(et={variant:Ce,status:se,disabled:ce,softDisabled:Te,readOnly:O},t[93]=ce,t[94]=O,t[95]=Te,t[96]=se,t[97]=Ce,t[98]=et):et=t[98];let tt;if(t[99]!==s||t[100]!==we||t[101]!==H){let e;t[103]!==we||t[104]!==H?(e=we&&H(`radio-group--inline`),t[103]=we,t[104]=H,t[105]=e):e=t[105],tt=$(H(`radio-group`),e,s),t[99]=s,t[100]=we,t[101]=H,t[102]=tt}else tt=t[102];let nt;t[106]===se?nt=t[107]:(nt=NP(se),t[106]=se,t[107]=nt);let rt=!!d,it;t[108]===rt?it=t[109]:(it=tb(rt),t[108]=rt,t[109]=it);let at=Te||O||void 0,ot=se===`invalid`||void 0,st;t[110]!==i||t[111]!==a||t[112]!==de||t[113]!==pe||t[114]!==fe?(st=a??(i===void 0?uj([de,fe??pe]):void 0),t[110]=i,t[111]=a,t[112]=de,t[113]=pe,t[114]=fe,t[115]=st):st=t[115];let ct;t[116]!==n||t[117]!==Le||t[118]!==me||t[119]!==he||t[120]!==_e?(ct=uj([_e,me,n,he,Le]),t[116]=n,t[117]=Le,t[118]=me,t[119]=he,t[120]=_e,t[121]=ct):ct=t[121];let lt;t[122]!==J.cssVars||t[123]!==I?(lt={...J.cssVars,...I},t[122]=J.cssVars,t[123]=I,t[124]=lt):lt=t[124];let ut=J.dataAttrs,dt;t[125]===k?dt=t[126]:(dt=[ye,k],t[125]=k,t[126]=dt);let ft=sy(dt),pt;t[127]!==d||t[128]!==de||t[129]!==f||t[130]!==H||t[131]!==se?(pt=d!=null&&typeof d!=`boolean`&&(0,q.jsx)(fj,{status:se,...f,id:de,className:$(H(`radio-group__code`),f?.className),children:d}),t[127]=d,t[128]=de,t[129]=f,t[130]=H,t[131]=se,t[132]=pt):pt=t[132];let mt;t[133]!==ce||t[134]!==H||t[135]!==O||t[136]!==Te||t[137]!==N||t[138]!==P||t[139]!==se||t[140]!==Ce?(mt=N&&(0,q.jsx)(`div`,{"data-status":se,"data-variant":Ce,"data-disabled":tb(ce||Te),"data-readonly":tb(O),...P,className:$(H(`radio-group__start-container`),P?.className),children:N}),t[133]=ce,t[134]=H,t[135]=O,t[136]=Te,t[137]=N,t[138]=P,t[139]=se,t[140]=Ce,t[141]=mt):mt=t[141];let ht=ce||Te,gt;t[142]===ht?gt=t[143]:(gt=tb(ht),t[142]=ht,t[143]=gt);let _t;t[144]===O?_t=t[145]:(_t=tb(O),t[144]=O,t[145]=_t);let vt;t[146]!==p?.className||t[147]!==H?(vt=$(H(`radio-group__container`),p?.className),t[146]=p?.className,t[147]=H,t[148]=vt):vt=t[148];let yt=p?.onKeyDown,bt;t[149]!==ze||t[150]!==yt?(bt=[yt,ze],t[149]=ze,t[150]=yt,t[151]=bt):bt=t[151];let xt=Dp(bt),St=p?.onFocus,Ct;t[152]!==Ae||t[153]!==St?(Ct=[St,Ae],t[152]=Ae,t[153]=St,t[154]=Ct):Ct=t[154];let wt=Dp(Ct),Tt=p?.onBlur,Et;t[155]!==Me||t[156]!==Tt?(Et=[Tt,Me],t[155]=Me,t[156]=Tt,t[157]=Et):Et=t[157];let Dt=Dp(Et),Ot=p?.ref,kt;t[158]===Ot?kt=t[159]:(kt=[be,Ot],t[158]=Ot,t[159]=kt);let At=sy(kt),jt;t[160]===o?jt=t[161]:(jt=(0,q.jsx)(Jv,{children:o}),t[160]=o,t[161]=jt);let Mt;t[162]!==p||t[163]!==se||t[164]!==gt||t[165]!==_t||t[166]!==vt||t[167]!==xt||t[168]!==wt||t[169]!==Dt||t[170]!==At||t[171]!==jt||t[172]!==Ce?(Mt=(0,q.jsx)(`div`,{"data-status":se,"data-variant":Ce,"data-disabled":gt,"data-readonly":_t,...p,className:vt,onKeyDown:xt,onFocus:wt,onBlur:Dt,ref:At,children:jt}),t[162]=p,t[163]=se,t[164]=gt,t[165]=_t,t[166]=vt,t[167]=xt,t[168]=wt,t[169]=Dt,t[170]=At,t[171]=jt,t[172]=Ce,t[173]=Mt):Mt=t[173];let Nt;t[174]!==W||t[175]!==l||t[176]!==Xe||t[177]!==We||t[178]!==qe||t[179]!==$e||t[180]!==ce||t[181]!==_||t[182]!==v||t[183]!==Fe||t[184]!==H||t[185]!==O||t[186]!==V||t[187]!==Te||t[188]!==M||t[189]!==se||t[190]!==Ce?(Nt=(Fe||V||_)&&(0,q.jsxs)(`div`,{"data-status":se,"data-variant":Ce,"data-disabled":tb(ce||Te),"data-readonly":tb(O),...v,className:$(H(`radio-group__end-container`),v?.className),children:[Fe&&(0,q.jsx)(YE,{size:`sm`,label:W,tabIndex:-1,circle:!0,...l,className:$(H(`radio-group__clear-button`),l?.className),onClick:We,onFocus:qe,onBlur:Xe,ref:$e}),V&&(0,q.jsx)(GE,{color:NP(se,`neutral`),"data-disabled":tb(ce||Te),...M,className:$(H(`radio-group__spinner`),M?.className)}),_]}),t[174]=W,t[175]=l,t[176]=Xe,t[177]=We,t[178]=qe,t[179]=$e,t[180]=ce,t[181]=_,t[182]=v,t[183]=Fe,t[184]=H,t[185]=O,t[186]=V,t[187]=Te,t[188]=M,t[189]=se,t[190]=Ce,t[191]=Nt):Nt=t[191];let Pt;t[192]!==U||t[193]!==_e?(Pt=_e&&(0,q.jsx)(`span`,{hidden:!0,id:_e,children:U}),t[192]=U,t[193]=_e,t[194]=Pt):Pt=t[194];let Ft;t[195]!==G||t[196]!==Le?(Ft=Le&&(0,q.jsx)(`span`,{hidden:!0,id:Le,children:G}),t[195]=G,t[196]=Le,t[197]=Ft):Ft=t[197];let It;t[198]!==i||t[199]!==Z||t[200]!==ce||t[201]!==De||t[202]!==J.dataAttrs||t[203]!==w||t[204]!==te||t[205]!==A||t[206]!==se||t[207]!==tt||t[208]!==nt||t[209]!==it||t[210]!==at||t[211]!==ot||t[212]!==st||t[213]!==ct||t[214]!==lt||t[215]!==ft||t[216]!==pt||t[217]!==mt||t[218]!==Mt||t[219]!==Nt||t[220]!==Pt||t[221]!==Ft||t[222]!==Y||t[223]!==Ce?(It=(0,q.jsxs)(qu,{value:Y,onValueChange:De,id:Z,name:w,required:A,disabled:ce,className:tt,"data-status":se,"data-accent":nt,"data-variant":Ce,"data-has-code":it,"aria-disabled":at,"aria-invalid":ot,"aria-label":i,"aria-labelledby":st,"aria-describedby":ct,style:lt,...ut,...te,ref:ft,children:[pt,mt,Mt,Nt,Pt,Ft]}),t[198]=i,t[199]=Z,t[200]=ce,t[201]=De,t[202]=J.dataAttrs,t[203]=w,t[204]=te,t[205]=A,t[206]=se,t[207]=tt,t[208]=nt,t[209]=it,t[210]=at,t[211]=ot,t[212]=st,t[213]=ct,t[214]=lt,t[215]=ft,t[216]=pt,t[217]=mt,t[218]=Mt,t[219]=Nt,t[220]=Pt,t[221]=Ft,t[222]=Y,t[223]=Ce,t[224]=It):It=t[224];let Lt;return t[225]!==et||t[226]!==It?(Lt=(0,q.jsx)(Jv,{field:!1,children:(0,q.jsx)($j,{value:et,children:It})}),t[225]=et,t[226]=It,t[227]=Lt):Lt=t[227],Lt}var $L=(0,b.createContext)(null);function eR(e,t,n,r){let i=(0,Q.c)(13),a;i[0]===n?a=i[1]:(a={onActiveStepChange:n},i[0]=n,i[1]=a);let o=Ep(a),s;i[2]!==t||i[3]!==e||i[4]!==o?(s=()=>Xf()(Op((n,r)=>({_activeStep:e??0,_controlledActiveStep:t,activeStep:Up(()=>[r()._controlledActiveStep??r()._activeStep,r().stepCount()],nR),stepsInfo:{},stepsContent:{},stepCount:Up(()=>[r().stepsInfo],tR),actions:{registerStep:(e,t)=>(n(n=>{let{stepsInfo:r}=n;return{stepsInfo:{...r,[e]:t}}}),()=>{n(t=>{let{stepsInfo:n}=t,r={...n};return delete r[e],{stepsInfo:r}})}),registerStepContent:(e,t)=>(n(n=>{let{stepsContent:r}=n;return{stepsContent:{...r,[e]:t}}}),()=>{n(t=>{let{stepsContent:n}=t,r={...n};return delete r[e],{stepsContent:r}})}),getStepInfo:e=>r().stepsInfo[e],getStepContent:e=>r().stepsContent[e],goTo:e=>{let t=+e,i=Number.isNaN(e)?0:Math.max(0,Math.min(t,r().stepCount()));r().activeStep()!==i&&(n({_activeStep:i}),o.current.onActiveStepChange?.(i))},next:()=>{r().actions.goTo(r().activeStep()+1)},previous:()=>{r().actions.goTo(r().activeStep()-1)}}}))),i[2]=t,i[3]=e,i[4]=o,i[5]=s):s=i[5];let c=Pp(s),l,u;i[6]!==t||i[7]!==c?(l=()=>{t!==void 0&&c.setState({_controlledActiveStep:t})},u=[c,t],i[6]=t,i[7]=c,i[8]=l,i[9]=u):(l=i[8],u=i[9]),(0,b.useEffect)(l,u);let d;return i[10]!==r||i[11]!==c?(d={showAllStepsWhilePrinting:r,store:c},i[10]=r,i[11]=c,i[12]=d):d=i[12],d}function tR(e){return Object.keys(e).length}function nR(e,t){return Number.isNaN(e)?0:Math.max(0,Math.min(e,t))}function rR(){let e=(0,b.useContext)($L);if(!e)throw Error(`Stepper context not in scope.`);return e}function iR(e,t){let n=(0,Q.c)(6),{store:r}=rR(),i=qp(),a,o;n[0]!==e||n[1]!==t||n[2]!==i||n[3]!==r?(a=()=>{if(!i)return r.getState().actions.registerStep(e,t)},o=[e,t,i,r],n[0]=e,n[1]=t,n[2]=i,n[3]=r,n[4]=a,n[5]=o):(a=n[4],o=n[5]),(0,b.useEffect)(a,o)}function aR(e,t){let n=(0,Q.c)(6),{store:r}=rR(),i=qp(),a,o;n[0]!==e||n[1]!==t||n[2]!==i||n[3]!==r?(a=()=>{if(!i)return r.getState().actions.registerStepContent(e,t)},o=[t,e,i,r],n[0]=e,n[1]=t,n[2]=i,n[3]=r,n[4]=a,n[5]=o):(a=n[4],o=n[5]),(0,b.useEffect)(a,o)}function oR(e){let t=(0,Q.c)(2),{store:n}=rR(),r;return t[0]===e?r=t[1]:(r=t=>t.actions.getStepInfo(e),t[0]=e,t[1]=r),Qf(n,r)}function sR(e){let t=(0,Q.c)(2),{store:n}=rR(),r;return t[0]===e?r=t[1]:(r=t=>t.actions.getStepContent(e),t[0]=e,t[1]=r),Qf(n,r)}function cR(e){let t=(0,Q.c)(109),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15]):({asChild:n,index:l,completed:o,status:m,stepNumberLabel:h,completedLabel:s,variant:g,disabled:c,loading:d,showSpinner:p,className:a,children:i,buttonProps:r,labelProps:u,...f}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g),l==null)throw Error("Missing `index` property. When a `Step` is not a direct child of `StepList`, its index must be manually provided.");let[_]=Mp(),v=h??_.Step.stepNumberLabel,y=s??_.Step.completedLabel,x=ap(),{store:S}=rR(),C;t[16]===l?C=t[17]:(C=e=>e.activeStep()===l,t[16]=l,t[17]=C);let w=Qf(S,C),T;t[18]!==o||t[19]!==l?(T=e=>o??e.activeStep()>l,t[18]=o,t[19]=l,t[20]=T):T=t[20];let E=Qf(S,T),D=(0,b.useId)(),O;t[21]!==D||t[22]!==u?.id||t[23]!==x?(O=u?.id??x(`stepper-step-label-${D}`),t[21]=D,t[22]=u?.id,t[23]=x,t[24]=O):O=t[24];let k=O,A;t[25]!==r?.id||t[26]!==D||t[27]!==x?(A=r?.id??x(`stepper-step-button-${D}`),t[25]=r?.id,t[26]=D,t[27]=x,t[28]=A):A=t[28];let j=A,M=sR(l),N;t[29]!==i||t[30]!==c||t[31]!==k?(N={labelId:k,label:i,disabled:c},t[29]=i,t[30]=c,t[31]=k,t[32]=N):N=t[32],iR(l,N);let P;t[33]!==r||t[34]!==l||t[35]!==S?(P=e=>{S.getState().actions.goTo(l),r?.onClick?.(e)},t[33]=r,t[34]=l,t[35]=S,t[36]=P):P=t[36];let F=P,I=n?_p:`li`,L;t[37]!==a||t[38]!==x?(L=$(x(`stepper__step`),a),t[37]=a,t[38]=x,t[39]=L):L=t[39];let R;t[40]===E?R=t[41]:(R=tb(E),t[40]=E,t[41]=R);let z;t[42]===w?z=t[43]:(z=tb(w),t[42]=w,t[43]=z);let B=E?`primary`:`neutral`,V;t[44]!==m||t[45]!==B?(V=NP(m,B),t[44]=m,t[45]=B,t[46]=V):V=t[46];let H;t[47]===E?H=t[48]:(H=tb(E),t[47]=E,t[48]=H);let ee;t[49]===w?ee=t[50]:(ee=tb(w),t[49]=w,t[50]=ee);let U;t[51]!==u?.className||t[52]!==x?(U=$(x(`stepper__step-label`),u?.className),t[51]=u?.className,t[52]=x,t[53]=U):U=t[53];let W;t[54]!==l||t[55]!==v?(W=v&&(0,q.jsxs)(AE,{children:[v(l),`, `]}),t[54]=l,t[55]=v,t[56]=W):W=t[56];let G;t[57]!==y||t[58]!==E?(G=E&&(0,q.jsxs)(AE,{children:[`, `,y]}),t[57]=y,t[58]=E,t[59]=G):G=t[59];let K;t[60]!==j||t[61]!==i||t[62]!==k||t[63]!==u||t[64]!==H||t[65]!==ee||t[66]!==U||t[67]!==W||t[68]!==G?(K=(0,q.jsxs)(jj,{"data-completed":H,"data-current":ee,...u,id:k,className:U,htmlFor:j,children:[W,i,G]}),t[60]=j,t[61]=i,t[62]=k,t[63]=u,t[64]=H,t[65]=ee,t[66]=U,t[67]=W,t[68]=G,t[69]=K):K=t[69];let J=g??(E||w?`solid`:`subtle`),te=E||w?`primary`:`neutral`,Y;t[70]!==m||t[71]!==te?(Y=NP(m,te),t[70]=m,t[71]=te,t[72]=Y):Y=t[72];let X;t[73]===E?X=t[74]:(X=tb(E),t[73]=E,t[74]=X);let ne;t[75]===w?ne=t[76]:(ne=tb(w),t[75]=w,t[76]=ne);let re=w?`step`:void 0,ie=w?M?.id:void 0,ae;t[77]!==r?.className||t[78]!==x?(ae=$(x(`stepper__step-button`),r?.className),t[77]=r?.className,t[78]=x,t[79]=ae):ae=t[79];let oe;t[80]!==l||t[81]!==E?(oe=E?(0,q.jsx)(jE,{icon:My}):(0,q.jsx)(`span`,{"aria-hidden":!0,children:l+1}),t[80]=l,t[81]=E,t[82]=oe):oe=t[82];let se;t[83]!==j||t[84]!==r||t[85]!==c||t[86]!==F||t[87]!==d||t[88]!==p||t[89]!==m||t[90]!==J||t[91]!==Y||t[92]!==X||t[93]!==ne||t[94]!==re||t[95]!==ie||t[96]!==ae||t[97]!==oe?(se=(0,q.jsx)(sD,{variant:J,color:Y,"data-completed":X,"data-current":ne,"data-status":m,loading:d,showSpinner:p,"aria-disabled":c,"aria-current":re,"aria-controls":ie,...r,id:j,className:ae,onClick:F,children:oe}),t[83]=j,t[84]=r,t[85]=c,t[86]=F,t[87]=d,t[88]=p,t[89]=m,t[90]=J,t[91]=Y,t[92]=X,t[93]=ne,t[94]=re,t[95]=ie,t[96]=ae,t[97]=oe,t[98]=se):se=t[98];let ce;return t[99]!==I||t[100]!==f||t[101]!==m||t[102]!==V||t[103]!==K||t[104]!==se||t[105]!==L||t[106]!==R||t[107]!==z?(ce=(0,q.jsxs)(I,{className:L,"data-completed":R,"data-current":z,"data-status":m,"data-accent":V,...f,children:[K,se]}),t[99]=I,t[100]=f,t[101]=m,t[102]=V,t[103]=K,t[104]=se,t[105]=L,t[106]=R,t[107]=z,t[108]=ce):ce=t[108],ce}function lR(e){let t=(0,Q.c)(38),n,r,i,a,o,s,c;if(t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({index:i,id:r,className:n,stepContentLabelProps:c,stepContentLabelIndexProps:s,ref:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c),i==null)throw Error("Missing `index` property. When a `StepContent` is not a direct child of `Stepper`, its index must be manually provided.");let l=ap(),u=qp(),d=(0,b.useRef)(null),f=(0,b.useId)(),p;t[8]!==f||t[9]!==r||t[10]!==l?(p=r??l(`stepper-step-content-${f}`),t[8]=f,t[9]=r,t[10]=l,t[11]=p):p=t[11];let m=p,h;t[12]===m?h=t[13]:(h={id:m,ref:d},t[12]=m,t[13]=h),aR(i,h);let{showAllStepsWhilePrinting:g,store:_}=rR(),v;t[14]===i?v=t[15]:(v=e=>e.activeStep()===i,t[14]=i,t[15]=v);let y=Qf(_,v),x=oR(i),S;t[16]===o?S=t[17]:(S=[d,o],t[16]=o,t[17]=S);let C=sy(S),w;t[18]!==i||t[19]!==l||t[20]!==u||t[21]!==g||t[22]!==s?.className||t[23]!==c||t[24]!==x?(w=u&&g&&x?.label&&(0,q.jsxs)(`span`,{...c,className:$(l(`stepper__step-content-label`),c?.className),children:[(0,q.jsx)(`span`,{className:$(l(`stepper__step-content-label-index`),s?.className),children:i+1}),x.label]}),t[18]=i,t[19]=l,t[20]=u,t[21]=g,t[22]=s?.className,t[23]=c,t[24]=x,t[25]=w):w=t[25];let T;t[26]!==n||t[27]!==C||t[28]!==y||t[29]!==a||t[30]!==l||t[31]!==u||t[32]!==g||t[33]!==x?.labelId?(T=(u&&g||y)&&(0,q.jsx)(WD,{className:$(l(`stepper__step-content`),n),role:`region`,"aria-labelledby":x?.labelId,"data-active":tb(y),tabIndex:-1,...a,ref:C}),t[26]=n,t[27]=C,t[28]=y,t[29]=a,t[30]=l,t[31]=u,t[32]=g,t[33]=x?.labelId,t[34]=T):T=t[34];let E;return t[35]!==w||t[36]!==T?(E=(0,q.jsxs)(q.Fragment,{children:[w,T]}),t[35]=w,t[36]=T,t[37]=E):E=t[37],E}function uR(e){let t=(0,Q.c)(26),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({asChild:n,className:i,style:o,children:r,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=ap(),c=gp(a),l,u;t[6]===c?(l=t[7],u=t[8]):({marginProps:l,...u}=c,t[6]=c,t[7]=l,t[8]=u);let{showAllStepsWhilePrinting:d}=rR(),{printHidden:f}=Aj(),p;if(t[9]!==r){p=[];let e=0;for(let t of b.Children.toArray(r)){if(!(0,b.isValidElement)(t)||t.type!==cR){p.push(t);continue}let{index:n,...r}=t.props;n==null?p.push((0,b.cloneElement)(t,{index:e++,...r})):(p.push(t),e=n+1)}t[9]=r,t[10]=p}else p=t[10];let m=n?_p:`ol`,h;t[11]!==i||t[12]!==s||t[13]!==f||t[14]!==d?(h=$(s(`stepper__step-list`),d&&f,i),t[11]=i,t[12]=s,t[13]=f,t[14]=d,t[15]=h):h=t[15];let g;t[16]!==l.cssVars||t[17]!==o?(g={...l.cssVars,...o},t[16]=l.cssVars,t[17]=o,t[18]=g):g=t[18];let _;return t[19]!==m||t[20]!==p||t[21]!==l.dataAttrs||t[22]!==u||t[23]!==h||t[24]!==g?(_=(0,q.jsx)(m,{className:h,style:g,...l.dataAttrs,...u,children:p}),t[19]=m,t[20]=p,t[21]=l.dataAttrs,t[22]=u,t[23]=h,t[24]=g,t[25]=_):_=t[25],_}function dR(e){let t=(0,Q.c)(26),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({defaultActiveStep:o,activeStep:a,onActiveStepChange:s,showAllStepsWhilePrinting:l,className:i,apiRef:n,children:r,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=ap(),d=eR(o,a,s,l),{store:f}=d,p;t[9]===n?p=t[10]:(p=e=>n?{activeStep:e.activeStep(),goTo:e.actions.goTo,next:e.actions.next,previous:e.actions.previous}:null,t[9]=n,t[10]=p);let m=Qf(f,Bp(p)),h,g;t[11]===m?(h=t[12],g=t[13]):(h=()=>m,g=[m],t[11]=m,t[12]=h,t[13]=g),(0,b.useImperativeHandle)(n,h,g);let _;if(t[14]!==r){_=[];let e=0;for(let t of b.Children.toArray(r)){if(!(0,b.isValidElement)(t)||t.type!==lR){_.push(t);continue}let{index:n,...r}=t.props;n==null?_.push((0,b.cloneElement)(t,{index:e++,...r})):(_.push(t),e=n+1)}t[14]=r,t[15]=_}else _=t[15];let v;t[16]!==i||t[17]!==u?(v=$(u(`stepper`),i),t[16]=i,t[17]=u,t[18]=v):v=t[18];let y;t[19]!==_||t[20]!==c||t[21]!==v?(y=(0,q.jsx)(WD,{className:v,...c,children:_}),t[19]=_,t[20]=c,t[21]=v,t[22]=y):y=t[22];let x;return t[23]!==d||t[24]!==y?(x=(0,q.jsx)($L,{value:d,children:y}),t[23]=d,t[24]=y,t[25]=x):x=t[25],x}function fR(e){let t=(0,Q.c)(26),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({showWhenNotLast:o,showWhilePrinting:s,disabled:i,className:r,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=ap(),[l]=Mp(),{printHidden:u}=Aj(),{store:d}=rR(),f=Qf(d,pR);if(!(o||f))return null;let p=!f||i,m;t[7]!==r||t[8]!==c||t[9]!==u||t[10]!==s?(m=$(c(`stepper__finish-trigger`),s||u,r),t[7]=r,t[8]=c,t[9]=u,t[10]=s,t[11]=m):m=t[11];let h;t[12]!==p||t[13]!==m?(h={className:m,disabled:p},t[12]=p,t[13]=m,t[14]=h):h=t[14];let g=h;if(n===void 0){let e=a,n,r;t[15]===e?(n=t[16],r=t[17]):({label:r,...n}=e,t[15]=e,t[16]=n,t[17]=r);let i=r??l.StepperFinishTrigger.label,o;return t[18]!==n||t[19]!==g||t[20]!==i?(o=(0,q.jsx)(sD,{iconPlacement:`end`,color:`primary`,...n,...g,children:i}),t[18]=n,t[19]=g,t[20]=i,t[21]=o):o=t[21],o}let _;return t[22]!==n||t[23]!==g||t[24]!==a?(_=(0,q.jsx)(_p,{...a,...g,children:n}),t[22]=n,t[23]=g,t[24]=a,t[25]=_):_=t[25],_}function pR(e){return e.activeStep()>=e.stepCount()-1}function mR(e){let t=(0,Q.c)(34),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({showWhenLast:s,showWhilePrinting:c,disabled:i,onClick:a,className:r,children:n,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=ap(),[u]=Mp(),{printHidden:d}=Aj(),{store:f}=rR(),p=Qf(f,gR),m=Qf(f,hR),h;t[8]===f?h=t[9]:(h=()=>{let{next:e,getStepContent:t}=f.getState().actions;e(),setTimeout(()=>t(f.getState().activeStep())?.ref.current?.focus())},t[8]=f,t[9]=h);let g=h,_;t[10]!==a||t[11]!==g?(_=[a,g],t[10]=a,t[11]=g,t[12]=_):_=t[12];let v;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(v={checkDefaultPrevented:!0},t[13]=v):v=t[13];let y=Dp(_,v);if(!s&&p)return null;let b=p||m||i,x;t[14]!==r||t[15]!==l||t[16]!==d||t[17]!==c?(x=$(l(`stepper__next-trigger`),c||d,r),t[14]=r,t[15]=l,t[16]=d,t[17]=c,t[18]=x):x=t[18];let S;t[19]!==y||t[20]!==b||t[21]!==x?(S={className:x,disabled:b,onClick:y},t[19]=y,t[20]=b,t[21]=x,t[22]=S):S=t[22];let C=S;if(n===void 0){let e=o,n,r;t[23]===e?(n=t[24],r=t[25]):({label:r,...n}=e,t[23]=e,t[24]=n,t[25]=r);let i=r??u.StepperNextTrigger.label,a;return t[26]!==n||t[27]!==C||t[28]!==i?(a=(0,q.jsx)(sD,{iconPlacement:`end`,color:`primary`,...n,...C,children:i}),t[26]=n,t[27]=C,t[28]=i,t[29]=a):a=t[29],a}let w;return t[30]!==n||t[31]!==C||t[32]!==o?(w=(0,q.jsx)(_p,{...o,...C,children:n}),t[30]=n,t[31]=C,t[32]=o,t[33]=w):w=t[33],w}function hR(e){return e.actions.getStepInfo(e.activeStep()+1)?.disabled}function gR(e){return e.activeStep()>=e.stepCount()-1}function _R(e){let t=(0,Q.c)(34),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({showWhenFirst:c,showWhilePrinting:s,disabled:i,onClick:a,className:r,children:n,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0||c,u=ap(),[d]=Mp(),{printHidden:f}=Aj(),{store:p}=rR(),m=Qf(p,yR),h=Qf(p,vR),g;t[8]===p?g=t[9]:(g=()=>{let{previous:e,getStepContent:t}=p.getState().actions;e(),setTimeout(()=>t(p.getState().activeStep())?.ref.current?.focus())},t[8]=p,t[9]=g);let _=g,v;t[10]!==a||t[11]!==_?(v=[a,_],t[10]=a,t[11]=_,t[12]=v):v=t[12];let y;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(y={checkDefaultPrevented:!0},t[13]=y):y=t[13];let b=Dp(v,y);if(!l&&m)return null;let x=m||h||i,S;t[14]!==r||t[15]!==u||t[16]!==f||t[17]!==s?(S=$(u(`stepper__previous-trigger`),s||f,r),t[14]=r,t[15]=u,t[16]=f,t[17]=s,t[18]=S):S=t[18];let C;t[19]!==b||t[20]!==x||t[21]!==S?(C={className:S,disabled:x,onClick:b},t[19]=b,t[20]=x,t[21]=S,t[22]=C):C=t[22];let w=C;if(n===void 0){let e=o,n,r;t[23]===e?(n=t[24],r=t[25]):({label:r,...n}=e,t[23]=e,t[24]=n,t[25]=r);let i=r??d.StepperPreviousTrigger.label,a;return t[26]!==n||t[27]!==w||t[28]!==i?(a=(0,q.jsx)(sD,{variant:`subtle`,...n,...w,children:i}),t[26]=n,t[27]=w,t[28]=i,t[29]=a):a=t[29],a}let T;return t[30]!==n||t[31]!==w||t[32]!==o?(T=(0,q.jsx)(_p,{...o,...w,children:n}),t[30]=n,t[31]=w,t[32]=o,t[33]=T):T=t[33],T}function vR(e){return e.actions.getStepInfo(e.activeStep()-1)?.disabled}function yR(e){return e.activeStep()===0}var bR=(0,b.createContext)(null);function xR(e,t,n,r){let i=(0,Q.c)(11),a;i[0]!==t||i[1]!==n?(a=()=>Xf()(Op((e,r)=>({activeTab:n?.toString()??t?.toString(),showScrollButtons:!1,width:0,scrollPosition:void 0,tabsLabels:{},actions:{registerTabLabel:(t,n)=>(e(e=>{let{tabsLabels:r}=e;return{tabsLabels:{...r,[t]:n}}}),()=>{e(e=>{let{tabsLabels:n}=e,r={...n};return delete r[t],{tabsLabels:r}})}),getTabLabel:e=>r().tabsLabels[e]}}))),i[0]=t,i[1]=n,i[2]=a):a=i[2];let o=Pp(a),s,c;i[3]!==o||i[4]!==n?(s=()=>{n!==void 0&&o.setState({activeTab:n.toString()})},c=[o,n],i[3]=o,i[4]=n,i[5]=s,i[6]=c):(s=i[5],c=i[6]),(0,b.useEffect)(s,c);let l;return i[7]!==r||i[8]!==o||i[9]!==e?(l={variant:e,showAllTabsWhilePrinting:r,store:o},i[7]=r,i[8]=o,i[9]=e,i[10]=l):l=i[10],l}function SR(){let e=(0,b.useContext)(bR);if(!e)throw Error(`Tabs context not in scope.`);return e}function CR(e,t){let n=(0,Q.c)(6),{showAllTabsWhilePrinting:r,store:i}=SR(),a=qp()&&r,{registerTabLabel:o}=Qf(i,wR),s,c;n[0]!==t||n[1]!==a||n[2]!==o||n[3]!==e?(s=()=>{if(a)return o(e,t)},c=[t,a,o,e],n[0]=t,n[1]=a,n[2]=o,n[3]=e,n[4]=s,n[5]=c):(s=n[4],c=n[5]),(0,b.useEffect)(s,c)}function wR(e){return e.actions}function TR(e){let t=(0,Q.c)(2),{store:n}=SR(),r;return t[0]===e?r=t[1]:(r=t=>t.actions.getTabLabel(e),t[0]=e,t[1]=r),Qf(n,r)}function ER(e){let t=(0,Q.c)(71),n,r,i,a,o,s,c,l,u;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9]):({value:u,status:o,tooltipProps:l,tabInnerProps:s,tabTextProps:c,className:r,children:n,ref:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u);let d=ap(),{variant:f,store:p}=SR(),m;t[10]===u?m=t[11]:(m=u.toString(),t[10]=u,t[11]=m);let h=m,g;t[12]===h?g=t[13]:(g=e=>e.activeTab===h,t[12]=h,t[13]=g);let _=Qf(p,g);CR(h,n);let v=(0,b.useRef)(null),y=(0,b.useRef)(_),x,S;t[14]===_?(x=t[15],S=t[16]):(x=()=>{_&&!y.current&&setTimeout(()=>v.current?.scrollIntoView({block:`nearest`})),y.current=_},S=[_],t[14]=_,t[15]=x,t[16]=S),(0,b.useEffect)(x,S);let[C,w]=(0,b.useState)(!1),T=(0,b.useRef)(null),E;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{let e=T.current;e&&w(e.scrollWidth>e.clientWidth)},t[17]=E):E=t[17];let D;t[18]===n?D=t[19]:(D=[n],t[18]=n,t[19]=D),(0,b.useEffect)(E,D);let O;t[20]!==r||t[21]!==d||t[22]!==f?(O=$(d(`tabs__tab`),d(`tabs__tab--${f}`),r),t[20]=r,t[21]=d,t[22]=f,t[23]=O):O=t[23];let k;t[24]===o?k=t[25]:(k=NP(o),t[24]=o,t[25]=k);let A=o===`invalid`||void 0,j;t[26]===a?j=t[27]:(j=[v,a],t[26]=a,t[27]=j);let M=sy(j),N=C?n:null,P;t[28]!==d||t[29]!==s?.className?(P=$(d(`tabs__tab-inner`),s?.className),t[28]=d,t[29]=s?.className,t[30]=P):P=t[30];let F;t[31]!==d||t[32]!==c?.className?(F=$(d(`tabs__tab-text`),c?.className),t[31]=d,t[32]=c?.className,t[33]=F):F=t[33];let I=c?.ref,L;t[34]===I?L=t[35]:(L=[T,I],t[34]=I,t[35]=L);let R=sy(L),z;t[36]!==n||t[37]!==F||t[38]!==R||t[39]!==c?(z=(0,q.jsx)(`span`,{...c,className:F,ref:R,children:n}),t[36]=n,t[37]=F,t[38]=R,t[39]=c,t[40]=z):z=t[40];let B;t[41]!==P||t[42]!==z||t[43]!==s?(B=(0,q.jsx)(`span`,{"aria-describedby":void 0,...s,className:P,children:z}),t[41]=P,t[42]=z,t[43]=s,t[44]=B):B=t[44];let V;t[45]!==N||t[46]!==B||t[47]!==l?(V=(0,q.jsx)(KE,{side:`top`,...l,content:N,children:B}),t[45]=N,t[46]=B,t[47]=l,t[48]=V):V=t[48];let H;t[49]!==d||t[50]!==s?.className?(H=$(d(`tabs__tab-inner`),d(`tabs__tab-inner--hidden`),s?.className),t[49]=d,t[50]=s?.className,t[51]=H):H=t[51];let ee;t[52]!==d||t[53]!==c?.className?(ee=$(d(`tabs__tab-text`),c?.className),t[52]=d,t[53]=c?.className,t[54]=ee):ee=t[54];let U;t[55]!==n||t[56]!==ee?(U=(0,q.jsx)(`span`,{className:ee,children:n}),t[55]=n,t[56]=ee,t[57]=U):U=t[57];let W;t[58]!==H||t[59]!==U?(W=(0,q.jsx)(`span`,{className:H,children:U}),t[58]=H,t[59]=U,t[60]=W):W=t[60];let G;return t[61]!==i||t[62]!==o||t[63]!==h||t[64]!==M||t[65]!==V||t[66]!==W||t[67]!==O||t[68]!==k||t[69]!==A?(G=(0,q.jsxs)(md,{value:h,className:O,"data-status":o,"data-accent":k,"aria-invalid":A,...i,ref:M,children:[V,W]}),t[61]=i,t[62]=o,t[63]=h,t[64]=M,t[65]=V,t[66]=W,t[67]=O,t[68]=k,t[69]=A,t[70]=G):G=t[70],G}function DR(e){let t=(0,Q.c)(29),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({value:o,forceMount:r,className:n,tabContentLabelProps:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=ap(),c=qp(),l;t[6]===o?l=t[7]:(l=o.toString(),t[6]=o,t[7]=l);let u=l,{showAllTabsWhilePrinting:d}=SR(),f=TR(u),p;t[8]!==n||t[9]!==s?(p=$(s(`tabs__tab-content`),n),t[8]=n,t[9]=s,t[10]=p):p=t[10];let m;t[11]!==i||t[12]!==p?(m=(0,q.jsx)(WD,{className:p,...i}),t[11]=i,t[12]=p,t[13]=m):m=t[13];let h=m,g;t[14]!==s||t[15]!==c||t[16]!==d||t[17]!==a||t[18]!==f?(g=c&&d&&(0,q.jsx)(`span`,{...a,className:$(s(`tabs__tab-content-label`),a?.className),children:f}),t[14]=s,t[15]=c,t[16]=d,t[17]=a,t[18]=f,t[19]=g):g=t[19];let _;t[20]!==h||t[21]!==r||t[22]!==c||t[23]!==d||t[24]!==u?(_=c&&d?h:(0,q.jsx)(gd,{asChild:!0,value:u,forceMount:r,children:h}),t[20]=h,t[21]=r,t[22]=c,t[23]=d,t[24]=u,t[25]=_):_=t[25];let v;return t[26]!==g||t[27]!==_?(v=(0,q.jsxs)(q.Fragment,{children:[g,_]}),t[26]=g,t[27]=_,t[28]=v):v=t[28],v}function OR(e){let t=(0,Q.c)(87),n,r,i,a,o,s,c,l,u;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9]):({scrollLeftButtonLabel:s,scrollRightButtonLabel:l,rootProps:o,containerProps:i,scrollLeftButtonProps:c,scrollRightButtonProps:u,className:r,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u);let d=ap(),[f]=Mp(),p=s??f.TabList.scrollLeftButtonLabel,m=l??f.TabList.scrollRightButtonLabel,h=gp(a),g,_;t[10]===h?(g=t[11],_=t[12]):({marginProps:g,..._}=h,t[10]=h,t[11]=g,t[12]=_);let{variant:v,showAllTabsWhilePrinting:y,store:x}=SR(),{printHidden:S}=Aj(),[C,w]=(0,b.useState)(null),[T,E]=(0,b.useState)(null),D;t[13]===x?D=t[14]:(D=e=>x.setState({width:e?.width}),t[13]=x,t[14]=D),GN(C,D);let O;t[15]===x?O=t[16]:(O=e=>x.setState({scrollPosition:e}),t[15]=x,t[16]=O),Dj(T,O);let k;t[17]!==T?.scrollWidth||t[18]!==x?(k=()=>x.subscribe(kR,e=>{x.setState({showScrollButtons:(T?.scrollWidth??0)>Math.ceil(e)})},{fireImmediately:!0}),t[17]=T?.scrollWidth,t[18]=x,t[19]=k):k=t[19];let A;t[20]!==n||t[21]!==T||t[22]!==x?(A=[n,T,x],t[20]=n,t[21]=T,t[22]=x,t[23]=A):A=t[23],(0,b.useEffect)(k,A);let j;t[24]===T?j=t[25]:(j=e=>{if(T){let t=T.clientWidth,n=Array.from(T.children),r=0;for(let e=0;e<n.length;++e){let i=n[e];if(r+i.clientWidth>t){e===0&&(r=t);break}r+=i.clientWidth}T.scrollBy({left:e===`left`?-r:r,behavior:`smooth`})}},t[24]=T,t[25]=j);let M=j,N,P;t[26]!==T||t[27]!==x?(N=()=>{if(T){let e=e=>{let t=e.deltaY;T&&t&&T.scrollWidth>Math.ceil(x.getState().width)&&(e.preventDefault(),T.scrollLeft+=t)};return T.addEventListener(`wheel`,e),()=>T.removeEventListener(`wheel`,e)}},P=[T,x],t[26]=T,t[27]=x,t[28]=N,t[29]=P):(N=t[28],P=t[29]),(0,b.useEffect)(N,P);let F=g.dataAttrs,I;t[30]!==d||t[31]!==S||t[32]!==o?.className||t[33]!==y||t[34]!==v?(I=$(d(`tabs__tab-list-root`),d(`tabs__tab-list-root--${v}`),y&&S,o?.className),t[30]=d,t[31]=S,t[32]=o?.className,t[33]=y,t[34]=v,t[35]=I):I=t[35];let L=o?.style,R;t[36]!==g.cssVars||t[37]!==L?(R={...g.cssVars,...L},t[36]=g.cssVars,t[37]=L,t[38]=R):R=t[38];let z=o?.ref,B;t[39]===z?B=t[40]:(B=[w,z],t[39]=z,t[40]=B);let V=sy(B),H=c?.onClick,ee;t[41]===M?ee=t[42]:(ee=()=>M(`left`),t[41]=M,t[42]=ee);let U;t[43]!==H||t[44]!==ee?(U=[H,ee],t[43]=H,t[44]=ee,t[45]=U):U=t[45];let W=Dp(U),G;t[46]!==p||t[47]!==c||t[48]!==W?(G=(0,q.jsx)(AR,{side:`left`,label:p,...c,onClick:W}),t[46]=p,t[47]=c,t[48]=W,t[49]=G):G=t[49];let K;t[50]!==i?.className||t[51]!==d||t[52]!==v?(K=$(d(`tabs__tab-list-container`),d(`tabs__tab-list-container--${v}`),i?.className),t[50]=i?.className,t[51]=d,t[52]=v,t[53]=K):K=t[53];let J=i?.ref,te;t[54]===J?te=t[55]:(te=[E,J],t[54]=J,t[55]=te);let Y=sy(te),X;t[56]!==r||t[57]!==d||t[58]!==v?(X=$(d(`tabs__tab-list`),d(`tabs__tab-list--${v}`),r),t[56]=r,t[57]=d,t[58]=v,t[59]=X):X=t[59];let ne;t[60]!==n||t[61]!==_||t[62]!==X?(ne=(0,q.jsx)(fd,{className:X,..._,children:n}),t[60]=n,t[61]=_,t[62]=X,t[63]=ne):ne=t[63];let re;t[64]!==i||t[65]!==K||t[66]!==Y||t[67]!==ne?(re=(0,q.jsx)(`div`,{...i,className:K,ref:Y,children:ne}),t[64]=i,t[65]=K,t[66]=Y,t[67]=ne,t[68]=re):re=t[68];let ie=u?.onClick,ae;t[69]===M?ae=t[70]:(ae=()=>M(`right`),t[69]=M,t[70]=ae);let oe;t[71]!==ie||t[72]!==ae?(oe=[ie,ae],t[71]=ie,t[72]=ae,t[73]=oe):oe=t[73];let se=Dp(oe),ce;t[74]!==m||t[75]!==u||t[76]!==se?(ce=(0,q.jsx)(AR,{side:`right`,label:m,...u,onClick:se}),t[74]=m,t[75]=u,t[76]=se,t[77]=ce):ce=t[77];let le;return t[78]!==g.dataAttrs||t[79]!==o||t[80]!==I||t[81]!==R||t[82]!==V||t[83]!==G||t[84]!==re||t[85]!==ce?(le=(0,q.jsxs)(`div`,{...F,...o,className:I,style:R,ref:V,children:[G,re,ce]}),t[78]=g.dataAttrs,t[79]=o,t[80]=I,t[81]=R,t[82]=V,t[83]=G,t[84]=re,t[85]=ce,t[86]=le):le=t[86],le}function kR(e){let{width:t}=e;return t}function AR(e){let t=(0,Q.c)(19),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({side:s,label:i,onClick:a,disabled:r,className:n,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=ap(),{store:l}=SR(),u=Qf(l,jR),d;t[7]===s?d=t[8]:(d=e=>{let{scrollPosition:t}=e;return t&&(s===`left`?t.left===0:t.right<=1)},t[7]=s,t[8]=d);let f=Qf(l,d),p;return t[9]!==n||t[10]!==r||t[11]!==i||t[12]!==a||t[13]!==o||t[14]!==c||t[15]!==f||t[16]!==u||t[17]!==s?(p=u&&(0,q.jsx)(JE,{variant:`ghost`,icon:s===`left`?_y:Ey,label:i,className:$(c(`tabs__scroll-button`),c(`tabs__scroll-button--${s}`),n),disabled:f||r,onClick:a,tabIndex:-1,...o}),t[9]=n,t[10]=r,t[11]=i,t[12]=a,t[13]=o,t[14]=c,t[15]=f,t[16]=u,t[17]=s,t[18]=p):p=t[18],p}function jR(e){return e.showScrollButtons}function MR(e){let t=(0,Q.c)(34),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({variant:c,defaultValue:i,value:l,onValueChange:a,activationMode:n,showAllTabsWhilePrinting:s,className:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=c===void 0?`default`:c,d=ap(),f=xR(u,i,l,s),p;t[9]===f?p=t[10]:(p=e=>f.store.setState({activeTab:e}),t[9]=f,t[10]=p);let m=p,h;t[11]===i?h=t[12]:(h=i?.toString(),t[11]=i,t[12]=h);let g;t[13]===l?g=t[14]:(g=l?.toString(),t[13]=l,t[14]=g);let _;t[15]!==m||t[16]!==a?(_=[a,m],t[15]=m,t[16]=a,t[17]=_):_=t[17];let v=Dp(_),y;t[18]!==r||t[19]!==d||t[20]!==u?(y=$(d(`tabs`),d(`tabs--${u}`),r),t[18]=r,t[19]=d,t[20]=u,t[21]=y):y=t[21];let b;t[22]!==o||t[23]!==y?(b=(0,q.jsx)(WD,{className:y,...o}),t[22]=o,t[23]=y,t[24]=b):b=t[24];let x;t[25]!==n||t[26]!==h||t[27]!==g||t[28]!==v||t[29]!==b?(x=(0,q.jsx)(ud,{asChild:!0,defaultValue:h,value:g,onValueChange:v,activationMode:n,children:b}),t[25]=n,t[26]=h,t[27]=g,t[28]=v,t[29]=b,t[30]=x):x=t[30];let S;return t[31]!==x||t[32]!==f?(S=(0,q.jsx)(bR,{value:f,children:x}),t[31]=x,t[32]=f,t[33]=S):S=t[33],S}function NR(e){let t=(0,Q.c)(33),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({as:c,asChild:n,color:i,highContrast:a,className:r,style:s,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0?`span`:c,u=ap(),d=gp(o),f,p;t[8]===d?(f=t[9],p=t[10]):({marginProps:f,...p}=d,t[8]=d,t[9]=f,t[10]=p);let m=DE(p),h,g;t[11]===m?(h=t[12],g=t[13]):({textProps:g,...h}=m,t[11]=m,t[12]=h,t[13]=g);let _=n?_p:l,v;if(t[14]!==r||t[15]!==a||t[16]!==u){let e;t[18]!==a||t[19]!==u?(e=a&&u(`text--high-contrast`),t[18]=a,t[19]=u,t[20]=e):e=t[20],v=$(u(`text`),e,r),t[14]=r,t[15]=a,t[16]=u,t[17]=v}else v=t[17];let y;t[21]!==f.cssVars||t[22]!==s||t[23]!==g.cssVars?(y={...f.cssVars,...g.cssVars,...s},t[21]=f.cssVars,t[22]=s,t[23]=g.cssVars,t[24]=y):y=t[24];let b;return t[25]!==_||t[26]!==i||t[27]!==f.dataAttrs||t[28]!==h||t[29]!==v||t[30]!==y||t[31]!==g.dataAttrs?(b=(0,q.jsx)(_,{className:v,style:y,"data-accent":i,...f.dataAttrs,...g.dataAttrs,...h}),t[25]=_,t[26]=i,t[27]=f.dataAttrs,t[28]=h,t[29]=v,t[30]=y,t[31]=g.dataAttrs,t[32]=b):b=t[32],b}var PR=3;function FR(e){let t=(0,Q.c)(33),n,r,i,a,o,s,c,l,u,d,f;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11]):({name:i,defaultValue:n,value:f,status:l,disabled:r,validate:u,validationMode:d,rows:c,onValueChange:o,onBlurToOutside:a,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f);let p=qv(),m=c??(p?1:PR),h;t[12]!==n||t[13]!==f?(h=(f??n)?.toString()??``,t[12]=n,t[13]=f,t[14]=h):h=t[14];let g=AM(i,h,u,d),_=l??g.status,v=r||g.disabled,y;t[15]!==g.onChange||t[16]!==o?(y=[g.onChange,o],t[15]=g.onChange,t[16]=o,t[17]=y):y=t[17];let b=Dp(y),x;t[18]!==g.onBlur||t[19]!==a?(x=[g.onBlur,a],t[18]=g.onBlur,t[19]=a,t[20]=x):x=t[20];let S=Dp(x),C;t[21]===m?C=t[22]:(C=(0,q.jsx)(`textarea`,{rows:m}),t[21]=m,t[22]=C);let w;return t[23]!==n||t[24]!==i||t[25]!==s||t[26]!==_||t[27]!==v||t[28]!==b||t[29]!==S||t[30]!==C||t[31]!==f?(w=(0,q.jsx)(LP,{asChild:!0,name:i,defaultValue:n,value:f,status:_,disabled:v,onValueChange:b,onBlurToOutside:S,...s,children:C}),t[23]=n,t[24]=i,t[25]=s,t[26]=_,t[27]=v,t[28]=b,t[29]=S,t[30]=C,t[31]=f,t[32]=w):w=t[32],w}var IR={code:`en-GB`,formatDistance:Fm,formatLong:{date:Im({formats:{full:`EEEE, d MMMM yyyy`,long:`d MMMM yyyy`,medium:`d MMM yyyy`,short:`dd/MM/yyyy`},defaultWidth:`full`}),time:Im({formats:{full:`HH:mm:ss zzzz`,long:`HH:mm:ss z`,medium:`HH:mm:ss`,short:`HH:mm`},defaultWidth:`full`}),dateTime:Im({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},formatRelative:zm,localize:Vm,match:Km,options:{weekStartsOn:1,firstWeekContainsDate:4},labels:{labelDayButton:(e,t,n,r)=>{let i=(r??new QO(n)).format(e,`PPPP`);return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i},labelMonthDropdown:`Choose the Month`,labelNext:`Go to the Next Month`,labelPrevious:`Go to the Previous Month`,labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:`Choose the Year`,labelGrid:(e,t,n)=>(n??new QO(t)).formatMonthYear(e),labelGridcell:(e,t,n,r)=>{let i=(r??new QO(n)).format(e,`PPPP`);return t?.today&&(i=`Today, ${i}`),i},labelNav:`Navigation bar`,labelWeekNumberHeader:`Week Number`,labelWeekday:(e,t,n)=>(n??new QO(t)).format(e,`cccc`)}},LR={ActionSplit:{splitLabel:`More options`},ActionsSecondary:{label:`More actions`},AlertDialog:{okText:`OK`},Calendar:{monthSelectLabel:`Month`,yearSelectLabel:`Year`,previousMonthLabel:`Previous month`,nextMonthLabel:`Next month`},CloseButton:{label:`Close`},CollapsibleTrigger:{expandLabel:`Show`,collapseLabel:`Hide`},CommandMenu:{searchPlaceholder:`Search…`,listLabel:`Suggestions`,loadingLabel:`Loading…`,emptyMessage:`No results found.`},CommandMenuDialog:{title:`Command palette`,description:`Search for a command…`},ConfirmDialog:{cancelText:`Cancel`},ControlCode:{visuallyHiddenPrefix:`Field`},DataTable:{selectAllRowsLabel:`Select all`,selectRowLabel:`Select`},DataTableContent:{emptyMessage:`Nothing to show.`},DataTableFilter:{"aria-label":`Search table`,placeholder:`Search…`},DataTablePagination:{label:`Table pagination`,rowsRange:(e,t,n)=>`Rows\u00A0${e}–${t}\u00A0of ${n}`},DataTableRowsPerPage:{label:`Rows per page:`},DateInput:{selectedDateDescription:e=>`Selected date, ${e}`,calendarButtonLabel:`Open calendar`},DateRangeInput:{startInputLabel:`Start date`,endInputLabel:`End date`,selectedDateRangeDescription:({start:e,end:t})=>`Selected date range, ${e||`missing start date`} to ${t||`missing end date`}`},ErrorBoundary:{fallbackMessage:(0,q.jsxs)(q.Fragment,{children:[`Something went wrong.`,(0,q.jsx)(`br`,{}),`Press the button on the right to try again. If the problem persists, please try again later.`]}),resetButtonLabel:`Retry`},Feedback:{visuallyHiddenPrefix:e=>e===`error`?`Error,`:e===`warning`?`Warning,`:null},FeedbackPopover:{label:`Show feedback`},FieldGroupHeader:{visuallyHiddenCodePrefix:`Section`},Form:{submitErrorMessage:`An error occurred during submission. Please try again later.`,nativeErrorMessages:{valueMissing:`Required.`,badInput:`Unrecognized format.`,typeMismatch:e=>e.type===`email`?`Invalid email.`:`Invalid URL.`,patternMismatch:`Invalid format.`,tooShort:e=>{let t=e.minLength;return`Requires at least ${t} ${t===1?`character`:`characters`}.`},tooLong:e=>{let t=e.maxLength;return`Limited to at most ${t} ${t===1?`character`:`characters`}.`},rangeUnderflow:e=>`Below minimum of ${e.min}.`,rangeOverflow:e=>`Above maximum of ${e.max}.`,stepMismatch:`Invalid value increment.`}},Input:{loadingDescription:`Loading…`,clearButtonLabel:`Clear`},Keybinds:{keybindsSeparatorLabel:`or`,keyPressesSeparatorLabel:`then`,keyLabels:{Meta:PE?void 0:`Windows Key`}},Label:{helperButtonLabel:`Show help`},NumericInput:{decimalSeparator:`.`,groupingStyle:`thousand`,groupSeparator:`,`},Pagination:{label:`Pagination`,previousPageButtonLabel:`Previous page`,nextPageButtonLabel:`Next page`,pageButtonLabel:e=>`Page ${e}`},RadioGroup:{clearDescription:`Press Backspace or Delete to clear.`},Select:{placeholder:`Select…`,clearDescription:`Press Backspace or Delete to clear.`,searchLabel:`Search options`,optionsLabel:`Options`,valueTagCloseButtonLabel:`Remove`},Step:{stepNumberLabel:e=>`Step ${e}`,completedLabel:`Completed`},StepperFinishTrigger:{label:`Finish`},StepperNextTrigger:{label:`Next`},StepperPreviousTrigger:{label:`Back`},TableColumn:{helperButtonLabel:`Show help`},TableHead:{sortByColumnDescription:e=>e===null?`Clear sort`:`Sort ${e===`asc`?`ascending`:`descending`}`},TabList:{scrollLeftButtonLabel:`Scroll left`,scrollRightButtonLabel:`Scroll right`},ToastProvider:{label:`Notification`},ToastViewport:{label:`Notifications ({hotkey})`}},RR={...LR,languageTag:`en-GB`,dayPickerLocale:IR,DateInput:{...LR.DateInput,placeholder:`day/month/year`,formatDescription:`Enter date in format, D D slash M M slash Y Y Y Y.`}},zR=(0,b.createContext)(null);function BR(){return(0,b.useContext)(zR).docsUrl}function VR(e){let t=(0,Q.c)(17),{rows:n,cols:r,renderItem:i}=e,a;t[0]===r?a=t[1]:(a=Object.keys(r),t[0]=r,t[1]=a);let o=a.length+ +!!n,s;t[2]===o?s=t[3]:(s={"--exhibit-grid-cols":o},t[2]=o,t[3]=s);let c=s,l;t[4]===n?l=t[5]:(l=n&&(0,q.jsx)(`div`,{}),t[4]=n,t[5]=l);let u;t[6]===r?u=t[7]:(u=Object.keys(r).map(HR),t[6]=r,t[7]=u);let d;t[8]!==r||t[9]!==i||t[10]!==n?(d=Object.entries(n??{"":void 0}).map(e=>{let[t,n]=e;return(0,q.jsxs)(b.Fragment,{children:[t&&(0,q.jsx)(`div`,{className:`exhibit-grid-row-label`,children:t}),Object.entries(r).map(e=>{let[t,r]=e;return(0,q.jsx)(`div`,{className:`exhibit-grid-item`,children:i({row:n,col:r})},t)})]},t)}),t[8]=r,t[9]=i,t[10]=n,t[11]=d):d=t[11];let f;return t[12]!==c||t[13]!==l||t[14]!==u||t[15]!==d?(f=(0,q.jsxs)(`div`,{className:`exhibit-grid`,style:c,tabIndex:0,children:[l,u,d]}),t[12]=c,t[13]=l,t[14]=u,t[15]=d,t[16]=f):f=t[16],f}function HR(e){return(0,q.jsx)(`div`,{className:`exhibit-grid-col-label`,children:e},e)}function UR(e){let t=(0,Q.c)(35),{title:n,docsPage:r,children:i}=e,{cssVar:a}=cp(),o;if(t[0]!==n){let e;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=/[^a-z0-9]/g,t[2]=e):e=t[2],o=n.toLowerCase().replace(e,`-`),t[0]=n,t[1]=o}else o=t[1];let s=o,c=new URL(BR());c.searchParams.set(`path`,`/docs/${r}--docs`);let l=AO,u=AO,d=`#${s}`,f;t[3]===a?f=t[4]:(f=a(`neutral-a12`),t[3]=a,t[4]=f);let p;t[5]===f?p=t[6]:(p={color:f},t[5]=f,t[6]=p);let m;t[7]!==p||t[8]!==d||t[9]!==n?(m=(0,q.jsx)(WI,{href:d,color:`neutral`,style:p,children:n}),t[7]=p,t[8]=d,t[9]=n,t[10]=m):m=t[10];let h;t[11]!==s||t[12]!==m?(h=(0,q.jsx)(UI,{id:s,children:m}),t[11]=s,t[12]=m,t[13]=h):h=t[13];let g=WI,_=c.toString(),v;t[14]===n?v=t[15]:(v=(0,q.jsxs)(AE,{children:[` of `,n]}),t[14]=n,t[15]=v);let y;t[16]!==g||t[17]!==_||t[18]!==v?(y=(0,q.jsxs)(g,{className:`exhibit-section-docs-link`,href:_,external:!0,children:[`View docs`,v]}),t[16]=g,t[17]=_,t[18]=v,t[19]=y):y=t[19];let b;t[20]!==h||t[21]!==y?(b=(0,q.jsxs)(`header`,{children:[h,y]}),t[20]=h,t[21]=y,t[22]=b):b=t[22];let x;t[23]!==u||t[24]!==b?(x=(0,q.jsx)(u,{asChild:!0,direction:`row`,gap:4,alignItems:`baseline`,children:b}),t[23]=u,t[24]=b,t[25]=x):x=t[25];let S;t[26]===i?S=t[27]:(S=(0,q.jsx)(`div`,{className:`exhibit-section-content`,children:i}),t[26]=i,t[27]=S);let C;t[28]!==s||t[29]!==x||t[30]!==S?(C=(0,q.jsxs)(`section`,{className:`exhibit-section`,"aria-labelledby":s,children:[x,S]}),t[28]=s,t[29]=x,t[30]=S,t[31]=C):C=t[31];let w;return t[32]!==l||t[33]!==C?(w=(0,q.jsx)(l,{asChild:!0,children:C}),t[32]=l,t[33]=C,t[34]=w):w=t[34],w}function WR(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Alert dialog`,docsPage:`ostack-ui-overlay-alert-dialog`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`},rows:{Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`,Ghost:`ghost`},renderItem:GR})}),e[0]=t):t=e[0],t}function GR(e){let{col:t,row:n}=e;return(0,q.jsxs)(Kf,{children:[(0,q.jsx)(oD,{children:(0,q.jsx)(sD,{variant:n,color:t,children:`Restore`})}),(0,q.jsxs)(tD,{variant:n,color:t,children:[(0,q.jsx)(iD,{children:(0,q.jsx)(aD,{children:`Restore previous version?`})}),(0,q.jsx)($E,{children:(0,q.jsx)(nD,{children:`This will overwrite your current draft with the version saved on January 12th. Current changes will be lost.`})}),(0,q.jsxs)(rD,{children:[(0,q.jsx)(eD,{children:(0,q.jsx)(sD,{variant:`subtle`,children:`Go back`})}),(0,q.jsx)(qf,{children:(0,q.jsx)(sD,{color:t,children:`Restore`})})]})]})]})}function KR(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Alert`,docsPage:`ostack-ui-feedback-alert`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Info:`info`,Success:`success`,Danger:`danger`,Warning:`warning`,Title:`title`,Action:`action`,"Close button":`showCloseButton`},rows:{Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`},renderItem:qR})}),e[0]=t):t=e[0],t}function qR(e){let{col:t,row:n}=e;return(0,q.jsxs)(iO,{variant:n,action:t===`action`&&(0,q.jsx)(sD,{color:`primary`,children:`Accept`}),severity:t===`title`||t===`action`||t===`showCloseButton`?void 0:t,showCloseButton:t===`showCloseButton`,children:[t===`title`&&(0,q.jsx)(aO,{children:`Notice`}),`Terms may apply.`]})}function JR(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Button group`,docsPage:`ostack-ui-layout-button-group`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`},rows:{Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`,Ghost:`ghost`},renderItem:YR})}),e[0]=t):t=e[0],t}function YR(e){let{col:t,row:n}=e;return(0,q.jsxs)(OO,{children:[(0,q.jsx)(sD,{icon:yy,variant:n,color:t,children:`Load`}),(0,q.jsx)(sD,{icon:my,variant:n,color:t,children:`Save`}),(0,q.jsx)(JE,{icon:jy,label:`Delete`,variant:n,color:t})]})}function XR(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Button`,docsPage:`ostack-ui-forms-button`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`,Disabled:`disabled`,Loading:`loading`,Keybinds:`keybinds`,Vertical:`vertical`},rows:{Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`,Ghost:`ghost`},renderItem:ZR})}),e[0]=t):t=e[0],t}function ZR(e){let{col:t,row:n}=e;return(0,q.jsx)(sD,{icon:qy,variant:n,color:t===`disabled`||t===`loading`||t===`keybinds`||t===`vertical`?void 0:t,disabled:t===`disabled`,loading:t===`loading`,loadingContent:t===`loading`?`Zapping…`:void 0,keybinds:t===`keybinds`?`Alt+Shift+Z`:void 0,vertical:t===`vertical`,children:`Zap`})}function QR(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Calendar`,docsPage:`ostack-ui-data-display-calendar`,children:(0,q.jsx)(bI,{})}),e[0]=t):t=e[0],t}function $R(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Checkbox group`,docsPage:`ostack-ui-forms-checkbox-group`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`,"All codes":`allCodes`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:ez})}),e[0]=t):t=e[0],t}function ez(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Toppings`}),(0,q.jsxs)(wI,{defaultValue:[`caramel`],status:n,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`||t===`allCodes`?`3.2`:void 0,children:[(0,q.jsx)(MM,{value:`caramel`,code:t===`allCodes`?`a`:void 0,children:`Caramel`}),(0,q.jsx)(MM,{value:`chocolate`,code:t===`allCodes`?`b`:void 0,children:`Chocolate`}),(0,q.jsx)(MM,{value:`strawberry`,code:t===`allCodes`?`c`:void 0,children:`Strawberry`})]}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Available.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Maybe unavailable.`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Unavailable.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`Select all wanted.`})]})}function tz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Checkbox`,docsPage:`ostack-ui-forms-checkbox`,children:(0,q.jsx)(VR,{cols:{Basic:``,Indeterminate:`indeterminate`,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:nz})}),e[0]=t):t=e[0],t}function nz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(MM,{status:n,defaultChecked:t!==`indeterminate`||`indeterminate`,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`?`1.5`:void 0,children:`I accept`}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Accepted.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Are you sure?`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Must accept.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`Please indicate.`})]})}function rz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Code`,docsPage:`ostack-ui-typography-code`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`},renderItem:iz})}),e[0]=t):t=e[0],t}function iz(e){let{col:t}=e;return(0,q.jsx)(oO,{color:t,children:`Math.sin(1)`})}function az(){let e=(0,Q.c)(3),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(eO,{children:oz}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,q.jsx)(NR,{as:`p`,children:`“The sun had not yet risen. The sea was indistinguishable from the sky, except that the sea was slightly creased as if a cloth had wrinkles in it. Gradually as the sky whitened a dark line lay on the horizon dividing the sea from the sky and the grey cloth became barred with thick strokes moving, one after another, beneath the surface, following each other, pursuing each other, perpetually.”`}),e[1]=n):n=e[1];let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,q.jsx)(UR,{title:`Collapsible`,docsPage:`ostack-ui-disclosure-collapsible`,children:(0,q.jsxs)(QD,{children:[t,(0,q.jsx)($D,{children:(0,q.jsx)(WD,{asChild:!0,mt:4,children:(0,q.jsxs)(`blockquote`,{cite:`https://gutenberg.net.au/ebooks02/0201091h.html`,children:[n,(0,q.jsxs)(NR,{as:`p`,mt:2,color:`neutral`,children:[`—Virginia Woolf, `,(0,q.jsx)(`cite`,{children:`The Waves`})]})]})})})]})}),e[2]=r):r=e[2],r}function oz(e){return(0,q.jsxs)(sD,{icon:e?Uy:Ky,iconPlacement:`end`,children:[e?`Hide`:`Show`,` quote`]})}function sz(){let e=(0,Q.c)(8),[t,n]=(0,b.useState)(!1),r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>n(!0),i={preventDefault:!0},e[0]=r,e[1]=i):(r=e[0],i=e[1]),vb(`$mod+K`,r,i);let a;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=()=>n(!1),e[2]=a):a=e[2];let o=a,s;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,q.jsxs)(NR,{color:`neutral`,children:[`Press `,(0,q.jsx)(WE,{keybinds:`$mod+K`}),` to open the command menu.`]}),e[3]=s):s=e[3];let c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,q.jsxs)(LF,{label:`Actions`,children:[(0,q.jsx)(RF,{onSelect:o,children:`Find`}),(0,q.jsx)(RF,{onSelect:o,children:`Replace`}),(0,q.jsx)(RF,{onSelect:o,children:`Analyse`}),(0,q.jsx)(RF,{onSelect:o,children:`Inspect`})]}),e[4]=c):c=e[4];let l;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,q.jsxs)(FF,{children:[c,(0,q.jsxs)(LF,{label:`Languages`,children:[(0,q.jsx)(RF,{onSelect:o,children:`C`}),(0,q.jsx)(RF,{onSelect:o,children:`C++`}),(0,q.jsx)(RF,{onSelect:o,children:`Java`}),(0,q.jsx)(RF,{onSelect:o,children:`JavaScript`}),(0,q.jsx)(RF,{onSelect:o,children:`Python`}),(0,q.jsx)(RF,{onSelect:o,children:`Rust`})]})]}),e[5]=l):l=e[5];let u;return e[6]===t?u=e[7]:(u=(0,q.jsxs)(UR,{title:`Command menu`,docsPage:`ostack-ui-overlay-command-menu`,children:[s,(0,q.jsx)(IF,{open:t,onOpenChange:n,children:l})]}),e[6]=t,e[7]=u),u}var cz=[{id:0,student:`Allyson Meyer`,grade:84.2},{id:1,student:`Tristan Hogan`,grade:71.5},{id:2,student:`Kathryn Duarte`,grade:92.8},{id:3,student:`Abdullah Flynn`,grade:58.4},{id:4,student:`Dorothy Davidson`,grade:76.1},{id:5,student:`Dante Hurst`,grade:89},{id:6,student:`Adalee Koch`,grade:94.3},{id:7,student:`Salvador Reeves`,grade:62.7},{id:8,student:`Lana Carr`,grade:81.9},{id:9,student:`Kash Shaffer`,grade:45.6},{id:10,student:`Alanna Bradley`,grade:88.3},{id:11,student:`Richard Barker`,grade:73.4},{id:12,student:`Remington Villalobos`,grade:90.1},{id:13,student:`Reuben Rivera`,grade:66.8},{id:14,student:`Lillian Page`,grade:95.5},{id:15,student:`Pablo Miranda`,grade:52.2},{id:16,student:`Amina McDowell`,grade:79.7},{id:17,student:`Lachlan Austin`,grade:83.1},{id:18,student:`Alivia Roberts`,grade:70.4},{id:19,student:`Josiah Medina`,grade:61.9},{id:20,student:`Elliana Delgado`,grade:87.6},{id:21,student:`Colt Martin`,grade:74.3},{id:22,student:`Mila Jenkins`,grade:98.2},{id:23,student:`Declan Byrd`,grade:55.9},{id:24,student:`Giselle Parsons`,grade:82},{id:25,student:`Lewis Wallace`,grade:69.1},{id:26,student:`Arianna Ahmed`,grade:91.4},{id:27,student:`Harry Willis`,grade:48.7},{id:28,student:`Alexa Griffin`,grade:77.8},{id:29,student:`Ayden Woods`,grade:63.5},{id:30,student:`Reese Allen`,grade:85.3},{id:31,student:`Carter Moore`,grade:90.7},{id:32,student:`Emily Spears`,grade:72.2},{id:33,student:`Ameer McKinney`,grade:59.9},{id:34,student:`Gwendolyn Sanford`,grade:93.6},{id:35,student:`Truett Rangel`,grade:68.4},{id:36,student:`Gloria Yoder`,grade:80.5},{id:37,student:`Johan Fleming`,grade:74.9},{id:38,student:`Fatima Gates`,grade:88.2},{id:39,student:`Ermias McPherson`,grade:51.3},{id:40,student:`Emmaline Ali`,grade:96.4},{id:41,student:`Arjun Wade`,grade:71.8},{id:42,student:`Evie Yates`,grade:84.7},{id:43,student:`Braylon Golden`,grade:67.2},{id:44,student:`Giuliana Paul`,grade:92.1},{id:45,student:`Noel Wilkerson`,grade:54.5},{id:46,student:`Janiyah Floyd`,grade:78.9},{id:47,student:`Pierce Farmer`,grade:86.4},{id:48,student:`Madelynn Duarte`,grade:73.6},{id:49,student:`Abdullah Massey`,grade:60.2},{id:50,student:`Clementine Clay`,grade:99.1},{id:51,student:`Yosef Blair`,grade:65.8},{id:52,student:`Frances Truong`,grade:82.5},{id:53,student:`Ayan Davis`,grade:75.3},{id:54,student:`Mia Roach`,grade:90.9},{id:55,student:`Caspian Stein`,grade:57.1},{id:56,student:`Leilany Villegas`,grade:81.4},{id:57,student:`Clyde Corona`,grade:64.6},{id:58,student:`Marianna Fletcher`,grade:88.7},{id:59,student:`Jay McCarty`,grade:72.9},{id:60,student:`Halo Rocha`,grade:85},{id:61,student:`Onyx Davidson`,grade:49.2},{id:62,student:`Jayla Whitehead`,grade:77.4},{id:63,student:`Zayd Harvey`,grade:93.2},{id:64,student:`Nicole Hubbard`,grade:68.7},{id:65,student:`Forrest Bartlett`,grade:80.1},{id:66,student:`Aubrielle Gallegos`,grade:95.8},{id:67,student:`Jonas Mosley`,grade:56.4},{id:68,student:`Zaniyah Lee`,grade:82.3},{id:69,student:`Jack Giles`,grade:71},{id:70,student:`Bailee Warren`,grade:89.5},{id:71,student:`Abel Cruz`,grade:63.8},{id:72,student:`Claire Steele`,grade:91.2},{id:73,student:`Elian Berg`,grade:74.5},{id:74,student:`Emmalyn McClain`,grade:86.9},{id:75,student:`Mitchell Clayton`,grade:53.7},{id:76,student:`Saige Graves`,grade:78.2},{id:77,student:`Cesar Kane`,grade:83.4},{id:78,student:`Ellianna Ortega`,grade:97},{id:79,student:`Kobe Wallace`,grade:33.5},{id:80,student:`Arianna Dorsey`,grade:84.8},{id:81,student:`Enoch Elliott`,grade:76.3},{id:82,student:`Noelle Estes`,grade:90.4},{id:83,student:`Hakeem Andrews`,grade:58.1},{id:84,student:`Payton Phelps`,grade:82.6},{id:85,student:`Hamza Anthony`,grade:69.9},{id:86,student:`Macy Horton`,grade:87.2},{id:87,student:`Garrett Meyer`,grade:75.8},{id:88,student:`Sara McClain`,grade:94.1},{id:89,student:`Mitchell Magana`,grade:52.9},{id:90,student:`Amaris Foster`,grade:80.3},{id:91,student:`Kayden McGee`,grade:66.4},{id:92,student:`Kayleigh Bean`,grade:91.7},{id:93,student:`Mccoy Dunlap`,grade:73.1},{id:94,student:`Iliana Ochoa`,grade:85.5},{id:95,student:`Winston Hall`,grade:47.8},{id:96,student:`Leah David`,grade:79.2},{id:97,student:`Alonso Ballard`,grade:88.9},{id:98,student:`Alejandra Bass`,grade:62.1},{id:99,student:`Landen Santana`,grade:95.2},{id:100,student:`Myra Knight`,grade:70.8},{id:101,student:`Beckett Gilmore`,grade:83.7},{id:102,student:`Chanel Rosas`,grade:31.4},{id:103,student:`Remi Wade`,grade:92.6},{id:104,student:`Evie Church`,grade:68.2},{id:105,student:`Terrance Luna`,grade:81.1},{id:106,student:`Journey Alfaro`,grade:77.5},{id:107,student:`Xzavier Colon`,grade:89.3},{id:108,student:`Remy Curry`,grade:64.9},{id:109,student:`Briggs Hale`,grade:96.7},{id:110,student:`Brinley Phillips`,grade:59.3},{id:111,student:`Andrew Huynh`,grade:82.4},{id:112,student:`Oaklee Gross`,grade:74.1},{id:113,student:`Quinn Rosales`,grade:90.8},{id:114,student:`Kinley Bartlett`,grade:61.2},{id:115,student:`Kace Pineda`,grade:85.9},{id:116,student:`Nola Maynard`,grade:27.6},{id:117,student:`Landry Rowland`,grade:93.4},{id:118,student:`Harleigh Camacho`,grade:50.5},{id:119,student:`Tatum Lynn`,grade:78.7},{id:120,student:`Samira Nelson`,grade:86.2},{id:121,student:`Dylan Giles`,grade:67.5},{id:122,student:`Bailee Hendricks`,grade:94.8},{id:123,student:`Dash Carr`,grade:71.3},{id:124,student:`Rowan Acosta`,grade:44},{id:125,student:`Jensen Santana`,grade:56.7},{id:126,student:`Myra Christensen`,grade:91.9},{id:127,student:`Gregory Vu`,grade:79.4},{id:128,student:`Kimora Delarosa`,grade:88.5},{id:129,student:`Osiris Padilla`,grade:28.2}];function lz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Data table`,docsPage:`ostack-ui-data-display-data-table`,children:(0,q.jsx)(VR,{cols:{Default:`default`,Control:`control`,Scrolled:`scrolled`,Selectable:`showSelectionColumn`},renderItem:uz})}),e[0]=t):t=e[0],t}function uz(e){let{col:t}=e;return(0,q.jsx)(kP,{width:450,children:(0,q.jsxs)(dM,{columns:{student:{label:`Student`,header:!0,sortable:!0,filterable:!0},grade:{label:`Grade`,align:`right`,sortable:!0,filterable:!0,format:dz}},rows:cz,rowKey:`id`,displayMode:t===`scrolled`?t:void 0,showSelectionColumn:t===`showSelectionColumn`,defaultLimit:5,children:[(0,q.jsx)(jj,{children:`Exam grades`}),(0,q.jsx)(rP,{}),(0,q.jsx)(eP,{variant:t==="default"||t===`control`?t:void 0}),(0,q.jsx)(yP,{limitOptions:[5,10,25,50,100]}),(0,q.jsx)(_P,{})]})})}function dz(e){let{value:t}=e;return t.toFixed(1)}function fz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Date input`,docsPage:`ostack-ui-forms-date-input`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:pz})}),e[0]=t):t=e[0],t}function pz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Birthday`}),(0,q.jsx)(kI,{containerProps:{style:{width:145}},defaultValue:new Date(1990,3,10),status:n,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`?`7.2`:void 0}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Confirmed.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Awaiting confirmation…`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Unable to confirm.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`For legal purposes.`})]})}function mz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Date-range input`,docsPage:`ostack-ui-forms-date-range-input`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:hz})}),e[0]=t):t=e[0],t}function hz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Time off`}),(0,q.jsx)(AI,{popoverAnchorProps:{style:{width:280}},defaultValue:{start:new Date(2026,2,10),end:new Date(2026,2,24)},status:n,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`?`1.6`:void 0}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Accepted.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Processing…`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Not accepted.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`Reserve your paid time off.`})]})}function gz(){let e=(0,Q.c)(5),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(II,{term:`Instance ID`,xs:6,md:4,lg:3,xl:2,children:(0,q.jsx)(oO,{children:`i-04f29a87bca612`})}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,q.jsx)(II,{term:`Status`,xs:6,md:4,lg:3,xl:2,children:(0,q.jsx)(qF,{color:`success`,children:`Running`})}),e[1]=n):n=e[1];let r,i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,q.jsx)(II,{term:`Public IPv4`,xs:6,md:4,lg:3,xl:2,children:(0,q.jsx)(WI,{href:`http://203.0.113.88`,external:!0,children:`203.0.113.88`})}),i=(0,q.jsx)(II,{term:`Storage`,xs:6,md:4,lg:3,xl:2,children:`20 GB (SSD)`}),e[2]=r,e[3]=i):(r=e[2],i=e[3]);let a;return e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,q.jsx)(UR,{title:`Description list`,docsPage:`ostack-ui-data-display-description-list`,children:(0,q.jsxs)(FI,{children:[t,n,r,i,(0,q.jsx)(II,{term:`Availability Zone`,xs:6,md:4,lg:3,xl:2,children:(0,q.jsx)(oO,{children:`us-east-1a`})}),(0,q.jsx)(II,{term:`Launch Time`,xs:6,md:4,lg:3,xl:2,children:`2026-02-12 14:30 UTC`})]})}),e[4]=a):a=e[4],a}function _z(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Dialog`,docsPage:`ostack-ui-overlay-dialog`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`},rows:{Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`,Ghost:`ghost`},renderItem:vz})}),e[0]=t):t=e[0],t}function vz(e){let{col:t,row:n}=e;return(0,q.jsxs)(Jf,{children:[(0,q.jsx)(QE,{children:(0,q.jsx)(sD,{variant:n,color:t,children:`Edit`})}),(0,q.jsx)(ry,{variant:n,color:t,asChild:!0,children:(0,q.jsxs)(`form`,{children:[(0,q.jsx)(XE,{children:(0,q.jsx)(ZE,{children:`Edit user information`})}),(0,q.jsxs)(wp,{children:[(0,q.jsx)(ay,{children:`Edit user information below, changes are saved automatically.`}),(0,q.jsxs)(AO,{children:[(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Name`}),(0,q.jsx)(nP,{defaultValue:`Charles McClain`})]}),(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Date of birth`}),(0,q.jsx)(kI,{defaultValue:new Date(1993,4,4)})]})]})]}),(0,q.jsx)(oy,{children:(0,q.jsx)(Tp,{children:(0,q.jsx)(sD,{color:t,children:`Close`})})})]})})]})}var yz={prefix:`fab`,iconName:`bluetooth`,icon:[384,512,[],`f293`,`M260.6 171.1l-42.9 42.9-.3-86 43.2 43.1zM217.4 390.9l43.1-43.1-42.9-42.9-.2 86zM384 259.4C384 465 312.1 512 198.9 512S0 465 0 259.4 83.4 0 196.6 0 384 53.9 384 259.4zm-158.5 0l79.4-88.6-125.1-134.3 0 176.9-73.8-73.8-27 26.9 92.7 93-92.7 93 26.9 26.9 73.8-73.8 2.3 170 127.4-127.5-83.9-88.7z`]},bz={prefix:`fab`,iconName:`react`,icon:[512,512,[],`f41b`,`M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1 .9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2 .6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9-53.4 18.5-91.7 47.7-91.7 77.9 0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zM136.9 187.2c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zM115.7 320.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6 .4 19.5 .6 29.5 .6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8 .9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zM256 301.8a45.8 45.8 0 1 0 0-91.6 45.8 45.8 0 1 0 0 91.6z`]},xz={prefix:`fab`,iconName:`wikipedia-w`,icon:[640,512,[],`f266`,`M640 51.2l-.3 12.2c-28.1 .8-45 15.8-55.8 40.3-25 57.8-103.3 240-155.3 358.6l-13.6 0-81.9-193.1c-32.5 63.6-68.3 130-99.2 193.1-.3 .3-15 0-15-.3-46.9-109.7-96.1-218.6-143.1-328.6-11.4-26.7-49.4-70-75.6-69.7 0-3.1-.3-10-.3-14.2l161.9 0 0 13.9c-19.2 1.1-52.8 13.3-43.3 34.2 21.9 49.7 103.6 240.3 125.6 288.6 15-29.7 57.8-109.2 75.3-142.8-13.9-28.3-58.6-133.9-72.8-160-9.7-17.8-36.1-19.4-55.8-19.7l0-13.9 142.5 .3 0 13.1c-19.4 .6-38.1 7.8-29.4 26.1 18.9 40 30.6 68.1 48.1 104.7 5.6-10.8 34.7-69.4 48.1-100.8 8.9-20.6-3.9-28.6-38.6-29.4 .3-3.6 0-10.3 .3-13.6 44.4-.3 111.1-.3 123.1-.6l0 13.6C462.4 64 439.1 76 426.8 94.9L367.6 217.7c6.4 16.1 63.3 142.8 69.2 156.7L559.2 91.8c-8.6-23.1-36.4-28.1-47.2-28.3l0-13.9 127.8 1.1 .2 .5z`]};function Sz(){let e=(0,Q.c)(8),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(DO,{children:(0,q.jsx)(sD,{icon:Oy,children:`Settings`})}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,q.jsxs)(bO,{label:`Connectivity`,children:[(0,q.jsx)(xO,{icon:Jy,children:`Wi-Fi`}),(0,q.jsx)(xO,{icon:Ty,children:`Network`}),(0,q.jsx)(xO,{icon:yz,children:`Bluetooth`})]}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,q.jsxs)(bO,{label:`Devices`,children:[(0,q.jsx)(xO,{icon:fy,children:`Displays`}),(0,q.jsx)(xO,{icon:Vy,children:`Sound`}),(0,q.jsx)(xO,{icon:Qy,children:`Input`}),(0,q.jsx)(xO,{icon:xy,children:`Printers`})]}),e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,q.jsxs)(SO,{label:`Language`,value:`en`,children:[(0,q.jsx)(CO,{value:`en`,children:`English`}),(0,q.jsx)(CO,{value:`pt`,children:`Portuguese`}),(0,q.jsx)(CO,{value:`es`,disabled:!0,children:`Spanish`})]}),e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,q.jsxs)(bO,{label:`Notifications`,children:[(0,q.jsx)(vO,{children:`Calendar`}),(0,q.jsx)(vO,{checked:!0,children:`Weather`})]}),e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,q.jsx)(EO,{children:`System`}),e[5]=o):o=e[5];let s;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,q.jsxs)(bO,{children:[(0,q.jsx)(xO,{icon:vy,children:`Date & Time`}),(0,q.jsx)(xO,{icon:Ny,children:`Users`})]}),e[6]=s):s=e[6];let c;return e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,q.jsx)(UR,{title:`Dropdown menu`,docsPage:`ostack-ui-overlay-dropdown-menu`,children:(0,q.jsxs)(fO,{children:[t,(0,q.jsxs)(yO,{minWidth:200,children:[n,r,i,a,(0,q.jsx)(bO,{children:(0,q.jsxs)(wO,{children:[o,(0,q.jsxs)(TO,{children:[s,(0,q.jsx)(bO,{children:(0,q.jsx)(xO,{icon:Cy,color:`danger`,children:`Factory reset`})})]})]})})]})]})}),e[7]=c):c=e[7],c}function Cz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Field group`,docsPage:`ostack-ui-forms-field-group`,children:(0,q.jsx)(VR,{cols:{Basic:`basic`,Code:`code`},renderItem:wz})}),e[0]=t):t=e[0],t}function wz(e){let{col:t}=e;return(0,q.jsxs)(zI,{children:[(0,q.jsx)(VI,{code:t===`code`?`1`:void 0,children:(0,q.jsx)(HI,{children:`Identification`})}),(0,q.jsx)(BI,{children:(0,q.jsxs)(AO,{gap:3,children:[(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Full name`}),(0,q.jsx)(nP,{code:t===`code`?`1.1`:void 0})]}),(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Passport number`}),(0,q.jsx)(nP,{code:t===`code`?`1.2`:void 0})]})]})})]})}function Tz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Icon button`,docsPage:`ostack-ui-forms-icon-button`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`,Disabled:`disabled`,Loading:`loading`,Keybinds:`keybinds`},rows:{Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`,Ghost:`ghost`},renderItem:Ez})}),e[0]=t):t=e[0],t}function Ez(e){let{col:t,row:n}=e;return(0,q.jsx)(JE,{label:`Bloom`,icon:by,variant:n,color:t===`disabled`||t===`loading`||t===`keybinds`?void 0:t,disabled:t===`disabled`,loading:t===`loading`,loadingLabel:t===`loading`?`Blooming…`:void 0,keybinds:t===`keybinds`?`Alt+Shift+B`:void 0})}function Dz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Input`,docsPage:`ostack-ui-forms-input`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Required:`required`,"Label help":`labelHelp`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`,"Clear button":`showClearButton`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:Oz})}),e[0]=t):t=e[0],t}function Oz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{helperText:t===`labelHelp`?`Used to sign in.`:void 0,children:`Username`}),(0,q.jsx)(nP,{containerProps:{style:{width:110}},defaultValue:`j_smith`,status:n,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`?`1.1`:void 0,showClearButton:t===`showClearButton`?`auto`:void 0}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Available.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Already taken.`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Invalid format.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`Used to sign in.`})]})}function kz(){let e=(0,Q.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(FE,{children:`Ctrl`}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,q.jsxs)(UR,{title:`Keyboard`,docsPage:`ostack-ui-typography-keyboard`,children:[`Press `,t,` + `,(0,q.jsx)(FE,{children:`P`}),` to print.`]}),e[1]=n):n=e[1],n}function Az(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Link`,docsPage:`ostack-ui-typography-link`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`,External:`external`},renderItem:jz})}),e[0]=t):t=e[0],t}function jz(e){let{col:t}=e;return(0,q.jsx)(WI,{href:t===`external`?`https://www.wikipedia.org/`:`#`,color:t===`external`?void 0:t,external:t===`external`,children:t===`external`?`Wikipedia`:`Go to top`})}function Mz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Mark`,docsPage:`ostack-ui-typography-mark`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`},renderItem:Nz})}),e[0]=t):t=e[0],t}function Nz(e){let{col:t}=e;return(0,q.jsxs)(q.Fragment,{children:[`The deadline is `,(0,q.jsx)(yM,{color:t,children:`Friday`}),`.`]})}function Pz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Menu list`,docsPage:`ostack-ui-overlay-dropdown-menu`,children:(0,q.jsx)(VR,{cols:{Subtle:`subtle`,Solid:`solid`},renderItem:Fz})}),e[0]=t):t=e[0],t}function Fz(e){let{col:t}=e;return(0,q.jsxs)(hO,{variant:t,style:{width:250},children:[(0,q.jsxs)(gO,{label:`Actions`,children:[(0,q.jsx)(_O,{icon:gy,selected:!0,children:`View`}),(0,q.jsx)(_O,{icon:wy,children:`Edit`}),(0,q.jsx)(_O,{icon:jy,color:`danger`,children:`Delete`})]}),(0,q.jsxs)(gO,{label:`Links`,children:[(0,q.jsx)(_O,{type:`link`,href:`https://www.wikipedia.org/`,icon:xz,target:`_blank`,rel:`noopener noreferrer`,children:`Wikipedia`}),(0,q.jsx)(_O,{type:`link`,href:`https://react.dev`,icon:bz,target:`_blank`,rel:`noopener noreferrer`,children:`React`})]})]})}function Iz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Numeric input`,docsPage:`ostack-ui-forms-numeric-input`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`,"Clear button":`showClearButton`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:Lz})}),e[0]=t):t=e[0],t}function Lz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Income`}),(0,q.jsx)(YL,{containerProps:{style:{width:120}},defaultValue:42000.9,precision:11,scale:2,groupDigits:!0,min:0,endAdornment:(0,q.jsx)(VP,{children:`€`}),status:n,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`?`3.9`:void 0,showClearButton:t===`showClearButton`?`auto`:void 0}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Confirmed.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Processing…`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Insufficient.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`For tax purposes.`})]})}function Rz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Output`,docsPage:`ostack-ui-forms-output`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Pending:`pending`,Code:`code`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:zz})}),e[0]=t):t=e[0],t}function zz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Total`}),(0,q.jsx)(XL,{containerProps:{style:{width:150}},status:n,pending:t===`pending`,code:t===`code`?`6.2`:void 0,children:`$30,000`}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Funds available.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Funds unavailable.`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Incorrect amount.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`A + B + C + D - E`})]})}function Bz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Pagination`,docsPage:`ostack-ui-disclosure-pagination`,children:(0,q.jsx)(VR,{cols:{Basic:`basic`,Disabled:`disabled`,Loading:`loading`},renderItem:Vz})}),e[0]=t):t=e[0],t}function Vz(e){let{col:t}=e;return(0,q.jsx)(oP,{count:t===`loading`?0:50,disabled:t===`disabled`,loading:t===`loading`})}function Hz(){let e=(0,Q.c)(3),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(Ej,{children:(0,q.jsx)(sD,{icon:Sy,children:`Comment`})}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,q.jsx)(jj,{children:`Leave a comment`}),e[1]=n):n=e[1];let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,q.jsx)(UR,{title:`Popover`,docsPage:`ostack-ui-overlay-popover`,children:(0,q.jsxs)(Cj,{children:[t,(0,q.jsx)(Tj,{p:2,children:(0,q.jsx)(AO,{asChild:!0,gap:2,alignItems:`flex-end`,children:(0,q.jsxs)(`form`,{children:[(0,q.jsxs)(kP,{children:[n,(0,q.jsx)(FR,{rows:6,style:{width:300}})]}),(0,q.jsx)(sD,{color:`primary`,type:`submit`,onClick:Uz,children:`Submit`})]})})})]})}),e[2]=r):r=e[2],r}function Uz(e){return e.preventDefault()}function Wz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Radio group`,docsPage:`ostack-ui-forms-radio-group`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`,"All codes":`allCodes`,"Clear button":`clearButton`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:Gz})}),e[0]=t):t=e[0],t}function Gz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Preferred make`}),(0,q.jsxs)(QL,{status:n,defaultValue:`fiat`,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`||t===`allCodes`?`1.7`:void 0,showClearButton:t===`clearButton`?`auto`:void 0,children:[(0,q.jsx)(ZL,{value:`fiat`,code:t===`allCodes`?`a`:void 0,children:`Fiat`}),(0,q.jsx)(ZL,{value:`renault`,code:t===`allCodes`?`b`:void 0,children:`Renault`}),(0,q.jsx)(ZL,{value:`toyota`,code:t===`allCodes`?`c`:void 0,children:`Toyota`})]}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Available.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Maybe unavailable.`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Unavailable.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`All with low mileage.`})]})}function Kz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Select`,docsPage:`ostack-ui-forms-select`,children:(0,q.jsx)(VR,{cols:{Single:``,Multiple:`multiple`,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:qz})}),e[0]=t):t=e[0],t}function qz(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsxs)(jj,{children:[`Pick your fruit`,t===`multiple`&&`s`]}),(0,q.jsxs)(sI,{containerProps:{style:{width:120}},multiple:t===`multiple`,defaultValue:t===`multiple`?[`apple`,`kiwi`]:`apple`,status:n,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`?`2.1`:void 0,children:[(0,q.jsx)(WF,{value:`apple`,children:`Apple`}),(0,q.jsx)(WF,{value:`kiwi`,children:`Kiwi`}),(0,q.jsx)(WF,{value:`pear`,children:`Pear`})]}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Available.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Maybe unavailable.`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Unavailable.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`For breakfast.`})]})}function Jz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Spinner`,docsPage:`ostack-ui-feedback-spinner`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`,Labelled:`label`},renderItem:Yz})}),e[0]=t):t=e[0],t}function Yz(e){let{col:t}=e;return(0,q.jsx)(GE,{color:t===`label`?void 0:t,label:t===`label`?`Loading…`:void 0})}function Xz(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Stepper`,docsPage:`ostack-ui-data-disclosure-stepper`,children:(0,q.jsxs)(dR,{maxWidth:600,children:[(0,q.jsxs)(uR,{children:[(0,q.jsx)(cR,{children:`Account Details`}),(0,q.jsx)(cR,{children:`Shipping Address`}),(0,q.jsx)(cR,{children:`Payment Method`}),(0,q.jsx)(cR,{children:`Review & Confirm`})]}),(0,q.jsx)(lR,{my:2,children:`Enter your contact information…`}),(0,q.jsx)(lR,{my:2,children:`Select your shipping address…`}),(0,q.jsx)(lR,{my:2,children:`Select your payment method…`}),(0,q.jsx)(lR,{my:2,children:`Double-check your order…`}),(0,q.jsx)(_R,{}),(0,q.jsx)(mR,{}),(0,q.jsx)(fR,{})]})}),e[0]=t):t=e[0],t}var Zz=[{student:`Avi Everett`,grade:82.5},{student:`Evan Gutierrez`,grade:67.8},{student:`Jackson Ford`,grade:55.1},{student:`Olivia Cortes`,grade:77.5}],Qz=Zz.reduce((e,{grade:t})=>e+t,0)/Zz.length;function $z(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Table`,docsPage:`ostack-ui-data-data-display-table`,children:(0,q.jsx)(VR,{cols:{Default:`default`,Annexes:`control`},renderItem:eB})}),e[0]=t):t=e[0],t}function eB(e){let{col:t}=e;return(0,q.jsxs)(Rj,{caption:`Exam grades`,variant:t,style:{width:250},children:[(0,q.jsxs)(Jj,{children:[(0,q.jsx)(Uj,{header:!0,label:`Student`}),(0,q.jsx)(Uj,{label:`Grade`,align:`right`})]}),(0,q.jsx)(Vj,{children:Zz.map(tB)}),(0,q.jsx)(Gj,{children:(0,q.jsxs)(qj,{children:[(0,q.jsx)(Hj,{children:`Average`}),(0,q.jsx)(Hj,{children:Qz.toFixed(1)})]})})]})}function tB(e,t){let{student:n,grade:r}=e;return(0,q.jsxs)(qj,{children:[(0,q.jsx)(Hj,{children:n}),(0,q.jsx)(Hj,{children:r.toFixed(1)})]},t)}function nB(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Tabs`,docsPage:`ostack-ui-data-disclosure-tabs`,children:(0,q.jsx)(VR,{cols:{Default:`default`,Annexes:`annexes`},renderItem:rB})}),e[0]=t):t=e[0],t}function rB(e){let{col:t}=e;return(0,q.jsxs)(MR,{variant:t,defaultValue:`accessibility`,children:[(0,q.jsxs)(OR,{mb:2,children:[(0,q.jsx)(ER,{value:`accessibility`,children:`Accessibility`}),(0,q.jsx)(ER,{value:`privacy`,children:`Privacy & Security`}),(0,q.jsx)(ER,{value:`system`,children:`System`})]}),(0,q.jsx)(DR,{value:`accessibility`,children:`Accessibility options…`}),(0,q.jsx)(DR,{value:`privacy`,children:`Privacy & Security settings…`}),(0,q.jsx)(DR,{value:`system`,children:`System configuration…`})]})}function iB(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Tag`,docsPage:`ostack-ui-data-display-tag`,children:(0,q.jsx)(VR,{cols:{Neutral:`neutral`,Primary:`primary`,Success:`success`,Danger:`danger`,Warning:`warning`,Pill:`pill`,Icon:`icon`,"Close button":`showCloseButton`},rows:{Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`},renderItem:aB})}),e[0]=t):t=e[0],t}function aB(e){let{col:t,row:n}=e;return(0,q.jsx)(qF,{variant:n,color:t===`pill`||t===`icon`||t===`showCloseButton`?`neutral`:t,pill:t===`pill`,icon:t===`icon`?zy:void 0,showCloseButton:t===`showCloseButton`,children:`New`})}function oB(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Text area`,docsPage:`ostack-ui-forms-text-area`,children:(0,q.jsx)(VR,{cols:{Basic:``,"Helper text":`helperText`,Required:`required`,Disabled:`disabled`,"Read-only":`readOnly`,Loading:`loading`,Code:`code`,"Clear button":`showClearButton`},rows:{"No status":void 0,Valid:`valid`,Invalid:`invalid`,Warned:`warned`},renderItem:sB})}),e[0]=t):t=e[0],t}function sB(e){let{col:t,row:n}=e;return(0,q.jsxs)(kP,{children:[(0,q.jsx)(jj,{children:`Additional requests`}),(0,q.jsx)(FR,{containerProps:{style:{width:130}},defaultValue:`Please provide two extra towels.`,status:n,required:t===`required`,disabled:t===`disabled`,readOnly:t===`readOnly`,loading:t===`loading`,code:t===`code`?`4.1`:void 0,showClearButton:t===`showClearButton`?`auto`:void 0}),n===`valid`&&(0,q.jsx)(Sj,{type:`success`,children:`Accepted.`}),n===`warned`&&(0,q.jsx)(Sj,{type:`warning`,children:`Unable to process.`}),n===`invalid`&&(0,q.jsx)(Sj,{children:`Invalid request.`}),t===`helperText`&&(0,q.jsx)(TP,{children:`We will attempt to honour them.`})]})}function cB(){let e=(0,Q.c)(4),{addToast:t}=ID(),n,r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={Neutral:`neutral`,Info:`info`,Success:`success`,Danger:`danger`,Warning:`warning`,Title:`title`,Action:`action`},r={Solid:`solid`,Subtle:`subtle`,Outlined:`outlined`},e[0]=n,e[1]=r):(n=e[0],r=e[1]);let i;return e[2]===t?i=e[3]:(i=(0,q.jsx)(UR,{title:`Toast`,docsPage:`ostack-ui-feedback-toast`,children:(0,q.jsx)(VR,{cols:n,rows:r,renderItem:e=>{let{col:n,row:r}=e;return(0,q.jsx)(sD,{icon:Py,color:n===`info`||n===`title`||n===`action`?`primary`:n,variant:r,onClick:()=>{t(`Item has been bookmarked.`,{title:n===`title`?`Bookmarked`:void 0,variant:r,severity:n===`title`||n===`action`?void 0:n,action:n===`action`&&(0,q.jsx)(sD,{keybinds:`$mod+Z`,color:`primary`,children:`Undo`}),actionAltText:`Undo (Ctrl+Z)`})},children:`Bookmark`})}})}),e[2]=t,e[3]=i),i}function lB(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,q.jsx)(UR,{title:`Tooltip`,docsPage:`ostack-ui-overlay-tooltip`,children:(0,q.jsx)(KE,{content:`Press to reload all content`,children:(0,q.jsx)(sD,{children:`Refresh`})})}),e[0]=t):t=e[0],t}var uB=`https://ui.ostack.tech/`;function dB(e){let t=(0,Q.c)(17),{docsUrl:n,title:r,prefix:i,actions:a}=e,o=n===void 0?uB:n,s=r===void 0?document.title:r,c;t[0]===o?c=t[1]:(c={docsUrl:o},t[0]=o,t[1]=c);let l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,q.jsx)(AE,{focusable:!0,asChild:!0,children:(0,q.jsx)(WI,{href:`#exhibit-main`,style:{top:6,left:6},children:`Skip to main content`})}),t[2]=l):l=t[2];let u;t[3]===s?u=t[4]:(u=(0,q.jsx)(UI,{level:1,id:`exhibit-title`,children:s}),t[3]=s,t[4]=u);let d;t[5]===a?d=t[6]:(d=a&&(0,q.jsx)(AO,{id:`exhibit-actions`,direction:`row`,gap:2,children:a}),t[5]=a,t[6]=d);let f;t[7]!==u||t[8]!==d?(f=(0,q.jsx)(TI,{asChild:!0,children:(0,q.jsxs)(`header`,{id:`exhibit-header`,children:[u,d]})}),t[7]=u,t[8]=d,t[9]=f):f=t[9];let p;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,q.jsx)(AO,{asChild:!0,gap:15,children:(0,q.jsx)(TI,{asChild:!0,children:(0,q.jsxs)(`main`,{id:`exhibit-main`,tabIndex:-1,children:[(0,q.jsx)(KR,{}),(0,q.jsx)(WR,{}),(0,q.jsx)(XR,{}),(0,q.jsx)(JR,{}),(0,q.jsx)(QR,{}),(0,q.jsx)(tz,{}),(0,q.jsx)($R,{}),(0,q.jsx)(rz,{}),(0,q.jsx)(az,{}),(0,q.jsx)(sz,{}),(0,q.jsx)(lz,{}),(0,q.jsx)(fz,{}),(0,q.jsx)(mz,{}),(0,q.jsx)(gz,{}),(0,q.jsx)(_z,{}),(0,q.jsx)(Sz,{}),(0,q.jsx)(Cz,{}),(0,q.jsx)(Tz,{}),(0,q.jsx)(Dz,{}),(0,q.jsx)(Az,{}),(0,q.jsx)(Mz,{}),(0,q.jsx)(Pz,{}),(0,q.jsx)(Iz,{}),(0,q.jsx)(Rz,{}),(0,q.jsx)(Bz,{}),(0,q.jsx)(Hz,{}),(0,q.jsx)(Wz,{}),(0,q.jsx)(Kz,{}),(0,q.jsx)(Jz,{}),(0,q.jsx)(Xz,{}),(0,q.jsx)($z,{}),(0,q.jsx)(nB,{}),(0,q.jsx)(iB,{}),(0,q.jsx)(cB,{}),(0,q.jsx)(oB,{}),(0,q.jsx)(lB,{}),(0,q.jsx)(kz,{})]})})}),t[10]=p):p=t[10];let m;t[11]!==i||t[12]!==f?(m=(0,q.jsxs)(lO,{prefix:i,locale:RR,children:[l,f,p]}),t[11]=i,t[12]=f,t[13]=m):m=t[13];let h;return t[14]!==c||t[15]!==m?(h=(0,q.jsx)(zR,{value:c,children:m}),t[14]=c,t[15]=m,t[16]=h):h=t[16],h}(0,uy.createRoot)(document.getElementById(`root`)).render((0,q.jsx)(b.StrictMode,{children:(0,q.jsx)(dB,{})}));
|