@umkmall/proto 0.1.0-h2e45b3c4dc3a

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/umkmall-ui.js ADDED
@@ -0,0 +1,204 @@
1
+ var UmkmallUI=(()=>{var gM=Object.create;var Bc=Object.defineProperty;var xM=Object.getOwnPropertyDescriptor;var yM=Object.getOwnPropertyNames;var bM=Object.getPrototypeOf,vM=Object.prototype.hasOwnProperty;var Fo=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Hc=(e,t)=>{for(var a in t)Bc(e,a,{get:t[a],enumerable:!0})},hy=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of yM(t))!vM.call(e,n)&&n!==a&&Bc(e,n,{get:()=>t[n],enumerable:!(o=xM(t,n))||o.enumerable});return e};var C=(e,t,a)=>(a=e!=null?gM(bM(e)):{},hy(t||!e||!e.__esModule?Bc(a,"default",{value:e,enumerable:!0}):a,e)),CM=e=>hy(Bc({},"__esModule",{value:!0}),e);var Ey=Fo(me=>{"use strict";var Eh=Symbol.for("react.transitional.element"),RM=Symbol.for("react.portal"),TM=Symbol.for("react.fragment"),EM=Symbol.for("react.strict_mode"),IM=Symbol.for("react.profiler"),AM=Symbol.for("react.consumer"),MM=Symbol.for("react.context"),OM=Symbol.for("react.forward_ref"),DM=Symbol.for("react.suspense"),_M=Symbol.for("react.memo"),Cy=Symbol.for("react.lazy"),kM=Symbol.for("react.activity"),xy=Symbol.iterator;function PM(e){return e===null||typeof e!="object"?null:(e=xy&&e[xy]||e["@@iterator"],typeof e=="function"?e:null)}var Sy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wy=Object.assign,Ly={};function Js(e,t,a){this.props=e,this.context=t,this.refs=Ly,this.updater=a||Sy}Js.prototype.isReactComponent={};Js.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")};Js.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ry(){}Ry.prototype=Js.prototype;function Ih(e,t,a){this.props=e,this.context=t,this.refs=Ly,this.updater=a||Sy}var Ah=Ih.prototype=new Ry;Ah.constructor=Ih;wy(Ah,Js.prototype);Ah.isPureReactComponent=!0;var yy=Array.isArray;function Th(){}var Ye={H:null,A:null,T:null,S:null},Ty=Object.prototype.hasOwnProperty;function Mh(e,t,a){var o=a.ref;return{$$typeof:Eh,type:e,key:t,ref:o!==void 0?o:null,props:a}}function NM(e,t){return Mh(e.type,t,e.props)}function Oh(e){return typeof e=="object"&&e!==null&&e.$$typeof===Eh}function BM(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var by=/\/+/g;function Rh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?BM(""+e.key):t.toString(36)}function HM(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Th,Th):(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 Qs(e,t,a,o,n){var r=typeof e;(r==="undefined"||r==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(r){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Eh:case RM:s=!0;break;case Cy:return s=e._init,Qs(s(e._payload),t,a,o,n)}}if(s)return n=n(e),s=o===""?"."+Rh(e,0):o,yy(n)?(a="",s!=null&&(a=s.replace(by,"$&/")+"/"),Qs(n,t,a,"",function(u){return u})):n!=null&&(Oh(n)&&(n=NM(n,a+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(by,"$&/")+"/")+s)),t.push(n)),1;s=0;var l=o===""?".":o+":";if(yy(e))for(var i=0;i<e.length;i++)o=e[i],r=l+Rh(o,i),s+=Qs(o,t,a,r,n);else if(i=PM(e),typeof i=="function")for(e=i.call(e),i=0;!(o=e.next()).done;)o=o.value,r=l+Rh(o,i++),s+=Qs(o,t,a,r,n);else if(r==="object"){if(typeof e.then=="function")return Qs(HM(e),t,a,o,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function zc(e,t,a){if(e==null)return e;var o=[],n=0;return Qs(e,o,"","",function(r){return t.call(a,r,n++)}),o}function FM(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var vy=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!==null&&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)},zM={map:zc,forEach:function(e,t,a){zc(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return zc(e,function(){t++}),t},toArray:function(e){return zc(e,function(t){return t})||[]},only:function(e){if(!Oh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};me.Activity=kM;me.Children=zM;me.Component=Js;me.Fragment=TM;me.Profiler=IM;me.PureComponent=Ih;me.StrictMode=EM;me.Suspense=DM;me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ye;me.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ye.H.useMemoCache(e)}};me.cache=function(e){return function(){return e.apply(null,arguments)}};me.cacheSignal=function(){return null};me.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=wy({},e.props),n=e.key;if(t!=null)for(r in t.key!==void 0&&(n=""+t.key),t)!Ty.call(t,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&t.ref===void 0||(o[r]=t[r]);var r=arguments.length-2;if(r===1)o.children=a;else if(1<r){for(var s=Array(r),l=0;l<r;l++)s[l]=arguments[l+2];o.children=s}return Mh(e.type,n,o)};me.createContext=function(e){return e={$$typeof:MM,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:AM,_context:e},e};me.createElement=function(e,t,a){var o,n={},r=null;if(t!=null)for(o in t.key!==void 0&&(r=""+t.key),t)Ty.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(n[o]=t[o]);var s=arguments.length-2;if(s===1)n.children=a;else if(1<s){for(var l=Array(s),i=0;i<s;i++)l[i]=arguments[i+2];n.children=l}if(e&&e.defaultProps)for(o in s=e.defaultProps,s)n[o]===void 0&&(n[o]=s[o]);return Mh(e,r,n)};me.createRef=function(){return{current:null}};me.forwardRef=function(e){return{$$typeof:OM,render:e}};me.isValidElement=Oh;me.lazy=function(e){return{$$typeof:Cy,_payload:{_status:-1,_result:e},_init:FM}};me.memo=function(e,t){return{$$typeof:_M,type:e,compare:t===void 0?null:t}};me.startTransition=function(e){var t=Ye.T,a={};Ye.T=a;try{var o=e(),n=Ye.S;n!==null&&n(a,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(Th,vy)}catch(r){vy(r)}finally{t!==null&&a.types!==null&&(t.types=a.types),Ye.T=t}};me.unstable_useCacheRefresh=function(){return Ye.H.useCacheRefresh()};me.use=function(e){return Ye.H.use(e)};me.useActionState=function(e,t,a){return Ye.H.useActionState(e,t,a)};me.useCallback=function(e,t){return Ye.H.useCallback(e,t)};me.useContext=function(e){return Ye.H.useContext(e)};me.useDebugValue=function(){};me.useDeferredValue=function(e,t){return Ye.H.useDeferredValue(e,t)};me.useEffect=function(e,t){return Ye.H.useEffect(e,t)};me.useEffectEvent=function(e){return Ye.H.useEffectEvent(e)};me.useId=function(){return Ye.H.useId()};me.useImperativeHandle=function(e,t,a){return Ye.H.useImperativeHandle(e,t,a)};me.useInsertionEffect=function(e,t){return Ye.H.useInsertionEffect(e,t)};me.useLayoutEffect=function(e,t){return Ye.H.useLayoutEffect(e,t)};me.useMemo=function(e,t){return Ye.H.useMemo(e,t)};me.useOptimistic=function(e,t){return Ye.H.useOptimistic(e,t)};me.useReducer=function(e,t,a){return Ye.H.useReducer(e,t,a)};me.useRef=function(e){return Ye.H.useRef(e)};me.useState=function(e){return Ye.H.useState(e)};me.useSyncExternalStore=function(e,t,a){return Ye.H.useSyncExternalStore(e,t,a)};me.useTransition=function(){return Ye.H.useTransition()};me.version="19.2.4"});var I=Fo((JG,Iy)=>{"use strict";Iy.exports=Ey()});var bb=Fo(Wc=>{"use strict";var CO=Symbol.for("react.transitional.element"),SO=Symbol.for("react.fragment");function yb(e,t,a){var o=null;if(a!==void 0&&(o=""+a),t.key!==void 0&&(o=""+t.key),"key"in t){a={};for(var n in t)n!=="key"&&(a[n]=t[n])}else a=t;return t=a.ref,{$$typeof:CO,type:e,key:o,ref:t!==void 0?t:null,props:a}}Wc.Fragment=SO;Wc.jsx=yb;Wc.jsxs=yb});var E=Fo((AV,vb)=>{"use strict";vb.exports=bb()});var fS=Fo(da=>{"use strict";var h_=I();function cS(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}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 fr(){}var ua={d:{f:fr,r:function(){throw Error(cS(522))},D:fr,C:fr,L:fr,m:fr,X:fr,S:fr,M:fr},p:0,findDOMNode:null},g_=Symbol.for("react.portal");function x_(e,t,a){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:g_,key:o==null?null:""+o,children:e,containerInfo:t,implementation:a}}var Ku=h_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Tf(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}da.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ua;da.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(cS(299));return x_(e,t,null,a)};da.flushSync=function(e){var t=Ku.T,a=ua.p;try{if(Ku.T=null,ua.p=2,e)return e()}finally{Ku.T=t,ua.p=a,ua.d.f()}};da.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,ua.d.C(e,t))};da.prefetchDNS=function(e){typeof e=="string"&&ua.d.D(e)};da.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,o=Tf(a,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,r=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?ua.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:o,integrity:n,fetchPriority:r}):a==="script"&&ua.d.X(e,{crossOrigin:o,integrity:n,fetchPriority:r,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};da.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=Tf(t.as,t.crossOrigin);ua.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&ua.d.M(e)};da.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,o=Tf(a,t.crossOrigin);ua.d.L(e,a,{crossOrigin:o,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})}};da.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=Tf(t.as,t.crossOrigin);ua.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else ua.d.m(e)};da.requestFormReset=function(e){ua.d.r(e)};da.unstable_batchedUpdates=function(e,t){return e(t)};da.useFormState=function(e,t,a){return Ku.H.useFormState(e,t,a)};da.useFormStatus=function(){return Ku.H.useHostTransitionStatus()};da.version="19.2.4"});var vl=Fo((Gee,mS)=>{"use strict";function pS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pS)}catch(e){console.error(e)}}pS(),mS.exports=fS()});var QT=Fo(et=>{"use strict";function F0(e,t){var a=e.length;e.push(t);e:for(;0<a;){var o=a-1>>>1,n=e[o];if(0<Kp(n,t))e[o]=t,e[a]=n,a=o;else break e}}function an(e){return e.length===0?null:e[0]}function Zp(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var o=0,n=e.length,r=n>>>1;o<r;){var s=2*(o+1)-1,l=e[s],i=s+1,u=e[i];if(0>Kp(l,a))i<n&&0>Kp(u,l)?(e[o]=u,e[i]=a,o=i):(e[o]=l,e[s]=a,o=s);else if(i<n&&0>Kp(u,a))e[o]=u,e[i]=a,o=i;else break e}}return t}function Kp(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}et.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(UT=performance,et.unstable_now=function(){return UT.now()}):(N0=Date,qT=N0.now(),et.unstable_now=function(){return N0.now()-qT});var UT,N0,qT,En=[],Mr=[],vF=1,so=null,aa=3,z0=!1,Od=!1,Dd=!1,G0=!1,KT=typeof setTimeout=="function"?setTimeout:null,XT=typeof clearTimeout=="function"?clearTimeout:null,WT=typeof setImmediate<"u"?setImmediate:null;function Xp(e){for(var t=an(Mr);t!==null;){if(t.callback===null)Zp(Mr);else if(t.startTime<=e)Zp(Mr),t.sortIndex=t.expirationTime,F0(En,t);else break;t=an(Mr)}}function V0(e){if(Dd=!1,Xp(e),!Od)if(an(En)!==null)Od=!0,Xl||(Xl=!0,Kl());else{var t=an(Mr);t!==null&&U0(V0,t.startTime-e)}}var Xl=!1,_d=-1,ZT=5,jT=-1;function $T(){return G0?!0:!(et.unstable_now()-jT<ZT)}function B0(){if(G0=!1,Xl){var e=et.unstable_now();jT=e;var t=!0;try{e:{Od=!1,Dd&&(Dd=!1,XT(_d),_d=-1),z0=!0;var a=aa;try{t:{for(Xp(e),so=an(En);so!==null&&!(so.expirationTime>e&&$T());){var o=so.callback;if(typeof o=="function"){so.callback=null,aa=so.priorityLevel;var n=o(so.expirationTime<=e);if(e=et.unstable_now(),typeof n=="function"){so.callback=n,Xp(e),t=!0;break t}so===an(En)&&Zp(En),Xp(e)}else Zp(En);so=an(En)}if(so!==null)t=!0;else{var r=an(Mr);r!==null&&U0(V0,r.startTime-e),t=!1}}break e}finally{so=null,aa=a,z0=!1}t=void 0}}finally{t?Kl():Xl=!1}}}var Kl;typeof WT=="function"?Kl=function(){WT(B0)}:typeof MessageChannel<"u"?(H0=new MessageChannel,YT=H0.port2,H0.port1.onmessage=B0,Kl=function(){YT.postMessage(null)}):Kl=function(){KT(B0,0)};var H0,YT;function U0(e,t){_d=KT(function(){e(et.unstable_now())},t)}et.unstable_IdlePriority=5;et.unstable_ImmediatePriority=1;et.unstable_LowPriority=4;et.unstable_NormalPriority=3;et.unstable_Profiling=null;et.unstable_UserBlockingPriority=2;et.unstable_cancelCallback=function(e){e.callback=null};et.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"):ZT=0<e?Math.floor(1e3/e):5};et.unstable_getCurrentPriorityLevel=function(){return aa};et.unstable_next=function(e){switch(aa){case 1:case 2:case 3:var t=3;break;default:t=aa}var a=aa;aa=t;try{return e()}finally{aa=a}};et.unstable_requestPaint=function(){G0=!0};et.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=aa;aa=e;try{return t()}finally{aa=a}};et.unstable_scheduleCallback=function(e,t,a){var o=et.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?o+a:o):a=o,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=a+n,e={id:vF++,callback:t,priorityLevel:e,startTime:a,expirationTime:n,sortIndex:-1},a>o?(e.sortIndex=a,F0(Mr,e),an(En)===null&&e===an(Mr)&&(Dd?(XT(_d),_d=-1):Dd=!0,U0(V0,a-o))):(e.sortIndex=n,F0(En,e),Od||z0||(Od=!0,Xl||(Xl=!0,Kl()))),e};et.unstable_shouldYield=$T;et.unstable_wrapCallback=function(e){var t=aa;return function(){var a=aa;aa=t;try{return e.apply(this,arguments)}finally{aa=a}}}});var eE=Fo((Gde,JT)=>{"use strict";JT.exports=QT()});var fM=Fo(vh=>{"use strict";var It=eE(),TI=I(),CF=vl();function M(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}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 EI(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function bc(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function II(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 AI(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 tE(e){if(bc(e)!==e)throw Error(M(188))}function SF(e){var t=e.alternate;if(!t){if(t=bc(e),t===null)throw Error(M(188));return t!==e?null:e}for(var a=e,o=t;;){var n=a.return;if(n===null)break;var r=n.alternate;if(r===null){if(o=n.return,o!==null){a=o;continue}break}if(n.child===r.child){for(r=n.child;r;){if(r===a)return tE(n),e;if(r===o)return tE(n),t;r=r.sibling}throw Error(M(188))}if(a.return!==o.return)a=n,o=r;else{for(var s=!1,l=n.child;l;){if(l===a){s=!0,a=n,o=r;break}if(l===o){s=!0,o=n,a=r;break}l=l.sibling}if(!s){for(l=r.child;l;){if(l===a){s=!0,a=r,o=n;break}if(l===o){s=!0,o=r,a=n;break}l=l.sibling}if(!s)throw Error(M(189))}}if(a.alternate!==o)throw Error(M(190))}if(a.tag!==3)throw Error(M(188));return a.stateNode.current===a?e:t}function MI(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=MI(e),t!==null)return t;e=e.sibling}return null}var $e=Object.assign,wF=Symbol.for("react.element"),jp=Symbol.for("react.transitional.element"),Gd=Symbol.for("react.portal"),ei=Symbol.for("react.fragment"),OI=Symbol.for("react.strict_mode"),w2=Symbol.for("react.profiler"),DI=Symbol.for("react.consumer"),Pn=Symbol.for("react.context"),yx=Symbol.for("react.forward_ref"),L2=Symbol.for("react.suspense"),R2=Symbol.for("react.suspense_list"),bx=Symbol.for("react.memo"),Or=Symbol.for("react.lazy");Symbol.for("react.scope");var T2=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var LF=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var aE=Symbol.iterator;function kd(e){return e===null||typeof e!="object"?null:(e=aE&&e[aE]||e["@@iterator"],typeof e=="function"?e:null)}var RF=Symbol.for("react.client.reference");function E2(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===RF?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ei:return"Fragment";case w2:return"Profiler";case OI:return"StrictMode";case L2:return"Suspense";case R2:return"SuspenseList";case T2:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Gd:return"Portal";case Pn:return e.displayName||"Context";case DI:return(e._context.displayName||"Context")+".Consumer";case yx:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bx:return t=e.displayName||null,t!==null?t:E2(e.type)||"Memo";case Or:t=e._payload,e=e._init;try{return E2(e(t))}catch{}}return null}var Vd=Array.isArray,ie=TI.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_e=CF.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ns={pending:!1,data:null,method:null,action:null},I2=[],ti=-1;function ln(e){return{current:e}}function Bt(e){0>ti||(e.current=I2[ti],I2[ti]=null,ti--)}function We(e,t){ti++,I2[ti]=e.current,e.current=t}var sn=ln(null),rc=ln(null),Vr=ln(null),Am=ln(null);function Mm(e,t){switch(We(Vr,t),We(rc,e),We(sn,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uI(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=uI(t),e=QA(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Bt(sn),We(sn,e)}function bi(){Bt(sn),Bt(rc),Bt(Vr)}function A2(e){e.memoizedState!==null&&We(Am,e);var t=sn.current,a=QA(t,e.type);t!==a&&(We(rc,e),We(sn,a))}function Om(e){rc.current===e&&(Bt(sn),Bt(rc)),Am.current===e&&(Bt(Am),gc._currentValue=Ns)}var q0,oE;function Ds(e){if(q0===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);q0=t&&t[1]||"",oE=-1<a.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+q0+e+oE}var W0=!1;function Y0(e,t){if(!e||W0)return"";W0=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(f){var p=f}Reflect.construct(e,[],d)}else{try{d.call()}catch(f){p=f}e.call(d.prototype)}}else{try{throw Error()}catch(f){p=f}(d=e())&&typeof d.catch=="function"&&d.catch(function(){})}}catch(f){if(f&&p&&typeof f.stack=="string")return[f.stack,p.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=o.DetermineComponentFrameRoot(),s=r[0],l=r[1];if(s&&l){var i=s.split(`
4
+ `),u=l.split(`
5
+ `);for(n=o=0;o<i.length&&!i[o].includes("DetermineComponentFrameRoot");)o++;for(;n<u.length&&!u[n].includes("DetermineComponentFrameRoot");)n++;if(o===i.length||n===u.length)for(o=i.length-1,n=u.length-1;1<=o&&0<=n&&i[o]!==u[n];)n--;for(;1<=o&&0<=n;o--,n--)if(i[o]!==u[n]){if(o!==1||n!==1)do if(o--,n--,0>n||i[o]!==u[n]){var c=`
6
+ `+i[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=n);break}}}finally{W0=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ds(a):""}function TF(e,t){switch(e.tag){case 26:case 27:case 5:return Ds(e.type);case 16:return Ds("Lazy");case 13:return e.child!==t&&t!==null?Ds("Suspense Fallback"):Ds("Suspense");case 19:return Ds("SuspenseList");case 0:case 15:return Y0(e.type,!1);case 11:return Y0(e.type.render,!1);case 1:return Y0(e.type,!0);case 31:return Ds("Activity");default:return""}}function nE(e){try{var t="",a=null;do t+=TF(e,a),a=e,e=e.return;while(e);return t}catch(o){return`
7
+ Error generating stack: `+o.message+`
8
+ `+o.stack}}var M2=Object.prototype.hasOwnProperty,vx=It.unstable_scheduleCallback,K0=It.unstable_cancelCallback,EF=It.unstable_shouldYield,IF=It.unstable_requestPaint,Fa=It.unstable_now,AF=It.unstable_getCurrentPriorityLevel,_I=It.unstable_ImmediatePriority,kI=It.unstable_UserBlockingPriority,Dm=It.unstable_NormalPriority,MF=It.unstable_LowPriority,PI=It.unstable_IdlePriority,OF=It.log,DF=It.unstable_setDisableYieldValue,vc=null,za=null;function Br(e){if(typeof OF=="function"&&DF(e),za&&typeof za.setStrictMode=="function")try{za.setStrictMode(vc,e)}catch{}}var Ga=Math.clz32?Math.clz32:PF,_F=Math.log,kF=Math.LN2;function PF(e){return e>>>=0,e===0?32:31-(_F(e)/kF|0)|0}var $p=256,Qp=262144,Jp=4194304;function _s(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&261888;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 nh(e,t,a){var o=e.pendingLanes;if(o===0)return 0;var n=0,r=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var l=o&134217727;return l!==0?(o=l&~r,o!==0?n=_s(o):(s&=l,s!==0?n=_s(s):a||(a=l&~e,a!==0&&(n=_s(a))))):(l=o&~r,l!==0?n=_s(l):s!==0?n=_s(s):a||(a=o&~e,a!==0&&(n=_s(a)))),n===0?0:t!==0&&t!==n&&(t&r)===0&&(r=n&-n,a=t&-t,r>=a||r===32&&(a&4194048)!==0)?t:n}function Cc(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function NF(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 NI(){var e=Jp;return Jp<<=1,(Jp&62914560)===0&&(Jp=4194304),e}function X0(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Sc(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function BF(e,t,a,o,n,r){var s=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var l=e.entanglements,i=e.expirationTimes,u=e.hiddenUpdates;for(a=s&~a;0<a;){var c=31-Ga(a),d=1<<c;l[c]=0,i[c]=-1;var p=u[c];if(p!==null)for(u[c]=null,c=0;c<p.length;c++){var f=p[c];f!==null&&(f.lane&=-536870913)}a&=~d}o!==0&&BI(e,o,0),r!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=r&~(s&~t))}function BI(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Ga(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|a&261930}function HI(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var o=31-Ga(a),n=1<<o;n&t|e[o]&t&&(e[o]|=t),a&=~n}}function FI(e,t){var a=t&-t;return a=(a&42)!==0?1:Cx(a),(a&(e.suspendedLanes|t))!==0?0:a}function Cx(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 Sx(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function zI(){var e=_e.p;return e!==0?e:(e=window.event,e===void 0?32:uM(e.type))}function rE(e,t){var a=_e.p;try{return _e.p=e,t()}finally{_e.p=a}}var ts=Math.random().toString(36).slice(2),Vt="__reactFiber$"+ts,Aa="__reactProps$"+ts,Mi="__reactContainer$"+ts,O2="__reactEvents$"+ts,HF="__reactListeners$"+ts,FF="__reactHandles$"+ts,sE="__reactResources$"+ts,wc="__reactMarker$"+ts;function wx(e){delete e[Vt],delete e[Aa],delete e[O2],delete e[HF],delete e[FF]}function ai(e){var t=e[Vt];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Mi]||a[Vt]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=mI(e);e!==null;){if(a=e[Vt])return a;e=mI(e)}return t}e=a,a=e.parentNode}return null}function Oi(e){if(e=e[Vt]||e[Mi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ud(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(M(33))}function fi(e){var t=e[sE];return t||(t=e[sE]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Nt(e){e[wc]=!0}var GI=new Set,VI={};function Ys(e,t){vi(e,t),vi(e+"Capture",t)}function vi(e,t){for(VI[e]=t,e=0;e<t.length;e++)GI.add(t[e])}var zF=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]*$"),lE={},iE={};function GF(e){return M2.call(iE,e)?!0:M2.call(lE,e)?!1:zF.test(e)?iE[e]=!0:(lE[e]=!0,!1)}function mm(e,t,a){if(GF(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function em(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function In(e,t,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+o)}}function io(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function UI(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function VF(e,t,a){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var n=o.get,r=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(s){a=""+s,r.call(this,s)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(s){a=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function D2(e){if(!e._valueTracker){var t=UI(e)?"checked":"value";e._valueTracker=VF(e,t,""+e[t])}}function qI(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),o="";return e&&(o=UI(e)?e.checked?"true":"false":e.value),e=o,e!==a?(t.setValue(e),!0):!1}function _m(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var UF=/[\n"\\]/g;function fo(e){return e.replace(UF,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function _2(e,t,a,o,n,r,s,l){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+io(t)):e.value!==""+io(t)&&(e.value=""+io(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?k2(e,s,io(t)):a!=null?k2(e,s,io(a)):o!=null&&e.removeAttribute("value"),n==null&&r!=null&&(e.defaultChecked=!!r),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.name=""+io(l):e.removeAttribute("name")}function WI(e,t,a,o,n,r,s,l){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||a!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){D2(e);return}a=a!=null?""+io(a):"",t=t!=null?""+io(t):a,l||t===e.value||(e.value=t),e.defaultValue=t}o=o??n,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=l?e.checked:!!o,e.defaultChecked=!!o,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),D2(e)}function k2(e,t,a){t==="number"&&_m(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function pi(e,t,a,o){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&o&&(e[a].defaultSelected=!0)}else{for(a=""+io(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,o&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function YI(e,t,a){if(t!=null&&(t=""+io(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+io(a):""}function KI(e,t,a,o){if(t==null){if(o!=null){if(a!=null)throw Error(M(92));if(Vd(o)){if(1<o.length)throw Error(M(93));o=o[0]}a=o}a==null&&(a=""),t=a}a=io(t),e.defaultValue=a,o=e.textContent,o===a&&o!==""&&o!==null&&(e.value=o),D2(e)}function Ci(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var qF=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 uE(e,t,a){var o=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,a):typeof a!="number"||a===0||qF.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function XI(e,t,a){if(t!=null&&typeof t!="object")throw Error(M(62));if(e=e.style,a!=null){for(var o in a)!a.hasOwnProperty(o)||t!=null&&t.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var n in t)o=t[n],t.hasOwnProperty(n)&&a[n]!==o&&uE(e,n,o)}else for(var r in t)t.hasOwnProperty(r)&&uE(e,r,t[r])}function Lx(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 WF=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),YF=/^[\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 hm(e){return YF.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Nn(){}var P2=null;function Rx(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oi=null,mi=null;function dE(e){var t=Oi(e);if(t&&(e=t.stateNode)){var a=e[Aa]||null;e:switch(e=t.stateNode,t.type){case"input":if(_2(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+fo(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var o=a[t];if(o!==e&&o.form===e.form){var n=o[Aa]||null;if(!n)throw Error(M(90));_2(o,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)o=a[t],o.form===e.form&&qI(o)}break e;case"textarea":YI(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&pi(e,!!a.multiple,t,!1)}}}var Z0=!1;function ZI(e,t,a){if(Z0)return e(t,a);Z0=!0;try{var o=e(t);return o}finally{if(Z0=!1,(oi!==null||mi!==null)&&(gh(),oi&&(t=oi,e=mi,mi=oi=null,dE(t),e)))for(t=0;t<e.length;t++)dE(e[t])}}function sc(e,t){var a=e.stateNode;if(a===null)return null;var o=a[Aa]||null;if(o===null)return null;a=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(M(231,t,typeof a));return a}var Gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),N2=!1;if(Gn)try{Zl={},Object.defineProperty(Zl,"passive",{get:function(){N2=!0}}),window.addEventListener("test",Zl,Zl),window.removeEventListener("test",Zl,Zl)}catch{N2=!1}var Zl,Hr=null,Tx=null,gm=null;function jI(){if(gm)return gm;var e,t=Tx,a=t.length,o,n="value"in Hr?Hr.value:Hr.textContent,r=n.length;for(e=0;e<a&&t[e]===n[e];e++);var s=a-e;for(o=1;o<=s&&t[a-o]===n[r-o];o++);return gm=n.slice(e,1<o?1-o:void 0)}function xm(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 tm(){return!0}function cE(){return!1}function Ma(e){function t(a,o,n,r,s){this._reactName=a,this._targetInst=n,this.type=o,this.nativeEvent=r,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(a=e[l],this[l]=a?a(r):r[l]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?tm:cE,this.isPropagationStopped=cE,this}return $e(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=tm)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=tm)},persist:function(){},isPersistent:tm}),t}var Ks={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rh=Ma(Ks),Lc=$e({},Ks,{view:0,detail:0}),KF=Ma(Lc),j0,$0,Pd,sh=$e({},Lc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ex,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!==Pd&&(Pd&&e.type==="mousemove"?(j0=e.screenX-Pd.screenX,$0=e.screenY-Pd.screenY):$0=j0=0,Pd=e),j0)},movementY:function(e){return"movementY"in e?e.movementY:$0}}),fE=Ma(sh),XF=$e({},sh,{dataTransfer:0}),ZF=Ma(XF),jF=$e({},Lc,{relatedTarget:0}),Q0=Ma(jF),$F=$e({},Ks,{animationName:0,elapsedTime:0,pseudoElement:0}),QF=Ma($F),JF=$e({},Ks,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ez=Ma(JF),tz=$e({},Ks,{data:0}),pE=Ma(tz),az={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oz={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"},nz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rz(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=nz[e])?!!t[e]:!1}function Ex(){return rz}var sz=$e({},Lc,{key:function(e){if(e.key){var t=az[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xm(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?oz[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ex,charCode:function(e){return e.type==="keypress"?xm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lz=Ma(sz),iz=$e({},sh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mE=Ma(iz),uz=$e({},Lc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ex}),dz=Ma(uz),cz=$e({},Ks,{propertyName:0,elapsedTime:0,pseudoElement:0}),fz=Ma(cz),pz=$e({},sh,{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}),mz=Ma(pz),hz=$e({},Ks,{newState:0,oldState:0}),gz=Ma(hz),xz=[9,13,27,32],Ix=Gn&&"CompositionEvent"in window,Yd=null;Gn&&"documentMode"in document&&(Yd=document.documentMode);var yz=Gn&&"TextEvent"in window&&!Yd,$I=Gn&&(!Ix||Yd&&8<Yd&&11>=Yd),hE=" ",gE=!1;function QI(e,t){switch(e){case"keyup":return xz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function JI(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ni=!1;function bz(e,t){switch(e){case"compositionend":return JI(t);case"keypress":return t.which!==32?null:(gE=!0,hE);case"textInput":return e=t.data,e===hE&&gE?null:e;default:return null}}function vz(e,t){if(ni)return e==="compositionend"||!Ix&&QI(e,t)?(e=jI(),gm=Tx=Hr=null,ni=!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 $I&&t.locale!=="ko"?null:t.data;default:return null}}var Cz={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 xE(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cz[e.type]:t==="textarea"}function e7(e,t,a,o){oi?mi?mi.push(o):mi=[o]:oi=o,t=$m(t,"onChange"),0<t.length&&(a=new rh("onChange","change",null,a,o),e.push({event:a,listeners:t}))}var Kd=null,lc=null;function Sz(e){ZA(e,0)}function lh(e){var t=Ud(e);if(qI(t))return e}function yE(e,t){if(e==="change")return t}var t7=!1;Gn&&(Gn?(om="oninput"in document,om||(J0=document.createElement("div"),J0.setAttribute("oninput","return;"),om=typeof J0.oninput=="function"),am=om):am=!1,t7=am&&(!document.documentMode||9<document.documentMode));var am,om,J0;function bE(){Kd&&(Kd.detachEvent("onpropertychange",a7),lc=Kd=null)}function a7(e){if(e.propertyName==="value"&&lh(lc)){var t=[];e7(t,lc,e,Rx(e)),ZI(Sz,t)}}function wz(e,t,a){e==="focusin"?(bE(),Kd=t,lc=a,Kd.attachEvent("onpropertychange",a7)):e==="focusout"&&bE()}function Lz(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return lh(lc)}function Rz(e,t){if(e==="click")return lh(t)}function Tz(e,t){if(e==="input"||e==="change")return lh(t)}function Ez(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ua=typeof Object.is=="function"?Object.is:Ez;function ic(e,t){if(Ua(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var n=a[o];if(!M2.call(t,n)||!Ua(e[n],t[n]))return!1}return!0}function vE(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function CE(e,t){var a=vE(e);e=0;for(var o;a;){if(a.nodeType===3){if(o=e+a.textContent.length,e<=t&&o>=t)return{node:a,offset:t-e};e=o}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=vE(a)}}function o7(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?o7(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function n7(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=_m(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=_m(e.document)}return t}function Ax(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 Iz=Gn&&"documentMode"in document&&11>=document.documentMode,ri=null,B2=null,Xd=null,H2=!1;function SE(e,t,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;H2||ri==null||ri!==_m(o)||(o=ri,"selectionStart"in o&&Ax(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Xd&&ic(Xd,o)||(Xd=o,o=$m(B2,"onSelect"),0<o.length&&(t=new rh("onSelect","select",null,t,a),e.push({event:t,listeners:o}),t.target=ri)))}function Os(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var si={animationend:Os("Animation","AnimationEnd"),animationiteration:Os("Animation","AnimationIteration"),animationstart:Os("Animation","AnimationStart"),transitionrun:Os("Transition","TransitionRun"),transitionstart:Os("Transition","TransitionStart"),transitioncancel:Os("Transition","TransitionCancel"),transitionend:Os("Transition","TransitionEnd")},e2={},r7={};Gn&&(r7=document.createElement("div").style,"AnimationEvent"in window||(delete si.animationend.animation,delete si.animationiteration.animation,delete si.animationstart.animation),"TransitionEvent"in window||delete si.transitionend.transition);function Xs(e){if(e2[e])return e2[e];if(!si[e])return e;var t=si[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in r7)return e2[e]=t[a];return e}var s7=Xs("animationend"),l7=Xs("animationiteration"),i7=Xs("animationstart"),Az=Xs("transitionrun"),Mz=Xs("transitionstart"),Oz=Xs("transitioncancel"),u7=Xs("transitionend"),d7=new Map,F2="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");F2.push("scrollEnd");function Bo(e,t){d7.set(e,t),Ys(t,[e])}var km=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!==null&&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)},lo=[],li=0,Mx=0;function ih(){for(var e=li,t=Mx=li=0;t<e;){var a=lo[t];lo[t++]=null;var o=lo[t];lo[t++]=null;var n=lo[t];lo[t++]=null;var r=lo[t];if(lo[t++]=null,o!==null&&n!==null){var s=o.pending;s===null?n.next=n:(n.next=s.next,s.next=n),o.pending=n}r!==0&&c7(a,n,r)}}function uh(e,t,a,o){lo[li++]=e,lo[li++]=t,lo[li++]=a,lo[li++]=o,Mx|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Ox(e,t,a,o){return uh(e,t,a,o),Pm(e)}function Zs(e,t){return uh(e,null,null,t),Pm(e)}function c7(e,t,a){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a);for(var n=!1,r=e.return;r!==null;)r.childLanes|=a,o=r.alternate,o!==null&&(o.childLanes|=a),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(n=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,n&&t!==null&&(n=31-Ga(a),e=r.hiddenUpdates,o=e[n],o===null?e[n]=[t]:o.push(t),t.lane=a|536870912),r):null}function Pm(e){if(50<oc)throw oc=0,sx=null,Error(M(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ii={};function Dz(e,t,a,o){this.tag=e,this.key=a,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ba(e,t,a,o){return new Dz(e,t,a,o)}function Dx(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hn(e,t){var a=e.alternate;return a===null?(a=Ba(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function f7(e,t){e.flags&=65011714;var a=e.alternate;return a===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=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ym(e,t,a,o,n,r){var s=0;if(o=e,typeof e=="function")Dx(e)&&(s=1);else if(typeof e=="string")s=PG(e,a,sn.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case T2:return e=Ba(31,a,t,n),e.elementType=T2,e.lanes=r,e;case ei:return Bs(a.children,n,r,t);case OI:s=8,n|=24;break;case w2:return e=Ba(12,a,t,n|2),e.elementType=w2,e.lanes=r,e;case L2:return e=Ba(13,a,t,n),e.elementType=L2,e.lanes=r,e;case R2:return e=Ba(19,a,t,n),e.elementType=R2,e.lanes=r,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pn:s=10;break e;case DI:s=9;break e;case yx:s=11;break e;case bx:s=14;break e;case Or:s=16,o=null;break e}s=29,a=Error(M(130,e===null?"null":typeof e,"")),o=null}return t=Ba(s,a,t,n),t.elementType=e,t.type=o,t.lanes=r,t}function Bs(e,t,a,o){return e=Ba(7,e,o,t),e.lanes=a,e}function t2(e,t,a){return e=Ba(6,e,null,t),e.lanes=a,e}function p7(e){var t=Ba(18,null,null,0);return t.stateNode=e,t}function a2(e,t,a){return t=Ba(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var wE=new WeakMap;function po(e,t){if(typeof e=="object"&&e!==null){var a=wE.get(e);return a!==void 0?a:(t={value:e,source:t,stack:nE(t)},wE.set(e,t),t)}return{value:e,source:t,stack:nE(t)}}var ui=[],di=0,Nm=null,uc=0,uo=[],co=0,$r=null,on=1,nn="";function _n(e,t){ui[di++]=uc,ui[di++]=Nm,Nm=e,uc=t}function m7(e,t,a){uo[co++]=on,uo[co++]=nn,uo[co++]=$r,$r=e;var o=on;e=nn;var n=32-Ga(o)-1;o&=~(1<<n),a+=1;var r=32-Ga(t)+n;if(30<r){var s=n-n%5;r=(o&(1<<s)-1).toString(32),o>>=s,n-=s,on=1<<32-Ga(t)+n|a<<n|o,nn=r+e}else on=1<<r|a<<n|o,nn=e}function _x(e){e.return!==null&&(_n(e,1),m7(e,1,0))}function kx(e){for(;e===Nm;)Nm=ui[--di],ui[di]=null,uc=ui[--di],ui[di]=null;for(;e===$r;)$r=uo[--co],uo[co]=null,nn=uo[--co],uo[co]=null,on=uo[--co],uo[co]=null}function h7(e,t){uo[co++]=on,uo[co++]=nn,uo[co++]=$r,on=t.id,nn=t.overflow,$r=e}var Ut=null,je=null,Re=!1,Ur=null,mo=!1,z2=Error(M(519));function Qr(e){var t=Error(M(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw dc(po(t,e)),z2}function LE(e){var t=e.stateNode,a=e.type,o=e.memoizedProps;switch(t[Vt]=e,t[Aa]=o,a){case"dialog":ve("cancel",t),ve("close",t);break;case"iframe":case"object":case"embed":ve("load",t);break;case"video":case"audio":for(a=0;a<mc.length;a++)ve(mc[a],t);break;case"source":ve("error",t);break;case"img":case"image":case"link":ve("error",t),ve("load",t);break;case"details":ve("toggle",t);break;case"input":ve("invalid",t),WI(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":ve("invalid",t);break;case"textarea":ve("invalid",t),KI(t,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||o.suppressHydrationWarning===!0||$A(t.textContent,a)?(o.popover!=null&&(ve("beforetoggle",t),ve("toggle",t)),o.onScroll!=null&&ve("scroll",t),o.onScrollEnd!=null&&ve("scrollend",t),o.onClick!=null&&(t.onclick=Nn),t=!0):t=!1,t||Qr(e,!0)}function RE(e){for(Ut=e.return;Ut;)switch(Ut.tag){case 5:case 31:case 13:mo=!1;return;case 27:case 3:mo=!0;return;default:Ut=Ut.return}}function jl(e){if(e!==Ut)return!1;if(!Re)return RE(e),Re=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||cx(e.type,e.memoizedProps)),a=!a),a&&je&&Qr(e),RE(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));je=pI(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));je=pI(e)}else t===27?(t=je,as(e.type)?(e=hx,hx=null,je=e):je=t):je=Ut?go(e.stateNode.nextSibling):null;return!0}function Gs(){je=Ut=null,Re=!1}function o2(){var e=Ur;return e!==null&&(Ea===null?Ea=e:Ea.push.apply(Ea,e),Ur=null),e}function dc(e){Ur===null?Ur=[e]:Ur.push(e)}var G2=ln(null),js=null,Bn=null;function _r(e,t,a){We(G2,t._currentValue),t._currentValue=a}function Fn(e){e._currentValue=G2.current,Bt(G2)}function V2(e,t,a){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===a)break;e=e.return}}function U2(e,t,a,o){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var r=n.dependencies;if(r!==null){var s=n.child;r=r.firstContext;e:for(;r!==null;){var l=r;r=n;for(var i=0;i<t.length;i++)if(l.context===t[i]){r.lanes|=a,l=r.alternate,l!==null&&(l.lanes|=a),V2(r.return,a,e),o||(s=null);break e}r=l.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(M(341));s.lanes|=a,r=s.alternate,r!==null&&(r.lanes|=a),V2(s,a,e),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===e){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function Di(e,t,a,o){e=null;for(var n=t,r=!1;n!==null;){if(!r){if((n.flags&524288)!==0)r=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var s=n.alternate;if(s===null)throw Error(M(387));if(s=s.memoizedProps,s!==null){var l=n.type;Ua(n.pendingProps.value,s.value)||(e!==null?e.push(l):e=[l])}}else if(n===Am.current){if(s=n.alternate,s===null)throw Error(M(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(gc):e=[gc])}n=n.return}e!==null&&U2(t,e,a,o),t.flags|=262144}function Bm(e){for(e=e.firstContext;e!==null;){if(!Ua(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Vs(e){js=e,Bn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function qt(e){return g7(js,e)}function nm(e,t){return js===null&&Vs(e),g7(e,t)}function g7(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Bn===null){if(e===null)throw Error(M(308));Bn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Bn=Bn.next=t;return a}var _z=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},kz=It.unstable_scheduleCallback,Pz=It.unstable_NormalPriority,yt={$$typeof:Pn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Px(){return{controller:new _z,data:new Map,refCount:0}}function Rc(e){e.refCount--,e.refCount===0&&kz(Pz,function(){e.controller.abort()})}var Zd=null,q2=0,Si=0,hi=null;function Nz(e,t){if(Zd===null){var a=Zd=[];q2=0,Si=sy(),hi={status:"pending",value:void 0,then:function(o){a.push(o)}}}return q2++,t.then(TE,TE),t}function TE(){if(--q2===0&&Zd!==null){hi!==null&&(hi.status="fulfilled");var e=Zd;Zd=null,Si=0,hi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Bz(e,t){var a=[],o={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var n=0;n<a.length;n++)(0,a[n])(t)},function(n){for(o.status="rejected",o.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),o}var EE=ie.S;ie.S=function(e,t){MA=Fa(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Nz(e,t),EE!==null&&EE(e,t)};var Hs=ln(null);function Nx(){var e=Hs.current;return e!==null?e:Ge.pooledCache}function bm(e,t){t===null?We(Hs,Hs.current):We(Hs,t.pool)}function x7(){var e=Nx();return e===null?null:{parent:yt._currentValue,pool:e}}var _i=Error(M(460)),Bx=Error(M(474)),dh=Error(M(542)),Hm={then:function(){}};function IE(e){return e=e.status,e==="fulfilled"||e==="rejected"}function y7(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Nn,Nn),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ME(e),e;default:if(typeof t.status=="string")t.then(Nn,Nn);else{if(e=Ge,e!==null&&100<e.shellSuspendCounter)throw Error(M(482));e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=o}},function(o){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ME(e),e}throw Fs=t,_i}}function ks(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Fs=a,_i):a}}var Fs=null;function AE(){if(Fs===null)throw Error(M(459));var e=Fs;return Fs=null,e}function ME(e){if(e===_i||e===dh)throw Error(M(483))}var gi=null,cc=0;function rm(e){var t=cc;return cc+=1,gi===null&&(gi=[]),y7(gi,e,t)}function Nd(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function sm(e,t){throw t.$$typeof===wF?Error(M(525)):(e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function b7(e){function t(m,h){if(e){var y=m.deletions;y===null?(m.deletions=[h],m.flags|=16):y.push(h)}}function a(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function o(m){for(var h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function n(m,h){return m=Hn(m,h),m.index=0,m.sibling=null,m}function r(m,h,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<h?(m.flags|=67108866,h):y):(m.flags|=67108866,h)):(m.flags|=1048576,h)}function s(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function l(m,h,y,v){return h===null||h.tag!==6?(h=t2(y,m.mode,v),h.return=m,h):(h=n(h,y),h.return=m,h)}function i(m,h,y,v){var S=y.type;return S===ei?c(m,h,y.props.children,v,y.key):h!==null&&(h.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Or&&ks(S)===h.type)?(h=n(h,y.props),Nd(h,y),h.return=m,h):(h=ym(y.type,y.key,y.props,null,m.mode,v),Nd(h,y),h.return=m,h)}function u(m,h,y,v){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=a2(y,m.mode,v),h.return=m,h):(h=n(h,y.children||[]),h.return=m,h)}function c(m,h,y,v,S){return h===null||h.tag!==7?(h=Bs(y,m.mode,v,S),h.return=m,h):(h=n(h,y),h.return=m,h)}function d(m,h,y){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=t2(""+h,m.mode,y),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case jp:return y=ym(h.type,h.key,h.props,null,m.mode,y),Nd(y,h),y.return=m,y;case Gd:return h=a2(h,m.mode,y),h.return=m,h;case Or:return h=ks(h),d(m,h,y)}if(Vd(h)||kd(h))return h=Bs(h,m.mode,y,null),h.return=m,h;if(typeof h.then=="function")return d(m,rm(h),y);if(h.$$typeof===Pn)return d(m,nm(m,h),y);sm(m,h)}return null}function p(m,h,y,v){var S=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return S!==null?null:l(m,h,""+y,v);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case jp:return y.key===S?i(m,h,y,v):null;case Gd:return y.key===S?u(m,h,y,v):null;case Or:return y=ks(y),p(m,h,y,v)}if(Vd(y)||kd(y))return S!==null?null:c(m,h,y,v,null);if(typeof y.then=="function")return p(m,h,rm(y),v);if(y.$$typeof===Pn)return p(m,h,nm(m,y),v);sm(m,y)}return null}function f(m,h,y,v,S){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return m=m.get(y)||null,l(h,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case jp:return m=m.get(v.key===null?y:v.key)||null,i(h,m,v,S);case Gd:return m=m.get(v.key===null?y:v.key)||null,u(h,m,v,S);case Or:return v=ks(v),f(m,h,y,v,S)}if(Vd(v)||kd(v))return m=m.get(y)||null,c(h,m,v,S,null);if(typeof v.then=="function")return f(m,h,y,rm(v),S);if(v.$$typeof===Pn)return f(m,h,y,nm(h,v),S);sm(h,v)}return null}function g(m,h,y,v){for(var S=null,w=null,L=h,T=h=0,A=null;L!==null&&T<y.length;T++){L.index>T?(A=L,L=null):A=L.sibling;var O=p(m,L,y[T],v);if(O===null){L===null&&(L=A);break}e&&L&&O.alternate===null&&t(m,L),h=r(O,h,T),w===null?S=O:w.sibling=O,w=O,L=A}if(T===y.length)return a(m,L),Re&&_n(m,T),S;if(L===null){for(;T<y.length;T++)L=d(m,y[T],v),L!==null&&(h=r(L,h,T),w===null?S=L:w.sibling=L,w=L);return Re&&_n(m,T),S}for(L=o(L);T<y.length;T++)A=f(L,m,T,y[T],v),A!==null&&(e&&A.alternate!==null&&L.delete(A.key===null?T:A.key),h=r(A,h,T),w===null?S=A:w.sibling=A,w=A);return e&&L.forEach(function(B){return t(m,B)}),Re&&_n(m,T),S}function x(m,h,y,v){if(y==null)throw Error(M(151));for(var S=null,w=null,L=h,T=h=0,A=null,O=y.next();L!==null&&!O.done;T++,O=y.next()){L.index>T?(A=L,L=null):A=L.sibling;var B=p(m,L,O.value,v);if(B===null){L===null&&(L=A);break}e&&L&&B.alternate===null&&t(m,L),h=r(B,h,T),w===null?S=B:w.sibling=B,w=B,L=A}if(O.done)return a(m,L),Re&&_n(m,T),S;if(L===null){for(;!O.done;T++,O=y.next())O=d(m,O.value,v),O!==null&&(h=r(O,h,T),w===null?S=O:w.sibling=O,w=O);return Re&&_n(m,T),S}for(L=o(L);!O.done;T++,O=y.next())O=f(L,m,T,O.value,v),O!==null&&(e&&O.alternate!==null&&L.delete(O.key===null?T:O.key),h=r(O,h,T),w===null?S=O:w.sibling=O,w=O);return e&&L.forEach(function(P){return t(m,P)}),Re&&_n(m,T),S}function b(m,h,y,v){if(typeof y=="object"&&y!==null&&y.type===ei&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case jp:e:{for(var S=y.key;h!==null;){if(h.key===S){if(S=y.type,S===ei){if(h.tag===7){a(m,h.sibling),v=n(h,y.props.children),v.return=m,m=v;break e}}else if(h.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Or&&ks(S)===h.type){a(m,h.sibling),v=n(h,y.props),Nd(v,y),v.return=m,m=v;break e}a(m,h);break}else t(m,h);h=h.sibling}y.type===ei?(v=Bs(y.props.children,m.mode,v,y.key),v.return=m,m=v):(v=ym(y.type,y.key,y.props,null,m.mode,v),Nd(v,y),v.return=m,m=v)}return s(m);case Gd:e:{for(S=y.key;h!==null;){if(h.key===S)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){a(m,h.sibling),v=n(h,y.children||[]),v.return=m,m=v;break e}else{a(m,h);break}else t(m,h);h=h.sibling}v=a2(y,m.mode,v),v.return=m,m=v}return s(m);case Or:return y=ks(y),b(m,h,y,v)}if(Vd(y))return g(m,h,y,v);if(kd(y)){if(S=kd(y),typeof S!="function")throw Error(M(150));return y=S.call(y),x(m,h,y,v)}if(typeof y.then=="function")return b(m,h,rm(y),v);if(y.$$typeof===Pn)return b(m,h,nm(m,y),v);sm(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,h!==null&&h.tag===6?(a(m,h.sibling),v=n(h,y),v.return=m,m=v):(a(m,h),v=t2(y,m.mode,v),v.return=m,m=v),s(m)):a(m,h)}return function(m,h,y,v){try{cc=0;var S=b(m,h,y,v);return gi=null,S}catch(L){if(L===_i||L===dh)throw L;var w=Ba(29,L,null,m.mode);return w.lanes=v,w.return=m,w}finally{}}}var Us=b7(!0),v7=b7(!1),Dr=!1;function Hx(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function W2(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 qr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wr(e,t,a){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(De&2)!==0){var n=o.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),o.pending=t,t=Pm(e),c7(e,null,a),t}return uh(e,o,t,a),Pm(e)}function jd(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,HI(e,a)}}function n2(e,t){var a=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var n=null,r=null;if(a=a.firstBaseUpdate,a!==null){do{var s={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};r===null?n=r=s:r=r.next=s,a=a.next}while(a!==null);r===null?n=r=t:r=r.next=t}else n=r=t;a={baseState:o.baseState,firstBaseUpdate:n,lastBaseUpdate:r,shared:o.shared,callbacks:o.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Y2=!1;function $d(){if(Y2){var e=hi;if(e!==null)throw e}}function Qd(e,t,a,o){Y2=!1;var n=e.updateQueue;Dr=!1;var r=n.firstBaseUpdate,s=n.lastBaseUpdate,l=n.shared.pending;if(l!==null){n.shared.pending=null;var i=l,u=i.next;i.next=null,s===null?r=u:s.next=u,s=i;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=i))}if(r!==null){var d=n.baseState;s=0,c=u=i=null,l=r;do{var p=l.lane&-536870913,f=p!==l.lane;if(f?(we&p)===p:(o&p)===p){p!==0&&p===Si&&(Y2=!0),c!==null&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var g=e,x=l;p=t;var b=a;switch(x.tag){case 1:if(g=x.payload,typeof g=="function"){d=g.call(b,d,p);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=x.payload,p=typeof g=="function"?g.call(b,d,p):g,p==null)break e;d=$e({},d,p);break e;case 2:Dr=!0}}p=l.callback,p!==null&&(e.flags|=64,f&&(e.flags|=8192),f=n.callbacks,f===null?n.callbacks=[p]:f.push(p))}else f={lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=f,i=d):c=c.next=f,s|=p;if(l=l.next,l===null){if(l=n.shared.pending,l===null)break;f=l,l=f.next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}}while(!0);c===null&&(i=d),n.baseState=i,n.firstBaseUpdate=u,n.lastBaseUpdate=c,r===null&&(n.shared.lanes=0),es|=s,e.lanes=s,e.memoizedState=d}}function C7(e,t){if(typeof e!="function")throw Error(M(191,e));e.call(t)}function S7(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)C7(a[e],t)}var wi=ln(null),Fm=ln(0);function OE(e,t){e=Wn,We(Fm,e),We(wi,t),Wn=e|t.baseLanes}function K2(){We(Fm,Wn),We(wi,wi.current)}function Fx(){Wn=Fm.current,Bt(wi),Bt(Fm)}var qa=ln(null),ho=null;function kr(e){var t=e.alternate;We(st,st.current&1),We(qa,e),ho===null&&(t===null||wi.current!==null||t.memoizedState!==null)&&(ho=e)}function X2(e){We(st,st.current),We(qa,e),ho===null&&(ho=e)}function w7(e){e.tag===22?(We(st,st.current),We(qa,e),ho===null&&(ho=e)):Pr(e)}function Pr(){We(st,st.current),We(qa,qa.current)}function Na(e){Bt(qa),ho===e&&(ho=null),Bt(st)}var st=ln(0);function zm(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||px(a)||mx(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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 Vn=0,ge=null,ze=null,gt=null,Gm=!1,xi=!1,qs=!1,Vm=0,fc=0,yi=null,Hz=0;function ot(){throw Error(M(321))}function zx(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Ua(e[a],t[a]))return!1;return!0}function Gx(e,t,a,o,n,r){return Vn=r,ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ie.H=e===null||e.memoizedState===null?eA:Qx,qs=!1,r=a(o,n),qs=!1,xi&&(r=R7(t,a,o,n)),L7(e),r}function L7(e){ie.H=pc;var t=ze!==null&&ze.next!==null;if(Vn=0,gt=ze=ge=null,Gm=!1,fc=0,yi=null,t)throw Error(M(300));e===null||bt||(e=e.dependencies,e!==null&&Bm(e)&&(bt=!0))}function R7(e,t,a,o){ge=e;var n=0;do{if(xi&&(yi=null),fc=0,xi=!1,25<=n)throw Error(M(301));if(n+=1,gt=ze=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}ie.H=tA,r=t(a,o)}while(xi);return r}function Fz(){var e=ie.H,t=e.useState()[0];return t=typeof t.then=="function"?Tc(t):t,e=e.useState()[0],(ze!==null?ze.memoizedState:null)!==e&&(ge.flags|=1024),t}function Vx(){var e=Vm!==0;return Vm=0,e}function Ux(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function qx(e){if(Gm){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Gm=!1}Vn=0,gt=ze=ge=null,xi=!1,fc=Vm=0,yi=null}function pa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gt===null?ge.memoizedState=gt=e:gt=gt.next=e,gt}function lt(){if(ze===null){var e=ge.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=gt===null?ge.memoizedState:gt.next;if(t!==null)gt=t,ze=e;else{if(e===null)throw ge.alternate===null?Error(M(467)):Error(M(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},gt===null?ge.memoizedState=gt=e:gt=gt.next=e}return gt}function ch(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tc(e){var t=fc;return fc+=1,yi===null&&(yi=[]),e=y7(yi,e,t),t=ge,(gt===null?t.memoizedState:gt.next)===null&&(t=t.alternate,ie.H=t===null||t.memoizedState===null?eA:Qx),e}function fh(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Tc(e);if(e.$$typeof===Pn)return qt(e)}throw Error(M(438,String(e)))}function Wx(e){var t=null,a=ge.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var o=ge.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=ch(),ge.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),o=0;o<e;o++)a[o]=LF;return t.index++,a}function Un(e,t){return typeof t=="function"?t(e):t}function vm(e){var t=lt();return Yx(t,ze,e)}function Yx(e,t,a){var o=e.queue;if(o===null)throw Error(M(311));o.lastRenderedReducer=a;var n=e.baseQueue,r=o.pending;if(r!==null){if(n!==null){var s=n.next;n.next=r.next,r.next=s}t.baseQueue=n=r,o.pending=null}if(r=e.baseState,n===null)e.memoizedState=r;else{t=n.next;var l=s=null,i=null,u=t,c=!1;do{var d=u.lane&-536870913;if(d!==u.lane?(we&d)===d:(Vn&d)===d){var p=u.revertLane;if(p===0)i!==null&&(i=i.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===Si&&(c=!0);else if((Vn&p)===p){u=u.next,p===Si&&(c=!0);continue}else d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},i===null?(l=i=d,s=r):i=i.next=d,ge.lanes|=p,es|=p;d=u.action,qs&&a(r,d),r=u.hasEagerState?u.eagerState:a(r,d)}else p={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},i===null?(l=i=p,s=r):i=i.next=p,ge.lanes|=d,es|=d;u=u.next}while(u!==null&&u!==t);if(i===null?s=r:i.next=l,!Ua(r,e.memoizedState)&&(bt=!0,c&&(a=hi,a!==null)))throw a;e.memoizedState=r,e.baseState=s,e.baseQueue=i,o.lastRenderedState=r}return n===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function r2(e){var t=lt(),a=t.queue;if(a===null)throw Error(M(311));a.lastRenderedReducer=e;var o=a.dispatch,n=a.pending,r=t.memoizedState;if(n!==null){a.pending=null;var s=n=n.next;do r=e(r,s.action),s=s.next;while(s!==n);Ua(r,t.memoizedState)||(bt=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),a.lastRenderedState=r}return[r,o]}function T7(e,t,a){var o=ge,n=lt(),r=Re;if(r){if(a===void 0)throw Error(M(407));a=a()}else a=t();var s=!Ua((ze||n).memoizedState,a);if(s&&(n.memoizedState=a,bt=!0),n=n.queue,Kx(A7.bind(null,o,n,e),[e]),n.getSnapshot!==t||s||gt!==null&&gt.memoizedState.tag&1){if(o.flags|=2048,Li(9,{destroy:void 0},I7.bind(null,o,n,a,t),null),Ge===null)throw Error(M(349));r||(Vn&127)!==0||E7(o,t,a)}return a}function E7(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=ge.updateQueue,t===null?(t=ch(),ge.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function I7(e,t,a,o){t.value=a,t.getSnapshot=o,M7(t)&&O7(e)}function A7(e,t,a){return a(function(){M7(t)&&O7(e)})}function M7(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Ua(e,a)}catch{return!0}}function O7(e){var t=Zs(e,2);t!==null&&Ia(t,e,2)}function Z2(e){var t=pa();if(typeof e=="function"){var a=e;if(e=a(),qs){Br(!0);try{a()}finally{Br(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:e},t}function D7(e,t,a,o){return e.baseState=a,Yx(e,ze,typeof o=="function"?o:Un)}function zz(e,t,a,o,n){if(mh(e))throw Error(M(485));if(e=t.action,e!==null){var r={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){r.listeners.push(s)}};ie.T!==null?a(!0):r.isTransition=!1,o(r),a=t.pending,a===null?(r.next=t.pending=r,_7(t,r)):(r.next=a.next,t.pending=a.next=r)}}function _7(e,t){var a=t.action,o=t.payload,n=e.state;if(t.isTransition){var r=ie.T,s={};ie.T=s;try{var l=a(n,o),i=ie.S;i!==null&&i(s,l),DE(e,t,l)}catch(u){j2(e,t,u)}finally{r!==null&&s.types!==null&&(r.types=s.types),ie.T=r}}else try{r=a(n,o),DE(e,t,r)}catch(u){j2(e,t,u)}}function DE(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){_E(e,t,o)},function(o){return j2(e,t,o)}):_E(e,t,a)}function _E(e,t,a){t.status="fulfilled",t.value=a,k7(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,_7(e,a)))}function j2(e,t,a){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=a,k7(t),t=t.next;while(t!==o)}e.action=null}function k7(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function P7(e,t){return t}function kE(e,t){if(Re){var a=Ge.formState;if(a!==null){e:{var o=ge;if(Re){if(je){t:{for(var n=je,r=mo;n.nodeType!==8;){if(!r){n=null;break t}if(n=go(n.nextSibling),n===null){n=null;break t}}r=n.data,n=r==="F!"||r==="F"?n:null}if(n){je=go(n.nextSibling),o=n.data==="F!";break e}}Qr(o)}o=!1}o&&(t=a[0])}}return a=pa(),a.memoizedState=a.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:P7,lastRenderedState:t},a.queue=o,a=$7.bind(null,ge,o),o.dispatch=a,o=Z2(!1),r=$x.bind(null,ge,!1,o.queue),o=pa(),n={state:t,dispatch:null,action:e,pending:null},o.queue=n,a=zz.bind(null,ge,n,r,a),n.dispatch=a,o.memoizedState=e,[t,a,!1]}function PE(e){var t=lt();return N7(t,ze,e)}function N7(e,t,a){if(t=Yx(e,t,P7)[0],e=vm(Un)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Tc(t)}catch(s){throw s===_i?dh:s}else o=t;t=lt();var n=t.queue,r=n.dispatch;return a!==t.memoizedState&&(ge.flags|=2048,Li(9,{destroy:void 0},Gz.bind(null,n,a),null)),[o,r,e]}function Gz(e,t){e.action=t}function NE(e){var t=lt(),a=ze;if(a!==null)return N7(t,a,e);lt(),t=t.memoizedState,a=lt();var o=a.queue.dispatch;return a.memoizedState=e,[t,o,!1]}function Li(e,t,a,o){return e={tag:e,create:a,deps:o,inst:t,next:null},t=ge.updateQueue,t===null&&(t=ch(),ge.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(o=a.next,a.next=e,e.next=o,t.lastEffect=e),e}function B7(){return lt().memoizedState}function Cm(e,t,a,o){var n=pa();ge.flags|=e,n.memoizedState=Li(1|t,{destroy:void 0},a,o===void 0?null:o)}function ph(e,t,a,o){var n=lt();o=o===void 0?null:o;var r=n.memoizedState.inst;ze!==null&&o!==null&&zx(o,ze.memoizedState.deps)?n.memoizedState=Li(t,r,a,o):(ge.flags|=e,n.memoizedState=Li(1|t,r,a,o))}function BE(e,t){Cm(8390656,8,e,t)}function Kx(e,t){ph(2048,8,e,t)}function Vz(e){ge.flags|=4;var t=ge.updateQueue;if(t===null)t=ch(),ge.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function H7(e){var t=lt().memoizedState;return Vz({ref:t,nextImpl:e}),function(){if((De&2)!==0)throw Error(M(440));return t.impl.apply(void 0,arguments)}}function F7(e,t){return ph(4,2,e,t)}function z7(e,t){return ph(4,4,e,t)}function G7(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function V7(e,t,a){a=a!=null?a.concat([e]):null,ph(4,4,G7.bind(null,t,e),a)}function Xx(){}function U7(e,t){var a=lt();t=t===void 0?null:t;var o=a.memoizedState;return t!==null&&zx(t,o[1])?o[0]:(a.memoizedState=[e,t],e)}function q7(e,t){var a=lt();t=t===void 0?null:t;var o=a.memoizedState;if(t!==null&&zx(t,o[1]))return o[0];if(o=e(),qs){Br(!0);try{e()}finally{Br(!1)}}return a.memoizedState=[o,t],o}function Zx(e,t,a){return a===void 0||(Vn&1073741824)!==0&&(we&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=DA(),ge.lanes|=e,es|=e,a)}function W7(e,t,a,o){return Ua(a,t)?a:wi.current!==null?(e=Zx(e,a,o),Ua(e,t)||(bt=!0),e):(Vn&42)===0||(Vn&1073741824)!==0&&(we&261930)===0?(bt=!0,e.memoizedState=a):(e=DA(),ge.lanes|=e,es|=e,t)}function Y7(e,t,a,o,n){var r=_e.p;_e.p=r!==0&&8>r?r:8;var s=ie.T,l={};ie.T=l,$x(e,!1,t,a);try{var i=n(),u=ie.S;if(u!==null&&u(l,i),i!==null&&typeof i=="object"&&typeof i.then=="function"){var c=Bz(i,o);Jd(e,t,c,Va(e))}else Jd(e,t,o,Va(e))}catch(d){Jd(e,t,{then:function(){},status:"rejected",reason:d},Va())}finally{_e.p=r,s!==null&&l.types!==null&&(s.types=l.types),ie.T=s}}function Uz(){}function $2(e,t,a,o){if(e.tag!==5)throw Error(M(476));var n=K7(e).queue;Y7(e,n,t,Ns,a===null?Uz:function(){return X7(e),a(o)})}function K7(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ns,baseState:Ns,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:Ns},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function X7(e){var t=K7(e);t.next===null&&(t=e.alternate.memoizedState),Jd(e,t.next.queue,{},Va())}function jx(){return qt(gc)}function Z7(){return lt().memoizedState}function j7(){return lt().memoizedState}function qz(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Va();e=qr(a);var o=Wr(t,e,a);o!==null&&(Ia(o,t,a),jd(o,t,a)),t={cache:Px()},e.payload=t;return}t=t.return}}function Wz(e,t,a){var o=Va();a={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},mh(e)?Q7(t,a):(a=Ox(e,t,a,o),a!==null&&(Ia(a,e,o),J7(a,t,o)))}function $7(e,t,a){var o=Va();Jd(e,t,a,o)}function Jd(e,t,a,o){var n={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(mh(e))Q7(t,n);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var s=t.lastRenderedState,l=r(s,a);if(n.hasEagerState=!0,n.eagerState=l,Ua(l,s))return uh(e,t,n,0),Ge===null&&ih(),!1}catch{}finally{}if(a=Ox(e,t,n,o),a!==null)return Ia(a,e,o),J7(a,t,o),!0}return!1}function $x(e,t,a,o){if(o={lane:2,revertLane:sy(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},mh(e)){if(t)throw Error(M(479))}else t=Ox(e,a,o,2),t!==null&&Ia(t,e,2)}function mh(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function Q7(e,t){xi=Gm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function J7(e,t,a){if((a&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,HI(e,a)}}var pc={readContext:qt,use:fh,useCallback:ot,useContext:ot,useEffect:ot,useImperativeHandle:ot,useLayoutEffect:ot,useInsertionEffect:ot,useMemo:ot,useReducer:ot,useRef:ot,useState:ot,useDebugValue:ot,useDeferredValue:ot,useTransition:ot,useSyncExternalStore:ot,useId:ot,useHostTransitionStatus:ot,useFormState:ot,useActionState:ot,useOptimistic:ot,useMemoCache:ot,useCacheRefresh:ot};pc.useEffectEvent=ot;var eA={readContext:qt,use:fh,useCallback:function(e,t){return pa().memoizedState=[e,t===void 0?null:t],e},useContext:qt,useEffect:BE,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Cm(4194308,4,G7.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Cm(4194308,4,e,t)},useInsertionEffect:function(e,t){Cm(4,2,e,t)},useMemo:function(e,t){var a=pa();t=t===void 0?null:t;var o=e();if(qs){Br(!0);try{e()}finally{Br(!1)}}return a.memoizedState=[o,t],o},useReducer:function(e,t,a){var o=pa();if(a!==void 0){var n=a(t);if(qs){Br(!0);try{a(t)}finally{Br(!1)}}}else n=t;return o.memoizedState=o.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},o.queue=e,e=e.dispatch=Wz.bind(null,ge,e),[o.memoizedState,e]},useRef:function(e){var t=pa();return e={current:e},t.memoizedState=e},useState:function(e){e=Z2(e);var t=e.queue,a=$7.bind(null,ge,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Xx,useDeferredValue:function(e,t){var a=pa();return Zx(a,e,t)},useTransition:function(){var e=Z2(!1);return e=Y7.bind(null,ge,e.queue,!0,!1),pa().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var o=ge,n=pa();if(Re){if(a===void 0)throw Error(M(407));a=a()}else{if(a=t(),Ge===null)throw Error(M(349));(we&127)!==0||E7(o,t,a)}n.memoizedState=a;var r={value:a,getSnapshot:t};return n.queue=r,BE(A7.bind(null,o,r,e),[e]),o.flags|=2048,Li(9,{destroy:void 0},I7.bind(null,o,r,a,t),null),a},useId:function(){var e=pa(),t=Ge.identifierPrefix;if(Re){var a=nn,o=on;a=(o&~(1<<32-Ga(o)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Vm++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Hz++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:jx,useFormState:kE,useActionState:kE,useOptimistic:function(e){var t=pa();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=$x.bind(null,ge,!0,a),a.dispatch=t,[e,t]},useMemoCache:Wx,useCacheRefresh:function(){return pa().memoizedState=qz.bind(null,ge)},useEffectEvent:function(e){var t=pa(),a={impl:e};return t.memoizedState=a,function(){if((De&2)!==0)throw Error(M(440));return a.impl.apply(void 0,arguments)}}},Qx={readContext:qt,use:fh,useCallback:U7,useContext:qt,useEffect:Kx,useImperativeHandle:V7,useInsertionEffect:F7,useLayoutEffect:z7,useMemo:q7,useReducer:vm,useRef:B7,useState:function(){return vm(Un)},useDebugValue:Xx,useDeferredValue:function(e,t){var a=lt();return W7(a,ze.memoizedState,e,t)},useTransition:function(){var e=vm(Un)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:Tc(e),t]},useSyncExternalStore:T7,useId:Z7,useHostTransitionStatus:jx,useFormState:PE,useActionState:PE,useOptimistic:function(e,t){var a=lt();return D7(a,ze,e,t)},useMemoCache:Wx,useCacheRefresh:j7};Qx.useEffectEvent=H7;var tA={readContext:qt,use:fh,useCallback:U7,useContext:qt,useEffect:Kx,useImperativeHandle:V7,useInsertionEffect:F7,useLayoutEffect:z7,useMemo:q7,useReducer:r2,useRef:B7,useState:function(){return r2(Un)},useDebugValue:Xx,useDeferredValue:function(e,t){var a=lt();return ze===null?Zx(a,e,t):W7(a,ze.memoizedState,e,t)},useTransition:function(){var e=r2(Un)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:Tc(e),t]},useSyncExternalStore:T7,useId:Z7,useHostTransitionStatus:jx,useFormState:NE,useActionState:NE,useOptimistic:function(e,t){var a=lt();return ze!==null?D7(a,ze,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Wx,useCacheRefresh:j7};tA.useEffectEvent=H7;function s2(e,t,a,o){t=e.memoizedState,a=a(o,t),a=a==null?t:$e({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Q2={enqueueSetState:function(e,t,a){e=e._reactInternals;var o=Va(),n=qr(o);n.payload=t,a!=null&&(n.callback=a),t=Wr(e,n,o),t!==null&&(Ia(t,e,o),jd(t,e,o))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var o=Va(),n=qr(o);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=Wr(e,n,o),t!==null&&(Ia(t,e,o),jd(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Va(),o=qr(a);o.tag=2,t!=null&&(o.callback=t),t=Wr(e,o,a),t!==null&&(Ia(t,e,a),jd(t,e,a))}};function HE(e,t,a,o,n,r,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,r,s):t.prototype&&t.prototype.isPureReactComponent?!ic(a,o)||!ic(n,r):!0}function FE(e,t,a,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,o),t.state!==e&&Q2.enqueueReplaceState(t,t.state,null)}function Ws(e,t){var a=t;if("ref"in t){a={};for(var o in t)o!=="ref"&&(a[o]=t[o])}if(e=e.defaultProps){a===t&&(a=$e({},a));for(var n in e)a[n]===void 0&&(a[n]=e[n])}return a}function aA(e){km(e)}function oA(e){console.error(e)}function nA(e){km(e)}function Um(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(o){setTimeout(function(){throw o})}}function zE(e,t,a){try{var o=e.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function J2(e,t,a){return a=qr(a),a.tag=3,a.payload={element:null},a.callback=function(){Um(e,t)},a}function rA(e){return e=qr(e),e.tag=3,e}function sA(e,t,a,o){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var r=o.value;e.payload=function(){return n(r)},e.callback=function(){zE(t,a,o)}}var s=a.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){zE(t,a,o),typeof n!="function"&&(Yr===null?Yr=new Set([this]):Yr.add(this));var l=o.stack;this.componentDidCatch(o.value,{componentStack:l!==null?l:""})})}function Yz(e,t,a,o,n){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=a.alternate,t!==null&&Di(t,a,n,!0),a=qa.current,a!==null){switch(a.tag){case 31:case 13:return ho===null?Xm():a.alternate===null&&nt===0&&(nt=3),a.flags&=-257,a.flags|=65536,a.lanes=n,o===Hm?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([o]):t.add(o),x2(e,o,n)),!1;case 22:return a.flags|=65536,o===Hm?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([o]):a.add(o)),x2(e,o,n)),!1}throw Error(M(435,a.tag))}return x2(e,o,n),Xm(),!1}if(Re)return t=qa.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,o!==z2&&(e=Error(M(422),{cause:o}),dc(po(e,a)))):(o!==z2&&(t=Error(M(423),{cause:o}),dc(po(t,a))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,o=po(o,a),n=J2(e.stateNode,o,n),n2(e,n),nt!==4&&(nt=2)),!1;var r=Error(M(520),{cause:o});if(r=po(r,a),ac===null?ac=[r]:ac.push(r),nt!==4&&(nt=2),t===null)return!0;o=po(o,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=J2(a.stateNode,o,e),n2(a,e),!1;case 1:if(t=a.type,r=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Yr===null||!Yr.has(r))))return a.flags|=65536,n&=-n,a.lanes|=n,n=rA(n),sA(n,e,a,o),n2(a,n),!1}a=a.return}while(a!==null);return!1}var Jx=Error(M(461)),bt=!1;function Gt(e,t,a,o){t.child=e===null?v7(t,null,a,o):Us(t,e.child,a,o)}function GE(e,t,a,o,n){a=a.render;var r=t.ref;if("ref"in o){var s={};for(var l in o)l!=="ref"&&(s[l]=o[l])}else s=o;return Vs(t),o=Gx(e,t,a,s,r,n),l=Vx(),e!==null&&!bt?(Ux(e,t,n),qn(e,t,n)):(Re&&l&&_x(t),t.flags|=1,Gt(e,t,o,n),t.child)}function VE(e,t,a,o,n){if(e===null){var r=a.type;return typeof r=="function"&&!Dx(r)&&r.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=r,lA(e,t,r,o,n)):(e=ym(a.type,null,o,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!ey(e,n)){var s=r.memoizedProps;if(a=a.compare,a=a!==null?a:ic,a(s,o)&&e.ref===t.ref)return qn(e,t,n)}return t.flags|=1,e=Hn(r,o),e.ref=t.ref,e.return=t,t.child=e}function lA(e,t,a,o,n){if(e!==null){var r=e.memoizedProps;if(ic(r,o)&&e.ref===t.ref)if(bt=!1,t.pendingProps=o=r,ey(e,n))(e.flags&131072)!==0&&(bt=!0);else return t.lanes=e.lanes,qn(e,t,n)}return ex(e,t,a,o,n)}function iA(e,t,a,o){var n=o.children,r=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(r=r!==null?r.baseLanes|a:a,e!==null){for(o=t.child=e.child,n=0;o!==null;)n=n|o.lanes|o.childLanes,o=o.sibling;o=n&~r}else o=0,t.child=null;return UE(e,t,r,a,o)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&bm(t,r!==null?r.cachePool:null),r!==null?OE(t,r):K2(),w7(t);else return o=t.lanes=536870912,UE(e,t,r!==null?r.baseLanes|a:a,a,o)}else r!==null?(bm(t,r.cachePool),OE(t,r),Pr(t),t.memoizedState=null):(e!==null&&bm(t,null),K2(),Pr(t));return Gt(e,t,n,a),t.child}function qd(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function UE(e,t,a,o,n){var r=Nx();return r=r===null?null:{parent:yt._currentValue,pool:r},t.memoizedState={baseLanes:a,cachePool:r},e!==null&&bm(t,null),K2(),w7(t),e!==null&&Di(e,t,o,!0),t.childLanes=n,null}function Sm(e,t){return t=qm({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function qE(e,t,a){return Us(t,e.child,null,a),e=Sm(t,t.pendingProps),e.flags|=2,Na(t),t.memoizedState=null,e}function Kz(e,t,a){var o=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Re){if(o.mode==="hidden")return e=Sm(t,o),t.lanes=536870912,qd(null,e);if(X2(t),(e=je)?(e=eM(e,mo),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$r!==null?{id:on,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},a=p7(e),a.return=t,t.child=a,Ut=t,je=null)):e=null,e===null)throw Qr(t);return t.lanes=536870912,null}return Sm(t,o)}var r=e.memoizedState;if(r!==null){var s=r.dehydrated;if(X2(t),n)if(t.flags&256)t.flags&=-257,t=qE(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(M(558));else if(bt||Di(e,t,a,!1),n=(a&e.childLanes)!==0,bt||n){if(o=Ge,o!==null&&(s=FI(o,a),s!==0&&s!==r.retryLane))throw r.retryLane=s,Zs(e,s),Ia(o,e,s),Jx;Xm(),t=qE(e,t,a)}else e=r.treeContext,je=go(s.nextSibling),Ut=t,Re=!0,Ur=null,mo=!1,e!==null&&h7(t,e),t=Sm(t,o),t.flags|=4096;return t}return e=Hn(e.child,{mode:o.mode,children:o.children}),e.ref=t.ref,t.child=e,e.return=t,e}function wm(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(M(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function ex(e,t,a,o,n){return Vs(t),a=Gx(e,t,a,o,void 0,n),o=Vx(),e!==null&&!bt?(Ux(e,t,n),qn(e,t,n)):(Re&&o&&_x(t),t.flags|=1,Gt(e,t,a,n),t.child)}function WE(e,t,a,o,n,r){return Vs(t),t.updateQueue=null,a=R7(t,o,a,n),L7(e),o=Vx(),e!==null&&!bt?(Ux(e,t,r),qn(e,t,r)):(Re&&o&&_x(t),t.flags|=1,Gt(e,t,a,r),t.child)}function YE(e,t,a,o,n){if(Vs(t),t.stateNode===null){var r=ii,s=a.contextType;typeof s=="object"&&s!==null&&(r=qt(s)),r=new a(o,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Q2,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=o,r.state=t.memoizedState,r.refs={},Hx(t),s=a.contextType,r.context=typeof s=="object"&&s!==null?qt(s):ii,r.state=t.memoizedState,s=a.getDerivedStateFromProps,typeof s=="function"&&(s2(t,a,s,o),r.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(s=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),s!==r.state&&Q2.enqueueReplaceState(r,r.state,null),Qd(t,o,r,n),$d(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),o=!0}else if(e===null){r=t.stateNode;var l=t.memoizedProps,i=Ws(a,l);r.props=i;var u=r.context,c=a.contextType;s=ii,typeof c=="object"&&c!==null&&(s=qt(c));var d=a.getDerivedStateFromProps;c=typeof d=="function"||typeof r.getSnapshotBeforeUpdate=="function",l=t.pendingProps!==l,c||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(l||u!==s)&&FE(t,r,o,s),Dr=!1;var p=t.memoizedState;r.state=p,Qd(t,o,r,n),$d(),u=t.memoizedState,l||p!==u||Dr?(typeof d=="function"&&(s2(t,a,d,o),u=t.memoizedState),(i=Dr||HE(t,a,i,o,p,u,s))?(c||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(t.flags|=4194308)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=u),r.props=o,r.state=u,r.context=s,o=i):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{r=t.stateNode,W2(e,t),s=t.memoizedProps,c=Ws(a,s),r.props=c,d=t.pendingProps,p=r.context,u=a.contextType,i=ii,typeof u=="object"&&u!==null&&(i=qt(u)),l=a.getDerivedStateFromProps,(u=typeof l=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(s!==d||p!==i)&&FE(t,r,o,i),Dr=!1,p=t.memoizedState,r.state=p,Qd(t,o,r,n),$d();var f=t.memoizedState;s!==d||p!==f||Dr||e!==null&&e.dependencies!==null&&Bm(e.dependencies)?(typeof l=="function"&&(s2(t,a,l,o),f=t.memoizedState),(c=Dr||HE(t,a,c,o,p,f,i)||e!==null&&e.dependencies!==null&&Bm(e.dependencies))?(u||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(o,f,i),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(o,f,i)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=f),r.props=o,r.state=f,r.context=i,o=c):(typeof r.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),o=!1)}return r=o,wm(e,t),o=(t.flags&128)!==0,r||o?(r=t.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:r.render(),t.flags|=1,e!==null&&o?(t.child=Us(t,e.child,null,n),t.child=Us(t,null,a,n)):Gt(e,t,a,n),t.memoizedState=r.state,e=t.child):e=qn(e,t,n),e}function KE(e,t,a,o){return Gs(),t.flags|=256,Gt(e,t,a,o),t.child}var l2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function i2(e){return{baseLanes:e,cachePool:x7()}}function u2(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Ha),e}function uA(e,t,a){var o=t.pendingProps,n=!1,r=(t.flags&128)!==0,s;if((s=r)||(s=e!==null&&e.memoizedState===null?!1:(st.current&2)!==0),s&&(n=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(Re){if(n?kr(t):Pr(t),(e=je)?(e=eM(e,mo),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$r!==null?{id:on,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},a=p7(e),a.return=t,t.child=a,Ut=t,je=null)):e=null,e===null)throw Qr(t);return mx(e)?t.lanes=32:t.lanes=536870912,null}var l=o.children;return o=o.fallback,n?(Pr(t),n=t.mode,l=qm({mode:"hidden",children:l},n),o=Bs(o,n,a,null),l.return=t,o.return=t,l.sibling=o,t.child=l,o=t.child,o.memoizedState=i2(a),o.childLanes=u2(e,s,a),t.memoizedState=l2,qd(null,o)):(kr(t),tx(t,l))}var i=e.memoizedState;if(i!==null&&(l=i.dehydrated,l!==null)){if(r)t.flags&256?(kr(t),t.flags&=-257,t=d2(e,t,a)):t.memoizedState!==null?(Pr(t),t.child=e.child,t.flags|=128,t=null):(Pr(t),l=o.fallback,n=t.mode,o=qm({mode:"visible",children:o.children},n),l=Bs(l,n,a,null),l.flags|=2,o.return=t,l.return=t,o.sibling=l,t.child=o,Us(t,e.child,null,a),o=t.child,o.memoizedState=i2(a),o.childLanes=u2(e,s,a),t.memoizedState=l2,t=qd(null,o));else if(kr(t),mx(l)){if(s=l.nextSibling&&l.nextSibling.dataset,s)var u=s.dgst;s=u,o=Error(M(419)),o.stack="",o.digest=s,dc({value:o,source:null,stack:null}),t=d2(e,t,a)}else if(bt||Di(e,t,a,!1),s=(a&e.childLanes)!==0,bt||s){if(s=Ge,s!==null&&(o=FI(s,a),o!==0&&o!==i.retryLane))throw i.retryLane=o,Zs(e,o),Ia(s,e,o),Jx;px(l)||Xm(),t=d2(e,t,a)}else px(l)?(t.flags|=192,t.child=e.child,t=null):(e=i.treeContext,je=go(l.nextSibling),Ut=t,Re=!0,Ur=null,mo=!1,e!==null&&h7(t,e),t=tx(t,o.children),t.flags|=4096);return t}return n?(Pr(t),l=o.fallback,n=t.mode,i=e.child,u=i.sibling,o=Hn(i,{mode:"hidden",children:o.children}),o.subtreeFlags=i.subtreeFlags&65011712,u!==null?l=Hn(u,l):(l=Bs(l,n,a,null),l.flags|=2),l.return=t,o.return=t,o.sibling=l,t.child=o,qd(null,o),o=t.child,l=e.child.memoizedState,l===null?l=i2(a):(n=l.cachePool,n!==null?(i=yt._currentValue,n=n.parent!==i?{parent:i,pool:i}:n):n=x7(),l={baseLanes:l.baseLanes|a,cachePool:n}),o.memoizedState=l,o.childLanes=u2(e,s,a),t.memoizedState=l2,qd(e.child,o)):(kr(t),a=e.child,e=a.sibling,a=Hn(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=a,t.memoizedState=null,a)}function tx(e,t){return t=qm({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function qm(e,t){return e=Ba(22,e,null,t),e.lanes=0,e}function d2(e,t,a){return Us(t,e.child,null,a),e=tx(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function XE(e,t,a){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),V2(e.return,t,a)}function c2(e,t,a,o,n,r){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:n,treeForkCount:r}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=o,s.tail=a,s.tailMode=n,s.treeForkCount=r)}function dA(e,t,a){var o=t.pendingProps,n=o.revealOrder,r=o.tail;o=o.children;var s=st.current,l=(s&2)!==0;if(l?(s=s&1|2,t.flags|=128):s&=1,We(st,s),Gt(e,t,o,a),o=Re?uc:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&XE(e,a,t);else if(e.tag===19)XE(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&zm(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),c2(t,!1,n,a,r,o);break;case"backwards":case"unstable_legacy-backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&zm(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}c2(t,!0,a,null,r,o);break;case"together":c2(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function qn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),es|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Di(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,a=Hn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Hn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ey(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Bm(e)))}function Xz(e,t,a){switch(t.tag){case 3:Mm(t,t.stateNode.containerInfo),_r(t,yt,e.memoizedState.cache),Gs();break;case 27:case 5:A2(t);break;case 4:Mm(t,t.stateNode.containerInfo);break;case 10:_r(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,X2(t),null;break;case 13:var o=t.memoizedState;if(o!==null)return o.dehydrated!==null?(kr(t),t.flags|=128,null):(a&t.child.childLanes)!==0?uA(e,t,a):(kr(t),e=qn(e,t,a),e!==null?e.sibling:null);kr(t);break;case 19:var n=(e.flags&128)!==0;if(o=(a&t.childLanes)!==0,o||(Di(e,t,a,!1),o=(a&t.childLanes)!==0),n){if(o)return dA(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),We(st,st.current),o)break;return null;case 22:return t.lanes=0,iA(e,t,a,t.pendingProps);case 24:_r(t,yt,e.memoizedState.cache)}return qn(e,t,a)}function cA(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)bt=!0;else{if(!ey(e,a)&&(t.flags&128)===0)return bt=!1,Xz(e,t,a);bt=(e.flags&131072)!==0}else bt=!1,Re&&(t.flags&1048576)!==0&&m7(t,uc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var o=t.pendingProps;if(e=ks(t.elementType),t.type=e,typeof e=="function")Dx(e)?(o=Ws(e,o),t.tag=1,t=YE(null,t,e,o,a)):(t.tag=0,t=ex(null,t,e,o,a));else{if(e!=null){var n=e.$$typeof;if(n===yx){t.tag=11,t=GE(null,t,e,o,a);break e}else if(n===bx){t.tag=14,t=VE(null,t,e,o,a);break e}}throw t=E2(e)||e,Error(M(306,t,""))}}return t;case 0:return ex(e,t,t.type,t.pendingProps,a);case 1:return o=t.type,n=Ws(o,t.pendingProps),YE(e,t,o,n,a);case 3:e:{if(Mm(t,t.stateNode.containerInfo),e===null)throw Error(M(387));o=t.pendingProps;var r=t.memoizedState;n=r.element,W2(e,t),Qd(t,o,null,a);var s=t.memoizedState;if(o=s.cache,_r(t,yt,o),o!==r.cache&&U2(t,[yt],a,!0),$d(),o=s.element,r.isDehydrated)if(r={element:o,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=KE(e,t,o,a);break e}else if(o!==n){n=po(Error(M(424)),t),dc(n),t=KE(e,t,o,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(je=go(e.firstChild),Ut=t,Re=!0,Ur=null,mo=!0,a=v7(t,null,o,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Gs(),o===n){t=qn(e,t,a);break e}Gt(e,t,o,a)}t=t.child}return t;case 26:return wm(e,t),e===null?(a=gI(t.type,null,t.pendingProps,null))?t.memoizedState=a:Re||(a=t.type,e=t.pendingProps,o=Qm(Vr.current).createElement(a),o[Vt]=t,o[Aa]=e,Wt(o,a,e),Nt(o),t.stateNode=o):t.memoizedState=gI(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return A2(t),e===null&&Re&&(o=t.stateNode=tM(t.type,t.pendingProps,Vr.current),Ut=t,mo=!0,n=je,as(t.type)?(hx=n,je=go(o.firstChild)):je=n),Gt(e,t,t.pendingProps.children,a),wm(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Re&&((n=o=je)&&(o=SG(o,t.type,t.pendingProps,mo),o!==null?(t.stateNode=o,Ut=t,je=go(o.firstChild),mo=!1,n=!0):n=!1),n||Qr(t)),A2(t),n=t.type,r=t.pendingProps,s=e!==null?e.memoizedProps:null,o=r.children,cx(n,r)?o=null:s!==null&&cx(n,s)&&(t.flags|=32),t.memoizedState!==null&&(n=Gx(e,t,Fz,null,null,a),gc._currentValue=n),wm(e,t),Gt(e,t,o,a),t.child;case 6:return e===null&&Re&&((e=a=je)&&(a=wG(a,t.pendingProps,mo),a!==null?(t.stateNode=a,Ut=t,je=null,e=!0):e=!1),e||Qr(t)),null;case 13:return uA(e,t,a);case 4:return Mm(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Us(t,null,o,a):Gt(e,t,o,a),t.child;case 11:return GE(e,t,t.type,t.pendingProps,a);case 7:return Gt(e,t,t.pendingProps,a),t.child;case 8:return Gt(e,t,t.pendingProps.children,a),t.child;case 12:return Gt(e,t,t.pendingProps.children,a),t.child;case 10:return o=t.pendingProps,_r(t,t.type,o.value),Gt(e,t,o.children,a),t.child;case 9:return n=t.type._context,o=t.pendingProps.children,Vs(t),n=qt(n),o=o(n),t.flags|=1,Gt(e,t,o,a),t.child;case 14:return VE(e,t,t.type,t.pendingProps,a);case 15:return lA(e,t,t.type,t.pendingProps,a);case 19:return dA(e,t,a);case 31:return Kz(e,t,a);case 22:return iA(e,t,a,t.pendingProps);case 24:return Vs(t),o=qt(yt),e===null?(n=Nx(),n===null&&(n=Ge,r=Px(),n.pooledCache=r,r.refCount++,r!==null&&(n.pooledCacheLanes|=a),n=r),t.memoizedState={parent:o,cache:n},Hx(t),_r(t,yt,n)):((e.lanes&a)!==0&&(W2(e,t),Qd(t,null,null,a),$d()),n=e.memoizedState,r=t.memoizedState,n.parent!==o?(n={parent:o,cache:o},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),_r(t,yt,o)):(o=r.cache,_r(t,yt,o),o!==n.cache&&U2(t,[yt],a,!0))),Gt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(M(156,t.tag))}function An(e){e.flags|=4}function f2(e,t,a,o,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(PA())e.flags|=8192;else throw Fs=Hm,Bx}else e.flags&=-16777217}function ZE(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!nM(t))if(PA())e.flags|=8192;else throw Fs=Hm,Bx}function lm(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?NI():536870912,e.lanes|=t,Ri|=t)}function Bd(e,t){if(!Re)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,o=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,o|=n.subtreeFlags&65011712,o|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=a,t}function Zz(e,t,a){var o=t.pendingProps;switch(kx(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ze(t),null;case 1:return Ze(t),null;case 3:return a=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Fn(yt),bi(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(jl(t)?An(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,o2())),Ze(t),null;case 26:var n=t.type,r=t.memoizedState;return e===null?(An(t),r!==null?(Ze(t),ZE(t,r)):(Ze(t),f2(t,n,null,o,a))):r?r!==e.memoizedState?(An(t),Ze(t),ZE(t,r)):(Ze(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&An(t),Ze(t),f2(t,n,e,o,a)),null;case 27:if(Om(t),a=Vr.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&An(t);else{if(!o){if(t.stateNode===null)throw Error(M(166));return Ze(t),null}e=sn.current,jl(t)?LE(t,e):(e=tM(n,o,a),t.stateNode=e,An(t))}return Ze(t),null;case 5:if(Om(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&An(t);else{if(!o){if(t.stateNode===null)throw Error(M(166));return Ze(t),null}if(r=sn.current,jl(t))LE(t,r);else{var s=Qm(Vr.current);switch(r){case 1:r=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:r=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":r=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":r=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":r=s.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof o.is=="string"?s.createElement("select",{is:o.is}):s.createElement("select"),o.multiple?r.multiple=!0:o.size&&(r.size=o.size);break;default:r=typeof o.is=="string"?s.createElement(n,{is:o.is}):s.createElement(n)}}r[Vt]=t,r[Aa]=o;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)r.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 e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=r;e:switch(Wt(r,n,o),n){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&An(t)}}return Ze(t),f2(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&An(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error(M(166));if(e=Vr.current,jl(t)){if(e=t.stateNode,a=t.memoizedProps,o=null,n=Ut,n!==null)switch(n.tag){case 27:case 5:o=n.memoizedProps}e[Vt]=t,e=!!(e.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||$A(e.nodeValue,a)),e||Qr(t,!0)}else e=Qm(e).createTextNode(o),e[Vt]=t,t.stateNode=e}return Ze(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(o=jl(t),a!==null){if(e===null){if(!o)throw Error(M(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(557));e[Vt]=t}else Gs(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),e=!1}else a=o2(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Na(t),t):(Na(t),null);if((t.flags&128)!==0)throw Error(M(558))}return Ze(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=jl(t),o!==null&&o.dehydrated!==null){if(e===null){if(!n)throw Error(M(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(M(317));n[Vt]=t}else Gs(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),n=!1}else n=o2(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Na(t),t):(Na(t),null)}return Na(t),(t.flags&128)!==0?(t.lanes=a,t):(a=o!==null,e=e!==null&&e.memoizedState!==null,a&&(o=t.child,n=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(n=o.alternate.memoizedState.cachePool.pool),r=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(r=o.memoizedState.cachePool.pool),r!==n&&(o.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),lm(t,t.updateQueue),Ze(t),null);case 4:return bi(),e===null&&ly(t.stateNode.containerInfo),Ze(t),null;case 10:return Fn(t.type),Ze(t),null;case 19:if(Bt(st),o=t.memoizedState,o===null)return Ze(t),null;if(n=(t.flags&128)!==0,r=o.rendering,r===null)if(n)Bd(o,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=zm(e),r!==null){for(t.flags|=128,Bd(o,!1),e=r.updateQueue,t.updateQueue=e,lm(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)f7(a,e),a=a.sibling;return We(st,st.current&1|2),Re&&_n(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&Fa()>Ym&&(t.flags|=128,n=!0,Bd(o,!1),t.lanes=4194304)}else{if(!n)if(e=zm(r),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,lm(t,e),Bd(o,!0),o.tail===null&&o.tailMode==="hidden"&&!r.alternate&&!Re)return Ze(t),null}else 2*Fa()-o.renderingStartTime>Ym&&a!==536870912&&(t.flags|=128,n=!0,Bd(o,!1),t.lanes=4194304);o.isBackwards?(r.sibling=t.child,t.child=r):(e=o.last,e!==null?e.sibling=r:t.child=r,o.last=r)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Fa(),e.sibling=null,a=st.current,We(st,n?a&1|2:a&1),Re&&_n(t,o.treeForkCount),e):(Ze(t),null);case 22:case 23:return Na(t),Fx(),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(a&536870912)!==0&&(t.flags&128)===0&&(Ze(t),t.subtreeFlags&6&&(t.flags|=8192)):Ze(t),a=t.updateQueue,a!==null&&lm(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==a&&(t.flags|=2048),e!==null&&Bt(Hs),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Fn(yt),Ze(t),null;case 25:return null;case 30:return null}throw Error(M(156,t.tag))}function jz(e,t){switch(kx(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fn(yt),bi(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Om(t),null;case 31:if(t.memoizedState!==null){if(Na(t),t.alternate===null)throw Error(M(340));Gs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Na(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Gs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Bt(st),null;case 4:return bi(),null;case 10:return Fn(t.type),null;case 22:case 23:return Na(t),Fx(),e!==null&&Bt(Hs),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Fn(yt),null;case 25:return null;default:return null}}function fA(e,t){switch(kx(t),t.tag){case 3:Fn(yt),bi();break;case 26:case 27:case 5:Om(t);break;case 4:bi();break;case 31:t.memoizedState!==null&&Na(t);break;case 13:Na(t);break;case 19:Bt(st);break;case 10:Fn(t.type);break;case 22:case 23:Na(t),Fx(),e!==null&&Bt(Hs);break;case 24:Fn(yt)}}function Ec(e,t){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var n=o.next;a=n;do{if((a.tag&e)===e){o=void 0;var r=a.create,s=a.inst;o=r(),s.destroy=o}a=a.next}while(a!==n)}}catch(l){Pe(t,t.return,l)}}function Jr(e,t,a){try{var o=t.updateQueue,n=o!==null?o.lastEffect:null;if(n!==null){var r=n.next;o=r;do{if((o.tag&e)===e){var s=o.inst,l=s.destroy;if(l!==void 0){s.destroy=void 0,n=t;var i=a,u=l;try{u()}catch(c){Pe(n,i,c)}}}o=o.next}while(o!==r)}}catch(c){Pe(t,t.return,c)}}function pA(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{S7(t,a)}catch(o){Pe(e,e.return,o)}}}function mA(e,t,a){a.props=Ws(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(o){Pe(e,t,o)}}function ec(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof a=="function"?e.refCleanup=a(o):a.current=o}}catch(n){Pe(e,t,n)}}function rn(e,t){var a=e.ref,o=e.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(n){Pe(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){Pe(e,t,n)}else a.current=null}function hA(e){var t=e.type,a=e.memoizedProps,o=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break e;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(n){Pe(e,e.return,n)}}function p2(e,t,a){try{var o=e.stateNode;gG(o,e.type,a,t),o[Aa]=t}catch(n){Pe(e,e.return,n)}}function gA(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&as(e.type)||e.tag===4}function m2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gA(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&&as(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ax(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Nn));else if(o!==4&&(o===27&&as(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(ax(e,t,a),e=e.sibling;e!==null;)ax(e,t,a),e=e.sibling}function Wm(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(o!==4&&(o===27&&as(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Wm(e,t,a),e=e.sibling;e!==null;)Wm(e,t,a),e=e.sibling}function xA(e){var t=e.stateNode,a=e.memoizedProps;try{for(var o=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Wt(t,o,a),t[Vt]=e,t[Aa]=a}catch(r){Pe(e,e.return,r)}}var kn=!1,xt=!1,h2=!1,jE=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function $z(e,t){if(e=e.containerInfo,ux=ah,e=n7(e),Ax(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var n=o.anchorOffset,r=o.focusNode;o=o.focusOffset;try{a.nodeType,r.nodeType}catch{a=null;break e}var s=0,l=-1,i=-1,u=0,c=0,d=e,p=null;t:for(;;){for(var f;d!==a||n!==0&&d.nodeType!==3||(l=s+n),d!==r||o!==0&&d.nodeType!==3||(i=s+o),d.nodeType===3&&(s+=d.nodeValue.length),(f=d.firstChild)!==null;)p=d,d=f;for(;;){if(d===e)break t;if(p===a&&++u===n&&(l=s),p===r&&++c===o&&(i=s),(f=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=f}a=l===-1||i===-1?null:{start:l,end:i}}else a=null}a=a||{start:0,end:0}}else a=null;for(dx={focusedElem:e,selectionRange:a},ah=!1,Pt=t;Pt!==null;)if(t=Pt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Pt=e;else for(;Pt!==null;){switch(t=Pt,r=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)n=e[a],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&r!==null){e=void 0,a=t,n=r.memoizedProps,r=r.memoizedState,o=a.stateNode;try{var g=Ws(a.type,n);e=o.getSnapshotBeforeUpdate(g,r),o.__reactInternalSnapshotBeforeUpdate=e}catch(x){Pe(a,a.return,x)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)fx(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":fx(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(M(163))}if(e=t.sibling,e!==null){e.return=t.return,Pt=e;break}Pt=t.return}}function yA(e,t,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:On(e,a),o&4&&Ec(5,a);break;case 1:if(On(e,a),o&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(s){Pe(a,a.return,s)}else{var n=Ws(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Pe(a,a.return,s)}}o&64&&pA(a),o&512&&ec(a,a.return);break;case 3:if(On(e,a),o&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{S7(e,t)}catch(s){Pe(a,a.return,s)}}break;case 27:t===null&&o&4&&xA(a);case 26:case 5:On(e,a),t===null&&o&4&&hA(a),o&512&&ec(a,a.return);break;case 12:On(e,a);break;case 31:On(e,a),o&4&&CA(e,a);break;case 13:On(e,a),o&4&&SA(e,a),o&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=sG.bind(null,a),LG(e,a))));break;case 22:if(o=a.memoizedState!==null||kn,!o){t=t!==null&&t.memoizedState!==null||xt,n=kn;var r=xt;kn=o,(xt=t)&&!r?Dn(e,a,(a.subtreeFlags&8772)!==0):On(e,a),kn=n,xt=r}break;case 30:break;default:On(e,a)}}function bA(e){var t=e.alternate;t!==null&&(e.alternate=null,bA(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wx(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 tt=null,Ta=!1;function Mn(e,t,a){for(a=a.child;a!==null;)vA(e,t,a),a=a.sibling}function vA(e,t,a){if(za&&typeof za.onCommitFiberUnmount=="function")try{za.onCommitFiberUnmount(vc,a)}catch{}switch(a.tag){case 26:xt||rn(a,t),Mn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:xt||rn(a,t);var o=tt,n=Ta;as(a.type)&&(tt=a.stateNode,Ta=!1),Mn(e,t,a),nc(a.stateNode),tt=o,Ta=n;break;case 5:xt||rn(a,t);case 6:if(o=tt,n=Ta,tt=null,Mn(e,t,a),tt=o,Ta=n,tt!==null)if(Ta)try{(tt.nodeType===9?tt.body:tt.nodeName==="HTML"?tt.ownerDocument.body:tt).removeChild(a.stateNode)}catch(r){Pe(a,t,r)}else try{tt.removeChild(a.stateNode)}catch(r){Pe(a,t,r)}break;case 18:tt!==null&&(Ta?(e=tt,cI(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Ai(e)):cI(tt,a.stateNode));break;case 4:o=tt,n=Ta,tt=a.stateNode.containerInfo,Ta=!0,Mn(e,t,a),tt=o,Ta=n;break;case 0:case 11:case 14:case 15:Jr(2,a,t),xt||Jr(4,a,t),Mn(e,t,a);break;case 1:xt||(rn(a,t),o=a.stateNode,typeof o.componentWillUnmount=="function"&&mA(a,t,o)),Mn(e,t,a);break;case 21:Mn(e,t,a);break;case 22:xt=(o=xt)||a.memoizedState!==null,Mn(e,t,a),xt=o;break;default:Mn(e,t,a)}}function CA(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ai(e)}catch(a){Pe(t,t.return,a)}}}function SA(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ai(e)}catch(a){Pe(t,t.return,a)}}function Qz(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new jE),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new jE),t;default:throw Error(M(435,e.tag))}}function im(e,t){var a=Qz(e);t.forEach(function(o){if(!a.has(o)){a.add(o);var n=lG.bind(null,e,o);o.then(n,n)}})}function La(e,t){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var n=a[o],r=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 27:if(as(l.type)){tt=l.stateNode,Ta=!1;break e}break;case 5:tt=l.stateNode,Ta=!1;break e;case 3:case 4:tt=l.stateNode.containerInfo,Ta=!0;break e}l=l.return}if(tt===null)throw Error(M(160));vA(r,s,n),tt=null,Ta=!1,r=n.alternate,r!==null&&(r.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)wA(t,e),t=t.sibling}var No=null;function wA(e,t){var a=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:La(t,e),Ra(e),o&4&&(Jr(3,e,e.return),Ec(3,e),Jr(5,e,e.return));break;case 1:La(t,e),Ra(e),o&512&&(xt||a===null||rn(a,a.return)),o&64&&kn&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?o:a.concat(o))));break;case 26:var n=No;if(La(t,e),Ra(e),o&512&&(xt||a===null||rn(a,a.return)),o&4){var r=a!==null?a.memoizedState:null;if(o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null){e:{o=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(o){case"title":r=n.getElementsByTagName("title")[0],(!r||r[wc]||r[Vt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=n.createElement(o),n.head.insertBefore(r,n.querySelector("head > title"))),Wt(r,o,a),r[Vt]=e,Nt(r),o=r;break e;case"link":var s=yI("link","href",n).get(o+(a.href||""));if(s){for(var l=0;l<s.length;l++)if(r=s[l],r.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&r.getAttribute("rel")===(a.rel==null?null:a.rel)&&r.getAttribute("title")===(a.title==null?null:a.title)&&r.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){s.splice(l,1);break t}}r=n.createElement(o),Wt(r,o,a),n.head.appendChild(r);break;case"meta":if(s=yI("meta","content",n).get(o+(a.content||""))){for(l=0;l<s.length;l++)if(r=s[l],r.getAttribute("content")===(a.content==null?null:""+a.content)&&r.getAttribute("name")===(a.name==null?null:a.name)&&r.getAttribute("property")===(a.property==null?null:a.property)&&r.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&r.getAttribute("charset")===(a.charSet==null?null:a.charSet)){s.splice(l,1);break t}}r=n.createElement(o),Wt(r,o,a),n.head.appendChild(r);break;default:throw Error(M(468,o))}r[Vt]=e,Nt(r),o=r}e.stateNode=o}else bI(n,e.type,e.stateNode);else e.stateNode=xI(n,o,e.memoizedProps);else r!==o?(r===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):r.count--,o===null?bI(n,e.type,e.stateNode):xI(n,o,e.memoizedProps)):o===null&&e.stateNode!==null&&p2(e,e.memoizedProps,a.memoizedProps)}break;case 27:La(t,e),Ra(e),o&512&&(xt||a===null||rn(a,a.return)),a!==null&&o&4&&p2(e,e.memoizedProps,a.memoizedProps);break;case 5:if(La(t,e),Ra(e),o&512&&(xt||a===null||rn(a,a.return)),e.flags&32){n=e.stateNode;try{Ci(n,"")}catch(g){Pe(e,e.return,g)}}o&4&&e.stateNode!=null&&(n=e.memoizedProps,p2(e,n,a!==null?a.memoizedProps:n)),o&1024&&(h2=!0);break;case 6:if(La(t,e),Ra(e),o&4){if(e.stateNode===null)throw Error(M(162));o=e.memoizedProps,a=e.stateNode;try{a.nodeValue=o}catch(g){Pe(e,e.return,g)}}break;case 3:if(Tm=null,n=No,No=Jm(t.containerInfo),La(t,e),No=n,Ra(e),o&4&&a!==null&&a.memoizedState.isDehydrated)try{Ai(t.containerInfo)}catch(g){Pe(e,e.return,g)}h2&&(h2=!1,LA(e));break;case 4:o=No,No=Jm(e.stateNode.containerInfo),La(t,e),Ra(e),No=o;break;case 12:La(t,e),Ra(e);break;case 31:La(t,e),Ra(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,im(e,o)));break;case 13:La(t,e),Ra(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(hh=Fa()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,im(e,o)));break;case 22:n=e.memoizedState!==null;var i=a!==null&&a.memoizedState!==null,u=kn,c=xt;if(kn=u||n,xt=c||i,La(t,e),xt=c,kn=u,Ra(e),o&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(a===null||i||kn||xt||Ps(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){i=a=t;try{if(r=i.stateNode,n)s=r.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{l=i.stateNode;var d=i.memoizedProps.style,p=d!=null&&d.hasOwnProperty("display")?d.display:null;l.style.display=p==null||typeof p=="boolean"?"":(""+p).trim()}}catch(g){Pe(i,i.return,g)}}}else if(t.tag===6){if(a===null){i=t;try{i.stateNode.nodeValue=n?"":i.memoizedProps}catch(g){Pe(i,i.return,g)}}}else if(t.tag===18){if(a===null){i=t;try{var f=i.stateNode;n?fI(f,!0):fI(i.stateNode,!1)}catch(g){Pe(i,i.return,g)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(a=o.retryQueue,a!==null&&(o.retryQueue=null,im(e,a))));break;case 19:La(t,e),Ra(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,im(e,o)));break;case 30:break;case 21:break;default:La(t,e),Ra(e)}}function Ra(e){var t=e.flags;if(t&2){try{for(var a,o=e.return;o!==null;){if(gA(o)){a=o;break}o=o.return}if(a==null)throw Error(M(160));switch(a.tag){case 27:var n=a.stateNode,r=m2(e);Wm(e,r,n);break;case 5:var s=a.stateNode;a.flags&32&&(Ci(s,""),a.flags&=-33);var l=m2(e);Wm(e,l,s);break;case 3:case 4:var i=a.stateNode.containerInfo,u=m2(e);ax(e,u,i);break;default:throw Error(M(161))}}catch(c){Pe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function LA(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;LA(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function On(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)yA(e,t.alternate,t),t=t.sibling}function Ps(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Jr(4,t,t.return),Ps(t);break;case 1:rn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&mA(t,t.return,a),Ps(t);break;case 27:nc(t.stateNode);case 26:case 5:rn(t,t.return),Ps(t);break;case 22:t.memoizedState===null&&Ps(t);break;case 30:Ps(t);break;default:Ps(t)}e=e.sibling}}function Dn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var o=t.alternate,n=e,r=t,s=r.flags;switch(r.tag){case 0:case 11:case 15:Dn(n,r,a),Ec(4,r);break;case 1:if(Dn(n,r,a),o=r,n=o.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(u){Pe(o,o.return,u)}if(o=r,n=o.updateQueue,n!==null){var l=o.stateNode;try{var i=n.shared.hiddenCallbacks;if(i!==null)for(n.shared.hiddenCallbacks=null,n=0;n<i.length;n++)C7(i[n],l)}catch(u){Pe(o,o.return,u)}}a&&s&64&&pA(r),ec(r,r.return);break;case 27:xA(r);case 26:case 5:Dn(n,r,a),a&&o===null&&s&4&&hA(r),ec(r,r.return);break;case 12:Dn(n,r,a);break;case 31:Dn(n,r,a),a&&s&4&&CA(n,r);break;case 13:Dn(n,r,a),a&&s&4&&SA(n,r);break;case 22:r.memoizedState===null&&Dn(n,r,a),ec(r,r.return);break;case 30:break;default:Dn(n,r,a)}t=t.sibling}}function ty(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Rc(a))}function ay(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Rc(e))}function Po(e,t,a,o){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)RA(e,t,a,o),t=t.sibling}function RA(e,t,a,o){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Po(e,t,a,o),n&2048&&Ec(9,t);break;case 1:Po(e,t,a,o);break;case 3:Po(e,t,a,o),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Rc(e)));break;case 12:if(n&2048){Po(e,t,a,o),e=t.stateNode;try{var r=t.memoizedProps,s=r.id,l=r.onPostCommit;typeof l=="function"&&l(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(i){Pe(t,t.return,i)}}else Po(e,t,a,o);break;case 31:Po(e,t,a,o);break;case 13:Po(e,t,a,o);break;case 23:break;case 22:r=t.stateNode,s=t.alternate,t.memoizedState!==null?r._visibility&2?Po(e,t,a,o):tc(e,t):r._visibility&2?Po(e,t,a,o):(r._visibility|=2,Ql(e,t,a,o,(t.subtreeFlags&10256)!==0||!1)),n&2048&&ty(s,t);break;case 24:Po(e,t,a,o),n&2048&&ay(t.alternate,t);break;default:Po(e,t,a,o)}}function Ql(e,t,a,o,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var r=e,s=t,l=a,i=o,u=s.flags;switch(s.tag){case 0:case 11:case 15:Ql(r,s,l,i,n),Ec(8,s);break;case 23:break;case 22:var c=s.stateNode;s.memoizedState!==null?c._visibility&2?Ql(r,s,l,i,n):tc(r,s):(c._visibility|=2,Ql(r,s,l,i,n)),n&&u&2048&&ty(s.alternate,s);break;case 24:Ql(r,s,l,i,n),n&&u&2048&&ay(s.alternate,s);break;default:Ql(r,s,l,i,n)}t=t.sibling}}function tc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,o=t,n=o.flags;switch(o.tag){case 22:tc(a,o),n&2048&&ty(o.alternate,o);break;case 24:tc(a,o),n&2048&&ay(o.alternate,o);break;default:tc(a,o)}t=t.sibling}}var Wd=8192;function $l(e,t,a){if(e.subtreeFlags&Wd)for(e=e.child;e!==null;)TA(e,t,a),e=e.sibling}function TA(e,t,a){switch(e.tag){case 26:$l(e,t,a),e.flags&Wd&&e.memoizedState!==null&&NG(a,No,e.memoizedState,e.memoizedProps);break;case 5:$l(e,t,a);break;case 3:case 4:var o=No;No=Jm(e.stateNode.containerInfo),$l(e,t,a),No=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Wd,Wd=16777216,$l(e,t,a),Wd=o):$l(e,t,a));break;default:$l(e,t,a)}}function EA(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 Hd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a];Pt=o,AA(o,e)}EA(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)IA(e),e=e.sibling}function IA(e){switch(e.tag){case 0:case 11:case 15:Hd(e),e.flags&2048&&Jr(9,e,e.return);break;case 3:Hd(e);break;case 12:Hd(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Lm(e)):Hd(e);break;default:Hd(e)}}function Lm(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a];Pt=o,AA(o,e)}EA(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Jr(8,t,t.return),Lm(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Lm(t));break;default:Lm(t)}e=e.sibling}}function AA(e,t){for(;Pt!==null;){var a=Pt;switch(a.tag){case 0:case 11:case 15:Jr(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var o=a.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Rc(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,Pt=o;else e:for(a=e;Pt!==null;){o=Pt;var n=o.sibling,r=o.return;if(bA(o),o===a){Pt=null;break e}if(n!==null){n.return=r,Pt=n;break e}Pt=r}}}var Jz={getCacheForType:function(e){var t=qt(yt),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return qt(yt).controller.signal}},eG=typeof WeakMap=="function"?WeakMap:Map,De=0,Ge=null,Ce=null,we=0,ke=0,Pa=null,Fr=!1,ki=!1,oy=!1,Wn=0,nt=0,es=0,zs=0,ny=0,Ha=0,Ri=0,ac=null,Ea=null,ox=!1,hh=0,MA=0,Ym=1/0,Km=null,Yr=null,Et=0,Kr=null,Ti=null,zn=0,nx=0,rx=null,OA=null,oc=0,sx=null;function Va(){return(De&2)!==0&&we!==0?we&-we:ie.T!==null?sy():zI()}function DA(){if(Ha===0)if((we&536870912)===0||Re){var e=Qp;Qp<<=1,(Qp&3932160)===0&&(Qp=262144),Ha=e}else Ha=536870912;return e=qa.current,e!==null&&(e.flags|=32),Ha}function Ia(e,t,a){(e===Ge&&(ke===2||ke===9)||e.cancelPendingCommit!==null)&&(Ei(e,0),zr(e,we,Ha,!1)),Sc(e,a),((De&2)===0||e!==Ge)&&(e===Ge&&((De&2)===0&&(zs|=a),nt===4&&zr(e,we,Ha,!1)),un(e))}function _A(e,t,a){if((De&6)!==0)throw Error(M(327));var o=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Cc(e,t),n=o?oG(e,t):g2(e,t,!0),r=o;do{if(n===0){ki&&!o&&zr(e,t,0,!1);break}else{if(a=e.current.alternate,r&&!tG(a)){n=g2(e,t,!1),r=!1;continue}if(n===2){if(r=t,e.errorRecoveryDisabledLanes&r)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var l=e;n=ac;var i=l.current.memoizedState.isDehydrated;if(i&&(Ei(l,s).flags|=256),s=g2(l,s,!1),s!==2){if(oy&&!i){l.errorRecoveryDisabledLanes|=r,zs|=r,n=4;break e}r=Ea,Ea=n,r!==null&&(Ea===null?Ea=r:Ea.push.apply(Ea,r))}n=s}if(r=!1,n!==2)continue}}if(n===1){Ei(e,0),zr(e,t,0,!0);break}e:{switch(o=e,r=n,r){case 0:case 1:throw Error(M(345));case 4:if((t&4194048)!==t)break;case 6:zr(o,t,Ha,!Fr);break e;case 2:Ea=null;break;case 3:case 5:break;default:throw Error(M(329))}if((t&62914560)===t&&(n=hh+300-Fa(),10<n)){if(zr(o,t,Ha,!Fr),nh(o,0,!0)!==0)break e;zn=t,o.timeoutHandle=JA($E.bind(null,o,a,Ea,Km,ox,t,Ha,zs,Ri,Fr,r,"Throttled",-0,0),n);break e}$E(o,a,Ea,Km,ox,t,Ha,zs,Ri,Fr,r,null,-0,0)}}break}while(!0);un(e)}function $E(e,t,a,o,n,r,s,l,i,u,c,d,p,f){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)===16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Nn},TA(t,r,d);var g=(r&62914560)===r?hh-Fa():(r&4194048)===r?MA-Fa():0;if(g=BG(d,g),g!==null){zn=r,e.cancelPendingCommit=g(JE.bind(null,e,t,r,a,o,n,s,l,i,c,d,null,p,f)),zr(e,r,s,!u);return}}JE(e,t,r,a,o,n,s,l,i)}function tG(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var n=a[o],r=n.getSnapshot;n=n.value;try{if(!Ua(r(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 zr(e,t,a,o){t&=~ny,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var n=t;0<n;){var r=31-Ga(n),s=1<<r;o[r]=-1,n&=~s}a!==0&&BI(e,a,t)}function gh(){return(De&6)===0?(Ic(0,!1),!1):!0}function ry(){if(Ce!==null){if(ke===0)var e=Ce.return;else e=Ce,Bn=js=null,qx(e),gi=null,cc=0,e=Ce;for(;e!==null;)fA(e.alternate,e),e=e.return;Ce=null}}function Ei(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,bG(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),zn=0,ry(),Ge=e,Ce=a=Hn(e.current,null),we=t,ke=0,Pa=null,Fr=!1,ki=Cc(e,t),oy=!1,Ri=Ha=ny=zs=es=nt=0,Ea=ac=null,ox=!1,(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var n=31-Ga(o),r=1<<n;t|=e[n],o&=~r}return Wn=t,ih(),a}function kA(e,t){ge=null,ie.H=pc,t===_i||t===dh?(t=AE(),ke=3):t===Bx?(t=AE(),ke=4):ke=t===Jx?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Pa=t,Ce===null&&(nt=1,Um(e,po(t,e.current)))}function PA(){var e=qa.current;return e===null?!0:(we&4194048)===we?ho===null:(we&62914560)===we||(we&536870912)!==0?e===ho:!1}function NA(){var e=ie.H;return ie.H=pc,e===null?pc:e}function BA(){var e=ie.A;return ie.A=Jz,e}function Xm(){nt=4,Fr||(we&4194048)!==we&&qa.current!==null||(ki=!0),(es&134217727)===0&&(zs&134217727)===0||Ge===null||zr(Ge,we,Ha,!1)}function g2(e,t,a){var o=De;De|=2;var n=NA(),r=BA();(Ge!==e||we!==t)&&(Km=null,Ei(e,t)),t=!1;var s=nt;e:do try{if(ke!==0&&Ce!==null){var l=Ce,i=Pa;switch(ke){case 8:ry(),s=6;break e;case 3:case 2:case 9:case 6:qa.current===null&&(t=!0);var u=ke;if(ke=0,Pa=null,ci(e,l,i,u),a&&ki){s=0;break e}break;default:u=ke,ke=0,Pa=null,ci(e,l,i,u)}}aG(),s=nt;break}catch(c){kA(e,c)}while(!0);return t&&e.shellSuspendCounter++,Bn=js=null,De=o,ie.H=n,ie.A=r,Ce===null&&(Ge=null,we=0,ih()),s}function aG(){for(;Ce!==null;)HA(Ce)}function oG(e,t){var a=De;De|=2;var o=NA(),n=BA();Ge!==e||we!==t?(Km=null,Ym=Fa()+500,Ei(e,t)):ki=Cc(e,t);e:do try{if(ke!==0&&Ce!==null){t=Ce;var r=Pa;t:switch(ke){case 1:ke=0,Pa=null,ci(e,t,r,1);break;case 2:case 9:if(IE(r)){ke=0,Pa=null,QE(t);break}t=function(){ke!==2&&ke!==9||Ge!==e||(ke=7),un(e)},r.then(t,t);break e;case 3:ke=7;break e;case 4:ke=5;break e;case 7:IE(r)?(ke=0,Pa=null,QE(t)):(ke=0,Pa=null,ci(e,t,r,7));break;case 5:var s=null;switch(Ce.tag){case 26:s=Ce.memoizedState;case 5:case 27:var l=Ce;if(s?nM(s):l.stateNode.complete){ke=0,Pa=null;var i=l.sibling;if(i!==null)Ce=i;else{var u=l.return;u!==null?(Ce=u,xh(u)):Ce=null}break t}}ke=0,Pa=null,ci(e,t,r,5);break;case 6:ke=0,Pa=null,ci(e,t,r,6);break;case 8:ry(),nt=6;break e;default:throw Error(M(462))}}nG();break}catch(c){kA(e,c)}while(!0);return Bn=js=null,ie.H=o,ie.A=n,De=a,Ce!==null?0:(Ge=null,we=0,ih(),nt)}function nG(){for(;Ce!==null&&!EF();)HA(Ce)}function HA(e){var t=cA(e.alternate,e,Wn);e.memoizedProps=e.pendingProps,t===null?xh(e):Ce=t}function QE(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=WE(a,t,t.pendingProps,t.type,void 0,we);break;case 11:t=WE(a,t,t.pendingProps,t.type.render,t.ref,we);break;case 5:qx(t);default:fA(a,t),t=Ce=f7(t,Wn),t=cA(a,t,Wn)}e.memoizedProps=e.pendingProps,t===null?xh(e):Ce=t}function ci(e,t,a,o){Bn=js=null,qx(t),gi=null,cc=0;var n=t.return;try{if(Yz(e,n,t,a,we)){nt=1,Um(e,po(a,e.current)),Ce=null;return}}catch(r){if(n!==null)throw Ce=n,r;nt=1,Um(e,po(a,e.current)),Ce=null;return}t.flags&32768?(Re||o===1?e=!0:ki||(we&536870912)!==0?e=!1:(Fr=e=!0,(o===2||o===9||o===3||o===6)&&(o=qa.current,o!==null&&o.tag===13&&(o.flags|=16384))),FA(t,e)):xh(t)}function xh(e){var t=e;do{if((t.flags&32768)!==0){FA(t,Fr);return}e=t.return;var a=Zz(t.alternate,t,Wn);if(a!==null){Ce=a;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);nt===0&&(nt=5)}function FA(e,t){do{var a=jz(e.alternate,e);if(a!==null){a.flags&=32767,Ce=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Ce=e;return}Ce=e=a}while(e!==null);nt=6,Ce=null}function JE(e,t,a,o,n,r,s,l,i){e.cancelPendingCommit=null;do yh();while(Et!==0);if((De&6)!==0)throw Error(M(327));if(t!==null){if(t===e.current)throw Error(M(177));if(r=t.lanes|t.childLanes,r|=Mx,BF(e,a,r,s,l,i),e===Ge&&(Ce=Ge=null,we=0),Ti=t,Kr=e,zn=a,nx=r,rx=n,OA=o,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,iG(Dm,function(){return qA(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=ie.T,ie.T=null,n=_e.p,_e.p=2,s=De,De|=4;try{$z(e,t,a)}finally{De=s,_e.p=n,ie.T=o}}Et=1,zA(),GA(),VA()}}function zA(){if(Et===1){Et=0;var e=Kr,t=Ti,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=ie.T,ie.T=null;var o=_e.p;_e.p=2;var n=De;De|=4;try{wA(t,e);var r=dx,s=n7(e.containerInfo),l=r.focusedElem,i=r.selectionRange;if(s!==l&&l&&l.ownerDocument&&o7(l.ownerDocument.documentElement,l)){if(i!==null&&Ax(l)){var u=i.start,c=i.end;if(c===void 0&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var f=p.getSelection(),g=l.textContent.length,x=Math.min(i.start,g),b=i.end===void 0?x:Math.min(i.end,g);!f.extend&&x>b&&(s=b,b=x,x=s);var m=CE(l,x),h=CE(l,b);if(m&&h&&(f.rangeCount!==1||f.anchorNode!==m.node||f.anchorOffset!==m.offset||f.focusNode!==h.node||f.focusOffset!==h.offset)){var y=d.createRange();y.setStart(m.node,m.offset),f.removeAllRanges(),x>b?(f.addRange(y),f.extend(h.node,h.offset)):(y.setEnd(h.node,h.offset),f.addRange(y))}}}}for(d=[],f=l;f=f.parentNode;)f.nodeType===1&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<d.length;l++){var v=d[l];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}ah=!!ux,dx=ux=null}finally{De=n,_e.p=o,ie.T=a}}e.current=t,Et=2}}function GA(){if(Et===2){Et=0;var e=Kr,t=Ti,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=ie.T,ie.T=null;var o=_e.p;_e.p=2;var n=De;De|=4;try{yA(e,t.alternate,t)}finally{De=n,_e.p=o,ie.T=a}}Et=3}}function VA(){if(Et===4||Et===3){Et=0,IF();var e=Kr,t=Ti,a=zn,o=OA;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Et=5:(Et=0,Ti=Kr=null,UA(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Yr=null),Sx(a),t=t.stateNode,za&&typeof za.onCommitFiberRoot=="function")try{za.onCommitFiberRoot(vc,t,void 0,(t.current.flags&128)===128)}catch{}if(o!==null){t=ie.T,n=_e.p,_e.p=2,ie.T=null;try{for(var r=e.onRecoverableError,s=0;s<o.length;s++){var l=o[s];r(l.value,{componentStack:l.stack})}}finally{ie.T=t,_e.p=n}}(zn&3)!==0&&yh(),un(e),n=e.pendingLanes,(a&261930)!==0&&(n&42)!==0?e===sx?oc++:(oc=0,sx=e):oc=0,Ic(0,!1)}}function UA(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Rc(t)))}function yh(){return zA(),GA(),VA(),qA()}function qA(){if(Et!==5)return!1;var e=Kr,t=nx;nx=0;var a=Sx(zn),o=ie.T,n=_e.p;try{_e.p=32>a?32:a,ie.T=null,a=rx,rx=null;var r=Kr,s=zn;if(Et=0,Ti=Kr=null,zn=0,(De&6)!==0)throw Error(M(331));var l=De;if(De|=4,IA(r.current),RA(r,r.current,s,a),De=l,Ic(0,!1),za&&typeof za.onPostCommitFiberRoot=="function")try{za.onPostCommitFiberRoot(vc,r)}catch{}return!0}finally{_e.p=n,ie.T=o,UA(e,t)}}function eI(e,t,a){t=po(a,t),t=J2(e.stateNode,t,2),e=Wr(e,t,2),e!==null&&(Sc(e,2),un(e))}function Pe(e,t,a){if(e.tag===3)eI(e,e,a);else for(;t!==null;){if(t.tag===3){eI(t,e,a);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Yr===null||!Yr.has(o))){e=po(a,e),a=rA(2),o=Wr(t,a,2),o!==null&&(sA(a,o,t,e),Sc(o,2),un(o));break}}t=t.return}}function x2(e,t,a){var o=e.pingCache;if(o===null){o=e.pingCache=new eG;var n=new Set;o.set(t,n)}else n=o.get(t),n===void 0&&(n=new Set,o.set(t,n));n.has(a)||(oy=!0,n.add(a),e=rG.bind(null,e,t,a),t.then(e,e))}function rG(e,t,a){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ge===e&&(we&a)===a&&(nt===4||nt===3&&(we&62914560)===we&&300>Fa()-hh?(De&2)===0&&Ei(e,0):ny|=a,Ri===we&&(Ri=0)),un(e)}function WA(e,t){t===0&&(t=NI()),e=Zs(e,t),e!==null&&(Sc(e,t),un(e))}function sG(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),WA(e,a)}function lG(e,t){var a=0;switch(e.tag){case 31:case 13:var o=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(M(314))}o!==null&&o.delete(t),WA(e,a)}function iG(e,t){return vx(e,t)}var Zm=null,Jl=null,lx=!1,jm=!1,y2=!1,Gr=0;function un(e){e!==Jl&&e.next===null&&(Jl===null?Zm=Jl=e:Jl=Jl.next=e),jm=!0,lx||(lx=!0,dG())}function Ic(e,t){if(!y2&&jm){y2=!0;do for(var a=!1,o=Zm;o!==null;){if(!t)if(e!==0){var n=o.pendingLanes;if(n===0)var r=0;else{var s=o.suspendedLanes,l=o.pingedLanes;r=(1<<31-Ga(42|e)+1)-1,r&=n&~(s&~l),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(a=!0,tI(o,r))}else r=we,r=nh(o,o===Ge?r:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(r&3)===0||Cc(o,r)||(a=!0,tI(o,r));o=o.next}while(a);y2=!1}}function uG(){YA()}function YA(){jm=lx=!1;var e=0;Gr!==0&&yG()&&(e=Gr);for(var t=Fa(),a=null,o=Zm;o!==null;){var n=o.next,r=KA(o,t);r===0?(o.next=null,a===null?Zm=n:a.next=n,n===null&&(Jl=a)):(a=o,(e!==0||(r&3)!==0)&&(jm=!0)),o=n}Et!==0&&Et!==5||Ic(e,!1),Gr!==0&&(Gr=0)}function KA(e,t){for(var a=e.suspendedLanes,o=e.pingedLanes,n=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var s=31-Ga(r),l=1<<s,i=n[s];i===-1?((l&a)===0||(l&o)!==0)&&(n[s]=NF(l,t)):i<=t&&(e.expiredLanes|=l),r&=~l}if(t=Ge,a=we,a=nh(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,a===0||e===t&&(ke===2||ke===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&K0(o),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Cc(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(o!==null&&K0(o),Sx(a)){case 2:case 8:a=kI;break;case 32:a=Dm;break;case 268435456:a=PI;break;default:a=Dm}return o=XA.bind(null,e),a=vx(a,o),e.callbackPriority=t,e.callbackNode=a,t}return o!==null&&o!==null&&K0(o),e.callbackPriority=2,e.callbackNode=null,2}function XA(e,t){if(Et!==0&&Et!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(yh()&&e.callbackNode!==a)return null;var o=we;return o=nh(e,e===Ge?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(_A(e,o,t),KA(e,Fa()),e.callbackNode!=null&&e.callbackNode===a?XA.bind(null,e):null)}function tI(e,t){if(yh())return null;_A(e,t,!0)}function dG(){vG(function(){(De&6)!==0?vx(_I,uG):YA()})}function sy(){if(Gr===0){var e=Si;e===0&&(e=$p,$p<<=1,($p&261888)===0&&($p=256)),Gr=e}return Gr}function aI(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:hm(""+e)}function oI(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function cG(e,t,a,o,n){if(t==="submit"&&a&&a.stateNode===n){var r=aI((n[Aa]||null).action),s=o.submitter;s&&(t=(t=s[Aa]||null)?aI(t.formAction):s.getAttribute("formAction"),t!==null&&(r=t,s=null));var l=new rh("action","action",null,o,n);e.push({event:l,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Gr!==0){var i=s?oI(n,s):new FormData(n);$2(a,{pending:!0,data:i,method:n.method,action:r},null,i)}}else typeof r=="function"&&(l.preventDefault(),i=s?oI(n,s):new FormData(n),$2(a,{pending:!0,data:i,method:n.method,action:r},r,i))},currentTarget:n}]})}}for(um=0;um<F2.length;um++)dm=F2[um],nI=dm.toLowerCase(),rI=dm[0].toUpperCase()+dm.slice(1),Bo(nI,"on"+rI);var dm,nI,rI,um;Bo(s7,"onAnimationEnd");Bo(l7,"onAnimationIteration");Bo(i7,"onAnimationStart");Bo("dblclick","onDoubleClick");Bo("focusin","onFocus");Bo("focusout","onBlur");Bo(Az,"onTransitionRun");Bo(Mz,"onTransitionStart");Bo(Oz,"onTransitionCancel");Bo(u7,"onTransitionEnd");vi("onMouseEnter",["mouseout","mouseover"]);vi("onMouseLeave",["mouseout","mouseover"]);vi("onPointerEnter",["pointerout","pointerover"]);vi("onPointerLeave",["pointerout","pointerover"]);Ys("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ys("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ys("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ys("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ys("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ys("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mc="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(" "),fG=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mc));function ZA(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var o=e[a],n=o.event;o=o.listeners;e:{var r=void 0;if(t)for(var s=o.length-1;0<=s;s--){var l=o[s],i=l.instance,u=l.currentTarget;if(l=l.listener,i!==r&&n.isPropagationStopped())break e;r=l,n.currentTarget=u;try{r(n)}catch(c){km(c)}n.currentTarget=null,r=i}else for(s=0;s<o.length;s++){if(l=o[s],i=l.instance,u=l.currentTarget,l=l.listener,i!==r&&n.isPropagationStopped())break e;r=l,n.currentTarget=u;try{r(n)}catch(c){km(c)}n.currentTarget=null,r=i}}}}function ve(e,t){var a=t[O2];a===void 0&&(a=t[O2]=new Set);var o=e+"__bubble";a.has(o)||(jA(t,e,2,!1),a.add(o))}function b2(e,t,a){var o=0;t&&(o|=4),jA(a,e,o,t)}var cm="_reactListening"+Math.random().toString(36).slice(2);function ly(e){if(!e[cm]){e[cm]=!0,GI.forEach(function(a){a!=="selectionchange"&&(fG.has(a)||b2(a,!1,e),b2(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[cm]||(t[cm]=!0,b2("selectionchange",!1,t))}}function jA(e,t,a,o){switch(uM(t)){case 2:var n=zG;break;case 8:n=GG;break;default:n=cy}a=n.bind(null,t,a,e),n=void 0,!N2||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),o?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function v2(e,t,a,o,n){var r=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var s=o.tag;if(s===3||s===4){var l=o.stateNode.containerInfo;if(l===n)break;if(s===4)for(s=o.return;s!==null;){var i=s.tag;if((i===3||i===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;l!==null;){if(s=ai(l),s===null)return;if(i=s.tag,i===5||i===6||i===26||i===27){o=r=s;continue e}l=l.parentNode}}o=o.return}ZI(function(){var u=r,c=Rx(a),d=[];e:{var p=d7.get(e);if(p!==void 0){var f=rh,g=e;switch(e){case"keypress":if(xm(a)===0)break e;case"keydown":case"keyup":f=lz;break;case"focusin":g="focus",f=Q0;break;case"focusout":g="blur",f=Q0;break;case"beforeblur":case"afterblur":f=Q0;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=fE;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=ZF;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=dz;break;case s7:case l7:case i7:f=QF;break;case u7:f=fz;break;case"scroll":case"scrollend":f=KF;break;case"wheel":f=mz;break;case"copy":case"cut":case"paste":f=ez;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=mE;break;case"toggle":case"beforetoggle":f=gz}var x=(t&4)!==0,b=!x&&(e==="scroll"||e==="scrollend"),m=x?p!==null?p+"Capture":null:p;x=[];for(var h=u,y;h!==null;){var v=h;if(y=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||y===null||m===null||(v=sc(h,m),v!=null&&x.push(hc(h,v,y))),b)break;h=h.return}0<x.length&&(p=new f(p,g,null,a,c),d.push({event:p,listeners:x}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",p&&a!==P2&&(g=a.relatedTarget||a.fromElement)&&(ai(g)||g[Mi]))break e;if((f||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,f?(g=a.relatedTarget||a.toElement,f=u,g=g?ai(g):null,g!==null&&(b=bc(g),x=g.tag,g!==b||x!==5&&x!==27&&x!==6)&&(g=null)):(f=null,g=u),f!==g)){if(x=fE,v="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(x=mE,v="onPointerLeave",m="onPointerEnter",h="pointer"),b=f==null?p:Ud(f),y=g==null?p:Ud(g),p=new x(v,h+"leave",f,a,c),p.target=b,p.relatedTarget=y,v=null,ai(c)===u&&(x=new x(m,h+"enter",g,a,c),x.target=y,x.relatedTarget=b,v=x),b=v,f&&g)t:{for(x=pG,m=f,h=g,y=0,v=m;v;v=x(v))y++;v=0;for(var S=h;S;S=x(S))v++;for(;0<y-v;)m=x(m),y--;for(;0<v-y;)h=x(h),v--;for(;y--;){if(m===h||h!==null&&m===h.alternate){x=m;break t}m=x(m),h=x(h)}x=null}else x=null;f!==null&&sI(d,p,f,x,!1),g!==null&&b!==null&&sI(d,b,g,x,!0)}}e:{if(p=u?Ud(u):window,f=p.nodeName&&p.nodeName.toLowerCase(),f==="select"||f==="input"&&p.type==="file")var w=yE;else if(xE(p))if(t7)w=Tz;else{w=Lz;var L=wz}else f=p.nodeName,!f||f.toLowerCase()!=="input"||p.type!=="checkbox"&&p.type!=="radio"?u&&Lx(u.elementType)&&(w=yE):w=Rz;if(w&&(w=w(e,u))){e7(d,w,a,c);break e}L&&L(e,p,u),e==="focusout"&&u&&p.type==="number"&&u.memoizedProps.value!=null&&k2(p,"number",p.value)}switch(L=u?Ud(u):window,e){case"focusin":(xE(L)||L.contentEditable==="true")&&(ri=L,B2=u,Xd=null);break;case"focusout":Xd=B2=ri=null;break;case"mousedown":H2=!0;break;case"contextmenu":case"mouseup":case"dragend":H2=!1,SE(d,a,c);break;case"selectionchange":if(Iz)break;case"keydown":case"keyup":SE(d,a,c)}var T;if(Ix)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else ni?QI(e,a)&&(A="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(A="onCompositionStart");A&&($I&&a.locale!=="ko"&&(ni||A!=="onCompositionStart"?A==="onCompositionEnd"&&ni&&(T=jI()):(Hr=c,Tx="value"in Hr?Hr.value:Hr.textContent,ni=!0)),L=$m(u,A),0<L.length&&(A=new pE(A,e,null,a,c),d.push({event:A,listeners:L}),T?A.data=T:(T=JI(a),T!==null&&(A.data=T)))),(T=yz?bz(e,a):vz(e,a))&&(A=$m(u,"onBeforeInput"),0<A.length&&(L=new pE("onBeforeInput","beforeinput",null,a,c),d.push({event:L,listeners:A}),L.data=T)),cG(d,e,u,a,c)}ZA(d,t)})}function hc(e,t,a){return{instance:e,listener:t,currentTarget:a}}function $m(e,t){for(var a=t+"Capture",o=[];e!==null;){var n=e,r=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||r===null||(n=sc(e,a),n!=null&&o.unshift(hc(e,n,r)),n=sc(e,t),n!=null&&o.push(hc(e,n,r))),e.tag===3)return o;e=e.return}return[]}function pG(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function sI(e,t,a,o,n){for(var r=t._reactName,s=[];a!==null&&a!==o;){var l=a,i=l.alternate,u=l.stateNode;if(l=l.tag,i!==null&&i===o)break;l!==5&&l!==26&&l!==27||u===null||(i=u,n?(u=sc(a,r),u!=null&&s.unshift(hc(a,u,i))):n||(u=sc(a,r),u!=null&&s.push(hc(a,u,i)))),a=a.return}s.length!==0&&e.push({event:t,listeners:s})}var mG=/\r\n?/g,hG=/\u0000|\uFFFD/g;function lI(e){return(typeof e=="string"?e:""+e).replace(mG,`
9
+ `).replace(hG,"")}function $A(e,t){return t=lI(t),lI(e)===t}function Fe(e,t,a,o,n,r){switch(a){case"children":typeof o=="string"?t==="body"||t==="textarea"&&o===""||Ci(e,o):(typeof o=="number"||typeof o=="bigint")&&t!=="body"&&Ci(e,""+o);break;case"className":em(e,"class",o);break;case"tabIndex":em(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":em(e,a,o);break;case"style":XI(e,o,r);break;case"data":if(t!=="object"){em(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=hm(""+o),e.setAttribute(a,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(a==="formAction"?(t!=="input"&&Fe(e,t,"name",n.name,n,null),Fe(e,t,"formEncType",n.formEncType,n,null),Fe(e,t,"formMethod",n.formMethod,n,null),Fe(e,t,"formTarget",n.formTarget,n,null)):(Fe(e,t,"encType",n.encType,n,null),Fe(e,t,"method",n.method,n,null),Fe(e,t,"target",n.target,n,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=hm(""+o),e.setAttribute(a,o);break;case"onClick":o!=null&&(e.onclick=Nn);break;case"onScroll":o!=null&&ve("scroll",e);break;case"onScrollEnd":o!=null&&ve("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(M(61));if(a=o.__html,a!=null){if(n.children!=null)throw Error(M(60));e.innerHTML=a}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}a=hm(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""+o):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":o===!0?e.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,o):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(a,o):e.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(a):e.setAttribute(a,o);break;case"popover":ve("beforetoggle",e),ve("toggle",e),mm(e,"popover",o);break;case"xlinkActuate":In(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":In(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":In(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":In(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":In(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":In(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":In(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":In(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":In(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":mm(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=WF.get(a)||a,mm(e,a,o))}}function ix(e,t,a,o,n,r){switch(a){case"style":XI(e,o,r);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(M(61));if(a=o.__html,a!=null){if(n.children!=null)throw Error(M(60));e.innerHTML=a}}break;case"children":typeof o=="string"?Ci(e,o):(typeof o=="number"||typeof o=="bigint")&&Ci(e,""+o);break;case"onScroll":o!=null&&ve("scroll",e);break;case"onScrollEnd":o!=null&&ve("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Nn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!VI.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),r=e[Aa]||null,r=r!=null?r[a]:null,typeof r=="function"&&e.removeEventListener(t,r,n),typeof o=="function")){typeof r!="function"&&r!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,o,n);break e}a in e?e[a]=o:o===!0?e.setAttribute(a,""):mm(e,a,o)}}}function Wt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ve("error",e),ve("load",e);var o=!1,n=!1,r;for(r in a)if(a.hasOwnProperty(r)){var s=a[r];if(s!=null)switch(r){case"src":o=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(M(137,t));default:Fe(e,t,r,s,a,null)}}n&&Fe(e,t,"srcSet",a.srcSet,a,null),o&&Fe(e,t,"src",a.src,a,null);return;case"input":ve("invalid",e);var l=r=s=n=null,i=null,u=null;for(o in a)if(a.hasOwnProperty(o)){var c=a[o];if(c!=null)switch(o){case"name":n=c;break;case"type":s=c;break;case"checked":i=c;break;case"defaultChecked":u=c;break;case"value":r=c;break;case"defaultValue":l=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(M(137,t));break;default:Fe(e,t,o,c,a,null)}}WI(e,r,l,i,u,s,n,!1);return;case"select":ve("invalid",e),o=s=r=null;for(n in a)if(a.hasOwnProperty(n)&&(l=a[n],l!=null))switch(n){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:Fe(e,t,n,l,a,null)}t=r,a=s,e.multiple=!!o,t!=null?pi(e,!!o,t,!1):a!=null&&pi(e,!!o,a,!0);return;case"textarea":ve("invalid",e),r=n=o=null;for(s in a)if(a.hasOwnProperty(s)&&(l=a[s],l!=null))switch(s){case"value":o=l;break;case"defaultValue":n=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(M(91));break;default:Fe(e,t,s,l,a,null)}KI(e,o,n,r);return;case"option":for(i in a)if(a.hasOwnProperty(i)&&(o=a[i],o!=null))switch(i){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Fe(e,t,i,o,a,null)}return;case"dialog":ve("beforetoggle",e),ve("toggle",e),ve("cancel",e),ve("close",e);break;case"iframe":case"object":ve("load",e);break;case"video":case"audio":for(o=0;o<mc.length;o++)ve(mc[o],e);break;case"image":ve("error",e),ve("load",e);break;case"details":ve("toggle",e);break;case"embed":case"source":case"link":ve("error",e),ve("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 a)if(a.hasOwnProperty(u)&&(o=a[u],o!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(M(137,t));default:Fe(e,t,u,o,a,null)}return;default:if(Lx(t)){for(c in a)a.hasOwnProperty(c)&&(o=a[c],o!==void 0&&ix(e,t,c,o,a,void 0));return}}for(l in a)a.hasOwnProperty(l)&&(o=a[l],o!=null&&Fe(e,t,l,o,a,null))}function gG(e,t,a,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,r=null,s=null,l=null,i=null,u=null,c=null;for(f in a){var d=a[f];if(a.hasOwnProperty(f)&&d!=null)switch(f){case"checked":break;case"value":break;case"defaultValue":i=d;default:o.hasOwnProperty(f)||Fe(e,t,f,null,o,d)}}for(var p in o){var f=o[p];if(d=a[p],o.hasOwnProperty(p)&&(f!=null||d!=null))switch(p){case"type":r=f;break;case"name":n=f;break;case"checked":u=f;break;case"defaultChecked":c=f;break;case"value":s=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(M(137,t));break;default:f!==d&&Fe(e,t,p,f,o,d)}}_2(e,s,l,i,u,c,r,n);return;case"select":f=s=l=p=null;for(r in a)if(i=a[r],a.hasOwnProperty(r)&&i!=null)switch(r){case"value":break;case"multiple":f=i;default:o.hasOwnProperty(r)||Fe(e,t,r,null,o,i)}for(n in o)if(r=o[n],i=a[n],o.hasOwnProperty(n)&&(r!=null||i!=null))switch(n){case"value":p=r;break;case"defaultValue":l=r;break;case"multiple":s=r;default:r!==i&&Fe(e,t,n,r,o,i)}t=l,a=s,o=f,p!=null?pi(e,!!a,p,!1):!!o!=!!a&&(t!=null?pi(e,!!a,t,!0):pi(e,!!a,a?[]:"",!1));return;case"textarea":f=p=null;for(l in a)if(n=a[l],a.hasOwnProperty(l)&&n!=null&&!o.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:Fe(e,t,l,null,o,n)}for(s in o)if(n=o[s],r=a[s],o.hasOwnProperty(s)&&(n!=null||r!=null))switch(s){case"value":p=n;break;case"defaultValue":f=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(M(91));break;default:n!==r&&Fe(e,t,s,n,o,r)}YI(e,p,f);return;case"option":for(var g in a)if(p=a[g],a.hasOwnProperty(g)&&p!=null&&!o.hasOwnProperty(g))switch(g){case"selected":e.selected=!1;break;default:Fe(e,t,g,null,o,p)}for(i in o)if(p=o[i],f=a[i],o.hasOwnProperty(i)&&p!==f&&(p!=null||f!=null))switch(i){case"selected":e.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:Fe(e,t,i,p,o,f)}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 x in a)p=a[x],a.hasOwnProperty(x)&&p!=null&&!o.hasOwnProperty(x)&&Fe(e,t,x,null,o,p);for(u in o)if(p=o[u],f=a[u],o.hasOwnProperty(u)&&p!==f&&(p!=null||f!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(M(137,t));break;default:Fe(e,t,u,p,o,f)}return;default:if(Lx(t)){for(var b in a)p=a[b],a.hasOwnProperty(b)&&p!==void 0&&!o.hasOwnProperty(b)&&ix(e,t,b,void 0,o,p);for(c in o)p=o[c],f=a[c],!o.hasOwnProperty(c)||p===f||p===void 0&&f===void 0||ix(e,t,c,p,o,f);return}}for(var m in a)p=a[m],a.hasOwnProperty(m)&&p!=null&&!o.hasOwnProperty(m)&&Fe(e,t,m,null,o,p);for(d in o)p=o[d],f=a[d],!o.hasOwnProperty(d)||p===f||p==null&&f==null||Fe(e,t,d,p,o,f)}function iI(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function xG(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var n=a[o],r=n.transferSize,s=n.initiatorType,l=n.duration;if(r&&l&&iI(s)){for(s=0,l=n.responseEnd,o+=1;o<a.length;o++){var i=a[o],u=i.startTime;if(u>l)break;var c=i.transferSize,d=i.initiatorType;c&&iI(d)&&(i=i.responseEnd,s+=c*(i<l?1:(l-u)/(i-u)))}if(--o,t+=8*(r+s)/(n.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 ux=null,dx=null;function Qm(e){return e.nodeType===9?e:e.ownerDocument}function uI(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 QA(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 cx(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 C2=null;function yG(){var e=window.event;return e&&e.type==="popstate"?e===C2?!1:(C2=e,!0):(C2=null,!1)}var JA=typeof setTimeout=="function"?setTimeout:void 0,bG=typeof clearTimeout=="function"?clearTimeout:void 0,dI=typeof Promise=="function"?Promise:void 0,vG=typeof queueMicrotask=="function"?queueMicrotask:typeof dI<"u"?function(e){return dI.resolve(null).then(e).catch(CG)}:JA;function CG(e){setTimeout(function(){throw e})}function as(e){return e==="head"}function cI(e,t){var a=t,o=0;do{var n=a.nextSibling;if(e.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"||a==="/&"){if(o===0){e.removeChild(n),Ai(t);return}o--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")o++;else if(a==="html")nc(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,nc(a);for(var r=a.firstChild;r;){var s=r.nextSibling,l=r.nodeName;r[wc]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&r.rel.toLowerCase()==="stylesheet"||a.removeChild(r),r=s}}else a==="body"&&nc(e.ownerDocument.body);a=n}while(a);Ai(t)}function fI(e,t){var a=e;e=0;do{var o=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=o}while(a)}function fx(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":fx(a),wx(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function SG(e,t,a,o){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[wc])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=go(e.nextSibling),e===null)break}return null}function wG(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=go(e.nextSibling),e===null))return null;return e}function eM(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=go(e.nextSibling),e===null))return null;return e}function px(e){return e.data==="$?"||e.data==="$~"}function mx(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function LG(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var o=function(){t(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function go(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 hx=null;function pI(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return go(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function mI(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function tM(e,t,a){switch(t=Qm(a),e){case"html":if(e=t.documentElement,!e)throw Error(M(452));return e;case"head":if(e=t.head,!e)throw Error(M(453));return e;case"body":if(e=t.body,!e)throw Error(M(454));return e;default:throw Error(M(451))}}function nc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wx(e)}var xo=new Map,hI=new Set;function Jm(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Yn=_e.d;_e.d={f:RG,r:TG,D:EG,C:IG,L:AG,m:MG,X:DG,S:OG,M:_G};function RG(){var e=Yn.f(),t=gh();return e||t}function TG(e){var t=Oi(e);t!==null&&t.tag===5&&t.type==="form"?X7(t):Yn.r(e)}var Pi=typeof document>"u"?null:document;function aM(e,t,a){var o=Pi;if(o&&typeof t=="string"&&t){var n=fo(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),hI.has(n)||(hI.add(n),e={rel:e,crossOrigin:a,href:t},o.querySelector(n)===null&&(t=o.createElement("link"),Wt(t,"link",e),Nt(t),o.head.appendChild(t)))}}function EG(e){Yn.D(e),aM("dns-prefetch",e,null)}function IG(e,t){Yn.C(e,t),aM("preconnect",e,t)}function AG(e,t,a){Yn.L(e,t,a);var o=Pi;if(o&&e&&t){var n='link[rel="preload"][as="'+fo(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+fo(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+fo(a.imageSizes)+'"]')):n+='[href="'+fo(e)+'"]';var r=n;switch(t){case"style":r=Ii(e);break;case"script":r=Ni(e)}xo.has(r)||(e=$e({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),xo.set(r,e),o.querySelector(n)!==null||t==="style"&&o.querySelector(Ac(r))||t==="script"&&o.querySelector(Mc(r))||(t=o.createElement("link"),Wt(t,"link",e),Nt(t),o.head.appendChild(t)))}}function MG(e,t){Yn.m(e,t);var a=Pi;if(a&&e){var o=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+fo(o)+'"][href="'+fo(e)+'"]',r=n;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Ni(e)}if(!xo.has(r)&&(e=$e({rel:"modulepreload",href:e},t),xo.set(r,e),a.querySelector(n)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Mc(r)))return}o=a.createElement("link"),Wt(o,"link",e),Nt(o),a.head.appendChild(o)}}}function OG(e,t,a){Yn.S(e,t,a);var o=Pi;if(o&&e){var n=fi(o).hoistableStyles,r=Ii(e);t=t||"default";var s=n.get(r);if(!s){var l={loading:0,preload:null};if(s=o.querySelector(Ac(r)))l.loading=5;else{e=$e({rel:"stylesheet",href:e,"data-precedence":t},a),(a=xo.get(r))&&iy(e,a);var i=s=o.createElement("link");Nt(i),Wt(i,"link",e),i._p=new Promise(function(u,c){i.onload=u,i.onerror=c}),i.addEventListener("load",function(){l.loading|=1}),i.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Rm(s,t,o)}s={type:"stylesheet",instance:s,count:1,state:l},n.set(r,s)}}}function DG(e,t){Yn.X(e,t);var a=Pi;if(a&&e){var o=fi(a).hoistableScripts,n=Ni(e),r=o.get(n);r||(r=a.querySelector(Mc(n)),r||(e=$e({src:e,async:!0},t),(t=xo.get(n))&&uy(e,t),r=a.createElement("script"),Nt(r),Wt(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},o.set(n,r))}}function _G(e,t){Yn.M(e,t);var a=Pi;if(a&&e){var o=fi(a).hoistableScripts,n=Ni(e),r=o.get(n);r||(r=a.querySelector(Mc(n)),r||(e=$e({src:e,async:!0,type:"module"},t),(t=xo.get(n))&&uy(e,t),r=a.createElement("script"),Nt(r),Wt(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},o.set(n,r))}}function gI(e,t,a,o){var n=(n=Vr.current)?Jm(n):null;if(!n)throw Error(M(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Ii(a.href),a=fi(n).hoistableStyles,o=a.get(t),o||(o={type:"style",instance:null,count:0,state:null},a.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ii(a.href);var r=fi(n).hoistableStyles,s=r.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,s),(r=n.querySelector(Ac(e)))&&!r._p&&(s.instance=r,s.state.loading=5),xo.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},xo.set(e,a),r||kG(n,e,a,s.state))),t&&o===null)throw Error(M(528,""));return s}if(t&&o!==null)throw Error(M(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ni(a),a=fi(n).hoistableScripts,o=a.get(t),o||(o={type:"script",instance:null,count:0,state:null},a.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(M(444,e))}}function Ii(e){return'href="'+fo(e)+'"'}function Ac(e){return'link[rel="stylesheet"]['+e+"]"}function oM(e){return $e({},e,{"data-precedence":e.precedence,precedence:null})}function kG(e,t,a,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=1:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=1}),t.addEventListener("error",function(){return o.loading|=2}),Wt(t,"link",a),Nt(t),e.head.appendChild(t))}function Ni(e){return'[src="'+fo(e)+'"]'}function Mc(e){return"script[async]"+e}function xI(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+fo(a.href)+'"]');if(o)return t.instance=o,Nt(o),o;var n=$e({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),Nt(o),Wt(o,"style",n),Rm(o,a.precedence,e),t.instance=o;case"stylesheet":n=Ii(a.href);var r=e.querySelector(Ac(n));if(r)return t.state.loading|=4,t.instance=r,Nt(r),r;o=oM(a),(n=xo.get(n))&&iy(o,n),r=(e.ownerDocument||e).createElement("link"),Nt(r);var s=r;return s._p=new Promise(function(l,i){s.onload=l,s.onerror=i}),Wt(r,"link",o),t.state.loading|=4,Rm(r,a.precedence,e),t.instance=r;case"script":return r=Ni(a.src),(n=e.querySelector(Mc(r)))?(t.instance=n,Nt(n),n):(o=a,(n=xo.get(r))&&(o=$e({},a),uy(o,n)),e=e.ownerDocument||e,n=e.createElement("script"),Nt(n),Wt(n,"link",o),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(M(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(o=t.instance,t.state.loading|=4,Rm(o,a.precedence,e));return t.instance}function Rm(e,t,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=o.length?o[o.length-1]:null,r=n,s=0;s<o.length;s++){var l=o[s];if(l.dataset.precedence===t)r=l;else if(r!==n)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function iy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function uy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Tm=null;function yI(e,t,a){if(Tm===null){var o=new Map,n=Tm=new Map;n.set(a,o)}else n=Tm,o=n.get(a),o||(o=new Map,n.set(a,o));if(o.has(e))return o;for(o.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var r=a[n];if(!(r[wc]||r[Vt]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var s=r.getAttribute(t)||"";s=e+s;var l=o.get(s);l?l.push(r):o.set(s,[r])}}return o}function bI(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function PG(e,t,a){if(a===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 nM(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function NG(e,t,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var n=Ii(o.href),r=t.querySelector(Ac(n));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=eh.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=r,Nt(r);return}r=t.ownerDocument||t,o=oM(o),(n=xo.get(n))&&iy(o,n),r=r.createElement("link"),Nt(r);var s=r;s._p=new Promise(function(l,i){s.onload=l,s.onerror=i}),Wt(r,"link",o),a.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=eh.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var S2=0;function BG(e,t){return e.stylesheets&&e.count===0&&Em(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var o=setTimeout(function(){if(e.stylesheets&&Em(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&S2===0&&(S2=62500*xG());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Em(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>S2?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(n)}}:null}function eh(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Em(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var th=null;function Em(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,th=new Map,t.forEach(HG,e),th=null,eh.call(e))}function HG(e,t){if(!(t.state.loading&4)){var a=th.get(e);if(a)var o=a.get(null);else{a=new Map,th.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<n.length;r++){var s=n[r];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(a.set(s.dataset.precedence,s),o=s)}o&&a.set(null,o)}n=t.instance,s=n.getAttribute("data-precedence"),r=a.get(s)||o,r===o&&a.set(null,n),a.set(s,n),this.count++,o=eh.bind(this),n.addEventListener("load",o),n.addEventListener("error",o),r?r.parentNode.insertBefore(n,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var gc={$$typeof:Pn,Provider:null,Consumer:null,_currentValue:Ns,_currentValue2:Ns,_threadCount:0};function FG(e,t,a,o,n,r,s,l,i){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=X0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=X0(0),this.hiddenUpdates=X0(null),this.identifierPrefix=o,this.onUncaughtError=n,this.onCaughtError=r,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.incompleteTransitions=new Map}function rM(e,t,a,o,n,r,s,l,i,u,c,d){return e=new FG(e,t,a,s,i,u,c,d,l),t=1,r===!0&&(t|=24),r=Ba(3,null,null,t),e.current=r,r.stateNode=e,t=Px(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:o,isDehydrated:a,cache:t},Hx(r),e}function sM(e){return e?(e=ii,e):ii}function lM(e,t,a,o,n,r){n=sM(n),o.context===null?o.context=n:o.pendingContext=n,o=qr(t),o.payload={element:a},r=r===void 0?null:r,r!==null&&(o.callback=r),a=Wr(e,o,t),a!==null&&(Ia(a,e,t),jd(a,e,t))}function vI(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function dy(e,t){vI(e,t),(e=e.alternate)&&vI(e,t)}function iM(e){if(e.tag===13||e.tag===31){var t=Zs(e,67108864);t!==null&&Ia(t,e,67108864),dy(e,67108864)}}function CI(e){if(e.tag===13||e.tag===31){var t=Va();t=Cx(t);var a=Zs(e,t);a!==null&&Ia(a,e,t),dy(e,t)}}var ah=!0;function zG(e,t,a,o){var n=ie.T;ie.T=null;var r=_e.p;try{_e.p=2,cy(e,t,a,o)}finally{_e.p=r,ie.T=n}}function GG(e,t,a,o){var n=ie.T;ie.T=null;var r=_e.p;try{_e.p=8,cy(e,t,a,o)}finally{_e.p=r,ie.T=n}}function cy(e,t,a,o){if(ah){var n=gx(o);if(n===null)v2(e,t,o,oh,a),SI(e,o);else if(UG(n,e,t,a,o))o.stopPropagation();else if(SI(e,o),t&4&&-1<VG.indexOf(e)){for(;n!==null;){var r=Oi(n);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var s=_s(r.pendingLanes);if(s!==0){var l=r;for(l.pendingLanes|=2,l.entangledLanes|=2;s;){var i=1<<31-Ga(s);l.entanglements[1]|=i,s&=~i}un(r),(De&6)===0&&(Ym=Fa()+500,Ic(0,!1))}}break;case 31:case 13:l=Zs(r,2),l!==null&&Ia(l,r,2),gh(),dy(r,2)}if(r=gx(o),r===null&&v2(e,t,o,oh,a),r===n)break;n=r}n!==null&&o.stopPropagation()}else v2(e,t,o,null,a)}}function gx(e){return e=Rx(e),fy(e)}var oh=null;function fy(e){if(oh=null,e=ai(e),e!==null){var t=bc(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=II(t),e!==null)return e;e=null}else if(a===31){if(e=AI(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return oh=e,null}function uM(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"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(AF()){case _I:return 2;case kI:return 8;case Dm:case MF:return 32;case PI:return 268435456;default:return 32}default:return 32}}var xx=!1,Xr=null,Zr=null,jr=null,xc=new Map,yc=new Map,Nr=[],VG="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 SI(e,t){switch(e){case"focusin":case"focusout":Xr=null;break;case"dragenter":case"dragleave":Zr=null;break;case"mouseover":case"mouseout":jr=null;break;case"pointerover":case"pointerout":xc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yc.delete(t.pointerId)}}function Fd(e,t,a,o,n,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:a,eventSystemFlags:o,nativeEvent:r,targetContainers:[n]},t!==null&&(t=Oi(t),t!==null&&iM(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function UG(e,t,a,o,n){switch(t){case"focusin":return Xr=Fd(Xr,e,t,a,o,n),!0;case"dragenter":return Zr=Fd(Zr,e,t,a,o,n),!0;case"mouseover":return jr=Fd(jr,e,t,a,o,n),!0;case"pointerover":var r=n.pointerId;return xc.set(r,Fd(xc.get(r)||null,e,t,a,o,n)),!0;case"gotpointercapture":return r=n.pointerId,yc.set(r,Fd(yc.get(r)||null,e,t,a,o,n)),!0}return!1}function dM(e){var t=ai(e.target);if(t!==null){var a=bc(t);if(a!==null){if(t=a.tag,t===13){if(t=II(a),t!==null){e.blockedOn=t,rE(e.priority,function(){CI(a)});return}}else if(t===31){if(t=AI(a),t!==null){e.blockedOn=t,rE(e.priority,function(){CI(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Im(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=gx(e.nativeEvent);if(a===null){a=e.nativeEvent;var o=new a.constructor(a.type,a);P2=o,a.target.dispatchEvent(o),P2=null}else return t=Oi(a),t!==null&&iM(t),e.blockedOn=a,!1;t.shift()}return!0}function wI(e,t,a){Im(e)&&a.delete(t)}function qG(){xx=!1,Xr!==null&&Im(Xr)&&(Xr=null),Zr!==null&&Im(Zr)&&(Zr=null),jr!==null&&Im(jr)&&(jr=null),xc.forEach(wI),yc.forEach(wI)}function fm(e,t){e.blockedOn===t&&(e.blockedOn=null,xx||(xx=!0,It.unstable_scheduleCallback(It.unstable_NormalPriority,qG)))}var pm=null;function LI(e){pm!==e&&(pm=e,It.unstable_scheduleCallback(It.unstable_NormalPriority,function(){pm===e&&(pm=null);for(var t=0;t<e.length;t+=3){var a=e[t],o=e[t+1],n=e[t+2];if(typeof o!="function"){if(fy(o||a)===null)continue;break}var r=Oi(a);r!==null&&(e.splice(t,3),t-=3,$2(r,{pending:!0,data:n,method:a.method,action:o},o,n))}}))}function Ai(e){function t(i){return fm(i,e)}Xr!==null&&fm(Xr,e),Zr!==null&&fm(Zr,e),jr!==null&&fm(jr,e),xc.forEach(t),yc.forEach(t);for(var a=0;a<Nr.length;a++){var o=Nr[a];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Nr.length&&(a=Nr[0],a.blockedOn===null);)dM(a),a.blockedOn===null&&Nr.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var n=a[o],r=a[o+1],s=n[Aa]||null;if(typeof r=="function")s||LI(a);else if(s){var l=null;if(r&&r.hasAttribute("formAction")){if(n=r,s=r[Aa]||null)l=s.formAction;else if(fy(n)!==null)continue}else l=s.action;typeof l=="function"?a[o+1]=l:(a.splice(o,3),o-=3),LI(a)}}}function cM(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function py(e){this._internalRoot=e}bh.prototype.render=py.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));var a=t.current,o=Va();lM(a,o,e,t,null,null)};bh.prototype.unmount=py.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;lM(e.current,2,null,e,null,null),gh(),t[Mi]=null}};function bh(e){this._internalRoot=e}bh.prototype.unstable_scheduleHydration=function(e){if(e){var t=zI();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Nr.length&&t!==0&&t<Nr[a].priority;a++);Nr.splice(a,0,e),a===0&&dM(e)}};var RI=TI.version;if(RI!=="19.2.4")throw Error(M(527,RI,"19.2.4"));_e.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=SF(t),e=e!==null?MI(e):null,e=e===null?null:e.stateNode,e};var WG={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:ie,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(zd=__REACT_DEVTOOLS_GLOBAL_HOOK__,!zd.isDisabled&&zd.supportsFiber))try{vc=zd.inject(WG),za=zd}catch{}var zd;vh.createRoot=function(e,t){if(!EI(e))throw Error(M(299));var a=!1,o="",n=aA,r=oA,s=nA;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=rM(e,1,!1,null,null,a,o,null,n,r,s,cM),e[Mi]=t.current,ly(e),new py(t)};vh.hydrateRoot=function(e,t,a){if(!EI(e))throw Error(M(299));var o=!1,n="",r=aA,s=oA,l=nA,i=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(r=a.onUncaughtError),a.onCaughtError!==void 0&&(s=a.onCaughtError),a.onRecoverableError!==void 0&&(l=a.onRecoverableError),a.formState!==void 0&&(i=a.formState)),t=rM(e,1,!0,t,a??null,o,n,i,r,s,l,cM),t.context=sM(null),a=t.current,o=Va(),o=Cx(o),n=qr(o),n.callback=null,Wr(a,n,o),a=o,t.current.lanes=a,Sc(t,a),un(t),e[Mi]=t.current,ly(e),new bh(t)};vh.version="19.2.4"});var hM=Fo((Ude,mM)=>{"use strict";function pM(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pM)}catch(e){console.error(e)}}pM(),mM.exports=fM()});var YG={};Hc(YG,{Alert:()=>Nl,AppShell:()=>zT,BRAND_GRADIENT:()=>Ui,Badge:()=>Cp,Button:()=>ol,COMPONENT_CATEGORIES:()=>SM,Card:()=>M0,ChatAttachment:()=>iR,ChatAttachmentButton:()=>mR,ChatComposer:()=>nR,ChatComposerInput:()=>Pp,ChatDrawer:()=>rR,ChatMessage:()=>xT,ChatMessageBubble:()=>bT,ChatMessageList:()=>vT,ChatMessageMetadata:()=>ST,ChatMessageTTSButton:()=>LT,ChatScrollButton:()=>qp,ChatSendButton:()=>vR,ChatSoundWave:()=>Bp,ChatThread:()=>ET,ChatToolsButton:()=>cR,ChatVoiceBar:()=>LR,ChatVoiceButton:()=>xR,CheckBox:()=>lC,Chip:()=>P1,CodeBlock:()=>W1,DataTable:()=>a9,DateTimeInput:()=>Y6,Dialog:()=>p1,Disclosure:()=>H1,Divider:()=>q1,FOCUS_RING:()=>ue,FOUNDATION_PAGES:()=>xF,HEADER_TYPES:()=>m1,Header:()=>V5,ICON_NAMES:()=>vv,ICON_REGISTRY:()=>zu,Icon:()=>Q,Image:()=>F1,Label:()=>U1,Lightbox:()=>G1,List:()=>B1,MESSAGE_MARKER:()=>Ul,Menu:()=>_1,OtpInput:()=>K6,Pagination:()=>Sd,Popover:()=>Cs,PopoverAnchor:()=>Pl,PopoverContent:()=>Ss,PopoverTrigger:()=>Qf,ProgressBar:()=>h0,Radio:()=>uC,React:()=>KG,ReactDOMClient:()=>XG,STANDALONE_DENSITY:()=>T0,STANDALONE_SENDER:()=>R0,Select:()=>Cd,SelectionCard:()=>f0,Sidebar:()=>p9,SidebarMenuItem:()=>m9,Skeleton:()=>gd,Slider:()=>cC,Spinner:()=>Co,Stepper:()=>Y1,Switch:()=>dC,TEXT_COLORS:()=>Lh,TEXT_COLOR_CLASSES:()=>Vi,TEXT_ROLES:()=>gy,TEXT_ROLE_WEIGHTS:()=>wM,TEXT_WEIGHTS:()=>vo,Table:()=>wd,TableBody:()=>Rd,TableCell:()=>Is,TableHead:()=>Td,TableHeader:()=>Ld,TableRow:()=>wr,Tabs:()=>kT,TabsContent:()=>_0,TabsList:()=>O0,TabsTrigger:()=>D0,Text:()=>Gh,TextField:()=>sC,Toaster:()=>J6,Tooltip:()=>ld,Upload:()=>p0,breakpoints:()=>Vy,buttonVariants:()=>Yc,cn:()=>R,contract:()=>Fc,flattenGroup:()=>VT,formatFileSize:()=>Vc,formatIsoDate:()=>Sn,getResponsiveValue:()=>Uy,groupsForPage:()=>bF,isResponsiveValue:()=>Uc,isSlotFilled:()=>Jn,labelVariants:()=>V1,pageForGroup:()=>GT,pageItems:()=>Lp,parseIsoDate:()=>Zo,responsiveClasses:()=>qy,splitDescription:()=>Mp,storyTitle:()=>LM,textVariants:()=>zh,toast:()=>n1,tokens:()=>P0,useChatStreamScroll:()=>Yp,useMergedRef:()=>cn});var SM=["Foundations","Form","Content","Navigation","Feedback","Overlays","Shell","Chat"],gy=["display","h1","h2","h3","h4","h5","h6","paragraph","bodyLg","bodyMd","bodySm"],vo=["bold","semibold","medium","regular"],wM={display:["bold","semibold"],h1:["bold","semibold"],h2:vo,h3:vo,h4:vo,h5:vo,h6:vo,paragraph:vo,bodyLg:vo,bodyMd:vo,bodySm:vo},Lh=["primary","secondary","disable","invert","brand","success","error","warning"],Fc={Button:{category:"Foundations",status:"implemented",native:{state:"implemented"},axes:{type:["primary","ghost","text"],color:["primary","light","danger","dark"],size:["large","medium","small","micro"],width:["auto","full"]},booleans:["disabled","isLoading"],divergences:[{figma:"`Colors` includes a `Disable` value, and `State` offers only Default and Hover",ours:"`disabled` is a boolean that composes with every `color`",reason:'Disabled changes semantics and interaction, not just palette. Modelling it as one more colour makes "disabled danger button" unrepresentable and lets a caller set a colour that silently means non-interactive.'},{figma:"no `width` axis",ours:"`width: auto | full`",reason:"Additive, and recorded as ours rather than passed off as Figma's. Both values have live call sites; the component cannot drop the axis."},{figma:"no icon-only variant on the General set \u2014 every published step carries horizontal padding and a label slot",ours:"an `iconOnly` plain prop that swaps the size step for a square one and forces the auto width",reason:'Between 74 and 96 icon-only buttons in the chat surface alone reach past the axes to get this today, overriding the padding through a class string AND passing the non-default width. A prop rather than an axis value because the width axis is pinned by an equality lock and, more to the point, "the label is a glyph" is a fact about the content rather than a visual variant. It is typed as a union so a nameless icon-only button does not build.'},{figma:"the `Colors` value carrying `#0074E7` is called `Brand`",ours:"the same value is called `primary`",reason:"A NOTE, not a queued rename (UMK-1091). The values agree exactly \u2014 this is one word, not one colour. Renaming the axis reaches 49 call sites, 34 of them in `apps/mobile`, plus the published prototyping starter, which is not typechecked and would render colourless with no error. Recorded here so the next reader comparing this component to Figma does not report the spelling as drift."},{figma:"no loading state",ours:"`isLoading` boolean",reason:"Additive. Async submit buttons need it and it composes with every other axis, so it is a boolean rather than a `State` value."}]},Alert:{category:"Feedback",family:"feedback",status:"implemented",native:{state:"implemented"},axes:{type:["alert","toast"],function:["success","info","warning","danger"],size:["large","medium","small"],treatment:["full","accent","coach","banner"]},divergences:[{figma:"no treatment axis of any kind \u2014 the set publishes only Type, Function and Size",ours:"`treatment: full | accent | coach | banner`, defaulting to `full`",reason:"The app's own callout has six looks this component could not express, and 19 of its 30 live instances are the left-accent shape while four more are a gradient banner. Without the axis those 23 have nowhere to migrate onto. The values are built from the published callout token group, whose keys are that component's own variants, so the colours are read rather than invented. Four values rather than three because `full` is pinned byte-identical to what shipped before the axis existed, which leaves the coaching look \u2014 a full border and coloured ink on a green surface \u2014 with no arm of its own; the alternative was approximating it, which is what reading the token group exists to make unnecessary."},{figma:"`Show Icon` is a boolean and `Icon` an instance swap",ours:"one `icon` prop that takes a node, with a per-`function` default, and `null` to hide it",reason:'Two Figma properties for "which glyph" and "is there a glyph" collapse into one nullable prop in code, where absence is already expressible. A separate boolean makes "no icon but here is the icon" representable, and one live call site passes a custom glyph with no variant at all.'},{figma:"`Function` is the axis name",ours:"the axis keeps Figma's word here; the PROP is `variant`",reason:"Same split as `Text`, whose `role` axis is a `variant` prop: this file declares the vocabulary, not the prop names. `function` is a reserved word, so it can never be destructured or shorthanded, and `function=\"danger\"` reads as nothing at a call site. `variant` is this package's standard name for a component's primary semantic axis."},{figma:"Toast publishes a close button inside the same component set",ours:"dismissal belongs to the toast HOST, not to the Alert element",reason:"An Alert rendered inline has nothing to dismiss it from \u2014 the surface owning it decides whether it can go away. The toast host (sonner) already owns the queue, the timer and the close affordance, so putting a second one on the element would give two things the power to remove one toast."}]},Badge:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{color:["primary","warning","success","danger","light","bestseller","gradient"],size:["xlarge","medium","small","micro"]},booleans:["showIconLeft","showIconRight"],note:"Every colour resolves to a published token. `bestseller` is the odd one and deliberately so: it is the SOLID success surface where the other five are 10% tints, which is why its text inverts. A refactor that flattens the six onto one tint shape loses exactly that."},Chip:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{state:["default","active"],size:["huge","xlarge","large","medium","small","micro"]},booleans:["showIconLeft","showIconRight"],note:"`huge` sits above `xlarge` on the ramp and is kept as published \u2014 it is a whole word Figma uses, not an abbreviation of the kind slice 3 reverted."},TextField:{category:"Form",family:"form-controls",status:"implemented",native:{state:"implemented"},axes:{size:["large","small"]},booleans:["error","disabled"],divergences:[{figma:"`Status` is a nine-value enum: Default, Active, Filled, Filled Label, Error Filled, Error Not Filled, Disable, Disable Filled, Error Disable",ours:'`error` and `disabled` booleans; "filled" is derived from the value and never passed',reason:'Those nine values are three orthogonal booleans wearing an enum \u2014 error \xD7 disabled \xD7 hasValue. A literal nine-value prop makes invalid states representable (there is no "Error Disable Filled") and forces every caller to recompute a combination the component can see for itself.'},{figma:"label, helper text and error message sit in a shared Field wrapper",ours:"every control owns its own label and error message through a `label` prop",reason:"A wrapper is a second component every caller has to remember, and forgetting it yields an unlabelled control that renders perfectly. Owning the label makes the association impossible to omit. Applies to all six controls of slice 2."}]},CheckBox:{category:"Form",family:"form-controls",status:"implemented",native:{state:"implemented"},axes:{size:["xlarge","large","medium","small"]},booleans:["error","disabled","indeterminate"],pendingAxes:["label","hover","active"],divergences:[{figma:"`Size=XL` exists, but its BOX is 18px \u2014 the same as Large \u2014 and only the label's type scale changes",ours:"`xlarge` is a 20px box, one rung above Large on the same two-pixel rhythm",reason:"Read from `01 Check Box` 121:1457 on 2026-09-18 (UMK-1091): the published ladder is Large 18, Medium 16, Small 14, and XL repeats Large's box. This component does not vary its label type by size, so adopting XL literally would leave two of four sizes pixel-identical and the axis meaningless. The extra rung is ours; the three below it are Figma's."}],note:"Figma publishes Label, Hover and Active alongside Size; their values were not read out of the file. Hover and active are CSS states here rather than props, so they may never become axes. The top step was spelled `extraLarge` until slice 5 normalised it to `xlarge` \u2014 an inherited entry edited deliberately, and a spelling normalisation rather than a vocabulary change: camelCase inside a size value reads badly beside `small`/`medium`/`large`, and `Dialog` already shipped `xlarge`."},Radio:{category:"Form",family:"form-controls",status:"implemented",native:{state:"implemented"},axes:{size:["large","medium","small"]},booleans:["error","disabled"],pendingAxes:["label","hover","active"],note:"No indeterminate boolean, unlike CheckBox: a radio in a group is chosen or it is not, and there is no partial selection to express."},Switch:{category:"Form",family:"form-controls",status:"implemented",native:{state:"implemented"},axes:{size:["large","medium","small"]},booleans:["disabled","loading"],pendingAxes:["label","hover","active"],divergences:[{figma:"Toggle",ours:"Switch",reason:"Named for what the control does rather than for the Figma set, and kept distinct from the toggle BUTTONS elsewhere in the app. Same component, different word; recorded so nobody renames it back thinking the sets diverged."},{figma:"`05 Toggle` 775:3361 publishes ONE size, a 44x24 track",ours:"a `size` axis of large, medium and small",reason:"Recorded in UMK-1091, having gone unstated since the axis was written. Our `medium` IS the published size \u2014 44x24 \u2014 so the parity answer is the default and the other two rungs are ours. They have live call sites in dense settings rows, so the axis cannot simply drop to match; naming it here stops the next reader reporting three sizes as drift, and stops anyone treating `large` as the Figma one."},{figma:"the field sets publish error and required states",ours:"Switch carries neither an error boolean nor a required prop",reason:"A toggle applies its change immediately rather than behind a submit, so there is nothing to validate against. A setting that needs saving before it takes effect is a checkbox, not a switch."},{figma:"no loading state",ours:"`loading` boolean",reason:"Additive. An instantly-applied change can be in flight, and that has to be visible while it is. It composes with every size, so it is a boolean rather than a state value."}]},Slider:{category:"Form",family:"form-controls",status:"implemented",native:{state:"implemented"},axes:{size:["large","small"]},booleans:["disabled"],note:"Slice 2 required a visible label on all six controls so a caller could not produce an unlabelled one by omission. This entry narrows that: the prop is a union of a visible label OR an accessible name, because the A2UI wire format that feeds this control carries no label at all and a string name is the only one available. The compile-time gate is kept \u2014 omitting both still fails to build \u2014 but the visible half is given up on the name arm. The other four controls are unchanged and still require the visible label.",divergences:[{figma:"`Slider` 1308:8026 publishes a `Size` axis (Large, Small) and nothing else \u2014 no state, no disabled variant",ours:"a `size` axis matching it, plus min, max, step and an opacity fade when disabled",reason:'Corrected in UMK-1091: this said "no slider is published" until the set was read on 2026-09-18, and the false claim is why the thumb drifted unchecked. Track heights and thumb diameters now come from that set. The disabled treatment stays an opacity fade because the set publishes no disabled variant \u2014 replacing it would be invention rather than reconciliation.'},{figma:"the reference design system never announces a formatted value",ours:"an optional formatter supplies a spoken value alongside the raw number",reason:"A percentage or a unit-bearing value otherwise reaches assistive technology as a bare integer, which is a gap in the reference rather than a decision. Deliberately ahead of it."}]},DateTimeInput:{category:"Form",family:"form-controls",status:"implemented",native:{state:"partial",missingAxes:["selection"],missingProps:["withTime","rangeValue","defaultRangeValue","onRangeChange","presets","portal"],reason:"UMK-1185 added the admin pickers' modes on the web only: a date range with an Apply/Clear draft, a local date-time value (YYYY-MM-DDTHH:mm, parsed and formatted in shared/date-input.ts so native can reuse it), one-click presets, and `portal` (render the calendar at the page root when an ancestor would clip it). Native opens the platform picker, which has no anchored panel for `portal` to move; the range and time modes are queued.",owner:"UMK-1193"},axes:{size:["large","small"],selection:["single","range"]},booleans:["error","disabled","withTime","portal"],note:"Slice 2 required a visible label on all six controls so a caller could not produce an unlabelled one by omission. This entry narrows that: the prop is a union of a visible label OR an accessible name, because the A2UI wire format that feeds this control carries no label at all and a string name is the only one available. The compile-time gate is kept \u2014 omitting both still fails to build \u2014 but the visible half is given up on the name arm. The other four controls are unchanged and still require the visible label.",pendingAxes:["calendar","date"],divergences:[{figma:"the Calendar page publishes further sets beyond Calendar and Date",ours:"only the Calendar and Date sets are taken",reason:"The rest of that page is scheduling surface this product has no use for. Naming the boundary keeps a later reader from reading the omission as an oversight."},{figma:"one component set, no platform note",ours:"on native the box is a button that opens the PLATFORM picker (the system dialog on Android, the system inline calendar on iOS) rather than a typeable field with a drawn calendar, and it displays DD/MM/YYYY where the web box shows the ISO string it is typed in",reason:"Built in UMK-1128, when two screens needed a date. A phone has no reason to type a date and the OS already ships the calendar its users know, so the native sibling is a design decision rather than a port of the web file. What does not diverge is the VALUE: both platforms parse and emit YYYY-MM-DD through one shared module, the same bytes an HTML date input sends."}]},OtpInput:{category:"Form",family:"form-controls",status:"implemented",native:{state:"absent",reason:"A native OTP input already exists at apps/mobile/src/auth/views/OtpInput.tsx, and this web entry mirrors it. Moving it into @umkmall/ui/native is a separate change with no ticket yet; until then the app owns it."},axes:{size:["large","small"]},booleans:["error","disabled"],note:'ONE real input with `autocomplete="one-time-code"`, drawn as `length` boxes. The OS delivers an SMS/WhatsApp code as one autofill into one field, so six separate inputs each receive nothing \u2014 the reason the native control is built this way and the reason this one is. Labelled by the visible-label OR accessible-name union `DateTimeInput` uses.'},Tabs:{category:"Navigation",family:"content",status:"implemented",native:{state:"implemented"},axes:{size:["large","small"],state:["default","active"]},booleans:["showIconLeft","showNotif","showTitle"],divergences:[{figma:"`State` is an axis with values Default and Active",ours:"no `state` prop; a trigger reads its state from the active value on the shared context",reason:"Which tab is active is a property of the tab SET, not of one trigger. A per-trigger prop makes two simultaneously-active tabs and a set with none representable, and both render perfectly. The vocabulary is kept so the two can still be compared."},{figma:"`Show Notif` is a boolean toggling a badge whose content is a count",ours:"a `notif` number; supplying it is what shows the badge",reason:"The published badge reads a number. A boolean can say the badge is present and cannot say what it displays, so a component honouring the boolean literally would have to invent the count or hardcode it. The published vocabulary is kept here because the toggle is genuinely what Figma exposes."}],note:"The entry is keyed `Tabs`, matching the component, its story and its native sibling; it was `Tab` until UMK-979 because the axes Figma publishes describe ONE tab rather than the set, which was a real observation that cost every reader a lookup. The axis values still describe one tab. Slice 1's note asked the slice that builds it to read these values rather than invent them; slice 5 read them and the note is discharged. The component's own invented `default | outlined` treatment axis has no Figma counterpart and was discarded rather than contracted \u2014 which is precisely what that note existed to prevent."},Tooltip:{category:"Feedback",family:"feedback",status:"implemented",native:{state:"absent",reason:"Decided, not deferred: hover-triggered, and touch has no hover. A control that needs to explain itself does so in its label or hint. Standing decision UMK-1127.",owner:"UMK-1127"},axes:{color:["dark","white"],size:["large","small"]},booleans:["showClose"],divergences:[{figma:"`Arrow` is a six-value axis: Top Left, Top Mid, Top Right, Bottom Left, Bottom Mid, Bottom Right",ours:"no arrow axis; `side` and `align` place the tip and the arrow follows the RESOLVED placement",reason:"Those six values are the consequence of where the tip ended up, not an independent choice. Exposing them as a prop lets a caller pin an arrow to the top while collision detection flips the tip to the bottom \u2014 a tooltip pointing away from its own trigger, which renders perfectly and is simply wrong."}],note:"Slice 1 recorded this as slice 4 and UMK-875 places it in slice 3; corrected before it was built, because the structural guard checks a declared entry HAS a slice, never that the value is right. `showClose` defaults OFF here though Figma defaults it on \u2014 a tip that closes on pointer-leave has nothing for a close button to do."},Skeleton:{category:"Feedback",family:"feedback",status:"implemented",native:{state:"implemented"},axes:{shape:["text","circle","rect"]},divergences:[{figma:"no skeleton is published",ours:"a shape primitive with one shared shimmer, styled from published neutrals",reason:'The axis here was not read from Figma because there is nothing to read. Recorded so a later reader does not assume the vocabulary was copied from a design and quietly "correct" it against a set that does not exist.'},{figma:"n/a",ours:"hidden from assistive technology rather than announced",reason:"A skeleton is a placeholder, and a live region firing on every page load is noise that trains people to ignore it. The surface that owns the loading state does the announcing; this element deliberately says nothing."}]},Text:{category:"Foundations",status:"implemented",native:{state:"implemented"},axes:{role:gy,weight:vo,color:Lh},note:"Weight is a SEPARATE axis from role, unlike the retired `Typography` which baked weight into the variant name. `TEXT_ROLE_WEIGHTS` says which weights each role actually publishes."},Icon:{category:"Foundations",status:"implemented",native:{state:"implemented"},axes:{size:["xs","sm","md","lg","xl"],color:Lh},pendingAxes:["name"],note:'`name` is enumerated by the registry in `primitives/Icon/registry.ts`, not here \u2014 the contract would have to be edited on every glyph added, and the registry is already the single list. Listed as pending so its absence does not read as "Icon has no name axis".'},Sidebar:{category:"Shell",status:"implemented",native:{state:"absent",reason:"A PORT WOULD BE A DIFFERENT COMPONENT, not a mirror, which is why this is a decision rather than a queue position. The web component is a rail PLUS a drawer PLUS slots; native has no rail, and the drawer half already exists on the Teman AI surface doing the part the web one had to be taught \u2014 translate off-screen, `pointerEvents` none, hidden from the accessibility tree while closed. Building a mirror would ship a rail nothing renders."},axes:{state:["menu","submenu"]},booleans:["collapsed","open","active","expanded","nested"],divergences:[{figma:"`State: Non Login | Login | Login - Learn | Login-Chat`",ours:"no such axis \u2014 whether a viewer is signed in is the caller's boolean, and which surface is mounted is the caller's slot content",reason:'The published axis mixes two independent facts: an authentication state, and which product surface the sidebar is framing. As one enum they multiply rather than compose, so "signed in, on the learning surface" and "signed out, on the learning surface" cannot both be said, and the component would have to know what a learning surface is. Split rather than carried, so the shell stays chrome.'},{figma:"`Satate: Menu | SubMenu` on the `Menus` set",ours:"`state: menu | submenu`",reason:"The published name is a typo rather than a word. Carrying it would spell a misspelling into every call site in the repo permanently, and correcting it later would be a breaking rename of a prop nobody chose. Recorded here instead so the correction is visibly deliberate and nobody restores it on their next read of the design file."},{figma:"`Size: Small | Large` on the sidebar set",ours:"a `collapsed` boolean",reason:'A two-value axis whose values mean "yes" and "no" is a boolean wearing an enum. Callers already hold this state as a boolean, it toggles rather than being selected from a list, and as a boolean it composes with every other prop instead of multiplying against them. Same reasoning that made `Button.disabled` a boolean rather than a `Colors` value.'},{figma:"`Show Dropdown` and `Icon Dropdown` as separate properties from the state",ours:"the disclosure is shown exactly when `state` is `submenu`; `disclosure` only replaces the glyph",reason:"The set says one fact twice. Kept as two independent props, a caller can build a row that owns a submenu and shows no way to open it, or a row that discloses nothing \u2014 both representable, both wrong, and neither catchable at compile time."},{figma:"no breakpoint is published, and the surface this shape was read off switches at the large one",ours:"the rail and the drawer cross over at the medium breakpoint, matching every other responsive decision in this package",reason:"Recorded rather than adopted silently, because either choice looks like a copy of something. One breakpoint across the package beats matching one app: a shell whose frame and whose dialogs change at different widths has a band where they disagree, and no test in this package can see a layout band."}],note:"ONE ENTRY, TWO EXPORTS. `Sidebar` and its row `SidebarMenuItem` ship from the same module and are contracted together here, because the row has no meaning outside the shell and a second entry would split the `Menus` set's divergences away from the set they belong to: `state`, `active`, `expanded` and `nested` are the ROW's, while `collapsed` and `open` are the shell's. Every other entry in this file covers exactly one export, so this is the exception and it is stated rather than left to read as a name/prop mismatch. The session-row shape has NO published source \u2014 Ensyra publishes no chat-session row, so it was derived from the app's own `SessionItem`, the same way `Select` was in UMK-961. `01 Sidebar/Profile` (`521:910`) WAS read and deliberately rejected: it is the dashboard's sidebar and its only axis names which page is showing, which is the caller's routing rather than a structural variant \u2014 do not re-open it. Sign-out is not a prop at all: the surface this comes from signs out with a hard navigation for a reason that a callback would silently let a caller break, so the footer slot takes the caller's control instead."},Header:{category:"Shell",status:"implemented",native:{state:"absent",reason:"A PORT WOULD BE A DIFFERENT COMPONENT. It mirrors Ensyra's published `Navbar` whole \u2014 seven `type` values, of which one has a consumer \u2014 and its mobile/desktop split is a `md:` BREAKPOINT rather than a prop. That is exactly the part that does not translate: a native screen has one width and a platform header of its own. Read the entry's divergences before starting one."},axes:{type:["nonLogin","nonLoginBlack","login","temanAiLearn","temanAiChat","dashboard","detailPage"]},booleans:["showBack","showTab","showTextLeft","scrolled"],divergences:[{figma:"`Type: Non Login | Non Login_Black | Login | Teman AI -Learn | Teman AI - Chat | Dashboard | Detail Page`",ours:"the same seven values, respelled `nonLogin | nonLoginBlack | login | temanAiLearn | temanAiChat | dashboard | detailPage`",reason:'Two things recorded rather than repaired. First the SPELLING: the published names separate their words three different ways \u2014 a space, an underscore, and a hyphen that appears on both sides of a word and on neither. Carrying that literally would spell an inconsistency into every call site permanently, so the words are taken as published and the separators normalised by one rule: split on space, hyphen and underscore, lowercase each word, join in camelCase, which is how this package already writes a multi-word value. Second the AXIS ITSELF: these seven conflate three independent facts \u2014 whether a viewer is signed in, which product surface the bar is framing, and what kind of page it is. As one enum they multiply rather than compose, so "signed in, on a detail page" cannot be said at all. It is mirrored whole anyway, deliberately, because a library that half-adopts a published axis diverges from the file it is meant to mirror; the conflation is recorded here so design can split the axis and the library can follow, and it is NOT fixed unilaterally.'},{figma:"`Size: Mobile | Desktop`",ours:"no such prop \u2014 one component that reflows at the package breakpoint",reason:"The two published sizes are the same bar at two widths, not two components: the height, the inset and the title step, and nothing else changes. Exposed as a prop it would have to be set by hand from a viewport measurement the caller does not have at render time, and a bar told it is the small one on a wide screen is a bug nothing can catch. As a breakpoint it is always right. Recorded rather than adopted silently because the published set does say Size, and the next reader should be able to tell this was a decision. `01 Chat Bar` was expected to get the same treatment and DOES NOT \u2014 see its own first divergence, which compares the two: its published pair differs in nine measurements rather than three, so it is two drawings and takes a real prop. Two published Size axes, two answers, both stated."}],note:"THE ONE REAL CONSUMER IS `temanAiChat`. `AIPageHeader` has exactly one call site, the TemanAI chat popup, and that is the value it corresponds to \u2014 named here so the first migration is a mapping rather than a guess. Its scroll state, its single back affordance and its one actions slot are all present in this entry; nothing else about it is. The other six values ship with no consumer at all, which is an accepted cost of mirroring the published set whole rather than evidence that they are wanted. The back affordance takes a caller-supplied element or render function because this package may not import a router or a link library, the same constraint `Menu.linkComponent` answers; the scroll state is presentation only, and the caller owns the listener."},AppShell:{category:"Shell",status:"implemented",native:{state:"absent",reason:"ALMOST EVERYTHING IT OWNS IS A BROWSER PROBLEM. The dynamic viewport height exists because mobile browser chrome hides the bottom of a full-height page (UMK-653); a native screen has no such chrome and safe-area insets are a different mechanism. The overflow chain is a flexbox-in-a-page concern, and native's scroll view already owns its scrolling. The capture-phase scroll spy has no equivalent at all \u2014 native scroll events go to the scroll view's own handler, so a native shell would take a callback rather than listen from above. What would survive is the slot arrangement and the route-keyed reset, which is the smaller half; Expo Router's layout routes are the native frame and a library shell would compete with them."},axes:{},pendingAxes:["breakpoint"],booleans:["scrolled"],note:"THE SAME HONEST-EMPTINESS CASE `Menu` IS. There is no published set for an app frame, so there are no unread values waiting in a file, and the code offers no evidence for an axis either: the frame renders one way and varies only by viewport. `axes: {}` is spelled explicitly because the property is required, not because the emptiness is incidental \u2014 inventing a multi-value axis to satisfy the structural guard is exactly the fabrication this file exists to prevent. What IS pending is the crossover width at which the in-flow navigation column gives way to the drawer: it is fixed at the package breakpoint today, matching `Sidebar`, whose entry records that choice as a divergence \u2014 this frame follows it rather than recording it twice. If a shell set is ever published and varies that crossover, this is the axis it becomes. The scroll flag is presentation state the frame OWNS rather than takes: it listens in the capture phase because the scroller belongs to the caller content and a scroll event does not bubble, it skips targets with nothing to scroll vertically, and it is cleared by a caller-supplied route key rather than inferred. `routeKey`, `onScrolledChange` and the four slots are plumbing rather than variants and are deliberately absent from the axes above. Reachable from the package root as well as from the `layouts` subpath; the reasoning is in `layouts/index.ts`."},Lightbox:{category:"Overlays",status:"implemented",native:{state:"implemented"},axes:{},pendingAxes:["scrim"],booleans:[],note:"THE SAME HONEST-EMPTINESS CASE `Menu` AND `AppShell` ARE. No published set exists for an image viewer, so there are no unread values waiting in a file, and the code offers no evidence for an axis either: the surface is full-bleed at every width and renders one way. `axes: {}` is spelled explicitly because the property is required, not because the emptiness is incidental \u2014 inventing a multi-value axis to satisfy the structural guard is exactly the fabrication this file exists to prevent. What IS pending is the backdrop density: it is one value today, chosen so the surface reads as the image's background rather than as a dimming of what is behind, and a lighter treatment for a viewer opened over a light page is the axis this would become. It composes the Radix dialog DIRECTLY rather than widening `Dialog`, whose presentation is fixed by decision and whose modality claim is hardcoded because it has no non-modal form; bending either to serve this component would reverse both. It is modal, so the scroll lock, the focus trap, the background inertness and the modality announcement travel together and its guard reads those side effects rather than the attribute. The image is rendered by a plain element rather than through `Image`, whose refusal to render a src that is not remote-https is an SSRF control that is correct there and would blank every base64 preview here \u2014 the guard pins that case. No zoom, no pan, no gallery and no drag gesture: the component this replaces has none, and drag-to-dismiss stays module-private inside `Dialog`. The two affordances are callbacks rather than variants \u2014 supply one and its control appears \u2014 and are deliberately absent from the axes above."},ChatComposer:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{tone:["neutral","info","warning","danger"]},pendingAxes:["density"],booleans:[],divergences:[{figma:"`Type: Desktop | Mobile`, the same shape `Navbar` publishes as `Size`",ours:"NO such axis \u2014 one presentation, on the published MOBILE values",reason:"A product decision, and it reverses an earlier one recorded here: this briefly shipped the pair as a real `variant` prop on the grounds that nine measurements differ. The surface does not want two drawings \u2014 it wants one composer at every width, with the compact spacing. Collapsing them also removes the prop nobody could set correctly without knowing the viewport, and puts this entry back in agreement with `Header`, which reaches the same single-presentation answer from the same published pair. The published WIDTHS (760 and 328) go with the axis rather than surviving it: those are artboard measurements, and the component is full-width in every surface that renders it."},{figma:"ONE component named `01 Chat Bar`",ours:"`ChatComposer`, composed of `ChatComposerInput`, `ChatDrawer` and four named buttons \u2014 each usable on its own",reason:"The published set is one artboard because a design file has no other way to draw a composer. In code the parts have genuinely different lifetimes and consumers: a surface with an unusual toolbar builds its own arrangement from the same buttons rather than growing this component a prop per variation, and the editor and drawer are independently useful. The shell still owns the frame and the arrangement, so adopting `ChatComposer` whole remains the default path."},{figma:'the "Tingkatkan Gambar" quick-action pill, still published in the bar',ours:"no such element \u2014 the app deleted it from both layouts and moved it into the tools menu",reason:"A deliberate REMOVAL, not an omission, and recorded so nobody reinstates it from the design file. The pill and the menu row were two routes to one panel; the code kept the row and left an in-code note saying the pill was gone. Rebuilding it here would restore a duplicate entry point a shipped ticket had already closed."},{figma:"no focus or active state is published for the bar at all",ours:"a focus treatment on the shared BRAND focus pair, plus a shadow that lifts on focus",reason:"The set draws one resting bar. The surface has both an elevation and a visible active border, and a composer with neither reads as a block of the page rather than as somewhere to type. SETTLED: the colour is BRAND, not the teal the app's docked layout currently draws \u2014 Figma will publish it as `border.focus.brand`, and the hero layout already hardcodes that same value as a hex. The tokens are `border.focus.brand` (published) and `focus.halo` (overlay); UMK-872's rename landed in UMK-978, and `focus-ring-classes.ts` staying the single file that names them is what kept it a one-line change. Nothing to re-decide here \u2014 the teal is the thing that moves at adoption."},{figma:"no send-enablement rule is expressed at all",ours:"a `sendDisabled` boolean the caller owns",reason:"The rule the app applies \u2014 enabled once there is an attachment or at least two characters, and blocked while a photo compresses or an upload is in flight \u2014 is product logic about uploads and quotas that this component cannot see and must not learn. Exposed as one boolean so the shell can draw the state without owning the decision, which is the same split every slot here makes."},{figma:"three boolean properties \u2014 `Show Tools`, `Show Mic`, `Show Size`",ours:"four \u2014 `showTools`, `showAttachment`, `showVoice`, `showSize`",reason:'Figma\'s `Show Tools` gates the paperclip, which is `showAttachment` here; `showTools` gates the `+` menu the published set does not model at all (see `ChatToolsButton`). Renaming rather than reusing the published word is what keeps the two buttons distinguishable at a call site. Recorded also because the plan for this work said "four published booleans" and the file publishes three \u2014 a reader reconciling the two would otherwise go looking for a fourth.'}],note:"SHIPS UNCONSUMED, AND ADOPTION IS A VISUAL CHANGE. Nothing in `apps/` imports it \u2014 M4 (UMK-878) owns the call sites. Its geometry is Figma's and the app's composer chrome has NO responsive sizing at all, so the swap will move sizes rather than being like-for-like. THE SLOT BOUNDARY is the rest of the entry: a 45-row parity audit found 24 things the code has that the design does not publish, and every one \u2014 the slash menu, the ratio chip, the voice bar, the error banner, the file-required card, the fullscreen modal, the capability menus \u2014 renders into a named slot rather than becoming logic here. Every colour resolves to an existing token: the `composer.*` surface and border pair, the success surface for the file badge, the error and brand surfaces for the active controls, and the shared field focus ring. No Ensyra dependency and no blocker on UMK-901."},ChatComposerInput:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{},pendingAxes:["size"],booleans:[],divergences:[{figma:"a TEXT layer inside `01 Chat Bar`, with a `Text` property for its placeholder",ours:"a component, with a placeholder SLOT alongside the text property",reason:"A string cannot express the landing composer's rotating, animated placeholder, and a host forced to choose between the property and its own animation would reimplement the editor to keep it. The text property stays as the fallback and is what most callers use."}],note:"A `<textarea>`, never a `contentEditable`: the element it replaces accepted no `inputMode`, no `enterKeyHint`, no `autoCapitalize`, no `spellCheck` and no accessible name \u2014 not by oversight but because a `div` cannot carry them. It AUTOGROWS, which is why it is not the library's multiline field (that takes a fixed row count). The autogrow is a measured effect rather than CSS because `field-sizing` is not yet supported widely enough; happy-dom has no layout engine, so the guard asserts the mechanism exists rather than a resulting height \u2014 this component shipped once claiming to grow with nothing but `rows={1}` behind it, and nothing in the suite could see it. The four editor events are pass-throughs and are NOT optional extras: every surface this serves needs all four, so a shell without them could not be adopted anywhere."},ChatDrawer:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{variant:["inherit","neutral","info","warning","danger"]},booleans:["collapsed"],divergences:[{figma:"`01 Chat Bar` draws attachments directly inside the bar, with no container of their own",ours:"a `ChatDrawer` that holds arbitrary children, and a separate `ChatAttachment` for each item",reason:"This component briefly WAS the attachment list \u2014 it took an `attachments` array, chose their treatment and rendered their chips \u2014 which made its name a lie: a drawer is the thing that holds, not the things held. Splitting them gives the chip a life outside a composer (a sent-message card and a file-picker list want the same chip) and gives the region a use beyond attachments (suggestion chips, a reply-to preview, a recording waveform). The published set has no opinion here because it draws one bar with one attachment in it."},{figma:"no handle, no collapse, no dismiss \u2014 the set draws one static bar",ours:"a toggle that draws a hairline when open and a caller-supplied SUMMARY when shut, plus a dismiss control gated on its callback",reason:"A drawer that cannot collapse is a container with a decorative bar on it. Collapse is CONTROLLED and collapsible only when both `collapsed` and `onCollapsedChange` are supplied \u2014 the shape `Menu` uses, which never owned its own open state either \u2014 so a host that wants \"collapse once four files are attached\" can drive it and one that does not gets no toggle at all. An earlier draft had a `showHandle` boolean drawing a decorative handle on a drawer that could not collapse: a control that looks operable and does nothing, which is why the handle now appears exactly when it works. Dismiss follows `Lightbox`'s rule \u2014 supply the callback and the control appears \u2014 because it is right for a warning and wrong for a drawer holding a file the user still needs. The COLLAPSED FACE is the other half: a shut drawer showing only a hairline says nothing about what it is holding, so `collapsedSummary` renders inside the same toggle in the line's place. Its content is the host's for the reason the buttons' labels are \u2014 \"4 Attachments\" is copy about a specific kind of content, and a container that takes arbitrary children cannot know whether it holds files, chips or a waveform."},{figma:"attachments are drawn INSIDE the bar",ours:"the drawer sits outside the bordered box, in the composer's `header` or `footer`, inside a shared TRAY",reason:"Not arrangement taste: the bordered box carries `focus-within` styling, so a drawer inside it made typing in the editor draw the focus band around the attachments too \u2014 a focus indicator claiming a region the focus was not in. Moving it out fixes that. What it moves INTO is the second half of the decision: the drawer first shipped as its own bordered panel floating above a separate bordered bar, two containers with the page showing between them. The reference surfaces draw ONE tinted tray with the white editor box resting inside it, so the fill and the radius moved to the tray (`COMPOSER_TRAY`) and the drawer became a transparent row. That is why its default variant is `inherit` and why the tone prop is on the composer."}],note:"RENDERS NOTHING WHEN EMPTY rather than an empty box: the composer's resting state is a bar with no drawer at all, so an always-present container would add a gap on the surface's most common state \u2014 and a caller would otherwise have to mount it conditionally, which is the job this does."},ChatAttachment:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{variant:["image","file"]},booleans:["showSize"],divergences:[{figma:"exactly ONE attachment, drawn inside the bar",ours:"a standalone component the drawer renders N times, up to the ten the upload path allows",reason:"Neither side as published, and deliberately so. The design models a single attachment and the product has always accepted ten; taking the design literally would ship a composer that cannot draw what the app already lets a user do, and taking the code literally would throw away the chip treatment."},{figma:"the composer displays no size anywhere in the app today, while the set publishes `Show Size`",ours:"implemented, in the B/KB/MB shape the SENT message card already uses",reason:"Figma has more here so it is implemented, but the shape was not free to choose: a chip reading 4.8 KB beside a message card reading 4,915 bytes is one file described two ways in two places a user sees seconds apart. `formatFileSize` is shared for that reason. Nothing consumes it yet \u2014 it is one of the additions M4 decides on at adoption."},{figma:"no upload state is drawn at all",ours:"a `status` prop, plus children placed inside the chip",reason:"The app's upload overlays are `absolute inset-0` children of EACH tile \u2014 the dim, the retry panel, the done badge \u2014 not a bar over the attachment area. They are positioned against THIS box, so a host cannot place them from outside it. With the chip exported, that content is ordinary children; the shell keeps a callback form only because a host that hands it an `attachments` array has no handle on an individual chip."}],note:"THE PREVIEW IS A PLAIN ELEMENT, NEVER THE LIBRARY `Image`. That component refuses any source which is not remote https \u2014 an SSRF control that is correct there and would blank every local blob and base64 preview here, since a composer's previews are all local by definition. It is the trap `Lightbox` already hit, and the guard pins the blob case directly. The FILE treatment is the half the app never built: its type-branching helper has four branches that all return identical grey classes, so the colour hook exists and is inert, and this is the design that was intended."},ChatToolsButton:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{state:["default","active"]},booleans:[],divergences:[{figma:"`02 Tools` publishes three types \u2014 Mic, Tools, Send \u2014 and no `+` menu",ours:"a fourth button the set does not model",reason:"The app has FOUR composer controls: a `+` that opens image, video and optimize, and a paperclip that opens the file picker. They sit side by side and open different things. Folding the `+` into the paperclip because the design file has only three types would misrepresent the surface; carried here with the divergence recorded so a designer adding it later finds the decision rather than a surprise."}],note:"Uses `composer-plus`/`composer-minus`, matching the app's live `+` control rather than the published `Type=Tools` glyph \u2014 which belongs to `ChatAttachmentButton`. `aria-pressed` is emitted because an open menu is genuinely a toggle."},ChatAttachmentButton:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{state:["default","active"]},booleans:[],divergences:[{figma:"`Type=Tools`",ours:'`ChatAttachmentButton` \u2014 the published word "Tools" names the paperclip',reason:"The app also has a control it calls tools (the `+` menu), so carrying Figma's word would make the two indistinguishable at every call site and put the wrong glyph on whichever one a reader reached for first. The published NAME is the only thing changed; the treatment and both glyphs are as drawn."}],note:"The active glyph is the published minus at 24px while the idle attach is 20px \u2014 a real difference in the set, carried as a per-state glyph size rather than normalised away."},ChatVoiceButton:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{state:["default","active"]},booleans:[],divergences:[{figma:"one `State=Active` treatment read across all three published types",ours:"an active fill that is PER BUTTON \u2014 red here, blue on the other three",reason:'The published set draws it that way already; what is recorded is that it must not be collapsed. Read as one state it looks like a single accent colour, and a later "consolidation" onto one constant compiles, renders, and turns a recording indicator into an arming one. The two facts genuinely differ: red says the microphone is live, blue says the next turn is armed. The guard asserts this button disagrees with the rest.'},{figma:"`State=Default` draws the mic as an outlined white circle",ours:"the same \u2014 SETTLED against the app's docked layout, which fills it grey",reason:'The app disagrees with itself here: its docked composer rests the mic on a flat grey while its hero composer rests it outlined, matching the published set. Recorded because "match the app" does not resolve on this button, and the answer chosen is the published one \u2014 so the docked layout is what moves at adoption, not this component. A grey fill was available as a token (`surface.secondary` is within 2/255 of the app\'s value) and was not taken.'}],note:"The glyph becomes a pause when active \u2014 a variant swap, not a recolour, and the detail an implementation reading only the colours would miss. The accessible name is the caller's because only the caller knows whether the next tap starts or stops the recording."},ChatSendButton:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{state:["send","stop","waiting"]},booleans:[],divergences:[{figma:"`State=Default` draws send as an outlined white circle, like the other two types",ours:"send rests FILLED, and its disabled state is a flat neutral rather than a fade",reason:`On the live surface send is the one control that is always the next thing you want, and drawing it like its neighbours makes the composer's primary action indistinguishable from its secondary ones. The disabled treatment follows from that: an opacity fade on a filled blue circle still reads as blue, so a send that cannot be pressed would still look primary \u2014 and the composer starts empty, so disabled is the state it spends most of its time in. Both are product decisions against the published set, recorded so neither is "corrected" back.`},{figma:"`State=Default | Active` \u2014 a pressed treatment, like the other two types",ours:"`state: send | stop | waiting`, and NO `active` boolean at all",reason:'Send is an action, not a switch, so it emits no `aria-pressed`: announcing `aria-pressed="false"` describes a toggle that can never be toggled, which is worse for a screen-reader user than announcing nothing. The axis replaced the boolean because the boolean could not say the thing that matters. This shipped briefly with `active` documented as "the in-flight look" while drawing the ordinary blue send glyph \u2014 so a composer on a surface that STREAMS EVERY REPLY had no way to become a stop button, and the one state a user most needs to see looked identical to every other. `stop` is the error surface, the same fill the recording microphone takes, because both interrupt something already running. `waiting` stays blue and only changes its glyph. The published `Active` has no successor here and is deliberately unimplemented rather than renamed.'}],note:"Availability is the host's rule \u2014 text length, attachments, uploads in flight \u2014 so this takes the ordinary `disabled` and owns none of it. THE LABEL AND THE HANDLER ARE THE HOST'S TOO, and in `stop` that is load-bearing rather than stylistic: a button drawing a stop square while still announcing \"Kirim pesan\" and still calling send is worse than one that never changed, so the component owns neither and the state cannot be set without the caller confronting both."},ChatSoundWave:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{state:["idle","listening"]},booleans:[],divergences:[{figma:"no published design source \u2014 `01 Chat Bar` draws the composer row and stops",ours:"five bars on one keyframe and five delays, scaled rather than resized",reason:"Recorded against the absence rather than left blank. `scaleY` rather than `height` because the bars sit inside a flex line: animating height reflows the row every frame and remeasures the label beside it. The stagger is five `animation-delay` values rather than five keyframe sets, which is what makes a waveform out of a single rule."}],note:"THE BAR COUNT IS A PROP, NOT AN AXIS. Five is what both surfaces draw and what the default is; a different count is a quantity rather than a look, and folding it into an enum would make `bars: 7` unsayable while adding nothing a reader could not already see. The bars take their colour from the brand fill and are not themable \u2014 a caller who wants a different one is asking for a different component."},ChatVoiceBar:{category:"Chat",family:"composer",status:"implemented",native:{state:"implemented"},axes:{size:["compact","landing"]},booleans:[],divergences:[{figma:"no published design source \u2014 `01 Chat Bar` publishes the microphone, not the listening state",ours:"a greenfield bar: puck and halo, label, waveform, stop",reason:"Recorded against the absence rather than left blank. The one published piece is the microphone glyph, which comes from the registry (`composer-mic`) rather than being redrawn here \u2014 the app inlined that artwork at both call sites and the two copies had already diverged, which is the same drift this entry exists to end."},{figma:"nothing published; the live surfaces paint `#F2F8FE`, `rgba(0,116,231,0.2)` and `#E5202E`",ours:"the `Surface/weak/brand` fill, the brand border at 20%, and the `Surface/default/error` stop",reason:"THREE OF THE FOUR HUES MOVE AT ADOPTION, stated here rather than discovered in a browser. The fill goes `#F2F8FE` \u2192 `#F0F7FF`, the stop `#E5202E` \u2192 `#E70000`; the halo and the border are the brand blue at 20% and are unchanged, since `#0074E7` IS the brand token. A literal colour is not sayable in this package \u2014 the family purge guard bans a hex and a raw palette step alike \u2014 so the choice was a token or a new token, and nothing about a listening bar argues for a colour the system does not publish. Native already spells these four in `apps/mobile/src/temanai/palette.ts` under a recorded delta (UMK-878), which is where the same question was answered the other way and for the other reason."}],note:`THE STOP CONTROL'S LABEL IS THE CALLER'S, and on this one that is not boilerplate: the button draws a PAUSE glyph on the error fill because the recording halts rather than being discarded, and a component that announced "Berhenti" over a pause shape would be describing a different outcome to a screen-reader user than to a sighted one. The bar announces itself politely \u2014 a row that appears mid-composition and is not focusable has no other way to be noticed \u2014 and owns no microphone, no permission prompt and no transcript: it is told it is listening.`},ChatMessage:{category:"Chat",family:"message",status:"implemented",native:{state:"implemented"},axes:{sender:["assistant","user","system"],density:["compact","balanced","spacious"]},booleans:[],divergences:[{figma:"no published design source \u2014 no message, bubble or transcript set exists in the file",ours:"a greenfield row with a sender axis, a density axis, and three slots",reason:`Recorded as a divergence rather than left blank because an absent source reads as "nobody checked". The prop shapes are read off a studied external reference implementation so the two APIs stay interchangeable, and every value is mapped onto this repo's own token ladder \u2014 the reference's numeric spacing scale is deliberately not carried, because a foreign ladder beside the named one would contradict the vocabulary the rest of this package reads.`},{figma:"nothing published about grouping, avatars or metadata placement",ours:"an avatar and a name in one header above the turn, a metadata slot below it, and no message object anywhere in the API",reason:"The three surfaces this has to serve carry three incompatible message shapes \u2014 the package contract, the agent store and the mobile client each name a different one \u2014 so a component taking any of them would be adoptable on exactly one surface. Owning chrome and slots is the only shape that serves all three, and it is the boundary the composer family already took: its shell records 24 things the app has that the component does not own."}],note:"SHIPS UNCONSUMED. Nothing in the app imports it \u2014 adoption at the call sites is UMK-878's, and it is where the four disagreeing scroll implementations get reconciled. The speaker is a header above the turn rather than a face beside it, because that is what both shipped surfaces draw and neither gives the user a face at all; a row beside the content was the first shape here and it was a layout nothing could adopt. The user-side flip is the column alignment rather than a reordered child list, so the accessibility order is identical on both sides of the transcript; asserting that is what the family behaviour guard exists for. It carries a stable marker attribute the scroll machinery finds the last message by \u2014 remove it and the pill and the new-message flag go quietly dead, which is why the attribute is asserted rather than merely written."},ChatMessageBubble:{category:"Chat",family:"message",status:"implemented",native:{state:"implemented"},axes:{group:["none","first","middle","last"],width:["auto","full"]},booleans:["ghost"],divergences:[{figma:"no published design source \u2014 see `ChatMessage`",ours:"a greenfield bubble with a grouping axis, a width override and a ghost presentation",reason:"Greenfield for the same reason the row is, and recorded rather than left blank so an absent source does not read as an unchecked one. The filled surface is the published callout surface, which is the exact colour the app bubble hardcodes today \u2014 so the value is not invented even though the component is."},{figma:"nothing published about non-text content inside a message",ours:"a ghost presentation that keeps the inline padding and zeroes the block padding",reason:"This is the placement contract for artifacts, and it is a padding rule rather than a component. A generated image, a video or an attachment renders as children; a raw child sits flush with the message edge, and wrapping it in a ghost bubble gives it the bubble inline padding so its leading edge matches the text column above it. Existing primitives supply the content \u2014 the attachment chip this package already publishes is hand-copied in both apps \u2014 so no media grid, player or generated-image component is needed for the arrangement to work."}],note:"IT RETURNS A FRAGMENT. The name and metadata slots are SIBLINGS of the bubble inside the row content column flex, each pulling back most of the column gap with a negative margin \u2014 wrap the three in a box and every grouped run gains a gap it did not ask for at each end. It reads its sender from the row it sits in and defaults to the assistant side when it stands alone, which is why `sender` is the row entry's axis and not restated here: the bubble never accepts one. The image primitive refuses any source that is not remote https, and generated images arrive as data, cache and presigned URLs, so those pass a plain element \u2014 the same carve-out the chat prose already records for composer previews."},ChatMessageMetadata:{category:"Chat",family:"message",status:"implemented",native:{state:"implemented"},axes:{status:["sending","sent","delivered","read","error"]},booleans:[],divergences:[{figma:"no published design source \u2014 no message, bubble or transcript set exists in the file",ours:"a greenfield row with a status axis and two free-form slots",reason:`Recorded against the absence rather than left blank, because an absent source reads as "nobody checked". The prop shapes follow a studied external reference so the two APIs stay interchangeable; the values resolve through this repo's own tokens.`},{figma:"nothing published about delivery status at all",ours:"five statuses, of which two share one glyph and differ only by label",reason:"Delivered and read are the same mark to a reader glancing at a transcript \u2014 the distinction is in the words, not the drawing, and giving them different glyphs would invent a visual difference the product has no opinion about. Only `error` takes a colour and only `sending` moves, so a settled row stays a timestamp rather than becoming a traffic light."}],note:"THE LABEL IS USED THREE WAYS and that composition is the contract: it is the visible word, the hover title, and \u2014 lower-cased \u2014 the accessible name, so a reader hearing the row hears one sentence rather than a capitalised fragment mid-phrase. THE SEPARATORS ARE COMPUTED from which pieces are actually present, so no dangling dot appears at either end when the host supplies only one of the three. The user-side reversal is the flex direction alone; the authored order stays timestamp, footer, status on both sides of the transcript."},ChatMessageList:{category:"Chat",family:"message",status:"implemented",native:{state:"partial",missingProps:["children"],reason:'A PERMANENT PLATFORM DIFFERENCE, NOT A QUEUE POSITION. On native the platform list owns scrolling and virtualisation, and a virtualised list renders from `data` through `renderItem` \u2014 rows outside the viewport are never mounted, which is the reason to reach for one on a phone. So the sibling takes `data`/`renderItem`/`keyExtractor` where the web list takes its rows as children. Flattening children into data was refused: it builds every row element up front and hands the list a key only React knows. Every axis crosses. THE ARRIVAL SIGNAL IS REPLACED RATHER THAN CARRIED: the web log region reads each arriving row aloud, and native sets no live region, because an Android live region on a scroll container re-reads the whole transcript on every change \u2014 once per streamed token. In its place, inside a `ChatThread`, a message that ARRIVES while the reader is scrolled away (the list grew and its last item changed) is announced once with a one-shot platform announcement, queued on iOS ("Ada pesan baru", the frame\'s `newMessageAnnouncement`), and the default pill\'s accessible name becomes "Ke pesan terbaru, ada pesan baru" while its mark is up; `streaming` reaches assistive technology as the busy state. What still does not carry, under the same standing decision: the CONTENT of an arriving row is never read aloud, and nothing is announced to a reader who is following at the bottom.',owner:"UMK-1127"},axes:{density:["compact","balanced","spacious"],align:["top","bottom"],gap:["none","2xs","xs","sm","md","lg"]},booleans:["streaming"],divergences:[{figma:"no published design source \u2014 no message, bubble or transcript set exists in the file",ours:"a greenfield log region with a density, an alignment and a gap override",reason:`Recorded against the absence rather than left blank, because an absent source reads as "nobody checked". The prop shapes follow a studied external reference so the two APIs stay interchangeable; the spacing resolves through this repo's own named rungs rather than through that reference's numeric ladder.`},{figma:"nothing published about loading older messages",ours:"an action fired from a sentinel at the top of the content, with a pending row of its own",reason:"The component holds the in-flight state rather than exposing a re-entrant callback, and that is the whole of the decision: the pending row renders BELOW the sentinel, so showing it pushes content down without un-intersecting the sentinel \u2014 the observer can fire again while the first call is still unresolved. Owning the guard here pairs it with the spinner already rendered here and keeps the contract for an adopter to one callback."}],note:"THE BUSY STATE IS ABSENT RATHER THAN FALSE when nothing is streaming: a region permanently announcing that it is not busy is noise on every settled turn, and a naive boolean binding produces exactly that with nothing failing. IT PUBLISHES ITS INNER CONTENT ELEMENT to the frame around it, which is the seam the scroll machinery attaches to \u2014 a list rendered outside a frame simply registers nothing and still works. Its own guard asserts the registration, because a context with a working default is a successful read rather than a blank screen."},ChatThread:{category:"Chat",family:"message",status:"implemented",native:{state:"implemented"},axes:{},pendingAxes:["pillPlacement"],booleans:[],divergences:[{figma:"no published design source \u2014 no message, bubble or transcript set exists in the file",ours:"a greenfield frame that owns the scroller and publishes it to the list inside",reason:'Recorded against the absence rather than left blank, because an absent source reads as "nobody checked". The seam is ours rather than borrowed: four hand-built scroll implementations exist in this product and no two agree on their thresholds, which is the defect this frame exists to end.'},{figma:"nothing published about the app frame this sits inside",ours:"a frame that composes in the shell's content slot and changes nothing about the shell",reason:"There is no collision to resolve, which is worth recording because it looks like one. The shell documents its content slot as owning the scroller and pins both minimums on that region precisely so a child can scroll; its scroll spy resolves the region once and tests containment, so it sees this scroller's events and keeps feeding the header. A chat surface rendered inside the existing shell works with no change to either."}],note:"IT PUBLISHES THE SCROLLER AND COLLECTS THE LIST'S INNER ELEMENT, which is the whole seam \u2014 a missing frame is a SUCCESSFUL read of an absent-tolerant context rather than a blank screen, so a list that registered nothing would leave the follow permanently inert with nothing throwing. Its own guard asserts the wiring. THE PILL IS A SLOT with a working default, so a surface can supply its own without this component growing a prop per affordance; the default is rendered only while the reader is away from the bottom."},ChatScrollButton:{category:"Chat",family:"message",status:"implemented",native:{state:"implemented"},axes:{shape:["icon","labelled"]},booleans:["hasNewMessages"],divergences:[{figma:"no published design source \u2014 no message, bubble or transcript set exists in the file",ours:"a greenfield pill, circular without a visible label and expanded with one",reason:"Recorded against the absence rather than left blank. Two shapes rather than one padded shape: a single geometry leaves the icon-only form a wide lozenge with a glyph floating in it, which is the arrangement every hand-built version of this control in the product currently draws."},{figma:"nothing published about announcing a message that arrived off-screen",ours:"a textless mark, gated on a boolean the frame owns",reason:'A count was the obvious alternative and is refused: a number here would be copy in a language this component does not own, and it would have to be pluralised by a component that holds no messages. The mark says "something arrived" and the reader finds out what by pressing it. Textless also keeps the label-less pill genuinely textless, which is the regression its own guard pins.'}],note:"THE `label` IS THE ACCESSIBLE NAME AND IS REQUIRED; `shape` decides whether it is also DRAWN. That split is the contract rather than a convenience: an icon-only pill still has to be announceable, and a pill that drew its label unconditionally would clip a translated string inside a 36px circle \u2014 which renders, reads as a styling bug, and is what its guard asserts against. The three composer buttons make the same split."},ChatMessageTTSButton:{category:"Chat",family:"message",status:"implemented",native:{state:"implemented"},axes:{state:["idle","loading","playing","paused","error"]},booleans:[],divergences:[{figma:"no published design source \u2014 no message, bubble or transcript set exists in the file",ours:"a greenfield control with five states, read off the app's own two copies of it",reason:"Recorded against the absence rather than left blank, the way every other entry in this family is. The prop shape is deliberately host-facing: `state` in, `onToggle` out, and no audio, no cache and no message object anywhere near it \u2014 which is what lets the classic surface, the agent surface and the native screen all adopt one control."},{figma:"nothing published; the two live surfaces paint teal and orange from Tailwind's ramp",ours:"the `success` and `warning` semantic token groups \u2014 different hues, same meaning",reason:"THE HUES GENUINELY CHANGE AT ADOPTION and that is stated here rather than discovered in a browser. the ramp's playing hue is `#0D9488` and the `Text/success` token is `#0EA06E`; the paused hue is `#F97316` and `Text/warning` is `#F59E0B`. A raw palette step is not sayable in this package at all \u2014 `message.purge.test.ts` bans one precisely so an app's untokenised chrome cannot be copied into the library \u2014 so the choice was a token or a new one, and nothing about \"playback is running\" argues for a colour the system does not already publish. Pinning it here matters because no guard can see it: UMK-978 records that every gate in this repo proves a class RESOLVES and none proves it resolves to the right hex."}],note:'THE LABEL IS THE CALLER\'S, and on this control that is load-bearing rather than stylistic: the same button means "Dengarkan", "Jeda", "Lanjutkan" and "Memproses\u2026" depending on the state it is in, and a component that drew its own word would be announcing the wrong action on four of five states or shipping copy in a language it does not own. The three composer buttons make the same split for the same reason. `loading` is drawn as a spinner rather than a faded speaker \u2014 a still glyph reads as a broken icon \u2014 and it is the one state that refuses the press, which the host expresses as the ordinary `disabled`.'},Dialog:{category:"Overlays",family:"overlays",status:"implemented",native:{state:"partial",missingAxes:["size","side"],missingProps:["centered"],reason:"Native has NO centred dialog, by decision rather than by backlog (UMK-1075): on a phone the native Dialog is always a bottom sheet, so it accepts neither `centered` nor `size`. The size ladder is the web card's `maxWidth`, and a sheet spans the screen width by definition, so on native it had nothing to draw and was removed rather than kept as an inert prop. What the web card also buys \u2014 no backdrop, no Back, no swipe \u2014 is carried on native by its own `dismissible` boolean, a locked sheet, which the web does not have. Recorded as partial so the web axis and boolean do not read as shared. This is a decided, STANDING divergence (made in UMK-1075, owner decision 17 Sep 2026) and it is tracked by the standing decision ticket UMK-1076, which stays open while the divergence exists: nothing is queued to close it, and UMK-1076 closes only if the decision is reversed and native regains a centred dialog. `side` (UMK-1186) is the same decision from the other direction: a left or right drawer is a web placement, and native stays a bottom sheet.",owner:"UMK-1076"},axes:{size:["small","medium","large","xlarge"],side:["none","left","right"]},booleans:["centered","showCloseButton"],note:"No Figma set exists for this component, so the axis was read off the code: `Modal.tsx`'s four-step width ladder, all four steps live. Recorded so a later reader does not go looking for a published set to reconcile it against. Placement is fixed rather than exposed: a sheet below md, centred from md up. The one exception is `side`, a drawer from the left or right edge at every width, which suppresses the drag gesture like `centered` does."},Menu:{category:"Overlays",family:"overlays",status:"implemented",native:{state:"implemented"},axes:{variant:["pill","boxed"]},pendingAxes:["size"],divergences:[{figma:"no published set for Menu at all \u2014 neither treatment has a design source",ours:"a `variant` axis carrying both: `pill` (default) and `boxed`",reason:"The app ships two visibly different menus. `pill` is the treatment slice 4 invented when it migrated the chat composer; `boxed` is derived from the user-settings popover, which has always drawn square-cornered rows in a bordered card. With no published set neither is wrong, so restyling the settings popover onto the composer's look would be an unsourced visual change to a live surface dressed up as a migration. Carried as an axis instead, so moving that surface onto this component is a port. A designer reconciling the two into one set later is the expected resolution, and the axis is where that lands."}],note:"A DIFFERENT situation from the usual pending case: there is no published Figma set for Menu at all, so there are no unread values waiting in a file \u2014 the set has to be designed before it can be read. Do not go looking for a Figma page; the Storybook render is what a designer works against. UMK-963 widened the ROW, not the axes: a row may now declare child rows (a submenu) or a destination (a real anchor, rendered through an app-supplied link component because this package may not import a router), and onSelect carries the cancellable event so a link row can keep the menu open. None of that was a variant. The SECOND treatment is: UMK-963 later added `variant`, because the settings popover renders a different menu from the composer and both are shipped. One width still, so `size` stays pending. Native follows the AXIS but not the nesting: Menu is a bottom sheet there with nothing to nest a level inside, so submenus and link rows are the recorded divergence (packages/ui/src/native/Menu.tsx and the parity table). `variant` DID carry over in UMK-986 \u2014 it describes the rows and the panel chrome, which a sheet draws too, and only the anchoring was ever platform-specific."},Popover:{category:"Overlays",family:"overlays",status:"implemented",native:{state:"absent",reason:"A phone has no anchored floating panel to mirror: the native surface for arbitrary content opened from a control is the bottom sheet, which native Menu and Dialog already are (UMK-1075 made native Dialog always a sheet). A native Popover would be a different component, not a sibling of this one."},axes:{align:["start","center","end"]},booleans:["portal"],note:"No Figma set exists, so the surface is the one DateTimeInput already drew. Renders IN PLACE by default, for the reason Select gives (a portalled panel inside a modal dialog meets the non-modal-parent conflict). `portal` is the opt-in, added because UMK-1185's audit found admin's page shell carries a backdrop filter and overflow-hidden, which makes it the containing block for the fixed-positioned panel and clips it on most admin pages. DateTimeInput and Select pass `portal` through."},Card:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{variant:["elevated","outlined","plain"],padding:["none","small","medium","large"]},divergences:[{figma:"`Type` is a three-value axis \u2014 Mobile Search, Homepage, Search \u2014 alongside Show Rating, Show Harga Coret, Show Best Seller, Show Tag and Show more",ours:"a `padding` axis only; no type axis and none of the content booleans",reason:"Every one of those describes a COURSE card \u2014 its rating row, its price, its tags \u2014 so adopting them would make this container refuse to hold anything that is not a course. The course card is a composition built on top of this, and it already exists in the app as `CourseCard.tsx`."}],note:"Both axes are read off the code rather than a design, since the published set is a course card. The padding ladder is the step list the two live consumers choose from, spelled out rather than the abbreviated `sm | md | lg` the legacy component shipped. THE `variant` AXIS WAS DROPPED AND RESTORED, and the reason is worth keeping: it was dropped because no consumer passed it, which was true only because the component was unused \u2014 and a survey of the TemanAI surfaces then found all three treatments live, with `outlined` the dominant one. 'No consumer' is evidence about adoption, never about need."},Divider:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{variant:["default","dashed"],orientation:["horizontal","vertical"]},divergences:[{figma:"no divider is published",ours:"a two-value line treatment, read off the legacy component",reason:'The axis was not read from Figma because there is nothing to read. Recorded so a later reader does not assume the vocabulary was copied from a design and quietly "correct" it against a set that does not exist. The legacy component ALSO carried this axis on its wrapper, where both values mapped to the empty string \u2014 the axis is real on the rule and was a no-op on the wrapper, and only the real half survives.'}]},List:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{},pendingAxes:["size"],note:"A different situation from `Tabs`, whose values sat unread in a published file: there is no List set in Ensyra \u2014 DS at all, so nothing is waiting to be read and the set has to be designed first. `direction` is a layout choice rather than a design variant and is deliberately not contracted as an axis."},Disclosure:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{},pendingAxes:["size"],note:"No Disclosure set exists in Ensyra \u2014 DS, so this is the design-it-first case rather than the read-it case. The a2ui renderer that covers the same ground is an ADAPTER pinned to the upstream A2UI spec and to `umkmall.catalog.json`; its prop names are not evidence for ours."},Image:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{type:["thumbnail","banner","natural","avatar"],size:["regular","small","blog"]},booleans:["hover"],divergences:[{figma:"`Hover` is a two-value variant: No and Yes",ours:"a `hover` boolean rather than a third axis",reason:"A hover treatment composes with every type and size at once, so folding it into an enum makes invalid states representable \u2014 the same reasoning the booleans field on this interface already records for `Button.disabled`."},{figma:"`Type` publishes two values, Thumbnail and Banner \u2014 both fixed ratios",ours:"a third `natural` type that constrains no ratio",reason:"Almost every image the TemanAI surfaces render is at its own ratio \u2014 a generated result, the lightbox, the photo-edit and camera previews \u2014 and exactly one is a square thumbnail. A fixed ratio crops a generated portrait, which is a defect rather than a styling difference, so the published pair cannot serve the app's main case on its own."},{figma:"no fit or object-position vocabulary is published",ours:"a separate `fit` prop, not folded into `type`",reason:"How a photo sits inside its box is a CSS concern rather than a design variant, and the a2ui renderer this covers already treats them separately. Collapsing the two would make `type` mean both what the image IS and how it CROPS, which is the axis-overload this file exists to prevent."},{figma:"no avatar in the published `Type` values",ours:"an `avatar` type: a square ratio with a full round",reason:"Admin draws user avatars (UMK-1186), and a circle is a shape, which is what `type` already carries. A separate Avatar component would be this one with a different radius."}],note:"`avatar` IS SIZED BY THE CALLER, with a className (admin uses 28-64px). The `size` axis stays orthogonal, so `avatar` with `regular` is a full-width circle and no guard catches it. INITIALS come from the existing `placeholder`, which shows when `src` is missing or not https. A URL that fails to LOAD shows a broken image rather than the placeholder: that branch is deliberately single for security, and a load-error fallback is not built (UMK-1186)."},SelectionCard:{category:"Form",family:"form-controls",status:"implemented",native:{state:"implemented"},axes:{size:["large","small"],state:["default","selected","disabled"],layout:["row","tile"]},note:"Ensyra publishes no selectable-card set; all 35 non-icon sets were enumerated. The fields come from the agent catalog's own option type rather than from preference - a field invented here is a field no payload can supply. The size ramp follows the other form controls. The selection VALUE is an array in single-select too: one return shape behind one prop, rather than a consumer branching on the mode to read its own value. An option whose description carries a leading line inverts the hierarchy - that line becomes the heading and the authored label demotes to an eyebrow - because the flow validation matches the authored label, so a generated title has nowhere else to go."},Upload:{category:"Form",family:"form-controls",status:"implemented",native:{state:"implemented"},axes:{size:["large","small"],status:["default","filled","error","disabled","busy"],border:["solid","dashed"]},divergences:[{figma:"`Status` spells the error value `Error Not Filled`",ours:"`error`",reason:'The published phrase encodes the absence of a file into the name of an error, which makes "error and filled" unsayable while it is a real state \u2014 a rejected upload that still shows what was rejected. Shortened to the condition itself, with filled derived separately, exactly as the text field already does with the same nine-value enum.'},{figma:"`Show Label`, `Show Info`, `Show Icon Left`, `Show Mandatory` and `Show Tooltip` are boolean slots",ours:'the slot props themselves, whose absence is the "off" state, and `required` for the mandatory mark',reason:'Absence is already expressible in code, so a boolean beside each slot makes "no icon, but here is the icon" representable \u2014 the same collapse this file already records for the alert glyph. The mandatory mark rides `required` because the visual and the semantics must not be separately switchable: a decorative asterisk on a control that is not required, or a required control with no mark, are both reachable if they are two props. TWO OF THE FIVE WERE MISSING RATHER THAN COLLAPSED until UMK-963: there was no info row and no tooltip slot at all, so this entry described a collapse it had not made. `helperText` and `tooltip` are those two, and the record is now checkable against `UploadProps`.'},{figma:"no drag-over state \u2014 the set publishes `Default`, `Filled`, `Error Not Filled` and `Disable` only",ours:"a drag-over treatment that composes OVER the resolved status, rather than a value on the status axis",reason:"A dropzone that does not react while a file is over it gives no signal that the drop will land, and every hand-rolled upload in this repo has one. It is kept OFF the status axis on purpose: web and native siblings consume this one declaration, there is no drag on native, and a status value native can never reach would still force a native sibling to define a style for it. Additive keeps the shared axis sayable on both platforms \u2014 every value on it is caller-declared, while this one is a pointer condition the web derives."},{figma:"no busy state",ours:"`busy` on the status ramp, given by the caller",reason:"An upload in flight has to refuse a second file \u2014 this component is presentation-only and the caller owns file handling, so a caller mid-upload has no safe way to accept one without its own queueing. Ranked directly under `disabled` for that reason, which also keeps the emit guard a single condition."},{figma:"no preview \u2014 the zone shows its placeholder in every published state",ours:"a `preview` slot that replaces the placeholder and the glyph",reason:"A chosen file has to be visible for the choice to be reviewable, and the instruction to choose has nothing left to say once one is. A SLOT rather than a status: the component creates no object URL and holds no file, so what to show is the caller's."},{figma:"only a solid stroke \u2014 `Upload Area` sets `strokeDashes: None`, and publishes no dashed variant",ours:"a `border` axis whose default is `solid` and whose second value is `dashed`",reason:"A dashed rule is the near-universal \"drop a file here\" convention, and the app's own live dropzone ships it \u2014 so the library refusing to say it would push every such caller into a `className` override, which lives in the consumer where this package's purge guard cannot see it. An axis makes the choice sayable, guarded, and visible to design as one decision rather than as scattered drift. The default stays `solid`, so parity is what a caller gets by saying nothing."},{figma:"no failure state",ours:"no separate value either \u2014 a failed upload is the `error` status carrying the message it already had a prop for",reason:"RECORDED AS A NON-ADDITION on purpose. A second `failure` message channel would put two live regions on one control with no stated precedence, so a reader hears both or one, unpredictably. Reusing `error` removes the question rather than answering it, and keeps the single text row Figma publishes."}]},Select:{category:"Form",family:"form-controls",status:"implemented",native:{state:"partial",missingProps:["multiple","portal"],reason:"UMK-1185 added two web-only props for the admin pickers: `multiple` (a string[] value, the list staying open between picks) and `portal` (render the list at the page root when an ancestor would clip it). Native's list is a bottom sheet, so `portal` has nothing to mean there; `multiple` is queued.",owner:"UMK-1193"},axes:{size:["large","small"],status:["default","filled","error","disabled"]},booleans:["multiple","portal"],note:"Menu cannot substitute: it carries items with their own handlers and an optional per-row tick, but no value/onValueChange pair, so a caller holds the selection itself and Menu never reflects it. Type-to-search is a boolean affordance rather than a second component - the three live implementations are one component with the search on or off. No new package: this repo declares four Radix scopes and not the select one, the native-purity guard classifies that scope by prefix and only walks the native entry graph, so adding it would have gone green while reaching every consumer's bundle. The list renders in place rather than portalled, which sidesteps the standing conflict between the dialog guidance and the overlay guard. The four caller-facing props beyond the axes - an option hint, caller-owned search, a loading state and a disabled hint - are what the live searchable implementation needs: its two consumers (onboarding step 2 and the profile modal) fetch their options, disable the city field until a province is chosen, and tell two same-named cities apart by hint alone. Passing onSearch means the caller owns filtering outright and the options render verbatim; a component that also filtered a remotely-searched list would drop rows the server deliberately returned. UMK-1122: the open web list takes the trigger's size (radius, padding, type step) rather than inheriting the page's; native's sheet is not anchored to the trigger and is unchanged. UMK-1119: onCreate offers a `Tambah \"<query>\"` row on both platforms when a search of at least createMinLength (default 3) trimmed characters matches nothing and nothing is loading; the created option is selected at once, while options stay caller-owned."},CodeBlock:{category:"Content",family:"content",status:"implemented",native:{state:"implemented"},axes:{size:["large","small"]},note:"Ensyra publishes no fenced-block or code-block set; all 35 non-icon sets were enumerated. The shape comes from the two duplicated app implementations, which are identical down to their class strings and their Indonesian labels. The size ramp is additive and ours: a fenced block inside a chat bubble and one in a full-width panel are the two live contexts, and without the axis the second is a padding override at the call site. Copy feedback is transient state inside the component rather than an axis - it is not a variant a designer picks."},Stepper:{category:"Navigation",family:"content",status:"implemented",native:{state:"implemented"},axes:{position:["first","middle","last"],state:["default","current","done"],orientation:["horizontal","vertical"]},divergences:[{figma:"`02 Single Stepper Horizontal` publishes `Position: First | Mid | Last`",ours:"`position: first | middle | last`",reason:"The abbreviation is spelled out because every other ramp in this file spells its values, and slice 3 already reverted one abbreviation for that reason. More importantly the same word is a STATE in a sibling set, so keeping it would leave one spelling meaning two things depending on which set a reader had open."},{figma:"`03 Single Stepper Vertical` publishes `Section: First | Middle | Last` plus `Status: Default | Active`",ours:"the horizontal set\u2019s richer state ramp, under one `state` axis, in both orientations",reason:"The two sets are one component seen twice rather than two components, so they get one vocabulary and an orientation axis instead of two near-identical entries. The vertical set publishes no completed state at all; rendering one is a gap in that set rather than an invention here, and it is named so a reader does not go looking for it."},{figma:"`01 Mark` publishes `Type: Default | Done | Mid`",ours:"the mark has no vocabulary of its own; it renders the step\u2019s `state`",reason:'That set mixes a position value into a state enum \u2014 `Mid` is a position in the horizontal set and a step appearance here \u2014 which makes "done and mid" unrepresentable while "mid and default" is representable twice. Splitting position from state is what lets a single step render correctly in isolation, which is how the design source publishes it.'}],note:"Ships without a consumer, knowingly: nothing in the product renders a step trail today, so this vocabulary is validated against the design source alone and the first real consumer may want something else. The divergences above are what make rejecting it cheap."},Pagination:{category:"Navigation",status:"implemented",native:{state:"absent",reason:"A column grid has no phone form here: admin is desktop-only, and native lists render rows (for example `apps/mobile/src/purchases/views/HistoryScreen.tsx` uses `FlatList`) and load more on scroll rather than paging."},axes:{size:["large","small"]},booleans:["disabled"],divergences:[{figma:"`Page: <9 | >9`",ours:"no such axis \u2014 the ellipsis appears whenever `pageCount` leaves a gap",reason:"Whether the strip needs an ellipsis is a fact about how many pages exist, not a choice a caller makes. As a prop it could claim a short strip over forty pages and draw every number."},{figma:"`Type: Default | Center | End`",ours:"no such axis \u2014 derived from `page`: previous is disabled on the first page and next on the last",reason:"The three values are the current page sitting at the start, the middle or the end of the range. As a prop it could disagree with `page`, which is the state it depicts."}],note:"NO TANSTACK HERE, deliberately: `page`, `pageCount`, `pageSize` and two callbacks, so `DataTable` adapts its table state onto it and a gallery pager can use it with no table at all. The page-size control is not in the published set; it is the DS `Select`, kept because every admin table has one."},Table:{category:"Content",status:"implemented",native:{state:"absent",reason:"A column grid has no phone form here: admin is desktop-only, and native lists render rows (for example `apps/mobile/src/purchases/views/HistoryScreen.tsx` uses `FlatList`), not columns."},axes:{},pendingAxes:["density"],booleans:["loading","serverSide","hidePagination","fixedLayout","noBorder","slimScrollbar"],divergences:[{figma:"`Type Col: First | Next` on both cell sets",ours:"no such axis \u2014 a cell is first because of where the column sits",reason:"Position in the row is a fact about the column order, which the column definitions already hold. As a prop it could mark two cells first, or none."},{figma:"`State: Default | Active` on the header cell, `Variant: Default | Active | Icon Default | Icon Active` on the body cell",ours:"no such axis \u2014 `Active` is a selected row (`data-state`), and the icon variants are whatever the column renders",reason:"Selection is state the table holds, not a look a caller picks, and a cell's content is the column definition's `cell`. The checkbox, trash, tooltip and thumbnail booleans in the set are the same: content a column draws, not props of the table."},{figma:"a `sort` glyph with one state",ours:"a chevron that points up when ascending and down when descending, dimmed while unsorted",reason:"The published glyph cannot say which way a column is sorted. Admin's explicit Asc/Desc dropdown is gone too: one mechanism, a header click cycling ascending, descending, unsorted \u2014 so a descending sort takes two clicks."}],note:"`axes: {}` is honest, as on `Lightbox`: both published sets vary by position and by state, and neither is a variant. What IS pending is row density: the published body row is 64px, and this ships admin's compact rows because every current screen is a dense list; a roomier setting is the axis this would become. Column visibility is CONTROLLED only (`columnVisibility`) with no toggle menu, because no screen uses one; search, filters and actions are a `toolbar` slot because they are admin UI built from admin selects."},Spinner:{category:"Feedback",family:"feedback",status:"implemented",native:{state:"implemented"},axes:{variant:["primary","white","gray","gradient"],size:["sm","md","lg","xl"]},note:"Read off `primitives/Spinner/Spinner.tsx`. The abbreviated size words are the legacy spelling, kept until slice 6 decides \u2014 spelling them out here while the web still reads `sm` would make the two disagree, which is the one thing this file exists to prevent."},ProgressBar:{category:"Feedback",family:"feedback",status:"implemented",native:{state:"partial",missingAxes:["shape"],reason:"`size` is closed. `radial` is blocked on a token, not on effort: the web gauge's `large` diameter is `h-24` (96), and the measurement ladder has no 96 rung \u2014 it runs 80, then 120. Building it would mean either a raw 96 in a native style or silently redrawing the gauge at 80. The rung is the fix.",owner:"UMK-987"},axes:{variant:["default","success","warning","error","gray","gradient"],size:["large","medium","small"],shape:["linear","radial"]},divergences:[{figma:"no progress set is published, and this component predates the re-baseline entirely",ours:"a spelled-out size ramp beside a sibling that keeps its abbreviated one",reason:"The height was a single hardcoded value, so any second height had to be a class override at the call site. Every ramp added since the re-baseline spells its steps out, and slice 3 already reverted one abbreviation for that reason; the sibling next door keeps its abbreviated words because changing a shipped vocabulary belongs to the slice that owns reconciling both, not to the change that gives one of them a table."},{figma:"nothing published, radial or otherwise",ours:"`shape: linear | radial`, defaulting to `linear`",reason:"The agent surface renders a gauge in three places and had no library shape to reach for. An axis rather than a second component: the two forms share the value, the maximum, the clamping and the announced semantics, and only the drawing differs \u2014 two components would be two copies of all of that, kept in step by hand. The size axis carries a diameter for this shape rather than a thickness, so a gauge is never sized by a class override at the call site."}],note:"Read off `primitives/ProgressBar/ProgressBar.tsx`. `error` rather than `danger`: the legacy word, kept for the same reason as Spinner's abbreviations. `value`, `max` and `label` are plain props, not axes."},Toaster:{category:"Feedback",family:"feedback",status:"implemented",native:{state:"partial",missingAxes:["position"],reason:"Native `Toaster` pins itself to the TOP and takes a `topInset` for the safe area; the six-corner `position` vocabulary is sonner's, and a bottom-anchored toast on a phone lands under the keyboard and the home indicator. Argued and recorded as a deliberate divergence under standing decision UMK-1127 (native adapts to the OS): this entry did not exist when UMK-986 audited, so the gap was invisible until then.",owner:"UMK-1127"},axes:{position:["top-left","top-center","top-right","bottom-left","bottom-center","bottom-right"]},note:"Read off `primitives/Toaster/Toaster.tsx`. `visibleToasts` (queue cap) and `duration` (auto-dismiss ms) are numeric props, not axes. A raised toast renders `Alert` at `type='toast'`, so its severity and size vocabulary lives on the `Alert` entry and is not duplicated here. Two things both hosts decide the same way and neither publishes as an axis (UMK-1039 web, UMK-1057 native): the toast's `size` DEFAULTS from the width \u2014 Medium from 768 up, Small below (`sizeForViewport` / `toastSizeForWidth`) \u2014 with the close glyph at 20px beside Medium and 18px beside Small; and the `success` TOAST draws `check-circle-filled` where the inline Alert keeps the outline `check-circle`. That fork lives in each platform's `Alert`, not in `ALERT_VARIANT_ICON`, so one table does not answer for both."},Label:{category:"Form",status:"implemented",native:{state:"implemented"},axes:{variant:["default","error","success"],size:["sm","md","lg"]},booleans:["required"],note:"Read off `primitives/Label/Label.tsx`. Every slice-2 control owns its own label (see the TextField divergence), so this is the standalone form for a group heading or a non-control. Both variant tables are now pinned to these axes rather than being the source of them (UMK-900); reconciling this with the per-control labels is a BEHAVIOUR gap that outlived slice 6 and has no owner \u2014 see `unfamilied-coverage.test.ts`."}},LM=e=>{let{category:t}=Fc[e];return t==="Foundations"?`Foundations/${e}`:`Components/${t}/${e}`};var wb=C(I());function Ay(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(a=Ay(e[t]))&&(o&&(o+=" "),o+=a)}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function Gc(){for(var e,t,a=0,o="",n=arguments.length;a<n;a++)(e=arguments[a])&&(t=Ay(e))&&(o&&(o+=" "),o+=t);return o}var My=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Oy=Gc,el=(e,t)=>a=>{var o;if(t?.variants==null)return Oy(e,a?.class,a?.className);let{variants:n,defaultVariants:r}=t,s=Object.keys(n).map(u=>{let c=a?.[u],d=r?.[u];if(c===null)return null;let p=My(c)||My(d);return n[u][p]}),l=a&&Object.entries(a).reduce((u,c)=>{let[d,p]=c;return p===void 0||(u[d]=p),u},{}),i=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,c)=>{let{class:d,className:p,...f}=c;return Object.entries(f).every(g=>{let[x,b]=g;return Array.isArray(b)?b.includes({...r,...l}[x]):{...r,...l}[x]===b})?[...u,d,p]:u},[]);return Oy(e,s,i,a?.class,a?.className)};var Cb=C(I());var GM=e=>{let t=UM(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:s=>{let l=s.split("-");return l[0]===""&&l.length!==1&&l.shift(),Ny(l,t)||VM(s)},getConflictingClassGroupIds:(s,l)=>{let i=a[s]||[];return l&&o[s]?[...i,...o[s]]:i}}},Ny=(e,t)=>{if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),n=o?Ny(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let r=e.join("-");return t.validators.find(({validator:s})=>s(r))?.classGroupId},Dy=/^\[(.+)\]$/,VM=e=>{if(Dy.test(e)){let t=Dy.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},UM=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return WM(Object.entries(e.classGroups),a).forEach(([r,s])=>{_h(s,o,r,t)}),o},_h=(e,t,a,o)=>{e.forEach(n=>{if(typeof n=="string"){let r=n===""?t:_y(t,n);r.classGroupId=a;return}if(typeof n=="function"){if(qM(n)){_h(n(o),t,a,o);return}t.validators.push({validator:n,classGroupId:a});return}Object.entries(n).forEach(([r,s])=>{_h(s,_y(t,r),a,o)})})},_y=(e,t)=>{let a=e;return t.split("-").forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},qM=e=>e.isThemeGetter,WM=(e,t)=>t?e.map(([a,o])=>{let n=o.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,l])=>[t+s,l])):r);return[a,n]}):e,YM=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,n=(r,s)=>{a.set(r,s),t++,t>e&&(t=0,o=a,a=new Map)};return{get(r){let s=a.get(r);if(s!==void 0)return s;if((s=o.get(r))!==void 0)return n(r,s),s},set(r,s){a.has(r)?a.set(r,s):n(r,s)}}};var KM=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,n=t[0],r=t.length,s=l=>{let i=[],u=0,c=0,d;for(let b=0;b<l.length;b++){let m=l[b];if(u===0){if(m===n&&(o||l.slice(b,b+r)===t)){i.push(l.slice(c,b)),c=b+r;continue}if(m==="/"){d=b;continue}}m==="["?u++:m==="]"&&u--}let p=i.length===0?l:l.substring(c),f=p.startsWith("!"),g=f?p.substring(1):p,x=d&&d>c?d-c:void 0;return{modifiers:i,hasImportantModifier:f,baseClassName:g,maybePostfixModifierPosition:x}};return a?l=>a({className:l,parseClassName:s}):s},XM=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},ZM=e=>({cache:YM(e.cacheSize),parseClassName:KM(e),...GM(e)}),jM=/\s+/,$M=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:n}=t,r=[],s=e.trim().split(jM),l="";for(let i=s.length-1;i>=0;i-=1){let u=s[i],{modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=a(u),g=!!f,x=o(g?p.substring(0,f):p);if(!x){if(!g){l=u+(l.length>0?" "+l:l);continue}if(x=o(p),!x){l=u+(l.length>0?" "+l:l);continue}g=!1}let b=XM(c).join(":"),m=d?b+"!":b,h=m+x;if(r.includes(h))continue;r.push(h);let y=n(x,g);for(let v=0;v<y.length;++v){let S=y[v];r.push(m+S)}l=u+(l.length>0?" "+l:l)}return l};function QM(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=By(t))&&(o&&(o+=" "),o+=a);return o}var By=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=By(e[o]))&&(a&&(a+=" "),a+=t);return a};function ky(e,...t){let a,o,n,r=s;function s(i){let u=t.reduce((c,d)=>d(c),e());return a=ZM(u),o=a.cache.get,n=a.cache.set,r=l,l(i)}function l(i){let u=o(i);if(u)return u;let c=$M(i,a);return n(i,c),c}return function(){return r(QM.apply(null,arguments))}}var Ke=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},Hy=/^\[(?:([a-z-]+):)?(.+)\]$/i,JM=/^\d+\/\d+$/,eO=new Set(["px","full","screen"]),tO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aO=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,oO=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dn=e=>tl(e)||eO.has(e)||JM.test(e),$n=e=>al(e,"length",pO),tl=e=>!!e&&!Number.isNaN(Number(e)),Dh=e=>al(e,"number",tl),Fi=e=>!!e&&Number.isInteger(Number(e)),sO=e=>e.endsWith("%")&&tl(e.slice(0,-1)),xe=e=>Hy.test(e),Qn=e=>tO.test(e),lO=new Set(["length","size","percentage"]),iO=e=>al(e,lO,Fy),uO=e=>al(e,"position",Fy),dO=new Set(["image","url"]),cO=e=>al(e,dO,hO),fO=e=>al(e,"",mO),zi=()=>!0,al=(e,t,a)=>{let o=Hy.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},pO=e=>aO.test(e)&&!oO.test(e),Fy=()=>!1,mO=e=>nO.test(e),hO=e=>rO.test(e);var Py=()=>{let e=Ke("colors"),t=Ke("spacing"),a=Ke("blur"),o=Ke("brightness"),n=Ke("borderColor"),r=Ke("borderRadius"),s=Ke("borderSpacing"),l=Ke("borderWidth"),i=Ke("contrast"),u=Ke("grayscale"),c=Ke("hueRotate"),d=Ke("invert"),p=Ke("gap"),f=Ke("gradientColorStops"),g=Ke("gradientColorStopPositions"),x=Ke("inset"),b=Ke("margin"),m=Ke("opacity"),h=Ke("padding"),y=Ke("saturate"),v=Ke("scale"),S=Ke("sepia"),w=Ke("skew"),L=Ke("space"),T=Ke("translate"),A=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",xe,t],P=()=>[xe,t],U=()=>["",dn,$n],V=()=>["auto",tl,xe],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],k=()=>["","0",xe],W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>[tl,xe];return{cacheSize:500,separator:":",theme:{colors:[zi],spacing:[dn,$n],blur:["none","",Qn,xe],brightness:J(),borderColor:[e],borderRadius:["none","","full",Qn,xe],borderSpacing:P(),borderWidth:U(),contrast:J(),grayscale:k(),hueRotate:J(),invert:k(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[sO,$n],inset:B(),margin:B(),opacity:J(),padding:P(),saturate:J(),scale:J(),sepia:k(),skew:J(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",xe]}],container:["container"],columns:[{columns:[Qn]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ee(),xe]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Fi,xe]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",xe]}],grow:[{grow:k()}],shrink:[{shrink:k()}],order:[{order:["first","last","none",Fi,xe]}],"grid-cols":[{"grid-cols":[zi]}],"col-start-end":[{col:["auto",{span:["full",Fi,xe]},xe]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[zi]}],"row-start-end":[{row:["auto",{span:[Fi,xe]},xe]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",xe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",xe]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",xe,t]}],"min-w":[{"min-w":[xe,t,"min","max","fit"]}],"max-w":[{"max-w":[xe,t,"none","full","min","max","fit","prose",{screen:[Qn]},Qn]}],h:[{h:[xe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[xe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[xe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[xe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Qn,$n]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Dh]}],"font-family":[{font:[zi]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",xe]}],"line-clamp":[{"line-clamp":["none",tl,Dh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",dn,xe]}],"list-image":[{"list-image":["none",xe]}],"list-style-type":[{list:["none","disc","decimal",xe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",dn,$n]}],"underline-offset":[{"underline-offset":["auto",dn,xe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),uO]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",iO]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cO]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:F()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[dn,xe]}],"outline-w":[{outline:[dn,$n]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[dn,$n]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Qn,fO]}],"shadow-color":[{shadow:[zi]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",Qn,xe]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",xe]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",xe]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",xe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[Fi,xe]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",xe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",xe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[dn,$n,Dh]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},gO=(e,{cacheSize:t,prefix:a,separator:o,experimentalParseClassName:n,extend:r={},override:s={}})=>{Gi(e,"cacheSize",t),Gi(e,"prefix",a),Gi(e,"separator",o),Gi(e,"experimentalParseClassName",n);for(let l in s)xO(e[l],s[l]);for(let l in r)yO(e[l],r[l]);return e},Gi=(e,t,a)=>{a!==void 0&&(e[t]=a)},xO=(e,t)=>{if(t)for(let a in t)Gi(e,a,t[a])},yO=(e,t)=>{if(t)for(let a in t){let o=t[a];o!==void 0&&(e[a]=(e[a]||[]).concat(o))}},zy=(e,...t)=>typeof e=="function"?ky(Py,e,...t):ky(()=>gO(Py(),e),...t);var bO=zy({extend:{classGroups:{"font-size":[{text:[e=>e.startsWith("ds-")]}]}}});function R(...e){return bO(Gc(e))}function Vc(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}var Vi={primary:"text-default-primary",secondary:"text-default-secondary",disable:"text-disable-primary",invert:"text-default-invert",brand:"text-default-brand",success:"text-default-success",error:"text-default-error",warning:"text-default-warning"};var ue={field:"focus-within:border-focus-brand focus-within:ring-2 focus-within:ring-halo",control:"focus-visible:outline-none focus-visible:border-focus-brand focus-visible:ring-2 focus-visible:ring-halo",surface:"focus-within:border-halo focus-within:ring-1 focus-within:ring-halo"};var Ui="bg-gradient-to-r from-default-brand to-hover-brand";var Gy=C(I()),cn=(e,t)=>(0,Gy.useCallback)(a=>{if(e.current=a,typeof t=="function")return t(a);t&&(t.current=a)},[t,e]);var Vy={sm:480,md:768,lg:976,xl:1440,xxl:2560,xxxl:7680};function Uc(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Uy(e,t){if(!Uc(e))return e;let a=["sm","md","lg","xl","xxl","xxxl"],o=a.indexOf(t);for(let n=o;n>=0;n--){let r=a[n];if(e[r]!==void 0)return e[r]}}function qy(e,t){if(!Uc(e))return t(e);let a=[],o=["sm","md","lg","xl","xxl","xxxl"];for(let n of o)if(e[n]!==void 0){let r=t(e[n]);a.push(n==="sm"?r:`${n}:${r}`)}return a.join(" ")}var Jn=e=>e!=null&&typeof e!="boolean"&&!(Array.isArray(e)&&e.length===0);var Wy="flex w-full items-center gap-ds-2xs rounded-ds-md",Yy={large:{box:"px-ds-md py-ds-xs text-ds-paragraph-desktop",glyph:"h-7 w-7"},medium:{box:"px-ds-sm py-ds-2xs text-ds-paragraph-mobile",glyph:"h-6 w-6"},small:{box:"px-ds-2xs py-ds-2xs text-ds-body-lg-mobile",glyph:"h-5 w-5"}},kh={alert:{success:"bg-weak-success",info:"bg-weak-brand",warning:"bg-weak-warning",danger:"bg-weak-error"},toast:{success:"bg-default-success",info:"bg-default-brand",warning:"bg-default-warning",danger:"bg-default-error"}},Ph={alert:{success:"text-default-primary",info:"text-default-primary",warning:"text-default-primary",danger:"text-default-primary"},toast:{success:"text-default-invert",info:"text-default-invert",warning:"text-default-primary",danger:"text-default-invert"}},Nh={alert:{success:"text-default-success",info:"text-default-brand",warning:"text-default-warning",danger:"text-default-error"},toast:{success:"text-default-invert",info:"text-default-invert",warning:"text-default-primary",danger:"text-default-invert"}},vO=(e,t)=>Object.fromEntries(Object.entries(e).map(([a,o])=>[a,`${o} ${t[a]}`])),Ky={full:vO(kh.alert,Ph.alert),accent:{success:"bg-callout-good-surface border-l-4 border-callout-good-border text-callout-good-text",info:"bg-callout-default-surface border-l-4 border-callout-default-border text-callout-default-text",warning:"bg-callout-warn-surface border-l-4 border-callout-warn-border text-callout-warn-text",danger:"bg-callout-neg-surface border-l-4 border-callout-neg-border text-callout-neg-text"},coach:{success:"bg-callout-coach-surface border border-callout-coach-border text-callout-coach-text",info:"bg-callout-default-surface border border-callout-default-border text-callout-default-text",warning:"bg-callout-warn-surface border border-callout-warn-border text-callout-warn-text",danger:"bg-callout-neg-surface border border-callout-neg-border text-callout-neg-text"},banner:{success:"bg-gradient-to-r from-hover-brand to-hover-success text-default-invert",info:"bg-gradient-to-r from-hover-brand to-hover-success text-default-invert",warning:"bg-gradient-to-r from-hover-brand to-hover-success text-default-invert",danger:"bg-gradient-to-r from-hover-brand to-hover-success text-default-invert"}},Xy={full:Nh.alert,accent:{success:"text-callout-good-border",info:"text-callout-default-border",warning:"text-callout-warn-border",danger:"text-callout-neg-border"},coach:{success:"text-callout-coach-border",info:"text-callout-default-border",warning:"text-callout-warn-border",danger:"text-callout-neg-border"},banner:{success:"text-default-invert",info:"text-default-invert",warning:"text-default-invert",danger:"text-default-invert"}},Zy={success:"Berhasil",info:"Informasi",warning:"Peringatan",danger:"Kesalahan"},jy={success:"check-circle",info:"info",warning:"alert-triangle",danger:"alert-circle"},$y="!w-[min(1140px,calc(100vw_-_32px))]",qc=`shrink-0 rounded-ds-xs opacity-80 transition-opacity hover:opacity-100 ${ue.control}`,Qy={dark:"bg-hover-invert text-default-invert",white:"bg-default-primary text-default-primary"},Jy={dark:"fill-hover-invert",white:"fill-default-primary"},eb={large:{box:"px-ds-md py-ds-2xs text-ds-paragraph-mobile",glyph:"h-6 w-6"},small:{box:"px-ds-sm py-ds-3xs text-ds-body-lg-mobile",glyph:"h-[18px] w-[18px]"}},tb="relative overflow-hidden bg-weak-neutral",ab="absolute inset-0 -translate-x-full animate-ds-shimmer bg-gradient-to-r from-transparent via-default-primary to-transparent motion-reduce:hidden",ob={text:"h-ds-md w-full rounded-ds-xs",circle:"h-ds-xl w-ds-xl shrink-0 rounded-ds-full",rect:"h-ds-4xl w-full rounded-ds-md"},nb="w-full overflow-hidden rounded-ds-full bg-default-secondary",rb="h-full rounded-ds-full transition-all duration-300",sb={default:"bg-default-brand",success:"bg-default-success",warning:"bg-default-warning",error:"bg-default-error",gray:"bg-default-secondary",gradient:Ui},lb={large:"h-3",medium:"h-2",small:"h-1"},ib={large:"h-24 w-24",medium:"h-16 w-16",small:"h-12 w-12"},ub={default:"stroke-current text-default-brand",success:"stroke-current text-default-success",warning:"stroke-current text-default-warning",error:"stroke-current text-default-error",gray:"stroke-default-secondary",gradient:"text-default-brand"},Bh={from:"text-default-brand",to:"text-hover-brand"},db="stroke-default-secondary",cb="flex items-center justify-between text-ds-body-lg-mobile",Hh="text-default-secondary",fb="font-medium text-default-primary",pb="inline-block animate-spin rounded-ds-full border-2 border-transparent motion-reduce:animate-none",mb="[background:conic-gradient(from_0deg,transparent,rgb(var(--surface-default-brand)))]",hb="absolute inset-0.5 rounded-ds-full bg-default-primary",gb={primary:"border-t-default-brand border-r-default-brand",white:"border-t-default-light border-r-default-light",gray:"border-t-default-primary border-r-default-primary",gradient:"border-transparent"},xb={sm:"h-4 w-4",md:"h-8 w-8",lg:"h-12 w-12",xl:"h-16 w-16"};var qi=C(E()),wO=gb,LO=xb,Co=Cb.default.forwardRef(({className:e,variant:t="primary",size:a="md",label:o="Loading...",...n},r)=>(0,qi.jsxs)("div",{ref:r,role:"status","aria-label":o||void 0,className:R(pb,wO[t],LO[a],t==="gradient"&&`relative ${mb}`,e),...n,children:[t==="gradient"&&(0,qi.jsx)("span",{"aria-hidden":!0,className:hb}),(0,qi.jsx)("span",{className:"sr-only",children:o})]}));Co.displayName="Spinner";var Kc=C(E()),Sb={primary:"bg-default-brand text-default-invert hover:bg-hover-brand hover:text-hover-invert disabled:bg-disable-brand disabled:text-default-invert",light:"bg-default-primary text-default-primary ring-1 ring-default-primary hover:bg-weak-brand hover:text-hover-primary hover:ring-hover-primary disabled:bg-disable-primary disabled:text-disable-primary disabled:ring-disable-primary",danger:"bg-default-error text-default-invert hover:bg-hover-error hover:text-hover-invert disabled:bg-disable-error disabled:text-hover-invert",dark:"bg-default-invert text-default-invert ring-2 ring-default-primary hover:bg-hover-invert hover:ring-hover-primary disabled:bg-disable-invert disabled:text-disable-invert disabled:ring-disable-invert"},RO={primary:"bg-transparent text-default-brand ring-1 ring-default-brand hover:bg-weak-brand hover:text-hover-brand hover:ring-hover-brand disabled:ring-disable-brand disabled:text-disable-brand",light:"bg-transparent text-default-primary ring-1 ring-default-primary hover:bg-weak-brand hover:text-hover-primary hover:ring-hover-primary disabled:ring-disable-primary disabled:text-disable-primary",danger:"bg-transparent text-default-error ring-1 ring-default-error hover:bg-weak-error hover:text-hover-error hover:ring-hover-error disabled:ring-disable-error disabled:text-disable-error",dark:"bg-transparent text-default-invert ring-2 ring-default-primary hover:bg-hover-invert hover:ring-hover-primary disabled:ring-disable-invert disabled:text-disable-invert"},TO={primary:"bg-transparent text-default-brand hover:bg-weak-brand hover:text-hover-brand disabled:text-disable-brand",light:"bg-transparent text-default-primary hover:bg-weak-brand hover:text-hover-primary disabled:text-disable-primary",danger:"bg-transparent text-default-error hover:bg-weak-error hover:text-hover-error disabled:text-disable-error",dark:"bg-transparent text-default-invert hover:bg-hover-invert hover:text-hover-invert disabled:text-disable-invert"},EO=["primary","ghost","text"].flatMap(e=>Object.keys(Sb).map(t=>({type:e,color:t,class:{primary:Sb,ghost:RO,text:TO}[e][t]}))),IO={large:"p-4 text-lg",medium:"p-3 text-base",small:"p-2.5 text-sm",micro:"p-1.5 text-xs"},Yc=el("inline-flex items-center justify-center gap-2 rounded-full font-bold transition-colors duration-150 disabled:pointer-events-none",{variants:{type:{primary:"",ghost:"",text:""},color:{primary:"",light:"",danger:"",dark:""},size:{large:"px-10 py-4 text-lg",medium:"px-8 py-3 text-base",small:"px-6 py-2.5 text-sm",micro:"px-4 py-1.5 text-xs"},width:{auto:"w-auto",full:"w-full"}},compoundVariants:EO,defaultVariants:{type:"primary",color:"primary",size:"medium",width:"full"}}),ol=wb.default.forwardRef(({children:e,className:t,type:a,color:o,size:n,width:r,action:s,onClick:l,isLoading:i,disabled:u,iconOnly:c,htmlType:d="button",...p},f)=>{let g=x=>{s?.(),l?.(x)};return(0,Kc.jsxs)("button",{ref:f,type:d,className:R(c?[Yc({type:a,color:o,size:null,width:"auto"}),IO[n??"medium"]]:Yc({type:a,color:o,size:n,width:r}),t),onClick:g,disabled:u||i,...p,children:[i&&(0,Kc.jsx)(Co,{size:"sm",variant:"white",label:"","aria-hidden":!0}),e]})});ol.displayName="Button";var Zc=C(I());var Lb=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xc=(...e)=>e.filter((t,a,o)=>!!t&&o.indexOf(t)===a).join(" ");var Wi=C(I());var Rb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Tb=(0,Wi.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:n="",children:r,iconNode:s,...l},i)=>(0,Wi.createElement)("svg",{ref:i,...Rb,width:t,height:t,stroke:e,strokeWidth:o?Number(a)*24/Number(t):a,className:Xc("lucide",n),...l},[...s.map(([u,c])=>(0,Wi.createElement)(u,c)),...Array.isArray(r)?r:[r]]));var _=(e,t)=>{let a=(0,Zc.forwardRef)(({className:o,...n},r)=>(0,Zc.createElement)(Tb,{ref:r,iconNode:t,className:Xc(`lucide-${Lb(e)}`,o),...n}));return a.displayName=`${e}`,a};var Yi=_("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var Ki=_("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var Xi=_("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);var Zi=_("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);var ji=_("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);var $i=_("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var Qi=_("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var Ji=_("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);var eu=_("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);var tu=_("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var er=_("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var tr=_("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var ar=_("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var au=_("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);var ou=_("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var nu=_("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);var ru=_("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);var su=_("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);var lu=_("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);var or=_("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);var iu=_("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);var uu=_("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var nr=_("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var du=_("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);var cu=_("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);var fu=_("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var pu=_("MessageSquarePlus",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);var mu=_("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);var hu=_("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);var gu=_("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);var xu=_("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var yu=_("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);var bu=_("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);var vu=_("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);var Cu=_("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);var Su=_("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);var wu=_("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);var Lu=_("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);var Ru=_("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);var Tu=_("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var Eu=_("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var Iu=_("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);var Au=_("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);var rr=_("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);var Mu=_("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);var Ou=_("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);var Du=_("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);var _u=_("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);var sr=_("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var ku=_("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);var Pu=_("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);var Nu=_("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);var Bu=_("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);var Hu=_("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var Ib=C(I());var Eb="M16.0664 16.3868C16.1411 16.3871 16.2095 16.4617 16.2344 16.4991C16.4902 17.0233 17.204 18.4872 18.0127 20.1495C18.8214 21.8119 17.9005 22.8891 17.3389 23.2198C16.4964 23.6879 14.658 24.7103 14.044 25.0548C13.4306 25.3987 13.214 25.0486 13.1826 24.8302C13.1078 24.2189 12.951 22.9249 12.9209 22.6397C12.891 22.3555 13.1575 22.1471 13.2949 22.0782C13.5071 21.9846 14.0071 21.7638 14.3067 21.629C14.6061 21.4942 14.7309 21.2355 14.7559 21.1231L15.8789 16.5177C15.9102 16.474 15.9916 16.3868 16.0664 16.3868ZM16.5186 16.1866C17.0704 16.3764 18.6104 16.9073 20.3574 17.5108C22.1044 18.1146 22.215 19.5274 22.0518 20.1583C21.787 21.085 21.2092 23.1075 21.0186 23.7853C20.8279 24.4627 20.4275 24.3678 20.251 24.2355C19.7656 23.856 18.739 23.0522 18.5166 22.8722C18.2944 22.6922 18.3363 22.3558 18.3848 22.2101C18.4686 21.9938 18.6658 21.484 18.7822 21.1769C18.8984 20.87 18.8039 20.5991 18.7422 20.5021L16.2803 16.4513C16.2715 16.3983 16.2667 16.2797 16.3194 16.2267C16.3723 16.1737 16.4744 16.1778 16.5186 16.1866ZM15.5479 16.2814C15.6008 16.2725 15.7205 16.2676 15.7735 16.3204C15.8264 16.3734 15.8223 16.4755 15.8135 16.5196C15.6237 17.0714 15.0928 18.6114 14.4893 20.3585C13.8856 22.1055 12.4728 22.2161 11.8418 22.0528C10.9152 21.7881 8.89262 21.2103 8.21486 21.0196C7.53713 20.829 7.6323 20.4286 7.76467 20.2521C8.14417 19.7666 8.94793 18.7401 9.12795 18.5177C9.30801 18.2955 9.64448 18.3373 9.79006 18.3858C10.0063 18.4697 10.5152 18.6668 10.8223 18.7833C11.1294 18.8998 11.401 18.805 11.4981 18.7433L15.5479 16.2814ZM20.1485 13.9864C21.8108 13.1778 22.888 14.0996 23.2188 14.6612C23.6868 15.5037 24.7092 17.3411 25.0537 17.9552C25.3979 18.5688 25.0476 18.7851 24.8291 18.8165C24.2178 18.8914 22.9238 19.0492 22.6387 19.0792C22.3541 19.1092 22.1458 18.8415 22.0772 18.7042C21.9836 18.492 21.7627 17.993 21.6279 17.6935C21.4932 17.394 21.2345 17.2692 21.1221 17.2442L16.5166 16.1212C16.4729 16.09 16.3858 16.0086 16.3858 15.9337C16.3858 15.859 16.4606 15.7908 16.4981 15.7657C17.0222 15.5099 18.4861 14.7952 20.1485 13.9864ZM9.36037 12.922C9.64465 12.8921 9.85305 13.1586 9.92189 13.296C10.0155 13.5082 10.2363 14.0082 10.3711 14.3077C10.5059 14.6071 10.7647 14.732 10.877 14.7569L15.4824 15.88C15.5262 15.9113 15.6133 15.9928 15.6133 16.0675C15.613 16.1421 15.5384 16.2104 15.501 16.2355C14.9769 16.4913 13.5128 17.2051 11.8506 18.0138C10.1882 18.8225 9.11102 17.9016 8.78029 17.3399C8.31228 16.4975 7.28979 14.6591 6.94533 14.045C6.60115 13.4313 6.95156 13.2149 7.16994 13.1837C7.78146 13.1088 9.07575 12.9519 9.36037 12.922ZM10.9795 8.21592C11.1701 7.53816 11.5716 7.63335 11.7481 7.76573C12.2334 8.14514 13.2586 8.9486 13.4815 9.12901C13.7038 9.30903 13.6628 9.64549 13.6143 9.79112C13.5305 10.0073 13.3333 10.5162 13.2168 10.8233C13.1003 11.1305 13.1951 11.402 13.2569 11.4991L15.7188 15.5489C15.7276 15.6019 15.7317 15.7216 15.6787 15.7745C15.6257 15.8272 15.5246 15.8234 15.4805 15.8146C14.9289 15.6248 13.389 15.094 11.6416 14.4903C9.89437 13.8867 9.78403 12.4738 9.94729 11.8429C10.212 10.9163 10.7888 8.89383 10.9795 8.21592ZM17.5098 11.6427C18.1134 9.89551 19.5263 9.78509 20.1572 9.94834C21.084 10.2131 23.1065 10.79 23.7842 10.9806C24.4618 11.1712 24.3668 11.5726 24.2344 11.7491C23.8551 12.2343 23.0518 13.2593 22.8711 13.4825C22.6912 13.7048 22.3548 13.6638 22.209 13.6153C21.9928 13.5315 21.4829 13.3344 21.1758 13.2179C20.8689 13.1016 20.598 13.1962 20.501 13.2579L16.4502 15.7198C16.3972 15.7286 16.2785 15.7327 16.2256 15.6798C16.1728 15.6268 16.1767 15.5256 16.1856 15.4815C16.3753 14.93 16.9062 13.39 17.5098 11.6427ZM17.9541 6.94639C18.568 6.60203 18.7841 6.95258 18.8154 7.171C18.8903 7.78253 19.0482 9.07687 19.0781 9.36143C19.1081 9.64598 18.8404 9.85431 18.7031 9.92295C18.4909 10.0166 17.9918 10.2374 17.6924 10.3722C17.3929 10.507 17.2681 10.7657 17.2432 10.878L16.1201 15.4835C16.0888 15.5272 16.0074 15.6144 15.9326 15.6144C15.858 15.6143 15.7898 15.5396 15.7647 15.5021C15.5088 14.9779 14.7941 13.514 13.9854 11.8517C13.1766 10.1893 14.0986 9.11208 14.6602 8.78135C15.5026 8.31335 17.3398 7.29098 17.9541 6.94639Z";var fn=C(E()),Fh=e=>{let t=`credit-coin-${(0,Ib.useId)().replace(/[^a-zA-Z0-9_-]/g,"")}`;return(0,fn.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,fn.jsx)("circle",{cx:"16",cy:"16",r:"16",fill:`url(#${t})`}),(0,fn.jsx)("path",{d:Eb,style:{fill:"rgb(var(--icon-default-invert, 255 255 255))"}}),(0,fn.jsx)("defs",{children:(0,fn.jsxs)("linearGradient",{id:t,x1:"16",y1:"0",x2:"16",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,fn.jsx)("stop",{style:{stopColor:"rgb(var(--surface-gradient-yellow-start, 245 158 11))"}}),(0,fn.jsx)("stop",{offset:"1",style:{stopColor:"rgb(var(--surface-gradient-yellow-end, 172 111 8))"}})]})})]})};var D=C(E()),Mb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M21.666 2.08398C22.3493 2.08398 22.916 2.65065 22.916 3.33398C22.9157 4.01703 22.3491 4.58398 21.666 4.58398H15C7.31667 4.58398 4.58398 7.31667 4.58398 15V25C4.58398 26.8212 4.73949 28.3637 5.07617 29.6582L11.9668 25.0332C13.7666 23.8334 16.2495 23.9667 17.8828 25.3496L18.4336 25.834C19.2669 26.5502 20.6834 26.5502 21.5 25.834L28.4336 19.8828C30.2003 18.3665 32.9844 18.3662 34.7676 19.8828L35.416 20.4395V16.666C35.4164 15.9832 35.9832 15.4164 36.666 15.416C37.3491 15.416 37.9157 15.983 37.916 16.666V25C37.916 34.05 34.05 37.916 25 37.916H15C5.95 37.916 2.08398 34.05 2.08398 25V15C2.08398 5.95 5.95 2.08398 15 2.08398H21.666ZM33.1328 21.7832C32.2994 21.0669 30.8996 21.0667 30.0664 21.7832L23.1328 27.7324C21.3661 29.2491 18.5841 29.2491 16.8008 27.7324L16.25 27.25C15.4833 26.6 14.2172 26.5339 13.3672 27.1172L6.06445 32.0273C7.5954 34.4434 10.4165 35.416 15 35.416H25C32.6833 35.416 35.416 32.6833 35.416 25V23.7441L33.1328 21.7832ZM15 8.75C17.5333 8.75 19.584 10.8007 19.584 13.334C19.5836 15.867 17.5331 17.916 15 17.916C12.4669 17.916 10.4164 15.867 10.416 13.334C10.416 10.8007 12.4667 8.75 15 8.75ZM15 11.25C13.85 11.25 12.916 12.184 12.916 13.334C12.9164 14.4837 13.8502 15.416 15 15.416C16.1498 15.416 17.0836 14.4837 17.084 13.334C17.084 12.184 16.15 11.25 15 11.25ZM29.8926 2.09766C30.1265 2.07784 30.3617 2.12293 30.5742 2.23242C30.5781 2.23439 30.5821 2.23627 30.5859 2.23828C30.6344 2.26392 30.6813 2.29178 30.7266 2.32422C30.7809 2.36189 30.8339 2.40257 30.8828 2.44922L34.2168 5.7832C34.7001 6.26654 34.7001 7.06745 34.2168 7.55078C33.7334 8.03379 32.9324 8.03401 32.4492 7.55078L31.25 6.34961V13.334C31.2496 14.017 30.6831 14.584 30 14.584C29.3169 14.584 28.7504 14.017 28.75 13.334V6.34961L27.5508 7.55078C27.3008 7.80078 26.9827 7.91602 26.666 7.91602C26.3497 7.91588 26.033 7.80038 25.7832 7.55078C25.2999 7.06745 25.2999 6.26654 25.7832 5.7832L29.0605 2.50391C29.13 2.42482 29.2121 2.3576 29.3008 2.29883C29.3066 2.2949 29.3125 2.29093 29.3184 2.28711C29.329 2.28033 29.3387 2.27208 29.3496 2.26562L29.5176 2.18359C29.5474 2.17129 29.5788 2.16422 29.6094 2.1543C29.6426 2.14401 29.6753 2.13253 29.709 2.125C29.7568 2.11375 29.8049 2.1072 29.8535 2.10156C29.8665 2.10016 29.8795 2.09866 29.8926 2.09766Z",fill:"currentColor"})}),Ob=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M25 2.08398C34.05 2.08398 37.916 5.95 37.916 15V25C37.916 34.05 34.05 37.916 25 37.916H15C5.95 37.916 2.08398 34.05 2.08398 25V15C2.08398 5.95 5.95 2.08398 15 2.08398H25ZM4.65039 13.0996C4.60725 13.6964 4.58398 14.3292 4.58398 15V25C4.58398 32.6833 7.31667 35.416 15 35.416H25C32.6833 35.416 35.416 32.6833 35.416 25V15C35.416 14.3292 35.3927 13.6964 35.3496 13.0996H4.65039ZM16.8164 18.3828C17.9662 17.7163 19.4663 17.8164 20.916 18.666L24.3828 20.666C25.8328 21.4993 26.6836 22.7507 26.6836 24.084C26.6833 25.417 25.8334 26.6668 24.3672 27.5L20.9004 29.5C20.1004 29.9667 19.2658 30.1992 18.4824 30.1992C17.8831 30.1991 17.3169 30.0504 16.8008 29.7676C15.6676 29.101 15.0002 27.767 15 26.084V22.084C15 20.4007 15.6664 19.0495 16.8164 18.3828ZM18.5 20.4492C18.3333 20.4492 18.1831 20.4841 18.0664 20.5508C17.7167 20.751 17.5 21.3177 17.5 22.084V26.084C17.5001 26.8337 17.7165 27.4006 18.0664 27.6172C18.4163 27.8171 19.0163 27.7169 19.666 27.334L23.1328 25.334C23.7825 24.9509 24.1832 24.4838 24.1836 24.084C24.1836 23.684 23.7995 23.2173 23.1328 22.834L19.666 20.834C19.2328 20.5841 18.8166 20.4492 18.5 20.4492ZM12.9492 4.6582C8.32206 5.02568 5.91205 6.77017 5.00977 10.5996H12.9492V4.6582ZM15.4492 10.5996H24.5508V4.58398H15.4492V10.5996ZM27.0508 10.5996H34.9902C34.0879 6.77017 31.6779 5.02568 27.0508 4.6582V10.5996Z",fill:"currentColor"})}),Db=e=>(0,D.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("rect",{x:"1.75",y:"1.75",width:"16.5",height:"16.5",rx:"5",stroke:"currentColor",strokeWidth:"1.5"}),(0,D.jsx)("rect",{x:"6",y:"7",width:"8",height:"6",rx:"2",stroke:"currentColor",strokeWidth:"1.5"})]}),_b=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M20 8.75C20.6833 8.75 21.25 9.31667 21.25 10V18.75H30C30.6833 18.75 31.25 19.3167 31.25 20C31.25 20.6833 30.6833 21.25 30 21.25H21.25V30C21.25 30.6833 20.6833 31.25 20 31.25C19.3167 31.25 18.75 30.6833 18.75 30V21.25H10C9.31667 21.25 8.75 20.6833 8.75 20C8.75 19.3167 9.31667 18.75 10 18.75H18.75V10C18.75 9.31667 19.3167 8.75 20 8.75Z",fill:"currentColor"})}),kb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M8.75 20C8.75 19.3167 9.31667 18.75 10 18.75H30C30.6833 18.75 31.25 19.3167 31.25 20C31.25 20.6833 30.6833 21.25 30 21.25H10C9.31667 21.25 8.75 20.6833 8.75 20Z",fill:"currentColor"})}),Pb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M34.0029 19.1264L20.7652 31.6113C19.1434 33.1407 16.9439 34 14.6505 34C12.357 34 10.1575 33.1407 8.53573 31.6113C6.91401 30.0818 6.00293 28.0073 6.00293 25.8443C6.00293 23.6813 6.91401 21.6068 8.53573 20.0774L21.7735 7.5925C22.8546 6.57284 24.321 6 25.85 6C27.3789 6 28.8453 6.57284 29.9265 7.5925C31.0076 8.61216 31.615 9.99511 31.615 11.4371C31.615 12.8791 31.0076 14.2621 29.9265 15.2818L16.6743 27.7666C16.1337 28.2765 15.4005 28.5629 14.636 28.5629C13.8716 28.5629 13.1384 28.2765 12.5978 27.7666C12.0572 27.2568 11.7535 26.5653 11.7535 25.8443C11.7535 25.1233 12.0572 24.4318 12.5978 23.922L24.8272 12.4017",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})}),Nb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M24.6445 3.33398C33.0597 3.33419 36.6543 6.93125 36.6543 15.3496V22.7852C36.6699 22.8972 36.6715 23.0104 36.6543 23.123V24.6504C36.6543 33.0688 33.0597 36.6658 24.6445 36.666H15.3438C6.92872 36.6657 3.33398 33.0687 3.33398 24.6504V15.3496C3.33398 6.93132 6.92872 3.33425 15.3438 3.33398H24.6445ZM32.2227 21.6582C31.4478 20.992 30.1303 20.9919 29.3555 21.6582L22.9082 27.1934C21.2655 28.6041 18.6779 28.604 17.0195 27.1934L16.5078 26.7441C15.7949 26.1395 14.6166 26.0785 13.8262 26.6211L7.03125 31.1816C8.45383 33.4338 11.0779 34.3417 15.3438 34.3418H24.6445C31.7888 34.3416 34.3301 31.7974 34.3301 24.6504V23.4688L32.2227 21.6582ZM15.3438 5.6582C8.19965 5.65843 5.6582 8.20264 5.6582 15.3496V24.6504C5.6582 26.349 5.80241 27.788 6.11719 28.9941L12.5391 24.6816C14.2128 23.55 16.5222 23.6901 18.041 24.9766L18.5527 25.4258C19.3277 26.0924 20.6449 26.0924 21.4043 25.4258L27.8516 19.8906C29.4944 18.4799 32.0839 18.4798 33.7422 19.8906L34.3301 20.3945V15.3496C34.3301 8.20257 31.7888 5.65838 24.6445 5.6582H15.3438ZM15.3457 9.53516C17.7011 9.53561 19.6074 11.4425 19.6074 13.7988C19.6072 16.155 17.701 18.062 15.3457 18.0625C12.9901 18.0625 11.0822 16.1552 11.082 13.7988C11.082 11.4422 12.9899 9.53516 15.3457 9.53516ZM15.3457 11.8613C14.2763 11.8613 13.4082 12.7291 13.4082 13.7988C13.4084 14.8684 14.2764 15.7363 15.3457 15.7363C16.4146 15.7359 17.281 14.8681 17.2812 13.7988C17.2812 12.7293 16.4147 11.8618 15.3457 11.8613Z",fill:"currentColor"})}),Bb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M21.9166 2.08398C24.0666 2.08399 26.5172 3.59987 27.5006 5.5332L28.6998 7.9668C28.9498 8.43344 29.4506 8.75 30.0006 8.75C32.0668 8.75018 34.0665 9.61656 35.483 11.1328C36.9161 12.6659 37.6336 14.6494 37.5006 16.7324L36.6334 30.5C36.3334 35.2167 33.4497 37.916 28.733 37.916H11.2662C6.59976 37.9159 3.63247 35.1323 3.36581 30.4824L2.50058 16.7324C2.3675 14.6494 3.08307 12.6493 4.5162 11.1328C5.93287 9.6162 7.93395 8.75 10.0006 8.75C10.5335 8.74974 11.0494 8.43315 11.2994 7.93359L12.5006 5.55078C13.4839 3.60078 15.9502 2.08398 18.1002 2.08398H21.9166ZM18.1002 4.58398C16.867 4.58398 15.2998 5.54952 14.733 6.66602L13.5338 9.06641C12.8339 10.4162 11.4837 11.2498 10.0006 11.25C8.60058 11.25 7.29928 11.8173 6.33261 12.834C5.38307 13.8505 4.90066 15.1835 5.00058 16.5664L5.86581 30.334C6.06599 33.7001 7.88332 35.4159 11.2662 35.416H28.733C32.0995 35.416 33.9165 33.7002 34.1334 30.334L35.0006 16.5664C35.0838 15.1833 34.6163 13.8505 33.6666 12.834C32.7001 11.8175 31.4003 11.2502 30.0006 11.25C28.5173 11.25 27.1674 10.4163 26.4674 9.09961L25.2506 6.66602C24.7005 5.56612 23.1323 4.59961 21.899 4.59961H18.1002V4.58398ZM20.0006 17.916C23.6837 17.9163 26.6666 20.9008 26.6666 24.584C26.6662 28.2668 23.6834 31.2497 20.0006 31.25C16.3175 31.25 13.333 28.267 13.3326 24.584C13.3326 20.9007 16.3172 17.916 20.0006 17.916ZM20.0006 20.416C17.7006 20.416 15.8326 22.284 15.8326 24.584C15.833 26.8837 17.7008 28.75 20.0006 28.75C22.3001 28.7497 24.1662 26.8835 24.1666 24.584C24.1666 22.2842 22.3003 20.4163 20.0006 20.416ZM22.5006 12.084C23.1837 12.0843 23.7506 12.6508 23.7506 13.334C23.7502 14.0168 23.1835 14.5837 22.5006 14.584H17.5006C16.8175 14.584 16.2509 14.017 16.2506 13.334C16.2506 12.6507 16.8172 12.084 17.5006 12.084H22.5006Z",fill:"currentColor"})}),Hb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M20 2.08398C29.8833 2.08398 37.916 10.1167 37.916 20C37.916 29.8833 29.8833 37.916 20 37.916C10.1167 37.916 2.08398 29.8833 2.08398 20C2.08398 10.1167 10.1167 2.08398 20 2.08398ZM20 4.58398C11.5 4.58398 4.58398 11.5 4.58398 20C4.58398 28.5 11.5 35.416 20 35.416C28.5 35.416 35.416 28.5 35.416 20C35.416 11.5 28.5 4.58398 20 4.58398ZM26.1992 14.3828C26.6825 13.8995 27.4834 13.8997 27.9668 14.3828C28.4501 14.8661 28.4501 15.6671 27.9668 16.1504L18.5176 25.5996C18.2842 25.8329 17.9661 25.9668 17.6328 25.9668C17.2997 25.9667 16.9832 25.8328 16.75 25.5996L12.0332 20.8828C11.5503 20.3996 11.5503 19.6004 12.0332 19.1172C12.5165 18.6339 13.3174 18.6339 13.8008 19.1172L17.6328 22.9492L26.1992 14.3828Z",fill:"currentColor"})}),Fb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M19.9985 2.06641C29.8815 2.06641 37.916 10.0995 37.9165 19.9824C37.9165 29.8658 29.8818 37.9004 19.9985 37.9004C16.9821 37.9003 14.032 37.15 11.3989 35.7168L3.66647 37.8672C3.5498 37.9005 3.44915 37.916 3.33248 37.916C2.99949 37.916 2.68292 37.7837 2.44967 37.5508C2.13317 37.2343 1.99935 36.7671 2.11569 36.334L4.2153 28.4824C2.81564 25.8827 2.08248 22.9487 2.08248 19.9824C2.08297 10.0997 10.1158 2.06681 19.9985 2.06641ZM19.9985 4.58398C11.4988 4.58439 4.58249 11.5002 4.58248 20C4.58248 22.7164 5.29916 25.3661 6.64889 27.6992C6.81556 27.9826 6.86504 28.3337 6.7817 28.6504L5.11569 34.8828L11.2485 33.1836C11.3485 33.1503 11.4669 33.1328 11.5669 33.1328C11.7832 33.133 12 33.2009 12.1997 33.3008C14.5493 34.6837 17.249 35.4159 19.9985 35.416C28.4985 35.416 35.4165 28.5 35.4165 20C35.4165 11.5 28.4985 4.58398 19.9985 4.58398ZM12.0493 11.5C13.1159 10.4501 14.6491 10.0672 15.8657 10.6504C16.2822 10.8337 16.6323 11.1334 16.8989 11.5332L18.8325 14.25C19.0325 14.5167 19.1826 14.8007 19.2993 15.084C19.4325 15.417 19.516 15.75 19.5161 16.0664C19.5161 16.4996 19.3996 16.9332 19.1665 17.3164C19.0165 17.5664 18.7994 17.8671 18.5161 18.1504L18.2993 18.3828C18.3993 18.5161 18.5164 18.6829 18.6997 18.8828C19.0497 19.2828 19.4334 19.7161 19.8501 20.1328C20.2667 20.5328 20.6834 20.9332 21.1001 21.2832C21.2999 21.4497 21.4668 21.5827 21.6001 21.666L21.8325 21.4336C22.1325 21.1336 22.4329 20.9 22.7329 20.75C23.2829 20.4001 24.1333 20.3162 24.8833 20.6328C25.1498 20.7328 25.4164 20.884 25.6997 21.084L28.4829 23.0508C28.8659 23.3173 29.1658 23.6833 29.3657 24.0996C29.5324 24.5163 29.6001 24.8842 29.6001 25.2676C29.5999 25.7673 29.4826 26.2504 29.2661 26.7168C29.0494 27.1501 28.7985 27.5328 28.4985 27.8828C27.9652 28.4661 27.3487 28.9003 26.6821 29.1836C26.0158 29.4666 25.2997 29.5995 24.5669 29.5996C23.5336 29.5996 22.4666 29.366 21.3501 28.8828C20.3002 28.4329 19.2494 27.8339 18.2329 27.084C17.2331 26.3508 16.2499 25.517 15.3501 24.6172C14.4503 23.7008 13.6164 22.7341 12.8833 21.7344C12.1333 20.6844 11.5334 19.6495 11.1001 18.6328C10.6335 17.5329 10.3989 16.4493 10.3989 15.416C10.399 14.683 10.5338 13.9837 10.7837 13.334C11.0503 12.6507 11.4826 12.0333 12.0493 11.5ZM14.6489 12.9004C14.5483 12.9004 14.2152 12.9005 13.7993 13.3164C13.4826 13.6164 13.2657 13.9332 13.1157 14.2832C12.9657 14.6332 12.8989 15.0336 12.8989 15.4336C12.8989 16.1335 13.0656 16.8837 13.3989 17.6836C13.7488 18.5168 14.2657 19.4 14.8989 20.2832C15.5489 21.1665 16.2834 22.0505 17.1001 22.8672C17.9165 23.6669 18.7823 24.4175 19.6821 25.084C20.5488 25.7173 21.4335 26.2163 22.3169 26.5996C23.5833 27.1494 24.7498 27.2828 25.6997 26.8828C26.0328 26.7494 26.3334 26.5167 26.6333 26.2168C26.7832 26.0502 26.8986 25.8826 26.9985 25.666C27.0483 25.5497 27.0823 25.4172 27.0825 25.3008C27.0825 25.2675 27.0833 25.2167 27.0337 25.1172L24.2485 23.1836C24.1321 23.1005 24.0162 23.0333 23.9165 23C23.8498 23.0333 23.7502 23.0842 23.5669 23.2676L22.9321 23.9004C22.449 24.3831 21.6832 24.5169 21.0669 24.3008L20.7661 24.166C20.3828 23.966 19.9485 23.6665 19.4653 23.25C18.9989 22.8502 18.5499 22.4331 18.0669 21.9668C17.6003 21.4836 17.1836 21.033 16.7837 20.5664C16.3504 20.0498 16.0501 19.6332 15.8501 19.2832L15.6665 18.8496C15.6166 18.6832 15.6001 18.5004 15.6001 18.334C15.6001 17.8675 15.7661 17.4505 16.0825 17.1172L16.7153 16.4668C16.898 16.2841 16.965 16.1839 16.9985 16.1172C16.9485 16.0005 16.8826 15.8999 16.7993 15.7832L14.8501 13.0332L14.6489 12.9004Z",fill:"currentColor"})}),zb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M21.9355 2.09961C30.7355 2.09967 37.9023 8.81736 37.9023 17.084C37.9021 21.6171 35.8014 25.7829 32.1016 28.6328L32.668 33.166C32.8013 34.2993 32.3015 35.3657 31.3516 35.9824C30.8849 36.2824 30.3352 36.4492 29.7852 36.4492C29.2686 36.4492 28.7517 36.3165 28.2852 36.0332L21.6016 32.0664C21.1333 32.0552 20.6653 32.0264 20.207 31.9805C18.3402 33.9471 15.7269 35.0912 12.8691 35.1836L8.80078 37.5996C8.43422 37.8161 8.03463 37.916 7.63477 37.916C7.2018 37.916 6.78541 37.8004 6.40234 37.5508C5.65234 37.0674 5.25156 36.2329 5.35156 35.3496L5.68555 32.7832C3.43555 30.9499 2.10156 28.2328 2.10156 25.3828C2.10175 22.3937 3.54191 19.5905 5.99023 17.7461C5.97759 17.5278 5.96876 17.3077 5.96875 17.084C5.96875 8.81732 13.1355 2.09961 21.9355 2.09961ZM12.502 18.084C10.8689 18.084 9.30286 18.534 7.98633 19.4004C7.94306 19.4279 7.89693 19.4507 7.85156 19.4727C5.7996 20.8459 4.58419 23.0338 4.58398 25.3828C4.58398 27.6995 5.71875 29.8169 7.71875 31.1836C8.10182 31.4503 8.30194 31.9007 8.25195 32.3672L7.88477 35.2168L11.8691 32.8496C12.0689 32.7333 12.2856 32.666 12.502 32.666C14.9516 32.6659 17.2678 31.6169 18.7344 29.834C19.8343 28.5341 20.4179 27.0003 20.418 25.3672C20.418 25.2521 20.414 25.1372 20.4082 25.0234C20.1955 21.1643 16.7319 18.084 12.502 18.084ZM21.9355 4.56641C14.7855 4.56641 8.91966 9.76745 8.48633 16.3008C9.73617 15.8176 11.0865 15.5508 12.4863 15.5508C14.1133 15.5509 15.6531 15.9033 17.0254 16.5312C20.5206 18.1162 22.9353 21.4869 22.9355 25.3828C22.9355 26.8262 22.5866 28.2538 21.9355 29.5508C22.1633 29.5384 22.3907 29.6023 22.5859 29.7324L29.5684 33.8828C29.7517 33.9995 29.902 33.9495 30.002 33.8828C30.0853 33.8328 30.2188 33.6999 30.1855 33.4668L29.5352 28.1992C29.4855 27.7328 29.6863 27.2841 30.0527 27.0176C33.4525 24.6344 35.4021 21.0005 35.4023 17.0508C35.4023 10.1675 29.3688 4.56647 21.9355 4.56641Z",fill:"currentColor"})}),Gb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M25.8359 2.08398C33.1852 2.08412 35.4178 4.31675 35.418 11.666V30.834C35.4176 34.7335 32.2354 37.9157 28.3359 37.916H11.668C7.76848 37.9157 4.58629 34.7335 4.58594 30.834V11.666C4.58607 4.31675 6.81871 2.08412 14.168 2.08398H25.8359ZM10.5859 26.25C8.6526 26.25 7.08594 27.8167 7.08594 29.75V30.834C7.08629 33.3668 9.13515 35.4157 11.668 35.416H28.3359C30.8688 35.4157 32.9176 33.3668 32.918 30.834V29.2324C32.903 29.1406 32.8953 29.0456 32.9023 28.9492C32.9189 28.7497 32.918 28.5335 32.918 28.334V26.25H10.5859ZM14.168 4.58398C8.20209 4.58407 7.08602 5.7168 7.08594 11.666V24.8848C8.07312 24.173 9.28163 23.75 10.5859 23.75H32.918V11.666C32.9179 5.7168 31.8018 4.58407 25.8359 4.58398H14.168ZM21.668 16.25C22.3513 16.25 22.918 16.8167 22.918 17.5C22.918 18.1833 22.3513 18.75 21.668 18.75H13.3359C12.6526 18.75 12.0859 18.1833 12.0859 17.5C12.0859 16.8167 12.6526 16.25 13.3359 16.25H21.668ZM26.668 10.416C27.3511 10.416 27.9176 10.983 27.918 11.666C27.918 12.3493 27.3513 12.916 26.668 12.916H13.3359C12.6526 12.916 12.0859 12.3493 12.0859 11.666C12.0863 10.983 12.6528 10.416 13.3359 10.416H26.668Z",fill:"currentColor"})}),Vb=e=>(0,D.jsxs)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("path",{d:"M19.9987 37.9173C10.1154 37.9173 2.08203 29.884 2.08203 20.0007C2.08203 10.1173 10.1154 2.08398 19.9987 2.08398C29.882 2.08398 37.9154 10.1173 37.9154 20.0007C37.9154 29.884 29.882 37.9173 19.9987 37.9173ZM19.9987 4.58398C11.4987 4.58398 4.58203 11.5007 4.58203 20.0007C4.58203 28.5007 11.4987 35.4173 19.9987 35.4173C28.4987 35.4173 35.4154 28.5007 35.4154 20.0007C35.4154 11.5007 28.4987 4.58398 19.9987 4.58398Z",fill:"currentColor"}),(0,D.jsx)("path",{d:"M20 27.9173C19.3167 27.9173 18.75 27.3507 18.75 26.6673V18.334C18.75 17.6507 19.3167 17.084 20 17.084C20.6833 17.084 21.25 17.6507 21.25 18.334V26.6673C21.25 27.3507 20.6833 27.9173 20 27.9173Z",fill:"currentColor"}),(0,D.jsx)("path",{d:"M19.9987 15.0008C19.782 15.0008 19.5654 14.9508 19.3654 14.8674C19.1654 14.7841 18.982 14.6674 18.8154 14.5174C18.6654 14.3508 18.5487 14.1841 18.4654 13.9674C18.382 13.7674 18.332 13.5508 18.332 13.3341C18.332 13.1174 18.382 12.9008 18.4654 12.7008C18.5487 12.5008 18.6654 12.3174 18.8154 12.1508C18.982 12.0008 19.1654 11.8841 19.3654 11.8008C19.7654 11.6341 20.232 11.6341 20.632 11.8008C20.832 11.8841 21.0154 12.0008 21.182 12.1508C21.332 12.3174 21.4487 12.5008 21.532 12.7008C21.6154 12.9008 21.6654 13.1174 21.6654 13.3341C21.6654 13.5508 21.6154 13.7674 21.532 13.9674C21.4487 14.1841 21.332 14.3508 21.182 14.5174C21.0154 14.6674 20.832 14.7841 20.632 14.8674C20.432 14.9508 20.2154 15.0008 19.9987 15.0008Z",fill:"currentColor"})]}),Ub=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M23.334 2.08398C24.7906 2.08398 27.3906 2.08413 27.8457 5.54102C33.8029 6.1997 36.25 9.49701 36.25 16.6504V26.6504C36.2499 33.6168 34.3665 37.916 25 37.916H15C5.63333 37.916 3.75 33.616 3.75 26.666V16.666C3.75015 9.49889 6.19612 6.20041 12.1504 5.55469C12.6003 2.08385 15.2074 2.08398 16.666 2.08398H23.334ZM12.1934 8.05469C8.25671 8.51602 6.25013 10.2583 6.25 16.666V26.666C6.25 32.8327 7.46667 35.416 15 35.416H25C32.5333 35.416 33.75 32.8327 33.75 26.666V16.666C33.7499 10.2785 31.7558 8.52855 27.8438 8.06055C27.6282 9.57377 26.7688 11.2498 23.334 11.25H16.666C15.2472 11.25 12.7431 11.2493 12.1934 8.05469ZM20.6328 25.75C21.3161 25.75 21.8828 26.3167 21.8828 27C21.8828 27.6833 21.3161 28.25 20.6328 28.25H13.334C12.6507 28.25 12.084 27.6833 12.084 27C12.084 26.3167 12.6507 25.75 13.334 25.75H20.6328ZM25 19.084C25.6833 19.084 26.25 19.6507 26.25 20.334C26.2497 21.017 25.6831 21.584 25 21.584H13.334C12.6509 21.584 12.0843 21.017 12.084 20.334C12.084 19.6507 12.6507 19.084 13.334 19.084H25ZM16.666 4.58398C15.0167 4.58398 14.5841 4.58361 14.584 6.66602C14.584 8.74907 15.0166 8.75 16.666 8.75H23.334C25.4167 8.74991 25.416 8.31584 25.416 6.66602C25.4159 4.58361 24.9833 4.58398 23.334 4.58398H16.666Z",fill:"currentColor"})}),qb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M12.668 3.5658C14.551 2.44932 17.0344 3.09908 18.168 5.01502L18.3691 5.34901C19.3525 7.04895 20.7022 7.04899 21.6855 5.34901L21.8691 5.0326C23.0025 3.09943 25.4848 2.45011 27.3848 3.58338L30.252 5.23182C31.2685 5.81507 32.0016 6.76564 32.3184 7.91541C32.6183 9.06525 32.4679 10.2485 31.8848 11.265C31.4014 12.115 31.2694 12.8833 31.5527 13.3666C31.8364 13.8494 32.5525 14.1322 33.5352 14.1322C35.9685 14.1322 37.9512 16.1168 37.9512 18.5502V21.4818C37.9512 23.9152 35.9685 25.8998 33.5352 25.8998C32.5524 25.8998 31.8363 26.1825 31.5527 26.6654C31.2695 27.1486 31.3852 27.9154 31.8848 28.765C32.4681 29.7817 32.635 30.9833 32.3184 32.1166C32.0182 33.2663 31.2851 34.217 30.252 34.8002L27.3691 36.4486C26.7358 36.7986 26.0516 36.9818 25.3516 36.9818C25.0019 36.9818 24.6524 36.9322 24.3027 36.849C23.2694 36.5657 22.4016 35.9161 21.8516 34.9994L21.6523 34.6654C20.6691 32.9658 19.3192 32.9661 18.3359 34.6654L18.1523 34.9818C17.6023 35.9152 16.7345 36.5823 15.7012 36.849C14.6516 37.132 13.5687 36.9826 12.6523 36.433L9.78516 34.7826C8.76853 34.1993 8.03541 33.249 7.71875 32.099C7.41881 30.9491 7.56904 29.766 8.15234 28.7494C8.63565 27.8994 8.76769 27.1331 8.48438 26.6498C8.20104 26.1665 7.48529 25.8822 6.50195 25.8822C4.06872 25.8822 2.0861 23.8994 2.08594 21.4662V18.5326C2.08594 16.0993 4.06862 14.1166 6.50195 14.1166C7.48513 14.1166 8.20095 13.8322 8.48438 13.349C8.76768 12.8657 8.6522 12.0993 8.15234 11.2494C7.5691 10.2329 7.41892 9.03298 7.71875 7.89979C8.01873 6.74987 8.75194 5.79954 9.78516 5.21619L12.668 3.5658ZM26.0859 5.71619C25.3694 5.28291 24.4178 5.53188 23.9844 6.26502L23.8027 6.58338C22.8527 8.23321 21.4676 9.16541 19.9844 9.16541C18.5015 9.16503 17.1178 8.23283 16.168 6.58338L15.9844 6.2494C15.5676 5.54961 14.6345 5.29958 13.918 5.71619L11.0352 7.38221C10.6018 7.63221 10.2681 8.05018 10.1348 8.55018C10.0018 9.04986 10.0685 9.56636 10.3184 9.9994C11.2683 11.6326 11.3855 13.3157 10.6523 14.599C9.91901 15.8823 8.40195 16.6166 6.50195 16.6166C5.43529 16.6166 4.58594 17.4659 4.58594 18.5326V21.4662C4.5861 22.5161 5.43539 23.3822 6.50195 23.3822C8.40195 23.3822 9.91901 24.1165 10.6523 25.3998C11.3853 26.683 11.2682 28.3663 10.3184 29.9994C10.0686 30.4325 10.0017 30.9489 10.1348 31.4486C10.2681 31.9486 10.5862 32.3499 11.0195 32.6166L13.9023 34.265C14.2523 34.4817 14.6694 34.533 15.0527 34.433C15.4524 34.3329 15.7854 34.0659 16.002 33.7162L16.1855 33.3998C17.1355 31.7665 18.5186 30.8158 20.002 30.8158C21.4853 30.8158 22.8684 31.7498 23.8184 33.3998L24.002 33.7162C24.202 34.0661 24.5356 34.3154 24.9355 34.4154C25.3355 34.5154 25.7351 34.465 26.0684 34.265L28.9512 32.599C29.3844 32.3491 29.7181 31.9328 29.8516 31.433C29.9849 30.933 29.918 30.4152 29.668 29.9818C28.7184 28.3487 28.6027 26.6653 29.3359 25.3822C30.0693 24.0994 31.5851 23.3668 33.4844 23.3666C34.551 23.3666 35.4023 22.5153 35.4023 21.4486V18.515C35.4019 17.4654 34.5507 16.599 33.4844 16.599C31.5852 16.5988 30.0693 15.866 29.3359 14.5834C28.6026 13.3 28.718 11.6152 29.668 9.98182C29.9178 9.54854 29.9849 9.0325 29.8516 8.5326C29.7183 8.03278 29.4019 7.63324 28.9688 7.36659L26.0859 5.71619ZM20.002 13.7494C23.4519 13.7494 26.2519 16.5495 26.252 19.9994C26.252 23.4494 23.452 26.2494 20.002 26.2494C16.552 26.2494 13.752 23.4494 13.752 19.9994C13.752 16.5495 16.552 13.7494 20.002 13.7494ZM20.002 16.2494C17.9353 16.2494 16.252 17.9328 16.252 19.9994C16.252 22.0661 17.9353 23.7494 20.002 23.7494C22.0686 23.7494 23.752 22.0661 23.752 19.9994C23.7519 17.9328 22.0686 16.2494 20.002 16.2494Z",fill:"currentColor"})}),Wb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M23.377 2.08984C23.4032 2.09091 23.429 2.09493 23.4551 2.09766C23.5438 2.1064 23.6284 2.12366 23.7109 2.15039C23.727 2.15558 23.7439 2.15823 23.7598 2.16406C23.8036 2.18027 23.8453 2.19984 23.8867 2.2207C23.9116 2.23297 23.9348 2.24784 23.959 2.26172C23.9906 2.28037 24.0229 2.2971 24.0527 2.31836C24.1103 2.35811 24.1672 2.4 24.2188 2.44922L37.5527 15.7832C37.6068 15.8374 37.6527 15.8983 37.6953 15.9609C37.7015 15.9698 37.7069 15.9792 37.7129 15.9883C37.7452 16.0385 37.7741 16.0904 37.7988 16.1445C37.8097 16.1678 37.8206 16.1909 37.8301 16.2148C37.8445 16.2524 37.8544 16.2913 37.8652 16.3301C37.8833 16.393 37.8945 16.4571 37.9023 16.5234C37.9063 16.5567 37.9108 16.5896 37.9121 16.623C37.9126 16.6374 37.918 16.6516 37.918 16.666V25C37.918 34.05 34.052 37.916 25.002 37.916H15.002C5.95195 37.916 2.08594 34.05 2.08594 25V15C2.08594 5.95 5.95195 2.08398 15.002 2.08398H23.3359C23.3497 2.08399 23.3633 2.08938 23.377 2.08984ZM15.002 4.58398C7.31862 4.58398 4.58594 7.31667 4.58594 15V25C4.58594 32.6833 7.31862 35.416 15.002 35.416H25.002C32.6853 35.416 35.418 32.6833 35.418 25V17.916H30.002C24.302 17.916 22.0859 15.7 22.0859 10V4.58398H15.002ZM15.002 17.084C15.6853 17.084 16.252 17.6507 16.252 18.334V25.3164L17.4512 24.1172C17.9345 23.6339 18.7354 23.6339 19.2188 24.1172C19.7016 24.6004 19.7016 25.3996 19.2188 25.8828L15.8848 29.2168L15.6855 29.3789C15.4763 29.5171 15.2393 29.584 15.002 29.584L14.7656 29.5605C14.6589 29.5403 14.5572 29.5003 14.457 29.4512C14.3046 29.3805 14.1703 29.2832 14.0625 29.1602L10.7852 25.8828C10.3022 25.3995 10.3022 24.6005 10.7852 24.1172C11.2685 23.6339 12.0694 23.6339 12.5527 24.1172L13.752 25.3164V18.334C13.752 17.6507 14.3186 17.084 15.002 17.084ZM24.5859 10C24.5859 14.3 25.702 15.416 30.002 15.416H33.6523L24.5859 6.34961V10Z",fill:"currentColor"})}),Yb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M9.2848 37.8327C5.3848 37.8327 2.0848 34.5327 2.0848 30.6327V20.366C2.00147 15.4993 3.80147 10.916 7.16813 7.48268C10.5348 4.06602 15.0515 2.16602 19.9181 2.16602C29.8515 2.16602 37.9181 10.2493 37.9181 20.166V30.4327C37.9181 34.3993 34.6848 37.6327 30.7181 37.6327C26.8181 37.6327 23.5181 34.3327 23.5181 30.4327V25.7493C23.5181 23.3327 25.4181 21.4327 27.8348 21.4327C30.2515 21.4327 32.1515 23.3327 32.1515 25.7493V30.7993C32.1515 31.4827 31.5848 32.0493 30.9015 32.0493C30.2181 32.0493 29.6515 31.4827 29.6515 30.7993V25.7493C29.6515 24.616 28.7348 23.9327 27.8348 23.9327C26.7015 23.9327 26.0181 24.8493 26.0181 25.7493V30.4327C26.0181 32.9827 28.1681 35.1327 30.7181 35.1327C33.2681 35.1327 35.4181 32.9827 35.4181 30.4327V20.166C35.4181 11.616 28.4681 4.66602 19.9181 4.66602C15.7348 4.66602 11.8515 6.28268 8.95147 9.23268C6.05147 12.1827 4.50147 16.1327 4.5848 20.3327V30.6327C4.5848 33.1827 6.7348 35.3327 9.2848 35.3327C11.8348 35.3327 13.9848 33.1827 13.9848 30.6327V25.9493C13.9848 24.816 13.0681 24.1327 12.1681 24.1327C11.0348 24.1327 10.3515 25.0493 10.3515 25.9493V30.816C10.3515 31.4993 9.7848 32.066 9.10147 32.066C8.41813 32.066 7.85147 31.4993 7.85147 30.816V25.9493C7.85147 23.5327 9.75147 21.6327 12.1681 21.6327C14.5848 21.6327 16.4848 23.5327 16.4848 25.9493V30.6327C16.4848 34.5327 13.1848 37.8327 9.2848 37.8327Z",fill:"currentColor"})}),Kb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M25.0008 34.4505C24.6841 34.4505 24.3674 34.3339 24.1174 34.0839L13.2508 23.2172C11.4841 21.4505 11.4841 18.5505 13.2508 16.7839L24.1174 5.91719C24.6008 5.43385 25.4008 5.43385 25.8841 5.91719C26.3674 6.40052 26.3674 7.20052 25.8841 7.68385L15.0174 18.5505C14.2174 19.3505 14.2174 20.6505 15.0174 21.4505L25.8841 32.3172C26.3674 32.8005 26.3674 33.6005 25.8841 34.0839C25.6341 34.3172 25.3174 34.4505 25.0008 34.4505Z",fill:"currentColor"})}),Xb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M25.3991 2.88281C33.5823 2.88281 37.0826 6.38324 37.0827 14.5664V25.4336C37.0826 33.6167 33.5823 37.1172 25.3991 37.1172H25.1823C17.7827 37.117 14.2169 34.1992 13.6002 27.666C13.5339 26.9829 14.0332 26.3674 14.7331 26.3008C15.3997 26.2342 16.0336 26.7503 16.1002 27.4336C16.5837 32.6667 19.05 34.6172 25.1999 34.6172H25.4167C32.1996 34.6171 34.6002 32.2166 34.6002 25.4336V14.5664C34.6002 7.78339 32.1996 5.38292 25.4167 5.38281H25.1999C19.0168 5.38281 16.5504 7.36649 16.1002 12.6992C16.0169 13.3825 15.433 13.9005 14.7331 13.834C14.0331 13.784 13.5327 13.1658 13.5827 12.4824C14.1496 5.84987 17.733 2.88297 25.1823 2.88281H25.3991ZM8.86783 13.5332C9.351 13.0501 10.1501 13.0504 10.6335 13.5332C11.1168 14.0165 11.1168 14.8174 10.6335 15.3008L7.18423 18.75H25.0006C25.6839 18.7501 26.2506 19.3167 26.2506 20C26.2506 20.6833 25.6839 21.2499 25.0006 21.25H7.18423L10.6335 24.6992C11.1168 25.1826 11.1168 25.9835 10.6335 26.4668C10.4001 26.7164 10.0671 26.834 9.75064 26.834C9.43417 26.8339 9.11769 26.7166 8.86783 26.4668L3.28384 20.8828C2.8012 20.3996 2.80124 19.6004 3.28384 19.1172L8.86783 13.5332Z",fill:"currentColor"})}),Zb=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M33.2005 26.3328C32.8839 26.3328 32.5672 26.2161 32.3172 25.9661L21.4505 15.0995C20.6505 14.2995 19.3505 14.2995 18.5505 15.0995L7.68385 25.9661C7.20052 26.4495 6.40052 26.4495 5.91719 25.9661C5.43385 25.4828 5.43385 24.6828 5.91719 24.1995L16.7839 13.3328C18.5505 11.5661 21.4339 11.5661 23.2172 13.3328L34.0839 24.1995C34.5672 24.6828 34.5672 25.4828 34.0839 25.9661C33.8339 26.1995 33.5172 26.3328 33.2005 26.3328Z",fill:"currentColor"})}),jb=e=>(0,D.jsx)("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M24 33.6C22.6 33.6 21.2 33.06 20.14 32L7.10004 18.96C6.52004 18.38 6.52004 17.42 7.10004 16.84C7.68004 16.26 8.64004 16.26 9.22004 16.84L22.26 29.88C23.22 30.84 24.78 30.84 25.74 29.88L38.78 16.84C39.36 16.26 40.32 16.26 40.9 16.84C41.48 17.42 41.48 18.38 40.9 18.96L27.86 32C26.8 33.06 25.4 33.6 24 33.6Z",fill:"currentColor"})}),$b=e=>(0,D.jsx)("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M17.8202 41.34C17.4402 41.34 17.0602 41.2 16.7602 40.9C16.1802 40.32 16.1802 39.36 16.7602 38.78L29.8002 25.74C30.7602 24.78 30.7602 23.22 29.8002 22.26L16.7602 9.22004C16.1802 8.64004 16.1802 7.68004 16.7602 7.10004C17.3402 6.52004 18.3002 6.52004 18.8802 7.10004L31.9202 20.14C32.9402 21.16 33.5202 22.54 33.5202 24C33.5202 25.46 32.9602 26.84 31.9202 27.86L18.8802 40.9C18.5802 41.18 18.2002 41.34 17.8202 41.34Z",fill:"currentColor"})}),Fu=4,Qb=e=>(0,D.jsxs)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("rect",{width:"40",height:"40",rx:Fu,fill:"#1CC68E"}),(0,D.jsx)("path",{d:"M12.69 28.57L17.66 20.11L12.71 11.66H16.70L19.99 17.51L23.31 11.66H27.33L22.29 20.11L27.33 28.57H23.31L19.99 22.70L16.70 28.57H12.69Z",fill:"white"})]}),Jb=e=>(0,D.jsxs)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("rect",{width:"40",height:"40",rx:Fu,fill:"#0074E8"}),(0,D.jsx)("rect",{x:"10",y:"12",width:"20",height:"2.6",rx:"1.3",fill:"white"}),(0,D.jsx)("rect",{x:"10",y:"17.6",width:"20",height:"2.6",rx:"1.3",fill:"white"}),(0,D.jsx)("rect",{x:"10",y:"23.2",width:"20",height:"2.6",rx:"1.3",fill:"white"}),(0,D.jsx)("rect",{x:"10",y:"28.8",width:"13",height:"2.6",rx:"1.3",fill:"white"})]}),ev=e=>(0,D.jsxs)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("rect",{width:"40",height:"40",rx:Fu,fill:"#E70000"}),(0,D.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.52 5.71 19.55 5.83 20.8 7.62 20.57 11.19 19.89 13.81 22.61 18.81 25.23 22.02 29.32 21.55 31.14 22.26 31.48 22.86 31.48 24.29 30.23 25.83 29.09 26.31 27.73 26.07 26.36 25.36 24.77 23.93 22.73 24.17 16.59 26.31 15.34 27.14 14.2 29.76 12.84 31.9 11.14 33.45 9.77 33.45 8.52 32.14 8.3 31.43 8.52 30.24 10.0 28.21 14.43 25.48 15.8 22.38 17.61 16.9 18.3 14.05 16.93 10.48 16.7 7.86 17.16 6.67 17.95 5.83 18.41 5.83ZM18.52 7.62 18.86 7.5 19.2 8.1 19.2 10.24 18.86 10.83 18.52 10.71 18.07 9.76 18.07 8.57 18.41 7.74ZM19.2 16.67 19.89 17.14 21.48 20.0 23.3 22.38 16.82 24.4 16.7 24.05 18.07 20.71 19.2 16.9ZM27.61 23.33 29.32 23.21 29.89 23.81 29.32 24.4 27.95 24.4 26.93 23.57 27.5 23.45ZM12.61 28.33 13.07 28.33 12.39 29.76 10.68 31.79 10.23 31.79 9.89 31.43 10.11 30.48 12.5 28.45Z",fill:"white"})]}),tv=e=>(0,D.jsxs)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("rect",{width:"40",height:"40",rx:Fu,fill:"#1CC68E"}),(0,D.jsx)("rect",{x:"10",y:"11",width:"20",height:"18",rx:"2",fill:"white"}),(0,D.jsx)("rect",{x:"10",y:"16.4",width:"20",height:"1.7",fill:"#1CC68E"}),(0,D.jsx)("rect",{x:"10",y:"21.8",width:"20",height:"1.7",fill:"#1CC68E"}),(0,D.jsx)("rect",{x:"16.4",y:"11",width:"1.7",height:"18",fill:"#1CC68E"}),(0,D.jsx)("rect",{x:"22.8",y:"11",width:"1.7",height:"18",fill:"#1CC68E"})]}),av=e=>(0,D.jsxs)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("rect",{width:"40",height:"40",rx:Fu,fill:"#94A3B8"}),(0,D.jsx)("rect",{x:"11",y:"13",width:"18",height:"2.4",rx:"1.2",fill:"white"}),(0,D.jsx)("rect",{x:"11",y:"18.8",width:"18",height:"2.4",rx:"1.2",fill:"white"}),(0,D.jsx)("rect",{x:"11",y:"24.6",width:"11",height:"2.4",rx:"1.2",fill:"white"})]}),ov=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M8.72467 7.25C8.98047 6.99457 9.41062 7.09225 9.56353 7.41992C9.68019 7.65323 9.79642 7.87853 9.92974 8.10351C10.038 8.28673 10.155 8.46974 10.2549 8.59472C10.3799 8.78632 10.5222 8.95272 10.6055 9.05273C10.6639 9.12773 10.7055 9.18646 10.7305 9.20312C11.0055 9.53641 11.314 9.83701 11.5889 10.0703C11.6554 10.1368 11.7139 10.187 11.7305 10.1953C11.8887 10.3285 12.0558 10.4611 12.1973 10.5527C12.3723 10.6777 12.5472 10.795 12.7305 10.9033C12.9553 11.0365 13.1884 11.153 13.4297 11.2695C13.755 11.4105 13.8493 11.8421 13.5987 12.0928L8.90533 16.7861C8.80544 16.8943 8.59729 16.9944 8.44732 17.0195L5.24713 17.4697C5.14728 17.4864 5.04717 17.4951 4.94732 17.4951C4.49737 17.4951 4.08032 17.3365 3.78033 17.0449C3.4304 16.6867 3.27231 16.1535 3.35553 15.5869L3.80474 12.3945C3.8298 12.253 3.92995 12.0449 4.03814 11.9365L8.72467 7.25ZM11.4131 4.56152C13.0714 2.90329 14.6549 2.94489 16.2715 4.56152C17.1048 5.38647 17.5045 6.18677 17.4962 7.01172C17.4961 7.81161 17.0964 8.60336 16.2715 9.41992L15.2715 10.4277C15.2049 10.4944 15.121 10.5283 15.0294 10.5283C14.9962 10.5283 14.9629 10.52 14.9297 10.5117C12.7215 9.8784 10.9547 8.11158 10.3213 5.90332C10.2881 5.78682 10.3213 5.65367 10.4044 5.57031L11.4131 4.56152Z",fill:"currentColor"})}),nv=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M20.78 7.789C24.1966 4.17238 27.7629 4.07352 31.3796 7.49017C34.9961 10.9068 35.097 14.4732 31.6804 18.0898L17.9968 32.5722C17.2968 33.3222 15.9959 34.0227 14.9792 34.1894L9.61397 35.1054C9.33064 35.1221 9.07985 35.1562 8.81319 35.1562C7.79664 35.1561 6.84606 34.8061 6.1628 34.1562C5.29647 33.3397 4.88025 32.1063 5.02998 30.7734L5.64717 25.373C5.76381 24.3566 6.37998 23.0068 7.09639 22.2734L20.78 7.789ZM8.9128 23.9726C8.57967 24.3227 8.19646 25.1554 8.12959 25.6386L7.51436 31.039C7.44773 31.5887 7.57995 32.0388 7.87959 32.3222C8.17959 32.6055 8.63038 32.7063 9.18038 32.623L14.5476 31.705C15.0307 31.6214 15.8293 31.1895 16.1628 30.8398L26.0319 20.3925C22.6897 19.336 20.0102 16.8001 18.778 13.5175L8.9128 23.9726ZM26.1296 7.47259C24.8465 7.47283 23.7296 8.27277 22.5964 9.47259L20.7702 11.4062C21.5567 14.9636 24.4157 17.6932 28.0046 18.3027L29.8464 16.3554C31.913 14.1554 32.6638 12.1223 29.6472 9.289C28.3138 8.00567 27.1629 7.47259 26.1296 7.47259Z",fill:"currentColor"})}),rv=e=>(0,D.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M23.375 2.0918C23.4012 2.09286 23.427 2.09688 23.4531 2.09961C23.5418 2.10835 23.6264 2.12561 23.709 2.15234C23.7251 2.15753 23.7419 2.16019 23.7578 2.16602C23.8016 2.18223 23.8433 2.20179 23.8848 2.22266C23.9096 2.23492 23.9329 2.24979 23.957 2.26367C23.9887 2.28232 24.021 2.29905 24.0508 2.32031C24.1083 2.36006 24.1652 2.40196 24.2168 2.45117L37.5508 15.7852C37.6049 15.8393 37.6507 15.9002 37.6934 15.9629C37.6995 15.9718 37.705 15.9812 37.7109 15.9902C37.7432 16.0405 37.7721 16.0923 37.7969 16.1465C37.8078 16.1697 37.8186 16.1929 37.8281 16.2168C37.8426 16.2543 37.8524 16.2933 37.8633 16.332C37.8813 16.395 37.8926 16.4591 37.9004 16.5254C37.9043 16.5586 37.9089 16.5915 37.9102 16.625C37.9107 16.6393 37.916 16.6535 37.916 16.668V25.002C37.916 34.052 34.05 37.918 25 37.918H15C5.95 37.918 2.08398 34.052 2.08398 25.002V15.002C2.08398 5.95195 5.95 2.08594 15 2.08594H23.334C23.3478 2.08594 23.3613 2.09133 23.375 2.0918ZM15 4.58594C7.31667 4.58594 4.58398 7.31862 4.58398 15.002V25.002C4.58398 32.6853 7.31667 35.418 15 35.418H25C32.6833 35.418 35.416 32.6853 35.416 25.002V17.918H30C24.3 17.918 22.084 15.702 22.084 10.002V4.58594H15ZM15 17.0859C15.6833 17.0859 16.25 17.6526 16.25 18.3359V25.3184L17.4492 24.1191C17.9326 23.6358 18.7335 23.6358 19.2168 24.1191C19.6997 24.6024 19.6997 25.4015 19.2168 25.8848L15.8828 29.2188L15.6836 29.3809C15.4743 29.519 15.2374 29.5859 15 29.5859L14.7637 29.5625C14.657 29.5422 14.5552 29.5022 14.4551 29.4531C14.3027 29.3825 14.1683 29.2852 14.0605 29.1621L10.7832 25.8848C10.3002 25.4015 10.3002 24.6024 10.7832 24.1191C11.2665 23.6358 12.0674 23.6358 12.5508 24.1191L13.75 25.3184V18.3359C13.75 17.6526 14.3167 17.0859 15 17.0859ZM24.584 10.002C24.584 14.302 25.7 15.418 30 15.418H33.6504L24.584 6.35156V10.002Z",fill:"currentColor"})}),sv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M17.4414 12.6751C17.7829 12.6751 18.0584 12.9498 18.0586 13.2913C18.0586 14.3079 17.4582 15.2252 16.5332 15.6419L10.917 18.1419C10.6337 18.2669 10.3167 18.3333 10 18.3333C9.68342 18.3333 9.3668 18.2668 9.0752 18.1419L3.45801 15.6419C2.53313 15.2335 1.93359 14.3079 1.93359 13.2913C1.93381 12.9499 2.20836 12.6752 2.5498 12.6751C2.89134 12.6751 3.16678 12.9498 3.16699 13.2913C3.16699 13.8161 3.47489 14.2913 3.95801 14.5081L9.5752 17.0081C9.84185 17.1247 10.1503 17.1247 10.417 17.0081L16.0332 14.5081C16.5082 14.2997 16.8252 13.8163 16.8252 13.2913C16.8254 12.9499 17.1 12.6752 17.4414 12.6751ZM17.4414 8.54127C17.7831 8.54127 18.0586 8.81679 18.0586 9.15846C18.0586 10.0918 17.3915 11.1247 16.5332 11.5081L10.917 14.0081C10.6337 14.1331 10.3167 14.2005 10 14.2005C9.68335 14.2005 9.36685 14.1331 9.0752 14.0081L3.45801 11.5081C2.59989 11.1246 1.93364 10.1 1.93359 9.15846C1.93359 8.81686 2.20823 8.54138 2.5498 8.54127C2.89147 8.54127 3.16699 8.81679 3.16699 9.15846C3.16704 9.60838 3.54145 10.1918 3.95801 10.3753L9.5752 12.8753C9.84181 12.9918 10.1504 12.9919 10.417 12.8753L16.0332 10.3753C16.4498 10.1919 16.8251 9.61678 16.8252 9.15846C16.8252 8.81688 17.0999 8.54141 17.4414 8.54127ZM8.74121 1.89967C9.45788 1.583 10.5421 1.583 11.2588 1.89967L16.1416 4.07545C17.3827 4.62524 17.5585 5.37456 17.5586 5.77467C17.5586 6.17467 17.3749 6.92487 16.1416 7.47487L11.2588 9.64967C10.9005 9.808 10.45 9.89186 10 9.89186C9.55 9.89186 9.09954 9.808 8.74121 9.64967L3.8584 7.47487C2.6251 6.92487 2.44141 6.17467 2.44141 5.77467C2.44155 5.37456 2.62559 4.62524 3.8584 4.07545L8.74121 1.89967Z",fill:"currentColor"})}),lv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M13.4912 1.66699C16.5245 1.66699 18.3329 3.55866 18.3329 6.70866V13.2837C18.3329 16.4337 16.5245 18.3337 13.4912 18.3337H6.50788C3.47455 18.3337 1.66621 16.4337 1.66621 13.2837V6.70866C1.66621 3.55866 3.47455 1.66699 6.50788 1.66699H13.4912ZM7.34121 7.91699C6.56621 7.91699 5.93288 8.54199 5.93288 9.31699C5.93288 10.1003 6.56621 10.7337 7.34121 10.7337C8.11621 10.7337 8.74955 10.1003 8.74955 9.31699C8.74955 8.54199 8.11621 7.91699 7.34121 7.91699ZM15.9495 12.1337C15.6829 11.8087 15.2912 11.617 14.8745 11.6087C14.4579 11.6003 14.0579 11.7753 13.7745 12.092L13.0745 12.9003C12.9745 13.017 12.8329 13.0753 12.6912 13.0753C12.5579 13.0753 12.4245 13.0253 12.3245 12.9337C11.7079 12.392 10.8495 12.2503 10.0912 12.5753L9.23288 12.9337C8.74121 13.1503 8.39121 13.5837 8.27455 14.1087C8.15788 14.6253 8.29121 15.1753 8.63288 15.5753C9.03288 16.042 9.59955 16.317 10.1995 16.3337H13.5829C14.5745 16.3087 15.4662 15.842 16.0162 15.067C16.5745 14.292 16.7162 13.2837 16.4079 12.3837L16.3912 12.342C16.2995 12.2337 16.1412 12.167 15.9495 12.1337Z",fill:"currentColor"})}),Ab="M16.4 0.6C16.8 2.3 17.7 3.2 19.4 3.6C17.7 4 16.8 4.9 16.4 6.6C16 4.9 15.1 4 13.4 3.6C15.1 3.2 16 2.3 16.4 0.6Z",iv=e=>(0,D.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,D.jsx)("path",{d:"M13.4912 1.66699C16.5245 1.66699 18.3329 3.55866 18.3329 6.70866V13.2837C18.3329 16.4337 16.5245 18.3337 13.4912 18.3337H6.50788C3.47455 18.3337 1.66621 16.4337 1.66621 13.2837V6.70866C1.66621 3.55866 3.47455 1.66699 6.50788 1.66699H13.4912ZM7.34121 7.91699C6.56621 7.91699 5.93288 8.54199 5.93288 9.31699C5.93288 10.1003 6.56621 10.7337 7.34121 10.7337C8.11621 10.7337 8.74955 10.1003 8.74955 9.31699C8.74955 8.54199 8.11621 7.91699 7.34121 7.91699ZM15.9495 12.1337C15.6829 11.8087 15.2912 11.617 14.8745 11.6087C14.4579 11.6003 14.0579 11.7753 13.7745 12.092L13.0745 12.9003C12.9745 13.017 12.8329 13.0753 12.6912 13.0753C12.5579 13.0753 12.4245 13.0253 12.3245 12.9337C11.7079 12.392 10.8495 12.2503 10.0912 12.5753L9.23288 12.9337C8.74121 13.1503 8.39121 13.5837 8.27455 14.1087C8.15788 14.6253 8.29121 15.1753 8.63288 15.5753C9.03288 16.042 9.59955 16.317 10.1995 16.3337H13.5829C14.5745 16.3087 15.4662 15.842 16.0162 15.067C16.5745 14.292 16.7162 13.2837 16.4079 12.3837L16.3912 12.342C16.2995 12.2337 16.1412 12.167 15.9495 12.1337Z",fill:"currentColor"}),(0,D.jsx)("path",{d:Ab,fill:"#ffffff",stroke:"#ffffff",strokeWidth:2.4,strokeLinejoin:"round"}),(0,D.jsx)("path",{d:Ab,fill:"currentColor"})]}),uv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M18.333 13.4912C18.333 16.5245 16.5245 18.333 13.4912 18.333H6.50879C3.47546 18.333 1.66699 16.5245 1.66699 13.4912V6.5498H18.333V13.4912ZM10.2998 9.61621C9.65842 9.24149 9.04179 9.19157 8.55859 9.47461C8.0753 9.74958 7.80864 10.3166 7.80859 11.0498V13.0498C7.80859 13.7831 8.07526 14.35 8.55859 14.625C8.76674 14.7415 8.99147 14.7997 9.24121 14.7998C9.57449 14.7998 9.9332 14.6917 10.2998 14.4834L12.0332 13.4834C12.6664 13.1085 13.0253 12.6168 13.0254 12.0586C13.0254 11.5003 12.6749 10.9829 12.0332 10.6162L10.2998 9.61621ZM6.47461 5.2998H1.77441C2.19943 3.00829 3.89148 1.67543 6.47461 1.66699V5.2998ZM12.2754 5.2998H7.72461V1.66699H12.2754V5.2998ZM13.5254 1.66699C16.1084 1.67546 17.7996 3.00842 18.2246 5.2998H13.5254V1.66699Z",fill:"currentColor"})}),dv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M16.4916 3.51672C14.0249 1.05839 10.0249 1.05839 7.57492 3.51672C5.84992 5.22506 5.33325 7.68339 5.99992 9.85006L2.08325 13.7667C1.80825 14.0501 1.61659 14.6084 1.67492 15.0084L1.92492 16.8251C2.01659 17.4251 2.57492 17.9917 3.17492 18.0751L4.99159 18.3251C5.39159 18.3834 5.94992 18.2001 6.23325 17.9084L6.91659 17.2251C7.08325 17.0667 7.08325 16.8001 6.91659 16.6334L5.29992 15.0167C5.05825 14.7751 5.05825 14.3751 5.29992 14.1334C5.54159 13.8917 5.94159 13.8917 6.18325 14.1334L7.80825 15.7584C7.96659 15.9167 8.23325 15.9167 8.39158 15.7584L10.1583 14.0001C12.3166 14.6751 14.7749 14.1501 16.4916 12.4417C18.9499 9.98339 18.9499 5.97506 16.4916 3.51672ZM12.0833 10.0001C10.9333 10.0001 9.99992 9.06672 9.99992 7.91672C9.99992 6.76672 10.9333 5.83339 12.0833 5.83339C13.2333 5.83339 14.1666 6.76672 14.1666 7.91672C14.1666 9.06672 13.2333 10.0001 12.0833 10.0001Z",fill:"currentColor"})}),cv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M6.19994 5.46655L7.44994 5.54175C7.8581 5.56674 8.24133 5.74152 8.53295 6.03296L13.9919 11.4919C14.2834 11.7836 14.4587 12.1668 14.4753 12.5749L14.5496 13.8249C14.7412 15.7499 14.0834 16.4164 12.2585 16.6248L4.99193 17.4753C4.33152 17.5634 4.15659 16.7844 4.62768 16.3132L6.65014 14.2917C6.9167 14.0335 6.91659 13.6253 6.65014 13.3669C6.40015 13.1086 5.992 13.1086 5.72533 13.3669L3.69604 15.3953C3.22812 15.8628 2.46508 15.6901 2.54174 15.033L3.40014 7.76636C3.61684 5.94997 4.28344 5.34991 6.19994 5.46655ZM11.1081 3.34155C11.7915 2.26655 13.1584 2.21655 14.1667 3.21655L16.8162 5.86694C17.7495 6.80861 17.6917 8.27508 16.6833 8.91675L14.9167 10.033C14.5835 10.2412 14.1585 10.1916 13.8835 9.91675L10.1081 6.14136C9.83333 5.86635 9.78366 5.4414 9.99193 5.10815L11.1081 3.34155Z",fill:"currentColor"})}),fv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M13.333 5.125C15.0079 5.125 16.4086 6.37474 16.6338 7.99121C16.6671 8.22454 16.4745 8.41699 16.2412 8.41699H15.7666C14.9666 8.41701 14.2247 8.73374 13.6914 9.27539C13.0583 9.90036 12.7414 10.7589 12.8164 11.6338C12.9499 13.1501 14.2832 14.3328 15.8662 14.333H16.2412C16.4745 14.333 16.6671 14.5255 16.6338 14.7588C16.4086 16.3753 15.0162 17.625 13.333 17.625H5C3.15844 17.625 1.66716 16.1335 1.66699 14.292V8.45801C1.66718 6.6165 3.15845 5.125 5 5.125H13.333ZM17.4746 9.66699C17.9496 9.66699 18.333 10.05 18.333 10.5166V12.2334C18.333 12.7 17.9496 13.083 17.4746 13.083H15.8662C14.9665 13.0828 14.1416 12.425 14.0664 11.5254C14.0164 11.0005 14.2166 10.5086 14.5664 10.167C14.8747 9.85034 15.3 9.66701 15.7666 9.66699H17.4746ZM5.83301 8.66699C5.49149 8.66717 5.20801 8.9421 5.20801 9.29199C5.20817 9.64174 5.49159 9.91682 5.83301 9.91699H10.833C11.1746 9.91699 11.4578 9.63352 11.458 9.29199C11.458 8.95033 11.1747 8.66699 10.833 8.66699H5.83301ZM9.4502 2.375C10.4167 2.37505 11.2752 2.71649 11.8418 3.31641C12.0585 3.54141 11.8665 3.875 11.5498 3.875H5.02539C4.11721 3.875 3.26686 4.14142 2.55859 4.59961C2.23359 4.80794 1.79186 4.58294 1.9502 4.22461C2.41695 3.13317 3.50844 2.37503 4.7666 2.375H9.4502Z",fill:"currentColor"})}),pv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.375 7.41699C16.7167 7.41699 17 7.70033 17 8.04199V9.45801C17 13.1057 14.1919 16.1113 10.625 16.4287V18.333C10.625 18.6747 10.3417 18.958 10 18.958C9.65833 18.958 9.375 18.6747 9.375 18.333V16.4287C5.80818 16.1112 3 13.1057 3 9.45801V8.04199C3 7.70035 3.28337 7.41704 3.625 7.41699C3.96667 7.41699 4.25 7.70033 4.25 8.04199V9.45801C4.25 12.6246 6.83337 15.208 10 15.208C13.1667 15.208 15.75 12.6247 15.75 9.45801V8.04199C15.75 7.70035 16.0334 7.41704 16.375 7.41699ZM10 1.04199C12.1833 1.04199 13.958 2.81667 13.958 5V9.58301C13.958 11.7663 12.1833 13.542 10 13.542C7.81667 13.542 6.04199 11.7663 6.04199 9.58301V5C6.04199 2.81667 7.81667 1.04199 10 1.04199ZM10 2.29199C8.50833 2.29199 7.29199 3.50833 7.29199 5V9.58301C7.29199 11.0747 8.50833 12.292 10 12.292C11.4917 12.292 12.708 11.0747 12.708 9.58301V5C12.708 3.50833 11.4917 2.29199 10 2.29199ZM9.16699 6.52539C9.70853 6.37545 10.2915 6.37548 10.833 6.52539C11.1663 6.61706 11.3671 6.95866 11.2754 7.29199C11.2003 7.56679 10.9418 7.74988 10.667 7.75C10.6087 7.75 10.5583 7.74128 10.5 7.72461C10.1669 7.63304 9.8253 7.6331 9.49219 7.72461C9.15885 7.81628 8.81628 7.61654 8.72461 7.2832C8.63311 6.95828 8.83374 6.61703 9.16699 6.52539ZM8.63379 4.77539C9.51707 4.45879 10.4917 4.45875 11.375 4.77539C11.7 4.89207 11.8667 5.25021 11.75 5.5752C11.65 5.82508 11.4081 5.9834 11.1582 5.9834C11.0916 5.98338 11.0163 5.97517 10.9414 5.9502C10.3332 5.7253 9.66682 5.72526 9.05859 5.9502C8.73369 6.06683 8.37556 5.90001 8.25879 5.5752C8.14212 5.2502 8.30879 4.89206 8.63379 4.77539Z",fill:"currentColor"})}),mv=e=>(0,D.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M13.0498 2.30837C14.8165 1.7167 16.2919 1.89177 17.2002 2.79177C18.1084 3.69178 18.283 5.17558 17.6914 6.94216L15.333 14.0164C14.2247 17.333 12.8329 18.0252 11.8496 18.0252C10.8663 18.025 9.47485 17.333 8.375 14.0252L7.77539 12.2254L5.97461 11.6248C2.67513 10.5248 1.98346 9.13345 1.9834 8.15017C1.9834 7.1752 2.67493 5.77508 5.97461 4.66677L13.0498 2.30837ZM16.3086 3.67458C15.7669 3.13301 14.7163 3.06699 13.4414 3.49196L6.36621 5.85818C4.04981 6.63315 3.22461 7.5502 3.22461 8.15017C3.22473 8.75013 4.05003 9.66679 6.36621 10.4334L7.95801 10.9636C7.96665 10.9538 7.97403 10.9427 7.9834 10.9334L10.9668 7.94216C11.2085 7.70049 11.6079 7.70049 11.8496 7.94216C12.0913 8.18383 12.0913 8.58331 11.8496 8.82497L8.93262 11.7498L9.55859 13.6248C10.3251 15.9409 11.2496 16.766 11.8496 16.7664C12.4496 16.7664 13.3666 15.9414 14.1416 13.6248L16.5 6.54958C16.9248 5.26643 16.8502 4.21619 16.3086 3.67458Z",fill:"currentColor"})}),hv=e=>(0,D.jsx)("svg",{viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M8.33333 0C3.74167 0 0 3.74167 0 8.33333C0 12.925 3.74167 16.6667 8.33333 16.6667C12.925 16.6667 16.6667 12.925 16.6667 8.33333C16.6667 3.74167 12.925 0 8.33333 0ZM12.3167 6.41667L7.59167 11.1417C7.475 11.2583 7.31667 11.325 7.15 11.325C6.98333 11.325 6.825 11.2583 6.70833 11.1417L4.35 8.78333C4.10833 8.54167 4.10833 8.14167 4.35 7.9C4.59167 7.65833 4.99167 7.65833 5.23333 7.9L7.15 9.81667L11.4333 5.53333C11.675 5.29167 12.075 5.29167 12.3167 5.53333C12.5583 5.775 12.5583 6.16667 12.3167 6.41667Z",fill:"currentColor"})}),gv=e=>(0,D.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M10.8537 0.941406C12.0001 0.941517 12.7797 1.44779 13.2463 2.49414L14.9533 6.33398C15.34 7.20731 15.1468 8.45446 14.5002 9.16113L9.93378 14.1943C9.43383 14.7543 8.74012 15.0673 8.00019 15.0674C7.26019 15.0674 6.57309 14.7543 6.05976 14.1943L1.48652 9.16797C0.839851 8.4613 0.63989 7.21415 1.02656 6.34082L2.73359 2.50098C3.20026 1.45439 3.98052 0.941406 5.12714 0.941406H10.8537ZM2.34882 5.83301L1.94648 6.74121C1.71999 7.2545 1.85358 8.07399 2.22675 8.4873L6.79999 13.5146C7.11998 13.8679 7.54693 14.0605 8.00019 14.0605C8.45345 14.0605 8.88043 13.8679 9.20038 13.5146L13.7668 8.48145C14.1467 8.0615 14.2803 7.24772 14.0471 6.73438L13.6437 5.82812L2.34882 5.83301ZM5.133 1.93457C4.25991 1.93467 3.90681 2.32144 3.65351 2.90137L2.79413 4.83301L13.1994 4.82812L12.34 2.89453C12.0867 2.3212 11.7329 1.93457 10.8596 1.93457H5.133Z",fill:"currentColor"})}),xv=e=>(0,D.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M11.4902 1.26929C12.99 1.12942 14.4303 1.59923 15.5302 2.60913C16.6201 3.59913 17.2499 5.01983 17.2499 6.49976V7.31226C18.7557 7.47238 19.8423 7.94236 20.5497 8.72925C21.5897 9.88925 21.5601 11.4398 21.4501 12.4998L20.7001 18.5095C20.4801 20.5994 19.6197 22.7497 14.9999 22.7498H8.99994C4.3801 22.7498 3.51978 20.5995 3.29975 18.5095L2.54975 12.5193C2.43975 11.4393 2.40014 9.88924 3.45014 8.72925C4.16478 7.93532 5.25137 7.47059 6.74994 7.31226V6.68921C6.75002 3.99927 8.92022 1.51928 11.4902 1.26929ZM7.99994 8.74976C6.30996 8.74976 5.14952 9.07902 4.55951 9.73902C4.06951 10.279 3.90998 11.1094 4.03998 12.3494L4.78998 18.3396C4.96001 19.9395 5.40018 21.2595 8.99994 21.2595H14.9999C18.5998 21.2595 19.0399 19.9491 19.2099 18.3591L19.9599 12.3494C20.0899 11.1294 19.9294 10.2998 19.4394 9.74976C18.8494 9.07978 17.6899 8.74978 15.9999 8.74976H7.99994ZM8.4101 11.1492C8.95989 11.1494 9.41008 11.5993 9.4101 12.1492C9.4101 12.6991 8.96977 13.1491 8.41987 13.1492C7.85987 13.1492 7.4101 12.6992 7.4101 12.1492C7.41012 11.5992 7.86011 11.1492 8.4101 11.1492ZM15.4101 11.1492C15.9599 11.1494 16.4101 11.5993 16.4101 12.1492C16.4101 12.6991 15.9698 13.1491 15.4199 13.1492C14.8599 13.1492 14.4101 12.6992 14.4101 12.1492C14.4101 11.5992 14.8601 11.1492 15.4101 11.1492ZM14.5195 3.71948C13.7295 2.99956 12.7098 2.66932 11.6298 2.76929C9.82994 2.93928 8.25015 4.77911 8.24994 6.69898V7.24976H15.7499V6.49976C15.7499 5.44976 15.2995 4.42948 14.5195 3.71948Z",fill:"currentColor"})}),yv=e=>(0,D.jsx)("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M29.0266 13.0662L27.9599 10.6662L25.6133 5.38621C24.9866 3.99954 23.9999 2.86621 21.7333 2.86621H10.2666C7.99994 2.86621 7.01327 3.99954 6.3866 5.38621L4.03994 10.6662L2.97327 13.0662C2.35994 14.4662 2.69327 16.5195 3.71994 17.6529L12.8533 27.7062C14.5866 29.6129 17.4133 29.6129 19.1466 27.7062L28.2799 17.6529C29.3066 16.5195 29.6399 14.4662 29.0266 13.0662Z",fill:"currentColor"})}),bv=e=>(0,D.jsx)("svg",{viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,D.jsx)("path",{d:"M9 1.5C4.8675 1.5 1.5 4.8675 1.5 9C1.5 13.1325 4.8675 16.5 9 16.5C13.1325 16.5 16.5 13.1325 16.5 9C16.5 4.8675 13.1325 1.5 9 1.5ZM12.585 7.275L8.3325 11.5275C8.2275 11.6325 8.085 11.6925 7.935 11.6925C7.785 11.6925 7.6425 11.6325 7.5375 11.5275L5.415 9.405C5.1975 9.1875 5.1975 8.8275 5.415 8.61C5.6325 8.3925 5.9925 8.3925 6.21 8.61L7.935 10.335L11.79 6.48C12.0075 6.2625 12.3675 6.2625 12.585 6.48C12.8025 6.6975 12.8025 7.05 12.585 7.275Z",fill:"currentColor"})});var zu={"alert-circle":{component:er},"alert-triangle":{component:sr},"arrow-left":{component:Yi},"arrow-right":{component:Ki},"book-open":{component:Xi},calendar:{component:Zi},camera:{component:ji},check:{component:$i},"check-circle":{component:tr},"chevron-down":{component:Qi},"chevron-left":{component:Ji},"chevron-right":{component:eu},"chevron-up":{component:tu},clock:{component:au},copy:{component:ou},download:{component:nu},eye:{component:su},"eye-off":{component:ru},headphones:{component:lu},"help-circle":{component:ar},home:{component:or},image:{component:iu},info:{component:uu},loader:{component:nr},logout:{component:du},maximize:{component:cu},menu:{component:fu},"message-square":{component:mu},monitor:{component:yu},"message-square-plus":{component:pu},mic:{component:hu},minimize:{component:gu},minus:{component:xu},paperclip:{component:bu},pause:{component:vu},play:{component:Cu},plus:{component:Su},refresh:{component:wu},"rotate-ccw":{component:Lu},"rotate-cw":{component:Ru},search:{component:Tu},send:{component:Eu},settings:{component:Iu},share:{component:Au},sparkles:{component:rr},speaker:{component:Nu},square:{component:Mu},"thumbs-down":{component:Ou},"thumbs-up":{component:Du},trash:{component:_u},user:{component:ku},video:{component:Pu},wrench:{component:Bu},x:{component:Hu},"credit-coin":{component:Fh,fixedPalette:!0},pen:{component:ov},"pen-edit":{component:nv},"file-download":{component:rv},whatsapp:{component:Fb},ratio:{component:Db},"video-product":{component:Ob},"image-increase":{component:Mb},"help-centre":{component:zb},guide:{component:Gb},terms:{component:Vb},privacy:{component:Ub},"file-excel":{component:Qb},"file-word":{component:Jb},"file-pdf":{component:ev},"file-csv":{component:tv},"file-generic":{component:av},"check-circle-filled":{component:hv},diamond:{component:gv},"diamond-filled":{component:yv},"check-circle-bullet":{component:bv},bag:{component:xv},"composer-plus":{component:_b},"composer-minus":{component:kb},"composer-attach":{component:Pb},"composer-image":{component:Nb},"composer-camera":{component:Bb},"composer-check-circle":{component:Hb},"composer-mic":{component:pv},"composer-send":{component:mv},"menu-setting":{component:qb},"menu-install":{component:Wb},"menu-help":{component:Yb},"menu-back":{component:Kb},"menu-logout":{component:Xb},"menu-chevron-up":{component:Zb},"menu-chevron-down":{component:jb},"menu-chevron-right":{component:$b},"tile-layer":{component:sv},"tile-image":{component:lv},"tile-image-sparkle":{component:iv},"tile-video-play":{component:uv},"tile-key":{component:dv},"tile-path":{component:cv},"tile-wallet":{component:fv}},vv=Object.keys(zu);var Cv=C(E()),MO={xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-8 w-8"},Q=({name:e,size:t,color:a,className:o,ref:n,...r})=>{let s=zu[e];if(!s)throw new Error(`Icon: unknown name '${e}'`);let l=s.component,i=r["aria-label"];return(0,Cv.jsx)(l,{ref:n,className:R(t&&MO[t],a&&!s.fixedPalette&&Vi[a],o),...r,...i?{role:"img","aria-hidden":void 0}:{"aria-hidden":!0}})};Q.displayName="Icon";var Sv=C(E()),OO={display:"text-ds-display-mobile",h1:"text-ds-h1-mobile",h2:"text-ds-h2-mobile",h3:"text-ds-h3-mobile",h4:"text-ds-h4-mobile",h5:"text-ds-h5-mobile",h6:"text-ds-h6-mobile",paragraph:"text-ds-paragraph-mobile",bodyLg:"text-ds-body-lg-mobile",bodyMd:"text-ds-body-md-mobile",bodySm:"text-ds-body-sm-mobile"},zh=el("",{variants:{variant:OO,weight:{bold:"font-bold",semibold:"font-semibold",medium:"font-medium",regular:"font-normal"},color:Vi},defaultVariants:{variant:"paragraph",weight:"regular",color:"primary"}}),DO={display:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",paragraph:"p",bodyLg:"p",bodyMd:"p",bodySm:"p"},Gh=({as:e,variant:t,weight:a,color:o,className:n,children:r,ref:s,...l})=>{let i=e??DO[t??"paragraph"];return(0,Sv.jsx)(i,{ref:s,className:R(zh({variant:t,weight:a,color:o}),n),...l,children:r})};Gh.displayName="Text";var af=C(I());var jc="flex w-full items-center border bg-default-primary text-default-primary transition-colors ring-0",nl={large:"gap-ds-2xs px-ds-md py-ds-sm text-ds-paragraph-mobile rounded-ds-lg",small:"gap-ds-3xs px-ds-sm py-ds-2xs text-ds-body-lg-mobile rounded-ds-md"},lr={default:"border-default-primary hover:border-default-brand",filled:"border-default-invert hover:border-default-brand",error:"border-default-error hover:border-default-error",disabled:"border-default-primary bg-default-secondary text-disable-primary cursor-not-allowed"},Gu="w-full min-w-0 bg-transparent outline-none placeholder:text-default-secondary disabled:cursor-not-allowed disabled:text-disable-primary read-only:cursor-default",$c="peer relative shrink-0 appearance-none border-2 bg-default-primary transition-colors border-default-invert hover:border-default-brand checked:border-default-brand checked:bg-default-brand indeterminate:border-default-brand indeterminate:bg-default-brand disabled:cursor-not-allowed disabled:border-default-primary disabled:bg-default-secondary disabled:checked:border-disable-brand disabled:checked:bg-disable-brand disabled:indeterminate:border-disable-brand disabled:indeterminate:bg-disable-brand",Qc="border-default-error hover:border-default-error",wv="pointer-events-none absolute inset-0 m-auto h-full w-full p-ds-5xs text-default-invert",Jc="inline-flex items-start gap-ds-2xs",ef="text-ds-paragraph-mobile text-default-primary",Ya="text-ds-body-lg-mobile font-medium text-default-primary",Vh="flex shrink-0 items-center text-default-secondary",Lv="self-end text-ds-body-md-mobile text-default-secondary",Rv="self-end text-ds-body-md-mobile text-default-error",Tv="flex w-full flex-col gap-ds-2xs",Ev=`flex w-full cursor-pointer items-start border bg-default-primary text-left transition-colors hover:border-default-brand ${ue.field}`,Iv={large:"gap-ds-2xs px-ds-md py-ds-sm rounded-ds-lg",small:"gap-ds-3xs px-ds-sm py-ds-2xs rounded-ds-md"},Av={default:"border-default-primary",selected:"border-default-brand bg-weak-brand",disabled:"border-default-primary bg-default-secondary text-disable-primary cursor-not-allowed"},Mv={row:"flex-row",tile:"relative flex-col items-center justify-center border-2 text-center"},Ov={large:"gap-ds-3xs px-ds-sm pb-ds-sm pt-ds-xl rounded-ds-lg",small:"gap-ds-3xs px-ds-sm pb-ds-sm pt-ds-xl rounded-ds-lg"},Dv="items-center gap-ds-lg",_v="absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2",kv="pointer-events-none absolute right-ds-2xs top-ds-2xs flex h-4.5 w-4.5 items-center justify-center border bg-default-primary",Uh={radio:"rounded-ds-full",checkbox:"rounded-ds-xs"},Pv={default:"border-default-invert",selected:"border-default-invert",disabled:"border-default-primary bg-default-secondary"},Nv="h-3 w-3 bg-default-brand",Bv="text-ds-body-md-mobile text-default-secondary",qh="text-ds-body-lg-mobile font-bold text-default-primary",Hv="text-ds-body-lg-mobile text-default-secondary",Fv="peer sr-only",zv=`flex w-full cursor-pointer flex-col items-center justify-center border bg-default-primary text-center transition-colors ${ue.field}`,Gv={solid:"border-solid",dashed:"border-dashed"},Vv={large:"gap-ds-2xs px-ds-md py-ds-xl rounded-ds-lg text-ds-paragraph-mobile",small:"gap-ds-3xs px-ds-sm py-ds-sm rounded-ds-md text-ds-body-lg-mobile"},Uv={default:"border-default-primary hover:border-default-brand text-default-secondary",filled:"border-default-invert hover:border-default-brand text-default-primary",error:"border-default-error hover:border-default-error text-default-error",disabled:"border-default-primary bg-default-secondary text-disable-primary cursor-not-allowed",busy:"border-default-primary bg-default-secondary text-default-secondary cursor-progress"},qv="border-default-brand bg-weak-brand text-default-brand",Wv="sr-only",Yv=`flex w-full items-center justify-between border bg-default-primary text-default-primary transition-colors ${ue.field}`,Kv="absolute z-ds-overlay mt-ds-4xs max-h-60 w-max min-w-full max-w-[calc(100vw-2rem)] overflow-auto border border-default-primary bg-default-primary py-ds-4xs shadow-lg",Xv={large:"rounded-ds-lg",small:"rounded-ds-md"},rl={large:"px-ds-sm py-ds-2xs text-ds-paragraph-mobile",small:"px-ds-xs py-ds-3xs text-ds-body-lg-mobile"},Wh={default:"flex w-full cursor-pointer items-center text-left text-default-primary hover:bg-weak-brand",active:"flex w-full cursor-pointer items-center text-left bg-weak-brand text-default-brand"},Zv="flex w-full items-center gap-ds-2xs border-b border-default-primary text-default-secondary",jv="min-w-0 flex-1 bg-transparent text-default-primary outline-none placeholder:text-default-secondary",Yh="text-default-secondary",$v="text-default-secondary",Qv="text-ds-body-md-mobile text-default-secondary",Jv=`relative inline-flex gap-ds-2xs rounded-ds-lg ${ue.field}`,eC="flex items-center justify-center border bg-default-primary font-semibold text-default-primary transition-colors",tC={large:"h-12 w-11 rounded-ds-lg text-ds-paragraph-mobile",small:"h-10 w-9 rounded-ds-md text-ds-body-lg-mobile"},aC="border-focus-brand",oC="absolute inset-0 h-full w-full cursor-text opacity-0 disabled:cursor-not-allowed";var nC=C(I()),tf=C(E()),ut=e=>{let t=nC.default.useId(),a=e??t;return{fieldId:a,errorId:`${a}-error`}},zo=()=>(0,tf.jsx)("span",{"aria-hidden":!0,className:"ml-ds-5xs text-default-error",children:"*"}),ha=({id:e,message:t})=>(0,tf.jsx)("p",{id:e,role:"alert",className:"text-ds-body-lg-mobile text-default-error empty:hidden",children:t}),rC=({id:e,text:t})=>t==null||t===""?null:(0,tf.jsx)("p",{id:e,className:"text-ds-body-lg-mobile text-default-secondary",children:t}),Ka=(e,t)=>e!=null&&e!==!1&&e!==""?{visible:e,ariaLabel:void 0}:{visible:void 0,ariaLabel:t};var sa=C(E()),_O=nl,sC=af.default.forwardRef(({label:e,id:t,size:a="large",error:o,disabled:n,required:r,multiline:s,rows:l=3,type:i="text",showReveal:u=!0,prefix:c,leadingAdornment:d,trailingAdornment:p,showCounter:f,maxLength:g,accentColor:x,className:b,value:m,defaultValue:h,onChange:y,...v},S)=>{let{fieldId:w,errorId:L}=ut(t),[T,A]=af.default.useState(!1),[O,B]=af.default.useState(()=>String(h??"").length),P=m!==void 0?String(m).length:O,U=P>0,V=`${w}-counter`,ee=!!(f&&g!==void 0),F=ee&&P>=Number(g),q=i==="password",N=n?"disabled":o?"error":U?"filled":"default",k={id:w,disabled:n,required:r,"aria-invalid":o?!0:void 0,"aria-describedby":ee?`${L} ${V}`:L,maxLength:g,className:Gu,value:m,defaultValue:h,onChange:W=>{B(W.target.value.length),y?.(W)}};return(0,sa.jsxs)("div",{className:"flex w-full flex-col gap-ds-3xs",children:[(0,sa.jsxs)("label",{htmlFor:w,className:Ya,children:[e,r&&(0,sa.jsx)(zo,{})]}),(0,sa.jsxs)("div",{"data-filled":U||void 0,className:R(jc,_O[a],lr[N],ue.field,b),style:x?{borderColor:x}:void 0,children:[c!=null&&(0,sa.jsx)("span",{"data-field-prefix":!0,className:"flex shrink-0 items-center",children:c}),d!=null&&(0,sa.jsx)("span",{"aria-hidden":!0,className:Vh,children:d}),s?(0,sa.jsx)("textarea",{...v,...k,ref:S,rows:l,className:R(Gu,"resize-y")}):(0,sa.jsx)("input",{...v,...k,ref:S,type:q&&T?"text":i}),p!=null&&(0,sa.jsx)("span",{"aria-hidden":!0,className:Vh,children:p}),q&&u&&!s&&(0,sa.jsx)("button",{type:"button","aria-label":T?"Sembunyikan kata sandi":"Tampilkan kata sandi","aria-pressed":T,onClick:()=>A(W=>!W),disabled:n,className:"shrink-0 text-default-secondary hover:text-default-primary",children:(0,sa.jsx)(Q,{name:T?"eye-off":"eye",size:"md"})})]}),ee&&(0,sa.jsx)("span",{id:V,className:F?Rv:Lv,children:`${P}/${g}`}),(0,sa.jsx)(ha,{id:L,message:o})]})});sC.displayName="TextField";var Vu=C(I());var Go=C(E()),kO={xlarge:"h-5 w-5",large:"h-4.5 w-4.5",medium:"h-4 w-4",small:"h-3.5 w-3.5"},lC=Vu.default.forwardRef(({label:e,id:t,size:a="medium",error:o,indeterminate:n,required:r,className:s,...l},i)=>{let{fieldId:u,errorId:c}=ut(t),d=Vu.default.useRef(null);Vu.default.useImperativeHandle(i,()=>d.current,[]);let p=()=>{let f=d.current;f&&(f.indeterminate=!!n,n&&l.checked===void 0&&(f.checked=!1))};return Vu.default.useEffect(p),(0,Go.jsxs)("div",{className:"flex flex-col gap-ds-3xs",children:[(0,Go.jsxs)("label",{htmlFor:u,className:R(Jc,"cursor-pointer"),children:[(0,Go.jsxs)("span",{className:"relative inline-flex",children:[(0,Go.jsx)("input",{...l,ref:d,id:u,type:"checkbox",required:r,"aria-invalid":o?!0:void 0,"aria-describedby":c,onChange:f=>{l.onChange?.(f),p()},className:R($c,"rounded-ds-xs",kO[a],o&&Qc,ue.control,s)}),(0,Go.jsx)(Q,{name:n?"minus":"check","aria-hidden":!0,className:R(wv,n?"opacity-100":"opacity-0 peer-checked:opacity-100")})]}),(0,Go.jsxs)("span",{className:ef,children:[e,r&&(0,Go.jsx)(zo,{})]})]}),(0,Go.jsx)(ha,{id:c,message:o})]})});lC.displayName="CheckBox";var iC=C(I());var Vo=C(E()),PO={large:"h-4.5 w-4.5",medium:"h-4 w-4",small:"h-3.5 w-3.5"},uC=iC.default.forwardRef(({label:e,id:t,size:a="medium",error:o,required:n,className:r,...s},l)=>{let{fieldId:i,errorId:u}=ut(t);return(0,Vo.jsxs)("div",{className:"flex flex-col gap-ds-3xs",children:[(0,Vo.jsxs)("label",{htmlFor:i,className:R(Jc,"cursor-pointer"),children:[(0,Vo.jsxs)("span",{className:"relative inline-flex",children:[(0,Vo.jsx)("input",{...s,ref:l,id:i,type:"radio",required:n,"aria-invalid":o?!0:void 0,"aria-describedby":u,className:R($c,"rounded-ds-full",PO[a],o&&Qc,ue.control,r)}),(0,Vo.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 m-auto h-1/3 w-1/3 rounded-ds-full bg-default-primary opacity-0 peer-checked:opacity-100"})]}),(0,Vo.jsxs)("span",{className:ef,children:[e,n&&(0,Vo.jsx)(zo,{})]})]}),(0,Vo.jsx)(ha,{id:u,message:o})]})});uC.displayName="Radio";var Kh=C(I());var ns=C(E()),NO={large:{track:"h-8 w-14",thumb:"h-6 w-6",on:"translate-x-6"},medium:{track:"h-6 w-11",thumb:"h-4 w-4",on:"translate-x-5"},small:{track:"h-5 w-9",thumb:"h-3 w-3",on:"translate-x-4"}},dC=Kh.default.forwardRef(({label:e,id:t,size:a="medium",checked:o,defaultChecked:n=!1,onCheckedChange:r,loading:s,disabled:l,className:i,onClick:u,...c},d)=>{let{fieldId:p}=ut(t),f=`${p}-label`,[g,x]=Kh.default.useState(n),b=o??g,{track:m,thumb:h,on:y}=NO[a],v=l||s;return(0,ns.jsxs)("span",{className:"inline-flex items-center gap-ds-2xs",children:[(0,ns.jsx)("button",{...c,ref:d,id:p,type:"button",role:"switch","aria-checked":b,"aria-labelledby":f,"aria-busy":s||void 0,disabled:v,onClick:w=>{o===void 0&&x(!b),r?.(!b),u?.(w)},className:R("relative inline-flex shrink-0 items-center rounded-ds-full border-2 border-transparent p-ds-5xs transition-colors ring-0",m,v?b?"bg-disable-brand":"bg-disable-primary":b?"bg-default-brand":"bg-default-secondary","disabled:cursor-not-allowed",ue.control,i),children:(0,ns.jsx)("span",{"aria-hidden":!0,className:R("inline-flex items-center justify-center rounded-ds-full bg-default-primary transition-transform",h,b?y:"translate-x-0"),children:s&&(0,ns.jsx)(Co,{size:"sm",variant:"primary",label:"","aria-hidden":!0,className:"h-full w-full"})})}),(0,ns.jsx)("label",{id:f,htmlFor:p,className:R("text-ds-paragraph-mobile",v?"text-disable-primary":"text-default-primary"),children:e})]})});dC.displayName="Switch";var Xh=C(I());var Uu=C(E()),BO={large:"h-3 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-moz-range-thumb]:h-5 [&::-moz-range-thumb]:w-5",small:"h-2 [&::-webkit-slider-thumb]:h-4.5 [&::-webkit-slider-thumb]:w-4.5 [&::-moz-range-thumb]:h-4.5 [&::-moz-range-thumb]:w-4.5"},HO="w-full cursor-pointer appearance-none rounded-ds-full bg-default-secondary [background:linear-gradient(to_right,rgb(var(--surface-default-brand))_var(--slider-fill),rgb(var(--surface-default-secondary))_var(--slider-fill))] disabled:cursor-not-allowed disabled:opacity-50 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:box-border [&::-webkit-slider-thumb]:rounded-ds-full [&::-webkit-slider-thumb]:border-solid [&::-webkit-slider-thumb]:border-6 [&::-webkit-slider-thumb]:border-default-brand [&::-webkit-slider-thumb]:bg-default-primary [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:box-border [&::-moz-range-thumb]:rounded-ds-full [&::-moz-range-thumb]:border-solid [&::-moz-range-thumb]:border-6 [&::-moz-range-thumb]:border-default-brand [&::-moz-range-thumb]:bg-default-primary",cC=Xh.default.forwardRef(({label:e,"aria-label":t,id:a,size:o="large",min:n=0,max:r=100,step:s=1,formatValue:l,value:i,defaultValue:u,onChange:c,className:d,style:p,...f},g)=>{let{fieldId:x}=ut(a),b=Ka(e,t),[m,h]=Xh.default.useState(u!==void 0?Number(u):(n+r)/2),y=i!==void 0?Number(i):m,v=r-n||1,S=Math.min(100,Math.max(0,(y-n)/v*100));return(0,Uu.jsxs)("div",{className:"flex w-full flex-col gap-ds-2xs",children:[b.visible!==void 0&&(0,Uu.jsx)("label",{htmlFor:x,className:"text-ds-body-lg-mobile font-medium text-default-primary",children:b.visible}),(0,Uu.jsx)("input",{...f,ref:g,id:x,type:"range",min:n,max:r,step:s,value:i,defaultValue:i===void 0?m:void 0,"aria-label":b.ariaLabel,"aria-valuetext":l?l(y):void 0,onChange:w=>{i===void 0&&h(Number(w.target.value)),c?.(w)},style:{...p,"--slider-fill":`${S}%`},className:R(HO,BO[o],ue.control,d)})]})});cC.displayName="Slider";var Mo=C(I());var BY=Symbol.for("constructDateFrom");function fC(e,t,a="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:a}).format(t).split(/\s/g).slice(2).join(" ")}var Zh={},qu={};function pn(e,t){try{let o=(Zh[e]||(Zh[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return o in qu?qu[o]:pC(o,o.split(":"))}catch{if(e in qu)return qu[e];let a=e?.match(FO);return a?pC(e,a.slice(1)):NaN}}var FO=/([+-]\d\d):?(\d\d)?/;function pC(e,t){let a=+(t[0]||0),o=+(t[1]||0),n=+(t[2]||0)/60;return qu[e]=a*60+o>0?a*60+o+n:a*60-o-n}var ir=class e extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(pn(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),hC(this,NaN),jh(this)):this.setTime(Date.now())}static tz(t,...a){return a.length?new e(...a,t):new e(Date.now(),t)}withTimeZone(t){return new e(+this,t)}getTimezoneOffset(){let t=-pn(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),jh(this),+this}[Symbol.for("constructDateFrom")](t){return new e(+new Date(t),this.timeZone)}},mC=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!mC.test(e))return;let t=e.replace(mC,"$1UTC");ir.prototype[t]&&(e.startsWith("get")?ir.prototype[e]=function(){return this.internal[t]()}:(ir.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),zO(this),+this},ir.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),jh(this),+this}))});function jh(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-pn(e.timeZone,e)*60))}function zO(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()),hC(e)}function hC(e){let t=pn(e.timeZone,e),a=t>0?Math.floor(t):Math.ceil(t),o=new Date(+e);o.setUTCHours(o.getUTCHours()-1);let n=-new Date(+e).getTimezoneOffset(),r=-new Date(+o).getTimezoneOffset(),s=n-r,l=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();s&&l&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+s);let i=n-a;i&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+i);let u=new Date(+e);u.setUTCSeconds(0);let c=n>0?u.getSeconds():(u.getSeconds()-60)%60,d=Math.round(-(pn(e.timeZone,e)*60))%60;(d||c)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+c));let p=pn(e.timeZone,e),f=p>0?Math.floor(p):Math.ceil(p),x=-new Date(+e).getTimezoneOffset()-f,b=f!==a,m=x-i;if(b&&m){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+m);let h=pn(e.timeZone,e),y=h>0?Math.floor(h):Math.ceil(h),v=f-y;v&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+v),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v))}}var Ct=class e extends ir{static tz(t,...a){return a.length?new e(...a,t):new e(Date.now(),t)}toISOString(){let[t,a,o]=this.tzComponents(),n=`${t}${a}:${o}`;return this.internal.toISOString().slice(0,-1)+n}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[t,a,o,n]=this.internal.toUTCString().split(" ");return`${t?.slice(0,-1)} ${o} ${a} ${n}`}toTimeString(){let t=this.internal.toUTCString().split(" ")[4],[a,o,n]=this.tzComponents();return`${t} GMT${a}${o}${n} (${fC(this.timeZone,this)})`}toLocaleString(t,a){return Date.prototype.toLocaleString.call(this,t,{...a,timeZone:a?.timeZone||this.timeZone})}toLocaleDateString(t,a){return Date.prototype.toLocaleDateString.call(this,t,{...a,timeZone:a?.timeZone||this.timeZone})}toLocaleTimeString(t,a){return Date.prototype.toLocaleTimeString.call(this,t,{...a,timeZone:a?.timeZone||this.timeZone})}tzComponents(){let t=this.getTimezoneOffset(),a=t>0?"-":"+",o=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),n=String(Math.abs(t)%60).padStart(2,"0");return[a,o,n]}withTimeZone(t){return new e(+this,t)}[Symbol.for("constructDateFrom")](t){return new e(+new Date(t),this.timeZone)}};var GO=Math.pow(10,8)*24*60*60*1e3,nK=-GO,of=6048e5,gC=864e5;var VO=3600;var xC=VO*24,rK=xC*7,UO=xC*365.2425,qO=UO/12,sK=qO*3,$h=Symbol.for("constructDateFrom");function Le(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&$h in e?e[$h](t):e instanceof Date?new e.constructor(t):new Date(t)}function $(e,t){return Le(t||e,e)}function nf(e,t,a){let o=$(e,a?.in);return isNaN(t)?Le(a?.in||e,NaN):(t&&o.setDate(o.getDate()+t),o)}function rf(e,t,a){let o=$(e,a?.in);if(isNaN(t))return Le(a?.in||e,NaN);if(!t)return o;let n=o.getDate(),r=Le(a?.in||e,o.getTime());r.setMonth(o.getMonth()+t+1,0);let s=r.getDate();return n>=s?r:(o.setFullYear(r.getFullYear(),r.getMonth(),n),o)}var WO={};function Uo(){return WO}function So(e,t){let a=Uo(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,n=$(e,t?.in),r=n.getDay(),s=(r<o?7:0)+r-o;return n.setDate(n.getDate()-s),n.setHours(0,0,0,0),n}function mn(e,t){return So(e,{...t,weekStartsOn:1})}function sf(e,t){let a=$(e,t?.in),o=a.getFullYear(),n=Le(a,0);n.setFullYear(o+1,0,4),n.setHours(0,0,0,0);let r=mn(n),s=Le(a,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);let l=mn(s);return a.getTime()>=r.getTime()?o+1:a.getTime()>=l.getTime()?o:o-1}function Qh(e){let t=$(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function Xa(e,...t){let a=Le.bind(null,e||t.find(o=>typeof o=="object"));return t.map(a)}function ur(e,t){let a=$(e,t?.in);return a.setHours(0,0,0,0),a}function sl(e,t,a){let[o,n]=Xa(a?.in,e,t),r=ur(o),s=ur(n),l=+r-Qh(r),i=+s-Qh(s);return Math.round((l-i)/gC)}function yC(e,t){let a=sf(e,t),o=Le(t?.in||e,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),mn(o)}function bC(e,t,a){return nf(e,t*7,a)}function vC(e,t,a){return rf(e,t*12,a)}function CC(e,t){let a,o=t?.in;return e.forEach(n=>{!o&&typeof n=="object"&&(o=Le.bind(null,n));let r=$(n,o);(!a||a<r||isNaN(+r))&&(a=r)}),Le(o,a||NaN)}function SC(e,t){let a,o=t?.in;return e.forEach(n=>{!o&&typeof n=="object"&&(o=Le.bind(null,n));let r=$(n,o);(!a||a>r||isNaN(+r))&&(a=r)}),Le(o,a||NaN)}function wC(e,t,a){let[o,n]=Xa(a?.in,e,t);return+ur(o)==+ur(n)}function lf(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function LC(e){return!(!lf(e)&&typeof e!="number"||isNaN(+$(e)))}function uf(e,t,a){let[o,n]=Xa(a?.in,e,t),r=o.getFullYear()-n.getFullYear(),s=o.getMonth()-n.getMonth();return r*12+s}function RC(e,t){let a=$(e,t?.in),o=a.getMonth();return a.setFullYear(a.getFullYear(),o+1,0),a.setHours(23,59,59,999),a}function df(e,t){let[a,o]=Xa(e,t.start,t.end);return{start:a,end:o}}function TC(e,t){let{start:a,end:o}=df(t?.in,e),n=+a>+o,r=n?+a:+o,s=n?o:a;s.setHours(0,0,0,0),s.setDate(1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,n=!n);let i=[];for(;+s<=r;)i.push(Le(a,s)),s.setMonth(s.getMonth()+l);return n?i.reverse():i}function EC(e,t){let a=$(e,t?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function IC(e,t){let a=$(e,t?.in),o=a.getFullYear();return a.setFullYear(o+1,0,0),a.setHours(23,59,59,999),a}function cf(e,t){let a=$(e,t?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function AC(e,t){let{start:a,end:o}=df(t?.in,e),n=+a>+o,r=n?+a:+o,s=n?o:a;s.setHours(0,0,0,0),s.setMonth(0,1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,n=!n);let i=[];for(;+s<=r;)i.push(Le(a,s)),s.setFullYear(s.getFullYear()+l);return n?i.reverse():i}function ff(e,t){let a=Uo(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,n=$(e,t?.in),r=n.getDay(),s=(r<o?-7:0)+6-(r-o);return n.setDate(n.getDate()+s),n.setHours(23,59,59,999),n}function MC(e,t){return ff(e,{...t,weekStartsOn:1})}var YO={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"}},OC=(e,t,a)=>{let o,n=YO[e];return typeof n=="string"?o=n:t===1?o=n.one:o=n.other.replace("{{count}}",t.toString()),a?.addSuffix?a.comparison&&a.comparison>0?"in "+o:o+" ago":o};function pf(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var KO={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},XO={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ZO={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},DC={date:pf({formats:KO,defaultWidth:"full"}),time:pf({formats:XO,defaultWidth:"full"}),dateTime:pf({formats:ZO,defaultWidth:"full"})};var jO={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},_C=(e,t,a,o)=>jO[e];function ll(e){return(t,a)=>{let o=a?.context?String(a.context):"standalone",n;if(o==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=a?.width?String(a.width):s;n=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=a?.width?String(a.width):e.defaultWidth;n=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return n[r]}}var $O={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},QO={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},JO={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"]},eD={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"]},tD={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"}},aD={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"}},oD=(e,t)=>{let a=Number(e),o=a%100;if(o>20||o<10)switch(o%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},kC={ordinalNumber:oD,era:ll({values:$O,defaultWidth:"wide"}),quarter:ll({values:QO,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ll({values:JO,defaultWidth:"wide"}),day:ll({values:eD,defaultWidth:"wide"}),dayPeriod:ll({values:tD,defaultWidth:"wide",formattingValues:aD,defaultFormattingWidth:"wide"})};function il(e){return(t,a={})=>{let o=a.width,n=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],r=t.match(n);if(!r)return null;let s=r[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],i=Array.isArray(l)?rD(l,d=>d.test(s)):nD(l,d=>d.test(s)),u;u=e.valueCallback?e.valueCallback(i):i,u=a.valueCallback?a.valueCallback(u):u;let c=t.slice(s.length);return{value:u,rest:c}}}function nD(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function rD(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function PC(e){return(t,a={})=>{let o=t.match(e.matchPattern);if(!o)return null;let n=o[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=a.valueCallback?a.valueCallback(s):s;let l=t.slice(n.length);return{value:s,rest:l}}}var sD=/^(\d+)(th|st|nd|rd)?/i,lD=/\d+/i,iD={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},uD={any:[/^b/i,/^(a|c)/i]},dD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cD={any:[/1/i,/2/i,/3/i,/4/i]},fD={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},pD={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]},mD={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},hD={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]},gD={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},xD={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}},NC={ordinalNumber:PC({matchPattern:sD,parsePattern:lD,valueCallback:e=>parseInt(e,10)}),era:il({matchPatterns:iD,defaultMatchWidth:"wide",parsePatterns:uD,defaultParseWidth:"any"}),quarter:il({matchPatterns:dD,defaultMatchWidth:"wide",parsePatterns:cD,defaultParseWidth:"any",valueCallback:e=>e+1}),month:il({matchPatterns:fD,defaultMatchWidth:"wide",parsePatterns:pD,defaultParseWidth:"any"}),day:il({matchPatterns:mD,defaultMatchWidth:"wide",parsePatterns:hD,defaultParseWidth:"any"}),dayPeriod:il({matchPatterns:gD,defaultMatchWidth:"any",parsePatterns:xD,defaultParseWidth:"any"})};var hn={code:"en-US",formatDistance:OC,formatLong:DC,formatRelative:_C,localize:kC,match:NC,options:{weekStartsOn:0,firstWeekContainsDate:1}};function BC(e,t){let a=$(e,t?.in);return sl(a,cf(a))+1}function ul(e,t){let a=$(e,t?.in),o=+mn(a)-+yC(a);return Math.round(o/of)+1}function mf(e,t){let a=$(e,t?.in),o=a.getFullYear(),n=Uo(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=Le(t?.in||e,0);s.setFullYear(o+1,0,r),s.setHours(0,0,0,0);let l=So(s,t),i=Le(t?.in||e,0);i.setFullYear(o,0,r),i.setHours(0,0,0,0);let u=So(i,t);return+a>=+l?o+1:+a>=+u?o:o-1}function HC(e,t){let a=Uo(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,n=mf(e,t),r=Le(t?.in||e,0);return r.setFullYear(n,0,o),r.setHours(0,0,0,0),So(r,t)}function dl(e,t){let a=$(e,t?.in),o=+So(a,t)-+HC(a,t);return Math.round(o/of)+1}function Ae(e,t){let a=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return a+o}var gn={y(e,t){let a=e.getFullYear(),o=a>0?a:1-a;return Ae(t==="yy"?o%100:o,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):Ae(a+1,2)},d(e,t){return Ae(e.getDate(),t.length)},a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,t){return Ae(e.getHours()%12||12,t.length)},H(e,t){return Ae(e.getHours(),t.length)},m(e,t){return Ae(e.getMinutes(),t.length)},s(e,t){return Ae(e.getSeconds(),t.length)},S(e,t){let a=t.length,o=e.getMilliseconds(),n=Math.trunc(o*Math.pow(10,a-3));return Ae(n,t.length)}};var cl={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Jh={G:function(e,t,a){let o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(o,{width:"abbreviated"});case"GGGGG":return a.era(o,{width:"narrow"});case"GGGG":default:return a.era(o,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){let o=e.getFullYear(),n=o>0?o:1-o;return a.ordinalNumber(n,{unit:"year"})}return gn.y(e,t)},Y:function(e,t,a,o){let n=mf(e,o),r=n>0?n:1-n;if(t==="YY"){let s=r%100;return Ae(s,2)}return t==="Yo"?a.ordinalNumber(r,{unit:"year"}):Ae(r,t.length)},R:function(e,t){let a=sf(e);return Ae(a,t.length)},u:function(e,t){let a=e.getFullYear();return Ae(a,t.length)},Q:function(e,t,a){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return Ae(o,2);case"Qo":return a.ordinalNumber(o,{unit:"quarter"});case"QQQ":return a.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,a){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return Ae(o,2);case"qo":return a.ordinalNumber(o,{unit:"quarter"});case"qqq":return a.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,a){let o=e.getMonth();switch(t){case"M":case"MM":return gn.M(e,t);case"Mo":return a.ordinalNumber(o+1,{unit:"month"});case"MMM":return a.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,a){let o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return Ae(o+1,2);case"Lo":return a.ordinalNumber(o+1,{unit:"month"});case"LLL":return a.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,a,o){let n=dl(e,o);return t==="wo"?a.ordinalNumber(n,{unit:"week"}):Ae(n,t.length)},I:function(e,t,a){let o=ul(e);return t==="Io"?a.ordinalNumber(o,{unit:"week"}):Ae(o,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):gn.d(e,t)},D:function(e,t,a){let o=BC(e);return t==="Do"?a.ordinalNumber(o,{unit:"dayOfYear"}):Ae(o,t.length)},E:function(e,t,a){let o=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(o,{width:"short",context:"formatting"});case"EEEE":default:return a.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,a,o){let n=e.getDay(),r=(n-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return Ae(r,2);case"eo":return a.ordinalNumber(r,{unit:"day"});case"eee":return a.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(n,{width:"short",context:"formatting"});case"eeee":default:return a.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,a,o){let n=e.getDay(),r=(n-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return Ae(r,t.length);case"co":return a.ordinalNumber(r,{unit:"day"});case"ccc":return a.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(n,{width:"narrow",context:"standalone"});case"cccccc":return a.day(n,{width:"short",context:"standalone"});case"cccc":default:return a.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,a){let o=e.getDay(),n=o===0?7:o;switch(t){case"i":return String(n);case"ii":return Ae(n,t.length);case"io":return a.ordinalNumber(n,{unit:"day"});case"iii":return a.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(o,{width:"short",context:"formatting"});case"iiii":default:return a.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,a){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){let o=e.getHours(),n;switch(o===12?n=cl.noon:o===0?n=cl.midnight:n=o/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,a){let o=e.getHours(),n;switch(o>=17?n=cl.evening:o>=12?n=cl.afternoon:o>=4?n=cl.morning:n=cl.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),a.ordinalNumber(o,{unit:"hour"})}return gn.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):gn.H(e,t)},K:function(e,t,a){let o=e.getHours()%12;return t==="Ko"?a.ordinalNumber(o,{unit:"hour"}):Ae(o,t.length)},k:function(e,t,a){let o=e.getHours();return o===0&&(o=24),t==="ko"?a.ordinalNumber(o,{unit:"hour"}):Ae(o,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):gn.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):gn.s(e,t)},S:function(e,t){return gn.S(e,t)},X:function(e,t,a){let o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return zC(o);case"XXXX":case"XX":return rs(o);case"XXXXX":case"XXX":default:return rs(o,":")}},x:function(e,t,a){let o=e.getTimezoneOffset();switch(t){case"x":return zC(o);case"xxxx":case"xx":return rs(o);case"xxxxx":case"xxx":default:return rs(o,":")}},O:function(e,t,a){let o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+FC(o,":");case"OOOO":default:return"GMT"+rs(o,":")}},z:function(e,t,a){let o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+FC(o,":");case"zzzz":default:return"GMT"+rs(o,":")}},t:function(e,t,a){let o=Math.trunc(+e/1e3);return Ae(o,t.length)},T:function(e,t,a){return Ae(+e,t.length)}};function FC(e,t=""){let a=e>0?"-":"+",o=Math.abs(e),n=Math.trunc(o/60),r=o%60;return r===0?a+String(n):a+String(n)+t+Ae(r,2)}function zC(e,t){return e%60===0?(e>0?"-":"+")+Ae(Math.abs(e)/60,2):rs(e,t)}function rs(e,t=""){let a=e>0?"-":"+",o=Math.abs(e),n=Ae(Math.trunc(o/60),2),r=Ae(o%60,2);return a+n+t+r}var GC=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},VC=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},yD=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],o=a[1],n=a[2];if(!n)return GC(e,t);let r;switch(o){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",GC(o,t)).replace("{{time}}",VC(n,t))},UC={p:VC,P:yD};var bD=/^D+$/,vD=/^Y+$/,CD=["D","DD","YY","YYYY"];function qC(e){return bD.test(e)}function WC(e){return vD.test(e)}function YC(e,t,a){let o=SD(e,t,a);if(console.warn(o),CD.includes(e))throw new RangeError(o)}function SD(e,t,a){let o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var wD=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,LD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,RD=/^'([^]*?)'?$/,TD=/''/g,ED=/[a-zA-Z]/;function ss(e,t,a){let o=Uo(),n=a?.locale??o.locale??hn,r=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,l=$(e,a?.in);if(!LC(l))throw new RangeError("Invalid time value");let i=t.match(LD).map(c=>{let d=c[0];if(d==="p"||d==="P"){let p=UC[d];return p(c,n.formatLong)}return c}).join("").match(wD).map(c=>{if(c==="''")return{isToken:!1,value:"'"};let d=c[0];if(d==="'")return{isToken:!1,value:ID(c)};if(Jh[d])return{isToken:!0,value:c};if(d.match(ED))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:c}});n.localize.preprocessor&&(i=n.localize.preprocessor(l,i));let u={firstWeekContainsDate:r,weekStartsOn:s,locale:n};return i.map(c=>{if(!c.isToken)return c.value;let d=c.value;(!a?.useAdditionalWeekYearTokens&&WC(d)||!a?.useAdditionalDayOfYearTokens&&qC(d))&&YC(d,t,String(e));let p=Jh[d[0]];return p(l,d,n.localize,u)}).join("")}function ID(e){let t=e.match(RD);return t?t[1].replace(TD,"'"):e}function KC(e,t){let a=$(e,t?.in),o=a.getFullYear(),n=a.getMonth(),r=Le(a,0);return r.setFullYear(o,n+1,0),r.setHours(0,0,0,0),r.getDate()}function XC(e,t){return $(e,t?.in).getMonth()}function ZC(e,t){return $(e,t?.in).getFullYear()}function jC(e,t){return+$(e)>+$(t)}function $C(e,t){return+$(e)<+$(t)}function QC(e,t,a){let[o,n]=Xa(a?.in,e,t);return o.getFullYear()===n.getFullYear()&&o.getMonth()===n.getMonth()}function JC(e,t,a){let[o,n]=Xa(a?.in,e,t);return o.getFullYear()===n.getFullYear()}function e3(e,t,a){let o=$(e,a?.in),n=o.getFullYear(),r=o.getDate(),s=Le(a?.in||e,0);s.setFullYear(n,t,15),s.setHours(0,0,0,0);let l=KC(s);return o.setMonth(t,Math.min(r,l)),o}function t3(e,t,a){let o=$(e,a?.in);return isNaN(+o)?Le(a?.in||e,NaN):(o.setFullYear(t),o)}function a3(e,t){let a=t.startOfMonth(e),o=a.getDay()>0?a.getDay():7,n=t.addDays(e,-o+1),r=t.addDays(n,34);return t.getMonth(e)===t.getMonth(r)?5:4}function hf(e,t){let a=t.startOfMonth(e),o=a.getDay();return o===1?a:o===0?t.addDays(a,-6):t.addDays(a,-1*(o-1))}function o3(e,t){let a=hf(e,t),o=a3(e,t);return t.addDays(a,o*7-1)}var Wu={...hn,labels:{labelDayButton:(e,t,a,o)=>{let n;o&&typeof o.format=="function"?n=o.format.bind(o):n=(s,l)=>ss(s,l,{locale:hn,...a});let r=n(e,"PPPP");return t.today&&(r=`Today, ${r}`),t.selected&&(r=`${r}, selected`),r},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,a)=>{let o;return a&&typeof a.format=="function"?o=a.format.bind(a):o=(n,r)=>ss(n,r,{locale:hn,...t}),o(e,"LLLL yyyy")},labelGridcell:(e,t,a,o)=>{let n;o&&typeof o.format=="function"?n=o.format.bind(o):n=(s,l)=>ss(s,l,{locale:hn,...a});let r=n(e,"PPPP");return t?.today&&(r=`Today, ${r}`),r},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,a)=>{let o;return a&&typeof a.format=="function"?o=a.format.bind(a):o=(n,r)=>ss(n,r,{locale:hn,...t}),o(e,"cccc")}}};var dt=class e{constructor(t,a){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?Ct.tz(this.options.timeZone):new this.Date,this.newDate=(o,n,r)=>this.overrides?.newDate?this.overrides.newDate(o,n,r):this.options.timeZone?new Ct(o,n,r,this.options.timeZone):new Date(o,n,r),this.addDays=(o,n)=>this.overrides?.addDays?this.overrides.addDays(o,n):nf(o,n),this.addMonths=(o,n)=>this.overrides?.addMonths?this.overrides.addMonths(o,n):rf(o,n),this.addWeeks=(o,n)=>this.overrides?.addWeeks?this.overrides.addWeeks(o,n):bC(o,n),this.addYears=(o,n)=>this.overrides?.addYears?this.overrides.addYears(o,n):vC(o,n),this.differenceInCalendarDays=(o,n)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(o,n):sl(o,n),this.differenceInCalendarMonths=(o,n)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(o,n):uf(o,n),this.eachMonthOfInterval=o=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(o):TC(o),this.eachYearOfInterval=o=>{let n=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(o):AC(o),r=new Set(n.map(l=>this.getYear(l)));if(r.size===n.length)return n;let s=[];return r.forEach(l=>{s.push(new Date(l,0,1))}),s},this.endOfBroadcastWeek=o=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(o):o3(o,this),this.endOfISOWeek=o=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(o):MC(o),this.endOfMonth=o=>this.overrides?.endOfMonth?this.overrides.endOfMonth(o):RC(o),this.endOfWeek=(o,n)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(o,n):ff(o,this.options),this.endOfYear=o=>this.overrides?.endOfYear?this.overrides.endOfYear(o):IC(o),this.format=(o,n,r)=>{let s=this.overrides?.format?this.overrides.format(o,n,this.options):ss(o,n,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(s):s},this.getISOWeek=o=>this.overrides?.getISOWeek?this.overrides.getISOWeek(o):ul(o),this.getMonth=(o,n)=>this.overrides?.getMonth?this.overrides.getMonth(o,this.options):XC(o,this.options),this.getYear=(o,n)=>this.overrides?.getYear?this.overrides.getYear(o,this.options):ZC(o,this.options),this.getWeek=(o,n)=>this.overrides?.getWeek?this.overrides.getWeek(o,this.options):dl(o,this.options),this.isAfter=(o,n)=>this.overrides?.isAfter?this.overrides.isAfter(o,n):jC(o,n),this.isBefore=(o,n)=>this.overrides?.isBefore?this.overrides.isBefore(o,n):$C(o,n),this.isDate=o=>this.overrides?.isDate?this.overrides.isDate(o):lf(o),this.isSameDay=(o,n)=>this.overrides?.isSameDay?this.overrides.isSameDay(o,n):wC(o,n),this.isSameMonth=(o,n)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(o,n):QC(o,n),this.isSameYear=(o,n)=>this.overrides?.isSameYear?this.overrides.isSameYear(o,n):JC(o,n),this.max=o=>this.overrides?.max?this.overrides.max(o):CC(o),this.min=o=>this.overrides?.min?this.overrides.min(o):SC(o),this.setMonth=(o,n)=>this.overrides?.setMonth?this.overrides.setMonth(o,n):e3(o,n),this.setYear=(o,n)=>this.overrides?.setYear?this.overrides.setYear(o,n):t3(o,n),this.startOfBroadcastWeek=(o,n)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(o,this):hf(o,this),this.startOfDay=o=>this.overrides?.startOfDay?this.overrides.startOfDay(o):ur(o),this.startOfISOWeek=o=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(o):mn(o),this.startOfMonth=o=>this.overrides?.startOfMonth?this.overrides.startOfMonth(o):EC(o),this.startOfWeek=(o,n)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(o,this.options):So(o,this.options),this.startOfYear=o=>this.overrides?.startOfYear?this.overrides.startOfYear(o):cf(o),this.options={locale:Wu,...t},this.overrides=a}getDigitMap(){let{numerals:t="latn"}=this.options,a=new Intl.NumberFormat("en-US",{numberingSystem:t}),o={};for(let n=0;n<10;n++)o[n.toString()]=a.format(n);return o}replaceDigits(t){let a=this.getDigitMap();return t.replace(/\d/g,o=>a[o]||o)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){let t=this.options.locale?.code;return t&&e.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){let{locale:a,timeZone:o,numerals:n}=this.options,r=a?.code;if(r&&e.yearFirstLocales.has(r))try{return new Intl.DateTimeFormat(r,{month:"long",year:"numeric",timeZone:o,numberingSystem:n}).format(t)}catch{}let s=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,s)}};dt.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 ct=new dt;var fl=class{constructor(t,a,o=ct){this.date=t,this.displayMonth=a,this.outside=!!(a&&!o.isSameMonth(t,a)),this.dateLib=o,this.isoDate=o.format(t,"yyyy-MM-dd"),this.displayMonthId=o.format(a,"yyyy-MM"),this.dateMonthId=o.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}};var gf=class{constructor(t,a){this.date=t,this.weeks=a}};var xf=class{constructor(t,a){this.days=a,this.weekNumber=t}};var ag={};Hc(ag,{Button:()=>AD,CaptionLabel:()=>MD,Chevron:()=>OD,Day:()=>DD,DayButton:()=>_D,Dropdown:()=>kD,DropdownNav:()=>PD,Footer:()=>ND,Month:()=>BD,MonthCaption:()=>HD,MonthGrid:()=>FD,Months:()=>zD,MonthsDropdown:()=>GD,Nav:()=>VD,NextMonthButton:()=>UD,Option:()=>qD,PreviousMonthButton:()=>WD,Root:()=>YD,Select:()=>KD,Week:()=>XD,WeekNumber:()=>$D,WeekNumberHeader:()=>QD,Weekday:()=>ZD,Weekdays:()=>jD,Weeks:()=>JD,YearsDropdown:()=>e_});var n3=C(I(),1);function AD(e){return n3.default.createElement("button",{...e})}var r3=C(I(),1);function MD(e){return r3.default.createElement("span",{...e})}var pl=C(I(),1);function OD(e){let{size:t=24,orientation:a="left",className:o}=e;return pl.default.createElement("svg",{className:o,width:t,height:t,viewBox:"0 0 24 24"},a==="up"&&pl.default.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),a==="down"&&pl.default.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),a==="left"&&pl.default.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),a==="right"&&pl.default.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}var s3=C(I(),1);function DD(e){let{day:t,modifiers:a,...o}=e;return s3.default.createElement("td",{...o})}var yf=C(I(),1);function _D(e){let{day:t,modifiers:a,...o}=e,n=yf.default.useRef(null);return yf.default.useEffect(()=>{a.focused&&n.current?.focus()},[a.focused]),yf.default.createElement("button",{ref:n,...o})}var ml=C(I(),1);var K;(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"})(K||(K={}));var Be;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Be||(Be={}));var ga;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(ga||(ga={}));var la;(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"})(la||(la={}));function kD(e){let{options:t,className:a,components:o,classNames:n,...r}=e,s=[n[K.Dropdown],a].join(" "),l=t?.find(({value:i})=>i===r.value);return ml.default.createElement("span",{"data-disabled":r.disabled,className:n[K.DropdownRoot]},ml.default.createElement(o.Select,{className:s,...r},t?.map(({value:i,label:u,disabled:c})=>ml.default.createElement(o.Option,{key:i,value:i,disabled:c},u))),ml.default.createElement("span",{className:n[K.CaptionLabel],"aria-hidden":!0},l?.label,ml.default.createElement(o.Chevron,{orientation:"down",size:18,className:n[K.Chevron]})))}var l3=C(I(),1);function PD(e){return l3.default.createElement("div",{...e})}var i3=C(I(),1);function ND(e){return i3.default.createElement("div",{...e})}var u3=C(I(),1);function BD(e){let{calendarMonth:t,displayIndex:a,...o}=e;return u3.default.createElement("div",{...o},e.children)}var d3=C(I(),1);function HD(e){let{calendarMonth:t,displayIndex:a,...o}=e;return d3.default.createElement("div",{...o})}var c3=C(I(),1);function FD(e){return c3.default.createElement("table",{...e})}var f3=C(I(),1);function zD(e){return f3.default.createElement("div",{...e})}var p3=C(I(),1);var bf=C(I(),1),eg=(0,bf.createContext)(void 0);function qo(){let e=(0,bf.useContext)(eg);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function GD(e){let{components:t}=qo();return p3.default.createElement(t.Dropdown,{...e})}var xn=C(I(),1);function VD(e){let{onPreviousClick:t,onNextClick:a,previousMonth:o,nextMonth:n,...r}=e,{components:s,classNames:l,labels:{labelPrevious:i,labelNext:u}}=qo(),c=(0,xn.useCallback)(p=>{n&&a?.(p)},[n,a]),d=(0,xn.useCallback)(p=>{o&&t?.(p)},[o,t]);return xn.default.createElement("nav",{...r},xn.default.createElement(s.PreviousMonthButton,{type:"button",className:l[K.PreviousMonthButton],tabIndex:o?void 0:-1,"aria-disabled":o?void 0:!0,"aria-label":i(o),onClick:d},xn.default.createElement(s.Chevron,{disabled:o?void 0:!0,className:l[K.Chevron],orientation:"left"})),xn.default.createElement(s.NextMonthButton,{type:"button",className:l[K.NextMonthButton],tabIndex:n?void 0:-1,"aria-disabled":n?void 0:!0,"aria-label":u(n),onClick:c},xn.default.createElement(s.Chevron,{disabled:n?void 0:!0,orientation:"right",className:l[K.Chevron]})))}var m3=C(I(),1);function UD(e){let{components:t}=qo();return m3.default.createElement(t.Button,{...e})}var h3=C(I(),1);function qD(e){return h3.default.createElement("option",{...e})}var g3=C(I(),1);function WD(e){let{components:t}=qo();return g3.default.createElement(t.Button,{...e})}var x3=C(I(),1);function YD(e){let{rootRef:t,...a}=e;return x3.default.createElement("div",{...a,ref:t})}var y3=C(I(),1);function KD(e){return y3.default.createElement("select",{...e})}var b3=C(I(),1);function XD(e){let{week:t,...a}=e;return b3.default.createElement("tr",{...a})}var v3=C(I(),1);function ZD(e){return v3.default.createElement("th",{...e})}var tg=C(I(),1);function jD(e){return tg.default.createElement("thead",{"aria-hidden":!0},tg.default.createElement("tr",{...e}))}var C3=C(I(),1);function $D(e){let{week:t,...a}=e;return C3.default.createElement("th",{...a})}var S3=C(I(),1);function QD(e){return S3.default.createElement("th",{...e})}var w3=C(I(),1);function JD(e){return w3.default.createElement("tbody",{...e})}var L3=C(I(),1);function e_(e){let{components:t}=qo();return L3.default.createElement(t.Dropdown,{...e})}var ce=C(I(),1);function xa(e,t,a=!1,o=ct){let{from:n,to:r}=e,{differenceInCalendarDays:s,isSameDay:l}=o;return n&&r?(s(r,n)<0&&([n,r]=[r,n]),s(t,n)>=(a?1:0)&&s(r,t)>=(a?1:0)):!a&&r?l(r,t):!a&&n?l(n,t):!1}function hl(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function dr(e){return!!(e&&typeof e=="object"&&"from"in e)}function gl(e){return!!(e&&typeof e=="object"&&"after"in e)}function xl(e){return!!(e&&typeof e=="object"&&"before"in e)}function vf(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Cf(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Za(e,t,a=ct){let o=Array.isArray(t)?t:[t],{isSameDay:n,differenceInCalendarDays:r,isAfter:s}=a;return o.some(l=>{if(typeof l=="boolean")return l;if(a.isDate(l))return n(e,l);if(Cf(l,a))return l.some(i=>n(e,i));if(dr(l))return xa(l,e,!1,a);if(vf(l))return Array.isArray(l.dayOfWeek)?l.dayOfWeek.includes(e.getDay()):l.dayOfWeek===e.getDay();if(hl(l)){let i=r(l.before,e),u=r(l.after,e),c=i>0,d=u<0;return s(l.before,l.after)?d&&c:c||d}return gl(l)?r(e,l.after)>0:xl(l)?r(l.before,e)>0:typeof l=="function"?l(e):!1})}function R3(e,t,a,o,n){let{disabled:r,hidden:s,modifiers:l,showOutsideDays:i,broadcastCalendar:u,today:c=n.today()}=t,{isSameDay:d,isSameMonth:p,startOfMonth:f,isBefore:g,endOfMonth:x,isAfter:b}=n,m=a&&f(a),h=o&&x(o),y={[Be.focused]:[],[Be.outside]:[],[Be.disabled]:[],[Be.hidden]:[],[Be.today]:[]},v={};for(let S of e){let{date:w,displayMonth:L}=S,T=!!(L&&!p(w,L)),A=!!(m&&g(w,m)),O=!!(h&&b(w,h)),B=!!(r&&Za(w,r,n)),P=!!(s&&Za(w,s,n))||A||O||!u&&!i&&T||u&&i===!1&&T,U=d(w,c);T&&y.outside.push(S),B&&y.disabled.push(S),P&&y.hidden.push(S),U&&y.today.push(S),l&&Object.keys(l).forEach(V=>{let ee=l?.[V];ee&&Za(w,ee,n)&&(v[V]?v[V].push(S):v[V]=[S])})}return S=>{let w={[Be.focused]:!1,[Be.disabled]:!1,[Be.hidden]:!1,[Be.outside]:!1,[Be.today]:!1},L={};for(let T in y){let A=y[T];w[T]=A.some(O=>O===S)}for(let T in v)L[T]=v[T].some(A=>A===S);return{...w,...L}}}function T3(e,t,a={}){return Object.entries(e).filter(([,n])=>n===!0).reduce((n,[r])=>(a[r]?n.push(a[r]):t[Be[r]]?n.push(t[Be[r]]):t[ga[r]]&&n.push(t[ga[r]]),n),[t[K.Day]])}function E3(e){return{...ag,...e}}function I3(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(([a,o])=>{a.startsWith("data-")&&(t[a]=o)}),t}function A3(){let e={};for(let t in K)e[K[t]]=`rdp-${K[t]}`;for(let t in Be)e[Be[t]]=`rdp-${Be[t]}`;for(let t in ga)e[ga[t]]=`rdp-${ga[t]}`;for(let t in la)e[la[t]]=`rdp-${la[t]}`;return e}var og={};Hc(og,{formatCaption:()=>M3,formatDay:()=>a_,formatMonthCaption:()=>t_,formatMonthDropdown:()=>o_,formatWeekNumber:()=>r_,formatWeekNumberHeader:()=>s_,formatWeekdayName:()=>n_,formatYearCaption:()=>l_,formatYearDropdown:()=>O3});function M3(e,t,a){return(a??new dt(t)).formatMonthYear(e)}var t_=M3;function a_(e,t,a){return(a??new dt(t)).format(e,"d")}function o_(e,t=ct){return t.format(e,"LLLL")}function n_(e,t,a){return(a??new dt(t)).format(e,"cccccc")}function r_(e,t=ct){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function s_(){return""}function O3(e,t=ct){return t.format(e,"yyyy")}var l_=O3;function D3(e){return e?.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e?.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...og,...e}}var pg={};Hc(pg,{labelCaption:()=>u_,labelDay:()=>i_,labelDayButton:()=>Sf,labelGrid:()=>wf,labelGridcell:()=>ng,labelMonthDropdown:()=>rg,labelNav:()=>sg,labelNext:()=>lg,labelPrevious:()=>ig,labelWeekNumber:()=>dg,labelWeekNumberHeader:()=>cg,labelWeekday:()=>ug,labelYearDropdown:()=>fg});function Sf(e,t,a,o){let n=(o??new dt(a)).format(e,"PPPP");return t.today&&(n=`Today, ${n}`),t.selected&&(n=`${n}, selected`),n}var i_=Sf;function wf(e,t,a){return(a??new dt(t)).formatMonthYear(e)}var u_=wf;function ng(e,t,a,o){let n=(o??new dt(a)).format(e,"PPPP");return t?.today&&(n=`Today, ${n}`),n}function rg(e){return"Choose the Month"}function sg(){return""}var d_="Go to the Next Month";function lg(e,t){return d_}function ig(e){return"Go to the Previous Month"}function ug(e,t,a){return(a??new dt(t)).format(e,"cccc")}function dg(e,t){return`Week ${e}`}function cg(e){return"Week Number"}function fg(e){return"Choose the Year"}var wo=(e,t,a)=>t||(a?typeof a=="function"?a:(...o)=>a:e);function _3(e,t){let a=t.locale?.labels??{};return{...pg,...e??{},labelDayButton:wo(Sf,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:wo(rg,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:wo(lg,e?.labelNext,a.labelNext),labelPrevious:wo(ig,e?.labelPrevious,a.labelPrevious),labelWeekNumber:wo(dg,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:wo(fg,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:wo(wf,e?.labelGrid,a.labelGrid),labelGridcell:wo(ng,e?.labelGridcell,a.labelGridcell),labelNav:wo(sg,e?.labelNav,a.labelNav),labelWeekNumberHeader:wo(cg,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:wo(ug,e?.labelWeekday,a.labelWeekday)}}function k3(e,t,a,o,n){let{startOfMonth:r,startOfYear:s,endOfYear:l,eachMonthOfInterval:i,getMonth:u}=n;return i({start:s(e),end:l(e)}).map(p=>{let f=o.formatMonthDropdown(p,n),g=u(p),x=t&&p<r(t)||a&&p>r(a)||!1;return{value:g,label:f,disabled:x}})}function P3(e,t={},a={}){let o={...t?.[K.Day]};return Object.entries(e).filter(([,n])=>n===!0).forEach(([n])=>{o={...o,...a?.[n]}}),o}function N3(e,t,a,o){let n=o??e.today(),r=a?e.startOfBroadcastWeek(n,e):t?e.startOfISOWeek(n):e.startOfWeek(n),s=[];for(let l=0;l<7;l++){let i=e.addDays(r,l);s.push(i)}return s}function B3(e,t,a,o,n=!1){if(!e||!t)return;let{startOfYear:r,endOfYear:s,eachYearOfInterval:l,getYear:i}=o,u=r(e),c=s(t),d=l({start:u,end:c});return n&&d.reverse(),d.map(p=>{let f=a.formatYearDropdown(p,o);return{value:i(p),label:f,disabled:!1}})}function H3(e,t={}){let{weekStartsOn:a,locale:o}=t,n=a??o?.options?.weekStartsOn??0,r=l=>{let i=typeof l=="number"||typeof l=="string"?new Date(l):l;return new Ct(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,e)},s=l=>{let i=r(l);return new Date(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0,0)};return{today:()=>r(Ct.tz(e)),newDate:(l,i,u)=>new Ct(l,i,u,12,0,0,e),startOfDay:l=>r(l),startOfWeek:(l,i)=>{let u=r(l),c=i?.weekStartsOn??n,d=(u.getDay()-c+7)%7;return u.setDate(u.getDate()-d),u},startOfISOWeek:l=>{let i=r(l),u=(i.getDay()-1+7)%7;return i.setDate(i.getDate()-u),i},startOfMonth:l=>{let i=r(l);return i.setDate(1),i},startOfYear:l=>{let i=r(l);return i.setMonth(0,1),i},endOfWeek:(l,i)=>{let u=r(l),p=(((i?.weekStartsOn??n)+6)%7-u.getDay()+7)%7;return u.setDate(u.getDate()+p),u},endOfISOWeek:l=>{let i=r(l),u=(7-i.getDay())%7;return i.setDate(i.getDate()+u),i},endOfMonth:l=>{let i=r(l);return i.setMonth(i.getMonth()+1,0),i},endOfYear:l=>{let i=r(l);return i.setMonth(11,31),i},eachMonthOfInterval:l=>{let i=r(l.start),u=r(l.end),c=[],d=new Ct(i.getFullYear(),i.getMonth(),1,12,0,0,e),p=u.getFullYear()*12+u.getMonth();for(;d.getFullYear()*12+d.getMonth()<=p;)c.push(new Ct(d,e)),d.setMonth(d.getMonth()+1,1);return c},addDays:(l,i)=>{let u=r(l);return u.setDate(u.getDate()+i),u},addWeeks:(l,i)=>{let u=r(l);return u.setDate(u.getDate()+i*7),u},addMonths:(l,i)=>{let u=r(l);return u.setMonth(u.getMonth()+i),u},addYears:(l,i)=>{let u=r(l);return u.setFullYear(u.getFullYear()+i),u},eachYearOfInterval:l=>{let i=r(l.start),u=r(l.end),c=[],d=new Ct(i.getFullYear(),0,1,12,0,0,e);for(;d.getFullYear()<=u.getFullYear();)c.push(new Ct(d,e)),d.setFullYear(d.getFullYear()+1,0,1);return c},getWeek:(l,i)=>{let u=s(l);return dl(u,{weekStartsOn:i?.weekStartsOn??n,firstWeekContainsDate:i?.firstWeekContainsDate??o?.options?.firstWeekContainsDate??1})},getISOWeek:l=>{let i=s(l);return ul(i)},differenceInCalendarDays:(l,i)=>{let u=s(l),c=s(i);return sl(u,c)},differenceInCalendarMonths:(l,i)=>{let u=s(l),c=s(i);return uf(u,c)}}}var yl=C(I(),1);var Yu=e=>e instanceof HTMLElement?e:null,mg=e=>[...e.querySelectorAll("[data-animated-month]")??[]],c_=e=>Yu(e.querySelector("[data-animated-month]")),hg=e=>Yu(e.querySelector("[data-animated-caption]")),gg=e=>Yu(e.querySelector("[data-animated-weeks]")),f_=e=>Yu(e.querySelector("[data-animated-nav]")),p_=e=>Yu(e.querySelector("[data-animated-weekdays]"));function F3(e,t,{classNames:a,months:o,focused:n,dateLib:r}){let s=(0,yl.useRef)(null),l=(0,yl.useRef)(o),i=(0,yl.useRef)(!1);(0,yl.useLayoutEffect)(()=>{let u=l.current;if(l.current=o,!t||!e.current||!(e.current instanceof HTMLElement)||o.length===0||u.length===0||o.length!==u.length)return;let c=r.isSameMonth(o[0].date,u[0].date),d=r.isAfter(o[0].date,u[0].date),p=d?a[la.caption_after_enter]:a[la.caption_before_enter],f=d?a[la.weeks_after_enter]:a[la.weeks_before_enter],g=s.current,x=e.current.cloneNode(!0);if(x instanceof HTMLElement?(mg(x).forEach(y=>{if(!(y instanceof HTMLElement))return;let v=c_(y);v&&y.contains(v)&&y.removeChild(v);let S=hg(y);S&&S.classList.remove(p);let w=gg(y);w&&w.classList.remove(f)}),s.current=x):s.current=null,i.current||c||n)return;let b=g instanceof HTMLElement?mg(g):[],m=mg(e.current);if(m?.every(h=>h instanceof HTMLElement)&&b&&b.every(h=>h instanceof HTMLElement)){i.current=!0;let h=[];e.current.style.isolation="isolate";let y=f_(e.current);y&&(y.style.zIndex="1"),m.forEach((v,S)=>{let w=b[S];if(!w)return;v.style.position="relative",v.style.overflow="hidden";let L=hg(v);L&&L.classList.add(p);let T=gg(v);T&&T.classList.add(f);let A=()=>{i.current=!1,e.current&&(e.current.style.isolation=""),y&&(y.style.zIndex=""),L&&L.classList.remove(p),T&&T.classList.remove(f),v.style.position="",v.style.overflow="",v.contains(w)&&v.removeChild(w)};h.push(A),w.style.pointerEvents="none",w.style.position="absolute",w.style.overflow="hidden",w.setAttribute("aria-hidden","true");let O=p_(w);O&&(O.style.opacity="0");let B=hg(w);B&&(B.classList.add(d?a[la.caption_before_exit]:a[la.caption_after_exit]),B.addEventListener("animationend",A));let P=gg(w);P&&P.classList.add(d?a[la.weeks_before_exit]:a[la.weeks_after_exit]),v.insertBefore(w,v.firstChild)})}})}var Lf=C(I(),1);function z3(e,t,a,o){let n=e[0],r=e[e.length-1],{ISOWeek:s,fixedWeeks:l,broadcastCalendar:i}=a??{},{addDays:u,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:p,endOfISOWeek:f,endOfMonth:g,endOfWeek:x,isAfter:b,startOfBroadcastWeek:m,startOfISOWeek:h,startOfWeek:y}=o,v=i?m(n,o):s?h(n):y(n),S=i?p(r):s?f(g(r)):x(g(r)),w=t&&(i?p(t):s?f(t):x(t)),L=w&&b(S,w)?w:S,T=c(L,v),A=d(r,n)+1,O=[];for(let U=0;U<=T;U++){let V=u(v,U);O.push(V)}let P=(i?35:42)*A;if(l&&O.length<P){let U=P-O.length;for(let V=0;V<U;V++){let ee=u(O[O.length-1],1);O.push(ee)}}return O}function G3(e){let t=[];return e.reduce((a,o)=>{let n=o.weeks.reduce((r,s)=>r.concat(s.days.slice()),t.slice());return a.concat(n.slice())},t.slice())}function V3(e,t,a,o){let{numberOfMonths:n=1}=a,r=[];for(let s=0;s<n;s++){let l=o.addMonths(e,s);if(t&&l>t)break;r.push(l)}return r}function xg(e,t,a,o){let{month:n,defaultMonth:r,today:s=o.today(),numberOfMonths:l=1}=e,i=n||r||s,{differenceInCalendarMonths:u,addMonths:c,startOfMonth:d}=o;if(a&&u(a,i)<l-1){let p=-1*(l-1);i=c(a,p)}return t&&u(i,t)<0&&(i=t),d(i)}function U3(e,t,a,o){let{addDays:n,endOfBroadcastWeek:r,endOfISOWeek:s,endOfMonth:l,endOfWeek:i,getISOWeek:u,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:p,startOfWeek:f}=o,g=e.reduce((x,b)=>{let m=a.broadcastCalendar?d(b,o):a.ISOWeek?p(b):f(b),h=a.broadcastCalendar?r(b):a.ISOWeek?s(l(b)):i(l(b)),y=t.filter(L=>L>=m&&L<=h),v=a.broadcastCalendar?35:42;if(a.fixedWeeks&&y.length<v){let L=t.filter(T=>{let A=v-y.length;return T>h&&T<=n(h,A)});y.push(...L)}let S=y.reduce((L,T)=>{let A=a.ISOWeek?u(T):c(T),O=L.find(P=>P.weekNumber===A),B=new fl(T,b,o);return O?O.days.push(B):L.push(new xf(A,[B])),L},[]),w=new gf(b,S);return x.push(w),x},[]);return a.reverseMonths?g.reverse():g}function q3(e,t){let{startMonth:a,endMonth:o}=e,{startOfYear:n,startOfDay:r,startOfMonth:s,endOfMonth:l,addYears:i,endOfYear:u,newDate:c,today:d}=t,{fromYear:p,toYear:f,fromMonth:g,toMonth:x}=e;!a&&g&&(a=g),!a&&p&&(a=t.newDate(p,0,1)),!o&&x&&(o=x),!o&&f&&(o=c(f,11,31));let b=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return a?a=s(a):p?a=c(p,0,1):!a&&b&&(a=n(i(e.today??d(),-100))),o?o=l(o):f?o=c(f,11,31):!o&&b&&(o=u(e.today??d())),[a&&r(a),o&&r(o)]}function W3(e,t,a,o){if(a.disableNavigation)return;let{pagedNavigation:n,numberOfMonths:r=1}=a,{startOfMonth:s,addMonths:l,differenceInCalendarMonths:i}=o,u=n?r:1,c=s(e);if(!t)return l(c,u);if(!(i(t,e)<r))return l(c,u)}function Y3(e,t,a,o){if(a.disableNavigation)return;let{pagedNavigation:n,numberOfMonths:r}=a,{startOfMonth:s,addMonths:l,differenceInCalendarMonths:i}=o,u=n?r??1:1,c=s(e);if(!t)return l(c,-u);if(!(i(c,t)<=0))return l(c,-u)}function K3(e){let t=[];return e.reduce((a,o)=>a.concat(o.weeks.slice()),t.slice())}var X3=C(I(),1);function cr(e,t){let[a,o]=(0,X3.useState)(e);return[t===void 0?a:t,o]}function Z3(e,t){let[a,o]=q3(e,t),{startOfMonth:n,endOfMonth:r}=t,s=xg(e,a,o,t),[l,i]=cr(s,e.month?s:void 0);(0,Lf.useEffect)(()=>{let v=xg(e,a,o,t);i(v)},[e.timeZone]);let{months:u,weeks:c,days:d,previousMonth:p,nextMonth:f}=(0,Lf.useMemo)(()=>{let v=V3(l,o,{numberOfMonths:e.numberOfMonths},t),S=z3(v,e.endMonth?r(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),w=U3(v,S,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),L=K3(w),T=G3(w),A=Y3(l,a,e,t),O=W3(l,o,e,t);return{months:w,weeks:L,days:T,previousMonth:A,nextMonth:O}},[t,l.getTime(),o?.getTime(),a?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:g,onMonthChange:x}=e,b=v=>c.some(S=>S.days.some(w=>w.isEqualTo(v))),m=v=>{if(g)return;let S=n(v);a&&S<n(a)&&(S=n(a)),o&&S>n(o)&&(S=n(o)),i(S),x?.(S)};return{months:u,weeks:c,days:d,navStart:a,navEnd:o,previousMonth:p,nextMonth:f,goToMonth:m,goToDay:v=>{b(v)||m(v.date)}}}var bg=C(I(),1);var Wo;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(Wo||(Wo={}));function j3(e){return!e[Be.disabled]&&!e[Be.hidden]&&!e[Be.outside]}function $3(e,t,a,o){let n,r=-1;for(let s of e){let l=t(s);j3(l)&&(l[Be.focused]&&r<Wo.FocusedModifier?(n=s,r=Wo.FocusedModifier):o?.isEqualTo(s)&&r<Wo.LastFocused?(n=s,r=Wo.LastFocused):a(s.date)&&r<Wo.Selected?(n=s,r=Wo.Selected):l[Be.today]&&r<Wo.Today&&(n=s,r=Wo.Today))}return n||(n=e.find(s=>j3(t(s)))),n}function Q3(e,t,a,o,n,r,s){let{ISOWeek:l,broadcastCalendar:i}=r,{addDays:u,addMonths:c,addWeeks:d,addYears:p,endOfBroadcastWeek:f,endOfISOWeek:g,endOfWeek:x,max:b,min:m,startOfBroadcastWeek:h,startOfISOWeek:y,startOfWeek:v}=s,w={day:u,week:d,month:c,year:p,startOfWeek:L=>i?h(L,s):l?y(L):v(L),endOfWeek:L=>i?f(L):l?g(L):x(L)}[e](a,t==="after"?1:-1);return t==="before"&&o?w=b([o,w]):t==="after"&&n&&(w=m([n,w])),w}function yg(e,t,a,o,n,r,s,l=0){if(l>365)return;let i=Q3(e,t,a.date,o,n,r,s),u=!!(r.disabled&&Za(i,r.disabled,s)),c=!!(r.hidden&&Za(i,r.hidden,s)),d=i,p=new fl(i,d,s);return!u&&!c?p:yg(e,t,p,o,n,r,s,l+1)}function J3(e,t,a,o,n){let{autoFocus:r}=e,[s,l]=(0,bg.useState)(),i=$3(t.days,a,o||(()=>!1),s),[u,c]=(0,bg.useState)(r?i:void 0);return{isFocusTarget:x=>!!i?.isEqualTo(x),setFocused:c,focused:u,blur:()=>{l(u),c(void 0)},moveFocus:(x,b)=>{if(!u)return;let m=yg(x,b,u,t.navStart,t.navEnd,e,n);m&&(e.disableNavigation&&!t.days.some(y=>y.isEqualTo(m))||(t.goToDay(m),c(m)))}}}function eS(e,t){let{selected:a,required:o,onSelect:n}=e,[r,s]=cr(a,n?a:void 0),l=n?a:r,{isSameDay:i}=t,u=f=>l?.some(g=>i(g,f))??!1,{min:c,max:d}=e;return{selected:l,select:(f,g,x)=>{let b=[...l??[]];if(u(f)){if(l?.length===c||o&&l?.length===1)return;b=l?.filter(m=>!i(m,f))}else l?.length===d?b=[f]:b=[...b,f];return n||s(b),n?.(b,f,g,x),b},isSelected:u}}function tS(e,t,a=0,o=0,n=!1,r=ct){let{from:s,to:l}=t||{},{isSameDay:i,isAfter:u,isBefore:c}=r,d;if(!s&&!l)d={from:e,to:a>0?void 0:e};else if(s&&!l)i(s,e)?a===0?d={from:s,to:e}:n?d={from:s,to:void 0}:d=void 0:c(e,s)?d={from:e,to:s}:d={from:s,to:e};else if(s&&l)if(i(s,e)&&i(l,e))n?d={from:s,to:l}:d=void 0;else if(i(s,e))d={from:s,to:a>0?void 0:e};else if(i(l,e))d={from:e,to:a>0?void 0:e};else if(c(e,s))d={from:e,to:l};else if(u(e,s))d={from:s,to:e};else if(u(e,l))d={from:s,to:e};else throw new Error("Invalid range");if(d?.from&&d?.to){let p=r.differenceInCalendarDays(d.to,d.from);o>0&&p>o?d={from:e,to:void 0}:a>1&&p<a&&(d={from:e,to:void 0})}return d}function aS(e,t,a=ct){let o=Array.isArray(t)?t:[t],n=e.from,r=a.differenceInCalendarDays(e.to,e.from),s=Math.min(r,6);for(let l=0;l<=s;l++){if(o.includes(n.getDay()))return!0;n=a.addDays(n,1)}return!1}function vg(e,t,a=ct){return xa(e,t.from,!1,a)||xa(e,t.to,!1,a)||xa(t,e.from,!1,a)||xa(t,e.to,!1,a)}function oS(e,t,a=ct){let o=Array.isArray(t)?t:[t];if(o.filter(l=>typeof l!="function").some(l=>typeof l=="boolean"?l:a.isDate(l)?xa(e,l,!1,a):Cf(l,a)?l.some(i=>xa(e,i,!1,a)):dr(l)?l.from&&l.to?vg(e,{from:l.from,to:l.to},a):!1:vf(l)?aS(e,l.dayOfWeek,a):hl(l)?a.isAfter(l.before,l.after)?vg(e,{from:a.addDays(l.after,1),to:a.addDays(l.before,-1)},a):Za(e.from,l,a)||Za(e.to,l,a):gl(l)||xl(l)?Za(e.from,l,a)||Za(e.to,l,a):!1))return!0;let s=o.filter(l=>typeof l=="function");if(s.length){let l=e.from,i=a.differenceInCalendarDays(e.to,e.from);for(let u=0;u<=i;u++){if(s.some(c=>c(l)))return!0;l=a.addDays(l,1)}}return!1}function nS(e,t){let{disabled:a,excludeDisabled:o,resetOnSelect:n,selected:r,required:s,onSelect:l}=e,[i,u]=cr(r,l?r:void 0),c=l?r:i;return{selected:c,select:(f,g,x)=>{let{min:b,max:m}=e,h;if(f){let y=c?.from,v=c?.to,S=!!y&&!!v,w=!!y&&!!v&&t.isSameDay(y,v)&&t.isSameDay(f,y);n&&(S||!c?.from)?!s&&w?h=void 0:h={from:f,to:void 0}:h=tS(f,c,b,m,s,t)}return o&&a&&h?.from&&h.to&&oS({from:h.from,to:h.to},a,t)&&(h.from=f,h.to=void 0),l||u(h),l?.(h,f,g,x),h},isSelected:f=>c&&xa(c,f,!1,t)}}function rS(e,t){let{selected:a,required:o,onSelect:n}=e,[r,s]=cr(a,n?a:void 0),l=n?a:r,{isSameDay:i}=t;return{selected:l,select:(d,p,f)=>{let g=d;return!o&&l&&l&&i(d,l)&&(g=void 0),n||s(g),n?.(g,d,p,f),g},isSelected:d=>l?i(l,d):!1}}function sS(e,t){let a=rS(e,t),o=eS(e,t),n=nS(e,t);switch(e.mode){case"single":return a;case"multiple":return o;case"range":return n;default:return}}function ia(e,t){return e instanceof Ct&&e.timeZone===t?e:new Ct(e,t)}function bl(e,t,a){if(!a)return ia(e,t);let o=ia(e,t),n=new Ct(o.getFullYear(),o.getMonth(),o.getDate(),12,0,0,t);return new Date(n.getTime())}function lS(e,t,a){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?bl(e,t,a):Array.isArray(e)?e.map(o=>o instanceof Date?bl(o,t,a):o):dr(e)?{...e,from:e.from?ia(e.from,t):e.from,to:e.to?ia(e.to,t):e.to}:hl(e)?{before:bl(e.before,t,a),after:bl(e.after,t,a)}:gl(e)?{after:bl(e.after,t,a)}:xl(e)?{before:bl(e.before,t,a)}:e}function Rf(e,t,a){return e&&(Array.isArray(e)?e.map(o=>lS(o,t,a)):lS(e,t,a))}function Cg(e){let t=e,a=t.timeZone;if(a&&(t={...e,timeZone:a},t.today&&(t.today=ia(t.today,a)),t.month&&(t.month=ia(t.month,a)),t.defaultMonth&&(t.defaultMonth=ia(t.defaultMonth,a)),t.startMonth&&(t.startMonth=ia(t.startMonth,a)),t.endMonth&&(t.endMonth=ia(t.endMonth,a)),t.mode==="single"&&t.selected?t.selected=ia(t.selected,a):t.mode==="multiple"&&t.selected?t.selected=t.selected?.map(ae=>ia(ae,a)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?ia(t.selected.from,a):t.selected.from,to:t.selected.to?ia(t.selected.to,a):t.selected.to}),t.disabled!==void 0&&(t.disabled=Rf(t.disabled,a)),t.hidden!==void 0&&(t.hidden=Rf(t.hidden,a)),t.modifiers)){let ae={};Object.keys(t.modifiers).forEach(Ie=>{ae[Ie]=Rf(t.modifiers?.[Ie],a)}),t.modifiers=ae}let{components:o,formatters:n,labels:r,dateLib:s,locale:l,classNames:i}=(0,ce.useMemo)(()=>{let ae={...Wu,...t.locale},Ie=t.broadcastCalendar?1:t.weekStartsOn,le=t.noonSafe&&t.timeZone?H3(t.timeZone,{weekStartsOn:Ie,locale:ae}):void 0,Te=t.dateLib&&le?{...le,...t.dateLib}:t.dateLib??le,Kt=new dt({locale:ae,weekStartsOn:Ie,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},Te);return{dateLib:Kt,components:E3(t.components),formatters:D3(t.formatters),labels:_3(t.labels,Kt.options),locale:ae,classNames:{...A3(),...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:s.today()});let{captionLayout:u,mode:c,navLayout:d,numberOfMonths:p=1,onDayBlur:f,onDayClick:g,onDayFocus:x,onDayKeyDown:b,onDayMouseEnter:m,onDayMouseLeave:h,onNextClick:y,onPrevClick:v,showWeekNumber:S,styles:w}=t,{formatCaption:L,formatDay:T,formatMonthDropdown:A,formatWeekNumber:O,formatWeekNumberHeader:B,formatWeekdayName:P,formatYearDropdown:U}=n,V=Z3(t,s),{days:ee,months:F,navStart:q,navEnd:N,previousMonth:k,nextMonth:W,goToMonth:J}=V,Ve=R3(ee,t,q,N,s),{isSelected:j,select:pe,selected:te}=sS(t,s)??{},{blur:de,focused:be,isFocusTarget:ye,moveFocus:vt,setFocused:re}=J3(t,V,Ve,j??(()=>!1),s),{labelDayButton:se,labelGridcell:Ee,labelGrid:At,labelMonthDropdown:oa,labelNav:Mt,labelPrevious:Yt,labelNext:Oa,labelWeekday:Kn,labelWeekNumber:na,labelWeekNumberHeader:Y,labelYearDropdown:Ne}=r,G=(0,ce.useMemo)(()=>N3(s,t.ISOWeek,t.broadcastCalendar,t.today),[s,t.ISOWeek,t.broadcastCalendar,t.today]),Qe=c!==void 0||g!==void 0,ma=(0,ce.useCallback)(()=>{k&&(J(k),v?.(k))},[k,J,v]),Ho=(0,ce.useCallback)(()=>{W&&(J(W),y?.(W))},[J,W,y]),$s=(0,ce.useCallback)((ae,Ie)=>le=>{le.preventDefault(),le.stopPropagation(),re(ae),!Ie.disabled&&(pe?.(ae.date,Ie,le),g?.(ae.date,Ie,le))},[pe,g,re]),Ch=(0,ce.useCallback)((ae,Ie)=>le=>{re(ae),x?.(ae.date,Ie,le)},[x,re]),Oc=(0,ce.useCallback)((ae,Ie)=>le=>{de(),f?.(ae.date,Ie,le)},[de,f]),Bi=(0,ce.useCallback)((ae,Ie)=>le=>{let Te={ArrowLeft:[le.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[le.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[le.shiftKey?"year":"week","after"],ArrowUp:[le.shiftKey?"year":"week","before"],PageUp:[le.shiftKey?"year":"month","before"],PageDown:[le.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Te[le.key]){le.preventDefault(),le.stopPropagation();let[Kt,z]=Te[le.key];vt(Kt,z)}b?.(ae.date,Ie,le)},[vt,b,t.dir]),Xn=(0,ce.useCallback)((ae,Ie)=>le=>{m?.(ae.date,Ie,le)},[m]),Dc=(0,ce.useCallback)((ae,Ie)=>le=>{h?.(ae.date,Ie,le)},[h]),Zn=(0,ce.useCallback)(ae=>Ie=>{let le=Number(Ie.target.value),Te=s.setMonth(s.startOfMonth(ae),le);J(Te)},[s,J]),Sh=(0,ce.useCallback)(ae=>Ie=>{let le=Number(Ie.target.value),Te=s.setYear(s.startOfMonth(ae),le);J(Te)},[s,J]),{className:wh,style:_c}=(0,ce.useMemo)(()=>({className:[i[K.Root],t.className].filter(Boolean).join(" "),style:{...w?.[K.Root],...t.style}}),[i,t.className,t.style,w]),kc=I3(t),Pc=(0,ce.useRef)(null);F3(Pc,!!t.animate,{classNames:i,months:F,focused:be,dateLib:s});let Hi={dayPickerProps:t,selected:te,select:pe,isSelected:j,months:F,nextMonth:W,previousMonth:k,goToMonth:J,getModifiers:Ve,components:o,classNames:i,styles:w,labels:r,formatters:n};return ce.default.createElement(eg.Provider,{value:Hi},ce.default.createElement(o.Root,{rootRef:t.animate?Pc:void 0,className:wh,style:_c,dir:t.dir,id:t.id,lang:t.lang??l.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...kc},ce.default.createElement(o.Months,{className:i[K.Months],style:w?.[K.Months]},!t.hideNavigation&&!d&&ce.default.createElement(o.Nav,{"data-animated-nav":t.animate?"true":void 0,className:i[K.Nav],style:w?.[K.Nav],"aria-label":Mt(),onPreviousClick:ma,onNextClick:Ho,previousMonth:k,nextMonth:W}),F.map((ae,Ie)=>ce.default.createElement(o.Month,{"data-animated-month":t.animate?"true":void 0,className:i[K.Month],style:w?.[K.Month],key:Ie,displayIndex:Ie,calendarMonth:ae},d==="around"&&!t.hideNavigation&&Ie===0&&ce.default.createElement(o.PreviousMonthButton,{type:"button",className:i[K.PreviousMonthButton],tabIndex:k?void 0:-1,"aria-disabled":k?void 0:!0,"aria-label":Yt(k),onClick:ma,"data-animated-button":t.animate?"true":void 0},ce.default.createElement(o.Chevron,{disabled:k?void 0:!0,className:i[K.Chevron],orientation:t.dir==="rtl"?"right":"left"})),ce.default.createElement(o.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:i[K.MonthCaption],style:w?.[K.MonthCaption],calendarMonth:ae,displayIndex:Ie},u?.startsWith("dropdown")?ce.default.createElement(o.DropdownNav,{className:i[K.Dropdowns],style:w?.[K.Dropdowns]},(()=>{let le=u==="dropdown"||u==="dropdown-months"?ce.default.createElement(o.MonthsDropdown,{key:"month",className:i[K.MonthsDropdown],"aria-label":oa(),classNames:i,components:o,disabled:!!t.disableNavigation,onChange:Zn(ae.date),options:k3(ae.date,q,N,n,s),style:w?.[K.Dropdown],value:s.getMonth(ae.date)}):ce.default.createElement("span",{key:"month"},A(ae.date,s)),Te=u==="dropdown"||u==="dropdown-years"?ce.default.createElement(o.YearsDropdown,{key:"year",className:i[K.YearsDropdown],"aria-label":Ne(s.options),classNames:i,components:o,disabled:!!t.disableNavigation,onChange:Sh(ae.date),options:B3(q,N,n,s,!!t.reverseYears),style:w?.[K.Dropdown],value:s.getYear(ae.date)}):ce.default.createElement("span",{key:"year"},U(ae.date,s));return s.getMonthYearOrder()==="year-first"?[Te,le]:[le,Te]})(),ce.default.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"}},L(ae.date,s.options,s))):ce.default.createElement(o.CaptionLabel,{className:i[K.CaptionLabel],role:"status","aria-live":"polite"},L(ae.date,s.options,s))),d==="around"&&!t.hideNavigation&&Ie===p-1&&ce.default.createElement(o.NextMonthButton,{type:"button",className:i[K.NextMonthButton],tabIndex:W?void 0:-1,"aria-disabled":W?void 0:!0,"aria-label":Oa(W),onClick:Ho,"data-animated-button":t.animate?"true":void 0},ce.default.createElement(o.Chevron,{disabled:W?void 0:!0,className:i[K.Chevron],orientation:t.dir==="rtl"?"left":"right"})),Ie===p-1&&d==="after"&&!t.hideNavigation&&ce.default.createElement(o.Nav,{"data-animated-nav":t.animate?"true":void 0,className:i[K.Nav],style:w?.[K.Nav],"aria-label":Mt(),onPreviousClick:ma,onNextClick:Ho,previousMonth:k,nextMonth:W}),ce.default.createElement(o.MonthGrid,{role:"grid","aria-multiselectable":c==="multiple"||c==="range","aria-label":At(ae.date,s.options,s)||void 0,className:i[K.MonthGrid],style:w?.[K.MonthGrid]},!t.hideWeekdays&&ce.default.createElement(o.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:i[K.Weekdays],style:w?.[K.Weekdays]},S&&ce.default.createElement(o.WeekNumberHeader,{"aria-label":Y(s.options),className:i[K.WeekNumberHeader],style:w?.[K.WeekNumberHeader],scope:"col"},B()),G.map(le=>ce.default.createElement(o.Weekday,{"aria-label":Kn(le,s.options,s),className:i[K.Weekday],key:String(le),style:w?.[K.Weekday],scope:"col"},P(le,s.options,s)))),ce.default.createElement(o.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:i[K.Weeks],style:w?.[K.Weeks]},ae.weeks.map(le=>ce.default.createElement(o.Week,{className:i[K.Week],key:le.weekNumber,style:w?.[K.Week],week:le},S&&ce.default.createElement(o.WeekNumber,{week:le,style:w?.[K.WeekNumber],"aria-label":na(le.weekNumber,{locale:l}),className:i[K.WeekNumber],scope:"row",role:"rowheader"},O(le.weekNumber,s)),le.days.map(Te=>{let{date:Kt}=Te,z=Ve(Te);if(z[Be.focused]=!z.hidden&&!!be?.isEqualTo(Te),z[ga.selected]=j?.(Kt)||z.selected,dr(te)){let{from:jn,to:rt}=te;z[ga.range_start]=!!(jn&&rt&&s.isSameDay(Kt,jn)),z[ga.range_end]=!!(jn&&rt&&s.isSameDay(Kt,rt)),z[ga.range_middle]=xa(te,Kt,!0,s)}let it=P3(z,w,t.modifiersStyles),Ot=T3(z,i,t.modifiersClassNames),ra=!Qe&&!z.hidden?Ee(Kt,z,s.options,s):void 0;return ce.default.createElement(o.Day,{key:`${Te.isoDate}_${Te.displayMonthId}`,day:Te,modifiers:z,className:Ot.join(" "),style:it,role:"gridcell","aria-selected":z.selected||void 0,"aria-label":ra,"data-day":Te.isoDate,"data-month":Te.outside?Te.dateMonthId:void 0,"data-selected":z.selected||void 0,"data-disabled":z.disabled||void 0,"data-hidden":z.hidden||void 0,"data-outside":Te.outside||void 0,"data-focused":z.focused||void 0,"data-today":z.today||void 0},!z.hidden&&Qe?ce.default.createElement(o.DayButton,{className:i[K.DayButton],style:w?.[K.DayButton],type:"button",day:Te,modifiers:z,disabled:!z.focused&&z.disabled||void 0,"aria-disabled":z.focused&&z.disabled||void 0,tabIndex:ye(Te)?0:-1,"aria-label":se(Kt,z,s.options,s),onClick:$s(Te,z),onBlur:Oc(Te,z),onFocus:Ch(Te,z),onKeyDown:Bi(Te,z),onMouseEnter:Xn(Te,z),onMouseLeave:Dc(Te,z)},T(Kt,s.options,s)):!z.hidden&&T(Te.date,s.options,s))})))))))),t.footer&&ce.default.createElement(o.Footer,{className:i[K.Footer],style:w?.[K.Footer],role:"status","aria-live":"polite"},t.footer)))}var G6=C(I());var Je=C(I(),1);var Nee=!!(typeof window<"u"&&window.document&&window.document.createElement);function Z(e,t,{checkForDefaultPrevented:a=!0}={}){return function(n){if(e?.(n),a===!1||!n.defaultPrevented)return t?.(n)}}var uS=C(I(),1);function iS(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ls(...e){return t=>{let a=!1,o=e.map(n=>{let r=iS(n,t);return!a&&typeof r=="function"&&(a=!0),r});if(a)return()=>{for(let n=0;n<o.length;n++){let r=o[n];typeof r=="function"?r():iS(e[n],null)}}}}function Me(...e){return uS.useCallback(ls(...e),e)}var ja=C(I(),1),Sg=C(E(),1);function dS(e,t){let a=ja.createContext(t),o=r=>{let{children:s,...l}=r,i=ja.useMemo(()=>l,Object.values(l));return(0,Sg.jsx)(a.Provider,{value:i,children:s})};o.displayName=e+"Provider";function n(r){let s=ja.useContext(a);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}return[o,n]}function Xt(e,t=[]){let a=[];function o(r,s){let l=ja.createContext(s),i=a.length;a=[...a,s];let u=d=>{let{scope:p,children:f,...g}=d,x=p?.[e]?.[i]||l,b=ja.useMemo(()=>g,Object.values(g));return(0,Sg.jsx)(x.Provider,{value:b,children:f})};u.displayName=r+"Provider";function c(d,p){let f=p?.[e]?.[i]||l,g=ja.useContext(f);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${r}\``)}return[u,c]}let n=()=>{let r=a.map(s=>ja.createContext(s));return function(l){let i=l?.[e]||r;return ja.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])}};return n.scopeName=e,[o,m_(n,...t)]}function m_(...e){let t=e[0];if(e.length===1)return t;let a=()=>{let o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(r){let s=o.reduce((l,{useScope:i,scopeName:u})=>{let d=i(r)[`__scope${u}`];return{...l,...d}},{});return ja.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return a.scopeName=t.scopeName,a}var at=C(I(),1);var xS=C(I(),1),yS=C(vl(),1);var St=C(I(),1);var Cl=C(E(),1);function Lo(e){let t=y_(e),a=St.forwardRef((o,n)=>{let{children:r,...s}=o,l=St.Children.toArray(r),i=l.find(b_);if(i){let u=i.props.children,c=l.map(d=>d===i?St.Children.count(u)>1?St.Children.only(null):St.isValidElement(u)?u.props.children:null:d);return(0,Cl.jsx)(t,{...s,ref:n,children:St.isValidElement(u)?St.cloneElement(u,void 0,c):null})}return(0,Cl.jsx)(t,{...s,ref:n,children:r})});return a.displayName=`${e}.Slot`,a}function y_(e){let t=St.forwardRef((a,o)=>{let{children:n,...r}=a;if(St.isValidElement(n)){let s=C_(n),l=v_(r,n.props);return n.type!==St.Fragment&&(l.ref=o?ls(o,s):s),St.cloneElement(n,l)}return St.Children.count(n)>1?St.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hS=Symbol("radix.slottable");function gS(e){let t=({children:a})=>(0,Cl.jsx)(Cl.Fragment,{children:a});return t.displayName=`${e}.Slottable`,t.__radixId=hS,t}function b_(e){return St.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hS}function v_(e,t){let a={...t};for(let o in t){let n=e[o],r=t[o];/^on[A-Z]/.test(o)?n&&r?a[o]=(...l)=>{let i=r(...l);return n(...l),i}:n&&(a[o]=n):o==="style"?a[o]={...n,...r}:o==="className"&&(a[o]=[n,r].filter(Boolean).join(" "))}return{...e,...a}}function C_(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var bS=C(E(),1),S_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Se=S_.reduce((e,t)=>{let a=Lo(`Primitive.${t}`),o=xS.forwardRef((n,r)=>{let{asChild:s,...l}=n,i=s?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,bS.jsx)(i,{...l,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ef(e,t){e&&yS.flushSync(()=>e.dispatchEvent(t))}var Sl=C(I(),1);function Zt(e){let t=Sl.useRef(e);return Sl.useEffect(()=>{t.current=e}),Sl.useMemo(()=>(...a)=>t.current?.(...a),[])}var vS=C(I(),1);function CS(e,t=globalThis?.document){let a=Zt(e);vS.useEffect(()=>{let o=n=>{n.key==="Escape"&&a(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[a,t])}var Lg=C(E(),1),w_="DismissableLayer",wg="dismissableLayer.update",L_="dismissableLayer.pointerDownOutside",R_="dismissableLayer.focusOutside",SS,LS=at.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yn=at.forwardRef((e,t)=>{let{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:r,onInteractOutside:s,onDismiss:l,...i}=e,u=at.useContext(LS),[c,d]=at.useState(null),p=c?.ownerDocument??globalThis?.document,[,f]=at.useState({}),g=Me(t,L=>d(L)),x=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=x.indexOf(b),h=c?x.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,v=h>=m,S=I_(L=>{let T=L.target,A=[...u.branches].some(O=>O.contains(T));!v||A||(n?.(L),s?.(L),L.defaultPrevented||l?.())},p),w=A_(L=>{let T=L.target;[...u.branches].some(O=>O.contains(T))||(r?.(L),s?.(L),L.defaultPrevented||l?.())},p);return CS(L=>{h===u.layers.size-1&&(o?.(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},p),at.useEffect(()=>{if(c)return a&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(SS=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),wS(),()=>{a&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=SS)}},[c,p,a,u]),at.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),wS())},[c,u]),at.useEffect(()=>{let L=()=>f({});return document.addEventListener(wg,L),()=>document.removeEventListener(wg,L)},[]),(0,Lg.jsx)(Se.div,{...i,ref:g,style:{pointerEvents:y?v?"auto":"none":void 0,...e.style},onFocusCapture:Z(e.onFocusCapture,w.onFocusCapture),onBlurCapture:Z(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:Z(e.onPointerDownCapture,S.onPointerDownCapture)})});yn.displayName=w_;var T_="DismissableLayerBranch",E_=at.forwardRef((e,t)=>{let a=at.useContext(LS),o=at.useRef(null),n=Me(t,o);return at.useEffect(()=>{let r=o.current;if(r)return a.branches.add(r),()=>{a.branches.delete(r)}},[a.branches]),(0,Lg.jsx)(Se.div,{...e,ref:n})});E_.displayName=T_;function I_(e,t=globalThis?.document){let a=Zt(e),o=at.useRef(!1),n=at.useRef(()=>{});return at.useEffect(()=>{let r=l=>{if(l.target&&!o.current){let u=function(){RS(L_,a,c,{discrete:!0})};var i=u;let c={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);o.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",r),t.removeEventListener("click",n.current)}},[t,a]),{onPointerDownCapture:()=>o.current=!0}}function A_(e,t=globalThis?.document){let a=Zt(e),o=at.useRef(!1);return at.useEffect(()=>{let n=r=>{r.target&&!o.current&&RS(R_,a,{originalEvent:r},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,a]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function wS(){let e=new CustomEvent(wg);document.dispatchEvent(e)}function RS(e,t,a,{discrete:o}){let n=a.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});t&&n.addEventListener(e,t,{once:!0}),o?Ef(n,r):n.dispatchEvent(r)}var ES=C(I(),1),Rg=0;function wl(){ES.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??TS()),document.body.insertAdjacentElement("beforeend",e[1]??TS()),Rg++,()=>{Rg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Rg--}},[])}function TS(){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}var $a=C(I(),1);var DS=C(E(),1),Tg="focusScope.autoFocusOnMount",Eg="focusScope.autoFocusOnUnmount",IS={bubbles:!1,cancelable:!0},M_="FocusScope",is=$a.forwardRef((e,t)=>{let{loop:a=!1,trapped:o=!1,onMountAutoFocus:n,onUnmountAutoFocus:r,...s}=e,[l,i]=$a.useState(null),u=Zt(n),c=Zt(r),d=$a.useRef(null),p=Me(t,x=>i(x)),f=$a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;$a.useEffect(()=>{if(o){let h=function(w){if(f.paused||!l)return;let L=w.target;l.contains(L)?d.current=L:pr(d.current,{select:!0})},y=function(w){if(f.paused||!l)return;let L=w.relatedTarget;L!==null&&(l.contains(L)||pr(d.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(let T of w)T.removedNodes.length>0&&pr(l)};var x=h,b=y,m=v;document.addEventListener("focusin",h),document.addEventListener("focusout",y);let S=new MutationObserver(v);return l&&S.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",y),S.disconnect()}}},[o,l,f.paused]),$a.useEffect(()=>{if(l){MS.add(f);let x=document.activeElement;if(!l.contains(x)){let m=new CustomEvent(Tg,IS);l.addEventListener(Tg,u),l.dispatchEvent(m),m.defaultPrevented||(O_(N_(_S(l)),{select:!0}),document.activeElement===x&&pr(l))}return()=>{l.removeEventListener(Tg,u),setTimeout(()=>{let m=new CustomEvent(Eg,IS);l.addEventListener(Eg,c),l.dispatchEvent(m),m.defaultPrevented||pr(x??document.body,{select:!0}),l.removeEventListener(Eg,c),MS.remove(f)},0)}}},[l,u,c,f]);let g=$a.useCallback(x=>{if(!a&&!o||f.paused)return;let b=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,m=document.activeElement;if(b&&m){let h=x.currentTarget,[y,v]=D_(h);y&&v?!x.shiftKey&&m===v?(x.preventDefault(),a&&pr(y,{select:!0})):x.shiftKey&&m===y&&(x.preventDefault(),a&&pr(v,{select:!0})):m===h&&x.preventDefault()}},[a,o,f.paused]);return(0,DS.jsx)(Se.div,{tabIndex:-1,...s,ref:p,onKeyDown:g})});is.displayName=M_;function O_(e,{select:t=!1}={}){let a=document.activeElement;for(let o of e)if(pr(o,{select:t}),document.activeElement!==a)return}function D_(e){let t=_S(e),a=AS(t,e),o=AS(t.reverse(),e);return[a,o]}function _S(e){let t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{let n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)t.push(a.currentNode);return t}function AS(e,t){for(let a of e)if(!__(a,{upTo:t}))return a}function __(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}function k_(e){return e instanceof HTMLInputElement&&"select"in e}function pr(e,{select:t=!1}={}){if(e&&e.focus){let a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&k_(e)&&t&&e.select()}}var MS=P_();function P_(){let e=[];return{add(t){let a=e[0];t!==a&&a?.pause(),e=OS(e,t),e.unshift(t)},remove(t){e=OS(e,t),e[0]?.resume()}}}function OS(e,t){let a=[...e],o=a.indexOf(t);return o!==-1&&a.splice(o,1),a}function N_(e){return e.filter(t=>t.tagName!=="A")}var Ig=C(I(),1);var kS=C(I(),1),ya=globalThis?.document?kS.useLayoutEffect:()=>{};var B_=Ig[" useId ".trim().toString()]||(()=>{}),H_=0;function jt(e){let[t,a]=Ig.useState(B_());return ya(()=>{e||a(o=>o??String(H_++))},[e]),e||(t?`radix-${t}`:"")}var va=C(I(),1);var BS=["top","right","bottom","left"];var Yo=Math.min,ca=Math.max,Zu=Math.round,ju=Math.floor,Ro=e=>({x:e,y:e}),F_={left:"right",right:"left",bottom:"top",top:"bottom"},z_={start:"end",end:"start"};function Af(e,t,a){return ca(e,Yo(t,a))}function Ko(e,t){return typeof e=="function"?e(t):e}function Xo(e){return e.split("-")[0]}function us(e){return e.split("-")[1]}function Mf(e){return e==="x"?"y":"x"}function Of(e){return e==="y"?"height":"width"}var G_=new Set(["top","bottom"]);function To(e){return G_.has(Xo(e))?"y":"x"}function Df(e){return Mf(To(e))}function HS(e,t,a){a===void 0&&(a=!1);let o=us(e),n=Df(e),r=Of(n),s=n==="x"?o===(a?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(s=Xu(s)),[s,Xu(s)]}function FS(e){let t=Xu(e);return[If(e),t,If(t)]}function If(e){return e.replace(/start|end/g,t=>z_[t])}var PS=["left","right"],NS=["right","left"],V_=["top","bottom"],U_=["bottom","top"];function q_(e,t,a){switch(e){case"top":case"bottom":return a?t?NS:PS:t?PS:NS;case"left":case"right":return t?V_:U_;default:return[]}}function zS(e,t,a,o){let n=us(e),r=q_(Xo(e),a==="start",o);return n&&(r=r.map(s=>s+"-"+n),t&&(r=r.concat(r.map(If)))),r}function Xu(e){return e.replace(/left|right|bottom|top/g,t=>F_[t])}function W_(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ag(e){return typeof e!="number"?W_(e):{top:e,right:e,bottom:e,left:e}}function ds(e){let{x:t,y:a,width:o,height:n}=e;return{width:o,height:n,top:a,left:t,right:t+o,bottom:a+n,x:t,y:a}}function GS(e,t,a){let{reference:o,floating:n}=e,r=To(t),s=Df(t),l=Of(s),i=Xo(t),u=r==="y",c=o.x+o.width/2-n.width/2,d=o.y+o.height/2-n.height/2,p=o[l]/2-n[l]/2,f;switch(i){case"top":f={x:c,y:o.y-n.height};break;case"bottom":f={x:c,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-n.width,y:d};break;default:f={x:o.x,y:o.y}}switch(us(t)){case"start":f[s]-=p*(a&&u?-1:1);break;case"end":f[s]+=p*(a&&u?-1:1);break}return f}var qS=async(e,t,a)=>{let{placement:o="bottom",strategy:n="absolute",middleware:r=[],platform:s}=a,l=r.filter(Boolean),i=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:d}=GS(u,o,i),p=o,f={},g=0;for(let x=0;x<l.length;x++){let{name:b,fn:m}=l[x],{x:h,y,data:v,reset:S}=await m({x:c,y:d,initialPlacement:o,placement:p,strategy:n,middlewareData:f,rects:u,platform:s,elements:{reference:e,floating:t}});c=h??c,d=y??d,f={...f,[b]:{...f[b],...v}},S&&g<=50&&(g++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(u=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:n}):S.rects),{x:c,y:d}=GS(u,p,i)),x=-1)}return{x:c,y:d,placement:p,strategy:n,middlewareData:f}};async function Ll(e,t){var a;t===void 0&&(t={});let{x:o,y:n,platform:r,rects:s,elements:l,strategy:i}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Ko(t,e),g=Ag(f),b=l[p?d==="floating"?"reference":"floating":d],m=ds(await r.getClippingRect({element:(a=await(r.isElement==null?void 0:r.isElement(b)))==null||a?b:b.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:i})),h=d==="floating"?{x:o,y:n,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},S=ds(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:h,offsetParent:y,strategy:i}):h);return{top:(m.top-S.top+g.top)/v.y,bottom:(S.bottom-m.bottom+g.bottom)/v.y,left:(m.left-S.left+g.left)/v.x,right:(S.right-m.right+g.right)/v.x}}var WS=e=>({name:"arrow",options:e,async fn(t){let{x:a,y:o,placement:n,rects:r,platform:s,elements:l,middlewareData:i}=t,{element:u,padding:c=0}=Ko(e,t)||{};if(u==null)return{};let d=Ag(c),p={x:a,y:o},f=Df(n),g=Of(f),x=await s.getDimensions(u),b=f==="y",m=b?"top":"left",h=b?"bottom":"right",y=b?"clientHeight":"clientWidth",v=r.reference[g]+r.reference[f]-p[f]-r.floating[g],S=p[f]-r.reference[f],w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u)),L=w?w[y]:0;(!L||!await(s.isElement==null?void 0:s.isElement(w)))&&(L=l.floating[y]||r.floating[g]);let T=v/2-S/2,A=L/2-x[g]/2-1,O=Yo(d[m],A),B=Yo(d[h],A),P=O,U=L-x[g]-B,V=L/2-x[g]/2+T,ee=Af(P,V,U),F=!i.arrow&&us(n)!=null&&V!==ee&&r.reference[g]/2-(V<P?O:B)-x[g]/2<0,q=F?V<P?V-P:V-U:0;return{[f]:p[f]+q,data:{[f]:ee,centerOffset:V-ee-q,...F&&{alignmentOffset:q}},reset:F}}});var YS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,o;let{placement:n,middlewareData:r,rects:s,initialPlacement:l,platform:i,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:x=!0,...b}=Ko(e,t);if((a=r.arrow)!=null&&a.alignmentOffset)return{};let m=Xo(n),h=To(l),y=Xo(l)===l,v=await(i.isRTL==null?void 0:i.isRTL(u.floating)),S=p||(y||!x?[Xu(l)]:FS(l)),w=g!=="none";!p&&w&&S.push(...zS(l,x,g,v));let L=[l,...S],T=await Ll(t,b),A=[],O=((o=r.flip)==null?void 0:o.overflows)||[];if(c&&A.push(T[m]),d){let V=HS(n,s,v);A.push(T[V[0]],T[V[1]])}if(O=[...O,{placement:n,overflows:A}],!A.every(V=>V<=0)){var B,P;let V=(((B=r.flip)==null?void 0:B.index)||0)+1,ee=L[V];if(ee&&(!(d==="alignment"?h!==To(ee):!1)||O.every(N=>To(N.placement)===h?N.overflows[0]>0:!0)))return{data:{index:V,overflows:O},reset:{placement:ee}};let F=(P=O.filter(q=>q.overflows[0]<=0).sort((q,N)=>q.overflows[1]-N.overflows[1])[0])==null?void 0:P.placement;if(!F)switch(f){case"bestFit":{var U;let q=(U=O.filter(N=>{if(w){let k=To(N.placement);return k===h||k==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(k=>k>0).reduce((k,W)=>k+W,0)]).sort((N,k)=>N[1]-k[1])[0])==null?void 0:U[0];q&&(F=q);break}case"initialPlacement":F=l;break}if(n!==F)return{reset:{placement:F}}}return{}}}};function VS(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function US(e){return BS.some(t=>e[t]>=0)}var KS=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:a}=t,{strategy:o="referenceHidden",...n}=Ko(e,t);switch(o){case"referenceHidden":{let r=await Ll(t,{...n,elementContext:"reference"}),s=VS(r,a.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:US(s)}}}case"escaped":{let r=await Ll(t,{...n,altBoundary:!0}),s=VS(r,a.floating);return{data:{escapedOffsets:s,escaped:US(s)}}}default:return{}}}}};var XS=new Set(["left","top"]);async function Y_(e,t){let{placement:a,platform:o,elements:n}=e,r=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=Xo(a),l=us(a),i=To(a)==="y",u=XS.has(s)?-1:1,c=r&&i?-1:1,d=Ko(t,e),{mainAxis:p,crossAxis:f,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof g=="number"&&(f=l==="end"?g*-1:g),i?{x:f*c,y:p*u}:{x:p*u,y:f*c}}var ZS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var a,o;let{x:n,y:r,placement:s,middlewareData:l}=t,i=await Y_(t,e);return s===((a=l.offset)==null?void 0:a.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+i.x,y:r+i.y,data:{...i,placement:s}}}}},jS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:a,y:o,placement:n}=t,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:b=>{let{x:m,y:h}=b;return{x:m,y:h}}},...i}=Ko(e,t),u={x:a,y:o},c=await Ll(t,i),d=To(Xo(n)),p=Mf(d),f=u[p],g=u[d];if(r){let b=p==="y"?"top":"left",m=p==="y"?"bottom":"right",h=f+c[b],y=f-c[m];f=Af(h,f,y)}if(s){let b=d==="y"?"top":"left",m=d==="y"?"bottom":"right",h=g+c[b],y=g-c[m];g=Af(h,g,y)}let x=l.fn({...t,[p]:f,[d]:g});return{...x,data:{x:x.x-a,y:x.y-o,enabled:{[p]:r,[d]:s}}}}}},$S=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:a,y:o,placement:n,rects:r,middlewareData:s}=t,{offset:l=0,mainAxis:i=!0,crossAxis:u=!0}=Ko(e,t),c={x:a,y:o},d=To(n),p=Mf(d),f=c[p],g=c[d],x=Ko(l,t),b=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(i){let y=p==="y"?"height":"width",v=r.reference[p]-r.floating[y]+b.mainAxis,S=r.reference[p]+r.reference[y]-b.mainAxis;f<v?f=v:f>S&&(f=S)}if(u){var m,h;let y=p==="y"?"width":"height",v=XS.has(Xo(n)),S=r.reference[d]-r.floating[y]+(v&&((m=s.offset)==null?void 0:m[d])||0)+(v?0:b.crossAxis),w=r.reference[d]+r.reference[y]+(v?0:((h=s.offset)==null?void 0:h[d])||0)-(v?b.crossAxis:0);g<S?g=S:g>w&&(g=w)}return{[p]:f,[d]:g}}}},QS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a,o;let{placement:n,rects:r,platform:s,elements:l}=t,{apply:i=()=>{},...u}=Ko(e,t),c=await Ll(t,u),d=Xo(n),p=us(n),f=To(n)==="y",{width:g,height:x}=r.floating,b,m;d==="top"||d==="bottom"?(b=d,m=p===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(m=d,b=p==="end"?"top":"bottom");let h=x-c.top-c.bottom,y=g-c.left-c.right,v=Yo(x-c[b],h),S=Yo(g-c[m],y),w=!t.middlewareData.shift,L=v,T=S;if((a=t.middlewareData.shift)!=null&&a.enabled.x&&(T=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(L=h),w&&!p){let O=ca(c.left,0),B=ca(c.right,0),P=ca(c.top,0),U=ca(c.bottom,0);f?T=g-2*(O!==0||B!==0?O+B:ca(c.left,c.right)):L=x-2*(P!==0||U!==0?P+U:ca(c.top,c.bottom))}await i({...t,availableWidth:T,availableHeight:L});let A=await s.getDimensions(l.floating);return g!==A.width||x!==A.height?{reset:{rects:!0}}:{}}}};function _f(){return typeof window<"u"}function fs(e){return ew(e)?(e.nodeName||"").toLowerCase():"#document"}function ba(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Eo(e){var t;return(t=(ew(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ew(e){return _f()?e instanceof Node||e instanceof ba(e).Node:!1}function Qa(e){return _f()?e instanceof Element||e instanceof ba(e).Element:!1}function Io(e){return _f()?e instanceof HTMLElement||e instanceof ba(e).HTMLElement:!1}function JS(e){return!_f()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ba(e).ShadowRoot}var K_=new Set(["inline","contents"]);function Rl(e){let{overflow:t,overflowX:a,overflowY:o,display:n}=Ja(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+a)&&!K_.has(n)}var X_=new Set(["table","td","th"]);function tw(e){return X_.has(fs(e))}var Z_=[":popover-open",":modal"];function $u(e){return Z_.some(t=>{try{return e.matches(t)}catch{return!1}})}var j_=["transform","translate","scale","rotate","perspective"],$_=["transform","translate","scale","rotate","perspective","filter"],Q_=["paint","layout","strict","content"];function kf(e){let t=Pf(),a=Qa(e)?Ja(e):e;return j_.some(o=>a[o]?a[o]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!t&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!t&&(a.filter?a.filter!=="none":!1)||$_.some(o=>(a.willChange||"").includes(o))||Q_.some(o=>(a.contain||"").includes(o))}function aw(e){let t=bn(e);for(;Io(t)&&!ps(t);){if(kf(t))return t;if($u(t))return null;t=bn(t)}return null}function Pf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var J_=new Set(["html","body","#document"]);function ps(e){return J_.has(fs(e))}function Ja(e){return ba(e).getComputedStyle(e)}function Qu(e){return Qa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bn(e){if(fs(e)==="html")return e;let t=e.assignedSlot||e.parentNode||JS(e)&&e.host||Eo(e);return JS(t)?t.host:t}function ow(e){let t=bn(e);return ps(t)?e.ownerDocument?e.ownerDocument.body:e.body:Io(t)&&Rl(t)?t:ow(t)}function cs(e,t,a){var o;t===void 0&&(t=[]),a===void 0&&(a=!0);let n=ow(e),r=n===((o=e.ownerDocument)==null?void 0:o.body),s=ba(n);if(r){let l=Nf(s);return t.concat(s,s.visualViewport||[],Rl(n)?n:[],l&&a?cs(l):[])}return t.concat(n,cs(n,[],a))}function Nf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lw(e){let t=Ja(e),a=parseFloat(t.width)||0,o=parseFloat(t.height)||0,n=Io(e),r=n?e.offsetWidth:a,s=n?e.offsetHeight:o,l=Zu(a)!==r||Zu(o)!==s;return l&&(a=r,o=s),{width:a,height:o,$:l}}function Og(e){return Qa(e)?e:e.contextElement}function Tl(e){let t=Og(e);if(!Io(t))return Ro(1);let a=t.getBoundingClientRect(),{width:o,height:n,$:r}=lw(t),s=(r?Zu(a.width):a.width)/o,l=(r?Zu(a.height):a.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var ek=Ro(0);function iw(e){let t=ba(e);return!Pf()||!t.visualViewport?ek:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tk(e,t,a){return t===void 0&&(t=!1),!a||t&&a!==ba(e)?!1:t}function ms(e,t,a,o){t===void 0&&(t=!1),a===void 0&&(a=!1);let n=e.getBoundingClientRect(),r=Og(e),s=Ro(1);t&&(o?Qa(o)&&(s=Tl(o)):s=Tl(e));let l=tk(r,a,o)?iw(r):Ro(0),i=(n.left+l.x)/s.x,u=(n.top+l.y)/s.y,c=n.width/s.x,d=n.height/s.y;if(r){let p=ba(r),f=o&&Qa(o)?ba(o):o,g=p,x=Nf(g);for(;x&&o&&f!==g;){let b=Tl(x),m=x.getBoundingClientRect(),h=Ja(x),y=m.left+(x.clientLeft+parseFloat(h.paddingLeft))*b.x,v=m.top+(x.clientTop+parseFloat(h.paddingTop))*b.y;i*=b.x,u*=b.y,c*=b.x,d*=b.y,i+=y,u+=v,g=ba(x),x=Nf(g)}}return ds({width:c,height:d,x:i,y:u})}function Bf(e,t){let a=Qu(e).scrollLeft;return t?t.left+a:ms(Eo(e)).left+a}function uw(e,t){let a=e.getBoundingClientRect(),o=a.left+t.scrollLeft-Bf(e,a),n=a.top+t.scrollTop;return{x:o,y:n}}function ak(e){let{elements:t,rect:a,offsetParent:o,strategy:n}=e,r=n==="fixed",s=Eo(o),l=t?$u(t.floating):!1;if(o===s||l&&r)return a;let i={scrollLeft:0,scrollTop:0},u=Ro(1),c=Ro(0),d=Io(o);if((d||!d&&!r)&&((fs(o)!=="body"||Rl(s))&&(i=Qu(o)),Io(o))){let f=ms(o);u=Tl(o),c.x=f.x+o.clientLeft,c.y=f.y+o.clientTop}let p=s&&!d&&!r?uw(s,i):Ro(0);return{width:a.width*u.x,height:a.height*u.y,x:a.x*u.x-i.scrollLeft*u.x+c.x+p.x,y:a.y*u.y-i.scrollTop*u.y+c.y+p.y}}function ok(e){return Array.from(e.getClientRects())}function nk(e){let t=Eo(e),a=Qu(e),o=e.ownerDocument.body,n=ca(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=ca(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-a.scrollLeft+Bf(e),l=-a.scrollTop;return Ja(o).direction==="rtl"&&(s+=ca(t.clientWidth,o.clientWidth)-n),{width:n,height:r,x:s,y:l}}var nw=25;function rk(e,t){let a=ba(e),o=Eo(e),n=a.visualViewport,r=o.clientWidth,s=o.clientHeight,l=0,i=0;if(n){r=n.width,s=n.height;let c=Pf();(!c||c&&t==="fixed")&&(l=n.offsetLeft,i=n.offsetTop)}let u=Bf(o);if(u<=0){let c=o.ownerDocument,d=c.body,p=getComputedStyle(d),f=c.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,g=Math.abs(o.clientWidth-d.clientWidth-f);g<=nw&&(r-=g)}else u<=nw&&(r+=u);return{width:r,height:s,x:l,y:i}}var sk=new Set(["absolute","fixed"]);function lk(e,t){let a=ms(e,!0,t==="fixed"),o=a.top+e.clientTop,n=a.left+e.clientLeft,r=Io(e)?Tl(e):Ro(1),s=e.clientWidth*r.x,l=e.clientHeight*r.y,i=n*r.x,u=o*r.y;return{width:s,height:l,x:i,y:u}}function rw(e,t,a){let o;if(t==="viewport")o=rk(e,a);else if(t==="document")o=nk(Eo(e));else if(Qa(t))o=lk(t,a);else{let n=iw(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ds(o)}function dw(e,t){let a=bn(e);return a===t||!Qa(a)||ps(a)?!1:Ja(a).position==="fixed"||dw(a,t)}function ik(e,t){let a=t.get(e);if(a)return a;let o=cs(e,[],!1).filter(l=>Qa(l)&&fs(l)!=="body"),n=null,r=Ja(e).position==="fixed",s=r?bn(e):e;for(;Qa(s)&&!ps(s);){let l=Ja(s),i=kf(s);!i&&l.position==="fixed"&&(n=null),(r?!i&&!n:!i&&l.position==="static"&&!!n&&sk.has(n.position)||Rl(s)&&!i&&dw(e,s))?o=o.filter(c=>c!==s):n=l,s=bn(s)}return t.set(e,o),o}function uk(e){let{element:t,boundary:a,rootBoundary:o,strategy:n}=e,s=[...a==="clippingAncestors"?$u(t)?[]:ik(t,this._c):[].concat(a),o],l=s[0],i=s.reduce((u,c)=>{let d=rw(t,c,n);return u.top=ca(d.top,u.top),u.right=Yo(d.right,u.right),u.bottom=Yo(d.bottom,u.bottom),u.left=ca(d.left,u.left),u},rw(t,l,n));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}}function dk(e){let{width:t,height:a}=lw(e);return{width:t,height:a}}function ck(e,t,a){let o=Io(t),n=Eo(t),r=a==="fixed",s=ms(e,!0,r,t),l={scrollLeft:0,scrollTop:0},i=Ro(0);function u(){i.x=Bf(n)}if(o||!o&&!r)if((fs(t)!=="body"||Rl(n))&&(l=Qu(t)),o){let f=ms(t,!0,r,t);i.x=f.x+t.clientLeft,i.y=f.y+t.clientTop}else n&&u();r&&!o&&n&&u();let c=n&&!o&&!r?uw(n,l):Ro(0),d=s.left+l.scrollLeft-i.x-c.x,p=s.top+l.scrollTop-i.y-c.y;return{x:d,y:p,width:s.width,height:s.height}}function Mg(e){return Ja(e).position==="static"}function sw(e,t){if(!Io(e)||Ja(e).position==="fixed")return null;if(t)return t(e);let a=e.offsetParent;return Eo(e)===a&&(a=a.ownerDocument.body),a}function cw(e,t){let a=ba(e);if($u(e))return a;if(!Io(e)){let n=bn(e);for(;n&&!ps(n);){if(Qa(n)&&!Mg(n))return n;n=bn(n)}return a}let o=sw(e,t);for(;o&&tw(o)&&Mg(o);)o=sw(o,t);return o&&ps(o)&&Mg(o)&&!kf(o)?a:o||aw(e)||a}var fk=async function(e){let t=this.getOffsetParent||cw,a=this.getDimensions,o=await a(e.floating);return{reference:ck(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function pk(e){return Ja(e).direction==="rtl"}var fw={convertOffsetParentRelativeRectToViewportRelativeRect:ak,getDocumentElement:Eo,getClippingRect:uk,getOffsetParent:cw,getElementRects:fk,getClientRects:ok,getDimensions:dk,getScale:Tl,isElement:Qa,isRTL:pk};function pw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mk(e,t){let a=null,o,n=Eo(e);function r(){var l;clearTimeout(o),(l=a)==null||l.disconnect(),a=null}function s(l,i){l===void 0&&(l=!1),i===void 0&&(i=1),r();let u=e.getBoundingClientRect(),{left:c,top:d,width:p,height:f}=u;if(l||t(),!p||!f)return;let g=ju(d),x=ju(n.clientWidth-(c+p)),b=ju(n.clientHeight-(d+f)),m=ju(c),y={rootMargin:-g+"px "+-x+"px "+-b+"px "+-m+"px",threshold:ca(0,Yo(1,i))||1},v=!0;function S(w){let L=w[0].intersectionRatio;if(L!==i){if(!v)return s();L?s(!1,L):o=setTimeout(()=>{s(!1,1e-7)},1e3)}L===1&&!pw(u,e.getBoundingClientRect())&&s(),v=!1}try{a=new IntersectionObserver(S,{...y,root:n.ownerDocument})}catch{a=new IntersectionObserver(S,y)}a.observe(e)}return s(!0),r}function Dg(e,t,a,o){o===void 0&&(o={});let{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:i=!1}=o,u=Og(e),c=n||r?[...u?cs(u):[],...cs(t)]:[];c.forEach(m=>{n&&m.addEventListener("scroll",a,{passive:!0}),r&&m.addEventListener("resize",a)});let d=u&&l?mk(u,a):null,p=-1,f=null;s&&(f=new ResizeObserver(m=>{let[h]=m;h&&h.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(t)})),a()}),u&&!i&&f.observe(u),f.observe(t));let g,x=i?ms(e):null;i&&b();function b(){let m=ms(e);x&&!pw(x,m)&&a(),x=m,g=requestAnimationFrame(b)}return a(),()=>{var m;c.forEach(h=>{n&&h.removeEventListener("scroll",a),r&&h.removeEventListener("resize",a)}),d?.(),(m=f)==null||m.disconnect(),f=null,i&&cancelAnimationFrame(g)}}var mw=ZS;var hw=jS,gw=YS,xw=QS,yw=KS,_g=WS;var bw=$S,kg=(e,t,a)=>{let o=new Map,n={platform:fw,...a},r={...n.platform,_c:o};return qS(e,t,{...n,platform:r})};var ft=C(I(),1),Cw=C(I(),1),Sw=C(vl(),1),hk=typeof document<"u",gk=function(){},Hf=hk?Cw.useLayoutEffect:gk;function Ff(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 a,o,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==t.length)return!1;for(o=a;o--!==0;)if(!Ff(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),a=n.length,a!==Object.keys(t).length)return!1;for(o=a;o--!==0;)if(!{}.hasOwnProperty.call(t,n[o]))return!1;for(o=a;o--!==0;){let r=n[o];if(!(r==="_owner"&&e.$$typeof)&&!Ff(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}function ww(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vw(e,t){let a=ww(e);return Math.round(t*a)/a}function Pg(e){let t=ft.useRef(e);return Hf(()=>{t.current=e}),t}function Lw(e){e===void 0&&(e={});let{placement:t="bottom",strategy:a="absolute",middleware:o=[],platform:n,elements:{reference:r,floating:s}={},transform:l=!0,whileElementsMounted:i,open:u}=e,[c,d]=ft.useState({x:0,y:0,strategy:a,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=ft.useState(o);Ff(p,o)||f(o);let[g,x]=ft.useState(null),[b,m]=ft.useState(null),h=ft.useCallback(N=>{N!==w.current&&(w.current=N,x(N))},[]),y=ft.useCallback(N=>{N!==L.current&&(L.current=N,m(N))},[]),v=r||g,S=s||b,w=ft.useRef(null),L=ft.useRef(null),T=ft.useRef(c),A=i!=null,O=Pg(i),B=Pg(n),P=Pg(u),U=ft.useCallback(()=>{if(!w.current||!L.current)return;let N={placement:t,strategy:a,middleware:p};B.current&&(N.platform=B.current),kg(w.current,L.current,N).then(k=>{let W={...k,isPositioned:P.current!==!1};V.current&&!Ff(T.current,W)&&(T.current=W,Sw.flushSync(()=>{d(W)}))})},[p,t,a,B,P]);Hf(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,d(N=>({...N,isPositioned:!1})))},[u]);let V=ft.useRef(!1);Hf(()=>(V.current=!0,()=>{V.current=!1}),[]),Hf(()=>{if(v&&(w.current=v),S&&(L.current=S),v&&S){if(O.current)return O.current(v,S,U);U()}},[v,S,U,O,A]);let ee=ft.useMemo(()=>({reference:w,floating:L,setReference:h,setFloating:y}),[h,y]),F=ft.useMemo(()=>({reference:v,floating:S}),[v,S]),q=ft.useMemo(()=>{let N={position:a,left:0,top:0};if(!F.floating)return N;let k=vw(F.floating,c.x),W=vw(F.floating,c.y);return l?{...N,transform:"translate("+k+"px, "+W+"px)",...ww(F.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:k,top:W}},[a,l,F.floating,c.x,c.y]);return ft.useMemo(()=>({...c,update:U,refs:ee,elements:F,floatingStyles:q}),[c,U,ee,F,q])}var xk=e=>{function t(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){let{element:o,padding:n}=typeof e=="function"?e(a):e;return o&&t(o)?o.current!=null?_g({element:o.current,padding:n}).fn(a):{}:o?_g({element:o,padding:n}).fn(a):{}}}},Rw=(e,t)=>({...mw(e),options:[e,t]}),Tw=(e,t)=>({...hw(e),options:[e,t]}),Ew=(e,t)=>({...bw(e),options:[e,t]}),Iw=(e,t)=>({...gw(e),options:[e,t]}),Aw=(e,t)=>({...xw(e),options:[e,t]});var Mw=(e,t)=>({...yw(e),options:[e,t]});var Ow=(e,t)=>({...xk(e),options:[e,t]});var Dw=C(I(),1);var Ng=C(E(),1),yk="Arrow",_w=Dw.forwardRef((e,t)=>{let{children:a,width:o=10,height:n=5,...r}=e;return(0,Ng.jsx)(Se.svg,{...r,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:(0,Ng.jsx)("polygon",{points:"0,0 30,0 15,10"})})});_w.displayName=yk;var kw=_w;var Pw=C(I(),1);function Nw(e){let[t,a]=Pw.useState(void 0);return ya(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let o=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;let r=n[0],s,l;if("borderBoxSize"in r){let i=r.borderBoxSize,u=Array.isArray(i)?i[0]:i;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;a({width:s,height:l})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else a(void 0)},[e]),t}var mr=C(E(),1);var Bg="Popper",[Bw,vn]=Xt(Bg),[vk,Hw]=Bw(Bg),Fw=e=>{let{__scopePopper:t,children:a}=e,[o,n]=va.useState(null);return(0,mr.jsx)(vk,{scope:t,anchor:o,onAnchorChange:n,children:a})};Fw.displayName=Bg;var zw="PopperAnchor",Gw=va.forwardRef((e,t)=>{let{__scopePopper:a,virtualRef:o,...n}=e,r=Hw(zw,a),s=va.useRef(null),l=Me(t,s),i=va.useRef(null);return va.useEffect(()=>{let u=i.current;i.current=o?.current||s.current,u!==i.current&&r.onAnchorChange(i.current)}),o?null:(0,mr.jsx)(Se.div,{...n,ref:l})});Gw.displayName=zw;var Hg="PopperContent",[Ck,Sk]=Bw(Hg),Vw=va.forwardRef((e,t)=>{let{__scopePopper:a,side:o="bottom",sideOffset:n=0,align:r="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:i=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:f="optimized",onPlaced:g,...x}=e,b=Hw(Hg,a),[m,h]=va.useState(null),y=Me(t,be=>h(be)),[v,S]=va.useState(null),w=Nw(v),L=w?.width??0,T=w?.height??0,A=o+(r!=="center"?"-"+r:""),O=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},B=Array.isArray(u)?u:[u],P=B.length>0,U={padding:O,boundary:B.filter(Lk),altBoundary:P},{refs:V,floatingStyles:ee,placement:F,isPositioned:q,middlewareData:N}=Lw({strategy:"fixed",placement:A,whileElementsMounted:(...be)=>Dg(...be,{animationFrame:f==="always"}),elements:{reference:b.anchor},middleware:[Rw({mainAxis:n+T,alignmentAxis:s}),i&&Tw({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Ew():void 0,...U}),i&&Iw({...U}),Aw({...U,apply:({elements:be,rects:ye,availableWidth:vt,availableHeight:re})=>{let{width:se,height:Ee}=ye.reference,At=be.floating.style;At.setProperty("--radix-popper-available-width",`${vt}px`),At.setProperty("--radix-popper-available-height",`${re}px`),At.setProperty("--radix-popper-anchor-width",`${se}px`),At.setProperty("--radix-popper-anchor-height",`${Ee}px`)}}),v&&Ow({element:v,padding:l}),Rk({arrowWidth:L,arrowHeight:T}),p&&Mw({strategy:"referenceHidden",...U})]}),[k,W]=Ww(F),J=Zt(g);ya(()=>{q&&J?.()},[q,J]);let Ve=N.arrow?.x,j=N.arrow?.y,pe=N.arrow?.centerOffset!==0,[te,de]=va.useState();return ya(()=>{m&&de(window.getComputedStyle(m).zIndex)},[m]),(0,mr.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:q?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:te,"--radix-popper-transform-origin":[N.transformOrigin?.x,N.transformOrigin?.y].join(" "),...N.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,mr.jsx)(Ck,{scope:a,placedSide:k,onArrowChange:S,arrowX:Ve,arrowY:j,shouldHideArrow:pe,children:(0,mr.jsx)(Se.div,{"data-side":k,"data-align":W,...x,ref:y,style:{...x.style,animation:q?void 0:"none"}})})})});Vw.displayName=Hg;var Uw="PopperArrow",wk={top:"bottom",right:"left",bottom:"top",left:"right"},qw=va.forwardRef(function(t,a){let{__scopePopper:o,...n}=t,r=Sk(Uw,o),s=wk[r.placedSide];return(0,mr.jsx)("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:(0,mr.jsx)(kw,{...n,ref:a,style:{...n.style,display:"block"}})})});qw.displayName=Uw;function Lk(e){return e!==null}var Rk=e=>({name:"transformOrigin",options:e,fn(t){let{placement:a,rects:o,middlewareData:n}=t,s=n.arrow?.centerOffset!==0,l=s?0:e.arrowWidth,i=s?0:e.arrowHeight,[u,c]=Ww(a),d={start:"0%",center:"50%",end:"100%"}[c],p=(n.arrow?.x??0)+l/2,f=(n.arrow?.y??0)+i/2,g="",x="";return u==="bottom"?(g=s?d:`${p}px`,x=`${-i}px`):u==="top"?(g=s?d:`${p}px`,x=`${o.floating.height+i}px`):u==="right"?(g=`${-i}px`,x=s?d:`${f}px`):u==="left"&&(g=`${o.floating.width+i}px`,x=s?d:`${f}px`),{data:{x:g,y:x}}}});function Ww(e){let[t,a="center"]=e.split("-");return[t,a]}var hs=Fw,gs=Gw,El=Vw,Il=qw;var zf=C(I(),1),Yw=C(vl(),1);var Kw=C(E(),1),Tk="Portal",Cn=zf.forwardRef((e,t)=>{let{container:a,...o}=e,[n,r]=zf.useState(!1);ya(()=>r(!0),[]);let s=a||n&&globalThis?.document?.body;return s?Yw.default.createPortal((0,Kw.jsx)(Se.div,{...o,ref:t}),s):null});Cn.displayName=Tk;var Ca=C(I(),1);var Xw=C(I(),1);function Ek(e,t){return Xw.useReducer((a,o)=>t[a][o]??a,e)}var $t=e=>{let{present:t,children:a}=e,o=Ik(t),n=typeof a=="function"?a({present:o.isPresent}):Ca.Children.only(a),r=Me(o.ref,Ak(n));return typeof a=="function"||o.isPresent?Ca.cloneElement(n,{ref:r}):null};$t.displayName="Presence";function Ik(e){let[t,a]=Ca.useState(),o=Ca.useRef(null),n=Ca.useRef(e),r=Ca.useRef("none"),s=e?"mounted":"unmounted",[l,i]=Ek(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Ca.useEffect(()=>{let u=Gf(o.current);r.current=l==="mounted"?u:"none"},[l]),ya(()=>{let u=o.current,c=n.current;if(c!==e){let p=r.current,f=Gf(u);e?i("MOUNT"):f==="none"||u?.display==="none"?i("UNMOUNT"):i(c&&p!==f?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,i]),ya(()=>{if(t){let u,c=t.ownerDocument.defaultView??window,d=f=>{let x=Gf(o.current).includes(CSS.escape(f.animationName));if(f.target===t&&x&&(i("ANIMATION_END"),!n.current)){let b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},p=f=>{f.target===t&&(r.current=Gf(o.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else i("ANIMATION_END")},[t,i]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:Ca.useCallback(u=>{o.current=u?getComputedStyle(u):null,a(u)},[])}}function Gf(e){return e?.animationName||"none"}function Ak(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var eo=C(I(),1);var Vf=C(I(),1);var Mk=eo[" useInsertionEffect ".trim().toString()]||ya;function Ao({prop:e,defaultProp:t,onChange:a=()=>{},caller:o}){let[n,r,s]=Ok({defaultProp:t,onChange:a}),l=e!==void 0,i=l?e:n;{let c=eo.useRef(e!==void 0);eo.useEffect(()=>{let d=c.current;d!==l&&console.warn(`${o} is changing from ${d?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=l},[l,o])}let u=eo.useCallback(c=>{if(l){let d=Dk(c)?c(e):c;d!==e&&s.current?.(d)}else r(c)},[l,e,r,s]);return[i,u]}function Ok({defaultProp:e,onChange:t}){let[a,o]=eo.useState(e),n=eo.useRef(a),r=eo.useRef(t);return Mk(()=>{r.current=t},[t]),eo.useEffect(()=>{n.current!==a&&(r.current?.(a),n.current=a)},[a,n]),[a,o,r]}function Dk(e){return typeof e=="function"}var qte=Symbol("RADIX:SYNC_STATE");var _k=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Al=new WeakMap,Uf=new WeakMap,qf={},zg=0,Zw=function(e){return e&&(e.host||Zw(e.parentNode))},kk=function(e,t){return t.map(function(a){if(e.contains(a))return a;var o=Zw(a);return o&&e.contains(o)?o:(console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null)}).filter(function(a){return!!a})},Pk=function(e,t,a,o){var n=kk(t,Array.isArray(e)?e:[e]);qf[a]||(qf[a]=new WeakMap);var r=qf[a],s=[],l=new Set,i=new Set(n),u=function(d){!d||l.has(d)||(l.add(d),u(d.parentNode))};n.forEach(u);var c=function(d){!d||i.has(d)||Array.prototype.forEach.call(d.children,function(p){if(l.has(p))c(p);else try{var f=p.getAttribute(o),g=f!==null&&f!=="false",x=(Al.get(p)||0)+1,b=(r.get(p)||0)+1;Al.set(p,x),r.set(p,b),s.push(p),x===1&&g&&Uf.set(p,!0),b===1&&p.setAttribute(a,"true"),g||p.setAttribute(o,"true")}catch(m){console.error("aria-hidden: cannot operate on ",p,m)}})};return c(t),l.clear(),zg++,function(){s.forEach(function(d){var p=Al.get(d)-1,f=r.get(d)-1;Al.set(d,p),r.set(d,f),p||(Uf.has(d)||d.removeAttribute(o),Uf.delete(d)),f||d.removeAttribute(a)}),zg--,zg||(Al=new WeakMap,Al=new WeakMap,Uf=new WeakMap,qf={})}},Ml=function(e,t,a){a===void 0&&(a="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),n=t||_k(e);return n?(o.push.apply(o,Array.from(n.querySelectorAll("[aria-live], script"))),Pk(o,n,a,"aria-hidden")):function(){return null}};var Sa=function(){return Sa=Object.assign||function(t){for(var a,o=1,n=arguments.length;o<n;o++){a=arguments[o];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r])}return t},Sa.apply(this,arguments)};function Wf(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(a[o[n]]=e[o[n]]);return a}function jw(e,t,a){if(a||arguments.length===2)for(var o=0,n=t.length,r;o<n;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var jf=C(I());var Qt=C(I());var xs="right-scroll-bar-position",ys="width-before-scroll-bar",Gg="with-scroll-bars-hidden",Vg="--removed-body-scroll-bar-size";function Yf(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var $w=C(I());function Qw(e,t){var a=(0,$w.useState)(function(){return{value:e,callback:t,facade:{get current(){return a.value},set current(o){var n=a.value;n!==o&&(a.value=o,a.callback(o,n))}}}})[0];return a.callback=t,a.facade}var Kf=C(I());var Nk=typeof window<"u"?Kf.useLayoutEffect:Kf.useEffect,Jw=new WeakMap;function Ug(e,t){var a=Qw(t||null,function(o){return e.forEach(function(n){return Yf(n,o)})});return Nk(function(){var o=Jw.get(a);if(o){var n=new Set(o),r=new Set(e),s=a.current;n.forEach(function(l){r.has(l)||Yf(l,null)}),r.forEach(function(l){n.has(l)||Yf(l,s)})}Jw.set(a,e)},[e]),a}function Bk(e){return e}function Hk(e,t){t===void 0&&(t=Bk);var a=[],o=!1,n={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(r){var s=t(r,o);return a.push(s),function(){a=a.filter(function(l){return l!==s})}},assignSyncMedium:function(r){for(o=!0;a.length;){var s=a;a=[],s.forEach(r)}a={push:function(l){return r(l)},filter:function(){return a}}},assignMedium:function(r){o=!0;var s=[];if(a.length){var l=a;a=[],l.forEach(r),s=a}var i=function(){var c=s;s=[],c.forEach(r)},u=function(){return Promise.resolve().then(i)};u(),a={push:function(c){s.push(c),u()},filter:function(c){return s=s.filter(c),a}}}};return n}function qg(e){e===void 0&&(e={});var t=Hk(null);return t.options=Sa({async:!0,ssr:!1},e),t}var e6=C(I()),t6=function(e){var t=e.sideCar,a=Wf(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return e6.createElement(o,Sa({},a))};t6.isSideCarExport=!0;function Wg(e,t){return e.useMedium(t),t6}var Xf=qg();var Yg=function(){},Ju=Qt.forwardRef(function(e,t){var a=Qt.useRef(null),o=Qt.useState({onScrollCapture:Yg,onWheelCapture:Yg,onTouchMoveCapture:Yg}),n=o[0],r=o[1],s=e.forwardProps,l=e.children,i=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,f=e.noRelative,g=e.noIsolation,x=e.inert,b=e.allowPinchZoom,m=e.as,h=m===void 0?"div":m,y=e.gapMode,v=Wf(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,w=Ug([a,t]),L=Sa(Sa({},v),n);return Qt.createElement(Qt.Fragment,null,c&&Qt.createElement(S,{sideCar:Xf,removeScrollBar:u,shards:d,noRelative:f,noIsolation:g,inert:x,setCallbacks:r,allowPinchZoom:!!b,lockRef:a,gapMode:y}),s?Qt.cloneElement(Qt.Children.only(l),Sa(Sa({},L),{ref:w})):Qt.createElement(h,Sa({},L,{className:i,ref:w}),l))});Ju.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ju.classNames={fullWidth:ys,zeroRight:xs};var Xe=C(I());var Dl=C(I());var n6=C(I());var a6;var o6=function(){if(a6)return a6;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Fk(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o6();return t&&e.setAttribute("nonce",t),e}function zk(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Gk(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Kg=function(){var e=0,t=null;return{add:function(a){e==0&&(t=Fk())&&(zk(t,a),Gk(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var Xg=function(){var e=Kg();return function(t,a){n6.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&a])}};var ed=function(){var e=Xg(),t=function(a){var o=a.styles,n=a.dynamic;return e(o,n),null};return t};var Vk={left:0,top:0,right:0,gap:0},Zg=function(e){return parseInt(e||"",10)||0},Uk=function(e){var t=window.getComputedStyle(document.body),a=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[Zg(a),Zg(o),Zg(n)]},jg=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Vk;var t=Uk(e),a=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-a+t[2]-t[0])}};var qk=ed(),Ol="data-scroll-locked",Wk=function(e,t,a,o){var n=e.left,r=e.top,s=e.right,l=e.gap;return a===void 0&&(a="margin"),`
10
+ .`.concat(Gg,` {
11
+ overflow: hidden `).concat(o,`;
12
+ padding-right: `).concat(l,"px ").concat(o,`;
13
+ }
14
+ body[`).concat(Ol,`] {
15
+ overflow: hidden `).concat(o,`;
16
+ overscroll-behavior: contain;
17
+ `).concat([t&&"position: relative ".concat(o,";"),a==="margin"&&`
18
+ padding-left: `.concat(n,`px;
19
+ padding-top: `).concat(r,`px;
20
+ padding-right: `).concat(s,`px;
21
+ margin-left:0;
22
+ margin-top:0;
23
+ margin-right: `).concat(l,"px ").concat(o,`;
24
+ `),a==="padding"&&"padding-right: ".concat(l,"px ").concat(o,";")].filter(Boolean).join(""),`
25
+ }
26
+
27
+ .`).concat(xs,` {
28
+ right: `).concat(l,"px ").concat(o,`;
29
+ }
30
+
31
+ .`).concat(ys,` {
32
+ margin-right: `).concat(l,"px ").concat(o,`;
33
+ }
34
+
35
+ .`).concat(xs," .").concat(xs,` {
36
+ right: 0 `).concat(o,`;
37
+ }
38
+
39
+ .`).concat(ys," .").concat(ys,` {
40
+ margin-right: 0 `).concat(o,`;
41
+ }
42
+
43
+ body[`).concat(Ol,`] {
44
+ `).concat(Vg,": ").concat(l,`px;
45
+ }
46
+ `)},r6=function(){var e=parseInt(document.body.getAttribute(Ol)||"0",10);return isFinite(e)?e:0},Yk=function(){Dl.useEffect(function(){return document.body.setAttribute(Ol,(r6()+1).toString()),function(){var e=r6()-1;e<=0?document.body.removeAttribute(Ol):document.body.setAttribute(Ol,e.toString())}},[])},$g=function(e){var t=e.noRelative,a=e.noImportant,o=e.gapMode,n=o===void 0?"margin":o;Yk();var r=Dl.useMemo(function(){return jg(n)},[n]);return Dl.createElement(qk,{styles:Wk(r,!t,n,a?"":"!important")})};var Qg=!1;if(typeof window<"u")try{td=Object.defineProperty({},"passive",{get:function(){return Qg=!0,!0}}),window.addEventListener("test",td,td),window.removeEventListener("test",td,td)}catch{Qg=!1}var td,bs=Qg?{passive:!1}:!1;var Kk=function(e){return e.tagName==="TEXTAREA"},s6=function(e,t){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[t]!=="hidden"&&!(a.overflowY===a.overflowX&&!Kk(e)&&a[t]==="visible")},Xk=function(e){return s6(e,"overflowY")},Zk=function(e){return s6(e,"overflowX")},Jg=function(e,t){var a=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var n=l6(e,o);if(n){var r=i6(e,o),s=r[1],l=r[2];if(s>l)return!0}o=o.parentNode}while(o&&o!==a.body);return!1},jk=function(e){var t=e.scrollTop,a=e.scrollHeight,o=e.clientHeight;return[t,a,o]},$k=function(e){var t=e.scrollLeft,a=e.scrollWidth,o=e.clientWidth;return[t,a,o]},l6=function(e,t){return e==="v"?Xk(t):Zk(t)},i6=function(e,t){return e==="v"?jk(t):$k(t)},Qk=function(e,t){return e==="h"&&t==="rtl"?-1:1},u6=function(e,t,a,o,n){var r=Qk(e,window.getComputedStyle(t).direction),s=r*o,l=a.target,i=t.contains(l),u=!1,c=s>0,d=0,p=0;do{if(!l)break;var f=i6(e,l),g=f[0],x=f[1],b=f[2],m=x-b-r*g;(g||m)&&l6(e,l)&&(d+=m,p+=g);var h=l.parentNode;l=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!i&&l!==document.body||i&&(t.contains(l)||t===l));return(c&&(n&&Math.abs(d)<1||!n&&s>d)||!c&&(n&&Math.abs(p)<1||!n&&-s>p))&&(u=!0),u};var Zf=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},d6=function(e){return[e.deltaX,e.deltaY]},c6=function(e){return e&&"current"in e?e.current:e},Jk=function(e,t){return e[0]===t[0]&&e[1]===t[1]},eP=function(e){return`
47
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
48
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
49
+ `)},tP=0,_l=[];function f6(e){var t=Xe.useRef([]),a=Xe.useRef([0,0]),o=Xe.useRef(),n=Xe.useState(tP++)[0],r=Xe.useState(ed)[0],s=Xe.useRef(e);Xe.useEffect(function(){s.current=e},[e]),Xe.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(n));var x=jw([e.lockRef.current],(e.shards||[]).map(c6),!0).filter(Boolean);return x.forEach(function(b){return b.classList.add("allow-interactivity-".concat(n))}),function(){document.body.classList.remove("block-interactivity-".concat(n)),x.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(n))})}}},[e.inert,e.lockRef.current,e.shards]);var l=Xe.useCallback(function(x,b){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!s.current.allowPinchZoom;var m=Zf(x),h=a.current,y="deltaX"in x?x.deltaX:h[0]-m[0],v="deltaY"in x?x.deltaY:h[1]-m[1],S,w=x.target,L=Math.abs(y)>Math.abs(v)?"h":"v";if("touches"in x&&L==="h"&&w.type==="range")return!1;var T=window.getSelection(),A=T&&T.anchorNode,O=A?A===w||A.contains(w):!1;if(O)return!1;var B=Jg(L,w);if(!B)return!0;if(B?S=L:(S=L==="v"?"h":"v",B=Jg(L,w)),!B)return!1;if(!o.current&&"changedTouches"in x&&(y||v)&&(o.current=S),!S)return!0;var P=o.current||S;return u6(P,b,x,P==="h"?y:v,!0)},[]),i=Xe.useCallback(function(x){var b=x;if(!(!_l.length||_l[_l.length-1]!==r)){var m="deltaY"in b?d6(b):Zf(b),h=t.current.filter(function(S){return S.name===b.type&&(S.target===b.target||b.target===S.shadowParent)&&Jk(S.delta,m)})[0];if(h&&h.should){b.cancelable&&b.preventDefault();return}if(!h){var y=(s.current.shards||[]).map(c6).filter(Boolean).filter(function(S){return S.contains(b.target)}),v=y.length>0?l(b,y[0]):!s.current.noIsolation;v&&b.cancelable&&b.preventDefault()}}},[]),u=Xe.useCallback(function(x,b,m,h){var y={name:x,delta:b,target:m,should:h,shadowParent:aP(m)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(v){return v!==y})},1)},[]),c=Xe.useCallback(function(x){a.current=Zf(x),o.current=void 0},[]),d=Xe.useCallback(function(x){u(x.type,d6(x),x.target,l(x,e.lockRef.current))},[]),p=Xe.useCallback(function(x){u(x.type,Zf(x),x.target,l(x,e.lockRef.current))},[]);Xe.useEffect(function(){return _l.push(r),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",i,bs),document.addEventListener("touchmove",i,bs),document.addEventListener("touchstart",c,bs),function(){_l=_l.filter(function(x){return x!==r}),document.removeEventListener("wheel",i,bs),document.removeEventListener("touchmove",i,bs),document.removeEventListener("touchstart",c,bs)}},[]);var f=e.removeScrollBar,g=e.inert;return Xe.createElement(Xe.Fragment,null,g?Xe.createElement(r,{styles:eP(n)}):null,f?Xe.createElement($g,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function aP(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var p6=Wg(Xf,f6);var m6=jf.forwardRef(function(e,t){return jf.createElement(Ju,Sa({},e,{ref:t,sideCar:p6}))});m6.classNames=Ju.classNames;var vs=m6;var pt=C(E(),1),$f="Popover",[h6,goe]=Xt($f,[vn]),ad=vn(),[oP,hr]=h6($f),g6=e=>{let{__scopePopover:t,children:a,open:o,defaultOpen:n,onOpenChange:r,modal:s=!1}=e,l=ad(t),i=Je.useRef(null),[u,c]=Je.useState(!1),[d,p]=Ao({prop:o,defaultProp:n??!1,onChange:r,caller:$f});return(0,pt.jsx)(hs,{...l,children:(0,pt.jsx)(oP,{scope:t,contentId:jt(),triggerRef:i,open:d,onOpenChange:p,onOpenToggle:Je.useCallback(()=>p(f=>!f),[p]),hasCustomAnchor:u,onCustomAnchorAdd:Je.useCallback(()=>c(!0),[]),onCustomAnchorRemove:Je.useCallback(()=>c(!1),[]),modal:s,children:a})})};g6.displayName=$f;var x6="PopoverAnchor",y6=Je.forwardRef((e,t)=>{let{__scopePopover:a,...o}=e,n=hr(x6,a),r=ad(a),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=n;return Je.useEffect(()=>(s(),()=>l()),[s,l]),(0,pt.jsx)(gs,{...r,...o,ref:t})});y6.displayName=x6;var b6="PopoverTrigger",v6=Je.forwardRef((e,t)=>{let{__scopePopover:a,...o}=e,n=hr(b6,a),r=ad(a),s=Me(t,n.triggerRef),l=(0,pt.jsx)(Se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":R6(n.open),...o,ref:s,onClick:Z(e.onClick,n.onOpenToggle)});return n.hasCustomAnchor?l:(0,pt.jsx)(gs,{asChild:!0,...r,children:l})});v6.displayName=b6;var e1="PopoverPortal",[nP,rP]=h6(e1,{forceMount:void 0}),C6=e=>{let{__scopePopover:t,forceMount:a,children:o,container:n}=e,r=hr(e1,t);return(0,pt.jsx)(nP,{scope:t,forceMount:a,children:(0,pt.jsx)($t,{present:a||r.open,children:(0,pt.jsx)(Cn,{asChild:!0,container:n,children:o})})})};C6.displayName=e1;var kl="PopoverContent",S6=Je.forwardRef((e,t)=>{let a=rP(kl,e.__scopePopover),{forceMount:o=a.forceMount,...n}=e,r=hr(kl,e.__scopePopover);return(0,pt.jsx)($t,{present:o||r.open,children:r.modal?(0,pt.jsx)(lP,{...n,ref:t}):(0,pt.jsx)(iP,{...n,ref:t})})});S6.displayName=kl;var sP=Lo("PopoverContent.RemoveScroll"),lP=Je.forwardRef((e,t)=>{let a=hr(kl,e.__scopePopover),o=Je.useRef(null),n=Me(t,o),r=Je.useRef(!1);return Je.useEffect(()=>{let s=o.current;if(s)return Ml(s)},[]),(0,pt.jsx)(vs,{as:sP,allowPinchZoom:!0,children:(0,pt.jsx)(w6,{...e,ref:n,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Z(e.onCloseAutoFocus,s=>{s.preventDefault(),r.current||a.triggerRef.current?.focus()}),onPointerDownOutside:Z(e.onPointerDownOutside,s=>{let l=s.detail.originalEvent,i=l.button===0&&l.ctrlKey===!0,u=l.button===2||i;r.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Z(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),iP=Je.forwardRef((e,t)=>{let a=hr(kl,e.__scopePopover),o=Je.useRef(!1),n=Je.useRef(!1);return(0,pt.jsx)(w6,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(o.current||a.triggerRef.current?.focus(),r.preventDefault()),o.current=!1,n.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(o.current=!0,r.detail.originalEvent.type==="pointerdown"&&(n.current=!0));let s=r.target;a.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&n.current&&r.preventDefault()}})}),w6=Je.forwardRef((e,t)=>{let{__scopePopover:a,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:i,onFocusOutside:u,onInteractOutside:c,...d}=e,p=hr(kl,a),f=ad(a);return wl(),(0,pt.jsx)(is,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:r,children:(0,pt.jsx)(yn,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:c,onEscapeKeyDown:l,onPointerDownOutside:i,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),children:(0,pt.jsx)(El,{"data-state":R6(p.open),role:"dialog",id:p.contentId,...f,...d,ref:t,style:{...d.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)"}})})})}),L6="PopoverClose",uP=Je.forwardRef((e,t)=>{let{__scopePopover:a,...o}=e,n=hr(L6,a);return(0,pt.jsx)(Se.button,{type:"button",...o,ref:t,onClick:Z(e.onClick,()=>n.onOpenChange(!1))})});uP.displayName=L6;var dP="PopoverArrow",cP=Je.forwardRef((e,t)=>{let{__scopePopover:a,...o}=e,n=ad(a);return(0,pt.jsx)(Il,{...n,...o,ref:t})});cP.displayName=dP;function R6(e){return e?"open":"closed"}var T6=g6,Pl=y6,Qf=v6,E6=C6,I6=S6;var A6="fixed inset-0 z-ds-overlay bg-black/40 data-[state=open]:animate-in data-[state=open]:fade-in-0",M6="fixed z-ds-overlay flex flex-col bg-default-primary shadow-2xl focus:outline-none",Jf={sheet:"inset-x-0 bottom-0 max-h-[88dvh] w-full rounded-t-2xl data-[state=open]:animate-in data-[state=open]:slide-in-from-bottom md:inset-x-auto md:bottom-auto md:left-1/2 md:top-1/2 md:max-h-[85vh] md:-translate-x-1/2 md:-translate-y-1/2 md:rounded-2xl md:data-[state=open]:zoom-in-95",centered:"left-1/2 top-1/2 max-h-[85vh] w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 rounded-2xl data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=open]:fade-in-0",left:"inset-y-0 left-0 h-full w-full max-w-sm data-[state=open]:animate-in data-[state=open]:slide-in-from-left",right:"inset-y-0 right-0 h-full w-full max-w-sm data-[state=open]:animate-in data-[state=open]:slide-in-from-right"},O6={small:"md:max-w-sm",medium:"md:max-w-md",large:"md:max-w-lg",xlarge:"md:max-w-xl"},D6="flex shrink-0 cursor-grab touch-none justify-center pt-3 pb-1 active:cursor-grabbing md:hidden",_6="h-1 w-10 rounded-full bg-default-secondary",k6=`absolute right-4 top-4 rounded-full p-1 text-default-secondary transition-colors hover:bg-hover-neutral hover:text-default-primary ${ue.control}`,P6={pill:"z-ds-overlay flex w-60 flex-col gap-1 rounded-2xl bg-default-primary py-1 shadow-[0_4px_28px_rgba(0,0,0,0.15)] data-[state=open]:animate-in data-[state=open]:zoom-in-95",boxed:"z-ds-overlay flex w-60 flex-col rounded-2xl border border-default-primary bg-default-primary p-1.5 shadow-[0_4px_28px_rgba(0,0,0,0.15)] data-[state=open]:animate-in data-[state=open]:zoom-in-95"},od={pill:"flex w-full cursor-pointer select-none items-center gap-2.5 rounded-full px-4 py-2.5 text-left text-default-primary outline-none transition-colors data-[highlighted]:bg-hover-neutral data-[disabled]:pointer-events-none data-[disabled]:opacity-50",boxed:"flex w-full cursor-pointer select-none items-center gap-3 rounded-xl px-3 py-2.5 text-left text-default-primary outline-none transition-colors data-[highlighted]:bg-hover-neutral data-[disabled]:pointer-events-none data-[disabled]:opacity-50"},N6="bg-weak-brand text-default-brand",B6={pill:"data-[state=open]:bg-hover-neutral",boxed:"data-[state=open]:bg-weak-brand"},H6={pill:"z-ds-overlay flex w-56 flex-col gap-1 rounded-2xl bg-default-primary py-1 shadow-[0_4px_28px_rgba(0,0,0,0.15)] data-[state=open]:animate-in data-[state=open]:fade-in-0",boxed:"z-ds-overlay flex w-56 flex-col rounded-2xl border border-default-primary bg-default-primary p-1.5 shadow-[0_4px_28px_rgba(0,0,0,0.15)] data-[state=open]:animate-in data-[state=open]:fade-in-0"},F6="z-ds-overlay rounded-ds-lg border border-default-primary bg-default-primary p-ds-sm shadow-lg data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",z6={start:"origin-top-left",center:"origin-top",end:"origin-top-right"};var ep=C(E());function Cs(e){return(0,ep.jsx)(T6,{...e})}Cs.displayName="Popover";var pP=z6,Ss=G6.default.forwardRef(({align:e="center",sideOffset:t=4,portal:a=!1,className:o,...n},r)=>{let s=(0,ep.jsx)(I6,{ref:r,align:e,sideOffset:t,className:R(F6,pP[e],o),...n});return a?(0,ep.jsx)(E6,{children:s}):s});Ss.displayName="PopoverContent";var mP=/^\d{4}-\d{2}-\d{2}$/,Sn=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,Zo=e=>{if(!mP.test(e))return;let t=new Date(`${e}T00:00:00`);if(!Number.isNaN(t.getTime()))return Sn(t)===e?t:void 0};var hP=/^(\d{4}-\d{2}-\d{2})T(\d{2}):(\d{2})$/,V6=e=>`${Sn(e)}T${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}`,U6=e=>{let t=hP.exec(e);if(!t)return;let a=Zo(t[1]),o=Number(t[2]),n=Number(t[3]);if(!(!a||o>23||n>59))return a.setHours(o,n),a};var Oe=C(E()),gP=nl,q6={months:"relative",month:"flex flex-col gap-ds-2xs",month_caption:"flex h-8 items-center justify-center",caption_label:"text-ds-body-lg-mobile font-semibold text-default-primary",nav:"absolute inset-x-0 top-0 flex h-8 items-center justify-between",button_previous:"inline-flex h-7 w-7 items-center justify-center rounded-ds-md text-default-secondary hover:bg-default-secondary",button_next:"inline-flex h-7 w-7 items-center justify-center rounded-ds-md text-default-secondary hover:bg-default-secondary",chevron:"h-4 w-4 fill-current",month_grid:"w-full border-collapse",weekdays:"flex",weekday:"w-8 text-ds-body-md-mobile font-normal text-default-secondary",week:"flex w-full",day:"w-8 p-0 text-center text-ds-body-lg-mobile text-default-primary",day_button:"inline-flex h-8 w-8 items-center justify-center rounded-ds-sm hover:bg-weak-brand",selected:"day-selected [&>button]:bg-default-brand [&>button]:text-default-invert [&>button]:hover:bg-default-brand",today:"[&:not(.day-selected)>button]:text-default-brand",outside:"[&>button]:text-default-secondary",disabled:"[&>button]:text-default-secondary",hidden:"invisible",range_middle:"[&>button]:bg-weak-brand [&>button]:text-default-primary [&>button]:rounded-none"},xP="relative flex gap-ds-md [&>div+div]:hidden md:[&>div+div]:flex",W6=e=>String(e).padStart(2,"0"),Y6=Mo.default.forwardRef(({label:e,"aria-label":t,id:a,size:o="large",error:n,disabled:r,required:s,value:l,defaultValue:i="",onValueChange:u,min:c,max:d,portal:p,selection:f="single",rangeValue:g,defaultRangeValue:x,onRangeChange:b,withTime:m,presets:h,className:y,...v},S)=>{let{fieldId:w,errorId:L}=ut(a),T=Ka(e,t),[A,O]=Mo.default.useState(i),B=l??A,[P,U]=Mo.default.useState(B);Mo.default.useEffect(()=>U(B),[B]);let[V,ee]=Mo.default.useState(!1),F=Mo.default.useRef(null),q=Mo.default.useRef(null),N=Mo.default.useRef(!1),k=cn(F,S),W=c?Zo(c):void 0,J=d?Zo(d):void 0,Ve=G=>{let Qe=Zo(Sn(G));return!(W&&Qe<W)&&!(J&&Qe>J)},j=m?U6:Zo,pe=m?V6:Sn,te=f==="range",[de,be]=Mo.default.useState({}),[ye,vt]=Mo.default.useState(x),re=g??ye,se=G=>{vt(G),b?.(G)},Ee=G=>{G&&te&&be({from:re?Zo(re.from):void 0,to:re?Zo(re.to):void 0}),ee(G)},At=()=>{let{from:G,to:Qe}=de;se(G?{from:Sn(G),to:Sn(Qe??G)}:void 0),ee(!1)},oa=re?`${re.from} \u2013 ${re.to}`:"",Mt=G=>{let Qe=j(G),ma=G===""||!!(Qe&&Ve(Qe));U(l!==void 0?B:ma?G:B),ma&&(l===void 0&&O(G),u?.(G))},Yt=j(B),Oa=te?!!re:!!B,Kn=r?"disabled":n?"error":Oa?"filled":"default",na=G=>{if(m){G.setHours(Yt?.getHours()??0,Yt?.getMinutes()??0),Mt(pe(G));return}Mt(pe(G)),ee(!1)},Y=(G,Qe)=>{let ma=Number(Qe);if(!Number.isInteger(ma)||ma<0||ma>(G==="hours"?23:59))return;let Ho=Yt?new Date(Yt):new Date(new Date().setHours(0,0,0,0));G==="hours"?Ho.setHours(ma):Ho.setMinutes(ma),Mt(pe(Ho))},Ne=[...W?[{before:W}]:[],...J?[{after:J}]:[]];return(0,Oe.jsxs)("div",{className:"flex w-full flex-col gap-ds-3xs",children:[T.visible!==void 0&&(0,Oe.jsxs)("label",{htmlFor:w,className:Ya,children:[T.visible,s&&(0,Oe.jsx)(zo,{})]}),(0,Oe.jsxs)(Cs,{open:V,onOpenChange:Ee,children:[(0,Oe.jsx)(Pl,{asChild:!0,children:(0,Oe.jsxs)("div",{ref:q,"data-filled":Oa||void 0,className:R(jc,gP[o],lr[Kn],ue.field,y),children:[(0,Oe.jsx)("input",{...v,ref:k,id:w,type:"text",inputMode:"numeric",placeholder:te?"YYYY-MM-DD \u2013 YYYY-MM-DD":m?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",readOnly:te||void 0,disabled:r,required:s,"aria-label":T.ariaLabel,"aria-invalid":n?!0:void 0,"aria-describedby":L,value:te?oa:P,onChange:G=>U(G.target.value),onClick:()=>{r||V||(N.current=!0,Ee(!0))},onBlur:G=>{te||Mt(G.target.value)},className:Gu}),(te?oa:P)&&!r&&(0,Oe.jsx)("button",{type:"button","aria-label":"Kosongkan tanggal",onClick:()=>te?se(void 0):Mt(""),className:"shrink-0 text-default-secondary hover:text-default-primary",children:(0,Oe.jsx)(Q,{name:"x",size:"sm"})}),(0,Oe.jsx)(Qf,{asChild:!0,children:(0,Oe.jsx)("button",{type:"button","aria-label":"Buka kalender",disabled:r,className:"shrink-0 text-default-secondary hover:text-default-primary",children:(0,Oe.jsx)(Q,{name:"calendar",size:"md"})})})]})}),(0,Oe.jsx)(Ss,{align:"start",portal:p,onOpenAutoFocus:G=>{N.current&&G.preventDefault(),N.current=!1},onInteractOutside:G=>{q.current?.contains(G.target)&&G.preventDefault()},onCloseAutoFocus:G=>{G.preventDefault(),F.current?.focus()},children:te?(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(Cg,{mode:"range",numberOfMonths:2,selected:de.from?{from:de.from,to:de.to}:void 0,defaultMonth:de.from,startMonth:W,endMonth:J,disabled:Ne,onSelect:G=>be({from:G?.from,to:G?.to}),classNames:{...q6,months:xP}}),(0,Oe.jsxs)("div",{className:"mt-ds-2xs flex justify-end gap-ds-2xs",children:[(0,Oe.jsx)("button",{type:"button",onClick:()=>be({}),className:"rounded-ds-md px-ds-sm py-ds-4xs text-ds-body-lg-mobile text-default-secondary hover:bg-default-secondary",children:"Hapus"}),(0,Oe.jsx)("button",{type:"button",onClick:At,disabled:!!de.from!=!!de.to,className:"rounded-ds-md bg-default-brand px-ds-sm py-ds-4xs text-ds-body-lg-mobile text-default-invert disabled:opacity-50",children:"Terapkan"})]})]}):(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(Cg,{mode:"single",selected:Yt,defaultMonth:Yt,startMonth:W,endMonth:J,disabled:Ne,onSelect:G=>{G&&na(G)},classNames:q6}),m&&(0,Oe.jsxs)("div",{className:"mt-ds-2xs flex items-center gap-ds-3xs text-ds-body-lg-mobile text-default-primary",children:[(0,Oe.jsx)("input",{type:"number",min:0,max:23,"aria-label":"Jam",value:W6(Yt?.getHours()??0),onChange:G=>Y("hours",G.target.value),className:"w-12 rounded-ds-sm border border-default-primary px-ds-3xs py-ds-4xs text-center"}),":",(0,Oe.jsx)("input",{type:"number",min:0,max:59,"aria-label":"Menit",value:W6(Yt?.getMinutes()??0),onChange:G=>Y("minutes",G.target.value),className:"w-12 rounded-ds-sm border border-default-primary px-ds-3xs py-ds-4xs text-center"})]}),h&&h.length>0&&(0,Oe.jsx)("div",{className:"mt-ds-2xs flex flex-wrap gap-ds-3xs",children:h.map(G=>(0,Oe.jsx)("button",{type:"button",onClick:()=>{Mt(G.value()),ee(!1)},className:"rounded-ds-md border border-default-primary px-ds-2xs py-ds-4xs text-ds-body-md-mobile text-default-primary hover:bg-default-secondary",children:G.label},G.label))})]})})]}),(0,Oe.jsx)(ha,{id:L,message:n})]})});Y6.displayName="DateTimeInput";var t1=C(I());var gr=C(E()),yP=tC,K6=t1.default.forwardRef(({length:e=6,value:t,onChange:a,onComplete:o,size:n="large",error:r,disabled:s,autoFocus:l,id:i,name:u,className:c,label:d,"aria-label":p},f)=>{let{fieldId:g,errorId:x}=ut(i),b=Ka(d,p),[m,h]=t1.default.useState(!1),y=t.replace(/\D/g,"").slice(0,e),v=s?"disabled":r?"error":y?"filled":"default",S=L=>{let T=L.replace(/\D/g,""),A=0;for(;A<y.length&&T[A]===y[A];)A+=1;let O=T.slice(A,T.length-(y.length-A)),B=(O.length>=e?O:T).slice(0,e);B!==y&&(a(B),B.length===e&&o?.(B))},w=L=>{let T=L.currentTarget,A=T.value.length;T.selectionStart===0&&T.selectionEnd===A&&A>0||(T.selectionStart!==A||T.selectionEnd!==A)&&T.setSelectionRange(A,A)};return(0,gr.jsxs)("div",{className:R("flex flex-col gap-ds-3xs",c),children:[b.visible!==void 0&&(0,gr.jsx)("label",{htmlFor:g,className:Ya,children:b.visible}),(0,gr.jsxs)("div",{className:Jv,"data-filled":y?!0:void 0,children:[Array.from({length:e},(L,T)=>(0,gr.jsx)("span",{"aria-hidden":!0,className:R(eC,yP[n],lr[v],m&&!s&&T===Math.min(y.length,e-1)&&aC),children:y[T]??""},T)),(0,gr.jsx)("input",{ref:f,id:g,name:u,type:"text",inputMode:"numeric",autoComplete:"one-time-code","aria-label":b.ariaLabel,"aria-invalid":r?!0:void 0,"aria-describedby":x,value:y,onChange:L=>S(L.target.value),onSelect:w,onFocus:L=>{h(!0),w(L)},onBlur:()=>h(!1),disabled:s,autoFocus:l,className:oC})]}),(0,gr.jsx)(ha,{id:x,message:r})]})});K6.displayName="OtpInput";var X6=C(I());var ws=C(E()),Nl=X6.default.forwardRef(({type:e="alert",variant:t="info",size:a="medium",treatment:o="full",icon:n,role:r,action:s,className:l,children:i,...u},c)=>{let{box:d,glyph:p}=Yy[a],f=e==="toast"?{surface:`${kh.toast[t]} ${Ph.toast[t]}`,ink:Nh.toast[t]}:{surface:Ky[o][t],ink:Xy[o][t]},g=e==="toast"&&t==="success"?"check-circle-filled":jy[t],x=n===void 0?(0,ws.jsx)(Q,{name:g,className:R(p,"shrink-0")}):n;return(0,ws.jsxs)("div",{ref:c,role:r??(e==="alert"?"alert":void 0),className:R(Wy,d,f.surface,l),...u,children:[x!==null&&(0,ws.jsx)("span",{"aria-hidden":!0,className:R("flex shrink-0 items-center",f.ink),children:x}),(0,ws.jsxs)("span",{className:"sr-only",children:[Zy[t],":"]}),(0,ws.jsx)("span",{className:"min-w-0 flex-1",children:i}),s]})});Nl.displayName="Alert";var H=C(I(),1),$6=C(vl(),1);function bP(e){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}var vP=e=>{switch(e){case"success":return wP;case"info":return RP;case"warning":return LP;case"error":return TP;default:return null}},CP=Array(12).fill(0),SP=({visible:e,className:t})=>H.default.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},H.default.createElement("div",{className:"sonner-spinner"},CP.map((a,o)=>H.default.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),wP=H.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},H.default.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),LP=H.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},H.default.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),RP=H.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},H.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),TP=H.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},H.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),EP=H.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},H.default.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),H.default.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),IP=()=>{let[e,t]=H.default.useState(document.hidden);return H.default.useEffect(()=>{let a=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),e},a1=1,o1=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let a=this.subscribers.indexOf(t);this.subscribers.splice(a,1)}),this.publish=t=>{this.subscribers.forEach(a=>a(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var a;let{message:o,...n}=t,r=typeof t?.id=="number"||((a=t.id)==null?void 0:a.length)>0?t.id:a1++,s=this.toasts.find(i=>i.id===r),l=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),s?this.toasts=this.toasts.map(i=>i.id===r?(this.publish({...i,...t,id:r,title:o}),{...i,...t,id:r,dismissible:l,title:o}):i):this.addToast({title:o,...n,dismissible:l,id:r}),r},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:t,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(o=>o({id:a.id,dismiss:!0}))}),t),this.message=(t,a)=>this.create({...a,message:t}),this.error=(t,a)=>this.create({...a,message:t,type:"error"}),this.success=(t,a)=>this.create({...a,type:"success",message:t}),this.info=(t,a)=>this.create({...a,type:"info",message:t}),this.warning=(t,a)=>this.create({...a,type:"warning",message:t}),this.loading=(t,a)=>this.create({...a,type:"loading",message:t}),this.promise=(t,a)=>{if(!a)return;let o;a.loading!==void 0&&(o=this.create({...a,promise:t,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));let n=Promise.resolve(t instanceof Function?t():t),r=o!==void 0,s,l=n.then(async u=>{if(s=["resolve",u],H.default.isValidElement(u))r=!1,this.create({id:o,type:"default",message:u});else if(MP(u)&&!u.ok){r=!1;let d=typeof a.error=="function"?await a.error(`HTTP error! status: ${u.status}`):a.error,p=typeof a.description=="function"?await a.description(`HTTP error! status: ${u.status}`):a.description,g=typeof d=="object"&&!H.default.isValidElement(d)?d:{message:d};this.create({id:o,type:"error",description:p,...g})}else if(u instanceof Error){r=!1;let d=typeof a.error=="function"?await a.error(u):a.error,p=typeof a.description=="function"?await a.description(u):a.description,g=typeof d=="object"&&!H.default.isValidElement(d)?d:{message:d};this.create({id:o,type:"error",description:p,...g})}else if(a.success!==void 0){r=!1;let d=typeof a.success=="function"?await a.success(u):a.success,p=typeof a.description=="function"?await a.description(u):a.description,g=typeof d=="object"&&!H.default.isValidElement(d)?d:{message:d};this.create({id:o,type:"success",description:p,...g})}}).catch(async u=>{if(s=["reject",u],a.error!==void 0){r=!1;let c=typeof a.error=="function"?await a.error(u):a.error,d=typeof a.description=="function"?await a.description(u):a.description,f=typeof c=="object"&&!H.default.isValidElement(c)?c:{message:c};this.create({id:o,type:"error",description:d,...f})}}).finally(()=>{r&&(this.dismiss(o),o=void 0),a.finally==null||a.finally.call(a)}),i=()=>new Promise((u,c)=>l.then(()=>s[0]==="reject"?c(s[1]):u(s[1])).catch(c));return typeof o!="string"&&typeof o!="number"?{unwrap:i}:Object.assign(o,{unwrap:i})},this.custom=(t,a)=>{let o=a?.id||a1++;return this.create({jsx:t(o),id:o,...a}),o},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},wa=new o1,AP=(e,t)=>{let a=t?.id||a1++;return wa.addToast({title:e,...t,id:a}),a},MP=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",OP=AP,DP=()=>wa.toasts,_P=()=>wa.getActiveToasts(),ap=Object.assign(OP,{success:wa.success,info:wa.info,warning:wa.warning,error:wa.error,custom:wa.custom,message:wa.message,promise:wa.promise,dismiss:wa.dismiss,loading:wa.loading},{getHistory:DP,getToasts:_P});bP("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function tp(e){return e.label!==void 0}var kP=3,PP="24px",NP="16px",Z6=4e3,BP=356,HP=14,FP=45,zP=200;function jo(...e){return e.filter(Boolean).join(" ")}function GP(e){let[t,a]=e.split("-"),o=[];return t&&o.push(t),a&&o.push(a),o}var VP=e=>{var t,a,o,n,r,s,l,i,u;let{invert:c,toast:d,unstyled:p,interacting:f,setHeights:g,visibleToasts:x,heights:b,index:m,toasts:h,expanded:y,removeToast:v,defaultRichColors:S,closeButton:w,style:L,cancelButtonStyle:T,actionButtonStyle:A,className:O="",descriptionClassName:B="",duration:P,position:U,gap:V,expandByDefault:ee,classNames:F,icons:q,closeButtonAriaLabel:N="Close toast"}=e,[k,W]=H.default.useState(null),[J,Ve]=H.default.useState(null),[j,pe]=H.default.useState(!1),[te,de]=H.default.useState(!1),[be,ye]=H.default.useState(!1),[vt,re]=H.default.useState(!1),[se,Ee]=H.default.useState(!1),[At,oa]=H.default.useState(0),[Mt,Yt]=H.default.useState(0),Oa=H.default.useRef(d.duration||P||Z6),Kn=H.default.useRef(null),na=H.default.useRef(null),Y=m===0,Ne=m+1<=x,G=d.type,Qe=d.dismissible!==!1,ma=d.className||"",Ho=d.descriptionClassName||"",$s=H.default.useMemo(()=>b.findIndex(z=>z.toastId===d.id)||0,[b,d.id]),Ch=H.default.useMemo(()=>{var z;return(z=d.closeButton)!=null?z:w},[d.closeButton,w]),Oc=H.default.useMemo(()=>d.duration||P||Z6,[d.duration,P]),Bi=H.default.useRef(0),Xn=H.default.useRef(0),Dc=H.default.useRef(0),Zn=H.default.useRef(null),[Sh,wh]=U.split("-"),_c=H.default.useMemo(()=>b.reduce((z,it,Ot)=>Ot>=$s?z:z+it.height,0),[b,$s]),kc=IP(),Pc=d.invert||c,Hi=G==="loading";Xn.current=H.default.useMemo(()=>$s*V+_c,[$s,_c]),H.default.useEffect(()=>{Oa.current=Oc},[Oc]),H.default.useEffect(()=>{pe(!0)},[]),H.default.useEffect(()=>{let z=na.current;if(z){let it=z.getBoundingClientRect().height;return Yt(it),g(Ot=>[{toastId:d.id,height:it,position:d.position},...Ot]),()=>g(Ot=>Ot.filter(ra=>ra.toastId!==d.id))}},[g,d.id]),H.default.useLayoutEffect(()=>{if(!j)return;let z=na.current,it=z.style.height;z.style.height="auto";let Ot=z.getBoundingClientRect().height;z.style.height=it,Yt(Ot),g(ra=>ra.find(rt=>rt.toastId===d.id)?ra.map(rt=>rt.toastId===d.id?{...rt,height:Ot}:rt):[{toastId:d.id,height:Ot,position:d.position},...ra])},[j,d.title,d.description,g,d.id,d.jsx,d.action,d.cancel]);let ae=H.default.useCallback(()=>{de(!0),oa(Xn.current),g(z=>z.filter(it=>it.toastId!==d.id)),setTimeout(()=>{v(d)},zP)},[d,v,g,Xn]);H.default.useEffect(()=>{if(d.promise&&G==="loading"||d.duration===1/0||d.type==="loading")return;let z;return y||f||kc?(()=>{if(Dc.current<Bi.current){let ra=new Date().getTime()-Bi.current;Oa.current=Oa.current-ra}Dc.current=new Date().getTime()})():(()=>{Oa.current!==1/0&&(Bi.current=new Date().getTime(),z=setTimeout(()=>{d.onAutoClose==null||d.onAutoClose.call(d,d),ae()},Oa.current))})(),()=>clearTimeout(z)},[y,f,d,G,kc,ae]),H.default.useEffect(()=>{d.delete&&(ae(),d.onDismiss==null||d.onDismiss.call(d,d))},[ae,d.delete]);function Ie(){var z;if(q?.loading){var it;return H.default.createElement("div",{className:jo(F?.loader,d==null||(it=d.classNames)==null?void 0:it.loader,"sonner-loader"),"data-visible":G==="loading"},q.loading)}return H.default.createElement(SP,{className:jo(F?.loader,d==null||(z=d.classNames)==null?void 0:z.loader),visible:G==="loading"})}let le=d.icon||q?.[G]||vP(G);var Te,Kt;return H.default.createElement("li",{tabIndex:0,ref:na,className:jo(O,ma,F?.toast,d==null||(t=d.classNames)==null?void 0:t.toast,F?.default,F?.[G],d==null||(a=d.classNames)==null?void 0:a[G]),"data-sonner-toast":"","data-rich-colors":(Te=d.richColors)!=null?Te:S,"data-styled":!(d.jsx||d.unstyled||p),"data-mounted":j,"data-promise":!!d.promise,"data-swiped":se,"data-removed":te,"data-visible":Ne,"data-y-position":Sh,"data-x-position":wh,"data-index":m,"data-front":Y,"data-swiping":be,"data-dismissible":Qe,"data-type":G,"data-invert":Pc,"data-swipe-out":vt,"data-swipe-direction":J,"data-expanded":!!(y||ee&&j),"data-testid":d.testId,style:{"--index":m,"--toasts-before":m,"--z-index":h.length-m,"--offset":`${te?At:Xn.current}px`,"--initial-height":ee?"auto":`${Mt}px`,...L,...d.style},onDragEnd:()=>{ye(!1),W(null),Zn.current=null},onPointerDown:z=>{z.button!==2&&(Hi||!Qe||(Kn.current=new Date,oa(Xn.current),z.target.setPointerCapture(z.pointerId),z.target.tagName!=="BUTTON"&&(ye(!0),Zn.current={x:z.clientX,y:z.clientY})))},onPointerUp:()=>{var z,it,Ot;if(vt||!Qe)return;Zn.current=null;let ra=Number(((z=na.current)==null?void 0:z.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),jn=Number(((it=na.current)==null?void 0:it.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),rt=new Date().getTime()-((Ot=Kn.current)==null?void 0:Ot.getTime()),Wa=k==="x"?ra:jn,Nc=Math.abs(Wa)/rt;if(Math.abs(Wa)>=FP||Nc>.11){oa(Xn.current),d.onDismiss==null||d.onDismiss.call(d,d),Ve(k==="x"?ra>0?"right":"left":jn>0?"down":"up"),ae(),re(!0);return}else{var yo,bo;(yo=na.current)==null||yo.style.setProperty("--swipe-amount-x","0px"),(bo=na.current)==null||bo.style.setProperty("--swipe-amount-y","0px")}Ee(!1),ye(!1),W(null)},onPointerMove:z=>{var it,Ot,ra;if(!Zn.current||!Qe||((it=window.getSelection())==null?void 0:it.toString().length)>0)return;let rt=z.clientY-Zn.current.y,Wa=z.clientX-Zn.current.x;var Nc;let yo=(Nc=e.swipeDirections)!=null?Nc:GP(U);!k&&(Math.abs(Wa)>1||Math.abs(rt)>1)&&W(Math.abs(Wa)>Math.abs(rt)?"x":"y");let bo={x:0,y:0},my=os=>1/(1.5+Math.abs(os)/20);if(k==="y"){if(yo.includes("top")||yo.includes("bottom"))if(yo.includes("top")&&rt<0||yo.includes("bottom")&&rt>0)bo.y=rt;else{let os=rt*my(rt);bo.y=Math.abs(os)<Math.abs(rt)?os:rt}}else if(k==="x"&&(yo.includes("left")||yo.includes("right")))if(yo.includes("left")&&Wa<0||yo.includes("right")&&Wa>0)bo.x=Wa;else{let os=Wa*my(Wa);bo.x=Math.abs(os)<Math.abs(Wa)?os:Wa}(Math.abs(bo.x)>0||Math.abs(bo.y)>0)&&Ee(!0),(Ot=na.current)==null||Ot.style.setProperty("--swipe-amount-x",`${bo.x}px`),(ra=na.current)==null||ra.style.setProperty("--swipe-amount-y",`${bo.y}px`)}},Ch&&!d.jsx&&G!=="loading"?H.default.createElement("button",{"aria-label":N,"data-disabled":Hi,"data-close-button":!0,onClick:Hi||!Qe?()=>{}:()=>{ae(),d.onDismiss==null||d.onDismiss.call(d,d)},className:jo(F?.closeButton,d==null||(o=d.classNames)==null?void 0:o.closeButton)},(Kt=q?.close)!=null?Kt:EP):null,(G||d.icon||d.promise)&&d.icon!==null&&(q?.[G]!==null||d.icon)?H.default.createElement("div",{"data-icon":"",className:jo(F?.icon,d==null||(n=d.classNames)==null?void 0:n.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||Ie():null,d.type!=="loading"?le:null):null,H.default.createElement("div",{"data-content":"",className:jo(F?.content,d==null||(r=d.classNames)==null?void 0:r.content)},H.default.createElement("div",{"data-title":"",className:jo(F?.title,d==null||(s=d.classNames)==null?void 0:s.title)},d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title),d.description?H.default.createElement("div",{"data-description":"",className:jo(B,Ho,F?.description,d==null||(l=d.classNames)==null?void 0:l.description)},typeof d.description=="function"?d.description():d.description):null),H.default.isValidElement(d.cancel)?d.cancel:d.cancel&&tp(d.cancel)?H.default.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||T,onClick:z=>{tp(d.cancel)&&Qe&&(d.cancel.onClick==null||d.cancel.onClick.call(d.cancel,z),ae())},className:jo(F?.cancelButton,d==null||(i=d.classNames)==null?void 0:i.cancelButton)},d.cancel.label):null,H.default.isValidElement(d.action)?d.action:d.action&&tp(d.action)?H.default.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||A,onClick:z=>{tp(d.action)&&(d.action.onClick==null||d.action.onClick.call(d.action,z),!z.defaultPrevented&&ae())},className:jo(F?.actionButton,d==null||(u=d.classNames)==null?void 0:u.actionButton)},d.action.label):null)};function j6(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function UP(e,t){let a={};return[e,t].forEach((o,n)=>{let r=n===1,s=r?"--mobile-offset":"--offset",l=r?NP:PP;function i(u){["top","right","bottom","left"].forEach(c=>{a[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof o=="number"||typeof o=="string"?i(o):typeof o=="object"?["top","right","bottom","left"].forEach(u=>{o[u]===void 0?a[`${s}-${u}`]=l:a[`${s}-${u}`]=typeof o[u]=="number"?`${o[u]}px`:o[u]}):i(l)}),a}var Q6=H.default.forwardRef(function(t,a){let{id:o,invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:l,closeButton:i,className:u,offset:c,mobileOffset:d,theme:p="light",richColors:f,duration:g,style:x,visibleToasts:b=kP,toastOptions:m,dir:h=j6(),gap:y=HP,icons:v,containerAriaLabel:S="Notifications"}=t,[w,L]=H.default.useState([]),T=H.default.useMemo(()=>o?w.filter(j=>j.toasterId===o):w.filter(j=>!j.toasterId),[w,o]),A=H.default.useMemo(()=>Array.from(new Set([r].concat(T.filter(j=>j.position).map(j=>j.position)))),[T,r]),[O,B]=H.default.useState([]),[P,U]=H.default.useState(!1),[V,ee]=H.default.useState(!1),[F,q]=H.default.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),N=H.default.useRef(null),k=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),W=H.default.useRef(null),J=H.default.useRef(!1),Ve=H.default.useCallback(j=>{L(pe=>{var te;return(te=pe.find(de=>de.id===j.id))!=null&&te.delete||wa.dismiss(j.id),pe.filter(({id:de})=>de!==j.id)})},[]);return H.default.useEffect(()=>wa.subscribe(j=>{if(j.dismiss){requestAnimationFrame(()=>{L(pe=>pe.map(te=>te.id===j.id?{...te,delete:!0}:te))});return}setTimeout(()=>{$6.default.flushSync(()=>{L(pe=>{let te=pe.findIndex(de=>de.id===j.id);return te!==-1?[...pe.slice(0,te),{...pe[te],...j},...pe.slice(te+1)]:[j,...pe]})})})}),[w]),H.default.useEffect(()=>{if(p!=="system"){q(p);return}if(p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?q("dark"):q("light")),typeof window>"u")return;let j=window.matchMedia("(prefers-color-scheme: dark)");try{j.addEventListener("change",({matches:pe})=>{q(pe?"dark":"light")})}catch{j.addListener(({matches:te})=>{try{q(te?"dark":"light")}catch(de){console.error(de)}})}},[p]),H.default.useEffect(()=>{w.length<=1&&U(!1)},[w]),H.default.useEffect(()=>{let j=pe=>{var te;if(s.every(ye=>pe[ye]||pe.code===ye)){var be;U(!0),(be=N.current)==null||be.focus()}pe.code==="Escape"&&(document.activeElement===N.current||(te=N.current)!=null&&te.contains(document.activeElement))&&U(!1)};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[s]),H.default.useEffect(()=>{if(N.current)return()=>{W.current&&(W.current.focus({preventScroll:!0}),W.current=null,J.current=!1)}},[N.current]),H.default.createElement("section",{ref:a,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},A.map((j,pe)=>{var te;let[de,be]=j.split("-");return T.length?H.default.createElement("ol",{key:j,dir:h==="auto"?j6():h,tabIndex:-1,ref:N,className:u,"data-sonner-toaster":!0,"data-sonner-theme":F,"data-y-position":de,"data-x-position":be,style:{"--front-toast-height":`${((te=O[0])==null?void 0:te.height)||0}px`,"--width":`${BP}px`,"--gap":`${y}px`,...x,...UP(c,d)},onBlur:ye=>{J.current&&!ye.currentTarget.contains(ye.relatedTarget)&&(J.current=!1,W.current&&(W.current.focus({preventScroll:!0}),W.current=null))},onFocus:ye=>{ye.target instanceof HTMLElement&&ye.target.dataset.dismissible==="false"||J.current||(J.current=!0,W.current=ye.relatedTarget)},onMouseEnter:()=>U(!0),onMouseMove:()=>U(!0),onMouseLeave:()=>{V||U(!1)},onDragEnd:()=>U(!1),onPointerDown:ye=>{ye.target instanceof HTMLElement&&ye.target.dataset.dismissible==="false"||ee(!0)},onPointerUp:()=>ee(!1)},T.filter(ye=>!ye.position&&pe===0||ye.position===j).map((ye,vt)=>{var re,se;return H.default.createElement(VP,{key:ye.id,icons:v,index:vt,toast:ye,defaultRichColors:f,duration:(re=m?.duration)!=null?re:g,className:m?.className,descriptionClassName:m?.descriptionClassName,invert:n,visibleToasts:b,closeButton:(se=m?.closeButton)!=null?se:i,interacting:V,position:j,style:m?.style,unstyled:m?.unstyled,classNames:m?.classNames,cancelButtonStyle:m?.cancelButtonStyle,actionButtonStyle:m?.actionButtonStyle,closeButtonAriaLabel:m?.closeButtonAriaLabel,removeToast:Ve,toasts:T.filter(Ee=>Ee.position==ye.position),heights:O.filter(Ee=>Ee.position==ye.position),setHeights:B,expandByDefault:l,gap:y,expanded:P,swipeDirections:t.swipeDirections})})):null}))});var nd=C(E()),J6=({visibleToasts:e=3,duration:t=4e3,position:a="top-center"})=>(0,nd.jsx)(Q6,{position:a,visibleToasts:e,duration:t,className:$y,style:{zIndex:"var(--elevation-overlay, 99999)"},toastOptions:{unstyled:!0,classNames:{toast:"w-full"}}}),qP=()=>typeof window<"u"&&window.matchMedia("(min-width: 768px)").matches?"medium":"small",n1=(e,t={})=>{let{variant:a="info",size:o=qP(),...n}=t;return ap.custom(r=>(0,nd.jsx)(Nl,{type:"toast",variant:a,size:o,action:(0,nd.jsx)("button",{type:"button","aria-label":"Tutup notifikasi",onClick:()=>ap.dismiss(r),className:qc,children:(0,nd.jsx)(Q,{name:"x",className:o==="small"?"h-[18px] w-[18px]":"h-5 w-5"})}),children:e}),n)};n1.dismiss=ap.dismiss;var u1=C(I());var he=C(I(),1);var e5=C(I(),1);var t5=C(E(),1),WP=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"}),YP="VisuallyHidden",a5=e5.forwardRef((e,t)=>(0,t5.jsx)(Se.span,{...e,ref:t,style:{...WP,...e.style}}));a5.displayName=YP;var o5=a5;var mt=C(E(),1),[op,pne]=Xt("Tooltip",[vn]),np=vn(),n5="TooltipProvider",XP=700,r1="tooltip.open",[ZP,l1]=op(n5),r5=e=>{let{__scopeTooltip:t,delayDuration:a=XP,skipDelayDuration:o=300,disableHoverableContent:n=!1,children:r}=e,s=he.useRef(!0),l=he.useRef(!1),i=he.useRef(0);return he.useEffect(()=>{let u=i.current;return()=>window.clearTimeout(u)},[]),(0,mt.jsx)(ZP,{scope:t,isOpenDelayedRef:s,delayDuration:a,onOpen:he.useCallback(()=>{window.clearTimeout(i.current),s.current=!1},[]),onClose:he.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>s.current=!0,o)},[o]),isPointerInTransitRef:l,onPointerInTransitChange:he.useCallback(u=>{l.current=u},[]),disableHoverableContent:n,children:r})};r5.displayName=n5;var rd="Tooltip",[jP,sd]=op(rd),s5=e=>{let{__scopeTooltip:t,children:a,open:o,defaultOpen:n,onOpenChange:r,disableHoverableContent:s,delayDuration:l}=e,i=l1(rd,e.__scopeTooltip),u=np(t),[c,d]=he.useState(null),p=jt(),f=he.useRef(0),g=s??i.disableHoverableContent,x=l??i.delayDuration,b=he.useRef(!1),[m,h]=Ao({prop:o,defaultProp:n??!1,onChange:L=>{L?(i.onOpen(),document.dispatchEvent(new CustomEvent(r1))):i.onClose(),r?.(L)},caller:rd}),y=he.useMemo(()=>m?b.current?"delayed-open":"instant-open":"closed",[m]),v=he.useCallback(()=>{window.clearTimeout(f.current),f.current=0,b.current=!1,h(!0)},[h]),S=he.useCallback(()=>{window.clearTimeout(f.current),f.current=0,h(!1)},[h]),w=he.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{b.current=!0,h(!0),f.current=0},x)},[x,h]);return he.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),(0,mt.jsx)(hs,{...u,children:(0,mt.jsx)(jP,{scope:t,contentId:p,open:m,stateAttribute:y,trigger:c,onTriggerChange:d,onTriggerEnter:he.useCallback(()=>{i.isOpenDelayedRef.current?w():v()},[i.isOpenDelayedRef,w,v]),onTriggerLeave:he.useCallback(()=>{g?S():(window.clearTimeout(f.current),f.current=0)},[S,g]),onOpen:v,onClose:S,disableHoverableContent:g,children:a})})};s5.displayName=rd;var s1="TooltipTrigger",l5=he.forwardRef((e,t)=>{let{__scopeTooltip:a,...o}=e,n=sd(s1,a),r=l1(s1,a),s=np(a),l=he.useRef(null),i=Me(t,l,n.onTriggerChange),u=he.useRef(!1),c=he.useRef(!1),d=he.useCallback(()=>u.current=!1,[]);return he.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),(0,mt.jsx)(gs,{asChild:!0,...s,children:(0,mt.jsx)(Se.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...o,ref:i,onPointerMove:Z(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!r.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:Z(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:Z(e.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Z(e.onFocus,()=>{u.current||n.onOpen()}),onBlur:Z(e.onBlur,n.onClose),onClick:Z(e.onClick,n.onClose)})})});l5.displayName=s1;var i1="TooltipPortal",[$P,QP]=op(i1,{forceMount:void 0}),i5=e=>{let{__scopeTooltip:t,forceMount:a,children:o,container:n}=e,r=sd(i1,t);return(0,mt.jsx)($P,{scope:t,forceMount:a,children:(0,mt.jsx)($t,{present:a||r.open,children:(0,mt.jsx)(Cn,{asChild:!0,container:n,children:o})})})};i5.displayName=i1;var Bl="TooltipContent",u5=he.forwardRef((e,t)=>{let a=QP(Bl,e.__scopeTooltip),{forceMount:o=a.forceMount,side:n="top",...r}=e,s=sd(Bl,e.__scopeTooltip);return(0,mt.jsx)($t,{present:o||s.open,children:s.disableHoverableContent?(0,mt.jsx)(d5,{side:n,...r,ref:t}):(0,mt.jsx)(JP,{side:n,...r,ref:t})})}),JP=he.forwardRef((e,t)=>{let a=sd(Bl,e.__scopeTooltip),o=l1(Bl,e.__scopeTooltip),n=he.useRef(null),r=Me(t,n),[s,l]=he.useState(null),{trigger:i,onClose:u}=a,c=n.current,{onPointerInTransitChange:d}=o,p=he.useCallback(()=>{l(null),d(!1)},[d]),f=he.useCallback((g,x)=>{let b=g.currentTarget,m={x:g.clientX,y:g.clientY},h=oN(m,b.getBoundingClientRect()),y=nN(m,h),v=rN(x.getBoundingClientRect()),S=lN([...y,...v]);l(S),d(!0)},[d]);return he.useEffect(()=>()=>p(),[p]),he.useEffect(()=>{if(i&&c){let g=b=>f(b,c),x=b=>f(b,i);return i.addEventListener("pointerleave",g),c.addEventListener("pointerleave",x),()=>{i.removeEventListener("pointerleave",g),c.removeEventListener("pointerleave",x)}}},[i,c,f,p]),he.useEffect(()=>{if(s){let g=x=>{let b=x.target,m={x:x.clientX,y:x.clientY},h=i?.contains(b)||c?.contains(b),y=!sN(m,s);h?p():y&&(p(),u())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[i,c,s,u,p]),(0,mt.jsx)(d5,{...e,ref:r})}),[eN,tN]=op(rd,{isInside:!1}),aN=gS("TooltipContent"),d5=he.forwardRef((e,t)=>{let{__scopeTooltip:a,children:o,"aria-label":n,onEscapeKeyDown:r,onPointerDownOutside:s,...l}=e,i=sd(Bl,a),u=np(a),{onClose:c}=i;return he.useEffect(()=>(document.addEventListener(r1,c),()=>document.removeEventListener(r1,c)),[c]),he.useEffect(()=>{if(i.trigger){let d=p=>{p.target?.contains(i.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[i.trigger,c]),(0,mt.jsx)(yn,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:(0,mt.jsxs)(El,{"data-state":i.stateAttribute,...u,...l,ref:t,style:{...l.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,mt.jsx)(aN,{children:o}),(0,mt.jsx)(eN,{scope:a,isInside:!0,children:(0,mt.jsx)(o5,{id:i.contentId,role:"tooltip",children:n||o})})]})})});u5.displayName=Bl;var c5="TooltipArrow",f5=he.forwardRef((e,t)=>{let{__scopeTooltip:a,...o}=e,n=np(a);return tN(c5,a).isInside?null:(0,mt.jsx)(Il,{...n,...o,ref:t})});f5.displayName=c5;function oN(e,t){let a=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),r=Math.abs(t.left-e.x);switch(Math.min(a,o,n,r)){case r:return"left";case n:return"right";case a:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function nN(e,t,a=5){let o=[];switch(t){case"top":o.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":o.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":o.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":o.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return o}function rN(e){let{top:t,right:a,bottom:o,left:n}=e;return[{x:n,y:t},{x:a,y:t},{x:a,y:o},{x:n,y:o}]}function sN(e,t){let{x:a,y:o}=e,n=!1;for(let r=0,s=t.length-1;r<t.length;s=r++){let l=t[r],i=t[s],u=l.x,c=l.y,d=i.x,p=i.y;c>o!=p>o&&a<(d-u)*(o-c)/(p-c)+u&&(n=!n)}return n}function lN(e){let t=e.slice();return t.sort((a,o)=>a.x<o.x?-1:a.x>o.x?1:a.y<o.y?-1:a.y>o.y?1:0),iN(t)}function iN(e){if(e.length<=1)return e.slice();let t=[];for(let o=0;o<e.length;o++){let n=e[o];for(;t.length>=2;){let r=t[t.length-1],s=t[t.length-2];if((r.x-s.x)*(n.y-s.y)>=(r.y-s.y)*(n.x-s.x))t.pop();else break}t.push(n)}t.pop();let a=[];for(let o=e.length-1;o>=0;o--){let n=e[o];for(;a.length>=2;){let r=a[a.length-1],s=a[a.length-2];if((r.x-s.x)*(n.y-s.y)>=(r.y-s.y)*(n.x-s.x))a.pop();else break}a.push(n)}return a.pop(),t.length===1&&a.length===1&&t[0].x===a[0].x&&t[0].y===a[0].y?t:t.concat(a)}var p5=r5,m5=s5,h5=l5,g5=i5,x5=u5,y5=f5;var to=C(E()),ld=({content:e,children:t,color:a="dark",size:o="large",side:n="top",align:r="center",icon:s,showClose:l=!1,open:i,defaultOpen:u=!1,onOpenChange:c,delayDuration:d=200})=>{let[p,f]=u1.default.useState(u),g=i??p,x=h=>{i===void 0&&f(h),c?.(h)};u1.default.useEffect(()=>{i!==void 0&&f(i)},[i]);let{box:b,glyph:m}=eb[o];return(0,to.jsx)(p5,{delayDuration:d,children:(0,to.jsxs)(m5,{open:g,onOpenChange:x,children:[(0,to.jsx)(h5,{asChild:!0,children:t}),(0,to.jsx)(g5,{children:(0,to.jsxs)(x5,{side:n,align:r,"aria-label":typeof e=="string"?e:void 0,sideOffset:8,collisionPadding:8,className:R("z-ds-overlay flex max-w-xs items-center gap-ds-2xs rounded-ds-md",b,Qy[a]),children:[s!==void 0&&(0,to.jsx)("span",{"aria-hidden":!0,className:R("flex shrink-0 items-center",m),children:s}),(0,to.jsx)("span",{className:"min-w-0",children:e}),l&&(0,to.jsx)("button",{type:"button","aria-label":"Tutup",onClick:()=>x(!1),className:qc,children:(0,to.jsx)(Q,{name:"x",className:m})}),(0,to.jsx)(y5,{width:12,height:8,className:Jy[a]})]})})]})})};ld.displayName="Tooltip";var Rs=C(I());var Ue=C(I(),1);var He=C(E(),1),sp="Dialog",[b5,kne]=Xt(sp),[dN,Oo]=b5(sp),v5=e=>{let{__scopeDialog:t,children:a,open:o,defaultOpen:n,onOpenChange:r,modal:s=!0}=e,l=Ue.useRef(null),i=Ue.useRef(null),[u,c]=Ao({prop:o,defaultProp:n??!1,onChange:r,caller:sp});return(0,He.jsx)(dN,{scope:t,triggerRef:l,contentRef:i,contentId:jt(),titleId:jt(),descriptionId:jt(),open:u,onOpenChange:c,onOpenToggle:Ue.useCallback(()=>c(d=>!d),[c]),modal:s,children:a})};v5.displayName=sp;var C5="DialogTrigger",cN=Ue.forwardRef((e,t)=>{let{__scopeDialog:a,...o}=e,n=Oo(C5,a),r=Me(t,n.triggerRef);return(0,He.jsx)(Se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":f1(n.open),...o,ref:r,onClick:Z(e.onClick,n.onOpenToggle)})});cN.displayName=C5;var d1="DialogPortal",[fN,S5]=b5(d1,{forceMount:void 0}),w5=e=>{let{__scopeDialog:t,forceMount:a,children:o,container:n}=e,r=Oo(d1,t);return(0,He.jsx)(fN,{scope:t,forceMount:a,children:Ue.Children.map(o,s=>(0,He.jsx)($t,{present:a||r.open,children:(0,He.jsx)(Cn,{asChild:!0,container:n,children:s})}))})};w5.displayName=d1;var rp="DialogOverlay",L5=Ue.forwardRef((e,t)=>{let a=S5(rp,e.__scopeDialog),{forceMount:o=a.forceMount,...n}=e,r=Oo(rp,e.__scopeDialog);return r.modal?(0,He.jsx)($t,{present:o||r.open,children:(0,He.jsx)(mN,{...n,ref:t})}):null});L5.displayName=rp;var pN=Lo("DialogOverlay.RemoveScroll"),mN=Ue.forwardRef((e,t)=>{let{__scopeDialog:a,...o}=e,n=Oo(rp,a);return(0,He.jsx)(vs,{as:pN,allowPinchZoom:!0,shards:[n.contentRef],children:(0,He.jsx)(Se.div,{"data-state":f1(n.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),Ls="DialogContent",R5=Ue.forwardRef((e,t)=>{let a=S5(Ls,e.__scopeDialog),{forceMount:o=a.forceMount,...n}=e,r=Oo(Ls,e.__scopeDialog);return(0,He.jsx)($t,{present:o||r.open,children:r.modal?(0,He.jsx)(hN,{...n,ref:t}):(0,He.jsx)(gN,{...n,ref:t})})});R5.displayName=Ls;var hN=Ue.forwardRef((e,t)=>{let a=Oo(Ls,e.__scopeDialog),o=Ue.useRef(null),n=Me(t,a.contentRef,o);return Ue.useEffect(()=>{let r=o.current;if(r)return Ml(r)},[]),(0,He.jsx)(T5,{...e,ref:n,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Z(e.onCloseAutoFocus,r=>{r.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:Z(e.onPointerDownOutside,r=>{let s=r.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0;(s.button===2||l)&&r.preventDefault()}),onFocusOutside:Z(e.onFocusOutside,r=>r.preventDefault())})}),gN=Ue.forwardRef((e,t)=>{let a=Oo(Ls,e.__scopeDialog),o=Ue.useRef(!1),n=Ue.useRef(!1);return(0,He.jsx)(T5,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(o.current||a.triggerRef.current?.focus(),r.preventDefault()),o.current=!1,n.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(o.current=!0,r.detail.originalEvent.type==="pointerdown"&&(n.current=!0));let s=r.target;a.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&n.current&&r.preventDefault()}})}),T5=Ue.forwardRef((e,t)=>{let{__scopeDialog:a,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:r,...s}=e,l=Oo(Ls,a),i=Ue.useRef(null),u=Me(t,i);return wl(),(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)(is,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:r,children:(0,He.jsx)(yn,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":f1(l.open),...s,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)(xN,{titleId:l.titleId}),(0,He.jsx)(bN,{contentRef:i,descriptionId:l.descriptionId})]})]})}),c1="DialogTitle",E5=Ue.forwardRef((e,t)=>{let{__scopeDialog:a,...o}=e,n=Oo(c1,a);return(0,He.jsx)(Se.h2,{id:n.titleId,...o,ref:t})});E5.displayName=c1;var I5="DialogDescription",A5=Ue.forwardRef((e,t)=>{let{__scopeDialog:a,...o}=e,n=Oo(I5,a);return(0,He.jsx)(Se.p,{id:n.descriptionId,...o,ref:t})});A5.displayName=I5;var M5="DialogClose",O5=Ue.forwardRef((e,t)=>{let{__scopeDialog:a,...o}=e,n=Oo(M5,a);return(0,He.jsx)(Se.button,{type:"button",...o,ref:t,onClick:Z(e.onClick,()=>n.onOpenChange(!1))})});O5.displayName=M5;function f1(e){return e?"open":"closed"}var D5="DialogTitleWarning",[Pne,_5]=dS(D5,{contentName:Ls,titleName:c1,docsSlug:"dialog"}),xN=({titleId:e})=>{let t=_5(D5),a=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
50
+
51
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
52
+
53
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return Ue.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},yN="DialogDescriptionWarning",bN=({contentRef:e,descriptionId:t})=>{let o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${_5(yN).contentName}}.`;return Ue.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},lp=v5;var ip=w5,up=L5,dp=R5,id=E5,k5=A5,cp=O5;var Da=C(E()),p1=({open:e,onOpenChange:t,children:a,title:o,label:n,description:r,size:s="medium",centered:l=!1,side:i="none",showCloseButton:u=!1,closeLabel:c="Tutup",className:d,onCloseAutoFocus:p,...f})=>{let g=!l&&i==="none",x=vN({enabled:e&&g,onDismiss:()=>t(!1)});return(0,Da.jsx)(lp,{open:e,onOpenChange:t,children:(0,Da.jsxs)(ip,{children:[(0,Da.jsx)(up,{className:A6,style:x.offset>0?{opacity:Math.max(0,1-x.offset/300)}:void 0}),(0,Da.jsxs)(dp,{...f,"aria-modal":"true",...r===void 0?{"aria-describedby":void 0}:{},onCloseAutoFocus:p,className:R(M6,i!=="none"?Jf[i]:l?Jf.centered:Jf.sheet,O6[s],d),style:{translate:x.offset>0?`0 ${x.offset}px`:void 0,transition:x.isDragging?"none":"translate 200ms ease-out"},children:[o===void 0?(0,Da.jsx)(id,{className:"sr-only",children:n}):null,g&&(0,Da.jsx)("div",{...x.handleProps,"data-dialog-handle":!0,className:D6,children:(0,Da.jsx)("span",{className:_6,"aria-hidden":!0})}),o!==void 0&&(0,Da.jsx)(id,{className:"px-6 pt-4 text-xl font-bold text-default-primary md:pt-6",children:o}),r!==void 0&&(0,Da.jsx)(k5,{className:"sr-only",children:r}),u&&(0,Da.jsx)(cp,{"aria-label":c,className:k6,children:(0,Da.jsx)(Q,{name:"x",className:"h-5 w-5"})}),a]})]})})};p1.displayName="Dialog";var fp=100,vN=({enabled:e,onDismiss:t})=>{let[a,o]=Rs.default.useState(0),[n,r]=Rs.default.useState(!1),s=Rs.default.useRef(0),l=Rs.default.useRef(0),i=Rs.default.useRef(!1);return Rs.default.useEffect(()=>{e&&(i.current=!1,l.current=0,o(0),r(!1))},[e]),{offset:a,isDragging:n,handleProps:{onPointerDown:f=>{e&&(f.target.setPointerCapture(f.pointerId),s.current=f.clientY,l.current=0,i.current=!0,r(!0))},onPointerMove:f=>{if(!e||!i.current)return;let g=f.clientY-s.current;if(g<=0){l.current=0,o(0);return}let x=g<fp?g:fp+Math.sqrt(g-fp)*8;l.current=x,o(x)},onPointerUp:f=>{!e||!i.current||(f.target.releasePointerCapture(f.pointerId),i.current=!1,r(!1),l.current>=fp?(t(),setTimeout(()=>o(0),300)):o(0),l.current=0)},onPointerCancel:()=>{i.current&&(i.current=!1,r(!1),o(0),l.current=0)}}}};var x1=C(I());var m1=Fc.Header.axes.type,N5="w-full shrink-0 px-4 py-2 transition-all duration-300 md:px-6 md:py-3",B5={nonLogin:"bg-default-primary text-default-primary",nonLoginBlack:"bg-default-invert text-default-invert",login:"bg-default-primary text-default-primary border-b border-border-light",temanAiLearn:"bg-weak-brand text-default-primary border-b border-default-brand",temanAiChat:"bg-default-primary text-default-primary backdrop-blur-sm",dashboard:"bg-default-secondary text-default-primary border-b border-border-light",detailPage:"bg-default-primary text-default-primary border-b border-default-primary"},h1={idle:"shadow-none",scrolled:"shadow-sm"},H5="mx-auto flex w-full max-w-4xl items-center justify-between gap-3",g1=`flex shrink-0 items-center gap-2 rounded-full border border-border-light px-3 py-1.5 text-sm font-medium transition-colors hover:bg-hover-neutral ${ue.control}`,F5="min-w-0 truncate text-base font-medium md:text-lg",z5="flex shrink-0 items-center gap-2",G5="mx-auto flex w-full max-w-4xl items-center gap-4 overflow-x-auto pt-2 md:pt-3";var $o=C(E()),V5=({type:e="nonLogin",title:t,showTextLeft:a=!1,showBack:o=!1,backLabel:n="Back",onBack:r,back:s,showTab:l=!1,tabs:i,actions:u,scrolled:c=!1,className:d})=>{let p={"data-header-back":"","aria-label":n,className:g1},f=()=>{if(typeof s=="function")return s(p);if(x1.default.isValidElement(s)){let g=s.props.className;return x1.default.cloneElement(s,{...p,className:R(g1,g)})}return(0,$o.jsx)("button",{type:"button",...p,onClick:r,children:(0,$o.jsx)("span",{"aria-hidden":"true",children:"\u2190"})})};return(0,$o.jsxs)("header",{"data-header":e,className:R(N5,B5[e],c?h1.scrolled:h1.idle,d),children:[(0,$o.jsxs)("div",{className:H5,children:[(0,$o.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[o&&f(),a&&t!==void 0&&(0,$o.jsx)("span",{"data-header-title":"",className:F5,children:t})]}),Jn(u)&&(0,$o.jsx)("div",{"data-header-actions":"",className:z5,children:u})]}),l&&Jn(i)&&(0,$o.jsx)("div",{"data-header-tabs":"",className:G5,children:i})]})};var Lt=C(I(),1);var X=C(I(),1);var xr=C(I(),1);var pp=C(E(),1),CN=C(I(),1);var SN=C(E(),1);function mp(e){let t=e+"CollectionProvider",[a,o]=Xt(t),[n,r]=a(t,{collectionRef:{current:null},itemMap:new Map}),s=x=>{let{scope:b,children:m}=x,h=xr.default.useRef(null),y=xr.default.useRef(new Map).current;return(0,pp.jsx)(n,{scope:b,itemMap:y,collectionRef:h,children:m})};s.displayName=t;let l=e+"CollectionSlot",i=Lo(l),u=xr.default.forwardRef((x,b)=>{let{scope:m,children:h}=x,y=r(l,m),v=Me(b,y.collectionRef);return(0,pp.jsx)(i,{ref:v,children:h})});u.displayName=l;let c=e+"CollectionItemSlot",d="data-radix-collection-item",p=Lo(c),f=xr.default.forwardRef((x,b)=>{let{scope:m,children:h,...y}=x,v=xr.default.useRef(null),S=Me(b,v),w=r(c,m);return xr.default.useEffect(()=>(w.itemMap.set(v,{ref:v,...y}),()=>void w.itemMap.delete(v))),(0,pp.jsx)(p,{[d]:"",ref:S,children:h})});f.displayName=c;function g(x){let b=r(e+"CollectionConsumer",x);return xr.default.useCallback(()=>{let h=b.collectionRef.current;if(!h)return[];let y=Array.from(h.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((w,L)=>y.indexOf(w.ref.current)-y.indexOf(L.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:s,Slot:u,ItemSlot:f},g,o]}var hp=C(I(),1),wN=C(E(),1),LN=hp.createContext(void 0);function gp(e){let t=hp.useContext(LN);return e||t||"ltr"}var Dt=C(I(),1);var yr=C(E(),1),y1="rovingFocusGroup.onEntryFocus",RN={bubbles:!1,cancelable:!0},ud="RovingFocusGroup",[b1,U5,TN]=mp(ud),[EN,v1]=Xt(ud,[TN]),[IN,AN]=EN(ud),q5=Dt.forwardRef((e,t)=>(0,yr.jsx)(b1.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,yr.jsx)(b1.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,yr.jsx)(MN,{...e,ref:t})})}));q5.displayName=ud;var MN=Dt.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:a,orientation:o,loop:n=!1,dir:r,currentTabStopId:s,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:i,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...d}=e,p=Dt.useRef(null),f=Me(t,p),g=gp(r),[x,b]=Ao({prop:s,defaultProp:l??null,onChange:i,caller:ud}),[m,h]=Dt.useState(!1),y=Zt(u),v=U5(a),S=Dt.useRef(!1),[w,L]=Dt.useState(0);return Dt.useEffect(()=>{let T=p.current;if(T)return T.addEventListener(y1,y),()=>T.removeEventListener(y1,y)},[y]),(0,yr.jsx)(IN,{scope:a,orientation:o,dir:g,loop:n,currentTabStopId:x,onItemFocus:Dt.useCallback(T=>b(T),[b]),onItemShiftTab:Dt.useCallback(()=>h(!0),[]),onFocusableItemAdd:Dt.useCallback(()=>L(T=>T+1),[]),onFocusableItemRemove:Dt.useCallback(()=>L(T=>T-1),[]),children:(0,yr.jsx)(Se.div,{tabIndex:m||w===0?-1:0,"data-orientation":o,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:Z(e.onMouseDown,()=>{S.current=!0}),onFocus:Z(e.onFocus,T=>{let A=!S.current;if(T.target===T.currentTarget&&A&&!m){let O=new CustomEvent(y1,RN);if(T.currentTarget.dispatchEvent(O),!O.defaultPrevented){let B=v().filter(F=>F.focusable),P=B.find(F=>F.active),U=B.find(F=>F.id===x),ee=[P,U,...B].filter(Boolean).map(F=>F.ref.current);K5(ee,c)}}S.current=!1}),onBlur:Z(e.onBlur,()=>h(!1))})})}),W5="RovingFocusGroupItem",Y5=Dt.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:a,focusable:o=!0,active:n=!1,tabStopId:r,children:s,...l}=e,i=jt(),u=r||i,c=AN(W5,a),d=c.currentTabStopId===u,p=U5(a),{onFocusableItemAdd:f,onFocusableItemRemove:g,currentTabStopId:x}=c;return Dt.useEffect(()=>{if(o)return f(),()=>g()},[o,f,g]),(0,yr.jsx)(b1.ItemSlot,{scope:a,id:u,focusable:o,active:n,children:(0,yr.jsx)(Se.span,{tabIndex:d?0:-1,"data-orientation":c.orientation,...l,ref:t,onMouseDown:Z(e.onMouseDown,b=>{o?c.onItemFocus(u):b.preventDefault()}),onFocus:Z(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:Z(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){c.onItemShiftTab();return}if(b.target!==b.currentTarget)return;let m=_N(b,c.orientation,c.dir);if(m!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let y=p().filter(v=>v.focusable).map(v=>v.ref.current);if(m==="last")y.reverse();else if(m==="prev"||m==="next"){m==="prev"&&y.reverse();let v=y.indexOf(b.currentTarget);y=c.loop?kN(y,v+1):y.slice(v+1)}setTimeout(()=>K5(y))}}),children:typeof s=="function"?s({isCurrentTabStop:d,hasTabStop:x!=null}):s})})});Y5.displayName=W5;var ON={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function DN(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function _N(e,t,a){let o=DN(e.key,a);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return ON[o]}function K5(e,t=!1){let a=document.activeElement;for(let o of e)if(o===a||(o.focus({preventScroll:t}),document.activeElement!==a))return}function kN(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var X5=q5,Z5=Y5;var fe=C(E(),1),C1=["Enter"," "],NN=["ArrowDown","PageUp","Home"],$5=["ArrowUp","PageDown","End"],BN=[...NN,...$5],HN={ltr:[...C1,"ArrowRight"],rtl:[...C1,"ArrowLeft"]},FN={ltr:["ArrowLeft"],rtl:["ArrowRight"]},pd="Menu",[cd,zN,GN]=mp(pd),[Ts,S1]=Xt(pd,[GN,vn,v1]),md=vn(),Q5=v1(),[J5,br]=Ts(pd),[VN,hd]=Ts(pd),e4=e=>{let{__scopeMenu:t,open:a=!1,children:o,dir:n,onOpenChange:r,modal:s=!0}=e,l=md(t),[i,u]=X.useState(null),c=X.useRef(!1),d=Zt(r),p=gp(n);return X.useEffect(()=>{let f=()=>{c.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>c.current=!1;return document.addEventListener("keydown",f,{capture:!0}),()=>{document.removeEventListener("keydown",f,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),(0,fe.jsx)(hs,{...l,children:(0,fe.jsx)(J5,{scope:t,open:a,onOpenChange:d,content:i,onContentChange:u,children:(0,fe.jsx)(VN,{scope:t,onClose:X.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:c,dir:p,modal:s,children:o})})})};e4.displayName=pd;var UN="MenuAnchor",w1=X.forwardRef((e,t)=>{let{__scopeMenu:a,...o}=e,n=md(a);return(0,fe.jsx)(gs,{...n,...o,ref:t})});w1.displayName=UN;var L1="MenuPortal",[qN,t4]=Ts(L1,{forceMount:void 0}),a4=e=>{let{__scopeMenu:t,forceMount:a,children:o,container:n}=e,r=br(L1,t);return(0,fe.jsx)(qN,{scope:t,forceMount:a,children:(0,fe.jsx)($t,{present:a||r.open,children:(0,fe.jsx)(Cn,{asChild:!0,container:n,children:o})})})};a4.displayName=L1;var ao="MenuContent",[WN,R1]=Ts(ao),o4=X.forwardRef((e,t)=>{let a=t4(ao,e.__scopeMenu),{forceMount:o=a.forceMount,...n}=e,r=br(ao,e.__scopeMenu),s=hd(ao,e.__scopeMenu);return(0,fe.jsx)(cd.Provider,{scope:e.__scopeMenu,children:(0,fe.jsx)($t,{present:o||r.open,children:(0,fe.jsx)(cd.Slot,{scope:e.__scopeMenu,children:s.modal?(0,fe.jsx)(YN,{...n,ref:t}):(0,fe.jsx)(KN,{...n,ref:t})})})})}),YN=X.forwardRef((e,t)=>{let a=br(ao,e.__scopeMenu),o=X.useRef(null),n=Me(t,o);return X.useEffect(()=>{let r=o.current;if(r)return Ml(r)},[]),(0,fe.jsx)(T1,{...e,ref:n,trapFocus:a.open,disableOutsidePointerEvents:a.open,disableOutsideScroll:!0,onFocusOutside:Z(e.onFocusOutside,r=>r.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)})}),KN=X.forwardRef((e,t)=>{let a=br(ao,e.__scopeMenu);return(0,fe.jsx)(T1,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})}),XN=Lo("MenuContent.ScrollLock"),T1=X.forwardRef((e,t)=>{let{__scopeMenu:a,loop:o=!1,trapFocus:n,onOpenAutoFocus:r,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEntryFocus:i,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,onDismiss:f,disableOutsideScroll:g,...x}=e,b=br(ao,a),m=hd(ao,a),h=md(a),y=Q5(a),v=zN(a),[S,w]=X.useState(null),L=X.useRef(null),T=Me(t,L,b.onContentChange),A=X.useRef(0),O=X.useRef(""),B=X.useRef(0),P=X.useRef(null),U=X.useRef("right"),V=X.useRef(0),ee=g?vs:X.Fragment,F=g?{as:XN,allowPinchZoom:!0}:void 0,q=k=>{let W=O.current+k,J=v().filter(be=>!be.disabled),Ve=document.activeElement,j=J.find(be=>be.ref.current===Ve)?.textValue,pe=J.map(be=>be.textValue),te=sB(pe,W,j),de=J.find(be=>be.textValue===te)?.ref.current;(function be(ye){O.current=ye,window.clearTimeout(A.current),ye!==""&&(A.current=window.setTimeout(()=>be(""),1e3))})(W),de&&setTimeout(()=>de.focus())};X.useEffect(()=>()=>window.clearTimeout(A.current),[]),wl();let N=X.useCallback(k=>U.current===P.current?.side&&iB(k,P.current?.area),[]);return(0,fe.jsx)(WN,{scope:a,searchRef:O,onItemEnter:X.useCallback(k=>{N(k)&&k.preventDefault()},[N]),onItemLeave:X.useCallback(k=>{N(k)||(L.current?.focus(),w(null))},[N]),onTriggerLeave:X.useCallback(k=>{N(k)&&k.preventDefault()},[N]),pointerGraceTimerRef:B,onPointerGraceIntentChange:X.useCallback(k=>{P.current=k},[]),children:(0,fe.jsx)(ee,{...F,children:(0,fe.jsx)(is,{asChild:!0,trapped:n,onMountAutoFocus:Z(r,k=>{k.preventDefault(),L.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,fe.jsx)(yn,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,onDismiss:f,children:(0,fe.jsx)(X5,{asChild:!0,...y,dir:m.dir,orientation:"vertical",loop:o,currentTabStopId:S,onCurrentTabStopIdChange:w,onEntryFocus:Z(i,k=>{m.isUsingKeyboardRef.current||k.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,fe.jsx)(El,{role:"menu","aria-orientation":"vertical","data-state":v4(b.open),"data-radix-menu-content":"",dir:m.dir,...h,...x,ref:T,style:{outline:"none",...x.style},onKeyDown:Z(x.onKeyDown,k=>{let J=k.target.closest("[data-radix-menu-content]")===k.currentTarget,Ve=k.ctrlKey||k.altKey||k.metaKey,j=k.key.length===1;J&&(k.key==="Tab"&&k.preventDefault(),!Ve&&j&&q(k.key));let pe=L.current;if(k.target!==pe||!BN.includes(k.key))return;k.preventDefault();let de=v().filter(be=>!be.disabled).map(be=>be.ref.current);$5.includes(k.key)&&de.reverse(),nB(de)}),onBlur:Z(e.onBlur,k=>{k.currentTarget.contains(k.target)||(window.clearTimeout(A.current),O.current="")}),onPointerMove:Z(e.onPointerMove,fd(k=>{let W=k.target,J=V.current!==k.clientX;if(k.currentTarget.contains(W)&&J){let Ve=k.clientX>V.current?"right":"left";U.current=Ve,V.current=k.clientX}}))})})})})})})});o4.displayName=ao;var ZN="MenuGroup",E1=X.forwardRef((e,t)=>{let{__scopeMenu:a,...o}=e;return(0,fe.jsx)(Se.div,{role:"group",...o,ref:t})});E1.displayName=ZN;var jN="MenuLabel",n4=X.forwardRef((e,t)=>{let{__scopeMenu:a,...o}=e;return(0,fe.jsx)(Se.div,{...o,ref:t})});n4.displayName=jN;var xp="MenuItem",j5="menu.itemSelect",bp=X.forwardRef((e,t)=>{let{disabled:a=!1,onSelect:o,...n}=e,r=X.useRef(null),s=hd(xp,e.__scopeMenu),l=R1(xp,e.__scopeMenu),i=Me(t,r),u=X.useRef(!1),c=()=>{let d=r.current;if(!a&&d){let p=new CustomEvent(j5,{bubbles:!0,cancelable:!0});d.addEventListener(j5,f=>o?.(f),{once:!0}),Ef(d,p),p.defaultPrevented?u.current=!1:s.onClose()}};return(0,fe.jsx)(r4,{...n,ref:i,disabled:a,onClick:Z(e.onClick,c),onPointerDown:d=>{e.onPointerDown?.(d),u.current=!0},onPointerUp:Z(e.onPointerUp,d=>{u.current||d.currentTarget?.click()}),onKeyDown:Z(e.onKeyDown,d=>{let p=l.searchRef.current!=="";a||p&&d.key===" "||C1.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});bp.displayName=xp;var r4=X.forwardRef((e,t)=>{let{__scopeMenu:a,disabled:o=!1,textValue:n,...r}=e,s=R1(xp,a),l=Q5(a),i=X.useRef(null),u=Me(t,i),[c,d]=X.useState(!1),[p,f]=X.useState("");return X.useEffect(()=>{let g=i.current;g&&f((g.textContent??"").trim())},[r.children]),(0,fe.jsx)(cd.ItemSlot,{scope:a,disabled:o,textValue:n??p,children:(0,fe.jsx)(Z5,{asChild:!0,...l,focusable:!o,children:(0,fe.jsx)(Se.div,{role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...r,ref:u,onPointerMove:Z(e.onPointerMove,fd(g=>{o?s.onItemLeave(g):(s.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Z(e.onPointerLeave,fd(g=>s.onItemLeave(g))),onFocus:Z(e.onFocus,()=>d(!0)),onBlur:Z(e.onBlur,()=>d(!1))})})})}),$N="MenuCheckboxItem",s4=X.forwardRef((e,t)=>{let{checked:a=!1,onCheckedChange:o,...n}=e;return(0,fe.jsx)(c4,{scope:e.__scopeMenu,checked:a,children:(0,fe.jsx)(bp,{role:"menuitemcheckbox","aria-checked":yp(a)?"mixed":a,...n,ref:t,"data-state":M1(a),onSelect:Z(n.onSelect,()=>o?.(yp(a)?!0:!a),{checkForDefaultPrevented:!1})})})});s4.displayName=$N;var l4="MenuRadioGroup",[QN,JN]=Ts(l4,{value:void 0,onValueChange:()=>{}}),i4=X.forwardRef((e,t)=>{let{value:a,onValueChange:o,...n}=e,r=Zt(o);return(0,fe.jsx)(QN,{scope:e.__scopeMenu,value:a,onValueChange:r,children:(0,fe.jsx)(E1,{...n,ref:t})})});i4.displayName=l4;var u4="MenuRadioItem",d4=X.forwardRef((e,t)=>{let{value:a,...o}=e,n=JN(u4,e.__scopeMenu),r=a===n.value;return(0,fe.jsx)(c4,{scope:e.__scopeMenu,checked:r,children:(0,fe.jsx)(bp,{role:"menuitemradio","aria-checked":r,...o,ref:t,"data-state":M1(r),onSelect:Z(o.onSelect,()=>n.onValueChange?.(a),{checkForDefaultPrevented:!1})})})});d4.displayName=u4;var I1="MenuItemIndicator",[c4,eB]=Ts(I1,{checked:!1}),f4=X.forwardRef((e,t)=>{let{__scopeMenu:a,forceMount:o,...n}=e,r=eB(I1,a);return(0,fe.jsx)($t,{present:o||yp(r.checked)||r.checked===!0,children:(0,fe.jsx)(Se.span,{...n,ref:t,"data-state":M1(r.checked)})})});f4.displayName=I1;var tB="MenuSeparator",p4=X.forwardRef((e,t)=>{let{__scopeMenu:a,...o}=e;return(0,fe.jsx)(Se.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});p4.displayName=tB;var aB="MenuArrow",m4=X.forwardRef((e,t)=>{let{__scopeMenu:a,...o}=e,n=md(a);return(0,fe.jsx)(Il,{...n,...o,ref:t})});m4.displayName=aB;var A1="MenuSub",[oB,h4]=Ts(A1),g4=e=>{let{__scopeMenu:t,children:a,open:o=!1,onOpenChange:n}=e,r=br(A1,t),s=md(t),[l,i]=X.useState(null),[u,c]=X.useState(null),d=Zt(n);return X.useEffect(()=>(r.open===!1&&d(!1),()=>d(!1)),[r.open,d]),(0,fe.jsx)(hs,{...s,children:(0,fe.jsx)(J5,{scope:t,open:o,onOpenChange:d,content:u,onContentChange:c,children:(0,fe.jsx)(oB,{scope:t,contentId:jt(),triggerId:jt(),trigger:l,onTriggerChange:i,children:a})})})};g4.displayName=A1;var dd="MenuSubTrigger",x4=X.forwardRef((e,t)=>{let a=br(dd,e.__scopeMenu),o=hd(dd,e.__scopeMenu),n=h4(dd,e.__scopeMenu),r=R1(dd,e.__scopeMenu),s=X.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:i}=r,u={__scopeMenu:e.__scopeMenu},c=X.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return X.useEffect(()=>c,[c]),X.useEffect(()=>{let d=l.current;return()=>{window.clearTimeout(d),i(null)}},[l,i]),(0,fe.jsx)(w1,{asChild:!0,...u,children:(0,fe.jsx)(r4,{id:n.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":n.contentId,"data-state":v4(a.open),...e,ref:ls(t,n.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),a.open||a.onOpenChange(!0))},onPointerMove:Z(e.onPointerMove,fd(d=>{r.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!a.open&&!s.current&&(r.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{a.onOpenChange(!0),c()},100))})),onPointerLeave:Z(e.onPointerLeave,fd(d=>{c();let p=a.content?.getBoundingClientRect();if(p){let f=a.content?.dataset.side,g=f==="right",x=g?-5:5,b=p[g?"left":"right"],m=p[g?"right":"left"];r.onPointerGraceIntentChange({area:[{x:d.clientX+x,y:d.clientY},{x:b,y:p.top},{x:m,y:p.top},{x:m,y:p.bottom},{x:b,y:p.bottom}],side:f}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>r.onPointerGraceIntentChange(null),300)}else{if(r.onTriggerLeave(d),d.defaultPrevented)return;r.onPointerGraceIntentChange(null)}})),onKeyDown:Z(e.onKeyDown,d=>{let p=r.searchRef.current!=="";e.disabled||p&&d.key===" "||HN[o.dir].includes(d.key)&&(a.onOpenChange(!0),a.content?.focus(),d.preventDefault())})})})});x4.displayName=dd;var y4="MenuSubContent",b4=X.forwardRef((e,t)=>{let a=t4(ao,e.__scopeMenu),{forceMount:o=a.forceMount,...n}=e,r=br(ao,e.__scopeMenu),s=hd(ao,e.__scopeMenu),l=h4(y4,e.__scopeMenu),i=X.useRef(null),u=Me(t,i);return(0,fe.jsx)(cd.Provider,{scope:e.__scopeMenu,children:(0,fe.jsx)($t,{present:o||r.open,children:(0,fe.jsx)(cd.Slot,{scope:e.__scopeMenu,children:(0,fe.jsx)(T1,{id:l.contentId,"aria-labelledby":l.triggerId,...n,ref:u,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:c=>{s.isUsingKeyboardRef.current&&i.current?.focus(),c.preventDefault()},onCloseAutoFocus:c=>c.preventDefault(),onFocusOutside:Z(e.onFocusOutside,c=>{c.target!==l.trigger&&r.onOpenChange(!1)}),onEscapeKeyDown:Z(e.onEscapeKeyDown,c=>{s.onClose(),c.preventDefault()}),onKeyDown:Z(e.onKeyDown,c=>{let d=c.currentTarget.contains(c.target),p=FN[s.dir].includes(c.key);d&&p&&(r.onOpenChange(!1),l.trigger?.focus(),c.preventDefault())})})})})})});b4.displayName=y4;function v4(e){return e?"open":"closed"}function yp(e){return e==="indeterminate"}function M1(e){return yp(e)?"indeterminate":e?"checked":"unchecked"}function nB(e){let t=document.activeElement;for(let a of e)if(a===t||(a.focus(),document.activeElement!==t))return}function rB(e,t){return e.map((a,o)=>e[(t+o)%e.length])}function sB(e,t,a){let n=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,r=a?e.indexOf(a):-1,s=rB(e,Math.max(r,0));n.length===1&&(s=s.filter(u=>u!==a));let i=s.find(u=>u.toLowerCase().startsWith(n.toLowerCase()));return i!==a?i:void 0}function lB(e,t){let{x:a,y:o}=e,n=!1;for(let r=0,s=t.length-1;r<t.length;s=r++){let l=t[r],i=t[s],u=l.x,c=l.y,d=i.x,p=i.y;c>o!=p>o&&a<(d-u)*(o-c)/(p-c)+u&&(n=!n)}return n}function iB(e,t){if(!t)return!1;let a={x:e.clientX,y:e.clientY};return lB(a,t)}function fd(e){return t=>t.pointerType==="mouse"?e(t):void 0}var C4=e4,S4=w1,w4=a4,L4=o4,R4=E1,T4=n4,E4=bp,I4=s4,A4=i4,M4=d4,O4=f4,D4=p4,_4=m4,k4=g4,P4=x4,N4=b4;var wt=C(E(),1),vp="DropdownMenu",[dB,Fre]=Xt(vp,[S1]),Jt=S1(),[cB,B4]=dB(vp),H4=e=>{let{__scopeDropdownMenu:t,children:a,dir:o,open:n,defaultOpen:r,onOpenChange:s,modal:l=!0}=e,i=Jt(t),u=Lt.useRef(null),[c,d]=Ao({prop:n,defaultProp:r??!1,onChange:s,caller:vp});return(0,wt.jsx)(cB,{scope:t,triggerId:jt(),triggerRef:u,contentId:jt(),open:c,onOpenChange:d,onOpenToggle:Lt.useCallback(()=>d(p=>!p),[d]),modal:l,children:(0,wt.jsx)(C4,{...i,open:c,onOpenChange:d,dir:o,modal:l,children:a})})};H4.displayName=vp;var F4="DropdownMenuTrigger",z4=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,disabled:o=!1,...n}=e,r=B4(F4,a),s=Jt(a);return(0,wt.jsx)(S4,{asChild:!0,...s,children:(0,wt.jsx)(Se.button,{type:"button",id:r.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":r.open?r.contentId:void 0,"data-state":r.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...n,ref:ls(t,r.triggerRef),onPointerDown:Z(e.onPointerDown,l=>{!o&&l.button===0&&l.ctrlKey===!1&&(r.onOpenToggle(),r.open||l.preventDefault())}),onKeyDown:Z(e.onKeyDown,l=>{o||(["Enter"," "].includes(l.key)&&r.onOpenToggle(),l.key==="ArrowDown"&&r.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});z4.displayName=F4;var fB="DropdownMenuPortal",G4=e=>{let{__scopeDropdownMenu:t,...a}=e,o=Jt(t);return(0,wt.jsx)(w4,{...o,...a})};G4.displayName=fB;var V4="DropdownMenuContent",U4=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=B4(V4,a),r=Jt(a),s=Lt.useRef(!1);return(0,wt.jsx)(L4,{id:n.contentId,"aria-labelledby":n.triggerId,...r,...o,ref:t,onCloseAutoFocus:Z(e.onCloseAutoFocus,l=>{s.current||n.triggerRef.current?.focus(),s.current=!1,l.preventDefault()}),onInteractOutside:Z(e.onInteractOutside,l=>{let i=l.detail.originalEvent,u=i.button===0&&i.ctrlKey===!0,c=i.button===2||u;(!n.modal||c)&&(s.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)"}})});U4.displayName=V4;var pB="DropdownMenuGroup",mB=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(R4,{...n,...o,ref:t})});mB.displayName=pB;var hB="DropdownMenuLabel",gB=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(T4,{...n,...o,ref:t})});gB.displayName=hB;var xB="DropdownMenuItem",q4=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(E4,{...n,...o,ref:t})});q4.displayName=xB;var yB="DropdownMenuCheckboxItem",W4=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(I4,{...n,...o,ref:t})});W4.displayName=yB;var bB="DropdownMenuRadioGroup",vB=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(A4,{...n,...o,ref:t})});vB.displayName=bB;var CB="DropdownMenuRadioItem",SB=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(M4,{...n,...o,ref:t})});SB.displayName=CB;var wB="DropdownMenuItemIndicator",LB=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(O4,{...n,...o,ref:t})});LB.displayName=wB;var RB="DropdownMenuSeparator",TB=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(D4,{...n,...o,ref:t})});TB.displayName=RB;var EB="DropdownMenuArrow",IB=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(_4,{...n,...o,ref:t})});IB.displayName=EB;var AB=e=>{let{__scopeDropdownMenu:t,children:a,open:o,onOpenChange:n,defaultOpen:r}=e,s=Jt(t),[l,i]=Ao({prop:o,defaultProp:r??!1,onChange:n,caller:"DropdownMenuSub"});return(0,wt.jsx)(k4,{...s,open:l,onOpenChange:i,children:a})},MB="DropdownMenuSubTrigger",Y4=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(P4,{...n,...o,ref:t})});Y4.displayName=MB;var OB="DropdownMenuSubContent",K4=Lt.forwardRef((e,t)=>{let{__scopeDropdownMenu:a,...o}=e,n=Jt(a);return(0,wt.jsx)(N4,{...n,...o,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)"}})});K4.displayName=OB;var X4=H4,Z4=z4,O1=G4,j4=U4;var D1=q4,$4=W4;var Q4=AB,J4=Y4,e8=K4;var ht=C(E()),t8=(e,t,a)=>{let{id:o,label:n,icon:r,trailing:s,onSelect:l,disabled:i,checked:u,href:c,external:d,items:p,className:f,...g}=e,x=(0,ht.jsxs)(ht.Fragment,{children:[r!==void 0&&(0,ht.jsx)("span",{className:"flex h-5 w-5 shrink-0 items-center",children:r}),(0,ht.jsx)("span",{className:"flex-1 text-sm font-medium leading-5",children:n}),s!==void 0&&(0,ht.jsx)("span",{className:"flex shrink-0 items-center",children:s})]}),b={disabled:i,onSelect:l,...g};if(p!==void 0)return(0,ht.jsxs)(Q4,{children:[(0,ht.jsx)(J4,{disabled:i,...g,className:R(od[a],B6[a],f),children:x}),(0,ht.jsx)(O1,{children:(0,ht.jsx)(e8,{loop:!0,sideOffset:4,collisionPadding:8,className:H6[a],children:p.map(m=>t8(m,t,a))})})]},o);if(c!==void 0){let m=d===!0?"a":t;return(0,ht.jsx)(D1,{...b,asChild:!0,className:R(od[a],f),children:(0,ht.jsx)(m,{href:c,...d===!0?{target:"_blank",rel:"noopener noreferrer"}:{},children:x})},o)}return u===void 0?(0,ht.jsx)(D1,{...b,className:R(od[a],f),children:x},o):(0,ht.jsx)($4,{...b,checked:u,className:R(od[a],u&&N6,f),children:x},o)},_1=({trigger:e,items:t,label:a,open:o,onOpenChange:n,side:r="top",align:s="start",sideOffset:l=8,collisionPadding:i=8,linkComponent:u="a",variant:c="pill",className:d,...p})=>(0,ht.jsxs)(X4,{open:o,onOpenChange:n,modal:!1,children:[(0,ht.jsx)(Z4,{asChild:!0,...p,children:e}),(0,ht.jsx)(O1,{children:(0,ht.jsx)(j4,{"aria-label":a,loop:!0,side:r,align:s,sideOffset:l,collisionPadding:i,className:R(P6[c],d),children:t.map(f=>t8(f,u,c))})})]});_1.displayName="Menu";var a8=C(I());var k1=C(E()),gd=a8.default.forwardRef(({shape:e="text",className:t,...a},o)=>(0,k1.jsx)("div",{ref:o,"aria-hidden":!0,"data-skeleton":e,className:R(tb,ob[e],t),...a,children:(0,k1.jsx)("span",{"aria-hidden":!0,className:ab})}));gd.displayName="Skeleton";var Z8=C(I());var vr="inline-flex shrink-0 items-center",o8="inline-flex w-fit items-center gap-ds-4xs rounded-ds-full font-medium whitespace-nowrap",n8={primary:"bg-weak-brand text-default-brand",warning:"bg-weak-warning text-default-warning",success:"bg-weak-success text-default-success",danger:"bg-weak-error text-default-error",light:"bg-weak-neutral text-default-primary",bestseller:"bg-default-success text-default-invert",gradient:`${Ui} text-default-invert`},r8={xlarge:"px-ds-sm py-ds-2xs text-ds-paragraph-mobile",medium:"px-ds-xs py-ds-3xs text-ds-body-lg-mobile",small:"px-ds-2xs py-ds-5xs text-ds-body-md-mobile",micro:"px-ds-3xs py-ds-5xs text-ds-body-sm-mobile"},s8=`inline-flex w-fit items-center gap-ds-4xs rounded-ds-full border font-bold whitespace-nowrap transition-colors disabled:pointer-events-none disabled:opacity-60 ${ue.control}`,l8={default:"border-default-primary bg-default-primary text-default-primary hover:border-default-brand hover:text-default-brand",active:"border-default-brand bg-weak-brand text-default-brand"},i8={huge:"px-ds-xl py-ds-sm text-ds-paragraph-desktop",xlarge:"px-ds-md py-ds-xs text-ds-paragraph-mobile",large:"px-ds-sm py-ds-2xs text-ds-body-lg-desktop",medium:"px-ds-xs py-ds-2xs text-ds-body-lg-mobile",small:"px-ds-2xs py-ds-3xs text-ds-body-md-mobile",micro:"px-ds-3xs py-ds-5xs text-ds-body-sm-mobile"},u8="rounded-ds-2xl transition-shadow",d8={elevated:"bg-default-primary shadow-lg",outlined:"border border-default-primary bg-default-primary",plain:""},c8={none:"",small:"p-ds-md",medium:"p-ds-lg sm:p-ds-2xl",large:"p-ds-2xl sm:p-ds-3xl-mobile"},f8="relative",p8={horizontal:"my-ds-md w-full sm:my-ds-xl",vertical:"mx-ds-4xs self-stretch"},m8={horizontal:"w-full border-t border-default-primary",vertical:"h-full border-l border-default-primary"},h8={default:"border-solid",dashed:"border-dashed"},g8="bg-default-primary px-ds-md text-default-secondary",x8="flex items-stretch",y8=`flex flex-1 items-center justify-center gap-ds-sm border-solid transition-colors ${ue.control}`,b8={default:"border-b border-default-primary font-normal text-default-secondary hover:text-default-primary",active:"border-b-2 border-default-brand font-semibold text-default-brand"},v8={large:"px-ds-xl py-ds-2xs text-ds-h6-desktop",small:"px-ds-md py-ds-3xs text-ds-h6-mobile"},C8="inline-flex shrink-0 items-center justify-center rounded-ds-full bg-weak-error",S8={large:"px-ds-xs py-ds-4xs text-ds-body-md-mobile",small:"px-ds-2xs py-ds-4xs text-ds-body-sm-mobile"},w8={default:"text-default-primary",active:"text-default-brand"},L8={vertical:"flex flex-col gap-ds-4xs",horizontal:"flex flex-wrap gap-ds-2xs",bullet:"flex flex-col gap-ds-4xs"},R8="flex items-start gap-ds-2xs",T8="mt-ds-4xs h-ds-5xs w-ds-5xs shrink-0 rounded-ds-full bg-default-brand",E8="rounded-ds-md border border-default-primary bg-default-primary",I8=`cursor-pointer rounded-ds-md px-ds-sm py-ds-2xs font-bold text-default-primary marker:text-default-secondary ${ue.control}`,A8="px-ds-sm pb-ds-sm pt-ds-3xs",M8="flex items-center justify-center overflow-hidden bg-default-primary",O8={thumbnail:"aspect-square rounded-ds-md",banner:"aspect-[16/9] rounded-ds-lg",natural:"h-auto rounded-ds-md",avatar:"aspect-square rounded-full"},D8={regular:"w-full",small:"w-ds-4xl",blog:"w-ds-5xl-desktop"},_8="transition-opacity hover:opacity-90",k8="border border-dashed border-default-primary text-ds-body-lg-mobile text-default-secondary",P8="overflow-hidden rounded-ds-md",N8="flex items-center justify-between bg-default-invert text-default-invert",B8="block overflow-x-auto whitespace-pre-wrap bg-hover-invert font-mono text-default-invert",H8={large:"px-ds-sm py-ds-2xs text-ds-paragraph-mobile",small:"px-ds-2xs py-ds-3xs text-ds-body-lg-mobile"},F8=`inline-flex items-center gap-ds-4xs rounded-ds-xs px-ds-3xs text-ds-body-md-mobile hover:bg-hover-invert ${ue.control}`,z8="text-default-error",G8="flex",V8={horizontal:"flex-row items-start",vertical:"flex-col items-stretch"},U8={horizontal:"relative flex flex-1 flex-col items-center gap-ds-3xs",vertical:"relative flex flex-row items-start gap-ds-2xs pb-ds-sm"},q8="relative z-10 inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-ds-full border text-ds-body-lg-mobile font-bold",W8={default:"border-3 border-border-secondary text-default-secondary",current:"border-default-brand bg-default-brand text-default-invert",done:"border-default-brand bg-default-brand text-default-invert"},Y8={default:"text-ds-body-lg-mobile text-default-secondary",current:"text-ds-body-lg-mobile font-bold text-default-primary",done:"text-ds-body-lg-mobile text-default-primary"},K8={horizontal:"absolute right-[calc(50%+1.125rem)] top-[1.125rem] -translate-y-1/2 h-ds-5xs w-[calc(100%-2.25rem)]",vertical:"absolute bottom-full left-[1.125rem] -translate-x-1/2 h-[calc(100%-2.25rem)] w-ds-5xs"},X8={default:"bg-default-secondary",current:"bg-default-secondary",done:"bg-default-brand"};var xd=C(E()),Cp=Z8.default.forwardRef(({color:e="primary",size:t="medium",iconLeft:a,iconRight:o,children:n,className:r},s)=>(0,xd.jsxs)("span",{ref:s,className:R(o8,n8[e],r8[t],r),children:[a?(0,xd.jsx)("span",{"aria-hidden":!0,className:vr,children:a}):null,n,o?(0,xd.jsx)("span",{"aria-hidden":!0,className:vr,children:o}):null]}));Cp.displayName="Badge";var j8=C(I());var yd=C(E()),P1=j8.default.forwardRef(({state:e,size:t="medium",iconLeft:a,iconRight:o,children:n,className:r,...s},l)=>(0,yd.jsxs)("button",{...s,ref:l,type:"button","aria-pressed":e===void 0?void 0:e==="active",className:R(s8,l8[e??"default"],i8[t],r),children:[a?(0,yd.jsx)("span",{"aria-hidden":!0,className:vr,children:a}):null,n,o?(0,yd.jsx)("span",{"aria-hidden":!0,className:vr,children:o}):null]}));P1.displayName="Chip";var N1=C(I());var Hl=C(E()),B1=N1.default.forwardRef(({direction:e="vertical",children:t,className:a,...o},n)=>(0,Hl.jsx)("div",{ref:n,className:R(L8[e],a),...o,children:e==="bullet"?N1.default.Children.map(t,r=>(0,Hl.jsxs)("div",{className:R8,children:[(0,Hl.jsx)("span",{"aria-hidden":!0,className:T8}),(0,Hl.jsx)("div",{className:"min-w-0 flex-1",children:r})]})):t}));B1.displayName="List";var $8=C(I());var bd=C(E()),H1=$8.default.forwardRef(({title:e,defaultOpen:t=!1,children:a,className:o,...n},r)=>(0,bd.jsxs)("details",{ref:r,open:t,className:R(E8,o),...n,children:[(0,bd.jsx)("summary",{className:I8,children:e}),(0,bd.jsx)("div",{className:A8,children:a})]}));H1.displayName="Disclosure";var Q8=C(I());var Sp=C(E()),_B={contain:"max-h-full max-w-full object-contain",cover:"h-full w-full object-cover",fill:"h-full w-full object-fill"},F1=Q8.default.forwardRef((e,t)=>{let{src:a,type:o="thumbnail",size:n="regular",fit:r=o==="avatar"?"cover":"contain",hover:s=!1,placeholder:l="Tidak ada gambar",className:i}=e,u="alt"in e&&e.alt!==void 0?e.alt:"",c=R(M8,O8[o],D8[n],s&&_8,i);return/^https:\/\//i.test(a)?(0,Sp.jsx)("div",{ref:t,className:c,children:(0,Sp.jsx)("img",{src:a,alt:u,className:_B[r]})}):(0,Sp.jsx)("div",{ref:t,className:R(c,k8),children:l})});F1.displayName="Image";var nL=C(I());var J8="fixed inset-0 z-ds-overlay bg-black/90 data-[state=open]:animate-in data-[state=open]:fade-in-0",eL="fixed inset-0 z-ds-overlay flex flex-col items-center justify-center p-12 focus:outline-none data-[state=open]:animate-in data-[state=open]:fade-in-0",tL="max-h-full max-w-full rounded-lg object-contain shadow-2xl",aL="absolute left-4 top-4 flex items-center gap-2",z1=`flex items-center gap-1.5 rounded-lg bg-default-primary px-3 py-1.5 text-sm font-medium text-default-primary shadow-md transition-colors hover:bg-hover-neutral ${ue.control}`,oL=`absolute right-4 top-4 rounded-lg bg-default-primary p-2 text-default-primary shadow-md transition-colors hover:bg-hover-neutral ${ue.control}`;var Ht=C(E()),G1=({open:e,onOpenChange:t,src:a,alt:o="",label:n="Pratinjau gambar",onDownload:r,onShare:s,downloadLabel:l="Unduh",shareLabel:i="Bagikan",closeLabel:u="Tutup",className:c,onCloseAutoFocus:d,...p})=>{let f=nL.default.useRef(!1);return(0,Ht.jsx)(lp,{open:e,onOpenChange:t,children:(0,Ht.jsxs)(ip,{children:[(0,Ht.jsx)(up,{className:J8}),(0,Ht.jsxs)(dp,{...p,"data-lightbox":!0,"aria-modal":"true","aria-describedby":void 0,onCloseAutoFocus:d,className:R(eL,c),onPointerDown:g=>{f.current=g.target===g.currentTarget},onClick:g=>{let x=f.current&&g.target===g.currentTarget;f.current=!1,x&&t(!1)},children:[(0,Ht.jsx)(id,{className:"sr-only",children:n}),(r||s)&&(0,Ht.jsxs)("div",{className:aL,children:[r&&(0,Ht.jsxs)("button",{type:"button","data-lightbox-download":!0,onClick:r,className:z1,children:[(0,Ht.jsx)(Q,{name:"download",className:"h-4 w-4"}),(0,Ht.jsx)("span",{children:l})]}),s&&(0,Ht.jsxs)("button",{type:"button","data-lightbox-share":!0,onClick:s,className:z1,children:[(0,Ht.jsx)(Q,{name:"share",className:"h-4 w-4"}),(0,Ht.jsx)("span",{children:i})]})]}),(0,Ht.jsx)(cp,{"data-lightbox-close":!0,"aria-label":u,className:oL,children:(0,Ht.jsx)(Q,{name:"x",className:"h-5 w-5"})}),(0,Ht.jsx)("img",{src:a,alt:o,className:tL})]})]})})};G1.displayName="Lightbox";var rL=C(I());var wp=C(E()),V1=el("block text-sm font-semibold mb-2 transition-colors",{variants:{variant:{default:"text-z-text-primary",error:"text-red-600",success:"text-green-600"},size:{sm:"text-xs",md:"text-sm",lg:"text-base"}},defaultVariants:{variant:"default",size:"md"}}),U1=rL.default.forwardRef(({className:e,variant:t,size:a,required:o,children:n,...r},s)=>(0,wp.jsxs)("label",{ref:s,className:R(V1({variant:t,size:a}),e),...r,children:[n,o&&(0,wp.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}));U1.displayName="Label";var sL=C(I());var Do=C(E()),q1=sL.default.forwardRef(({className:e,variant:t="default",orientation:a="horizontal",children:o,...n},r)=>{let s=R(m8[a],h8[t]),l=a==="horizontal"&&!!o;return(0,Do.jsx)("div",{ref:r,role:"separator","aria-orientation":a,className:R(f8,p8[a],e),...n,children:l?(0,Do.jsxs)(Do.Fragment,{children:[(0,Do.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 flex items-center",children:(0,Do.jsx)("div",{className:s})}),(0,Do.jsx)("div",{className:"relative flex justify-center",children:(0,Do.jsx)("span",{className:g8,children:o})})]}):(0,Do.jsx)("div",{className:s})})});q1.displayName="Divider";var vd=C(I());var wn=C(E()),lL=H8,kB=2e3,PB={idle:"Salin",copied:"Tersalin",failed:"Gagal menyalin"},W1=vd.default.forwardRef(({children:e,copyText:t,label:a,size:o="large",onCopied:n,className:r},s)=>{let[l,i]=vd.default.useState("idle"),u=vd.default.useRef(void 0);vd.default.useEffect(()=>()=>clearTimeout(u.current),[]);let c=p=>{i(p),clearTimeout(u.current),u.current=setTimeout(()=>i("idle"),kB)},d=async()=>{let p=t??(typeof e=="string"?e:"");if(!p)return c("failed");try{await navigator.clipboard.writeText(p),c("copied")}catch{return c("failed")}n?.()};return(0,wn.jsxs)("div",{ref:s,className:R(P8,r),children:[(0,wn.jsxs)("div",{className:R(N8,lL[o]),children:[(0,wn.jsx)("span",{children:a}),(0,wn.jsxs)("button",{type:"button",onClick:d,className:R(F8,l==="failed"&&z8),children:[(0,wn.jsx)(Q,{name:l==="copied"?"check-circle":"composer-attach",size:"sm","aria-hidden":!0}),(0,wn.jsx)("span",{"aria-live":"polite",children:PB[l]})]})]}),(0,wn.jsx)("code",{className:R(B8,lL[o]),children:e})]})});W1.displayName="CodeBlock";var iL=C(I());var Cr=C(E()),NB=W8,BB=Y8,HB=V8,FB=(e,t)=>e===0?"first":e===t-1?"last":"middle",Y1=iL.default.forwardRef(({steps:e,orientation:t="horizontal","aria-label":a,className:o},n)=>(0,Cr.jsx)("ol",{ref:n,"aria-label":a,className:R(G8,HB[t],o),children:e.map((r,s)=>{let l=r.state??"default",i=r.position??FB(s,e.length),u=e[s-1]?.state??"default";return(0,Cr.jsxs)("li",{className:U8[t],children:[i!=="first"&&(0,Cr.jsx)("span",{"aria-hidden":!0,"data-connector":!0,className:R(K8[t],X8[u])}),(0,Cr.jsx)("span",{"aria-current":l==="current"?"step":void 0,className:R(q8,NB[l]),children:l==="done"?(0,Cr.jsx)(Q,{name:"check-circle-filled",className:"h-5 w-5","aria-hidden":!0}):s+1}),(0,Cr.jsx)("span",{className:BB[l],children:r.label})]},s)})}));Y1.displayName="Stepper";var NL=C(I());var oo=C(I());var uL=(e,t,{showSearch:a,callerFilters:o})=>{if(o||!a||!t)return e;let n=t.toLowerCase();return e.filter(r=>r.label.toLowerCase().includes(n)||(r.hint??"").toLowerCase().includes(n))},dL=(e,t,{enabled:a,showSearch:o,loading:n,minLength:r=3})=>a&&!!o&&!n&&e===0&&t.trim().length>=r;var qe=C(E()),zB=nl,GB=lr,VB=e=>`${e} dipilih`,Cd=oo.default.forwardRef((e,t)=>{let{label:a,"aria-label":o,options:n,size:r="large",error:s,disabled:l,placeholder:i="Pilih",showSearch:u,onSearch:c,loading:d,loadingMessage:p="Memuat\u2026",disabledHint:f,searchPlaceholder:g="Cari",emptyMessage:x="Tidak ada pilihan",onCreate:b,createMinLength:m,createLabel:h=Y=>`Tambah "${Y}"`,portal:y,id:v,className:S}=e,w=e.multiple?e.value??[]:e.value===void 0?[]:[e.value],L=Y=>w.includes(Y),T=Y=>{e.multiple?e.onValueChange?.(L(Y)?w.filter(Ne=>Ne!==Y):[...w,Y]):e.onValueChange?.(Y)},{fieldId:A,errorId:O}=ut(v),B=Ka(a,o),[P,U]=oo.default.useState(!1),[V,ee]=oo.default.useState(""),[F,q]=oo.default.useState(0),N=oo.default.useRef(null),k=oo.default.useRef(null),W=oo.default.useRef(null),J=Y=>!!(Y&&(k.current?.contains(Y)||W.current?.contains(Y))),Ve=`${A}-listbox`,j=Y=>`${Ve}-opt-${Y}`,pe=!(P&&u),te=cn(N,t),de=oo.default.useMemo(()=>uL(n,V,{showSearch:u,callerFilters:!!c}),[n,V,u,c]),[be,ye]=oo.default.useState(!1),[vt,re]=oo.default.useState(),se=dL(de.length,V,{enabled:!!b,showSearch:u,loading:d,minLength:m}),Ee=n.find(Y=>Y.value===w[0])??(vt&&vt.value===w[0]?vt:void 0),At=e.multiple&&w.length>1?VB(w.length):Ee?.label,oa=l?"disabled":s?"error":Ee?"filled":"default";oo.default.useEffect(()=>{if(!P)return;let Y=()=>{U(!1),ee(""),q(0)},Ne=Qe=>{J(Qe.target)||Y()},G=Qe=>{J(Qe.target)&&!J(Qe.relatedTarget)&&Y()};return document.addEventListener("mousedown",Ne),document.addEventListener("focusout",G),()=>{document.removeEventListener("mousedown",Ne),document.removeEventListener("focusout",G)}},[P]);let Mt=()=>{U(!1),ee(""),q(0),N.current?.focus()},Yt=Y=>{Y.disabled||(T(Y.value),e.multiple||Mt())},Oa=async()=>{if(!(!b||be)){ye(!0);try{let Y=await b(V.trim());re(Y),T(Y.value),e.multiple?ee(""):Mt()}catch{}finally{ye(!1)}}},Kn=Y=>y?(0,qe.jsx)(Ss,{portal:!0,align:"start",sideOffset:0,onOpenAutoFocus:Ne=>Ne.preventDefault(),onCloseAutoFocus:Ne=>Ne.preventDefault(),className:"w-[var(--radix-popover-trigger-width)] rounded-none border-0 bg-transparent p-0 shadow-none",children:Y}):Y,na=Y=>{if(!l){if(!P){(Y.key==="ArrowDown"||Y.key==="Enter"||Y.key===" ")&&(Y.preventDefault(),U(!0),q(Math.max(0,de.findIndex(Ne=>L(Ne.value)))));return}if(Y.key==="Escape")Y.preventDefault(),Mt();else if(Y.key==="ArrowDown")Y.preventDefault(),q(Ne=>Math.max(0,Math.min(de.length-1,Ne+1)));else if(Y.key==="ArrowUp")Y.preventDefault(),q(Ne=>Math.max(0,Ne-1));else if(Y.key==="Enter"){Y.preventDefault();let Ne=de[F];Ne?Yt(Ne):se&&Oa()}}};return(0,qe.jsxs)("div",{className:"flex w-full flex-col gap-ds-3xs",children:[B.visible!==void 0&&(0,qe.jsx)("label",{htmlFor:A,className:Ya,children:B.visible}),(0,qe.jsx)(Cs,{open:y?P:!1,children:(0,qe.jsx)(Pl,{asChild:!0,children:(0,qe.jsxs)("div",{ref:k,className:"relative w-full",onKeyDown:na,children:[(0,qe.jsxs)("button",{ref:te,id:A,type:"button",role:pe?"combobox":void 0,"aria-controls":pe?Ve:void 0,"aria-expanded":pe?P:void 0,"aria-haspopup":pe?"listbox":void 0,"aria-activedescendant":pe&&P&&(de.length>0||se)?j(F):void 0,"aria-label":B.ariaLabel,"aria-invalid":s?!0:void 0,"aria-describedby":O,disabled:l,"data-filled":Ee?!0:void 0,onClick:()=>U(Y=>!Y),className:R(Yv,zB[r],GB[oa],S),children:[(0,qe.jsx)("span",{className:Ee?void 0:"text-default-secondary",children:At??i}),(0,qe.jsx)(Q,{name:"chevron-down",size:"sm","aria-hidden":!0})]}),P&&Kn((0,qe.jsxs)("div",{ref:W,className:R(Kv,Xv[r],y&&"static mt-0 w-full max-w-none"),children:[u&&(0,qe.jsxs)("div",{className:R(Zv,rl[r]),children:[(0,qe.jsx)(Q,{name:"search",size:"sm","aria-hidden":!0}),(0,qe.jsx)("input",{autoFocus:!0,role:"combobox","aria-controls":Ve,"aria-expanded":!0,"aria-haspopup":"listbox","aria-activedescendant":de.length>0||se?j(F):void 0,value:V,placeholder:g,"aria-label":g,onChange:Y=>{ee(Y.target.value),c?.(Y.target.value),q(0)},className:jv})]}),(0,qe.jsxs)("ul",{id:Ve,role:"listbox","aria-multiselectable":e.multiple||void 0,"aria-label":At??i,children:[de.map((Y,Ne)=>(0,qe.jsx)("li",{role:"presentation",children:(0,qe.jsxs)("button",{id:j(Ne),type:"button",role:"option",tabIndex:-1,"aria-selected":L(Y.value),"aria-disabled":Y.disabled||void 0,onMouseEnter:()=>q(Ne),onClick:()=>Yt(Y),className:R(Wh[Ne===F?"active":"default"],rl[r]),children:[e.multiple?(0,qe.jsx)(Q,{name:"check",size:"sm","aria-hidden":!0,className:L(Y.value)?void 0:"invisible"}):null,Y.label,Y.hint?(0,qe.jsx)("span",{className:$v,children:`\xA0\xB7 ${Y.hint}`}):null]})},Y.value)),se&&(0,qe.jsx)("li",{role:"presentation",children:(0,qe.jsx)("button",{id:j(0),type:"button",role:"option",tabIndex:-1,"aria-selected":!1,"aria-disabled":be||void 0,onClick:()=>void Oa(),className:R(Wh.active,rl[r]),children:h(V.trim())})})]}),d?(0,qe.jsx)("p",{className:R(Yh,rl[r]),children:p}):de.length===0&&!se?(0,qe.jsx)("p",{className:R(Yh,rl[r]),children:x}):null]}))]})})}),l&&f?(0,qe.jsx)("p",{className:Qv,children:f}):null,(0,qe.jsx)(ha,{id:O,message:s})]})});Cd.displayName="Select";var Lp=(e,t)=>{let a=[...new Set([1,t,e-1,e,e+1])].filter(n=>n>=1&&n<=t).sort((n,r)=>n-r),o=[];return a.forEach((n,r)=>{r>0&&n-a[r-1]===2?o.push(n-1):r>0&&n-a[r-1]>2&&o.push("ellipsis"),o.push(n)}),o};var cL="flex flex-wrap items-center justify-between gap-3",fL="flex items-center gap-1",pL="flex items-center gap-2",mL="whitespace-nowrap text-ds-body-md-mobile text-default-secondary",hL="w-24",gL=`inline-flex shrink-0 items-center justify-center bg-default-primary text-default-primary hover:bg-weak-brand disabled:cursor-not-allowed disabled:text-disable-primary disabled:hover:bg-default-primary ${ue.control}`,xL={large:"size-9 rounded-lg text-ds-body-lg-mobile",small:"size-8 rounded-md text-ds-body-md-mobile"},yL="bg-default-brand text-default-invert hover:bg-default-brand",bL="px-1.5 text-default-secondary",K1="size-5",vL="relative w-full overflow-x-auto",CL="w-full caption-bottom text-ds-body-md-mobile text-default-primary",SL="border-b border-default-primary transition-colors hover:bg-hover-neutral data-[state=selected]:bg-default-secondary",wL="h-12 whitespace-nowrap px-3 text-left align-middle font-semibold",LL="px-3 py-3 align-middle",RL="space-y-4",TL="rounded-lg border border-default-primary",EL="px-2",IL="cursor-pointer",AL="h-24 text-center text-default-secondary",ML="h-5 w-full",OL="table-fixed",DL="overflow-y-auto",_L="[scrollbar-width:thin] [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-default-secondary",kL="sticky top-0 z-20 bg-default-primary",PL=`inline-flex items-center gap-1 rounded-sm hover:text-default-brand ${ue.control}`,X1={idle:"size-3.5 text-default-secondary",active:"size-3.5"},Rp={left:"bg-default-primary sm:sticky sm:z-10",leftDivider:"sm:border-r sm:border-default-primary",right:"bg-default-primary sm:sticky sm:right-0 sm:z-10 sm:border-l sm:border-default-primary"};var Ft=C(E()),UB=xL,Sd=NL.default.forwardRef(({page:e,pageCount:t,onPageChange:a,hasPrev:o,hasNext:n,disabled:r=!1,pageSize:s,onPageSizeChange:l,pageSizeOptions:i=[5,10,20,30,50],pageSizeLabel:u="Item per halaman",summary:c,size:d="large",className:p,...f},g)=>{let x=t===void 0,b=x?1/0:Math.max(Math.floor(t)||0,1),m=Math.min(Math.max(Math.floor(e)||1,1),b),h=x?o??m>1:m>1,y=x?!!n:m<b,v=R(gL,UB[d]);return(0,Ft.jsxs)("nav",{ref:g,"aria-label":"Navigasi halaman","aria-busy":r||void 0,"data-size":d,className:R(cL,p),...f,children:[(0,Ft.jsxs)("div",{className:pL,children:[c,l&&s!==void 0?(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsx)("span",{className:mL,children:u}),(0,Ft.jsx)("div",{className:hL,children:(0,Ft.jsx)(Cd,{"aria-label":u,size:"small",disabled:r,value:String(s),options:[...new Set([...i,s])].sort((S,w)=>S-w).map(S=>({label:String(S),value:String(S)})),onValueChange:S=>l(Number(S))})})]}):null]}),(0,Ft.jsxs)("div",{className:fL,children:[(0,Ft.jsx)("button",{type:"button",className:v,"aria-label":"Halaman sebelumnya",disabled:r||!h,onClick:()=>a(m-1),children:(0,Ft.jsx)(Q,{name:"chevron-left",className:K1})}),(x?[m]:Lp(m,b)).map((S,w)=>S==="ellipsis"?(0,Ft.jsx)("span",{className:bL,"aria-hidden":!0,children:"\u2026"},`ellipsis-${w}`):(0,Ft.jsx)("button",{type:"button",className:R(v,S===m&&yL),"aria-current":S===m?"page":void 0,disabled:r,onClick:()=>S!==m&&a(S),children:S},S)),(0,Ft.jsx)("button",{type:"button",className:v,"aria-label":"Halaman berikutnya",disabled:r||!y,onClick:()=>a(m+1),children:(0,Ft.jsx)(Q,{name:"chevron-right",className:K1})})]})]})});Sd.displayName="Pagination";var Es=C(I());var Sr=C(E()),wd=Es.default.forwardRef(({className:e,containerClassName:t,containerStyle:a,...o},n)=>(0,Sr.jsx)("div",{className:R(vL,t),style:a,children:(0,Sr.jsx)("table",{ref:n,className:R(CL,e),...o})}));wd.displayName="Table";var Ld=Es.default.forwardRef((e,t)=>(0,Sr.jsx)("thead",{ref:t,...e}));Ld.displayName="TableHeader";var Rd=Es.default.forwardRef((e,t)=>(0,Sr.jsx)("tbody",{ref:t,...e}));Rd.displayName="TableBody";var wr=Es.default.forwardRef(({className:e,...t},a)=>(0,Sr.jsx)("tr",{ref:a,className:R(SL,e),...t}));wr.displayName="TableRow";var Td=Es.default.forwardRef(({className:e,...t},a)=>(0,Sr.jsx)("th",{ref:a,className:R(wL,e),...t}));Td.displayName="TableHead";var Is=Es.default.forwardRef(({className:e,...t},a)=>(0,Sr.jsx)("td",{ref:a,className:R(LL,e),...t}));Is.displayName="TableCell";var Fl=C(I());var Ad=C(I(),1);function Lr(e,t){return typeof e=="function"?e(t):e}function _a(e,t){return a=>{t.setState(o=>({...o,[e]:Lr(a,o[e])}))}}function Ap(e){return e instanceof Function}function qB(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function WB(e,t){let a=[],o=n=>{n.forEach(r=>{a.push(r);let s=t(r);s!=null&&s.length&&o(s)})};return o(e),a}function oe(e,t,a){let o=[],n;return r=>{let s;a.key&&a.debug&&(s=Date.now());let l=e(r);if(!(l.length!==o.length||l.some((c,d)=>o[d]!==c)))return n;o=l;let u;if(a.key&&a.debug&&(u=Date.now()),n=t(...l),a==null||a.onChange==null||a.onChange(n),a.key&&a.debug&&a!=null&&a.debug()){let c=Math.round((Date.now()-s)*100)/100,d=Math.round((Date.now()-u)*100)/100,p=d/16,f=(g,x)=>{for(g=String(g);g.length<x;)g=" "+g;return g};console.info(`%c\u23F1 ${f(d,5)} /${f(c,5)} ms`,`
54
+ font-size: .6rem;
55
+ font-weight: bold;
56
+ color: hsl(${Math.max(0,Math.min(120-120*p,120))}deg 100% 31%);`,a?.key)}return n}}function ne(e,t,a,o){return{debug:()=>{var n;return(n=e?.debugAll)!=null?n:e[t]},key:!1,onChange:o}}function YB(e,t,a,o){let n=()=>{var s;return(s=r.getValue())!=null?s:e.options.renderFallbackValue},r={id:`${t.id}_${a.id}`,row:t,column:a,getValue:()=>t.getValue(o),renderValue:n,getContext:oe(()=>[e,a,t,r],(s,l,i,u)=>({table:s,column:l,row:i,cell:u,getValue:u.getValue,renderValue:u.renderValue}),ne(e.options,"debugCells","cell.getContext"))};return e._features.forEach(s=>{s.createCell==null||s.createCell(r,a,t,e)},{}),r}function KB(e,t,a,o){var n,r;let l={...e._getDefaultColumnDef(),...t},i=l.accessorKey,u=(n=(r=l.id)!=null?r:i?typeof String.prototype.replaceAll=="function"?i.replaceAll(".","_"):i.replace(/\./g,"_"):void 0)!=null?n:typeof l.header=="string"?l.header:void 0,c;if(l.accessorFn?c=l.accessorFn:i&&(i.includes(".")?c=p=>{let f=p;for(let x of i.split(".")){var g;f=(g=f)==null?void 0:g[x]}return f}:c=p=>p[l.accessorKey]),!u)throw new Error;let d={id:`${String(u)}`,accessorFn:c,parent:o,depth:a,columnDef:l,columns:[],getFlatColumns:oe(()=>[!0],()=>{var p;return[d,...(p=d.columns)==null?void 0:p.flatMap(f=>f.getFlatColumns())]},ne(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:oe(()=>[e._getOrderColumnsFn()],p=>{var f;if((f=d.columns)!=null&&f.length){let g=d.columns.flatMap(x=>x.getLeafColumns());return p(g)}return[d]},ne(e.options,"debugColumns","column.getLeafColumns"))};for(let p of e._features)p.createColumn==null||p.createColumn(d,e);return d}var ea="debugHeaders";function BL(e,t,a){var o;let r={id:(o=a.id)!=null?o:t.id,column:t,index:a.index,isPlaceholder:!!a.isPlaceholder,placeholderId:a.placeholderId,depth:a.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{let s=[],l=i=>{i.subHeaders&&i.subHeaders.length&&i.subHeaders.map(l),s.push(i)};return l(r),s},getContext:()=>({table:e,header:r,column:t})};return e._features.forEach(s=>{s.createHeader==null||s.createHeader(r,e)}),r}var XB={createTable:e=>{e.getHeaderGroups=oe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,a,o,n)=>{var r,s;let l=(r=o?.map(d=>a.find(p=>p.id===d)).filter(Boolean))!=null?r:[],i=(s=n?.map(d=>a.find(p=>p.id===d)).filter(Boolean))!=null?s:[],u=a.filter(d=>!(o!=null&&o.includes(d.id))&&!(n!=null&&n.includes(d.id)));return Tp(t,[...l,...u,...i],e)},ne(e.options,ea,"getHeaderGroups")),e.getCenterHeaderGroups=oe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,a,o,n)=>(a=a.filter(r=>!(o!=null&&o.includes(r.id))&&!(n!=null&&n.includes(r.id))),Tp(t,a,e,"center")),ne(e.options,ea,"getCenterHeaderGroups")),e.getLeftHeaderGroups=oe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,a,o)=>{var n;let r=(n=o?.map(s=>a.find(l=>l.id===s)).filter(Boolean))!=null?n:[];return Tp(t,r,e,"left")},ne(e.options,ea,"getLeftHeaderGroups")),e.getRightHeaderGroups=oe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,a,o)=>{var n;let r=(n=o?.map(s=>a.find(l=>l.id===s)).filter(Boolean))!=null?n:[];return Tp(t,r,e,"right")},ne(e.options,ea,"getRightHeaderGroups")),e.getFooterGroups=oe(()=>[e.getHeaderGroups()],t=>[...t].reverse(),ne(e.options,ea,"getFooterGroups")),e.getLeftFooterGroups=oe(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),ne(e.options,ea,"getLeftFooterGroups")),e.getCenterFooterGroups=oe(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),ne(e.options,ea,"getCenterFooterGroups")),e.getRightFooterGroups=oe(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),ne(e.options,ea,"getRightFooterGroups")),e.getFlatHeaders=oe(()=>[e.getHeaderGroups()],t=>t.map(a=>a.headers).flat(),ne(e.options,ea,"getFlatHeaders")),e.getLeftFlatHeaders=oe(()=>[e.getLeftHeaderGroups()],t=>t.map(a=>a.headers).flat(),ne(e.options,ea,"getLeftFlatHeaders")),e.getCenterFlatHeaders=oe(()=>[e.getCenterHeaderGroups()],t=>t.map(a=>a.headers).flat(),ne(e.options,ea,"getCenterFlatHeaders")),e.getRightFlatHeaders=oe(()=>[e.getRightHeaderGroups()],t=>t.map(a=>a.headers).flat(),ne(e.options,ea,"getRightFlatHeaders")),e.getCenterLeafHeaders=oe(()=>[e.getCenterFlatHeaders()],t=>t.filter(a=>{var o;return!((o=a.subHeaders)!=null&&o.length)}),ne(e.options,ea,"getCenterLeafHeaders")),e.getLeftLeafHeaders=oe(()=>[e.getLeftFlatHeaders()],t=>t.filter(a=>{var o;return!((o=a.subHeaders)!=null&&o.length)}),ne(e.options,ea,"getLeftLeafHeaders")),e.getRightLeafHeaders=oe(()=>[e.getRightFlatHeaders()],t=>t.filter(a=>{var o;return!((o=a.subHeaders)!=null&&o.length)}),ne(e.options,ea,"getRightLeafHeaders")),e.getLeafHeaders=oe(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,a,o)=>{var n,r,s,l,i,u;return[...(n=(r=t[0])==null?void 0:r.headers)!=null?n:[],...(s=(l=a[0])==null?void 0:l.headers)!=null?s:[],...(i=(u=o[0])==null?void 0:u.headers)!=null?i:[]].map(c=>c.getLeafHeaders()).flat()},ne(e.options,ea,"getLeafHeaders"))}};function Tp(e,t,a,o){var n,r;let s=0,l=function(p,f){f===void 0&&(f=1),s=Math.max(s,f),p.filter(g=>g.getIsVisible()).forEach(g=>{var x;(x=g.columns)!=null&&x.length&&l(g.columns,f+1)},0)};l(e);let i=[],u=(p,f)=>{let g={depth:f,id:[o,`${f}`].filter(Boolean).join("_"),headers:[]},x=[];p.forEach(b=>{let m=[...x].reverse()[0],h=b.column.depth===g.depth,y,v=!1;if(h&&b.column.parent?y=b.column.parent:(y=b.column,v=!0),m&&m?.column===y)m.subHeaders.push(b);else{let S=BL(a,y,{id:[o,f,y.id,b?.id].filter(Boolean).join("_"),isPlaceholder:v,placeholderId:v?`${x.filter(w=>w.column===y).length}`:void 0,depth:f,index:x.length});S.subHeaders.push(b),x.push(S)}g.headers.push(b),b.headerGroup=g}),i.push(g),f>0&&u(x,f-1)},c=t.map((p,f)=>BL(a,p,{depth:s,index:f}));u(c,s-1),i.reverse();let d=p=>p.filter(g=>g.column.getIsVisible()).map(g=>{let x=0,b=0,m=[0];g.subHeaders&&g.subHeaders.length?(m=[],d(g.subHeaders).forEach(y=>{let{colSpan:v,rowSpan:S}=y;x+=v,m.push(S)})):x=1;let h=Math.min(...m);return b=b+h,g.colSpan=x,g.rowSpan=b,{colSpan:x,rowSpan:b}});return d((n=(r=i[0])==null?void 0:r.headers)!=null?n:[]),i}var l0=(e,t,a,o,n,r,s)=>{let l={id:t,index:o,original:a,depth:n,parentId:s,_valuesCache:{},_uniqueValuesCache:{},getValue:i=>{if(l._valuesCache.hasOwnProperty(i))return l._valuesCache[i];let u=e.getColumn(i);if(u!=null&&u.accessorFn)return l._valuesCache[i]=u.accessorFn(l.original,o),l._valuesCache[i]},getUniqueValues:i=>{if(l._uniqueValuesCache.hasOwnProperty(i))return l._uniqueValuesCache[i];let u=e.getColumn(i);if(u!=null&&u.accessorFn)return u.columnDef.getUniqueValues?(l._uniqueValuesCache[i]=u.columnDef.getUniqueValues(l.original,o),l._uniqueValuesCache[i]):(l._uniqueValuesCache[i]=[l.getValue(i)],l._uniqueValuesCache[i])},renderValue:i=>{var u;return(u=l.getValue(i))!=null?u:e.options.renderFallbackValue},subRows:r??[],getLeafRows:()=>WB(l.subRows,i=>i.subRows),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let i=[],u=l;for(;;){let c=u.getParentRow();if(!c)break;i.push(c),u=c}return i.reverse()},getAllCells:oe(()=>[e.getAllLeafColumns()],i=>i.map(u=>YB(e,l,u,u.id)),ne(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:oe(()=>[l.getAllCells()],i=>i.reduce((u,c)=>(u[c.column.id]=c,u),{}),ne(e.options,"debugRows","getAllCellsByColumnId"))};for(let i=0;i<e._features.length;i++){let u=e._features[i];u==null||u.createRow==null||u.createRow(l,e)}return l},ZB={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},FL=(e,t,a)=>{var o,n;let r=a==null||(o=a.toString())==null?void 0:o.toLowerCase();return!!(!((n=e.getValue(t))==null||(n=n.toString())==null||(n=n.toLowerCase())==null)&&n.includes(r))};FL.autoRemove=e=>_o(e);var zL=(e,t,a)=>{var o;return!!(!((o=e.getValue(t))==null||(o=o.toString())==null)&&o.includes(a))};zL.autoRemove=e=>_o(e);var GL=(e,t,a)=>{var o;return((o=e.getValue(t))==null||(o=o.toString())==null?void 0:o.toLowerCase())===a?.toLowerCase()};GL.autoRemove=e=>_o(e);var VL=(e,t,a)=>{var o;return(o=e.getValue(t))==null?void 0:o.includes(a)};VL.autoRemove=e=>_o(e);var UL=(e,t,a)=>!a.some(o=>{var n;return!((n=e.getValue(t))!=null&&n.includes(o))});UL.autoRemove=e=>_o(e)||!(e!=null&&e.length);var qL=(e,t,a)=>a.some(o=>{var n;return(n=e.getValue(t))==null?void 0:n.includes(o)});qL.autoRemove=e=>_o(e)||!(e!=null&&e.length);var WL=(e,t,a)=>e.getValue(t)===a;WL.autoRemove=e=>_o(e);var YL=(e,t,a)=>e.getValue(t)==a;YL.autoRemove=e=>_o(e);var i0=(e,t,a)=>{let[o,n]=a,r=e.getValue(t);return r>=o&&r<=n};i0.resolveFilterValue=e=>{let[t,a]=e,o=typeof t!="number"?parseFloat(t):t,n=typeof a!="number"?parseFloat(a):a,r=t===null||Number.isNaN(o)?-1/0:o,s=a===null||Number.isNaN(n)?1/0:n;if(r>s){let l=r;r=s,s=l}return[r,s]};i0.autoRemove=e=>_o(e)||_o(e[0])&&_o(e[1]);var Ln={includesString:FL,includesStringSensitive:zL,equalsString:GL,arrIncludes:VL,arrIncludesAll:UL,arrIncludesSome:qL,equals:WL,weakEquals:YL,inNumberRange:i0};function _o(e){return e==null||e===""}var jB={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:_a("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{let a=t.getCoreRowModel().flatRows[0],o=a?.getValue(e.id);return typeof o=="string"?Ln.includesString:typeof o=="number"?Ln.inNumberRange:typeof o=="boolean"||o!==null&&typeof o=="object"?Ln.equals:Array.isArray(o)?Ln.arrIncludes:Ln.weakEquals},e.getFilterFn=()=>{var a,o;return Ap(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(a=(o=t.options.filterFns)==null?void 0:o[e.columnDef.filterFn])!=null?a:Ln[e.columnDef.filterFn]},e.getCanFilter=()=>{var a,o,n;return((a=e.columnDef.enableColumnFilter)!=null?a:!0)&&((o=t.options.enableColumnFilters)!=null?o:!0)&&((n=t.options.enableFilters)!=null?n:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var a;return(a=t.getState().columnFilters)==null||(a=a.find(o=>o.id===e.id))==null?void 0:a.value},e.getFilterIndex=()=>{var a,o;return(a=(o=t.getState().columnFilters)==null?void 0:o.findIndex(n=>n.id===e.id))!=null?a:-1},e.setFilterValue=a=>{t.setColumnFilters(o=>{let n=e.getFilterFn(),r=o?.find(c=>c.id===e.id),s=Lr(a,r?r.value:void 0);if(HL(n,s,e)){var l;return(l=o?.filter(c=>c.id!==e.id))!=null?l:[]}let i={id:e.id,value:s};if(r){var u;return(u=o?.map(c=>c.id===e.id?i:c))!=null?u:[]}return o!=null&&o.length?[...o,i]:[i]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{let a=e.getAllLeafColumns(),o=n=>{var r;return(r=Lr(t,n))==null?void 0:r.filter(s=>{let l=a.find(i=>i.id===s.id);if(l){let i=l.getFilterFn();if(HL(i,s.value,l))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(o)},e.resetColumnFilters=t=>{var a,o;e.setColumnFilters(t?[]:(a=(o=e.initialState)==null?void 0:o.columnFilters)!=null?a:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function HL(e,t,a){return(e&&e.autoRemove?e.autoRemove(t,a):!1)||typeof t>"u"||typeof t=="string"&&!t}var $B=(e,t,a)=>a.reduce((o,n)=>{let r=n.getValue(e);return o+(typeof r=="number"?r:0)},0),QB=(e,t,a)=>{let o;return a.forEach(n=>{let r=n.getValue(e);r!=null&&(o>r||o===void 0&&r>=r)&&(o=r)}),o},JB=(e,t,a)=>{let o;return a.forEach(n=>{let r=n.getValue(e);r!=null&&(o<r||o===void 0&&r>=r)&&(o=r)}),o},eH=(e,t,a)=>{let o,n;return a.forEach(r=>{let s=r.getValue(e);s!=null&&(o===void 0?s>=s&&(o=n=s):(o>s&&(o=s),n<s&&(n=s)))}),[o,n]},tH=(e,t)=>{let a=0,o=0;if(t.forEach(n=>{let r=n.getValue(e);r!=null&&(r=+r)>=r&&(++a,o+=r)}),a)return o/a},aH=(e,t)=>{if(!t.length)return;let a=t.map(r=>r.getValue(e));if(!qB(a))return;if(a.length===1)return a[0];let o=Math.floor(a.length/2),n=a.sort((r,s)=>r-s);return a.length%2!==0?n[o]:(n[o-1]+n[o])/2},oH=(e,t)=>Array.from(new Set(t.map(a=>a.getValue(e))).values()),nH=(e,t)=>new Set(t.map(a=>a.getValue(e))).size,rH=(e,t)=>t.length,Z1={sum:$B,min:QB,max:JB,extent:eH,mean:tH,median:aH,unique:oH,uniqueCount:nH,count:rH},sH={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,a;return(t=(a=e.getValue())==null||a.toString==null?void 0:a.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:_a("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(a=>a!=null&&a.includes(e.id)?a.filter(o=>o!==e.id):[...a??[],e.id])},e.getCanGroup=()=>{var a,o;return((a=e.columnDef.enableGrouping)!=null?a:!0)&&((o=t.options.enableGrouping)!=null?o:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var a;return(a=t.getState().grouping)==null?void 0:a.includes(e.id)},e.getGroupedIndex=()=>{var a;return(a=t.getState().grouping)==null?void 0:a.indexOf(e.id)},e.getToggleGroupingHandler=()=>{let a=e.getCanGroup();return()=>{a&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{let a=t.getCoreRowModel().flatRows[0],o=a?.getValue(e.id);if(typeof o=="number")return Z1.sum;if(Object.prototype.toString.call(o)==="[object Date]")return Z1.extent},e.getAggregationFn=()=>{var a,o;if(!e)throw new Error;return Ap(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(a=(o=t.options.aggregationFns)==null?void 0:o[e.columnDef.aggregationFn])!=null?a:Z1[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var a,o;e.setGrouping(t?[]:(a=(o=e.initialState)==null?void 0:o.grouping)!=null?a:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=a=>{if(e._groupingValuesCache.hasOwnProperty(a))return e._groupingValuesCache[a];let o=t.getColumn(a);return o!=null&&o.columnDef.getGroupingValue?(e._groupingValuesCache[a]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[a]):e.getValue(a)},e._groupingValuesCache={}},createCell:(e,t,a,o)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===a.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var n;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((n=a.subRows)!=null&&n.length)}}};function lH(e,t,a){if(!(t!=null&&t.length)||!a)return e;let o=e.filter(r=>!t.includes(r.id));return a==="remove"?o:[...t.map(r=>e.find(s=>s.id===r)).filter(Boolean),...o]}var iH={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:_a("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=oe(a=>[Id(t,a)],a=>a.findIndex(o=>o.id===e.id),ne(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=a=>{var o;return((o=Id(t,a)[0])==null?void 0:o.id)===e.id},e.getIsLastColumn=a=>{var o;let n=Id(t,a);return((o=n[n.length-1])==null?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var a;e.setColumnOrder(t?[]:(a=e.initialState.columnOrder)!=null?a:[])},e._getOrderColumnsFn=oe(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,a,o)=>n=>{let r=[];if(!(t!=null&&t.length))r=n;else{let s=[...t],l=[...n];for(;l.length&&s.length;){let i=s.shift(),u=l.findIndex(c=>c.id===i);u>-1&&r.push(l.splice(u,1)[0])}r=[...r,...l]}return lH(r,a,o)},ne(e.options,"debugTable","_getOrderColumnsFn"))}},j1=()=>({left:[],right:[]}),uH={getInitialState:e=>({columnPinning:j1(),...e}),getDefaultOptions:e=>({onColumnPinningChange:_a("columnPinning",e)}),createColumn:(e,t)=>{e.pin=a=>{let o=e.getLeafColumns().map(n=>n.id).filter(Boolean);t.setColumnPinning(n=>{var r,s;if(a==="right"){var l,i;return{left:((l=n?.left)!=null?l:[]).filter(d=>!(o!=null&&o.includes(d))),right:[...((i=n?.right)!=null?i:[]).filter(d=>!(o!=null&&o.includes(d))),...o]}}if(a==="left"){var u,c;return{left:[...((u=n?.left)!=null?u:[]).filter(d=>!(o!=null&&o.includes(d))),...o],right:((c=n?.right)!=null?c:[]).filter(d=>!(o!=null&&o.includes(d)))}}return{left:((r=n?.left)!=null?r:[]).filter(d=>!(o!=null&&o.includes(d))),right:((s=n?.right)!=null?s:[]).filter(d=>!(o!=null&&o.includes(d)))}})},e.getCanPin=()=>e.getLeafColumns().some(o=>{var n,r,s;return((n=o.columnDef.enablePinning)!=null?n:!0)&&((r=(s=t.options.enableColumnPinning)!=null?s:t.options.enablePinning)!=null?r:!0)}),e.getIsPinned=()=>{let a=e.getLeafColumns().map(l=>l.id),{left:o,right:n}=t.getState().columnPinning,r=a.some(l=>o?.includes(l)),s=a.some(l=>n?.includes(l));return r?"left":s?"right":!1},e.getPinnedIndex=()=>{var a,o;let n=e.getIsPinned();return n?(a=(o=t.getState().columnPinning)==null||(o=o[n])==null?void 0:o.indexOf(e.id))!=null?a:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=oe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(a,o,n)=>{let r=[...o??[],...n??[]];return a.filter(s=>!r.includes(s.column.id))},ne(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=oe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(a,o)=>(o??[]).map(r=>a.find(s=>s.column.id===r)).filter(Boolean).map(r=>({...r,position:"left"})),ne(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=oe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(a,o)=>(o??[]).map(r=>a.find(s=>s.column.id===r)).filter(Boolean).map(r=>({...r,position:"right"})),ne(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var a,o;return e.setColumnPinning(t?j1():(a=(o=e.initialState)==null?void 0:o.columnPinning)!=null?a:j1())},e.getIsSomeColumnsPinned=t=>{var a;let o=e.getState().columnPinning;if(!t){var n,r;return!!((n=o.left)!=null&&n.length||(r=o.right)!=null&&r.length)}return!!((a=o[t])!=null&&a.length)},e.getLeftLeafColumns=oe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,a)=>(a??[]).map(o=>t.find(n=>n.id===o)).filter(Boolean),ne(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=oe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,a)=>(a??[]).map(o=>t.find(n=>n.id===o)).filter(Boolean),ne(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=oe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,a,o)=>{let n=[...a??[],...o??[]];return t.filter(r=>!n.includes(r.id))},ne(e.options,"debugColumns","getCenterLeafColumns"))}};function dH(e){return e||(typeof document<"u"?document:null)}var Ep={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},$1=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),cH={getDefaultColumnDef:()=>Ep,getInitialState:e=>({columnSizing:{},columnSizingInfo:$1(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:_a("columnSizing",e),onColumnSizingInfoChange:_a("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var a,o,n;let r=t.getState().columnSizing[e.id];return Math.min(Math.max((a=e.columnDef.minSize)!=null?a:Ep.minSize,(o=r??e.columnDef.size)!=null?o:Ep.size),(n=e.columnDef.maxSize)!=null?n:Ep.maxSize)},e.getStart=oe(a=>[a,Id(t,a),t.getState().columnSizing],(a,o)=>o.slice(0,e.getIndex(a)).reduce((n,r)=>n+r.getSize(),0),ne(t.options,"debugColumns","getStart")),e.getAfter=oe(a=>[a,Id(t,a),t.getState().columnSizing],(a,o)=>o.slice(e.getIndex(a)+1).reduce((n,r)=>n+r.getSize(),0),ne(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(a=>{let{[e.id]:o,...n}=a;return n})},e.getCanResize=()=>{var a,o;return((a=e.columnDef.enableResizing)!=null?a:!0)&&((o=t.options.enableColumnResizing)!=null?o:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let a=0,o=n=>{if(n.subHeaders.length)n.subHeaders.forEach(o);else{var r;a+=(r=n.column.getSize())!=null?r:0}};return o(e),a},e.getStart=()=>{if(e.index>0){let a=e.headerGroup.headers[e.index-1];return a.getStart()+a.getSize()}return 0},e.getResizeHandler=a=>{let o=t.getColumn(e.column.id),n=o?.getCanResize();return r=>{if(!o||!n||(r.persist==null||r.persist(),Q1(r)&&r.touches&&r.touches.length>1))return;let s=e.getSize(),l=e?e.getLeafHeaders().map(m=>[m.column.id,m.column.getSize()]):[[o.id,o.getSize()]],i=Q1(r)?Math.round(r.touches[0].clientX):r.clientX,u={},c=(m,h)=>{typeof h=="number"&&(t.setColumnSizingInfo(y=>{var v,S;let w=t.options.columnResizeDirection==="rtl"?-1:1,L=(h-((v=y?.startOffset)!=null?v:0))*w,T=Math.max(L/((S=y?.startSize)!=null?S:0),-.999999);return y.columnSizingStart.forEach(A=>{let[O,B]=A;u[O]=Math.round(Math.max(B+B*T,0)*100)/100}),{...y,deltaOffset:L,deltaPercentage:T}}),(t.options.columnResizeMode==="onChange"||m==="end")&&t.setColumnSizing(y=>({...y,...u})))},d=m=>c("move",m),p=m=>{c("end",m),t.setColumnSizingInfo(h=>({...h,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},f=dH(a),g={moveHandler:m=>d(m.clientX),upHandler:m=>{f?.removeEventListener("mousemove",g.moveHandler),f?.removeEventListener("mouseup",g.upHandler),p(m.clientX)}},x={moveHandler:m=>(m.cancelable&&(m.preventDefault(),m.stopPropagation()),d(m.touches[0].clientX),!1),upHandler:m=>{var h;f?.removeEventListener("touchmove",x.moveHandler),f?.removeEventListener("touchend",x.upHandler),m.cancelable&&(m.preventDefault(),m.stopPropagation()),p((h=m.touches[0])==null?void 0:h.clientX)}},b=fH()?{passive:!1}:!1;Q1(r)?(f?.addEventListener("touchmove",x.moveHandler,b),f?.addEventListener("touchend",x.upHandler,b)):(f?.addEventListener("mousemove",g.moveHandler,b),f?.addEventListener("mouseup",g.upHandler,b)),t.setColumnSizingInfo(m=>({...m,startOffset:i,startSize:s,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:o.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var a;e.setColumnSizing(t?{}:(a=e.initialState.columnSizing)!=null?a:{})},e.resetHeaderSizeInfo=t=>{var a;e.setColumnSizingInfo(t?$1():(a=e.initialState.columnSizingInfo)!=null?a:$1())},e.getTotalSize=()=>{var t,a;return(t=(a=e.getHeaderGroups()[0])==null?void 0:a.headers.reduce((o,n)=>o+n.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,a;return(t=(a=e.getLeftHeaderGroups()[0])==null?void 0:a.headers.reduce((o,n)=>o+n.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,a;return(t=(a=e.getCenterHeaderGroups()[0])==null?void 0:a.headers.reduce((o,n)=>o+n.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,a;return(t=(a=e.getRightHeaderGroups()[0])==null?void 0:a.headers.reduce((o,n)=>o+n.getSize(),0))!=null?t:0}}},Ip=null;function fH(){if(typeof Ip=="boolean")return Ip;let e=!1;try{let t={get passive(){return e=!0,!1}},a=()=>{};window.addEventListener("test",a,t),window.removeEventListener("test",a)}catch{e=!1}return Ip=e,Ip}function Q1(e){return e.type==="touchstart"}var pH={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:_a("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=a=>{e.getCanHide()&&t.setColumnVisibility(o=>({...o,[e.id]:a??!e.getIsVisible()}))},e.getIsVisible=()=>{var a,o;let n=e.columns;return(a=n.length?n.some(r=>r.getIsVisible()):(o=t.getState().columnVisibility)==null?void 0:o[e.id])!=null?a:!0},e.getCanHide=()=>{var a,o;return((a=e.columnDef.enableHiding)!=null?a:!0)&&((o=t.options.enableHiding)!=null?o:!0)},e.getToggleVisibilityHandler=()=>a=>{e.toggleVisibility==null||e.toggleVisibility(a.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=oe(()=>[e.getAllCells(),t.getState().columnVisibility],a=>a.filter(o=>o.column.getIsVisible()),ne(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=oe(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(a,o,n)=>[...a,...o,...n],ne(t.options,"debugRows","getVisibleCells"))},createTable:e=>{let t=(a,o)=>oe(()=>[o(),o().filter(n=>n.getIsVisible()).map(n=>n.id).join("_")],n=>n.filter(r=>r.getIsVisible==null?void 0:r.getIsVisible()),ne(e.options,"debugColumns",a));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=a=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(a),e.resetColumnVisibility=a=>{var o;e.setColumnVisibility(a?{}:(o=e.initialState.columnVisibility)!=null?o:{})},e.toggleAllColumnsVisible=a=>{var o;a=(o=a)!=null?o:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((n,r)=>({...n,[r.id]:a||!(r.getCanHide!=null&&r.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(a=>!(a.getIsVisible!=null&&a.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(a=>a.getIsVisible==null?void 0:a.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>a=>{var o;e.toggleAllColumnsVisible((o=a.target)==null?void 0:o.checked)}}};function Id(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}var mH={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},hH={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:_a("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var a;let o=(a=e.getCoreRowModel().flatRows[0])==null||(a=a._getAllCellsByColumnId()[t.id])==null?void 0:a.getValue();return typeof o=="string"||typeof o=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var a,o,n,r;return((a=e.columnDef.enableGlobalFilter)!=null?a:!0)&&((o=t.options.enableGlobalFilter)!=null?o:!0)&&((n=t.options.enableFilters)!=null?n:!0)&&((r=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?r:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Ln.includesString,e.getGlobalFilterFn=()=>{var t,a;let{globalFilterFn:o}=e.options;return Ap(o)?o:o==="auto"?e.getGlobalAutoFilterFn():(t=(a=e.options.filterFns)==null?void 0:a[o])!=null?t:Ln[o]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},gH={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:_a("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,a=!1;e._autoResetExpanded=()=>{var o,n;if(!t){e._queue(()=>{t=!0});return}if((o=(n=e.options.autoResetAll)!=null?n:e.options.autoResetExpanded)!=null?o:!e.options.manualExpanding){if(a)return;a=!0,e._queue(()=>{e.resetExpanded(),a=!1})}},e.setExpanded=o=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(o),e.toggleAllRowsExpanded=o=>{o??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=o=>{var n,r;e.setExpanded(o?{}:(n=(r=e.initialState)==null?void 0:r.expanded)!=null?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(o=>o.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>o=>{o.persist==null||o.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{let o=e.getState().expanded;return o===!0||Object.values(o).some(Boolean)},e.getIsAllRowsExpanded=()=>{let o=e.getState().expanded;return typeof o=="boolean"?o===!0:!(!Object.keys(o).length||e.getRowModel().flatRows.some(n=>!n.getIsExpanded()))},e.getExpandedDepth=()=>{let o=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(r=>{let s=r.split(".");o=Math.max(o,s.length)}),o},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=a=>{t.setExpanded(o=>{var n;let r=o===!0?!0:!!(o!=null&&o[e.id]),s={};if(o===!0?Object.keys(t.getRowModel().rowsById).forEach(l=>{s[l]=!0}):s=o,a=(n=a)!=null?n:!r,!r&&a)return{...s,[e.id]:!0};if(r&&!a){let{[e.id]:l,...i}=s;return i}return o})},e.getIsExpanded=()=>{var a;let o=t.getState().expanded;return!!((a=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?a:o===!0||o?.[e.id])},e.getCanExpand=()=>{var a,o,n;return(a=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?a:((o=t.options.enableExpanding)!=null?o:!0)&&!!((n=e.subRows)!=null&&n.length)},e.getIsAllParentsExpanded=()=>{let a=!0,o=e;for(;a&&o.parentId;)o=t.getRow(o.parentId,!0),a=o.getIsExpanded();return a},e.getToggleExpandedHandler=()=>{let a=e.getCanExpand();return()=>{a&&e.toggleExpanded()}}}},a0=0,o0=10,J1=()=>({pageIndex:a0,pageSize:o0}),xH={getInitialState:e=>({...e,pagination:{...J1(),...e?.pagination}}),getDefaultOptions:e=>({onPaginationChange:_a("pagination",e)}),createTable:e=>{let t=!1,a=!1;e._autoResetPageIndex=()=>{var o,n;if(!t){e._queue(()=>{t=!0});return}if((o=(n=e.options.autoResetAll)!=null?n:e.options.autoResetPageIndex)!=null?o:!e.options.manualPagination){if(a)return;a=!0,e._queue(()=>{e.resetPageIndex(),a=!1})}},e.setPagination=o=>{let n=r=>Lr(o,r);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(n)},e.resetPagination=o=>{var n;e.setPagination(o?J1():(n=e.initialState.pagination)!=null?n:J1())},e.setPageIndex=o=>{e.setPagination(n=>{let r=Lr(o,n.pageIndex),s=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,s)),{...n,pageIndex:r}})},e.resetPageIndex=o=>{var n,r;e.setPageIndex(o?a0:(n=(r=e.initialState)==null||(r=r.pagination)==null?void 0:r.pageIndex)!=null?n:a0)},e.resetPageSize=o=>{var n,r;e.setPageSize(o?o0:(n=(r=e.initialState)==null||(r=r.pagination)==null?void 0:r.pageSize)!=null?n:o0)},e.setPageSize=o=>{e.setPagination(n=>{let r=Math.max(1,Lr(o,n.pageSize)),s=n.pageSize*n.pageIndex,l=Math.floor(s/r);return{...n,pageIndex:l,pageSize:r}})},e.setPageCount=o=>e.setPagination(n=>{var r;let s=Lr(o,(r=e.options.pageCount)!=null?r:-1);return typeof s=="number"&&(s=Math.max(-1,s)),{...n,pageCount:s}}),e.getPageOptions=oe(()=>[e.getPageCount()],o=>{let n=[];return o&&o>0&&(n=[...new Array(o)].fill(null).map((r,s)=>s)),n},ne(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{let{pageIndex:o}=e.getState().pagination,n=e.getPageCount();return n===-1?!0:n===0?!1:o<n-1},e.previousPage=()=>e.setPageIndex(o=>o-1),e.nextPage=()=>e.setPageIndex(o=>o+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var o;return(o=e.options.pageCount)!=null?o:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var o;return(o=e.options.rowCount)!=null?o:e.getPrePaginationRowModel().rows.length}}},e0=()=>({top:[],bottom:[]}),yH={getInitialState:e=>({rowPinning:e0(),...e}),getDefaultOptions:e=>({onRowPinningChange:_a("rowPinning",e)}),createRow:(e,t)=>{e.pin=(a,o,n)=>{let r=o?e.getLeafRows().map(i=>{let{id:u}=i;return u}):[],s=n?e.getParentRows().map(i=>{let{id:u}=i;return u}):[],l=new Set([...s,e.id,...r]);t.setRowPinning(i=>{var u,c;if(a==="bottom"){var d,p;return{top:((d=i?.top)!=null?d:[]).filter(x=>!(l!=null&&l.has(x))),bottom:[...((p=i?.bottom)!=null?p:[]).filter(x=>!(l!=null&&l.has(x))),...Array.from(l)]}}if(a==="top"){var f,g;return{top:[...((f=i?.top)!=null?f:[]).filter(x=>!(l!=null&&l.has(x))),...Array.from(l)],bottom:((g=i?.bottom)!=null?g:[]).filter(x=>!(l!=null&&l.has(x)))}}return{top:((u=i?.top)!=null?u:[]).filter(x=>!(l!=null&&l.has(x))),bottom:((c=i?.bottom)!=null?c:[]).filter(x=>!(l!=null&&l.has(x)))}})},e.getCanPin=()=>{var a;let{enableRowPinning:o,enablePinning:n}=t.options;return typeof o=="function"?o(e):(a=o??n)!=null?a:!0},e.getIsPinned=()=>{let a=[e.id],{top:o,bottom:n}=t.getState().rowPinning,r=a.some(l=>o?.includes(l)),s=a.some(l=>n?.includes(l));return r?"top":s?"bottom":!1},e.getPinnedIndex=()=>{var a,o;let n=e.getIsPinned();if(!n)return-1;let r=(a=n==="top"?t.getTopRows():t.getBottomRows())==null?void 0:a.map(s=>{let{id:l}=s;return l});return(o=r?.indexOf(e.id))!=null?o:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var a,o;return e.setRowPinning(t?e0():(a=(o=e.initialState)==null?void 0:o.rowPinning)!=null?a:e0())},e.getIsSomeRowsPinned=t=>{var a;let o=e.getState().rowPinning;if(!t){var n,r;return!!((n=o.top)!=null&&n.length||(r=o.bottom)!=null&&r.length)}return!!((a=o[t])!=null&&a.length)},e._getPinnedRows=(t,a,o)=>{var n;return((n=e.options.keepPinnedRows)==null||n?(a??[]).map(s=>{let l=e.getRow(s,!0);return l.getIsAllParentsExpanded()?l:null}):(a??[]).map(s=>t.find(l=>l.id===s))).filter(Boolean).map(s=>({...s,position:o}))},e.getTopRows=oe(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,a)=>e._getPinnedRows(t,a,"top"),ne(e.options,"debugRows","getTopRows")),e.getBottomRows=oe(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,a)=>e._getPinnedRows(t,a,"bottom"),ne(e.options,"debugRows","getBottomRows")),e.getCenterRows=oe(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,a,o)=>{let n=new Set([...a??[],...o??[]]);return t.filter(r=>!n.has(r.id))},ne(e.options,"debugRows","getCenterRows"))}},bH={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:_a("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var a;return e.setRowSelection(t?{}:(a=e.initialState.rowSelection)!=null?a:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(a=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();let o={...a},n=e.getPreGroupedRowModel().flatRows;return t?n.forEach(r=>{r.getCanSelect()&&(o[r.id]=!0)}):n.forEach(r=>{delete o[r.id]}),o})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(a=>{let o=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),n={...a};return e.getRowModel().rows.forEach(r=>{n0(n,r.id,o,!0,e)}),n}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=oe(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,a)=>Object.keys(t).length?t0(e,a):{rows:[],flatRows:[],rowsById:{}},ne(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=oe(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,a)=>Object.keys(t).length?t0(e,a):{rows:[],flatRows:[],rowsById:{}},ne(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=oe(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,a)=>Object.keys(t).length?t0(e,a):{rows:[],flatRows:[],rowsById:{}},ne(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{let t=e.getFilteredRowModel().flatRows,{rowSelection:a}=e.getState(),o=!!(t.length&&Object.keys(a).length);return o&&t.some(n=>n.getCanSelect()&&!a[n.id])&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows.filter(n=>n.getCanSelect()),{rowSelection:a}=e.getState(),o=!!t.length;return o&&t.some(n=>!a[n.id])&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var t;let a=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return a>0&&a<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(a=>a.getCanSelect()).some(a=>a.getIsSelected()||a.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(a,o)=>{let n=e.getIsSelected();t.setRowSelection(r=>{var s;if(a=typeof a<"u"?a:!n,e.getCanSelect()&&n===a)return r;let l={...r};return n0(l,e.id,a,(s=o?.selectChildren)!=null?s:!0,t),l})},e.getIsSelected=()=>{let{rowSelection:a}=t.getState();return u0(e,a)},e.getIsSomeSelected=()=>{let{rowSelection:a}=t.getState();return r0(e,a)==="some"},e.getIsAllSubRowsSelected=()=>{let{rowSelection:a}=t.getState();return r0(e,a)==="all"},e.getCanSelect=()=>{var a;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(a=t.options.enableRowSelection)!=null?a:!0},e.getCanSelectSubRows=()=>{var a;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(a=t.options.enableSubRowSelection)!=null?a:!0},e.getCanMultiSelect=()=>{var a;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(a=t.options.enableMultiRowSelection)!=null?a:!0},e.getToggleSelectedHandler=()=>{let a=e.getCanSelect();return o=>{var n;a&&e.toggleSelected((n=o.target)==null?void 0:n.checked)}}}},n0=(e,t,a,o,n)=>{var r;let s=n.getRow(t,!0);a?(s.getCanMultiSelect()||Object.keys(e).forEach(l=>delete e[l]),s.getCanSelect()&&(e[t]=!0)):delete e[t],o&&(r=s.subRows)!=null&&r.length&&s.getCanSelectSubRows()&&s.subRows.forEach(l=>n0(e,l.id,a,o,n))};function t0(e,t){let a=e.getState().rowSelection,o=[],n={},r=function(s,l){return s.map(i=>{var u;let c=u0(i,a);if(c&&(o.push(i),n[i.id]=i),(u=i.subRows)!=null&&u.length&&(i={...i,subRows:r(i.subRows)}),c)return i}).filter(Boolean)};return{rows:r(t.rows),flatRows:o,rowsById:n}}function u0(e,t){var a;return(a=t[e.id])!=null?a:!1}function r0(e,t,a){var o;if(!((o=e.subRows)!=null&&o.length))return!1;let n=!0,r=!1;return e.subRows.forEach(s=>{if(!(r&&!n)&&(s.getCanSelect()&&(u0(s,t)?r=!0:n=!1),s.subRows&&s.subRows.length)){let l=r0(s,t);l==="all"?r=!0:(l==="some"&&(r=!0),n=!1)}}),n?"all":r?"some":!1}var s0=/([0-9]+)/gm,vH=(e,t,a)=>KL(Rr(e.getValue(a)).toLowerCase(),Rr(t.getValue(a)).toLowerCase()),CH=(e,t,a)=>KL(Rr(e.getValue(a)),Rr(t.getValue(a))),SH=(e,t,a)=>d0(Rr(e.getValue(a)).toLowerCase(),Rr(t.getValue(a)).toLowerCase()),wH=(e,t,a)=>d0(Rr(e.getValue(a)),Rr(t.getValue(a))),LH=(e,t,a)=>{let o=e.getValue(a),n=t.getValue(a);return o>n?1:o<n?-1:0},RH=(e,t,a)=>d0(e.getValue(a),t.getValue(a));function d0(e,t){return e===t?0:e>t?1:-1}function Rr(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function KL(e,t){let a=e.split(s0).filter(Boolean),o=t.split(s0).filter(Boolean);for(;a.length&&o.length;){let n=a.shift(),r=o.shift(),s=parseInt(n,10),l=parseInt(r,10),i=[s,l].sort();if(isNaN(i[0])){if(n>r)return 1;if(r>n)return-1;continue}if(isNaN(i[1]))return isNaN(s)?-1:1;if(s>l)return 1;if(l>s)return-1}return a.length-o.length}var Ed={alphanumeric:vH,alphanumericCaseSensitive:CH,text:SH,textCaseSensitive:wH,datetime:LH,basic:RH},TH={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:_a("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{let a=t.getFilteredRowModel().flatRows.slice(10),o=!1;for(let n of a){let r=n?.getValue(e.id);if(Object.prototype.toString.call(r)==="[object Date]")return Ed.datetime;if(typeof r=="string"&&(o=!0,r.split(s0).length>1))return Ed.alphanumeric}return o?Ed.text:Ed.basic},e.getAutoSortDir=()=>{let a=t.getFilteredRowModel().flatRows[0];return typeof a?.getValue(e.id)=="string"?"asc":"desc"},e.getSortingFn=()=>{var a,o;if(!e)throw new Error;return Ap(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(a=(o=t.options.sortingFns)==null?void 0:o[e.columnDef.sortingFn])!=null?a:Ed[e.columnDef.sortingFn]},e.toggleSorting=(a,o)=>{let n=e.getNextSortingOrder(),r=typeof a<"u"&&a!==null;t.setSorting(s=>{let l=s?.find(f=>f.id===e.id),i=s?.findIndex(f=>f.id===e.id),u=[],c,d=r?a:n==="desc";if(s!=null&&s.length&&e.getCanMultiSort()&&o?l?c="toggle":c="add":s!=null&&s.length&&i!==s.length-1?c="replace":l?c="toggle":c="replace",c==="toggle"&&(r||n||(c="remove")),c==="add"){var p;u=[...s,{id:e.id,desc:d}],u.splice(0,u.length-((p=t.options.maxMultiSortColCount)!=null?p:Number.MAX_SAFE_INTEGER))}else c==="toggle"?u=s.map(f=>f.id===e.id?{...f,desc:d}:f):c==="remove"?u=s.filter(f=>f.id!==e.id):u=[{id:e.id,desc:d}];return u})},e.getFirstSortDir=()=>{var a,o;return((a=(o=e.columnDef.sortDescFirst)!=null?o:t.options.sortDescFirst)!=null?a:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=a=>{var o,n;let r=e.getFirstSortDir(),s=e.getIsSorted();return s?s!==r&&((o=t.options.enableSortingRemoval)==null||o)&&(!(a&&(n=t.options.enableMultiRemove)!=null)||n)?!1:s==="desc"?"asc":"desc":r},e.getCanSort=()=>{var a,o;return((a=e.columnDef.enableSorting)!=null?a:!0)&&((o=t.options.enableSorting)!=null?o:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var a,o;return(a=(o=e.columnDef.enableMultiSort)!=null?o:t.options.enableMultiSort)!=null?a:!!e.accessorFn},e.getIsSorted=()=>{var a;let o=(a=t.getState().sorting)==null?void 0:a.find(n=>n.id===e.id);return o?o.desc?"desc":"asc":!1},e.getSortIndex=()=>{var a,o;return(a=(o=t.getState().sorting)==null?void 0:o.findIndex(n=>n.id===e.id))!=null?a:-1},e.clearSorting=()=>{t.setSorting(a=>a!=null&&a.length?a.filter(o=>o.id!==e.id):[])},e.getToggleSortingHandler=()=>{let a=e.getCanSort();return o=>{a&&(o.persist==null||o.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(o):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var a,o;e.setSorting(t?[]:(a=(o=e.initialState)==null?void 0:o.sorting)!=null?a:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},EH=[XB,pH,iH,uH,ZB,jB,mH,hH,TH,sH,gH,xH,yH,bH,cH];function XL(e){var t,a;let o=[...EH,...(t=e._features)!=null?t:[]],n={_features:o},r=n._features.reduce((p,f)=>Object.assign(p,f.getDefaultOptions==null?void 0:f.getDefaultOptions(n)),{}),s=p=>n.options.mergeOptions?n.options.mergeOptions(r,p):{...r,...p},i={...{},...(a=e.initialState)!=null?a:{}};n._features.forEach(p=>{var f;i=(f=p.getInitialState==null?void 0:p.getInitialState(i))!=null?f:i});let u=[],c=!1,d={_features:o,options:{...r,...e},initialState:i,_queue:p=>{u.push(p),c||(c=!0,Promise.resolve().then(()=>{for(;u.length;)u.shift()();c=!1}).catch(f=>setTimeout(()=>{throw f})))},reset:()=>{n.setState(n.initialState)},setOptions:p=>{let f=Lr(p,n.options);n.options=s(f)},getState:()=>n.options.state,setState:p=>{n.options.onStateChange==null||n.options.onStateChange(p)},_getRowId:(p,f,g)=>{var x;return(x=n.options.getRowId==null?void 0:n.options.getRowId(p,f,g))!=null?x:`${g?[g.id,f].join("."):f}`},getCoreRowModel:()=>(n._getCoreRowModel||(n._getCoreRowModel=n.options.getCoreRowModel(n)),n._getCoreRowModel()),getRowModel:()=>n.getPaginationRowModel(),getRow:(p,f)=>{let g=(f?n.getPrePaginationRowModel():n.getRowModel()).rowsById[p];if(!g&&(g=n.getCoreRowModel().rowsById[p],!g))throw new Error;return g},_getDefaultColumnDef:oe(()=>[n.options.defaultColumn],p=>{var f;return p=(f=p)!=null?f:{},{header:g=>{let x=g.header.column.columnDef;return x.accessorKey?x.accessorKey:x.accessorFn?x.id:null},cell:g=>{var x,b;return(x=(b=g.renderValue())==null||b.toString==null?void 0:b.toString())!=null?x:null},...n._features.reduce((g,x)=>Object.assign(g,x.getDefaultColumnDef==null?void 0:x.getDefaultColumnDef()),{}),...p}},ne(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>n.options.columns,getAllColumns:oe(()=>[n._getColumnDefs()],p=>{let f=function(g,x,b){return b===void 0&&(b=0),g.map(m=>{let h=KB(n,m,b,x),y=m;return h.columns=y.columns?f(y.columns,h,b+1):[],h})};return f(p)},ne(e,"debugColumns","getAllColumns")),getAllFlatColumns:oe(()=>[n.getAllColumns()],p=>p.flatMap(f=>f.getFlatColumns()),ne(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:oe(()=>[n.getAllFlatColumns()],p=>p.reduce((f,g)=>(f[g.id]=g,f),{}),ne(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:oe(()=>[n.getAllColumns(),n._getOrderColumnsFn()],(p,f)=>{let g=p.flatMap(x=>x.getLeafColumns());return f(g)},ne(e,"debugColumns","getAllLeafColumns")),getColumn:p=>n._getAllFlatColumnsById()[p]};Object.assign(n,d);for(let p=0;p<n._features.length;p++){let f=n._features[p];f==null||f.createTable==null||f.createTable(n)}return n}function ZL(){return e=>oe(()=>[e.options.data],t=>{let a={rows:[],flatRows:[],rowsById:{}},o=function(n,r,s){r===void 0&&(r=0);let l=[];for(let u=0;u<n.length;u++){let c=l0(e,e._getRowId(n[u],u,s),n[u],u,r,void 0,s?.id);if(a.flatRows.push(c),a.rowsById[c.id]=c,l.push(c),e.options.getSubRows){var i;c.originalSubRows=e.options.getSubRows(n[u],u),(i=c.originalSubRows)!=null&&i.length&&(c.subRows=o(c.originalSubRows,r+1,c))}}return l};return a.rows=o(t),a},ne(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function IH(e){let t=[],a=o=>{var n;t.push(o),(n=o.subRows)!=null&&n.length&&o.getIsExpanded()&&o.subRows.forEach(a)};return e.rows.forEach(a),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function AH(e,t,a){return a.options.filterFromLeafRows?MH(e,t,a):OH(e,t,a)}function MH(e,t,a){var o;let n=[],r={},s=(o=a.options.maxLeafRowFilterDepth)!=null?o:100,l=function(i,u){u===void 0&&(u=0);let c=[];for(let p=0;p<i.length;p++){var d;let f=i[p],g=l0(a,f.id,f.original,f.index,f.depth,void 0,f.parentId);if(g.columnFilters=f.columnFilters,(d=f.subRows)!=null&&d.length&&u<s){if(g.subRows=l(f.subRows,u+1),f=g,t(f)&&!g.subRows.length){c.push(f),r[f.id]=f,n.push(f);continue}if(t(f)||g.subRows.length){c.push(f),r[f.id]=f,n.push(f);continue}}else f=g,t(f)&&(c.push(f),r[f.id]=f,n.push(f))}return c};return{rows:l(e),flatRows:n,rowsById:r}}function OH(e,t,a){var o;let n=[],r={},s=(o=a.options.maxLeafRowFilterDepth)!=null?o:100,l=function(i,u){u===void 0&&(u=0);let c=[];for(let p=0;p<i.length;p++){let f=i[p];if(t(f)){var d;if((d=f.subRows)!=null&&d.length&&u<s){let x=l0(a,f.id,f.original,f.index,f.depth,void 0,f.parentId);x.subRows=l(f.subRows,u+1),f=x}c.push(f),n.push(f),r[f.id]=f}}return c};return{rows:l(e),flatRows:n,rowsById:r}}function jL(){return e=>oe(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,a,o)=>{if(!t.rows.length||!(a!=null&&a.length)&&!o){for(let p=0;p<t.flatRows.length;p++)t.flatRows[p].columnFilters={},t.flatRows[p].columnFiltersMeta={};return t}let n=[],r=[];(a??[]).forEach(p=>{var f;let g=e.getColumn(p.id);if(!g)return;let x=g.getFilterFn();x&&n.push({id:p.id,filterFn:x,resolvedValue:(f=x.resolveFilterValue==null?void 0:x.resolveFilterValue(p.value))!=null?f:p.value})});let s=(a??[]).map(p=>p.id),l=e.getGlobalFilterFn(),i=e.getAllLeafColumns().filter(p=>p.getCanGlobalFilter());o&&l&&i.length&&(s.push("__global__"),i.forEach(p=>{var f;r.push({id:p.id,filterFn:l,resolvedValue:(f=l.resolveFilterValue==null?void 0:l.resolveFilterValue(o))!=null?f:o})}));let u,c;for(let p=0;p<t.flatRows.length;p++){let f=t.flatRows[p];if(f.columnFilters={},n.length)for(let g=0;g<n.length;g++){u=n[g];let x=u.id;f.columnFilters[x]=u.filterFn(f,x,u.resolvedValue,b=>{f.columnFiltersMeta[x]=b})}if(r.length){for(let g=0;g<r.length;g++){c=r[g];let x=c.id;if(c.filterFn(f,x,c.resolvedValue,b=>{f.columnFiltersMeta[x]=b})){f.columnFilters.__global__=!0;break}}f.columnFilters.__global__!==!0&&(f.columnFilters.__global__=!1)}}let d=p=>{for(let f=0;f<s.length;f++)if(p.columnFilters[s[f]]===!1)return!1;return!0};return AH(t.rows,d,e)},ne(e.options,"debugTable","getFilteredRowModel",()=>e._autoResetPageIndex()))}function $L(e){return t=>oe(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(a,o)=>{if(!o.rows.length)return o;let{pageSize:n,pageIndex:r}=a,{rows:s,flatRows:l,rowsById:i}=o,u=n*r,c=u+n;s=s.slice(u,c);let d;t.options.paginateExpandedRows?d={rows:s,flatRows:l,rowsById:i}:d=IH({rows:s,flatRows:l,rowsById:i}),d.flatRows=[];let p=f=>{d.flatRows.push(f),f.subRows.length&&f.subRows.forEach(p)};return d.rows.forEach(p),d},ne(t.options,"debugTable","getPaginationRowModel"))}function QL(){return e=>oe(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,a)=>{if(!a.rows.length||!(t!=null&&t.length))return a;let o=e.getState().sorting,n=[],r=o.filter(i=>{var u;return(u=e.getColumn(i.id))==null?void 0:u.getCanSort()}),s={};r.forEach(i=>{let u=e.getColumn(i.id);u&&(s[i.id]={sortUndefined:u.columnDef.sortUndefined,invertSorting:u.columnDef.invertSorting,sortingFn:u.getSortingFn()})});let l=i=>{let u=i.map(c=>({...c}));return u.sort((c,d)=>{for(let f=0;f<r.length;f+=1){var p;let g=r[f],x=s[g.id],b=x.sortUndefined,m=(p=g?.desc)!=null?p:!1,h=0;if(b){let y=c.getValue(g.id),v=d.getValue(g.id),S=y===void 0,w=v===void 0;if(S||w){if(b==="first")return S?-1:1;if(b==="last")return S?1:-1;h=S&&w?0:S?b:-b}}if(h===0&&(h=x.sortingFn(c,d,g.id)),h!==0)return m&&(h*=-1),x.invertSorting&&(h*=-1),h}return c.index-d.index}),u.forEach(c=>{var d;n.push(c),(d=c.subRows)!=null&&d.length&&(c.subRows=l(c.subRows))}),u};return{rows:l(a.rows),flatRows:n,rowsById:a.rowsById}},ne(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}function c0(e,t){return e?DH(e)?Ad.createElement(e,t):e:null}function DH(e){return _H(e)||typeof e=="function"||kH(e)}function _H(e){return typeof e=="function"&&(()=>{let t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function kH(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function JL(e){let t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[a]=Ad.useState(()=>({current:XL(t)})),[o,n]=Ad.useState(()=>a.current.initialState);return a.current.setOptions(r=>({...r,...e,state:{...o,...e.state},onStateChange:s=>{n(s),e.onStateChange==null||e.onStateChange(s)}})),a.current}var Rt=C(E()),Md=(e,t)=>typeof e=="function"?e(t):e,e9=e=>typeof e=="number"&&e>0?{width:e>=9999?"auto":`${e}px`}:void 0,t9=e=>e?.stickyRight?{className:Rp.right,style:void 0}:typeof e?.stickyLeft=="number"?{className:R(Rp.left,e.stickyLeftDivider&&Rp.leftDivider),style:{left:`${e.stickyLeft}px`}}:{className:void 0,style:void 0},PH='input, button, a, label, select, textarea, [role="checkbox"]';function a9({columns:e,data:t,loading:a=!1,serverSide:o=!1,pagination:n,totalRows:r,onPaginationChange:s,onSortingChange:l,initialSorting:i,globalFilter:u,columnFilters:c,onFilterChange:d,columnVisibility:p,onColumnVisibilityChange:f,getRowId:g,rowSelection:x,onRowSelectionChange:b,onRowClick:m,rowClassName:h,toolbar:y,empty:v="Tidak ada data.",hidePagination:S=!1,maxBodyHeight:w,minWidth:L,fixedLayout:T=!1,noBorder:A=!1,pageSizeOptions:O,slimScrollbar:B=!1}){let[P,U]=Fl.default.useState(i??[]),[V,ee]=Fl.default.useState([]),[F,q]=Fl.default.useState({}),[N,k]=Fl.default.useState({}),[W,J]=Fl.default.useState({pageIndex:0,pageSize:n?.pageSize??10}),Ve=c??V,j=x??N,pe=p??F,te=o&&n?{pageIndex:n.pageIndex,pageSize:n.pageSize}:W,de=JL({data:t,columns:e,getRowId:g?re=>g(re):void 0,getCoreRowModel:ZL(),getSortedRowModel:o?void 0:QL(),getFilteredRowModel:o?void 0:jL(),getPaginationRowModel:o?void 0:$L(),manualSorting:o,manualFiltering:o,manualPagination:o,sortDescFirst:!1,pageCount:o?n?.pageCount:void 0,rowCount:o?r:void 0,state:{sorting:P,columnFilters:Ve,globalFilter:u,rowSelection:j,pagination:te,columnVisibility:pe},onSortingChange:re=>{let se=Md(re,P);U(se),l?.(se)},onColumnFiltersChange:re=>{let se=Md(re,Ve);c||ee(se),d?.(se)},onColumnVisibilityChange:re=>{let se=Md(re,pe);p||q(se),f?.(se)},onRowSelectionChange:re=>{let se=Md(re,j);x||k(se),b?.(se)},onPaginationChange:re=>{let se=Md(re,te);o&&n||J(se),o&&s?.(se.pageIndex,se.pageSize)}}),be=de.getVisibleLeafColumns().length,ye=de.getRowModel().rows,vt=re=>{o&&n||J({pageIndex:0,pageSize:re}),o&&s?.(0,re)};return(0,Rt.jsxs)("div",{className:RL,children:[y,(0,Rt.jsx)("div",{className:R(!A&&TL),children:(0,Rt.jsxs)(wd,{className:R(T&&OL),style:L?{minWidth:`${L}px`}:void 0,containerClassName:R(w&&DL,B&&_L),containerStyle:w?{maxHeight:w}:void 0,children:[(0,Rt.jsx)(Ld,{children:de.getHeaderGroups().map(re=>(0,Rt.jsx)(wr,{children:re.headers.map(se=>{let{column:Ee}=se,At=t9(Ee.columnDef.meta),oa=Ee.getIsSorted(),Mt=c0(Ee.columnDef.header,se.getContext());return(0,Rt.jsx)(Td,{style:{...e9(Ee.columnDef.size),...At.style},className:R(At.className,w&&kL),"aria-sort":oa==="asc"?"ascending":oa==="desc"?"descending":void 0,children:se.isPlaceholder?null:Ee.getCanSort()?(0,Rt.jsxs)("button",{type:"button",className:PL,onClick:Ee.getToggleSortingHandler(),children:[Mt,(0,Rt.jsx)(Q,{name:oa==="desc"?"chevron-down":"chevron-up",className:oa?X1.active:X1.idle})]}):Mt},se.id)})},re.id))}),(0,Rt.jsx)(Rd,{children:a?Array.from({length:te.pageSize},(re,se)=>(0,Rt.jsx)(wr,{"data-skeleton-row":!0,children:Array.from({length:be},(Ee,At)=>(0,Rt.jsx)(Is,{children:(0,Rt.jsx)(gd,{className:ML})},At))},`skeleton-${se}`)):ye.length?ye.map(re=>(0,Rt.jsx)(wr,{"data-state":re.getIsSelected()?"selected":void 0,className:R(m&&IL,h?.(re.original)),onClick:m?se=>{let Ee=se.target.closest(PH);Ee&&se.currentTarget.contains(Ee)||m(re.original)}:void 0,children:re.getVisibleCells().map(se=>{let Ee=t9(se.column.columnDef.meta);return(0,Rt.jsx)(Is,{style:{...e9(se.column.columnDef.size),...Ee.style},className:Ee.className,children:c0(se.column.columnDef.cell,se.getContext())},se.id)})},re.id)):(0,Rt.jsx)(wr,{children:(0,Rt.jsx)(Is,{colSpan:be,className:AL,children:v})})})]})}),S?null:(0,Rt.jsx)(Sd,{className:EL,page:te.pageIndex+1,pageCount:de.getPageCount(),onPageChange:re=>de.setPageIndex(re-1),pageSize:te.pageSize,onPageSizeChange:vt,pageSizeOptions:O})]})}var o9=C(I());var Mp=e=>{if(!e)return{title:void 0,body:void 0};let t=e.indexOf(`
57
+ `);return t===-1?{title:void 0,body:e}:{title:e.slice(0,t),body:e.slice(t+1)}};var _t=C(E()),NH=Iv,BH=Av,HH=Mv,FH=Ov;var f0=o9.default.forwardRef(({label:e,"aria-label":t,options:a,value:o=[],onValueChange:n,multiple:r,size:s="large",layout:l="row",disabled:i,name:u,className:c},d)=>{let{fieldId:p}=ut(u),f=Ka(e,t),g=new Set(o),x=b=>{if(!r)return n?.([b]);let m=new Set(g);m.has(b)?m.delete(b):m.add(b),n?.(a.map(h=>h.value).filter(h=>m.has(h)))};return(0,_t.jsxs)("fieldset",{ref:d,"aria-label":f.ariaLabel,className:R(Tv,c),children:[f.visible!==void 0&&(0,_t.jsx)("legend",{className:Ya,children:f.visible}),a.map(b=>{let{title:m,body:h}=Mp(b.description),y=g.has(b.value),v=i?"disabled":y?"selected":"default";return(0,_t.jsxs)("label",{className:R(Ev,l==="tile"?FH[s]:NH[s],BH[v],HH[l]),"data-layout":l,children:[(0,_t.jsx)("input",{className:Fv,type:r?"checkbox":"radio",name:r?void 0:u??p,value:b.value,checked:y,disabled:i,onChange:()=>x(b.value)}),l==="tile"&&(0,_t.jsx)("span",{"aria-hidden":!0,"data-testid":"selection-card-indicator",className:R(kv,Uh[r?"checkbox":"radio"],Pv[v]),children:y&&(0,_t.jsx)("span",{className:R(Nv,Uh[r?"checkbox":"radio"])})}),b.icon!==void 0&&b.icon!==null&&(0,_t.jsx)("span",{"aria-hidden":!0,children:b.icon}),(0,_t.jsxs)("span",{className:R("flex min-w-0 flex-col",l==="tile"?Dv:"flex-1"),children:[m!==void 0?(0,_t.jsxs)(_t.Fragment,{children:[(0,_t.jsx)("span",{className:Bv,children:b.label}),(0,_t.jsx)("span",{className:qh,children:m})]}):(0,_t.jsx)("span",{className:qh,children:b.label}),h!==void 0&&(0,_t.jsx)("span",{className:Hv,children:h})]}),b.badge!==void 0&&b.badge!==null&&(0,_t.jsx)("span",{className:l==="tile"?_v:void 0,children:b.badge})]},b.value)})]})});f0.displayName="SelectionCard";var Op=C(I());var kt=C(E()),zH=Vv,GH=Uv,VH=Gv,UH=(e,t)=>{let a=(t??"").split(",").map(r=>r.trim().toLowerCase()).filter(Boolean);if(a.length===0)return!0;let o=e.name.toLowerCase(),n=e.type.toLowerCase();return a.some(r=>r.startsWith(".")?o.endsWith(r):r.endsWith("/*")?n.startsWith(`${r.slice(0,-1)}`):n===r)},p0=Op.default.forwardRef(({label:e,"aria-label":t,size:a="large",error:o,disabled:n,required:r,onFilesChange:s,accept:l,multiple:i,filled:u,busy:c,preview:d,children:p,icon:f,helperText:g,tooltip:x,browseLabel:b="Browse",border:m="solid",id:h,className:y},v)=>{let{fieldId:S,errorId:w}=ut(h),L=`${S}-help`,T=Ka(e,t),A=Op.default.useRef(null),[O,B]=Op.default.useState(!1),P=n||c,U=!o&&!!g,V=n?"disabled":c?"busy":o?"error":u?"filled":"default",ee=O&&!P,F=cn(A,v),q=N=>{if(P||!N)return;let k=[...N].filter(W=>UH(W,l));s?.(i?k:k.slice(0,1))};return(0,kt.jsxs)("div",{className:"flex w-full flex-col gap-ds-3xs",children:[(T.visible!==void 0||x!==void 0)&&(0,kt.jsxs)("div",{className:"flex items-center gap-ds-3xs",children:[T.visible!==void 0&&(0,kt.jsxs)("label",{htmlFor:S,className:Ya,children:[T.visible,r&&(0,kt.jsx)(zo,{})]}),x!==void 0&&(0,kt.jsx)(ld,{content:x,children:(0,kt.jsx)("button",{type:"button","aria-label":"Info",className:"inline-flex",children:(0,kt.jsx)(Q,{name:"info",size:"sm","aria-hidden":!0})})})]}),(0,kt.jsxs)("label",{"data-filled":u||void 0,"aria-busy":c||void 0,onDragOver:N=>{N.preventDefault(),P&&N.dataTransfer&&(N.dataTransfer.dropEffect="none"),B(!0)},onDragLeave:N=>{N.currentTarget.contains(N.relatedTarget)||B(!1)},onDrop:N=>{N.preventDefault(),B(!1),q(N.dataTransfer?.files??null)},className:R(zv,zH[a],VH[m],GH[V],ee&&qv,y),children:[(0,kt.jsx)("input",{ref:F,id:S,type:"file",accept:l,multiple:i,disabled:P,required:r,tabIndex:-1,"aria-label":T.ariaLabel,"aria-invalid":o?!0:void 0,"aria-describedby":U?`${L} ${w}`:w,onChange:N=>q(N.target.files),className:Wv}),d??(0,kt.jsxs)(kt.Fragment,{children:[f!=null&&(0,kt.jsx)("span",{"aria-hidden":!0,children:f}),p]}),(0,kt.jsx)(ol,{type:"ghost",color:"primary",size:"small",width:"auto",disabled:P,onClick:N=>{N.preventDefault(),A.current?.click()},children:b})]}),U&&(0,kt.jsx)(rC,{id:L,text:g}),(0,kt.jsx)(ha,{id:w,message:o})]})});p0.displayName="Upload";var m0=C(I());var zt=C(E()),qH=sb,WH=lb,YH=ib,KH=ub,ka={viewBox:"0 0 36 36",cx:18,cy:18,r:16,pathLength:100},h0=m0.default.forwardRef(({className:e,variant:t="default",size:a="small",shape:o="linear",value:n=0,max:r=100,label:s,...l},i)=>{let u=`${m0.default.useId()}-progress-gradient`,c=r||1,d=Math.min(Math.max(n,0),r),p=Math.min(Math.max(d/c*100,0),100),f={role:"progressbar","aria-label":s,"aria-valuenow":d,"aria-valuemin":0,"aria-valuemax":r};return o==="radial"?(0,zt.jsxs)("div",{ref:i,className:e,...l,children:[(0,zt.jsxs)("svg",{...f,viewBox:ka.viewBox,className:R(YH[a],"fill-none"),style:{"--progress-sweep":`${p}`},children:[t==="gradient"&&(0,zt.jsx)("defs",{children:(0,zt.jsxs)("linearGradient",{id:u,x1:"0",y1:"0",x2:"1",y2:"0",children:[(0,zt.jsx)("stop",{offset:"0%",stopColor:"currentColor",className:Bh.from}),(0,zt.jsx)("stop",{offset:"100%",stopColor:"currentColor",className:Bh.to})]})}),(0,zt.jsx)("circle",{cx:ka.cx,cy:ka.cy,r:ka.r,pathLength:ka.pathLength,strokeWidth:4,className:db}),(0,zt.jsx)("circle",{cx:ka.cx,cy:ka.cy,r:ka.r,pathLength:ka.pathLength,strokeWidth:4,strokeLinecap:"round",strokeDasharray:ka.pathLength,transform:`rotate(-90 ${ka.cx} ${ka.cy})`,className:KH[t],stroke:t==="gradient"?`url(#${u}) currentColor`:void 0,style:{strokeDashoffset:`calc(${ka.pathLength} - var(--progress-sweep))`}})]}),s&&(0,zt.jsx)("span",{className:Hh,children:s})]}):(0,zt.jsxs)("div",{ref:i,className:e,...l,children:[s&&(0,zt.jsxs)("div",{className:cb,children:[(0,zt.jsx)("span",{className:Hh,children:s}),(0,zt.jsx)("span",{className:fb,children:`${Math.round(p)}%`})]}),(0,zt.jsx)("div",{className:R(nb,WH[a]),children:(0,zt.jsx)("div",{...f,className:R(rb,qH[t]),style:{width:`${p}%`}})})]})});h0.displayName="ProgressBar";var Dp=C(I());var n9="hidden h-full shrink-0 flex-col border-r border-default-primary bg-default-primary transition-all duration-300 ease-in-out md:flex",g0={small:"md:w-16",large:"md:w-72"},r9="fixed inset-0 z-ds-overlay bg-black/40 animate-in fade-in-0 md:hidden",s9="fixed inset-y-0 left-0 z-ds-overlay flex w-72 flex-col bg-default-primary shadow-2xl md:hidden",x0={open:"translate-x-0 animate-in slide-in-from-left",closed:"-translate-x-full pointer-events-none"},l9=`flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-transparent text-default-secondary transition-colors hover:bg-hover-neutral hover:text-default-primary ${ue.control}`,i9="flex min-h-0 flex-col p-3",u9="flex w-full cursor-pointer select-none items-center gap-3 rounded-lg px-3 py-2.5 text-left text-default-primary outline-none transition-colors hover:bg-hover-neutral disabled:pointer-events-none disabled:opacity-50",d9="bg-weak-brand text-default-brand",c9="pl-9",f9="ml-auto flex h-4 w-4 shrink-0 items-center justify-center text-default-secondary transition-transform";var ta=C(E()),y0=({name:e,grow:t=!1,children:a})=>Jn(a)?(0,ta.jsx)("div",{"data-sidebar-slot":e,className:R(i9,t&&"flex-1 overflow-y-auto"),children:a}):null,p9=({label:e,collapsed:t=!1,onCollapsedChange:a,collapseLabel:o="Toggle navigation",open:n=!1,onOpenChange:r,header:s,children:l,footer:i,className:u})=>{let c=Dp.default.useRef(null),d=Dp.default.useRef(null);Dp.default.useEffect(()=>{if(n)return d.current=document.activeElement,c.current?.focus(),()=>d.current?.focus?.()},[n]);let p=f=>(0,ta.jsxs)("nav",{"aria-label":e,className:"flex h-full min-h-0 flex-col",children:[(0,ta.jsx)(y0,{name:"header",children:s}),(0,ta.jsx)(y0,{name:"list",grow:!0,children:l}),(0,ta.jsx)(y0,{name:"footer",children:i}),f&&a!==void 0&&(0,ta.jsx)("div",{className:"flex justify-end p-3",children:(0,ta.jsx)("button",{type:"button","data-sidebar-collapse":"","aria-label":o,"aria-expanded":!t,className:l9,onClick:()=>a(!t),children:(0,ta.jsx)("span",{"aria-hidden":"true",children:t?"\u203A":"\u2039"})})})]});return(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)("aside",{"data-sidebar-rail":"",className:R(n9,t?g0.small:g0.large,u),children:p(!0)}),n&&(0,ta.jsx)("div",{"data-sidebar-scrim":"",className:r9,onClick:r&&(()=>r(!1))}),(0,ta.jsx)("aside",{"data-sidebar-drawer":"",ref:c,tabIndex:-1,onKeyDown:f=>{f.key==="Escape"&&n&&r&&r(!1)},...n?{}:{"aria-hidden":"true",inert:!0},className:R(s9,n?x0.open:x0.closed,u),children:p(!1)})]})};var Qo=C(E()),m9=({label:e,icon:t,state:a="menu",active:o=!1,expanded:n=!1,disclosure:r,nested:s=!1,collapsed:l=!1,href:i,linkComponent:u="a",onClick:c,disabled:d=!1,className:p})=>{let f=a==="submenu",g={"data-sidebar-item":"",...o?{"aria-current":"page"}:{},...f?{"aria-expanded":n}:{},...l?{"aria-label":e}:{},onClick:d?void 0:c,className:R(u9,o&&d9,s&&c9,l&&"justify-center px-0",d&&"pointer-events-none opacity-50",p)},x=(0,Qo.jsxs)(Qo.Fragment,{children:[t!==void 0&&(0,Qo.jsx)("span",{className:"flex h-5 w-5 shrink-0 items-center",children:t}),!l&&(0,Qo.jsx)("span",{className:"flex-1 truncate text-sm font-medium leading-5",children:e}),f&&!l&&(0,Qo.jsx)("span",{"data-sidebar-disclosure":"","aria-hidden":"true",className:R(f9,n&&"rotate-90"),children:r??"\u203A"})]});return i===void 0?(0,Qo.jsx)("button",{type:"button",disabled:d,...g,children:x}):(0,Qo.jsx)(u,{...g,...d?{"aria-disabled":!0,tabIndex:-1}:{href:i},children:x})};var oR=C(I());var h9=`flex w-full flex-col border border-default-primary bg-default-primary shadow-sm transition-shadow focus-within:shadow-md ${ue.surface}`,g9="w-full rounded-2xl p-4 gap-5",x9="relative w-full",b0="w-full resize-none bg-transparent text-sm leading-5 text-default-primary outline-none placeholder:text-default-secondary disabled:cursor-not-allowed disabled:opacity-60",y9="absolute right-0 top-0",b9="flex w-full items-end justify-between gap-2",v0="flex items-center gap-2",v9="w-full flex-wrap items-center gap-3 rounded-2xl p-3",_p={open:"flex",collapsed:"hidden"},C9={inherit:"",neutral:"border border-default-primary bg-default-secondary text-default-primary",info:"border border-callout-default-border bg-callout-default-surface text-callout-default-text",warning:"border border-callout-warn-border bg-callout-warn-surface text-callout-warn-text",danger:"border border-callout-neg-border bg-callout-neg-surface text-callout-neg-text"},S9=`flex w-full shrink-0 basis-full items-center justify-center rounded-lg py-1 ${ue.control}`,w9="block h-[3px] w-6 rounded-full bg-hover-invert/25 transition-colors group-hover:bg-default-invert",L9="flex w-full items-center gap-3 text-left text-sm leading-5",R9=`ml-auto flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-default-secondary transition-colors hover:bg-hover-neutral ${ue.control}`,C0="relative shrink-0",T9="h-20 w-20 overflow-hidden rounded-lg bg-default-secondary",E9="h-full w-full object-cover",I9=`absolute -right-2 -top-2 flex h-[22px] w-[22px] items-center justify-center rounded-full border border-default-primary bg-default-primary p-1 text-default-primary ${ue.control}`,A9="flex items-end gap-2 rounded-xl border border-default-primary bg-default-primary py-1.5 pl-1.5 pr-4",M9="flex h-9 w-9 shrink-0 items-center justify-center rounded bg-default-success text-[10px] font-semibold uppercase text-default-invert",O9="flex min-w-0 flex-col",D9="truncate text-sm leading-5 text-default-primary",S0="text-xs leading-4 uppercase text-default-secondary",_9={idle:"hidden",uploading:"absolute inset-0 flex items-center justify-center rounded-xl bg-default-overlay/40 text-default-invert",error:"absolute inset-0 flex items-center justify-center rounded-xl bg-default-error/60 text-default-invert",done:"absolute bottom-1 right-1 flex h-5 w-5 items-center justify-center rounded-full bg-default-success text-default-invert"},k9="relative",P9="flex w-full flex-col",N9="rounded-2xl",B9={neutral:"bg-default-secondary text-default-primary",info:"bg-callout-default-surface text-callout-default-text",warning:"bg-callout-warn-surface text-callout-warn-text",danger:"bg-callout-neg-surface text-callout-neg-text"},H9=`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border transition-colors disabled:cursor-not-allowed ${ue.control}`,F9={tools:"border-default-primary bg-default-primary text-default-primary hover:bg-hover-neutral",attachment:"border-default-primary bg-default-primary text-default-primary hover:bg-hover-neutral",voice:"border-default-primary bg-default-primary text-default-primary hover:bg-hover-neutral",send:"border-transparent bg-default-brand text-default-invert hover:bg-hover-brand"},z9={voice:"border-transparent bg-default-error text-default-invert hover:bg-hover-error",tools:"border-transparent bg-default-brand text-default-invert hover:bg-hover-brand",attachment:"border-transparent bg-default-brand text-default-invert hover:bg-hover-brand",send:"border-transparent bg-default-brand text-default-invert hover:bg-hover-brand"},G9={tools:"disabled:opacity-50",attachment:"disabled:opacity-50",voice:"disabled:opacity-50",send:"disabled:border-transparent disabled:bg-default-secondary disabled:text-default-secondary disabled:hover:bg-default-secondary"},zl={default:"h-5 w-5",wide:"h-6 w-6",tight:"h-3.5 w-3.5",spinner:"h-4 w-4 animate-spin"},V9={send:"",stop:"border-transparent bg-default-error text-default-invert hover:bg-hover-error",waiting:""},U9="flex w-full items-center gap-3 rounded-xl border border-default-brand/20 bg-weak-brand px-3 shadow-sm",q9={compact:"h-8",landing:"h-9"},W9="relative flex items-center justify-center rounded-full bg-default-brand text-default-invert shadow-md",Y9={compact:"h-6 w-6",landing:"h-8 w-8"},K9="absolute inset-0 rounded-full bg-default-brand/20 animate-ping motion-reduce:hidden",X9="flex min-w-0 flex-1 items-center gap-3",Z9={compact:"text-xs font-medium text-default-brand",landing:"text-sm font-medium text-default-brand"},j9={compact:"h-3 w-3",landing:"h-4 w-4"},$9={compact:"h-2.5 w-2.5",landing:"h-3.5 w-3.5"},Q9=`flex shrink-0 items-center justify-center rounded-full bg-default-error text-default-invert transition-colors hover:bg-hover-error ${ue.control}`,J9={compact:"h-5 w-5",landing:"h-7 w-7"},eR="flex h-4 items-center gap-0.5",tR="h-full w-1 rounded-full bg-default-brand",aR={idle:"scale-y-[0.3]",listening:"animate-ds-soundwave motion-reduce:animate-none motion-reduce:scale-y-[0.3]"};var kp=C(I());var Gl=C(E()),XH=150,Pp=kp.default.forwardRef(function({value:t,onValueChange:a,placeholder:o,placeholderSlot:n,label:r,disabled:s=!1,affordance:l,className:i,...u},c){let d=kp.default.useRef(null),p=cn(d,c);return kp.default.useEffect(()=>{let f=d.current;f&&(f.style.height="auto",f.style.height=`${Math.min(f.scrollHeight,XH)}px`)},[t]),(0,Gl.jsxs)("div",{className:x9,children:[(0,Gl.jsx)("textarea",{...u,ref:p,rows:1,value:t,onChange:f=>a(f.target.value),disabled:s,"aria-label":r,placeholder:n?void 0:o,className:i?`${b0} ${i}`:b0}),n&&t.length===0&&(0,Gl.jsx)("span",{className:"pointer-events-none absolute left-0 top-0",children:n}),l&&(0,Gl.jsx)("span",{className:y9,children:l})]})});var no=C(E()),nR=oR.default.forwardRef(function({value:t,onValueChange:a,placeholder:o,placeholderSlot:n,editorLabel:r,disabled:s=!1,onEditorKeyDown:l,onEditorPaste:i,onEditorFocus:u,onEditorBlur:c,toolActions:d,sendActions:p,actionRow:f,header:g,footer:x,tone:b="neutral",editorAffordance:m,overlay:h,className:y},v){let S=!!g||!!x;return(0,no.jsxs)("div",{className:k9,children:[(0,no.jsxs)("div",{className:R(P9,S&&N9,S&&B9[b],y),"data-tray":S?b:void 0,children:[g,(0,no.jsxs)("div",{className:R(h9,g9),"data-testid":"chat-composer-box",children:[(0,no.jsx)(Pp,{ref:v,value:t,onValueChange:a,placeholder:o,placeholderSlot:n,label:r,disabled:s,affordance:m,onKeyDown:l,onPaste:i,onFocus:u,onBlur:c}),(0,no.jsx)("div",{className:b9,"data-row":f?"replaced":"groups",children:f??(0,no.jsxs)(no.Fragment,{children:[(0,no.jsx)("div",{className:v0,children:d}),(0,no.jsx)("div",{className:v0,children:p})]})})]}),x]}),h]})});var Np=C(I());var Rn=C(E()),rR=Np.default.forwardRef(function({variant:t="inherit",collapsed:a,onCollapsedChange:o,collapseLabel:n="Sembunyikan",collapsedSummary:r,onDismiss:s,dismissLabel:l="Tutup",children:i,className:u},c){let d=a!==void 0&&o!==void 0,p=d&&a,f=Np.default.useId();return Np.default.Children.count(i)===0&&!d?null:(0,Rn.jsxs)("div",{ref:c,className:R(_p.open,v9,C9[t],u),"data-testid":"chat-drawer","data-variant":t,children:[d&&(0,Rn.jsx)("button",{type:"button",className:`group ${S9}`,"aria-label":n,"aria-expanded":!a,"aria-controls":f,onClick:()=>o(!a),children:p&&r!==void 0?(0,Rn.jsx)("span",{className:L9,children:r}):(0,Rn.jsx)("span",{className:w9})}),(0,Rn.jsx)("div",{id:f,hidden:p,className:R("flex-wrap items-center gap-3",p?_p.collapsed:_p.open),children:i}),s&&!p&&(0,Rn.jsx)("button",{type:"button",className:R9,"aria-label":l,onClick:s,children:(0,Rn.jsx)(Q,{name:"x",className:"h-3.5 w-3.5"})})]})});var lR=C(I());var fa=C(E()),sR=(e,t)=>t??(e.includes(".")?e.split(".").pop():"?"),iR=lR.default.forwardRef(function({variant:t="image",name:a,previewUrl:o,typeLabel:n,extension:r,sizeBytes:s,showSize:l=!1,status:i="idle",onRemove:u,children:c,className:d},p){return(0,fa.jsxs)("div",{ref:p,className:d?`${C0} ${d}`:C0,"data-attachment-name":a,children:[t==="file"?(0,fa.jsxs)("div",{className:A9,children:[(0,fa.jsx)("span",{className:M9,"aria-hidden":!0,children:sR(a,r).slice(0,4)}),(0,fa.jsxs)("span",{className:O9,children:[(0,fa.jsx)("span",{className:D9,children:a}),(0,fa.jsx)("span",{className:S0,children:[n??sR(a,r),l&&s!==void 0?Vc(s):null].filter(Boolean).join(" \u2022 ")})]})]}):(0,fa.jsx)("div",{className:T9,children:o&&(0,fa.jsx)("img",{src:o,alt:a,className:E9})}),i!=="idle"&&(0,fa.jsx)("span",{className:_9[i],"data-status":i,children:(0,fa.jsx)(Q,{name:i==="done"?"check":i==="error"?"alert-triangle":"loader",className:"h-4 w-4"})}),c,u&&(0,fa.jsx)("button",{type:"button",className:I9,"aria-label":`Hapus ${a}`,onClick:u,children:(0,fa.jsx)(Q,{name:"x",className:"h-full w-full"})}),l&&t!=="file"&&s!==void 0&&(0,fa.jsx)("span",{className:S0,children:Vc(s)})]})});var dR=C(I());var uR=C(I());var w0=C(E()),Tr=uR.default.forwardRef(function({kind:t,glyph:a,toggle:o,glyphClassName:n,state:r="default",label:s,className:l,...i},u){let c=r==="active",d=c?a.active:a.default;return(0,w0.jsx)("button",{...i,ref:u,type:"button","aria-label":s,"aria-pressed":o?c:void 0,className:R(H9,c?z9[t]:F9[t],G9[t],l),children:(0,w0.jsx)(Q,{name:d,className:n??(d==="composer-minus"?zl.wide:zl.default)})})});var fR=C(E()),cR=dR.default.forwardRef(function(t,a){return(0,fR.jsx)(Tr,{...t,ref:a,kind:"tools",glyph:{default:"composer-plus",active:"composer-minus"},toggle:!0})});var pR=C(I());var hR=C(E()),mR=pR.default.forwardRef(function(t,a){return(0,hR.jsx)(Tr,{...t,ref:a,kind:"attachment",glyph:{default:"composer-attach",active:"composer-minus"},toggle:!0})});var gR=C(I());var yR=C(E()),xR=gR.default.forwardRef(function(t,a){return(0,yR.jsx)(Tr,{...t,ref:a,kind:"voice",glyph:{default:"composer-mic",active:"pause"},toggle:!0})});var bR=C(I());var CR=C(E()),ZH={send:"composer-send",stop:"square",waiting:"loader"},jH={send:void 0,stop:zl.tight,waiting:zl.spinner},vR=bR.default.forwardRef(function({state:t="send",className:a,...o},n){let r=ZH[t];return(0,CR.jsx)(Tr,{...o,ref:n,kind:"send",glyph:{default:r,active:r},glyphClassName:jH[t],toggle:!1,className:R(V9[t],a),"data-send-state":t})});var SR=C(I());var L0=C(E()),$H=100,Bp=SR.default.forwardRef(function({state:t="listening",bars:a=5,className:o,...n},r){return(0,L0.jsx)("div",{ref:r,"aria-hidden":!0,"data-state":t,className:R(eR,o),...n,children:Array.from({length:a},(s,l)=>(0,L0.jsx)("div",{className:R(tR,aR[t]),style:t==="listening"?{animationDelay:`${l*$H}ms`}:void 0},l))})});var wR=C(I());var ro=C(E()),LR=wR.default.forwardRef(function({size:t,label:a,stopLabel:o,onStop:n,className:r,...s},l){return(0,ro.jsxs)("div",{ref:l,"data-size":t,"data-testid":"chat-voice-bar","aria-live":"polite",className:R(U9,q9[t],r),...s,children:[(0,ro.jsxs)("div",{className:"relative shrink-0",children:[(0,ro.jsx)("span",{"aria-hidden":!0,className:K9}),(0,ro.jsx)("span",{className:R(W9,Y9[t]),children:(0,ro.jsx)(Q,{name:"composer-mic","aria-hidden":!0,className:j9[t]})})]}),(0,ro.jsxs)("div",{className:X9,children:[(0,ro.jsx)("span",{className:Z9[t],children:a}),(0,ro.jsx)(Bp,{state:"listening"})]}),(0,ro.jsx)("button",{type:"button",onClick:n,title:o,"aria-label":o,className:R(Q9,J9[t]),children:(0,ro.jsx)(Q,{name:"pause","aria-hidden":!0,fill:"currentColor",strokeWidth:0,className:$9[t]})})]})});var E0=C(I());var RR="flex w-full min-w-0 flex-col",TR="flex items-center gap-ds-3xs",ER="shrink-0",IR={assistant:"items-start",user:"items-end",system:"items-center"},AR={compact:"gap-ds-2xs",balanced:"gap-ds-sm",spacious:"gap-ds-md"},Hp={compact:"-mb-ds-4xs",balanced:"-mb-ds-3xs",spacious:"-mb-ds-2xs"},Fp={compact:"-mt-ds-4xs",balanced:"-mt-ds-3xs",spacious:"-mt-ds-2xs"},zp="text-xs leading-4 text-default-secondary",Vl={compact:"px-ds-sm",balanced:"px-ds-md",spacious:"px-ds-lg"},MR={compact:"py-ds-2xs",balanced:"py-ds-sm",spacious:"py-ds-md"},OR="min-w-0 break-words rounded-ds-xl text-sm leading-5",DR={assistant:"bg-callout-default-surface text-default-primary",user:"bg-callout-default-surface text-default-primary",system:"bg-default-secondary text-default-primary"},_R="bg-transparent",kR={auto:"max-w-[85%]",full:"w-full max-w-none self-stretch"},PR={none:"",first:"rounded-es-ds-xs",middle:"rounded-ss-ds-xs rounded-es-ds-xs",last:"rounded-ss-ds-xs"},NR={none:"",first:"rounded-ee-ds-xs",middle:"rounded-se-ds-xs rounded-ee-ds-xs",last:"rounded-se-ds-xs"},BR="flex items-center gap-ds-4xs text-xs leading-4 text-default-secondary",HR={assistant:"flex-row",user:"flex-row-reverse",system:"flex-row"},FR="select-none text-disable-primary",zR={sending:"animate-pulse motion-reduce:animate-none",sent:"",delivered:"",read:"",error:"text-default-error"},GR="h-3.5 w-3.5 shrink-0",VR="inline-flex shrink-0 items-center gap-ds-5xs",UR="flex min-h-0 w-full flex-1 flex-col",qR="flex w-full flex-col",WR={compact:"p-ds-sm",balanced:"p-ds-lg",spacious:"p-ds-xl"},YR={compact:"gap-ds-sm",balanced:"gap-ds-lg",spacious:"gap-ds-2xl"},KR={none:"gap-ds-null","2xs":"gap-ds-2xs",xs:"gap-ds-xs",sm:"gap-ds-sm",md:"gap-ds-md",lg:"gap-ds-lg"},XR="flex-1",ZR="flex flex-1 flex-col items-center justify-center gap-ds-2xs text-sm text-default-secondary",jR="h-px w-full shrink-0",$R="flex w-full shrink-0 items-center justify-center py-ds-2xs",QR="relative flex min-h-0 w-full flex-1 flex-col",JR="flex min-h-0 w-full flex-1 flex-col overflow-y-auto overscroll-contain",eT="pointer-events-none absolute inset-x-0 bottom-ds-md flex justify-center",tT=`pointer-events-auto relative inline-flex h-9 shrink-0 items-center gap-ds-4xs rounded-ds-full border border-default-primary bg-default-primary text-xs leading-4 text-default-primary shadow-md transition-colors hover:bg-hover-neutral motion-reduce:transition-none ${ue.control}`,aT={icon:"w-9 justify-center",labelled:"px-ds-sm"},oT="h-4 w-4 shrink-0",nT="absolute -right-ds-5xs -top-ds-5xs h-ds-2xs w-ds-2xs rounded-ds-full bg-default-brand",rT=`inline-flex shrink-0 items-center justify-center rounded-ds-sm p-ds-3xs transition-colors disabled:cursor-not-allowed ${ue.control}`,sT={idle:"text-default-secondary hover:bg-weak-success hover:text-hover-success",loading:"bg-weak-success text-default-success",playing:"bg-weak-success text-default-success",paused:"bg-weak-warning text-default-warning",error:"bg-weak-error text-default-error"},lT="h-4 w-4";var As=C(I()),iT=As.default.createContext(null),uT=As.default.createContext(null),dT=iT.Provider,cT=uT.Provider,fT=()=>As.default.useContext(iT),QH=()=>As.default.useContext(uT),R0="assistant",T0="balanced",Gp=e=>{let t=fT(),a=QH();return e??t?.density??a?.density??T0},Vp=()=>fT()?.sender??R0,Ul="data-chat-message",pT=As.default.createContext(null),mT=pT.Provider,hT=()=>As.default.useContext(pT);var Er=C(E()),JH=IR,gT=Vl,eF=AR,tF=Hp,aF=Fp,xT=E0.default.forwardRef(function({sender:t="assistant",density:a,avatar:o,name:n,metadata:r,children:s,className:l,...i},u){let c=Gp(a),d=t==="system",p=E0.default.useMemo(()=>({sender:t,density:c}),[t,c]),f=typeof n=="string"&&n.length>0?n:t;return(0,Er.jsxs)("article",{ref:u,"aria-label":f,[Ul]:"","data-sender":t,"data-density":c,className:R(RR,eF[c],JH[t],l),...i,children:[!d&&(o!==void 0||n!==void 0)&&(0,Er.jsxs)("div",{className:R(TR,gT[c],tF[c]),children:[o!==void 0&&(0,Er.jsx)("div",{className:ER,children:o}),n!==void 0&&(0,Er.jsx)("div",{className:zp,children:n})]}),(0,Er.jsx)(dT,{value:p,children:s}),!d&&r!==void 0&&(0,Er.jsx)("div",{className:R(gT[c],aF[c]),children:r})]})});var yT=C(I());var Ir=C(E()),oF=PR,nF=NR,rF=kR,bT=yT.default.forwardRef(function({group:t="none",width:a="auto",ghost:o=!1,name:n,metadata:r,children:s,className:l,...i},u){let c=Vp(),d=Gp(),p=c==="user"?nF[t]:oF[t];return(0,Ir.jsxs)(Ir.Fragment,{children:[n!==void 0&&(0,Ir.jsx)("div",{className:R(zp,Vl[d],Hp[d]),children:n}),(0,Ir.jsx)("div",{ref:u,"data-sender":c,"data-group":t,"data-width":a,"data-ghost":o?"":void 0,className:R(OR,Vl[d],o?_R:R(MR[d],DR[c]),p,rF[a],l),...i,children:s}),r!==void 0&&(0,Ir.jsx)("div",{className:R(Vl[d],Fp[d]),children:r})]})});var Jo=C(I());var en=C(E()),sF=WR,lF=YR,iF=KR,vT=Jo.default.forwardRef(function({density:t="balanced",align:a="bottom",gap:o,streaming:n=!1,label:r,emptyState:s,scrollToTopAction:l,children:i,className:u,...c},d){let p=hT(),f=Jo.default.useRef(null),[g,x]=Jo.default.useState(!1),b=Jo.default.useMemo(()=>({density:t}),[t]),m=s!==void 0&&Jo.default.Children.count(i)===0,h=p?.registerContent,y=Jo.default.useCallback(L=>{h?.(L)},[h]),v=Jo.default.useRef(l);v.current=l;let S=l!==void 0,w=Jo.default.useRef(!1);return Jo.default.useEffect(()=>{let L=f.current;if(!S||L===null)return;let T=!1,A=new IntersectionObserver(O=>{!O.some(B=>B.isIntersecting)||w.current||(w.current=!0,x(!0),(async()=>v.current?.())().catch(()=>{}).finally(()=>{w.current=!1,T||x(!1)}))},{root:p?.scrollContainer??null});return A.observe(L),()=>{T=!0,A.disconnect(),x(!1)}},[S,p]),(0,en.jsx)("div",{ref:d,role:"log","aria-live":"polite","aria-busy":n?!0:void 0,"aria-label":r,tabIndex:0,"data-density":t,"data-align":a,"data-gap":o,className:R(UR,u),...c,children:(0,en.jsxs)("div",{ref:y,className:R(qR,sF[t],o===void 0?lF[t]:iF[o]),children:[a==="bottom"&&!m&&(0,en.jsx)("div",{"aria-hidden":!0,"data-spacer":!0,className:XR}),S&&(0,en.jsx)("div",{ref:f,"data-sentinel":!0,className:jR}),g&&(0,en.jsx)("div",{"data-pending":!0,className:$R,children:(0,en.jsx)(Co,{size:"sm",label:"Memuat pesan sebelumnya"})}),(0,en.jsx)(cT,{value:b,children:i}),m&&(0,en.jsx)("div",{className:ZR,children:s})]})})});var A0=C(I());var CT={sending:{icon:"rotate-cw",label:"Mengirim"},sent:{icon:"check-circle",label:"Terkirim"},delivered:{icon:"check-circle-filled",label:"Sampai"},read:{icon:"check-circle-filled",label:"Dibaca"},error:{icon:"alert-circle",label:"Gagal terkirim"}},I0=e=>e!=null&&e!==""&&e!==!1;var tn=C(E()),uF=zR,dF=CT,ST=A0.default.forwardRef(function({timestamp:t,footer:a,status:o,className:n,...r},s){let l=Vp(),i=[];if(I0(t)&&i.push((0,tn.jsx)("span",{children:t},"time")),I0(a)&&i.push((0,tn.jsx)("span",{children:a},"footer")),o!==void 0){let{icon:u,label:c}=dF[o];i.push((0,tn.jsxs)("span",{"data-status":o,title:c,"aria-label":c.toLowerCase(),className:R(VR,uF[o]),children:[(0,tn.jsx)(Q,{name:u,"aria-hidden":!0,className:GR}),(0,tn.jsx)("span",{children:c})]},"status"))}return i.length===0?null:(0,tn.jsx)("div",{ref:s,"data-sender":l,className:R(BR,HR[l],n),...r,children:i.map((u,c)=>(0,tn.jsxs)(A0.default.Fragment,{children:[c>0&&(0,tn.jsx)("span",{"aria-hidden":!0,className:FR,children:"\xB7"}),u]},c))})});var wT=C(I());var Up=C(E()),LT=wT.default.forwardRef(function({state:t,label:a,onToggle:o,className:n,disabled:r,...s},l){return(0,Up.jsx)("button",{ref:l,type:"button",onClick:o,disabled:r||t==="loading",title:a,"aria-label":a,"data-state":t,className:R(rT,sT[t],n),...s,children:t==="loading"?(0,Up.jsx)(Co,{size:"sm",variant:"primary",label:""}):(0,Up.jsx)(Q,{name:t==="playing"?"pause":"speaker","aria-hidden":!0,className:lT})})});var RT=C(I());var ql=C(E()),qp=RT.default.forwardRef(function({label:t,shape:a="icon",hasNewMessages:o=!1,className:n,...r},s){return(0,ql.jsxs)("button",{ref:s,type:"button","aria-label":t,"data-shape":a,"data-new-messages":o?"":void 0,className:R(tT,aT[a],n),...r,children:[(0,ql.jsx)(Q,{name:"chevron-down","aria-hidden":!0,className:oT}),a==="labelled"&&(0,ql.jsx)("span",{children:t}),o&&(0,ql.jsx)("span",{"aria-hidden":!0,className:nT})]})});var Wl=C(I());var Tt=C(I());var cF=32,fF=4,pF=.2,Wp="data-chat-stream-scroll",TT="chat-stream-scroll-anchoring",mF=()=>{if(typeof document>"u"||document.getElementById(TT)!==null)return;let e=document.createElement("style");e.id=TT,e.textContent=`[${Wp}] { overflow-anchor: none; }`,document.head.appendChild(e)},hF=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches,Yp=({container:e,content:t,resetKey:a})=>{let[o,n]=Tt.default.useState(!1),[r,s]=Tt.default.useState(!1),l=Tt.default.useRef(!0),i=Tt.default.useRef(0),u=Tt.default.useRef(null),c=Tt.default.useRef(!0),d=Tt.default.useRef(null),p=Tt.default.useCallback(()=>{u.current!==null&&(cancelAnimationFrame(u.current),u.current=null)},[]),f=Tt.default.useCallback(h=>{let y=e;if(y===null)return;if(p(),h||hF()){let S=y.scrollHeight-y.clientHeight;y.scrollTop=S,i.current=y.scrollTop;return}let v=()=>{let S=e;if(S===null||!l.current){u.current=null;return}let w=S.scrollHeight-S.clientHeight,L=w-S.scrollTop;if(L<1){S.scrollTop=w,i.current=S.scrollTop,u.current=null;return}S.scrollTop=S.scrollTop+L*pF,i.current=S.scrollTop,u.current=requestAnimationFrame(v)};u.current=requestAnimationFrame(v)},[p,e]),g=Tt.default.useCallback(()=>{l.current=!1,n(!0)},[]),x=Tt.default.useCallback(()=>{l.current=!0,n(!1),s(!1)},[]),b=Tt.default.useCallback(()=>{x(),f(!1)},[x,f]);Tt.default.useEffect(()=>{let h=e;if(h===null)return;mF();let y=()=>{let v=h.scrollTop,S=h.scrollHeight-v-h.clientHeight,w=S<=fF;v<i.current&&!w?g():!l.current&&S<=cF&&x(),i.current=v};return h.addEventListener("scroll",y,{passive:!0}),()=>{h.removeEventListener("scroll",y)}},[e,x,g]),Tt.default.useEffect(()=>{let h=e;if(h!==null)return o?h.removeAttribute(Wp):h.setAttribute(Wp,""),()=>h.removeAttribute(Wp)},[e,o]),Tt.default.useEffect(()=>{if(t===null)return;let h=new ResizeObserver(()=>{let y=t.querySelectorAll(`[${Ul}]`),v=y.length===0?null:y[y.length-1],S=v!==d.current;if(d.current=v,l.current){let w=e,L=w!==null&&w.scrollHeight-w.clientHeight>0;f(c.current&&L),L&&(c.current=!1);return}S&&s(!0)});return h.observe(t),()=>h.disconnect()},[e,t,f]);let m=Tt.default.useRef(!0);return Tt.default.useEffect(()=>{if(m.current){m.current=!1;return}p(),c.current=!0,d.current=null,x()},[a,p,x]),Tt.default.useEffect(()=>p,[p]),{isScrolledUp:o,hasNewMessages:r,scrollToBottom:b}};var Ms=C(E()),ET=Wl.default.forwardRef(function({pill:t,scrollToBottomLabel:a="Ke pesan terbaru",children:o,className:n,...r},s){let[l,i]=Wl.default.useState(null),[u,c]=Wl.default.useState(null),d=Wl.default.useCallback(g=>{c(g)},[]),p=Wl.default.useMemo(()=>({scrollContainer:l,registerContent:d}),[l,d]),f=Yp({container:l,content:u});return(0,Ms.jsxs)("div",{ref:s,className:R(QR,n),...r,children:[(0,Ms.jsx)("div",{ref:i,"data-thread-scroller":!0,className:JR,children:(0,Ms.jsx)(mT,{value:p,children:o})}),f.isScrolledUp&&(0,Ms.jsx)("div",{className:eT,children:t===void 0?(0,Ms.jsx)(qp,{label:a,hasNewMessages:f.hasNewMessages,onClick:f.scrollToBottom}):t(f)})]})});var IT=C(I());var AT=C(E()),M0=IT.default.forwardRef(({className:e,variant:t="elevated",padding:a="medium",children:o,...n},r)=>(0,AT.jsx)("div",{ref:r,className:R(u8,d8[t],c8[a],e),...n,children:o}));M0.displayName="Card";var Tn=C(I());var ko=C(E()),MT=Tn.default.createContext(void 0),OT=()=>{let e=Tn.default.useContext(MT);if(!e)throw new Error("Tabs components must be used within a Tabs component");return e},DT=(e,t)=>`${e}-tab-${t}`,_T=(e,t)=>`${e}-panel-${t}`,kT=({value:e,onValueChange:t,defaultValue:a,size:o="large",children:n,className:r})=>{let[s,l]=Tn.default.useState(a??""),i=e!==void 0,u=i?e:s,c=Tn.default.useId(),d=Tn.default.useCallback(p=>{i||l(p),t?.(p)},[i,t]);return(0,ko.jsx)(MT.Provider,{value:{value:u,onValueChange:d,size:o,baseId:c},children:(0,ko.jsx)("div",{className:r,children:n})})},O0=Tn.default.forwardRef(({className:e,label:t,children:a,onKeyDown:o,...n},r)=>(0,ko.jsx)("div",{...n,ref:r,role:"tablist","aria-label":t,"aria-orientation":"horizontal",onKeyDown:l=>{if(o?.(l),!["ArrowRight","ArrowLeft","Home","End"].includes(l.key))return;let u=[...l.currentTarget.querySelectorAll('[role="tab"]:not(:disabled)')];if(u.length===0)return;let c=u.indexOf(document.activeElement);if(c===-1)return;l.preventDefault();let d=l.key==="Home"?0:l.key==="End"?u.length-1:(c+(l.key==="ArrowRight"?1:-1)+u.length)%u.length;u[d].focus(),u[d].click()},className:R(x8,e),children:a}));O0.displayName="TabsList";var D0=Tn.default.forwardRef(({className:e,value:t,iconLeft:a,notif:o,notifLabel:n,showTitle:r=!0,children:s,onClick:l,...i},u)=>{let{value:c,onValueChange:d,size:p,baseId:f}=OT(),g=c===t?"active":"default";return(0,ko.jsxs)("button",{...i,ref:u,type:"button",role:"tab",id:DT(f,t),"aria-selected":g==="active","aria-controls":_T(f,t),tabIndex:g==="active"?0:-1,className:R(y8,v8[p],b8[g],e),onClick:x=>{d(t),l?.(x)},children:[a?(0,ko.jsx)("span",{"aria-hidden":!0,className:vr,children:a}):null,r?s:null,o!==void 0?(0,ko.jsxs)("span",{className:R(C8,S8[p],w8[g]),children:[(0,ko.jsx)("span",{"aria-hidden":!0,children:o}),(0,ko.jsx)("span",{className:"sr-only",children:n?n(o):`${o}`})]}):null]})});D0.displayName="TabsTrigger";var _0=Tn.default.forwardRef(({className:e,value:t,children:a,...o},n)=>{let{value:r,baseId:s}=OT();return(0,ko.jsx)("div",{...o,ref:n,role:"tabpanel",id:_T(s,t),"aria-labelledby":DT(s,t),hidden:r!==t,tabIndex:r===t?0:void 0,className:e,children:a})});_0.displayName="TabsContent";var Ar=C(I());var PT="flex h-dvh w-full flex-col overflow-hidden bg-default-primary",NT="flex min-h-0 flex-1 overflow-hidden",BT="flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden",k0={rail:"hidden h-full shrink-0 md:flex",drawer:"contents md:hidden"},HT="shrink-0";var Yl=C(E()),gF=10,FT="main",zT=({header:e,sidebar:t,mobileSidebar:a,children:o,routeKey:n,onScrolledChange:r,className:s})=>{let l=Ar.default.useRef(null),[i,u]=Ar.default.useState(!1),c=Ar.default.useRef(r);c.current=r;let d=Ar.default.useRef(!1),p=Ar.default.useCallback(g=>{g!==d.current&&(d.current=g,u(g),c.current?.(g))},[]);Ar.default.useEffect(()=>{let g=l.current;if(!g)return;let x=g.querySelector(`[data-app-shell-slot="${FT}"]`);if(!x)return;let b=m=>{let h=m.target;!h||typeof h.scrollTop!="number"||x.contains(h)&&(h.scrollHeight<=h.clientHeight||p(h.scrollTop>gF))};return g.addEventListener("scroll",b,!0),()=>g.removeEventListener("scroll",b,!0)},[p]),Ar.default.useEffect(()=>{p(!1)},[n,p]);let f=(g,x,b)=>Jn(b)?(0,Yl.jsx)("div",{"data-app-shell-slot":g,className:x,children:b}):null;return(0,Yl.jsxs)("div",{ref:l,"data-app-shell":"",className:R(PT,s),children:[f("header",HT,typeof e=="function"?e({scrolled:i}):e),(0,Yl.jsxs)("div",{className:NT,children:[f("sidebar",k0.rail,t),f("mobileSidebar",k0.drawer,a),(0,Yl.jsx)("main",{"data-app-shell-slot":FT,className:BT,children:o})]})]})};var P0={brand:{b600:"#003d79",b500:"#0051a2",b400:"#0074e7",b300:"#2b8ceb",b200:"#6baef1",b100:"#96c6f5",b10:"#f0f7ff",b10Pct:"#0074e71a"},neutral:{n999:"#000000",n600:"#021629",n500:"#03203d",n400:"#042648",n300:"#314d69",n200:"#61768c",n100:"#93a2b0",n40:"#c3cbd3",n30:"#f0f0f0",n20:"#f6f6f6",n10:"#fbfbfb",n0:"#ffffff"},red:{r600:"#7c0000",r500:"#a20000",r400:"#e70000",r300:"#eb2b2b",r200:"#f16b6b",r100:"#f59696",r10:"#fff3f3",r10Pct:"#e700001a"},green:{g600:"#005847",g500:"#087660",g400:"#0ea06e",g300:"#1cc68e",g200:"#6ee9c0",g100:"#99efd3",g10:"#ecfdf7",g10Pct:"#0ea06e1a"},yellow:{y600:"#956007",y500:"#ac6f08",y400:"#f59e0b",y300:"#fbbc04",y200:"#fdd86d",y100:"#fde498",y10:"#fff8e6",y10Pct:"#f59e0b1a"},font:{size:{"3xs":8,"2xs":10,xs:12,sm:14,md:16,lg:18,xl:20,"2xl":22,"3xl":24,"4xl":28,"5xl":32,"6xl":36,"7xl":40,"8xl":56},letterSpacing:{none:0,sm:-.10000000149011612,md:-.30000001192092896,lg:-1},lineHeight:{"4xs":14,"3xs":16,"2xs":18,xs:20,sm:22,md:24,lg:26,xl:28,"2xl":32,"3xl":36,"4xl":40,"5xl":48,"6xl":64},familiy:{brand:"Be Vietnam Pro"},weight:{regular:"Regular",medium:"Medium",semibold:"SemiBold",bold:"Bold"}},percentage:{"0Pct":0,"10Pct":10,"60Pct":60,"100Pct":100},measurement:{0:0,1:16,2:32,3:48,4:64,5:80,"0-0625":1,"0-125":2,"0-25":4,"0-375":6,"0-5":8,"0-625":10,"0-75":12,"1-25":20,"1-375":22,"1-5":24,"1-625":26,"1-75":28,"2-25":36,"2-5":40,"2-75":44,"3-5":56,"4-5":72,"5-25":84,"7-5":120,full:360},text:{default:{primary:"#042648",secondary:"#93a2b0",invert:"#ffffff",brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b"},hover:{primary:"#03203d",secondary:"#61768c",invert:"#f6f6f6",brand:"#0051a2",success:"#087660",error:"#a20000",warning:"#ac6f08"},active:{primary:"#021629",secondary:"#314d69",invert:"#f0f0f0",brand:"#003d79",success:"#005847",error:"#7c0000",warning:"#956007"},focus:{primary:"#042648",invert:"#ffffff",brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b"},disable:{primary:"#c3cbd3",brand:"#96c6f5",success:"#99efd3",error:"#f59696",warning:"#fde498",invert:"#314d69"}},icon:{default:{primary:"#042648",secondary:"#93a2b0",invert:"#ffffff",brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b"},hover:{primary:"#03203d",secondary:"#61768c",invert:"#f6f6f6",brand:"#0051a2",success:"#087660",error:"#a20000",warning:"#ac6f08"},active:{primary:"#021629",secondary:"#314d69",invert:"#f0f0f0",brand:"#003d79",success:"#005847",error:"#7c0000",warning:"#956007"},focus:{primary:"#042648",invert:"#ffffff",brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b"},disable:{primary:"#c3cbd3",brand:"#96c6f5",success:"#99efd3",error:"#f59696",warning:"#fde498",invert:"#314d69"}},surface:{default:{primary:"#ffffff",secondary:"#f6f6f6",invert:"#000000",brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b",overlay:"#04264899"},hover:{primary:"#f0f7ff",secondary:"#f0f0f0",invert:"#021629",brand:"#0051a2",success:"#087660",error:"#a20000",warning:"#ac6f08"},active:{primary:"#f0f0f0",brand:"#003d79",success:"#005847",error:"#7c0000",warning:"#956007"},focus:{brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b"},disable:{primary:"#f0f0f0",brand:"#96c6f5",success:"#99efd3",error:"#f59696",warning:"#fde498",invert:"#03203d"},weak:{brand:"#f0f7ff",error:"#fff3f3",success:"#ecfdf7",warning:"#fff8e6",neutral:"#f6f6f6"},gradient:{brand:{start:"#0074e7",end:"#0051a2"},green:{start:"#0ea06e",end:"#087660"},red:{start:"#e70000",end:"#a20000"},yellow:{start:"#f59e0b",end:"#ac6f08"},callout:{start:"#0051a2",end:"#087660"}},hoverNeutral:"#f7f8fa",selectedHover:"#e3effc"},border:{default:{primary:"#f0f0f0",invert:"#c3cbd3",brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b",black:"#042648",light:"#ffffff"},hover:{primary:"#c3cbd3",brand:"#0051a2",success:"#087660",error:"#a20000",warning:"#ac6f08",invert:"#03203d",light:"#f6f6f6"},active:{primary:"#93a2b0",brand:"#003d79",success:"#005847",error:"#7c0000",warning:"#956007",invert:"#021629",light:"#f0f0f0"},focus:{brand:"#0074e7",success:"#0ea06e",error:"#e70000",warning:"#f59e0b"},disable:{primary:"#c3cbd3",brand:"#96c6f5",success:"#99efd3",error:"#f59696",warning:"#fde498",invert:"#314d69"}},radius:{null:0,xs:4,sm:6,md:8,lg:12,xl:16,"2xl":24,"3xl":32,full:360},spacing:{null:0,"5xs":2,"4xs":4,"3xs":6,"2xs":8,xs:10,sm:12,md:16,lg:20,xl:24,"2xl":32,"3xlMobile":48,"4xl":84,"5xlDesktop":120},margin:{mobile:16,desktop:84},shadow:{blur:{none:0,sm:4,md:12,lg:16,xl:20},position:{none:0,sm:2,md:4,lg:8,xl:12},"5Pct":{color:"#0000000d",offsetX:0,offsetY:4,blur:12,spread:0},card:{color:"#0000001a",offsetX:0,offsetY:2,blur:8,spread:0},"10Pct":{color:"#0000001a",offsetX:0,offsetY:4,blur:16,spread:0}},opacity:{10:10,60:60,null:0,full:100},borderWidth:{none:0,sm:1,md:2,l:4},callout:{default:{surface:"#f0f7ff",border:"#0074e7",text:"#0051a2"},coach:{surface:"#ecfdf7",border:"#087660",text:"#087660"},good:{surface:"#ecfdf7",border:"#087660",text:"#042648"},warn:{surface:"#fff8e6",border:"#ac6f08",text:"#042648"},neg:{surface:"#fff3f3",border:"#e70000",text:"#042648"}},focus:{halo:"#96c6f5"},typography:{mobile:{display:{bold:{fontFamily:"Be Vietnam Pro",fontSize:36,fontWeight:700,lineHeight:40,letterSpacing:-.36},semibold:{fontFamily:"Be Vietnam Pro",fontSize:36,fontWeight:600,lineHeight:40,letterSpacing:-.36}},h1:{bold:{fontFamily:"Be Vietnam Pro",fontSize:28,fontWeight:700,lineHeight:32,letterSpacing:-.084},semibold:{fontFamily:"Be Vietnam Pro",fontSize:28,fontWeight:600,lineHeight:32,letterSpacing:-.084}},h2:{bold:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:700,lineHeight:28,letterSpacing:-.024},semibold:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:600,lineHeight:28,letterSpacing:-.024},medium:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:500,lineHeight:28,letterSpacing:-.024},regular:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:400,lineHeight:28,letterSpacing:-.024}},h3:{bold:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:700,lineHeight:26},semibold:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:600,lineHeight:26},medium:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:500,lineHeight:26},regular:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:400,lineHeight:26}},h4:{bold:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:700,lineHeight:26},semibold:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:600,lineHeight:26},medium:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:500,lineHeight:26},regular:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:400,lineHeight:26}},h5:{bold:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:700,lineHeight:24},semibold:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:600,lineHeight:24},medium:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:500,lineHeight:24},regular:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:400,lineHeight:24}},h6:{bold:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:700,lineHeight:24},semibold:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:600,lineHeight:24},medium:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:500,lineHeight:24},regular:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:400,lineHeight:24}},paragraph:{bold:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:700,lineHeight:20},semibold:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:600,lineHeight:20},medium:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:500,lineHeight:20},regular:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:400,lineHeight:20}},bodyLg:{bold:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:700,lineHeight:18},semibold:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:600,lineHeight:18},medium:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:500,lineHeight:18},regular:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:400,lineHeight:18}},bodyMd:{bold:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:700,lineHeight:16},semibold:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:600,lineHeight:16},medium:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:500,lineHeight:16},regular:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:400,lineHeight:16}},bodySm:{bold:{fontFamily:"Be Vietnam Pro",fontSize:8,fontWeight:700,lineHeight:14},semibold:{fontFamily:"Be Vietnam Pro",fontSize:8,fontWeight:600,lineHeight:14},medium:{fontFamily:"Be Vietnam Pro",fontSize:8,fontWeight:500,lineHeight:14},regular:{fontFamily:"Be Vietnam Pro",fontSize:8,fontWeight:400,lineHeight:14}}},desktop:{display:{bold:{fontFamily:"Be Vietnam Pro",fontSize:56,fontWeight:700,lineHeight:64,letterSpacing:-.56},semibold:{fontFamily:"Be Vietnam Pro",fontSize:56,fontWeight:600,lineHeight:64,letterSpacing:-.56}},h1:{bold:{fontFamily:"Be Vietnam Pro",fontSize:40,fontWeight:700,lineHeight:48,letterSpacing:-.12},semibold:{fontFamily:"Be Vietnam Pro",fontSize:40,fontWeight:600,lineHeight:48,letterSpacing:-.12}},h2:{bold:{fontFamily:"Be Vietnam Pro",fontSize:32,fontWeight:700,lineHeight:40,letterSpacing:-.032},semibold:{fontFamily:"Be Vietnam Pro",fontSize:32,fontWeight:600,lineHeight:40,letterSpacing:-.032},medium:{fontFamily:"Be Vietnam Pro",fontSize:32,fontWeight:500,lineHeight:40,letterSpacing:-.032},regular:{fontFamily:"Be Vietnam Pro",fontSize:32,fontWeight:400,lineHeight:40,letterSpacing:-.032}},h3:{bold:{fontFamily:"Be Vietnam Pro",fontSize:28,fontWeight:700,lineHeight:36},semibold:{fontFamily:"Be Vietnam Pro",fontSize:28,fontWeight:600,lineHeight:36},medium:{fontFamily:"Be Vietnam Pro",fontSize:28,fontWeight:500,lineHeight:36},regular:{fontFamily:"Be Vietnam Pro",fontSize:28,fontWeight:400,lineHeight:36}},h4:{bold:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:700,lineHeight:32},semibold:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:600,lineHeight:32},medium:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:500,lineHeight:32},regular:{fontFamily:"Be Vietnam Pro",fontSize:24,fontWeight:400,lineHeight:32}},h5:{bold:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:700,lineHeight:28},semibold:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:600,lineHeight:28},medium:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:500,lineHeight:28},regular:{fontFamily:"Be Vietnam Pro",fontSize:20,fontWeight:400,lineHeight:28}},h6:{bold:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:700,lineHeight:28},semibold:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:600,lineHeight:28},medium:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:500,lineHeight:28},regular:{fontFamily:"Be Vietnam Pro",fontSize:18,fontWeight:400,lineHeight:28}},paragraph:{bold:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:700,lineHeight:24},semibold:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:600,lineHeight:24},medium:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:500,lineHeight:24},regular:{fontFamily:"Be Vietnam Pro",fontSize:16,fontWeight:400,lineHeight:24}},bodyLg:{bold:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:700,lineHeight:20},semibold:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:600,lineHeight:20},medium:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:500,lineHeight:20},regular:{fontFamily:"Be Vietnam Pro",fontSize:14,fontWeight:400,lineHeight:20}},bodyMd:{bold:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:700,lineHeight:18},semibold:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:600,lineHeight:18},medium:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:500,lineHeight:18},regular:{fontFamily:"Be Vietnam Pro",fontSize:12,fontWeight:400,lineHeight:18}},bodySm:{bold:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:700,lineHeight:16},semibold:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:600,lineHeight:16},medium:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:500,lineHeight:16},regular:{fontFamily:"Be Vietnam Pro",fontSize:10,fontWeight:400,lineHeight:16}}}},elevation:{overlay:99999}};var xF=["Color","Typography","Layout, Spacing, Image"],yF=new Set(["brand","neutral","red","green","yellow","text","icon","surface","border","callout","focus"]);function GT(e){return yF.has(e)?"Color":e==="typography"||e==="font"?"Typography":"Layout, Spacing, Image"}function bF(e,t=Object.keys(P0)){return t.filter(a=>GT(a)===e)}function VT(e,t=[]){return typeof e=="string"||typeof e=="number"?[{path:t.join(" / "),value:e}]:e&&typeof e=="object"?Object.entries(e).flatMap(([a,o])=>VT(o,[...t,a])):[]}var KG=C(I()),XG=C(hM());return CM(YG);})();
58
+ /*! Bundled license information:
59
+
60
+ react/cjs/react.production.js:
61
+ (**
62
+ * @license React
63
+ * react.production.js
64
+ *
65
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
66
+ *
67
+ * This source code is licensed under the MIT license found in the
68
+ * LICENSE file in the root directory of this source tree.
69
+ *)
70
+
71
+ react/cjs/react-jsx-runtime.production.js:
72
+ (**
73
+ * @license React
74
+ * react-jsx-runtime.production.js
75
+ *
76
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
77
+ *
78
+ * This source code is licensed under the MIT license found in the
79
+ * LICENSE file in the root directory of this source tree.
80
+ *)
81
+
82
+ react-dom/cjs/react-dom.production.js:
83
+ (**
84
+ * @license React
85
+ * react-dom.production.js
86
+ *
87
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE file in the root directory of this source tree.
91
+ *)
92
+
93
+ scheduler/cjs/scheduler.production.js:
94
+ (**
95
+ * @license React
96
+ * scheduler.production.js
97
+ *
98
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
99
+ *
100
+ * This source code is licensed under the MIT license found in the
101
+ * LICENSE file in the root directory of this source tree.
102
+ *)
103
+
104
+ react-dom/cjs/react-dom-client.production.js:
105
+ (**
106
+ * @license React
107
+ * react-dom-client.production.js
108
+ *
109
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
110
+ *
111
+ * This source code is licensed under the MIT license found in the
112
+ * LICENSE file in the root directory of this source tree.
113
+ *)
114
+
115
+ lucide-react/dist/esm/shared/src/utils.js:
116
+ lucide-react/dist/esm/defaultAttributes.js:
117
+ lucide-react/dist/esm/Icon.js:
118
+ lucide-react/dist/esm/createLucideIcon.js:
119
+ lucide-react/dist/esm/icons/arrow-left.js:
120
+ lucide-react/dist/esm/icons/arrow-right.js:
121
+ lucide-react/dist/esm/icons/book-open.js:
122
+ lucide-react/dist/esm/icons/calendar.js:
123
+ lucide-react/dist/esm/icons/camera.js:
124
+ lucide-react/dist/esm/icons/check.js:
125
+ lucide-react/dist/esm/icons/chevron-down.js:
126
+ lucide-react/dist/esm/icons/chevron-left.js:
127
+ lucide-react/dist/esm/icons/chevron-right.js:
128
+ lucide-react/dist/esm/icons/chevron-up.js:
129
+ lucide-react/dist/esm/icons/circle-alert.js:
130
+ lucide-react/dist/esm/icons/circle-check-big.js:
131
+ lucide-react/dist/esm/icons/circle-help.js:
132
+ lucide-react/dist/esm/icons/clock.js:
133
+ lucide-react/dist/esm/icons/copy.js:
134
+ lucide-react/dist/esm/icons/download.js:
135
+ lucide-react/dist/esm/icons/eye-off.js:
136
+ lucide-react/dist/esm/icons/eye.js:
137
+ lucide-react/dist/esm/icons/headphones.js:
138
+ lucide-react/dist/esm/icons/house.js:
139
+ lucide-react/dist/esm/icons/image.js:
140
+ lucide-react/dist/esm/icons/info.js:
141
+ lucide-react/dist/esm/icons/loader-circle.js:
142
+ lucide-react/dist/esm/icons/log-out.js:
143
+ lucide-react/dist/esm/icons/maximize-2.js:
144
+ lucide-react/dist/esm/icons/menu.js:
145
+ lucide-react/dist/esm/icons/message-square-plus.js:
146
+ lucide-react/dist/esm/icons/message-square.js:
147
+ lucide-react/dist/esm/icons/mic.js:
148
+ lucide-react/dist/esm/icons/minimize-2.js:
149
+ lucide-react/dist/esm/icons/minus.js:
150
+ lucide-react/dist/esm/icons/monitor.js:
151
+ lucide-react/dist/esm/icons/paperclip.js:
152
+ lucide-react/dist/esm/icons/pause.js:
153
+ lucide-react/dist/esm/icons/play.js:
154
+ lucide-react/dist/esm/icons/plus.js:
155
+ lucide-react/dist/esm/icons/refresh-cw.js:
156
+ lucide-react/dist/esm/icons/rotate-ccw.js:
157
+ lucide-react/dist/esm/icons/rotate-cw.js:
158
+ lucide-react/dist/esm/icons/search.js:
159
+ lucide-react/dist/esm/icons/send.js:
160
+ lucide-react/dist/esm/icons/settings.js:
161
+ lucide-react/dist/esm/icons/share-2.js:
162
+ lucide-react/dist/esm/icons/sparkles.js:
163
+ lucide-react/dist/esm/icons/square.js:
164
+ lucide-react/dist/esm/icons/thumbs-down.js:
165
+ lucide-react/dist/esm/icons/thumbs-up.js:
166
+ lucide-react/dist/esm/icons/trash-2.js:
167
+ lucide-react/dist/esm/icons/triangle-alert.js:
168
+ lucide-react/dist/esm/icons/user.js:
169
+ lucide-react/dist/esm/icons/video.js:
170
+ lucide-react/dist/esm/icons/volume-2.js:
171
+ lucide-react/dist/esm/icons/wrench.js:
172
+ lucide-react/dist/esm/icons/x.js:
173
+ lucide-react/dist/esm/lucide-react.js:
174
+ (**
175
+ * @license lucide-react v0.446.0 - ISC
176
+ *
177
+ * This source code is licensed under the ISC license.
178
+ * See the LICENSE file in the root directory of this source tree.
179
+ *)
180
+
181
+ @tanstack/table-core/build/lib/index.mjs:
182
+ (**
183
+ * table-core
184
+ *
185
+ * Copyright (c) TanStack
186
+ *
187
+ * This source code is licensed under the MIT license found in the
188
+ * LICENSE.md file in the root directory of this source tree.
189
+ *
190
+ * @license MIT
191
+ *)
192
+
193
+ @tanstack/react-table/build/lib/index.mjs:
194
+ (**
195
+ * react-table
196
+ *
197
+ * Copyright (c) TanStack
198
+ *
199
+ * This source code is licensed under the MIT license found in the
200
+ * LICENSE.md file in the root directory of this source tree.
201
+ *
202
+ * @license MIT
203
+ *)
204
+ */