@rozenite/vite-plugin 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +0,0 @@
1
- var jO=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports);var a4=jO((o4,t0)=>{(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const l of f.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&u(l)}).observe(document,{childList:!0,subtree:!0});function i(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(c){if(c.ep)return;c.ep=!0;const f=i(c);fetch(c.href,f)}})();function bs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Ja(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var a=r.default;if(typeof a=="function"){var i=function u(){var c=!1;try{c=this instanceof u}catch{}return c?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};i.prototype=a.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(u){var c=Object.getOwnPropertyDescriptor(r,u);Object.defineProperty(i,u,c.get?c:{enumerable:!0,get:function(){return r[u]}})}),i}var Gd={exports:{}},Zi={};var Gh;function IO(){if(Gh)return Zi;Gh=1;var r=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(u,c,f){var l=null;if(f!==void 0&&(l=""+f),c.key!==void 0&&(l=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:r,type:u,key:l,ref:c!==void 0?c:null,props:f}}return Zi.Fragment=a,Zi.jsx=i,Zi.jsxs=i,Zi}var Yh;function qO(){return Yh||(Yh=1,Gd.exports=IO()),Gd.exports}var Y=qO(),Yd={exports:{}},Ee={};var Vh;function UO(){if(Vh)return Ee;Vh=1;var r=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),l=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),g=Symbol.iterator;function S(P){return P===null||typeof P!="object"?null:(P=g&&P[g]||P["@@iterator"],typeof P=="function"?P:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,O={};function A(P,x,w){this.props=P,this.context=x,this.refs=O,this.updater=w||y}A.prototype.isReactComponent={},A.prototype.setState=function(P,x){if(typeof P!="object"&&typeof P!="function"&&P!=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,P,x,"setState")},A.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function C(){}C.prototype=A.prototype;function k(P,x,w){this.props=P,this.context=x,this.refs=O,this.updater=w||y}var T=k.prototype=new C;T.constructor=k,D(T,A.prototype),T.isPureReactComponent=!0;var _=Array.isArray;function L(){}var R={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function Z(P,x,w){var X=w.ref;return{$$typeof:r,type:P,key:x,ref:X!==void 0?X:null,props:w}}function ee(P,x){return Z(P.type,x,P.props)}function G(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}function ne(P){var x={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(w){return x[w]})}var K=/\/+/g;function se(P,x){return typeof P=="object"&&P!==null&&P.key!=null?ne(""+P.key):x.toString(36)}function pe(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then(L,L):(P.status="pending",P.then(function(x){P.status==="pending"&&(P.status="fulfilled",P.value=x)},function(x){P.status==="pending"&&(P.status="rejected",P.reason=x)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function j(P,x,w,X,ae){var le=typeof P;(le==="undefined"||le==="boolean")&&(P=null);var ie=!1;if(P===null)ie=!0;else switch(le){case"bigint":case"string":case"number":ie=!0;break;case"object":switch(P.$$typeof){case r:case a:ie=!0;break;case b:return ie=P._init,j(ie(P._payload),x,w,X,ae)}}if(ie)return ae=ae(P),ie=X===""?"."+se(P,0):X,_(ae)?(w="",ie!=null&&(w=ie.replace(K,"$&/")+"/"),j(ae,x,w,"",function(Me){return Me})):ae!=null&&(G(ae)&&(ae=ee(ae,w+(ae.key==null||P&&P.key===ae.key?"":(""+ae.key).replace(K,"$&/")+"/")+ie)),x.push(ae)),1;ie=0;var ce=X===""?".":X+":";if(_(P))for(var ue=0;ue<P.length;ue++)X=P[ue],le=ce+se(X,ue),ie+=j(X,x,w,le,ae);else if(ue=S(P),typeof ue=="function")for(P=ue.call(P),ue=0;!(X=P.next()).done;)X=X.value,le=ce+se(X,ue++),ie+=j(X,x,w,le,ae);else if(le==="object"){if(typeof P.then=="function")return j(pe(P),x,w,X,ae);throw x=String(P),Error("Objects are not valid as a React child (found: "+(x==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}return ie}function te(P,x,w){if(P==null)return P;var X=[],ae=0;return j(P,X,"","",function(le){return x.call(w,le,ae++)}),X}function oe(P){if(P._status===-1){var x=P._result;x=x(),x.then(function(w){(P._status===0||P._status===-1)&&(P._status=1,P._result=w)},function(w){(P._status===0||P._status===-1)&&(P._status=2,P._result=w)}),P._status===-1&&(P._status=0,P._result=x)}if(P._status===1)return P._result.default;throw P._result}var z=typeof reportError=="function"?reportError:function(P){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var x=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P=="object"&&P!==null&&typeof P.message=="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(x))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",P);return}console.error(P)},W={map:te,forEach:function(P,x,w){te(P,function(){x.apply(this,arguments)},w)},count:function(P){var x=0;return te(P,function(){x++}),x},toArray:function(P){return te(P,function(x){return x})||[]},only:function(P){if(!G(P))throw Error("React.Children.only expected to receive a single React element child.");return P}};return Ee.Activity=h,Ee.Children=W,Ee.Component=A,Ee.Fragment=i,Ee.Profiler=c,Ee.PureComponent=k,Ee.StrictMode=u,Ee.Suspense=p,Ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,Ee.__COMPILER_RUNTIME={__proto__:null,c:function(P){return R.H.useMemoCache(P)}},Ee.cache=function(P){return function(){return P.apply(null,arguments)}},Ee.cacheSignal=function(){return null},Ee.cloneElement=function(P,x,w){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var X=D({},P.props),ae=P.key;if(x!=null)for(le in x.key!==void 0&&(ae=""+x.key),x)!F.call(x,le)||le==="key"||le==="__self"||le==="__source"||le==="ref"&&x.ref===void 0||(X[le]=x[le]);var le=arguments.length-2;if(le===1)X.children=w;else if(1<le){for(var ie=Array(le),ce=0;ce<le;ce++)ie[ce]=arguments[ce+2];X.children=ie}return Z(P.type,ae,X)},Ee.createContext=function(P){return P={$$typeof:l,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:f,_context:P},P},Ee.createElement=function(P,x,w){var X,ae={},le=null;if(x!=null)for(X in x.key!==void 0&&(le=""+x.key),x)F.call(x,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(ae[X]=x[X]);var ie=arguments.length-2;if(ie===1)ae.children=w;else if(1<ie){for(var ce=Array(ie),ue=0;ue<ie;ue++)ce[ue]=arguments[ue+2];ae.children=ce}if(P&&P.defaultProps)for(X in ie=P.defaultProps,ie)ae[X]===void 0&&(ae[X]=ie[X]);return Z(P,le,ae)},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(P){return{$$typeof:m,render:P}},Ee.isValidElement=G,Ee.lazy=function(P){return{$$typeof:b,_payload:{_status:-1,_result:P},_init:oe}},Ee.memo=function(P,x){return{$$typeof:d,type:P,compare:x===void 0?null:x}},Ee.startTransition=function(P){var x=R.T,w={};R.T=w;try{var X=P(),ae=R.S;ae!==null&&ae(w,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(L,z)}catch(le){z(le)}finally{x!==null&&w.types!==null&&(x.types=w.types),R.T=x}},Ee.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},Ee.use=function(P){return R.H.use(P)},Ee.useActionState=function(P,x,w){return R.H.useActionState(P,x,w)},Ee.useCallback=function(P,x){return R.H.useCallback(P,x)},Ee.useContext=function(P){return R.H.useContext(P)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(P,x){return R.H.useDeferredValue(P,x)},Ee.useEffect=function(P,x){return R.H.useEffect(P,x)},Ee.useEffectEvent=function(P){return R.H.useEffectEvent(P)},Ee.useId=function(){return R.H.useId()},Ee.useImperativeHandle=function(P,x,w){return R.H.useImperativeHandle(P,x,w)},Ee.useInsertionEffect=function(P,x){return R.H.useInsertionEffect(P,x)},Ee.useLayoutEffect=function(P,x){return R.H.useLayoutEffect(P,x)},Ee.useMemo=function(P,x){return R.H.useMemo(P,x)},Ee.useOptimistic=function(P,x){return R.H.useOptimistic(P,x)},Ee.useReducer=function(P,x,w){return R.H.useReducer(P,x,w)},Ee.useRef=function(P){return R.H.useRef(P)},Ee.useState=function(P){return R.H.useState(P)},Ee.useSyncExternalStore=function(P,x,w){return R.H.useSyncExternalStore(P,x,w)},Ee.useTransition=function(){return R.H.useTransition()},Ee.version="19.2.0",Ee}var Kh;function we(){return Kh||(Kh=1,Yd.exports=UO()),Yd.exports}var re=we();const me=bs(re);var Vd={exports:{}},Xi={},Kd={exports:{}},Zd={};var Zh;function WO(){return Zh||(Zh=1,(function(r){function a(j,te){var oe=j.length;j.push(te);e:for(;0<oe;){var z=oe-1>>>1,W=j[z];if(0<c(W,te))j[z]=te,j[oe]=W,oe=z;else break e}}function i(j){return j.length===0?null:j[0]}function u(j){if(j.length===0)return null;var te=j[0],oe=j.pop();if(oe!==te){j[0]=oe;e:for(var z=0,W=j.length,P=W>>>1;z<P;){var x=2*(z+1)-1,w=j[x],X=x+1,ae=j[X];if(0>c(w,oe))X<W&&0>c(ae,w)?(j[z]=ae,j[X]=oe,z=X):(j[z]=w,j[x]=oe,z=x);else if(X<W&&0>c(ae,oe))j[z]=ae,j[X]=oe,z=X;else break e}}return te}function c(j,te){var oe=j.sortIndex-te.sortIndex;return oe!==0?oe:j.id-te.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;r.unstable_now=function(){return f.now()}}else{var l=Date,m=l.now();r.unstable_now=function(){return l.now()-m}}var p=[],d=[],b=1,h=null,g=3,S=!1,y=!1,D=!1,O=!1,A=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function T(j){for(var te=i(d);te!==null;){if(te.callback===null)u(d);else if(te.startTime<=j)u(d),te.sortIndex=te.expirationTime,a(p,te);else break;te=i(d)}}function _(j){if(D=!1,T(j),!y)if(i(p)!==null)y=!0,L||(L=!0,ne());else{var te=i(d);te!==null&&pe(_,te.startTime-j)}}var L=!1,R=-1,F=5,Z=-1;function ee(){return O?!0:!(r.unstable_now()-Z<F)}function G(){if(O=!1,L){var j=r.unstable_now();Z=j;var te=!0;try{e:{y=!1,D&&(D=!1,C(R),R=-1),S=!0;var oe=g;try{t:{for(T(j),h=i(p);h!==null&&!(h.expirationTime>j&&ee());){var z=h.callback;if(typeof z=="function"){h.callback=null,g=h.priorityLevel;var W=z(h.expirationTime<=j);if(j=r.unstable_now(),typeof W=="function"){h.callback=W,T(j),te=!0;break t}h===i(p)&&u(p),T(j)}else u(p);h=i(p)}if(h!==null)te=!0;else{var P=i(d);P!==null&&pe(_,P.startTime-j),te=!1}}break e}finally{h=null,g=oe,S=!1}te=void 0}}finally{te?ne():L=!1}}}var ne;if(typeof k=="function")ne=function(){k(G)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,se=K.port2;K.port1.onmessage=G,ne=function(){se.postMessage(null)}}else ne=function(){A(G,0)};function pe(j,te){R=A(function(){j(r.unstable_now())},te)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(j){j.callback=null},r.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<j?Math.floor(1e3/j):5},r.unstable_getCurrentPriorityLevel=function(){return g},r.unstable_next=function(j){switch(g){case 1:case 2:case 3:var te=3;break;default:te=g}var oe=g;g=te;try{return j()}finally{g=oe}},r.unstable_requestPaint=function(){O=!0},r.unstable_runWithPriority=function(j,te){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var oe=g;g=j;try{return te()}finally{g=oe}},r.unstable_scheduleCallback=function(j,te,oe){var z=r.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?z+oe:z):oe=z,j){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=oe+W,j={id:b++,callback:te,priorityLevel:j,startTime:oe,expirationTime:W,sortIndex:-1},oe>z?(j.sortIndex=oe,a(d,j),i(p)===null&&j===i(d)&&(D?(C(R),R=-1):D=!0,pe(_,oe-z))):(j.sortIndex=W,a(p,j),y||S||(y=!0,L||(L=!0,ne()))),j},r.unstable_shouldYield=ee,r.unstable_wrapCallback=function(j){var te=g;return function(){var oe=g;g=te;try{return j.apply(this,arguments)}finally{g=oe}}}})(Zd)),Zd}var Xh;function GO(){return Xh||(Xh=1,Kd.exports=WO()),Kd.exports}var Xd={exports:{}},At={};var $h;function YO(){if($h)return At;$h=1;var r=we();function a(p){var d="https://react.dev/errors/"+p;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)d+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+p+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(p,d,b){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:h==null?null:""+h,children:p,containerInfo:d,implementation:b}}var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,d){if(p==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return At.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,At.createPortal=function(p,d){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(a(299));return f(p,d,null,b)},At.flushSync=function(p){var d=l.T,b=u.p;try{if(l.T=null,u.p=2,p)return p()}finally{l.T=d,u.p=b,u.d.f()}},At.preconnect=function(p,d){typeof p=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,u.d.C(p,d))},At.prefetchDNS=function(p){typeof p=="string"&&u.d.D(p)},At.preinit=function(p,d){if(typeof p=="string"&&d&&typeof d.as=="string"){var b=d.as,h=m(b,d.crossOrigin),g=typeof d.integrity=="string"?d.integrity:void 0,S=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;b==="style"?u.d.S(p,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:h,integrity:g,fetchPriority:S}):b==="script"&&u.d.X(p,{crossOrigin:h,integrity:g,fetchPriority:S,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},At.preinitModule=function(p,d){if(typeof p=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var b=m(d.as,d.crossOrigin);u.d.M(p,{crossOrigin:b,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&u.d.M(p)},At.preload=function(p,d){if(typeof p=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var b=d.as,h=m(b,d.crossOrigin);u.d.L(p,b,{crossOrigin:h,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},At.preloadModule=function(p,d){if(typeof p=="string")if(d){var b=m(d.as,d.crossOrigin);u.d.m(p,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:b,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else u.d.m(p)},At.requestFormReset=function(p){u.d.r(p)},At.unstable_batchedUpdates=function(p,d){return p(d)},At.useFormState=function(p,d,b){return l.H.useFormState(p,d,b)},At.useFormStatus=function(){return l.H.useHostTransitionStatus()},At.version="19.2.0",At}var Qh;function r0(){if(Qh)return Xd.exports;Qh=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(a){console.error(a)}}return r(),Xd.exports=YO(),Xd.exports}var Jh;function VO(){if(Jh)return Xi;Jh=1;var r=GO(),a=we(),i=r0();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function l(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 m(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 p(e){if(f(e)!==e)throw Error(u(188))}function d(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(u(188));return t!==e?null:e}for(var n=e,o=t;;){var s=n.return;if(s===null)break;var v=s.alternate;if(v===null){if(o=s.return,o!==null){n=o;continue}break}if(s.child===v.child){for(v=s.child;v;){if(v===n)return p(s),e;if(v===o)return p(s),t;v=v.sibling}throw Error(u(188))}if(n.return!==o.return)n=s,o=v;else{for(var E=!1,M=s.child;M;){if(M===n){E=!0,n=s,o=v;break}if(M===o){E=!0,o=s,n=v;break}M=M.sibling}if(!E){for(M=v.child;M;){if(M===n){E=!0,n=v,o=s;break}if(M===o){E=!0,o=v,n=s;break}M=M.sibling}if(!E)throw Error(u(189))}}if(n.alternate!==o)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,g=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),k=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),G=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=G&&e[G]||e["@@iterator"],typeof e=="function"?e:null)}var K=Symbol.for("react.client.reference");function se(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===K?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case D:return"Fragment";case A:return"Profiler";case O:return"StrictMode";case _:return"Suspense";case L:return"SuspenseList";case Z:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case y:return"Portal";case k:return e.displayName||"Context";case C:return(e._context.displayName||"Context")+".Consumer";case T:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case R:return t=e.displayName||null,t!==null?t:se(e.type)||"Memo";case F:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}var pe=Array.isArray,j=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},z=[],W=-1;function P(e){return{current:e}}function x(e){0>W||(e.current=z[W],z[W]=null,W--)}function w(e,t){W++,z[W]=e.current,e.current=t}var X=P(null),ae=P(null),le=P(null),ie=P(null);function ce(e,t){switch(w(le,t),w(ae,e),w(X,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?gh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=gh(t),e=vh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}x(X),w(X,e)}function ue(){x(X),x(ae),x(le)}function Me(e){e.memoizedState!==null&&w(ie,e);var t=X.current,n=vh(t,e.type);t!==n&&(w(ae,e),w(X,n))}function Ce(e){ae.current===e&&(x(X),x(ae)),ie.current===e&&(x(ie),Gi._currentValue=oe)}var He,de;function Se(e){if(He===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);He=t&&t[1]||"",de=-1<n.stack.indexOf(`
2
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+He+e+de}var Ae=!1;function De(e,t){if(!e||Ae)return"";Ae=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(t){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(V){var U=V}Reflect.construct(e,[],J)}else{try{J.call()}catch(V){U=V}e.call(J.prototype)}}else{try{throw Error()}catch(V){U=V}(J=e())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(V){if(V&&U&&typeof V.stack=="string")return[V.stack,U.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=o.DetermineComponentFrameRoot(),E=v[0],M=v[1];if(E&&M){var B=E.split(`
4
- `),q=M.split(`
5
- `);for(s=o=0;o<B.length&&!B[o].includes("DetermineComponentFrameRoot");)o++;for(;s<q.length&&!q[s].includes("DetermineComponentFrameRoot");)s++;if(o===B.length||s===q.length)for(o=B.length-1,s=q.length-1;1<=o&&0<=s&&B[o]!==q[s];)s--;for(;1<=o&&0<=s;o--,s--)if(B[o]!==q[s]){if(o!==1||s!==1)do if(o--,s--,0>s||B[o]!==q[s]){var $=`
6
- `+B[o].replace(" at new "," at ");return e.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",e.displayName)),$}while(1<=o&&0<=s);break}}}finally{Ae=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Se(n):""}function Pe(e,t){switch(e.tag){case 26:case 27:case 5:return Se(e.type);case 16:return Se("Lazy");case 13:return e.child!==t&&t!==null?Se("Suspense Fallback"):Se("Suspense");case 19:return Se("SuspenseList");case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return Se("Activity");default:return""}}function Ue(e){try{var t="",n=null;do t+=Pe(e,n),n=e,e=e.return;while(e);return t}catch(o){return`
7
- Error generating stack: `+o.message+`
8
- `+o.stack}}var je=Object.prototype.hasOwnProperty,gt=r.unstable_scheduleCallback,Jt=r.unstable_cancelCallback,Dt=r.unstable_shouldYield,er=r.unstable_requestPaint,rt=r.unstable_now,he=r.unstable_getCurrentPriorityLevel,be=r.unstable_ImmediatePriority,_e=r.unstable_UserBlockingPriority,bt=r.unstable_NormalPriority,Mr=r.unstable_LowPriority,Dl=r.unstable_IdlePriority,Rs=r.log,qt=r.unstable_setDisableYieldValue,vt=null,ot=null;function tr(e){if(typeof Rs=="function"&&qt(e),ot&&typeof ot.setStrictMode=="function")try{ot.setStrictMode(vt,e)}catch{}}var et=Math.clz32?Math.clz32:T5,C5=Math.log,_5=Math.LN2;function T5(e){return e>>>=0,e===0?32:31-(C5(e)/_5|0)|0}var Ol=256,El=262144,Cl=4194304;function _n(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 _l(e,t,n){var o=e.pendingLanes;if(o===0)return 0;var s=0,v=e.suspendedLanes,E=e.pingedLanes;e=e.warmLanes;var M=o&134217727;return M!==0?(o=M&~v,o!==0?s=_n(o):(E&=M,E!==0?s=_n(E):n||(n=M&~e,n!==0&&(s=_n(n))))):(M=o&~v,M!==0?s=_n(M):E!==0?s=_n(E):n||(n=o&~e,n!==0&&(s=_n(n)))),s===0?0:t!==0&&t!==s&&(t&v)===0&&(v=s&-s,n=t&-t,v>=n||v===32&&(n&4194048)!==0)?t:s}function ai(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function k5(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 Z0(){var e=Cl;return Cl<<=1,(Cl&62914560)===0&&(Cl=4194304),e}function xs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ii(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function A5(e,t,n,o,s,v){var E=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var M=e.entanglements,B=e.expirationTimes,q=e.hiddenUpdates;for(n=E&~n;0<n;){var $=31-et(n),J=1<<$;M[$]=0,B[$]=-1;var U=q[$];if(U!==null)for(q[$]=null,$=0;$<U.length;$++){var V=U[$];V!==null&&(V.lane&=-536870913)}n&=~J}o!==0&&X0(e,o,0),v!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=v&~(E&~t))}function X0(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-et(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|n&261930}function $0(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-et(n),s=1<<o;s&t|e[o]&t&&(e[o]|=t),n&=~s}}function Q0(e,t){var n=t&-t;return n=(n&42)!==0?1:Bs(n),(n&(e.suspendedLanes|t))!==0?0:n}function Bs(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 Ls(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function J0(){var e=te.p;return e!==0?e:(e=window.event,e===void 0?32:zh(e.type))}function ep(e,t){var n=te.p;try{return te.p=e,t()}finally{te.p=n}}var Qr=Math.random().toString(36).slice(2),Ot="__reactFiber$"+Qr,xt="__reactProps$"+Qr,ra="__reactContainer$"+Qr,Fs="__reactEvents$"+Qr,M5="__reactListeners$"+Qr,w5="__reactHandles$"+Qr,tp="__reactResources$"+Qr,oi="__reactMarker$"+Qr;function Ns(e){delete e[Ot],delete e[xt],delete e[Fs],delete e[M5],delete e[w5]}function na(e){var t=e[Ot];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ra]||n[Ot]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Oh(e);e!==null;){if(n=e[Ot])return n;e=Oh(e)}return t}e=n,n=e.parentNode}return null}function aa(e){if(e=e[Ot]||e[ra]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function li(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function ia(e){var t=e[tp];return t||(t=e[tp]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function yt(e){e[oi]=!0}var rp=new Set,np={};function Tn(e,t){oa(e,t),oa(e+"Capture",t)}function oa(e,t){for(np[e]=t,e=0;e<t.length;e++)rp.add(t[e])}var P5=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]*$"),ap={},ip={};function R5(e){return je.call(ip,e)?!0:je.call(ap,e)?!1:P5.test(e)?ip[e]=!0:(ap[e]=!0,!1)}function Tl(e,t,n){if(R5(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){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,""+n)}}function kl(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function wr(e,t,n,o){if(o===null)e.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+o)}}function rr(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function op(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function x5(e,t,n){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var s=o.get,v=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(E){n=""+E,v.call(this,E)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return n},setValue:function(E){n=""+E},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zs(e){if(!e._valueTracker){var t=op(e)?"checked":"value";e._valueTracker=x5(e,t,""+e[t])}}function lp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=op(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function Al(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 B5=/[\n"\\]/g;function nr(e){return e.replace(B5,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Hs(e,t,n,o,s,v,E,M){e.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?e.type=E:e.removeAttribute("type"),t!=null?E==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+rr(t)):e.value!==""+rr(t)&&(e.value=""+rr(t)):E!=="submit"&&E!=="reset"||e.removeAttribute("value"),t!=null?js(e,E,rr(t)):n!=null?js(e,E,rr(n)):o!=null&&e.removeAttribute("value"),s==null&&v!=null&&(e.defaultChecked=!!v),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?e.name=""+rr(M):e.removeAttribute("name")}function up(e,t,n,o,s,v,E,M){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.type=v),t!=null||n!=null){if(!(v!=="submit"&&v!=="reset"||t!=null)){zs(e);return}n=n!=null?""+rr(n):"",t=t!=null?""+rr(t):n,M||t===e.value||(e.value=t),e.defaultValue=t}o=o??s,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=M?e.checked:!!o,e.defaultChecked=!!o,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(e.name=E),zs(e)}function js(e,t,n){t==="number"&&Al(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function la(e,t,n,o){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&o&&(e[n].defaultSelected=!0)}else{for(n=""+rr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,o&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function sp(e,t,n){if(t!=null&&(t=""+rr(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+rr(n):""}function cp(e,t,n,o){if(t==null){if(o!=null){if(n!=null)throw Error(u(92));if(pe(o)){if(1<o.length)throw Error(u(93));o=o[0]}n=o}n==null&&(n=""),t=n}n=rr(t),e.defaultValue=n,o=e.textContent,o===n&&o!==""&&o!==null&&(e.value=o),zs(e)}function ua(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var L5=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 dp(e,t,n){var o=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,n):typeof n!="number"||n===0||L5.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function fp(e,t,n){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,n!=null){for(var o in n)!n.hasOwnProperty(o)||t!=null&&t.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var s in t)o=t[s],t.hasOwnProperty(s)&&n[s]!==o&&dp(e,s,o)}else for(var v in t)t.hasOwnProperty(v)&&dp(e,v,t[v])}function Is(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 F5=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"]]),N5=/^[\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 Ml(e){return N5.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Pr(){}var qs=null;function Us(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sa=null,ca=null;function pp(e){var t=aa(e);if(t&&(e=t.stateNode)){var n=e[xt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Hs(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+nr(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var s=o[xt]||null;if(!s)throw Error(u(90));Hs(o,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)o=n[t],o.form===e.form&&lp(o)}break e;case"textarea":sp(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&la(e,!!n.multiple,t,!1)}}}var Ws=!1;function gp(e,t,n){if(Ws)return e(t,n);Ws=!0;try{var o=e(t);return o}finally{if(Ws=!1,(sa!==null||ca!==null)&&(hu(),sa&&(t=sa,e=ca,ca=sa=null,pp(t),e)))for(t=0;t<e.length;t++)pp(e[t])}}function ui(e,t){var n=e.stateNode;if(n===null)return null;var o=n[xt]||null;if(o===null)return null;n=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(n&&typeof n!="function")throw Error(u(231,t,typeof n));return n}var Rr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gs=!1;if(Rr)try{var si={};Object.defineProperty(si,"passive",{get:function(){Gs=!0}}),window.addEventListener("test",si,si),window.removeEventListener("test",si,si)}catch{Gs=!1}var Jr=null,Ys=null,wl=null;function vp(){if(wl)return wl;var e,t=Ys,n=t.length,o,s="value"in Jr?Jr.value:Jr.textContent,v=s.length;for(e=0;e<n&&t[e]===s[e];e++);var E=n-e;for(o=1;o<=E&&t[n-o]===s[v-o];o++);return wl=s.slice(e,1<o?1-o:void 0)}function Pl(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 Rl(){return!0}function hp(){return!1}function Bt(e){function t(n,o,s,v,E){this._reactName=n,this._targetInst=s,this.type=o,this.nativeEvent=v,this.target=E,this.currentTarget=null;for(var M in e)e.hasOwnProperty(M)&&(n=e[M],this[M]=n?n(v):v[M]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Rl:hp,this.isPropagationStopped=hp,this}return h(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Rl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Rl)},persist:function(){},isPersistent:Rl}),t}var kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xl=Bt(kn),ci=h({},kn,{view:0,detail:0}),z5=Bt(ci),Vs,Ks,di,Bl=h({},ci,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xs,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!==di&&(di&&e.type==="mousemove"?(Vs=e.screenX-di.screenX,Ks=e.screenY-di.screenY):Ks=Vs=0,di=e),Vs)},movementY:function(e){return"movementY"in e?e.movementY:Ks}}),mp=Bt(Bl),H5=h({},Bl,{dataTransfer:0}),j5=Bt(H5),I5=h({},ci,{relatedTarget:0}),Zs=Bt(I5),q5=h({},kn,{animationName:0,elapsedTime:0,pseudoElement:0}),U5=Bt(q5),W5=h({},kn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),G5=Bt(W5),Y5=h({},kn,{data:0}),bp=Bt(Y5),V5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},K5={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"},Z5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function X5(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Z5[e])?!!t[e]:!1}function Xs(){return X5}var $5=h({},ci,{key:function(e){if(e.key){var t=V5[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Pl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?K5[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xs,charCode:function(e){return e.type==="keypress"?Pl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Q5=Bt($5),J5=h({},Bl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yp=Bt(J5),eD=h({},ci,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xs}),tD=Bt(eD),rD=h({},kn,{propertyName:0,elapsedTime:0,pseudoElement:0}),nD=Bt(rD),aD=h({},Bl,{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}),iD=Bt(aD),oD=h({},kn,{newState:0,oldState:0}),lD=Bt(oD),uD=[9,13,27,32],$s=Rr&&"CompositionEvent"in window,fi=null;Rr&&"documentMode"in document&&(fi=document.documentMode);var sD=Rr&&"TextEvent"in window&&!fi,Sp=Rr&&(!$s||fi&&8<fi&&11>=fi),Dp=" ",Op=!1;function Ep(e,t){switch(e){case"keyup":return uD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var da=!1;function cD(e,t){switch(e){case"compositionend":return Cp(t);case"keypress":return t.which!==32?null:(Op=!0,Dp);case"textInput":return e=t.data,e===Dp&&Op?null:e;default:return null}}function dD(e,t){if(da)return e==="compositionend"||!$s&&Ep(e,t)?(e=vp(),wl=Ys=Jr=null,da=!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 Sp&&t.locale!=="ko"?null:t.data;default:return null}}var fD={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 _p(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!fD[e.type]:t==="textarea"}function Tp(e,t,n,o){sa?ca?ca.push(o):ca=[o]:sa=o,t=Eu(t,"onChange"),0<t.length&&(n=new xl("onChange","change",null,n,o),e.push({event:n,listeners:t}))}var pi=null,gi=null;function pD(e){uh(e,0)}function Ll(e){var t=li(e);if(lp(t))return e}function kp(e,t){if(e==="change")return t}var Ap=!1;if(Rr){var Qs;if(Rr){var Js="oninput"in document;if(!Js){var Mp=document.createElement("div");Mp.setAttribute("oninput","return;"),Js=typeof Mp.oninput=="function"}Qs=Js}else Qs=!1;Ap=Qs&&(!document.documentMode||9<document.documentMode)}function wp(){pi&&(pi.detachEvent("onpropertychange",Pp),gi=pi=null)}function Pp(e){if(e.propertyName==="value"&&Ll(gi)){var t=[];Tp(t,gi,e,Us(e)),gp(pD,t)}}function gD(e,t,n){e==="focusin"?(wp(),pi=t,gi=n,pi.attachEvent("onpropertychange",Pp)):e==="focusout"&&wp()}function vD(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ll(gi)}function hD(e,t){if(e==="click")return Ll(t)}function mD(e,t){if(e==="input"||e==="change")return Ll(t)}function bD(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ut=typeof Object.is=="function"?Object.is:bD;function vi(e,t){if(Ut(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var s=n[o];if(!je.call(t,s)||!Ut(e[s],t[s]))return!1}return!0}function Rp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xp(e,t){var n=Rp(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Rp(n)}}function Bp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Al(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Al(e.document)}return t}function ec(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 yD=Rr&&"documentMode"in document&&11>=document.documentMode,fa=null,tc=null,hi=null,rc=!1;function Fp(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rc||fa==null||fa!==Al(o)||(o=fa,"selectionStart"in o&&ec(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}),hi&&vi(hi,o)||(hi=o,o=Eu(tc,"onSelect"),0<o.length&&(t=new xl("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=fa)))}function An(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var pa={animationend:An("Animation","AnimationEnd"),animationiteration:An("Animation","AnimationIteration"),animationstart:An("Animation","AnimationStart"),transitionrun:An("Transition","TransitionRun"),transitionstart:An("Transition","TransitionStart"),transitioncancel:An("Transition","TransitionCancel"),transitionend:An("Transition","TransitionEnd")},nc={},Np={};Rr&&(Np=document.createElement("div").style,"AnimationEvent"in window||(delete pa.animationend.animation,delete pa.animationiteration.animation,delete pa.animationstart.animation),"TransitionEvent"in window||delete pa.transitionend.transition);function Mn(e){if(nc[e])return nc[e];if(!pa[e])return e;var t=pa[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Np)return nc[e]=t[n];return e}var zp=Mn("animationend"),Hp=Mn("animationiteration"),jp=Mn("animationstart"),SD=Mn("transitionrun"),DD=Mn("transitionstart"),OD=Mn("transitioncancel"),Ip=Mn("transitionend"),qp=new Map,ac="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(" ");ac.push("scrollEnd");function gr(e,t){qp.set(e,t),Tn(t,[e])}var Fl=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)},ar=[],ga=0,ic=0;function Nl(){for(var e=ga,t=ic=ga=0;t<e;){var n=ar[t];ar[t++]=null;var o=ar[t];ar[t++]=null;var s=ar[t];ar[t++]=null;var v=ar[t];if(ar[t++]=null,o!==null&&s!==null){var E=o.pending;E===null?s.next=s:(s.next=E.next,E.next=s),o.pending=s}v!==0&&Up(n,s,v)}}function zl(e,t,n,o){ar[ga++]=e,ar[ga++]=t,ar[ga++]=n,ar[ga++]=o,ic|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function oc(e,t,n,o){return zl(e,t,n,o),Hl(e)}function wn(e,t){return zl(e,null,null,t),Hl(e)}function Up(e,t,n){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n);for(var s=!1,v=e.return;v!==null;)v.childLanes|=n,o=v.alternate,o!==null&&(o.childLanes|=n),v.tag===22&&(e=v.stateNode,e===null||e._visibility&1||(s=!0)),e=v,v=v.return;return e.tag===3?(v=e.stateNode,s&&t!==null&&(s=31-et(n),e=v.hiddenUpdates,o=e[s],o===null?e[s]=[t]:o.push(t),t.lane=n|536870912),v):null}function Hl(e){if(50<zi)throw zi=0,vd=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var va={};function ED(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,t,n,o){return new ED(e,t,n,o)}function lc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xr(e,t){var n=e.alternate;return n===null?(n=Wt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Wp(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function jl(e,t,n,o,s,v){var E=0;if(o=e,typeof e=="function")lc(e)&&(E=1);else if(typeof e=="string")E=AO(e,n,X.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Z:return e=Wt(31,n,t,s),e.elementType=Z,e.lanes=v,e;case D:return Pn(n.children,s,v,t);case O:E=8,s|=24;break;case A:return e=Wt(12,n,t,s|2),e.elementType=A,e.lanes=v,e;case _:return e=Wt(13,n,t,s),e.elementType=_,e.lanes=v,e;case L:return e=Wt(19,n,t,s),e.elementType=L,e.lanes=v,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case k:E=10;break e;case C:E=9;break e;case T:E=11;break e;case R:E=14;break e;case F:E=16,o=null;break e}E=29,n=Error(u(130,e===null?"null":typeof e,"")),o=null}return t=Wt(E,n,t,s),t.elementType=e,t.type=o,t.lanes=v,t}function Pn(e,t,n,o){return e=Wt(7,e,o,t),e.lanes=n,e}function uc(e,t,n){return e=Wt(6,e,null,t),e.lanes=n,e}function Gp(e){var t=Wt(18,null,null,0);return t.stateNode=e,t}function sc(e,t,n){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Yp=new WeakMap;function ir(e,t){if(typeof e=="object"&&e!==null){var n=Yp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Ue(t)},Yp.set(e,t),t)}return{value:e,source:t,stack:Ue(t)}}var ha=[],ma=0,Il=null,mi=0,or=[],lr=0,en=null,Dr=1,Or="";function Br(e,t){ha[ma++]=mi,ha[ma++]=Il,Il=e,mi=t}function Vp(e,t,n){or[lr++]=Dr,or[lr++]=Or,or[lr++]=en,en=e;var o=Dr;e=Or;var s=32-et(o)-1;o&=~(1<<s),n+=1;var v=32-et(t)+s;if(30<v){var E=s-s%5;v=(o&(1<<E)-1).toString(32),o>>=E,s-=E,Dr=1<<32-et(t)+s|n<<s|o,Or=v+e}else Dr=1<<v|n<<s|o,Or=e}function cc(e){e.return!==null&&(Br(e,1),Vp(e,1,0))}function dc(e){for(;e===Il;)Il=ha[--ma],ha[ma]=null,mi=ha[--ma],ha[ma]=null;for(;e===en;)en=or[--lr],or[lr]=null,Or=or[--lr],or[lr]=null,Dr=or[--lr],or[lr]=null}function Kp(e,t){or[lr++]=Dr,or[lr++]=Or,or[lr++]=en,Dr=t.id,Or=t.overflow,en=e}var Et=null,$e=null,Fe=!1,tn=null,ur=!1,fc=Error(u(519));function rn(e){var t=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bi(ir(t,e)),fc}function Zp(e){var t=e.stateNode,n=e.type,o=e.memoizedProps;switch(t[Ot]=e,t[xt]=o,n){case"dialog":xe("cancel",t),xe("close",t);break;case"iframe":case"object":case"embed":xe("load",t);break;case"video":case"audio":for(n=0;n<ji.length;n++)xe(ji[n],t);break;case"source":xe("error",t);break;case"img":case"image":case"link":xe("error",t),xe("load",t);break;case"details":xe("toggle",t);break;case"input":xe("invalid",t),up(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":xe("invalid",t);break;case"textarea":xe("invalid",t),cp(t,o.value,o.defaultValue,o.children)}n=o.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||o.suppressHydrationWarning===!0||fh(t.textContent,n)?(o.popover!=null&&(xe("beforetoggle",t),xe("toggle",t)),o.onScroll!=null&&xe("scroll",t),o.onScrollEnd!=null&&xe("scrollend",t),o.onClick!=null&&(t.onclick=Pr),t=!0):t=!1,t||rn(e,!0)}function Xp(e){for(Et=e.return;Et;)switch(Et.tag){case 5:case 31:case 13:ur=!1;return;case 27:case 3:ur=!0;return;default:Et=Et.return}}function ba(e){if(e!==Et)return!1;if(!Fe)return Xp(e),Fe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||wd(e.type,e.memoizedProps)),n=!n),n&&$e&&rn(e),Xp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));$e=Dh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));$e=Dh(e)}else t===27?(t=$e,mn(e.type)?(e=Ld,Ld=null,$e=e):$e=t):$e=Et?cr(e.stateNode.nextSibling):null;return!0}function Rn(){$e=Et=null,Fe=!1}function pc(){var e=tn;return e!==null&&(zt===null?zt=e:zt.push.apply(zt,e),tn=null),e}function bi(e){tn===null?tn=[e]:tn.push(e)}var gc=P(null),xn=null,Lr=null;function nn(e,t,n){w(gc,t._currentValue),t._currentValue=n}function Fr(e){e._currentValue=gc.current,x(gc)}function vc(e,t,n){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===n)break;e=e.return}}function hc(e,t,n,o){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var v=s.dependencies;if(v!==null){var E=s.child;v=v.firstContext;e:for(;v!==null;){var M=v;v=s;for(var B=0;B<t.length;B++)if(M.context===t[B]){v.lanes|=n,M=v.alternate,M!==null&&(M.lanes|=n),vc(v.return,n,e),o||(E=null);break e}v=M.next}}else if(s.tag===18){if(E=s.return,E===null)throw Error(u(341));E.lanes|=n,v=E.alternate,v!==null&&(v.lanes|=n),vc(E,n,e),E=null}else E=s.child;if(E!==null)E.return=s;else for(E=s;E!==null;){if(E===e){E=null;break}if(s=E.sibling,s!==null){s.return=E.return,E=s;break}E=E.return}s=E}}function ya(e,t,n,o){e=null;for(var s=t,v=!1;s!==null;){if(!v){if((s.flags&524288)!==0)v=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var E=s.alternate;if(E===null)throw Error(u(387));if(E=E.memoizedProps,E!==null){var M=s.type;Ut(s.pendingProps.value,E.value)||(e!==null?e.push(M):e=[M])}}else if(s===ie.current){if(E=s.alternate,E===null)throw Error(u(387));E.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Gi):e=[Gi])}s=s.return}e!==null&&hc(t,e,n,o),t.flags|=262144}function ql(e){for(e=e.firstContext;e!==null;){if(!Ut(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Bn(e){xn=e,Lr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ct(e){return $p(xn,e)}function Ul(e,t){return xn===null&&Bn(e),$p(e,t)}function $p(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Lr===null){if(e===null)throw Error(u(308));Lr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Lr=Lr.next=t;return n}var CD=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},_D=r.unstable_scheduleCallback,TD=r.unstable_NormalPriority,ct={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mc(){return{controller:new CD,data:new Map,refCount:0}}function yi(e){e.refCount--,e.refCount===0&&_D(TD,function(){e.controller.abort()})}var Si=null,bc=0,Sa=0,Da=null;function kD(e,t){if(Si===null){var n=Si=[];bc=0,Sa=Dd(),Da={status:"pending",value:void 0,then:function(o){n.push(o)}}}return bc++,t.then(Qp,Qp),t}function Qp(){if(--bc===0&&Si!==null){Da!==null&&(Da.status="fulfilled");var e=Si;Si=null,Sa=0,Da=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function AD(e,t){var n=[],o={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(o.status="rejected",o.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),o}var Jp=j.S;j.S=function(e,t){Fv=rt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&kD(e,t),Jp!==null&&Jp(e,t)};var Ln=P(null);function yc(){var e=Ln.current;return e!==null?e:Xe.pooledCache}function Wl(e,t){t===null?w(Ln,Ln.current):w(Ln,t.pool)}function eg(){var e=yc();return e===null?null:{parent:ct._currentValue,pool:e}}var Oa=Error(u(460)),Sc=Error(u(474)),Gl=Error(u(542)),Yl={then:function(){}};function tg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function rg(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Pr,Pr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ag(e),e;default:if(typeof t.status=="string")t.then(Pr,Pr);else{if(e=Xe,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=o}},function(o){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ag(e),e}throw Nn=t,Oa}}function Fn(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Nn=n,Oa):n}}var Nn=null;function ng(){if(Nn===null)throw Error(u(459));var e=Nn;return Nn=null,e}function ag(e){if(e===Oa||e===Gl)throw Error(u(483))}var Ea=null,Di=0;function Vl(e){var t=Di;return Di+=1,Ea===null&&(Ea=[]),rg(Ea,e,t)}function Oi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Kl(e,t){throw t.$$typeof===g?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ig(e){function t(H,N){if(e){var I=H.deletions;I===null?(H.deletions=[N],H.flags|=16):I.push(N)}}function n(H,N){if(!e)return null;for(;N!==null;)t(H,N),N=N.sibling;return null}function o(H){for(var N=new Map;H!==null;)H.key!==null?N.set(H.key,H):N.set(H.index,H),H=H.sibling;return N}function s(H,N){return H=xr(H,N),H.index=0,H.sibling=null,H}function v(H,N,I){return H.index=I,e?(I=H.alternate,I!==null?(I=I.index,I<N?(H.flags|=67108866,N):I):(H.flags|=67108866,N)):(H.flags|=1048576,N)}function E(H){return e&&H.alternate===null&&(H.flags|=67108866),H}function M(H,N,I,Q){return N===null||N.tag!==6?(N=uc(I,H.mode,Q),N.return=H,N):(N=s(N,I),N.return=H,N)}function B(H,N,I,Q){var ve=I.type;return ve===D?$(H,N,I.props.children,Q,I.key):N!==null&&(N.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===F&&Fn(ve)===N.type)?(N=s(N,I.props),Oi(N,I),N.return=H,N):(N=jl(I.type,I.key,I.props,null,H.mode,Q),Oi(N,I),N.return=H,N)}function q(H,N,I,Q){return N===null||N.tag!==4||N.stateNode.containerInfo!==I.containerInfo||N.stateNode.implementation!==I.implementation?(N=sc(I,H.mode,Q),N.return=H,N):(N=s(N,I.children||[]),N.return=H,N)}function $(H,N,I,Q,ve){return N===null||N.tag!==7?(N=Pn(I,H.mode,Q,ve),N.return=H,N):(N=s(N,I),N.return=H,N)}function J(H,N,I){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=uc(""+N,H.mode,I),N.return=H,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case S:return I=jl(N.type,N.key,N.props,null,H.mode,I),Oi(I,N),I.return=H,I;case y:return N=sc(N,H.mode,I),N.return=H,N;case F:return N=Fn(N),J(H,N,I)}if(pe(N)||ne(N))return N=Pn(N,H.mode,I,null),N.return=H,N;if(typeof N.then=="function")return J(H,Vl(N),I);if(N.$$typeof===k)return J(H,Ul(H,N),I);Kl(H,N)}return null}function U(H,N,I,Q){var ve=N!==null?N.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return ve!==null?null:M(H,N,""+I,Q);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case S:return I.key===ve?B(H,N,I,Q):null;case y:return I.key===ve?q(H,N,I,Q):null;case F:return I=Fn(I),U(H,N,I,Q)}if(pe(I)||ne(I))return ve!==null?null:$(H,N,I,Q,null);if(typeof I.then=="function")return U(H,N,Vl(I),Q);if(I.$$typeof===k)return U(H,N,Ul(H,I),Q);Kl(H,I)}return null}function V(H,N,I,Q,ve){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return H=H.get(I)||null,M(N,H,""+Q,ve);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case S:return H=H.get(Q.key===null?I:Q.key)||null,B(N,H,Q,ve);case y:return H=H.get(Q.key===null?I:Q.key)||null,q(N,H,Q,ve);case F:return Q=Fn(Q),V(H,N,I,Q,ve)}if(pe(Q)||ne(Q))return H=H.get(I)||null,$(N,H,Q,ve,null);if(typeof Q.then=="function")return V(H,N,I,Vl(Q),ve);if(Q.$$typeof===k)return V(H,N,I,Ul(N,Q),ve);Kl(N,Q)}return null}function fe(H,N,I,Q){for(var ve=null,Ne=null,ge=N,ke=N=0,Le=null;ge!==null&&ke<I.length;ke++){ge.index>ke?(Le=ge,ge=null):Le=ge.sibling;var ze=U(H,ge,I[ke],Q);if(ze===null){ge===null&&(ge=Le);break}e&&ge&&ze.alternate===null&&t(H,ge),N=v(ze,N,ke),Ne===null?ve=ze:Ne.sibling=ze,Ne=ze,ge=Le}if(ke===I.length)return n(H,ge),Fe&&Br(H,ke),ve;if(ge===null){for(;ke<I.length;ke++)ge=J(H,I[ke],Q),ge!==null&&(N=v(ge,N,ke),Ne===null?ve=ge:Ne.sibling=ge,Ne=ge);return Fe&&Br(H,ke),ve}for(ge=o(ge);ke<I.length;ke++)Le=V(ge,H,ke,I[ke],Q),Le!==null&&(e&&Le.alternate!==null&&ge.delete(Le.key===null?ke:Le.key),N=v(Le,N,ke),Ne===null?ve=Le:Ne.sibling=Le,Ne=Le);return e&&ge.forEach(function(On){return t(H,On)}),Fe&&Br(H,ke),ve}function ye(H,N,I,Q){if(I==null)throw Error(u(151));for(var ve=null,Ne=null,ge=N,ke=N=0,Le=null,ze=I.next();ge!==null&&!ze.done;ke++,ze=I.next()){ge.index>ke?(Le=ge,ge=null):Le=ge.sibling;var On=U(H,ge,ze.value,Q);if(On===null){ge===null&&(ge=Le);break}e&&ge&&On.alternate===null&&t(H,ge),N=v(On,N,ke),Ne===null?ve=On:Ne.sibling=On,Ne=On,ge=Le}if(ze.done)return n(H,ge),Fe&&Br(H,ke),ve;if(ge===null){for(;!ze.done;ke++,ze=I.next())ze=J(H,ze.value,Q),ze!==null&&(N=v(ze,N,ke),Ne===null?ve=ze:Ne.sibling=ze,Ne=ze);return Fe&&Br(H,ke),ve}for(ge=o(ge);!ze.done;ke++,ze=I.next())ze=V(ge,H,ke,ze.value,Q),ze!==null&&(e&&ze.alternate!==null&&ge.delete(ze.key===null?ke:ze.key),N=v(ze,N,ke),Ne===null?ve=ze:Ne.sibling=ze,Ne=ze);return e&&ge.forEach(function(HO){return t(H,HO)}),Fe&&Br(H,ke),ve}function Ke(H,N,I,Q){if(typeof I=="object"&&I!==null&&I.type===D&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case S:e:{for(var ve=I.key;N!==null;){if(N.key===ve){if(ve=I.type,ve===D){if(N.tag===7){n(H,N.sibling),Q=s(N,I.props.children),Q.return=H,H=Q;break e}}else if(N.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===F&&Fn(ve)===N.type){n(H,N.sibling),Q=s(N,I.props),Oi(Q,I),Q.return=H,H=Q;break e}n(H,N);break}else t(H,N);N=N.sibling}I.type===D?(Q=Pn(I.props.children,H.mode,Q,I.key),Q.return=H,H=Q):(Q=jl(I.type,I.key,I.props,null,H.mode,Q),Oi(Q,I),Q.return=H,H=Q)}return E(H);case y:e:{for(ve=I.key;N!==null;){if(N.key===ve)if(N.tag===4&&N.stateNode.containerInfo===I.containerInfo&&N.stateNode.implementation===I.implementation){n(H,N.sibling),Q=s(N,I.children||[]),Q.return=H,H=Q;break e}else{n(H,N);break}else t(H,N);N=N.sibling}Q=sc(I,H.mode,Q),Q.return=H,H=Q}return E(H);case F:return I=Fn(I),Ke(H,N,I,Q)}if(pe(I))return fe(H,N,I,Q);if(ne(I)){if(ve=ne(I),typeof ve!="function")throw Error(u(150));return I=ve.call(I),ye(H,N,I,Q)}if(typeof I.then=="function")return Ke(H,N,Vl(I),Q);if(I.$$typeof===k)return Ke(H,N,Ul(H,I),Q);Kl(H,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,N!==null&&N.tag===6?(n(H,N.sibling),Q=s(N,I),Q.return=H,H=Q):(n(H,N),Q=uc(I,H.mode,Q),Q.return=H,H=Q),E(H)):n(H,N)}return function(H,N,I,Q){try{Di=0;var ve=Ke(H,N,I,Q);return Ea=null,ve}catch(ge){if(ge===Oa||ge===Gl)throw ge;var Ne=Wt(29,ge,null,H.mode);return Ne.lanes=Q,Ne.return=H,Ne}}}var zn=ig(!0),og=ig(!1),an=!1;function Dc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Oc(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 on(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ln(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Ie&2)!==0){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,t=Hl(e),Up(e,null,n),t}return zl(e,o,t,n),Hl(e)}function Ei(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,$0(e,n)}}function Ec(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var s=null,v=null;if(n=n.firstBaseUpdate,n!==null){do{var E={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};v===null?s=v=E:v=v.next=E,n=n.next}while(n!==null);v===null?s=v=t:v=v.next=t}else s=v=t;n={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:v,shared:o.shared,callbacks:o.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Cc=!1;function Ci(){if(Cc){var e=Da;if(e!==null)throw e}}function _i(e,t,n,o){Cc=!1;var s=e.updateQueue;an=!1;var v=s.firstBaseUpdate,E=s.lastBaseUpdate,M=s.shared.pending;if(M!==null){s.shared.pending=null;var B=M,q=B.next;B.next=null,E===null?v=q:E.next=q,E=B;var $=e.alternate;$!==null&&($=$.updateQueue,M=$.lastBaseUpdate,M!==E&&(M===null?$.firstBaseUpdate=q:M.next=q,$.lastBaseUpdate=B))}if(v!==null){var J=s.baseState;E=0,$=q=B=null,M=v;do{var U=M.lane&-536870913,V=U!==M.lane;if(V?(Be&U)===U:(o&U)===U){U!==0&&U===Sa&&(Cc=!0),$!==null&&($=$.next={lane:0,tag:M.tag,payload:M.payload,callback:null,next:null});e:{var fe=e,ye=M;U=t;var Ke=n;switch(ye.tag){case 1:if(fe=ye.payload,typeof fe=="function"){J=fe.call(Ke,J,U);break e}J=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=ye.payload,U=typeof fe=="function"?fe.call(Ke,J,U):fe,U==null)break e;J=h({},J,U);break e;case 2:an=!0}}U=M.callback,U!==null&&(e.flags|=64,V&&(e.flags|=8192),V=s.callbacks,V===null?s.callbacks=[U]:V.push(U))}else V={lane:U,tag:M.tag,payload:M.payload,callback:M.callback,next:null},$===null?(q=$=V,B=J):$=$.next=V,E|=U;if(M=M.next,M===null){if(M=s.shared.pending,M===null)break;V=M,M=V.next,V.next=null,s.lastBaseUpdate=V,s.shared.pending=null}}while(!0);$===null&&(B=J),s.baseState=B,s.firstBaseUpdate=q,s.lastBaseUpdate=$,v===null&&(s.shared.lanes=0),fn|=E,e.lanes=E,e.memoizedState=J}}function lg(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function ug(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)lg(n[e],t)}var Ca=P(null),Zl=P(0);function sg(e,t){e=Gr,w(Zl,e),w(Ca,t),Gr=e|t.baseLanes}function _c(){w(Zl,Gr),w(Ca,Ca.current)}function Tc(){Gr=Zl.current,x(Ca),x(Zl)}var Gt=P(null),sr=null;function un(e){var t=e.alternate;w(lt,lt.current&1),w(Gt,e),sr===null&&(t===null||Ca.current!==null||t.memoizedState!==null)&&(sr=e)}function kc(e){w(lt,lt.current),w(Gt,e),sr===null&&(sr=e)}function cg(e){e.tag===22?(w(lt,lt.current),w(Gt,e),sr===null&&(sr=e)):sn()}function sn(){w(lt,lt.current),w(Gt,Gt.current)}function Yt(e){x(Gt),sr===e&&(sr=null),x(lt)}var lt=P(0);function Xl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||xd(n)||Bd(n)))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 Nr=0,Te=null,Ye=null,dt=null,$l=!1,_a=!1,Hn=!1,Ql=0,Ti=0,Ta=null,MD=0;function at(){throw Error(u(321))}function Ac(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ut(e[n],t[n]))return!1;return!0}function Mc(e,t,n,o,s,v){return Nr=v,Te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,j.H=e===null||e.memoizedState===null?Vg:Wc,Hn=!1,v=n(o,s),Hn=!1,_a&&(v=fg(t,n,o,s)),dg(e),v}function dg(e){j.H=Mi;var t=Ye!==null&&Ye.next!==null;if(Nr=0,dt=Ye=Te=null,$l=!1,Ti=0,Ta=null,t)throw Error(u(300));e===null||ft||(e=e.dependencies,e!==null&&ql(e)&&(ft=!0))}function fg(e,t,n,o){Te=e;var s=0;do{if(_a&&(Ta=null),Ti=0,_a=!1,25<=s)throw Error(u(301));if(s+=1,dt=Ye=null,e.updateQueue!=null){var v=e.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}j.H=Kg,v=t(n,o)}while(_a);return v}function wD(){var e=j.H,t=e.useState()[0];return t=typeof t.then=="function"?ki(t):t,e=e.useState()[0],(Ye!==null?Ye.memoizedState:null)!==e&&(Te.flags|=1024),t}function wc(){var e=Ql!==0;return Ql=0,e}function Pc(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Rc(e){if($l){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}$l=!1}Nr=0,dt=Ye=Te=null,_a=!1,Ti=Ql=0,Ta=null}function Pt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Te.memoizedState=dt=e:dt=dt.next=e,dt}function ut(){if(Ye===null){var e=Te.alternate;e=e!==null?e.memoizedState:null}else e=Ye.next;var t=dt===null?Te.memoizedState:dt.next;if(t!==null)dt=t,Ye=e;else{if(e===null)throw Te.alternate===null?Error(u(467)):Error(u(310));Ye=e,e={memoizedState:Ye.memoizedState,baseState:Ye.baseState,baseQueue:Ye.baseQueue,queue:Ye.queue,next:null},dt===null?Te.memoizedState=dt=e:dt=dt.next=e}return dt}function Jl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ki(e){var t=Ti;return Ti+=1,Ta===null&&(Ta=[]),e=rg(Ta,e,t),t=Te,(dt===null?t.memoizedState:dt.next)===null&&(t=t.alternate,j.H=t===null||t.memoizedState===null?Vg:Wc),e}function eu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ki(e);if(e.$$typeof===k)return Ct(e)}throw Error(u(438,String(e)))}function xc(e){var t=null,n=Te.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var o=Te.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Jl(),Te.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),o=0;o<e;o++)n[o]=ee;return t.index++,n}function zr(e,t){return typeof t=="function"?t(e):t}function tu(e){var t=ut();return Bc(t,Ye,e)}function Bc(e,t,n){var o=e.queue;if(o===null)throw Error(u(311));o.lastRenderedReducer=n;var s=e.baseQueue,v=o.pending;if(v!==null){if(s!==null){var E=s.next;s.next=v.next,v.next=E}t.baseQueue=s=v,o.pending=null}if(v=e.baseState,s===null)e.memoizedState=v;else{t=s.next;var M=E=null,B=null,q=t,$=!1;do{var J=q.lane&-536870913;if(J!==q.lane?(Be&J)===J:(Nr&J)===J){var U=q.revertLane;if(U===0)B!==null&&(B=B.next={lane:0,revertLane:0,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),J===Sa&&($=!0);else if((Nr&U)===U){q=q.next,U===Sa&&($=!0);continue}else J={lane:0,revertLane:q.revertLane,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},B===null?(M=B=J,E=v):B=B.next=J,Te.lanes|=U,fn|=U;J=q.action,Hn&&n(v,J),v=q.hasEagerState?q.eagerState:n(v,J)}else U={lane:J,revertLane:q.revertLane,gesture:q.gesture,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},B===null?(M=B=U,E=v):B=B.next=U,Te.lanes|=J,fn|=J;q=q.next}while(q!==null&&q!==t);if(B===null?E=v:B.next=M,!Ut(v,e.memoizedState)&&(ft=!0,$&&(n=Da,n!==null)))throw n;e.memoizedState=v,e.baseState=E,e.baseQueue=B,o.lastRenderedState=v}return s===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Lc(e){var t=ut(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var o=n.dispatch,s=n.pending,v=t.memoizedState;if(s!==null){n.pending=null;var E=s=s.next;do v=e(v,E.action),E=E.next;while(E!==s);Ut(v,t.memoizedState)||(ft=!0),t.memoizedState=v,t.baseQueue===null&&(t.baseState=v),n.lastRenderedState=v}return[v,o]}function pg(e,t,n){var o=Te,s=ut(),v=Fe;if(v){if(n===void 0)throw Error(u(407));n=n()}else n=t();var E=!Ut((Ye||s).memoizedState,n);if(E&&(s.memoizedState=n,ft=!0),s=s.queue,zc(hg.bind(null,o,s,e),[e]),s.getSnapshot!==t||E||dt!==null&&dt.memoizedState.tag&1){if(o.flags|=2048,ka(9,{destroy:void 0},vg.bind(null,o,s,n,t),null),Xe===null)throw Error(u(349));v||(Nr&127)!==0||gg(o,t,n)}return n}function gg(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Te.updateQueue,t===null?(t=Jl(),Te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function vg(e,t,n,o){t.value=n,t.getSnapshot=o,mg(t)&&bg(e)}function hg(e,t,n){return n(function(){mg(t)&&bg(e)})}function mg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ut(e,n)}catch{return!0}}function bg(e){var t=wn(e,2);t!==null&&Ht(t,e,2)}function Fc(e){var t=Pt();if(typeof e=="function"){var n=e;if(e=n(),Hn){tr(!0);try{n()}finally{tr(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:e},t}function yg(e,t,n,o){return e.baseState=n,Bc(e,Ye,typeof o=="function"?o:zr)}function PD(e,t,n,o,s){if(au(e))throw Error(u(485));if(e=t.action,e!==null){var v={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){v.listeners.push(E)}};j.T!==null?n(!0):v.isTransition=!1,o(v),n=t.pending,n===null?(v.next=t.pending=v,Sg(t,v)):(v.next=n.next,t.pending=n.next=v)}}function Sg(e,t){var n=t.action,o=t.payload,s=e.state;if(t.isTransition){var v=j.T,E={};j.T=E;try{var M=n(s,o),B=j.S;B!==null&&B(E,M),Dg(e,t,M)}catch(q){Nc(e,t,q)}finally{v!==null&&E.types!==null&&(v.types=E.types),j.T=v}}else try{v=n(s,o),Dg(e,t,v)}catch(q){Nc(e,t,q)}}function Dg(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(o){Og(e,t,o)},function(o){return Nc(e,t,o)}):Og(e,t,n)}function Og(e,t,n){t.status="fulfilled",t.value=n,Eg(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Sg(e,n)))}function Nc(e,t,n){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=n,Eg(t),t=t.next;while(t!==o)}e.action=null}function Eg(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Cg(e,t){return t}function _g(e,t){if(Fe){var n=Xe.formState;if(n!==null){e:{var o=Te;if(Fe){if($e){t:{for(var s=$e,v=ur;s.nodeType!==8;){if(!v){s=null;break t}if(s=cr(s.nextSibling),s===null){s=null;break t}}v=s.data,s=v==="F!"||v==="F"?s:null}if(s){$e=cr(s.nextSibling),o=s.data==="F!";break e}}rn(o)}o=!1}o&&(t=n[0])}}return n=Pt(),n.memoizedState=n.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cg,lastRenderedState:t},n.queue=o,n=Wg.bind(null,Te,o),o.dispatch=n,o=Fc(!1),v=Uc.bind(null,Te,!1,o.queue),o=Pt(),s={state:t,dispatch:null,action:e,pending:null},o.queue=s,n=PD.bind(null,Te,s,v,n),s.dispatch=n,o.memoizedState=e,[t,n,!1]}function Tg(e){var t=ut();return kg(t,Ye,e)}function kg(e,t,n){if(t=Bc(e,t,Cg)[0],e=tu(zr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=ki(t)}catch(E){throw E===Oa?Gl:E}else o=t;t=ut();var s=t.queue,v=s.dispatch;return n!==t.memoizedState&&(Te.flags|=2048,ka(9,{destroy:void 0},RD.bind(null,s,n),null)),[o,v,e]}function RD(e,t){e.action=t}function Ag(e){var t=ut(),n=Ye;if(n!==null)return kg(t,n,e);ut(),t=t.memoizedState,n=ut();var o=n.queue.dispatch;return n.memoizedState=e,[t,o,!1]}function ka(e,t,n,o){return e={tag:e,create:n,deps:o,inst:t,next:null},t=Te.updateQueue,t===null&&(t=Jl(),Te.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function Mg(){return ut().memoizedState}function ru(e,t,n,o){var s=Pt();Te.flags|=e,s.memoizedState=ka(1|t,{destroy:void 0},n,o===void 0?null:o)}function nu(e,t,n,o){var s=ut();o=o===void 0?null:o;var v=s.memoizedState.inst;Ye!==null&&o!==null&&Ac(o,Ye.memoizedState.deps)?s.memoizedState=ka(t,v,n,o):(Te.flags|=e,s.memoizedState=ka(1|t,v,n,o))}function wg(e,t){ru(8390656,8,e,t)}function zc(e,t){nu(2048,8,e,t)}function xD(e){Te.flags|=4;var t=Te.updateQueue;if(t===null)t=Jl(),Te.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Pg(e){var t=ut().memoizedState;return xD({ref:t,nextImpl:e}),function(){if((Ie&2)!==0)throw Error(u(440));return t.impl.apply(void 0,arguments)}}function Rg(e,t){return nu(4,2,e,t)}function xg(e,t){return nu(4,4,e,t)}function Bg(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Lg(e,t,n){n=n!=null?n.concat([e]):null,nu(4,4,Bg.bind(null,t,e),n)}function Hc(){}function Fg(e,t){var n=ut();t=t===void 0?null:t;var o=n.memoizedState;return t!==null&&Ac(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function Ng(e,t){var n=ut();t=t===void 0?null:t;var o=n.memoizedState;if(t!==null&&Ac(t,o[1]))return o[0];if(o=e(),Hn){tr(!0);try{e()}finally{tr(!1)}}return n.memoizedState=[o,t],o}function jc(e,t,n){return n===void 0||(Nr&1073741824)!==0&&(Be&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=zv(),Te.lanes|=e,fn|=e,n)}function zg(e,t,n,o){return Ut(n,t)?n:Ca.current!==null?(e=jc(e,n,o),Ut(e,t)||(ft=!0),e):(Nr&42)===0||(Nr&1073741824)!==0&&(Be&261930)===0?(ft=!0,e.memoizedState=n):(e=zv(),Te.lanes|=e,fn|=e,t)}function Hg(e,t,n,o,s){var v=te.p;te.p=v!==0&&8>v?v:8;var E=j.T,M={};j.T=M,Uc(e,!1,t,n);try{var B=s(),q=j.S;if(q!==null&&q(M,B),B!==null&&typeof B=="object"&&typeof B.then=="function"){var $=AD(B,o);Ai(e,t,$,Zt(e))}else Ai(e,t,o,Zt(e))}catch(J){Ai(e,t,{then:function(){},status:"rejected",reason:J},Zt())}finally{te.p=v,E!==null&&M.types!==null&&(E.types=M.types),j.T=E}}function BD(){}function Ic(e,t,n,o){if(e.tag!==5)throw Error(u(476));var s=jg(e).queue;Hg(e,s,t,oe,n===null?BD:function(){return Ig(e),n(o)})}function jg(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ig(e){var t=jg(e);t.next===null&&(t=e.alternate.memoizedState),Ai(e,t.next.queue,{},Zt())}function qc(){return Ct(Gi)}function qg(){return ut().memoizedState}function Ug(){return ut().memoizedState}function LD(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Zt();e=on(n);var o=ln(t,e,n);o!==null&&(Ht(o,t,n),Ei(o,t,n)),t={cache:mc()},e.payload=t;return}t=t.return}}function FD(e,t,n){var o=Zt();n={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},au(e)?Gg(t,n):(n=oc(e,t,n,o),n!==null&&(Ht(n,e,o),Yg(n,t,o)))}function Wg(e,t,n){var o=Zt();Ai(e,t,n,o)}function Ai(e,t,n,o){var s={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(au(e))Gg(t,s);else{var v=e.alternate;if(e.lanes===0&&(v===null||v.lanes===0)&&(v=t.lastRenderedReducer,v!==null))try{var E=t.lastRenderedState,M=v(E,n);if(s.hasEagerState=!0,s.eagerState=M,Ut(M,E))return zl(e,t,s,0),Xe===null&&Nl(),!1}catch{}if(n=oc(e,t,s,o),n!==null)return Ht(n,e,o),Yg(n,t,o),!0}return!1}function Uc(e,t,n,o){if(o={lane:2,revertLane:Dd(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},au(e)){if(t)throw Error(u(479))}else t=oc(e,n,o,2),t!==null&&Ht(t,e,2)}function au(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function Gg(e,t){_a=$l=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yg(e,t,n){if((n&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,$0(e,n)}}var Mi={readContext:Ct,use:eu,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useLayoutEffect:at,useInsertionEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useSyncExternalStore:at,useId:at,useHostTransitionStatus:at,useFormState:at,useActionState:at,useOptimistic:at,useMemoCache:at,useCacheRefresh:at};Mi.useEffectEvent=at;var Vg={readContext:Ct,use:eu,useCallback:function(e,t){return Pt().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:wg,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,ru(4194308,4,Bg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ru(4194308,4,e,t)},useInsertionEffect:function(e,t){ru(4,2,e,t)},useMemo:function(e,t){var n=Pt();t=t===void 0?null:t;var o=e();if(Hn){tr(!0);try{e()}finally{tr(!1)}}return n.memoizedState=[o,t],o},useReducer:function(e,t,n){var o=Pt();if(n!==void 0){var s=n(t);if(Hn){tr(!0);try{n(t)}finally{tr(!1)}}}else s=t;return o.memoizedState=o.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},o.queue=e,e=e.dispatch=FD.bind(null,Te,e),[o.memoizedState,e]},useRef:function(e){var t=Pt();return e={current:e},t.memoizedState=e},useState:function(e){e=Fc(e);var t=e.queue,n=Wg.bind(null,Te,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Hc,useDeferredValue:function(e,t){var n=Pt();return jc(n,e,t)},useTransition:function(){var e=Fc(!1);return e=Hg.bind(null,Te,e.queue,!0,!1),Pt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var o=Te,s=Pt();if(Fe){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),Xe===null)throw Error(u(349));(Be&127)!==0||gg(o,t,n)}s.memoizedState=n;var v={value:n,getSnapshot:t};return s.queue=v,wg(hg.bind(null,o,v,e),[e]),o.flags|=2048,ka(9,{destroy:void 0},vg.bind(null,o,v,n,t),null),n},useId:function(){var e=Pt(),t=Xe.identifierPrefix;if(Fe){var n=Or,o=Dr;n=(o&~(1<<32-et(o)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Ql++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=MD++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:qc,useFormState:_g,useActionState:_g,useOptimistic:function(e){var t=Pt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Uc.bind(null,Te,!0,n),n.dispatch=t,[e,t]},useMemoCache:xc,useCacheRefresh:function(){return Pt().memoizedState=LD.bind(null,Te)},useEffectEvent:function(e){var t=Pt(),n={impl:e};return t.memoizedState=n,function(){if((Ie&2)!==0)throw Error(u(440));return n.impl.apply(void 0,arguments)}}},Wc={readContext:Ct,use:eu,useCallback:Fg,useContext:Ct,useEffect:zc,useImperativeHandle:Lg,useInsertionEffect:Rg,useLayoutEffect:xg,useMemo:Ng,useReducer:tu,useRef:Mg,useState:function(){return tu(zr)},useDebugValue:Hc,useDeferredValue:function(e,t){var n=ut();return zg(n,Ye.memoizedState,e,t)},useTransition:function(){var e=tu(zr)[0],t=ut().memoizedState;return[typeof e=="boolean"?e:ki(e),t]},useSyncExternalStore:pg,useId:qg,useHostTransitionStatus:qc,useFormState:Tg,useActionState:Tg,useOptimistic:function(e,t){var n=ut();return yg(n,Ye,e,t)},useMemoCache:xc,useCacheRefresh:Ug};Wc.useEffectEvent=Pg;var Kg={readContext:Ct,use:eu,useCallback:Fg,useContext:Ct,useEffect:zc,useImperativeHandle:Lg,useInsertionEffect:Rg,useLayoutEffect:xg,useMemo:Ng,useReducer:Lc,useRef:Mg,useState:function(){return Lc(zr)},useDebugValue:Hc,useDeferredValue:function(e,t){var n=ut();return Ye===null?jc(n,e,t):zg(n,Ye.memoizedState,e,t)},useTransition:function(){var e=Lc(zr)[0],t=ut().memoizedState;return[typeof e=="boolean"?e:ki(e),t]},useSyncExternalStore:pg,useId:qg,useHostTransitionStatus:qc,useFormState:Ag,useActionState:Ag,useOptimistic:function(e,t){var n=ut();return Ye!==null?yg(n,Ye,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:xc,useCacheRefresh:Ug};Kg.useEffectEvent=Pg;function Gc(e,t,n,o){t=e.memoizedState,n=n(o,t),n=n==null?t:h({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yc={enqueueSetState:function(e,t,n){e=e._reactInternals;var o=Zt(),s=on(o);s.payload=t,n!=null&&(s.callback=n),t=ln(e,s,o),t!==null&&(Ht(t,e,o),Ei(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=Zt(),s=on(o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=ln(e,s,o),t!==null&&(Ht(t,e,o),Ei(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zt(),o=on(n);o.tag=2,t!=null&&(o.callback=t),t=ln(e,o,n),t!==null&&(Ht(t,e,n),Ei(t,e,n))}};function Zg(e,t,n,o,s,v,E){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,v,E):t.prototype&&t.prototype.isPureReactComponent?!vi(n,o)||!vi(s,v):!0}function Xg(e,t,n,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&Yc.enqueueReplaceState(t,t.state,null)}function jn(e,t){var n=t;if("ref"in t){n={};for(var o in t)o!=="ref"&&(n[o]=t[o])}if(e=e.defaultProps){n===t&&(n=h({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function $g(e){Fl(e)}function Qg(e){console.error(e)}function Jg(e){Fl(e)}function iu(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(o){setTimeout(function(){throw o})}}function ev(e,t,n){try{var o=e.onCaughtError;o(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Vc(e,t,n){return n=on(n),n.tag=3,n.payload={element:null},n.callback=function(){iu(e,t)},n}function tv(e){return e=on(e),e.tag=3,e}function rv(e,t,n,o){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var v=o.value;e.payload=function(){return s(v)},e.callback=function(){ev(t,n,o)}}var E=n.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(e.callback=function(){ev(t,n,o),typeof s!="function"&&(pn===null?pn=new Set([this]):pn.add(this));var M=o.stack;this.componentDidCatch(o.value,{componentStack:M!==null?M:""})})}function ND(e,t,n,o,s){if(n.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=n.alternate,t!==null&&ya(t,n,s,!0),n=Gt.current,n!==null){switch(n.tag){case 31:case 13:return sr===null?mu():n.alternate===null&&it===0&&(it=3),n.flags&=-257,n.flags|=65536,n.lanes=s,o===Yl?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([o]):t.add(o),bd(e,o,s)),!1;case 22:return n.flags|=65536,o===Yl?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([o]):n.add(o)),bd(e,o,s)),!1}throw Error(u(435,n.tag))}return bd(e,o,s),mu(),!1}if(Fe)return t=Gt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,o!==fc&&(e=Error(u(422),{cause:o}),bi(ir(e,n)))):(o!==fc&&(t=Error(u(423),{cause:o}),bi(ir(t,n))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,o=ir(o,n),s=Vc(e.stateNode,o,s),Ec(e,s),it!==4&&(it=2)),!1;var v=Error(u(520),{cause:o});if(v=ir(v,n),Ni===null?Ni=[v]:Ni.push(v),it!==4&&(it=2),t===null)return!0;o=ir(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=Vc(n.stateNode,o,e),Ec(n,e),!1;case 1:if(t=n.type,v=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(pn===null||!pn.has(v))))return n.flags|=65536,s&=-s,n.lanes|=s,s=tv(s),rv(s,e,n,o),Ec(n,s),!1}n=n.return}while(n!==null);return!1}var Kc=Error(u(461)),ft=!1;function _t(e,t,n,o){t.child=e===null?og(t,null,n,o):zn(t,e.child,n,o)}function nv(e,t,n,o,s){n=n.render;var v=t.ref;if("ref"in o){var E={};for(var M in o)M!=="ref"&&(E[M]=o[M])}else E=o;return Bn(t),o=Mc(e,t,n,E,v,s),M=wc(),e!==null&&!ft?(Pc(e,t,s),Hr(e,t,s)):(Fe&&M&&cc(t),t.flags|=1,_t(e,t,o,s),t.child)}function av(e,t,n,o,s){if(e===null){var v=n.type;return typeof v=="function"&&!lc(v)&&v.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=v,iv(e,t,v,o,s)):(e=jl(n.type,null,o,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(v=e.child,!rd(e,s)){var E=v.memoizedProps;if(n=n.compare,n=n!==null?n:vi,n(E,o)&&e.ref===t.ref)return Hr(e,t,s)}return t.flags|=1,e=xr(v,o),e.ref=t.ref,e.return=t,t.child=e}function iv(e,t,n,o,s){if(e!==null){var v=e.memoizedProps;if(vi(v,o)&&e.ref===t.ref)if(ft=!1,t.pendingProps=o=v,rd(e,s))(e.flags&131072)!==0&&(ft=!0);else return t.lanes=e.lanes,Hr(e,t,s)}return Zc(e,t,n,o,s)}function ov(e,t,n,o){var s=o.children,v=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(v=v!==null?v.baseLanes|n:n,e!==null){for(o=t.child=e.child,s=0;o!==null;)s=s|o.lanes|o.childLanes,o=o.sibling;o=s&~v}else o=0,t.child=null;return lv(e,t,v,n,o)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Wl(t,v!==null?v.cachePool:null),v!==null?sg(t,v):_c(),cg(t);else return o=t.lanes=536870912,lv(e,t,v!==null?v.baseLanes|n:n,n,o)}else v!==null?(Wl(t,v.cachePool),sg(t,v),sn(),t.memoizedState=null):(e!==null&&Wl(t,null),_c(),sn());return _t(e,t,s,n),t.child}function wi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function lv(e,t,n,o,s){var v=yc();return v=v===null?null:{parent:ct._currentValue,pool:v},t.memoizedState={baseLanes:n,cachePool:v},e!==null&&Wl(t,null),_c(),cg(t),e!==null&&ya(e,t,o,!0),t.childLanes=s,null}function ou(e,t){return t=uu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function uv(e,t,n){return zn(t,e.child,null,n),e=ou(t,t.pendingProps),e.flags|=2,Yt(t),t.memoizedState=null,e}function zD(e,t,n){var o=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Fe){if(o.mode==="hidden")return e=ou(t,o),t.lanes=536870912,wi(null,e);if(kc(t),(e=$e)?(e=Sh(e,ur),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:en!==null?{id:Dr,overflow:Or}:null,retryLane:536870912,hydrationErrors:null},n=Gp(e),n.return=t,t.child=n,Et=t,$e=null)):e=null,e===null)throw rn(t);return t.lanes=536870912,null}return ou(t,o)}var v=e.memoizedState;if(v!==null){var E=v.dehydrated;if(kc(t),s)if(t.flags&256)t.flags&=-257,t=uv(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(u(558));else if(ft||ya(e,t,n,!1),s=(n&e.childLanes)!==0,ft||s){if(o=Xe,o!==null&&(E=Q0(o,n),E!==0&&E!==v.retryLane))throw v.retryLane=E,wn(e,E),Ht(o,e,E),Kc;mu(),t=uv(e,t,n)}else e=v.treeContext,$e=cr(E.nextSibling),Et=t,Fe=!0,tn=null,ur=!1,e!==null&&Kp(t,e),t=ou(t,o),t.flags|=4096;return t}return e=xr(e.child,{mode:o.mode,children:o.children}),e.ref=t.ref,t.child=e,e.return=t,e}function lu(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(u(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Zc(e,t,n,o,s){return Bn(t),n=Mc(e,t,n,o,void 0,s),o=wc(),e!==null&&!ft?(Pc(e,t,s),Hr(e,t,s)):(Fe&&o&&cc(t),t.flags|=1,_t(e,t,n,s),t.child)}function sv(e,t,n,o,s,v){return Bn(t),t.updateQueue=null,n=fg(t,o,n,s),dg(e),o=wc(),e!==null&&!ft?(Pc(e,t,v),Hr(e,t,v)):(Fe&&o&&cc(t),t.flags|=1,_t(e,t,n,v),t.child)}function cv(e,t,n,o,s){if(Bn(t),t.stateNode===null){var v=va,E=n.contextType;typeof E=="object"&&E!==null&&(v=Ct(E)),v=new n(o,v),t.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Yc,t.stateNode=v,v._reactInternals=t,v=t.stateNode,v.props=o,v.state=t.memoizedState,v.refs={},Dc(t),E=n.contextType,v.context=typeof E=="object"&&E!==null?Ct(E):va,v.state=t.memoizedState,E=n.getDerivedStateFromProps,typeof E=="function"&&(Gc(t,n,E,o),v.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(E=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),E!==v.state&&Yc.enqueueReplaceState(v,v.state,null),_i(t,o,v,s),Ci(),v.state=t.memoizedState),typeof v.componentDidMount=="function"&&(t.flags|=4194308),o=!0}else if(e===null){v=t.stateNode;var M=t.memoizedProps,B=jn(n,M);v.props=B;var q=v.context,$=n.contextType;E=va,typeof $=="object"&&$!==null&&(E=Ct($));var J=n.getDerivedStateFromProps;$=typeof J=="function"||typeof v.getSnapshotBeforeUpdate=="function",M=t.pendingProps!==M,$||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(M||q!==E)&&Xg(t,v,o,E),an=!1;var U=t.memoizedState;v.state=U,_i(t,o,v,s),Ci(),q=t.memoizedState,M||U!==q||an?(typeof J=="function"&&(Gc(t,n,J,o),q=t.memoizedState),(B=an||Zg(t,n,B,o,U,q,E))?($||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(t.flags|=4194308)):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=q),v.props=o,v.state=q,v.context=E,o=B):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{v=t.stateNode,Oc(e,t),E=t.memoizedProps,$=jn(n,E),v.props=$,J=t.pendingProps,U=v.context,q=n.contextType,B=va,typeof q=="object"&&q!==null&&(B=Ct(q)),M=n.getDerivedStateFromProps,(q=typeof M=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==J||U!==B)&&Xg(t,v,o,B),an=!1,U=t.memoizedState,v.state=U,_i(t,o,v,s),Ci();var V=t.memoizedState;E!==J||U!==V||an||e!==null&&e.dependencies!==null&&ql(e.dependencies)?(typeof M=="function"&&(Gc(t,n,M,o),V=t.memoizedState),($=an||Zg(t,n,$,o,U,V,B)||e!==null&&e.dependencies!==null&&ql(e.dependencies))?(q||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(o,V,B),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(o,V,B)),typeof v.componentDidUpdate=="function"&&(t.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=V),v.props=o,v.state=V,v.context=B,o=$):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),o=!1)}return v=o,lu(e,t),o=(t.flags&128)!==0,v||o?(v=t.stateNode,n=o&&typeof n.getDerivedStateFromError!="function"?null:v.render(),t.flags|=1,e!==null&&o?(t.child=zn(t,e.child,null,s),t.child=zn(t,null,n,s)):_t(e,t,n,s),t.memoizedState=v.state,e=t.child):e=Hr(e,t,s),e}function dv(e,t,n,o){return Rn(),t.flags|=256,_t(e,t,n,o),t.child}var Xc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function $c(e){return{baseLanes:e,cachePool:eg()}}function Qc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Kt),e}function fv(e,t,n){var o=t.pendingProps,s=!1,v=(t.flags&128)!==0,E;if((E=v)||(E=e!==null&&e.memoizedState===null?!1:(lt.current&2)!==0),E&&(s=!0,t.flags&=-129),E=(t.flags&32)!==0,t.flags&=-33,e===null){if(Fe){if(s?un(t):sn(),(e=$e)?(e=Sh(e,ur),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:en!==null?{id:Dr,overflow:Or}:null,retryLane:536870912,hydrationErrors:null},n=Gp(e),n.return=t,t.child=n,Et=t,$e=null)):e=null,e===null)throw rn(t);return Bd(e)?t.lanes=32:t.lanes=536870912,null}var M=o.children;return o=o.fallback,s?(sn(),s=t.mode,M=uu({mode:"hidden",children:M},s),o=Pn(o,s,n,null),M.return=t,o.return=t,M.sibling=o,t.child=M,o=t.child,o.memoizedState=$c(n),o.childLanes=Qc(e,E,n),t.memoizedState=Xc,wi(null,o)):(un(t),Jc(t,M))}var B=e.memoizedState;if(B!==null&&(M=B.dehydrated,M!==null)){if(v)t.flags&256?(un(t),t.flags&=-257,t=ed(e,t,n)):t.memoizedState!==null?(sn(),t.child=e.child,t.flags|=128,t=null):(sn(),M=o.fallback,s=t.mode,o=uu({mode:"visible",children:o.children},s),M=Pn(M,s,n,null),M.flags|=2,o.return=t,M.return=t,o.sibling=M,t.child=o,zn(t,e.child,null,n),o=t.child,o.memoizedState=$c(n),o.childLanes=Qc(e,E,n),t.memoizedState=Xc,t=wi(null,o));else if(un(t),Bd(M)){if(E=M.nextSibling&&M.nextSibling.dataset,E)var q=E.dgst;E=q,o=Error(u(419)),o.stack="",o.digest=E,bi({value:o,source:null,stack:null}),t=ed(e,t,n)}else if(ft||ya(e,t,n,!1),E=(n&e.childLanes)!==0,ft||E){if(E=Xe,E!==null&&(o=Q0(E,n),o!==0&&o!==B.retryLane))throw B.retryLane=o,wn(e,o),Ht(E,e,o),Kc;xd(M)||mu(),t=ed(e,t,n)}else xd(M)?(t.flags|=192,t.child=e.child,t=null):(e=B.treeContext,$e=cr(M.nextSibling),Et=t,Fe=!0,tn=null,ur=!1,e!==null&&Kp(t,e),t=Jc(t,o.children),t.flags|=4096);return t}return s?(sn(),M=o.fallback,s=t.mode,B=e.child,q=B.sibling,o=xr(B,{mode:"hidden",children:o.children}),o.subtreeFlags=B.subtreeFlags&65011712,q!==null?M=xr(q,M):(M=Pn(M,s,n,null),M.flags|=2),M.return=t,o.return=t,o.sibling=M,t.child=o,wi(null,o),o=t.child,M=e.child.memoizedState,M===null?M=$c(n):(s=M.cachePool,s!==null?(B=ct._currentValue,s=s.parent!==B?{parent:B,pool:B}:s):s=eg(),M={baseLanes:M.baseLanes|n,cachePool:s}),o.memoizedState=M,o.childLanes=Qc(e,E,n),t.memoizedState=Xc,wi(e.child,o)):(un(t),n=e.child,e=n.sibling,n=xr(n,{mode:"visible",children:o.children}),n.return=t,n.sibling=null,e!==null&&(E=t.deletions,E===null?(t.deletions=[e],t.flags|=16):E.push(e)),t.child=n,t.memoizedState=null,n)}function Jc(e,t){return t=uu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function uu(e,t){return e=Wt(22,e,null,t),e.lanes=0,e}function ed(e,t,n){return zn(t,e.child,null,n),e=Jc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pv(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),vc(e.return,t,n)}function td(e,t,n,o,s,v){var E=e.memoizedState;E===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:s,treeForkCount:v}:(E.isBackwards=t,E.rendering=null,E.renderingStartTime=0,E.last=o,E.tail=n,E.tailMode=s,E.treeForkCount=v)}function gv(e,t,n){var o=t.pendingProps,s=o.revealOrder,v=o.tail;o=o.children;var E=lt.current,M=(E&2)!==0;if(M?(E=E&1|2,t.flags|=128):E&=1,w(lt,E),_t(e,t,o,n),o=Fe?mi:0,!M&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&pv(e,n,t);else if(e.tag===19)pv(e,n,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(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Xl(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),td(t,!1,s,n,v,o);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Xl(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}td(t,!0,n,null,v,o);break;case"together":td(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function Hr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),fn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ya(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,n=xr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rd(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ql(e)))}function HD(e,t,n){switch(t.tag){case 3:ce(t,t.stateNode.containerInfo),nn(t,ct,e.memoizedState.cache),Rn();break;case 27:case 5:Me(t);break;case 4:ce(t,t.stateNode.containerInfo);break;case 10:nn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,kc(t),null;break;case 13:var o=t.memoizedState;if(o!==null)return o.dehydrated!==null?(un(t),t.flags|=128,null):(n&t.child.childLanes)!==0?fv(e,t,n):(un(t),e=Hr(e,t,n),e!==null?e.sibling:null);un(t);break;case 19:var s=(e.flags&128)!==0;if(o=(n&t.childLanes)!==0,o||(ya(e,t,n,!1),o=(n&t.childLanes)!==0),s){if(o)return gv(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),w(lt,lt.current),o)break;return null;case 22:return t.lanes=0,ov(e,t,n,t.pendingProps);case 24:nn(t,ct,e.memoizedState.cache)}return Hr(e,t,n)}function vv(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ft=!0;else{if(!rd(e,n)&&(t.flags&128)===0)return ft=!1,HD(e,t,n);ft=(e.flags&131072)!==0}else ft=!1,Fe&&(t.flags&1048576)!==0&&Vp(t,mi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var o=t.pendingProps;if(e=Fn(t.elementType),t.type=e,typeof e=="function")lc(e)?(o=jn(e,o),t.tag=1,t=cv(null,t,e,o,n)):(t.tag=0,t=Zc(null,t,e,o,n));else{if(e!=null){var s=e.$$typeof;if(s===T){t.tag=11,t=nv(null,t,e,o,n);break e}else if(s===R){t.tag=14,t=av(null,t,e,o,n);break e}}throw t=se(e)||e,Error(u(306,t,""))}}return t;case 0:return Zc(e,t,t.type,t.pendingProps,n);case 1:return o=t.type,s=jn(o,t.pendingProps),cv(e,t,o,s,n);case 3:e:{if(ce(t,t.stateNode.containerInfo),e===null)throw Error(u(387));o=t.pendingProps;var v=t.memoizedState;s=v.element,Oc(e,t),_i(t,o,null,n);var E=t.memoizedState;if(o=E.cache,nn(t,ct,o),o!==v.cache&&hc(t,[ct],n,!0),Ci(),o=E.element,v.isDehydrated)if(v={element:o,isDehydrated:!1,cache:E.cache},t.updateQueue.baseState=v,t.memoizedState=v,t.flags&256){t=dv(e,t,o,n);break e}else if(o!==s){s=ir(Error(u(424)),t),bi(s),t=dv(e,t,o,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,$e=cr(e.firstChild),Et=t,Fe=!0,tn=null,ur=!0,n=og(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Rn(),o===s){t=Hr(e,t,n);break e}_t(e,t,o,n)}t=t.child}return t;case 26:return lu(e,t),e===null?(n=Th(t.type,null,t.pendingProps,null))?t.memoizedState=n:Fe||(n=t.type,e=t.pendingProps,o=Cu(le.current).createElement(n),o[Ot]=t,o[xt]=e,Tt(o,n,e),yt(o),t.stateNode=o):t.memoizedState=Th(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Me(t),e===null&&Fe&&(o=t.stateNode=Eh(t.type,t.pendingProps,le.current),Et=t,ur=!0,s=$e,mn(t.type)?(Ld=s,$e=cr(o.firstChild)):$e=s),_t(e,t,t.pendingProps.children,n),lu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Fe&&((s=o=$e)&&(o=vO(o,t.type,t.pendingProps,ur),o!==null?(t.stateNode=o,Et=t,$e=cr(o.firstChild),ur=!1,s=!0):s=!1),s||rn(t)),Me(t),s=t.type,v=t.pendingProps,E=e!==null?e.memoizedProps:null,o=v.children,wd(s,v)?o=null:E!==null&&wd(s,E)&&(t.flags|=32),t.memoizedState!==null&&(s=Mc(e,t,wD,null,null,n),Gi._currentValue=s),lu(e,t),_t(e,t,o,n),t.child;case 6:return e===null&&Fe&&((e=n=$e)&&(n=hO(n,t.pendingProps,ur),n!==null?(t.stateNode=n,Et=t,$e=null,e=!0):e=!1),e||rn(t)),null;case 13:return fv(e,t,n);case 4:return ce(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=zn(t,null,o,n):_t(e,t,o,n),t.child;case 11:return nv(e,t,t.type,t.pendingProps,n);case 7:return _t(e,t,t.pendingProps,n),t.child;case 8:return _t(e,t,t.pendingProps.children,n),t.child;case 12:return _t(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.pendingProps,nn(t,t.type,o.value),_t(e,t,o.children,n),t.child;case 9:return s=t.type._context,o=t.pendingProps.children,Bn(t),s=Ct(s),o=o(s),t.flags|=1,_t(e,t,o,n),t.child;case 14:return av(e,t,t.type,t.pendingProps,n);case 15:return iv(e,t,t.type,t.pendingProps,n);case 19:return gv(e,t,n);case 31:return zD(e,t,n);case 22:return ov(e,t,n,t.pendingProps);case 24:return Bn(t),o=Ct(ct),e===null?(s=yc(),s===null&&(s=Xe,v=mc(),s.pooledCache=v,v.refCount++,v!==null&&(s.pooledCacheLanes|=n),s=v),t.memoizedState={parent:o,cache:s},Dc(t),nn(t,ct,s)):((e.lanes&n)!==0&&(Oc(e,t),_i(t,null,null,n),Ci()),s=e.memoizedState,v=t.memoizedState,s.parent!==o?(s={parent:o,cache:o},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),nn(t,ct,o)):(o=v.cache,nn(t,ct,o),o!==s.cache&&hc(t,[ct],n,!0))),_t(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function jr(e){e.flags|=4}function nd(e,t,n,o,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(qv())e.flags|=8192;else throw Nn=Yl,Sc}else e.flags&=-16777217}function hv(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Ph(t))if(qv())e.flags|=8192;else throw Nn=Yl,Sc}function su(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Z0():536870912,e.lanes|=t,Pa|=t)}function Pi(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags&65011712,o|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags,o|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function jD(e,t,n){var o=t.pendingProps;switch(dc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return Qe(t),null;case 3:return n=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Fr(ct),ue(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ba(t)?jr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,pc())),Qe(t),null;case 26:var s=t.type,v=t.memoizedState;return e===null?(jr(t),v!==null?(Qe(t),hv(t,v)):(Qe(t),nd(t,s,null,o,n))):v?v!==e.memoizedState?(jr(t),Qe(t),hv(t,v)):(Qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&jr(t),Qe(t),nd(t,s,e,o,n)),null;case 27:if(Ce(t),n=le.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&jr(t);else{if(!o){if(t.stateNode===null)throw Error(u(166));return Qe(t),null}e=X.current,ba(t)?Zp(t):(e=Eh(s,o,n),t.stateNode=e,jr(t))}return Qe(t),null;case 5:if(Ce(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&jr(t);else{if(!o){if(t.stateNode===null)throw Error(u(166));return Qe(t),null}if(v=X.current,ba(t))Zp(t);else{var E=Cu(le.current);switch(v){case 1:v=E.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:v=E.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":v=E.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":v=E.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":v=E.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof o.is=="string"?E.createElement("select",{is:o.is}):E.createElement("select"),o.multiple?v.multiple=!0:o.size&&(v.size=o.size);break;default:v=typeof o.is=="string"?E.createElement(s,{is:o.is}):E.createElement(s)}}v[Ot]=t,v[xt]=o;e:for(E=t.child;E!==null;){if(E.tag===5||E.tag===6)v.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&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}t.stateNode=v;e:switch(Tt(v,s,o),s){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&jr(t)}}return Qe(t),nd(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&jr(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error(u(166));if(e=le.current,ba(t)){if(e=t.stateNode,n=t.memoizedProps,o=null,s=Et,s!==null)switch(s.tag){case 27:case 5:o=s.memoizedProps}e[Ot]=t,e=!!(e.nodeValue===n||o!==null&&o.suppressHydrationWarning===!0||fh(e.nodeValue,n)),e||rn(t,!0)}else e=Cu(e).createTextNode(o),e[Ot]=t,t.stateNode=e}return Qe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(o=ba(t),n!==null){if(e===null){if(!o)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[Ot]=t}else Rn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),e=!1}else n=pc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Yt(t),t):(Yt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Qe(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=ba(t),o!==null&&o.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[Ot]=t}else Rn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),s=!1}else s=pc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Yt(t),t):(Yt(t),null)}return Yt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=o!==null,e=e!==null&&e.memoizedState!==null,n&&(o=t.child,s=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(s=o.alternate.memoizedState.cachePool.pool),v=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(v=o.memoizedState.cachePool.pool),v!==s&&(o.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),su(t,t.updateQueue),Qe(t),null);case 4:return ue(),e===null&&_d(t.stateNode.containerInfo),Qe(t),null;case 10:return Fr(t.type),Qe(t),null;case 19:if(x(lt),o=t.memoizedState,o===null)return Qe(t),null;if(s=(t.flags&128)!==0,v=o.rendering,v===null)if(s)Pi(o,!1);else{if(it!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(v=Xl(e),v!==null){for(t.flags|=128,Pi(o,!1),e=v.updateQueue,t.updateQueue=e,su(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Wp(n,e),n=n.sibling;return w(lt,lt.current&1|2),Fe&&Br(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&rt()>gu&&(t.flags|=128,s=!0,Pi(o,!1),t.lanes=4194304)}else{if(!s)if(e=Xl(v),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,su(t,e),Pi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!v.alternate&&!Fe)return Qe(t),null}else 2*rt()-o.renderingStartTime>gu&&n!==536870912&&(t.flags|=128,s=!0,Pi(o,!1),t.lanes=4194304);o.isBackwards?(v.sibling=t.child,t.child=v):(e=o.last,e!==null?e.sibling=v:t.child=v,o.last=v)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=rt(),e.sibling=null,n=lt.current,w(lt,s?n&1|2:n&1),Fe&&Br(t,o.treeForkCount),e):(Qe(t),null);case 22:case 23:return Yt(t),Tc(),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(n&536870912)!==0&&(t.flags&128)===0&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),n=t.updateQueue,n!==null&&su(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),e!==null&&x(Ln),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Fr(ct),Qe(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function ID(e,t){switch(dc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fr(ct),ue(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ce(t),null;case 31:if(t.memoizedState!==null){if(Yt(t),t.alternate===null)throw Error(u(340));Rn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Yt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Rn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return x(lt),null;case 4:return ue(),null;case 10:return Fr(t.type),null;case 22:case 23:return Yt(t),Tc(),e!==null&&x(Ln),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Fr(ct),null;case 25:return null;default:return null}}function mv(e,t){switch(dc(t),t.tag){case 3:Fr(ct),ue();break;case 26:case 27:case 5:Ce(t);break;case 4:ue();break;case 31:t.memoizedState!==null&&Yt(t);break;case 13:Yt(t);break;case 19:x(lt);break;case 10:Fr(t.type);break;case 22:case 23:Yt(t),Tc(),e!==null&&x(Ln);break;case 24:Fr(ct)}}function Ri(e,t){try{var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var s=o.next;n=s;do{if((n.tag&e)===e){o=void 0;var v=n.create,E=n.inst;o=v(),E.destroy=o}n=n.next}while(n!==s)}}catch(M){Ge(t,t.return,M)}}function cn(e,t,n){try{var o=t.updateQueue,s=o!==null?o.lastEffect:null;if(s!==null){var v=s.next;o=v;do{if((o.tag&e)===e){var E=o.inst,M=E.destroy;if(M!==void 0){E.destroy=void 0,s=t;var B=n,q=M;try{q()}catch($){Ge(s,B,$)}}}o=o.next}while(o!==v)}}catch($){Ge(t,t.return,$)}}function bv(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{ug(t,n)}catch(o){Ge(e,e.return,o)}}}function yv(e,t,n){n.props=jn(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(o){Ge(e,t,o)}}function xi(e,t){try{var n=e.ref;if(n!==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 n=="function"?e.refCleanup=n(o):n.current=o}}catch(s){Ge(e,t,s)}}function Er(e,t){var n=e.ref,o=e.refCleanup;if(n!==null)if(typeof o=="function")try{o()}catch(s){Ge(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Ge(e,t,s)}else n.current=null}function Sv(e){var t=e.type,n=e.memoizedProps,o=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&o.focus();break e;case"img":n.src?o.src=n.src:n.srcSet&&(o.srcset=n.srcSet)}}catch(s){Ge(e,e.return,s)}}function ad(e,t,n){try{var o=e.stateNode;sO(o,e.type,n,t),o[xt]=t}catch(s){Ge(e,e.return,s)}}function Dv(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&mn(e.type)||e.tag===4}function id(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Dv(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&&mn(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 od(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Pr));else if(o!==4&&(o===27&&mn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(od(e,t,n),e=e.sibling;e!==null;)od(e,t,n),e=e.sibling}function cu(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(o===27&&mn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(cu(e,t,n),e=e.sibling;e!==null;)cu(e,t,n),e=e.sibling}function Ov(e){var t=e.stateNode,n=e.memoizedProps;try{for(var o=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);Tt(t,o,n),t[Ot]=e,t[xt]=n}catch(v){Ge(e,e.return,v)}}var Ir=!1,pt=!1,ld=!1,Ev=typeof WeakSet=="function"?WeakSet:Set,St=null;function qD(e,t){if(e=e.containerInfo,Ad=Pu,e=Lp(e),ec(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var s=o.anchorOffset,v=o.focusNode;o=o.focusOffset;try{n.nodeType,v.nodeType}catch{n=null;break e}var E=0,M=-1,B=-1,q=0,$=0,J=e,U=null;t:for(;;){for(var V;J!==n||s!==0&&J.nodeType!==3||(M=E+s),J!==v||o!==0&&J.nodeType!==3||(B=E+o),J.nodeType===3&&(E+=J.nodeValue.length),(V=J.firstChild)!==null;)U=J,J=V;for(;;){if(J===e)break t;if(U===n&&++q===s&&(M=E),U===v&&++$===o&&(B=E),(V=J.nextSibling)!==null)break;J=U,U=J.parentNode}J=V}n=M===-1||B===-1?null:{start:M,end:B}}else n=null}n=n||{start:0,end:0}}else n=null;for(Md={focusedElem:e,selectionRange:n},Pu=!1,St=t;St!==null;)if(t=St,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,St=e;else for(;St!==null;){switch(t=St,v=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(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&v!==null){e=void 0,n=t,s=v.memoizedProps,v=v.memoizedState,o=n.stateNode;try{var fe=jn(n.type,s);e=o.getSnapshotBeforeUpdate(fe,v),o.__reactInternalSnapshotBeforeUpdate=e}catch(ye){Ge(n,n.return,ye)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Rd(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Rd(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(u(163))}if(e=t.sibling,e!==null){e.return=t.return,St=e;break}St=t.return}}function Cv(e,t,n){var o=n.flags;switch(n.tag){case 0:case 11:case 15:Ur(e,n),o&4&&Ri(5,n);break;case 1:if(Ur(e,n),o&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(E){Ge(n,n.return,E)}else{var s=jn(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(E){Ge(n,n.return,E)}}o&64&&bv(n),o&512&&xi(n,n.return);break;case 3:if(Ur(e,n),o&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{ug(e,t)}catch(E){Ge(n,n.return,E)}}break;case 27:t===null&&o&4&&Ov(n);case 26:case 5:Ur(e,n),t===null&&o&4&&Sv(n),o&512&&xi(n,n.return);break;case 12:Ur(e,n);break;case 31:Ur(e,n),o&4&&kv(e,n);break;case 13:Ur(e,n),o&4&&Av(e,n),o&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=$D.bind(null,n),mO(e,n))));break;case 22:if(o=n.memoizedState!==null||Ir,!o){t=t!==null&&t.memoizedState!==null||pt,s=Ir;var v=pt;Ir=o,(pt=t)&&!v?Wr(e,n,(n.subtreeFlags&8772)!==0):Ur(e,n),Ir=s,pt=v}break;case 30:break;default:Ur(e,n)}}function _v(e){var t=e.alternate;t!==null&&(e.alternate=null,_v(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ns(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,Lt=!1;function qr(e,t,n){for(n=n.child;n!==null;)Tv(e,t,n),n=n.sibling}function Tv(e,t,n){if(ot&&typeof ot.onCommitFiberUnmount=="function")try{ot.onCommitFiberUnmount(vt,n)}catch{}switch(n.tag){case 26:pt||Er(n,t),qr(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:pt||Er(n,t);var o=tt,s=Lt;mn(n.type)&&(tt=n.stateNode,Lt=!1),qr(e,t,n),qi(n.stateNode),tt=o,Lt=s;break;case 5:pt||Er(n,t);case 6:if(o=tt,s=Lt,tt=null,qr(e,t,n),tt=o,Lt=s,tt!==null)if(Lt)try{(tt.nodeType===9?tt.body:tt.nodeName==="HTML"?tt.ownerDocument.body:tt).removeChild(n.stateNode)}catch(v){Ge(n,t,v)}else try{tt.removeChild(n.stateNode)}catch(v){Ge(n,t,v)}break;case 18:tt!==null&&(Lt?(e=tt,bh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ha(e)):bh(tt,n.stateNode));break;case 4:o=tt,s=Lt,tt=n.stateNode.containerInfo,Lt=!0,qr(e,t,n),tt=o,Lt=s;break;case 0:case 11:case 14:case 15:cn(2,n,t),pt||cn(4,n,t),qr(e,t,n);break;case 1:pt||(Er(n,t),o=n.stateNode,typeof o.componentWillUnmount=="function"&&yv(n,t,o)),qr(e,t,n);break;case 21:qr(e,t,n);break;case 22:pt=(o=pt)||n.memoizedState!==null,qr(e,t,n),pt=o;break;default:qr(e,t,n)}}function kv(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ha(e)}catch(n){Ge(t,t.return,n)}}}function Av(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ha(e)}catch(n){Ge(t,t.return,n)}}function UD(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ev),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ev),t;default:throw Error(u(435,e.tag))}}function du(e,t){var n=UD(e);t.forEach(function(o){if(!n.has(o)){n.add(o);var s=QD.bind(null,e,o);o.then(s,s)}})}function Ft(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var s=n[o],v=e,E=t,M=E;e:for(;M!==null;){switch(M.tag){case 27:if(mn(M.type)){tt=M.stateNode,Lt=!1;break e}break;case 5:tt=M.stateNode,Lt=!1;break e;case 3:case 4:tt=M.stateNode.containerInfo,Lt=!0;break e}M=M.return}if(tt===null)throw Error(u(160));Tv(v,E,s),tt=null,Lt=!1,v=s.alternate,v!==null&&(v.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Mv(t,e),t=t.sibling}var vr=null;function Mv(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ft(t,e),Nt(e),o&4&&(cn(3,e,e.return),Ri(3,e),cn(5,e,e.return));break;case 1:Ft(t,e),Nt(e),o&512&&(pt||n===null||Er(n,n.return)),o&64&&Ir&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?o:n.concat(o))));break;case 26:var s=vr;if(Ft(t,e),Nt(e),o&512&&(pt||n===null||Er(n,n.return)),o&4){var v=n!==null?n.memoizedState:null;if(o=e.memoizedState,n===null)if(o===null)if(e.stateNode===null){e:{o=e.type,n=e.memoizedProps,s=s.ownerDocument||s;t:switch(o){case"title":v=s.getElementsByTagName("title")[0],(!v||v[oi]||v[Ot]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=s.createElement(o),s.head.insertBefore(v,s.querySelector("head > title"))),Tt(v,o,n),v[Ot]=e,yt(v),o=v;break e;case"link":var E=Mh("link","href",s).get(o+(n.href||""));if(E){for(var M=0;M<E.length;M++)if(v=E[M],v.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&v.getAttribute("rel")===(n.rel==null?null:n.rel)&&v.getAttribute("title")===(n.title==null?null:n.title)&&v.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){E.splice(M,1);break t}}v=s.createElement(o),Tt(v,o,n),s.head.appendChild(v);break;case"meta":if(E=Mh("meta","content",s).get(o+(n.content||""))){for(M=0;M<E.length;M++)if(v=E[M],v.getAttribute("content")===(n.content==null?null:""+n.content)&&v.getAttribute("name")===(n.name==null?null:n.name)&&v.getAttribute("property")===(n.property==null?null:n.property)&&v.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&v.getAttribute("charset")===(n.charSet==null?null:n.charSet)){E.splice(M,1);break t}}v=s.createElement(o),Tt(v,o,n),s.head.appendChild(v);break;default:throw Error(u(468,o))}v[Ot]=e,yt(v),o=v}e.stateNode=o}else wh(s,e.type,e.stateNode);else e.stateNode=Ah(s,o,e.memoizedProps);else v!==o?(v===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):v.count--,o===null?wh(s,e.type,e.stateNode):Ah(s,o,e.memoizedProps)):o===null&&e.stateNode!==null&&ad(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ft(t,e),Nt(e),o&512&&(pt||n===null||Er(n,n.return)),n!==null&&o&4&&ad(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ft(t,e),Nt(e),o&512&&(pt||n===null||Er(n,n.return)),e.flags&32){s=e.stateNode;try{ua(s,"")}catch(fe){Ge(e,e.return,fe)}}o&4&&e.stateNode!=null&&(s=e.memoizedProps,ad(e,s,n!==null?n.memoizedProps:s)),o&1024&&(ld=!0);break;case 6:if(Ft(t,e),Nt(e),o&4){if(e.stateNode===null)throw Error(u(162));o=e.memoizedProps,n=e.stateNode;try{n.nodeValue=o}catch(fe){Ge(e,e.return,fe)}}break;case 3:if(ku=null,s=vr,vr=_u(t.containerInfo),Ft(t,e),vr=s,Nt(e),o&4&&n!==null&&n.memoizedState.isDehydrated)try{Ha(t.containerInfo)}catch(fe){Ge(e,e.return,fe)}ld&&(ld=!1,wv(e));break;case 4:o=vr,vr=_u(e.stateNode.containerInfo),Ft(t,e),Nt(e),vr=o;break;case 12:Ft(t,e),Nt(e);break;case 31:Ft(t,e),Nt(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,du(e,o)));break;case 13:Ft(t,e),Nt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(pu=rt()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,du(e,o)));break;case 22:s=e.memoizedState!==null;var B=n!==null&&n.memoizedState!==null,q=Ir,$=pt;if(Ir=q||s,pt=$||B,Ft(t,e),pt=$,Ir=q,Nt(e),o&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(n===null||B||Ir||pt||In(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){B=n=t;try{if(v=B.stateNode,s)E=v.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{M=B.stateNode;var J=B.memoizedProps.style,U=J!=null&&J.hasOwnProperty("display")?J.display:null;M.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(fe){Ge(B,B.return,fe)}}}else if(t.tag===6){if(n===null){B=t;try{B.stateNode.nodeValue=s?"":B.memoizedProps}catch(fe){Ge(B,B.return,fe)}}}else if(t.tag===18){if(n===null){B=t;try{var V=B.stateNode;s?yh(V,!0):yh(B.stateNode,!1)}catch(fe){Ge(B,B.return,fe)}}}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;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(n=o.retryQueue,n!==null&&(o.retryQueue=null,du(e,n))));break;case 19:Ft(t,e),Nt(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,du(e,o)));break;case 30:break;case 21:break;default:Ft(t,e),Nt(e)}}function Nt(e){var t=e.flags;if(t&2){try{for(var n,o=e.return;o!==null;){if(Dv(o)){n=o;break}o=o.return}if(n==null)throw Error(u(160));switch(n.tag){case 27:var s=n.stateNode,v=id(e);cu(e,v,s);break;case 5:var E=n.stateNode;n.flags&32&&(ua(E,""),n.flags&=-33);var M=id(e);cu(e,M,E);break;case 3:case 4:var B=n.stateNode.containerInfo,q=id(e);od(e,q,B);break;default:throw Error(u(161))}}catch($){Ge(e,e.return,$)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function wv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;wv(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ur(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Cv(e,t.alternate,t),t=t.sibling}function In(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:cn(4,t,t.return),In(t);break;case 1:Er(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&yv(t,t.return,n),In(t);break;case 27:qi(t.stateNode);case 26:case 5:Er(t,t.return),In(t);break;case 22:t.memoizedState===null&&In(t);break;case 30:In(t);break;default:In(t)}e=e.sibling}}function Wr(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var o=t.alternate,s=e,v=t,E=v.flags;switch(v.tag){case 0:case 11:case 15:Wr(s,v,n),Ri(4,v);break;case 1:if(Wr(s,v,n),o=v,s=o.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(q){Ge(o,o.return,q)}if(o=v,s=o.updateQueue,s!==null){var M=o.stateNode;try{var B=s.shared.hiddenCallbacks;if(B!==null)for(s.shared.hiddenCallbacks=null,s=0;s<B.length;s++)lg(B[s],M)}catch(q){Ge(o,o.return,q)}}n&&E&64&&bv(v),xi(v,v.return);break;case 27:Ov(v);case 26:case 5:Wr(s,v,n),n&&o===null&&E&4&&Sv(v),xi(v,v.return);break;case 12:Wr(s,v,n);break;case 31:Wr(s,v,n),n&&E&4&&kv(s,v);break;case 13:Wr(s,v,n),n&&E&4&&Av(s,v);break;case 22:v.memoizedState===null&&Wr(s,v,n),xi(v,v.return);break;case 30:break;default:Wr(s,v,n)}t=t.sibling}}function ud(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&yi(n))}function sd(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&yi(e))}function hr(e,t,n,o){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Pv(e,t,n,o),t=t.sibling}function Pv(e,t,n,o){var s=t.flags;switch(t.tag){case 0:case 11:case 15:hr(e,t,n,o),s&2048&&Ri(9,t);break;case 1:hr(e,t,n,o);break;case 3:hr(e,t,n,o),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&yi(e)));break;case 12:if(s&2048){hr(e,t,n,o),e=t.stateNode;try{var v=t.memoizedProps,E=v.id,M=v.onPostCommit;typeof M=="function"&&M(E,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(B){Ge(t,t.return,B)}}else hr(e,t,n,o);break;case 31:hr(e,t,n,o);break;case 13:hr(e,t,n,o);break;case 23:break;case 22:v=t.stateNode,E=t.alternate,t.memoizedState!==null?v._visibility&2?hr(e,t,n,o):Bi(e,t):v._visibility&2?hr(e,t,n,o):(v._visibility|=2,Aa(e,t,n,o,(t.subtreeFlags&10256)!==0||!1)),s&2048&&ud(E,t);break;case 24:hr(e,t,n,o),s&2048&&sd(t.alternate,t);break;default:hr(e,t,n,o)}}function Aa(e,t,n,o,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var v=e,E=t,M=n,B=o,q=E.flags;switch(E.tag){case 0:case 11:case 15:Aa(v,E,M,B,s),Ri(8,E);break;case 23:break;case 22:var $=E.stateNode;E.memoizedState!==null?$._visibility&2?Aa(v,E,M,B,s):Bi(v,E):($._visibility|=2,Aa(v,E,M,B,s)),s&&q&2048&&ud(E.alternate,E);break;case 24:Aa(v,E,M,B,s),s&&q&2048&&sd(E.alternate,E);break;default:Aa(v,E,M,B,s)}t=t.sibling}}function Bi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,o=t,s=o.flags;switch(o.tag){case 22:Bi(n,o),s&2048&&ud(o.alternate,o);break;case 24:Bi(n,o),s&2048&&sd(o.alternate,o);break;default:Bi(n,o)}t=t.sibling}}var Li=8192;function Ma(e,t,n){if(e.subtreeFlags&Li)for(e=e.child;e!==null;)Rv(e,t,n),e=e.sibling}function Rv(e,t,n){switch(e.tag){case 26:Ma(e,t,n),e.flags&Li&&e.memoizedState!==null&&MO(n,vr,e.memoizedState,e.memoizedProps);break;case 5:Ma(e,t,n);break;case 3:case 4:var o=vr;vr=_u(e.stateNode.containerInfo),Ma(e,t,n),vr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Li,Li=16777216,Ma(e,t,n),Li=o):Ma(e,t,n));break;default:Ma(e,t,n)}}function xv(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 Fi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n];St=o,Lv(o,e)}xv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bv(e),e=e.sibling}function Bv(e){switch(e.tag){case 0:case 11:case 15:Fi(e),e.flags&2048&&cn(9,e,e.return);break;case 3:Fi(e);break;case 12:Fi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,fu(e)):Fi(e);break;default:Fi(e)}}function fu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n];St=o,Lv(o,e)}xv(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:cn(8,t,t.return),fu(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,fu(t));break;default:fu(t)}e=e.sibling}}function Lv(e,t){for(;St!==null;){var n=St;switch(n.tag){case 0:case 11:case 15:cn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var o=n.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:yi(n.memoizedState.cache)}if(o=n.child,o!==null)o.return=n,St=o;else e:for(n=e;St!==null;){o=St;var s=o.sibling,v=o.return;if(_v(o),o===n){St=null;break e}if(s!==null){s.return=v,St=s;break e}St=v}}}var WD={getCacheForType:function(e){var t=Ct(ct),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ct(ct).controller.signal}},GD=typeof WeakMap=="function"?WeakMap:Map,Ie=0,Xe=null,Re=null,Be=0,We=0,Vt=null,dn=!1,wa=!1,cd=!1,Gr=0,it=0,fn=0,qn=0,dd=0,Kt=0,Pa=0,Ni=null,zt=null,fd=!1,pu=0,Fv=0,gu=1/0,vu=null,pn=null,ht=0,gn=null,Ra=null,Yr=0,pd=0,gd=null,Nv=null,zi=0,vd=null;function Zt(){return(Ie&2)!==0&&Be!==0?Be&-Be:j.T!==null?Dd():J0()}function zv(){if(Kt===0)if((Be&536870912)===0||Fe){var e=El;El<<=1,(El&3932160)===0&&(El=262144),Kt=e}else Kt=536870912;return e=Gt.current,e!==null&&(e.flags|=32),Kt}function Ht(e,t,n){(e===Xe&&(We===2||We===9)||e.cancelPendingCommit!==null)&&(xa(e,0),vn(e,Be,Kt,!1)),ii(e,n),((Ie&2)===0||e!==Xe)&&(e===Xe&&((Ie&2)===0&&(qn|=n),it===4&&vn(e,Be,Kt,!1)),Cr(e))}function Hv(e,t,n){if((Ie&6)!==0)throw Error(u(327));var o=!n&&(t&127)===0&&(t&e.expiredLanes)===0||ai(e,t),s=o?KD(e,t):md(e,t,!0),v=o;do{if(s===0){wa&&!o&&vn(e,t,0,!1);break}else{if(n=e.current.alternate,v&&!YD(n)){s=md(e,t,!1),v=!1;continue}if(s===2){if(v=t,e.errorRecoveryDisabledLanes&v)var E=0;else E=e.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){t=E;e:{var M=e;s=Ni;var B=M.current.memoizedState.isDehydrated;if(B&&(xa(M,E).flags|=256),E=md(M,E,!1),E!==2){if(cd&&!B){M.errorRecoveryDisabledLanes|=v,qn|=v,s=4;break e}v=zt,zt=s,v!==null&&(zt===null?zt=v:zt.push.apply(zt,v))}s=E}if(v=!1,s!==2)continue}}if(s===1){xa(e,0),vn(e,t,0,!0);break}e:{switch(o=e,v=s,v){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:vn(o,t,Kt,!dn);break e;case 2:zt=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(s=pu+300-rt(),10<s)){if(vn(o,t,Kt,!dn),_l(o,0,!0)!==0)break e;Yr=t,o.timeoutHandle=hh(jv.bind(null,o,n,zt,vu,fd,t,Kt,qn,Pa,dn,v,"Throttled",-0,0),s);break e}jv(o,n,zt,vu,fd,t,Kt,qn,Pa,dn,v,null,-0,0)}}break}while(!0);Cr(e)}function jv(e,t,n,o,s,v,E,M,B,q,$,J,U,V){if(e.timeoutHandle=-1,J=t.subtreeFlags,J&8192||(J&16785408)===16785408){J={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pr},Rv(t,v,J);var fe=(v&62914560)===v?pu-rt():(v&4194048)===v?Fv-rt():0;if(fe=wO(J,fe),fe!==null){Yr=v,e.cancelPendingCommit=fe(Kv.bind(null,e,t,v,n,o,s,E,M,B,$,J,null,U,V)),vn(e,v,E,!q);return}}Kv(e,t,v,n,o,s,E,M,B)}function YD(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var o=0;o<n.length;o++){var s=n[o],v=s.getSnapshot;s=s.value;try{if(!Ut(v(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function vn(e,t,n,o){t&=~dd,t&=~qn,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var s=t;0<s;){var v=31-et(s),E=1<<v;o[v]=-1,s&=~E}n!==0&&X0(e,n,t)}function hu(){return(Ie&6)===0?(Hi(0),!1):!0}function hd(){if(Re!==null){if(We===0)var e=Re.return;else e=Re,Lr=xn=null,Rc(e),Ea=null,Di=0,e=Re;for(;e!==null;)mv(e.alternate,e),e=e.return;Re=null}}function xa(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,fO(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Yr=0,hd(),Xe=e,Re=n=xr(e.current,null),Be=t,We=0,Vt=null,dn=!1,wa=ai(e,t),cd=!1,Pa=Kt=dd=qn=fn=it=0,zt=Ni=null,fd=!1,(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var s=31-et(o),v=1<<s;t|=e[s],o&=~v}return Gr=t,Nl(),n}function Iv(e,t){Te=null,j.H=Mi,t===Oa||t===Gl?(t=ng(),We=3):t===Sc?(t=ng(),We=4):We=t===Kc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Vt=t,Re===null&&(it=1,iu(e,ir(t,e.current)))}function qv(){var e=Gt.current;return e===null?!0:(Be&4194048)===Be?sr===null:(Be&62914560)===Be||(Be&536870912)!==0?e===sr:!1}function Uv(){var e=j.H;return j.H=Mi,e===null?Mi:e}function Wv(){var e=j.A;return j.A=WD,e}function mu(){it=4,dn||(Be&4194048)!==Be&&Gt.current!==null||(wa=!0),(fn&134217727)===0&&(qn&134217727)===0||Xe===null||vn(Xe,Be,Kt,!1)}function md(e,t,n){var o=Ie;Ie|=2;var s=Uv(),v=Wv();(Xe!==e||Be!==t)&&(vu=null,xa(e,t)),t=!1;var E=it;e:do try{if(We!==0&&Re!==null){var M=Re,B=Vt;switch(We){case 8:hd(),E=6;break e;case 3:case 2:case 9:case 6:Gt.current===null&&(t=!0);var q=We;if(We=0,Vt=null,Ba(e,M,B,q),n&&wa){E=0;break e}break;default:q=We,We=0,Vt=null,Ba(e,M,B,q)}}VD(),E=it;break}catch($){Iv(e,$)}while(!0);return t&&e.shellSuspendCounter++,Lr=xn=null,Ie=o,j.H=s,j.A=v,Re===null&&(Xe=null,Be=0,Nl()),E}function VD(){for(;Re!==null;)Gv(Re)}function KD(e,t){var n=Ie;Ie|=2;var o=Uv(),s=Wv();Xe!==e||Be!==t?(vu=null,gu=rt()+500,xa(e,t)):wa=ai(e,t);e:do try{if(We!==0&&Re!==null){t=Re;var v=Vt;t:switch(We){case 1:We=0,Vt=null,Ba(e,t,v,1);break;case 2:case 9:if(tg(v)){We=0,Vt=null,Yv(t);break}t=function(){We!==2&&We!==9||Xe!==e||(We=7),Cr(e)},v.then(t,t);break e;case 3:We=7;break e;case 4:We=5;break e;case 7:tg(v)?(We=0,Vt=null,Yv(t)):(We=0,Vt=null,Ba(e,t,v,7));break;case 5:var E=null;switch(Re.tag){case 26:E=Re.memoizedState;case 5:case 27:var M=Re;if(E?Ph(E):M.stateNode.complete){We=0,Vt=null;var B=M.sibling;if(B!==null)Re=B;else{var q=M.return;q!==null?(Re=q,bu(q)):Re=null}break t}}We=0,Vt=null,Ba(e,t,v,5);break;case 6:We=0,Vt=null,Ba(e,t,v,6);break;case 8:hd(),it=6;break e;default:throw Error(u(462))}}ZD();break}catch($){Iv(e,$)}while(!0);return Lr=xn=null,j.H=o,j.A=s,Ie=n,Re!==null?0:(Xe=null,Be=0,Nl(),it)}function ZD(){for(;Re!==null&&!Dt();)Gv(Re)}function Gv(e){var t=vv(e.alternate,e,Gr);e.memoizedProps=e.pendingProps,t===null?bu(e):Re=t}function Yv(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=sv(n,t,t.pendingProps,t.type,void 0,Be);break;case 11:t=sv(n,t,t.pendingProps,t.type.render,t.ref,Be);break;case 5:Rc(t);default:mv(n,t),t=Re=Wp(t,Gr),t=vv(n,t,Gr)}e.memoizedProps=e.pendingProps,t===null?bu(e):Re=t}function Ba(e,t,n,o){Lr=xn=null,Rc(t),Ea=null,Di=0;var s=t.return;try{if(ND(e,s,t,n,Be)){it=1,iu(e,ir(n,e.current)),Re=null;return}}catch(v){if(s!==null)throw Re=s,v;it=1,iu(e,ir(n,e.current)),Re=null;return}t.flags&32768?(Fe||o===1?e=!0:wa||(Be&536870912)!==0?e=!1:(dn=e=!0,(o===2||o===9||o===3||o===6)&&(o=Gt.current,o!==null&&o.tag===13&&(o.flags|=16384))),Vv(t,e)):bu(t)}function bu(e){var t=e;do{if((t.flags&32768)!==0){Vv(t,dn);return}e=t.return;var n=jD(t.alternate,t,Gr);if(n!==null){Re=n;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);it===0&&(it=5)}function Vv(e,t){do{var n=ID(e.alternate,e);if(n!==null){n.flags&=32767,Re=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Re=e;return}Re=e=n}while(e!==null);it=6,Re=null}function Kv(e,t,n,o,s,v,E,M,B){e.cancelPendingCommit=null;do yu();while(ht!==0);if((Ie&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(v=t.lanes|t.childLanes,v|=ic,A5(e,n,v,E,M,B),e===Xe&&(Re=Xe=null,Be=0),Ra=t,gn=e,Yr=n,pd=v,gd=s,Nv=o,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,JD(bt,function(){return Jv(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=j.T,j.T=null,s=te.p,te.p=2,E=Ie,Ie|=4;try{qD(e,t,n)}finally{Ie=E,te.p=s,j.T=o}}ht=1,Zv(),Xv(),$v()}}function Zv(){if(ht===1){ht=0;var e=gn,t=Ra,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=j.T,j.T=null;var o=te.p;te.p=2;var s=Ie;Ie|=4;try{Mv(t,e);var v=Md,E=Lp(e.containerInfo),M=v.focusedElem,B=v.selectionRange;if(E!==M&&M&&M.ownerDocument&&Bp(M.ownerDocument.documentElement,M)){if(B!==null&&ec(M)){var q=B.start,$=B.end;if($===void 0&&($=q),"selectionStart"in M)M.selectionStart=q,M.selectionEnd=Math.min($,M.value.length);else{var J=M.ownerDocument||document,U=J&&J.defaultView||window;if(U.getSelection){var V=U.getSelection(),fe=M.textContent.length,ye=Math.min(B.start,fe),Ke=B.end===void 0?ye:Math.min(B.end,fe);!V.extend&&ye>Ke&&(E=Ke,Ke=ye,ye=E);var H=xp(M,ye),N=xp(M,Ke);if(H&&N&&(V.rangeCount!==1||V.anchorNode!==H.node||V.anchorOffset!==H.offset||V.focusNode!==N.node||V.focusOffset!==N.offset)){var I=J.createRange();I.setStart(H.node,H.offset),V.removeAllRanges(),ye>Ke?(V.addRange(I),V.extend(N.node,N.offset)):(I.setEnd(N.node,N.offset),V.addRange(I))}}}}for(J=[],V=M;V=V.parentNode;)V.nodeType===1&&J.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof M.focus=="function"&&M.focus(),M=0;M<J.length;M++){var Q=J[M];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}Pu=!!Ad,Md=Ad=null}finally{Ie=s,te.p=o,j.T=n}}e.current=t,ht=2}}function Xv(){if(ht===2){ht=0;var e=gn,t=Ra,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=j.T,j.T=null;var o=te.p;te.p=2;var s=Ie;Ie|=4;try{Cv(e,t.alternate,t)}finally{Ie=s,te.p=o,j.T=n}}ht=3}}function $v(){if(ht===4||ht===3){ht=0,er();var e=gn,t=Ra,n=Yr,o=Nv;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ht=5:(ht=0,Ra=gn=null,Qv(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(pn=null),Ls(n),t=t.stateNode,ot&&typeof ot.onCommitFiberRoot=="function")try{ot.onCommitFiberRoot(vt,t,void 0,(t.current.flags&128)===128)}catch{}if(o!==null){t=j.T,s=te.p,te.p=2,j.T=null;try{for(var v=e.onRecoverableError,E=0;E<o.length;E++){var M=o[E];v(M.value,{componentStack:M.stack})}}finally{j.T=t,te.p=s}}(Yr&3)!==0&&yu(),Cr(e),s=e.pendingLanes,(n&261930)!==0&&(s&42)!==0?e===vd?zi++:(zi=0,vd=e):zi=0,Hi(0)}}function Qv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,yi(t)))}function yu(){return Zv(),Xv(),$v(),Jv()}function Jv(){if(ht!==5)return!1;var e=gn,t=pd;pd=0;var n=Ls(Yr),o=j.T,s=te.p;try{te.p=32>n?32:n,j.T=null,n=gd,gd=null;var v=gn,E=Yr;if(ht=0,Ra=gn=null,Yr=0,(Ie&6)!==0)throw Error(u(331));var M=Ie;if(Ie|=4,Bv(v.current),Pv(v,v.current,E,n),Ie=M,Hi(0,!1),ot&&typeof ot.onPostCommitFiberRoot=="function")try{ot.onPostCommitFiberRoot(vt,v)}catch{}return!0}finally{te.p=s,j.T=o,Qv(e,t)}}function eh(e,t,n){t=ir(n,t),t=Vc(e.stateNode,t,2),e=ln(e,t,2),e!==null&&(ii(e,2),Cr(e))}function Ge(e,t,n){if(e.tag===3)eh(e,e,n);else for(;t!==null;){if(t.tag===3){eh(t,e,n);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(pn===null||!pn.has(o))){e=ir(n,e),n=tv(2),o=ln(t,n,2),o!==null&&(rv(n,o,t,e),ii(o,2),Cr(o));break}}t=t.return}}function bd(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new GD;var s=new Set;o.set(t,s)}else s=o.get(t),s===void 0&&(s=new Set,o.set(t,s));s.has(n)||(cd=!0,s.add(n),e=XD.bind(null,e,t,n),t.then(e,e))}function XD(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Xe===e&&(Be&n)===n&&(it===4||it===3&&(Be&62914560)===Be&&300>rt()-pu?(Ie&2)===0&&xa(e,0):dd|=n,Pa===Be&&(Pa=0)),Cr(e)}function th(e,t){t===0&&(t=Z0()),e=wn(e,t),e!==null&&(ii(e,t),Cr(e))}function $D(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),th(e,n)}function QD(e,t){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(u(314))}o!==null&&o.delete(t),th(e,n)}function JD(e,t){return gt(e,t)}var Su=null,La=null,yd=!1,Du=!1,Sd=!1,hn=0;function Cr(e){e!==La&&e.next===null&&(La===null?Su=La=e:La=La.next=e),Du=!0,yd||(yd=!0,tO())}function Hi(e,t){if(!Sd&&Du){Sd=!0;do for(var n=!1,o=Su;o!==null;){if(e!==0){var s=o.pendingLanes;if(s===0)var v=0;else{var E=o.suspendedLanes,M=o.pingedLanes;v=(1<<31-et(42|e)+1)-1,v&=s&~(E&~M),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(n=!0,ih(o,v))}else v=Be,v=_l(o,o===Xe?v:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(v&3)===0||ai(o,v)||(n=!0,ih(o,v));o=o.next}while(n);Sd=!1}}function eO(){rh()}function rh(){Du=yd=!1;var e=0;hn!==0&&dO()&&(e=hn);for(var t=rt(),n=null,o=Su;o!==null;){var s=o.next,v=nh(o,t);v===0?(o.next=null,n===null?Su=s:n.next=s,s===null&&(La=n)):(n=o,(e!==0||(v&3)!==0)&&(Du=!0)),o=s}ht!==0&&ht!==5||Hi(e),hn!==0&&(hn=0)}function nh(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,v=e.pendingLanes&-62914561;0<v;){var E=31-et(v),M=1<<E,B=s[E];B===-1?((M&n)===0||(M&o)!==0)&&(s[E]=k5(M,t)):B<=t&&(e.expiredLanes|=M),v&=~M}if(t=Xe,n=Be,n=_l(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,n===0||e===t&&(We===2||We===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Jt(o),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ai(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(o!==null&&Jt(o),Ls(n)){case 2:case 8:n=_e;break;case 32:n=bt;break;case 268435456:n=Dl;break;default:n=bt}return o=ah.bind(null,e),n=gt(n,o),e.callbackPriority=t,e.callbackNode=n,t}return o!==null&&o!==null&&Jt(o),e.callbackPriority=2,e.callbackNode=null,2}function ah(e,t){if(ht!==0&&ht!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(yu()&&e.callbackNode!==n)return null;var o=Be;return o=_l(e,e===Xe?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Hv(e,o,t),nh(e,rt()),e.callbackNode!=null&&e.callbackNode===n?ah.bind(null,e):null)}function ih(e,t){if(yu())return null;Hv(e,t,!0)}function tO(){pO(function(){(Ie&6)!==0?gt(be,eO):rh()})}function Dd(){if(hn===0){var e=Sa;e===0&&(e=Ol,Ol<<=1,(Ol&261888)===0&&(Ol=256)),hn=e}return hn}function oh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ml(""+e)}function lh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function rO(e,t,n,o,s){if(t==="submit"&&n&&n.stateNode===s){var v=oh((s[xt]||null).action),E=o.submitter;E&&(t=(t=E[xt]||null)?oh(t.formAction):E.getAttribute("formAction"),t!==null&&(v=t,E=null));var M=new xl("action","action",null,o,s);e.push({event:M,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(hn!==0){var B=E?lh(s,E):new FormData(s);Ic(n,{pending:!0,data:B,method:s.method,action:v},null,B)}}else typeof v=="function"&&(M.preventDefault(),B=E?lh(s,E):new FormData(s),Ic(n,{pending:!0,data:B,method:s.method,action:v},v,B))},currentTarget:s}]})}}for(var Od=0;Od<ac.length;Od++){var Ed=ac[Od],nO=Ed.toLowerCase(),aO=Ed[0].toUpperCase()+Ed.slice(1);gr(nO,"on"+aO)}gr(zp,"onAnimationEnd"),gr(Hp,"onAnimationIteration"),gr(jp,"onAnimationStart"),gr("dblclick","onDoubleClick"),gr("focusin","onFocus"),gr("focusout","onBlur"),gr(SD,"onTransitionRun"),gr(DD,"onTransitionStart"),gr(OD,"onTransitionCancel"),gr(Ip,"onTransitionEnd"),oa("onMouseEnter",["mouseout","mouseover"]),oa("onMouseLeave",["mouseout","mouseover"]),oa("onPointerEnter",["pointerout","pointerover"]),oa("onPointerLeave",["pointerout","pointerover"]),Tn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Tn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Tn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Tn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Tn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Tn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ji="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(" "),iO=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ji));function uh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n],s=o.event;o=o.listeners;e:{var v=void 0;if(t)for(var E=o.length-1;0<=E;E--){var M=o[E],B=M.instance,q=M.currentTarget;if(M=M.listener,B!==v&&s.isPropagationStopped())break e;v=M,s.currentTarget=q;try{v(s)}catch($){Fl($)}s.currentTarget=null,v=B}else for(E=0;E<o.length;E++){if(M=o[E],B=M.instance,q=M.currentTarget,M=M.listener,B!==v&&s.isPropagationStopped())break e;v=M,s.currentTarget=q;try{v(s)}catch($){Fl($)}s.currentTarget=null,v=B}}}}function xe(e,t){var n=t[Fs];n===void 0&&(n=t[Fs]=new Set);var o=e+"__bubble";n.has(o)||(sh(t,e,2,!1),n.add(o))}function Cd(e,t,n){var o=0;t&&(o|=4),sh(n,e,o,t)}var Ou="_reactListening"+Math.random().toString(36).slice(2);function _d(e){if(!e[Ou]){e[Ou]=!0,rp.forEach(function(n){n!=="selectionchange"&&(iO.has(n)||Cd(n,!1,e),Cd(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ou]||(t[Ou]=!0,Cd("selectionchange",!1,t))}}function sh(e,t,n,o){switch(zh(t)){case 2:var s=xO;break;case 8:s=BO;break;default:s=jd}n=s.bind(null,t,n,e),s=void 0,!Gs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),o?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Td(e,t,n,o,s){var v=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var E=o.tag;if(E===3||E===4){var M=o.stateNode.containerInfo;if(M===s)break;if(E===4)for(E=o.return;E!==null;){var B=E.tag;if((B===3||B===4)&&E.stateNode.containerInfo===s)return;E=E.return}for(;M!==null;){if(E=na(M),E===null)return;if(B=E.tag,B===5||B===6||B===26||B===27){o=v=E;continue e}M=M.parentNode}}o=o.return}gp(function(){var q=v,$=Us(n),J=[];e:{var U=qp.get(e);if(U!==void 0){var V=xl,fe=e;switch(e){case"keypress":if(Pl(n)===0)break e;case"keydown":case"keyup":V=Q5;break;case"focusin":fe="focus",V=Zs;break;case"focusout":fe="blur",V=Zs;break;case"beforeblur":case"afterblur":V=Zs;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=mp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=j5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=tD;break;case zp:case Hp:case jp:V=U5;break;case Ip:V=nD;break;case"scroll":case"scrollend":V=z5;break;case"wheel":V=iD;break;case"copy":case"cut":case"paste":V=G5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=yp;break;case"toggle":case"beforetoggle":V=lD}var ye=(t&4)!==0,Ke=!ye&&(e==="scroll"||e==="scrollend"),H=ye?U!==null?U+"Capture":null:U;ye=[];for(var N=q,I;N!==null;){var Q=N;if(I=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||I===null||H===null||(Q=ui(N,H),Q!=null&&ye.push(Ii(N,Q,I))),Ke)break;N=N.return}0<ye.length&&(U=new V(U,fe,null,n,$),J.push({event:U,listeners:ye}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",U&&n!==qs&&(fe=n.relatedTarget||n.fromElement)&&(na(fe)||fe[ra]))break e;if((V||U)&&(U=$.window===$?$:(U=$.ownerDocument)?U.defaultView||U.parentWindow:window,V?(fe=n.relatedTarget||n.toElement,V=q,fe=fe?na(fe):null,fe!==null&&(Ke=f(fe),ye=fe.tag,fe!==Ke||ye!==5&&ye!==27&&ye!==6)&&(fe=null)):(V=null,fe=q),V!==fe)){if(ye=mp,Q="onMouseLeave",H="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(ye=yp,Q="onPointerLeave",H="onPointerEnter",N="pointer"),Ke=V==null?U:li(V),I=fe==null?U:li(fe),U=new ye(Q,N+"leave",V,n,$),U.target=Ke,U.relatedTarget=I,Q=null,na($)===q&&(ye=new ye(H,N+"enter",fe,n,$),ye.target=I,ye.relatedTarget=Ke,Q=ye),Ke=Q,V&&fe)t:{for(ye=oO,H=V,N=fe,I=0,Q=H;Q;Q=ye(Q))I++;Q=0;for(var ve=N;ve;ve=ye(ve))Q++;for(;0<I-Q;)H=ye(H),I--;for(;0<Q-I;)N=ye(N),Q--;for(;I--;){if(H===N||N!==null&&H===N.alternate){ye=H;break t}H=ye(H),N=ye(N)}ye=null}else ye=null;V!==null&&ch(J,U,V,ye,!1),fe!==null&&Ke!==null&&ch(J,Ke,fe,ye,!0)}}e:{if(U=q?li(q):window,V=U.nodeName&&U.nodeName.toLowerCase(),V==="select"||V==="input"&&U.type==="file")var Ne=kp;else if(_p(U))if(Ap)Ne=mD;else{Ne=vD;var ge=gD}else V=U.nodeName,!V||V.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?q&&Is(q.elementType)&&(Ne=kp):Ne=hD;if(Ne&&(Ne=Ne(e,q))){Tp(J,Ne,n,$);break e}ge&&ge(e,U,q),e==="focusout"&&q&&U.type==="number"&&q.memoizedProps.value!=null&&js(U,"number",U.value)}switch(ge=q?li(q):window,e){case"focusin":(_p(ge)||ge.contentEditable==="true")&&(fa=ge,tc=q,hi=null);break;case"focusout":hi=tc=fa=null;break;case"mousedown":rc=!0;break;case"contextmenu":case"mouseup":case"dragend":rc=!1,Fp(J,n,$);break;case"selectionchange":if(yD)break;case"keydown":case"keyup":Fp(J,n,$)}var ke;if($s)e:{switch(e){case"compositionstart":var Le="onCompositionStart";break e;case"compositionend":Le="onCompositionEnd";break e;case"compositionupdate":Le="onCompositionUpdate";break e}Le=void 0}else da?Ep(e,n)&&(Le="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Le="onCompositionStart");Le&&(Sp&&n.locale!=="ko"&&(da||Le!=="onCompositionStart"?Le==="onCompositionEnd"&&da&&(ke=vp()):(Jr=$,Ys="value"in Jr?Jr.value:Jr.textContent,da=!0)),ge=Eu(q,Le),0<ge.length&&(Le=new bp(Le,e,null,n,$),J.push({event:Le,listeners:ge}),ke?Le.data=ke:(ke=Cp(n),ke!==null&&(Le.data=ke)))),(ke=sD?cD(e,n):dD(e,n))&&(Le=Eu(q,"onBeforeInput"),0<Le.length&&(ge=new bp("onBeforeInput","beforeinput",null,n,$),J.push({event:ge,listeners:Le}),ge.data=ke)),rO(J,e,q,n,$)}uh(J,t)})}function Ii(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Eu(e,t){for(var n=t+"Capture",o=[];e!==null;){var s=e,v=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||v===null||(s=ui(e,n),s!=null&&o.unshift(Ii(e,s,v)),s=ui(e,t),s!=null&&o.push(Ii(e,s,v))),e.tag===3)return o;e=e.return}return[]}function oO(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ch(e,t,n,o,s){for(var v=t._reactName,E=[];n!==null&&n!==o;){var M=n,B=M.alternate,q=M.stateNode;if(M=M.tag,B!==null&&B===o)break;M!==5&&M!==26&&M!==27||q===null||(B=q,s?(q=ui(n,v),q!=null&&E.unshift(Ii(n,q,B))):s||(q=ui(n,v),q!=null&&E.push(Ii(n,q,B)))),n=n.return}E.length!==0&&e.push({event:t,listeners:E})}var lO=/\r\n?/g,uO=/\u0000|\uFFFD/g;function dh(e){return(typeof e=="string"?e:""+e).replace(lO,`
9
- `).replace(uO,"")}function fh(e,t){return t=dh(t),dh(e)===t}function Ve(e,t,n,o,s,v){switch(n){case"children":typeof o=="string"?t==="body"||t==="textarea"&&o===""||ua(e,o):(typeof o=="number"||typeof o=="bigint")&&t!=="body"&&ua(e,""+o);break;case"className":kl(e,"class",o);break;case"tabIndex":kl(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":kl(e,n,o);break;case"style":fp(e,o,v);break;case"data":if(t!=="object"){kl(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}o=Ml(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(n==="formAction"?(t!=="input"&&Ve(e,t,"name",s.name,s,null),Ve(e,t,"formEncType",s.formEncType,s,null),Ve(e,t,"formMethod",s.formMethod,s,null),Ve(e,t,"formTarget",s.formTarget,s,null)):(Ve(e,t,"encType",s.encType,s,null),Ve(e,t,"method",s.method,s,null),Ve(e,t,"target",s.target,s,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}o=Ml(""+o),e.setAttribute(n,o);break;case"onClick":o!=null&&(e.onclick=Pr);break;case"onScroll":o!=null&&xe("scroll",e);break;case"onScrollEnd":o!=null&&xe("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(u(61));if(n=o.__html,n!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=n}}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}n=Ml(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,""+o):e.removeAttribute(n);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(n,""):e.removeAttribute(n);break;case"capture":case"download":o===!0?e.setAttribute(n,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,o):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(n,o):e.removeAttribute(n);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(n):e.setAttribute(n,o);break;case"popover":xe("beforetoggle",e),xe("toggle",e),Tl(e,"popover",o);break;case"xlinkActuate":wr(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":wr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":wr(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":wr(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":wr(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":wr(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":wr(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":wr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":wr(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Tl(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=F5.get(n)||n,Tl(e,n,o))}}function kd(e,t,n,o,s,v){switch(n){case"style":fp(e,o,v);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(u(61));if(n=o.__html,n!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=n}}break;case"children":typeof o=="string"?ua(e,o):(typeof o=="number"||typeof o=="bigint")&&ua(e,""+o);break;case"onScroll":o!=null&&xe("scroll",e);break;case"onScrollEnd":o!=null&&xe("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Pr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!np.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),v=e[xt]||null,v=v!=null?v[n]:null,typeof v=="function"&&e.removeEventListener(t,v,s),typeof o=="function")){typeof v!="function"&&v!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,s);break e}n in e?e[n]=o:o===!0?e.setAttribute(n,""):Tl(e,n,o)}}}function Tt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xe("error",e),xe("load",e);var o=!1,s=!1,v;for(v in n)if(n.hasOwnProperty(v)){var E=n[v];if(E!=null)switch(v){case"src":o=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ve(e,t,v,E,n,null)}}s&&Ve(e,t,"srcSet",n.srcSet,n,null),o&&Ve(e,t,"src",n.src,n,null);return;case"input":xe("invalid",e);var M=v=E=s=null,B=null,q=null;for(o in n)if(n.hasOwnProperty(o)){var $=n[o];if($!=null)switch(o){case"name":s=$;break;case"type":E=$;break;case"checked":B=$;break;case"defaultChecked":q=$;break;case"value":v=$;break;case"defaultValue":M=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(u(137,t));break;default:Ve(e,t,o,$,n,null)}}up(e,v,M,B,q,E,s,!1);return;case"select":xe("invalid",e),o=E=v=null;for(s in n)if(n.hasOwnProperty(s)&&(M=n[s],M!=null))switch(s){case"value":v=M;break;case"defaultValue":E=M;break;case"multiple":o=M;default:Ve(e,t,s,M,n,null)}t=v,n=E,e.multiple=!!o,t!=null?la(e,!!o,t,!1):n!=null&&la(e,!!o,n,!0);return;case"textarea":xe("invalid",e),v=s=o=null;for(E in n)if(n.hasOwnProperty(E)&&(M=n[E],M!=null))switch(E){case"value":o=M;break;case"defaultValue":s=M;break;case"children":v=M;break;case"dangerouslySetInnerHTML":if(M!=null)throw Error(u(91));break;default:Ve(e,t,E,M,n,null)}cp(e,o,s,v);return;case"option":for(B in n)n.hasOwnProperty(B)&&(o=n[B],o!=null)&&(B==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":Ve(e,t,B,o,n,null));return;case"dialog":xe("beforetoggle",e),xe("toggle",e),xe("cancel",e),xe("close",e);break;case"iframe":case"object":xe("load",e);break;case"video":case"audio":for(o=0;o<ji.length;o++)xe(ji[o],e);break;case"image":xe("error",e),xe("load",e);break;case"details":xe("toggle",e);break;case"embed":case"source":case"link":xe("error",e),xe("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(q in n)if(n.hasOwnProperty(q)&&(o=n[q],o!=null))switch(q){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ve(e,t,q,o,n,null)}return;default:if(Is(t)){for($ in n)n.hasOwnProperty($)&&(o=n[$],o!==void 0&&kd(e,t,$,o,n,void 0));return}}for(M in n)n.hasOwnProperty(M)&&(o=n[M],o!=null&&Ve(e,t,M,o,n,null))}function sO(e,t,n,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,v=null,E=null,M=null,B=null,q=null,$=null;for(V in n){var J=n[V];if(n.hasOwnProperty(V)&&J!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":B=J;default:o.hasOwnProperty(V)||Ve(e,t,V,null,o,J)}}for(var U in o){var V=o[U];if(J=n[U],o.hasOwnProperty(U)&&(V!=null||J!=null))switch(U){case"type":v=V;break;case"name":s=V;break;case"checked":q=V;break;case"defaultChecked":$=V;break;case"value":E=V;break;case"defaultValue":M=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,t));break;default:V!==J&&Ve(e,t,U,V,o,J)}}Hs(e,E,M,B,q,$,v,s);return;case"select":V=E=M=U=null;for(v in n)if(B=n[v],n.hasOwnProperty(v)&&B!=null)switch(v){case"value":break;case"multiple":V=B;default:o.hasOwnProperty(v)||Ve(e,t,v,null,o,B)}for(s in o)if(v=o[s],B=n[s],o.hasOwnProperty(s)&&(v!=null||B!=null))switch(s){case"value":U=v;break;case"defaultValue":M=v;break;case"multiple":E=v;default:v!==B&&Ve(e,t,s,v,o,B)}t=M,n=E,o=V,U!=null?la(e,!!n,U,!1):!!o!=!!n&&(t!=null?la(e,!!n,t,!0):la(e,!!n,n?[]:"",!1));return;case"textarea":V=U=null;for(M in n)if(s=n[M],n.hasOwnProperty(M)&&s!=null&&!o.hasOwnProperty(M))switch(M){case"value":break;case"children":break;default:Ve(e,t,M,null,o,s)}for(E in o)if(s=o[E],v=n[E],o.hasOwnProperty(E)&&(s!=null||v!=null))switch(E){case"value":U=s;break;case"defaultValue":V=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==v&&Ve(e,t,E,s,o,v)}sp(e,U,V);return;case"option":for(var fe in n)U=n[fe],n.hasOwnProperty(fe)&&U!=null&&!o.hasOwnProperty(fe)&&(fe==="selected"?e.selected=!1:Ve(e,t,fe,null,o,U));for(B in o)U=o[B],V=n[B],o.hasOwnProperty(B)&&U!==V&&(U!=null||V!=null)&&(B==="selected"?e.selected=U&&typeof U!="function"&&typeof U!="symbol":Ve(e,t,B,U,o,V));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 ye in n)U=n[ye],n.hasOwnProperty(ye)&&U!=null&&!o.hasOwnProperty(ye)&&Ve(e,t,ye,null,o,U);for(q in o)if(U=o[q],V=n[q],o.hasOwnProperty(q)&&U!==V&&(U!=null||V!=null))switch(q){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(u(137,t));break;default:Ve(e,t,q,U,o,V)}return;default:if(Is(t)){for(var Ke in n)U=n[Ke],n.hasOwnProperty(Ke)&&U!==void 0&&!o.hasOwnProperty(Ke)&&kd(e,t,Ke,void 0,o,U);for($ in o)U=o[$],V=n[$],!o.hasOwnProperty($)||U===V||U===void 0&&V===void 0||kd(e,t,$,U,o,V);return}}for(var H in n)U=n[H],n.hasOwnProperty(H)&&U!=null&&!o.hasOwnProperty(H)&&Ve(e,t,H,null,o,U);for(J in o)U=o[J],V=n[J],!o.hasOwnProperty(J)||U===V||U==null&&V==null||Ve(e,t,J,U,o,V)}function ph(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function cO(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),o=0;o<n.length;o++){var s=n[o],v=s.transferSize,E=s.initiatorType,M=s.duration;if(v&&M&&ph(E)){for(E=0,M=s.responseEnd,o+=1;o<n.length;o++){var B=n[o],q=B.startTime;if(q>M)break;var $=B.transferSize,J=B.initiatorType;$&&ph(J)&&(B=B.responseEnd,E+=$*(B<M?1:(M-q)/(B-q)))}if(--o,t+=8*(v+E)/(s.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 Ad=null,Md=null;function Cu(e){return e.nodeType===9?e:e.ownerDocument}function gh(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 vh(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 wd(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 Pd=null;function dO(){var e=window.event;return e&&e.type==="popstate"?e===Pd?!1:(Pd=e,!0):(Pd=null,!1)}var hh=typeof setTimeout=="function"?setTimeout:void 0,fO=typeof clearTimeout=="function"?clearTimeout:void 0,mh=typeof Promise=="function"?Promise:void 0,pO=typeof queueMicrotask=="function"?queueMicrotask:typeof mh<"u"?function(e){return mh.resolve(null).then(e).catch(gO)}:hh;function gO(e){setTimeout(function(){throw e})}function mn(e){return e==="head"}function bh(e,t){var n=t,o=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(o===0){e.removeChild(s),Ha(t);return}o--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")o++;else if(n==="html")qi(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,qi(n);for(var v=n.firstChild;v;){var E=v.nextSibling,M=v.nodeName;v[oi]||M==="SCRIPT"||M==="STYLE"||M==="LINK"&&v.rel.toLowerCase()==="stylesheet"||n.removeChild(v),v=E}}else n==="body"&&qi(e.ownerDocument.body);n=s}while(n);Ha(t)}function yh(e,t){var n=e;e=0;do{var o=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=o}while(n)}function Rd(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Rd(n),Ns(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function vO(e,t,n,o){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[oi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(v=e.getAttribute("rel"),v==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(v!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(v=e.getAttribute("src"),(v!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&v&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var v=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===v)return e}else return e;if(e=cr(e.nextSibling),e===null)break}return null}function hO(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=cr(e.nextSibling),e===null))return null;return e}function Sh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=cr(e.nextSibling),e===null))return null;return e}function xd(e){return e.data==="$?"||e.data==="$~"}function Bd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function mO(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var o=function(){t(),n.removeEventListener("DOMContentLoaded",o)};n.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function cr(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 Ld=null;function Dh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return cr(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Oh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Eh(e,t,n){switch(t=Cu(n),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function qi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ns(e)}var dr=new Map,Ch=new Set;function _u(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Vr=te.d;te.d={f:bO,r:yO,D:SO,C:DO,L:OO,m:EO,X:_O,S:CO,M:TO};function bO(){var e=Vr.f(),t=hu();return e||t}function yO(e){var t=aa(e);t!==null&&t.tag===5&&t.type==="form"?Ig(t):Vr.r(e)}var Fa=typeof document>"u"?null:document;function _h(e,t,n){var o=Fa;if(o&&typeof t=="string"&&t){var s=nr(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Ch.has(s)||(Ch.add(s),e={rel:e,crossOrigin:n,href:t},o.querySelector(s)===null&&(t=o.createElement("link"),Tt(t,"link",e),yt(t),o.head.appendChild(t)))}}function SO(e){Vr.D(e),_h("dns-prefetch",e,null)}function DO(e,t){Vr.C(e,t),_h("preconnect",e,t)}function OO(e,t,n){Vr.L(e,t,n);var o=Fa;if(o&&e&&t){var s='link[rel="preload"][as="'+nr(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+nr(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+nr(n.imageSizes)+'"]')):s+='[href="'+nr(e)+'"]';var v=s;switch(t){case"style":v=Na(e);break;case"script":v=za(e)}dr.has(v)||(e=h({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),dr.set(v,e),o.querySelector(s)!==null||t==="style"&&o.querySelector(Ui(v))||t==="script"&&o.querySelector(Wi(v))||(t=o.createElement("link"),Tt(t,"link",e),yt(t),o.head.appendChild(t)))}}function EO(e,t){Vr.m(e,t);var n=Fa;if(n&&e){var o=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+nr(o)+'"][href="'+nr(e)+'"]',v=s;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=za(e)}if(!dr.has(v)&&(e=h({rel:"modulepreload",href:e},t),dr.set(v,e),n.querySelector(s)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Wi(v)))return}o=n.createElement("link"),Tt(o,"link",e),yt(o),n.head.appendChild(o)}}}function CO(e,t,n){Vr.S(e,t,n);var o=Fa;if(o&&e){var s=ia(o).hoistableStyles,v=Na(e);t=t||"default";var E=s.get(v);if(!E){var M={loading:0,preload:null};if(E=o.querySelector(Ui(v)))M.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},n),(n=dr.get(v))&&Fd(e,n);var B=E=o.createElement("link");yt(B),Tt(B,"link",e),B._p=new Promise(function(q,$){B.onload=q,B.onerror=$}),B.addEventListener("load",function(){M.loading|=1}),B.addEventListener("error",function(){M.loading|=2}),M.loading|=4,Tu(E,t,o)}E={type:"stylesheet",instance:E,count:1,state:M},s.set(v,E)}}}function _O(e,t){Vr.X(e,t);var n=Fa;if(n&&e){var o=ia(n).hoistableScripts,s=za(e),v=o.get(s);v||(v=n.querySelector(Wi(s)),v||(e=h({src:e,async:!0},t),(t=dr.get(s))&&Nd(e,t),v=n.createElement("script"),yt(v),Tt(v,"link",e),n.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(s,v))}}function TO(e,t){Vr.M(e,t);var n=Fa;if(n&&e){var o=ia(n).hoistableScripts,s=za(e),v=o.get(s);v||(v=n.querySelector(Wi(s)),v||(e=h({src:e,async:!0,type:"module"},t),(t=dr.get(s))&&Nd(e,t),v=n.createElement("script"),yt(v),Tt(v,"link",e),n.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(s,v))}}function Th(e,t,n,o){var s=(s=le.current)?_u(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Na(n.href),n=ia(s).hoistableStyles,o=n.get(t),o||(o={type:"style",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Na(n.href);var v=ia(s).hoistableStyles,E=v.get(e);if(E||(s=s.ownerDocument||s,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(e,E),(v=s.querySelector(Ui(e)))&&!v._p&&(E.instance=v,E.state.loading=5),dr.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},dr.set(e,n),v||kO(s,e,n,E.state))),t&&o===null)throw Error(u(528,""));return E}if(t&&o!==null)throw Error(u(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=za(n),n=ia(s).hoistableScripts,o=n.get(t),o||(o={type:"script",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function Na(e){return'href="'+nr(e)+'"'}function Ui(e){return'link[rel="stylesheet"]['+e+"]"}function kh(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function kO(e,t,n,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}),Tt(t,"link",n),yt(t),e.head.appendChild(t))}function za(e){return'[src="'+nr(e)+'"]'}function Wi(e){return"script[async]"+e}function Ah(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+nr(n.href)+'"]');if(o)return t.instance=o,yt(o),o;var s=h({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),yt(o),Tt(o,"style",s),Tu(o,n.precedence,e),t.instance=o;case"stylesheet":s=Na(n.href);var v=e.querySelector(Ui(s));if(v)return t.state.loading|=4,t.instance=v,yt(v),v;o=kh(n),(s=dr.get(s))&&Fd(o,s),v=(e.ownerDocument||e).createElement("link"),yt(v);var E=v;return E._p=new Promise(function(M,B){E.onload=M,E.onerror=B}),Tt(v,"link",o),t.state.loading|=4,Tu(v,n.precedence,e),t.instance=v;case"script":return v=za(n.src),(s=e.querySelector(Wi(v)))?(t.instance=s,yt(s),s):(o=n,(s=dr.get(v))&&(o=h({},n),Nd(o,s)),e=e.ownerDocument||e,s=e.createElement("script"),yt(s),Tt(s,"link",o),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(o=t.instance,t.state.loading|=4,Tu(o,n.precedence,e));return t.instance}function Tu(e,t,n){for(var o=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=o.length?o[o.length-1]:null,v=s,E=0;E<o.length;E++){var M=o[E];if(M.dataset.precedence===t)v=M;else if(v!==s)break}v?v.parentNode.insertBefore(e,v.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Fd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Nd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ku=null;function Mh(e,t,n){if(ku===null){var o=new Map,s=ku=new Map;s.set(n,o)}else s=ku,o=s.get(n),o||(o=new Map,s.set(n,o));if(o.has(e))return o;for(o.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var v=n[s];if(!(v[oi]||v[Ot]||e==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var E=v.getAttribute(t)||"";E=e+E;var M=o.get(E);M?M.push(v):o.set(E,[v])}}return o}function wh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function AO(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!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 Ph(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function MO(e,t,n,o){if(n.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=Na(o.href),v=t.querySelector(Ui(s));if(v){t=v._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Au.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=v,yt(v);return}v=t.ownerDocument||t,o=kh(o),(s=dr.get(s))&&Fd(o,s),v=v.createElement("link"),yt(v);var E=v;E._p=new Promise(function(M,B){E.onload=M,E.onerror=B}),Tt(v,"link",o),n.instance=v}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Au.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var zd=0;function wO(e,t){return e.stylesheets&&e.count===0&&wu(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var o=setTimeout(function(){if(e.stylesheets&&wu(e,e.stylesheets),e.unsuspend){var v=e.unsuspend;e.unsuspend=null,v()}},6e4+t);0<e.imgBytes&&zd===0&&(zd=62500*cO());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&wu(e,e.stylesheets),e.unsuspend)){var v=e.unsuspend;e.unsuspend=null,v()}},(e.imgBytes>zd?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(s)}}:null}function Au(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)wu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Mu=null;function wu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Mu=new Map,t.forEach(PO,e),Mu=null,Au.call(e))}function PO(e,t){if(!(t.state.loading&4)){var n=Mu.get(e);if(n)var o=n.get(null);else{n=new Map,Mu.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<s.length;v++){var E=s[v];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(n.set(E.dataset.precedence,E),o=E)}o&&n.set(null,o)}s=t.instance,E=s.getAttribute("data-precedence"),v=n.get(E)||o,v===o&&n.set(null,s),n.set(E,s),this.count++,o=Au.bind(this),s.addEventListener("load",o),s.addEventListener("error",o),v?v.parentNode.insertBefore(s,v.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Gi={$$typeof:k,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function RO(e,t,n,o,s,v,E,M,B){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=xs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xs(0),this.hiddenUpdates=xs(null),this.identifierPrefix=o,this.onUncaughtError=s,this.onCaughtError=v,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=B,this.incompleteTransitions=new Map}function Rh(e,t,n,o,s,v,E,M,B,q,$,J){return e=new RO(e,t,n,E,B,q,$,J,M),t=1,v===!0&&(t|=24),v=Wt(3,null,null,t),e.current=v,v.stateNode=e,t=mc(),t.refCount++,e.pooledCache=t,t.refCount++,v.memoizedState={element:o,isDehydrated:n,cache:t},Dc(v),e}function xh(e){return e?(e=va,e):va}function Bh(e,t,n,o,s,v){s=xh(s),o.context===null?o.context=s:o.pendingContext=s,o=on(t),o.payload={element:n},v=v===void 0?null:v,v!==null&&(o.callback=v),n=ln(e,o,t),n!==null&&(Ht(n,e,t),Ei(n,e,t))}function Lh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Hd(e,t){Lh(e,t),(e=e.alternate)&&Lh(e,t)}function Fh(e){if(e.tag===13||e.tag===31){var t=wn(e,67108864);t!==null&&Ht(t,e,67108864),Hd(e,67108864)}}function Nh(e){if(e.tag===13||e.tag===31){var t=Zt();t=Bs(t);var n=wn(e,t);n!==null&&Ht(n,e,t),Hd(e,t)}}var Pu=!0;function xO(e,t,n,o){var s=j.T;j.T=null;var v=te.p;try{te.p=2,jd(e,t,n,o)}finally{te.p=v,j.T=s}}function BO(e,t,n,o){var s=j.T;j.T=null;var v=te.p;try{te.p=8,jd(e,t,n,o)}finally{te.p=v,j.T=s}}function jd(e,t,n,o){if(Pu){var s=Id(o);if(s===null)Td(e,t,o,Ru,n),Hh(e,o);else if(FO(s,e,t,n,o))o.stopPropagation();else if(Hh(e,o),t&4&&-1<LO.indexOf(e)){for(;s!==null;){var v=aa(s);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var E=_n(v.pendingLanes);if(E!==0){var M=v;for(M.pendingLanes|=2,M.entangledLanes|=2;E;){var B=1<<31-et(E);M.entanglements[1]|=B,E&=~B}Cr(v),(Ie&6)===0&&(gu=rt()+500,Hi(0))}}break;case 31:case 13:M=wn(v,2),M!==null&&Ht(M,v,2),hu(),Hd(v,2)}if(v=Id(o),v===null&&Td(e,t,o,Ru,n),v===s)break;s=v}s!==null&&o.stopPropagation()}else Td(e,t,o,null,n)}}function Id(e){return e=Us(e),qd(e)}var Ru=null;function qd(e){if(Ru=null,e=na(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=l(t),e!==null)return e;e=null}else if(n===31){if(e=m(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ru=e,null}function zh(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(he()){case be:return 2;case _e:return 8;case bt:case Mr:return 32;case Dl:return 268435456;default:return 32}default:return 32}}var Ud=!1,bn=null,yn=null,Sn=null,Yi=new Map,Vi=new Map,Dn=[],LO="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 Hh(e,t){switch(e){case"focusin":case"focusout":bn=null;break;case"dragenter":case"dragleave":yn=null;break;case"mouseover":case"mouseout":Sn=null;break;case"pointerover":case"pointerout":Yi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vi.delete(t.pointerId)}}function Ki(e,t,n,o,s,v){return e===null||e.nativeEvent!==v?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:v,targetContainers:[s]},t!==null&&(t=aa(t),t!==null&&Fh(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function FO(e,t,n,o,s){switch(t){case"focusin":return bn=Ki(bn,e,t,n,o,s),!0;case"dragenter":return yn=Ki(yn,e,t,n,o,s),!0;case"mouseover":return Sn=Ki(Sn,e,t,n,o,s),!0;case"pointerover":var v=s.pointerId;return Yi.set(v,Ki(Yi.get(v)||null,e,t,n,o,s)),!0;case"gotpointercapture":return v=s.pointerId,Vi.set(v,Ki(Vi.get(v)||null,e,t,n,o,s)),!0}return!1}function jh(e){var t=na(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=l(n),t!==null){e.blockedOn=t,ep(e.priority,function(){Nh(n)});return}}else if(t===31){if(t=m(n),t!==null){e.blockedOn=t,ep(e.priority,function(){Nh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Id(e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n);qs=o,n.target.dispatchEvent(o),qs=null}else return t=aa(n),t!==null&&Fh(t),e.blockedOn=n,!1;t.shift()}return!0}function Ih(e,t,n){xu(e)&&n.delete(t)}function NO(){Ud=!1,bn!==null&&xu(bn)&&(bn=null),yn!==null&&xu(yn)&&(yn=null),Sn!==null&&xu(Sn)&&(Sn=null),Yi.forEach(Ih),Vi.forEach(Ih)}function Bu(e,t){e.blockedOn===t&&(e.blockedOn=null,Ud||(Ud=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,NO)))}var Lu=null;function qh(e){Lu!==e&&(Lu=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Lu===e&&(Lu=null);for(var t=0;t<e.length;t+=3){var n=e[t],o=e[t+1],s=e[t+2];if(typeof o!="function"){if(qd(o||n)===null)continue;break}var v=aa(n);v!==null&&(e.splice(t,3),t-=3,Ic(v,{pending:!0,data:s,method:n.method,action:o},o,s))}}))}function Ha(e){function t(B){return Bu(B,e)}bn!==null&&Bu(bn,e),yn!==null&&Bu(yn,e),Sn!==null&&Bu(Sn,e),Yi.forEach(t),Vi.forEach(t);for(var n=0;n<Dn.length;n++){var o=Dn[n];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Dn.length&&(n=Dn[0],n.blockedOn===null);)jh(n),n.blockedOn===null&&Dn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(o=0;o<n.length;o+=3){var s=n[o],v=n[o+1],E=s[xt]||null;if(typeof v=="function")E||qh(n);else if(E){var M=null;if(v&&v.hasAttribute("formAction")){if(s=v,E=v[xt]||null)M=E.formAction;else if(qd(s)!==null)continue}else M=E.action;typeof M=="function"?n[o+1]=M:(n.splice(o,3),o-=3),qh(n)}}}function Uh(){function e(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(E){return s=E})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),o||setTimeout(n,20)}function n(){if(!o&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function Wd(e){this._internalRoot=e}Fu.prototype.render=Wd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var n=t.current,o=Zt();Bh(n,o,e,t,null,null)},Fu.prototype.unmount=Wd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bh(e.current,2,null,e,null,null),hu(),t[ra]=null}};function Fu(e){this._internalRoot=e}Fu.prototype.unstable_scheduleHydration=function(e){if(e){var t=J0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dn.length&&t!==0&&t<Dn[n].priority;n++);Dn.splice(n,0,e),n===0&&jh(e)}};var Wh=a.version;if(Wh!=="19.2.0")throw Error(u(527,Wh,"19.2.0"));te.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=d(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var zO={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nu.isDisabled&&Nu.supportsFiber)try{vt=Nu.inject(zO),ot=Nu}catch{}}return Xi.createRoot=function(e,t){if(!c(e))throw Error(u(299));var n=!1,o="",s=$g,v=Qg,E=Jg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(v=t.onCaughtError),t.onRecoverableError!==void 0&&(E=t.onRecoverableError)),t=Rh(e,1,!1,null,null,n,o,null,s,v,E,Uh),e[ra]=t.current,_d(e),new Wd(t)},Xi.hydrateRoot=function(e,t,n){if(!c(e))throw Error(u(299));var o=!1,s="",v=$g,E=Qg,M=Jg,B=null;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(v=n.onUncaughtError),n.onCaughtError!==void 0&&(E=n.onCaughtError),n.onRecoverableError!==void 0&&(M=n.onRecoverableError),n.formState!==void 0&&(B=n.formState)),t=Rh(e,1,!0,t,n??null,o,s,B,v,E,M,Uh),t.context=xh(null),n=t.current,o=Zt(),o=Bs(o),s=on(o),s.callback=null,ln(n,s,o),n=o,t.current.lanes=n,ii(t,n),Cr(t),e[ra]=t.current,_d(e),new Fu(t)},Xi.version="19.2.0",Xi}var em;function KO(){if(em)return Vd.exports;em=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(a){console.error(a)}}return r(),Vd.exports=VO(),Vd.exports}var ZO=KO(),$d={},Qd={},Un={},Jd={},$i={},Qi={},ef={},Kr={},tm;function dl(){if(tm)return Kr;tm=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.primitiveLightColors=Kr.primitiveDarkColors=Kr.default=void 0;const r=Kr.default={white:"#FFFFFF",gray50:"#F3F3F3",gray100:"#E8E8E8",gray200:"#DDDDDD",gray300:"#C6C6C6",gray400:"#A6A6A6",gray500:"#868686",gray600:"#727272",gray700:"#5E5E5E",gray800:"#4B4B4B",gray900:"#282828",black:"#000000",platinum50:"#F4FAFB",platinum100:"#EBF5F7",platinum200:"#CCDFE5",platinum300:"#A1BDCA",platinum400:"#8EA3AD",platinum500:"#6C7C83",platinum600:"#556268",platinum700:"#394145",platinum800:"#142328",red50:"#FFF0EE",red100:"#FFE1DE",red200:"#FFD2CD",red300:"#FFB2AB",red400:"#FC7F79",red500:"#F83446",red600:"#DE1135",red700:"#BB032A",red800:"#950F22",red900:"#520810",orange50:"#FFF0E9",orange100:"#FEE2D4",orange200:"#FFD3BC",orange300:"#FFB48C",orange400:"#FC823A",orange500:"#E65300",orange600:"#C54600",orange700:"#A33B04",orange800:"#823006",orange900:"#461A00",amber50:"#FFF1E1",amber100:"#FFE4B7",amber200:"#FFD5A1",amber300:"#FFB749",amber400:"#DF9500",amber500:"#C46E00",amber600:"#A95F03",amber700:"#904A07",amber800:"#763A00",amber900:"#401E04",yellow50:"#FDF2DC",yellow100:"#FBE5B6",yellow200:"#FFD688",yellow300:"#F6BC2F",yellow400:"#D79900",yellow500:"#B97502",yellow600:"#9F6402",yellow700:"#845201",yellow800:"#6B4100",yellow900:"#392300",lime50:"#EEF6E3",lime100:"#DEEEC6",lime200:"#CAE6A0",lime300:"#A6D467",lime400:"#77B71C",lime500:"#5B9500",lime600:"#4F7F06",lime700:"#3F6900",lime800:"#365310",lime900:"#1B2D00",green50:"#EAF6ED",green100:"#D3EFDA",green200:"#B1EAC2",green300:"#7FD99A",green400:"#06C167",green500:"#009A51",green600:"#0E8345",green700:"#166C3B",green800:"#0D572D",green900:"#002F14",teal50:"#E2F8FB",teal100:"#CDEEF3",teal200:"#B0E7EF",teal300:"#77D5E3",teal400:"#01B8CA",teal500:"#0095A4",teal600:"#007F8C",teal700:"#016974",teal800:"#1A535A",teal900:"#002D33",blue50:"#EFF4FE",blue100:"#DEE9FE",blue200:"#CDDEFF",blue300:"#A9C9FF",blue400:"#6DAAFB",blue500:"#068BEE",blue600:"#276EF1",blue700:"#175BCC",blue800:"#1948A3",blue900:"#002661",cobalt50:"#EBEDFA",cobalt100:"#D2D7F0",cobalt200:"#949CE3",cobalt300:"#535FCF",cobalt400:"#0E1FC1",cobalt500:"#0A1899",cobalt600:"#081270",cobalt700:"#050C4D",purple50:"#F9F1FF",purple100:"#F2E3FF",purple200:"#EBD5FF",purple300:"#DDB9FF",purple400:"#C490F9",purple500:"#A964F7",purple600:"#944DE7",purple700:"#7C3EC3",purple800:"#633495",purple900:"#3A1659",magenta50:"#FEEFF9",magenta100:"#FEDFF3",magenta200:"#FFCEF2",magenta300:"#FFACE5",magenta400:"#F877D2",magenta500:"#E142BC",magenta600:"#CA26A5",magenta700:"#A91A90",magenta800:"#891869",magenta900:"#50003F",brown50:"#F6F0EA",brown100:"#EBE0DB",brown200:"#D2BBB0",brown300:"#B18977",brown400:"#99644C",brown500:"#744C3A",brown600:"#5C3C2E",brown700:"#3D281E",brandDefault50:"#EFF4FE",brandDefault100:"#DEE9FE",brandDefault200:"#CDDEFF",brandDefault300:"#A9C9FF",brandDefault400:"#6DAAFB",brandDefault500:"#068BEE",brandDefault600:"#276EF1",brandDefault700:"#175BCC",brandDefault800:"#1948A3",brandDefault900:"#002661",gray50Dark:"#161616",gray100Dark:"#292929",gray200Dark:"#383838",gray300Dark:"#484848",gray400Dark:"#5D5D5D",gray500Dark:"#717171",gray600Dark:"#8C8C8C",gray700Dark:"#ABABAB",gray800Dark:"#C4C4C4",gray900Dark:"#DEDEDE",red50Dark:"#2E0608",red100Dark:"#4A1216",red200Dark:"#621C20",red300Dark:"#7F1F26",red400Dark:"#A32C34",red500Dark:"#C33840",red600Dark:"#DE5B5D",red700Dark:"#EA9B98",red800Dark:"#EFBCB9",red900Dark:"#F2D7D5",orange50Dark:"#260F03",orange100Dark:"#401F0C",orange200Dark:"#562A12",orange300Dark:"#6D3715",orange400Dark:"#8C4922",orange500Dark:"#AB5727",orange600Dark:"#C97245",orange700Dark:"#ED9E74",orange800Dark:"#F1BDA3",orange900Dark:"#F8D6C5",amber50Dark:"#241003",amber100Dark:"#3C220F",amber200Dark:"#502F18",amber300Dark:"#653D18",amber400Dark:"#805127",amber500Dark:"#956724",amber600Dark:"#B68131",amber700Dark:"#DEA85E",amber800Dark:"#EEC28D",amber900Dark:"#F6D9B7",yellow50Dark:"#211201",yellow100Dark:"#39240A",yellow200Dark:"#4C3111",yellow300Dark:"#624013",yellow400Dark:"#7A5616",yellow500Dark:"#916C1A",yellow600Dark:"#AE8523",yellow700Dark:"#D7AC57",yellow800Dark:"#E6C681",yellow900Dark:"#F3DCAE",lime50Dark:"#0F1A03",lime100Dark:"#202E13",lime200Dark:"#2C3F19",lime300Dark:"#39501F",lime400Dark:"#4A682B",lime500Dark:"#5A7E35",lime600Dark:"#759954",lime700Dark:"#9EC080",lime800Dark:"#BDD4AB",lime900Dark:"#D6E3CB",green50Dark:"#081B0E",green100Dark:"#162F1E",green200Dark:"#20402A",green300Dark:"#2A5237",green400Dark:"#306C44",green500Dark:"#3D8351",green600Dark:"#5C9D70",green700Dark:"#8FC19C",green800Dark:"#AED6B8",green900Dark:"#CBE6D2",teal50Dark:"#071A1C",teal100Dark:"#0C2E34",teal200Dark:"#113F46",teal300Dark:"#155158",teal400Dark:"#216972",teal500Dark:"#217F8B",teal600Dark:"#3B9BA8",teal700Dark:"#72C1CD",teal800Dark:"#9CD5DF",teal900Dark:"#C5E5EA",blue50Dark:"#061431",blue100Dark:"#182946",blue200Dark:"#22375C",blue300Dark:"#2D4775",blue400Dark:"#335BA3",blue500Dark:"#3F6EC5",blue600Dark:"#5E8BDB",blue700Dark:"#93B4EE",blue800Dark:"#B3CCF6",blue900Dark:"#D1DFF6",purple50Dark:"#1B0E2D",purple100Dark:"#2F2044",purple200Dark:"#3F2D59",purple300Dark:"#513974",purple400Dark:"#694B96",purple500Dark:"#7F5BB6",purple600Dark:"#9A78CE",purple700Dark:"#BDA7E4",purple800Dark:"#D2C1EF",purple900Dark:"#E2D9F5",magenta50Dark:"#28071F",magenta100Dark:"#411636",magenta200Dark:"#581F48",magenta300Dark:"#6E2A5B",magenta400Dark:"#8E3777",magenta500Dark:"#AB4490",magenta600Dark:"#C664A9",magenta700Dark:"#E099C9",magenta800Dark:"#EEB6DB",magenta900Dark:"#F1D4E7",brandDefault50Dark:"#09152C",brandDefault100Dark:"#182946",brandDefault200Dark:"#22375C",brandDefault300Dark:"#2D4775",brandDefault400Dark:"#335BA3",brandDefault500Dark:"#3F6EC5",brandDefault600Dark:"#5E8BDB",brandDefault700Dark:"#93B4EE",brandDefault800Dark:"#B3CCF6",brandDefault900Dark:"#D1DFF6"},a=Kr.primitiveLightColors={},i=Kr.primitiveDarkColors={};for(const u in r)u.endsWith("Dark")?i[u]=r[u]:u==="white"||u==="black"?(a[u]=r[u],i[u]=r[u]):a[u]=r[u];return Kr}var rm={},nm;function XO(){return nm||(nm=1),rm}var am;function ei(){return am||(am=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={primitiveColors:!0,primitiveLightColors:!0,primitiveDarkColors:!0,colors:!0};Object.defineProperty(r,"colors",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"primitiveColors",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"primitiveDarkColors",{enumerable:!0,get:function(){return i.primitiveDarkColors}}),Object.defineProperty(r,"primitiveLightColors",{enumerable:!0,get:function(){return i.primitiveLightColors}});var i=f(dl()),u=XO();Object.keys(u).forEach(function(l){l==="default"||l==="__esModule"||Object.prototype.hasOwnProperty.call(a,l)||l in r&&r[l]===u[l]||Object.defineProperty(r,l,{enumerable:!0,get:function(){return u[l]}})});function c(l){if(typeof WeakMap!="function")return null;var m=new WeakMap,p=new WeakMap;return(c=function(d){return d?p:m})(l)}function f(l,m){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var p=c(m);if(p&&p.has(l))return p.get(l);var d={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var g=b?Object.getOwnPropertyDescriptor(l,h):null;g&&(g.get||g.set)?Object.defineProperty(d,h,g):d[h]=l[h]}return d.default=l,p&&p.set(l,d),d}})(ef)),ef}var im;function ys(){if(im)return Qi;im=1,Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.default=void 0;var r=ei();const a={primaryA:r.primitiveLightColors.black,primaryB:r.primitiveLightColors.white,primary:"#000000",primary50:"#F6F6F6",primary100:"#EEEEEE",primary200:"#E2E2E2",primary300:"#CBCBCB",primary400:"#AFAFAF",primary500:"#6B6B6B",primary600:"#545454",primary700:"#333333",accent:r.primitiveLightColors.blue600,accent50:"#EFF3FE",accent100:"#D4E2FC",accent200:"#A0BFF8",accent300:"#5B91F5",accent400:"#276EF1",accent500:"#1E54B7",accent600:"#174291",accent700:"#102C60",negative:r.primitiveLightColors.red600,negative50:"#FFEFED",negative100:"#FED7D2",negative200:"#F1998E",negative300:"#E85C4A",negative400:"#E11900",negative500:"#AB1300",negative600:"#870F00",negative700:"#5A0A00",warning:r.primitiveLightColors.yellow300,warning50:"#FFFAF0",warning100:"#FFF2D9",warning200:"#FFE3AC",warning300:"#FFCF70",warning400:"#FFC043",warning500:"#BC8B2C",warning600:"#996F00",warning700:"#674D1B",positive:r.primitiveLightColors.green600,positive50:"#E6F2ED",positive100:"#ADDEC9",positive200:"#66D19E",positive300:"#06C167",positive400:"#048848",positive500:"#03703C",positive600:"#03582F",positive700:"#10462D",white:"#FFFFFF",black:"#000000",mono100:"#FFFFFF",mono200:"#F6F6F6",mono300:"#EEEEEE",mono400:"#E2E2E2",mono500:"#CBCBCB",mono600:"#AFAFAF",mono700:"#6B6B6B",mono800:"#545454",mono900:"#333333",mono1000:"#000000"};return Qi.default=a,Qi}var Ji={},Wn={},om;function n0(){if(om)return Wn;om=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.ellipsisText=void 0,Wn.expandBorderStyles=a,Wn.hexToRgb=r;function r(i="",u="1"){const c=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;i=i.replace(c,function(l,m,p,d){return m+m+p+p+d+d});const f=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i);return f?`rgba(${parseInt(f[1],16)}, ${parseInt(f[2],16)}, ${parseInt(f[3],16)}, ${u})`:null}Wn.ellipsisText={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"};function a(i){return{borderTopWidth:i.borderWidth,borderTopStyle:i.borderStyle,borderTopColor:i.borderColor,borderBottomWidth:i.borderWidth,borderBottomStyle:i.borderStyle,borderBottomColor:i.borderColor,borderLeftWidth:i.borderWidth,borderLeftStyle:i.borderStyle,borderLeftColor:i.borderColor,borderRightWidth:i.borderWidth,borderRightStyle:i.borderStyle,borderRightColor:i.borderColor}}return Wn}var lm;function a0(){if(lm)return Ji;lm=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.default=void 0;var r=u(ys()),a=n0(),i=u(dl());function u(f){return f&&f.__esModule?f:{default:f}}var c=(f=r.default)=>{const l={backgroundPrimary:f.primaryB,backgroundSecondary:i.default.gray50,backgroundTertiary:i.default.gray100,backgroundInversePrimary:f.primaryA,backgroundInverseSecondary:i.default.gray900,contentPrimary:f.primaryA,contentSecondary:i.default.gray800,contentTertiary:i.default.gray700,contentInversePrimary:f.primaryB,contentInverseSecondary:i.default.gray200,contentInverseTertiary:i.default.gray400,borderOpaque:i.default.gray50,borderTransparent:(0,a.hexToRgb)(f.primaryA,"0.08")||(0,a.hexToRgb)(r.default.primaryA,"0.08")||"",borderSelected:f.primaryA,borderInverseOpaque:i.default.gray800,borderInverseTransparent:(0,a.hexToRgb)(f.primaryB,"0.2")||(0,a.hexToRgb)(r.default.primaryB,"0.2")||"",borderInverseSelected:f.primaryB,brandBackgroundPrimary:i.default.brandDefault600,brandBackgroundSecondary:i.default.brandDefault50,brandBackgroundTertiary:i.default.white,brandBackgroundDisabled:i.default.brandDefault50,brandContentPrimary:i.default.brandDefault600,brandContentOnPrimary:i.default.white,brandContentOnSecondary:i.default.brandDefault700,brandContentOnTertiary:i.default.black,brandContentOnGradient:i.default.white,brandContentDisabled:i.default.brandDefault300,brandBorderAccessible:i.default.brandDefault600,brandBorderSubtle:i.default.brandDefault100},m={backgroundStateDisabled:i.default.gray50,backgroundOverlay:(0,a.hexToRgb)(i.default.black,"0.5")||"",backgroundOverlayArt:(0,a.hexToRgb)(i.default.black,"0.00")||"",backgroundAccent:f.accent,backgroundNegative:f.negative,backgroundWarning:f.warning,backgroundPositive:f.positive,backgroundAccentLight:i.default.blue50,backgroundNegativeLight:i.default.red50,backgroundWarningLight:i.default.yellow50,backgroundPositiveLight:i.default.green50,backgroundAlwaysDark:i.default.black,backgroundAlwaysLight:i.default.white,contentStateDisabled:i.default.gray400,contentOnColor:i.default.white,contentOnColorInverse:i.default.black,contentAccent:i.default.blue600,contentNegative:i.default.red600,contentWarning:i.default.yellow600,contentPositive:i.default.green600,tagRedContentSecondary:i.default.red700,borderStateDisabled:i.default.gray50,borderAccent:i.default.blue600,borderAccentLight:i.default.blue300,borderNegative:i.default.red600,borderNegativeLight:i.default.red300,borderWarning:i.default.yellow600,borderWarningLight:i.default.yellow200,borderPositive:i.default.green600,borderPositiveLight:i.default.green300,tagRedBorderSecondarySelected:i.default.red700,safety:i.default.blue600,eatsGreen400:i.default.green600,freightBlue400:i.default.cobalt400,rewardsTier1:i.default.blue600,rewardsTier2:i.default.yellow300,rewardsTier3:i.default.platinum400,rewardsTier4:i.default.black,membership:i.default.yellow600},p={jumpRed400:i.default.red400,backgroundOverlayLight:m.backgroundOverlay,backgroundOverlayDark:m.backgroundOverlay,backgroundLightAccent:m.backgroundAccentLight,backgroundLightPositive:m.backgroundPositiveLight,backgroundLightWarning:m.backgroundWarningLight,backgroundLightNegative:m.backgroundNegativeLight},d={tagGrayBackgroundPrimary:i.default.gray600,tagGrayBackgroundSecondary:i.default.gray50,tagGrayContentPrimary:i.default.white,tagGrayContentSecondary:i.default.gray700,tagGrayBackgroundStateDisabled:i.default.gray50,tagGrayContentStateDisabled:i.default.gray300,tagGrayBorderPrimaryUnselected:i.default.gray700,tagGrayBorderSecondaryUnselected:i.default.gray100,tagGrayBorderSecondarySelected:i.default.gray600,tagRedBackgroundPrimary:i.default.red600,tagRedBackgroundSecondary:i.default.red50,tagRedContentPrimary:i.default.white,tagRedContentSecondary:i.default.red700,tagRedBackgroundStateDisabled:i.default.red50,tagRedContentStateDisabled:i.default.red300,tagRedBorderPrimaryUnselected:i.default.red700,tagRedBorderSecondaryUnselected:i.default.red100,tagRedBorderSecondarySelected:i.default.red700,tagOrangeBackgroundPrimary:i.default.orange600,tagOrangeBackgroundSecondary:i.default.orange50,tagOrangeContentPrimary:i.default.white,tagOrangeContentSecondary:i.default.orange700,tagOrangeBackgroundStateDisabled:i.default.orange50,tagOrangeContentStateDisabled:i.default.orange300,tagYellowBackgroundPrimary:i.default.yellow300,tagOrangeBorderPrimaryUnselected:i.default.orange700,tagYellowBackgroundSecondary:i.default.yellow50,tagOrangeBorderSecondaryUnselected:i.default.orange100,tagOrangeBorderSecondarySelected:i.default.orange700,tagYellowContentPrimary:i.default.black,tagYellowContentSecondary:i.default.yellow700,tagYellowBackgroundStateDisabled:i.default.yellow50,tagYellowContentStateDisabled:i.default.yellow200,tagYellowBorderPrimaryUnselected:i.default.yellow400,tagYellowBorderSecondaryUnselected:i.default.yellow100,tagYellowBorderSecondarySelected:i.default.yellow700,tagGreenBackgroundPrimary:i.default.green600,tagGreenBackgroundSecondary:i.default.green50,tagGreenContentPrimary:i.default.white,tagGreenContentSecondary:i.default.green700,tagGreenBackgroundStateDisabled:i.default.green50,tagGreenContentStateDisabled:i.default.green300,tagGreenBorderPrimaryUnselected:i.default.green700,tagBlueBackgroundPrimary:i.default.blue600,tagBlueBackgroundSecondary:i.default.blue50,tagGreenBorderSecondaryUnselected:i.default.green100,tagBlueContentPrimary:i.default.white,tagGreenBorderSecondarySelected:i.default.green700,tagBlueContentSecondary:i.default.blue700,tagBlueBackgroundStateDisabled:i.default.blue50,tagBlueContentStateDisabled:i.default.blue300,tagBlueBorderPrimaryUnselected:i.default.blue700,tagPurpleBackgroundPrimary:i.default.purple600,tagPurpleBackgroundSecondary:i.default.purple50,tagBlueBorderSecondaryUnselected:i.default.blue100,tagBlueBorderSecondarySelected:i.default.blue700,tagPurpleContentPrimary:i.default.white,tagPurpleContentSecondary:i.default.purple700,tagPurpleBackgroundStateDisabled:i.default.purple50,tagPurpleContentStateDisabled:i.default.purple300,tagPurpleBorderPrimaryUnselected:i.default.purple700,tagMagentaBackgroundPrimary:i.default.magenta600,tagPurpleBorderSecondaryUnselected:i.default.purple100,tagMagentaBackgroundSecondary:i.default.magenta50,tagPurpleBorderSecondarySelected:i.default.purple700,tagMagentaContentPrimary:i.default.white,tagMagentaContentSecondary:i.default.magenta700,tagMagentaBackgroundStateDisabled:i.default.magenta50,tagMagentaContentStateDisabled:i.default.magenta300,tagMagentaBorderPrimaryUnselected:i.default.magenta700,tagMagentaBorderSecondaryUnselected:i.default.magenta100,tagMagentaBorderSecondarySelected:i.default.magenta700,tagTealBackgroundPrimary:i.default.teal600,tagTealBackgroundSecondary:i.default.teal50,tagTealContentPrimary:i.default.white,tagTealContentSecondary:i.default.teal700,tagTealBackgroundStateDisabled:i.default.teal50,tagTealContentStateDisabled:i.default.teal300,tagTealBorderPrimaryUnselected:i.default.teal700,tagTealBorderSecondaryUnselected:i.default.teal100,tagTealBorderSecondarySelected:i.default.teal700,tagLimeBackgroundPrimary:i.default.lime600,tagLimeBackgroundSecondary:i.default.lime50,tagLimeContentPrimary:i.default.white,tagLimeContentSecondary:i.default.lime700,tagLimeBackgroundStateDisabled:i.default.lime50,tagLimeContentStateDisabled:i.default.lime300,tagLimeBorderPrimaryUnselected:i.default.lime700,tagLimeBorderSecondaryUnselected:i.default.lime100,tagLimeBorderSecondarySelected:i.default.lime700};return{...l,...m,...d,...{hoverOverlayInverseAlpha:"rgba(255, 255, 255, 0.1)",hoverOverlayAlpha:"rgba(0, 0, 0, 0.04)",hoverNegativeAlpha:"rgba(222, 17, 53, 0.1)",pressedOverlayAlpha:"rgba(0, 0, 0, 0.08)",pressedOverlayInverseAlpha:"rgba(255, 255, 255, 0.2)",pressedNegativeAlpha:"rgba(222, 17, 53, 0.15)"},...p}};return Ji.default=c,Ji}var eo={},um;function V1(){if(um)return eo;um=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var r=i(a0()),a=ei();function i(l){return l&&l.__esModule?l:{default:l}}const u=(0,r.default)(),c="rgba(0, 0, 0, 0.08)";var f=(l=u)=>({bannerActionLowInfo:a.primitiveLightColors.blue100,bannerActionLowNegative:a.primitiveLightColors.red100,bannerActionLowPositive:a.primitiveLightColors.green100,bannerActionLowWarning:a.primitiveLightColors.yellow100,bannerActionHighInfo:a.primitiveLightColors.blue700,bannerActionHighNegative:a.primitiveLightColors.red700,bannerActionHighPositive:a.primitiveLightColors.green700,bannerActionHighWarning:a.primitiveLightColors.yellow200,bottomNavigationText:a.primitiveLightColors.gray600,bottomNavigationSelectedText:l.contentPrimary,buttonPrimaryFill:l.backgroundInversePrimary,buttonPrimaryText:l.contentInversePrimary,buttonPrimaryHover:a.primitiveLightColors.gray900,buttonPrimaryActive:a.primitiveLightColors.gray800,buttonPrimaryHoverOverlay:l.hoverOverlayInverseAlpha,buttonPrimaryActiveOverlay:l.pressedOverlayInverseAlpha,buttonPrimarySelectedFill:l.backgroundInversePrimary,buttonPrimarySelectedText:l.contentInversePrimary,buttonPrimaryLoadingFill:l.backgroundInversePrimary,buttonPrimarySpinnerForeground:l.backgroundAccent,buttonPrimarySpinnerBackground:l.backgroundPrimary,buttonSecondaryFill:l.backgroundSecondary,buttonSecondaryText:l.contentPrimary,buttonSecondaryHover:a.primitiveLightColors.gray200,buttonSecondaryActive:a.primitiveLightColors.gray300,buttonSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonSecondarySelectedFill:l.backgroundInversePrimary,buttonSecondarySelectedText:l.contentInversePrimary,buttonSecondaryLoadingFill:l.backgroundSecondary,buttonSecondarySpinnerForeground:l.backgroundAccent,buttonSecondarySpinnerBackground:l.backgroundPrimary,buttonTertiaryFill:"transparent",buttonTertiaryText:l.contentPrimary,buttonTertiaryHover:a.primitiveLightColors.gray50,buttonTertiaryActive:a.primitiveLightColors.gray100,buttonTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonTertiarySelectedFill:"transparent",buttonTertiarySelectedText:l.contentPrimary,buttonTertiaryLoadingFill:"transparent",buttonTertiaryFocusFill:l.backgroundTertiary,buttonTertiaryDisabledActiveFill:l.backgroundStateDisabled,buttonTertiaryDisabledActiveText:l.contentStateDisabled,buttonTertiarySpinnerForeground:l.backgroundAccent,buttonTertiarySpinnerBackground:l.backgroundTertiary,buttonDangerPrimaryFill:l.backgroundNegative,buttonDangerPrimaryText:l.contentOnColor,buttonDangerPrimaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerPrimaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerPrimarySelectedFill:l.backgroundNegative,buttonDangerPrimarySelectedText:l.contentOnColor,buttonDangerPrimaryLoadingFill:l.backgroundNegative,buttonDangerPrimarySpinnerForeground:l.backgroundAccent,buttonDangerPrimarySpinnerBackground:l.backgroundPrimary,buttonDangerSecondaryFill:l.backgroundSecondary,buttonDangerSecondaryText:l.tagRedContentSecondary,buttonDangerSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerSecondarySelectedFill:l.backgroundNegative,buttonDangerSecondarySelectedText:l.contentOnColor,buttonDangerSecondaryLoadingFill:l.backgroundSecondary,buttonDangerSecondarySpinnerForeground:l.backgroundAccent,buttonDangerSecondarySpinnerBackground:l.backgroundPrimary,buttonDangerTertiaryFill:"transparent",buttonDangerTertiaryText:l.tagRedContentSecondary,buttonDangerTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerTertiarySelectedFill:l.backgroundPrimary,buttonDangerTertiarySelectedText:l.tagRedContentSecondary,buttonDangerTertiaryLoadingFill:"transparent",buttonDangerTertiarySpinnerForeground:l.backgroundAccent,buttonDangerTertiarySpinnerBackground:l.backgroundPrimary,buttonOutlineFill:"transparent",buttonOutlineText:l.contentPrimary,buttonOutlineHoverOverlay:l.hoverOverlayAlpha,buttonOutlineActiveOverlay:l.pressedOverlayAlpha,buttonOutlineSelectedFill:"transparent",buttonOutlineSelectedText:l.contentPrimary,buttonOutlineFocusFill:l.backgroundTertiary,buttonOutlineLoadingFill:"transparent",buttonOutlineSpinnerForeground:l.backgroundAccent,buttonOutlineSpinnerBackground:l.backgroundPrimary,buttonDisabledFill:l.backgroundStateDisabled,buttonDisabledText:l.contentStateDisabled,buttonDisabledActiveFill:l.backgroundStateDisabled,buttonDisabledActiveText:l.contentStateDisabled,buttonDisabledSpinnerForeground:l.contentStateDisabled,buttonDisabledSpinnerBackground:l.backgroundPrimary,buttonOuterBorder:l.borderSelected,buttonOutlineOuterBorder:l.borderOpaque,buttonDangerTertiaryOuterBorder:l.tagRedBorderSecondarySelected,buttonInnerBorder:l.contentInversePrimary,buttonTransparentBorder:"transparent",buttonFocusOuterBorder:l.borderAccent,breadcrumbsText:l.contentPrimary,breadcrumbsSeparatorFill:l.contentTertiary,calendarBackground:l.backgroundPrimary,calendarForeground:l.contentPrimary,calendarForegroundDisabled:l.contentStateDisabled,calendarHeaderBackground:l.backgroundPrimary,calendarHeaderForeground:l.contentPrimary,calendarHeaderBackgroundActive:l.backgroundInversePrimary,calendarHeaderForegroundDisabled:l.contentStateDisabled,calendarDayForegroundPseudoSelected:l.backgroundInversePrimary,calendarDayBackgroundPseudoSelectedHighlighted:l.backgroundTertiary,calendarDayForegroundPseudoSelectedHighlighted:l.contentPrimary,calendarDayBackgroundSelected:l.backgroundInversePrimary,calendarDayForegroundSelected:l.contentInversePrimary,calendarDayBackgroundSelectedHighlighted:l.backgroundInversePrimary,calendarDayForegroundSelectedHighlighted:l.contentInversePrimary,comboboxListItemFocus:l.backgroundSecondary,comboboxListItemHover:l.backgroundTertiary,fileUploaderBackgroundColor:l.backgroundSecondary,fileUploaderBackgroundColorActive:l.backgroundPrimary,fileUploaderBorderColorActive:l.borderSelected,fileUploaderBorderColorDefault:l.borderOpaque,fileUploaderMessageColor:l.contentPrimary,linkText:l.contentPrimary,linkVisited:a.primitiveLightColors.gray600,linkHover:a.primitiveLightColors.gray800,linkActive:a.primitiveLightColors.gray700,listHeaderFill:l.backgroundPrimary,listBodyFill:l.backgroundPrimary,progressStepsCompletedText:l.contentInversePrimary,progressStepsCompletedFill:l.backgroundInversePrimary,progressStepsActiveText:l.contentInversePrimary,progressStepsActiveFill:l.backgroundInversePrimary,toggleFill:l.backgroundPrimary,toggleFillChecked:l.contentPrimary,toggleFillDisabled:l.contentStateDisabled,toggleTrackFill:l.backgroundTertiary,toggleTrackFillDisabled:l.backgroundStateDisabled,tickFill:l.backgroundPrimary,tickFillHover:a.primitiveLightColors.gray50,tickFillActive:a.primitiveLightColors.gray100,tickFillSelected:l.contentPrimary,tickFillSelectedHover:a.primitiveLightColors.gray900,tickFillSelectedHoverActive:a.primitiveLightColors.gray800,tickFillError:l.backgroundPrimary,tickFillErrorHover:a.primitiveLightColors.gray50,tickFillErrorHoverActive:a.primitiveLightColors.gray100,tickFillErrorSelected:l.contentNegative,tickFillErrorSelectedHover:a.primitiveLightColors.red700,tickFillErrorSelectedHoverActive:a.primitiveLightColors.red800,tickFillDisabled:l.backgroundStateDisabled,tickBorder:l.contentTertiary,tickBorderError:l.borderNegative,tickMarkFill:l.contentInversePrimary,tickMarkFillError:l.contentOnColor,tickMarkFillDisabled:l.contentInversePrimary,sliderTrackFill:"transparent",sliderHandleFill:l.contentPrimary,sliderHandleFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFill:l.contentPrimary,sliderTrackFillHover:a.primitiveLightColors.gray200,sliderTrackFillActive:a.primitiveLightColors.gray300,sliderTrackFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillSelectedHover:a.primitiveLightColors.gray900,sliderHandleInnerFillSelectedActive:a.primitiveLightColors.gray800,inputBorder:l.borderOpaque,inputFill:l.backgroundSecondary,inputFillError:l.backgroundPrimary,inputFillDisabled:l.backgroundStateDisabled,inputFillActive:l.backgroundPrimary,inputFillPositive:l.backgroundPrimary,inputTextDisabled:l.contentStateDisabled,inputBorderError:l.borderNegative,inputBorderPositive:l.borderPositive,inputEnhancerFill:l.contentPrimary,inputEnhancerFillDisabled:l.contentStateDisabled,inputEnhancerTextDisabled:l.contentStateDisabled,inputPlaceholder:l.contentTertiary,inputPlaceholderDisabled:l.contentStateDisabled,menuFill:l.backgroundPrimary,menuFillHover:l.backgroundSecondary,menuFontDefault:l.contentPrimary,menuFontDisabled:l.contentStateDisabled,menuFontHighlighted:l.contentPrimary,menuFontSelected:l.contentPrimary,modalCloseColor:l.contentPrimary,modalCloseColorHover:a.primitiveLightColors.gray900,modalCloseColorFocus:a.primitiveLightColors.gray800,tabBarFill:l.backgroundPrimary,tabColor:l.contentTertiary,notificationInfoBackground:l.backgroundAccentLight,notificationInfoText:l.contentPrimary,notificationPositiveBackground:l.backgroundPositiveLight,notificationPositiveText:l.contentPrimary,notificationWarningBackground:l.backgroundWarningLight,notificationWarningText:l.contentPrimary,notificationNegativeBackground:l.backgroundNegativeLight,notificationNegativeText:l.contentPrimary,tagFontDisabledRampUnit:"200",tagSolidFontRampUnit:"0",tagSolidRampUnit:"400",tagOutlinedFontRampUnit:"600",tagOutlinedRampUnit:"600",tagSolidHoverRampUnit:"50",tagSolidActiveRampUnit:"100",tagSolidDisabledRampUnit:"50",tagSolidFontHoverRampUnit:"700",tagLightRampUnit:"50",tagLightHoverRampUnit:"100",tagLightActiveRampUnit:"200",tagLightFontRampUnit:"600",tagLightFontHoverRampUnit:"200",tagOutlinedHoverRampUnit:"700",tagOutlinedActiveRampUnit:"800",tagOutlinedFontHoverRampUnit:"700",tagNeutralFontDisabled:a.primitiveLightColors.gray200,tagNeutralOutlinedDisabled:a.primitiveLightColors.gray200,tagNeutralSolidFont:a.primitiveLightColors.white,tagNeutralSolidBackground:a.primitiveLightColors.gray600,tagNeutralOutlinedBackground:a.primitiveLightColors.gray50,tagNeutralOutlinedFont:a.primitiveLightColors.gray700,tagNeutralSolidHover:a.primitiveLightColors.gray900,tagNeutralSolidActive:a.primitiveLightColors.gray800,tagNeutralSolidDisabled:a.primitiveLightColors.gray200,tagNeutralSolidFontHover:a.primitiveLightColors.gray700,tagNeutralLightBackground:a.primitiveLightColors.white,tagNeutralLightHover:a.primitiveLightColors.gray50,tagNeutralLightActive:a.primitiveLightColors.gray100,tagNeutralLightDisabled:a.primitiveLightColors.gray200,tagNeutralLightFont:a.primitiveLightColors.gray600,tagNeutralLightFontHover:a.primitiveLightColors.gray700,tagNeutralOutlinedActive:a.primitiveLightColors.gray800,tagNeutralOutlinedFontHover:a.primitiveLightColors.gray700,tagNeutralOutlinedHover:c,tagPrimaryFontDisabled:a.primitiveLightColors.gray300,tagPrimaryOutlinedDisabled:a.primitiveLightColors.gray200,tagPrimarySolidFont:a.primitiveLightColors.white,tagPrimarySolidBackground:a.primitiveLightColors.gray600,tagPrimaryOutlinedFontHover:a.primitiveLightColors.gray900,tagPrimaryOutlinedFont:a.primitiveLightColors.gray700,tagPrimarySolidHover:a.primitiveLightColors.gray900,tagPrimarySolidActive:a.primitiveLightColors.gray900,tagPrimarySolidDisabled:a.primitiveLightColors.gray200,tagPrimarySolidFontHover:a.primitiveLightColors.gray900,tagPrimaryLightBackground:a.primitiveLightColors.white,tagPrimaryLightHover:a.primitiveLightColors.gray50,tagPrimaryLightActive:a.primitiveLightColors.gray100,tagPrimaryLightDisabled:a.primitiveLightColors.gray200,tagPrimaryLightFont:a.primitiveLightColors.black,tagPrimaryLightFontHover:a.primitiveLightColors.gray900,tagPrimaryOutlinedActive:a.primitiveLightColors.gray900,tagPrimaryOutlinedHover:c,tagPrimaryOutlinedBackground:a.primitiveLightColors.gray50,tagAccentFontDisabled:a.primitiveLightColors.blue300,tagAccentOutlinedDisabled:a.primitiveLightColors.blue200,tagAccentSolidFont:a.primitiveLightColors.white,tagAccentSolidBackground:a.primitiveLightColors.blue600,tagAccentOutlinedBackground:a.primitiveLightColors.blue50,tagAccentOutlinedFont:a.primitiveLightColors.blue700,tagAccentSolidHover:a.primitiveLightColors.blue50,tagAccentSolidActive:a.primitiveLightColors.blue100,tagAccentSolidDisabled:a.primitiveLightColors.blue50,tagAccentSolidFontHover:a.primitiveLightColors.blue500,tagAccentLightBackground:a.primitiveLightColors.blue50,tagAccentLightHover:a.primitiveLightColors.blue100,tagAccentLightActive:a.primitiveLightColors.blue200,tagAccentLightDisabled:a.primitiveLightColors.blue50,tagAccentLightFont:a.primitiveLightColors.blue600,tagAccentLightFontHover:a.primitiveLightColors.blue700,tagAccentOutlinedActive:a.primitiveLightColors.blue800,tagAccentOutlinedFontHover:a.primitiveLightColors.blue700,tagAccentOutlinedHover:c,tagPositiveFontDisabled:a.primitiveLightColors.green300,tagPositiveOutlinedDisabled:a.primitiveLightColors.green200,tagPositiveSolidFont:a.primitiveLightColors.white,tagPositiveSolidBackground:a.primitiveLightColors.green600,tagPositiveOutlinedBackground:a.primitiveLightColors.green50,tagPositiveOutlinedFont:a.primitiveLightColors.green700,tagPositiveSolidHover:a.primitiveLightColors.green50,tagPositiveSolidActive:a.primitiveLightColors.green100,tagPositiveSolidDisabled:a.primitiveLightColors.green50,tagPositiveSolidFontHover:a.primitiveLightColors.green500,tagPositiveLightBackground:a.primitiveLightColors.green50,tagPositiveLightHover:a.primitiveLightColors.green100,tagPositiveLightActive:a.primitiveLightColors.green200,tagPositiveLightDisabled:a.primitiveLightColors.green50,tagPositiveLightFont:a.primitiveLightColors.green600,tagPositiveLightFontHover:a.primitiveLightColors.green700,tagPositiveOutlinedActive:a.primitiveLightColors.green800,tagPositiveOutlinedFontHover:a.primitiveLightColors.green700,tagPositiveOutlinedHover:c,tagWarningFontDisabled:a.primitiveLightColors.yellow200,tagWarningOutlinedDisabled:a.primitiveLightColors.yellow200,tagWarningSolidFont:a.primitiveLightColors.yellow900,tagWarningSolidBackground:a.primitiveLightColors.yellow300,tagWarningOutlinedBackground:a.primitiveLightColors.yellow50,tagWarningOutlinedFont:a.primitiveLightColors.yellow700,tagWarningSolidHover:a.primitiveLightColors.yellow50,tagWarningSolidActive:a.primitiveLightColors.yellow100,tagWarningSolidDisabled:a.primitiveLightColors.yellow50,tagWarningSolidFontHover:a.primitiveLightColors.yellow500,tagWarningLightBackground:a.primitiveLightColors.yellow50,tagWarningLightHover:a.primitiveLightColors.yellow100,tagWarningLightActive:a.primitiveLightColors.yellow200,tagWarningLightDisabled:a.primitiveLightColors.yellow50,tagWarningLightFont:a.primitiveLightColors.yellow600,tagWarningLightFontHover:a.primitiveLightColors.yellow700,tagWarningOutlinedActive:a.primitiveLightColors.yellow800,tagWarningOutlinedFontHover:a.primitiveLightColors.yellow700,tagWarningOutlinedHover:c,tagNegativeFontDisabled:a.primitiveLightColors.red300,tagNegativeOutlinedDisabled:a.primitiveLightColors.red200,tagNegativeSolidFont:a.primitiveLightColors.white,tagNegativeSolidBackground:a.primitiveLightColors.red600,tagNegativeOutlinedBackground:a.primitiveLightColors.red50,tagNegativeOutlinedFont:a.primitiveLightColors.red700,tagNegativeSolidHover:a.primitiveLightColors.red50,tagNegativeSolidActive:a.primitiveLightColors.red100,tagNegativeSolidDisabled:a.primitiveLightColors.red50,tagNegativeSolidFontHover:a.primitiveLightColors.red500,tagNegativeLightBackground:a.primitiveLightColors.red50,tagNegativeLightHover:a.primitiveLightColors.red100,tagNegativeLightActive:a.primitiveLightColors.red200,tagNegativeLightDisabled:a.primitiveLightColors.red50,tagNegativeLightFont:a.primitiveLightColors.red600,tagNegativeLightFontHover:a.primitiveLightColors.red700,tagNegativeOutlinedActive:a.primitiveLightColors.red800,tagNegativeOutlinedFontHover:a.primitiveLightColors.red700,tagNegativeOutlinedHover:c,tableHeadBackgroundColor:l.backgroundPrimary,tableBackground:l.backgroundPrimary,tableStripedBackground:l.backgroundSecondary,tableFilter:l.contentTertiary,tableFilterHeading:l.contentPrimary,tableFilterBackground:l.backgroundPrimary,tableFilterFooterBackground:l.backgroundSecondary,toastText:l.contentOnColor,toastPrimaryText:l.contentOnColor,toastInfoBackground:l.backgroundAccent,toastInfoText:l.contentOnColor,toastPositiveBackground:l.backgroundPositive,toastPositiveText:l.contentOnColor,toastWarningBackground:l.backgroundWarning,toastWarningText:l.contentOnColorInverse,toastNegativeBackground:l.backgroundNegative,toastNegativeText:l.contentOnColor,spinnerTrackFill:l.backgroundTertiary,progressbarTrackFill:l.backgroundTertiary,tooltipBackground:l.backgroundInverseSecondary,tooltipText:l.contentInversePrimary,ratingInactiveFill:l.backgroundPrimary,ratingStroke:l.contentPrimary});return eo.default=f,eo}var to={},sm;function K1(){if(sm)return to;sm=1,Object.defineProperty(to,"__esModule",{value:!0}),to.default=void 0;const r={border100:{borderColor:"hsla(0, 0%, 0%, 0.04)",borderStyle:"solid",borderWidth:"1px"},border200:{borderColor:"hsla(0, 0%, 0%, 0.08)",borderStyle:"solid",borderWidth:"1px"},border300:{borderColor:"hsla(0, 0%, 0%, 0.12)",borderStyle:"solid",borderWidth:"1px"},border400:{borderColor:"hsla(0, 0%, 0%, 0.16)",borderStyle:"solid",borderWidth:"1px"},border500:{borderColor:"hsla(0, 0%, 0%, 0.2)",borderStyle:"solid",borderWidth:"1px"},border600:{borderColor:"hsla(0, 0%, 0%, 0.24)",borderStyle:"solid",borderWidth:"1px"},radius100:"2px",radius200:"4px",radius300:"8px",radius400:"12px",radius500:"16px",useRoundedCorners:!0,buttonBorderRadiusMini:"4px",buttonBorderRadius:"8px",checkboxBorderRadius:"0px",inputBorderRadiusMini:"4px",inputBorderRadius:"8px",popoverBorderRadius:"8px",surfaceBorderRadius:"0px",tagBorderRadius:"24px"};return to.default=r,to}var ro={},cm;function Z1(){if(cm)return ro;cm=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.default=void 0;const r={shadow400:"0 1px 4px hsla(0, 0%, 0%, 0.16)",shadow500:"0 2px 8px hsla(0, 0%, 0%, 0.16)",shadow600:"0 4px 16px hsla(0, 0%, 0%, 0.16)",shadow700:"0 8px 24px hsla(0, 0%, 0%, 0.16)",overlay0:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0)",overlay100:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.04)",overlay200:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.08)",overlay300:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)",overlay400:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)",overlay500:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)",overlay600:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)",shallowAbove:"0px -4px 16px rgba(0, 0, 0, 0.12)",shallowBelow:"0px 4px 16px rgba(0, 0, 0, 0.12)",deepAbove:"0px -16px 48px rgba(0, 0, 0, 0.22)",deepBelow:"0px 16px 48px rgba(0, 0, 0, 0.22)"};return ro.default=r,ro}var Gn={},dm;function Ss(){if(dm)return Gn;dm=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.fontTokens=Gn.default=void 0;const r=Gn.fontTokens={primaryFontFamily:'UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif',secondaryFontFamily:'UberMove, UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif',monoFontFamily:'UberMoveMono, "Lucida Console", Monaco, monospace'},a={fontFamily:r.primaryFontFamily,fontSize:"12px",fontWeight:"normal",lineHeight:"20px"},i={fontFamily:r.primaryFontFamily,fontSize:"12px",fontWeight:500,lineHeight:"16px"},u={fontFamily:r.primaryFontFamily,fontSize:"14px",fontWeight:"normal",lineHeight:"20px"},c={fontFamily:r.primaryFontFamily,fontSize:"14px",fontWeight:500,lineHeight:"16px"},f={fontFamily:r.primaryFontFamily,fontSize:"16px",fontWeight:"normal",lineHeight:"24px"},l={fontFamily:r.primaryFontFamily,fontSize:"16px",fontWeight:500,lineHeight:"20px"},m={fontFamily:r.primaryFontFamily,fontSize:"18px",fontWeight:"normal",lineHeight:"28px"},p={fontFamily:r.primaryFontFamily,fontSize:"18px",fontWeight:500,lineHeight:"24px"},d={fontFamily:r.secondaryFontFamily,fontSize:"20px",fontWeight:700,lineHeight:"28px"},b={fontFamily:r.secondaryFontFamily,fontSize:"24px",fontWeight:700,lineHeight:"32px"},h={fontFamily:r.secondaryFontFamily,fontSize:"28px",fontWeight:700,lineHeight:"36px"},g={fontFamily:r.secondaryFontFamily,fontSize:"32px",fontWeight:700,lineHeight:"40px"},S={fontFamily:r.secondaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},y={fontFamily:r.secondaryFontFamily,fontSize:"40px",fontWeight:700,lineHeight:"52px"},D={fontFamily:r.secondaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},O={fontFamily:r.secondaryFontFamily,fontSize:"44px",fontWeight:700,lineHeight:"52px"},A={fontFamily:r.secondaryFontFamily,fontSize:"52px",fontWeight:700,lineHeight:"64px"},C={fontFamily:r.secondaryFontFamily,fontSize:"96px",fontWeight:700,lineHeight:"112px"},k={font100:a,font150:i,font200:u,font250:c,font300:f,font350:l,font400:m,font450:p,font550:d,font650:b,font750:h,font850:g,font950:S,font1050:y,font1150:D,font1250:O,font1350:A,font1450:C,ParagraphXSmall:a,ParagraphSmall:u,ParagraphMedium:f,ParagraphLarge:m,LabelXSmall:i,LabelSmall:c,LabelMedium:l,LabelLarge:p,HeadingXSmall:d,HeadingSmall:b,HeadingMedium:h,HeadingLarge:g,HeadingXLarge:S,HeadingXXLarge:y,DisplayXSmall:D,DisplaySmall:O,DisplayMedium:A,DisplayLarge:C,MonoParagraphXSmall:{...a,fontFamily:r.monoFontFamily},MonoParagraphSmall:{...u,fontFamily:r.monoFontFamily},MonoParagraphMedium:{...f,fontFamily:r.monoFontFamily},MonoParagraphLarge:{...m,fontFamily:r.monoFontFamily},MonoLabelXSmall:{...i,fontFamily:r.monoFontFamily},MonoLabelSmall:{...c,fontFamily:r.monoFontFamily},MonoLabelMedium:{...l,fontFamily:r.monoFontFamily},MonoLabelLarge:{...p,fontFamily:r.monoFontFamily},MonoHeadingXSmall:{...d,fontFamily:r.monoFontFamily},MonoHeadingSmall:{...b,fontFamily:r.monoFontFamily},MonoHeadingMedium:{...h,fontFamily:r.monoFontFamily},MonoHeadingLarge:{...g,fontFamily:r.monoFontFamily},MonoHeadingXLarge:{...S,fontFamily:r.monoFontFamily},MonoHeadingXXLarge:{...y,fontFamily:r.monoFontFamily},MonoDisplayXSmall:{...D,fontFamily:r.monoFontFamily},MonoDisplaySmall:{...O,fontFamily:r.monoFontFamily},MonoDisplayMedium:{...A,fontFamily:r.monoFontFamily},MonoDisplayLarge:{...C,fontFamily:r.monoFontFamily}};return Gn.default=k,Gn}var no={},fm;function X1(){if(fm)return no;fm=1,Object.defineProperty(no,"__esModule",{value:!0}),no.default=void 0;const r={timing0:"0",timing100:"100ms",timing150:"150ms",timing200:"200ms",timing250:"250ms",timing300:"300ms",timing400:"400ms",timing500:"500ms",timing600:"600ms",timing700:"700ms",timing800:"800ms",timing900:"900ms",timing1000:"1000ms",timing1500:"1500ms",timing3000:"3000ms",timing5000:"5000ms",timing7000:"7000ms",easeLinear:"cubic-bezier(0, 0, 1, 1)",linearCurve:"cubic-bezier(0, 0, 1, 1)",easeDecelerate:"cubic-bezier(0.22, 1, 0.36, 1)",easeOutQuinticCurve:"cubic-bezier(0.22, 1, 0.36, 1)",easeOutCurve:"cubic-bezier(.2, .8, .4, 1)",easeAccelerate:"cubic-bezier(0.64, 0, 0.78, 0)",easeInQuinticCurve:"cubic-bezier(0.64, 0, 0.78, 0)",easeInCurve:"cubic-bezier(.8, .2, .6, 1)",easeAccelerateDecelerate:"cubic-bezier(0.83, 0, 0.17, 1)",easeInOutQuinticCurve:"cubic-bezier(0.86, 0, 0.07, 1)",easeInOutCurve:"cubic-bezier(0.4, 0, 0.2, 1)",easeResponsiveAccelerate:"cubic-bezier(0.11, 0, 0.5, 0)"};return no.default=r,no}var ao={},pm;function i0(){if(pm)return ao;pm=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.default=void 0;const r={small:320,medium:600,large:1136};return ao.default=r,ao}var io={},gm;function $1(){if(gm)return io;gm=1,Object.defineProperty(io,"__esModule",{value:!0}),io.default=void 0;const r={columns:[4,8,12],gutters:[16,36,36],margins:[16,36,64],gaps:0,unit:"px",maxWidth:1280};return io.default=r,io}var oo={},mr={},vm;function $O(){if(vm)return mr;vm=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.getMinimumPageMargins=mr.getMediaQueryPageMargins=mr.getMediaQuery=mr.getMediaQueries=void 0;const r=c=>`@media screen and (min-width: ${c}px)`;mr.getMediaQuery=r;const a=c=>Object.keys(c).map(f=>c[f]).sort((f,l)=>f-l).map(r);mr.getMediaQueries=a;const i=c=>{const f=Array.isArray(c)?c[0]:c;return{paddingInlineStart:`${f}px`,paddingInlineEnd:`${f}px`}};mr.getMinimumPageMargins=i;const u=c=>{const f={},l=a(c.breakpoints);for(const[m,p]of l.entries()){const d=Array.isArray(c.grid.margins)?c.grid.margins[m]??c.grid.margins.at(-1):c.grid.margins;f[p]={paddingInlineStart:`${d}px`,paddingInlineEnd:`${d}px`}}return f};return mr.getMediaQueryPageMargins=u,mr}var hm;function Q1(){if(hm)return oo;hm=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.default=void 0;var r=$O(),a=i(i0());function i(c){return c&&c.__esModule?c:{default:c}}const u={small:(0,r.getMediaQuery)(a.default.small),medium:(0,r.getMediaQuery)(a.default.medium),large:(0,r.getMediaQuery)(a.default.large)};return oo.default=u,oo}var lo={},mm;function J1(){if(mm)return lo;mm=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;const r={scale0:"2px",scale100:"4px",scale200:"6px",scale300:"8px",scale400:"10px",scale500:"12px",scale550:"14px",scale600:"16px",scale650:"18px",scale700:"20px",scale750:"22px",scale800:"24px",scale850:"28px",scale900:"32px",scale950:"36px",scale1000:"40px",scale1200:"48px",scale1400:"56px",scale1600:"64px",scale2400:"96px",scale3200:"128px",scale4800:"192px"};return lo.default=r,lo}var bm;function o0(){if(bm)return $i;bm=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.LightTheme=void 0;var r=g(ys()),a=g(dl()),i=g(a0()),u=g(V1()),c=g(K1()),f=g(Z1()),l=g(Ss()),m=g(X1()),p=g(i0()),d=g($1()),b=g(Q1()),h=g(J1());function g(S){return S&&S.__esModule?S:{default:S}}return $i.LightTheme={name:"light-theme",colors:{...r.default,...a.default,...(0,u.default)(),...(0,i.default)()},animation:m.default,breakpoints:p.default,borders:c.default,direction:"auto",grid:d.default,lighting:f.default,mediaQuery:b.default,sizing:h.default,typography:l.default,zIndex:{modal:2e3}},$i}var uo={},zu={},ym;function ti(){if(ym)return zu;ym=1,Object.defineProperty(zu,"__esModule",{value:!0}),zu.default=r;function r(i,...u){i=i||{};const c=u.length;let f,l;for(let m=0;m<c;m++){f=u[m]||{};for(let p in f)typeof f[p]!==void 0&&(l=f[p],a(l)?i[p]=r(i[p]||Array.isArray(l)&&[]||{},l):i[p]=l)}return i}function a(i){return Array.isArray(i)||{}.toString.call(i)=="[object Object]"}return zu}var Sm;function QO(){if(Sm)return uo;Sm=1,Object.defineProperty(uo,"__esModule",{value:!0}),uo.LightThemeMove=void 0;var r=i(ti()),a=o0();function i(u){return u&&u.__esModule?u:{default:u}}return uo.LightThemeMove=(0,r.default)({},a.LightTheme,{name:"light-theme-with-move"}),uo}var so={},Yn={},Dm;function Ds(){if(Dm)return Yn;Dm=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.foundationColors=Yn.default=void 0;var r=ei();const a=Yn.foundationColors={primaryA:r.primitiveDarkColors.gray900Dark,primaryB:r.primitiveDarkColors.gray50Dark,primary:"#FFFFFF",primary50:"#F6F6F6",primary100:"#EEEEEE",primary200:"#E2E2E2",primary300:"#CBCBCB",primary400:"#AFAFAF",primary500:"#6B6B6B",primary600:"#545454",primary700:"#333333",accent:r.primitiveDarkColors.blue400Dark,accent50:"#EFF3FE",accent100:"#D4E2FC",accent200:"#A0BFF8",accent300:"#5B91F5",accent400:"#276EF1",accent500:"#1E54B7",accent600:"#174291",accent700:"#102C60",negative:r.primitiveDarkColors.red400Dark,negative50:"#FFEFED",negative100:"#FED7D2",negative200:"#F1998E",negative300:"#E85C4A",negative400:"#E11900",negative500:"#AB1300",negative600:"#870F00",negative700:"#5A0A00",warning:r.primitiveDarkColors.yellow400Dark,warning50:"#FFFAF0",warning100:"#FFF2D9",warning200:"#FFE3AC",warning300:"#FFCF70",warning400:"#FFC043",warning500:"#BC8B2C",warning600:"#996F00",warning700:"#674D1B",positive:r.primitiveDarkColors.green400Dark,positive50:"#E6F2ED",positive100:"#ADDEC9",positive200:"#66D19E",positive300:"#06C167",positive400:"#048848",positive500:"#03703C",positive600:"#03582F",positive700:"#10462D",white:"#FFFFFF",black:"#000000",mono100:"#CBCBCB",mono200:"#AFAFAF",mono300:"#6B6B6B",mono400:"#545454",mono500:"#333333",mono600:"#292929",mono700:"#1F1F1F",mono800:"#141414",mono900:"#111111",mono1000:"#000000"};return Yn.default=a,Yn}var co={},Om;function l0(){if(Om)return co;Om=1,Object.defineProperty(co,"__esModule",{value:!0}),co.default=void 0;var r=u(Ds()),a=n0(),i=dl();function u(f){return f&&f.__esModule?f:{default:f}}var c=(f=r.default)=>{const l={backgroundPrimary:f.primaryB,backgroundSecondary:i.primitiveDarkColors.gray100Dark,backgroundTertiary:i.primitiveDarkColors.gray200Dark,backgroundInversePrimary:i.primitiveDarkColors.gray800Dark,backgroundInverseSecondary:i.primitiveDarkColors.gray700Dark,contentPrimary:f.primaryA,contentSecondary:i.primitiveDarkColors.gray800Dark,contentTertiary:i.primitiveDarkColors.gray700Dark,contentInversePrimary:i.primitiveDarkColors.black,contentInverseSecondary:i.primitiveDarkColors.gray200Dark,contentInverseTertiary:i.primitiveDarkColors.gray300Dark,borderOpaque:i.primitiveDarkColors.gray100Dark,borderTransparent:(0,a.hexToRgb)(f.primaryA,"0.08")||"",borderSelected:f.primaryA,borderInverseOpaque:i.primitiveDarkColors.gray300Dark,borderInverseTransparent:(0,a.hexToRgb)(f.primaryB,"0.2")||"",borderInverseSelected:f.primaryB,brandBackgroundPrimary:i.primitiveDarkColors.brandDefault500Dark,brandBackgroundSecondary:i.primitiveDarkColors.brandDefault100Dark,brandBackgroundTertiary:i.primitiveDarkColors.white,brandBackgroundDisabled:i.primitiveDarkColors.brandDefault100Dark,brandContentPrimary:i.primitiveDarkColors.brandDefault600Dark,brandContentOnPrimary:i.primitiveDarkColors.white,brandContentOnSecondary:i.primitiveDarkColors.brandDefault700Dark,brandContentOnTertiary:i.primitiveDarkColors.black,brandContentOnGradient:i.primitiveDarkColors.white,brandContentDisabled:i.primitiveDarkColors.brandDefault400Dark,brandBorderAccessible:i.primitiveDarkColors.brandDefault600Dark,brandBorderSubtle:i.primitiveDarkColors.brandDefault400Dark},m={backgroundStateDisabled:i.primitiveDarkColors.gray100Dark,backgroundOverlay:(0,a.hexToRgb)(i.primitiveDarkColors.black,"0.7")||"",backgroundOverlayArt:(0,a.hexToRgb)(i.primitiveDarkColors.black,"0.16")||"",backgroundAccent:f.accent,backgroundNegative:f.negative,backgroundWarning:f.warning,backgroundPositive:f.positive,backgroundAccentLight:i.primitiveDarkColors.blue100Dark,backgroundPositiveLight:i.primitiveDarkColors.green100Dark,backgroundNegativeLight:i.primitiveDarkColors.red100Dark,backgroundWarningLight:i.primitiveDarkColors.yellow100Dark,backgroundAlwaysDark:i.primitiveDarkColors.gray100Dark,backgroundAlwaysLight:i.primitiveDarkColors.gray900Dark,contentStateDisabled:i.primitiveDarkColors.gray400Dark,contentAccent:i.primitiveDarkColors.blue600Dark,contentOnColor:i.primitiveDarkColors.gray900Dark,contentOnColorInverse:i.primitiveDarkColors.black,contentNegative:i.primitiveDarkColors.red600Dark,contentWarning:i.primitiveDarkColors.yellow600Dark,contentPositive:i.primitiveDarkColors.green600Dark,tagRedContentSecondary:i.primitiveDarkColors.red700Dark,borderStateDisabled:i.primitiveDarkColors.gray100Dark,borderAccent:i.primitiveDarkColors.blue500Dark,borderAccentLight:i.primitiveDarkColors.blue400Dark,borderNegative:i.primitiveDarkColors.red500Dark,borderNegativeLight:i.primitiveDarkColors.red400Dark,borderWarning:i.primitiveDarkColors.yellow500Dark,borderWarningLight:i.primitiveDarkColors.yellow400Dark,borderPositive:i.primitiveDarkColors.green500Dark,borderPositiveLight:i.primitiveDarkColors.green400Dark,tagRedBorderSecondarySelected:i.primitiveDarkColors.red800Dark,safety:i.primitiveLightColors.blue600,eatsGreen400:i.primitiveLightColors.green600,freightBlue400:i.primitiveLightColors.cobalt400,rewardsTier1:i.primitiveLightColors.blue600,rewardsTier2:i.primitiveLightColors.yellow300,rewardsTier3:i.primitiveLightColors.platinum400,rewardsTier4:i.primitiveLightColors.black,membership:i.primitiveLightColors.yellow600},p={jumpRed400:i.primitiveLightColors.red600,backgroundOverlayLight:m.backgroundOverlay,backgroundOverlayDark:m.backgroundOverlay,backgroundLightAccent:m.backgroundAccentLight,backgroundLightPositive:m.backgroundPositiveLight,backgroundLightWarning:m.backgroundWarningLight,backgroundLightNegative:m.backgroundNegativeLight},d={tagGrayBackgroundPrimary:i.primitiveDarkColors.gray400Dark,tagGrayBackgroundSecondary:i.primitiveDarkColors.gray100Dark,tagGrayContentPrimary:i.primitiveDarkColors.gray900Dark,tagGrayContentSecondary:i.primitiveDarkColors.gray700Dark,tagGrayBackgroundStateDisabled:i.primitiveDarkColors.gray100Dark,tagGrayContentStateDisabled:i.primitiveDarkColors.gray400Dark,tagGrayBorderPrimaryUnselected:i.primitiveDarkColors.gray500Dark,tagGrayBorderSecondaryUnselected:i.primitiveDarkColors.gray500Dark,tagGrayBorderSecondarySelected:i.primitiveDarkColors.gray800Dark,tagRedBackgroundPrimary:i.primitiveDarkColors.red400Dark,tagRedBackgroundSecondary:i.primitiveDarkColors.red100Dark,tagRedContentPrimary:i.primitiveDarkColors.red900Dark,tagRedContentSecondary:i.primitiveDarkColors.red700Dark,tagRedBackgroundStateDisabled:i.primitiveDarkColors.red100Dark,tagRedContentStateDisabled:i.primitiveDarkColors.red400Dark,tagRedBorderPrimaryUnselected:i.primitiveDarkColors.red500Dark,tagRedBorderSecondaryUnselected:i.primitiveDarkColors.red500Dark,tagRedBorderSecondarySelected:i.primitiveDarkColors.red800Dark,tagOrangeBackgroundPrimary:i.primitiveDarkColors.orange400Dark,tagOrangeBackgroundSecondary:i.primitiveDarkColors.orange100Dark,tagOrangeContentPrimary:i.primitiveDarkColors.orange900Dark,tagOrangeContentSecondary:i.primitiveDarkColors.orange700Dark,tagOrangeBackgroundStateDisabled:i.primitiveDarkColors.orange100Dark,tagOrangeContentStateDisabled:i.primitiveDarkColors.orange400Dark,tagYellowBackgroundPrimary:i.primitiveDarkColors.yellow700Dark,tagOrangeBorderPrimaryUnselected:i.primitiveDarkColors.orange500Dark,tagYellowBackgroundSecondary:i.primitiveDarkColors.yellow100Dark,tagOrangeBorderSecondaryUnselected:i.primitiveDarkColors.orange500Dark,tagOrangeBorderSecondarySelected:i.primitiveDarkColors.orange800Dark,tagYellowContentPrimary:i.primitiveDarkColors.yellow50Dark,tagYellowContentSecondary:i.primitiveDarkColors.yellow900Dark,tagYellowBackgroundStateDisabled:i.primitiveDarkColors.yellow100Dark,tagYellowContentStateDisabled:i.primitiveDarkColors.yellow400Dark,tagYellowBorderPrimaryUnselected:i.primitiveDarkColors.yellow800Dark,tagYellowBorderSecondaryUnselected:i.primitiveDarkColors.yellow500Dark,tagYellowBorderSecondarySelected:i.primitiveDarkColors.yellow800Dark,tagGreenBackgroundPrimary:i.primitiveDarkColors.green400Dark,tagGreenBackgroundSecondary:i.primitiveDarkColors.green100Dark,tagGreenContentPrimary:i.primitiveDarkColors.green900Dark,tagGreenContentSecondary:i.primitiveDarkColors.green700Dark,tagGreenBackgroundStateDisabled:i.primitiveDarkColors.green100Dark,tagGreenContentStateDisabled:i.primitiveDarkColors.green400Dark,tagGreenBorderPrimaryUnselected:i.primitiveDarkColors.green500Dark,tagBlueBackgroundPrimary:i.primitiveDarkColors.blue400Dark,tagBlueBackgroundSecondary:i.primitiveDarkColors.blue100Dark,tagGreenBorderSecondaryUnselected:i.primitiveDarkColors.green500Dark,tagBlueContentPrimary:i.primitiveDarkColors.blue900Dark,tagGreenBorderSecondarySelected:i.primitiveDarkColors.green800Dark,tagBlueContentSecondary:i.primitiveDarkColors.blue700Dark,tagBlueBackgroundStateDisabled:i.primitiveDarkColors.blue100Dark,tagBlueContentStateDisabled:i.primitiveDarkColors.blue400Dark,tagBlueBorderPrimaryUnselected:i.primitiveDarkColors.blue500Dark,tagPurpleBackgroundPrimary:i.primitiveDarkColors.purple400Dark,tagPurpleBackgroundSecondary:i.primitiveDarkColors.purple100Dark,tagBlueBorderSecondaryUnselected:i.primitiveDarkColors.blue500Dark,tagBlueBorderSecondarySelected:i.primitiveDarkColors.blue800Dark,tagPurpleContentPrimary:i.primitiveDarkColors.purple900Dark,tagPurpleContentSecondary:i.primitiveDarkColors.purple700Dark,tagPurpleBackgroundStateDisabled:i.primitiveDarkColors.purple100Dark,tagPurpleContentStateDisabled:i.primitiveDarkColors.purple400Dark,tagPurpleBorderPrimaryUnselected:i.primitiveDarkColors.purple500Dark,tagMagentaBackgroundPrimary:i.primitiveDarkColors.magenta400Dark,tagPurpleBorderSecondaryUnselected:i.primitiveDarkColors.purple500Dark,tagMagentaBackgroundSecondary:i.primitiveDarkColors.magenta100Dark,tagPurpleBorderSecondarySelected:i.primitiveDarkColors.purple800Dark,tagMagentaContentPrimary:i.primitiveDarkColors.magenta900Dark,tagMagentaContentSecondary:i.primitiveDarkColors.magenta700Dark,tagMagentaBackgroundStateDisabled:i.primitiveDarkColors.magenta100Dark,tagMagentaContentStateDisabled:i.primitiveDarkColors.magenta400Dark,tagMagentaBorderPrimaryUnselected:i.primitiveDarkColors.magenta500Dark,tagMagentaBorderSecondaryUnselected:i.primitiveDarkColors.magenta500Dark,tagMagentaBorderSecondarySelected:i.primitiveDarkColors.magenta800Dark,tagTealBackgroundPrimary:i.primitiveDarkColors.teal400Dark,tagTealBackgroundSecondary:i.primitiveDarkColors.teal100Dark,tagTealContentPrimary:i.primitiveDarkColors.teal900Dark,tagTealContentSecondary:i.primitiveDarkColors.teal700Dark,tagTealBackgroundStateDisabled:i.primitiveDarkColors.teal100Dark,tagTealContentStateDisabled:i.primitiveDarkColors.teal400Dark,tagTealBorderPrimaryUnselected:i.primitiveDarkColors.teal500Dark,tagTealBorderSecondaryUnselected:i.primitiveDarkColors.teal500Dark,tagTealBorderSecondarySelected:i.primitiveDarkColors.teal800Dark,tagLimeBackgroundPrimary:i.primitiveDarkColors.lime400Dark,tagLimeBackgroundSecondary:i.primitiveDarkColors.lime100Dark,tagLimeContentPrimary:i.primitiveDarkColors.lime900Dark,tagLimeContentSecondary:i.primitiveDarkColors.lime700Dark,tagLimeBackgroundStateDisabled:i.primitiveDarkColors.lime100Dark,tagLimeContentStateDisabled:i.primitiveDarkColors.lime400Dark,tagLimeBorderPrimaryUnselected:i.primitiveDarkColors.lime500Dark,tagLimeBorderSecondaryUnselected:i.primitiveDarkColors.lime500Dark,tagLimeBorderSecondarySelected:i.primitiveDarkColors.lime800Dark};return{...l,...m,...d,...{hoverOverlayInverseAlpha:"rgba(0, 0, 0, 0.04)",hoverOverlayAlpha:"rgba(255, 255, 255, 0.1)",hoverNegativeAlpha:"rgba(163, 44, 52, 0.4)",pressedOverlayAlpha:"rgba(255, 255, 255, 0.15)",pressedOverlayInverseAlpha:"rgba(0, 0, 0, 0.08)",pressedNegativeAlpha:"rgba(163, 44, 52, 0.6)"},...p}};return co.default=c,co}var fo={},Em;function eS(){if(Em)return fo;Em=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.default=void 0;var r=i(l0()),a=ei();function i(l){return l&&l.__esModule?l:{default:l}}const u=(0,r.default)(),c="rgba(255, 255, 255, 0.2)";var f=(l=u)=>({bannerActionLowInfo:a.primitiveDarkColors.blue100Dark,bannerActionLowNegative:a.primitiveDarkColors.red200Dark,bannerActionLowPositive:a.primitiveDarkColors.green200Dark,bannerActionLowWarning:a.primitiveDarkColors.yellow200Dark,bannerActionHighInfo:a.primitiveDarkColors.blue300Dark,bannerActionHighNegative:a.primitiveDarkColors.red300Dark,bannerActionHighPositive:a.primitiveDarkColors.green300Dark,bannerActionHighWarning:a.primitiveDarkColors.yellow300Dark,bottomNavigationText:a.primitiveDarkColors.gray600Dark,bottomNavigationSelectedText:l.contentPrimary,buttonPrimaryFill:l.backgroundInversePrimary,buttonPrimaryText:l.contentInversePrimary,buttonPrimaryHover:a.primitiveDarkColors.gray700Dark,buttonPrimaryActive:a.primitiveDarkColors.gray600Dark,buttonPrimaryHoverOverlay:l.hoverOverlayInverseAlpha,buttonPrimaryActiveOverlay:l.pressedOverlayInverseAlpha,buttonPrimarySelectedFill:l.backgroundInversePrimary,buttonPrimarySelectedText:l.contentInversePrimary,buttonPrimaryLoadingFill:l.backgroundInversePrimary,buttonPrimarySpinnerForeground:l.backgroundAccent,buttonPrimarySpinnerBackground:l.backgroundPrimary,buttonSecondaryFill:l.backgroundSecondary,buttonSecondaryText:l.contentPrimary,buttonSecondaryHover:a.primitiveDarkColors.gray300Dark,buttonSecondaryActive:a.primitiveDarkColors.gray400Dark,buttonSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonSecondarySelectedFill:l.backgroundInversePrimary,buttonSecondarySelectedText:l.contentInversePrimary,buttonSecondaryLoadingFill:l.backgroundSecondary,buttonSecondarySpinnerForeground:l.backgroundAccent,buttonSecondarySpinnerBackground:l.backgroundPrimary,buttonTertiaryFill:"transparent",buttonTertiaryText:l.contentPrimary,buttonTertiaryHover:a.primitiveDarkColors.gray100Dark,buttonTertiaryActive:a.primitiveDarkColors.gray200Dark,buttonTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonTertiarySelectedFill:"transparent",buttonTertiarySelectedText:l.contentPrimary,buttonTertiaryLoadingFill:"transparent",buttonTertiaryFocusFill:l.backgroundTertiary,buttonTertiaryDisabledActiveFill:l.backgroundStateDisabled,buttonTertiaryDisabledActiveText:l.contentStateDisabled,buttonTertiarySpinnerForeground:l.backgroundAccent,buttonTertiarySpinnerBackground:l.backgroundTertiary,buttonDangerPrimaryFill:l.backgroundNegative,buttonDangerPrimaryText:l.contentOnColor,buttonDangerPrimaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerPrimaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerPrimarySelectedFill:l.backgroundNegative,buttonDangerPrimarySelectedText:l.contentOnColor,buttonDangerPrimaryLoadingFill:l.backgroundNegative,buttonDangerPrimarySpinnerForeground:l.backgroundAccent,buttonDangerPrimarySpinnerBackground:l.backgroundPrimary,buttonDangerSecondaryFill:l.backgroundSecondary,buttonDangerSecondaryText:l.contentNegative,buttonDangerSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerSecondarySelectedFill:l.backgroundNegative,buttonDangerSecondarySelectedText:l.contentOnColor,buttonDangerSecondaryLoadingFill:l.backgroundSecondary,buttonDangerSecondarySpinnerForeground:l.backgroundAccent,buttonDangerSecondarySpinnerBackground:l.backgroundPrimary,buttonDangerTertiaryFill:"transparent",buttonDangerTertiaryText:l.contentNegative,buttonDangerTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerTertiarySelectedFill:l.backgroundPrimary,buttonDangerTertiarySelectedText:l.contentNegative,buttonDangerTertiaryLoadingFill:"transparent",buttonDangerTertiarySpinnerForeground:l.backgroundAccent,buttonDangerTertiarySpinnerBackground:l.backgroundPrimary,buttonOutlineFill:"transparent",buttonOutlineText:l.contentPrimary,buttonOutlineHoverOverlay:l.hoverOverlayAlpha,buttonOutlineActiveOverlay:l.pressedOverlayAlpha,buttonOutlineSelectedFill:"transparent",buttonOutlineSelectedText:l.contentPrimary,buttonOutlineFocusFill:l.backgroundTertiary,buttonOutlineLoadingFill:"transparent",buttonOutlineSpinnerForeground:l.backgroundAccent,buttonOutlineSpinnerBackground:l.backgroundPrimary,buttonDisabledFill:l.backgroundStateDisabled,buttonDisabledText:l.contentStateDisabled,buttonDisabledActiveFill:l.backgroundStateDisabled,buttonDisabledActiveText:l.contentStateDisabled,buttonDisabledSpinnerForeground:l.contentStateDisabled,buttonDisabledSpinnerBackground:l.backgroundPrimary,buttonOuterBorder:l.borderSelected,buttonOutlineOuterBorder:l.borderOpaque,buttonDangerTertiaryOuterBorder:l.tagRedBorderSecondarySelected,buttonInnerBorder:l.contentInversePrimary,buttonTransparentBorder:"transparent",buttonFocusOuterBorder:l.borderAccent,breadcrumbsText:l.contentPrimary,breadcrumbsSeparatorFill:l.contentTertiary,calendarBackground:l.backgroundPrimary,calendarForeground:l.contentPrimary,calendarForegroundDisabled:l.contentStateDisabled,calendarHeaderBackground:l.backgroundPrimary,calendarHeaderForeground:l.contentPrimary,calendarHeaderBackgroundActive:l.backgroundInversePrimary,calendarHeaderForegroundDisabled:l.contentStateDisabled,calendarDayForegroundPseudoSelected:l.backgroundInversePrimary,calendarDayBackgroundPseudoSelectedHighlighted:l.backgroundTertiary,calendarDayForegroundPseudoSelectedHighlighted:l.contentPrimary,calendarDayBackgroundSelected:l.backgroundInversePrimary,calendarDayForegroundSelected:l.contentInversePrimary,calendarDayBackgroundSelectedHighlighted:l.backgroundInversePrimary,calendarDayForegroundSelectedHighlighted:l.contentInversePrimary,comboboxListItemFocus:l.backgroundSecondary,comboboxListItemHover:l.backgroundTertiary,fileUploaderBackgroundColor:l.backgroundSecondary,fileUploaderBackgroundColorActive:l.backgroundPrimary,fileUploaderBorderColorActive:l.borderSelected,fileUploaderBorderColorDefault:l.borderOpaque,fileUploaderMessageColor:l.contentPrimary,linkText:l.contentPrimary,linkVisited:a.primitiveDarkColors.gray500Dark,linkHover:a.primitiveDarkColors.gray700Dark,linkActive:a.primitiveDarkColors.gray600Dark,listHeaderFill:l.backgroundPrimary,listBodyFill:l.backgroundPrimary,progressStepsCompletedText:l.contentInversePrimary,progressStepsCompletedFill:l.backgroundInversePrimary,progressStepsActiveText:l.contentInversePrimary,progressStepsActiveFill:l.backgroundInversePrimary,modalCloseColor:l.contentPrimary,modalCloseColorHover:a.primitiveDarkColors.gray700Dark,modalCloseColorFocus:a.primitiveDarkColors.gray600Dark,notificationInfoBackground:l.backgroundAccentLight,notificationInfoText:l.contentPrimary,notificationPositiveBackground:l.backgroundPositiveLight,notificationPositiveText:l.contentPrimary,notificationWarningBackground:l.backgroundWarningLight,notificationWarningText:l.contentPrimary,notificationNegativeBackground:l.backgroundNegativeLight,notificationNegativeText:l.contentPrimary,tagFontDisabledRampUnit:"600",tagSolidFontRampUnit:"0",tagSolidRampUnit:"600",tagOutlinedFontRampUnit:"500",tagOutlinedRampUnit:"500",tagSolidHoverRampUnit:"500",tagSolidActiveRampUnit:"400",tagSolidDisabledRampUnit:"700",tagSolidFontHoverRampUnit:"100",tagLightRampUnit:"700",tagLightHoverRampUnit:"700",tagLightActiveRampUnit:"600",tagLightFontRampUnit:"100",tagLightFontHoverRampUnit:"100",tagOutlinedActiveRampUnit:"300",tagOutlinedHoverRampUnit:"800",tagOutlinedFontHoverRampUnit:"100",tagNeutralFontDisabled:a.primitiveDarkColors.gray400Dark,tagNeutralOutlinedDisabled:a.primitiveDarkColors.gray400Dark,tagNeutralSolidFont:a.primitiveDarkColors.gray900Dark,tagNeutralSolidBackground:a.primitiveDarkColors.gray400Dark,tagNeutralOutlinedBackground:a.primitiveDarkColors.gray100Dark,tagNeutralOutlinedFont:a.primitiveDarkColors.gray700Dark,tagNeutralSolidHover:a.primitiveDarkColors.gray700Dark,tagNeutralSolidActive:a.primitiveDarkColors.gray600Dark,tagNeutralSolidDisabled:a.primitiveDarkColors.gray100Dark,tagNeutralSolidFontHover:a.primitiveDarkColors.gray800Dark,tagNeutralLightBackground:a.primitiveDarkColors.gray100Dark,tagNeutralLightHover:a.primitiveDarkColors.gray800Dark,tagNeutralLightActive:a.primitiveDarkColors.gray700Dark,tagNeutralLightDisabled:a.primitiveDarkColors.gray400Dark,tagNeutralLightFont:a.primitiveDarkColors.gray900Dark,tagNeutralLightFontHover:a.primitiveDarkColors.gray800Dark,tagNeutralOutlinedActive:a.primitiveDarkColors.gray700Dark,tagNeutralOutlinedFontHover:a.primitiveDarkColors.gray700Dark,tagNeutralOutlinedHover:c,tagPrimaryOutlinedFont:a.primitiveDarkColors.gray700Dark,tagPrimaryOutlinedBackground:a.primitiveDarkColors.gray100Dark,tagPrimarySolidFont:a.primitiveDarkColors.gray900Dark,tagPrimarySolidBackground:a.primitiveDarkColors.gray400Dark,tagPrimaryFontDisabled:a.primitiveDarkColors.gray400Dark,tagPrimaryOutlinedDisabled:a.primitiveDarkColors.gray400Dark,tagPrimarySolidHover:a.primitiveDarkColors.gray300Dark,tagPrimarySolidActive:a.primitiveDarkColors.gray200Dark,tagPrimarySolidDisabled:a.primitiveDarkColors.gray100Dark,tagPrimarySolidFontHover:a.primitiveDarkColors.gray800Dark,tagPrimaryLightBackground:a.primitiveDarkColors.gray100Dark,tagPrimaryLightHover:a.primitiveDarkColors.gray200Dark,tagPrimaryLightActive:a.primitiveDarkColors.gray300Dark,tagPrimaryLightDisabled:a.primitiveDarkColors.gray400Dark,tagPrimaryLightFont:a.primitiveDarkColors.gray900Dark,tagPrimaryLightFontHover:a.primitiveDarkColors.gray800Dark,tagPrimaryOutlinedActive:a.primitiveDarkColors.gray700Dark,tagPrimaryOutlinedFontHover:a.primitiveDarkColors.gray700Dark,tagPrimaryOutlinedHover:c,tagAccentOutlinedFont:a.primitiveDarkColors.blue700Dark,tagAccentOutlinedBackground:a.primitiveDarkColors.blue100Dark,tagAccentSolidFont:a.primitiveDarkColors.blue900Dark,tagAccentSolidBackground:a.primitiveDarkColors.blue500Dark,tagAccentFontDisabled:a.primitiveDarkColors.blue400Dark,tagAccentOutlinedDisabled:a.primitiveDarkColors.blue400Dark,tagAccentSolidHover:a.primitiveDarkColors.blue300Dark,tagAccentSolidActive:a.primitiveDarkColors.blue200Dark,tagAccentSolidDisabled:a.primitiveDarkColors.blue100Dark,tagAccentSolidFontHover:a.primitiveDarkColors.gray800Dark,tagAccentLightBackground:a.primitiveDarkColors.blue100Dark,tagAccentLightHover:a.primitiveDarkColors.blue200Dark,tagAccentLightActive:a.primitiveDarkColors.blue300Dark,tagAccentLightDisabled:a.primitiveDarkColors.blue400Dark,tagAccentLightFont:a.primitiveDarkColors.blue900Dark,tagAccentLightFontHover:a.primitiveDarkColors.blue800Dark,tagAccentOutlinedActive:a.primitiveDarkColors.blue700Dark,tagAccentOutlinedFontHover:a.primitiveDarkColors.blue700Dark,tagAccentOutlinedHover:c,tagPositiveFontDisabled:a.primitiveDarkColors.green400Dark,tagPositiveOutlinedDisabled:a.primitiveDarkColors.green400Dark,tagPositiveSolidFont:a.primitiveDarkColors.green900Dark,tagPositiveSolidBackground:a.primitiveDarkColors.green500Dark,tagPositiveOutlinedBackground:a.primitiveDarkColors.green100Dark,tagPositiveOutlinedFont:a.primitiveDarkColors.green700Dark,tagPositiveSolidHover:a.primitiveDarkColors.green300Dark,tagPositiveSolidActive:a.primitiveDarkColors.green200Dark,tagPositiveSolidDisabled:a.primitiveDarkColors.green100Dark,tagPositiveSolidFontHover:a.primitiveDarkColors.gray800Dark,tagPositiveLightBackground:a.primitiveDarkColors.green100Dark,tagPositiveLightHover:a.primitiveDarkColors.green200Dark,tagPositiveLightActive:a.primitiveDarkColors.green300Dark,tagPositiveLightDisabled:a.primitiveDarkColors.green400Dark,tagPositiveLightFont:a.primitiveDarkColors.green900Dark,tagPositiveLightFontHover:a.primitiveDarkColors.green800Dark,tagPositiveOutlinedActive:a.primitiveDarkColors.green700Dark,tagPositiveOutlinedFontHover:a.primitiveDarkColors.green700Dark,tagPositiveOutlinedHover:c,tagWarningOutlinedFont:a.primitiveDarkColors.yellow700Dark,tagWarningOutlinedBackground:a.primitiveDarkColors.yellow100Dark,tagWarningSolidFont:a.primitiveDarkColors.yellow50Dark,tagWarningSolidBackground:a.primitiveDarkColors.yellow700Dark,tagWarningFontDisabled:a.primitiveDarkColors.yellow400Dark,tagWarningOutlinedDisabled:a.primitiveDarkColors.yellow400Dark,tagWarningSolidHover:a.primitiveDarkColors.yellow300Dark,tagWarningSolidActive:a.primitiveDarkColors.yellow200Dark,tagWarningSolidDisabled:a.primitiveDarkColors.yellow100Dark,tagWarningSolidFontHover:a.primitiveDarkColors.gray800Dark,tagWarningLightBackground:a.primitiveDarkColors.yellow100Dark,tagWarningLightHover:a.primitiveDarkColors.yellow200Dark,tagWarningLightActive:a.primitiveDarkColors.yellow300Dark,tagWarningLightDisabled:a.primitiveDarkColors.yellow400Dark,tagWarningLightFont:a.primitiveDarkColors.yellow900Dark,tagWarningLightFontHover:a.primitiveDarkColors.yellow800Dark,tagWarningOutlinedActive:a.primitiveDarkColors.yellow700Dark,tagWarningOutlinedFontHover:a.primitiveDarkColors.yellow700Dark,tagWarningOutlinedHover:c,tagNegativeOutlinedFont:a.primitiveDarkColors.red700Dark,tagNegativeOutlinedBackground:a.primitiveDarkColors.red100Dark,tagNegativeSolidFont:a.primitiveDarkColors.gray900Dark,tagNegativeSolidBackground:a.primitiveDarkColors.red500Dark,tagNegativeFontDisabled:a.primitiveDarkColors.red400Dark,tagNegativeOutlinedDisabled:a.primitiveDarkColors.red400Dark,tagNegativeSolidHover:a.primitiveDarkColors.red300Dark,tagNegativeSolidActive:a.primitiveDarkColors.red200Dark,tagNegativeSolidDisabled:a.primitiveDarkColors.red100Dark,tagNegativeSolidFontHover:a.primitiveDarkColors.gray800Dark,tagNegativeLightBackground:a.primitiveDarkColors.red100Dark,tagNegativeLightHover:a.primitiveDarkColors.red200Dark,tagNegativeLightActive:a.primitiveDarkColors.red300Dark,tagNegativeLightDisabled:a.primitiveDarkColors.red400Dark,tagNegativeLightFont:a.primitiveDarkColors.red900Dark,tagNegativeLightFontHover:a.primitiveDarkColors.red800Dark,tagNegativeOutlinedActive:a.primitiveDarkColors.red700Dark,tagNegativeOutlinedFontHover:a.primitiveDarkColors.red700Dark,tagNegativeOutlinedHover:c,tableHeadBackgroundColor:l.backgroundPrimary,tableBackground:l.backgroundPrimary,tableStripedBackground:l.backgroundSecondary,tableFilter:l.contentTertiary,tableFilterHeading:l.contentPrimary,tableFilterBackground:l.backgroundPrimary,tableFilterFooterBackground:l.backgroundSecondary,toastText:l.contentOnColor,toastPrimaryText:l.contentOnColor,toastInfoBackground:l.backgroundAccent,toastInfoText:l.contentOnColor,toastPositiveBackground:l.backgroundPositive,toastPositiveText:l.contentOnColor,toastWarningBackground:l.backgroundWarning,toastWarningText:l.contentOnColorInverse,toastNegativeBackground:l.backgroundNegative,toastNegativeText:l.contentOnColor,toggleFill:l.backgroundPrimary,toggleFillChecked:l.contentPrimary,toggleFillDisabled:l.contentStateDisabled,toggleTrackFill:l.backgroundTertiary,toggleTrackFillDisabled:l.backgroundStateDisabled,tickFill:l.backgroundPrimary,tickFillHover:a.primitiveDarkColors.gray100Dark,tickFillActive:a.primitiveDarkColors.gray200Dark,tickFillSelected:l.contentPrimary,tickFillSelectedHover:a.primitiveDarkColors.gray800Dark,tickFillSelectedHoverActive:a.primitiveDarkColors.gray700Dark,tickFillError:l.backgroundPrimary,tickFillErrorHover:a.primitiveDarkColors.gray100Dark,tickFillErrorHoverActive:a.primitiveDarkColors.gray200Dark,tickFillErrorSelected:l.contentNegative,tickFillErrorSelectedHover:a.primitiveDarkColors.red500Dark,tickFillErrorSelectedHoverActive:a.primitiveDarkColors.red400Dark,tickFillDisabled:l.backgroundStateDisabled,tickBorder:l.contentTertiary,tickBorderError:l.borderNegative,tickMarkFill:l.contentInversePrimary,tickMarkFillError:l.contentOnColor,tickMarkFillDisabled:l.contentInversePrimary,sliderTrackFill:"transparent",sliderHandleFill:l.contentPrimary,sliderHandleFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFill:l.contentPrimary,sliderTrackFillHover:a.primitiveDarkColors.gray300Dark,sliderTrackFillActive:a.primitiveDarkColors.gray400Dark,sliderTrackFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillSelectedHover:a.primitiveDarkColors.gray600Dark,sliderHandleInnerFillSelectedActive:a.primitiveDarkColors.gray700Dark,inputBorder:l.borderOpaque,inputFill:l.backgroundSecondary,inputFillError:l.backgroundPrimary,inputFillDisabled:l.backgroundStateDisabled,inputFillActive:l.backgroundPrimary,inputFillPositive:l.backgroundPrimary,inputTextDisabled:l.contentStateDisabled,inputBorderError:l.borderNegative,inputBorderPositive:l.borderPositive,inputEnhancerFill:l.contentPrimary,inputEnhancerFillDisabled:l.contentStateDisabled,inputEnhancerTextDisabled:l.contentStateDisabled,inputPlaceholder:l.contentTertiary,inputPlaceholderDisabled:l.contentStateDisabled,menuFill:l.backgroundPrimary,menuFillHover:l.backgroundSecondary,menuFontDefault:l.contentPrimary,menuFontDisabled:l.contentStateDisabled,menuFontHighlighted:l.contentPrimary,menuFontSelected:l.contentPrimary,tabBarFill:l.backgroundPrimary,tabColor:l.contentTertiary,spinnerTrackFill:l.backgroundTertiary,progressbarTrackFill:l.backgroundTertiary,tooltipBackground:l.backgroundInverseSecondary,tooltipText:l.contentInversePrimary,ratingInactiveFill:a.primitiveDarkColors.gray500Dark,ratingStroke:a.primitiveDarkColors.gray700Dark});return fo.default=f,fo}var po={},Cm;function JO(){if(Cm)return po;Cm=1,Object.defineProperty(po,"__esModule",{value:!0}),po.default=void 0;var r=i(K1()),a=i(ti());function i(c){return c&&c.__esModule?c:{default:c}}const u=(0,a.default)({},r.default,{border100:{borderColor:"hsla(0, 0%, 100%, 0.04)"},border200:{borderColor:"hsla(0, 0%, 100%, 0.08)"},border300:{borderColor:"hsla(0, 0%, 100%, 0.12)"},border400:{borderColor:"hsla(0, 0%, 100%, 0.16)"},border500:{borderColor:"hsla(0, 0%, 100%, 0.2)"},border600:{borderColor:"hsla(0, 0%, 100%, 0.24)"}});return po.default=u,po}var _m;function u0(){if(_m)return so;_m=1,Object.defineProperty(so,"__esModule",{value:!0}),so.DarkTheme=void 0;var r=g(Ds()),a=g(dl()),i=g(l0()),u=g(eS()),c=g(JO()),f=g(Z1()),l=g(Ss()),m=g(X1()),p=g(i0()),d=g($1()),b=g(Q1()),h=g(J1());function g(S){return S&&S.__esModule?S:{default:S}}return so.DarkTheme={name:"dark-theme",colors:{...r.default,...a.default,...(0,u.default)(),...(0,i.default)()},animation:m.default,breakpoints:p.default,borders:c.default,direction:"auto",grid:d.default,lighting:f.default,mediaQuery:b.default,sizing:h.default,typography:l.default,zIndex:{modal:2e3}},so}var go={},Tm;function eE(){if(Tm)return go;Tm=1,Object.defineProperty(go,"__esModule",{value:!0}),go.DarkThemeMove=void 0;var r=i(ti()),a=u0();function i(u){return u&&u.__esModule?u:{default:u}}return go.DarkThemeMove=(0,r.default)({},a.DarkTheme,{name:"dark-theme-with-move"}),go}var Hu={},ju={},km;function tS(){if(km)return ju;km=1,Object.defineProperty(ju,"__esModule",{value:!0}),ju.getFoundationColorOverrides=a;const r=["primaryA","primaryB","primary","accent","negative","warning","positive"];function a(i){return i?r.reduce((u,c)=>(i[c]&&(u[c]=i[c]),u),{}):{}}return ju}var Am;function tE(){if(Am)return Hu;Am=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.default=p;var r=m(ti()),a=tS(),i=ei(),u=m(eS()),c=m(l0()),f=m(Ds()),l=u0();function m(d){return d&&d.__esModule?d:{default:d}}function p(d){const b={...f.default,...(0,a.getFoundationColorOverrides)(d?.colors)},h=(0,c.default)(b),g=(0,u.default)(h),S={...structuredClone(l.DarkTheme),colors:{...i.primitiveColors,...b,...h,...g}};return(0,r.default)(S,d)}return Hu}var Iu={},Mm;function rE(){if(Mm)return Iu;Mm=1,Object.defineProperty(Iu,"__esModule",{value:!0}),Iu.default=p;var r=m(ti()),a=tS(),i=ei(),u=m(V1()),c=m(a0()),f=m(ys()),l=o0();function m(d){return d&&d.__esModule?d:{default:d}}function p(d){const b={...f.default,...(0,a.getFoundationColorOverrides)(d?.colors)},h=(0,c.default)(b),g=(0,u.default)(h),S={...structuredClone(l.LightTheme),colors:{...i.primitiveColors,...b,...h,...g}};return(0,r.default)(S,d)}return Iu}var vo={},wm;function nE(){if(wm)return vo;wm=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.default=void 0;var r=i(Ds()),a=Ss();function i(c){return c&&c.__esModule?c:{default:c}}const u={...r.default,...a.fontTokens};return vo.default=u,vo}var ho={},Pm;function aE(){if(Pm)return ho;Pm=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.default=void 0;var r=i(ys()),a=Ss();function i(c){return c&&c.__esModule?c:{default:c}}const u={...r.default,...a.fontTokens};return ho.default=u,ho}var Rm={},xm;function iE(){return xm||(xm=1),Rm}var Bm;function rS(){return Bm||(Bm=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={LightTheme:!0,LightThemeMove:!0,DarkTheme:!0,darkThemeOverrides:!0,DarkThemeMove:!0,createDarkTheme:!0,createLightTheme:!0,createTheme:!0,darkThemePrimitives:!0,lightThemePrimitives:!0};Object.defineProperty(r,"DarkTheme",{enumerable:!0,get:function(){return c.DarkTheme}}),Object.defineProperty(r,"DarkThemeMove",{enumerable:!0,get:function(){return f.DarkThemeMove}}),Object.defineProperty(r,"LightTheme",{enumerable:!0,get:function(){return i.LightTheme}}),Object.defineProperty(r,"LightThemeMove",{enumerable:!0,get:function(){return u.LightThemeMove}}),Object.defineProperty(r,"createDarkTheme",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"createLightTheme",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"createTheme",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"darkThemeOverrides",{enumerable:!0,get:function(){return c.DarkTheme}}),Object.defineProperty(r,"darkThemePrimitives",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"lightThemePrimitives",{enumerable:!0,get:function(){return d.default}});var i=o0(),u=QO(),c=u0(),f=eE(),l=h(tE()),m=h(rE()),p=h(nE()),d=h(aE()),b=iE();Object.keys(b).forEach(function(g){g==="default"||g==="__esModule"||Object.prototype.hasOwnProperty.call(a,g)||g in r&&r[g]===b[g]||Object.defineProperty(r,g,{enumerable:!0,get:function(){return b[g]}})});function h(g){return g&&g.__esModule?g:{default:g}}})(Jd)),Jd}var Lm;function nS(){if(Lm)return Un;Lm=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.default=Un.ThemeContext=void 0;var r=u(we()),a=rS();function i(l){if(typeof WeakMap!="function")return null;var m=new WeakMap,p=new WeakMap;return(i=function(d){return d?p:m})(l)}function u(l,m){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var p=i(m);if(p&&p.has(l))return p.get(l);var d={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var g=b?Object.getOwnPropertyDescriptor(l,h):null;g&&(g.get||g.set)?Object.defineProperty(d,h,g):d[h]=l[h]}return d.default=l,p&&p.set(l,d),d}const c=Un.ThemeContext=r.createContext(a.LightTheme),f=l=>{const{theme:m,children:p}=l;return r.createElement(c.Provider,{value:m},p)};return Un.default=f,Un}var Xt={};function s0(r,a){const i=c0(r,a);return a.renderStyle(i)}function aS(){return{}}function c0(r,a){for(const i in r){const u=r[i];if(i==="animationName"&&typeof u!="string"){r.animationName=a.renderKeyframes(u);continue}if(i==="fontFamily"&&typeof u!="string")if(Array.isArray(u)){let c="";for(const f of u)typeof f=="object"?c+=`${a.renderFontFace(f)},`:typeof f=="string"&&(c+=`${f},`);r.fontFamily=c.slice(0,-1);continue}else{if(u===void 0)continue;r.fontFamily=a.renderFontFace(u);continue}typeof u=="object"&&u!==null&&c0(u,a)}return r}const oE=Object.freeze(Object.defineProperty({__proto__:null,driver:s0,getInitialStyle:aS,renderDeclarativeRules:c0},Symbol.toStringTag,{value:"Module"}));class lE{constructor(a){if(!a){const i=new Blob(['importScripts("https://unpkg.com/css-to-js-sourcemap-worker@2.0.5/worker.js")'],{type:"application/javascript"});a=new Worker(URL.createObjectURL(i)),a.postMessage({id:"init_wasm",url:"https://unpkg.com/css-to-js-sourcemap-worker@2.0.5/mappings.wasm"}),a.postMessage({id:"set_render_interval",interval:120}),t0.hot&&t0.hot.addStatusHandler(u=>{u==="dispose"&&a.postMessage({id:"invalidate"})})}this.worker=a,this.counter=0,this.worker.onmessage=i=>{const{id:u,css:c}=i.data;if(u==="render_css"&&c){const f=document.createElement("style");f.appendChild(document.createTextNode(c)),document.head.appendChild(f)}}}debug({stackIndex:a,stackInfo:i}){const u=`__debug-${this.counter++}`;return this.worker.postMessage({id:"add_mapped_class",className:u,stackInfo:i,stackIndex:a}),u}}const uE=lE;function zf(){return zf=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},zf.apply(this,arguments)}const iS={renderStyle:()=>"",renderKeyframes:()=>"",renderFontFace:()=>""},d0=re.createContext(iS),oS=re.createContext(!1),lS=re.createContext(void 0),uS=d0.Provider;function sS(r){r===iS&&console.warn("Styletron Provider is not set up. Defaulting to no-op.")}function sE(){const r=re.useContext(d0);return re.useContext(lS),re.useContext(oS),sS(r),re.useRef(""),re.useRef([]),[function(i){return s0(i,r)}]}function cS({getInitialStyle:r,driver:a,wrapper:i}){function u(c,f){return pl(fS({reducers:[],base:c,driver:a,getInitialStyle:r,wrapper:i},f))}return u}const cE=cS({getInitialStyle:aS,driver:s0,wrapper:r=>r}),dE=(r,a)=>{const i=r.__STYLETRON__;return pl(fl(i,a))},dS=(r,a)=>{const i=r.__STYLETRON__;return pl(pS(i,a))},fE=dS,pE=(r,a)=>{const i=r.__STYLETRON__,u={getInitialStyle:i.getInitialStyle,base:i.base,driver:i.driver,wrapper:a,reducers:i.reducers};return pl(u)};function fS(r,a){return typeof a=="function"?hS(r,a):gS(r,a)}function pS(r,a){return typeof a=="function"?mS(r,a):vS(r,a)}function gS(r,a){return g0(r,f0(a))}function vS(r,a){return g0(r,p0(a))}function hS(r,a){return fl(r,(i,u)=>yS(i,a(u)))}function mS(r,a){return fl(r,(i,u)=>il(i,a(u)))}function f0(r){return{reducer:a=>yS(a,r),assignmentCommutative:!0,factory:f0,style:r}}function p0(r){return{reducer:a=>il(a,r),assignmentCommutative:!0,factory:p0,style:r}}function g0(r,a){if(r.reducers.length===0){const i=a.reducer(r.getInitialStyle());return{reducers:r.reducers,base:r.base,driver:r.driver,wrapper:r.wrapper,getInitialStyle:()=>i}}else{const i=r.reducers[0];if(i.assignmentCommutative===!0&&a.assignmentCommutative===!0){const u=a.reducer(i.style);return{getInitialStyle:r.getInitialStyle,base:r.base,driver:r.driver,wrapper:r.wrapper,reducers:[i.factory(u)].concat(r.reducers.slice(1))}}return fl(r,a.reducer)}}function fl(r,a){return{getInitialStyle:r.getInitialStyle,base:r.base,driver:r.driver,wrapper:r.wrapper,reducers:[{assignmentCommutative:!1,reducer:a}].concat(r.reducers)}}function pl(r){const{reducers:a,base:i,driver:u,wrapper:c,getInitialStyle:f,ext:l}=r,p=c(re.forwardRef((d,b)=>{const h=re.useContext(d0);re.useContext(lS),re.useContext(oS),sS(h);const g=gE(d);let S=bS(f,a,d);d.$style&&(typeof d.$style=="function"?S=il(S,d.$style(d)):S=il(S,d.$style));const y=u(S,h),D=d.$as?d.$as:i;return g.className=d.className?`${d.className} ${y}`:y,d.$ref&&console.warn("The prop `$ref` has been deprecated. Use `ref` instead. Refs are now forwarded with React.forwardRef."),re.createElement(D,zf({},g,{ref:b||d.$ref}))}));return p.__STYLETRON__={base:i,reducers:a,driver:u,wrapper:c,getInitialStyle:f},p}function bS(r,a,i){let u=r(),c=a.length;for(;c--;){const f=a[c].reducer;u=f(u,i)}return u}function Fm(r){return typeof r=="object"&&r!==null}function gE(r){const a={};for(const i in r)i[0]!=="$"&&(a[i]=r[i]);return a}function il(r,a){const i=Hf({},r);for(const u in a){const c=a[u];Fm(c)&&Fm(r[u])?i[u]=il(r[u],c):i[u]=c}return i}function yS(r,a){return Hf(Hf({},r),a)}function Hf(r,a){for(const i in a)r[i]=a[i];return r}const vE=Object.freeze(Object.defineProperty({__proto__:null,DebugEngine:uE,Provider:uS,autoComposeDeep:pS,autoComposeShallow:fS,composeDynamic:fl,composeStatic:g0,createDeepMergeReducer:p0,createShallowMergeReducer:f0,createStyled:cS,createStyledElementComponent:pl,dynamicComposeDeep:mS,dynamicComposeShallow:hS,resolveStyle:bS,staticComposeDeep:vS,staticComposeShallow:gS,styled:cE,useStyletron:sE,withStyle:fE,withStyleDeep:dS,withTransform:dE,withWrapper:pE},Symbol.toStringTag,{value:"Module"})),hE=Ja(vE),mE=Ja(oE);var Nm;function bE(){if(Nm)return Xt;Nm=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.createThemedStyled=p,Xt.createThemedUseStyletron=b,Xt.createThemedWithStyle=d,Xt.withStyle=Xt.useStyletron=Xt.styled=void 0,Xt.withWrapper=h;var r=f(we()),a=hE,i=mE,u=nS();function c(g){if(typeof WeakMap!="function")return null;var S=new WeakMap,y=new WeakMap;return(c=function(D){return D?y:S})(g)}function f(g,S){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var y=c(S);if(y&&y.has(g))return y.get(g);var D={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in g)if(A!=="default"&&Object.prototype.hasOwnProperty.call(g,A)){var C=O?Object.getOwnPropertyDescriptor(g,A):null;C&&(C.get||C.set)?Object.defineProperty(D,A,C):D[A]=g[A]}return D.default=g,y&&y.set(g,D),D}function l(){return l=Object.assign?Object.assign.bind():function(g){for(var S=1;S<arguments.length;S++){var y=arguments[S];for(var D in y)Object.prototype.hasOwnProperty.call(y,D)&&(g[D]=y[D])}return g},l.apply(this,arguments)}const m=g=>r.forwardRef((S,y)=>r.createElement(u.ThemeContext.Consumer,null,D=>r.createElement(g,l({ref:y},S,{$theme:D}))));function p(){return(0,a.createStyled)({wrapper:m,getInitialStyle:i.getInitialStyle,driver:i.driver})}Xt.styled=p();function d(){return a.withStyle}Xt.withStyle=d();function b(){return function(){const g=r.useContext(u.ThemeContext),[S]=(0,a.useStyletron)();return[S,g]}}Xt.useStyletron=b();function h(g,S){return(0,a.withWrapper)(g,y=>r.forwardRef((D,O)=>r.createElement(u.ThemeContext.Consumer,null,A=>S(y)({ref:O,...D,$theme:A}))))}return Xt}var zm={},Hm;function yE(){return Hm||(Hm=1),zm}var jm;function wt(){return jm||(jm=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={ThemeConsumer:!0,ThemeProvider:!0,createThemedStyled:!0,createThemedWithStyle:!0,createThemedUseStyletron:!0,styled:!0,withStyle:!0,useStyletron:!0,withWrapper:!0,hexToRgb:!0,expandBorderStyles:!0};r.ThemeConsumer=void 0,Object.defineProperty(r,"ThemeProvider",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"createThemedStyled",{enumerable:!0,get:function(){return u.createThemedStyled}}),Object.defineProperty(r,"createThemedUseStyletron",{enumerable:!0,get:function(){return u.createThemedUseStyletron}}),Object.defineProperty(r,"createThemedWithStyle",{enumerable:!0,get:function(){return u.createThemedWithStyle}}),Object.defineProperty(r,"expandBorderStyles",{enumerable:!0,get:function(){return c.expandBorderStyles}}),Object.defineProperty(r,"hexToRgb",{enumerable:!0,get:function(){return c.hexToRgb}}),Object.defineProperty(r,"styled",{enumerable:!0,get:function(){return u.styled}}),Object.defineProperty(r,"useStyletron",{enumerable:!0,get:function(){return u.useStyletron}}),Object.defineProperty(r,"withStyle",{enumerable:!0,get:function(){return u.withStyle}}),Object.defineProperty(r,"withWrapper",{enumerable:!0,get:function(){return u.withWrapper}});var i=m(nS()),u=bE(),c=n0(),f=yE();Object.keys(f).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(a,p)||p in r&&r[p]===f[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return f[p]}})});function l(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(l=function(h){return h?b:d})(p)}function m(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=l(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}r.ThemeConsumer=i.ThemeContext.Consumer})(Qd)),Qd}var Vn={},tf,Im;function SE(){if(Im)return tf;Im=1,tf=r;function r(){var u=[].slice.call(arguments),c=!1;typeof u[0]=="boolean"&&(c=u.shift());var f=u[0];if(i(f))throw new Error("extendee must be an object");for(var l=u.slice(1),m=l.length,p=0;p<m;p++){var d=l[p];for(var b in d)if(Object.prototype.hasOwnProperty.call(d,b)){var h=d[b];if(c&&a(h)){var g=Array.isArray(h)?[]:{};f[b]=r(!0,Object.prototype.hasOwnProperty.call(f,b)&&!i(f[b])?f[b]:g,h)}else f[b]=h}}return f}function a(u){return Array.isArray(u)||{}.toString.call(u)=="[object Object]"}function i(u){return!u||typeof u!="object"&&typeof u!="function"}return tf}var mo={},bo={},qm;function DE(){if(qm)return bo;qm=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.default=void 0;const r={collapse:"Collapse",expand:"Expand"};return bo.default=r,bo}var yo={},Um;function OE(){if(Um)return yo;Um=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.default=void 0;const r={ariaLabel:"Breadcrumbs navigation"};return yo.default=r,yo}var So={},Wm;function EE(){if(Wm)return So;Wm=1,Object.defineProperty(So,"__esModule",{value:!0}),So.default=void 0;const r={ariaLabel:"Select a date.",ariaLabelRange:"Select a date range.",ariaLabelCalendar:"Calendar.",ariaRoleDescriptionCalendarMonth:"Calendar month",previousMonth:"Previous month.",nextMonth:"Next month.",pastWeek:"Past Week",pastMonth:"Past Month",pastThreeMonths:"Past 3 Months",pastSixMonths:"Past 6 Months",pastYear:"Past Year",pastTwoYears:"Past 2 Years",screenReaderMessageInput:"Date format is ${formatString}. Press the down arrow or enter key to interact with the calendar and select a date. Press the escape button to close the calendar.",selectedDate:"Selected date is ${date}.",selectedDateRange:"Selected date range is from ${startDate} to ${endDate}.",selectSecondDatePrompt:"Select the second date.",quickSelectLabel:"Choose a date range",quickSelectAriaLabel:"Choose a date range",quickSelectPlaceholder:"None",timeSelectEndLabel:"End time",timeSelectStartLabel:"Start time",timePickerAriaLabel12Hour:"Select a time, 12-hour format.",timePickerAriaLabel24Hour:"Select a time, 24-hour format.",timezonePickerAriaLabel:"Select a timezone.",selectedStartDateLabel:"Selected start date.",selectedEndDateLabel:"Selected end date.",dateNotAvailableLabel:"Not available.",dateAvailableLabel:"It's available.",selectedLabel:"Selected.",chooseLabel:"Choose"};return So.default=r,So}var Do={},Gm;function CE(){if(Gm)return Do;Gm=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.default=void 0;const r={emptyState:"No rows match the filter criteria defined. Please remove one or more filters to view more data.",loadingState:"Loading rows.",searchAriaLabel:"Search by text",filterAdd:"Add Filter",filterExclude:"Exclude",filterApply:"Apply",filterExcludeRange:"Exclude range",filterExcludeValue:"Exclude value",filterAppliedTo:"filter applied to",optionsLabel:"Select column to filter by",optionsSearch:"Search for a column to filter by...",optionsEmpty:"No columns available.",categoricalFilterSearchLabel:"Search categories",categoricalFilterSelectAll:"Select All",categoricalFilterSelectClear:"Clear",categoricalFilterEmpty:"No categories found",datetimeFilterRange:"Range",datetimeFilterRangeDatetime:"Date, Time",datetimeFilterRangeDate:"Date",datetimeFilterRangeTime:"Time",datetimeFilterCategorical:"Categorical",datetimeFilterCategoricalWeekday:"Weekday",datetimeFilterCategoricalMonth:"Month",datetimeFilterCategoricalQuarter:"Quarter",datetimeFilterCategoricalHalf:"Half",datetimeFilterCategoricalFirstHalf:"H1",datetimeFilterCategoricalSecondHalf:"H2",datetimeFilterCategoricalYear:"Year",numericalFilterRange:"Range",numericalFilterSingleValue:"Single Value",booleanFilterTrue:"true",booleanFilterFalse:"false",booleanColumnTrueShort:"T",booleanColumnFalseShort:"F",selectRow:"Select row",selectAllRows:"Select all rows",sortColumn:"Sort column",textQueryPlaceholder:"Search..."};return Do.default=r,Do}var Oo={},Ym;function _E(){if(Ym)return Oo;Ym=1,Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.default=void 0;const r={ariaLabel:"button group"};return Oo.default=r,Oo}var Eo={},Vm;function TE(){if(Vm)return Eo;Vm=1,Object.defineProperty(Eo,"__esModule",{value:!0}),Eo.default=void 0;const r={added:"Uploading",buttonText:"Browse files",contentMessage:"or drop to upload",error:"Upload failed: ",processed:"Upload successful"};return Eo.default=r,Eo}var Co={},Km;function kE(){if(Km)return Co;Km=1,Object.defineProperty(Co,"__esModule",{value:!0}),Co.default=void 0;const r={dropFilesToUpload:"Drop files here to upload...",or:"",browseFiles:"Browse files",retry:"Retry Upload",cancel:"Cancel"};return Co.default=r,Co}var _o={},Zm;function AE(){if(Zm)return _o;Zm=1,Object.defineProperty(_o,"__esModule",{value:!0}),_o.default=void 0;const r={noResultsMsg:"No results",parentMenuItemAriaLabel:"You are currently at an item that opens a nested listbox. Press right arrow to enter that element and left arrow to return."};return _o.default=r,_o}var To={},Xm;function ME(){if(Xm)return To;Xm=1,Object.defineProperty(To,"__esModule",{value:!0}),To.default=void 0;const r={close:"Close"};return To.default=r,To}var ko={},$m;function wE(){if($m)return ko;$m=1,Object.defineProperty(ko,"__esModule",{value:!0}),ko.default=void 0;const r={close:"Close"};return ko.default=r,ko}var Ao={},Qm;function PE(){if(Qm)return Ao;Qm=1,Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.default=void 0;const r={prev:"Prev",next:"Next",preposition:"of"};return Ao.default=r,Ao}var Mo={},Jm;function RE(){if(Jm)return Mo;Jm=1,Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.default=void 0;const r={noResultsMsg:"No results found",placeholder:"Select...",create:"Create"};return Mo.default=r,Mo}var wo={},eb;function xE(){if(eb)return wo;eb=1,Object.defineProperty(wo,"__esModule",{value:!0}),wo.default=void 0;const r={close:"Close"};return wo.default=r,wo}var tb;function BE(){if(tb)return mo;tb=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.default=void 0;var r=S(DE()),a=S(OE()),i=S(EE()),u=S(CE()),c=S(_E()),f=S(TE()),l=S(kE()),m=S(AE()),p=S(ME()),d=S(wE()),b=S(PE()),h=S(RE()),g=S(xE());function S(D){return D&&D.__esModule?D:{default:D}}const y={accordion:r.default,breadcrumbs:a.default,datepicker:i.default,datatable:u.default,buttongroup:c.default,fileuploader:f.default,fileuploaderbasic:l.default,menu:m.default,modal:p.default,drawer:d.default,pagination:b.default,select:h.default,toast:g.default};return mo.default=y,mo}var rb;function v0(){if(rb)return Vn;rb=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.default=Vn.LocaleContext=void 0;var r=f(we()),a=u(SE()),i=u(BE());function u(p){return p&&p.__esModule?p:{default:p}}function c(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(c=function(h){return h?b:d})(p)}function f(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=c(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}const l=Vn.LocaleContext=r.createContext(i.default),m=p=>{const{locale:d,children:b}=p,h=r.useContext(l)??{};return r.createElement(l.Provider,{value:(0,a.default)(!0,{},i.default,h,d)},b)};return Vn.default=m,Vn}var Po={},h0=function(){var r=1,a=new WeakMap,i=function(u,c){return typeof u=="number"||typeof u=="string"?c?"idx-"+c:"val-"+u:a.has(u)?"uid"+a.get(u):(a.set(u,r++),i(u))};return i},LE=h0(),Os=function(r){return r===void 0&&(r=""),{value:1,prefix:r,uid:h0()}},jf=Os(),Es=re.createContext(Os()),SS=function(r){return r.value++},DS=function(r){return r?r.prefix:""};var If=function(r,a){return If=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var c in u)u.hasOwnProperty(c)&&(i[c]=u[c])},If(r,a)};function FE(r,a){If(r,a);function i(){this.constructor=r}r.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)}var nb=function(r,a,i){var u=a+r;return String(i?i(u):u)},OS=(function(r){FE(a,r);function a(){var i=r!==null&&r.apply(this,arguments)||this;return i.state={quartz:i.props.idSource||jf,prefix:DS(i.props.idSource),id:SS(i.props.idSource||jf)},i.uid=function(u){return nb(i.state.id+"-"+i.state.quartz.uid(u),i.state.prefix,i.props.name)},i}return a.prototype.render=function(){var i=this.props,u=i.children,c=i.name,f=this.state,l=f.id,m=f.prefix;return u(nb(l,m,c),this.uid)},a})(re.Component),NE=function(r){var a=r.children,i=r.prefix,u=i===void 0?"":i;return re.createElement(Es.Provider,{value:Os(u)},a)},zE=function(r){var a=r.children,i=r.prefix,u=i===void 0?"":i;return re.createElement(ES,null,function(c){return re.createElement(Es.Provider,{value:Os(c+"-"+u)},a)})},ES=function(r){var a=r.name,i=r.children;return re.createElement(Es.Consumer,null,function(u){return re.createElement(OS,{name:a,idSource:u,children:i})})},HE=function(r){var a=r||jf,i=DS(a),u=SS(a),c=i+u,f=function(l){return c+a.uid(l)};return{uid:c,gen:f}},CS=function(){return re.useState(HE(re.useContext(Es)))},jE=function(){var r=CS()[0].uid;return r},IE=function(){var r=CS()[0].gen;return r};const qE=Object.freeze(Object.defineProperty({__proto__:null,UID:OS,UIDConsumer:ES,UIDFork:zE,UIDReset:NE,generateUID:h0,uid:LE,useUID:jE,useUIDSeed:IE},Symbol.toStringTag,{value:"Module"})),Cs=Ja(qE);var rf={},br={},yr={},nf={exports:{}},Ze={};var ab;function UE(){if(ab)return Ze;ab=1;var r=60103,a=60106,i=60107,u=60108,c=60114,f=60109,l=60110,m=60112,p=60113,d=60120,b=60115,h=60116,g=60121,S=60122,y=60117,D=60129,O=60131;if(typeof Symbol=="function"&&Symbol.for){var A=Symbol.for;r=A("react.element"),a=A("react.portal"),i=A("react.fragment"),u=A("react.strict_mode"),c=A("react.profiler"),f=A("react.provider"),l=A("react.context"),m=A("react.forward_ref"),p=A("react.suspense"),d=A("react.suspense_list"),b=A("react.memo"),h=A("react.lazy"),g=A("react.block"),S=A("react.server.block"),y=A("react.fundamental"),D=A("react.debug_trace_mode"),O=A("react.legacy_hidden")}function C(K){if(typeof K=="object"&&K!==null){var se=K.$$typeof;switch(se){case r:switch(K=K.type,K){case i:case c:case u:case p:case d:return K;default:switch(K=K&&K.$$typeof,K){case l:case m:case h:case b:case f:return K;default:return se}}case a:return se}}}var k=f,T=r,_=m,L=i,R=h,F=b,Z=a,ee=c,G=u,ne=p;return Ze.ContextConsumer=l,Ze.ContextProvider=k,Ze.Element=T,Ze.ForwardRef=_,Ze.Fragment=L,Ze.Lazy=R,Ze.Memo=F,Ze.Portal=Z,Ze.Profiler=ee,Ze.StrictMode=G,Ze.Suspense=ne,Ze.isAsyncMode=function(){return!1},Ze.isConcurrentMode=function(){return!1},Ze.isContextConsumer=function(K){return C(K)===l},Ze.isContextProvider=function(K){return C(K)===f},Ze.isElement=function(K){return typeof K=="object"&&K!==null&&K.$$typeof===r},Ze.isForwardRef=function(K){return C(K)===m},Ze.isFragment=function(K){return C(K)===i},Ze.isLazy=function(K){return C(K)===h},Ze.isMemo=function(K){return C(K)===b},Ze.isPortal=function(K){return C(K)===a},Ze.isProfiler=function(K){return C(K)===c},Ze.isStrictMode=function(K){return C(K)===u},Ze.isSuspense=function(K){return C(K)===p},Ze.isValidElementType=function(K){return typeof K=="string"||typeof K=="function"||K===i||K===c||K===D||K===u||K===p||K===d||K===O||typeof K=="object"&&K!==null&&(K.$$typeof===h||K.$$typeof===b||K.$$typeof===f||K.$$typeof===l||K.$$typeof===m||K.$$typeof===y||K.$$typeof===g||K[0]===S)},Ze.typeOf=C,Ze}var ib;function _S(){return ib||(ib=1,nf.exports=UE()),nf.exports}var ob;function kt(){if(ob)return yr;ob=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.getOverride=m,yr.getOverrideProps=p,yr.getOverrides=b,yr.mergeConfigurationOverrides=S,yr.mergeOverride=g,yr.mergeOverrides=h,yr.toObjectOverride=d,yr.useOverrides=y;var r=f(we()),a=_S(),i=u(ti());function u(D){return D&&D.__esModule?D:{default:D}}function c(D){if(typeof WeakMap!="function")return null;var O=new WeakMap,A=new WeakMap;return(c=function(C){return C?A:O})(D)}function f(D,O){if(D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var A=c(O);if(A&&A.has(D))return A.get(D);var C={__proto__:null},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in D)if(T!=="default"&&Object.prototype.hasOwnProperty.call(D,T)){var _=k?Object.getOwnPropertyDescriptor(D,T):null;_&&(_.get||_.set)?Object.defineProperty(C,T,_):C[T]=D[T]}return C.default=D,A&&A.set(D,C),C}function l(){return l=Object.assign?Object.assign.bind():function(D){for(var O=1;O<arguments.length;O++){var A=arguments[O];for(var C in A)Object.prototype.hasOwnProperty.call(A,C)&&(D[C]=A[C])}return D},l.apply(this,arguments)}function m(D){return(0,a.isValidElementType)(D)?D:D&&typeof D=="object"?D.component:D}function p(D){return D&&typeof D=="object"?typeof D.props=="object"?{...D.props,$style:D.style}:{$style:D.style}:{}}function d(D){return(0,a.isValidElementType)(D)?{component:D}:D||{}}function b(D,O){const A=m(D)||O;if(D&&typeof D=="object"&&typeof D.props=="function"){const k=r.forwardRef((T,_)=>{const L=D.props(T),R=p({...D,props:L});return r.createElement(A,l({ref:_},R))});return k.displayName=A.displayName,[k,{}]}const C=p(D);return[A,C]}function h(D={},O={}){const A=Object.assign({},D,O);return Object.keys(A).reduce((k,T)=>(k[T]=g(d(D[T]),d(O[T])),k),{})}function g(D,O){const A={...D,...O};return D.props&&O.props&&(A.props=S(D.props,O.props)),D.style&&O.style&&(A.style=S(D.style,O.style)),A}function S(D,O){return typeof D=="object"&&typeof O=="object"?(0,i.default)({},D,O):(...A)=>(0,i.default)({},typeof D=="function"?D(...A):D,typeof O=="function"?O(...A):O)}function y(D,O={}){return r.useMemo(()=>Object.keys(D).reduce((A,C)=>(A[C]=b(O[C],D[C]),A),{}),[O])}return yr}var Sr={},lb;function ri(){if(lb)return Sr;lb=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.forkFocus=Sr.forkBlur=void 0,Sr.handleBlurVisible=g,Sr.initFocusVisible=S,Sr.isFocusVisible=h,Sr.teardown=b;let r=!1,a=!0,i=!1,u=null;const c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function f(O){const{type:A,tagName:C}=O;return!!(C==="INPUT"&&c[A]&&!O.readOnly||C==="TEXTAREA"&&!O.readOnly||O.isContentEditable)}function l(O){O.metaKey||O.altKey||O.ctrlKey||(a=!0)}function m(){a=!1}function p(){document.visibilityState==="hidden"&&i&&(a=!0)}function d(O){O.addEventListener("keydown",l,!0),O.addEventListener("mousedown",m,!0),O.addEventListener("pointerdown",m,!0),O.addEventListener("touchstart",m,!0),O.addEventListener("visibilitychange",p,!0)}function b(O){O.removeEventListener("keydown",l,!0),O.removeEventListener("mousedown",m,!0),O.removeEventListener("pointerdown",m,!0),O.removeEventListener("touchstart",m,!0),O.removeEventListener("visibilitychange",p,!0)}function h(O){try{return O.target.matches(":focus-visible")}catch{}return a||f(O.target)}function g(){i=!0,typeof document<"u"&&(window.clearTimeout(u),u=window.setTimeout(()=>{i=!1},100))}function S(O){!r&&O!=null&&(r=!0,d(O.ownerDocument))}const y=(O,A)=>C=>{typeof O.onFocus=="function"&&O.onFocus(C),A(C)};Sr.forkFocus=y;const D=(O,A)=>C=>{typeof O.onBlur=="function"&&O.onBlur(C),A(C)};return Sr.forkBlur=D,Sr}var ub;function TS(){if(ub)return br;ub=1,Object.defineProperty(br,"__esModule",{value:!0}),br.default=br.Provider=br.LayersContext=br.Consumer=void 0;var r=f(we()),a=wt(),i=kt(),u=ri();function c(A){if(typeof WeakMap!="function")return null;var C=new WeakMap,k=new WeakMap;return(c=function(T){return T?k:C})(A)}function f(A,C){if(A&&A.__esModule)return A;if(A===null||typeof A!="object"&&typeof A!="function")return{default:A};var k=c(C);if(k&&k.has(A))return k.get(A);var T={__proto__:null},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in A)if(L!=="default"&&Object.prototype.hasOwnProperty.call(A,L)){var R=_?Object.getOwnPropertyDescriptor(A,L):null;R&&(R.get||R.set)?Object.defineProperty(T,L,R):T[L]=A[L]}return T.default=A,k&&k.set(A,T),T}function l(){return l=Object.assign?Object.assign.bind():function(A){for(var C=1;C<arguments.length;C++){var k=arguments[C];for(var T in k)Object.prototype.hasOwnProperty.call(k,T)&&(A[T]=k[T])}return A},l.apply(this,arguments)}function m(A,C,k){return C=p(C),C in A?Object.defineProperty(A,C,{value:k,enumerable:!0,configurable:!0,writable:!0}):A[C]=k,A}function p(A){var C=d(A,"string");return typeof C=="symbol"?C:String(C)}function d(A,C){if(typeof A!="object"||!A)return A;var k=A[Symbol.toPrimitive];if(k!==void 0){var T=k.call(A,C);if(typeof T!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(A)}const b=(0,a.styled)("div",{});b.displayName="StyledAppContainer";const h=(0,a.styled)("div",{});h.displayName="StyledLayersContainer";function g(){}const S=br.LayersContext=r.createContext({addEscapeHandler:g,removeEscapeHandler:g,addKeyDownHandler:g,removeKeyDownHandler:g,addKeyUpHandler:g,removeKeyUpHandler:g,addKeyPressHandler:g,removeKeyPressHandler:g,addDocClickHandler:g,removeDocClickHandler:g,host:void 0,zIndex:void 0}),y=br.Provider=S.Provider,D=br.Consumer=S.Consumer;class O extends r.Component{constructor(C){super(C),m(this,"host",r.createRef()),m(this,"containerRef",r.createRef()),m(this,"onDocumentClick",k=>{const T=this.state.docClickHandlers[this.state.docClickHandlers.length-1];T&&T(k)}),m(this,"onKeyDown",k=>{const T=this.state.keyDownHandlers[this.state.keyDownHandlers.length-1];T&&T(k)}),m(this,"onKeyUp",k=>{if(k.key==="Escape"){const _=this.state.escapeKeyHandlers[this.state.escapeKeyHandlers.length-1];_&&_()}const T=this.state.keyUpHandlers[this.state.keyUpHandlers.length-1];T&&T(k)}),m(this,"onKeyPress",k=>{const T=this.state.keyPressHandlers[this.state.keyPressHandlers.length-1];T&&T(k)}),m(this,"onAddEscapeHandler",k=>{this.setState(T=>({escapeKeyHandlers:[...T.escapeKeyHandlers,k]}))}),m(this,"onRemoveEscapeHandler",k=>{this.setState(T=>({escapeKeyHandlers:T.escapeKeyHandlers.filter(_=>_!==k)}))}),m(this,"onAddKeyDownHandler",k=>{this.setState(T=>({keyDownHandlers:[...T.keyDownHandlers,k]}))}),m(this,"onRemoveKeyDownHandler",k=>{this.setState(T=>({keyDownHandlers:T.keyDownHandlers.filter(_=>_!==k)}))}),m(this,"onAddKeyUpHandler",k=>{this.setState(T=>({keyUpHandlers:[...T.keyUpHandlers,k]}))}),m(this,"onRemoveKeyUpHandler",k=>{this.setState(T=>({keyUpHandlers:T.keyUpHandlers.filter(_=>_!==k)}))}),m(this,"onAddKeyPressHandler",k=>{this.setState(T=>({keyPressHandlers:[...T.keyPressHandlers,k]}))}),m(this,"onRemoveKeyPressHandler",k=>{this.setState(T=>({keyPressHandlers:T.keyPressHandlers.filter(_=>_!==k)}))}),m(this,"onAddDocClickHandler",k=>{this.setState(T=>({docClickHandlers:[...T.docClickHandlers,k]}))}),m(this,"onRemoveDocClickHandler",k=>{this.setState(T=>({docClickHandlers:T.docClickHandlers.filter(_=>_!==k)}))}),this.state={escapeKeyHandlers:[],keyDownHandlers:[],keyUpHandlers:[],keyPressHandlers:[],docClickHandlers:[]}}componentDidMount(){this.forceUpdate(),(0,u.initFocusVisible)(this.containerRef.current),typeof document<"u"&&(document.addEventListener("keydown",this.onKeyDown),document.addEventListener("keyup",this.onKeyUp),document.addEventListener("keypress",this.onKeyPress),document.addEventListener("mousedown",this.onDocumentClick))}componentWillUnmount(){typeof document<"u"&&(document.removeEventListener("keydown",this.onKeyDown),document.removeEventListener("keyup",this.onKeyUp),document.removeEventListener("keypress",this.onKeyPress),document.removeEventListener("mousedown",this.onDocumentClick))}render(){const{overrides:C={}}=this.props,[k,T]=(0,i.getOverrides)(C.AppContainer,b),[_,L]=(0,i.getOverrides)(C.LayersContainer,h);return r.createElement(D,null,({host:R})=>r.createElement(y,{value:{host:R||this.host.current,zIndex:this.props.zIndex,addEscapeHandler:this.onAddEscapeHandler,removeEscapeHandler:this.onRemoveEscapeHandler,addKeyDownHandler:this.onAddKeyDownHandler,removeKeyDownHandler:this.onRemoveKeyDownHandler,addKeyUpHandler:this.onAddKeyUpHandler,removeKeyUpHandler:this.onRemoveKeyUpHandler,addKeyPressHandler:this.onAddKeyPressHandler,removeKeyPressHandler:this.onRemoveKeyPressHandler,addDocClickHandler:this.onAddDocClickHandler,removeDocClickHandler:this.onRemoveDocClickHandler}},r.createElement(k,l({},T,{ref:this.containerRef}),this.props.children),r.createElement(_,l({},L,{ref:this.host}))))}}return br.default=O,br}var qu={},sb;function WE(){if(sb)return qu;sb=1,Object.defineProperty(qu,"__esModule",{value:!0}),qu.default=S;var r=l(we()),a=c(r0()),i=wt(),u=TS();function c(y){return y&&y.__esModule?y:{default:y}}function f(y){if(typeof WeakMap!="function")return null;var D=new WeakMap,O=new WeakMap;return(f=function(A){return A?O:D})(y)}function l(y,D){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var O=f(D);if(O&&O.has(y))return O.get(y);var A={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in y)if(k!=="default"&&Object.prototype.hasOwnProperty.call(y,k)){var T=C?Object.getOwnPropertyDescriptor(y,k):null;T&&(T.get||T.set)?Object.defineProperty(A,k,T):A[k]=y[k]}return A.default=y,O&&O.set(y,A),A}function m(){return m=Object.assign?Object.assign.bind():function(y){for(var D=1;D<arguments.length;D++){var O=arguments[D];for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&(y[A]=O[A])}return y},m.apply(this,arguments)}function p(y,D,O){return D=d(D),D in y?Object.defineProperty(y,D,{value:O,enumerable:!0,configurable:!0,writable:!0}):y[D]=O,y}function d(y){var D=b(y,"string");return typeof D=="symbol"?D:String(D)}function b(y,D){if(typeof y!="object"||!y)return y;var O=y[Symbol.toPrimitive];if(O!==void 0){var A=O.call(y,D);if(typeof A!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(D==="string"?String:Number)(y)}const h=(0,i.styled)("div",({$zIndex:y})=>({position:"absolute",top:0,left:0,right:0,zIndex:y||null}));h.displayName="Container";class g extends r.Component{constructor(...D){super(...D),p(this,"context",void 0),p(this,"state",{container:null}),p(this,"onEscape",()=>{this.props.onEscape&&this.props.onEscape()}),p(this,"onKeyDown",O=>{this.props.onKeyDown&&this.props.onKeyDown(O)}),p(this,"onKeyUp",O=>{this.props.onKeyUp&&this.props.onKeyUp(O)}),p(this,"onKeyPress",O=>{this.props.onKeyPress&&this.props.onKeyPress(O)}),p(this,"onDocumentClick",O=>{this.props.onDocumentClick&&this.props.onDocumentClick(O)})}componentDidMount(){this.context.addEscapeHandler(this.onEscape),this.context.addKeyDownHandler(this.onKeyDown),this.context.addKeyUpHandler(this.onKeyUp),this.context.addKeyPressHandler(this.onKeyPress),this.props.isHoverLayer||this.context.addDocClickHandler(this.onDocumentClick);const{onMount:D,mountNode:O,host:A}=this.props;if(O){D&&D();return}const k=A!==void 0?A:document.body;k&&this.addContainer(k)}componentDidUpdate(D){const{host:O,mountNode:A}=this.props;A||(O&&O!==D.host&&D.host===null&&this.addContainer(O),D.isHoverLayer!=this.props.isHoverLayer&&(this.props.isHoverLayer?this.context.removeDocClickHandler(this.onDocumentClick):this.context.addDocClickHandler(this.onDocumentClick)))}componentWillUnmount(){this.context.removeEscapeHandler(this.onEscape),this.context.removeKeyDownHandler(this.onKeyDown),this.context.removeKeyUpHandler(this.onKeyUp),this.context.removeKeyPressHandler(this.onKeyPress),this.context.removeDocClickHandler(this.onDocumentClick),this.props.onUnmount&&this.props.onUnmount();const D=this.props.host,O=this.state.container;D&&O&&D.contains(O)&&D.removeChild(O)}addContainer(D){const{index:O,mountNode:A,onMount:C}=this.props;if(!A&&D){const k=D.ownerDocument.createElement("div"),T=typeof O=="number"?D.children[O]:null;T?D.insertBefore(k,T):D.appendChild(k),this.setState({container:k},()=>{C&&C()})}}render(){const{container:D}=this.state,{children:O,mountNode:A,zIndex:C}=this.props,k=C?r.createElement(h,{$zIndex:C},O):O;return typeof document<"u"?A?a.default.createPortal(k,A):D?a.default.createPortal(k,D):null:null}}p(g,"contextType",u.LayersContext);function S(y){return r.createElement(u.Consumer,null,({host:D,zIndex:O})=>r.createElement(g,m({},y,{host:D,zIndex:O})))}return qu}var Ro={};var gl=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",GE=(function(){for(var r=["Edge","Trident","Firefox"],a=0;a<r.length;a+=1)if(gl&&navigator.userAgent.indexOf(r[a])>=0)return 1;return 0})();function YE(r){var a=!1;return function(){a||(a=!0,window.Promise.resolve().then(function(){a=!1,r()}))}}function VE(r){var a=!1;return function(){a||(a=!0,setTimeout(function(){a=!1,r()},GE))}}var KE=gl&&window.Promise,ZE=KE?YE:VE;function kS(r){var a={};return r&&a.toString.call(r)==="[object Function]"}function Jn(r,a){if(r.nodeType!==1)return[];var i=r.ownerDocument.defaultView,u=i.getComputedStyle(r,null);return a?u[a]:u}function m0(r){return r.nodeName==="HTML"?r:r.parentNode||r.host}function vl(r){if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}var a=Jn(r),i=a.overflow,u=a.overflowX,c=a.overflowY;return/(auto|scroll|overlay)/.test(i+c+u)?r:vl(m0(r))}function AS(r){return r&&r.referenceNode?r.referenceNode:r}var cb=gl&&!!(window.MSInputMethodContext&&document.documentMode),db=gl&&/MSIE 10/.test(navigator.userAgent);function ni(r){return r===11?cb:r===10?db:cb||db}function Ya(r){if(!r)return document.documentElement;for(var a=ni(10)?document.body:null,i=r.offsetParent||null;i===a&&r.nextElementSibling;)i=(r=r.nextElementSibling).offsetParent;var u=i&&i.nodeName;return!u||u==="BODY"||u==="HTML"?r?r.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(i.nodeName)!==-1&&Jn(i,"position")==="static"?Ya(i):i}function XE(r){var a=r.nodeName;return a==="BODY"?!1:a==="HTML"||Ya(r.firstElementChild)===r}function qf(r){return r.parentNode!==null?qf(r.parentNode):r}function ss(r,a){if(!r||!r.nodeType||!a||!a.nodeType)return document.documentElement;var i=r.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING,u=i?r:a,c=i?a:r,f=document.createRange();f.setStart(u,0),f.setEnd(c,0);var l=f.commonAncestorContainer;if(r!==l&&a!==l||u.contains(c))return XE(l)?l:Ya(l);var m=qf(r);return m.host?ss(m.host,a):ss(r,qf(a).host)}function Va(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",i=a==="top"?"scrollTop":"scrollLeft",u=r.nodeName;if(u==="BODY"||u==="HTML"){var c=r.ownerDocument.documentElement,f=r.ownerDocument.scrollingElement||c;return f[i]}return r[i]}function $E(r,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,u=Va(a,"top"),c=Va(a,"left"),f=i?-1:1;return r.top+=u*f,r.bottom+=u*f,r.left+=c*f,r.right+=c*f,r}function fb(r,a){var i=a==="x"?"Left":"Top",u=i==="Left"?"Right":"Bottom";return parseFloat(r["border"+i+"Width"])+parseFloat(r["border"+u+"Width"])}function pb(r,a,i,u){return Math.max(a["offset"+r],a["scroll"+r],i["client"+r],i["offset"+r],i["scroll"+r],ni(10)?parseInt(i["offset"+r])+parseInt(u["margin"+(r==="Height"?"Top":"Left")])+parseInt(u["margin"+(r==="Height"?"Bottom":"Right")]):0)}function MS(r){var a=r.body,i=r.documentElement,u=ni(10)&&getComputedStyle(i);return{height:pb("Height",a,i,u),width:pb("Width",a,i,u)}}var QE=function(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")},JE=(function(){function r(a,i){for(var u=0;u<i.length;u++){var c=i[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}}return function(a,i,u){return i&&r(a.prototype,i),u&&r(a,u),a}})(),Ka=function(r,a,i){return a in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i,r},pr=Object.assign||function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r};function Cn(r){return pr({},r,{right:r.left+r.width,bottom:r.top+r.height})}function Uf(r){var a={};try{if(ni(10)){a=r.getBoundingClientRect();var i=Va(r,"top"),u=Va(r,"left");a.top+=i,a.left+=u,a.bottom+=i,a.right+=u}else a=r.getBoundingClientRect()}catch{}var c={left:a.left,top:a.top,width:a.right-a.left,height:a.bottom-a.top},f=r.nodeName==="HTML"?MS(r.ownerDocument):{},l=f.width||r.clientWidth||c.width,m=f.height||r.clientHeight||c.height,p=r.offsetWidth-l,d=r.offsetHeight-m;if(p||d){var b=Jn(r);p-=fb(b,"x"),d-=fb(b,"y"),c.width-=p,c.height-=d}return Cn(c)}function b0(r,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,u=ni(10),c=a.nodeName==="HTML",f=Uf(r),l=Uf(a),m=vl(r),p=Jn(a),d=parseFloat(p.borderTopWidth),b=parseFloat(p.borderLeftWidth);i&&c&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var h=Cn({top:f.top-l.top-d,left:f.left-l.left-b,width:f.width,height:f.height});if(h.marginTop=0,h.marginLeft=0,!u&&c){var g=parseFloat(p.marginTop),S=parseFloat(p.marginLeft);h.top-=d-g,h.bottom-=d-g,h.left-=b-S,h.right-=b-S,h.marginTop=g,h.marginLeft=S}return(u&&!i?a.contains(m):a===m&&m.nodeName!=="BODY")&&(h=$E(h,a)),h}function eC(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=r.ownerDocument.documentElement,u=b0(r,i),c=Math.max(i.clientWidth,window.innerWidth||0),f=Math.max(i.clientHeight,window.innerHeight||0),l=a?0:Va(i),m=a?0:Va(i,"left"),p={top:l-u.top+u.marginTop,left:m-u.left+u.marginLeft,width:c,height:f};return Cn(p)}function wS(r){var a=r.nodeName;if(a==="BODY"||a==="HTML")return!1;if(Jn(r,"position")==="fixed")return!0;var i=m0(r);return i?wS(i):!1}function PS(r){if(!r||!r.parentElement||ni())return document.documentElement;for(var a=r.parentElement;a&&Jn(a,"transform")==="none";)a=a.parentElement;return a||document.documentElement}function y0(r,a,i,u){var c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,f={top:0,left:0},l=c?PS(r):ss(r,AS(a));if(u==="viewport")f=eC(l,c);else{var m=void 0;u==="scrollParent"?(m=vl(m0(a)),m.nodeName==="BODY"&&(m=r.ownerDocument.documentElement)):u==="window"?m=r.ownerDocument.documentElement:m=u;var p=b0(m,l,c);if(m.nodeName==="HTML"&&!wS(l)){var d=MS(r.ownerDocument),b=d.height,h=d.width;f.top+=p.top-p.marginTop,f.bottom=b+p.top,f.left+=p.left-p.marginLeft,f.right=h+p.left}else f=p}i=i||0;var g=typeof i=="number";return f.left+=g?i:i.left||0,f.top+=g?i:i.top||0,f.right-=g?i:i.right||0,f.bottom-=g?i:i.bottom||0,f}function tC(r){var a=r.width,i=r.height;return a*i}function RS(r,a,i,u,c){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(r.indexOf("auto")===-1)return r;var l=y0(i,u,f,c),m={top:{width:l.width,height:a.top-l.top},right:{width:l.right-a.right,height:l.height},bottom:{width:l.width,height:l.bottom-a.bottom},left:{width:a.left-l.left,height:l.height}},p=Object.keys(m).map(function(g){return pr({key:g},m[g],{area:tC(m[g])})}).sort(function(g,S){return S.area-g.area}),d=p.filter(function(g){var S=g.width,y=g.height;return S>=i.clientWidth&&y>=i.clientHeight}),b=d.length>0?d[0].key:p[0].key,h=r.split("-")[1];return b+(h?"-"+h:"")}function xS(r,a,i){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,c=u?PS(a):ss(a,AS(i));return b0(i,c,u)}function BS(r){var a=r.ownerDocument.defaultView,i=a.getComputedStyle(r),u=parseFloat(i.marginTop||0)+parseFloat(i.marginBottom||0),c=parseFloat(i.marginLeft||0)+parseFloat(i.marginRight||0),f={width:r.offsetWidth+c,height:r.offsetHeight+u};return f}function cs(r){var a={left:"right",right:"left",bottom:"top",top:"bottom"};return r.replace(/left|right|bottom|top/g,function(i){return a[i]})}function LS(r,a,i){i=i.split("-")[0];var u=BS(r),c={width:u.width,height:u.height},f=["right","left"].indexOf(i)!==-1,l=f?"top":"left",m=f?"left":"top",p=f?"height":"width",d=f?"width":"height";return c[l]=a[l]+a[p]/2-u[p]/2,i===m?c[m]=a[m]-u[d]:c[m]=a[cs(m)],c}function hl(r,a){return Array.prototype.find?r.find(a):r.filter(a)[0]}function rC(r,a,i){if(Array.prototype.findIndex)return r.findIndex(function(c){return c[a]===i});var u=hl(r,function(c){return c[a]===i});return r.indexOf(u)}function FS(r,a,i){var u=i===void 0?r:r.slice(0,rC(r,"name",i));return u.forEach(function(c){c.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var f=c.function||c.fn;c.enabled&&kS(f)&&(a.offsets.popper=Cn(a.offsets.popper),a.offsets.reference=Cn(a.offsets.reference),a=f(a,c))}),a}function nC(){if(!this.state.isDestroyed){var r={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};r.offsets.reference=xS(this.state,this.popper,this.reference,this.options.positionFixed),r.placement=RS(this.options.placement,r.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),r.originalPlacement=r.placement,r.positionFixed=this.options.positionFixed,r.offsets.popper=LS(this.popper,r.offsets.reference,r.placement),r.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",r=FS(this.modifiers,r),this.state.isCreated?this.options.onUpdate(r):(this.state.isCreated=!0,this.options.onCreate(r))}}function NS(r,a){return r.some(function(i){var u=i.name,c=i.enabled;return c&&u===a})}function S0(r){for(var a=[!1,"ms","Webkit","Moz","O"],i=r.charAt(0).toUpperCase()+r.slice(1),u=0;u<a.length;u++){var c=a[u],f=c?""+c+i:r;if(typeof document.body.style[f]<"u")return f}return null}function aC(){return this.state.isDestroyed=!0,NS(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[S0("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function zS(r){var a=r.ownerDocument;return a?a.defaultView:window}function HS(r,a,i,u){var c=r.nodeName==="BODY",f=c?r.ownerDocument.defaultView:r;f.addEventListener(a,i,{passive:!0}),c||HS(vl(f.parentNode),a,i,u),u.push(f)}function iC(r,a,i,u){i.updateBound=u,zS(r).addEventListener("resize",i.updateBound,{passive:!0});var c=vl(r);return HS(c,"scroll",i.updateBound,i.scrollParents),i.scrollElement=c,i.eventsEnabled=!0,i}function oC(){this.state.eventsEnabled||(this.state=iC(this.reference,this.options,this.state,this.scheduleUpdate))}function lC(r,a){return zS(r).removeEventListener("resize",a.updateBound),a.scrollParents.forEach(function(i){i.removeEventListener("scroll",a.updateBound)}),a.updateBound=null,a.scrollParents=[],a.scrollElement=null,a.eventsEnabled=!1,a}function uC(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=lC(this.reference,this.state))}function D0(r){return r!==""&&!isNaN(parseFloat(r))&&isFinite(r)}function Wf(r,a){Object.keys(a).forEach(function(i){var u="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&D0(a[i])&&(u="px"),r.style[i]=a[i]+u})}function sC(r,a){Object.keys(a).forEach(function(i){var u=a[i];u!==!1?r.setAttribute(i,a[i]):r.removeAttribute(i)})}function cC(r){return Wf(r.instance.popper,r.styles),sC(r.instance.popper,r.attributes),r.arrowElement&&Object.keys(r.arrowStyles).length&&Wf(r.arrowElement,r.arrowStyles),r}function dC(r,a,i,u,c){var f=xS(c,a,r,i.positionFixed),l=RS(i.placement,f,a,r,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return a.setAttribute("x-placement",l),Wf(a,{position:i.positionFixed?"fixed":"absolute"}),i}function fC(r,a){var i=r.offsets,u=i.popper,c=i.reference,f=Math.round,l=Math.floor,m=function(A){return A},p=f(c.width),d=f(u.width),b=["left","right"].indexOf(r.placement)!==-1,h=r.placement.indexOf("-")!==-1,g=p%2===d%2,S=p%2===1&&d%2===1,y=a?b||h||g?f:l:m,D=a?f:m;return{left:y(S&&!h&&a?u.left-1:u.left),top:D(u.top),bottom:D(u.bottom),right:y(u.right)}}var pC=gl&&/Firefox/i.test(navigator.userAgent);function gC(r,a){var i=a.x,u=a.y,c=r.offsets.popper,f=hl(r.instance.modifiers,function(k){return k.name==="applyStyle"}).gpuAcceleration;f!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var l=f!==void 0?f:a.gpuAcceleration,m=Ya(r.instance.popper),p=Uf(m),d={position:c.position},b=fC(r,window.devicePixelRatio<2||!pC),h=i==="bottom"?"top":"bottom",g=u==="right"?"left":"right",S=S0("transform"),y=void 0,D=void 0;if(h==="bottom"?m.nodeName==="HTML"?D=-m.clientHeight+b.bottom:D=-p.height+b.bottom:D=b.top,g==="right"?m.nodeName==="HTML"?y=-m.clientWidth+b.right:y=-p.width+b.right:y=b.left,l&&S)d[S]="translate3d("+y+"px, "+D+"px, 0)",d[h]=0,d[g]=0,d.willChange="transform";else{var O=h==="bottom"?-1:1,A=g==="right"?-1:1;d[h]=D*O,d[g]=y*A,d.willChange=h+", "+g}var C={"x-placement":r.placement};return r.attributes=pr({},C,r.attributes),r.styles=pr({},d,r.styles),r.arrowStyles=pr({},r.offsets.arrow,r.arrowStyles),r}function jS(r,a,i){var u=hl(r,function(m){var p=m.name;return p===a}),c=!!u&&r.some(function(m){return m.name===i&&m.enabled&&m.order<u.order});if(!c){var f="`"+a+"`",l="`"+i+"`";console.warn(l+" modifier is required by "+f+" modifier in order to work, be sure to include it before "+f+"!")}return c}function vC(r,a){var i;if(!jS(r.instance.modifiers,"arrow","keepTogether"))return r;var u=a.element;if(typeof u=="string"){if(u=r.instance.popper.querySelector(u),!u)return r}else if(!r.instance.popper.contains(u))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),r;var c=r.placement.split("-")[0],f=r.offsets,l=f.popper,m=f.reference,p=["left","right"].indexOf(c)!==-1,d=p?"height":"width",b=p?"Top":"Left",h=b.toLowerCase(),g=p?"left":"top",S=p?"bottom":"right",y=BS(u)[d];m[S]-y<l[h]&&(r.offsets.popper[h]-=l[h]-(m[S]-y)),m[h]+y>l[S]&&(r.offsets.popper[h]+=m[h]+y-l[S]),r.offsets.popper=Cn(r.offsets.popper);var D=m[h]+m[d]/2-y/2,O=Jn(r.instance.popper),A=parseFloat(O["margin"+b]),C=parseFloat(O["border"+b+"Width"]),k=D-r.offsets.popper[h]-A-C;return k=Math.max(Math.min(l[d]-y,k),0),r.arrowElement=u,r.offsets.arrow=(i={},Ka(i,h,Math.round(k)),Ka(i,g,""),i),r}function hC(r){return r==="end"?"start":r==="start"?"end":r}var IS=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],af=IS.slice(3);function gb(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=af.indexOf(r),u=af.slice(i+1).concat(af.slice(0,i));return a?u.reverse():u}var of={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function mC(r,a){if(NS(r.instance.modifiers,"inner")||r.flipped&&r.placement===r.originalPlacement)return r;var i=y0(r.instance.popper,r.instance.reference,a.padding,a.boundariesElement,r.positionFixed),u=r.placement.split("-")[0],c=cs(u),f=r.placement.split("-")[1]||"",l=[];switch(a.behavior){case of.FLIP:l=[u,c];break;case of.CLOCKWISE:l=gb(u);break;case of.COUNTERCLOCKWISE:l=gb(u,!0);break;default:l=a.behavior}return l.forEach(function(m,p){if(u!==m||l.length===p+1)return r;u=r.placement.split("-")[0],c=cs(u);var d=r.offsets.popper,b=r.offsets.reference,h=Math.floor,g=u==="left"&&h(d.right)>h(b.left)||u==="right"&&h(d.left)<h(b.right)||u==="top"&&h(d.bottom)>h(b.top)||u==="bottom"&&h(d.top)<h(b.bottom),S=h(d.left)<h(i.left),y=h(d.right)>h(i.right),D=h(d.top)<h(i.top),O=h(d.bottom)>h(i.bottom),A=u==="left"&&S||u==="right"&&y||u==="top"&&D||u==="bottom"&&O,C=["top","bottom"].indexOf(u)!==-1,k=!!a.flipVariations&&(C&&f==="start"&&S||C&&f==="end"&&y||!C&&f==="start"&&D||!C&&f==="end"&&O),T=!!a.flipVariationsByContent&&(C&&f==="start"&&y||C&&f==="end"&&S||!C&&f==="start"&&O||!C&&f==="end"&&D),_=k||T;(g||A||_)&&(r.flipped=!0,(g||A)&&(u=l[p+1]),_&&(f=hC(f)),r.placement=u+(f?"-"+f:""),r.offsets.popper=pr({},r.offsets.popper,LS(r.instance.popper,r.offsets.reference,r.placement)),r=FS(r.instance.modifiers,r,"flip"))}),r}function bC(r){var a=r.offsets,i=a.popper,u=a.reference,c=r.placement.split("-")[0],f=Math.floor,l=["top","bottom"].indexOf(c)!==-1,m=l?"right":"bottom",p=l?"left":"top",d=l?"width":"height";return i[m]<f(u[p])&&(r.offsets.popper[p]=f(u[p])-i[d]),i[p]>f(u[m])&&(r.offsets.popper[p]=f(u[m])),r}function yC(r,a,i,u){var c=r.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+c[1],l=c[2];if(!f)return r;if(l.indexOf("%")===0){var m=void 0;l==="%p"?m=i:m=u;var p=Cn(m);return p[a]/100*f}else if(l==="vh"||l==="vw"){var d=void 0;return l==="vh"?d=Math.max(document.documentElement.clientHeight,window.innerHeight||0):d=Math.max(document.documentElement.clientWidth,window.innerWidth||0),d/100*f}else return f}function SC(r,a,i,u){var c=[0,0],f=["right","left"].indexOf(u)!==-1,l=r.split(/(\+|\-)/).map(function(b){return b.trim()}),m=l.indexOf(hl(l,function(b){return b.search(/,|\s/)!==-1}));l[m]&&l[m].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,d=m!==-1?[l.slice(0,m).concat([l[m].split(p)[0]]),[l[m].split(p)[1]].concat(l.slice(m+1))]:[l];return d=d.map(function(b,h){var g=(h===1?!f:f)?"height":"width",S=!1;return b.reduce(function(y,D){return y[y.length-1]===""&&["+","-"].indexOf(D)!==-1?(y[y.length-1]=D,S=!0,y):S?(y[y.length-1]+=D,S=!1,y):y.concat(D)},[]).map(function(y){return yC(y,g,a,i)})}),d.forEach(function(b,h){b.forEach(function(g,S){D0(g)&&(c[h]+=g*(b[S-1]==="-"?-1:1))})}),c}function DC(r,a){var i=a.offset,u=r.placement,c=r.offsets,f=c.popper,l=c.reference,m=u.split("-")[0],p=void 0;return D0(+i)?p=[+i,0]:p=SC(i,f,l,m),m==="left"?(f.top+=p[0],f.left-=p[1]):m==="right"?(f.top+=p[0],f.left+=p[1]):m==="top"?(f.left+=p[0],f.top-=p[1]):m==="bottom"&&(f.left+=p[0],f.top+=p[1]),r.popper=f,r}function OC(r,a){var i=a.boundariesElement||Ya(r.instance.popper);r.instance.reference===i&&(i=Ya(i));var u=S0("transform"),c=r.instance.popper.style,f=c.top,l=c.left,m=c[u];c.top="",c.left="",c[u]="";var p=y0(r.instance.popper,r.instance.reference,a.padding,i,r.positionFixed);c.top=f,c.left=l,c[u]=m,a.boundaries=p;var d=a.priority,b=r.offsets.popper,h={primary:function(S){var y=b[S];return b[S]<p[S]&&!a.escapeWithReference&&(y=Math.max(b[S],p[S])),Ka({},S,y)},secondary:function(S){var y=S==="right"?"left":"top",D=b[y];return b[S]>p[S]&&!a.escapeWithReference&&(D=Math.min(b[y],p[S]-(S==="right"?b.width:b.height))),Ka({},y,D)}};return d.forEach(function(g){var S=["left","top"].indexOf(g)!==-1?"primary":"secondary";b=pr({},b,h[S](g))}),r.offsets.popper=b,r}function EC(r){var a=r.placement,i=a.split("-")[0],u=a.split("-")[1];if(u){var c=r.offsets,f=c.reference,l=c.popper,m=["bottom","top"].indexOf(i)!==-1,p=m?"left":"top",d=m?"width":"height",b={start:Ka({},p,f[p]),end:Ka({},p,f[p]+f[d]-l[d])};r.offsets.popper=pr({},l,b[u])}return r}function CC(r){if(!jS(r.instance.modifiers,"hide","preventOverflow"))return r;var a=r.offsets.reference,i=hl(r.instance.modifiers,function(u){return u.name==="preventOverflow"}).boundaries;if(a.bottom<i.top||a.left>i.right||a.top>i.bottom||a.right<i.left){if(r.hide===!0)return r;r.hide=!0,r.attributes["x-out-of-boundaries"]=""}else{if(r.hide===!1)return r;r.hide=!1,r.attributes["x-out-of-boundaries"]=!1}return r}function _C(r){var a=r.placement,i=a.split("-")[0],u=r.offsets,c=u.popper,f=u.reference,l=["left","right"].indexOf(i)!==-1,m=["top","left"].indexOf(i)===-1;return c[l?"left":"top"]=f[i]-(m?c[l?"width":"height"]:0),r.placement=cs(a),r.offsets.popper=Cn(c),r}var TC={shift:{order:100,enabled:!0,fn:EC},offset:{order:200,enabled:!0,fn:DC,offset:0},preventOverflow:{order:300,enabled:!0,fn:OC,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:bC},arrow:{order:500,enabled:!0,fn:vC,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:mC,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:_C},hide:{order:800,enabled:!0,fn:CC},computeStyle:{order:850,enabled:!0,fn:gC,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:cC,onLoad:dC,gpuAcceleration:void 0}},kC={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:TC},_s=(function(){function r(a,i){var u=this,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};QE(this,r),this.scheduleUpdate=function(){return requestAnimationFrame(u.update)},this.update=ZE(this.update.bind(this)),this.options=pr({},r.Defaults,c),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=a&&a.jquery?a[0]:a,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(pr({},r.Defaults.modifiers,c.modifiers)).forEach(function(l){u.options.modifiers[l]=pr({},r.Defaults.modifiers[l]||{},c.modifiers?c.modifiers[l]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(l){return pr({name:l},u.options.modifiers[l])}).sort(function(l,m){return l.order-m.order}),this.modifiers.forEach(function(l){l.enabled&&kS(l.onLoad)&&l.onLoad(u.reference,u.popper,u.options,l,u.state)}),this.update();var f=this.options.eventsEnabled;f&&this.enableEventListeners(),this.state.eventsEnabled=f}return JE(r,[{key:"update",value:function(){return nC.call(this)}},{key:"destroy",value:function(){return aC.call(this)}},{key:"enableEventListeners",value:function(){return oC.call(this)}},{key:"disableEventListeners",value:function(){return uC.call(this)}}]),r})();_s.Utils=(typeof window<"u"?window:global).PopperUtils;_s.placements=IS;_s.Defaults=kC;const AC=Object.freeze(Object.defineProperty({__proto__:null,default:_s},Symbol.toStringTag,{value:"Module"})),MC=Ja(AC);var xo={},vb;function wC(){if(vb)return xo;vb=1,Object.defineProperty(xo,"__esModule",{value:!0}),xo.parsePopperOffset=a,xo.toPopperPlacement=r;function r(i){return i.replace(/(Top|Left)$/,"-start").replace(/(Right|Bottom)$/,"-end")}function a(i){return{top:Math.floor(i.top||0),left:Math.floor(i.left||0)}}return xo}var Bo={},hb;function qS(){return hb||(hb=1,Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.TETHER_PLACEMENT=void 0,Bo.TETHER_PLACEMENT={auto:"auto",topLeft:"topLeft",top:"top",topRight:"topRight",rightTop:"rightTop",right:"right",rightBottom:"rightBottom",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft",leftBottom:"leftBottom",left:"left",leftTop:"leftTop"}),Bo}var mb;function PC(){if(mb)return Ro;mb=1,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=void 0;var r=l(we()),a=c(MC),i=wC(),u=qS();function c(h){return h&&h.__esModule?h:{default:h}}function f(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,S=new WeakMap;return(f=function(y){return y?S:g})(h)}function l(h,g){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var S=f(g);if(S&&S.has(h))return S.get(h);var y={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var A=D?Object.getOwnPropertyDescriptor(h,O):null;A&&(A.get||A.set)?Object.defineProperty(y,O,A):y[O]=h[O]}return y.default=h,S&&S.set(h,y),y}function m(h,g,S){return g=p(g),g in h?Object.defineProperty(h,g,{value:S,enumerable:!0,configurable:!0,writable:!0}):h[g]=S,h}function p(h){var g=d(h,"string");return typeof g=="symbol"?g:String(g)}function d(h,g){if(typeof h!="object"||!h)return h;var S=h[Symbol.toPrimitive];if(S!==void 0){var y=S.call(h,g);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(h)}class b extends r.Component{constructor(...g){super(...g),m(this,"popper",void 0),m(this,"popperHeight",0),m(this,"popperWidth",0),m(this,"anchorHeight",0),m(this,"anchorWidth",0),m(this,"state",{isMounted:!1}),m(this,"onPopperUpdate",S=>{const y={popper:(0,i.parsePopperOffset)(S.offsets.popper),arrow:S.offsets.arrow?(0,i.parsePopperOffset)(S.offsets.arrow):{top:0,left:0}};this.props.onPopperUpdate(y,S)})}componentDidMount(){this.setState({isMounted:!0})}componentDidUpdate(g,S){if(this.props.anchorRef){const{height:y,width:D}=this.props.anchorRef.getBoundingClientRect();(this.anchorHeight!==y||this.anchorWidth!==D)&&(this.anchorHeight=y,this.anchorWidth=D,this.popper&&this.popper.scheduleUpdate())}if(this.props.popperRef){const{height:y,width:D}=this.props.popperRef.getBoundingClientRect();(this.popperHeight!==y||this.popperWidth!==D)&&(this.popperHeight=y,this.popperWidth=D,this.popper&&this.popper.scheduleUpdate()),this.state.isMounted!==S.isMounted&&this.props.anchorRef&&this.initializePopper()}}componentWillUnmount(){this.destroyPopover()}initializePopper(){const{placement:g,popperOptions:S}=this.props,{modifiers:y,...D}=S;!this.props.anchorRef||!this.props.popperRef||(this.popper=new a.default(this.props.anchorRef,this.props.popperRef,{placement:(0,i.toPopperPlacement)(g),modifiers:{arrow:{element:this.props.arrowRef,enabled:!!this.props.arrowRef},computeStyle:{gpuAcceleration:!1},applyStyle:{enabled:!1},applyReactStyle:{enabled:!0,fn:this.onPopperUpdate,order:900},preventOverflow:{enabled:!0},...y},...D}))}destroyPopover(){this.popper&&(this.popper.destroy(),delete this.popper)}render(){return this.props.children||null}}return m(b,"defaultProps",{anchorRef:null,onPopperUpdate:()=>null,placement:u.TETHER_PLACEMENT.auto,popperRef:null,popperOptions:{}}),Ro.default=b,Ro}var bb={},yb;function RC(){return yb||(yb=1),bb}var Sb;function US(){return Sb||(Sb=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={LayersManager:!0,LayersContext:!0,Layer:!0,TetherBehavior:!0,TETHER_PLACEMENT:!0};Object.defineProperty(r,"Layer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"LayersContext",{enumerable:!0,get:function(){return i.LayersContext}}),Object.defineProperty(r,"LayersManager",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"TETHER_PLACEMENT",{enumerable:!0,get:function(){return f.TETHER_PLACEMENT}}),Object.defineProperty(r,"TetherBehavior",{enumerable:!0,get:function(){return c.default}});var i=d(TS()),u=m(WE()),c=m(PC()),f=qS(),l=RC();Object.keys(l).forEach(function(b){b==="default"||b==="__esModule"||Object.prototype.hasOwnProperty.call(a,b)||b in r&&r[b]===l[b]||Object.defineProperty(r,b,{enumerable:!0,get:function(){return l[b]}})});function m(b){return b&&b.__esModule?b:{default:b}}function p(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(p=function(S){return S?g:h})(b)}function d(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=p(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}})(rf)),rf}var Db;function xC(){if(Db)return Po;Db=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.default=void 0;var r=f(we()),a=Cs,i=US(),u=wt();function c(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(c=function(b){return b?d:p})(m)}function f(m,p){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var d=c(p);if(d&&d.has(m))return d.get(m);var b={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in m)if(g!=="default"&&Object.prototype.hasOwnProperty.call(m,g)){var S=h?Object.getOwnPropertyDescriptor(m,g):null;S&&(S.get||S.set)?Object.defineProperty(b,g,S):b[g]=m[g]}return b.default=m,d&&d.set(m,b),b}const l=m=>{const{children:p,overrides:d,theme:b,zIndex:h}=m;return r.createElement(i.LayersManager,{zIndex:h,overrides:d},r.createElement(a.UIDReset,{prefix:"bui"},r.createElement(u.ThemeProvider,{theme:b},p)))};return Po.default=l,Po}var Ob;function BC(){return Ob||(Ob=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BaseProvider",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"DarkTheme",{enumerable:!0,get:function(){return i.DarkTheme}}),Object.defineProperty(r,"DarkThemeMove",{enumerable:!0,get:function(){return i.DarkThemeMove}}),Object.defineProperty(r,"LightTheme",{enumerable:!0,get:function(){return i.LightTheme}}),Object.defineProperty(r,"LightThemeMove",{enumerable:!0,get:function(){return i.LightThemeMove}}),Object.defineProperty(r,"LocaleProvider",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"ThemeConsumer",{enumerable:!0,get:function(){return a.ThemeConsumer}}),Object.defineProperty(r,"ThemeProvider",{enumerable:!0,get:function(){return a.ThemeProvider}}),Object.defineProperty(r,"createDarkTheme",{enumerable:!0,get:function(){return i.createDarkTheme}}),Object.defineProperty(r,"createLightTheme",{enumerable:!0,get:function(){return i.createLightTheme}}),Object.defineProperty(r,"createTheme",{enumerable:!0,get:function(){return i.createTheme}}),Object.defineProperty(r,"createThemedStyled",{enumerable:!0,get:function(){return a.createThemedStyled}}),Object.defineProperty(r,"createThemedUseStyletron",{enumerable:!0,get:function(){return a.createThemedUseStyletron}}),Object.defineProperty(r,"createThemedWithStyle",{enumerable:!0,get:function(){return a.createThemedWithStyle}}),Object.defineProperty(r,"darkThemeOverrides",{enumerable:!0,get:function(){return i.darkThemeOverrides}}),Object.defineProperty(r,"darkThemePrimitives",{enumerable:!0,get:function(){return i.darkThemePrimitives}}),Object.defineProperty(r,"getOverrides",{enumerable:!0,get:function(){return f.getOverrides}}),Object.defineProperty(r,"lightThemePrimitives",{enumerable:!0,get:function(){return i.lightThemePrimitives}}),Object.defineProperty(r,"mergeOverrides",{enumerable:!0,get:function(){return f.mergeOverrides}}),Object.defineProperty(r,"styled",{enumerable:!0,get:function(){return a.styled}}),Object.defineProperty(r,"useStyletron",{enumerable:!0,get:function(){return a.useStyletron}}),Object.defineProperty(r,"withStyle",{enumerable:!0,get:function(){return a.withStyle}}),Object.defineProperty(r,"withWrapper",{enumerable:!0,get:function(){return a.withWrapper}});var a=wt(),i=rS(),u=l(v0()),c=l(xC()),f=kt();function l(m){return m&&m.__esModule?m:{default:m}}})($d)),$d}var Tr=BC();function LC(r){if(r.sheet)return r.sheet;for(let a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===r)return document.styleSheets[a]}function FC(r){const a=document.createElement("style");return typeof r.nonce<"u"&&a.setAttribute("nonce",r.nonce),a.appendChild(document.createTextNode("")),a}class NC{constructor(a){this.isSpeedy=typeof a.speedy>"u"?!0:a.speedy,this.tags=[],this.ctr=0,this.nonce=a.nonce,this.container=a.container,this.before=null}insert(a){if(this.ctr%(this.isSpeedy?65e3:1)===0){const u=FC(this);let c;this.tags.length===0?c=this.before:c=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(u,c),this.tags.push(u)}const i=this.tags[this.tags.length-1];if(this.isSpeedy){const u=LC(i);a.forEach(c=>{try{u.insertRule(c,u.cssRules.length)}catch{}})}else i.appendChild(document.createTextNode(a.join("")));this.ctr++}flush(){this.tags.forEach(a=>a.parentNode.removeChild(a)),this.tags=[],this.ctr=0}}const zC=/[A-Z]/g,HC=/^ms-/,lf={};function ls(r){return r in lf?lf[r]:lf[r]=r.replace(zC,"-$&").toLowerCase().replace(HC,"-ms-")}function Gf(r){return r.charAt(0).toUpperCase()+r.slice(1)}function jC(r,a,i){if(r.hasOwnProperty(a)){for(var u={},c=r[a],f=Gf(a),l=Object.keys(i),m=0;m<l.length;m++){var p=l[m];if(p===a)for(var d=0;d<c.length;d++)u[c[d]+f]=i[a];u[p]=i[p]}return u}return i}function Eb(r,a,i,u,c){for(var f=0,l=r.length;f<l;++f){var m=r[f](a,i,u,c);if(m)return m}}function Cb(r,a){r.indexOf(a)===-1&&r.push(a)}function IC(r,a){if(Array.isArray(a))for(var i=0,u=a.length;i<u;++i)Cb(r,a[i]);else Cb(r,a)}function qC(r){return r instanceof Object&&!Array.isArray(r)}function UC(r){var a=r.prefixMap,i=r.plugins;return function u(c){for(var f in c){var l=c[f];if(qC(l))c[f]=u(l);else if(Array.isArray(l)){for(var m=[],p=0,d=l.length;p<d;++p){var b=Eb(i,f,l[p],c,a);IC(m,b||l[p])}m.length>0&&(c[f]=m)}else{var h=Eb(i,f,l,c,a);h&&(c[f]=h),c=jC(a,f,c)}}return c}}var Oe=["Webkit"],WC=["Moz"],uf=["ms"],GC=["Webkit","Moz"],jt=["Webkit","ms"],YC=["Webkit","Moz","ms"];const VC={prefixMap:{appearance:GC,textEmphasisPosition:Oe,textEmphasis:Oe,textEmphasisStyle:Oe,textEmphasisColor:Oe,boxDecorationBreak:Oe,maskImage:Oe,maskMode:Oe,maskRepeat:Oe,maskPosition:Oe,maskClip:Oe,maskOrigin:Oe,maskSize:Oe,maskComposite:Oe,mask:Oe,maskBorderSource:Oe,maskBorderMode:Oe,maskBorderSlice:Oe,maskBorderWidth:Oe,maskBorderOutset:Oe,maskBorderRepeat:Oe,maskBorder:Oe,maskType:Oe,textDecorationStyle:Oe,textDecorationSkip:Oe,textDecorationLine:Oe,textDecorationColor:Oe,userSelect:YC,backdropFilter:Oe,fontKerning:Oe,scrollSnapType:jt,scrollSnapPointsX:jt,scrollSnapPointsY:jt,scrollSnapDestination:jt,scrollSnapCoordinate:jt,clipPath:Oe,shapeImageThreshold:Oe,shapeImageMargin:Oe,shapeImageOutside:Oe,filter:Oe,hyphens:jt,flowInto:jt,flowFrom:jt,breakBefore:jt,breakAfter:jt,breakInside:jt,regionFragment:jt,writingMode:jt,textOrientation:Oe,tabSize:WC,fontFeatureSettings:Oe,columnCount:Oe,columnFill:Oe,columnGap:Oe,columnRule:Oe,columnRuleColor:Oe,columnRuleStyle:Oe,columnRuleWidth:Oe,columns:Oe,columnSpan:Oe,columnWidth:Oe,wrapFlow:uf,wrapThrough:uf,wrapMargin:uf,textSizeAdjust:jt}};function KC(r,a){if(typeof a=="string"&&a==="text")return["-webkit-text","text"]}var ZC=["-webkit-","-moz-",""],XC={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};function $C(r,a){if(r==="cursor"&&XC.hasOwnProperty(a))return ZC.map(function(i){return i+a})}var Uu={exports:{}},_b;function QC(){return _b||(_b=1,(function(r,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=u;var i=/-webkit-|-moz-|-ms-/;function u(c){return typeof c=="string"&&i.test(c)}r.exports=a.default})(Uu,Uu.exports)),Uu.exports}var JC=QC();const ml=bs(JC);var e_=["-webkit-",""];function t_(r,a){if(typeof a=="string"&&!ml(a)&&a.indexOf("cross-fade(")>-1)return e_.map(function(i){return a.replace(/cross-fade\(/g,i+"cross-fade(")})}var r_=["-webkit-",""];function n_(r,a){if(typeof a=="string"&&!ml(a)&&a.indexOf("filter(")>-1)return r_.map(function(i){return a.replace(/filter\(/g,i+"filter(")})}var Tb={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};function a_(r,a){if(r==="display"&&Tb.hasOwnProperty(a))return Tb[a]}var i_={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},kb={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"};function o_(r,a,i){r==="flexDirection"&&typeof a=="string"&&(a.indexOf("column")>-1?i.WebkitBoxOrient="vertical":i.WebkitBoxOrient="horizontal",a.indexOf("reverse")>-1?i.WebkitBoxDirection="reverse":i.WebkitBoxDirection="normal"),kb.hasOwnProperty(r)&&(i[kb[r]]=i_[a]||a)}var l_=["-webkit-","-moz-",""],Ab=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi;function u_(r,a){if(typeof a=="string"&&!ml(a)&&Ab.test(a))return l_.map(function(i){return a.replace(Ab,function(u){return i+u})})}var Wu=(function(){function r(a,i){var u=[],c=!0,f=!1,l=void 0;try{for(var m=a[Symbol.iterator](),p;!(c=(p=m.next()).done)&&(u.push(p.value),!(i&&u.length===i));c=!0);}catch(d){f=!0,l=d}finally{try{!c&&m.return&&m.return()}finally{if(f)throw l}}return u}return function(a,i){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return r(a,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function En(r){return typeof r=="number"&&!isNaN(r)}function Mb(r){return typeof r=="string"&&r.includes("/")}var wb=["center","end","start","stretch"],Pb={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},_r={alignSelf:function(a,i){wb.indexOf(a)>-1&&(i.msGridRowAlign=a)},gridColumn:function(a,i){if(En(a))i.msGridColumn=a;else if(Mb(a)){var u=a.split("/"),c=Wu(u,2),f=c[0],l=c[1];_r.gridColumnStart(+f,i);var m=l.split(/ ?span /),p=Wu(m,2),d=p[0],b=p[1];d===""?_r.gridColumnEnd(+f+ +b,i):_r.gridColumnEnd(+l,i)}else _r.gridColumnStart(a,i)},gridColumnEnd:function(a,i){var u=i.msGridColumn;En(a)&&En(u)&&(i.msGridColumnSpan=a-u)},gridColumnStart:function(a,i){En(a)&&(i.msGridColumn=a)},gridRow:function(a,i){if(En(a))i.msGridRow=a;else if(Mb(a)){var u=a.split("/"),c=Wu(u,2),f=c[0],l=c[1];_r.gridRowStart(+f,i);var m=l.split(/ ?span /),p=Wu(m,2),d=p[0],b=p[1];d===""?_r.gridRowEnd(+f+ +b,i):_r.gridRowEnd(+l,i)}else _r.gridRowStart(a,i)},gridRowEnd:function(a,i){var u=i.msGridRow;En(a)&&En(u)&&(i.msGridRowSpan=a-u)},gridRowStart:function(a,i){En(a)&&(i.msGridRow=a)},gridTemplateColumns:function(a,i){i.msGridColumns=a},gridTemplateRows:function(a,i){i.msGridRows=a},justifySelf:function(a,i){wb.indexOf(a)>-1&&(i.msGridColumnAlign=a)}};function s_(r,a,i){if(r==="display"&&a in Pb)return Pb[a];if(r in _r){var u=_r[r];u(a,i)}}var c_=["-webkit-",""];function d_(r,a){if(typeof a=="string"&&!ml(a)&&a.indexOf("image-set(")>-1)return c_.map(function(i){return a.replace(/image-set\(/g,i+"image-set(")})}var Rb={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]};function f_(r,a,i){if(Object.prototype.hasOwnProperty.call(Rb,r))for(var u=Rb[r],c=0,f=u.length;c<f;++c)i[u[c]]=a}function p_(r,a){if(r==="position"&&a==="sticky")return["-webkit-sticky","sticky"]}var g_=["-webkit-","-moz-",""],v_={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},h_={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};function m_(r,a){if(v_.hasOwnProperty(r)&&h_.hasOwnProperty(a))return g_.map(function(i){return i+a})}var Gu={exports:{}},b_=/[A-Z]/g,y_=/^ms-/,sf={};function S_(r){return"-"+r.toLowerCase()}function D_(r){if(sf.hasOwnProperty(r))return sf[r];var a=r.replace(b_,S_);return sf[r]=y_.test(a)?"-"+a:a}const O_=Object.freeze(Object.defineProperty({__proto__:null,default:D_},Symbol.toStringTag,{value:"Module"})),E_=Ja(O_);var xb;function C_(){return xb||(xb=1,(function(r,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=f;var i=E_,u=c(i);function c(l){return l&&l.__esModule?l:{default:l}}function f(l){return(0,u.default)(l)}r.exports=a.default})(Gu,Gu.exports)),Gu.exports}var __=C_();const T_=bs(__);var k_={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},A_={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};function M_(r,a){if(ml(r))return r;for(var i=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g),u=0,c=i.length;u<c;++u){var f=i[u],l=[f];for(var m in a){var p=T_(m);if(f.indexOf(p)>-1&&p!=="order")for(var d=a[m],b=0,h=d.length;b<h;++b)l.unshift(f.replace(p,A_[d[b]]+p))}i[u]=l.join(",")}return i.join(",")}function w_(r,a,i,u){if(typeof a=="string"&&k_.hasOwnProperty(r)){var c=M_(a,u),f=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(m){return!/-moz-|-ms-/.test(m)}).join(",");if(r.indexOf("Webkit")>-1)return f;var l=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(m){return!/-webkit-|-ms-/.test(m)}).join(",");return r.indexOf("Moz")>-1?l:(i["Webkit"+Gf(r)]=f,i["Moz"+Gf(r)]=l,c)}}var P_=[KC,t_,$C,n_,o_,u_,s_,d_,f_,p_,m_,w_,a_],R_=UC({prefixMap:VC.prefixMap,plugins:P_});function us(r,a,i,u){let c="",f=[];for(const m in r){const p=r[m];if(p!=null){if(typeof p!="object"){const d=ls(m)+":"+p,b=R_({[m]:p});for(const h in b){const g=b[h];if(typeof g=="string"||typeof g=="number"){const S=ls(h)+":"+g;S!==d&&(c+=S+";")}else if(Array.isArray(g)){const S=ls(h);for(let y=0;y<g.length;y++){const D=S+":"+g[y];D!==d&&(c+=D+";")}}}c+=d+";";continue}if(m[0]===":"){f=[...f,...us(p,a+m,i)];continue}if(m[0]==="@"){const d=us(p,a,i);f=[...f,m+"{"+d.join("")+"}"];continue}f=[...f,m+"{"+us(p,"",i).join("")+"}"]}}if(!a)return[c];const l=[];return c&&l.push(`.${i}css-${a}{${c}}`),[...l,...f]}const x_=/(a)(d)/gi,Yu=52,Bb=r=>String.fromCharCode(r+(r>25?39:97));function B_(r){let a="",i;for(i=Math.abs(r);i>Yu;i=i/Yu|0)a=Bb(i%Yu)+a;return(Bb(i%Yu)+a).replace(x_,"$1-$2")}const L_=5381,F_=(r,a)=>{r|=0;for(let i=0,u=a.length|0;i<u;i++)r=(r<<5)+r+a.charCodeAt(i);return r},N_=r=>F_(L_,r)>>>0;function cf(r){return B_(N_(JSON.stringify(r)))}function z_(r){let a="";for(const i in r)a+=`${i}{${WS(r[i])}}`;return a}function WS(r){let a="";for(const i in r){const u=r[i];(typeof u=="string"||typeof u=="number")&&(a+=`${ls(i)}:${u};`)}return a.slice(0,-1)}function H_(r,a){return`@keyframes ${r}{${a}}`}function j_(r,a){return`@font-face{font-family:${r};${a}}`}class I_{constructor(a={}){if(this.opts=a||{},this.cache={},a.container&&(this.container=a.container),!(a.hydrate&&a.hydrate.length>1)){if(a.hydrate&&a.hydrate.length===1){if(!this.container){const c=a.hydrate[0].parentElement;c!=null&&(this.container=c)}const u=a.hydrate[0].getAttribute("data-hydrate");u&&u.split(" ").forEach(c=>{this.cache[c]=!0})}}if(!this.container){if(document.head===null)throw new Error("No container provided and `document.head` was null");this.container=document.head}this.styleSheet=new NC({container:this.container,speedy:this.opts.speedy})}renderStyle(a){const i=cf(a);return this.cache[i]||(this.cache[i]=!0,this.styleSheet.insert(us(a,i,this.opts.prefix||"",!!this.opts.strict))),`${this.opts.prefix||""}css-${i}`}renderFontFace(a){const i=cf(a);return this.cache[i]||(this.cache[i]=!0,this.styleSheet.insert([j_(`${this.opts.prefix||""}font-${i}`,WS(a))])),`${this.opts.prefix||""}font-${i}`}renderKeyframes(a){const i=cf(a);return this.cache[i]||(this.cache[i]=!0,this.styleSheet.insert([H_(`${this.opts.prefix||""}animation-${i}`,z_(a))])),`${this.opts.prefix||""}animation-${i}`}}const q_="__rozenite-dev-host__",U_="__rozenite-dev-config__",W_=288,Lb=180,G_=220,Y_=360,Fb=280,V_=320,Nb=260,df=6,K_={base00:"transparent",base01:"#374151",base02:"#4b5563",base03:"#6b7280",base04:"#9ca3af",base05:"#d1d5db",base06:"#e5e7eb",base07:"#f9fafb",base08:"#ef4444",base09:"#f59e0b",base0A:"#10b981",base0B:"#3b82f6",base0C:"#06b6d4",base0D:"#8b5cf6",base0E:"#ec4899",base0F:"#f97316"},zb=()=>new DOMException("Flow execution was stopped.","AbortError"),GS=r=>(r instanceof DOMException||r instanceof Error)&&r.name==="AbortError",Hb=r=>({id:r.id,direction:r.direction,date:r.date,type:r.type,payload:r.payload}),jb=(r,a)=>a?typeof a=="string"?r.type===a:typeof a=="function"?a(r):(a.type==null||r.type===a.type)&&(a.direction==null||r.direction===a.direction)&&(a.predicate==null||a.predicate(r)):!0,Z_=r=>GS(r)?"Flow execution was stopped.":r instanceof Error?r.message:String(r),X_=({sendMessage:r})=>{const[a,i]=re.useState([]),u=re.useRef([]),c=re.useRef(new Map),f=re.useRef(0);return re.useEffect(()=>()=>{c.current.forEach(h=>{h.controller.abort(),h.cleanups.forEach(g=>g())}),c.current.clear()},[]),{flowRuns:a,runFlow:(h,g)=>{const S=[...c.current.values()].find(L=>L.flowName===h.name);if(S)return S.id;const y=crypto.randomUUID(),D=new AbortController,O={id:y,flowName:h.name,flowDisplayName:h.displayName,autoRun:g?.autoRun??h.autoRun,controller:D,listeners:new Map,cleanups:new Set},A=()=>{if(D.signal.aborted)throw zb()},C=()=>{O.cleanups.forEach(L=>L()),O.cleanups.clear(),O.listeners.clear(),c.current.delete(y)},k=(L,R)=>{A();const F=f.current+1;f.current=F;const Z=G=>{jb(G,L)&&R(G)};O.listeners.set(F,Z);const ee=()=>{O.listeners.delete(F),D.signal.removeEventListener("abort",ee),O.cleanups.delete(ee)};return D.signal.addEventListener("abort",ee,{once:!0}),O.cleanups.add(ee),{remove:ee}},T={signal:D.signal,send:(L,R)=>{A(),r(L,R)},onMessage:k,waitForMessage:(L,R)=>(A(),new Promise((F,Z)=>{let ee=null;const G=()=>{K.remove(),D.signal.removeEventListener("abort",ne),ee!==null&&window.clearTimeout(ee)},ne=()=>{G(),Z(zb())},K=k(L,se=>{G(),F(se)});D.signal.addEventListener("abort",ne,{once:!0}),R?.timeoutMs!=null&&(ee=window.setTimeout(()=>{G(),Z(new Error(`Timed out waiting for a matching message after ${R.timeoutMs}ms.`))},R.timeoutMs))})),getMessages:L=>(A(),u.current.map(Hb).filter(R=>jb(R,L)))};c.current.set(y,O),i(L=>[{id:y,flowName:h.name,flowDisplayName:h.displayName,status:"running",result:null,error:null,autoRun:O.autoRun},...L]);const _=L=>{i(R=>R.map(F=>F.id===y?{...F,...L}:F))};return Promise.resolve(h.run(T)).then(L=>{if(D.signal.aborted){_({status:"aborted",result:null,error:"Flow execution was stopped."});return}_({status:"succeeded",result:L,error:null})}).catch(L=>{_({status:GS(L)?"aborted":"failed",result:null,error:Z_(L)})}).finally(()=>{C()}),y},stopFlow:h=>{const g=c.current.get(h);g&&g.controller.abort()},hasRunningFlow:h=>a.some(g=>g.flowName===h&&g.status==="running"),registerMessage:h=>{u.current=[h,...u.current];const g=Hb(h);c.current.forEach(S=>{S.listeners.forEach(y=>{y(g)})})},resetMessages:()=>{u.current=[]}}},O0=(...r)=>r.filter(Boolean).join(" "),$_=r=>{if(r==null)return"null";if(typeof r=="string")return r;try{return JSON.stringify(r)}catch{return String(r)}},Q_=r=>Array.isArray(r)||typeof r=="object"&&r!==null,J_=r=>new Date(r).toLocaleString(),eT=r=>new Date(r).toLocaleString([],{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}),E0=r=>{try{return JSON.stringify(r,null,2)}catch{return String(r)}},tT=r=>typeof r=="object"&&r!==null&&"pluginId"in r&&"type"in r&&"payload"in r,rT=r=>{const a=new URLSearchParams(window.location.search).get("panel");if(a){const i=r.find(u=>u.label===a);if(i)return i}return r[0]??null},nT=r=>({id:crypto.randomUUID(),date:new Date().toISOString(),...r}),ff=(r,a,i)=>Math.min(Math.max(r,a),i),aT=()=>{const r=document.getElementById(q_);if(!r?.textContent)throw new Error("Rozenite dev host failed to initialize.");return JSON.parse(r.textContent)},YS=()=>Y.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:Y.jsx("path",{d:"M2.5 3.5H11.5M5.5 1.75H8.5M4 3.5V10.5C4 10.9641 4.18437 11.4092 4.51256 11.7374C4.84075 12.0656 5.28587 12.25 5.75 12.25H8.25C8.71413 12.25 9.15925 12.0656 9.48744 11.7374C9.81563 11.4092 10 10.9641 10 10.5V3.5M5.75 5.5V9.625M8.25 5.5V9.625",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),VS=()=>Y.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:Y.jsx("path",{d:"M12.25 1.75L6.75 7.25M12.25 1.75L8.75 12.25L6.75 7.25M12.25 1.75L1.75 5.25L6.75 7.25",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),iT=()=>Y.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:[Y.jsx("path",{d:"M2.5 3.5H11.5M2.5 7H8.5M2.5 10.5H6.5",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round"}),Y.jsx("circle",{cx:"10.5",cy:"7",r:"1",fill:"currentColor"}),Y.jsx("circle",{cx:"8.5",cy:"10.5",r:"1",fill:"currentColor"}),Y.jsx("circle",{cx:"9.5",cy:"3.5",r:"1",fill:"currentColor"})]}),oT=()=>Y.jsxs("svg",{width:"173",height:"32",viewBox:"0 0 172.5 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[Y.jsx("path",{d:"M17.333 5.33301H20V10.667H22.667V16H25.333V24H22.667V26.667H20V29.333H12V26.667H9.33301V24H6.66699V16H9.33301V10.667H12V5.33301H14.667V2.66699H17.333V5.33301Z",fill:"#fff"}),Y.jsx("path",{d:"M51.7354 28H48.1421V3.94287H59.8887C62.1875 3.94287 63.9385 4.56592 65.1416 5.81201C66.3447 7.05811 66.9463 8.80908 66.9463 11.0649C66.9463 12.4829 66.6294 13.6968 65.9956 14.7065C65.3618 15.7163 64.5024 16.4199 63.4175 16.8174V17.043H64.6421C66.2212 17.043 67.0107 17.9023 67.0107 19.6211V28H63.3853V18.9282H51.7354V28ZM51.7354 7.08496V15.915H59.083C60.3398 15.915 61.3228 15.6089 62.0317 14.9966C62.7515 14.3735 63.1113 13.5356 63.1113 12.4829V10.4849C63.1113 9.37842 62.7568 8.53516 62.0479 7.95508C61.3496 7.375 60.3613 7.08496 59.083 7.08496H51.7354ZM70.7187 25.9214C69.2256 24.2993 68.479 22.0972 68.479 19.3149C68.479 16.5327 69.2363 14.3359 70.751 12.7246C72.2656 11.1133 74.312 10.3076 76.8901 10.3076C79.393 10.3076 81.4179 11.1133 82.9648 12.7246C84.5224 14.3145 85.3013 16.5112 85.3013 19.3149C85.3013 22.0757 84.5547 24.2671 83.0615 25.8892C81.5683 27.5112 79.5112 28.3223 76.8901 28.3223C74.2798 28.3223 72.2226 27.522 70.7187 25.9214ZM71.9433 18.042V20.7329C71.9433 22.2153 72.3999 23.3809 73.313 24.2295C74.2261 25.0674 75.4184 25.4863 76.8901 25.4863C78.3511 25.4863 79.5327 25.062 80.435 24.2134C81.3481 23.3647 81.8047 22.2046 81.8047 20.7329V18.042C81.8047 16.5918 81.3481 15.4209 80.435 14.5293C79.522 13.627 78.3403 13.1758 76.8901 13.1758C75.4184 13.1758 74.2261 13.6216 73.313 14.5132C72.3999 15.4048 71.9433 16.5811 71.9433 18.042ZM98.081 13.208L89.0737 25.1963H98.1777V28H84.9809V25.4541L93.956 13.4819H84.9487V10.646H98.081V13.208ZM97.9057 19.2827C97.9057 16.479 98.6415 14.2822 100.113 12.6924C101.585 11.1025 103.588 10.3076 106.123 10.3076C108.519 10.3076 110.42 11.0112 111.828 12.4185C113.256 13.8472 113.971 15.7754 113.971 18.2031C113.971 18.7725 113.928 19.3955 113.842 20.0723H101.402V21.0391C101.402 22.4141 101.843 23.5259 102.724 24.3745C103.604 25.2124 104.759 25.6313 106.188 25.6313C107.316 25.6313 108.277 25.3682 109.072 24.8418C109.878 24.3154 110.415 23.6064 110.684 22.7148H114.035C113.691 24.4121 112.8 25.771 111.36 26.7915C109.932 27.812 108.197 28.3223 106.156 28.3223C103.599 28.3223 101.585 27.5112 100.113 25.8892C98.6415 24.2671 97.9057 22.0649 97.9057 19.2827ZM101.402 17.2363V17.6392H110.539V17.0752C110.539 15.8613 110.13 14.8838 109.314 14.1426C108.498 13.3906 107.423 13.0146 106.091 13.0146C104.706 13.0146 103.578 13.4067 102.707 14.1909C101.837 14.9644 101.402 15.9795 101.402 17.2363ZM119.499 28H116.1V10.646H119.064L119.532 13.8687H119.757C120.294 12.7515 121.073 11.8813 122.094 11.2583C123.114 10.6245 124.274 10.3076 125.574 10.3076C127.476 10.3076 128.947 10.9414 129.989 12.209C131.042 13.4766 131.568 15.2114 131.568 17.4136V28H128.136V17.7358C128.136 14.771 126.852 13.2886 124.285 13.2886C122.846 13.2886 121.685 13.8042 120.805 14.8354C119.934 15.8667 119.499 17.2202 119.499 18.896V28ZM138.048 7.81006H134.68V3.71729H138.048V7.81006ZM138.048 28H134.68V10.646H138.048V28ZM149.216 13.4819H145.623V25.2285H149.216V28H145.123C143.211 28 142.255 27.0654 142.255 25.1963V13.4819H139.129V10.646H142.255V5.00635H145.623V10.646H149.216V13.4819ZM149.669 19.2827C149.669 16.479 150.405 14.2822 151.877 12.6924C153.348 11.1025 155.352 10.3076 157.887 10.3076C160.283 10.3076 162.184 11.0112 163.591 12.4185C165.02 13.8472 165.734 15.7754 165.734 18.2031C165.734 18.7725 165.691 19.3955 165.605 20.0723H153.166V21.0391C153.166 22.4141 153.606 23.5259 154.487 24.3745C155.368 25.2124 156.523 25.6313 157.952 25.6313C159.079 25.6313 160.041 25.3682 160.836 24.8418C161.641 24.3154 162.179 23.6064 162.447 22.7148H165.799C165.455 24.4121 164.563 25.771 163.124 26.7915C161.695 27.812 159.96 28.3223 157.919 28.3223C155.363 28.3223 153.348 27.5112 151.877 25.8892C150.405 24.2671 149.669 22.0649 149.669 19.2827ZM153.166 17.2363V17.6392H162.302V17.0752C162.302 15.8613 161.894 14.8838 161.077 14.1426C160.261 13.3906 159.187 13.0146 157.855 13.0146C156.469 13.0146 155.341 13.4067 154.471 14.1909C153.601 14.9644 153.166 15.9795 153.166 17.2363Z",fill:"#fff"})]});var pf={},Lo={},mt={},Rt={},Ib;function Ts(){return Ib||(Ib=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.WIDTH_TYPE=Rt.SIZE=Rt.SHAPE=Rt.MIN_HIT_AREA=Rt.KIND=Rt.BUTTON_GROUP_EXCLUSIVE_KINDS=void 0,Rt.KIND={primary:"primary",secondary:"secondary",tertiary:"tertiary",dangerPrimary:"dangerPrimary",dangerSecondary:"dangerSecondary",dangerTertiary:"dangerTertiary"},Rt.BUTTON_GROUP_EXCLUSIVE_KINDS=Object.freeze({outline:"outline"}),Rt.SHAPE={default:"default",rectangular:"rectangular",rounded:"rounded",pill:"pill",round:"round",circle:"circle",square:"square"},Rt.SIZE={mini:"mini",default:"default",compact:"compact",large:"large",xSmall:"xSmall",small:"small",medium:"medium"},Rt.MIN_HIT_AREA={tap:"tap",click:"click"},Rt.WIDTH_TYPE={hug:"hug",fill:"fill"}),Rt}var qb;function C0(){if(qb)return mt;qb=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.getArtworkSize=mt.StartEnhancerButtonContentContainer=mt.StartEnhancer=mt.LoadingSpinnerContainer=mt.LoadingSpinner=mt.EndEnhancer=mt.BaseButton=mt.AnchorBaseButton=void 0;var r=wt(),a=Ts();const i=(_,L)=>(0,r.styled)(_,({$theme:R,$size:F,$colors:Z,$kind:ee,$shape:G,$isLoading:ne,$isSelected:K,$disabled:se,$isFocusVisible:pe,$minHitArea:j,$as:te,$backgroundSafe:oe,$widthType:z})=>({display:"inline-flex",flexDirection:ne?"column":"row",alignItems:"center",justifyContent:"center",borderLeftWidth:0,borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderTopStyle:"none",borderRightStyle:"none",borderBottomStyle:"none",outline:"none",boxSizing:"border-box",boxShadow:pe&&oe?`inset 0 0 0 2px ${R.colors.borderAccent}, ${R.lighting.shallowBelow}`:oe?`${R.lighting.shallowBelow}`:pe?`inset 0 0 0 2px ${R.colors.borderAccent}`:"none",textDecoration:"none",WebkitAppearance:"none",transitionProperty:"background",transitionDuration:R.animation.timing200,transitionTimingFunction:R.animation.linearCurve,cursor:"pointer",":disabled":{cursor:"not-allowed",...S({$theme:R,$kind:ee,$disabled:se,$isSelected:K})},marginLeft:0,marginTop:0,marginRight:0,marginBottom:0,...T({$theme:R,$size:F,$widthType:z}),...h({$theme:R,$size:F}),...b({$theme:R,$size:F,$shape:G}),...y({$theme:R,$size:F,$shape:G}),...O({$theme:R,$isLoading:ne,$isSelected:K,$kind:ee,$disabled:se,$backgroundSafe:oe}),...D({$theme:R,$colors:Z,$kind:ee,$isLoading:ne,$isSelected:K,$disabled:se,$backgroundSafe:oe}),...g({$as:te,$theme:R,$kind:ee,$isSelected:K,$disabled:se}),...A({$shape:G,$size:F,$theme:R}),...k({$minHitArea:j,$theme:R}),...L?.({$theme:R,$size:F,$colors:Z,$kind:ee,$shape:G,$isLoading:ne,$isSelected:K,$disabled:se,$isFocusVisible:pe,$minHitArea:j,$as:te})})),u=mt.BaseButton=i("button");u.displayName="BaseButton",mt.AnchorBaseButton=i("a",({$theme:_,$kind:L,$isSelected:R,$disabled:F})=>g({$as:"a",$theme:_,$kind:L,$isSelected:R,$disabled:F})),u.displayName="BaseButton";const c=mt.EndEnhancer=(0,r.styled)("div",({$theme:_})=>({display:"flex",[_.direction==="rtl"?"marginRight":"marginLeft"]:_.sizing.scale300}));c.displayName="EndEnhancer",c.displayName="EndEnhancer";const f=mt.StartEnhancer=(0,r.styled)("div",({$theme:_})=>({display:"flex",[_.direction==="rtl"?"marginLeft":"marginRight"]:_.sizing.scale300}));f.displayName="StartEnhancer",f.displayName="StartEnhancer";const l=mt.StartEnhancerButtonContentContainer=(0,r.styled)("div",({$theme:_})=>({display:"flex",justifyContent:"center",alignItems:"center",flexGrow:1}));l.displayName="StartEnhancerButtonContentContainer",l.displayName="StartEnhancerButtonContentContainer";const m=mt.LoadingSpinnerContainer=(0,r.styled)("div",({$theme:_,$size:L})=>{let R={};return(L===a.SIZE.mini||L===a.SIZE.xSmall)&&(R={marginBottom:_.sizing.scale0,marginTop:_.sizing.scale0}),{lineHeight:0,position:"static",...R}});m.displayName="LoadingSpinnerContainer",m.displayName="LoadingSpinnerContainer";const p=mt.LoadingSpinner=(0,r.styled)("span",({$theme:_,$kind:L,$disabled:R,$size:F})=>{const{foreground:Z,background:ee}=d({$theme:_,$kind:L,$disabled:R});let G;switch(F){case a.SIZE.mini:case a.SIZE.xSmall:G=_.sizing.scale500;break;case a.SIZE.compact:case a.SIZE.small:G=_.sizing.scale600;break;case a.SIZE.large:G=_.sizing.scale800;break;case a.SIZE.medium:case a.SIZE.default:default:G=_.sizing.scale700;break}return{height:G,width:G,borderTopLeftRadius:"50%",borderTopRightRadius:"50%",borderBottomRightRadius:"50%",borderBottomLeftRadius:"50%",borderLeftStyle:"solid",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftWidth:_.sizing.scale0,borderTopWidth:_.sizing.scale0,borderRightWidth:_.sizing.scale0,borderBottomWidth:_.sizing.scale0,borderTopColor:Z,borderLeftColor:ee,borderBottomColor:ee,borderRightColor:ee,boxSizing:"border-box",display:"inline-block",animationDuration:_.animation.timing700,animationTimingFunction:"linear",animationIterationCount:"infinite",animationName:{to:{transform:"rotate(360deg)"},from:{transform:"rotate(0deg)"}}}});p.displayName="LoadingSpinner",p.displayName="LoadingSpinner";function d({$theme:_,$kind:L,$disabled:R}){if(R)return{foreground:_.colors.buttonDisabledSpinnerForeground,background:_.colors.buttonDisabledSpinnerBackground};switch(L){case a.KIND.secondary:return{foreground:_.colors.buttonSecondarySpinnerForeground,background:_.colors.buttonSecondarySpinnerBackground};case a.KIND.tertiary:return{foreground:_.colors.buttonTertiarySpinnerForeground,background:_.colors.buttonTertiarySpinnerBackground};case a.KIND.dangerPrimary:return{foreground:_.colors.buttonDangerPrimarySpinnerForeground,background:_.colors.buttonDangerPrimarySpinnerBackground};case a.KIND.dangerSecondary:return{foreground:_.colors.buttonDangerSecondarySpinnerForeground,background:_.colors.buttonDangerSecondarySpinnerBackground};case a.KIND.dangerTertiary:return{foreground:_.colors.buttonDangerTertiarySpinnerForeground,background:_.colors.buttonDangerTertiarySpinnerBackground};case a.BUTTON_GROUP_EXCLUSIVE_KINDS.outline:return{foreground:_.colors.buttonOutlineSpinnerForeground,background:_.colors.buttonOutlineSpinnerBackground};case a.KIND.primary:default:return{foreground:_.colors.buttonPrimarySpinnerForeground,background:_.colors.buttonPrimarySpinnerBackground}}}function b({$theme:_,$size:L,$shape:R}){let F=_.borders.buttonBorderRadius;return R===a.SHAPE.pill||R===a.SHAPE.rounded?F="999px":(R===a.SHAPE.circle||R===a.SHAPE.round)&&(F="50%"),{borderTopRightRadius:F,borderBottomRightRadius:F,borderTopLeftRadius:F,borderBottomLeftRadius:F}}function h({$theme:_,$size:L}){switch(L){case a.SIZE.xSmall:case a.SIZE.mini:return _.typography.LabelXSmall;case a.SIZE.small:case a.SIZE.compact:return _.typography.LabelSmall;case a.SIZE.large:return _.typography.LabelLarge;default:return _.typography.LabelMedium}}function g({$as:_,$theme:L,$kind:R,$isSelected:F,$disabled:Z}){return _==="a"&&Z?{cursor:"not-allowed",pointerEvents:"none",...S({$theme:L,$kind:R,$isSelected:F,$disabled:Z})}:{}}function S({$theme:_,$kind:L,$isSelected:R,$disabled:F}){if(F&&R){if(L===a.KIND.primary||L===a.KIND.secondary)return{color:_.colors.buttonDisabledActiveText,backgroundColor:_.colors.buttonDisabledActiveFill};if(L===a.KIND.tertiary)return{backgroundColor:_.colors.buttonTertiaryDisabledActiveFill,color:_.colors.buttonTertiaryDisabledActiveText}}return{backgroundColor:_.colors.buttonDisabledFill,color:_.colors.buttonDisabledText}}function y({$theme:_,$size:L,$shape:R}){const F=R===a.SHAPE.square||R===a.SHAPE.circle||R===a.SHAPE.round;switch(L){case a.SIZE.mini:case a.SIZE.xSmall:return{paddingTop:_.sizing.scale200,paddingBottom:_.sizing.scale200,paddingLeft:F?_.sizing.scale200:_.sizing.scale300,paddingRight:F?_.sizing.scale200:_.sizing.scale300};case a.SIZE.compact:case a.SIZE.small:return{paddingTop:_.sizing.scale400,paddingBottom:_.sizing.scale400,paddingLeft:F?_.sizing.scale400:_.sizing.scale500,paddingRight:F?_.sizing.scale400:_.sizing.scale500};case a.SIZE.large:return{paddingTop:_.sizing.scale600,paddingBottom:_.sizing.scale600,paddingLeft:F?_.sizing.scale600:_.sizing.scale700,paddingRight:F?_.sizing.scale600:_.sizing.scale700};case a.SIZE.medium:case a.SIZE.default:default:return{paddingTop:_.sizing.scale550,paddingBottom:_.sizing.scale550,paddingLeft:F?_.sizing.scale550:_.sizing.scale600,paddingRight:F?_.sizing.scale550:_.sizing.scale600}}}function D({$theme:_,$colors:L,$isLoading:R,$isSelected:F,$kind:Z,$disabled:ee,$backgroundSafe:G}){if(ee)return Object.freeze({});const ne=G?`, ${_.lighting.shallowBelow}`:"";if(L)return{color:L.color,backgroundColor:L.backgroundColor,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px rgba(0, 0, 0, 0.04) ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px rgba(0, 0, 0, 0.08) ${ne}`}};switch(Z){case a.KIND.primary:return F?{color:_.colors.buttonPrimarySelectedText||_.colors.buttonPrimaryText,backgroundColor:_.colors.buttonPrimarySelectedFill||_.colors.buttonPrimaryFill}:R?{backgroundColor:_.colors.buttonPrimaryLoadingFill||_.colors.buttonPrimaryFill}:{color:_.colors.buttonPrimaryText,backgroundColor:_.colors.buttonPrimaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonPrimaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonPrimaryActiveOverlay} ${ne}`}};case a.KIND.secondary:return F?{color:_.colors.buttonPrimaryText,backgroundColor:_.colors.buttonPrimaryFill}:R?{backgroundColor:_.colors.buttonSecondaryLoadingFill||_.colors.buttonSecondaryFill}:{color:_.colors.buttonSecondaryText,backgroundColor:_.colors.buttonSecondaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonSecondaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonSecondaryActiveOverlay} ${ne}`}};case a.KIND.tertiary:return F?{color:_.colors.buttonTertiarySelectedText||_.colors.buttonTertiaryText,backgroundColor:_.colors.buttonTertiarySelectedFill||_.colors.buttonTertiaryFill}:R?{backgroundColor:_.colors.buttonTertiaryLoadingFill||_.colors.buttonTertiaryFill}:{color:_.colors.buttonTertiaryText,backgroundColor:_.colors.buttonTertiaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonTertiaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonTertiaryActiveOverlay} ${ne}`}};case a.KIND.dangerPrimary:return F?{color:_.colors.buttonDangerPrimarySelectedText,backgroundColor:_.colors.buttonDangerPrimarySelectedFill}:R?{backgroundColor:_.colors.buttonDangerPrimaryLoadingFill}:{color:_.colors.buttonDangerPrimaryText,backgroundColor:_.colors.buttonDangerPrimaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerPrimaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerPrimaryActiveOverlay} ${ne}`}};case a.KIND.dangerSecondary:return F?{color:_.colors.buttonDangerSecondarySelectedText,backgroundColor:_.colors.buttonDangerSecondarySelectedFill}:R?{backgroundColor:_.colors.buttonDangerSecondaryLoadingFill}:{color:_.colors.buttonDangerSecondaryText,backgroundColor:_.colors.buttonDangerSecondaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerSecondaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerSecondaryActiveOverlay} ${ne}`}};case a.KIND.dangerTertiary:return F?{color:_.colors.buttonDangerTertiarySelectedText,backgroundColor:_.colors.buttonDangerTertiarySelectedFill}:R?{backgroundColor:_.colors.buttonDangerTertiaryLoadingFill}:{color:_.colors.buttonDangerTertiaryText,backgroundColor:_.colors.buttonDangerTertiaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerTertiaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerTertiaryActiveOverlay} ${ne}`}};case a.BUTTON_GROUP_EXCLUSIVE_KINDS.outline:return F?{color:_.colors.buttonOutlineSelectedText,backgroundColor:_.colors.buttonOutlineSelectedFill}:R?{backgroundColor:_.colors.buttonOutlineLoadingFill}:{color:_.colors.buttonOutlineText,backgroundColor:_.colors.buttonOutlineFill,position:"relative","::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",borderBottomRightRadius:"inherit",borderBottomLeftRadius:"inherit",backgroundColor:"transparent",boxShadow:`0 0 0 ${_.sizing.scale0} transparent`,pointerEvents:"none"},"@media (hover: hover)":{":hover::after":{backgroundColor:_.colors.buttonOutlineHoverOverlay,boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOutlineHoverOverlay} ${ne}`}},":active::after":{backgroundColor:_.colors.buttonOutlineActiveOverlay,boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOutlineActiveOverlay} ${ne}`}};default:return Object.freeze({})}}function O({$theme:_,$isLoading:L,$isSelected:R,$kind:F,$disabled:Z,$backgroundSafe:ee}){if(Z)return Object.freeze({});const G=ee?`, ${_.lighting.shallowBelow}`:"";switch(F){case a.KIND.primary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder} ${G}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${G}`}};case a.KIND.secondary:return{":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${G}`}};case a.KIND.tertiary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder} ${G}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${G}`}};case a.KIND.dangerPrimary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder} ${G}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${G}`}};case a.KIND.dangerSecondary:return{":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${G}`}};case a.KIND.dangerTertiary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonTransparentBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonDangerTertiaryOuterBorder} ${G}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonTransparentBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${G}`}};case a.BUTTON_GROUP_EXCLUSIVE_KINDS.outline:return{...R?{boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder}`}:{boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOutlineOuterBorder}`},":focus-visible":{boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder}`}};default:return Object.freeze({})}}function A({$shape:_,$size:L,$theme:R}){if(_===a.SHAPE.circle||_===a.SHAPE.square){let F,Z;switch(L){case a.SIZE.mini:case a.SIZE.xSmall:F=R.sizing.scale850,Z=R.sizing.scale850;break;case a.SIZE.compact:case a.SIZE.small:F=R.sizing.scale950,Z=R.sizing.scale950;break;case a.SIZE.large:F=R.sizing.scale1400,Z=R.sizing.scale1400;break;case a.SIZE.default:case a.SIZE.medium:default:F=R.sizing.scale1200,Z=R.sizing.scale1200;break}return{height:F,width:Z,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}else return{}}const C=({$theme:_,$size:L})=>{switch(L){case a.SIZE.mini:case a.SIZE.xSmall:return _.sizing.scale500;case a.SIZE.compact:case a.SIZE.small:return _.sizing.scale600;case a.SIZE.large:return _.sizing.scale800;case a.SIZE.default:case a.SIZE.medium:default:return _.sizing.scale700}};mt.getArtworkSize=C;function k({$minHitArea:_,$theme:L}){return!_||_!==a.MIN_HIT_AREA.tap?{}:{"::before":{content:'""',position:"absolute",top:"50%",left:0,right:0,height:L.sizing.scale1200,minHeight:L.sizing.scale1200,transform:"translateY(-50%)"},position:"relative"}}function T({$theme:_,$size:L,$widthType:R}){let F,Z;switch(L){case a.SIZE.mini:case a.SIZE.xSmall:Z=_.sizing.scale850,F="52px";break;case a.SIZE.compact:case a.SIZE.small:Z=_.sizing.scale950,F="60px";break;case a.SIZE.large:Z=_.sizing.scale1400,F="80px";break;case a.SIZE.default:case a.SIZE.medium:default:Z=_.sizing.scale1200,F="72px";break}return{...R===a.WIDTH_TYPE.fill?{minWidth:F,minHeight:Z,width:"100%"}:{}}}return mt}var Vu={},Ub;function KS(){if(Ub)return Vu;Ub=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.getSharedProps=r;function r({colors:a,disabled:i,minHitArea:u,isLoading:c,isSelected:f,kind:l,shape:m,size:p,backgroundSafe:d,widthType:b}){return{$colors:a,$disabled:i,$minHitArea:u,$isLoading:c,$isSelected:!!f,$kind:l,$shape:m,$size:p,$backgroundSafe:d,$widthType:b}}return Vu}var Ku={},Wb;function lT(){if(Wb)return Ku;Wb=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.default=h;var r=p(we()),a=p(_S()),i=C0(),u=KS(),c=kt(),f=wt(),l=Ts();function m(g){if(typeof WeakMap!="function")return null;var S=new WeakMap,y=new WeakMap;return(m=function(D){return D?y:S})(g)}function p(g,S){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var y=m(S);if(y&&y.has(g))return y.get(g);var D={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in g)if(A!=="default"&&Object.prototype.hasOwnProperty.call(g,A)){var C=O?Object.getOwnPropertyDescriptor(g,A):null;C&&(C.get||C.set)?Object.defineProperty(D,A,C):D[A]=g[A]}return D.default=g,y&&y.set(g,D),D}function d(){return d=Object.assign?Object.assign.bind():function(g){for(var S=1;S<arguments.length;S++){var y=arguments[S];for(var D in y)Object.prototype.hasOwnProperty.call(y,D)&&(g[D]=y[D])}return g},d.apply(this,arguments)}function b(g){const{Enhancer:S,$isHovered:y,$isPressed:D,$isFocused:O,$artworkSize:A,...C}=g;return typeof S=="string"?S:typeof S=="function"?S({isHovered:y,isPressed:D,isFocused:O,artworkSize:A}):a.isValidElementType(S)?r.createElement(S,d({},C,{size:A})):S}function h(g){const{children:S,overrides:y={},isHovered:D=!1,isPressed:O=!1,isFocused:A=!1,startEnhancer:C,endEnhancer:k,widthType:T}=g,[,_]=(0,f.useStyletron)(),[L,R]=(0,c.getOverrides)(y.StartEnhancer,i.StartEnhancer),[F,Z]=(0,c.getOverrides)(y.EndEnhancer,i.EndEnhancer),[ee,G]=(0,c.getOverrides)(y.StartEnhancerButtonContentContainer,i.StartEnhancerButtonContentContainer),ne={...(0,u.getSharedProps)(g),$isHovered:D,$isPressed:O,$isFocused:A},K=(0,i.getArtworkSize)({$theme:_,$size:ne.$size}),se=r.createElement(r.Fragment,null,C!=null&&r.createElement(L,d({},ne,R,{"aria-hidden":!!S}),r.createElement(b,{Enhancer:C,$isHovered:D,$isPressed:O,$isFocused:A,$artworkSize:K})),typeof S=="function"?S({isHovered:D,isPressed:O,isFocused:A,artworkSize:K}):S),pe=r.createElement(r.Fragment,null,T===l.WIDTH_TYPE.fill?r.createElement(ee,d({},ne,G),se):r.createElement(r.Fragment,null,se),k!=null&&r.createElement(F,d({},ne,Z,{"aria-hidden":!!S}),r.createElement(b,{Enhancer:k,$isHovered:D,$isPressed:O,$isFocused:A,$artworkSize:K})));if(g.isLoading){const j={opacity:0,display:"flex",height:"0px"};return r.createElement("div",{style:j},pe)}return r.createElement(r.Fragment,null,pe)}return Ku}var Fo={},Gb;function uT(){if(Gb)return Fo;Gb=1,Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.defaultProps=void 0;var r=Ts();return Fo.defaultProps={backgroundSafe:!1,disabled:!1,minHitArea:r.MIN_HIT_AREA.click,isLoading:!1,kind:r.KIND.primary,overrides:{},shape:r.SHAPE.rectangular,size:r.SIZE.medium,widthType:r.WIDTH_TYPE.hug},Fo}var Yb;function sT(){if(Yb)return Lo;Yb=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.default=void 0;var r=d(we()),a=C0(),i=KS(),u=m(lT()),c=uT(),f=kt(),l=ri();function m(O){return O&&O.__esModule?O:{default:O}}function p(O){if(typeof WeakMap!="function")return null;var A=new WeakMap,C=new WeakMap;return(p=function(k){return k?C:A})(O)}function d(O,A){if(O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var C=p(A);if(C&&C.has(O))return C.get(O);var k={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in O)if(_!=="default"&&Object.prototype.hasOwnProperty.call(O,_)){var L=T?Object.getOwnPropertyDescriptor(O,_):null;L&&(L.get||L.set)?Object.defineProperty(k,_,L):k[_]=O[_]}return k.default=O,C&&C.set(O,k),k}function b(){return b=Object.assign?Object.assign.bind():function(O){for(var A=1;A<arguments.length;A++){var C=arguments[A];for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(O[k]=C[k])}return O},b.apply(this,arguments)}function h(O,A,C){return A=g(A),A in O?Object.defineProperty(O,A,{value:C,enumerable:!0,configurable:!0,writable:!0}):O[A]=C,O}function g(O){var A=S(O,"string");return typeof A=="symbol"?A:String(A)}function S(O,A){if(typeof O!="object"||!O)return O;var C=O[Symbol.toPrimitive];if(C!==void 0){var k=C.call(O,A);if(typeof k!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(O)}class y extends r.Component{constructor(...A){super(...A),h(this,"state",{isFocusVisible:!1,isHovered:!1,isPressed:!1}),h(this,"internalOnClick",(...C)=>{const{isLoading:k,onClick:T}=this.props;if(k){C[0].preventDefault();return}T&&T(...C)}),h(this,"handleFocus",C=>{(0,l.isFocusVisible)(C)&&this.setState({isFocusVisible:!0})}),h(this,"handleBlur",C=>{this.state.isFocusVisible!==!1&&this.setState({isFocusVisible:!1})}),h(this,"handleHovered",C=>{this.setState({isHovered:!0}),this.props.onMouseEnter&&this.props.onMouseEnter(C)}),h(this,"handleNotHovered",C=>{this.setState({isHovered:!1}),this.props.onMouseLeave&&this.props.onMouseLeave(C)}),h(this,"handlePressed",C=>{this.setState({isPressed:!0}),this.props.onMouseDown&&this.props.onMouseDown(C)}),h(this,"handleNotPressed",C=>{this.setState({isPressed:!1}),this.props.onMouseUp&&this.props.onMouseUp(C)})}render(){const{overrides:A={},size:C,kind:k,shape:T,minHitArea:_,isLoading:L,isSelected:R,startEnhancer:F,endEnhancer:Z,children:ee,forwardedRef:G,colors:ne,backgroundSafe:K,widthType:se,"aria-label":pe,...j}=this.props,te="href"in j&&!!j?.href,[oe,z]=(0,f.getOverrides)(A.BaseButton||A.Root,te?a.AnchorBaseButton:a.BaseButton),[W,P]=(0,f.getOverrides)(A.LoadingSpinner,a.LoadingSpinner),[x,w]=(0,f.getOverrides)(A.LoadingSpinnerContainer,a.LoadingSpinnerContainer),X={...(0,i.getSharedProps)(this.props),$isFocusVisible:this.state.isFocusVisible,$isHovered:this.state.isHovered,$isPressed:this.state.isPressed},ae=L?{"aria-label":pe||(typeof ee=="string"?`loading ${ee}`:"content is loading"),"aria-busy":"true","aria-live":"polite"}:{},le=j?.disabled&&te?{"aria-disabled":!0}:{},ie=L?{}:pe?{"aria-label":pe}:typeof ee=="string"?{"aria-label":ee}:{},ce=typeof z["aria-checked"]>"u"&&typeof R=="boolean"?{"aria-pressed":R}:{};return r.createElement(oe,b({ref:G,"data-baseweb":"button"},ae,le,ie,ce,X,j,z,{onClick:this.internalOnClick,onFocus:(0,l.forkFocus)({...j,...z},this.handleFocus),onBlur:(0,l.forkBlur)({...j,...z},this.handleBlur),onMouseEnter:this.handleHovered,onMouseLeave:this.handleNotHovered,onMouseDown:this.handlePressed,onMouseUp:this.handleNotPressed}),L?r.createElement(r.Fragment,null,r.createElement(u.default,b({},this.props,{isHovered:this.state.isHovered,isPressed:this.state.isPressed,isFocused:this.state.isFocusVisible})),r.createElement(x,b({},X,w,{"aria-hidden":!0}),r.createElement(W,b({},X,P)))):r.createElement(u.default,b({},this.props,{isHovered:this.state.isHovered,isPressed:this.state.isPressed,isFocused:this.state.isFocusVisible})))}}h(y,"defaultProps",c.defaultProps);const D=r.forwardRef((O,A)=>r.createElement(y,b({forwardedRef:A},O)));return D.displayName="Button",Lo.default=D,Lo}var Vb={},Kb;function cT(){return Kb||(Kb=1),Vb}var Zb;function dT(){return Zb||(Zb=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={Button:!0,KIND:!0,SIZE:!0,SHAPE:!0,MIN_HIT_AREA:!0,WIDTH_TYPE:!0,BUTTON_GROUP_EXCLUSIVE_KINDS:!0,StyledBaseButton:!0,StyledStartEnhancer:!0,StyledEndEnhancer:!0,StyledLoadingSpinner:!0,StyledLoadingSpinnerContainer:!0};Object.defineProperty(r,"BUTTON_GROUP_EXCLUSIVE_KINDS",{enumerable:!0,get:function(){return u.BUTTON_GROUP_EXCLUSIVE_KINDS}}),Object.defineProperty(r,"Button",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"KIND",{enumerable:!0,get:function(){return u.KIND}}),Object.defineProperty(r,"MIN_HIT_AREA",{enumerable:!0,get:function(){return u.MIN_HIT_AREA}}),Object.defineProperty(r,"SHAPE",{enumerable:!0,get:function(){return u.SHAPE}}),Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return u.SIZE}}),Object.defineProperty(r,"StyledBaseButton",{enumerable:!0,get:function(){return c.BaseButton}}),Object.defineProperty(r,"StyledEndEnhancer",{enumerable:!0,get:function(){return c.EndEnhancer}}),Object.defineProperty(r,"StyledLoadingSpinner",{enumerable:!0,get:function(){return c.LoadingSpinner}}),Object.defineProperty(r,"StyledLoadingSpinnerContainer",{enumerable:!0,get:function(){return c.LoadingSpinnerContainer}}),Object.defineProperty(r,"StyledStartEnhancer",{enumerable:!0,get:function(){return c.StartEnhancer}}),Object.defineProperty(r,"WIDTH_TYPE",{enumerable:!0,get:function(){return u.WIDTH_TYPE}});var i=l(sT()),u=Ts(),c=C0(),f=cT();Object.keys(f).forEach(function(m){m==="default"||m==="__esModule"||Object.prototype.hasOwnProperty.call(a,m)||m in r&&r[m]===f[m]||Object.defineProperty(r,m,{enumerable:!0,get:function(){return f[m]}})});function l(m){return m&&m.__esModule?m:{default:m}}})(pf)),pf}var ja=dT();const fT={BaseButton:{style:({$disabled:r,$isFocusVisible:a})=>({minHeight:"auto",minWidth:"auto",borderWidth:"1px",borderStyle:"solid",borderColor:"rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"transparent",color:"rgba(255, 255, 255, 0.56)",paddingTop:"0",paddingRight:"0",paddingBottom:"0",paddingLeft:"0",boxShadow:"none",cursor:r?"default":"pointer",opacity:r?.4:1,outline:a?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px"})}},pT={default:{BaseButton:{style:({$disabled:r,$isHovered:a})=>({borderColor:"rgba(255, 255, 255, 0.08)",backgroundColor:!r&&a?"rgba(255, 255, 255, 0.06)":"transparent",color:"rgba(255, 255, 255, 0.56)"})}},primary:{BaseButton:{style:({$disabled:r,$isHovered:a})=>({borderColor:"#ffffff",backgroundColor:"#ffffff",color:"#000000",opacity:r?.4:1,":hover":!r&&a?{backgroundColor:"rgba(255, 255, 255, 0.88)"}:void 0})}},pill:{BaseButton:{style:({$disabled:r,$isHovered:a,$isSelected:i})=>({borderColor:i?"rgba(130, 50, 255, 0.5)":"rgba(255, 255, 255, 0.08)",borderRadius:"999px",backgroundColor:i?"rgba(130, 50, 255, 0.18)":!r&&a?"rgba(255, 255, 255, 0.1)":"rgba(255, 255, 255, 0.04)",color:"#ffffff",paddingTop:"6px",paddingRight:"10px",paddingBottom:"6px",paddingLeft:"10px",fontSize:"12px",lineHeight:"1.4"})}}},Yf=({overrides:r,variant:a="default",...i})=>Y.jsx(ja.Button,{kind:ja.KIND.tertiary,shape:a==="pill"?ja.SHAPE.pill:ja.SHAPE.rectangular,size:ja.SIZE.compact,widthType:ja.WIDTH_TYPE.hug,overrides:Tr.mergeOverrides(Tr.mergeOverrides(fT,pT[a]),r),...i}),gT=r=>r==="running"?"Running":r==="succeeded"?"Completed":r==="failed"?"Failed":r==="aborted"?"Stopped":r,vT=({flows:r,flowRuns:a,hasRunningFlow:i,onRunFlow:u,onStopFlow:c})=>{if(r.length===0)return Y.jsx("div",{className:"rz-flow-empty-state",children:"No flows were configured for this plugin."});const f=a.length>0;return Y.jsxs("div",{className:"rz-flow-panel",children:[Y.jsxs("div",{className:"rz-field",children:[Y.jsx("div",{className:"rz-label",children:"Available flows"}),Y.jsx("div",{className:"rz-flow-list",children:r.map((l,m)=>{const p=i(l.name);return Y.jsxs(Yf,{type:"button",onClick:()=>u(l),variant:"default",isSelected:p,title:`Run ${l.displayName}`,overrides:{BaseButton:{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px",width:"100%",borderRadius:"8px",backgroundColor:p?"rgba(130, 50, 255, 0.14)":"rgba(255, 255, 255, 0.03)",borderColor:p?"rgba(130, 50, 255, 0.45)":"rgba(255, 255, 255, 0.08)",color:"rgba(255, 255, 255, 0.88)",paddingTop:"10px",paddingRight:"12px",paddingBottom:"10px",paddingLeft:"12px",textAlign:"left"}}},children:[Y.jsxs("span",{className:"rz-flow-list-name",children:[l.displayName,l.autoRun?Y.jsx("span",{className:"rz-flow-list-badge",children:"Auto"}):null]}),Y.jsx("span",{className:"rz-flow-list-action",children:p?"Running":"Run"})]},`${l.name}-${m}`)})})]}),f?Y.jsxs("div",{className:"rz-field",children:[Y.jsx("div",{className:"rz-label",children:"Flow runs"}),Y.jsx("div",{className:"rz-flow-runs",children:a.map(l=>{const m=l.status==="running";return Y.jsxs("div",{className:"rz-flow-state","data-status":l.status,children:[Y.jsxs("div",{className:"rz-flow-state-header",children:[Y.jsxs("div",{className:"rz-flow-state-title",children:[l.flowDisplayName,l.autoRun?Y.jsx("span",{className:"rz-flow-state-badge",children:"Auto"}):null]}),m?Y.jsx(Yf,{type:"button",variant:"pill",onClick:()=>c(l.id),overrides:{BaseButton:{style:{flexShrink:0}}},children:"Stop"}):null]}),Y.jsx("div",{className:"rz-flow-state-status",children:gT(l.status)}),l.error?Y.jsx("div",{className:"rz-flow-state-error",children:l.error}):null,l.result!=null?Y.jsx("pre",{className:"rz-flow-state-result",children:E0(l.result)}):null]},l.id)})})]}):null]})};var gf={},No={},Zu={},qe={},Zr={},Xb;function ks(){return Xb||(Xb=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.STATE_CHANGE_TYPES=Zr.OPTION_LIST_SIZE=Zr.KEY_STRINGS=void 0,Zr.STATE_CHANGE_TYPES={click:"click",moveUp:"moveUp",moveDown:"moveDown",mouseEnter:"mouseEnter",mouseLeave:"mouseLeave",focus:"focus",reset:"reset",character:"character",enter:"enter"},Zr.KEY_STRINGS={ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",Enter:"Enter",Space:" ",Escape:"Escape",Backspace:"Backspace",Home:"Home",End:"End"},Zr.OPTION_LIST_SIZE={default:"default",compact:"compact"}),Zr}var $b;function As(){if($b)return qe;$b=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.StyledProfileTitle=qe.StyledProfileSubtitle=qe.StyledProfileLabelsContainer=qe.StyledProfileImgContainer=qe.StyledProfileImg=qe.StyledProfileBody=qe.StyledOptgroupHeader=qe.StyledMenuDivider=qe.StyledListItemProfile=qe.StyledListItemElement=qe.StyledListItemAnchor=qe.StyledListItem=qe.StyledList=qe.StyledEmptyState=void 0;var r=c(we()),a=wt(),i=ks();function u(T){if(typeof WeakMap!="function")return null;var _=new WeakMap,L=new WeakMap;return(u=function(R){return R?L:_})(T)}function c(T,_){if(T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var L=u(_);if(L&&L.has(T))return L.get(T);var R={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in T)if(Z!=="default"&&Object.prototype.hasOwnProperty.call(T,Z)){var ee=F?Object.getOwnPropertyDescriptor(T,Z):null;ee&&(ee.get||ee.set)?Object.defineProperty(R,Z,ee):R[Z]=T[Z]}return R.default=T,L&&L.set(T,R),R}const f=qe.StyledList=(0,a.styled)("ul",({$theme:T,$isFocusVisible:_})=>({backgroundColor:T.colors.menuFill,position:"relative",marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,paddingTop:T.sizing.scale300,paddingBottom:T.sizing.scale300,paddingLeft:0,paddingRight:0,borderTopLeftRadius:T.borders.popoverBorderRadius,borderTopRightRadius:T.borders.popoverBorderRadius,borderBottomRightRadius:T.borders.popoverBorderRadius,borderBottomLeftRadius:T.borders.popoverBorderRadius,boxShadow:T.lighting.shadow600,overflow:"auto",":focus":{outline:_?`3px solid ${T.colors.borderAccent}`:"none"}}));f.displayName="StyledList",f.displayName="StyledList";function l(T){return T.$disabled?T.$theme.colors.menuFontDisabled:T.$isHighlighted&&T.$isFocused?T.$theme.colors.menuFontHighlighted:T.$isHighlighted&&!T.$isFocused?T.$theme.colors.menuFontSelected:T.$theme.colors.menuFontDefault}function m(T){return T.$disabled?"transparent":T.$isHighlighted?T.$theme.colors.menuFillHover:"transparent"}const p=qe.StyledEmptyState=(0,a.styled)("li",T=>{const{$theme:_,$size:L}=T;return{...L===i.OPTION_LIST_SIZE.compact?_.typography.font100:_.typography.font200,position:"relative",display:"block",color:_.colors.menuFontDisabled,textAlign:"center",cursor:"not-allowed",backgroundColor:"transparent",marginBottom:0,paddingTop:_.sizing.scale800,paddingBottom:_.sizing.scale800,paddingRight:_.sizing.scale800,paddingLeft:_.sizing.scale800}});p.displayName="StyledEmptyState",p.displayName="StyledEmptyState";const d=qe.StyledOptgroupHeader=(0,a.styled)("li",T=>{const _=T.$theme.sizing.scale300,L=T.$theme.sizing.scale200;return{...T.$theme.typography.font250,color:T.$theme.colors.contentPrimary,paddingTop:L,paddingBottom:L,paddingRight:_,paddingLeft:_}});d.displayName="StyledOptgroupHeader",d.displayName="StyledOptgroupHeader";const b=qe.StyledListItemAnchor=(0,a.styled)("a",T=>({display:"block",color:l(T)}));b.displayName="StyledListItemAnchor",b.displayName="StyledListItemAnchor";const h=qe.StyledListItemElement=(0,a.styled)("li",T=>{const{$disabled:_,$theme:L,$size:R}=T;return{...R===i.OPTION_LIST_SIZE.compact?L.typography.font100:L.typography.font200,boxSizing:"border-box",position:"relative",display:"block",color:l(T),cursor:_?"not-allowed":"pointer",backgroundColor:m(T),transitionProperty:"color, background-color",transitionDuration:L.animation.timing200,transitionTimingFunction:L.animation.easeOutCurve,marginBottom:0,paddingTop:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale100:L.sizing.scale300,paddingBottom:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale100:L.sizing.scale300,paddingRight:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale900:L.sizing.scale600,paddingLeft:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale900:L.sizing.scale600,":focus":{outline:"none"}}});h.displayName="StyledListItemElement",h.displayName="StyledListItemElement",qe.StyledListItem=(0,a.withWrapper)(h,T=>function({item:L,...R}){return r.createElement(T,R)});const g=qe.StyledListItemProfile=(0,a.styled)("li",({$theme:T})=>({position:"relative",display:"flex",alignItems:"center",cursor:"pointer",paddingTop:T.sizing.scale300,paddingBottom:T.sizing.scale300,paddingRight:T.sizing.scale800,paddingLeft:T.sizing.scale800,transitionProperty:"color, background-color",transitionDuration:T.animation.timing200,transitionTimingFunction:T.animation.easeOutCurve,":hover":{backgroundColor:T.colors.menuFillHover}}));g.displayName="StyledListItemProfile",g.displayName="StyledListItemProfile";const S=qe.StyledProfileImgContainer=(0,a.styled)("div",{width:"60px",height:"60px",display:"flex",justifyContent:"center",alignItems:"center"});S.displayName="StyledProfileImgContainer",S.displayName="StyledProfileImgContainer";const y=qe.StyledProfileImg=(0,a.styled)("img",{width:"100%",height:"100%",borderTopLeftRadius:"50%",borderTopRightRadius:"50%",borderBottomRightRadius:"50%",borderBottomLeftRadius:"50%"});y.displayName="StyledProfileImg",y.displayName="StyledProfileImg";const D=qe.StyledProfileLabelsContainer=(0,a.styled)("div",({$theme:{direction:T,sizing:_}})=>({alignSelf:T==="rtl"?"flex-end":"flex-start",display:"flex",flexDirection:"column",...T==="rtl"?{marginRight:_.scale600}:{marginLeft:_.scale600}}));D.displayName="StyledProfileLabelsContainer",D.displayName="StyledProfileLabelsContainer";const O=qe.StyledProfileTitle=(0,a.styled)("h6",({$theme:T})=>({...T.typography.font350,color:T.colors.contentPrimary,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0}));O.displayName="StyledProfileTitle",O.displayName="StyledProfileTitle";const A=qe.StyledProfileSubtitle=(0,a.styled)("p",({$theme:T})=>({...T.typography.font200,color:T.colors.contentPrimary,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0}));A.displayName="StyledProfileSubtitle",A.displayName="StyledProfileSubtitle";const C=qe.StyledProfileBody=(0,a.styled)("p",({$theme:T})=>({...T.typography.font100,color:T.colors.contentPrimary,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0}));C.displayName="StyledProfileBody",C.displayName="StyledProfileBody";const k=qe.StyledMenuDivider=(0,a.styled)("li",({$theme:T})=>({color:T.colors.contentPrimary,borderBottomWidth:T.borders.border300.borderWidth,borderBottomStyle:T.borders.border300.borderStyle,borderBottomColor:T.borders.border300.borderColor,marginTop:T.sizing.scale100,marginBottom:T.sizing.scale100,marginLeft:T.sizing.scale500,marginRight:T.sizing.scale500,listStyle:"none",height:0}));return k.displayName="StyledMenuDivider",C.displayName="StyledMenuDivider",qe}var zo={},Ho={},Kn={},Qb;function _0(){if(Qb)return Kn;Qb=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.default=Kn.NestedMenuContext=void 0;var r=i(we());function a(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(a=function(g){return g?h:b})(d)}function i(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=a(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function u(d,b,h){return b=c(b),b in d?Object.defineProperty(d,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):d[b]=h,d}function c(d){var b=f(d,"string");return typeof b=="symbol"?b:String(b)}function f(d,b){if(typeof d!="object"||!d)return d;var h=d[Symbol.toPrimitive];if(h!==void 0){var g=h.call(d,b);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(d)}const l=Kn.NestedMenuContext=r.createContext({addMenuToNesting:()=>{},removeMenuFromNesting:()=>{},getParentMenu:()=>{},getChildMenu:()=>{},nestedMenuHoverIndex:-1,isNestedMenuVisible:()=>!1,mountRef:{current:null}});function m(d,b){return!d||!b?!1:d.isSameNode(b)}class p extends r.Component{constructor(...b){super(...b),u(this,"state",{menus:[],nestedMenuHoverIndex:-1}),u(this,"mountRef",r.createRef()),u(this,"mouseLeaveTimeoueId",null),u(this,"handleMenuMouseLeave",h=>{this.mouseLeaveTimeoueId=setTimeout(()=>{this.setState({nestedMenuHoverIndex:-1})},200)}),u(this,"handleMenuMouseEnter",h=>{if(typeof document<"u"){clearTimeout(this.mouseLeaveTimeoueId);const g=this.state.menus.findIndex(S=>S.current&&h.currentTarget instanceof Node&&S.current.contains(h.currentTarget));this.setState({nestedMenuHoverIndex:g})}}),u(this,"addMenuToNesting",h=>{const g=h.current;g&&g.offsetHeight&&(g.addEventListener("mouseenter",this.handleMenuMouseEnter),g.addEventListener("mouseleave",this.handleMenuMouseLeave),this.setState(S=>({menus:[...S.menus,h]})))}),u(this,"removeMenuFromNesting",h=>{this.setState(g=>{for(const y of this.state.menus)if(y.current&&m(y.current,h.current)){const D=y.current;D.removeEventListener("mouseenter",this.handleMenuMouseEnter),D.removeEventListener("mouseleave",this.handleMenuMouseLeave)}return{menus:g.menus.filter(y=>y.current&&!m(y.current,h.current))}})}),u(this,"findMenuIndexByRef",h=>this.state.menus.findIndex(g=>m(g.current,h.current))),u(this,"getParentMenu",h=>{const g=this.findMenuIndexByRef(h)-1;return this.state.menus[g]}),u(this,"getChildMenu",h=>{const g=this.findMenuIndexByRef(h)+1;return this.state.menus[g]}),u(this,"isNestedMenuVisible",h=>this.findMenuIndexByRef(h)<=this.state.nestedMenuHoverIndex)}render(){return r.createElement(l.Provider,{value:{addMenuToNesting:this.addMenuToNesting,removeMenuFromNesting:this.removeMenuFromNesting,getParentMenu:this.getParentMenu,getChildMenu:this.getChildMenu,isNestedMenuVisible:this.isNestedMenuVisible,nestedMenuHoverIndex:this.state.nestedMenuHoverIndex,mountRef:this.mountRef}},r.createElement(r.Fragment,null,this.props.children,r.createElement("span",{ref:this.mountRef})))}}return Kn.default=p,Kn}var vf={},jo={},st={},Jb;function ea(){if(Jb)return st;Jb=1,Object.defineProperty(st,"__esModule",{value:!0}),st.TRIGGER_TYPE=st.STATE_CHANGE_TYPE=st.POPOVER_MARGIN=st.PLACEMENT=st.ARROW_WIDTH=st.ARROW_SIZE=st.ANIMATE_OUT_TIME=st.ANIMATE_IN_TIME=st.ACCESSIBILITY_TYPE=void 0,st.PLACEMENT={auto:"auto",topLeft:"topLeft",top:"top",topRight:"topRight",rightTop:"rightTop",right:"right",rightBottom:"rightBottom",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft",leftBottom:"leftBottom",left:"left",leftTop:"leftTop"},st.TRIGGER_TYPE={click:"click",hover:"hover"},st.STATE_CHANGE_TYPE={open:"open",close:"close"},st.ACCESSIBILITY_TYPE={none:"none",menu:"menu",tooltip:"tooltip"},st.POPOVER_MARGIN=8;const r=st.ARROW_SIZE=6;return st.ANIMATE_OUT_TIME=0,st.ANIMATE_IN_TIME=20,st.ARROW_WIDTH=Math.ceil(Math.sqrt((r*2)**2/2)),st}var Io={},ey;function ZS(){if(ey)return Io;ey=1,Object.defineProperty(Io,"__esModule",{value:!0}),Io.default=void 0;var r=c(we()),a=ea(),i=ri();function u(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(u=function(S){return S?g:h})(b)}function c(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=u(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}function f(b,h,g){return h=l(h),h in b?Object.defineProperty(b,h,{value:g,enumerable:!0,configurable:!0,writable:!0}):b[h]=g,b}function l(b){var h=m(b,"string");return typeof h=="symbol"?h:String(h)}function m(b,h){if(typeof b!="object"||!b)return b;var g=b[Symbol.toPrimitive];if(g!==void 0){var S=g.call(b,h);if(typeof S!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(b)}const p=(b,h)=>h;class d extends r.Component{constructor(...h){super(...h),f(this,"state",{isOpen:!1,...this.props.initialState}),f(this,"onBlur",g=>{this.props.onBlur&&this.props.onBlur(g),!(this.props.focusLock||this.props.autoFocus)&&this.close()}),f(this,"onClick",g=>{this.props.onClick&&this.props.onClick(g),this.state.isOpen?this.close():this.open()}),f(this,"onClickOutside",()=>{this.close()}),f(this,"onEsc",()=>{this.close()}),f(this,"onFocus",g=>{this.props.onFocus&&this.props.onFocus(g),(0,i.isFocusVisible)(g)&&this.open()}),f(this,"onMouseEnter",g=>{this.props.onMouseEnter&&this.props.onMouseEnter(g),this.open()}),f(this,"onMouseLeave",g=>{this.props.onMouseLeave&&this.props.onMouseLeave(g),this.close()}),f(this,"onContentClose",()=>{this.close()}),f(this,"renderContent",()=>{const{content:g}=this.props;return typeof g=="function"?g({close:this.onContentClose}):g})}open(){this.internalSetState(a.STATE_CHANGE_TYPE.open,{isOpen:!0}),this.props.onOpen&&this.props.onOpen()}close(){this.internalSetState(a.STATE_CHANGE_TYPE.close,{isOpen:!1}),this.props.onClose&&this.props.onClose()}internalSetState(h,g){const{stateReducer:S}=this.props;if(typeof S!="function"){this.setState(g);return}this.setState(y=>S(h,g,y))}render(){const{accessibilityType:h,autoFocus:g,animateOutTime:S,dismissOnClickOutside:y,dismissOnEsc:D,focusLock:O,ignoreBoundary:A,mountNode:C,onBlur:k,onClick:T,onFocus:_,onMouseEnter:L,onMouseLeave:R,onMouseEnterDelay:F,onMouseLeaveDelay:Z,overrides:ee,placement:G,popperOptions:ne,renderAll:K,returnFocus:se,showArrow:pe,triggerType:j,popoverMargin:te,focusOptions:oe}=this.props,z={accessibilityType:h,animateOutTime:S,autoFocus:g,content:this.renderContent,focusLock:O,ignoreBoundary:A,isOpen:this.state.isOpen,mountNode:C,onBlur:k,onClick:T,onFocus:_,onMouseEnter:L,onMouseLeave:R,onMouseEnterDelay:F,onMouseLeaveDelay:Z,overrides:ee,placement:G,popperOptions:ne,renderAll:K,returnFocus:se,showArrow:pe,triggerType:j,popoverMargin:te,focusOptions:oe};return y&&(z.onClickOutside=this.onClickOutside),D&&(z.onEsc=this.onEsc),j===a.TRIGGER_TYPE.hover?(z.onBlur=this.onBlur,z.onFocus=this.onFocus,z.onMouseEnter=this.onMouseEnter,z.onMouseLeave=this.onMouseLeave):z.onClick=this.onClick,this.props.children(z)}}return f(d,"defaultProps",{accessibilityType:a.ACCESSIBILITY_TYPE.menu,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:a.PLACEMENT.auto,popperOptions:{},showArrow:!1,triggerType:a.TRIGGER_TYPE.click,dismissOnClickOutside:!0,dismissOnEsc:!0,stateReducer:p,popoverMargin:a.POPOVER_MARGIN}),Io.default=d,Io}var qo={};function hT(r,a){if(r==null)return{};var i={};for(var u in r)if({}.hasOwnProperty.call(r,u)){if(a.indexOf(u)!==-1)continue;i[u]=r[u]}return i}function kr(){return kr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var u in i)({}).hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},kr.apply(null,arguments)}var Vf="data-focus-lock",XS="data-focus-lock-disabled",$S="data-no-focus-lock",T0="data-autofocus-inside",mT="data-no-autofocus";function hf(r,a){return typeof r=="function"?r(a):r&&(r.current=a),r}function bT(r,a){var i=re.useState(function(){return{value:r,callback:a,facade:{get current(){return i.value},set current(u){var c=i.value;c!==u&&(i.value=u,i.callback(u,c))}}}})[0];return i.callback=a,i.facade}var yT=typeof window<"u"?re.useLayoutEffect:re.useEffect,ty=new WeakMap;function ST(r,a){var i=bT(null,function(u){return r.forEach(function(c){return hf(c,u)})});return yT(function(){var u=ty.get(i);if(u){var c=new Set(u),f=new Set(r),l=i.current;c.forEach(function(m){f.has(m)||hf(m,null)}),f.forEach(function(m){c.has(m)||hf(m,l)})}ty.set(i,r)},[r]),i}var al={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},QS=function(a){var i=a.children,u=i===void 0?null:i;return me.createElement(re.Fragment,null,me.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:al}),u,u&&me.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:al}))};QS.propTypes={};var Kf=function(){return Kf=Object.assign||function(a){for(var i,u=1,c=arguments.length;u<c;u++){i=arguments[u];for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(a[f]=i[f])}return a},Kf.apply(this,arguments)};function JS(r){return r}function e2(r,a){a===void 0&&(a=JS);var i=[],u=!1,c={read:function(){if(u)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:r},useMedium:function(f){var l=a(f,u);return i.push(l),function(){i=i.filter(function(m){return m!==l})}},assignSyncMedium:function(f){for(u=!0;i.length;){var l=i;i=[],l.forEach(f)}i={push:function(m){return f(m)},filter:function(){return i}}},assignMedium:function(f){u=!0;var l=[];if(i.length){var m=i;i=[],m.forEach(f),l=i}var p=function(){var b=l;l=[],b.forEach(f)},d=function(){return Promise.resolve().then(p)};d(),i={push:function(b){l.push(b),d()},filter:function(b){return l=l.filter(b),i}}}};return c}function k0(r,a){return a===void 0&&(a=JS),e2(r,a)}function DT(r){r===void 0&&(r={});var a=e2(null);return a.options=Kf({async:!0,ssr:!1},r),a}var t2=k0({},function(r){var a=r.target,i=r.currentTarget;return{target:a,currentTarget:i}}),r2=k0(),A0=k0(),OT=DT({async:!0,ssr:typeof document<"u"}),n2=re.createContext(void 0),ET=[],Ms=re.forwardRef(function(a,i){var u,c=re.useState(),f=c[0],l=c[1],m=re.useRef(),p=re.useRef(!1),d=re.useRef(null),b=re.useState({}),h=b[1],g=a.children,S=a.disabled,y=S===void 0?!1:S,D=a.noFocusGuards,O=D===void 0?!1:D,A=a.persistentFocus,C=A===void 0?!1:A,k=a.crossFrame,T=k===void 0?!0:k,_=a.autoFocus,L=_===void 0?!0:_;a.allowTextSelection;var R=a.group,F=a.className,Z=a.whiteList,ee=a.hasPositiveIndices,G=a.shards,ne=G===void 0?ET:G,K=a.as,se=K===void 0?"div":K,pe=a.lockProps,j=pe===void 0?{}:pe,te=a.sideCar,oe=a.returnFocus,z=oe===void 0?!1:oe,W=a.focusOptions,P=a.onActivation,x=a.onDeactivation,w=re.useState({}),X=w[0],ae=re.useCallback(function(De){var Pe=De.captureFocusRestore;if(!d.current){var Ue,je=(Ue=document)==null?void 0:Ue.activeElement;d.current=je,je!==document.body&&(d.current=Pe(je))}m.current&&P&&P(m.current),p.current=!0,h()},[P]),le=re.useCallback(function(){p.current=!1,x&&x(m.current),h()},[x]),ie=re.useCallback(function(De){var Pe=d.current;if(Pe){var Ue=(typeof Pe=="function"?Pe():Pe)||document.body,je=typeof z=="function"?z(Ue):z;if(je){var gt=typeof je=="object"?je:void 0;d.current=null,De?Promise.resolve().then(function(){return Ue.focus(gt)}):Ue.focus(gt)}}},[z]),ce=re.useCallback(function(De){p.current&&t2.useMedium(De)},[]),ue=r2.useMedium,Me=re.useCallback(function(De){m.current!==De&&(m.current=De,l(De))},[]),Ce=kr((u={},u[XS]=y&&"disabled",u[Vf]=R,u),j),He=O!==!0,de=He&&O!=="tail",Se=ST([i,Me]),Ae=re.useMemo(function(){return{observed:m,shards:ne,enabled:!y,get active(){return p.current}}},[y,p,ne,m]);return me.createElement(re.Fragment,null,He&&[me.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:y?-1:0,style:al}),ee?me.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:y?-1:1,style:al}):null],!y&&me.createElement(te,{id:X,sideCar:OT,observed:f,disabled:y,persistentFocus:C,crossFrame:T,autoFocus:L,whiteList:Z,shards:ne,onActivation:ae,onDeactivation:le,returnFocus:ie,focusOptions:W,noFocusGuards:O}),me.createElement(se,kr({ref:Se},Ce,{className:F,onBlur:ue,onFocus:ce}),me.createElement(n2.Provider,{value:Ae},g)),de&&me.createElement("div",{"data-focus-guard":!0,tabIndex:y?-1:0,style:al}))});Ms.propTypes={};function Zf(r,a){return Zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,u){return i.__proto__=u,i},Zf(r,a)}function CT(r,a){r.prototype=Object.create(a.prototype),r.prototype.constructor=r,Zf(r,a)}function ol(r){"@babel/helpers - typeof";return ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},ol(r)}function _T(r,a){if(ol(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var u=i.call(r,a);if(ol(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(r)}function TT(r){var a=_T(r,"string");return ol(a)=="symbol"?a:a+""}function kT(r,a,i){return(a=TT(a))in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i,r}function AT(r,a){function i(u){return u.displayName||u.name||"Component"}return function(c){var f=[],l;function m(){l=r(f.map(function(d){return d.props})),a(l)}var p=(function(d){CT(b,d);function b(){return d.apply(this,arguments)||this}b.peek=function(){return l};var h=b.prototype;return h.componentDidMount=function(){f.push(this),m()},h.componentDidUpdate=function(){m()},h.componentWillUnmount=function(){var S=f.indexOf(this);f.splice(S,1),m()},h.render=function(){return me.createElement(c,this.props)},b})(re.PureComponent);return kT(p,"displayName","SideEffect("+i(c)+")"),p}}var Ar=function(r){for(var a=Array(r.length),i=0;i<r.length;++i)a[i]=r[i];return a},Qn=function(r){return Array.isArray(r)?r:[r]},a2=function(r){return Array.isArray(r)?r[0]:r},MT=function(r){if(r.nodeType!==Node.ELEMENT_NODE)return!1;var a=window.getComputedStyle(r,null);return!a||!a.getPropertyValue?!1:a.getPropertyValue("display")==="none"||a.getPropertyValue("visibility")==="hidden"},i2=function(r){return r.parentNode&&r.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.parentNode.host:r.parentNode},o2=function(r){return r===document||r&&r.nodeType===Node.DOCUMENT_NODE},wT=function(r){return r.hasAttribute("inert")},PT=function(r,a){return!r||o2(r)||!MT(r)&&!wT(r)&&a(i2(r))},l2=function(r,a){var i=r.get(a);if(i!==void 0)return i;var u=PT(a,l2.bind(void 0,r));return r.set(a,u),u},RT=function(r,a){return r&&!o2(r)?LT(r)?a(i2(r)):!1:!0},u2=function(r,a){var i=r.get(a);if(i!==void 0)return i;var u=RT(a,u2.bind(void 0,r));return r.set(a,u),u},s2=function(r){return r.dataset},xT=function(r){return r.tagName==="BUTTON"},c2=function(r){return r.tagName==="INPUT"},d2=function(r){return c2(r)&&r.type==="radio"},BT=function(r){return!((c2(r)||xT(r))&&(r.type==="hidden"||r.disabled))},LT=function(r){var a=r.getAttribute(mT);return![!0,"true",""].includes(a)},M0=function(r){var a;return!!(r&&(!((a=s2(r))===null||a===void 0)&&a.focusGuard))},Xf=function(r){return!M0(r)},FT=function(r){return!!r},NT=function(r,a){var i=Math.max(0,r.tabIndex),u=Math.max(0,a.tabIndex),c=i-u,f=r.index-a.index;if(c){if(!i)return 1;if(!u)return-1}return c||f},zT=function(r){return r.tabIndex<0&&!r.hasAttribute("tabindex")?0:r.tabIndex},w0=function(r,a,i){return Ar(r).map(function(u,c){var f=zT(u);return{node:u,index:c,tabIndex:i&&f===-1?(u.dataset||{}).focusGuard?0:-1:f}}).filter(function(u){return!a||u.tabIndex>=0}).sort(NT)},HT=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],P0=HT.join(","),jT="".concat(P0,", [data-focus-guard]"),f2=function(r,a){return Ar((r.shadowRoot||r).children).reduce(function(i,u){return i.concat(u.matches(a?jT:P0)?[u]:[],f2(u))},[])},IT=function(r,a){var i;return r instanceof HTMLIFrameElement&&(!((i=r.contentDocument)===null||i===void 0)&&i.body)?Za([r.contentDocument.body],a):[r]},Za=function(r,a){return r.reduce(function(i,u){var c,f=f2(u,a),l=(c=[]).concat.apply(c,f.map(function(m){return IT(m,a)}));return i.concat(l,u.parentNode?Ar(u.parentNode.querySelectorAll(P0)).filter(function(m){return m===u}):[])},[])},qT=function(r){var a=r.querySelectorAll("[".concat(T0,"]"));return Ar(a).map(function(i){return Za([i])}).reduce(function(i,u){return i.concat(u)},[])},R0=function(r,a){return Ar(r).filter(function(i){return l2(a,i)}).filter(function(i){return BT(i)})},ry=function(r,a){return a===void 0&&(a=new Map),Ar(r).filter(function(i){return u2(a,i)})},x0=function(r,a,i){return w0(R0(Za(r,i),a),!0,i)},ll=function(r,a){return w0(R0(Za(r),a),!1)},UT=function(r,a){return R0(qT(r),a)},$n=function(r,a){return r.shadowRoot?$n(r.shadowRoot,a):Object.getPrototypeOf(r).contains!==void 0&&Object.getPrototypeOf(r).contains.call(r,a)?!0:Ar(r.children).some(function(i){var u;if(i instanceof HTMLIFrameElement){var c=(u=i.contentDocument)===null||u===void 0?void 0:u.body;return c?$n(c,a):!1}return $n(i,a)})},WT=function(r){for(var a=new Set,i=r.length,u=0;u<i;u+=1)for(var c=u+1;c<i;c+=1){var f=r[u].compareDocumentPosition(r[c]);(f&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&a.add(c),(f&Node.DOCUMENT_POSITION_CONTAINS)>0&&a.add(u)}return r.filter(function(l,m){return!a.has(m)})},p2=function(r){return r.parentNode?p2(r.parentNode):r},B0=function(r){var a=Qn(r);return a.filter(Boolean).reduce(function(i,u){var c=u.getAttribute(Vf);return i.push.apply(i,c?WT(Ar(p2(u).querySelectorAll("[".concat(Vf,'="').concat(c,'"]:not([').concat(XS,'="disabled"])')))):[u]),i},[])},GT=function(r){try{return r()}catch{return}},ul=function(r){if(r===void 0&&(r=document),!(!r||!r.activeElement)){var a=r.activeElement;return a.shadowRoot?ul(a.shadowRoot):a instanceof HTMLIFrameElement&&GT(function(){return a.contentWindow.document})?ul(a.contentWindow.document):a}},YT=function(r,a){return r===a},VT=function(r,a){return!!Ar(r.querySelectorAll("iframe")).some(function(i){return YT(i,a)})},g2=function(r,a){return a===void 0&&(a=ul(a2(r).ownerDocument)),!a||a.dataset&&a.dataset.focusGuard?!1:B0(r).some(function(i){return $n(i,a)||VT(i,a)})},KT=function(r){r===void 0&&(r=document);var a=ul(r);return a?Ar(r.querySelectorAll("[".concat($S,"]"))).some(function(i){return $n(i,a)}):!1},ZT=function(r,a){return a.filter(d2).filter(function(i){return i.name===r.name}).filter(function(i){return i.checked})[0]||r},L0=function(r,a){return d2(r)&&r.name?ZT(r,a):r},XT=function(r){var a=new Set;return r.forEach(function(i){return a.add(L0(i,r))}),r.filter(function(i){return a.has(i)})},ny=function(r){return r[0]&&r.length>1?L0(r[0],r):r[0]},ay=function(r,a){return r.indexOf(L0(a,r))},$f="NEW_FOCUS",$T=function(r,a,i,u,c){var f=r.length,l=r[0],m=r[f-1],p=M0(u);if(!(u&&r.indexOf(u)>=0)){var d=u!==void 0?i.indexOf(u):-1,b=c?i.indexOf(c):d,h=c?r.indexOf(c):-1;if(d===-1)return h!==-1?h:$f;if(h===-1)return $f;var g=d-b,S=i.indexOf(l),y=i.indexOf(m),D=XT(i),O=u!==void 0?D.indexOf(u):-1,A=c?D.indexOf(c):O,C=D.filter(function(F){return F.tabIndex>=0}),k=u!==void 0?C.indexOf(u):-1,T=c?C.indexOf(c):k,_=k>=0&&T>=0?T-k:A-O;if(!g&&h>=0||a.length===0)return h;var L=ay(r,a[0]),R=ay(r,a[a.length-1]);if(d<=S&&p&&Math.abs(g)>1)return R;if(d>=y&&p&&Math.abs(g)>1)return L;if(g&&Math.abs(_)>1)return h;if(d<=S)return R;if(d>y)return L;if(g)return Math.abs(g)>1?h:(f+h+g)%f}},QT=function(r){return function(a){var i,u=(i=s2(a))===null||i===void 0?void 0:i.autofocus;return a.autofocus||u!==void 0&&u!=="false"||r.indexOf(a)>=0}},iy=function(r,a,i){var u=r.map(function(f){var l=f.node;return l}),c=ry(u.filter(QT(i)));return c&&c.length?ny(c):ny(ry(a))},Qf=function(r,a){return a===void 0&&(a=[]),a.push(r),r.parentNode&&Qf(r.parentNode.host||r.parentNode,a),a},mf=function(r,a){for(var i=Qf(r),u=Qf(a),c=0;c<i.length;c+=1){var f=i[c];if(u.indexOf(f)>=0)return f}return!1},v2=function(r,a,i){var u=Qn(r),c=Qn(a),f=u[0],l=!1;return c.filter(Boolean).forEach(function(m){l=mf(l||m,m)||l,i.filter(Boolean).forEach(function(p){var d=mf(f,p);d&&(!l||$n(d,l)?l=d:l=mf(d,l))})}),l},oy=function(r,a){return r.reduce(function(i,u){return i.concat(UT(u,a))},[])},JT=function(r,a){var i=new Map;return a.forEach(function(u){return i.set(u.node,u)}),r.map(function(u){return i.get(u)}).filter(FT)},ek=function(r,a){var i=ul(Qn(r).length>0?document:a2(r).ownerDocument),u=B0(r).filter(Xf),c=v2(i||r,r,u),f=new Map,l=ll(u,f),m=l.filter(function(y){var D=y.node;return Xf(D)});if(m[0]){var p=ll([c],f).map(function(y){var D=y.node;return D}),d=JT(p,m),b=d.map(function(y){var D=y.node;return D}),h=d.filter(function(y){var D=y.tabIndex;return D>=0}).map(function(y){var D=y.node;return D}),g=$T(b,h,p,i,a);if(g===$f){var S=iy(l,h,oy(u,f))||iy(l,b,oy(u,f));if(S)return{node:S};console.warn("focus-lock: cannot find any node to move focus into");return}return g===void 0?g:d[g]}},tk=function(r){var a=B0(r).filter(Xf),i=v2(r,r,a),u=w0(Za([i],!0),!0,!0),c=Za(a,!1);return u.map(function(f){var l=f.node,m=f.index;return{node:l,index:m,lockItem:c.indexOf(l)>=0,guard:M0(l)}})},F0=function(r,a){r&&("focus"in r&&r.focus(a),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus())},bf=0,yf=!1,h2=function(r,a,i){i===void 0&&(i={});var u=ek(r,a);if(!yf&&u){if(bf>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),yf=!0,setTimeout(function(){yf=!1},1);return}bf++,F0(u.node,i.focusOptions),bf--}};function Uo(r){if(!r)return null;if(typeof WeakRef>"u")return function(){return r||null};var a=r?new WeakRef(r):null;return function(){return a?.deref()||null}}var rk=function(r){if(!r)return null;for(var a=[],i=r;i&&i!==document.body;)a.push({current:Uo(i),parent:Uo(i.parentElement),left:Uo(i.previousElementSibling),right:Uo(i.nextElementSibling)}),i=i.parentElement;return{element:Uo(r),stack:a,ownerDocument:r.ownerDocument}},nk=function(r){var a,i,u,c,f;if(r)for(var l=r.stack,m=r.ownerDocument,p=new Map,d=0,b=l;d<b.length;d++){var h=b[d],g=(a=h.parent)===null||a===void 0?void 0:a.call(h);if(g&&m.contains(g)){for(var S=(i=h.left)===null||i===void 0?void 0:i.call(h),y=h.current(),D=g.contains(y)?y:void 0,O=(u=h.right)===null||u===void 0?void 0:u.call(h),A=x0([g],p),C=(f=(c=D??S?.nextElementSibling)!==null&&c!==void 0?c:O)!==null&&f!==void 0?f:S;C;){for(var k=0,T=A;k<T.length;k++){var _=T[k];if(C?.contains(_.node))return _.node}C=C.nextElementSibling}if(A.length)return A[0].node}}},m2=function(r){var a=rk(r);return function(){return nk(a)}},ak=function(r,a,i){if(!r||!a)return console.error("no element or scope given"),{};var u=Qn(a);if(u.every(function(l){return!$n(l,r)}))return console.error("Active element is not contained in the scope"),{};var c=i?x0(u,new Map):ll(u,new Map),f=c.findIndex(function(l){var m=l.node;return m===r});if(f!==-1)return{prev:c[f-1],next:c[f+1],first:c[0],last:c[c.length-1]}},ik=function(r,a){var i=a?x0(Qn(r),new Map):ll(Qn(r),new Map);return{first:i[0],last:i[i.length-1]}},ok=function(r){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)},b2=function(r,a,i){a===void 0&&(a={});var u=ok(a),c=ak(r,u.scope,u.onlyTabbable);if(c){var f=i(c,u.cycle);f&&F0(f.node,u.focusOptions)}},lk=function(r,a){a===void 0&&(a={}),b2(r,a,function(i,u){var c=i.next,f=i.first;return c||u&&f})},uk=function(r,a){a===void 0&&(a={}),b2(r,a,function(i,u){var c=i.prev,f=i.last;return c||u&&f})},y2=function(r,a,i){var u,c=ik(r,(u=a.onlyTabbable)!==null&&u!==void 0?u:!0),f=c[i];f&&F0(f.node,a.focusOptions)},sk=function(r,a){a===void 0&&(a={}),y2(r,a,"first")},ck=function(r,a){a===void 0&&(a={}),y2(r,a,"last")};function N0(r){setTimeout(r,1)}var z0=function(a,i){var u={};return u[a]=i,u},S2=function(a){return a&&"current"in a?a.current:a},D2=function(){return document&&document.activeElement===document.body},dk=function(){return D2()||KT()},Ua=null,It=null,ly=function(){return null},Wa=null,sl=!1,H0=!1,fk=function(){return!0},pk=function(a){return(Ua.whiteList||fk)(a)},gk=function(a,i){Wa={observerNode:a,portaledElement:i}},vk=function(a){return Wa&&Wa.portaledElement===a};function uy(r,a,i,u){var c=null,f=r;do{var l=u[f];if(l.guard)l.node.dataset.focusAutoGuard&&(c=l);else if(l.lockItem){if(f!==r)return;c=null}else break}while((f+=i)!==a);c&&(c.node.tabIndex=0)}var hk=function(a){return a?!!sl:sl==="meanwhile"},mk=function r(a,i,u){return i&&(i.host===a&&(!i.activeElement||u.contains(i.activeElement))||i.parentNode&&r(a,i.parentNode,u))},bk=function(a,i){return i.some(function(u){return mk(a,u,u)})},O2=function(a){return ll(a,new Map)},yk=function(a){return!O2([a.parentNode]).some(function(i){return i.node===a})},ds=function(){var a=!1;if(Ua){var i=Ua,u=i.observed,c=i.persistentFocus,f=i.autoFocus,l=i.shards,m=i.crossFrame,p=i.focusOptions,d=i.noFocusGuards,b=u||Wa&&Wa.portaledElement;if(D2()&&It&&It!==document.body&&(!document.body.contains(It)||yk(It))){var h=ly();h&&h.focus()}var g=document&&document.activeElement;if(b){var S=[b].concat(l.map(S2).filter(Boolean)),y=function(){if(!hk(m)||!d||!It||H0)return!1;var k=O2(S),T=k.findIndex(function(_){var L=_.node;return L===It});return T===0||T===k.length-1};if((!g||pk(g))&&(c||y()||!dk()||!It&&f)&&(b&&!(g2(S)||g&&bk(g,S)||vk(g))&&(document&&!It&&g&&!f?(g.blur&&g.blur(),document.body.focus()):(a=h2(S,It,{focusOptions:p}),Wa={})),It=document&&document.activeElement,It!==document.body&&(ly=m2(It)),sl=!1),document&&g!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var D=document&&document.activeElement,O=tk(S),A=O.map(function(C){var k=C.node;return k}).indexOf(D);A>-1&&(O.filter(function(C){var k=C.guard,T=C.node;return k&&T.dataset.focusAutoGuard}).forEach(function(C){var k=C.node;return k.removeAttribute("tabIndex")}),uy(A,O.length,1,O),uy(A,-1,-1,O))}}}return a},E2=function(a){ds()&&a&&(a.stopPropagation(),a.preventDefault())},j0=function(){return N0(ds)},Sk=function(a){var i=a.target,u=a.currentTarget;u.contains(i)||gk(u,i)},Dk=function(){return null},C2=function(){H0=!0},_2=function(){H0=!1,sl="just",N0(function(){sl="meanwhile"})},Ok=function(){document.addEventListener("focusin",E2),document.addEventListener("focusout",j0),window.addEventListener("focus",C2),window.addEventListener("blur",_2)},Ek=function(){document.removeEventListener("focusin",E2),document.removeEventListener("focusout",j0),window.removeEventListener("focus",C2),window.removeEventListener("blur",_2)};function Ck(r){return r.filter(function(a){var i=a.disabled;return!i})}var T2={moveFocusInside:h2,focusInside:g2,focusNextElement:lk,focusPrevElement:uk,focusFirstElement:sk,focusLastElement:ck,captureFocusRestore:m2};function _k(r){var a=r.slice(-1)[0];a&&!Ua&&Ok();var i=Ua,u=i&&a&&a.id===i.id;Ua=a,i&&!u&&(i.onDeactivation(),r.filter(function(c){var f=c.id;return f===i.id}).length||i.returnFocus(!a)),a?(It=null,(!u||i.observed!==a.observed)&&a.onActivation(T2),ds(),N0(ds)):(Ek(),It=null)}t2.assignSyncMedium(Sk);r2.assignMedium(j0);A0.assignMedium(function(r){return r(T2)});const Tk=AT(Ck,_k)(Dk);var k2=re.forwardRef(function(a,i){return me.createElement(Ms,kr({sideCar:Tk,ref:i},a))}),A2=Ms.propTypes||{};A2.sideCar;hT(A2,["sideCar"]);k2.propTypes={};var M2=function(a){var i=a.disabled,u=i===void 0?!1:i,c=a.children,f=a.className,l=f===void 0?void 0:f;return me.createElement("div",kr({},z0(T0,!u),{className:l}),c)};M2.propTypes={};var w2=function(a){re.useEffect(function(){var i=!0;return A0.useMedium(function(u){var c=a&&a.current;i&&c&&(u.focusInside(c)||u.moveFocusInside(c,null))}),function(){i=!1}},[a])};function P2(r){var a=r.disabled,i=a===void 0?!1:a,u=r.className,c=r.children,f=re.useRef(null);return w2(i?void 0:f),me.createElement("div",kr({},z0(T0,!i),{ref:f,className:u}),c)}P2.propTypes={};var R2=function(a){var i=a.children,u=a.className;return me.createElement("div",kr({},z0($S,!0),{className:u}),i)};R2.propTypes={};var Zn=function(a){return a.map(S2).filter(Boolean)},Wo=function(a){return new Promise(function(i){return A0.useMedium(function(){i(a.apply(void 0,arguments))})})},x2=function(){for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];if(!i.length)throw new Error("useFocusController requires at least one target element");var c=re.useRef(i);return c.current=i,re.useMemo(function(){return{autoFocus:function(l){return l===void 0&&(l={}),Wo(function(m){return m.moveFocusInside(Zn(c.current),null,l)})},focusNext:function(l){return Wo(function(m){m.moveFocusInside(Zn(c.current),null),m.focusNextElement(document.activeElement,kr({scope:Zn(c.current)},l))})},focusPrev:function(l){return Wo(function(m){m.moveFocusInside(Zn(c.current),null),m.focusPrevElement(document.activeElement,kr({scope:Zn(c.current)},l))})},focusFirst:function(l){return Wo(function(m){m.focusFirstElement(Zn(c.current),l)})},focusLast:function(l){return Wo(function(m){m.focusLastElement(Zn(c.current),l)})}}},[])},kk=function(){var a=re.useContext(n2);if(!a)throw new Error("FocusLock is required to operate with FocusScope");return x2.apply(void 0,[a.observed].concat(a.shards))},Ak=function(){return{emit:function(i){for(var u=arguments.length,c=new Array(u>1?u-1:0),f=1;f<u;f++)c[f-1]=arguments[f];for(var l=0,m=this.events[i]||[],p=m.length;l<p;l++)m[l].apply(m,c)},events:{},on:function(i,u){var c,f=this;return((c=this.events)[i]||(c[i]=[])).push(u),function(){var l;f.events[i]=(l=f.events[i])==null?void 0:l.filter(function(m){return u!==m})}}}},fs=Ak(),Xu=0,sy=function(a){return fs.emit("assign",a.target)},cy=function(a){return fs.emit("reset",a.target)},Mk=function(){re.useEffect(function(){return Xu||(document.addEventListener("focusin",sy),document.addEventListener("focusout",cy)),Xu+=1,function(){Xu-=1,Xu||(document.removeEventListener("focusin",sy),document.removeEventListener("focusout",cy))}},[])},dy=function(a,i){return a===i?"self":i.contains(a)?"within":"within-boundary"},wk=function(a){a===void 0&&(a={});var i=re.useState(!1),u=i[0],c=i[1],f=re.useState(""),l=f[0],m=f[1],p=re.useRef(null),d=re.useRef({}),b=re.useRef(!1);re.useEffect(function(){if(p.current){var g=p.current===document.activeElement||p.current.contains(document.activeElement);c(g),m(dy(document.activeElement,p.current)),g&&a.onFocus&&a.onFocus()}},[]);var h=re.useCallback(function(g){d.current={focused:!0,state:dy(g.target,g.currentTarget)}},[]);return Mk(),re.useEffect(function(){var g=fs.on("reset",function(){d.current={}}),S=fs.on("assign",function(){var y=d.current.focused||!1;c(y),m(d.current.state||""),y!==b.current&&(b.current=y,y?a.onFocus&&a.onFocus():a.onBlur&&a.onBlur())});return function(){g(),S()}},[]),{active:u,state:l,onFocus:h,ref:p}};const Pk=Object.freeze(Object.defineProperty({__proto__:null,AutoFocusInside:M2,FocusLockUI:Ms,FreeFocusInside:R2,InFocusGuard:QS,MoveFocusInside:P2,default:k2,useFocusController:x2,useFocusInside:w2,useFocusScope:kk,useFocusState:wk},Symbol.toStringTag,{value:"Module"})),Rk=Ja(Pk);var Mt={},fr={},fy;function B2(){if(fy)return fr;fy=1,Object.defineProperty(fr,"__esModule",{value:!0}),fr.capitalize=c,fr.fromPopperPlacement=f,fr.getArrowPositionStyles=b,fr.getEndPosition=d,fr.getOppositePosition=i,fr.getPopoverMarginStyles=m,fr.getStartPosition=p,fr.isVerticalPosition=u,fr.splitPlacement=l;var r=ea();const a={top:"bottom",bottom:"top",right:"left",left:"right"};function i(h){return a[h]}function u(h){return h==="top"||h==="bottom"}function c(h){return h.charAt(0).toUpperCase()+h.slice(1)}function f(h){const g=h.replace(/(top|bottom)-start$/,"$1Left").replace(/(top|bottom)-end$/,"$1Right").replace(/(left|right)-start$/,"$1Top").replace(/(left|right)-end$/,"$1Bottom");return r.PLACEMENT[g]||null}function l(h){return(h.match(/^([a-z]+)([A-Z][a-z]+)?/)||[]).slice(1,3).filter(Boolean).map(S=>S.toLowerCase())}function m(h,g,S){const[y]=l(g),D=i(y);return D?{[`margin${c(D)}`]:`${h+S}px`}:null}function p(h,g,S,y){h={...h};const[D]=l(g),O=(S>0?S:y)*2;return u(D)?h.top+=D==="top"?O:-O:h.left+=D==="left"?O:-O,`translate3d(${h.left}px, ${h.top}px, 0)`}function d(h){return`translate3d(${h.left}px, ${h.top}px, 0)`}function b(h,g){const[S]=l(g),y=i(S);if(!y)return null;const D=u(S)?"left":"top";return{[D]:`${h[D]}px`,[y]:`-${r.ARROW_SIZE-2}px`}}return fr}var py;function L2(){if(py)return Mt;py=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.Padding=Mt.Inner=Mt.Hidden=Mt.Body=Mt.Arrow=void 0,Mt.getArrowStyles=f,Mt.getBodyStyles=u,Mt.getInnerStyles=m;var r=wt(),a=ea(),i=B2();function u(h){const{$animationDuration:g,$isOpen:S,$isAnimating:y,$placement:D,$popoverOffset:O,$showArrow:A,$theme:C,$popoverMargin:k,$isHoverTrigger:T}=h;return{position:"absolute",top:0,left:0,backgroundColor:C.colors.backgroundTertiary,borderTopLeftRadius:C.borders.popoverBorderRadius,borderTopRightRadius:C.borders.popoverBorderRadius,borderBottomRightRadius:C.borders.popoverBorderRadius,borderBottomLeftRadius:C.borders.popoverBorderRadius,boxShadow:C.lighting.shadow600,transitionProperty:"opacity,transform",transitionDuration:y?S?"0.1s":`${g}ms`:"0s",transitionTimingFunction:S?C.animation.easeOutCurve:C.animation.easeInCurve,opacity:y&&S?1:0,transform:y&&S?(0,i.getEndPosition)(O):(0,i.getStartPosition)(O,D,A?a.ARROW_SIZE:0,k),...(0,i.getPopoverMarginStyles)(A?a.ARROW_SIZE:0,D,k),...T?{animationDuration:".1s",animationName:{"0%":{pointerEvents:"none"},"99%":{pointerEvents:"none"},"100%":{pointerEvents:"auto"}}}:{}}}const c=Mt.Body=(0,r.styled)("div",u);c.displayName="Body",c.displayName="Body";function f(h){const{$arrowOffset:g,$placement:S,$theme:y}=h;return{backgroundColor:y.colors.backgroundTertiary,boxShadow:y.lighting.shadow600,width:`${a.ARROW_WIDTH}px`,height:`${a.ARROW_WIDTH}px`,transform:"rotate(45deg)",position:"absolute",...(0,i.getArrowPositionStyles)(g,S)}}const l=Mt.Arrow=(0,r.styled)("div",f);l.displayName="Arrow",l.displayName="Arrow";function m({$theme:h}){return{backgroundColor:h.colors.backgroundTertiary,borderTopLeftRadius:h.borders.popoverBorderRadius,borderTopRightRadius:h.borders.popoverBorderRadius,borderBottomRightRadius:h.borders.popoverBorderRadius,borderBottomLeftRadius:h.borders.popoverBorderRadius,color:h.colors.contentPrimary,position:"relative"}}const p=Mt.Inner=(0,r.styled)("div",m);p.displayName="Inner",p.displayName="Inner";const d=Mt.Padding=(0,r.styled)("div",{paddingLeft:"12px",paddingTop:"12px",paddingRight:"12px",paddingBottom:"12px"});d.displayName="Padding",d.displayName="Padding";const b=Mt.Hidden=(0,r.styled)("div",{display:"none"});return b.displayName="Hidden",b.displayName="Hidden",Mt}var Go={},gy;function xk(){if(gy)return Go;gy=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.default=void 0;var r=ea();const a={accessibilityType:r.ACCESSIBILITY_TYPE.menu,focusLock:!1,autoFocus:!0,returnFocus:!0,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:r.PLACEMENT.auto,showArrow:!1,triggerType:r.TRIGGER_TYPE.click,renderAll:!1};return Go.default=a,Go}var vy;function F2(){if(vy)return qo;vy=1,Object.defineProperty(qo,"__esModule",{value:!0}),qo.default=void 0;var r=h(we()),a=h(Rk),i=kt(),u=ea(),c=US(),f=L2(),l=B2(),m=d(xk()),p=Cs;function d(C){return C&&C.__esModule?C:{default:C}}function b(C){if(typeof WeakMap!="function")return null;var k=new WeakMap,T=new WeakMap;return(b=function(_){return _?T:k})(C)}function h(C,k){if(C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var T=b(k);if(T&&T.has(C))return T.get(C);var _={__proto__:null},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in C)if(R!=="default"&&Object.prototype.hasOwnProperty.call(C,R)){var F=L?Object.getOwnPropertyDescriptor(C,R):null;F&&(F.get||F.set)?Object.defineProperty(_,R,F):_[R]=C[R]}return _.default=C,T&&T.set(C,_),_}function g(){return g=Object.assign?Object.assign.bind():function(C){for(var k=1;k<arguments.length;k++){var T=arguments[k];for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&(C[_]=T[_])}return C},g.apply(this,arguments)}function S(C,k,T){return k=y(k),k in C?Object.defineProperty(C,k,{value:T,enumerable:!0,configurable:!0,writable:!0}):C[k]=T,C}function y(C){var k=D(C,"string");return typeof k=="symbol"?k:String(k)}function D(C,k){if(typeof C!="object"||!C)return C;var T=C[Symbol.toPrimitive];if(T!==void 0){var _=T.call(C,k);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(C)}class O extends r.Component{constructor(...k){super(...k),S(this,"animateInTimer",void 0),S(this,"animateOutTimer",void 0),S(this,"animateOutCompleteTimer",void 0),S(this,"onMouseEnterTimer",void 0),S(this,"onMouseLeaveTimer",void 0),S(this,"anchorRef",r.createRef()),S(this,"popperRef",r.createRef()),S(this,"arrowRef",r.createRef()),S(this,"state",this.getDefaultState(this.props)),S(this,"animateIn",()=>{this.props.isOpen&&this.setState({isAnimating:!0})}),S(this,"animateOut",()=>{this.props.isOpen||(this.setState({isAnimating:!0}),this.animateOutCompleteTimer=setTimeout(()=>{this.setState({isAnimating:!1,placement:this.props.placement})},this.props.animateOutTime||u.ANIMATE_OUT_TIME))}),S(this,"onAnchorClick",T=>{this.props.onClick&&this.props.onClick(T)}),S(this,"onAnchorMouseEnter",T=>{this.onMouseLeaveTimer&&clearTimeout(this.onMouseLeaveTimer),this.triggerOnMouseEnterWithDelay(T)}),S(this,"onAnchorMouseLeave",T=>{this.onMouseEnterTimer&&clearTimeout(this.onMouseEnterTimer),this.triggerOnMouseLeaveWithDelay(T)}),S(this,"onPopoverMouseEnter",()=>{this.onMouseLeaveTimer&&clearTimeout(this.onMouseLeaveTimer)}),S(this,"onPopoverMouseLeave",T=>{this.triggerOnMouseLeaveWithDelay(T)}),S(this,"onPopperUpdate",(T,_)=>{const L=(0,l.fromPopperPlacement)(_.placement)||u.PLACEMENT.top;return this.setState({arrowOffset:T.arrow,popoverOffset:T.popper,placement:L}),this.animateInTimer=setTimeout(this.animateIn,u.ANIMATE_IN_TIME),_}),S(this,"triggerOnMouseLeave",T=>{this.props.onMouseLeave&&this.props.onMouseLeave(T)}),S(this,"triggerOnMouseEnter",T=>{this.props.onMouseEnter&&this.props.onMouseEnter(T)}),S(this,"onDocumentClick",T=>{const _=T.composedPath?T.composedPath()[0]:T.target,L=this.popperRef.current,R=this.anchorRef.current;!L||L===_||_ instanceof Node&&L.contains(_)||!R||R===_||_ instanceof Node&&R.contains(_)||this.props.onClickOutside&&this.props.onClickOutside(T)})}componentDidMount(){this.setState({isMounted:!0})}componentDidUpdate(k,T){this.init(k,T),this.props.accessibilityType!==u.ACCESSIBILITY_TYPE.tooltip&&this.props.autoFocus&&!this.state.autoFocusAfterPositioning&&this.popperRef.current!==null&&this.popperRef.current.getBoundingClientRect().top>0&&this.setState({autoFocusAfterPositioning:!0})}init(k,T){if(this.props.isOpen!==k.isOpen||this.state.isMounted!==T.isMounted||this.state.isLayerMounted!==T.isLayerMounted){if(this.props.isOpen&&this.state.isLayerMounted){this.clearTimers();return}if(!this.props.isOpen&&k.isOpen){this.animateOutTimer=setTimeout(this.animateOut,20);return}}}componentWillUnmount(){this.clearTimers()}getDefaultState(k){return{isAnimating:!1,arrowOffset:{left:0,top:0},popoverOffset:{left:0,top:0},placement:k.placement,isMounted:!1,isLayerMounted:!1,autoFocusAfterPositioning:!1}}clearTimers(){[this.animateInTimer,this.animateOutTimer,this.animateOutCompleteTimer,this.onMouseEnterTimer,this.onMouseLeaveTimer].forEach(k=>{k&&clearTimeout(k)})}triggerOnMouseLeaveWithDelay(k){const{onMouseLeaveDelay:T}=this.props;if(T){this.onMouseLeaveTimer=setTimeout(()=>this.triggerOnMouseLeave(k),T);return}this.triggerOnMouseLeave(k)}triggerOnMouseEnterWithDelay(k){const{onMouseEnterDelay:T}=this.props;if(T){this.onMouseEnterTimer=setTimeout(()=>this.triggerOnMouseEnter(k),T);return}this.triggerOnMouseEnter(k)}isClickTrigger(){return this.props.triggerType===u.TRIGGER_TYPE.click}isHoverTrigger(){return this.props.triggerType===u.TRIGGER_TYPE.hover}isAccessibilityTypeMenu(){return this.props.accessibilityType===u.ACCESSIBILITY_TYPE.menu}isAccessibilityTypeTooltip(){return this.props.accessibilityType===u.ACCESSIBILITY_TYPE.tooltip}getAnchorIdAttr(){const k=this.getPopoverIdAttr();return k?`${k}__anchor`:null}getPopoverIdAttr(){return this.props.id||null}getAnchorProps(){const{isOpen:k}=this.props,T={ref:this.anchorRef},_=this.getPopoverIdAttr();if(this.isAccessibilityTypeMenu()){const L=this.isClickTrigger()?"aria-controls":"aria-owns";T[L]=k?_:null,T["aria-haspopup"]=!0,T["aria-expanded"]=!!k}else this.isAccessibilityTypeTooltip()&&(T.id=this.getAnchorIdAttr(),T["aria-describedby"]=k?_:null);return this.isHoverTrigger()?(T.onMouseEnter=this.onAnchorMouseEnter,T.onMouseLeave=this.onAnchorMouseLeave,T.onBlur=this.props.onBlur,T.onFocus=this.props.onFocus):(T.onClick=this.onAnchorClick,this.props.onBlur&&(T.onBlur=this.props.onBlur),this.props.onFocus&&(T.onFocus=this.props.onFocus)),T}getPopoverBodyProps(){const k={},T=this.getPopoverIdAttr();return this.isAccessibilityTypeMenu()?k.id=T:this.isAccessibilityTypeTooltip()&&(k.id=T,k.role="tooltip"),this.isHoverTrigger()&&(k.onMouseEnter=this.onPopoverMouseEnter,k.onMouseLeave=this.onPopoverMouseLeave),k}getSharedProps(){const{isOpen:k,showArrow:T,popoverMargin:_=u.POPOVER_MARGIN}=this.props,{isAnimating:L,arrowOffset:R,popoverOffset:F,placement:Z}=this.state;return{$showArrow:!!T,$arrowOffset:R,$popoverOffset:F,$placement:Z,$isAnimating:L,$animationDuration:this.props.animateOutTime||u.ANIMATE_OUT_TIME,$isOpen:k,$popoverMargin:_,$isHoverTrigger:this.isHoverTrigger()}}getAnchorFromChildren(){const{children:k}=this.props,T=r.Children.toArray(k);return T.length!==1&&console.error(`[baseui] Exactly 1 child must be passed to Popover/Tooltip, found ${T.length} children`),T[0]}renderAnchor(){const k=this.getAnchorFromChildren();if(!k)return null;const T=r.isValidElement(k),_=this.getAnchorProps();return typeof k=="object"&&T?r.cloneElement(k,_):r.createElement("span",g({key:"popover-anchor"},_),k)}renderPopover(k){const{showArrow:T,overrides:_={}}=this.props,{Arrow:L,Body:R,Inner:F}=_,Z=(0,i.getOverride)(L)||f.Arrow,ee=(0,i.getOverride)(R)||f.Body,G=(0,i.getOverride)(F)||f.Inner,ne=this.getSharedProps(),K=this.getPopoverBodyProps();return r.createElement(ee,g({key:"popover-body",ref:this.popperRef,"data-baseweb":this.props["data-baseweb"]||"popover"},K,ne,(0,i.getOverrideProps)(R)),T?r.createElement(Z,g({key:"popover-arrow",ref:this.arrowRef},ne,(0,i.getOverrideProps)(L))):null,r.createElement(G,g({},ne,(0,i.getOverrideProps)(F)),k))}renderContent(){const{content:k}=this.props;return typeof k=="function"?k():k}render(){const k=this.state.isMounted&&(this.props.isOpen||this.state.isAnimating),T=[this.renderAnchor()],_=k||this.props.renderAll?this.renderContent():null,L={modifiers:{preventOverflow:{enabled:!this.props.ignoreBoundary,padding:0}}};return _&&(k?T.push(r.createElement(c.Layer,{key:"new-layer",mountNode:this.props.mountNode,onEscape:this.props.onEsc,onDocumentClick:this.isHoverTrigger()?void 0:this.onDocumentClick,isHoverLayer:this.isHoverTrigger(),onMount:()=>this.setState({isLayerMounted:!0}),onUnmount:()=>this.setState({isLayerMounted:!1})},r.createElement(c.TetherBehavior,{anchorRef:this.anchorRef.current,arrowRef:this.arrowRef.current,popperRef:this.popperRef.current,popperOptions:{...L,...this.props.popperOptions},onPopperUpdate:this.onPopperUpdate,placement:this.state.placement},this.props.focusLock&&this.props.accessibilityType!==u.ACCESSIBILITY_TYPE.tooltip?r.createElement(a.default,{disabled:!this.props.focusLock,noFocusGuards:!1,returnFocus:!this.isHoverTrigger()&&this.props.returnFocus,autoFocus:this.state.autoFocusAfterPositioning,crossFrame:!1,focusOptions:this.props.focusOptions},this.renderPopover(_)):r.createElement(a.MoveFocusInside,{disabled:!this.props.autoFocus||!this.state.autoFocusAfterPositioning},this.renderPopover(_))))):T.push(r.createElement(f.Hidden,{key:"hidden-layer"},_))),T}}S(O,"defaultProps",m.default);const A=C=>{const{innerRef:k}=C,T=(0,p.useUID)();return r.createElement(O,g({id:C.id||T,ref:k},C))};return A.defaultProps=m.default,qo.default=A,qo}var hy;function Bk(){if(hy)return jo;hy=1,Object.defineProperty(jo,"__esModule",{value:!0}),jo.default=void 0;var r=l(we()),a=ea(),i=c(ZS()),u=c(F2());function c(p){return p&&p.__esModule?p:{default:p}}function f(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(f=function(h){return h?b:d})(p)}function l(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=f(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}function m(p){const{children:d,...b}=p;return r.createElement(i.default,b,h=>r.createElement(u.default,h,d))}return m.defaultProps={accessibilityType:a.ACCESSIBILITY_TYPE.menu,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:a.PLACEMENT.auto,showArrow:!1,triggerType:a.TRIGGER_TYPE.click,dismissOnClickOutside:!0,dismissOnEsc:!0,stateReducer:(p,d)=>d,popoverMargin:a.POPOVER_MARGIN},jo.default=m,jo}var my={},by;function Lk(){return by||(by=1),my}var yy;function N2(){return yy||(yy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={StatefulPopover:!0,StatefulContainer:!0,Popover:!0,ACCESSIBILITY_TYPE:!0,PLACEMENT:!0,TRIGGER_TYPE:!0,STATE_CHANGE_TYPE:!0,ANIMATE_IN_TIME:!0,ANIMATE_OUT_TIME:!0,StyledArrow:!0,StyledBody:!0,StyledInner:!0,StyledPadding:!0};Object.defineProperty(r,"ACCESSIBILITY_TYPE",{enumerable:!0,get:function(){return f.ACCESSIBILITY_TYPE}}),Object.defineProperty(r,"ANIMATE_IN_TIME",{enumerable:!0,get:function(){return f.ANIMATE_IN_TIME}}),Object.defineProperty(r,"ANIMATE_OUT_TIME",{enumerable:!0,get:function(){return f.ANIMATE_OUT_TIME}}),Object.defineProperty(r,"PLACEMENT",{enumerable:!0,get:function(){return f.PLACEMENT}}),Object.defineProperty(r,"Popover",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return f.STATE_CHANGE_TYPE}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StatefulPopover",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"StyledArrow",{enumerable:!0,get:function(){return l.Arrow}}),Object.defineProperty(r,"StyledBody",{enumerable:!0,get:function(){return l.Body}}),Object.defineProperty(r,"StyledInner",{enumerable:!0,get:function(){return l.Inner}}),Object.defineProperty(r,"StyledPadding",{enumerable:!0,get:function(){return l.Padding}}),Object.defineProperty(r,"TRIGGER_TYPE",{enumerable:!0,get:function(){return f.TRIGGER_TYPE}});var i=p(Bk()),u=p(ZS()),c=p(F2()),f=ea(),l=L2(),m=Lk();Object.keys(m).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(a,d)||d in r&&r[d]===m[d]||Object.defineProperty(r,d,{enumerable:!0,get:function(){return m[d]}})});function p(d){return d&&d.__esModule?d:{default:d}}})(vf)),vf}var Sy;function z2(){if(Sy)return Ho;Sy=1,Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.default=void 0;var r=f(we()),a=_0(),i=N2(),u=kt();function c(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(c=function(h){return h?b:d})(p)}function f(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=c(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}function l(){return l=Object.assign?Object.assign.bind():function(p){for(var d=1;d<arguments.length;d++){var b=arguments[d];for(var h in b)Object.prototype.hasOwnProperty.call(b,h)&&(p[h]=b[h])}return p},l.apply(this,arguments)}const m=p=>{if(!p.getChildMenu)return p.children;const d=p.getChildMenu(p.item);if(!d)return p.children;const{overrides:b={}}=p,[h,g]=(0,u.getOverrides)(b.ChildMenuPopover,i.Popover);return r.createElement(a.NestedMenuContext.Consumer,null,S=>r.createElement(h,l({focusLock:!1,autoFocus:!1,isOpen:p.isOpen,renderAll:p.renderAll,content:d,ignoreBoundary:!0,mountNode:S.mountRef.current?S.mountRef.current:void 0,onClick:p.onClick,onMouseEnterDelay:30,onMouseLeaveDelay:30,onEsc:p.resetParentMenu,placement:"rightTop"},g,{overrides:(0,u.mergeOverrides)({Body:{props:{onKeyDown:y=>{y.keyCode===9&&y.preventDefault()}}}},g.overrides)}),p.children))};return Ho.default=m,Ho}var Dy;function H2(){if(Dy)return zo;Dy=1,Object.defineProperty(zo,"__esModule",{value:!0}),zo.default=void 0;var r=p(we()),a=v0(),i=kt(),u=ks(),c=l(z2()),f=As();function l(y){return y&&y.__esModule?y:{default:y}}function m(y){if(typeof WeakMap!="function")return null;var D=new WeakMap,O=new WeakMap;return(m=function(A){return A?O:D})(y)}function p(y,D){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var O=m(D);if(O&&O.has(y))return O.get(y);var A={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in y)if(k!=="default"&&Object.prototype.hasOwnProperty.call(y,k)){var T=C?Object.getOwnPropertyDescriptor(y,k):null;T&&(T.get||T.set)?Object.defineProperty(A,k,T):A[k]=y[k]}return A.default=y,O&&O.set(y,A),A}function d(){return d=Object.assign?Object.assign.bind():function(y){for(var D=1;D<arguments.length;D++){var O=arguments[D];for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&(y[A]=O[A])}return y},d.apply(this,arguments)}function b(y,D){const{getChildMenu:O,getItemLabel:A=te=>te?te.label:"",item:C,onClick:k=()=>{},onMouseEnter:T=()=>{},overrides:_={},renderHrefAsAnchor:L=!0,resetMenu:R=()=>{},size:F=u.OPTION_LIST_SIZE.default,$isHighlighted:Z,renderAll:ee,...G}=y,[ne,K]=(0,i.getOverrides)(_.ListItem,f.StyledListItem),[se,pe]=(0,i.getOverrides)(_.ListItemAnchor,f.StyledListItemAnchor),j=te=>te.href&&L?r.createElement(se,d({$item:te,href:te.href},pe),A(te)):r.createElement(r.Fragment,null,A(te));return r.createElement(a.LocaleContext.Consumer,null,te=>r.createElement(c.default,{getChildMenu:O,isOpen:!!Z,item:C,resetParentMenu:R,renderAll:ee,onClick:k,overrides:_},r.createElement(ne,d({ref:D,"aria-label":O&&O(C)?te.menu.parentMenuItemAriaLabel:null,item:C,onClick:k,onMouseEnter:T,$size:F,$isHighlighted:Z},G,K),j({isHighlighted:Z,...C}))))}function h(y,D){if(!y||!D)return!1;for(var O in y)if(y[O]!==D[O])return!1;return!0}function g(y,D){return y.$isHighlighted===D.$isHighlighted&&y.$isFocused===D.$isFocused&&h(y.item,D.item)&&h(y.overrides,D.overrides)&&y.size===D.size&&y.getItemLabel===D.getItemLabel&&y.getChildMenu===D.getChildMenu&&y.resetMenu===D.resetMenu}const S=r.forwardRef(b);return S.displayName="OptionList",zo.default=r.memo(S,g),zo}var Oy;function j2(){if(Oy)return Zu;Oy=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.default=b;var r=p(we()),a=v0(),i=As(),u=l(H2()),c=kt(),f=ri();function l(h){return h&&h.__esModule?h:{default:h}}function m(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,S=new WeakMap;return(m=function(y){return y?S:g})(h)}function p(h,g){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var S=m(g);if(S&&S.has(h))return S.get(h);var y={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var A=D?Object.getOwnPropertyDescriptor(h,O):null;A&&(A.get||A.set)?Object.defineProperty(y,O,A):y[O]=h[O]}return y.default=h,S&&S.set(h,y),y}function d(){return d=Object.assign?Object.assign.bind():function(h){for(var g=1;g<arguments.length;g++){var S=arguments[g];for(var y in S)Object.prototype.hasOwnProperty.call(S,y)&&(h[y]=S[y])}return h},d.apply(this,arguments)}function b(h){const{overrides:g={},"aria-label":S="Menu",rootRef:y=r.createRef(),focusMenu:D=()=>{},unfocusMenu:O=()=>{},handleMouseLeave:A=()=>{},handleKeyDown:C=x=>{},renderAll:k=!1}=h,[T,_]=r.useState(!1),L=x=>{(0,f.isFocusVisible)(x)&&_(!0)},R=x=>{T!==!1&&_(!1)},[F,Z]=(0,c.getOverrides)(g.List,i.StyledList),[ee,G]=(0,c.getOverrides)(g.Option,u.default),[ne,K]=(0,c.getOverrides)(g.EmptyState,i.StyledEmptyState),[se,pe]=(0,c.getOverrides)(g.OptgroupHeader,i.StyledOptgroupHeader),[j,te]=(0,c.getOverrides)(g.MenuDivider,i.StyledMenuDivider),oe=Array.isArray(h.items)?{__ungrouped:h.items}:h.items,z=Object.keys(oe),[W]=z.reduce(([x,w],X)=>{X!=="__ungrouped"&&x.push(r.createElement(se,d({key:X},pe),X));const ae=oe[X].map((le,ie)=>{w=w+1;const{getRequiredItemProps:ce=(Se,Ae)=>({})}=h;if(le.divider===!0)return r.createElement(j,d({key:w},te));const{disabled:ue,isFocused:Me,isHighlighted:Ce,resetMenu:He=()=>{},...de}=ce(le,w);return r.createElement(ee,d({renderAll:k,key:w,item:le,overrides:h.overrides,resetMenu:He,role:"option",$disabled:ue,$isFocused:Me,$isHighlighted:Ce,"aria-disabled":ue,"aria-selected":Ce&&Me},de,G))});return[x.concat(ae),w]},[[],-1]),P=z.every(x=>!oe[x].length);return r.createElement(a.LocaleContext.Consumer,null,x=>r.createElement(F,d({"aria-activedescendant":h.activedescendantId||null,role:"listbox","aria-label":S,ref:y,onMouseEnter:D,onMouseLeave:A,onMouseOver:D,onFocus:(0,f.forkFocus)({onFocus:D},L),onBlur:(0,f.forkBlur)({onBlur:O},R),onKeyDown:w=>{h.isFocused&&C(w)},tabIndex:0,"data-baseweb":"menu",$isFocusVisible:T},Z),P?r.createElement(ne,d({"aria-live":"polite","aria-atomic":!0},K),h.noResultsMsg||x.menu.noResultsMsg):W))}return Zu}var Yo={},$u={},Ey;function Fk(){if(Ey)return $u;Ey=1,Object.defineProperty($u,"__esModule",{value:!0}),$u.scrollItemIntoView=r;function r(a,i,u,c,f="auto"){if(!a)return;const l=a.getBoundingClientRect(),m=i.getBoundingClientRect();if(l.bottom>m.bottom)if(c)i.scrollTop=i.scrollHeight-m.height;else{const p=a.offsetTop+l.height;i.scrollTop=p-(f==="center"?Math.round((m.height+l.height)/2):m.height)}else l.top<m.top&&(u?i.scrollTop=0:i.scrollTop=a.offsetTop-(f==="center"?Math.round((m.height-l.height)/2):0))}return $u}var Cy;function I2(){if(Cy)return Yo;Cy=1,Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.default=void 0;var r=f(we()),a=ks(),i=Fk(),u=Cs;function c(S){if(typeof WeakMap!="function")return null;var y=new WeakMap,D=new WeakMap;return(c=function(O){return O?D:y})(S)}function f(S,y){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var D=c(y);if(D&&D.has(S))return D.get(S);var O={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in S)if(C!=="default"&&Object.prototype.hasOwnProperty.call(S,C)){var k=A?Object.getOwnPropertyDescriptor(S,C):null;k&&(k.get||k.set)?Object.defineProperty(O,C,k):O[C]=S[C]}return O.default=S,D&&D.set(S,O),O}function l(){return l=Object.assign?Object.assign.bind():function(S){for(var y=1;y<arguments.length;y++){var D=arguments[y];for(var O in D)Object.prototype.hasOwnProperty.call(D,O)&&(S[O]=D[O])}return S},l.apply(this,arguments)}function m(S,y,D){return y=p(y),y in S?Object.defineProperty(S,y,{value:D,enumerable:!0,configurable:!0,writable:!0}):S[y]=D,S}function p(S){var y=d(S,"string");return typeof y=="symbol"?y:String(y)}function d(S,y){if(typeof S!="object"||!S)return S;var D=S[Symbol.toPrimitive];if(D!==void 0){var O=D.call(S,y);if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(S)}const b={initialState:{highlightedIndex:-1,isFocused:!1},typeAhead:!0,keyboardControlNode:{current:null},stateReducer:(S,y)=>y,onItemSelect:()=>{},getRequiredItemProps:()=>({}),children:()=>null,addMenuToNesting:()=>{},removeMenuFromNesting:()=>{},getParentMenu:()=>{},getChildMenu:()=>{},nestedMenuHoverIndex:-1,isNestedMenuVisible:()=>!1,forceHighlight:!1};class h extends r.Component{constructor(...y){super(...y),m(this,"state",{...this.constructor.defaultProps.initialState,...this.props.initialState}),m(this,"rootRef",r.createRef()),m(this,"keyboardControlNode",this.props.keyboardControlNode.current),m(this,"refList",[]),m(this,"optionIds",[]),m(this,"typeAheadChars",""),m(this,"typeAheadTimeOut",null),m(this,"onKeyDown",D=>{switch(D.key){case a.KEY_STRINGS.ArrowUp:case a.KEY_STRINGS.ArrowDown:case a.KEY_STRINGS.ArrowLeft:case a.KEY_STRINGS.ArrowRight:case a.KEY_STRINGS.Home:case a.KEY_STRINGS.End:this.handleArrowKey(D);break;case a.KEY_STRINGS.Enter:if(D.keyCode===229)break;this.handleEnterKey(D);break;default:this.props.typeAhead&&(clearTimeout(this.typeAheadTimeOut),this.handleAlphaDown(D));break}}),m(this,"handleAlphaDown",D=>{const O=this.props.rootRef?this.props.rootRef:this.rootRef,A=this.state.highlightedIndex;this.typeAheadChars+=D.key,this.typeAheadTimeOut=setTimeout(()=>{this.typeAheadChars=""},500);var C=A,k=this.getItems();if(!(k.length===0||!("label"in k[0]))){var T=!0;for(let _=0;_<k.length;_++){let L=k[_].label;if(L&&L.toUpperCase&&L.toUpperCase().indexOf(this.typeAheadChars.toUpperCase())===0){C=_,T=!1;break}}if(T)for(let _=0;_<k.length;_++){let L=k[_].label;if(L&&L.toUpperCase&&L.toUpperCase().indexOf(this.typeAheadChars.toUpperCase())>0){C=_;break}}this.internalSetState(a.STATE_CHANGE_TYPES.character,{highlightedIndex:C}),this.refList[C]&&(0,i.scrollItemIntoView)(this.refList[C].current,O.current,C===0,C===k.length-1)}}),m(this,"handleArrowKey",D=>{const O=this.props.rootRef?this.props.rootRef:this.rootRef,A=this.state.highlightedIndex;let C=A;if(D.key===a.KEY_STRINGS.ArrowUp)D.preventDefault(),C=Math.max(0,A-1),this.internalSetState(a.STATE_CHANGE_TYPES.moveUp,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.ArrowDown)D.preventDefault(),C=Math.min(A+1,this.getItems().length-1),this.internalSetState(a.STATE_CHANGE_TYPES.moveDown,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.Home)D.preventDefault(),C=0,this.internalSetState(a.STATE_CHANGE_TYPES.moveUp,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.End)D.preventDefault(),C=this.getItems().length-1,this.internalSetState(a.STATE_CHANGE_TYPES.moveDown,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.ArrowLeft){if(this.props.getParentMenu){const k=this.props.getParentMenu(O);k&&k.current&&k.current.focus()}}else if(D.key===a.KEY_STRINGS.ArrowRight&&this.props.getChildMenu){const k=this.props.getChildMenu(O);k&&k.current&&k.current.focus()}this.refList[C]&&(0,i.scrollItemIntoView)(this.refList[C].current,O.current,C===0,C===this.getItems().length-1)}),m(this,"handleEnterKey",D=>{const{onItemSelect:O}=this.props,{highlightedIndex:A}=this.state,C=this.getItems();C[A]&&O&&!C[A].disabled&&(D.preventDefault(),O({item:C[A],event:D}))}),m(this,"handleItemClick",(D,O,A)=>{this.props.onItemSelect&&!O.disabled&&(this.props.onItemSelect({item:O,event:A}),this.internalSetState(a.STATE_CHANGE_TYPES.click,{highlightedIndex:D,activedescendantId:this.optionIds[D]}))}),m(this,"handleMouseEnter",D=>{this.internalSetState(a.STATE_CHANGE_TYPES.mouseEnter,{highlightedIndex:D,activedescendantId:this.optionIds[D]})}),m(this,"handleMouseLeave",D=>{}),m(this,"getRequiredItemProps",(D,O)=>{let A=this.refList[O];A||(A=r.createRef(),this.refList[O]=A,this.optionIds[O]=this.props.uidSeed(O));const{disabled:C,...k}=this.props.getRequiredItemProps(D,O),T=typeof C=="boolean"?C:!!D.disabled;return{id:k.id||this.optionIds[O],disabled:T,ref:A,isFocused:this.state.isFocused,isHighlighted:this.state.highlightedIndex===O,resetMenu:this.resetMenu,...T?{}:{onClick:this.handleItemClick.bind(this,O,D),onMouseEnter:this.handleMouseEnter.bind(this,O)},...k}}),m(this,"focusMenu",D=>{const O=this.props.rootRef?this.props.rootRef:this.rootRef;!this.state.isFocused&&O.current&&O.current.contains(D.target)&&(this.state.highlightedIndex<0?this.internalSetState(a.STATE_CHANGE_TYPES.focus,{isFocused:!0,highlightedIndex:0}):this.internalSetState(a.STATE_CHANGE_TYPES.focus,{isFocused:!0}),O.current.focus())}),m(this,"unfocusMenu",()=>{this.internalSetState(a.STATE_CHANGE_TYPES.focus,{isFocused:!1})}),m(this,"resetMenu",()=>{this.internalSetState(a.STATE_CHANGE_TYPES.reset,{isFocused:!1,highlightedIndex:-1,activedescendantId:null})})}getItems(){return Array.isArray(this.props.items)?this.props.items:Object.keys(this.props.items).reduce((D,O)=>D.concat(this.props.items[O]),[])}componentDidMount(){const y=this.props.rootRef?this.props.rootRef:this.rootRef;typeof document<"u"&&(y.current&&this.state.highlightedIndex>-1&&this.refList[this.state.highlightedIndex]&&(0,i.scrollItemIntoView)(this.refList[this.state.highlightedIndex].current,y.current,this.state.highlightedIndex===0,this.state.highlightedIndex===this.getItems().length-1,"center"),this.state.isFocused&&this.keyboardControlNode&&this.keyboardControlNode.addEventListener("keydown",this.onKeyDown)),this.props.addMenuToNesting&&this.props.addMenuToNesting(y)}componentWillUnmount(){const y=this.props.rootRef?this.props.rootRef:this.rootRef;typeof document<"u"&&this.keyboardControlNode&&this.keyboardControlNode.removeEventListener("keydown",this.onKeyDown),this.props.removeMenuFromNesting&&this.props.removeMenuFromNesting(y)}componentDidUpdate(y,D){typeof document<"u"&&(!D.isFocused&&this.state.isFocused?this.keyboardControlNode&&this.keyboardControlNode.addEventListener("keydown",this.onKeyDown):D.isFocused&&!this.state.isFocused&&this.keyboardControlNode&&this.keyboardControlNode.removeEventListener("keydown",this.onKeyDown));var O=this.getItems().length;this.props.forceHighlight&&this.state.highlightedIndex===-1&&O>0&&this.internalSetState(a.STATE_CHANGE_TYPES.enter,{highlightedIndex:0}),O===0&&this.state.highlightedIndex!==-1?this.internalSetState(a.STATE_CHANGE_TYPES.enter,{highlightedIndex:-1}):this.state.highlightedIndex>=O&&this.internalSetState(a.STATE_CHANGE_TYPES.enter,{highlightedIndex:0}),this.props.isNestedMenuVisible&&this.props.nestedMenuHoverIndex!==y.nestedMenuHoverIndex&&!this.props.isNestedMenuVisible(this.rootRef)&&!this.props.forceHighlight&&this.setState({highlightedIndex:-1})}internalSetState(y,D){const{stateReducer:O}=this.props;this.props.onActiveDescendantChange&&typeof D.highlightedIndex=="number"&&this.state.highlightedIndex!==D.highlightedIndex&&this.props.onActiveDescendantChange(this.optionIds[D.highlightedIndex]),this.setState(O(y,D,this.state))}render(){const{initialState:y,stateReducer:D,children:O,onItemSelect:A,addMenuToNesting:C,removeMenuFromNesting:k,getParentMenu:T,getChildMenu:_,forceHighlight:L,...R}=this.props;return this.props.children({...R,rootRef:this.props.rootRef?this.props.rootRef:this.rootRef,activedescendantId:this.optionIds[this.state.highlightedIndex],getRequiredItemProps:(F,Z)=>this.getRequiredItemProps(F,Z),handleMouseLeave:this.handleMouseLeave,highlightedIndex:this.state.highlightedIndex,isFocused:this.state.isFocused,handleKeyDown:this.props.keyboardControlNode.current?F=>{}:this.onKeyDown,focusMenu:this.focusMenu,unfocusMenu:this.unfocusMenu})}}m(h,"defaultProps",b);const g=S=>r.createElement(h,l({uidSeed:(0,u.useUIDSeed)()},S));return g.defaultProps=b,Yo.default=g,Yo}var _y;function Nk(){if(_y)return No;_y=1,Object.defineProperty(No,"__esModule",{value:!0}),No.default=void 0;var r=l(we()),a=c(j2()),i=_0(),u=c(I2());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}class p extends r.PureComponent{render(){const{overrides:b,...h}=this.props;return r.createElement(i.NestedMenuContext.Consumer,null,g=>r.createElement(u.default,m({},g,h),S=>r.createElement(a.default,m({},S,{overrides:b}))))}}return No.default=p,No}var Vo={},Ty;function zk(){if(Ty)return Vo;Ty=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.default=void 0;var r=l(we()),a=c(z2()),i=As(),u=kt();function c(b){return b&&b.__esModule?b:{default:b}}function f(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(f=function(S){return S?g:h})(b)}function l(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=f(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}function m(){return m=Object.assign?Object.assign.bind():function(b){for(var h=1;h<arguments.length;h++){var g=arguments[h];for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(b[S]=g[S])}return b},m.apply(this,arguments)}function p(b,h){const{item:g,getChildMenu:S,getProfileItemLabels:y,getProfileItemImg:D,getProfileItemImgText:O,overrides:A={},resetMenu:C=()=>{},$isHighlighted:k,renderAll:T,..._}=b,[L,R]=(0,u.getOverrides)(A.ListItemProfile,i.StyledListItemProfile),[F,Z]=(0,u.getOverrides)(A.ProfileImgContainer,i.StyledProfileImgContainer),[ee,G]=(0,u.getOverrides)(A.ProfileImg,i.StyledProfileImg),[ne,K]=(0,u.getOverrides)(A.ProfileLabelsContainer,i.StyledProfileLabelsContainer),[se,pe]=(0,u.getOverrides)(A.ProfileTitle,i.StyledProfileTitle),[j,te]=(0,u.getOverrides)(A.ProfileSubtitle,i.StyledProfileSubtitle),[oe,z]=(0,u.getOverrides)(A.ProfileBody,i.StyledProfileBody),W=D(g),{title:P,subtitle:x,body:w}=y(g);return r.createElement(a.default,{ref:h,getChildMenu:S,isOpen:!!k,item:g,resetParentMenu:C,renderAll:T,overrides:A},r.createElement(L,m({},_,R),r.createElement(F,Z,W&&(typeof W=="string"?r.createElement(ee,m({src:W,alt:O(g)},G)):r.createElement(W,G))),r.createElement(ne,K,P&&r.createElement(se,pe,P),x&&r.createElement(j,te,x),w&&r.createElement(oe,z,w))))}const d=r.forwardRef(p);return d.displayName="OptionProfile",Vo.default=d,Vo}var ky={},Ay;function Hk(){return Ay||(Ay=1),ky}var My;function jk(){return My||(My=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={StatefulMenu:!0,StatefulContainer:!0,OptionList:!0,OptionProfile:!0,Menu:!0,NestedMenus:!0,NestedMenuContext:!0,KEY_STRINGS:!0,STATE_CHANGE_TYPES:!0,StyledEmptyState:!0,StyledList:!0,StyledListItem:!0,StyledListItemProfile:!0,StyledProfileImgContainer:!0,StyledProfileImg:!0,StyledProfileLabelsContainer:!0,StyledProfileTitle:!0,StyledProfileSubtitle:!0,StyledProfileBody:!0,StyledMenuDivider:!0};Object.defineProperty(r,"KEY_STRINGS",{enumerable:!0,get:function(){return p.KEY_STRINGS}}),Object.defineProperty(r,"Menu",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"NestedMenuContext",{enumerable:!0,get:function(){return m.NestedMenuContext}}),Object.defineProperty(r,"NestedMenus",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"OptionList",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"OptionProfile",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"STATE_CHANGE_TYPES",{enumerable:!0,get:function(){return p.STATE_CHANGE_TYPES}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StatefulMenu",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"StyledEmptyState",{enumerable:!0,get:function(){return d.StyledEmptyState}}),Object.defineProperty(r,"StyledList",{enumerable:!0,get:function(){return d.StyledList}}),Object.defineProperty(r,"StyledListItem",{enumerable:!0,get:function(){return d.StyledListItem}}),Object.defineProperty(r,"StyledListItemProfile",{enumerable:!0,get:function(){return d.StyledListItemProfile}}),Object.defineProperty(r,"StyledMenuDivider",{enumerable:!0,get:function(){return d.StyledMenuDivider}}),Object.defineProperty(r,"StyledProfileBody",{enumerable:!0,get:function(){return d.StyledProfileBody}}),Object.defineProperty(r,"StyledProfileImg",{enumerable:!0,get:function(){return d.StyledProfileImg}}),Object.defineProperty(r,"StyledProfileImgContainer",{enumerable:!0,get:function(){return d.StyledProfileImgContainer}}),Object.defineProperty(r,"StyledProfileLabelsContainer",{enumerable:!0,get:function(){return d.StyledProfileLabelsContainer}}),Object.defineProperty(r,"StyledProfileSubtitle",{enumerable:!0,get:function(){return d.StyledProfileSubtitle}}),Object.defineProperty(r,"StyledProfileTitle",{enumerable:!0,get:function(){return d.StyledProfileTitle}});var i=S(Nk()),u=S(I2()),c=S(H2()),f=S(zk()),l=S(j2()),m=g(_0()),p=ks(),d=As(),b=Hk();Object.keys(b).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(a,y)||y in r&&r[y]===b[y]||Object.defineProperty(r,y,{enumerable:!0,get:function(){return b[y]}})});function h(y){if(typeof WeakMap!="function")return null;var D=new WeakMap,O=new WeakMap;return(h=function(A){return A?O:D})(y)}function g(y,D){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var O=h(D);if(O&&O.has(y))return O.get(y);var A={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in y)if(k!=="default"&&Object.prototype.hasOwnProperty.call(y,k)){var T=C?Object.getOwnPropertyDescriptor(y,k):null;T&&(T.get||T.set)?Object.defineProperty(A,k,T):A[k]=y[k]}return A.default=y,O&&O.set(y,A),A}function S(y){return y&&y.__esModule?y:{default:y}}})(gf)),gf}var Ik=jk(),wy=N2();const qk=({items:r,onSelect:a,children:i})=>Y.jsx(wy.StatefulPopover,{triggerType:wy.TRIGGER_TYPE.click,placement:"bottomRight",accessibilityType:"menu",dismissOnClickOutside:!0,dismissOnEsc:!0,focusLock:!1,autoFocus:!1,showArrow:!1,content:({close:u})=>Y.jsx("div",{className:"rz-baseui-preset-menu",children:Y.jsx(Ik.StatefulMenu,{items:r,onItemSelect:({item:c})=>{a(c.item),u()},overrides:{List:{style:{backgroundColor:"#111111",color:"#ffffff",borderRadius:"8px",minWidth:"220px",maxWidth:"min(320px, calc(100vw - 24px))",paddingTop:"6px",paddingBottom:"6px",boxShadow:"0 12px 32px rgba(0, 0, 0, 0.35)"}},Option:{props:{getItemLabel:c=>c.label},style:({$isHighlighted:c})=>({backgroundColor:c?"rgba(255, 255, 255, 0.08)":"transparent",color:"#ffffff",fontSize:"13px",lineHeight:"1.4",paddingTop:"8px",paddingRight:"10px",paddingBottom:"8px",paddingLeft:"10px"})}}})}),overrides:{Body:{style:{zIndex:20}},Inner:{style:{backgroundColor:"transparent"}}},children:i}),Ga=({overrides:r,children:a,...i})=>Y.jsx(Yf,{overrides:Tr.mergeOverrides({BaseButton:{style:({$disabled:u,$isHovered:c,$isFocusVisible:f})=>({width:"28px",height:"28px",minWidth:"28px",minHeight:"28px",borderWidth:"0",borderRadius:"4px",backgroundColor:!u&&c?"rgba(255, 255, 255, 0.06)":"transparent",color:!u&&c?"#ffffff":"rgba(255, 255, 255, 0.56)",paddingTop:"0",paddingRight:"0",paddingBottom:"0",paddingLeft:"0",outline:f?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px"})}},r),...i,children:a});var Sf={},Qu={},Ko={},$t={},Py;function bl(){return Py||(Py=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.STATE_CHANGE_TYPE=$t.SIZE=$t.ENHANCER_POSITION=$t.CUSTOM_INPUT_TYPE=$t.ADJOINED=void 0,$t.STATE_CHANGE_TYPE={change:"change"},$t.CUSTOM_INPUT_TYPE={textarea:"textarea"},$t.ADJOINED={none:"none",left:"left",right:"right",both:"both"},$t.SIZE={mini:"mini",default:"default",compact:"compact",large:"large"},$t.ENHANCER_POSITION={start:"start",end:"end"}),$t}var Ry;function I0(){if(Ry)return Ko;Ry=1,Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.default=void 0;var r=u(we()),a=bl();function i(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(i=function(g){return g?h:b})(d)}function u(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=i(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function c(d,b,h){return b=f(b),b in d?Object.defineProperty(d,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):d[b]=h,d}function f(d){var b=l(d,"string");return typeof b=="symbol"?b:String(b)}function l(d,b){if(typeof d!="object"||!d)return d;var h=d[Symbol.toPrimitive];if(h!==void 0){var g=h.call(d,b);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(d)}const m=(d,b)=>b;class p extends r.Component{constructor(...b){super(...b),c(this,"state",{value:"",...this.props.initialState}),c(this,"onChange",h=>{const g={value:h.target.value};this.internalSetState(a.STATE_CHANGE_TYPE.change,g),this.props.onChange(h)}),c(this,"internalSetState",(h,g)=>{const S=this.props.stateReducer(h,g,this.state);this.setState(S)})}render(){const{children:b,initialState:h,stateReducer:g,...S}=this.props,{onChange:y}=this;return b({...S,...this.state,onChange:y})}}return c(p,"defaultProps",{initialState:{},stateReducer:m,onChange:()=>{},onClear:()=>{}}),Ko.default=p,Ko}var Df={},Ju={},xy;function q2(){if(xy)return Ju;xy=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.getSharedProps=r;function r(a,i){const{disabled:u,error:c,positive:f,adjoined:l,size:m,required:p,resize:d,readOnly:b}=a,{isFocused:h}=i;return{$isFocused:h,$disabled:u,$error:c,$positive:f,$adjoined:l,$size:m,$required:p,$resize:d,$isReadOnly:b}}return Ju}var Zo={},nt={},Xo={},$o={},Ia={},By;function Uk(){if(By)return Ia;By=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.Svg=void 0,Ia.getSvgStyles=a;var r=wt();function a({$theme:u,$size:c,$color:f}){let l=u.sizing.scale600;c&&(u.sizing[c]?l=u.sizing[c]:typeof c=="number"?l=`${c}px`:l=c);let m="currentColor";return f&&(u.colors[f]?m=u.colors[f]:m=f),{display:"inline-block",fill:m,color:m,height:l,width:l}}const i=Ia.Svg=(0,r.styled)("svg",a);return i.displayName="Svg",i.displayName="Svg",Ia}var es={},Ly;function Wk(){if(Ly)return es;Ly=1,Object.defineProperty(es,"__esModule",{value:!0}),es.default=r;function r(a){const i={};for(const u in a)u[0]!=="$"&&(i[u]=a[u]);return i}return es}var Fy;function q0(){if(Fy)return $o;Fy=1,Object.defineProperty($o,"__esModule",{value:!0}),$o.default=void 0;var r=l(we()),a=kt(),i=Uk(),u=c(Wk());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}const p=(d,b)=>{const{children:h,title:g,size:S,color:y,overrides:D={},...O}=d,[A,C]=(0,a.getOverrides)(D.Svg,i.Svg),k=A.__STYLETRON__?{title:g,$color:y,$size:S,...O,...C}:{title:g,color:y,size:S,...(0,u.default)(O),...(0,u.default)(C)};return r.createElement(A,m({"data-baseweb":"icon",ref:b},k),g?r.createElement("title",null,g):null,h)};return $o.default=r.forwardRef(p),$o}var Ny;function Gk(){if(Ny)return Xo;Ny=1,Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.default=void 0;var r=l(we()),a=wt(),i=kt(),u=c(q0());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}function p(d,b){const[,h]=(0,a.useStyletron)(),{title:g="Delete Alt",size:S,color:y,overrides:D={},...O}=d,A=(0,i.mergeOverride)({component:h.icons&&h.icons.DeleteAlt?h.icons.DeleteAlt:null},D&&D.Svg?(0,i.toObjectOverride)(D.Svg):{});return r.createElement(u.default,m({viewBox:"0 0 24 24",ref:b,title:g,size:S,color:y,overrides:{Svg:A}},O),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58173 16.4183 4 12 4C7.58173 4 4 7.58173 4 12C4 16.4183 7.58173 20 12 20ZM10.0303 8.96967C9.73743 8.67679 9.26257 8.67679 8.96967 8.96967C8.67676 9.26257 8.67676 9.73743 8.96967 10.0303L10.9393 12L8.96967 13.9697C8.67676 14.2626 8.67676 14.7374 8.96967 15.0303C9.26257 15.3232 9.73743 15.3232 10.0303 15.0303L12 13.0607L13.9697 15.0303C14.2626 15.3232 14.7374 15.3232 15.0303 15.0303C15.3232 14.7374 15.3232 14.2626 15.0303 13.9697L13.0607 12L15.0303 10.0303C15.3232 9.73743 15.3232 9.26257 15.0303 8.96967C14.7374 8.67679 14.2626 8.67679 13.9697 8.96967L12 10.9393L10.0303 8.96967Z"}))}return Xo.default=r.forwardRef(p),Xo}var zy;function yl(){if(zy)return nt;zy=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.getRootStyles=nt.getInputStyles=nt.getInputContainerStyles=nt.StyledMaskToggleButton=nt.StyledClearIconContainer=nt.StyledClearIcon=nt.Root=nt.InputEnhancer=nt.InputContainer=nt.Input=void 0;var r=wt(),a=bl(),i=u(Gk());function u(R){return R&&R.__esModule?R:{default:R}}const c=nt.StyledMaskToggleButton=(0,r.styled)("button",({$theme:R,$size:F,$isFocusVisible:Z})=>{const ee={[a.SIZE.mini]:R.sizing.scale400,[a.SIZE.compact]:R.sizing.scale400,[a.SIZE.default]:R.sizing.scale300,[a.SIZE.large]:R.sizing.scale200}[F];return{display:"flex",alignItems:"center",borderTopStyle:"none",borderBottomStyle:"none",borderLeftStyle:"none",borderRightStyle:"none",background:"none",paddingLeft:ee,paddingRight:ee,outline:Z?`solid 3px ${R.colors.borderAccent}`:"none",color:R.colors.contentPrimary}});c.displayName="StyledMaskToggleButton",c.displayName="StyledMaskToggleButton";const f=nt.StyledClearIconContainer=(0,r.styled)("div",({$alignTop:R=!1,$size:F,$theme:Z})=>{const ee={[a.SIZE.mini]:Z.sizing.scale200,[a.SIZE.compact]:Z.sizing.scale200,[a.SIZE.default]:Z.sizing.scale100,[a.SIZE.large]:Z.sizing.scale0}[F];return{display:"flex",alignItems:R?"flex-start":"center",paddingLeft:ee,paddingRight:ee,paddingTop:R?Z.sizing.scale500:"0px",color:Z.colors.contentPrimary}});f.displayName="StyledClearIconContainer",f.displayName="StyledClearIconContainer";const l=nt.StyledClearIcon=(0,r.styled)(i.default,({$theme:R,$isFocusVisible:F})=>({cursor:"pointer",outline:F?`solid 3px ${R.colors.borderAccent}`:"none"}));l.displayName="StyledClearIcon",l.displayName="StyledClearIcon";function m(R,F){return{[a.SIZE.mini]:{paddingTop:F.scale100,paddingBottom:F.scale100,paddingLeft:F.scale550,paddingRight:F.scale550},[a.SIZE.compact]:{paddingTop:F.scale200,paddingBottom:F.scale200,paddingLeft:F.scale550,paddingRight:F.scale550},[a.SIZE.default]:{paddingTop:F.scale400,paddingBottom:F.scale400,paddingLeft:F.scale550,paddingRight:F.scale550},[a.SIZE.large]:{paddingTop:F.scale550,paddingBottom:F.scale550,paddingLeft:F.scale550,paddingRight:F.scale550}}[R]}function p(R,F,Z,ee,G){let ne=R===a.ADJOINED.both||R===a.ADJOINED.left&&ee!=="rtl"||R===a.ADJOINED.right&&ee==="rtl"||G&&ee==="rtl",K=R===a.ADJOINED.both||R===a.ADJOINED.right&&ee!=="rtl"||R===a.ADJOINED.left&&ee==="rtl"||G&&ee!=="rtl";return{paddingLeft:ne?Z.scale550:"0px",paddingRight:K?Z.scale550:"0px"}}function d(R,F){return{[a.SIZE.mini]:F.font100,[a.SIZE.compact]:F.font200,[a.SIZE.default]:F.font300,[a.SIZE.large]:F.font400}[R]}function b(R,F,Z,ee=!1,G){return R?{borderLeftColor:G.inputFillDisabled,borderRightColor:G.inputFillDisabled,borderTopColor:G.inputFillDisabled,borderBottomColor:G.inputFillDisabled,backgroundColor:G.inputFillDisabled}:F?{borderLeftColor:G.borderSelected,borderRightColor:G.borderSelected,borderTopColor:G.borderSelected,borderBottomColor:G.borderSelected,backgroundColor:G.inputFillActive}:Z?{borderLeftColor:G.inputBorderError,borderRightColor:G.inputBorderError,borderTopColor:G.inputBorderError,borderBottomColor:G.inputBorderError,backgroundColor:G.inputFillError}:ee?{borderLeftColor:G.inputBorderPositive,borderRightColor:G.inputBorderPositive,borderTopColor:G.inputBorderPositive,borderBottomColor:G.inputBorderPositive,backgroundColor:G.inputFillPositive}:{borderLeftColor:G.inputBorder,borderRightColor:G.inputBorder,borderTopColor:G.inputBorder,borderBottomColor:G.inputBorder,backgroundColor:G.inputFill}}function h(R,F){let Z=F.inputBorderRadius;return R===a.SIZE.mini&&(Z=F.inputBorderRadiusMini),{borderTopLeftRadius:Z,borderBottomLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z}}const g=R=>{const{$isFocused:F,$adjoined:Z,$error:ee,$disabled:G,$positive:ne,$size:K,$theme:se,$theme:{borders:pe,colors:j,sizing:te,typography:oe,animation:z},$hasIconTrailing:W}=R;return{boxSizing:"border-box",display:"flex",overflow:"hidden",width:"100%",borderLeftWidth:"2px",borderRightWidth:"2px",borderTopWidth:"2px",borderBottomWidth:"2px",borderLeftStyle:"solid",borderRightStyle:"solid",borderTopStyle:"solid",borderBottomStyle:"solid",transitionProperty:"border",transitionDuration:z.timing200,transitionTimingFunction:z.easeOutCurve,...h(K,pe),...d(K,oe),...b(G,F,ee,ne,j),...p(Z,K,te,se.direction,W)}};nt.getRootStyles=g;const S=nt.Root=(0,r.styled)("div",g);S.displayName="Root",S.displayName="Root";function y(R,F){return{[a.SIZE.mini]:{paddingRight:F.scale400,paddingLeft:F.scale400},[a.SIZE.compact]:{paddingRight:F.scale400,paddingLeft:F.scale400},[a.SIZE.default]:{paddingRight:F.scale300,paddingLeft:F.scale300},[a.SIZE.large]:{paddingRight:F.scale200,paddingLeft:F.scale200}}[R]}function D(R,F,Z,ee,G){return R?{color:G.inputEnhancerTextDisabled,backgroundColor:G.inputFillDisabled}:F?{color:G.contentPrimary,backgroundColor:G.inputFillActive}:Z?{color:G.contentPrimary,backgroundColor:G.inputFillError}:ee?{color:G.contentPrimary,backgroundColor:G.inputFillPositive}:{color:G.contentPrimary,backgroundColor:G.inputFill}}const O=nt.InputEnhancer=(0,r.styled)("div",R=>{const{$size:F,$disabled:Z,$isFocused:ee,$error:G,$positive:ne,$theme:{colors:K,sizing:se,typography:pe,animation:j}}=R;return{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"color, background-color",transitionDuration:j.timing200,transitionTimingFunction:j.easeOutCurve,...d(F,pe),...y(F,se),...D(Z,ee,G,ne,K)}});O.displayName="InputEnhancer",O.displayName="InputEnhancer";function A(R,F,Z,ee,G){return R?{color:G.inputTextDisabled,backgroundColor:G.inputFillDisabled}:F?{color:G.contentPrimary,backgroundColor:G.inputFillActive}:Z?{color:G.contentPrimary,backgroundColor:G.inputFillError}:ee?{color:G.contentPrimary,backgroundColor:G.inputFillPositive}:{color:G.contentPrimary,backgroundColor:G.inputFill}}const C=R=>{const{$isFocused:F,$error:Z,$disabled:ee,$positive:G,$size:ne,$theme:{colors:K,typography:se,animation:pe}}=R;return{display:"flex",width:"100%",transitionProperty:"background-color",transitionDuration:pe.timing200,transitionTimingFunction:pe.easeOutCurve,...d(ne,se),...A(ee,F,Z,G,K)}};nt.getInputContainerStyles=C;const k=nt.InputContainer=(0,r.styled)("div",C);k.displayName="InputContainer",k.displayName="InputContainer";function T(R,F,Z,ee){return R?{color:ee.inputTextDisabled,"-webkit-text-fill-color":ee.inputTextDisabled,caretColor:ee.contentPrimary,"::placeholder":{color:ee.inputPlaceholderDisabled}}:{color:ee.contentPrimary,caretColor:ee.contentPrimary,"::placeholder":{color:ee.inputPlaceholder}}}const _=R=>{const{$disabled:F,$isFocused:Z,$error:ee,$size:G,$theme:{colors:ne,sizing:K,typography:se}}=R;return{boxSizing:"border-box",backgroundColor:"transparent",borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderRightStyle:"none",borderTopStyle:"none",borderBottomStyle:"none",outline:"none",width:"100%",minWidth:0,maxWidth:"100%",cursor:F?"not-allowed":"text",margin:"0",paddingTop:"0",paddingBottom:"0",paddingLeft:"0",paddingRight:"0",...d(G,se),...m(G,K),...T(F,Z,ee,ne)}};nt.getInputStyles=_;const L=nt.Input=(0,r.styled)("input",_);return L.displayName="Input",L.displayName="Input",nt}var Qo={},Hy;function Yk(){if(Hy)return Qo;Hy=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.default=void 0;var r=l(we()),a=wt(),i=kt(),u=c(q0());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}function p(d,b){const[,h]=(0,a.useStyletron)(),{title:g="Hide",size:S,color:y,overrides:D={},...O}=d,A=(0,i.mergeOverride)({component:h.icons&&h.icons.Hide?h.icons.Hide:null},D&&D.Svg?(0,i.toObjectOverride)(D.Svg):{});return r.createElement(u.default,m({viewBox:"0 0 24 24",ref:b,title:g,size:S,color:y,overrides:{Svg:A}},O),r.createElement("path",{d:"M12.81 4.36l-1.77 1.78a4 4 0 00-4.9 4.9l-2.76 2.75C2.06 12.79.96 11.49.2 10a11 11 0 0112.6-5.64zm3.8 1.85c1.33 1 2.43 2.3 3.2 3.79a11 11 0 01-12.62 5.64l1.77-1.78a4 4 0 004.9-4.9l2.76-2.75zm-.25-3.99l1.42 1.42L3.64 17.78l-1.42-1.42L16.36 2.22z"}))}return Qo.default=r.forwardRef(p),Qo}var Jo={},jy;function Vk(){if(jy)return Jo;jy=1,Object.defineProperty(Jo,"__esModule",{value:!0}),Jo.default=void 0;var r=l(we()),a=wt(),i=kt(),u=c(q0());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}function p(d,b){const[,h]=(0,a.useStyletron)(),{title:g="Show",size:S,color:y,overrides:D={},...O}=d,A=(0,i.mergeOverride)({component:h.icons&&h.icons.Show?h.icons.Show:null},D&&D.Svg?(0,i.toObjectOverride)(D.Svg):{});return r.createElement(u.default,m({viewBox:"0 0 24 24",ref:b,title:g,size:S,color:y,overrides:{Svg:A}},O),r.createElement("path",{d:"M.2 10a11 11 0 0119.6 0A11 11 0 01.2 10zm9.8 4a4 4 0 100-8 4 4 0 000 8zm0-2a2 2 0 110-4 2 2 0 010 4z"}))}return Jo.default=r.forwardRef(p),Jo}var ts={},Iy;function Kk(){if(Iy)return ts;Iy=1,Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=r;function r(a){let i;return typeof window.Event=="function"?i=new window.Event(a,{bubbles:!0,cancelable:!0}):(i=document.createEvent("Event"),i.initEvent(a,!0,!0)),i}return ts}var qy;function U2(){if(qy)return Zo;qy=1,Object.defineProperty(Zo,"__esModule",{value:!0}),Zo.default=void 0;var r=h(we()),a=kt(),i=bl(),u=yl(),c=q2(),f=d(Yk()),l=d(Vk()),m=d(Kk()),p=ri();function d(C){return C&&C.__esModule?C:{default:C}}function b(C){if(typeof WeakMap!="function")return null;var k=new WeakMap,T=new WeakMap;return(b=function(_){return _?T:k})(C)}function h(C,k){if(C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var T=b(k);if(T&&T.has(C))return T.get(C);var _={__proto__:null},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in C)if(R!=="default"&&Object.prototype.hasOwnProperty.call(C,R)){var F=L?Object.getOwnPropertyDescriptor(C,R):null;F&&(F.get||F.set)?Object.defineProperty(_,R,F):_[R]=C[R]}return _.default=C,T&&T.set(C,_),_}function g(){return g=Object.assign?Object.assign.bind():function(C){for(var k=1;k<arguments.length;k++){var T=arguments[k];for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&(C[_]=T[_])}return C},g.apply(this,arguments)}function S(C,k,T){return k=y(k),k in C?Object.defineProperty(C,k,{value:T,enumerable:!0,configurable:!0,writable:!0}):C[k]=T,C}function y(C){var k=D(C,"string");return typeof k=="symbol"?k:String(k)}function D(C,k){if(typeof C!="object"||!C)return C;var T=C[Symbol.toPrimitive];if(T!==void 0){var _=T.call(C,k);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(C)}const O=()=>null;class A extends r.Component{constructor(...k){super(...k),S(this,"inputRef",this.props.inputRef||r.createRef()),S(this,"state",{isFocused:this.props.autoFocus||!1,isMasked:this.props.type==="password",initialType:this.props.type,isFocusVisibleForClear:!1,isFocusVisibleForMaskToggle:!1}),S(this,"onInputKeyDown",T=>{this.props.clearOnEscape&&T.key==="Escape"&&this.inputRef.current&&!this.props.readOnly&&(this.clearValue(),T.stopPropagation())}),S(this,"onClearIconClick",()=>{this.inputRef.current&&this.clearValue(),this.inputRef.current&&this.inputRef.current.focus()}),S(this,"onFocus",T=>{this.setState({isFocused:!0}),this.props.onFocus(T)}),S(this,"onBlur",T=>{this.setState({isFocused:!1}),this.props.onBlur(T)}),S(this,"handleFocusForMaskToggle",T=>{(0,p.isFocusVisible)(T)&&this.setState({isFocusVisibleForMaskToggle:!0})}),S(this,"handleBlurForMaskToggle",T=>{this.state.isFocusVisibleForMaskToggle!==!1&&this.setState({isFocusVisibleForMaskToggle:!1})}),S(this,"handleFocusForClear",T=>{(0,p.isFocusVisible)(T)&&this.setState({isFocusVisibleForClear:!0})}),S(this,"handleBlurForClear",T=>{this.state.isFocusVisibleForClear!==!1&&this.setState({isFocusVisibleForClear:!1})})}componentDidMount(){const{autoFocus:k,clearable:T}=this.props;this.inputRef.current&&(k&&this.inputRef.current.focus(),T&&this.inputRef.current.addEventListener("keydown",this.onInputKeyDown))}componentWillUnmount(){const{clearable:k}=this.props;k&&this.inputRef.current&&this.inputRef.current.removeEventListener("keydown",this.onInputKeyDown)}clearValue(){const k=this.inputRef.current;if(k){const T=Object.getOwnPropertyDescriptor(this.props.type===i.CUSTOM_INPUT_TYPE.textarea?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,"value");if(T){const _=T.set;if(_){_.call(k,"");const L=(0,m.default)("input");k.dispatchEvent(L)}}}}getInputType(){return this.props.type==="password"?this.state.isMasked?"password":"text":this.props.type}renderMaskToggle(){if(this.props.type!=="password")return null;const[k,T]=(0,a.getOverrides)(this.props.overrides.MaskToggleButton,u.StyledMaskToggleButton),[_,L]=(0,a.getOverrides)(this.props.overrides.MaskToggleShowIcon,l.default),[R,F]=(0,a.getOverrides)(this.props.overrides.MaskToggleHideIcon,f.default),Z=this.state.isMasked?"Show password text":"Hide password text",ee={[i.SIZE.mini]:"12px",[i.SIZE.compact]:"16px",[i.SIZE.default]:"20px",[i.SIZE.large]:"24px"}[this.props.size];return r.createElement(k,g({$size:this.props.size,$isFocusVisible:this.state.isFocusVisibleForMaskToggle,"aria-label":Z,onClick:()=>this.setState(G=>({isMasked:!G.isMasked})),title:Z,type:"button"},T,{onFocus:(0,p.forkFocus)(T,this.handleFocusForMaskToggle),onBlur:(0,p.forkBlur)(T,this.handleBlurForMaskToggle)}),this.state.isMasked?r.createElement(_,g({size:ee,title:Z},L)):r.createElement(R,g({size:ee,title:Z},F)))}renderClear(){const{clearable:k,value:T,disabled:_,readOnly:L,overrides:R={}}=this.props;if(_||L||!k||T==null||typeof T=="string"&&T.length===0)return null;const[F,Z]=(0,a.getOverrides)(R.ClearIconContainer,u.StyledClearIconContainer),[ee,G]=(0,a.getOverrides)(R.ClearIcon,u.StyledClearIcon),ne="Clear value",K=(0,c.getSharedProps)(this.props,this.state),se={[i.SIZE.mini]:"14px",[i.SIZE.compact]:"14px",[i.SIZE.default]:"16px",[i.SIZE.large]:"22px"}[this.props.size];return r.createElement(F,g({$alignTop:this.props.type===i.CUSTOM_INPUT_TYPE.textarea},K,Z),r.createElement(ee,g({size:se,tabIndex:0,title:ne,"aria-label":ne,onClick:this.onClearIconClick,onKeyDown:pe=>{pe.key&&(pe.key==="Enter"||pe.key===" ")&&(pe.preventDefault(),this.onClearIconClick())},role:"button",$isFocusVisible:this.state.isFocusVisibleForClear},K,G,{onFocus:(0,p.forkFocus)(G,this.handleFocusForClear),onBlur:(0,p.forkBlur)(G,this.handleBlurForClear)})))}render(){const{overrides:{InputContainer:k,Input:T,Before:_,After:L}}=this.props,R=this.state.initialType==="password"&&this.props.autoComplete===A.defaultProps.autoComplete?"new-password":this.props.autoComplete,F=(0,c.getSharedProps)(this.props,this.state),[Z,ee]=(0,a.getOverrides)(k,u.InputContainer),[G,ne]=(0,a.getOverrides)(T,u.Input),[K,se]=(0,a.getOverrides)(_,O),[pe,j]=(0,a.getOverrides)(L,O);return r.createElement(Z,g({"data-baseweb":this.props["data-baseweb"]||"base-input"},F,ee),r.createElement(K,g({},F,se)),r.createElement(G,g({ref:this.inputRef,"aria-activedescendant":this.props["aria-activedescendant"],"aria-autocomplete":this.props["aria-autocomplete"],"aria-controls":this.props["aria-controls"],"aria-errormessage":this.props["aria-errormessage"],"aria-haspopup":this.props["aria-haspopup"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-describedby":this.props["aria-describedby"],"aria-invalid":this.props.error,"aria-required":this.props.required,autoComplete:R,disabled:this.props.disabled,readOnly:this.props.readOnly,id:this.props.id,inputMode:this.props.inputMode,maxLength:this.props.maxLength,name:this.props.name,onBlur:this.onBlur,onChange:this.props.onChange,onFocus:this.onFocus,onKeyDown:this.props.onKeyDown,onKeyPress:this.props.onKeyPress,onKeyUp:this.props.onKeyUp,pattern:this.props.pattern,placeholder:this.props.placeholder,type:this.getInputType(),required:this.props.required,role:this.props.role,value:this.props.value,min:this.props.min,max:this.props.max,step:this.props.step,rows:this.props.type===i.CUSTOM_INPUT_TYPE.textarea?this.props.rows:null},F,ne)),this.renderClear(),this.renderMaskToggle(),r.createElement(pe,g({},F,j)))}}return S(A,"defaultProps",{"aria-activedescendant":null,"aria-autocomplete":null,"aria-controls":null,"aria-errormessage":null,"aria-haspopup":null,"aria-label":null,"aria-labelledby":null,"aria-describedby":null,adjoined:i.ADJOINED.none,autoComplete:"on",autoFocus:!1,disabled:!1,error:!1,positive:!1,name:"",inputMode:"text",onBlur:()=>{},onChange:()=>{},onKeyDown:()=>{},onKeyPress:()=>{},onKeyUp:()=>{},onFocus:()=>{},onClear:()=>{},clearable:!1,clearOnEscape:!0,overrides:{},pattern:null,placeholder:"",required:!1,role:null,size:i.SIZE.default,type:"text",readOnly:!1}),Zo.default=A,Zo}var Uy;function U0(){return Uy||(Uy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return m.default}}),r.default=void 0;var a=b(we()),i=kt(),u=q2(),c=p(U2()),f=yl(),l=bl(),m=p(I0());function p(C){return C&&C.__esModule?C:{default:C}}function d(C){if(typeof WeakMap!="function")return null;var k=new WeakMap,T=new WeakMap;return(d=function(_){return _?T:k})(C)}function b(C,k){if(C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var T=d(k);if(T&&T.has(C))return T.get(C);var _={__proto__:null},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in C)if(R!=="default"&&Object.prototype.hasOwnProperty.call(C,R)){var F=L?Object.getOwnPropertyDescriptor(C,R):null;F&&(F.get||F.set)?Object.defineProperty(_,R,F):_[R]=C[R]}return _.default=C,T&&T.set(C,_),_}function h(){return h=Object.assign?Object.assign.bind():function(C){for(var k=1;k<arguments.length;k++){var T=arguments[k];for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&(C[_]=T[_])}return C},h.apply(this,arguments)}function g(C,k,T){return k=S(k),k in C?Object.defineProperty(C,k,{value:T,enumerable:!0,configurable:!0,writable:!0}):C[k]=T,C}function S(C){var k=y(C,"string");return typeof k=="symbol"?k:String(k)}function y(C,k){if(typeof C!="object"||!C)return C;var T=C[Symbol.toPrimitive];if(T!==void 0){var _=T.call(C,k);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(C)}class D extends a.Component{constructor(...k){super(...k),g(this,"state",{isFocused:this.props.autoFocus||!1}),g(this,"onFocus",T=>{this.setState({isFocused:!0}),this.props.onFocus(T)}),g(this,"onBlur",T=>{this.setState({isFocused:!1}),this.props.onBlur(T)})}render(){const{startEnhancer:k,endEnhancer:T,overrides:{Root:_,StartEnhancer:L,EndEnhancer:R,...F},...Z}=this.props,[ee,G]=(0,i.getOverrides)(_,f.Root),[ne,K]=(0,i.getOverrides)(L,f.InputEnhancer),[se,pe]=(0,i.getOverrides)(R,f.InputEnhancer),j=(0,u.getSharedProps)(this.props,this.state);return a.createElement(ee,h({"data-baseweb":"input"},j,G,{$adjoined:O(k,T),$hasIconTrailing:this.props.clearable||this.props.type=="password"}),A(k)&&a.createElement(ne,h({},j,K,{$position:l.ENHANCER_POSITION.start}),typeof k=="function"?k(j):k),a.createElement(c.default,h({},Z,{overrides:F,adjoined:O(k,T),onFocus:this.onFocus,onBlur:this.onBlur})),A(T)&&a.createElement(se,h({},j,pe,{$position:l.ENHANCER_POSITION.end}),typeof T=="function"?T(j):T))}}g(D,"defaultProps",{autoComplete:"on",autoFocus:!1,disabled:!1,name:"",onBlur:()=>{},onFocus:()=>{},overrides:{},required:!1,size:l.SIZE.default,startEnhancer:null,endEnhancer:null,clearable:!1,type:"text",readOnly:!1});function O(C,k){return A(C)&&A(k)?l.ADJOINED.both:A(C)?l.ADJOINED.left:A(k)?l.ADJOINED.right:l.ADJOINED.none}function A(C){return!!(C||C===0)}r.default=D})(Df)),Df}var Wy;function Zk(){if(Wy)return Qu;Wy=1,Object.defineProperty(Qu,"__esModule",{value:!0}),Qu.default=l;var r=f(we()),a=u(I0()),i=u(U0());function u(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(c=function(b){return b?d:p})(m)}function f(m,p){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var d=c(p);if(d&&d.has(m))return d.get(m);var b={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in m)if(g!=="default"&&Object.prototype.hasOwnProperty.call(m,g)){var S=h?Object.getOwnPropertyDescriptor(m,g):null;S&&(S.get||S.set)?Object.defineProperty(b,g,S):b[g]=m[g]}return b.default=m,d&&d.set(m,b),b}function l(m){return r.createElement(a.default,m,p=>r.createElement(i.default,p))}return Qu}var rs={},Of={exports:{}},Ef,Gy;function Xk(){if(Gy)return Ef;Gy=1;function r(z){return z&&typeof z=="object"&&"default"in z?z.default:z}var a=r(we()),i=r0();function u(z,W){for(var P=Object.getOwnPropertyNames(W),x=0;x<P.length;x++){var w=P[x],X=Object.getOwnPropertyDescriptor(W,w);X&&X.configurable&&z[w]===void 0&&Object.defineProperty(z,w,X)}return z}function c(){return(c=Object.assign||function(z){for(var W=1;W<arguments.length;W++){var P=arguments[W];for(var x in P)Object.prototype.hasOwnProperty.call(P,x)&&(z[x]=P[x])}return z}).apply(this,arguments)}function f(z,W){z.prototype=Object.create(W.prototype),u(z.prototype.constructor=z,W)}function l(z,W){if(z==null)return{};var P,x,w={},X=Object.keys(z);for(x=0;x<X.length;x++)P=X[x],0<=W.indexOf(P)||(w[P]=z[P]);return w}function m(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}var p=function(z,W,P,x,w,X,ae,le){if(!z){var ie;if(W===void 0)ie=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var ce=[P,x,w,X,ae,le],ue=0;(ie=new Error(W.replace(/%s/g,function(){return ce[ue++]}))).name="Invariant Violation"}throw ie.framesToPop=1,ie}},d=p;function b(z,W,P){if("selectionStart"in z&&"selectionEnd"in z)z.selectionStart=W,z.selectionEnd=P;else{var x=z.createTextRange();x.collapse(!0),x.moveStart("character",W),x.moveEnd("character",P-W),x.select()}}function h(z){var W=0,P=0;if("selectionStart"in z&&"selectionEnd"in z)W=z.selectionStart,P=z.selectionEnd;else{var x=document.selection.createRange();x.parentElement()===z&&(W=-x.moveStart("character",-z.value.length),P=-x.moveEnd("character",-z.value.length))}return{start:W,end:P,length:P-W}}var g={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},S="_";function y(z,W,P){var x="",w="",X=null,ae=[];if(W===void 0&&(W=S),P==null&&(P=g),!z||typeof z!="string")return{maskChar:W,formatChars:P,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var le=!1;return z.split("").forEach(function(ie){le=!le&&ie==="\\"||(le||!P[ie]?(ae.push(x.length),x.length===ae.length-1&&(w+=ie)):X=x.length+1,x+=ie,!1)}),{maskChar:W,formatChars:P,prefix:w,mask:x,lastEditablePosition:X,permanents:ae}}function D(z,W){return z.permanents.indexOf(W)!==-1}function O(z,W,P){var x=z.mask,w=z.formatChars;if(!P)return!1;if(D(z,W))return x[W]===P;var X=w[x[W]];return new RegExp(X).test(P)}function A(z,W){return W.split("").every(function(P,x){return D(z,x)||!O(z,x,P)})}function C(z,W){var P=z.maskChar,x=z.prefix;if(!P){for(;W.length>x.length&&D(z,W.length-1);)W=W.slice(0,W.length-1);return W.length}for(var w=x.length,X=W.length;X>=x.length;X--){var ae=W[X];if(!D(z,X)&&O(z,X,ae)){w=X+1;break}}return w}function k(z,W){return C(z,W)===z.mask.length}function T(z,W){var P=z.maskChar,x=z.mask,w=z.prefix;if(!P){for((W=L(z,"",W,0)).length<w.length&&(W=w);W.length<x.length&&D(z,W.length);)W+=x[W.length];return W}if(W)return L(z,T(z,""),W,0);for(var X=0;X<x.length;X++)D(z,X)?W+=x[X]:W+=P;return W}function _(z,W,P,x){var w=P+x,X=z.maskChar,ae=z.mask,le=z.prefix,ie=W.split("");if(X)return ie.map(function(ue,Me){return Me<P||w<=Me?ue:D(z,Me)?ae[Me]:X}).join("");for(var ce=w;ce<ie.length;ce++)D(z,ce)&&(ie[ce]="");return P=Math.max(le.length,P),ie.splice(P,w-P),W=ie.join(""),T(z,W)}function L(z,W,P,x){var w=z.mask,X=z.maskChar,ae=z.prefix,le=P.split(""),ie=k(z,W);return!X&&x>W.length&&(W+=w.slice(W.length,x)),le.every(function(ce){for(;He=ce,D(z,Ce=x)&&He!==w[Ce];){if(x>=W.length&&(W+=w[x]),ue=ce,Me=x,X&&D(z,Me)&&ue===X)return!0;if(++x>=w.length)return!1}var ue,Me,Ce,He;return!O(z,x,ce)&&ce!==X||(x<W.length?W=X||ie||x<ae.length?W.slice(0,x)+ce+W.slice(x+1):(W=W.slice(0,x)+ce+W.slice(x),T(z,W)):X||(W+=ce),++x<w.length)}),W}function R(z,W,P,x){var w=z.mask,X=z.maskChar,ae=P.split(""),le=x;return ae.every(function(ie){for(;ue=ie,D(z,ce=x)&&ue!==w[ce];)if(++x>=w.length)return!1;var ce,ue;return(O(z,x,ie)||ie===X)&&x++,x<w.length}),x-le}function F(z,W){for(var P=W;0<=P;--P)if(!D(z,P))return P;return null}function Z(z,W){for(var P=z.mask,x=W;x<P.length;++x)if(!D(z,x))return x;return null}function ee(z){return z||z===0?z+"":""}function G(z,W,P,x,w){var X=z.mask,ae=z.prefix,le=z.lastEditablePosition,ie=W,ce="",ue=0,Me=0,Ce=Math.min(w.start,P.start);return P.end>w.start?Me=(ue=R(z,x,ce=ie.slice(w.start,P.end),Ce))?w.length:0:ie.length<x.length&&(Me=x.length-ie.length),ie=x,Me&&(Me===1&&!w.length&&(Ce=w.start===P.start?Z(z,P.start):F(z,P.start)),ie=_(z,ie,Ce,Me)),ie=L(z,ie,ce,Ce),(Ce+=ue)>=X.length?Ce=X.length:Ce<ae.length&&!ue?Ce=ae.length:Ce>=ae.length&&Ce<le&&ue&&(Ce=Z(z,Ce)),ce||(ce=null),{value:ie=T(z,ie),enteredString:ce,selection:{start:Ce,end:Ce}}}function ne(){var z=new RegExp("windows","i"),W=new RegExp("phone","i"),P=navigator.userAgent;return z.test(P)&&W.test(P)}function K(z){return typeof z=="function"}function se(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function pe(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function j(z){return(pe()?se():function(){return setTimeout(z,1e3/60)})(z)}function te(z){(pe()||clearTimeout)(z)}var oe=(function(z){function W(x){var w=z.call(this,x)||this;w.focused=!1,w.mounted=!1,w.previousSelection=null,w.selectionDeferId=null,w.saveSelectionLoopDeferId=null,w.saveSelectionLoop=function(){w.previousSelection=w.getSelection(),w.saveSelectionLoopDeferId=j(w.saveSelectionLoop)},w.runSaveSelectionLoop=function(){w.saveSelectionLoopDeferId===null&&w.saveSelectionLoop()},w.stopSaveSelectionLoop=function(){w.saveSelectionLoopDeferId!==null&&(te(w.saveSelectionLoopDeferId),w.saveSelectionLoopDeferId=null,w.previousSelection=null)},w.getInputDOMNode=function(){if(!w.mounted)return null;var de=i.findDOMNode(m(m(w))),Se=typeof window<"u"&&de instanceof window.Element;if(de&&!Se)return null;if(de.nodeName!=="INPUT"&&(de=de.querySelector("input")),!de)throw new Error("react-input-mask: inputComponent doesn't contain input node");return de},w.getInputValue=function(){var de=w.getInputDOMNode();return de?de.value:null},w.setInputValue=function(de){var Se=w.getInputDOMNode();Se&&(w.value=de,Se.value=de)},w.setCursorToEnd=function(){var de=C(w.maskOptions,w.value),Se=Z(w.maskOptions,de);Se!==null&&w.setCursorPosition(Se)},w.setSelection=function(de,Se,Ae){Ae===void 0&&(Ae={});var De=w.getInputDOMNode(),Pe=w.isFocused();De&&Pe&&(Ae.deferred||b(De,de,Se),w.selectionDeferId!==null&&te(w.selectionDeferId),w.selectionDeferId=j(function(){w.selectionDeferId=null,b(De,de,Se)}),w.previousSelection={start:de,end:Se,length:Math.abs(Se-de)})},w.getSelection=function(){return h(w.getInputDOMNode())},w.getCursorPosition=function(){return w.getSelection().start},w.setCursorPosition=function(de){w.setSelection(de,de)},w.isFocused=function(){return w.focused},w.getBeforeMaskedValueChangeConfig=function(){var de=w.maskOptions,Se=de.mask,Ae=de.maskChar,De=de.permanents,Pe=de.formatChars;return{mask:Se,maskChar:Ae,permanents:De,alwaysShowMask:!!w.props.alwaysShowMask,formatChars:Pe}},w.isInputAutofilled=function(de,Se,Ae,De){var Pe=w.getInputDOMNode();try{if(Pe.matches(":-webkit-autofill"))return!0}catch{}return!w.focused||De.end<Ae.length&&Se.end===de.length},w.onChange=function(de){var Se=m(m(w)).beforePasteState,Ae=m(m(w)).previousSelection,De=w.props.beforeMaskedValueChange,Pe=w.getInputValue(),Ue=w.value,je=w.getSelection();w.isInputAutofilled(Pe,je,Ue,Ae)&&(Ue=T(w.maskOptions,""),Ae={start:0,end:0,length:0}),Se&&(Ae=Se.selection,Ue=Se.value,je={start:Ae.start+Pe.length,end:Ae.start+Pe.length,length:0},Pe=Ue.slice(0,Ae.start)+Pe+Ue.slice(Ae.end),w.beforePasteState=null);var gt=G(w.maskOptions,Pe,je,Ue,Ae),Jt=gt.enteredString,Dt=gt.selection,er=gt.value;if(K(De)){var rt=De({value:er,selection:Dt},{value:Ue,selection:Ae},Jt,w.getBeforeMaskedValueChangeConfig());er=rt.value,Dt=rt.selection}w.setInputValue(er),K(w.props.onChange)&&w.props.onChange(de),w.isWindowsPhoneBrowser?w.setSelection(Dt.start,Dt.end,{deferred:!0}):w.setSelection(Dt.start,Dt.end)},w.onFocus=function(de){var Se=w.props.beforeMaskedValueChange,Ae=w.maskOptions,De=Ae.mask,Pe=Ae.prefix;if(w.focused=!0,w.mounted=!0,De){if(w.value)C(w.maskOptions,w.value)<w.maskOptions.mask.length&&w.setCursorToEnd();else{var Ue=T(w.maskOptions,Pe),je=T(w.maskOptions,Ue),gt=C(w.maskOptions,je),Jt=Z(w.maskOptions,gt),Dt={start:Jt,end:Jt};if(K(Se)){var er=Se({value:je,selection:Dt},{value:w.value,selection:null},null,w.getBeforeMaskedValueChangeConfig());je=er.value,Dt=er.selection}var rt=je!==w.getInputValue();rt&&w.setInputValue(je),rt&&K(w.props.onChange)&&w.props.onChange(de),w.setSelection(Dt.start,Dt.end)}w.runSaveSelectionLoop()}K(w.props.onFocus)&&w.props.onFocus(de)},w.onBlur=function(de){var Se=w.props.beforeMaskedValueChange,Ae=w.maskOptions.mask;if(w.stopSaveSelectionLoop(),w.focused=!1,Ae&&!w.props.alwaysShowMask&&A(w.maskOptions,w.value)){var De="";K(Se)&&(De=Se({value:De,selection:null},{value:w.value,selection:w.previousSelection},null,w.getBeforeMaskedValueChangeConfig()).value);var Pe=De!==w.getInputValue();Pe&&w.setInputValue(De),Pe&&K(w.props.onChange)&&w.props.onChange(de)}K(w.props.onBlur)&&w.props.onBlur(de)},w.onMouseDown=function(de){if(!w.focused&&document.addEventListener){w.mouseDownX=de.clientX,w.mouseDownY=de.clientY,w.mouseDownTime=new Date().getTime();var Se=function Ae(De){if(document.removeEventListener("mouseup",Ae),w.focused){var Pe=Math.abs(De.clientX-w.mouseDownX),Ue=Math.abs(De.clientY-w.mouseDownY),je=Math.max(Pe,Ue),gt=new Date().getTime()-w.mouseDownTime;(je<=10&&gt<=200||je<=5&&gt<=300)&&w.setCursorToEnd()}};document.addEventListener("mouseup",Se)}K(w.props.onMouseDown)&&w.props.onMouseDown(de)},w.onPaste=function(de){K(w.props.onPaste)&&w.props.onPaste(de),de.defaultPrevented||(w.beforePasteState={value:w.getInputValue(),selection:w.getSelection()},w.setInputValue(""))},w.handleRef=function(de){w.props.children==null&&K(w.props.inputRef)&&w.props.inputRef(de)};var X=x.mask,ae=x.maskChar,le=x.formatChars,ie=x.alwaysShowMask,ce=x.beforeMaskedValueChange,ue=x.defaultValue,Me=x.value;w.maskOptions=y(X,ae,le),ue==null&&(ue=""),Me==null&&(Me=ue);var Ce=ee(Me);if(w.maskOptions.mask&&(ie||Ce)&&(Ce=T(w.maskOptions,Ce),K(ce))){var He=x.value;x.value==null&&(He=ue),Ce=ce({value:Ce,selection:null},{value:He=ee(He),selection:null},null,w.getBeforeMaskedValueChangeConfig()).value}return w.value=Ce,w}f(W,z);var P=W.prototype;return P.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=ne(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},P.componentDidUpdate=function(){var x=this.previousSelection,w=this.props,X=w.beforeMaskedValueChange,ae=w.alwaysShowMask,le=w.mask,ie=w.maskChar,ce=w.formatChars,ue=this.maskOptions,Me=ae||this.isFocused(),Ce=this.props.value!=null,He=Ce?ee(this.props.value):this.value,de=x?x.start:null;if(this.maskOptions=y(le,ie,ce),this.maskOptions.mask){!ue.mask&&this.isFocused()&&this.runSaveSelectionLoop();var Se=this.maskOptions.mask&&this.maskOptions.mask!==ue.mask;if(ue.mask||Ce||(He=this.getInputValue()),(Se||this.maskOptions.mask&&(He||Me))&&(He=T(this.maskOptions,He)),Se){var Ae=C(this.maskOptions,He);(de===null||Ae<de)&&(de=k(this.maskOptions,He)?Ae:Z(this.maskOptions,Ae))}!this.maskOptions.mask||!A(this.maskOptions,He)||Me||Ce&&this.props.value||(He="");var De={start:de,end:de};if(K(X)){var Pe=X({value:He,selection:De},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());He=Pe.value,De=Pe.selection}this.value=He;var Ue=this.getInputValue()!==this.value;Ue?(this.setInputValue(this.value),this.forceUpdate()):Se&&this.forceUpdate();var je=!1;De.start!=null&&De.end!=null&&(je=!x||x.start!==De.start||x.end!==De.end),(je||Ue)&&this.setSelection(De.start,De.end)}else ue.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},P.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&te(this.selectionDeferId),this.stopSaveSelectionLoop()},P.render=function(){var x,w=this.props,X=(w.mask,w.alwaysShowMask,w.maskChar,w.formatChars,w.inputRef,w.beforeMaskedValueChange,w.children),ae=l(w,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(X){K(X)||d(!1);var le=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],ie=c({},ae);le.forEach(function(ue){return delete ie[ue]}),x=X(ie),le.filter(function(ue){return x.props[ue]!=null&&x.props[ue]!==ae[ue]}).length&&d(!1)}else x=a.createElement("input",c({ref:this.handleRef},ae));var ce={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(ae.disabled||ae.readOnly||(ce.onChange=this.onChange,ce.onPaste=this.onPaste,ce.onMouseDown=this.onMouseDown),ae.value!=null&&(ce.value=this.value)),x=a.cloneElement(x,ce)},W})(a.Component);return Ef=oe,Ef}var Yy;function $k(){return Yy||(Yy=1,Of.exports=Xk()),Of.exports}var Vy;function Qk(){if(Vy)return rs;Vy=1,Object.defineProperty(rs,"__esModule",{value:!0}),rs.default=d;var r=l(we()),a=c($k()),i=c(U0()),u=yl();function c(b){return b&&b.__esModule?b:{default:b}}function f(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(f=function(S){return S?g:h})(b)}function l(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=f(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}function m(){return m=Object.assign?Object.assign.bind():function(b){for(var h=1;h<arguments.length;h++){var g=arguments[h];for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(b[S]=g[S])}return b},m.apply(this,arguments)}const p=r.forwardRef(({startEnhancer:b,endEnhancer:h,error:g,positive:S,onChange:y,onFocus:D,onBlur:O,value:A,disabled:C,readOnly:k,...T},_)=>r.createElement(a.default,m({onChange:y,onFocus:D,onBlur:O,value:A,disabled:C,readOnly:k},T),L=>r.createElement(u.Input,m({ref:_,onChange:y,onFocus:D,onBlur:O,value:A,disabled:C,readOnly:k},L))));p.displayName="MaskOverride";function d({mask:b,maskChar:h,overrides:{Input:g={},...S}={},...y}){let D=p,O={},A={};typeof g=="function"?D=g:typeof g=="object"&&(D=g.component||D,O=g.props||{},A=g.style||{}),typeof O=="object"&&(O={...O,mask:O.mask||b,maskChar:O.maskChar||h});const C={Input:{component:D,props:O,style:A},...S};return r.createElement(i.default,m({},y,{overrides:C}))}return d.defaultProps={maskChar:" "},rs}var Ky={},Zy;function Jk(){return Zy||(Zy=1),Ky}var Xy;function ws(){return Xy||(Xy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={StatefulInput:!0,StatefulContainer:!0,Input:!0,BaseInput:!0,MaskedInput:!0,StyledRoot:!0,StyledInputEnhancer:!0,StyledStartEnhancer:!0,StyledEndEnhancer:!0,StyledInputContainer:!0,StyledInput:!0,STATE_CHANGE_TYPE:!0,ADJOINED:!0,SIZE:!0,CUSTOM_INPUT_TYPE:!0};Object.defineProperty(r,"ADJOINED",{enumerable:!0,get:function(){return p.ADJOINED}}),Object.defineProperty(r,"BaseInput",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"CUSTOM_INPUT_TYPE",{enumerable:!0,get:function(){return p.CUSTOM_INPUT_TYPE}}),Object.defineProperty(r,"Input",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"MaskedInput",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return p.SIZE}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return p.STATE_CHANGE_TYPE}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StatefulInput",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"StyledEndEnhancer",{enumerable:!0,get:function(){return m.InputEnhancer}}),Object.defineProperty(r,"StyledInput",{enumerable:!0,get:function(){return m.Input}}),Object.defineProperty(r,"StyledInputContainer",{enumerable:!0,get:function(){return m.InputContainer}}),Object.defineProperty(r,"StyledInputEnhancer",{enumerable:!0,get:function(){return m.InputEnhancer}}),Object.defineProperty(r,"StyledRoot",{enumerable:!0,get:function(){return m.Root}}),Object.defineProperty(r,"StyledStartEnhancer",{enumerable:!0,get:function(){return m.InputEnhancer}});var i=b(Zk()),u=b(I0()),c=b(U0()),f=b(U2()),l=b(Qk()),m=yl(),p=bl(),d=Jk();Object.keys(d).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(a,h)||h in r&&r[h]===d[h]||Object.defineProperty(r,h,{enumerable:!0,get:function(){return d[h]}})});function b(h){return h&&h.__esModule?h:{default:h}}})(Sf)),Sf}var $y=ws();const e3={Root:{style:{width:"100%",borderWidth:"0",backgroundColor:"transparent",paddingLeft:"0",paddingRight:"0"}},InputContainer:{style:({$isFocused:r})=>({borderWidth:"1px",borderStyle:"solid",borderColor:"rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.03)",outline:r?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px"})},Input:{style:{paddingTop:"10px",paddingRight:"12px",paddingBottom:"10px",paddingLeft:"12px",fontFamily:'"Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace',fontWeight:400,color:"rgba(255, 255, 255, 0.9)",fontSize:"12px",lineHeight:"1.5",letterSpacing:"-0.02em","::placeholder":{color:"rgba(255, 255, 255, 0.36)"}}}},t3=({overrides:r,spellCheck:a,...i})=>Y.jsx($y.Input,{size:$y.SIZE.compact,overrides:Tr.mergeOverrides(e3,a===void 0?r:Tr.mergeOverrides({Input:{props:{spellCheck:a}}},r)),...i}),Ps=re.forwardRef(({className:r,children:a,...i},u)=>Y.jsx("div",{ref:u,className:O0("rz-scroll-area",r),...i,children:Y.jsx("div",{className:"rz-scroll-viewport",children:a})}));Ps.displayName="ScrollArea";var Cf={},el={},Xr={},Qy;function W2(){if(Qy)return Xr;Qy=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.StyledTextareaContainer=Xr.StyledTextarea=Xr.StyledTextAreaRoot=void 0;var r=wt(),a=yl();const i=Xr.StyledTextAreaRoot=(0,r.styled)("div",f=>({...(0,a.getRootStyles)({$positive:!1,...f,$hasIconTrailing:!1}),width:f.$resize?"fit-content":"100%"}));i.displayName="StyledTextAreaRoot",i.displayName="StyledTextAreaRoot";const u=Xr.StyledTextareaContainer=(0,r.styled)("div",f=>(0,a.getInputContainerStyles)({$positive:!1,...f}));u.displayName="StyledTextareaContainer",u.displayName="StyledTextareaContainer";const c=Xr.StyledTextarea=(0,r.styled)("textarea",f=>({...(0,a.getInputStyles)(f),resize:f.$resize||"none"}));return c.displayName="StyledTextarea",c.displayName="StyledTextarea",Xr}var Jy;function G2(){if(Jy)return el;Jy=1,Object.defineProperty(el,"__esModule",{value:!0}),el.default=void 0;var r=f(we()),a=kt(),i=ws(),u=W2();function c(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,S=new WeakMap;return(c=function(y){return y?S:g})(h)}function f(h,g){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var S=c(g);if(S&&S.has(h))return S.get(h);var y={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var A=D?Object.getOwnPropertyDescriptor(h,O):null;A&&(A.get||A.set)?Object.defineProperty(y,O,A):y[O]=h[O]}return y.default=h,S&&S.set(h,y),y}function l(){return l=Object.assign?Object.assign.bind():function(h){for(var g=1;g<arguments.length;g++){var S=arguments[g];for(var y in S)Object.prototype.hasOwnProperty.call(S,y)&&(h[y]=S[y])}return h},l.apply(this,arguments)}function m(h,g,S){return g=p(g),g in h?Object.defineProperty(h,g,{value:S,enumerable:!0,configurable:!0,writable:!0}):h[g]=S,h}function p(h){var g=d(h,"string");return typeof g=="symbol"?g:String(g)}function d(h,g){if(typeof h!="object"||!h)return h;var S=h[Symbol.toPrimitive];if(S!==void 0){var y=S.call(h,g);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(h)}class b extends r.Component{constructor(...g){super(...g),m(this,"state",{isFocused:this.props.autoFocus||!1}),m(this,"onFocus",S=>{this.setState({isFocused:!0}),this.props.onFocus(S)}),m(this,"onBlur",S=>{this.setState({isFocused:!1}),this.props.onBlur(S)})}render(){const{overrides:g={}}=this.props,[S,y]=(0,a.getOverrides)(g.Root,u.StyledTextAreaRoot),D=(0,a.mergeOverrides)({Input:{component:u.StyledTextarea},InputContainer:{component:u.StyledTextareaContainer}},g);return r.createElement(S,l({"data-baseweb":"textarea",$isFocused:this.state.isFocused,$isReadOnly:this.props.readOnly,$disabled:this.props.disabled,$error:this.props.error,$positive:this.props.positive,$required:this.props.required,$resize:this.props.resize},y),r.createElement(i.BaseInput,l({},this.props,{type:i.CUSTOM_INPUT_TYPE.textarea,overrides:D,onFocus:this.onFocus,onBlur:this.onBlur,resize:this.props.resize})))}}return m(b,"defaultProps",{autoFocus:!1,disabled:!1,readOnly:!1,error:!1,name:"",onBlur:()=>{},onChange:()=>{},onKeyDown:()=>{},onKeyPress:()=>{},onKeyUp:()=>{},onFocus:()=>{},overrides:{},placeholder:"",required:!1,rows:3,size:i.SIZE.default}),el.default=b,el}var ns={},tl={},e1;function Y2(){if(e1)return tl;e1=1,Object.defineProperty(tl,"__esModule",{value:!0}),tl.default=void 0;var r=ws();return tl.default=r.StatefulContainer,tl}var t1;function r3(){if(t1)return ns;t1=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.default=l;var r=f(we()),a=u(Y2()),i=u(G2());function u(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(c=function(b){return b?d:p})(m)}function f(m,p){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var d=c(p);if(d&&d.has(m))return d.get(m);var b={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in m)if(g!=="default"&&Object.prototype.hasOwnProperty.call(m,g)){var S=h?Object.getOwnPropertyDescriptor(m,g):null;S&&(S.get||S.set)?Object.defineProperty(b,g,S):b[g]=m[g]}return b.default=m,d&&d.set(m,b),b}function l(m){return r.createElement(a.default,m,p=>r.createElement(i.default,p))}return ns}var _f={},r1;function n3(){return r1||(r1=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ADJOINED",{enumerable:!0,get:function(){return a.ADJOINED}}),Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return a.SIZE}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return a.STATE_CHANGE_TYPE}});var a=ws()})(_f)),_f}var n1={},a1;function a3(){return a1||(a1=1),n1}var i1;function i3(){return i1||(i1=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={Textarea:!0,StatefulTextarea:!0,StatefulContainer:!0,StyledTextareaContainer:!0,StyledTextarea:!0,STATE_CHANGE_TYPE:!0,SIZE:!0};Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return l.SIZE}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return l.STATE_CHANGE_TYPE}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"StatefulTextarea",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StyledTextarea",{enumerable:!0,get:function(){return f.StyledTextarea}}),Object.defineProperty(r,"StyledTextareaContainer",{enumerable:!0,get:function(){return f.StyledTextareaContainer}}),Object.defineProperty(r,"Textarea",{enumerable:!0,get:function(){return i.default}});var i=p(G2()),u=p(r3()),c=p(Y2()),f=W2(),l=n3(),m=a3();Object.keys(m).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(a,d)||d in r&&r[d]===m[d]||Object.defineProperty(r,d,{enumerable:!0,get:function(){return m[d]}})});function p(d){return d&&d.__esModule?d:{default:d}}})(Cf)),Cf}var o1=i3();const o3={Root:{style:{width:"100%",borderWidth:"0",backgroundColor:"transparent",paddingLeft:"0",paddingRight:"0"}},InputContainer:{style:({$isFocused:r})=>({borderWidth:"1px",borderStyle:"solid",borderColor:"rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.03)",outline:r?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px",alignItems:"stretch"})},Input:{style:{minHeight:"112px",display:"block",alignSelf:"stretch",resize:"none",paddingTop:"12px",paddingRight:"12px",paddingBottom:"12px",paddingLeft:"12px",fontFamily:'"Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace',fontWeight:400,color:"rgba(255, 255, 255, 0.9)",fontSize:"12px",lineHeight:"1.5",letterSpacing:"-0.02em","::placeholder":{color:"rgba(255, 255, 255, 0.36)"}}}},l3=({overrides:r,rows:a=6,spellCheck:i,...u})=>Y.jsx(o1.Textarea,{rows:a,size:o1.SIZE.compact,overrides:Tr.mergeOverrides(o3,i===void 0?r:Tr.mergeOverrides({Input:{props:{spellCheck:i}}},r)),...u});var as={},l1;function V2(){if(l1)return as;l1=1,Object.defineProperty(as,"__esModule",{value:!0}),as.Segment=r;function r(a){return null}return as}var u3=V2(),Tf={},Xn={},u1;function Sl(){return u1||(u1=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.STATE_CHANGE_TYPE=Xn.FILL=void 0,Xn.FILL={fixed:"fixed",intrinsic:"intrinsic"},Xn.STATE_CHANGE_TYPE={change:"change"}),Xn}var is={},os={},Je={},Qt={},s1;function W0(){if(s1)return Qt;s1=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.isRTL=Qt.isIntrinsic=Qt.isFixed=Qt.getSegmentPanelId=Qt.getSegmentId=void 0;var r=Sl();const a=(l,m)=>`segments-${l}-segment-${m}`;Qt.getSegmentId=a;const i=(l,m)=>`segments-${l}-segmentpanel-${m}`;Qt.getSegmentPanelId=i;const u=l=>l==="rtl";Qt.isRTL=u;const c=l=>l===r.FILL.intrinsic;Qt.isIntrinsic=c;const f=l=>l===r.FILL.fixed;return Qt.isFixed=f,Qt}var c1;function K2(){if(c1)return Je;c1=1,Object.defineProperty(Je,"__esModule",{value:!0}),Je.StyledSegmentPanel=Je.StyledSegmentList=Je.StyledSegment=Je.StyledRoot=Je.StyledLabelBlock=Je.StyledLabel=Je.StyledDescription=Je.StyledBadgeHint=Je.StyledBadge=Je.StyledArtworkContainer=Je.StyledActive=void 0;var r=wt(),a=Sl(),i=W0();const u=Je.StyledRoot=(0,r.styled)("div",({$theme:y,$fill:D=a.FILL.intrinsic,$height:O="fit-content",$width:A="fit-content"})=>{const C={backgroundColor:y.colors.backgroundSecondary,borderRadius:y.sizing.scale500,boxSizing:"border-box",isolation:"isolate",padding:y.sizing.scale100,position:"relative",overflow:"hidden",height:O,width:A};return(0,i.isIntrinsic)(D)&&(C["::-webkit-scrollbar"]={display:"none"},C["-ms-overflow-style"]="none",C.scrollbarWidth="none"),C});u.displayName="StyledRoot",u.displayName="StyledRoot";const c=Je.StyledSegmentList=(0,r.styled)("div",({$theme:y})=>({backgroundColor:y.colors.backgroundSecondary,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"space-evenly",position:"relative",width:"100%",zIndex:-2,flexDirection:"row",overflow:"hidden",minHeight:"40px"}));c.displayName="StyledSegmentList",c.displayName="StyledSegmentList";const f=Je.StyledSegment=(0,r.styled)("button",({$theme:y,$fill:D=a.FILL.intrinsic,$focusVisible:O=!1,$isActive:A=!1})=>{const C={cursor:"pointer",position:"relative",WebkitAppearance:"none",marginLeft:"0",marginRight:"0",marginTop:"0",marginBottom:"0",boxSizing:"border-box",display:"grid",alignItems:"center",paddingInline:y.sizing.scale500,paddingBlock:y.sizing.scale300,borderLeftWidth:0,borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderRadius:y.sizing.scale300,color:A?y.colors.contentPrimary:y.colors.contentTertiary,backgroundColor:"transparent",flexGrow:1,transitionProperty:"box-shadow, color",transitionDuration:y.animation.timing200,transitionTimingFunction:y.animation.linearCurve,outline:"none",outlineOffset:"-3px",justifyContent:"center",overflow:"hidden",":hover":{boxShadow:A?"none":y.lighting.overlay100},":disabled":{cursor:"not-allowed",color:y.colors.contentStateDisabled,":hover":{boxShadow:"none"}},":disabled:hover":{background:"none"}};return O&&(C.outline=`3px solid ${y.colors.accent}`),(0,i.isFixed)(D)&&(C.flexGrow=1,C.flexBasis=0),C});f.displayName="StyledSegment",f.displayName="StyledSegment";const l=Je.StyledArtworkContainer=(0,r.styled)("div",()=>({display:"flex",height:"14px",width:"14px",alignItems:"center"}));l.displayName="StyledArtworkContainer",l.displayName="StyledArtworkContainer";const m=Je.StyledActive=(0,r.styled)("div",({$theme:y,$length:D=0,$distance:O=0,$animate:A=!1})=>{const C={position:"absolute",borderRadius:y.sizing.scale300,boxSizing:"border-box",height:"100%",width:"100%",border:`${y.sizing.scale0} solid ${y.colors.primary}`,backgroundColor:y.colors.backgroundPrimary,zIndex:-1};return C.bottom="0px",C.left="0px",C.width=`${D}px`,C.transform=`translateX(${O}px)`,A&&(C.transitionProperty="all",C.transitionDuration=y.animation.timing400,C.transitionTimingFunction=y.animation.easeInOutQuinticCurve),C});m.displayName="StyledActive",m.displayName="StyledActive";const p=Je.StyledSegmentPanel=(0,r.styled)("div",({$theme:y,$pad:D=!0})=>{const O={flexGrow:1,outline:"none"};return D&&(O.paddingTop=y.sizing.scale600,O.paddingRight=y.sizing.scale600,O.paddingBottom=y.sizing.scale600,O.paddingLeft=y.sizing.scale600),O});p.displayName="StyledSegmentPanel",p.displayName="StyledSegmentPanel";const d=Je.StyledLabel=(0,r.styled)("div",({$theme:y})=>({...y.typography.LabelSmall,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",position:"relative"}));d.displayName="StyledLabel";const b=Je.StyledDescription=(0,r.styled)("div",({$theme:y})=>({...y.typography.ParagraphXSmall,padding:0,margin:0,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",position:"relative"}));b.displayName="StyledDescription";const h=Je.StyledLabelBlock=(0,r.styled)("div",({$theme:y})=>({display:"flex",gridGap:y.sizing.scale100,alignItems:"center",position:"relative",justifyContent:"center",overflow:"hidden"}));h.displayName="StyledLabelBlock";const g=Je.StyledBadge=(0,r.styled)("div",({$theme:y})=>({...y.typography.ParagraphXSmall,width:"16px",height:"16px",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",backgroundColor:y.colors.accent,color:y.colors.white}));g.displayName="StyledBadge";const S=Je.StyledBadgeHint=(0,r.styled)("div",({$theme:y})=>({width:"8px",height:"8px",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",backgroundColor:y.colors.accent,color:y.colors.accent,alignSelf:"start",marginLeft:"-2px"}));return S.displayName="StyledBadgeHint",Je}var d1;function Z2(){if(d1)return os;d1=1,Object.defineProperty(os,"__esModule",{value:!0}),os.SegmentedControl=y;var r=d(we()),a=Cs,i=wt(),u=kt(),c=ri(),f=Sl(),l=K2(),m=W0();function p(O){if(typeof WeakMap!="function")return null;var A=new WeakMap,C=new WeakMap;return(p=function(k){return k?C:A})(O)}function d(O,A){if(O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var C=p(A);if(C&&C.has(O))return C.get(O);var k={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in O)if(_!=="default"&&Object.prototype.hasOwnProperty.call(O,_)){var L=T?Object.getOwnPropertyDescriptor(O,_):null;L&&(L.get||L.set)?Object.defineProperty(k,_,L):k[_]=O[_]}return k.default=O,C&&C.set(O,k),k}function b(){return b=Object.assign?Object.assign.bind():function(O){for(var A=1;A<arguments.length;A++){var C=arguments[A];for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(O[k]=C[k])}return O},b.apply(this,arguments)}const h={next:"next",previous:"previous"},g=O=>{if(!O)return{length:0,distance:0};let{width:A}=O.getBoundingClientRect();return A=Math.floor(A),{length:A,distance:O.offsetLeft}},S=O=>{const{x:A,y:C,width:k,height:T}=O.parentNode.getBoundingClientRect(),{x:_,y:L,width:R,height:F}=O.getBoundingClientRect(),Z={x:_-A+R/2,y:L-C+F/2},{scrollLeft:ee,scrollTop:G}=O.parentNode,ne={x:ee+Z.x-k/2,y:G+Z.y-T/2};O.parentNode.scroll(ne.x,ne.y)};function y({activeKey:O="0",disabled:A=!1,children:C,fill:k=f.FILL.intrinsic,activateOnFocus:T=!0,onChange:_,overrides:L={},uid:R,width:F,height:Z}){const ee=(0,a.useUID)(),G=R||ee,{Root:ne,Active:K}=L,[se,pe]=(0,u.getOverrides)(ne,l.StyledRoot),[j,te]=(0,u.getOverrides)(K,l.StyledActive),[oe,z]=(0,u.getOverrides)(L.SegmentList,l.StyledSegmentList),[W,P]=r.useState(0);r.useEffect(()=>{P(W+1)},[O]);const x=r.useRef(),[w,X]=r.useState({length:0,distance:0}),ae=r.useCallback(()=>{x.current&&X(g(x.current))},[x.current]);r.useEffect(ae,[x.current]),r.useEffect(()=>{x.current&&x.current.parentNode.scrollWidth>x.current.parentNode.clientWidth&&(W>1?x.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}):S(x.current))},[x.current]);const le={$fill:k},[,ie]=(0,i.useStyletron)(),ce=r.useCallback(ue=>{if((0,m.isRTL)(ie.direction))switch(ue.keyCode){case 39:return h.previous;case 37:return h.next;default:return null}else switch(ue.keyCode){case 37:return h.previous;case 39:return h.next;default:return null}},[ie.direction]);return r.createElement(se,b({},le,pe,{$width:F,$height:Z}),r.createElement(oe,b({"data-baseweb":"segmented-list",role:"listbox","aria-label":"segmented control"},z),r.Children.map(C,(ue,Me)=>{if(ue)return r.createElement(D,b({childKey:ue.key,childIndex:Me,activeKey:O,activeSegmentRef:x,updateHighlight:ae,parseKeyDown:ce,activateOnFocus:T,uid:G,disabled:A,sharedStylingProps:le,onChange:_,setKeyUpdated:P},ue.props))}),r.createElement(j,b({"data-baseweb":"segment-highlight",$length:w.length,$distance:w.distance,$animate:W>1,"aria-hidden":"true",role:"presentation"},le,te))))}function D({childKey:O,childIndex:A,activeKey:C,activeSegmentRef:k,updateHighlight:T,parseKeyDown:_,activateOnFocus:L,uid:R,disabled:F,sharedStylingProps:Z,onChange:ee,setKeyUpdated:G,...ne}){const K=O||String(A),se=K==C,{artwork:pe,overrides:j={},segmentRef:te,onClick:oe,label:z,description:W,badge:P,badgeHint:x,...w}=ne,X=r.useRef();r.useImperativeHandle(te,()=>se?k.current:X.current);const ae=r.useRef({length:0,distance:0});r.useEffect(()=>{ae.current=g(se?k.current:X.current)}),r.useEffect(()=>{if(window.ResizeObserver){const qt=new window.ResizeObserver(vt=>{if(vt[0]&&vt[0].target){const ot=g(vt[0].target);(ot.length!==ae.current.length||ot.distance!==ae.current.distance)&&(G(1),T())}});return qt.observe(se?k.current:X.current),()=>{qt.disconnect()}}},[C]),r.useEffect(T,[z]);const{Segment:le,ArtworkContainer:ie,LabelBlock:ce,Label:ue,Description:Me,Badge:Ce,BadgeHint:He}=j,[de,Se]=(0,u.getOverrides)(le,l.StyledSegment),[Ae,De]=(0,u.getOverrides)(ce,l.StyledLabelBlock),[Pe,Ue]=(0,u.getOverrides)(ie,l.StyledArtworkContainer),[je,gt]=(0,u.getOverrides)(ue,l.StyledLabel),[Jt,Dt]=(0,u.getOverrides)(Me,l.StyledDescription),[er,rt]=(0,u.getOverrides)(Ce,l.StyledBadge),[he,be]=(0,u.getOverrides)(He,l.StyledBadgeHint),[_e,bt]=r.useState(!1),Mr=r.useCallback(qt=>{(0,c.isFocusVisible)(qt)&&bt(!0)},[]),Dl=r.useCallback(qt=>{_e!==!1&&bt(!1)},[_e]),Rs=r.useCallback(qt=>{const vt=[...qt.target.parentNode.childNodes].filter(et=>!et.disabled&&et.getAttribute("role")==="option");if(vt.length===1)return;const ot=vt.indexOf(qt.target),tr=_(qt);if(tr){let et;tr===h.previous?vt[ot-1]?et=vt[ot-1]:et=vt[vt.length-1]:tr===h.next&&(vt[ot+1]?et=vt[ot+1]:et=vt[0]),et&&(et.focus(),L&&et.click())}});return r.createElement(de,b({"data-baseweb":"segment",key:K,id:(0,m.getSegmentId)(R,K),role:"option",onKeyDown:Rs,"aria-selected":se,tabIndex:se?"0":"-1",ref:se?k:X,disabled:!se&&F,type:"button",$focusVisible:_e,$isActive:se,$hasArtwork:!!pe,$hasLabel:!!z},Z,w,Se,{onClick:qt=>{typeof ee=="function"&&ee({activeKey:K}),typeof oe=="function"&&oe(qt)},onFocus:(0,c.forkFocus)({...w,...Se},Mr),onBlur:(0,c.forkBlur)({...w,...Se},Dl)}),r.createElement(Ae,De,!!pe&&r.createElement(Pe,b({"data-baseweb":"artwork-container"},Z,Ue),r.createElement(pe,{size:20,color:"contentPrimary"})),!!z&&r.createElement(je,gt,z||K),!!P&&r.createElement(er,rt,P),x&&r.createElement(he,be)),W?r.createElement(Jt,b({},Me,Dt),W):null)}return os}var f1;function s3(){if(f1)return is;f1=1,Object.defineProperty(is,"__esModule",{value:!0}),is.StatefulSegmentedControl=p;var r=c(we()),a=Z2(),i=Sl();function u(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(u=function(g){return g?h:b})(d)}function c(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=u(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function f(){return f=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},f.apply(this,arguments)}const l=(d,b)=>b&&b.activeKey?b:{activeKey:r.Children.map(d,(g,S)=>g.key||String(S))?.[0]},m=(d,b)=>b.type===i.STATE_CHANGE_TYPE.change?{activeKey:b.payload}:d;function p(d){const{children:b,initialState:h,stateReducer:g=m,onChange:S,...y}=d,[D,O]=r.useReducer(g,l(b,h)),A=r.useCallback(C=>{const{activeKey:k}=C;O({type:i.STATE_CHANGE_TYPE.change,payload:k}),typeof S=="function"&&S(C)},[]);return r.createElement(a.SegmentedControl,f({},y,{activeKey:D.activeKey,onChange:A}),b)}return is}var p1={},g1;function c3(){return g1||(g1=1),p1}var v1;function d3(){return v1||(v1=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a=Sl();Object.keys(a).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===a[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return a[p]}})});var i=s3();Object.keys(i).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===i[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return i[p]}})});var u=K2();Object.keys(u).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===u[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return u[p]}})});var c=V2();Object.keys(c).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===c[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return c[p]}})});var f=Z2();Object.keys(f).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===f[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return f[p]}})});var l=W0();Object.keys(l).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===l[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return l[p]}})});var m=c3();Object.keys(m).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===m[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return m[p]}})})})(Tf)),Tf}var f3=d3();const p3={Root:{style:{display:"inline-flex",width:"fit-content",maxWidth:"100%",paddingTop:"2px",paddingRight:"2px",paddingBottom:"2px",paddingLeft:"2px",border:"1px solid rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.04)",overflow:"hidden"}},SegmentList:{style:{display:"inline-flex",width:"fit-content",minHeight:"22px",maxWidth:"100%",alignItems:"center",gap:"2px",overflow:"hidden",minWidth:"unset",backgroundColor:"transparent",zIndex:0}},Active:{style:{backgroundColor:"#ffffff",borderRadius:"2px",zIndex:-1}}},g3={Segment:{style:({$isActive:r,$disabled:a,$isFocusVisible:i})=>({minHeight:"22px",minWidth:"auto",paddingTop:"3px",paddingRight:"9px",paddingBottom:"3px",paddingLeft:"9px",borderRadius:"2px",backgroundColor:"transparent",color:r?"#000000":"rgba(255, 255, 255, 0.6)",fontSize:"12px",fontWeight:500,lineHeight:1.2,transitionProperty:"background-color, color",transitionDuration:"120ms",outline:i?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px",cursor:a?"default":"pointer",opacity:a?.4:1,":hover":a||r?void 0:{color:"#ffffff"}})},LabelBlock:{style:{paddingTop:"0",paddingRight:"0",paddingBottom:"0",paddingLeft:"0"}},Label:{style:{fontSize:"12px",fontWeight:500,lineHeight:1.2,color:"inherit"}}},X2=({value:r,options:a,onChange:i,"aria-label":u})=>Y.jsx(f3.SegmentedControl,{activeKey:r,onChange:({activeKey:c})=>i(String(c)),overrides:Tr.mergeOverrides(p3,{Root:{props:{"aria-label":u}}}),children:a.map(c=>Y.jsx(u3.Segment,{label:c.label,disabled:c.disabled,overrides:g3},c.key))}),v3=({commandType:r,commandPayload:a,flows:i,flowRuns:u,hasRunningFlow:c,presets:f,canDispatch:l,onRunFlow:m,onStopFlow:p,onCommandTypeChange:d,onCommandPayloadChange:b,onApplyPreset:h,onReset:g,onSubmit:S})=>{const[y,D]=re.useState("dispatch"),O=f.map(C=>({id:C.displayName,label:C.displayName,item:C})),A=Y.jsx(Ga,{type:"button",variant:"default","aria-label":f.length>0?"Open presets":"No presets available",title:f.length>0?"Presets":"No presets available",disabled:f.length===0,overrides:{BaseButton:{style:{borderRadius:"6px",backgroundColor:"rgba(255, 255, 255, 0.04)",color:"rgba(255, 255, 255, 0.88)"}}},children:Y.jsx(iT,{})});return Y.jsx("div",{className:"rz-pane",children:Y.jsxs("div",{className:"rz-sidebar",children:[Y.jsx("div",{className:"rz-sidebar-header",children:Y.jsx("div",{className:"rz-sidebar-title",children:"Actions"})}),Y.jsx(Ps,{className:"rz-sidebar-scroll",children:Y.jsxs("div",{className:"rz-action-tabs rz-command-form",children:[Y.jsxs("div",{className:"rz-action-tabs-header",children:[Y.jsx(X2,{"aria-label":"Action modes",value:y,onChange:C=>D(C),options:[{key:"dispatch",label:"Dispatch"},{key:"flows",label:"Flows"}]}),y==="dispatch"?f.length>0?Y.jsx(qk,{items:O,onSelect:h,children:A}):A:null]}),y==="dispatch"?Y.jsx("div",{className:"rz-action-tab-panel",children:Y.jsxs("form",{className:"rz-action-form",onSubmit:S,children:[Y.jsxs("div",{className:"rz-field",children:[Y.jsx("label",{className:"rz-label",htmlFor:"command-type",children:"Command"}),Y.jsx(t3,{id:"command-type",value:r,onChange:C=>d(C.currentTarget.value),placeholder:"get-snapshot",spellCheck:!1})]}),Y.jsxs("div",{className:"rz-field",children:[Y.jsx("label",{className:"rz-label",htmlFor:"command-payload",children:"Payload"}),Y.jsx(l3,{id:"command-payload",value:a,onChange:C=>b(C.currentTarget.value),placeholder:'{"example": true}',spellCheck:!1})]}),Y.jsxs("div",{className:"rz-button-row",children:[Y.jsx(Ga,{type:"button",variant:"default","aria-label":"Reset dispatcher",title:"Reset dispatcher",onClick:g,children:Y.jsx(YS,{})}),Y.jsx(Ga,{type:"submit",variant:"primary","aria-label":"Dispatch message",title:"Dispatch message",disabled:!l,children:Y.jsx(VS,{})})]})]})}):null,y==="flows"?Y.jsx("div",{className:"rz-action-tab-panel",children:Y.jsx(vT,{flows:i,flowRuns:u,hasRunningFlow:c,onRunFlow:m,onStopFlow:p})}):null]})})]})})};var kf={exports:{}},Af,h1;function $2(){return h1||(h1=1,Af={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Af}var Mf={exports:{}},wf,m1;function h3(){return m1||(m1=1,wf=function(a){return!a||typeof a=="string"?!1:a instanceof Array||Array.isArray(a)||a.length>=0&&(a.splice instanceof Function||Object.getOwnPropertyDescriptor(a,a.length-1)&&a.constructor.name!=="String")}),wf}var b1;function m3(){if(b1)return Mf.exports;b1=1;var r=h3(),a=Array.prototype.concat,i=Array.prototype.slice,u=Mf.exports=function(f){for(var l=[],m=0,p=f.length;m<p;m++){var d=f[m];r(d)?l=a.call(l,i.call(d)):l.push(d)}return l};return u.wrap=function(c){return function(){return c(u(arguments))}},Mf.exports}var y1;function b3(){if(y1)return kf.exports;y1=1;var r=$2(),a=m3(),i=Object.hasOwnProperty,u=Object.create(null);for(var c in r)i.call(r,c)&&(u[r[c]]=c);var f=kf.exports={to:{},get:{}};f.get=function(p){var d=p.substring(0,3).toLowerCase(),b,h;switch(d){case"hsl":b=f.get.hsl(p),h="hsl";break;case"hwb":b=f.get.hwb(p),h="hwb";break;default:b=f.get.rgb(p),h="rgb";break}return b?{model:h,value:b}:null},f.get.rgb=function(p){if(!p)return null;var d=/^#([a-f0-9]{3,4})$/i,b=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,h=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,g=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,S=/^(\w+)$/,y=[0,0,0,1],D,O,A;if(D=p.match(b)){for(A=D[2],D=D[1],O=0;O<3;O++){var C=O*2;y[O]=parseInt(D.slice(C,C+2),16)}A&&(y[3]=parseInt(A,16)/255)}else if(D=p.match(d)){for(D=D[1],A=D[3],O=0;O<3;O++)y[O]=parseInt(D[O]+D[O],16);A&&(y[3]=parseInt(A+A,16)/255)}else if(D=p.match(h)){for(O=0;O<3;O++)y[O]=parseInt(D[O+1],0);D[4]&&(D[5]?y[3]=parseFloat(D[4])*.01:y[3]=parseFloat(D[4]))}else if(D=p.match(g)){for(O=0;O<3;O++)y[O]=Math.round(parseFloat(D[O+1])*2.55);D[4]&&(D[5]?y[3]=parseFloat(D[4])*.01:y[3]=parseFloat(D[4]))}else return(D=p.match(S))?D[1]==="transparent"?[0,0,0,0]:i.call(r,D[1])?(y=r[D[1]],y[3]=1,y):null:null;for(O=0;O<3;O++)y[O]=l(y[O],0,255);return y[3]=l(y[3],0,1),y},f.get.hsl=function(p){if(!p)return null;var d=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,b=p.match(d);if(b){var h=parseFloat(b[4]),g=(parseFloat(b[1])%360+360)%360,S=l(parseFloat(b[2]),0,100),y=l(parseFloat(b[3]),0,100),D=l(isNaN(h)?1:h,0,1);return[g,S,y,D]}return null},f.get.hwb=function(p){if(!p)return null;var d=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,b=p.match(d);if(b){var h=parseFloat(b[4]),g=(parseFloat(b[1])%360+360)%360,S=l(parseFloat(b[2]),0,100),y=l(parseFloat(b[3]),0,100),D=l(isNaN(h)?1:h,0,1);return[g,S,y,D]}return null},f.to.hex=function(){var p=a(arguments);return"#"+m(p[0])+m(p[1])+m(p[2])+(p[3]<1?m(Math.round(p[3]*255)):"")},f.to.rgb=function(){var p=a(arguments);return p.length<4||p[3]===1?"rgb("+Math.round(p[0])+", "+Math.round(p[1])+", "+Math.round(p[2])+")":"rgba("+Math.round(p[0])+", "+Math.round(p[1])+", "+Math.round(p[2])+", "+p[3]+")"},f.to.rgb.percent=function(){var p=a(arguments),d=Math.round(p[0]/255*100),b=Math.round(p[1]/255*100),h=Math.round(p[2]/255*100);return p.length<4||p[3]===1?"rgb("+d+"%, "+b+"%, "+h+"%)":"rgba("+d+"%, "+b+"%, "+h+"%, "+p[3]+")"},f.to.hsl=function(){var p=a(arguments);return p.length<4||p[3]===1?"hsl("+p[0]+", "+p[1]+"%, "+p[2]+"%)":"hsla("+p[0]+", "+p[1]+"%, "+p[2]+"%, "+p[3]+")"},f.to.hwb=function(){var p=a(arguments),d="";return p.length>=4&&p[3]!==1&&(d=", "+p[3]),"hwb("+p[0]+", "+p[1]+"%, "+p[2]+"%"+d+")"},f.to.keyword=function(p){return u[p.slice(0,3)]};function l(p,d,b){return Math.min(Math.max(d,p),b)}function m(p){var d=Math.round(p).toString(16).toUpperCase();return d.length<2?"0"+d:d}return kf.exports}var Pf,S1;function Q2(){if(S1)return Pf;S1=1;const r=$2(),a={};for(const c of Object.keys(r))a[r[c]]=c;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Pf=i;for(const c of Object.keys(i)){if(!("channels"in i[c]))throw new Error("missing channels property: "+c);if(!("labels"in i[c]))throw new Error("missing channel labels property: "+c);if(i[c].labels.length!==i[c].channels)throw new Error("channel and label counts mismatch: "+c);const{channels:f,labels:l}=i[c];delete i[c].channels,delete i[c].labels,Object.defineProperty(i[c],"channels",{value:f}),Object.defineProperty(i[c],"labels",{value:l})}i.rgb.hsl=function(c){const f=c[0]/255,l=c[1]/255,m=c[2]/255,p=Math.min(f,l,m),d=Math.max(f,l,m),b=d-p;let h,g;d===p?h=0:f===d?h=(l-m)/b:l===d?h=2+(m-f)/b:m===d&&(h=4+(f-l)/b),h=Math.min(h*60,360),h<0&&(h+=360);const S=(p+d)/2;return d===p?g=0:S<=.5?g=b/(d+p):g=b/(2-d-p),[h,g*100,S*100]},i.rgb.hsv=function(c){let f,l,m,p,d;const b=c[0]/255,h=c[1]/255,g=c[2]/255,S=Math.max(b,h,g),y=S-Math.min(b,h,g),D=function(O){return(S-O)/6/y+1/2};return y===0?(p=0,d=0):(d=y/S,f=D(b),l=D(h),m=D(g),b===S?p=m-l:h===S?p=1/3+f-m:g===S&&(p=2/3+l-f),p<0?p+=1:p>1&&(p-=1)),[p*360,d*100,S*100]},i.rgb.hwb=function(c){const f=c[0],l=c[1];let m=c[2];const p=i.rgb.hsl(c)[0],d=1/255*Math.min(f,Math.min(l,m));return m=1-1/255*Math.max(f,Math.max(l,m)),[p,d*100,m*100]},i.rgb.cmyk=function(c){const f=c[0]/255,l=c[1]/255,m=c[2]/255,p=Math.min(1-f,1-l,1-m),d=(1-f-p)/(1-p)||0,b=(1-l-p)/(1-p)||0,h=(1-m-p)/(1-p)||0;return[d*100,b*100,h*100,p*100]};function u(c,f){return(c[0]-f[0])**2+(c[1]-f[1])**2+(c[2]-f[2])**2}return i.rgb.keyword=function(c){const f=a[c];if(f)return f;let l=1/0,m;for(const p of Object.keys(r)){const d=r[p],b=u(c,d);b<l&&(l=b,m=p)}return m},i.keyword.rgb=function(c){return r[c]},i.rgb.xyz=function(c){let f=c[0]/255,l=c[1]/255,m=c[2]/255;f=f>.04045?((f+.055)/1.055)**2.4:f/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,m=m>.04045?((m+.055)/1.055)**2.4:m/12.92;const p=f*.4124+l*.3576+m*.1805,d=f*.2126+l*.7152+m*.0722,b=f*.0193+l*.1192+m*.9505;return[p*100,d*100,b*100]},i.rgb.lab=function(c){const f=i.rgb.xyz(c);let l=f[0],m=f[1],p=f[2];l/=95.047,m/=100,p/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,m=m>.008856?m**(1/3):7.787*m+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;const d=116*m-16,b=500*(l-m),h=200*(m-p);return[d,b,h]},i.hsl.rgb=function(c){const f=c[0]/360,l=c[1]/100,m=c[2]/100;let p,d,b;if(l===0)return b=m*255,[b,b,b];m<.5?p=m*(1+l):p=m+l-m*l;const h=2*m-p,g=[0,0,0];for(let S=0;S<3;S++)d=f+1/3*-(S-1),d<0&&d++,d>1&&d--,6*d<1?b=h+(p-h)*6*d:2*d<1?b=p:3*d<2?b=h+(p-h)*(2/3-d)*6:b=h,g[S]=b*255;return g},i.hsl.hsv=function(c){const f=c[0];let l=c[1]/100,m=c[2]/100,p=l;const d=Math.max(m,.01);m*=2,l*=m<=1?m:2-m,p*=d<=1?d:2-d;const b=(m+l)/2,h=m===0?2*p/(d+p):2*l/(m+l);return[f,h*100,b*100]},i.hsv.rgb=function(c){const f=c[0]/60,l=c[1]/100;let m=c[2]/100;const p=Math.floor(f)%6,d=f-Math.floor(f),b=255*m*(1-l),h=255*m*(1-l*d),g=255*m*(1-l*(1-d));switch(m*=255,p){case 0:return[m,g,b];case 1:return[h,m,b];case 2:return[b,m,g];case 3:return[b,h,m];case 4:return[g,b,m];case 5:return[m,b,h]}},i.hsv.hsl=function(c){const f=c[0],l=c[1]/100,m=c[2]/100,p=Math.max(m,.01);let d,b;b=(2-l)*m;const h=(2-l)*p;return d=l*p,d/=h<=1?h:2-h,d=d||0,b/=2,[f,d*100,b*100]},i.hwb.rgb=function(c){const f=c[0]/360;let l=c[1]/100,m=c[2]/100;const p=l+m;let d;p>1&&(l/=p,m/=p);const b=Math.floor(6*f),h=1-m;d=6*f-b,(b&1)!==0&&(d=1-d);const g=l+d*(h-l);let S,y,D;switch(b){default:case 6:case 0:S=h,y=g,D=l;break;case 1:S=g,y=h,D=l;break;case 2:S=l,y=h,D=g;break;case 3:S=l,y=g,D=h;break;case 4:S=g,y=l,D=h;break;case 5:S=h,y=l,D=g;break}return[S*255,y*255,D*255]},i.cmyk.rgb=function(c){const f=c[0]/100,l=c[1]/100,m=c[2]/100,p=c[3]/100,d=1-Math.min(1,f*(1-p)+p),b=1-Math.min(1,l*(1-p)+p),h=1-Math.min(1,m*(1-p)+p);return[d*255,b*255,h*255]},i.xyz.rgb=function(c){const f=c[0]/100,l=c[1]/100,m=c[2]/100;let p,d,b;return p=f*3.2406+l*-1.5372+m*-.4986,d=f*-.9689+l*1.8758+m*.0415,b=f*.0557+l*-.204+m*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,b=b>.0031308?1.055*b**(1/2.4)-.055:b*12.92,p=Math.min(Math.max(0,p),1),d=Math.min(Math.max(0,d),1),b=Math.min(Math.max(0,b),1),[p*255,d*255,b*255]},i.xyz.lab=function(c){let f=c[0],l=c[1],m=c[2];f/=95.047,l/=100,m/=108.883,f=f>.008856?f**(1/3):7.787*f+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,m=m>.008856?m**(1/3):7.787*m+16/116;const p=116*l-16,d=500*(f-l),b=200*(l-m);return[p,d,b]},i.lab.xyz=function(c){const f=c[0],l=c[1],m=c[2];let p,d,b;d=(f+16)/116,p=l/500+d,b=d-m/200;const h=d**3,g=p**3,S=b**3;return d=h>.008856?h:(d-16/116)/7.787,p=g>.008856?g:(p-16/116)/7.787,b=S>.008856?S:(b-16/116)/7.787,p*=95.047,d*=100,b*=108.883,[p,d,b]},i.lab.lch=function(c){const f=c[0],l=c[1],m=c[2];let p;p=Math.atan2(m,l)*360/2/Math.PI,p<0&&(p+=360);const b=Math.sqrt(l*l+m*m);return[f,b,p]},i.lch.lab=function(c){const f=c[0],l=c[1],p=c[2]/360*2*Math.PI,d=l*Math.cos(p),b=l*Math.sin(p);return[f,d,b]},i.rgb.ansi16=function(c,f=null){const[l,m,p]=c;let d=f===null?i.rgb.hsv(c)[2]:f;if(d=Math.round(d/50),d===0)return 30;let b=30+(Math.round(p/255)<<2|Math.round(m/255)<<1|Math.round(l/255));return d===2&&(b+=60),b},i.hsv.ansi16=function(c){return i.rgb.ansi16(i.hsv.rgb(c),c[2])},i.rgb.ansi256=function(c){const f=c[0],l=c[1],m=c[2];return f===l&&l===m?f<8?16:f>248?231:Math.round((f-8)/247*24)+232:16+36*Math.round(f/255*5)+6*Math.round(l/255*5)+Math.round(m/255*5)},i.ansi16.rgb=function(c){let f=c%10;if(f===0||f===7)return c>50&&(f+=3.5),f=f/10.5*255,[f,f,f];const l=(~~(c>50)+1)*.5,m=(f&1)*l*255,p=(f>>1&1)*l*255,d=(f>>2&1)*l*255;return[m,p,d]},i.ansi256.rgb=function(c){if(c>=232){const d=(c-232)*10+8;return[d,d,d]}c-=16;let f;const l=Math.floor(c/36)/5*255,m=Math.floor((f=c%36)/6)/5*255,p=f%6/5*255;return[l,m,p]},i.rgb.hex=function(c){const l=(((Math.round(c[0])&255)<<16)+((Math.round(c[1])&255)<<8)+(Math.round(c[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},i.hex.rgb=function(c){const f=c.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!f)return[0,0,0];let l=f[0];f[0].length===3&&(l=l.split("").map(h=>h+h).join(""));const m=parseInt(l,16),p=m>>16&255,d=m>>8&255,b=m&255;return[p,d,b]},i.rgb.hcg=function(c){const f=c[0]/255,l=c[1]/255,m=c[2]/255,p=Math.max(Math.max(f,l),m),d=Math.min(Math.min(f,l),m),b=p-d;let h,g;return b<1?h=d/(1-b):h=0,b<=0?g=0:p===f?g=(l-m)/b%6:p===l?g=2+(m-f)/b:g=4+(f-l)/b,g/=6,g%=1,[g*360,b*100,h*100]},i.hsl.hcg=function(c){const f=c[1]/100,l=c[2]/100,m=l<.5?2*f*l:2*f*(1-l);let p=0;return m<1&&(p=(l-.5*m)/(1-m)),[c[0],m*100,p*100]},i.hsv.hcg=function(c){const f=c[1]/100,l=c[2]/100,m=f*l;let p=0;return m<1&&(p=(l-m)/(1-m)),[c[0],m*100,p*100]},i.hcg.rgb=function(c){const f=c[0]/360,l=c[1]/100,m=c[2]/100;if(l===0)return[m*255,m*255,m*255];const p=[0,0,0],d=f%1*6,b=d%1,h=1-b;let g=0;switch(Math.floor(d)){case 0:p[0]=1,p[1]=b,p[2]=0;break;case 1:p[0]=h,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=b;break;case 3:p[0]=0,p[1]=h,p[2]=1;break;case 4:p[0]=b,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=h}return g=(1-l)*m,[(l*p[0]+g)*255,(l*p[1]+g)*255,(l*p[2]+g)*255]},i.hcg.hsv=function(c){const f=c[1]/100,l=c[2]/100,m=f+l*(1-f);let p=0;return m>0&&(p=f/m),[c[0],p*100,m*100]},i.hcg.hsl=function(c){const f=c[1]/100,m=c[2]/100*(1-f)+.5*f;let p=0;return m>0&&m<.5?p=f/(2*m):m>=.5&&m<1&&(p=f/(2*(1-m))),[c[0],p*100,m*100]},i.hcg.hwb=function(c){const f=c[1]/100,l=c[2]/100,m=f+l*(1-f);return[c[0],(m-f)*100,(1-m)*100]},i.hwb.hcg=function(c){const f=c[1]/100,m=1-c[2]/100,p=m-f;let d=0;return p<1&&(d=(m-p)/(1-p)),[c[0],p*100,d*100]},i.apple.rgb=function(c){return[c[0]/65535*255,c[1]/65535*255,c[2]/65535*255]},i.rgb.apple=function(c){return[c[0]/255*65535,c[1]/255*65535,c[2]/255*65535]},i.gray.rgb=function(c){return[c[0]/100*255,c[0]/100*255,c[0]/100*255]},i.gray.hsl=function(c){return[0,0,c[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(c){return[0,100,c[0]]},i.gray.cmyk=function(c){return[0,0,0,c[0]]},i.gray.lab=function(c){return[c[0],0,0]},i.gray.hex=function(c){const f=Math.round(c[0]/100*255)&255,m=((f<<16)+(f<<8)+f).toString(16).toUpperCase();return"000000".substring(m.length)+m},i.rgb.gray=function(c){return[(c[0]+c[1]+c[2])/3/255*100]},Pf}var Rf,D1;function y3(){if(D1)return Rf;D1=1;const r=Q2();function a(){const f={},l=Object.keys(r);for(let m=l.length,p=0;p<m;p++)f[l[p]]={distance:-1,parent:null};return f}function i(f){const l=a(),m=[f];for(l[f].distance=0;m.length;){const p=m.pop(),d=Object.keys(r[p]);for(let b=d.length,h=0;h<b;h++){const g=d[h],S=l[g];S.distance===-1&&(S.distance=l[p].distance+1,S.parent=p,m.unshift(g))}}return l}function u(f,l){return function(m){return l(f(m))}}function c(f,l){const m=[l[f].parent,f];let p=r[l[f].parent][f],d=l[f].parent;for(;l[d].parent;)m.unshift(l[d].parent),p=u(r[l[d].parent][d],p),d=l[d].parent;return p.conversion=m,p}return Rf=function(f){const l=i(f),m={},p=Object.keys(l);for(let d=p.length,b=0;b<d;b++){const h=p[b];l[h].parent!==null&&(m[h]=c(h,l))}return m},Rf}var xf,O1;function S3(){if(O1)return xf;O1=1;const r=Q2(),a=y3(),i={},u=Object.keys(r);function c(l){const m=function(...p){const d=p[0];return d==null?d:(d.length>1&&(p=d),l(p))};return"conversion"in l&&(m.conversion=l.conversion),m}function f(l){const m=function(...p){const d=p[0];if(d==null)return d;d.length>1&&(p=d);const b=l(p);if(typeof b=="object")for(let h=b.length,g=0;g<h;g++)b[g]=Math.round(b[g]);return b};return"conversion"in l&&(m.conversion=l.conversion),m}return u.forEach(l=>{i[l]={},Object.defineProperty(i[l],"channels",{value:r[l].channels}),Object.defineProperty(i[l],"labels",{value:r[l].labels});const m=a(l);Object.keys(m).forEach(d=>{const b=m[d];i[l][d]=f(b),i[l][d].raw=c(b)})}),xf=i,xf}var Bf,E1;function D3(){if(E1)return Bf;E1=1;const r=b3(),a=S3(),i=["keyword","gray","hex"],u={};for(const g of Object.keys(a))u[[...a[g].labels].sort().join("")]=g;const c={};function f(g,S){if(!(this instanceof f))return new f(g,S);if(S&&S in i&&(S=null),S&&!(S in a))throw new Error("Unknown model: "+S);let y,D;if(g==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(g instanceof f)this.model=g.model,this.color=[...g.color],this.valpha=g.valpha;else if(typeof g=="string"){const O=r.get(g);if(O===null)throw new Error("Unable to parse color from string: "+g);this.model=O.model,D=a[this.model].channels,this.color=O.value.slice(0,D),this.valpha=typeof O.value[D]=="number"?O.value[D]:1}else if(g.length>0){this.model=S||"rgb",D=a[this.model].channels;const O=Array.prototype.slice.call(g,0,D);this.color=h(O,D),this.valpha=typeof g[D]=="number"?g[D]:1}else if(typeof g=="number")this.model="rgb",this.color=[g>>16&255,g>>8&255,g&255],this.valpha=1;else{this.valpha=1;const O=Object.keys(g);"alpha"in g&&(O.splice(O.indexOf("alpha"),1),this.valpha=typeof g.alpha=="number"?g.alpha:0);const A=O.sort().join("");if(!(A in u))throw new Error("Unable to parse color from object: "+JSON.stringify(g));this.model=u[A];const{labels:C}=a[this.model],k=[];for(y=0;y<C.length;y++)k.push(g[C[y]]);this.color=h(k)}if(c[this.model])for(D=a[this.model].channels,y=0;y<D;y++){const O=c[this.model][y];O&&(this.color[y]=O(this.color[y]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}f.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(g){let S=this.model in r.to?this:this.rgb();S=S.round(typeof g=="number"?g:1);const y=S.valpha===1?S.color:[...S.color,this.valpha];return r.to[S.model](y)},percentString(g){const S=this.rgb().round(typeof g=="number"?g:1),y=S.valpha===1?S.color:[...S.color,this.valpha];return r.to.rgb.percent(y)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const g={},{channels:S}=a[this.model],{labels:y}=a[this.model];for(let D=0;D<S;D++)g[y[D]]=this.color[D];return this.valpha!==1&&(g.alpha=this.valpha),g},unitArray(){const g=this.rgb().color;return g[0]/=255,g[1]/=255,g[2]/=255,this.valpha!==1&&g.push(this.valpha),g},unitObject(){const g=this.rgb().object();return g.r/=255,g.g/=255,g.b/=255,this.valpha!==1&&(g.alpha=this.valpha),g},round(g){return g=Math.max(g||0,0),new f([...this.color.map(m(g)),this.valpha],this.model)},alpha(g){return g!==void 0?new f([...this.color,Math.max(0,Math.min(1,g))],this.model):this.valpha},red:p("rgb",0,d(255)),green:p("rgb",1,d(255)),blue:p("rgb",2,d(255)),hue:p(["hsl","hsv","hsl","hwb","hcg"],0,g=>(g%360+360)%360),saturationl:p("hsl",1,d(100)),lightness:p("hsl",2,d(100)),saturationv:p("hsv",1,d(100)),value:p("hsv",2,d(100)),chroma:p("hcg",1,d(100)),gray:p("hcg",2,d(100)),white:p("hwb",1,d(100)),wblack:p("hwb",2,d(100)),cyan:p("cmyk",0,d(100)),magenta:p("cmyk",1,d(100)),yellow:p("cmyk",2,d(100)),black:p("cmyk",3,d(100)),x:p("xyz",0,d(95.047)),y:p("xyz",1,d(100)),z:p("xyz",2,d(108.833)),l:p("lab",0,d(100)),a:p("lab",1),b:p("lab",2),keyword(g){return g!==void 0?new f(g):a[this.model].keyword(this.color)},hex(g){return g!==void 0?new f(g):r.to.hex(this.rgb().round().color)},hexa(g){if(g!==void 0)return new f(g);const S=this.rgb().round().color;let y=Math.round(this.valpha*255).toString(16).toUpperCase();return y.length===1&&(y="0"+y),r.to.hex(S)+y},rgbNumber(){const g=this.rgb().color;return(g[0]&255)<<16|(g[1]&255)<<8|g[2]&255},luminosity(){const g=this.rgb().color,S=[];for(const[y,D]of g.entries()){const O=D/255;S[y]=O<=.04045?O/12.92:((O+.055)/1.055)**2.4}return .2126*S[0]+.7152*S[1]+.0722*S[2]},contrast(g){const S=this.luminosity(),y=g.luminosity();return S>y?(S+.05)/(y+.05):(y+.05)/(S+.05)},level(g){const S=this.contrast(g);return S>=7?"AAA":S>=4.5?"AA":""},isDark(){const g=this.rgb().color;return(g[0]*2126+g[1]*7152+g[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const g=this.rgb();for(let S=0;S<3;S++)g.color[S]=255-g.color[S];return g},lighten(g){const S=this.hsl();return S.color[2]+=S.color[2]*g,S},darken(g){const S=this.hsl();return S.color[2]-=S.color[2]*g,S},saturate(g){const S=this.hsl();return S.color[1]+=S.color[1]*g,S},desaturate(g){const S=this.hsl();return S.color[1]-=S.color[1]*g,S},whiten(g){const S=this.hwb();return S.color[1]+=S.color[1]*g,S},blacken(g){const S=this.hwb();return S.color[2]+=S.color[2]*g,S},grayscale(){const g=this.rgb().color,S=g[0]*.3+g[1]*.59+g[2]*.11;return f.rgb(S,S,S)},fade(g){return this.alpha(this.valpha-this.valpha*g)},opaquer(g){return this.alpha(this.valpha+this.valpha*g)},rotate(g){const S=this.hsl();let y=S.color[0];return y=(y+g)%360,y=y<0?360+y:y,S.color[0]=y,S},mix(g,S){if(!g||!g.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof g);const y=g.rgb(),D=this.rgb(),O=S===void 0?.5:S,A=2*O-1,C=y.alpha()-D.alpha(),k=((A*C===-1?A:(A+C)/(1+A*C))+1)/2,T=1-k;return f.rgb(k*y.red()+T*D.red(),k*y.green()+T*D.green(),k*y.blue()+T*D.blue(),y.alpha()*O+D.alpha()*(1-O))}};for(const g of Object.keys(a)){if(i.includes(g))continue;const{channels:S}=a[g];f.prototype[g]=function(...y){return this.model===g?new f(this):y.length>0?new f(y,g):new f([...b(a[this.model][g].raw(this.color)),this.valpha],g)},f[g]=function(...y){let D=y[0];return typeof D=="number"&&(D=h(y,S)),new f(D,g)}}function l(g,S){return Number(g.toFixed(S))}function m(g){return function(S){return l(S,g)}}function p(g,S,y){g=Array.isArray(g)?g:[g];for(const D of g)(c[D]||(c[D]=[]))[S]=y;return g=g[0],function(D){let O;return D!==void 0?(y&&(D=y(D)),O=this[g](),O.color[S]=D,O):(O=this[g]().color[S],y&&(O=y(O)),O)}}function d(g){return function(S){return Math.max(0,Math.min(g,S))}}function b(g){return Array.isArray(g)?g:[g]}function h(g,S){for(let y=0;y<S;y++)typeof g[y]!="number"&&(g[y]=0);return g}return Bf=f,Bf}var O3=D3();const C1=bs(O3);var E3=typeof global=="object"&&global&&global.Object===Object&&global,C3=typeof self=="object"&&self&&self.Object===Object&&self,ta=E3||C3||Function("return this")(),ps=ta.Symbol,J2=Object.prototype,_3=J2.hasOwnProperty,T3=J2.toString,rl=ps?ps.toStringTag:void 0;function k3(r){var a=_3.call(r,rl),i=r[rl];try{r[rl]=void 0;var u=!0}catch{}var c=T3.call(r);return u&&(a?r[rl]=i:delete r[rl]),c}var A3=Object.prototype,M3=A3.toString;function w3(r){return M3.call(r)}var P3="[object Null]",R3="[object Undefined]",_1=ps?ps.toStringTag:void 0;function e5(r){return r==null?r===void 0?R3:P3:_1&&_1 in Object(r)?k3(r):w3(r)}function t5(r){return r!=null&&typeof r=="object"}var x3="[object Symbol]";function B3(r){return typeof r=="symbol"||t5(r)&&e5(r)==x3}var L3=Array.isArray,F3=/\s/;function N3(r){for(var a=r.length;a--&&F3.test(r.charAt(a)););return a}var z3=/^\s+/;function H3(r){return r&&r.slice(0,N3(r)+1).replace(z3,"")}function Xa(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}var T1=NaN,j3=/^[-+]0x[0-9a-f]+$/i,I3=/^0b[01]+$/i,q3=/^0o[0-7]+$/i,U3=parseInt;function W3(r){if(typeof r=="number")return r;if(B3(r))return T1;if(Xa(r)){var a=typeof r.valueOf=="function"?r.valueOf():r;r=Xa(a)?a+"":a}if(typeof r!="string")return r===0?r:+r;r=H3(r);var i=I3.test(r);return i||q3.test(r)?U3(r.slice(2),i?2:8):j3.test(r)?T1:+r}var k1=1/0,G3=17976931348623157e292;function Y3(r){if(!r)return r===0?r:0;if(r=W3(r),r===k1||r===-k1){var a=r<0?-1:1;return a*G3}return r===r?r:0}function A1(r){var a=Y3(r),i=a%1;return a===a?i?a-i:a:0}function r5(r){return r}var V3="[object AsyncFunction]",K3="[object Function]",Z3="[object GeneratorFunction]",X3="[object Proxy]";function $3(r){if(!Xa(r))return!1;var a=e5(r);return a==K3||a==Z3||a==V3||a==X3}var Lf=ta["__core-js_shared__"],M1=(function(){var r=/[^.]+$/.exec(Lf&&Lf.keys&&Lf.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function Q3(r){return!!M1&&M1 in r}var J3=Function.prototype,e6=J3.toString;function t6(r){if(r!=null){try{return e6.call(r)}catch{}try{return r+""}catch{}}return""}var r6=/[\\^$.*+?()[\]{}|]/g,n6=/^\[object .+?Constructor\]$/,a6=Function.prototype,i6=Object.prototype,o6=a6.toString,l6=i6.hasOwnProperty,u6=RegExp("^"+o6.call(l6).replace(r6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function s6(r){if(!Xa(r)||Q3(r))return!1;var a=$3(r)?u6:n6;return a.test(t6(r))}function c6(r,a){return r?.[a]}function n5(r,a){var i=c6(r,a);return s6(i)?i:void 0}var w1=n5(ta,"WeakMap"),gs=w1&&new w1,a5=gs?function(r,a){return gs.set(r,a),r}:r5,P1=Object.create,G0=(function(){function r(){}return function(a){if(!Xa(a))return{};if(P1)return P1(a);r.prototype=a;var i=new r;return r.prototype=void 0,i}})();function cl(r){return function(){var a=arguments;switch(a.length){case 0:return new r;case 1:return new r(a[0]);case 2:return new r(a[0],a[1]);case 3:return new r(a[0],a[1],a[2]);case 4:return new r(a[0],a[1],a[2],a[3]);case 5:return new r(a[0],a[1],a[2],a[3],a[4]);case 6:return new r(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new r(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var i=G0(r.prototype),u=r.apply(i,a);return Xa(u)?u:i}}var d6=1;function f6(r,a,i){var u=a&d6,c=cl(r);function f(){var l=this&&this!==ta&&this instanceof f?c:r;return l.apply(u?i:this,arguments)}return f}function i5(r,a,i){switch(i.length){case 0:return r.call(a);case 1:return r.call(a,i[0]);case 2:return r.call(a,i[0],i[1]);case 3:return r.call(a,i[0],i[1],i[2])}return r.apply(a,i)}var p6=Math.max;function o5(r,a,i,u){for(var c=-1,f=r.length,l=i.length,m=-1,p=a.length,d=p6(f-l,0),b=Array(p+d),h=!u;++m<p;)b[m]=a[m];for(;++c<l;)(h||c<f)&&(b[i[c]]=r[c]);for(;d--;)b[m++]=r[c++];return b}var g6=Math.max;function l5(r,a,i,u){for(var c=-1,f=r.length,l=-1,m=i.length,p=-1,d=a.length,b=g6(f-m,0),h=Array(b+d),g=!u;++c<b;)h[c]=r[c];for(var S=c;++p<d;)h[S+p]=a[p];for(;++l<m;)(g||c<f)&&(h[S+i[l]]=r[c++]);return h}function v6(r,a){for(var i=r.length,u=0;i--;)r[i]===a&&++u;return u}function Y0(){}var h6=4294967295;function $a(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h6,this.__views__=[]}$a.prototype=G0(Y0.prototype);$a.prototype.constructor=$a;function m6(){}var u5=gs?function(r){return gs.get(r)}:m6,R1={},b6=Object.prototype,y6=b6.hasOwnProperty;function S6(r){for(var a=r.name+"",i=R1[a],u=y6.call(R1,a)?i.length:0;u--;){var c=i[u],f=c.func;if(f==null||f==r)return c.name}return a}function Qa(r,a){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=void 0}Qa.prototype=G0(Y0.prototype);Qa.prototype.constructor=Qa;function s5(r,a){var i=-1,u=r.length;for(a||(a=Array(u));++i<u;)a[i]=r[i];return a}function D6(r){if(r instanceof $a)return r.clone();var a=new Qa(r.__wrapped__,r.__chain__);return a.__actions__=s5(r.__actions__),a.__index__=r.__index__,a.__values__=r.__values__,a}var O6=Object.prototype,E6=O6.hasOwnProperty;function vs(r){if(t5(r)&&!L3(r)&&!(r instanceof $a)){if(r instanceof Qa)return r;if(E6.call(r,"__wrapped__"))return D6(r)}return new Qa(r)}vs.prototype=Y0.prototype;vs.prototype.constructor=vs;function C6(r){var a=S6(r),i=vs[a];if(typeof i!="function"||!(a in $a.prototype))return!1;if(r===i)return!0;var u=u5(i);return!!u&&r===u[0]}var _6=800,T6=16,k6=Date.now;function c5(r){var a=0,i=0;return function(){var u=k6(),c=T6-(u-i);if(i=u,c>0){if(++a>=_6)return arguments[0]}else a=0;return r.apply(void 0,arguments)}}var d5=c5(a5),A6=/\{\n\/\* \[wrapped with (.+)\] \*/,M6=/,? & /;function w6(r){var a=r.match(A6);return a?a[1].split(M6):[]}var P6=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function R6(r,a){var i=a.length;if(!i)return r;var u=i-1;return a[u]=(i>1?"& ":"")+a[u],a=a.join(i>2?", ":" "),r.replace(P6,`{
10
- /* [wrapped with `+a+`] */
11
- `)}function x6(r){return function(){return r}}var x1=(function(){try{var r=n5(Object,"defineProperty");return r({},"",{}),r}catch{}})(),B6=x1?function(r,a){return x1(r,"toString",{configurable:!0,enumerable:!1,value:x6(a),writable:!0})}:r5,L6=c5(B6);function F6(r,a){for(var i=-1,u=r==null?0:r.length;++i<u&&a(r[i],i,r)!==!1;);return r}function N6(r,a,i,u){for(var c=r.length,f=i+-1;++f<c;)if(a(r[f],f,r))return f;return-1}function z6(r){return r!==r}function H6(r,a,i){for(var u=i-1,c=r.length;++u<c;)if(r[u]===a)return u;return-1}function j6(r,a,i){return a===a?H6(r,a,i):N6(r,z6,i)}function I6(r,a){var i=r==null?0:r.length;return!!i&&j6(r,a,0)>-1}var q6=1,U6=2,W6=8,G6=16,Y6=32,V6=64,K6=128,Z6=256,X6=512,$6=[["ary",K6],["bind",q6],["bindKey",U6],["curry",W6],["curryRight",G6],["flip",X6],["partial",Y6],["partialRight",V6],["rearg",Z6]];function Q6(r,a){return F6($6,function(i){var u="_."+i[0];a&i[1]&&!I6(r,u)&&r.push(u)}),r.sort()}function f5(r,a,i){var u=a+"";return L6(r,R6(u,Q6(w6(u),i)))}var J6=4,eA=8,B1=32,L1=64;function p5(r,a,i,u,c,f,l,m,p,d){var b=a&eA,h=b?l:void 0,g=b?void 0:l,S=b?f:void 0,y=b?void 0:f;a|=b?B1:L1,a&=~(b?L1:B1),a&J6||(a&=-4);var D=[r,a,c,S,h,y,g,m,p,d],O=i.apply(void 0,D);return C6(r)&&d5(O,D),O.placeholder=u,f5(O,r,a)}function g5(r){var a=r;return a.placeholder}var tA=9007199254740991,rA=/^(?:0|[1-9]\d*)$/;function nA(r,a){var i=typeof r;return a=a??tA,!!a&&(i=="number"||i!="symbol"&&rA.test(r))&&r>-1&&r%1==0&&r<a}var aA=Math.min;function iA(r,a){for(var i=r.length,u=aA(a.length,i),c=s5(r);u--;){var f=a[u];r[u]=nA(f,i)?c[f]:void 0}return r}var F1="__lodash_placeholder__";function hs(r,a){for(var i=-1,u=r.length,c=0,f=[];++i<u;){var l=r[i];(l===a||l===F1)&&(r[i]=F1,f[c++]=i)}return f}var oA=1,lA=2,uA=8,sA=16,cA=128,dA=512;function V0(r,a,i,u,c,f,l,m,p,d){var b=a&cA,h=a&oA,g=a&lA,S=a&(uA|sA),y=a&dA,D=g?void 0:cl(r);function O(){for(var A=arguments.length,C=Array(A),k=A;k--;)C[k]=arguments[k];if(S)var T=g5(O),_=v6(C,T);if(u&&(C=o5(C,u,c,S)),f&&(C=l5(C,f,l,S)),A-=_,S&&A<d){var L=hs(C,T);return p5(r,a,V0,O.placeholder,i,C,L,m,p,d-A)}var R=h?i:this,F=g?R[r]:r;return A=C.length,m?C=iA(C,m):y&&A>1&&C.reverse(),b&&p<A&&(C.length=p),this&&this!==ta&&this instanceof O&&(F=D||cl(F)),F.apply(R,C)}return O}function fA(r,a,i){var u=cl(r);function c(){for(var f=arguments.length,l=Array(f),m=f,p=g5(c);m--;)l[m]=arguments[m];var d=f<3&&l[0]!==p&&l[f-1]!==p?[]:hs(l,p);if(f-=d.length,f<i)return p5(r,a,V0,c.placeholder,void 0,l,d,void 0,void 0,i-f);var b=this&&this!==ta&&this instanceof c?u:r;return i5(b,this,l)}return c}var pA=1;function gA(r,a,i,u){var c=a&pA,f=cl(r);function l(){for(var m=-1,p=arguments.length,d=-1,b=u.length,h=Array(b+p),g=this&&this!==ta&&this instanceof l?f:r;++d<b;)h[d]=u[d];for(;p--;)h[d++]=arguments[++m];return i5(g,c?i:this,h)}return l}var N1="__lodash_placeholder__",Ff=1,vA=2,hA=4,z1=8,nl=128,H1=256,mA=Math.min;function bA(r,a){var i=r[1],u=a[1],c=i|u,f=c<(Ff|vA|nl),l=u==nl&&i==z1||u==nl&&i==H1&&r[7].length<=a[8]||u==(nl|H1)&&a[7].length<=a[8]&&i==z1;if(!(f||l))return r;u&Ff&&(r[2]=a[2],c|=i&Ff?0:hA);var m=a[3];if(m){var p=r[3];r[3]=p?o5(p,m,a[4]):m,r[4]=p?hs(r[3],N1):a[4]}return m=a[5],m&&(p=r[5],r[5]=p?l5(p,m,a[6]):m,r[6]=p?hs(r[5],N1):a[6]),m=a[7],m&&(r[7]=m),u&nl&&(r[8]=r[8]==null?a[8]:mA(r[8],a[8])),r[9]==null&&(r[9]=a[9]),r[0]=a[0],r[1]=c,r}var yA="Expected a function",j1=1,SA=2,I1=8,q1=16,U1=32,DA=64,W1=Math.max;function OA(r,a,i,u,c,f,l,m){var p=a&SA;if(!p&&typeof r!="function")throw new TypeError(yA);var d=u?u.length:0;if(d||(a&=-97,u=c=void 0),l=l===void 0?l:W1(A1(l),0),m=m===void 0?m:A1(m),d-=c?c.length:0,a&DA){var b=u,h=c;u=c=void 0}var g=p?void 0:u5(r),S=[r,a,i,u,c,b,h,f,l,m];if(g&&bA(S,g),r=S[0],a=S[1],i=S[2],u=S[3],c=S[4],m=S[9]=S[9]===void 0?p?0:r.length:W1(S[9]-d,0),!m&&a&(I1|q1)&&(a&=-25),!a||a==j1)var y=f6(r,a,i);else a==I1||a==q1?y=fA(r,a,m):(a==U1||a==(j1|U1))&&!c.length?y=gA(r,a,i,u):y=V0.apply(void 0,S);var D=g?a5:d5;return f5(D(y,S),r,a)}var EA=8;function ms(r,a,i){a=i?void 0:a;var u=OA(r,EA,void 0,void 0,void 0,void 0,void 0,a);return u.placeholder=ms.placeholder,u}ms.placeholder={};function CA(r){const a=r[0],i=r[1],u=r[2];let c,f,l;return c=a*1+i*0+u*1.13983,f=a*1+i*-.39465+u*-.5806,l=a*1+i*2.02311+u*0,c=Math.min(Math.max(0,c),1),f=Math.min(Math.max(0,f),1),l=Math.min(Math.max(0,l),1),[c*255,f*255,l*255]}function _A(r){const a=r[0]/255,i=r[1]/255,u=r[2]/255,c=a*.299+i*.587+u*.114,f=a*-.14713+i*-.28886+u*.436,l=a*.615+i*-.51499+u*-.10001;return[c,f,l]}const TA={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},kA={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},AA={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},MA={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},wA={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},PA={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},RA={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},xA={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},BA={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},LA={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},FA={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},NA={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},zA={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},HA={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},jA={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},IA={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},qA={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},UA={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},WA={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},GA={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},YA={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},VA={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},KA={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},ZA={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},XA={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},$A={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},QA={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},JA={scheme:"nicinabox",author:"nicinabox (http://github.com/nicinabox)",base00:"#2A2F3A",base01:"#3C444F",base02:"#4F5A65",base03:"#BEBEBE",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#FFFFFF",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#FC6D24",base0A:"#ddb26f",base0B:"#A1C659",base0C:"#12cfc0",base0D:"#6FB3D2",base0E:"#D381C3",base0F:"#deaf8f"},eM={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},tM={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},rM={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},nM={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},aM={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},iM={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},oM={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},lM={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},uM={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},sM={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},v5={threezerotwofour:TA,apathy:kA,ashes:AA,atelierDune:MA,atelierForest:wA,atelierHeath:PA,atelierLakeside:RA,atelierSeaside:xA,bespin:BA,brewer:LA,bright:FA,chalk:NA,codeschool:zA,colors:HA,default:jA,eighties:IA,embers:qA,flat:UA,google:WA,grayscale:GA,greenscreen:YA,harmonic:VA,hopscotch:KA,isotope:ZA,marrakesh:XA,mocha:$A,monokai:QA,nicinabox:JA,ocean:eM,paraiso:tM,pop:rM,railscasts:nM,shapeshifter:aM,solarized:iM,summerfruit:oM,tomorrow:lM,tube:uM,twilight:sM},h5=v5.default,G1=Object.keys(h5),cM=r=>r<.25?1:r<.5?.9-r:1.1-r,dM=r=>{const a=C1(r),[i,u,c]=_A(a.array()),f=[cM(i),u,c],l=CA(f);return C1.rgb(l).hex()},qa=r=>a=>({className:[a.className,r.className].filter(Boolean).join(" "),style:{...a.style||{},...r.style||{}}}),fM=(r,a)=>{if(r===void 0)return a;if(a===void 0)return r;const i=typeof r,u=typeof a;switch(i){case"string":switch(u){case"string":return[a,r].filter(Boolean).join(" ");case"object":return qa({className:r,style:a});case"function":return(c,...f)=>qa({className:r})(a(c,...f))}break;case"object":switch(u){case"string":return qa({className:a,style:r});case"object":return{...a,...r};case"function":return(c,...f)=>qa({style:r})(a(c,...f))}break;case"function":switch(u){case"string":return(c,...f)=>r(qa(c)({className:a}),...f);case"object":return(c,...f)=>r(qa(c)({style:a}),...f);case"function":return(c,...f)=>r(a(c,...f),...f)}}},pM=(r,a)=>{const i=Object.keys(a);for(const u in r)i.indexOf(u)===-1&&i.push(u);return i.reduce((u,c)=>(u[c]=fM(r[c],a[c]),u),{})},gM=(r,a,...i)=>{if(a===null)return r;Array.isArray(a)||(a=[a]);const c=a.map(f=>r[f]).filter(Boolean).reduce((f,l)=>(typeof l=="string"?f.className=[f.className,l].filter(Boolean).join(" "):typeof l=="object"?f.style={...f.style,...l}:typeof l=="function"&&(f={...f,...l(f,...i)}),f),{className:"",style:{}});return c.className||delete c.className,Object.keys(c.style).length===0&&delete c.style,c},Jf=r=>Object.keys(r).reduce((a,i)=>(a[i]=/^base/.test(i)?dM(r[i]):i==="scheme"?r[i]+":inverted":r[i],a),{}),vM=ms((r,a={},i={},...u)=>{const{defaultBase16:c=h5,base16Themes:f=null}=a,l=hM(i,f);l&&(i={...l,...i});const m=G1.reduce((h,g)=>(h[g]=i[g]||c[g],h),{}),p=Object.keys(i).reduce((h,g)=>(G1.indexOf(g)===-1&&(h[g]=i[g]),h),{}),d=r(m),b=pM(p,d);return ms(gM,2)(b,...u)},3),m5=r=>!!r.extend,hM=(r,a)=>{if(r&&m5(r)&&r.extend&&(r=r.extend),typeof r=="string"){const[i,u]=r.split(":");a?r=a[i]:r=v5[i],u==="inverted"&&(r=Jf(r))}return r&&Object.prototype.hasOwnProperty.call(r,"base00")?r:void 0},mM=r=>typeof r=="string"?`${r}:inverted`:r&&m5(r)&&r.extend?typeof r.extend=="string"?{...r,extend:`${r.extend}:inverted`}:{...r,extend:Jf(r.extend)}:r&&Jf(r);function bM(r){const a=Object.prototype.toString.call(r).slice(8,-1);return a==="Object"&&typeof r[Symbol.iterator]=="function"?"Iterable":a==="Custom"&&r.constructor!==Object&&r instanceof Object?"Object":a}function b5({styling:r,arrowStyle:a="single",expanded:i,nodeType:u,onClick:c}){return me.createElement("div",{...r("arrowContainer",a),onClick:c},me.createElement("div",{...r(["arrow","arrowSign"],u,i,a)},"▶",a==="double"&&me.createElement("div",{...r(["arrowSign","arrowSignInner"])},"▶")))}function yM(r,a){return r==="Object"?Object.keys(a).length:r==="Array"?a.length:1/0}function SM(r){return typeof r.set=="function"}function DM(r,a,i,u=0,c=1/0){let f;if(r==="Object"){let l=Object.getOwnPropertyNames(a);i&&l.sort(i===!0?void 0:i),l=l.slice(u,c+1),f={entries:l.map(m=>({key:m,value:a[m]}))}}else if(r==="Array")f={entries:a.slice(u,c+1).map((l,m)=>({key:m+u,value:l}))};else{let l=0;const m=[];let p=!0;const d=SM(a);for(const b of a){if(l>c){p=!1;break}u<=l&&(d&&Array.isArray(b)?typeof b[0]=="string"||typeof b[0]=="number"?m.push({key:b[0],value:b[1]}):m.push({key:`[entry ${l}]`,value:{"[key]":b[0],"[value]":b[1]}}):m.push({key:l,value:b})),l++}f={hasMore:!p,entries:m}}return f}function Nf(r,a,i){const u=[];for(;a-r>i*i;)i=i*i;for(let c=r;c<=a;c+=i)u.push({from:c,to:Math.min(a,c+i-1)});return u}function OM(r,a,i,u,c=0,f=1/0){const l=DM.bind(null,r,a,i);if(!u)return l().entries;const m=f<1/0,p=Math.min(f-c,yM(r,a));if(r!=="Iterable"){if(p<=u||u<7)return l(c,f).entries}else if(p<=u&&!m)return l(c,f).entries;let d;if(r==="Iterable"){const{hasMore:b,entries:h}=l(c,c+u-1);d=b?[...h,...Nf(c+u,c+2*u-1,u)]:h}else d=m?Nf(c,f,u):[...l(0,u-5).entries,...Nf(u-4,p-5,u),...l(p-4,p-1).entries];return d}function EM(r){const{styling:a,from:i,to:u,renderChildNodes:c,nodeType:f}=r,[l,m]=re.useState(!1),p=re.useCallback(()=>{m(!l)},[l]);return l?me.createElement("div",{...a("itemRange",l)},c(r,i,u)):me.createElement("div",{...a("itemRange",l),onClick:p},me.createElement(b5,{nodeType:f,styling:a,expanded:!1,onClick:p,arrowStyle:"double"}),`${i} ... ${u}`)}function CM(r){return r.to!==void 0}function y5(r,a,i){const{nodeType:u,data:c,collectionLimit:f,circularCache:l,keyPath:m,postprocessValue:p,sortObjectKeys:d}=r,b=[];return OM(u,c,d,f,a,i).forEach(h=>{if(CM(h))b.push(me.createElement(EM,{...r,key:`ItemRange--${h.from}-${h.to}`,from:h.from,to:h.to,renderChildNodes:y5}));else{const{key:g,value:S}=h,y=l.includes(S);b.push(me.createElement(S5,{...r,postprocessValue:p,collectionLimit:f,key:`Node--${g}`,keyPath:[g,...m],value:p(S),circularCache:[...l,S],isCircular:y,hideRoot:!1}))}}),b}function K0(r){const{circularCache:a=[],collectionLimit:i,createItemString:u,data:c,expandable:f,getItemString:l,hideRoot:m,isCircular:p,keyPath:d,labelRenderer:b,level:h=0,nodeType:g,nodeTypeIndicator:S,shouldExpandNodeInitially:y,styling:D}=r,[O,A]=re.useState(p?!1:y(d,c,h)),C=re.useCallback(()=>{f&&A(!O)},[f,O]),k=O||m&&h===0?y5({...r,circularCache:a,level:h+1}):null,T=me.createElement("span",{...D("nestedNodeItemType",O)},S),_=l(g,c,T,u(c,i),d),L=[d,g,O,f];return m?me.createElement("li",{...D("rootNode",...L)},me.createElement("ul",{...D("rootNodeChildren",...L)},k)):me.createElement("li",{...D("nestedNode",...L)},f&&me.createElement(b5,{styling:D,nodeType:g,expanded:O,onClick:C}),me.createElement("label",{...D(["label","nestedNodeLabel"],...L),onClick:C},b(...L)),me.createElement("span",{...D("nestedNodeItemString",...L),onClick:C},_),me.createElement("ul",{...D("nestedNodeChildren",...L)},k))}function _M(r){const a=Object.getOwnPropertyNames(r).length;return`${a} ${a!==1?"keys":"key"}`}function TM({data:r,...a}){return me.createElement(K0,{...a,data:r,nodeType:"Object",nodeTypeIndicator:a.nodeType==="Error"?"Error()":"{}",createItemString:_M,expandable:Object.getOwnPropertyNames(r).length>0})}function kM(r){return`${r.length} ${r.length!==1?"items":"item"}`}function AM({data:r,...a}){return me.createElement(K0,{...a,data:r,nodeType:"Array",nodeTypeIndicator:"[]",createItemString:kM,expandable:r.length>0})}function MM(r,a){let i=0,u=!1;if(Number.isSafeInteger(r.size))i=r.size;else for(const c of r){if(a&&i+1>a){u=!0;break}i+=1}return`${u?">":""}${i} ${i!==1?"entries":"entry"}`}function wM(r){return me.createElement(K0,{...r,nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:MM,expandable:!0})}function $r({nodeType:r,styling:a,labelRenderer:i,keyPath:u,valueRenderer:c,value:f,valueGetter:l=m=>m}){return me.createElement("li",{...a("value",r,u)},me.createElement("label",{...a(["label","valueLabel"],r,u)},i(u,r,!1,!1)),me.createElement("span",{...a("valueText",r,u)},c(l(f),f,...u)))}function S5({getItemString:r,keyPath:a,labelRenderer:i,styling:u,value:c,valueRenderer:f,isCustomNode:l,...m}){const p=l(c)?"Custom":bM(c),d={getItemString:r,key:a[0],keyPath:a,labelRenderer:i,nodeType:p,styling:u,value:c,valueRenderer:f},b={...m,...d,data:c,isCustomNode:l};switch(p){case"Object":case"Error":case"WeakMap":case"WeakSet":return me.createElement(TM,{...b});case"Array":return me.createElement(AM,{...b});case"Iterable":case"Map":case"Set":return me.createElement(wM,{...b});case"String":return me.createElement($r,{...d,valueGetter:h=>`"${h}"`});case"Number":return me.createElement($r,{...d});case"Boolean":return me.createElement($r,{...d,valueGetter:h=>h?"true":"false"});case"Date":return me.createElement($r,{...d,valueGetter:h=>h.toISOString()});case"Null":return me.createElement($r,{...d,valueGetter:()=>"null"});case"Undefined":return me.createElement($r,{...d,valueGetter:()=>"undefined"});case"Function":case"Symbol":return me.createElement($r,{...d,valueGetter:h=>h.toString()});case"Custom":return me.createElement($r,{...d});default:return me.createElement($r,{...d,valueGetter:()=>`<${p}>`})}}const PM={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},RM=r=>({BACKGROUND_COLOR:r.base00,TEXT_COLOR:r.base07,STRING_COLOR:r.base0B,DATE_COLOR:r.base0B,NUMBER_COLOR:r.base09,BOOLEAN_COLOR:r.base09,NULL_COLOR:r.base08,UNDEFINED_COLOR:r.base08,FUNCTION_COLOR:r.base08,SYMBOL_COLOR:r.base08,LABEL_COLOR:r.base0D,ARROW_COLOR:r.base0D,ITEM_STRING_COLOR:r.base0B,ITEM_STRING_EXPANDED_COLOR:r.base03}),xM=r=>({String:r.STRING_COLOR,Date:r.DATE_COLOR,Number:r.NUMBER_COLOR,Boolean:r.BOOLEAN_COLOR,Null:r.NULL_COLOR,Undefined:r.UNDEFINED_COLOR,Function:r.FUNCTION_COLOR,Symbol:r.SYMBOL_COLOR}),BM=r=>{const a=RM(r);return{tree:{border:0,padding:0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"0.125em",marginRight:0,listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none",backgroundColor:a.BACKGROUND_COLOR},value:({style:i},u,c)=>({style:{...i,paddingTop:"0.25em",paddingRight:0,marginLeft:"0.875em",WebkitUserSelect:"text",MozUserSelect:"text",wordWrap:"break-word",paddingLeft:c.length>1?"2.125em":"1.25em",textIndent:"-0.5em",wordBreak:"break-all"}}),label:{display:"inline-block",color:a.LABEL_COLOR},valueLabel:{margin:"0 0.5em 0 0"},valueText:({style:i},u)=>({style:{...i,color:xM(a)[u]}}),itemRange:(i,u)=>({style:{paddingTop:u?0:"0.25em",cursor:"pointer",color:a.LABEL_COLOR}}),arrow:({style:i},u,c)=>({style:{...i,marginLeft:0,transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:c?"rotateZ(90deg)":"rotateZ(0deg)",MozTransform:c?"rotateZ(90deg)":"rotateZ(0deg)",transform:c?"rotateZ(90deg)":"rotateZ(0deg)",transformOrigin:"45% 50%",WebkitTransformOrigin:"45% 50%",MozTransformOrigin:"45% 50%",position:"relative",lineHeight:"1.1em",fontSize:"0.75em"}}),arrowContainer:({style:i},u)=>({style:{...i,display:"inline-block",paddingRight:"0.5em",paddingLeft:u==="double"?"1em":0,cursor:"pointer"}}),arrowSign:{color:a.ARROW_COLOR},arrowSignInner:{position:"absolute",top:0,left:"-0.4em"},nestedNode:({style:i},u,c,f,l)=>({style:{...i,position:"relative",paddingTop:"0.25em",marginLeft:u.length>1?"0.875em":0,paddingLeft:l?0:"1.125em"}}),rootNode:{padding:0,margin:0},nestedNodeLabel:({style:i},u,c,f,l)=>({style:{...i,margin:0,padding:0,WebkitUserSelect:l?"inherit":"text",MozUserSelect:l?"inherit":"text",cursor:l?"pointer":"default"}}),nestedNodeItemString:({style:i},u,c,f)=>({style:{...i,paddingLeft:"0.5em",cursor:"default",color:f?a.ITEM_STRING_EXPANDED_COLOR:a.ITEM_STRING_COLOR}}),nestedNodeItemType:{marginLeft:"0.3em",marginRight:"0.3em"},nestedNodeChildren:({style:i},u,c)=>({style:{...i,padding:0,margin:0,listStyle:"none",display:c?"block":"none"}}),rootNodeChildren:{padding:0,margin:0,listStyle:"none"}}},LM=vM(BM,{defaultBase16:PM}),Y1=r=>r,FM=(r,a,i)=>i===0,NM=(r,a,i,u)=>me.createElement("span",null,i," ",u),zM=([r])=>me.createElement("span",null,r,":"),HM=()=>!1;function jM({data:r,theme:a,invertTheme:i,keyPath:u=["root"],labelRenderer:c=zM,valueRenderer:f=Y1,shouldExpandNodeInitially:l=FM,hideRoot:m=!1,getItemString:p=NM,postprocessValue:d=Y1,isCustomNode:b=HM,collectionLimit:h=50,sortObjectKeys:g=!1}){const S=re.useMemo(()=>LM(i?mM(a):a),[a,i]);return me.createElement("ul",{...S("tree")},me.createElement(S5,{keyPath:m?[]:u,value:d(r),isCustomNode:b,styling:S,labelRenderer:c,valueRenderer:f,shouldExpandNodeInitially:l,hideRoot:m,getItemString:p,postprocessValue:d,collectionLimit:h,sortObjectKeys:g}))}const IM=({payload:r})=>typeof r=="string"?Y.jsx("pre",{className:"rz-detail-pre rz-detail-mono",children:r}):typeof r=="number"||typeof r=="boolean"||r==null?Y.jsx("pre",{className:"rz-detail-pre rz-detail-mono",children:String(r)}):Q_(r)?Y.jsx("div",{className:"rz-detail-json-tree",children:Y.jsx(jM,{data:r,theme:K_,invertTheme:!1,shouldExpandNodeInitially:a=>a.length<=2})}):Y.jsx("pre",{className:"rz-detail-pre rz-detail-mono",children:String(r)}),e0=({className:r,isDragging:a,isHidden:i=!1,orientation:u,label:c,onPointerDown:f})=>Y.jsx("div",{className:O0(r),"data-dragging":a,"data-hidden":i,"aria-hidden":i,onPointerDown:f,role:"separator","aria-orientation":u,"aria-label":c}),qM=({selectedMessage:r,isOpen:a,isNarrowViewport:i,activeResizeHandle:u,onClose:c,onUseMessage:f,onResizeStart:l})=>{const m=!a||!r;return Y.jsxs(Y.Fragment,{children:[Y.jsx(e0,{className:"rz-column-resize-handle",isDragging:u==="details-width",isHidden:m,orientation:i?"horizontal":"vertical",label:"Resize message details",onPointerDown:l}),Y.jsx("div",{className:"rz-pane","data-hidden":m,"aria-hidden":m,children:Y.jsxs("div",{className:"rz-sidebar",children:[Y.jsxs("div",{className:"rz-sidebar-header",children:[Y.jsx("div",{className:"rz-sidebar-title",children:"Message Details"}),Y.jsxs("div",{className:"rz-header-actions",children:[Y.jsx(Ga,{type:"button","aria-label":"Use message in dispatcher",title:"Use message in dispatcher",onClick:()=>{r&&f(r)},children:Y.jsx(VS,{})}),Y.jsx(Ga,{type:"button","aria-label":"Close message details",onClick:c,children:"×"})]})]}),Y.jsx(Ps,{className:"rz-sidebar-scroll",children:r?Y.jsxs("div",{className:"rz-message-detail",children:[Y.jsxs("div",{className:"rz-detail-section",children:[Y.jsx("div",{className:"rz-label",children:"Date"}),Y.jsx("div",{className:"rz-detail-value rz-detail-mono",children:J_(r.date)})]}),Y.jsxs("div",{className:"rz-detail-section",children:[Y.jsx("div",{className:"rz-label",children:"Type"}),Y.jsx("div",{className:"rz-detail-value rz-detail-mono",children:r.type})]}),Y.jsxs("div",{className:"rz-detail-section",children:[Y.jsx("div",{className:"rz-label",children:"Payload"}),Y.jsx("div",{className:"rz-detail-payload",children:Y.jsx(IM,{payload:r.payload})})]})]}):Y.jsx("div",{className:"rz-empty-state",children:"Select a message to inspect its details."})})]})})]})},UM=r=>({commandType:r.type,commandPayload:E0(r.payload)}),WM=({messages:r,selectedMessageId:a,onSelectMessage:i,onClearMessages:u})=>Y.jsx("div",{className:"rz-pane",children:Y.jsxs("div",{className:"rz-log-pane",children:[Y.jsxs("div",{className:"rz-sidebar-header",children:[Y.jsx("div",{className:"rz-sidebar-title",children:"Message Log"}),Y.jsx("div",{className:"rz-header-actions",children:Y.jsx(Ga,{type:"button",onClick:u,disabled:r.length===0,"aria-label":"Clear message log",title:"Clear message log",children:Y.jsx(YS,{})})})]}),Y.jsx(Ps,{className:"rz-sidebar-scroll",children:Y.jsxs("div",{className:"rz-message-list",children:[Y.jsxs("div",{className:"rz-message-list-header",children:[Y.jsx("div",{className:"rz-message-header-cell",children:"Dir"}),Y.jsx("div",{className:"rz-message-header-cell",children:"Date"}),Y.jsx("div",{className:"rz-message-header-cell",children:"Type"}),Y.jsx("div",{className:"rz-message-header-cell",children:"Payload"})]}),r.map(c=>Y.jsxs("button",{type:"button",className:"rz-message-row","data-selected":c.id===a,onClick:()=>i(c.id),children:[Y.jsx("div",{className:O0("rz-message-cell rz-message-direction",c.direction==="in"?"rz-message-dir-in":"rz-message-dir-out"),"aria-label":c.direction==="in"?"Sent message":"Received message",title:c.direction==="in"?"Sent message":"Received message",children:Y.jsx("span",{className:"rz-message-arrow","aria-hidden":"true",children:c.direction==="in"?"↑":"↓"})}),Y.jsx("div",{className:"rz-message-cell rz-message-date",children:eT(c.date)}),Y.jsx("div",{className:"rz-message-cell rz-message-type",children:c.type}),Y.jsx("pre",{className:"rz-message-cell rz-message-preview",children:$_(c.payload)})]},c.id))]})})]})}),GM=({panels:r,activeSource:a,onValueChange:i})=>Y.jsx(X2,{"aria-label":"Plugin panels",value:a,onChange:i,options:r.map(u=>({key:u.source,label:u.label}))}),YM=()=>window.matchMedia("(max-width: 960px)").matches,VM=({packageName:r,packageDescription:a,panels:i,flows:u,presets:c})=>{const[f,l]=re.useState(()=>rT(i)),[m,p]=re.useState(""),[d,b]=re.useState(""),[h,g]=re.useState([]),[S,y]=re.useState(null),[D,O]=re.useState(!1),[A,C]=re.useState(W_),[k,T]=re.useState(V_),[_,L]=re.useState(Y_),[R,F]=re.useState(null),[Z,ee]=re.useState(YM),[G,ne]=re.useState(0),K=re.useRef(null),se=re.useRef(null),pe=re.useRef(null),j=re.useRef(null),te=re.useRef(null),oe=re.useRef(0),{flowRuns:z,runFlow:W,stopFlow:P,hasRunningFlow:x,registerMessage:w,resetMessages:X}=X_({sendMessage:(he,be)=>{te.current?.contentWindow?.postMessage({pluginId:r,type:he,payload:be},"*"),De({direction:"in",type:he,payload:be})}}),ae=f?.source??"",le=f?.label??"",ie=i.length===0,ce=h.find(he=>he.id===S)??null,ue=m.trim(),Me=d.trim(),Ce=ue.length>0,He=(()=>{if(!Me)return!1;try{return JSON.parse(d),!0}catch{return!1}})(),de=Ce&&He,Se=a.trim();re.useEffect(()=>{document.title=`${r} Dev Host`},[r]),re.useEffect(()=>{G!==0&&oe.current!==G&&(oe.current=G,u.forEach(he=>{he.autoRun&&W(he,{autoRun:!0})}))},[u,G,W]),re.useEffect(()=>{const he=window.matchMedia("(max-width: 960px)"),be=_e=>{ee(_e.matches)};return ee(he.matches),he.addEventListener("change",be),()=>{he.removeEventListener("change",be)}},[]);const Ae=he=>{const be=i.find(bt=>bt.source===he);if(!be)return;l(be);const _e=new URL(window.location.href);_e.searchParams.set("panel",be.label),window.history.replaceState(null,"",_e)},De=he=>{const be=nT(he);w(be),g(_e=>[be,..._e]),y(be.id),O(!0)};re.useEffect(()=>{const he=_e=>{j.current?.onMove(_e)},be=()=>{const _e=j.current;_e&&(_e.element.hasPointerCapture(_e.pointerId)&&_e.element.releasePointerCapture(_e.pointerId),j.current=null,F(null))};return window.addEventListener("pointermove",he),window.addEventListener("pointerup",be),window.addEventListener("pointercancel",be),()=>{window.removeEventListener("pointermove",he),window.removeEventListener("pointerup",be),window.removeEventListener("pointercancel",be)}},[]);const Pe=(he,be,_e)=>{be.preventDefault(),be.currentTarget.setPointerCapture(be.pointerId),j.current={handleId:he,pointerId:be.pointerId,element:be.currentTarget,onMove:_e},F(he)};re.useEffect(()=>{const he=be=>{if(be.source!==te.current?.contentWindow||typeof be.data!="object"||be.data===null||!("type"in be.data)||be.data.type!=="rozenite-message"||!("payload"in be.data))return;const _e=be.data.payload;tT(_e)&&De({direction:"out",type:_e.type,payload:_e.payload})};return window.addEventListener("message",he),()=>{window.removeEventListener("message",he)}},[]);const Ue=()=>{p(""),b("")},je=he=>{p(he.type),b(E0(he.payload))},gt=()=>{X(),g([]),y(null),O(!1)},Jt=he=>{const be=K.current;if(!be)return;const _e=be.getBoundingClientRect(),bt=_e.bottom-he.clientY,Mr=Math.max(Lb,_e.height-G_-12);C(ff(bt,Lb,Mr))},Dt=he=>{const be=pe.current;if(!be)return;const _e=be.getBoundingClientRect(),bt=Z?_e.bottom-he.clientY:_e.right-he.clientX,Mr=Math.max(Nb,_e.width-280);T(ff(bt,Nb,Mr))},er=he=>{const be=se.current;if(!be||!D||!ce)return;const _e=be.getBoundingClientRect(),bt=Z?_e.bottom-he.clientY:_e.right-he.clientX,Mr=Math.max(Fb,_e.width-280-df);L(ff(bt,Fb,Mr))},rt=he=>{if(he.preventDefault(),!de)return;const be=ue;let _e;try{_e=JSON.parse(d)}catch(bt){window.alert(bt instanceof Error?`Payload must be valid JSON. ${bt.message}`:"Payload must be valid JSON.");return}te.current?.contentWindow?.postMessage({pluginId:r,type:be,payload:_e},"*"),De({direction:"in",type:be,payload:_e}),Ue()};return Y.jsxs("div",{className:"rz-shell",children:[Y.jsxs("header",{className:"rz-topbar",children:[Y.jsx("div",{className:"rz-topbar-brand","aria-label":"Rozenite",children:Y.jsx(oT,{})}),Y.jsx("div",{className:"rz-topbar-panel-picker",title:Se||void 0,children:Y.jsx(GM,{panels:i,activeSource:ae,onValueChange:Ae})})]}),Y.jsxs("main",{ref:K,className:"rz-workspace",style:{"--rz-devtools-height":`${A}px`},children:[Y.jsx("section",{className:"rz-card",children:ie?Y.jsx("div",{className:"rz-empty-state",children:"No panels were defined in rozenite.config.ts."}):Y.jsx("iframe",{ref:te,title:le||"Rozenite panel preview",src:ae,className:"rz-iframe","data-resizing":R==="devtools-height",onLoad:()=>ne(he=>he+1)},ae)}),Y.jsx(e0,{className:"rz-resize-handle",isDragging:R==="devtools-height",orientation:"horizontal",label:"Resize DevTools",onPointerDown:he=>Pe("devtools-height",he,Jt)}),Y.jsxs("section",{ref:pe,className:"rz-devtools",style:{"--rz-command-width":`${k}px`,"--rz-command-splitter-width":`${df}px`},children:[Y.jsxs("div",{ref:se,className:"rz-log-workspace",style:{"--rz-details-width":D&&ce?`${_}px`:"0px","--rz-details-splitter-width":D&&ce?`${df}px`:"0px"},children:[Y.jsx(WM,{messages:h,selectedMessageId:S,onSelectMessage:he=>{y(he),O(!0)},onClearMessages:gt}),Y.jsx(qM,{selectedMessage:ce,isOpen:D,isNarrowViewport:Z,activeResizeHandle:R,onClose:()=>O(!1),onUseMessage:he=>{const be=UM(he);p(be.commandType),b(be.commandPayload)},onResizeStart:he=>Pe("details-width",he,er)})]}),Y.jsx(e0,{className:"rz-column-resize-handle",isDragging:R==="command-width",orientation:Z?"horizontal":"vertical",label:"Resize command dispatcher",onPointerDown:he=>Pe("command-width",he,Dt)}),Y.jsx(v3,{commandType:m,commandPayload:d,flows:u,flowRuns:z,hasRunningFlow:x,presets:c,canDispatch:de,onRunFlow:W,onStopFlow:P,onCommandTypeChange:p,onCommandPayloadChange:b,onApplyPreset:je,onReset:Ue,onSubmit:rt})]})]})]})},D5=(r,a)=>typeof r=="string"&&r.trim()?r.trim():a,O5=()=>{const r=window[U_];return typeof r!="object"||r===null?{}:r},KM=r=>typeof r=="object"&&r!==null&&(!("name"in r)||typeof r.name=="string")&&"type"in r&&typeof r.type=="string"&&"payload"in r,ZM=r=>typeof r=="object"&&r!==null&&(!("name"in r)||typeof r.name=="string")&&(!("autoRun"in r)||typeof r.autoRun=="boolean")&&"run"in r&&typeof r.run=="function",XM=r=>{if(!KM(r))return null;const a=D5(r.name,"Untitled preset");return{name:a,displayName:a,type:r.type,payload:r.payload}},$M=r=>{if(!ZM(r))return null;const a=D5(r.name,"Untitled flow");return{name:a,displayName:a,autoRun:r.autoRun??!1,run:r.run}},QM=()=>{const r=O5().presets;return Array.isArray(r)?r.flatMap(a=>{const i=XM(a);return i?[i]:[]}):[]},JM=()=>{const r=O5().flows;return Array.isArray(r)?r.flatMap(a=>{const i=$M(a);return i?[i]:[]}):[]},e4=new I_,E5=document.getElementById("root");if(!E5)throw new Error("Rozenite dev host failed to initialize.");const t4=aT(),r4=JM(),n4=QM();ZO.createRoot(E5).render(Y.jsx(re.StrictMode,{children:Y.jsx(uS,{value:e4,children:Y.jsx(Tr.BaseProvider,{theme:Tr.DarkTheme,children:Y.jsx(VM,{...t4,flows:r4,presets:n4})})})}))});export default a4();