@kombai/cli 0.2.2 → 0.2.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var l4=Object.create;var rp=Object.defineProperty;var u4=Object.getOwnPropertyDescriptor;var c4=Object.getOwnPropertyNames;var d4=Object.getPrototypeOf,f4=Object.prototype.hasOwnProperty;var p4=(e,t,r)=>t in e?rp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var qr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),e2=(e,t)=>{for(var r in t)rp(e,r,{get:t[r],enumerable:!0})},m4=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of c4(t))!f4.call(e,o)&&o!==r&&rp(e,o,{get:()=>t[o],enumerable:!(a=u4(t,o))||a.enumerable});return e};var R=(e,t,r)=>(r=e!=null?l4(d4(e)):{},m4(t||!e||!e.__esModule?rp(r,"default",{value:e,enumerable:!0}):r,e));var t2=(e,t,r)=>p4(e,typeof t!="symbol"?t+"":t,r);var f2=qr(pe=>{"use strict";var c0=Symbol.for("react.transitional.element"),g4=Symbol.for("react.portal"),v4=Symbol.for("react.fragment"),h4=Symbol.for("react.strict_mode"),b4=Symbol.for("react.profiler"),y4=Symbol.for("react.consumer"),x4=Symbol.for("react.context"),S4=Symbol.for("react.forward_ref"),C4=Symbol.for("react.suspense"),L4=Symbol.for("react.memo"),i2=Symbol.for("react.lazy"),I4=Symbol.for("react.activity"),r2=Symbol.iterator;function E4(e){return e===null||typeof e!="object"?null:(e=r2&&e[r2]||e["@@iterator"],typeof e=="function"?e:null)}var s2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},l2=Object.assign,u2={};function ul(e,t,r){this.props=e,this.context=t,this.refs=u2,this.updater=r||s2}ul.prototype.isReactComponent={};ul.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ul.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function c2(){}c2.prototype=ul.prototype;function d0(e,t,r){this.props=e,this.context=t,this.refs=u2,this.updater=r||s2}var f0=d0.prototype=new c2;f0.constructor=d0;l2(f0,ul.prototype);f0.isPureReactComponent=!0;var a2=Array.isArray;function u0(){}var ft={H:null,A:null,T:null,S:null},d2=Object.prototype.hasOwnProperty;function p0(e,t,r){var a=r.ref;return{$$typeof:c0,type:e,key:t,ref:a!==void 0?a:null,props:r}}function _4(e,t){return p0(e.type,t,e.props)}function m0(e){return typeof e=="object"&&e!==null&&e.$$typeof===c0}function R4(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var o2=/\/+/g;function l0(e,t){return typeof e=="object"&&e!==null&&e.key!=null?R4(""+e.key):t.toString(36)}function w4(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(u0,u0):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function ll(e,t,r,a,o){var n=typeof e;(n==="undefined"||n==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(n){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case c0:case g4:i=!0;break;case i2:return i=e._init,ll(i(e._payload),t,r,a,o)}}if(i)return o=o(e),i=a===""?"."+l0(e,0):a,a2(o)?(r="",i!=null&&(r=i.replace(o2,"$&/")+"/"),ll(o,t,r,"",function(u){return u})):o!=null&&(m0(o)&&(o=_4(o,r+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(o2,"$&/")+"/")+i)),t.push(o)),1;i=0;var s=a===""?".":a+":";if(a2(e))for(var l=0;l<e.length;l++)a=e[l],n=s+l0(a,l),i+=ll(a,t,r,n,o);else if(l=E4(e),typeof l=="function")for(e=l.call(e),l=0;!(a=e.next()).done;)a=a.value,n=s+l0(a,l++),i+=ll(a,t,r,n,o);else if(n==="object"){if(typeof e.then=="function")return ll(w4(e),t,r,a,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function ap(e,t,r){if(e==null)return e;var a=[],o=0;return ll(e,a,"","",function(n){return t.call(r,n,o++)}),a}function T4(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var n2=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)},k4={map:ap,forEach:function(e,t,r){ap(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ap(e,function(){t++}),t},toArray:function(e){return ap(e,function(t){return t})||[]},only:function(e){if(!m0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};pe.Activity=I4;pe.Children=k4;pe.Component=ul;pe.Fragment=v4;pe.Profiler=b4;pe.PureComponent=d0;pe.StrictMode=h4;pe.Suspense=C4;pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ft;pe.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ft.H.useMemoCache(e)}};pe.cache=function(e){return function(){return e.apply(null,arguments)}};pe.cacheSignal=function(){return null};pe.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var a=l2({},e.props),o=e.key;if(t!=null)for(n in t.key!==void 0&&(o=""+t.key),t)!d2.call(t,n)||n==="key"||n==="__self"||n==="__source"||n==="ref"&&t.ref===void 0||(a[n]=t[n]);var n=arguments.length-2;if(n===1)a.children=r;else if(1<n){for(var i=Array(n),s=0;s<n;s++)i[s]=arguments[s+2];a.children=i}return p0(e.type,o,a)};pe.createContext=function(e){return e={$$typeof:x4,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:y4,_context:e},e};pe.createElement=function(e,t,r){var a,o={},n=null;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)d2.call(t,a)&&a!=="key"&&a!=="__self"&&a!=="__source"&&(o[a]=t[a]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(a in i=e.defaultProps,i)o[a]===void 0&&(o[a]=i[a]);return p0(e,n,o)};pe.createRef=function(){return{current:null}};pe.forwardRef=function(e){return{$$typeof:S4,render:e}};pe.isValidElement=m0;pe.lazy=function(e){return{$$typeof:i2,_payload:{_status:-1,_result:e},_init:T4}};pe.memo=function(e,t){return{$$typeof:L4,type:e,compare:t===void 0?null:t}};pe.startTransition=function(e){var t=ft.T,r={};ft.T=r;try{var a=e(),o=ft.S;o!==null&&o(r,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(u0,n2)}catch(n){n2(n)}finally{t!==null&&r.types!==null&&(t.types=r.types),ft.T=t}};pe.unstable_useCacheRefresh=function(){return ft.H.useCacheRefresh()};pe.use=function(e){return ft.H.use(e)};pe.useActionState=function(e,t,r){return ft.H.useActionState(e,t,r)};pe.useCallback=function(e,t){return ft.H.useCallback(e,t)};pe.useContext=function(e){return ft.H.useContext(e)};pe.useDebugValue=function(){};pe.useDeferredValue=function(e,t){return ft.H.useDeferredValue(e,t)};pe.useEffect=function(e,t){return ft.H.useEffect(e,t)};pe.useEffectEvent=function(e){return ft.H.useEffectEvent(e)};pe.useId=function(){return ft.H.useId()};pe.useImperativeHandle=function(e,t,r){return ft.H.useImperativeHandle(e,t,r)};pe.useInsertionEffect=function(e,t){return ft.H.useInsertionEffect(e,t)};pe.useLayoutEffect=function(e,t){return ft.H.useLayoutEffect(e,t)};pe.useMemo=function(e,t){return ft.H.useMemo(e,t)};pe.useOptimistic=function(e,t){return ft.H.useOptimistic(e,t)};pe.useReducer=function(e,t,r){return ft.H.useReducer(e,t,r)};pe.useRef=function(e){return ft.H.useRef(e)};pe.useState=function(e){return ft.H.useState(e)};pe.useSyncExternalStore=function(e,t,r){return ft.H.useSyncExternalStore(e,t,r)};pe.useTransition=function(){return ft.H.useTransition()};pe.version="19.2.8"});var O=qr((y$,p2)=>{"use strict";p2.exports=f2()});var L2=qr(It=>{"use strict";function b0(e,t){var r=e.length;e.push(t);e:for(;0<r;){var a=r-1>>>1,o=e[a];if(0<op(o,t))e[a]=t,e[r]=o,r=a;else break e}}function Mo(e){return e.length===0?null:e[0]}function ip(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var a=0,o=e.length,n=o>>>1;a<n;){var i=2*(a+1)-1,s=e[i],l=i+1,u=e[l];if(0>op(s,r))l<o&&0>op(u,s)?(e[a]=u,e[l]=r,a=l):(e[a]=s,e[i]=r,a=i);else if(l<o&&0>op(u,r))e[a]=u,e[l]=r,a=l;else break e}}return t}function op(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}It.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(m2=performance,It.unstable_now=function(){return m2.now()}):(g0=Date,g2=g0.now(),It.unstable_now=function(){return g0.now()-g2});var m2,g0,g2,Zo=[],Gn=[],A4=1,Ma=null,Fr=3,y0=!1,hc=!1,bc=!1,x0=!1,b2=typeof setTimeout=="function"?setTimeout:null,y2=typeof clearTimeout=="function"?clearTimeout:null,v2=typeof setImmediate<"u"?setImmediate:null;function np(e){for(var t=Mo(Gn);t!==null;){if(t.callback===null)ip(Gn);else if(t.startTime<=e)ip(Gn),t.sortIndex=t.expirationTime,b0(Zo,t);else break;t=Mo(Gn)}}function S0(e){if(bc=!1,np(e),!hc)if(Mo(Zo)!==null)hc=!0,dl||(dl=!0,cl());else{var t=Mo(Gn);t!==null&&C0(S0,t.startTime-e)}}var dl=!1,yc=-1,x2=5,S2=-1;function C2(){return x0?!0:!(It.unstable_now()-S2<x2)}function v0(){if(x0=!1,dl){var e=It.unstable_now();S2=e;var t=!0;try{e:{hc=!1,bc&&(bc=!1,y2(yc),yc=-1),y0=!0;var r=Fr;try{t:{for(np(e),Ma=Mo(Zo);Ma!==null&&!(Ma.expirationTime>e&&C2());){var a=Ma.callback;if(typeof a=="function"){Ma.callback=null,Fr=Ma.priorityLevel;var o=a(Ma.expirationTime<=e);if(e=It.unstable_now(),typeof o=="function"){Ma.callback=o,np(e),t=!0;break t}Ma===Mo(Zo)&&ip(Zo),np(e)}else ip(Zo);Ma=Mo(Zo)}if(Ma!==null)t=!0;else{var n=Mo(Gn);n!==null&&C0(S0,n.startTime-e),t=!1}}break e}finally{Ma=null,Fr=r,y0=!1}t=void 0}}finally{t?cl():dl=!1}}}var cl;typeof v2=="function"?cl=function(){v2(v0)}:typeof MessageChannel<"u"?(h0=new MessageChannel,h2=h0.port2,h0.port1.onmessage=v0,cl=function(){h2.postMessage(null)}):cl=function(){b2(v0,0)};var h0,h2;function C0(e,t){yc=b2(function(){e(It.unstable_now())},t)}It.unstable_IdlePriority=5;It.unstable_ImmediatePriority=1;It.unstable_LowPriority=4;It.unstable_NormalPriority=3;It.unstable_Profiling=null;It.unstable_UserBlockingPriority=2;It.unstable_cancelCallback=function(e){e.callback=null};It.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x2=0<e?Math.floor(1e3/e):5};It.unstable_getCurrentPriorityLevel=function(){return Fr};It.unstable_next=function(e){switch(Fr){case 1:case 2:case 3:var t=3;break;default:t=Fr}var r=Fr;Fr=t;try{return e()}finally{Fr=r}};It.unstable_requestPaint=function(){x0=!0};It.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=Fr;Fr=e;try{return t()}finally{Fr=r}};It.unstable_scheduleCallback=function(e,t,r){var a=It.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?a+r:a):r=a,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:A4++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>a?(e.sortIndex=r,b0(Gn,e),Mo(Zo)===null&&e===Mo(Gn)&&(bc?(y2(yc),yc=-1):bc=!0,C0(S0,r-a))):(e.sortIndex=o,b0(Zo,e),hc||y0||(hc=!0,dl||(dl=!0,cl()))),e};It.unstable_shouldYield=C2;It.unstable_wrapCallback=function(e){var t=Fr;return function(){var r=Fr;Fr=t;try{return e.apply(this,arguments)}finally{Fr=r}}}});var E2=qr((S$,I2)=>{"use strict";I2.exports=L2()});var R2=qr(Gr=>{"use strict";var O4=O();function _2(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}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 jn(){}var $r={d:{f:jn,r:function(){throw Error(_2(522))},D:jn,C:jn,L:jn,m:jn,X:jn,S:jn,M:jn},p:0,findDOMNode:null},B4=Symbol.for("react.portal");function M4(e,t,r){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:B4,key:a==null?null:""+a,children:e,containerInfo:t,implementation:r}}var xc=O4.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function sp(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Gr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$r;Gr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(_2(299));return M4(e,t,null,r)};Gr.flushSync=function(e){var t=xc.T,r=$r.p;try{if(xc.T=null,$r.p=2,e)return e()}finally{xc.T=t,$r.p=r,$r.d.f()}};Gr.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,$r.d.C(e,t))};Gr.prefetchDNS=function(e){typeof e=="string"&&$r.d.D(e)};Gr.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,a=sp(r,t.crossOrigin),o=typeof t.integrity=="string"?t.integrity:void 0,n=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?$r.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:a,integrity:o,fetchPriority:n}):r==="script"&&$r.d.X(e,{crossOrigin:a,integrity:o,fetchPriority:n,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Gr.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=sp(t.as,t.crossOrigin);$r.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&$r.d.M(e)};Gr.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,a=sp(r,t.crossOrigin);$r.d.L(e,r,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Gr.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=sp(t.as,t.crossOrigin);$r.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else $r.d.m(e)};Gr.requestFormReset=function(e){$r.d.r(e)};Gr.unstable_batchedUpdates=function(e,t){return e(t)};Gr.useFormState=function(e,t,r){return xc.H.useFormState(e,t,r)};Gr.useFormStatus=function(){return xc.H.useHostTransitionStatus()};Gr.version="19.2.8"});var fl=qr((L$,T2)=>{"use strict";function w2(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(w2)}catch(e){console.error(e)}}w2(),T2.exports=R2()});var z_=qr(Om=>{"use strict";var tr=E2(),tI=O(),F4=fl();function D(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}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 rI(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function id(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function aI(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 oI(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 k2(e){if(id(e)!==e)throw Error(D(188))}function P4(e){var t=e.alternate;if(!t){if(t=id(e),t===null)throw Error(D(188));return t!==e?null:e}for(var r=e,a=t;;){var o=r.return;if(o===null)break;var n=o.alternate;if(n===null){if(a=o.return,a!==null){r=a;continue}break}if(o.child===n.child){for(n=o.child;n;){if(n===r)return k2(o),e;if(n===a)return k2(o),t;n=n.sibling}throw Error(D(188))}if(r.return!==a.return)r=o,a=n;else{for(var i=!1,s=o.child;s;){if(s===r){i=!0,r=o,a=n;break}if(s===a){i=!0,a=o,r=n;break}s=s.sibling}if(!i){for(s=n.child;s;){if(s===r){i=!0,r=n,a=o;break}if(s===a){i=!0,a=n,r=o;break}s=s.sibling}if(!i)throw Error(D(189))}}if(r.alternate!==a)throw Error(D(190))}if(r.tag!==3)throw Error(D(188));return r.stateNode.current===r?e:t}function nI(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=nI(e),t!==null)return t;e=e.sibling}return null}var gt=Object.assign,D4=Symbol.for("react.element"),lp=Symbol.for("react.transitional.element"),wc=Symbol.for("react.portal"),bl=Symbol.for("react.fragment"),iI=Symbol.for("react.strict_mode"),rb=Symbol.for("react.profiler"),sI=Symbol.for("react.consumer"),sn=Symbol.for("react.context"),Qb=Symbol.for("react.forward_ref"),ab=Symbol.for("react.suspense"),ob=Symbol.for("react.suspense_list"),Zb=Symbol.for("react.memo"),Wn=Symbol.for("react.lazy");Symbol.for("react.scope");var nb=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var N4=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var A2=Symbol.iterator;function Sc(e){return e===null||typeof e!="object"?null:(e=A2&&e[A2]||e["@@iterator"],typeof e=="function"?e:null)}var H4=Symbol.for("react.client.reference");function ib(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===H4?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case bl:return"Fragment";case rb:return"Profiler";case iI:return"StrictMode";case ab:return"Suspense";case ob:return"SuspenseList";case nb:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case wc:return"Portal";case sn:return e.displayName||"Context";case sI:return(e._context.displayName||"Context")+".Consumer";case Qb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zb:return t=e.displayName||null,t!==null?t:ib(e.type)||"Memo";case Wn:t=e._payload,e=e._init;try{return ib(e(t))}catch{}}return null}var Tc=Array.isArray,se=tI.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,We=F4.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,as={pending:!1,data:null,method:null,action:null},sb=[],yl=-1;function Ho(e){return{current:e}}function dr(e){0>yl||(e.current=sb[yl],sb[yl]=null,yl--)}function ut(e,t){yl++,sb[yl]=e.current,e.current=t}var No=Ho(null),jc=Ho(null),oi=Ho(null),zp=Ho(null);function Vp(e,t){switch(ut(oi,t),ut(jc,e),ut(No,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?NL(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=NL(t),e=R_(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}dr(No),ut(No,e)}function Dl(){dr(No),dr(jc),dr(oi)}function lb(e){e.memoizedState!==null&&ut(zp,e);var t=No.current,r=R_(t,e.type);t!==r&&(ut(jc,e),ut(No,r))}function qp(e){jc.current===e&&(dr(No),dr(jc)),zp.current===e&&(dr(zp),ad._currentValue=as)}var L0,O2;function Ji(e){if(L0===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);L0=t&&t[1]||"",O2=-1<r.stack.indexOf(`
1
+ "use strict";(()=>{var l4=Object.create;var rp=Object.defineProperty;var u4=Object.getOwnPropertyDescriptor;var c4=Object.getOwnPropertyNames;var d4=Object.getPrototypeOf,f4=Object.prototype.hasOwnProperty;var p4=(e,t,r)=>t in e?rp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var qr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),e2=(e,t)=>{for(var r in t)rp(e,r,{get:t[r],enumerable:!0})},m4=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of c4(t))!f4.call(e,o)&&o!==r&&rp(e,o,{get:()=>t[o],enumerable:!(a=u4(t,o))||a.enumerable});return e};var R=(e,t,r)=>(r=e!=null?l4(d4(e)):{},m4(t||!e||!e.__esModule?rp(r,"default",{value:e,enumerable:!0}):r,e));var t2=(e,t,r)=>p4(e,typeof t!="symbol"?t+"":t,r);var f2=qr(pe=>{"use strict";var c0=Symbol.for("react.transitional.element"),g4=Symbol.for("react.portal"),v4=Symbol.for("react.fragment"),h4=Symbol.for("react.strict_mode"),b4=Symbol.for("react.profiler"),y4=Symbol.for("react.consumer"),x4=Symbol.for("react.context"),S4=Symbol.for("react.forward_ref"),C4=Symbol.for("react.suspense"),L4=Symbol.for("react.memo"),i2=Symbol.for("react.lazy"),I4=Symbol.for("react.activity"),r2=Symbol.iterator;function E4(e){return e===null||typeof e!="object"?null:(e=r2&&e[r2]||e["@@iterator"],typeof e=="function"?e:null)}var s2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},l2=Object.assign,u2={};function ul(e,t,r){this.props=e,this.context=t,this.refs=u2,this.updater=r||s2}ul.prototype.isReactComponent={};ul.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ul.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function c2(){}c2.prototype=ul.prototype;function d0(e,t,r){this.props=e,this.context=t,this.refs=u2,this.updater=r||s2}var f0=d0.prototype=new c2;f0.constructor=d0;l2(f0,ul.prototype);f0.isPureReactComponent=!0;var a2=Array.isArray;function u0(){}var ft={H:null,A:null,T:null,S:null},d2=Object.prototype.hasOwnProperty;function p0(e,t,r){var a=r.ref;return{$$typeof:c0,type:e,key:t,ref:a!==void 0?a:null,props:r}}function _4(e,t){return p0(e.type,t,e.props)}function m0(e){return typeof e=="object"&&e!==null&&e.$$typeof===c0}function R4(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var o2=/\/+/g;function l0(e,t){return typeof e=="object"&&e!==null&&e.key!=null?R4(""+e.key):t.toString(36)}function w4(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(u0,u0):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function ll(e,t,r,a,o){var n=typeof e;(n==="undefined"||n==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(n){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case c0:case g4:i=!0;break;case i2:return i=e._init,ll(i(e._payload),t,r,a,o)}}if(i)return o=o(e),i=a===""?"."+l0(e,0):a,a2(o)?(r="",i!=null&&(r=i.replace(o2,"$&/")+"/"),ll(o,t,r,"",function(u){return u})):o!=null&&(m0(o)&&(o=_4(o,r+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(o2,"$&/")+"/")+i)),t.push(o)),1;i=0;var s=a===""?".":a+":";if(a2(e))for(var l=0;l<e.length;l++)a=e[l],n=s+l0(a,l),i+=ll(a,t,r,n,o);else if(l=E4(e),typeof l=="function")for(e=l.call(e),l=0;!(a=e.next()).done;)a=a.value,n=s+l0(a,l++),i+=ll(a,t,r,n,o);else if(n==="object"){if(typeof e.then=="function")return ll(w4(e),t,r,a,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function ap(e,t,r){if(e==null)return e;var a=[],o=0;return ll(e,a,"","",function(n){return t.call(r,n,o++)}),a}function T4(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var n2=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)},k4={map:ap,forEach:function(e,t,r){ap(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ap(e,function(){t++}),t},toArray:function(e){return ap(e,function(t){return t})||[]},only:function(e){if(!m0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};pe.Activity=I4;pe.Children=k4;pe.Component=ul;pe.Fragment=v4;pe.Profiler=b4;pe.PureComponent=d0;pe.StrictMode=h4;pe.Suspense=C4;pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ft;pe.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ft.H.useMemoCache(e)}};pe.cache=function(e){return function(){return e.apply(null,arguments)}};pe.cacheSignal=function(){return null};pe.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var a=l2({},e.props),o=e.key;if(t!=null)for(n in t.key!==void 0&&(o=""+t.key),t)!d2.call(t,n)||n==="key"||n==="__self"||n==="__source"||n==="ref"&&t.ref===void 0||(a[n]=t[n]);var n=arguments.length-2;if(n===1)a.children=r;else if(1<n){for(var i=Array(n),s=0;s<n;s++)i[s]=arguments[s+2];a.children=i}return p0(e.type,o,a)};pe.createContext=function(e){return e={$$typeof:x4,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:y4,_context:e},e};pe.createElement=function(e,t,r){var a,o={},n=null;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)d2.call(t,a)&&a!=="key"&&a!=="__self"&&a!=="__source"&&(o[a]=t[a]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(a in i=e.defaultProps,i)o[a]===void 0&&(o[a]=i[a]);return p0(e,n,o)};pe.createRef=function(){return{current:null}};pe.forwardRef=function(e){return{$$typeof:S4,render:e}};pe.isValidElement=m0;pe.lazy=function(e){return{$$typeof:i2,_payload:{_status:-1,_result:e},_init:T4}};pe.memo=function(e,t){return{$$typeof:L4,type:e,compare:t===void 0?null:t}};pe.startTransition=function(e){var t=ft.T,r={};ft.T=r;try{var a=e(),o=ft.S;o!==null&&o(r,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(u0,n2)}catch(n){n2(n)}finally{t!==null&&r.types!==null&&(t.types=r.types),ft.T=t}};pe.unstable_useCacheRefresh=function(){return ft.H.useCacheRefresh()};pe.use=function(e){return ft.H.use(e)};pe.useActionState=function(e,t,r){return ft.H.useActionState(e,t,r)};pe.useCallback=function(e,t){return ft.H.useCallback(e,t)};pe.useContext=function(e){return ft.H.useContext(e)};pe.useDebugValue=function(){};pe.useDeferredValue=function(e,t){return ft.H.useDeferredValue(e,t)};pe.useEffect=function(e,t){return ft.H.useEffect(e,t)};pe.useEffectEvent=function(e){return ft.H.useEffectEvent(e)};pe.useId=function(){return ft.H.useId()};pe.useImperativeHandle=function(e,t,r){return ft.H.useImperativeHandle(e,t,r)};pe.useInsertionEffect=function(e,t){return ft.H.useInsertionEffect(e,t)};pe.useLayoutEffect=function(e,t){return ft.H.useLayoutEffect(e,t)};pe.useMemo=function(e,t){return ft.H.useMemo(e,t)};pe.useOptimistic=function(e,t){return ft.H.useOptimistic(e,t)};pe.useReducer=function(e,t,r){return ft.H.useReducer(e,t,r)};pe.useRef=function(e){return ft.H.useRef(e)};pe.useState=function(e){return ft.H.useState(e)};pe.useSyncExternalStore=function(e,t,r){return ft.H.useSyncExternalStore(e,t,r)};pe.useTransition=function(){return ft.H.useTransition()};pe.version="19.2.8"});var O=qr((x$,p2)=>{"use strict";p2.exports=f2()});var L2=qr(It=>{"use strict";function b0(e,t){var r=e.length;e.push(t);e:for(;0<r;){var a=r-1>>>1,o=e[a];if(0<op(o,t))e[a]=t,e[r]=o,r=a;else break e}}function Mo(e){return e.length===0?null:e[0]}function ip(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var a=0,o=e.length,n=o>>>1;a<n;){var i=2*(a+1)-1,s=e[i],l=i+1,u=e[l];if(0>op(s,r))l<o&&0>op(u,s)?(e[a]=u,e[l]=r,a=l):(e[a]=s,e[i]=r,a=i);else if(l<o&&0>op(u,r))e[a]=u,e[l]=r,a=l;else break e}}return t}function op(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}It.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(m2=performance,It.unstable_now=function(){return m2.now()}):(g0=Date,g2=g0.now(),It.unstable_now=function(){return g0.now()-g2});var m2,g0,g2,Zo=[],Gn=[],A4=1,Ma=null,Fr=3,y0=!1,hc=!1,bc=!1,x0=!1,b2=typeof setTimeout=="function"?setTimeout:null,y2=typeof clearTimeout=="function"?clearTimeout:null,v2=typeof setImmediate<"u"?setImmediate:null;function np(e){for(var t=Mo(Gn);t!==null;){if(t.callback===null)ip(Gn);else if(t.startTime<=e)ip(Gn),t.sortIndex=t.expirationTime,b0(Zo,t);else break;t=Mo(Gn)}}function S0(e){if(bc=!1,np(e),!hc)if(Mo(Zo)!==null)hc=!0,dl||(dl=!0,cl());else{var t=Mo(Gn);t!==null&&C0(S0,t.startTime-e)}}var dl=!1,yc=-1,x2=5,S2=-1;function C2(){return x0?!0:!(It.unstable_now()-S2<x2)}function v0(){if(x0=!1,dl){var e=It.unstable_now();S2=e;var t=!0;try{e:{hc=!1,bc&&(bc=!1,y2(yc),yc=-1),y0=!0;var r=Fr;try{t:{for(np(e),Ma=Mo(Zo);Ma!==null&&!(Ma.expirationTime>e&&C2());){var a=Ma.callback;if(typeof a=="function"){Ma.callback=null,Fr=Ma.priorityLevel;var o=a(Ma.expirationTime<=e);if(e=It.unstable_now(),typeof o=="function"){Ma.callback=o,np(e),t=!0;break t}Ma===Mo(Zo)&&ip(Zo),np(e)}else ip(Zo);Ma=Mo(Zo)}if(Ma!==null)t=!0;else{var n=Mo(Gn);n!==null&&C0(S0,n.startTime-e),t=!1}}break e}finally{Ma=null,Fr=r,y0=!1}t=void 0}}finally{t?cl():dl=!1}}}var cl;typeof v2=="function"?cl=function(){v2(v0)}:typeof MessageChannel<"u"?(h0=new MessageChannel,h2=h0.port2,h0.port1.onmessage=v0,cl=function(){h2.postMessage(null)}):cl=function(){b2(v0,0)};var h0,h2;function C0(e,t){yc=b2(function(){e(It.unstable_now())},t)}It.unstable_IdlePriority=5;It.unstable_ImmediatePriority=1;It.unstable_LowPriority=4;It.unstable_NormalPriority=3;It.unstable_Profiling=null;It.unstable_UserBlockingPriority=2;It.unstable_cancelCallback=function(e){e.callback=null};It.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x2=0<e?Math.floor(1e3/e):5};It.unstable_getCurrentPriorityLevel=function(){return Fr};It.unstable_next=function(e){switch(Fr){case 1:case 2:case 3:var t=3;break;default:t=Fr}var r=Fr;Fr=t;try{return e()}finally{Fr=r}};It.unstable_requestPaint=function(){x0=!0};It.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=Fr;Fr=e;try{return t()}finally{Fr=r}};It.unstable_scheduleCallback=function(e,t,r){var a=It.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?a+r:a):r=a,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:A4++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>a?(e.sortIndex=r,b0(Gn,e),Mo(Zo)===null&&e===Mo(Gn)&&(bc?(y2(yc),yc=-1):bc=!0,C0(S0,r-a))):(e.sortIndex=o,b0(Zo,e),hc||y0||(hc=!0,dl||(dl=!0,cl()))),e};It.unstable_shouldYield=C2;It.unstable_wrapCallback=function(e){var t=Fr;return function(){var r=Fr;Fr=t;try{return e.apply(this,arguments)}finally{Fr=r}}}});var E2=qr((C$,I2)=>{"use strict";I2.exports=L2()});var R2=qr(Gr=>{"use strict";var O4=O();function _2(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}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 jn(){}var $r={d:{f:jn,r:function(){throw Error(_2(522))},D:jn,C:jn,L:jn,m:jn,X:jn,S:jn,M:jn},p:0,findDOMNode:null},B4=Symbol.for("react.portal");function M4(e,t,r){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:B4,key:a==null?null:""+a,children:e,containerInfo:t,implementation:r}}var xc=O4.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function sp(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Gr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$r;Gr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(_2(299));return M4(e,t,null,r)};Gr.flushSync=function(e){var t=xc.T,r=$r.p;try{if(xc.T=null,$r.p=2,e)return e()}finally{xc.T=t,$r.p=r,$r.d.f()}};Gr.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,$r.d.C(e,t))};Gr.prefetchDNS=function(e){typeof e=="string"&&$r.d.D(e)};Gr.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,a=sp(r,t.crossOrigin),o=typeof t.integrity=="string"?t.integrity:void 0,n=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?$r.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:a,integrity:o,fetchPriority:n}):r==="script"&&$r.d.X(e,{crossOrigin:a,integrity:o,fetchPriority:n,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Gr.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=sp(t.as,t.crossOrigin);$r.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&$r.d.M(e)};Gr.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,a=sp(r,t.crossOrigin);$r.d.L(e,r,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Gr.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=sp(t.as,t.crossOrigin);$r.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else $r.d.m(e)};Gr.requestFormReset=function(e){$r.d.r(e)};Gr.unstable_batchedUpdates=function(e,t){return e(t)};Gr.useFormState=function(e,t,r){return xc.H.useFormState(e,t,r)};Gr.useFormStatus=function(){return xc.H.useHostTransitionStatus()};Gr.version="19.2.8"});var fl=qr((I$,T2)=>{"use strict";function w2(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(w2)}catch(e){console.error(e)}}w2(),T2.exports=R2()});var z_=qr(Om=>{"use strict";var tr=E2(),tI=O(),F4=fl();function D(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}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 rI(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function id(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function aI(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 oI(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 k2(e){if(id(e)!==e)throw Error(D(188))}function P4(e){var t=e.alternate;if(!t){if(t=id(e),t===null)throw Error(D(188));return t!==e?null:e}for(var r=e,a=t;;){var o=r.return;if(o===null)break;var n=o.alternate;if(n===null){if(a=o.return,a!==null){r=a;continue}break}if(o.child===n.child){for(n=o.child;n;){if(n===r)return k2(o),e;if(n===a)return k2(o),t;n=n.sibling}throw Error(D(188))}if(r.return!==a.return)r=o,a=n;else{for(var i=!1,s=o.child;s;){if(s===r){i=!0,r=o,a=n;break}if(s===a){i=!0,a=o,r=n;break}s=s.sibling}if(!i){for(s=n.child;s;){if(s===r){i=!0,r=n,a=o;break}if(s===a){i=!0,a=n,r=o;break}s=s.sibling}if(!i)throw Error(D(189))}}if(r.alternate!==a)throw Error(D(190))}if(r.tag!==3)throw Error(D(188));return r.stateNode.current===r?e:t}function nI(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=nI(e),t!==null)return t;e=e.sibling}return null}var gt=Object.assign,D4=Symbol.for("react.element"),lp=Symbol.for("react.transitional.element"),wc=Symbol.for("react.portal"),bl=Symbol.for("react.fragment"),iI=Symbol.for("react.strict_mode"),rb=Symbol.for("react.profiler"),sI=Symbol.for("react.consumer"),sn=Symbol.for("react.context"),Qb=Symbol.for("react.forward_ref"),ab=Symbol.for("react.suspense"),ob=Symbol.for("react.suspense_list"),Zb=Symbol.for("react.memo"),Wn=Symbol.for("react.lazy");Symbol.for("react.scope");var nb=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var N4=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var A2=Symbol.iterator;function Sc(e){return e===null||typeof e!="object"?null:(e=A2&&e[A2]||e["@@iterator"],typeof e=="function"?e:null)}var H4=Symbol.for("react.client.reference");function ib(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===H4?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case bl:return"Fragment";case rb:return"Profiler";case iI:return"StrictMode";case ab:return"Suspense";case ob:return"SuspenseList";case nb:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case wc:return"Portal";case sn:return e.displayName||"Context";case sI:return(e._context.displayName||"Context")+".Consumer";case Qb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zb:return t=e.displayName||null,t!==null?t:ib(e.type)||"Memo";case Wn:t=e._payload,e=e._init;try{return ib(e(t))}catch{}}return null}var Tc=Array.isArray,se=tI.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,We=F4.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,as={pending:!1,data:null,method:null,action:null},sb=[],yl=-1;function Ho(e){return{current:e}}function dr(e){0>yl||(e.current=sb[yl],sb[yl]=null,yl--)}function ut(e,t){yl++,sb[yl]=e.current,e.current=t}var No=Ho(null),jc=Ho(null),oi=Ho(null),zp=Ho(null);function Vp(e,t){switch(ut(oi,t),ut(jc,e),ut(No,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?NL(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=NL(t),e=R_(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}dr(No),ut(No,e)}function Dl(){dr(No),dr(jc),dr(oi)}function lb(e){e.memoizedState!==null&&ut(zp,e);var t=No.current,r=R_(t,e.type);t!==r&&(ut(jc,e),ut(No,r))}function qp(e){jc.current===e&&(dr(No),dr(jc)),zp.current===e&&(dr(zp),ad._currentValue=as)}var L0,O2;function Ji(e){if(L0===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);L0=t&&t[1]||"",O2=-1<r.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
3
3
  `+L0+e+O2}var I0=!1;function E0(e,t){if(!e||I0)return"";I0=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(m){var f=m}Reflect.construct(e,[],d)}else{try{d.call()}catch(m){f=m}e.call(d.prototype)}}else{try{throw Error()}catch(m){f=m}(d=e())&&typeof d.catch=="function"&&d.catch(function(){})}}catch(m){if(m&&f&&typeof m.stack=="string")return[m.stack,f.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),i=n[0],s=n[1];if(i&&s){var l=i.split(`
4
4
  `),u=s.split(`
@@ -6,8 +6,8 @@
6
6
  `+l[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=o);break}}}finally{I0=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Ji(r):""}function U4(e,t){switch(e.tag){case 26:case 27:case 5:return Ji(e.type);case 16:return Ji("Lazy");case 13:return e.child!==t&&t!==null?Ji("Suspense Fallback"):Ji("Suspense");case 19:return Ji("SuspenseList");case 0:case 15:return E0(e.type,!1);case 11:return E0(e.type.render,!1);case 1:return E0(e.type,!0);case 31:return Ji("Activity");default:return""}}function B2(e){try{var t="",r=null;do t+=U4(e,r),r=e,e=e.return;while(e);return t}catch(a){return`
7
7
  Error generating stack: `+a.message+`
8
8
  `+a.stack}}var ub=Object.prototype.hasOwnProperty,Jb=tr.unstable_scheduleCallback,_0=tr.unstable_cancelCallback,z4=tr.unstable_shouldYield,V4=tr.unstable_requestPaint,va=tr.unstable_now,q4=tr.unstable_getCurrentPriorityLevel,lI=tr.unstable_ImmediatePriority,uI=tr.unstable_UserBlockingPriority,$p=tr.unstable_NormalPriority,$4=tr.unstable_LowPriority,cI=tr.unstable_IdlePriority,G4=tr.log,j4=tr.unstable_setDisableYieldValue,sd=null,ha=null;function Jn(e){if(typeof G4=="function"&&j4(e),ha&&typeof ha.setStrictMode=="function")try{ha.setStrictMode(sd,e)}catch{}}var ba=Math.clz32?Math.clz32:Y4,W4=Math.log,K4=Math.LN2;function Y4(e){return e>>>=0,e===0?32:31-(W4(e)/K4|0)|0}var up=256,cp=262144,dp=4194304;function es(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 vm(e,t,r){var a=e.pendingLanes;if(a===0)return 0;var o=0,n=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=a&134217727;return s!==0?(a=s&~n,a!==0?o=es(a):(i&=s,i!==0?o=es(i):r||(r=s&~e,r!==0&&(o=es(r))))):(s=a&~n,s!==0?o=es(s):i!==0?o=es(i):r||(r=a&~e,r!==0&&(o=es(r)))),o===0?0:t!==0&&t!==o&&(t&n)===0&&(n=o&-o,r=t&-t,n>=r||n===32&&(r&4194048)!==0)?t:o}function ld(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function X4(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 dI(){var e=dp;return dp<<=1,(dp&62914560)===0&&(dp=4194304),e}function R0(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function ud(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Q4(e,t,r,a,o,n){var i=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(r=i&~r;0<r;){var c=31-ba(r),d=1<<c;s[c]=0,l[c]=-1;var f=u[c];if(f!==null)for(u[c]=null,c=0;c<f.length;c++){var m=f[c];m!==null&&(m.lane&=-536870913)}r&=~d}a!==0&&fI(e,a,0),n!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=n&~(i&~t))}function fI(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-ba(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|r&261930}function pI(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var a=31-ba(r),o=1<<a;o&t|e[a]&t&&(e[a]|=t),r&=~o}}function mI(e,t){var r=t&-t;return r=(r&42)!==0?1:ey(r),(r&(e.suspendedLanes|t))!==0?0:r}function ey(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 ty(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function gI(){var e=We.p;return e!==0?e:(e=window.event,e===void 0?32:N_(e.type))}function M2(e,t){var r=We.p;try{return We.p=e,t()}finally{We.p=r}}var hi=Math.random().toString(36).slice(2),Er="__reactFiber$"+hi,ra="__reactProps$"+hi,Kl="__reactContainer$"+hi,cb="__reactEvents$"+hi,Z4="__reactListeners$"+hi,J4="__reactHandles$"+hi,F2="__reactResources$"+hi,cd="__reactMarker$"+hi;function ry(e){delete e[Er],delete e[ra],delete e[cb],delete e[Z4],delete e[J4]}function xl(e){var t=e[Er];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Kl]||r[Er]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=qL(e);e!==null;){if(r=e[Er])return r;e=qL(e)}return t}e=r,r=e.parentNode}return null}function Yl(e){if(e=e[Er]||e[Kl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function kc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(D(33))}function kl(e){var t=e[F2];return t||(t=e[F2]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function cr(e){e[cd]=!0}var vI=new Set,hI={};function ps(e,t){Nl(e,t),Nl(e+"Capture",t)}function Nl(e,t){for(hI[e]=t,e=0;e<t.length;e++)vI.add(t[e])}var eF=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]*$"),P2={},D2={};function tF(e){return ub.call(D2,e)?!0:ub.call(P2,e)?!1:eF.test(e)?D2[e]=!0:(P2[e]=!0,!1)}function _p(e,t,r){if(tF(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+r)}}function fp(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function Jo(e,t,r,a){if(a===null)e.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+a)}}function Pa(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bI(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rF(e,t,r){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,n=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,n.call(this,i)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function db(e){if(!e._valueTracker){var t=bI(e)?"checked":"value";e._valueTracker=rF(e,t,""+e[t])}}function yI(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),a="";return e&&(a=bI(e)?e.checked?"true":"false":e.value),e=a,e!==r?(t.setValue(e),!0):!1}function Gp(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 aF=/[\n"\\]/g;function Ha(e){return e.replace(aF,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function fb(e,t,r,a,o,n,i,s){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Pa(t)):e.value!==""+Pa(t)&&(e.value=""+Pa(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?pb(e,i,Pa(t)):r!=null?pb(e,i,Pa(r)):a!=null&&e.removeAttribute("value"),o==null&&n!=null&&(e.defaultChecked=!!n),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+Pa(s):e.removeAttribute("name")}function xI(e,t,r,a,o,n,i,s){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(e.type=n),t!=null||r!=null){if(!(n!=="submit"&&n!=="reset"||t!=null)){db(e);return}r=r!=null?""+Pa(r):"",t=t!=null?""+Pa(t):r,s||t===e.value||(e.value=t),e.defaultValue=t}a=a??o,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),db(e)}function pb(e,t,r){t==="number"&&Gp(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Al(e,t,r,a){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&a&&(e[r].defaultSelected=!0)}else{for(r=""+Pa(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function SI(e,t,r){if(t!=null&&(t=""+Pa(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+Pa(r):""}function CI(e,t,r,a){if(t==null){if(a!=null){if(r!=null)throw Error(D(92));if(Tc(a)){if(1<a.length)throw Error(D(93));a=a[0]}r=a}r==null&&(r=""),t=r}r=Pa(t),e.defaultValue=r,a=e.textContent,a===r&&a!==""&&a!==null&&(e.value=a),db(e)}function Hl(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var oF=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 N2(e,t,r){var a=t.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,r):typeof r!="number"||r===0||oF.has(t)?t==="float"?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function LI(e,t,r){if(t!=null&&typeof t!="object")throw Error(D(62));if(e=e.style,r!=null){for(var a in r)!r.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var o in t)a=t[o],t.hasOwnProperty(o)&&r[o]!==a&&N2(e,o,a)}else for(var n in t)t.hasOwnProperty(n)&&N2(e,n,t[n])}function ay(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 nF=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"]]),iF=/^[\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 Rp(e){return iF.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ln(){}var mb=null;function oy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Sl=null,Ol=null;function H2(e){var t=Yl(e);if(t&&(e=t.stateNode)){var r=e[ra]||null;e:switch(e=t.stateNode,t.type){case"input":if(fb(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Ha(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var a=r[t];if(a!==e&&a.form===e.form){var o=a[ra]||null;if(!o)throw Error(D(90));fb(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<r.length;t++)a=r[t],a.form===e.form&&yI(a)}break e;case"textarea":SI(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&Al(e,!!r.multiple,t,!1)}}}var w0=!1;function II(e,t,r){if(w0)return e(t,r);w0=!0;try{var a=e(t);return a}finally{if(w0=!1,(Sl!==null||Ol!==null)&&(wm(),Sl&&(t=Sl,e=Ol,Ol=Sl=null,H2(t),e)))for(t=0;t<e.length;t++)H2(e[t])}}function Wc(e,t){var r=e.stateNode;if(r===null)return null;var a=r[ra]||null;if(a===null)return null;r=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(D(231,t,typeof r));return r}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gb=!1;if(pn)try{pl={},Object.defineProperty(pl,"passive",{get:function(){gb=!0}}),window.addEventListener("test",pl,pl),window.removeEventListener("test",pl,pl)}catch{gb=!1}var pl,ei=null,ny=null,wp=null;function EI(){if(wp)return wp;var e,t=ny,r=t.length,a,o="value"in ei?ei.value:ei.textContent,n=o.length;for(e=0;e<r&&t[e]===o[e];e++);var i=r-e;for(a=1;a<=i&&t[r-a]===o[n-a];a++);return wp=o.slice(e,1<a?1-a:void 0)}function Tp(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 pp(){return!0}function U2(){return!1}function aa(e){function t(r,a,o,n,i){this._reactName=r,this._targetInst=o,this.type=a,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(n):n[s]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?pp:U2,this.isPropagationStopped=U2,this}return gt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=pp)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=pp)},persist:function(){},isPersistent:pp}),t}var ms={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hm=aa(ms),dd=gt({},ms,{view:0,detail:0}),sF=aa(dd),T0,k0,Cc,bm=gt({},dd,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:iy,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!==Cc&&(Cc&&e.type==="mousemove"?(T0=e.screenX-Cc.screenX,k0=e.screenY-Cc.screenY):k0=T0=0,Cc=e),T0)},movementY:function(e){return"movementY"in e?e.movementY:k0}}),z2=aa(bm),lF=gt({},bm,{dataTransfer:0}),uF=aa(lF),cF=gt({},dd,{relatedTarget:0}),A0=aa(cF),dF=gt({},ms,{animationName:0,elapsedTime:0,pseudoElement:0}),fF=aa(dF),pF=gt({},ms,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mF=aa(pF),gF=gt({},ms,{data:0}),V2=aa(gF),vF={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hF={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"},bF={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yF(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bF[e])?!!t[e]:!1}function iy(){return yF}var xF=gt({},dd,{key:function(e){if(e.key){var t=vF[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Tp(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hF[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:iy,charCode:function(e){return e.type==="keypress"?Tp(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tp(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),SF=aa(xF),CF=gt({},bm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),q2=aa(CF),LF=gt({},dd,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:iy}),IF=aa(LF),EF=gt({},ms,{propertyName:0,elapsedTime:0,pseudoElement:0}),_F=aa(EF),RF=gt({},bm,{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}),wF=aa(RF),TF=gt({},ms,{newState:0,oldState:0}),kF=aa(TF),AF=[9,13,27,32],sy=pn&&"CompositionEvent"in window,Bc=null;pn&&"documentMode"in document&&(Bc=document.documentMode);var OF=pn&&"TextEvent"in window&&!Bc,_I=pn&&(!sy||Bc&&8<Bc&&11>=Bc),$2=" ",G2=!1;function RI(e,t){switch(e){case"keyup":return AF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wI(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cl=!1;function BF(e,t){switch(e){case"compositionend":return wI(t);case"keypress":return t.which!==32?null:(G2=!0,$2);case"textInput":return e=t.data,e===$2&&G2?null:e;default:return null}}function MF(e,t){if(Cl)return e==="compositionend"||!sy&&RI(e,t)?(e=EI(),wp=ny=ei=null,Cl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _I&&t.locale!=="ko"?null:t.data;default:return null}}var FF={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 j2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!FF[e.type]:t==="textarea"}function TI(e,t,r,a){Sl?Ol?Ol.push(a):Ol=[a]:Sl=a,t=um(t,"onChange"),0<t.length&&(r=new hm("onChange","change",null,r,a),e.push({event:r,listeners:t}))}var Mc=null,Kc=null;function PF(e){I_(e,0)}function ym(e){var t=kc(e);if(yI(t))return e}function W2(e,t){if(e==="change")return t}var kI=!1;pn&&(pn?(gp="oninput"in document,gp||(O0=document.createElement("div"),O0.setAttribute("oninput","return;"),gp=typeof O0.oninput=="function"),mp=gp):mp=!1,kI=mp&&(!document.documentMode||9<document.documentMode));var mp,gp,O0;function K2(){Mc&&(Mc.detachEvent("onpropertychange",AI),Kc=Mc=null)}function AI(e){if(e.propertyName==="value"&&ym(Kc)){var t=[];TI(t,Kc,e,oy(e)),II(PF,t)}}function DF(e,t,r){e==="focusin"?(K2(),Mc=t,Kc=r,Mc.attachEvent("onpropertychange",AI)):e==="focusout"&&K2()}function NF(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ym(Kc)}function HF(e,t){if(e==="click")return ym(t)}function UF(e,t){if(e==="input"||e==="change")return ym(t)}function zF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xa=typeof Object.is=="function"?Object.is:zF;function Yc(e,t){if(xa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(a=0;a<r.length;a++){var o=r[a];if(!ub.call(t,o)||!xa(e[o],t[o]))return!1}return!0}function Y2(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function X2(e,t){var r=Y2(e);e=0;for(var a;r;){if(r.nodeType===3){if(a=e+r.textContent.length,e<=t&&a>=t)return{node:r,offset:t-e};e=a}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Y2(r)}}function OI(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?OI(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function BI(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Gp(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Gp(e.document)}return t}function ly(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 VF=pn&&"documentMode"in document&&11>=document.documentMode,Ll=null,vb=null,Fc=null,hb=!1;function Q2(e,t,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;hb||Ll==null||Ll!==Gp(a)||(a=Ll,"selectionStart"in a&&ly(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Fc&&Yc(Fc,a)||(Fc=a,a=um(vb,"onSelect"),0<a.length&&(t=new hm("onSelect","select",null,t,r),e.push({event:t,listeners:a}),t.target=Ll)))}function Zi(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Il={animationend:Zi("Animation","AnimationEnd"),animationiteration:Zi("Animation","AnimationIteration"),animationstart:Zi("Animation","AnimationStart"),transitionrun:Zi("Transition","TransitionRun"),transitionstart:Zi("Transition","TransitionStart"),transitioncancel:Zi("Transition","TransitionCancel"),transitionend:Zi("Transition","TransitionEnd")},B0={},MI={};pn&&(MI=document.createElement("div").style,"AnimationEvent"in window||(delete Il.animationend.animation,delete Il.animationiteration.animation,delete Il.animationstart.animation),"TransitionEvent"in window||delete Il.transitionend.transition);function gs(e){if(B0[e])return B0[e];if(!Il[e])return e;var t=Il[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in MI)return B0[e]=t[r];return e}var FI=gs("animationend"),PI=gs("animationiteration"),DI=gs("animationstart"),qF=gs("transitionrun"),$F=gs("transitionstart"),GF=gs("transitioncancel"),NI=gs("transitionend"),HI=new Map,bb="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(" ");bb.push("scrollEnd");function po(e,t){HI.set(e,t),ps(t,[e])}var jp=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)},Fa=[],El=0,uy=0;function xm(){for(var e=El,t=uy=El=0;t<e;){var r=Fa[t];Fa[t++]=null;var a=Fa[t];Fa[t++]=null;var o=Fa[t];Fa[t++]=null;var n=Fa[t];if(Fa[t++]=null,a!==null&&o!==null){var i=a.pending;i===null?o.next=o:(o.next=i.next,i.next=o),a.pending=o}n!==0&&UI(r,o,n)}}function Sm(e,t,r,a){Fa[El++]=e,Fa[El++]=t,Fa[El++]=r,Fa[El++]=a,uy|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function cy(e,t,r,a){return Sm(e,t,r,a),Wp(e)}function vs(e,t){return Sm(e,null,null,t),Wp(e)}function UI(e,t,r){e.lanes|=r;var a=e.alternate;a!==null&&(a.lanes|=r);for(var o=!1,n=e.return;n!==null;)n.childLanes|=r,a=n.alternate,a!==null&&(a.childLanes|=r),n.tag===22&&(e=n.stateNode,e===null||e._visibility&1||(o=!0)),e=n,n=n.return;return e.tag===3?(n=e.stateNode,o&&t!==null&&(o=31-ba(r),e=n.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=r|536870912),n):null}function Wp(e){if(50<$c)throw $c=0,Hb=null,Error(D(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var _l={};function jF(e,t,r,a){this.tag=e,this.key=r,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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ma(e,t,r,a){return new jF(e,t,r,a)}function dy(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cn(e,t){var r=e.alternate;return r===null?(r=ma(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function zI(e,t){e.flags&=65011714;var r=e.alternate;return r===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=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function kp(e,t,r,a,o,n){var i=0;if(a=e,typeof e=="function")dy(e)&&(i=1);else if(typeof e=="string")i=YP(e,r,No.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case nb:return e=ma(31,r,t,o),e.elementType=nb,e.lanes=n,e;case bl:return os(r.children,o,n,t);case iI:i=8,o|=24;break;case rb:return e=ma(12,r,t,o|2),e.elementType=rb,e.lanes=n,e;case ab:return e=ma(13,r,t,o),e.elementType=ab,e.lanes=n,e;case ob:return e=ma(19,r,t,o),e.elementType=ob,e.lanes=n,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case sn:i=10;break e;case sI:i=9;break e;case Qb:i=11;break e;case Zb:i=14;break e;case Wn:i=16,a=null;break e}i=29,r=Error(D(130,e===null?"null":typeof e,"")),a=null}return t=ma(i,r,t,o),t.elementType=e,t.type=a,t.lanes=n,t}function os(e,t,r,a){return e=ma(7,e,a,t),e.lanes=r,e}function M0(e,t,r){return e=ma(6,e,null,t),e.lanes=r,e}function VI(e){var t=ma(18,null,null,0);return t.stateNode=e,t}function F0(e,t,r){return t=ma(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Z2=new WeakMap;function Ua(e,t){if(typeof e=="object"&&e!==null){var r=Z2.get(e);return r!==void 0?r:(t={value:e,source:t,stack:B2(t)},Z2.set(e,t),t)}return{value:e,source:t,stack:B2(t)}}var Rl=[],wl=0,Kp=null,Xc=0,Da=[],Na=0,pi=null,Fo=1,Po="";function on(e,t){Rl[wl++]=Xc,Rl[wl++]=Kp,Kp=e,Xc=t}function qI(e,t,r){Da[Na++]=Fo,Da[Na++]=Po,Da[Na++]=pi,pi=e;var a=Fo;e=Po;var o=32-ba(a)-1;a&=~(1<<o),r+=1;var n=32-ba(t)+o;if(30<n){var i=o-o%5;n=(a&(1<<i)-1).toString(32),a>>=i,o-=i,Fo=1<<32-ba(t)+o|r<<o|a,Po=n+e}else Fo=1<<n|r<<o|a,Po=e}function fy(e){e.return!==null&&(on(e,1),qI(e,1,0))}function py(e){for(;e===Kp;)Kp=Rl[--wl],Rl[wl]=null,Xc=Rl[--wl],Rl[wl]=null;for(;e===pi;)pi=Da[--Na],Da[Na]=null,Po=Da[--Na],Da[Na]=null,Fo=Da[--Na],Da[Na]=null}function $I(e,t){Da[Na++]=Fo,Da[Na++]=Po,Da[Na++]=pi,Fo=t.id,Po=t.overflow,pi=e}var _r=null,mt=null,Pe=!1,ni=null,za=!1,yb=Error(D(519));function mi(e){var t=Error(D(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Qc(Ua(t,e)),yb}function J2(e){var t=e.stateNode,r=e.type,a=e.memoizedProps;switch(t[Er]=e,t[ra]=a,r){case"dialog":Oe("cancel",t),Oe("close",t);break;case"iframe":case"object":case"embed":Oe("load",t);break;case"video":case"audio":for(r=0;r<td.length;r++)Oe(td[r],t);break;case"source":Oe("error",t);break;case"img":case"image":case"link":Oe("error",t),Oe("load",t);break;case"details":Oe("toggle",t);break;case"input":Oe("invalid",t),xI(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Oe("invalid",t);break;case"textarea":Oe("invalid",t),CI(t,a.value,a.defaultValue,a.children)}r=a.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||a.suppressHydrationWarning===!0||__(t.textContent,r)?(a.popover!=null&&(Oe("beforetoggle",t),Oe("toggle",t)),a.onScroll!=null&&Oe("scroll",t),a.onScrollEnd!=null&&Oe("scrollend",t),a.onClick!=null&&(t.onclick=ln),t=!0):t=!1,t||mi(e,!0)}function eL(e){for(_r=e.return;_r;)switch(_r.tag){case 5:case 31:case 13:za=!1;return;case 27:case 3:za=!0;return;default:_r=_r.return}}function ml(e){if(e!==_r)return!1;if(!Pe)return eL(e),Pe=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||$b(e.type,e.memoizedProps)),r=!r),r&&mt&&mi(e),eL(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));mt=VL(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));mt=VL(e)}else t===27?(t=mt,bi(e.type)?(e=Kb,Kb=null,mt=e):mt=t):mt=_r?qa(e.stateNode.nextSibling):null;return!0}function ls(){mt=_r=null,Pe=!1}function P0(){var e=ni;return e!==null&&(ea===null?ea=e:ea.push.apply(ea,e),ni=null),e}function Qc(e){ni===null?ni=[e]:ni.push(e)}var xb=Ho(null),hs=null,un=null;function Yn(e,t,r){ut(xb,t._currentValue),t._currentValue=r}function dn(e){e._currentValue=xb.current,dr(xb)}function Sb(e,t,r){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===r)break;e=e.return}}function Cb(e,t,r,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var n=o.dependencies;if(n!==null){var i=o.child;n=n.firstContext;e:for(;n!==null;){var s=n;n=o;for(var l=0;l<t.length;l++)if(s.context===t[l]){n.lanes|=r,s=n.alternate,s!==null&&(s.lanes|=r),Sb(n.return,r,e),a||(i=null);break e}n=s.next}}else if(o.tag===18){if(i=o.return,i===null)throw Error(D(341));i.lanes|=r,n=i.alternate,n!==null&&(n.lanes|=r),Sb(i,r,e),i=null}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===e){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}}function Xl(e,t,r,a){e=null;for(var o=t,n=!1;o!==null;){if(!n){if((o.flags&524288)!==0)n=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var i=o.alternate;if(i===null)throw Error(D(387));if(i=i.memoizedProps,i!==null){var s=o.type;xa(o.pendingProps.value,i.value)||(e!==null?e.push(s):e=[s])}}else if(o===zp.current){if(i=o.alternate,i===null)throw Error(D(387));i.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(ad):e=[ad])}o=o.return}e!==null&&Cb(t,e,r,a),t.flags|=262144}function Yp(e){for(e=e.firstContext;e!==null;){if(!xa(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function us(e){hs=e,un=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Rr(e){return GI(hs,e)}function vp(e,t){return hs===null&&us(e),GI(e,t)}function GI(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},un===null){if(e===null)throw Error(D(308));un=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else un=un.next=t;return r}var WF=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},KF=tr.unstable_scheduleCallback,YF=tr.unstable_NormalPriority,jt={$$typeof:sn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function my(){return{controller:new WF,data:new Map,refCount:0}}function fd(e){e.refCount--,e.refCount===0&&KF(YF,function(){e.controller.abort()})}var Pc=null,Lb=0,Ul=0,Bl=null;function XF(e,t){if(Pc===null){var r=Pc=[];Lb=0,Ul=Hy(),Bl={status:"pending",value:void 0,then:function(a){r.push(a)}}}return Lb++,t.then(tL,tL),t}function tL(){if(--Lb===0&&Pc!==null){Bl!==null&&(Bl.status="fulfilled");var e=Pc;Pc=null,Ul=0,Bl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function QF(e,t){var r=[],a={status:"pending",value:null,reason:null,then:function(o){r.push(o)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var o=0;o<r.length;o++)(0,r[o])(t)},function(o){for(a.status="rejected",a.reason=o,o=0;o<r.length;o++)(0,r[o])(void 0)}),a}var rL=se.S;se.S=function(e,t){n_=va(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&XF(e,t),rL!==null&&rL(e,t)};var ns=Ho(null);function gy(){var e=ns.current;return e!==null?e:st.pooledCache}function Ap(e,t){t===null?ut(ns,ns.current):ut(ns,t.pool)}function jI(){var e=gy();return e===null?null:{parent:jt._currentValue,pool:e}}var Ql=Error(D(460)),vy=Error(D(474)),Cm=Error(D(542)),Xp={then:function(){}};function aL(e){return e=e.status,e==="fulfilled"||e==="rejected"}function WI(e,t,r){switch(r=e[r],r===void 0?e.push(t):r!==t&&(t.then(ln,ln),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,nL(e),e;default:if(typeof t.status=="string")t.then(ln,ln);else{if(e=st,e!==null&&100<e.shellSuspendCounter)throw Error(D(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=a}},function(a){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,nL(e),e}throw is=t,Ql}}function ts(e){try{var t=e._init;return t(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(is=r,Ql):r}}var is=null;function oL(){if(is===null)throw Error(D(459));var e=is;return is=null,e}function nL(e){if(e===Ql||e===Cm)throw Error(D(483))}var Ml=null,Zc=0;function hp(e){var t=Zc;return Zc+=1,Ml===null&&(Ml=[]),WI(Ml,e,t)}function Lc(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function bp(e,t){throw t.$$typeof===D4?Error(D(525)):(e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function KI(e){function t(g,p){if(e){var v=g.deletions;v===null?(g.deletions=[p],g.flags|=16):v.push(p)}}function r(g,p){if(!e)return null;for(;p!==null;)t(g,p),p=p.sibling;return null}function a(g){for(var p=new Map;g!==null;)g.key!==null?p.set(g.key,g):p.set(g.index,g),g=g.sibling;return p}function o(g,p){return g=cn(g,p),g.index=0,g.sibling=null,g}function n(g,p,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<p?(g.flags|=67108866,p):v):(g.flags|=67108866,p)):(g.flags|=1048576,p)}function i(g){return e&&g.alternate===null&&(g.flags|=67108866),g}function s(g,p,v,b){return p===null||p.tag!==6?(p=M0(v,g.mode,b),p.return=g,p):(p=o(p,v),p.return=g,p)}function l(g,p,v,b){var C=v.type;return C===bl?c(g,p,v.props.children,b,v.key):p!==null&&(p.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Wn&&ts(C)===p.type)?(p=o(p,v.props),Lc(p,v),p.return=g,p):(p=kp(v.type,v.key,v.props,null,g.mode,b),Lc(p,v),p.return=g,p)}function u(g,p,v,b){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=F0(v,g.mode,b),p.return=g,p):(p=o(p,v.children||[]),p.return=g,p)}function c(g,p,v,b,C){return p===null||p.tag!==7?(p=os(v,g.mode,b,C),p.return=g,p):(p=o(p,v),p.return=g,p)}function d(g,p,v){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return p=M0(""+p,g.mode,v),p.return=g,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case lp:return v=kp(p.type,p.key,p.props,null,g.mode,v),Lc(v,p),v.return=g,v;case wc:return p=F0(p,g.mode,v),p.return=g,p;case Wn:return p=ts(p),d(g,p,v)}if(Tc(p)||Sc(p))return p=os(p,g.mode,v,null),p.return=g,p;if(typeof p.then=="function")return d(g,hp(p),v);if(p.$$typeof===sn)return d(g,vp(g,p),v);bp(g,p)}return null}function f(g,p,v,b){var C=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return C!==null?null:s(g,p,""+v,b);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case lp:return v.key===C?l(g,p,v,b):null;case wc:return v.key===C?u(g,p,v,b):null;case Wn:return v=ts(v),f(g,p,v,b)}if(Tc(v)||Sc(v))return C!==null?null:c(g,p,v,b,null);if(typeof v.then=="function")return f(g,p,hp(v),b);if(v.$$typeof===sn)return f(g,p,vp(g,v),b);bp(g,v)}return null}function m(g,p,v,b,C){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return g=g.get(v)||null,s(p,g,""+b,C);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case lp:return g=g.get(b.key===null?v:b.key)||null,l(p,g,b,C);case wc:return g=g.get(b.key===null?v:b.key)||null,u(p,g,b,C);case Wn:return b=ts(b),m(g,p,v,b,C)}if(Tc(b)||Sc(b))return g=g.get(v)||null,c(p,g,b,C,null);if(typeof b.then=="function")return m(g,p,v,hp(b),C);if(b.$$typeof===sn)return m(g,p,v,vp(p,b),C);bp(p,b)}return null}function h(g,p,v,b){for(var C=null,L=null,x=p,I=p=0,E=null;x!==null&&I<v.length;I++){x.index>I?(E=x,x=null):E=x.sibling;var T=f(g,x,v[I],b);if(T===null){x===null&&(x=E);break}e&&x&&T.alternate===null&&t(g,x),p=n(T,p,I),L===null?C=T:L.sibling=T,L=T,x=E}if(I===v.length)return r(g,x),Pe&&on(g,I),C;if(x===null){for(;I<v.length;I++)x=d(g,v[I],b),x!==null&&(p=n(x,p,I),L===null?C=x:L.sibling=x,L=x);return Pe&&on(g,I),C}for(x=a(x);I<v.length;I++)E=m(x,g,I,v[I],b),E!==null&&(e&&E.alternate!==null&&x.delete(E.key===null?I:E.key),p=n(E,p,I),L===null?C=E:L.sibling=E,L=E);return e&&x.forEach(function(k){return t(g,k)}),Pe&&on(g,I),C}function y(g,p,v,b){if(v==null)throw Error(D(151));for(var C=null,L=null,x=p,I=p=0,E=null,T=v.next();x!==null&&!T.done;I++,T=v.next()){x.index>I?(E=x,x=null):E=x.sibling;var k=f(g,x,T.value,b);if(k===null){x===null&&(x=E);break}e&&x&&k.alternate===null&&t(g,x),p=n(k,p,I),L===null?C=k:L.sibling=k,L=k,x=E}if(T.done)return r(g,x),Pe&&on(g,I),C;if(x===null){for(;!T.done;I++,T=v.next())T=d(g,T.value,b),T!==null&&(p=n(T,p,I),L===null?C=T:L.sibling=T,L=T);return Pe&&on(g,I),C}for(x=a(x);!T.done;I++,T=v.next())T=m(x,g,I,T.value,b),T!==null&&(e&&T.alternate!==null&&x.delete(T.key===null?I:T.key),p=n(T,p,I),L===null?C=T:L.sibling=T,L=T);return e&&x.forEach(function(M){return t(g,M)}),Pe&&on(g,I),C}function S(g,p,v,b){if(typeof v=="object"&&v!==null&&v.type===bl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case lp:e:{for(var C=v.key;p!==null;){if(p.key===C){if(C=v.type,C===bl){if(p.tag===7){r(g,p.sibling),b=o(p,v.props.children),b.return=g,g=b;break e}}else if(p.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Wn&&ts(C)===p.type){r(g,p.sibling),b=o(p,v.props),Lc(b,v),b.return=g,g=b;break e}r(g,p);break}else t(g,p);p=p.sibling}v.type===bl?(b=os(v.props.children,g.mode,b,v.key),b.return=g,g=b):(b=kp(v.type,v.key,v.props,null,g.mode,b),Lc(b,v),b.return=g,g=b)}return i(g);case wc:e:{for(C=v.key;p!==null;){if(p.key===C)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){r(g,p.sibling),b=o(p,v.children||[]),b.return=g,g=b;break e}else{r(g,p);break}else t(g,p);p=p.sibling}b=F0(v,g.mode,b),b.return=g,g=b}return i(g);case Wn:return v=ts(v),S(g,p,v,b)}if(Tc(v))return h(g,p,v,b);if(Sc(v)){if(C=Sc(v),typeof C!="function")throw Error(D(150));return v=C.call(v),y(g,p,v,b)}if(typeof v.then=="function")return S(g,p,hp(v),b);if(v.$$typeof===sn)return S(g,p,vp(g,v),b);bp(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,p!==null&&p.tag===6?(r(g,p.sibling),b=o(p,v),b.return=g,g=b):(r(g,p),b=M0(v,g.mode,b),b.return=g,g=b),i(g)):r(g,p)}return function(g,p,v,b){try{Zc=0;var C=S(g,p,v,b);return Ml=null,C}catch(x){if(x===Ql||x===Cm)throw x;var L=ma(29,x,null,g.mode);return L.lanes=b,L.return=g,L}finally{}}}var cs=KI(!0),YI=KI(!1),Kn=!1;function hy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ib(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 ii(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function si(e,t,r){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(je&2)!==0){var o=a.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=Wp(e),UI(e,null,r),t}return Sm(e,a,t,r),Wp(e)}function Dc(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,r|=a,t.lanes=r,pI(e,r)}}function D0(e,t){var r=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var o=null,n=null;if(r=r.firstBaseUpdate,r!==null){do{var i={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};n===null?o=n=i:n=n.next=i,r=r.next}while(r!==null);n===null?o=n=t:n=n.next=t}else o=n=t;r={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var Eb=!1;function Nc(){if(Eb){var e=Bl;if(e!==null)throw e}}function Hc(e,t,r,a){Eb=!1;var o=e.updateQueue;Kn=!1;var n=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,i===null?n=u:i.next=u,i=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==i&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(n!==null){var d=o.baseState;i=0,c=u=l=null,s=n;do{var f=s.lane&-536870913,m=f!==s.lane;if(m?(Me&f)===f:(a&f)===f){f!==0&&f===Ul&&(Eb=!0),c!==null&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var h=e,y=s;f=t;var S=r;switch(y.tag){case 1:if(h=y.payload,typeof h=="function"){d=h.call(S,d,f);break e}d=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=y.payload,f=typeof h=="function"?h.call(S,d,f):h,f==null)break e;d=gt({},d,f);break e;case 2:Kn=!0}}f=s.callback,f!==null&&(e.flags|=64,m&&(e.flags|=8192),m=o.callbacks,m===null?o.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=m,l=d):c=c.next=m,i|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;m=s,s=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,n===null&&(o.shared.lanes=0),vi|=i,e.lanes=i,e.memoizedState=d}}function XI(e,t){if(typeof e!="function")throw Error(D(191,e));e.call(t)}function QI(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)XI(r[e],t)}var zl=Ho(null),Qp=Ho(0);function iL(e,t){e=hn,ut(Qp,e),ut(zl,t),hn=e|t.baseLanes}function _b(){ut(Qp,hn),ut(zl,zl.current)}function by(){hn=Qp.current,dr(zl),dr(Qp)}var Sa=Ho(null),Va=null;function Xn(e){var t=e.alternate;ut(Ht,Ht.current&1),ut(Sa,e),Va===null&&(t===null||zl.current!==null||t.memoizedState!==null)&&(Va=e)}function Rb(e){ut(Ht,Ht.current),ut(Sa,e),Va===null&&(Va=e)}function ZI(e){e.tag===22?(ut(Ht,Ht.current),ut(Sa,e),Va===null&&(Va=e)):Qn(e)}function Qn(){ut(Ht,Ht.current),ut(Sa,Sa.current)}function pa(e){dr(Sa),Va===e&&(Va=null),dr(Ht)}var Ht=Ho(0);function Zp(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||jb(r)||Wb(r)))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 mn=0,ge=null,ot=null,$t=null,Jp=!1,Fl=!1,ds=!1,em=0,Jc=0,Pl=null,ZF=0;function Mt(){throw Error(D(321))}function yy(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!xa(e[r],t[r]))return!1;return!0}function xy(e,t,r,a,o,n){return mn=n,ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,se.H=e===null||e.memoizedState===null?TE:Ay,ds=!1,n=r(a,o),ds=!1,Fl&&(n=eE(t,r,a,o)),JI(e),n}function JI(e){se.H=ed;var t=ot!==null&&ot.next!==null;if(mn=0,$t=ot=ge=null,Jp=!1,Jc=0,Pl=null,t)throw Error(D(300));e===null||Wt||(e=e.dependencies,e!==null&&Yp(e)&&(Wt=!0))}function eE(e,t,r,a){ge=e;var o=0;do{if(Fl&&(Pl=null),Jc=0,Fl=!1,25<=o)throw Error(D(301));if(o+=1,$t=ot=null,e.updateQueue!=null){var n=e.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}se.H=kE,n=t(r,a)}while(Fl);return n}function JF(){var e=se.H,t=e.useState()[0];return t=typeof t.then=="function"?pd(t):t,e=e.useState()[0],(ot!==null?ot.memoizedState:null)!==e&&(ge.flags|=1024),t}function Sy(){var e=em!==0;return em=0,e}function Cy(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function Ly(e){if(Jp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Jp=!1}mn=0,$t=ot=ge=null,Fl=!1,Jc=em=0,Pl=null}function jr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $t===null?ge.memoizedState=$t=e:$t=$t.next=e,$t}function Ut(){if(ot===null){var e=ge.alternate;e=e!==null?e.memoizedState:null}else e=ot.next;var t=$t===null?ge.memoizedState:$t.next;if(t!==null)$t=t,ot=e;else{if(e===null)throw ge.alternate===null?Error(D(467)):Error(D(310));ot=e,e={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},$t===null?ge.memoizedState=$t=e:$t=$t.next=e}return $t}function Lm(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function pd(e){var t=Jc;return Jc+=1,Pl===null&&(Pl=[]),e=WI(Pl,e,t),t=ge,($t===null?t.memoizedState:$t.next)===null&&(t=t.alternate,se.H=t===null||t.memoizedState===null?TE:Ay),e}function Im(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return pd(e);if(e.$$typeof===sn)return Rr(e)}throw Error(D(438,String(e)))}function Iy(e){var t=null,r=ge.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var a=ge.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=Lm(),ge.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0)for(r=t.data[t.index]=Array(e),a=0;a<e;a++)r[a]=N4;return t.index++,r}function gn(e,t){return typeof t=="function"?t(e):t}function Op(e){var t=Ut();return Ey(t,ot,e)}function Ey(e,t,r){var a=e.queue;if(a===null)throw Error(D(311));a.lastRenderedReducer=r;var o=e.baseQueue,n=a.pending;if(n!==null){if(o!==null){var i=o.next;o.next=n.next,n.next=i}t.baseQueue=o=n,a.pending=null}if(n=e.baseState,o===null)e.memoizedState=n;else{t=o.next;var s=i=null,l=null,u=t,c=!1;do{var d=u.lane&-536870913;if(d!==u.lane?(Me&d)===d:(mn&d)===d){var f=u.revertLane;if(f===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===Ul&&(c=!0);else if((mn&f)===f){u=u.next,f===Ul&&(c=!0);continue}else d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(s=l=d,i=n):l=l.next=d,ge.lanes|=f,vi|=f;d=u.action,ds&&r(n,d),n=u.hasEagerState?u.eagerState:r(n,d)}else f={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(s=l=f,i=n):l=l.next=f,ge.lanes|=d,vi|=d;u=u.next}while(u!==null&&u!==t);if(l===null?i=n:l.next=s,!xa(n,e.memoizedState)&&(Wt=!0,c&&(r=Bl,r!==null)))throw r;e.memoizedState=n,e.baseState=i,e.baseQueue=l,a.lastRenderedState=n}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function N0(e){var t=Ut(),r=t.queue;if(r===null)throw Error(D(311));r.lastRenderedReducer=e;var a=r.dispatch,o=r.pending,n=t.memoizedState;if(o!==null){r.pending=null;var i=o=o.next;do n=e(n,i.action),i=i.next;while(i!==o);xa(n,t.memoizedState)||(Wt=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),r.lastRenderedState=n}return[n,a]}function tE(e,t,r){var a=ge,o=Ut(),n=Pe;if(n){if(r===void 0)throw Error(D(407));r=r()}else r=t();var i=!xa((ot||o).memoizedState,r);if(i&&(o.memoizedState=r,Wt=!0),o=o.queue,_y(oE.bind(null,a,o,e),[e]),o.getSnapshot!==t||i||$t!==null&&$t.memoizedState.tag&1){if(a.flags|=2048,Vl(9,{destroy:void 0},aE.bind(null,a,o,r,t),null),st===null)throw Error(D(349));n||(mn&127)!==0||rE(a,t,r)}return r}function rE(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=ge.updateQueue,t===null?(t=Lm(),ge.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function aE(e,t,r,a){t.value=r,t.getSnapshot=a,nE(t)&&iE(e)}function oE(e,t,r){return r(function(){nE(t)&&iE(e)})}function nE(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!xa(e,r)}catch{return!0}}function iE(e){var t=vs(e,2);t!==null&&ta(t,e,2)}function wb(e){var t=jr();if(typeof e=="function"){var r=e;if(e=r(),ds){Jn(!0);try{r()}finally{Jn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:e},t}function sE(e,t,r,a){return e.baseState=r,Ey(e,ot,typeof a=="function"?a:gn)}function eP(e,t,r,a,o){if(_m(e))throw Error(D(485));if(e=t.action,e!==null){var n={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};se.T!==null?r(!0):n.isTransition=!1,a(n),r=t.pending,r===null?(n.next=t.pending=n,lE(t,n)):(n.next=r.next,t.pending=r.next=n)}}function lE(e,t){var r=t.action,a=t.payload,o=e.state;if(t.isTransition){var n=se.T,i={};se.T=i;try{var s=r(o,a),l=se.S;l!==null&&l(i,s),sL(e,t,s)}catch(u){Tb(e,t,u)}finally{n!==null&&i.types!==null&&(n.types=i.types),se.T=n}}else try{n=r(o,a),sL(e,t,n)}catch(u){Tb(e,t,u)}}function sL(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(a){lL(e,t,a)},function(a){return Tb(e,t,a)}):lL(e,t,r)}function lL(e,t,r){t.status="fulfilled",t.value=r,uE(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,lE(e,r)))}function Tb(e,t,r){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=r,uE(t),t=t.next;while(t!==a)}e.action=null}function uE(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function cE(e,t){return t}function uL(e,t){if(Pe){var r=st.formState;if(r!==null){e:{var a=ge;if(Pe){if(mt){t:{for(var o=mt,n=za;o.nodeType!==8;){if(!n){o=null;break t}if(o=qa(o.nextSibling),o===null){o=null;break t}}n=o.data,o=n==="F!"||n==="F"?o:null}if(o){mt=qa(o.nextSibling),a=o.data==="F!";break e}}mi(a)}a=!1}a&&(t=r[0])}}return r=jr(),r.memoizedState=r.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cE,lastRenderedState:t},r.queue=a,r=_E.bind(null,ge,a),a.dispatch=r,a=wb(!1),n=ky.bind(null,ge,!1,a.queue),a=jr(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,r=eP.bind(null,ge,o,n,r),o.dispatch=r,a.memoizedState=e,[t,r,!1]}function cL(e){var t=Ut();return dE(t,ot,e)}function dE(e,t,r){if(t=Ey(e,t,cE)[0],e=Op(gn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=pd(t)}catch(i){throw i===Ql?Cm:i}else a=t;t=Ut();var o=t.queue,n=o.dispatch;return r!==t.memoizedState&&(ge.flags|=2048,Vl(9,{destroy:void 0},tP.bind(null,o,r),null)),[a,n,e]}function tP(e,t){e.action=t}function dL(e){var t=Ut(),r=ot;if(r!==null)return dE(t,r,e);Ut(),t=t.memoizedState,r=Ut();var a=r.queue.dispatch;return r.memoizedState=e,[t,a,!1]}function Vl(e,t,r,a){return e={tag:e,create:r,deps:a,inst:t,next:null},t=ge.updateQueue,t===null&&(t=Lm(),ge.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(a=r.next,r.next=e,e.next=a,t.lastEffect=e),e}function fE(){return Ut().memoizedState}function Bp(e,t,r,a){var o=jr();ge.flags|=e,o.memoizedState=Vl(1|t,{destroy:void 0},r,a===void 0?null:a)}function Em(e,t,r,a){var o=Ut();a=a===void 0?null:a;var n=o.memoizedState.inst;ot!==null&&a!==null&&yy(a,ot.memoizedState.deps)?o.memoizedState=Vl(t,n,r,a):(ge.flags|=e,o.memoizedState=Vl(1|t,n,r,a))}function fL(e,t){Bp(8390656,8,e,t)}function _y(e,t){Em(2048,8,e,t)}function rP(e){ge.flags|=4;var t=ge.updateQueue;if(t===null)t=Lm(),ge.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function pE(e){var t=Ut().memoizedState;return rP({ref:t,nextImpl:e}),function(){if((je&2)!==0)throw Error(D(440));return t.impl.apply(void 0,arguments)}}function mE(e,t){return Em(4,2,e,t)}function gE(e,t){return Em(4,4,e,t)}function vE(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function hE(e,t,r){r=r!=null?r.concat([e]):null,Em(4,4,vE.bind(null,t,e),r)}function Ry(){}function bE(e,t){var r=Ut();t=t===void 0?null:t;var a=r.memoizedState;return t!==null&&yy(t,a[1])?a[0]:(r.memoizedState=[e,t],e)}function yE(e,t){var r=Ut();t=t===void 0?null:t;var a=r.memoizedState;if(t!==null&&yy(t,a[1]))return a[0];if(a=e(),ds){Jn(!0);try{e()}finally{Jn(!1)}}return r.memoizedState=[a,t],a}function wy(e,t,r){return r===void 0||(mn&1073741824)!==0&&(Me&261930)===0?e.memoizedState=t:(e.memoizedState=r,e=s_(),ge.lanes|=e,vi|=e,r)}function xE(e,t,r,a){return xa(r,t)?r:zl.current!==null?(e=wy(e,r,a),xa(e,t)||(Wt=!0),e):(mn&42)===0||(mn&1073741824)!==0&&(Me&261930)===0?(Wt=!0,e.memoizedState=r):(e=s_(),ge.lanes|=e,vi|=e,t)}function SE(e,t,r,a,o){var n=We.p;We.p=n!==0&&8>n?n:8;var i=se.T,s={};se.T=s,ky(e,!1,t,r);try{var l=o(),u=se.S;if(u!==null&&u(s,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=QF(l,a);Uc(e,t,c,ya(e))}else Uc(e,t,a,ya(e))}catch(d){Uc(e,t,{then:function(){},status:"rejected",reason:d},ya())}finally{We.p=n,i!==null&&s.types!==null&&(i.types=s.types),se.T=i}}function aP(){}function kb(e,t,r,a){if(e.tag!==5)throw Error(D(476));var o=CE(e).queue;SE(e,o,t,as,r===null?aP:function(){return LE(e),r(a)})}function CE(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:as,baseState:as,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:as},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function LE(e){var t=CE(e);t.next===null&&(t=e.alternate.memoizedState),Uc(e,t.next.queue,{},ya())}function Ty(){return Rr(ad)}function IE(){return Ut().memoizedState}function EE(){return Ut().memoizedState}function oP(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=ya();e=ii(r);var a=si(t,e,r);a!==null&&(ta(a,t,r),Dc(a,t,r)),t={cache:my()},e.payload=t;return}t=t.return}}function nP(e,t,r){var a=ya();r={lane:a,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},_m(e)?RE(t,r):(r=cy(e,t,r,a),r!==null&&(ta(r,e,a),wE(r,t,a)))}function _E(e,t,r){var a=ya();Uc(e,t,r,a)}function Uc(e,t,r,a){var o={lane:a,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(_m(e))RE(t,o);else{var n=e.alternate;if(e.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var i=t.lastRenderedState,s=n(i,r);if(o.hasEagerState=!0,o.eagerState=s,xa(s,i))return Sm(e,t,o,0),st===null&&xm(),!1}catch{}finally{}if(r=cy(e,t,o,a),r!==null)return ta(r,e,a),wE(r,t,a),!0}return!1}function ky(e,t,r,a){if(a={lane:2,revertLane:Hy(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},_m(e)){if(t)throw Error(D(479))}else t=cy(e,r,a,2),t!==null&&ta(t,e,2)}function _m(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function RE(e,t){Fl=Jp=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function wE(e,t,r){if((r&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,r|=a,t.lanes=r,pI(e,r)}}var ed={readContext:Rr,use:Im,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useLayoutEffect:Mt,useInsertionEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useSyncExternalStore:Mt,useId:Mt,useHostTransitionStatus:Mt,useFormState:Mt,useActionState:Mt,useOptimistic:Mt,useMemoCache:Mt,useCacheRefresh:Mt};ed.useEffectEvent=Mt;var TE={readContext:Rr,use:Im,useCallback:function(e,t){return jr().memoizedState=[e,t===void 0?null:t],e},useContext:Rr,useEffect:fL,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,Bp(4194308,4,vE.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Bp(4194308,4,e,t)},useInsertionEffect:function(e,t){Bp(4,2,e,t)},useMemo:function(e,t){var r=jr();t=t===void 0?null:t;var a=e();if(ds){Jn(!0);try{e()}finally{Jn(!1)}}return r.memoizedState=[a,t],a},useReducer:function(e,t,r){var a=jr();if(r!==void 0){var o=r(t);if(ds){Jn(!0);try{r(t)}finally{Jn(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=nP.bind(null,ge,e),[a.memoizedState,e]},useRef:function(e){var t=jr();return e={current:e},t.memoizedState=e},useState:function(e){e=wb(e);var t=e.queue,r=_E.bind(null,ge,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:Ry,useDeferredValue:function(e,t){var r=jr();return wy(r,e,t)},useTransition:function(){var e=wb(!1);return e=SE.bind(null,ge,e.queue,!0,!1),jr().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var a=ge,o=jr();if(Pe){if(r===void 0)throw Error(D(407));r=r()}else{if(r=t(),st===null)throw Error(D(349));(Me&127)!==0||rE(a,t,r)}o.memoizedState=r;var n={value:r,getSnapshot:t};return o.queue=n,fL(oE.bind(null,a,n,e),[e]),a.flags|=2048,Vl(9,{destroy:void 0},aE.bind(null,a,n,r,t),null),r},useId:function(){var e=jr(),t=st.identifierPrefix;if(Pe){var r=Po,a=Fo;r=(a&~(1<<32-ba(a)-1)).toString(32)+r,t="_"+t+"R_"+r,r=em++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=ZF++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Ty,useFormState:uL,useActionState:uL,useOptimistic:function(e){var t=jr();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=ky.bind(null,ge,!0,r),r.dispatch=t,[e,t]},useMemoCache:Iy,useCacheRefresh:function(){return jr().memoizedState=oP.bind(null,ge)},useEffectEvent:function(e){var t=jr(),r={impl:e};return t.memoizedState=r,function(){if((je&2)!==0)throw Error(D(440));return r.impl.apply(void 0,arguments)}}},Ay={readContext:Rr,use:Im,useCallback:bE,useContext:Rr,useEffect:_y,useImperativeHandle:hE,useInsertionEffect:mE,useLayoutEffect:gE,useMemo:yE,useReducer:Op,useRef:fE,useState:function(){return Op(gn)},useDebugValue:Ry,useDeferredValue:function(e,t){var r=Ut();return xE(r,ot.memoizedState,e,t)},useTransition:function(){var e=Op(gn)[0],t=Ut().memoizedState;return[typeof e=="boolean"?e:pd(e),t]},useSyncExternalStore:tE,useId:IE,useHostTransitionStatus:Ty,useFormState:cL,useActionState:cL,useOptimistic:function(e,t){var r=Ut();return sE(r,ot,e,t)},useMemoCache:Iy,useCacheRefresh:EE};Ay.useEffectEvent=pE;var kE={readContext:Rr,use:Im,useCallback:bE,useContext:Rr,useEffect:_y,useImperativeHandle:hE,useInsertionEffect:mE,useLayoutEffect:gE,useMemo:yE,useReducer:N0,useRef:fE,useState:function(){return N0(gn)},useDebugValue:Ry,useDeferredValue:function(e,t){var r=Ut();return ot===null?wy(r,e,t):xE(r,ot.memoizedState,e,t)},useTransition:function(){var e=N0(gn)[0],t=Ut().memoizedState;return[typeof e=="boolean"?e:pd(e),t]},useSyncExternalStore:tE,useId:IE,useHostTransitionStatus:Ty,useFormState:dL,useActionState:dL,useOptimistic:function(e,t){var r=Ut();return ot!==null?sE(r,ot,e,t):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:Iy,useCacheRefresh:EE};kE.useEffectEvent=pE;function H0(e,t,r,a){t=e.memoizedState,r=r(a,t),r=r==null?t:gt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Ab={enqueueSetState:function(e,t,r){e=e._reactInternals;var a=ya(),o=ii(a);o.payload=t,r!=null&&(o.callback=r),t=si(e,o,a),t!==null&&(ta(t,e,a),Dc(t,e,a))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var a=ya(),o=ii(a);o.tag=1,o.payload=t,r!=null&&(o.callback=r),t=si(e,o,a),t!==null&&(ta(t,e,a),Dc(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ya(),a=ii(r);a.tag=2,t!=null&&(a.callback=t),t=si(e,a,r),t!==null&&(ta(t,e,r),Dc(t,e,r))}};function pL(e,t,r,a,o,n,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,n,i):t.prototype&&t.prototype.isPureReactComponent?!Yc(r,a)||!Yc(o,n):!0}function mL(e,t,r,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,a),t.state!==e&&Ab.enqueueReplaceState(t,t.state,null)}function fs(e,t){var r=t;if("ref"in t){r={};for(var a in t)a!=="ref"&&(r[a]=t[a])}if(e=e.defaultProps){r===t&&(r=gt({},r));for(var o in e)r[o]===void 0&&(r[o]=e[o])}return r}function AE(e){jp(e)}function OE(e){console.error(e)}function BE(e){jp(e)}function tm(e,t){try{var r=e.onUncaughtError;r(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function gL(e,t,r){try{var a=e.onCaughtError;a(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Ob(e,t,r){return r=ii(r),r.tag=3,r.payload={element:null},r.callback=function(){tm(e,t)},r}function ME(e){return e=ii(e),e.tag=3,e}function FE(e,t,r,a){var o=r.type.getDerivedStateFromError;if(typeof o=="function"){var n=a.value;e.payload=function(){return o(n)},e.callback=function(){gL(t,r,a)}}var i=r.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){gL(t,r,a),typeof o!="function"&&(li===null?li=new Set([this]):li.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function iP(e,t,r,a,o){if(r.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=r.alternate,t!==null&&Xl(t,r,o,!0),r=Sa.current,r!==null){switch(r.tag){case 31:case 13:return Va===null?im():r.alternate===null&&Ft===0&&(Ft=3),r.flags&=-257,r.flags|=65536,r.lanes=o,a===Xp?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([a]):t.add(a),X0(e,a,o)),!1;case 22:return r.flags|=65536,a===Xp?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([a]):r.add(a)),X0(e,a,o)),!1}throw Error(D(435,r.tag))}return X0(e,a,o),im(),!1}if(Pe)return t=Sa.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==yb&&(e=Error(D(422),{cause:a}),Qc(Ua(e,r)))):(a!==yb&&(t=Error(D(423),{cause:a}),Qc(Ua(t,r))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,a=Ua(a,r),o=Ob(e.stateNode,a,o),D0(e,o),Ft!==4&&(Ft=2)),!1;var n=Error(D(520),{cause:a});if(n=Ua(n,r),qc===null?qc=[n]:qc.push(n),Ft!==4&&(Ft=2),t===null)return!0;a=Ua(a,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=o&-o,r.lanes|=e,e=Ob(r.stateNode,a,e),D0(r,e),!1;case 1:if(t=r.type,n=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(li===null||!li.has(n))))return r.flags|=65536,o&=-o,r.lanes|=o,o=ME(o),FE(o,e,r,a),D0(r,o),!1}r=r.return}while(r!==null);return!1}var Oy=Error(D(461)),Wt=!1;function Ir(e,t,r,a){t.child=e===null?YI(t,null,r,a):cs(t,e.child,r,a)}function vL(e,t,r,a,o){r=r.render;var n=t.ref;if("ref"in a){var i={};for(var s in a)s!=="ref"&&(i[s]=a[s])}else i=a;return us(t),a=xy(e,t,r,i,n,o),s=Sy(),e!==null&&!Wt?(Cy(e,t,o),vn(e,t,o)):(Pe&&s&&fy(t),t.flags|=1,Ir(e,t,a,o),t.child)}function hL(e,t,r,a,o){if(e===null){var n=r.type;return typeof n=="function"&&!dy(n)&&n.defaultProps===void 0&&r.compare===null?(t.tag=15,t.type=n,PE(e,t,n,a,o)):(e=kp(r.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(n=e.child,!By(e,o)){var i=n.memoizedProps;if(r=r.compare,r=r!==null?r:Yc,r(i,a)&&e.ref===t.ref)return vn(e,t,o)}return t.flags|=1,e=cn(n,a),e.ref=t.ref,e.return=t,t.child=e}function PE(e,t,r,a,o){if(e!==null){var n=e.memoizedProps;if(Yc(n,a)&&e.ref===t.ref)if(Wt=!1,t.pendingProps=a=n,By(e,o))(e.flags&131072)!==0&&(Wt=!0);else return t.lanes=e.lanes,vn(e,t,o)}return Bb(e,t,r,a,o)}function DE(e,t,r,a){var o=a.children,n=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(n=n!==null?n.baseLanes|r:r,e!==null){for(a=t.child=e.child,o=0;a!==null;)o=o|a.lanes|a.childLanes,a=a.sibling;a=o&~n}else a=0,t.child=null;return bL(e,t,n,r,a)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ap(t,n!==null?n.cachePool:null),n!==null?iL(t,n):_b(),ZI(t);else return a=t.lanes=536870912,bL(e,t,n!==null?n.baseLanes|r:r,r,a)}else n!==null?(Ap(t,n.cachePool),iL(t,n),Qn(t),t.memoizedState=null):(e!==null&&Ap(t,null),_b(),Qn(t));return Ir(e,t,o,r),t.child}function Ac(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function bL(e,t,r,a,o){var n=gy();return n=n===null?null:{parent:jt._currentValue,pool:n},t.memoizedState={baseLanes:r,cachePool:n},e!==null&&Ap(t,null),_b(),ZI(t),e!==null&&Xl(e,t,a,!0),t.childLanes=o,null}function Mp(e,t){return t=rm({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function yL(e,t,r){return cs(t,e.child,null,r),e=Mp(t,t.pendingProps),e.flags|=2,pa(t),t.memoizedState=null,e}function sP(e,t,r){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Pe){if(a.mode==="hidden")return e=Mp(t,a),t.lanes=536870912,Ac(null,e);if(Rb(t),(e=mt)?(e=T_(e,za),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:pi!==null?{id:Fo,overflow:Po}:null,retryLane:536870912,hydrationErrors:null},r=VI(e),r.return=t,t.child=r,_r=t,mt=null)):e=null,e===null)throw mi(t);return t.lanes=536870912,null}return Mp(t,a)}var n=e.memoizedState;if(n!==null){var i=n.dehydrated;if(Rb(t),o)if(t.flags&256)t.flags&=-257,t=yL(e,t,r);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(D(558));else if(Wt||Xl(e,t,r,!1),o=(r&e.childLanes)!==0,Wt||o){if(a=st,a!==null&&(i=mI(a,r),i!==0&&i!==n.retryLane))throw n.retryLane=i,vs(e,i),ta(a,e,i),Oy;im(),t=yL(e,t,r)}else e=n.treeContext,mt=qa(i.nextSibling),_r=t,Pe=!0,ni=null,za=!1,e!==null&&$I(t,e),t=Mp(t,a),t.flags|=4096;return t}return e=cn(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Fp(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(D(284));(e===null||e.ref!==r)&&(t.flags|=4194816)}}function Bb(e,t,r,a,o){return us(t),r=xy(e,t,r,a,void 0,o),a=Sy(),e!==null&&!Wt?(Cy(e,t,o),vn(e,t,o)):(Pe&&a&&fy(t),t.flags|=1,Ir(e,t,r,o),t.child)}function xL(e,t,r,a,o,n){return us(t),t.updateQueue=null,r=eE(t,a,r,o),JI(e),a=Sy(),e!==null&&!Wt?(Cy(e,t,n),vn(e,t,n)):(Pe&&a&&fy(t),t.flags|=1,Ir(e,t,r,n),t.child)}function SL(e,t,r,a,o){if(us(t),t.stateNode===null){var n=_l,i=r.contextType;typeof i=="object"&&i!==null&&(n=Rr(i)),n=new r(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Ab,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},hy(t),i=r.contextType,n.context=typeof i=="object"&&i!==null?Rr(i):_l,n.state=t.memoizedState,i=r.getDerivedStateFromProps,typeof i=="function"&&(H0(t,r,i,a),n.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&Ab.enqueueReplaceState(n,n.state,null),Hc(t,a,n,o),Nc(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){n=t.stateNode;var s=t.memoizedProps,l=fs(r,s);n.props=l;var u=n.context,c=r.contextType;i=_l,typeof c=="object"&&c!==null&&(i=Rr(c));var d=r.getDerivedStateFromProps;c=typeof d=="function"||typeof n.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,c||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(s||u!==i)&&mL(t,n,a,i),Kn=!1;var f=t.memoizedState;n.state=f,Hc(t,a,n,o),Nc(),u=t.memoizedState,s||f!==u||Kn?(typeof d=="function"&&(H0(t,r,d,a),u=t.memoizedState),(l=Kn||pL(t,r,l,a,f,u,i))?(c||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=u),n.props=a,n.state=u,n.context=i,a=l):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,Ib(e,t),i=t.memoizedProps,c=fs(r,i),n.props=c,d=t.pendingProps,f=n.context,u=r.contextType,l=_l,typeof u=="object"&&u!==null&&(l=Rr(u)),s=r.getDerivedStateFromProps,(u=typeof s=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==d||f!==l)&&mL(t,n,a,l),Kn=!1,f=t.memoizedState,n.state=f,Hc(t,a,n,o),Nc();var m=t.memoizedState;i!==d||f!==m||Kn||e!==null&&e.dependencies!==null&&Yp(e.dependencies)?(typeof s=="function"&&(H0(t,r,s,a),m=t.memoizedState),(c=Kn||pL(t,r,c,a,f,m,l)||e!==null&&e.dependencies!==null&&Yp(e.dependencies))?(u||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,m,l),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,m,l)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=m),n.props=a,n.state=m,n.context=l,a=c):(typeof n.componentDidUpdate!="function"||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),a=!1)}return n=a,Fp(e,t),a=(t.flags&128)!==0,n||a?(n=t.stateNode,r=a&&typeof r.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,e!==null&&a?(t.child=cs(t,e.child,null,o),t.child=cs(t,null,r,o)):Ir(e,t,r,o),t.memoizedState=n.state,e=t.child):e=vn(e,t,o),e}function CL(e,t,r,a){return ls(),t.flags|=256,Ir(e,t,r,a),t.child}var U0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function z0(e){return{baseLanes:e,cachePool:jI()}}function V0(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=ga),e}function NE(e,t,r){var a=t.pendingProps,o=!1,n=(t.flags&128)!==0,i;if((i=n)||(i=e!==null&&e.memoizedState===null?!1:(Ht.current&2)!==0),i&&(o=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(Pe){if(o?Xn(t):Qn(t),(e=mt)?(e=T_(e,za),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:pi!==null?{id:Fo,overflow:Po}:null,retryLane:536870912,hydrationErrors:null},r=VI(e),r.return=t,t.child=r,_r=t,mt=null)):e=null,e===null)throw mi(t);return Wb(e)?t.lanes=32:t.lanes=536870912,null}var s=a.children;return a=a.fallback,o?(Qn(t),o=t.mode,s=rm({mode:"hidden",children:s},o),a=os(a,o,r,null),s.return=t,a.return=t,s.sibling=a,t.child=s,a=t.child,a.memoizedState=z0(r),a.childLanes=V0(e,i,r),t.memoizedState=U0,Ac(null,a)):(Xn(t),Mb(t,s))}var l=e.memoizedState;if(l!==null&&(s=l.dehydrated,s!==null)){if(n)t.flags&256?(Xn(t),t.flags&=-257,t=q0(e,t,r)):t.memoizedState!==null?(Qn(t),t.child=e.child,t.flags|=128,t=null):(Qn(t),s=a.fallback,o=t.mode,a=rm({mode:"visible",children:a.children},o),s=os(s,o,r,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,cs(t,e.child,null,r),a=t.child,a.memoizedState=z0(r),a.childLanes=V0(e,i,r),t.memoizedState=U0,t=Ac(null,a));else if(Xn(t),Wb(s)){if(i=s.nextSibling&&s.nextSibling.dataset,i)var u=i.dgst;i=u,a=Error(D(419)),a.stack="",a.digest=i,Qc({value:a,source:null,stack:null}),t=q0(e,t,r)}else if(Wt||Xl(e,t,r,!1),i=(r&e.childLanes)!==0,Wt||i){if(i=st,i!==null&&(a=mI(i,r),a!==0&&a!==l.retryLane))throw l.retryLane=a,vs(e,a),ta(i,e,a),Oy;jb(s)||im(),t=q0(e,t,r)}else jb(s)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,mt=qa(s.nextSibling),_r=t,Pe=!0,ni=null,za=!1,e!==null&&$I(t,e),t=Mb(t,a.children),t.flags|=4096);return t}return o?(Qn(t),s=a.fallback,o=t.mode,l=e.child,u=l.sibling,a=cn(l,{mode:"hidden",children:a.children}),a.subtreeFlags=l.subtreeFlags&65011712,u!==null?s=cn(u,s):(s=os(s,o,r,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,Ac(null,a),a=t.child,s=e.child.memoizedState,s===null?s=z0(r):(o=s.cachePool,o!==null?(l=jt._currentValue,o=o.parent!==l?{parent:l,pool:l}:o):o=jI(),s={baseLanes:s.baseLanes|r,cachePool:o}),a.memoizedState=s,a.childLanes=V0(e,i,r),t.memoizedState=U0,Ac(e.child,a)):(Xn(t),r=e.child,e=r.sibling,r=cn(r,{mode:"visible",children:a.children}),r.return=t,r.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=r,t.memoizedState=null,r)}function Mb(e,t){return t=rm({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function rm(e,t){return e=ma(22,e,null,t),e.lanes=0,e}function q0(e,t,r){return cs(t,e.child,null,r),e=Mb(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function LL(e,t,r){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Sb(e.return,t,r)}function $0(e,t,r,a,o,n){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:r,tailMode:o,treeForkCount:n}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=r,i.tailMode=o,i.treeForkCount=n)}function HE(e,t,r){var a=t.pendingProps,o=a.revealOrder,n=a.tail;a=a.children;var i=Ht.current,s=(i&2)!==0;if(s?(i=i&1|2,t.flags|=128):i&=1,ut(Ht,i),Ir(e,t,a,r),a=Pe?Xc:0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&LL(e,r,t);else if(e.tag===19)LL(e,r,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(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Zp(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),$0(t,!1,o,r,n,a);break;case"backwards":case"unstable_legacy-backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Zp(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}$0(t,!0,r,null,n,a);break;case"together":$0(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function vn(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),vi|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(Xl(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,r=cn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=cn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function By(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Yp(e)))}function lP(e,t,r){switch(t.tag){case 3:Vp(t,t.stateNode.containerInfo),Yn(t,jt,e.memoizedState.cache),ls();break;case 27:case 5:lb(t);break;case 4:Vp(t,t.stateNode.containerInfo);break;case 10:Yn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Rb(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Xn(t),t.flags|=128,null):(r&t.child.childLanes)!==0?NE(e,t,r):(Xn(t),e=vn(e,t,r),e!==null?e.sibling:null);Xn(t);break;case 19:var o=(e.flags&128)!==0;if(a=(r&t.childLanes)!==0,a||(Xl(e,t,r,!1),a=(r&t.childLanes)!==0),o){if(a)return HE(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ut(Ht,Ht.current),a)break;return null;case 22:return t.lanes=0,DE(e,t,r,t.pendingProps);case 24:Yn(t,jt,e.memoizedState.cache)}return vn(e,t,r)}function UE(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps)Wt=!0;else{if(!By(e,r)&&(t.flags&128)===0)return Wt=!1,lP(e,t,r);Wt=(e.flags&131072)!==0}else Wt=!1,Pe&&(t.flags&1048576)!==0&&qI(t,Xc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=ts(t.elementType),t.type=e,typeof e=="function")dy(e)?(a=fs(e,a),t.tag=1,t=SL(null,t,e,a,r)):(t.tag=0,t=Bb(null,t,e,a,r));else{if(e!=null){var o=e.$$typeof;if(o===Qb){t.tag=11,t=vL(null,t,e,a,r);break e}else if(o===Zb){t.tag=14,t=hL(null,t,e,a,r);break e}}throw t=ib(e)||e,Error(D(306,t,""))}}return t;case 0:return Bb(e,t,t.type,t.pendingProps,r);case 1:return a=t.type,o=fs(a,t.pendingProps),SL(e,t,a,o,r);case 3:e:{if(Vp(t,t.stateNode.containerInfo),e===null)throw Error(D(387));a=t.pendingProps;var n=t.memoizedState;o=n.element,Ib(e,t),Hc(t,a,null,r);var i=t.memoizedState;if(a=i.cache,Yn(t,jt,a),a!==n.cache&&Cb(t,[jt],r,!0),Nc(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=CL(e,t,a,r);break e}else if(a!==o){o=Ua(Error(D(424)),t),Qc(o),t=CL(e,t,a,r);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(mt=qa(e.firstChild),_r=t,Pe=!0,ni=null,za=!0,r=YI(t,null,a,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(ls(),a===o){t=vn(e,t,r);break e}Ir(e,t,a,r)}t=t.child}return t;case 26:return Fp(e,t),e===null?(r=GL(t.type,null,t.pendingProps,null))?t.memoizedState=r:Pe||(r=t.type,e=t.pendingProps,a=cm(oi.current).createElement(r),a[Er]=t,a[ra]=e,wr(a,r,e),cr(a),t.stateNode=a):t.memoizedState=GL(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return lb(t),e===null&&Pe&&(a=t.stateNode=k_(t.type,t.pendingProps,oi.current),_r=t,za=!0,o=mt,bi(t.type)?(Kb=o,mt=qa(a.firstChild)):mt=o),Ir(e,t,t.pendingProps.children,r),Fp(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Pe&&((o=a=mt)&&(a=PP(a,t.type,t.pendingProps,za),a!==null?(t.stateNode=a,_r=t,mt=qa(a.firstChild),za=!1,o=!0):o=!1),o||mi(t)),lb(t),o=t.type,n=t.pendingProps,i=e!==null?e.memoizedProps:null,a=n.children,$b(o,n)?a=null:i!==null&&$b(o,i)&&(t.flags|=32),t.memoizedState!==null&&(o=xy(e,t,JF,null,null,r),ad._currentValue=o),Fp(e,t),Ir(e,t,a,r),t.child;case 6:return e===null&&Pe&&((e=r=mt)&&(r=DP(r,t.pendingProps,za),r!==null?(t.stateNode=r,_r=t,mt=null,e=!0):e=!1),e||mi(t)),null;case 13:return NE(e,t,r);case 4:return Vp(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=cs(t,null,a,r):Ir(e,t,a,r),t.child;case 11:return vL(e,t,t.type,t.pendingProps,r);case 7:return Ir(e,t,t.pendingProps,r),t.child;case 8:return Ir(e,t,t.pendingProps.children,r),t.child;case 12:return Ir(e,t,t.pendingProps.children,r),t.child;case 10:return a=t.pendingProps,Yn(t,t.type,a.value),Ir(e,t,a.children,r),t.child;case 9:return o=t.type._context,a=t.pendingProps.children,us(t),o=Rr(o),a=a(o),t.flags|=1,Ir(e,t,a,r),t.child;case 14:return hL(e,t,t.type,t.pendingProps,r);case 15:return PE(e,t,t.type,t.pendingProps,r);case 19:return HE(e,t,r);case 31:return sP(e,t,r);case 22:return DE(e,t,r,t.pendingProps);case 24:return us(t),a=Rr(jt),e===null?(o=gy(),o===null&&(o=st,n=my(),o.pooledCache=n,n.refCount++,n!==null&&(o.pooledCacheLanes|=r),o=n),t.memoizedState={parent:a,cache:o},hy(t),Yn(t,jt,o)):((e.lanes&r)!==0&&(Ib(e,t),Hc(t,null,null,r),Nc()),o=e.memoizedState,n=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Yn(t,jt,a)):(a=n.cache,Yn(t,jt,a),a!==o.cache&&Cb(t,[jt],r,!0))),Ir(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(D(156,t.tag))}function en(e){e.flags|=4}function G0(e,t,r,a,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(c_())e.flags|=8192;else throw is=Xp,vy}else e.flags&=-16777217}function IL(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!B_(t))if(c_())e.flags|=8192;else throw is=Xp,vy}function yp(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?dI():536870912,e.lanes|=t,ql|=t)}function Ic(e,t){if(!Pe)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function pt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,a=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=r,t}function uP(e,t,r){var a=t.pendingProps;switch(py(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(t),null;case 1:return pt(t),null;case 3:return r=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),dn(jt),Dl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ml(t)?en(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,P0())),pt(t),null;case 26:var o=t.type,n=t.memoizedState;return e===null?(en(t),n!==null?(pt(t),IL(t,n)):(pt(t),G0(t,o,null,a,r))):n?n!==e.memoizedState?(en(t),pt(t),IL(t,n)):(pt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&en(t),pt(t),G0(t,o,e,a,r)),null;case 27:if(qp(t),r=oi.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&en(t);else{if(!a){if(t.stateNode===null)throw Error(D(166));return pt(t),null}e=No.current,ml(t)?J2(t,e):(e=k_(o,a,r),t.stateNode=e,en(t))}return pt(t),null;case 5:if(qp(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&en(t);else{if(!a){if(t.stateNode===null)throw Error(D(166));return pt(t),null}if(n=No.current,ml(t))J2(t,n);else{var i=cm(oi.current);switch(n){case 1:n=i.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:n=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":n=i.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":n=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":n=i.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?i.createElement(o,{is:a.is}):i.createElement(o)}}n[Er]=t,n[ra]=a;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=n;e:switch(wr(n,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&en(t)}}return pt(t),G0(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&en(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(D(166));if(e=oi.current,ml(t)){if(e=t.stateNode,r=t.memoizedProps,a=null,o=_r,o!==null)switch(o.tag){case 27:case 5:a=o.memoizedProps}e[Er]=t,e=!!(e.nodeValue===r||a!==null&&a.suppressHydrationWarning===!0||__(e.nodeValue,r)),e||mi(t,!0)}else e=cm(e).createTextNode(a),e[Er]=t,t.stateNode=e}return pt(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(a=ml(t),r!==null){if(e===null){if(!a)throw Error(D(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(557));e[Er]=t}else ls(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pt(t),e=!1}else r=P0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(pa(t),t):(pa(t),null);if((t.flags&128)!==0)throw Error(D(558))}return pt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=ml(t),a!==null&&a.dehydrated!==null){if(e===null){if(!o)throw Error(D(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(D(317));o[Er]=t}else ls(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pt(t),o=!1}else o=P0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(pa(t),t):(pa(t),null)}return pa(t),(t.flags&128)!==0?(t.lanes=r,t):(r=a!==null,e=e!==null&&e.memoizedState!==null,r&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==o&&(a.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),yp(t,t.updateQueue),pt(t),null);case 4:return Dl(),e===null&&Uy(t.stateNode.containerInfo),pt(t),null;case 10:return dn(t.type),pt(t),null;case 19:if(dr(Ht),a=t.memoizedState,a===null)return pt(t),null;if(o=(t.flags&128)!==0,n=a.rendering,n===null)if(o)Ic(a,!1);else{if(Ft!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(n=Zp(e),n!==null){for(t.flags|=128,Ic(a,!1),e=n.updateQueue,t.updateQueue=e,yp(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)zI(r,e),r=r.sibling;return ut(Ht,Ht.current&1|2),Pe&&on(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&va()>om&&(t.flags|=128,o=!0,Ic(a,!1),t.lanes=4194304)}else{if(!o)if(e=Zp(n),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,yp(t,e),Ic(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!Pe)return pt(t),null}else 2*va()-a.renderingStartTime>om&&r!==536870912&&(t.flags|=128,o=!0,Ic(a,!1),t.lanes=4194304);a.isBackwards?(n.sibling=t.child,t.child=n):(e=a.last,e!==null?e.sibling=n:t.child=n,a.last=n)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=va(),e.sibling=null,r=Ht.current,ut(Ht,o?r&1|2:r&1),Pe&&on(t,a.treeForkCount),e):(pt(t),null);case 22:case 23:return pa(t),by(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(r&536870912)!==0&&(t.flags&128)===0&&(pt(t),t.subtreeFlags&6&&(t.flags|=8192)):pt(t),r=t.updateQueue,r!==null&&yp(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==r&&(t.flags|=2048),e!==null&&dr(ns),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),dn(jt),pt(t),null;case 25:return null;case 30:return null}throw Error(D(156,t.tag))}function cP(e,t){switch(py(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dn(jt),Dl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return qp(t),null;case 31:if(t.memoizedState!==null){if(pa(t),t.alternate===null)throw Error(D(340));ls()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(pa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));ls()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return dr(Ht),null;case 4:return Dl(),null;case 10:return dn(t.type),null;case 22:case 23:return pa(t),by(),e!==null&&dr(ns),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return dn(jt),null;case 25:return null;default:return null}}function zE(e,t){switch(py(t),t.tag){case 3:dn(jt),Dl();break;case 26:case 27:case 5:qp(t);break;case 4:Dl();break;case 31:t.memoizedState!==null&&pa(t);break;case 13:pa(t);break;case 19:dr(Ht);break;case 10:dn(t.type);break;case 22:case 23:pa(t),by(),e!==null&&dr(ns);break;case 24:dn(jt)}}function md(e,t){try{var r=t.updateQueue,a=r!==null?r.lastEffect:null;if(a!==null){var o=a.next;r=o;do{if((r.tag&e)===e){a=void 0;var n=r.create,i=r.inst;a=n(),i.destroy=a}r=r.next}while(r!==o)}}catch(s){et(t,t.return,s)}}function gi(e,t,r){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var n=o.next;a=n;do{if((a.tag&e)===e){var i=a.inst,s=i.destroy;if(s!==void 0){i.destroy=void 0,o=t;var l=r,u=s;try{u()}catch(c){et(o,l,c)}}}a=a.next}while(a!==n)}}catch(c){et(t,t.return,c)}}function VE(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{QI(t,r)}catch(a){et(e,e.return,a)}}}function qE(e,t,r){r.props=fs(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(a){et(e,t,a)}}function zc(e,t){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof r=="function"?e.refCleanup=r(a):r.current=a}}catch(o){et(e,t,o)}}function Do(e,t){var r=e.ref,a=e.refCleanup;if(r!==null)if(typeof a=="function")try{a()}catch(o){et(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(o){et(e,t,o)}else r.current=null}function $E(e){var t=e.type,r=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&a.focus();break e;case"img":r.src?a.src=r.src:r.srcSet&&(a.srcset=r.srcSet)}}catch(o){et(e,e.return,o)}}function j0(e,t,r){try{var a=e.stateNode;kP(a,e.type,r,t),a[ra]=t}catch(o){et(e,e.return,o)}}function GE(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&bi(e.type)||e.tag===4}function W0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||GE(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&&bi(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 Fb(e,t,r){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ln));else if(a!==4&&(a===27&&bi(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(Fb(e,t,r),e=e.sibling;e!==null;)Fb(e,t,r),e=e.sibling}function am(e,t,r){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(a!==4&&(a===27&&bi(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(am(e,t,r),e=e.sibling;e!==null;)am(e,t,r),e=e.sibling}function jE(e){var t=e.stateNode,r=e.memoizedProps;try{for(var a=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);wr(t,a,r),t[Er]=e,t[ra]=r}catch(n){et(e,e.return,n)}}var nn=!1,Gt=!1,K0=!1,EL=typeof WeakSet=="function"?WeakSet:Set,ur=null;function dP(e,t){if(e=e.containerInfo,Vb=mm,e=BI(e),ly(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var o=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{r.nodeType,n.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var m;d!==r||o!==0&&d.nodeType!==3||(s=i+o),d!==n||a!==0&&d.nodeType!==3||(l=i+a),d.nodeType===3&&(i+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===e)break t;if(f===r&&++u===o&&(s=i),f===n&&++c===a&&(l=i),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(qb={focusedElem:e,selectionRange:r},mm=!1,ur=t;ur!==null;)if(t=ur,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ur=e;else for(;ur!==null;){switch(t=ur,n=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(r=0;r<e.length;r++)o=e[r],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&n!==null){e=void 0,r=t,o=n.memoizedProps,n=n.memoizedState,a=r.stateNode;try{var h=fs(r.type,o);e=a.getSnapshotBeforeUpdate(h,n),a.__reactInternalSnapshotBeforeUpdate=e}catch(y){et(r,r.return,y)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,r=e.nodeType,r===9)Gb(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Gb(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(D(163))}if(e=t.sibling,e!==null){e.return=t.return,ur=e;break}ur=t.return}}function WE(e,t,r){var a=r.flags;switch(r.tag){case 0:case 11:case 15:rn(e,r),a&4&&md(5,r);break;case 1:if(rn(e,r),a&4)if(e=r.stateNode,t===null)try{e.componentDidMount()}catch(i){et(r,r.return,i)}else{var o=fs(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){et(r,r.return,i)}}a&64&&VE(r),a&512&&zc(r,r.return);break;case 3:if(rn(e,r),a&64&&(e=r.updateQueue,e!==null)){if(t=null,r.child!==null)switch(r.child.tag){case 27:case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}try{QI(e,t)}catch(i){et(r,r.return,i)}}break;case 27:t===null&&a&4&&jE(r);case 26:case 5:rn(e,r),t===null&&a&4&&$E(r),a&512&&zc(r,r.return);break;case 12:rn(e,r);break;case 31:rn(e,r),a&4&&XE(e,r);break;case 13:rn(e,r),a&4&&QE(e,r),a&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=xP.bind(null,r),NP(e,r))));break;case 22:if(a=r.memoizedState!==null||nn,!a){t=t!==null&&t.memoizedState!==null||Gt,o=nn;var n=Gt;nn=a,(Gt=t)&&!n?an(e,r,(r.subtreeFlags&8772)!==0):rn(e,r),nn=o,Gt=n}break;case 30:break;default:rn(e,r)}}function KE(e){var t=e.alternate;t!==null&&(e.alternate=null,KE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ry(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 Et=null,Jr=!1;function tn(e,t,r){for(r=r.child;r!==null;)YE(e,t,r),r=r.sibling}function YE(e,t,r){if(ha&&typeof ha.onCommitFiberUnmount=="function")try{ha.onCommitFiberUnmount(sd,r)}catch{}switch(r.tag){case 26:Gt||Do(r,t),tn(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Gt||Do(r,t);var a=Et,o=Jr;bi(r.type)&&(Et=r.stateNode,Jr=!1),tn(e,t,r),Gc(r.stateNode),Et=a,Jr=o;break;case 5:Gt||Do(r,t);case 6:if(a=Et,o=Jr,Et=null,tn(e,t,r),Et=a,Jr=o,Et!==null)if(Jr)try{(Et.nodeType===9?Et.body:Et.nodeName==="HTML"?Et.ownerDocument.body:Et).removeChild(r.stateNode)}catch(n){et(r,t,n)}else try{Et.removeChild(r.stateNode)}catch(n){et(r,t,n)}break;case 18:Et!==null&&(Jr?(e=Et,UL(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),Wl(e)):UL(Et,r.stateNode));break;case 4:a=Et,o=Jr,Et=r.stateNode.containerInfo,Jr=!0,tn(e,t,r),Et=a,Jr=o;break;case 0:case 11:case 14:case 15:gi(2,r,t),Gt||gi(4,r,t),tn(e,t,r);break;case 1:Gt||(Do(r,t),a=r.stateNode,typeof a.componentWillUnmount=="function"&&qE(r,t,a)),tn(e,t,r);break;case 21:tn(e,t,r);break;case 22:Gt=(a=Gt)||r.memoizedState!==null,tn(e,t,r),Gt=a;break;default:tn(e,t,r)}}function XE(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Wl(e)}catch(r){et(t,t.return,r)}}}function QE(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Wl(e)}catch(r){et(t,t.return,r)}}function fP(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new EL),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new EL),t;default:throw Error(D(435,e.tag))}}function xp(e,t){var r=fP(e);t.forEach(function(a){if(!r.has(a)){r.add(a);var o=SP.bind(null,e,a);a.then(o,o)}})}function Qr(e,t){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=r[a],n=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 27:if(bi(s.type)){Et=s.stateNode,Jr=!1;break e}break;case 5:Et=s.stateNode,Jr=!1;break e;case 3:case 4:Et=s.stateNode.containerInfo,Jr=!0;break e}s=s.return}if(Et===null)throw Error(D(160));YE(n,i,o),Et=null,Jr=!1,n=o.alternate,n!==null&&(n.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ZE(t,e),t=t.sibling}var fo=null;function ZE(e,t){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Qr(t,e),Zr(e),a&4&&(gi(3,e,e.return),md(3,e),gi(5,e,e.return));break;case 1:Qr(t,e),Zr(e),a&512&&(Gt||r===null||Do(r,r.return)),a&64&&nn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?a:r.concat(a))));break;case 26:var o=fo;if(Qr(t,e),Zr(e),a&512&&(Gt||r===null||Do(r,r.return)),a&4){var n=r!==null?r.memoizedState:null;if(a=e.memoizedState,r===null)if(a===null)if(e.stateNode===null){e:{a=e.type,r=e.memoizedProps,o=o.ownerDocument||o;t:switch(a){case"title":n=o.getElementsByTagName("title")[0],(!n||n[cd]||n[Er]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=o.createElement(a),o.head.insertBefore(n,o.querySelector("head > title"))),wr(n,a,r),n[Er]=e,cr(n),a=n;break e;case"link":var i=WL("link","href",o).get(a+(r.href||""));if(i){for(var s=0;s<i.length;s++)if(n=i[s],n.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&n.getAttribute("rel")===(r.rel==null?null:r.rel)&&n.getAttribute("title")===(r.title==null?null:r.title)&&n.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){i.splice(s,1);break t}}n=o.createElement(a),wr(n,a,r),o.head.appendChild(n);break;case"meta":if(i=WL("meta","content",o).get(a+(r.content||""))){for(s=0;s<i.length;s++)if(n=i[s],n.getAttribute("content")===(r.content==null?null:""+r.content)&&n.getAttribute("name")===(r.name==null?null:r.name)&&n.getAttribute("property")===(r.property==null?null:r.property)&&n.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&n.getAttribute("charset")===(r.charSet==null?null:r.charSet)){i.splice(s,1);break t}}n=o.createElement(a),wr(n,a,r),o.head.appendChild(n);break;default:throw Error(D(468,a))}n[Er]=e,cr(n),a=n}e.stateNode=a}else KL(o,e.type,e.stateNode);else e.stateNode=jL(o,a,e.memoizedProps);else n!==a?(n===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):n.count--,a===null?KL(o,e.type,e.stateNode):jL(o,a,e.memoizedProps)):a===null&&e.stateNode!==null&&j0(e,e.memoizedProps,r.memoizedProps)}break;case 27:Qr(t,e),Zr(e),a&512&&(Gt||r===null||Do(r,r.return)),r!==null&&a&4&&j0(e,e.memoizedProps,r.memoizedProps);break;case 5:if(Qr(t,e),Zr(e),a&512&&(Gt||r===null||Do(r,r.return)),e.flags&32){o=e.stateNode;try{Hl(o,"")}catch(h){et(e,e.return,h)}}a&4&&e.stateNode!=null&&(o=e.memoizedProps,j0(e,o,r!==null?r.memoizedProps:o)),a&1024&&(K0=!0);break;case 6:if(Qr(t,e),Zr(e),a&4){if(e.stateNode===null)throw Error(D(162));a=e.memoizedProps,r=e.stateNode;try{r.nodeValue=a}catch(h){et(e,e.return,h)}}break;case 3:if(Np=null,o=fo,fo=dm(t.containerInfo),Qr(t,e),fo=o,Zr(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{Wl(t.containerInfo)}catch(h){et(e,e.return,h)}K0&&(K0=!1,JE(e));break;case 4:a=fo,fo=dm(e.stateNode.containerInfo),Qr(t,e),Zr(e),fo=a;break;case 12:Qr(t,e),Zr(e);break;case 31:Qr(t,e),Zr(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,xp(e,a)));break;case 13:Qr(t,e),Zr(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Rm=va()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,xp(e,a)));break;case 22:o=e.memoizedState!==null;var l=r!==null&&r.memoizedState!==null,u=nn,c=Gt;if(nn=u||o,Gt=c||l,Qr(t,e),Gt=c,nn=u,Zr(e),a&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(r===null||l||nn||Gt||rs(e)),r=null,t=e;;){if(t.tag===5||t.tag===26){if(r===null){l=r=t;try{if(n=l.stateNode,o)i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{s=l.stateNode;var d=l.memoizedProps.style,f=d!=null&&d.hasOwnProperty("display")?d.display:null;s.style.display=f==null||typeof f=="boolean"?"":(""+f).trim()}}catch(h){et(l,l.return,h)}}}else if(t.tag===6){if(r===null){l=t;try{l.stateNode.nodeValue=o?"":l.memoizedProps}catch(h){et(l,l.return,h)}}}else if(t.tag===18){if(r===null){l=t;try{var m=l.stateNode;o?zL(m,!0):zL(l.stateNode,!1)}catch(h){et(l,l.return,h)}}}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;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(r=a.retryQueue,r!==null&&(a.retryQueue=null,xp(e,r))));break;case 19:Qr(t,e),Zr(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,xp(e,a)));break;case 30:break;case 21:break;default:Qr(t,e),Zr(e)}}function Zr(e){var t=e.flags;if(t&2){try{for(var r,a=e.return;a!==null;){if(GE(a)){r=a;break}a=a.return}if(r==null)throw Error(D(160));switch(r.tag){case 27:var o=r.stateNode,n=W0(e);am(e,n,o);break;case 5:var i=r.stateNode;r.flags&32&&(Hl(i,""),r.flags&=-33);var s=W0(e);am(e,s,i);break;case 3:case 4:var l=r.stateNode.containerInfo,u=W0(e);Fb(e,u,l);break;default:throw Error(D(161))}}catch(c){et(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function JE(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;JE(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function rn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)WE(e,t.alternate,t),t=t.sibling}function rs(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:gi(4,t,t.return),rs(t);break;case 1:Do(t,t.return);var r=t.stateNode;typeof r.componentWillUnmount=="function"&&qE(t,t.return,r),rs(t);break;case 27:Gc(t.stateNode);case 26:case 5:Do(t,t.return),rs(t);break;case 22:t.memoizedState===null&&rs(t);break;case 30:rs(t);break;default:rs(t)}e=e.sibling}}function an(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,o=e,n=t,i=n.flags;switch(n.tag){case 0:case 11:case 15:an(o,n,r),md(4,n);break;case 1:if(an(o,n,r),a=n,o=a.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(u){et(a,a.return,u)}if(a=n,o=a.updateQueue,o!==null){var s=a.stateNode;try{var l=o.shared.hiddenCallbacks;if(l!==null)for(o.shared.hiddenCallbacks=null,o=0;o<l.length;o++)XI(l[o],s)}catch(u){et(a,a.return,u)}}r&&i&64&&VE(n),zc(n,n.return);break;case 27:jE(n);case 26:case 5:an(o,n,r),r&&a===null&&i&4&&$E(n),zc(n,n.return);break;case 12:an(o,n,r);break;case 31:an(o,n,r),r&&i&4&&XE(o,n);break;case 13:an(o,n,r),r&&i&4&&QE(o,n);break;case 22:n.memoizedState===null&&an(o,n,r),zc(n,n.return);break;case 30:break;default:an(o,n,r)}t=t.sibling}}function My(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&fd(r))}function Fy(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&fd(e))}function co(e,t,r,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)e_(e,t,r,a),t=t.sibling}function e_(e,t,r,a){var o=t.flags;switch(t.tag){case 0:case 11:case 15:co(e,t,r,a),o&2048&&md(9,t);break;case 1:co(e,t,r,a);break;case 3:co(e,t,r,a),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&fd(e)));break;case 12:if(o&2048){co(e,t,r,a),e=t.stateNode;try{var n=t.memoizedProps,i=n.id,s=n.onPostCommit;typeof s=="function"&&s(i,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(l){et(t,t.return,l)}}else co(e,t,r,a);break;case 31:co(e,t,r,a);break;case 13:co(e,t,r,a);break;case 23:break;case 22:n=t.stateNode,i=t.alternate,t.memoizedState!==null?n._visibility&2?co(e,t,r,a):Vc(e,t):n._visibility&2?co(e,t,r,a):(n._visibility|=2,vl(e,t,r,a,(t.subtreeFlags&10256)!==0||!1)),o&2048&&My(i,t);break;case 24:co(e,t,r,a),o&2048&&Fy(t.alternate,t);break;default:co(e,t,r,a)}}function vl(e,t,r,a,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var n=e,i=t,s=r,l=a,u=i.flags;switch(i.tag){case 0:case 11:case 15:vl(n,i,s,l,o),md(8,i);break;case 23:break;case 22:var c=i.stateNode;i.memoizedState!==null?c._visibility&2?vl(n,i,s,l,o):Vc(n,i):(c._visibility|=2,vl(n,i,s,l,o)),o&&u&2048&&My(i.alternate,i);break;case 24:vl(n,i,s,l,o),o&&u&2048&&Fy(i.alternate,i);break;default:vl(n,i,s,l,o)}t=t.sibling}}function Vc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var r=e,a=t,o=a.flags;switch(a.tag){case 22:Vc(r,a),o&2048&&My(a.alternate,a);break;case 24:Vc(r,a),o&2048&&Fy(a.alternate,a);break;default:Vc(r,a)}t=t.sibling}}var Oc=8192;function gl(e,t,r){if(e.subtreeFlags&Oc)for(e=e.child;e!==null;)t_(e,t,r),e=e.sibling}function t_(e,t,r){switch(e.tag){case 26:gl(e,t,r),e.flags&Oc&&e.memoizedState!==null&&XP(r,fo,e.memoizedState,e.memoizedProps);break;case 5:gl(e,t,r);break;case 3:case 4:var a=fo;fo=dm(e.stateNode.containerInfo),gl(e,t,r),fo=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Oc,Oc=16777216,gl(e,t,r),Oc=a):gl(e,t,r));break;default:gl(e,t,r)}}function r_(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 Ec(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var a=t[r];ur=a,o_(a,e)}r_(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)a_(e),e=e.sibling}function a_(e){switch(e.tag){case 0:case 11:case 15:Ec(e),e.flags&2048&&gi(9,e,e.return);break;case 3:Ec(e);break;case 12:Ec(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Pp(e)):Ec(e);break;default:Ec(e)}}function Pp(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var a=t[r];ur=a,o_(a,e)}r_(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:gi(8,t,t.return),Pp(t);break;case 22:r=t.stateNode,r._visibility&2&&(r._visibility&=-3,Pp(t));break;default:Pp(t)}e=e.sibling}}function o_(e,t){for(;ur!==null;){var r=ur;switch(r.tag){case 0:case 11:case 15:gi(8,r,t);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var a=r.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:fd(r.memoizedState.cache)}if(a=r.child,a!==null)a.return=r,ur=a;else e:for(r=e;ur!==null;){a=ur;var o=a.sibling,n=a.return;if(KE(a),a===r){ur=null;break e}if(o!==null){o.return=n,ur=o;break e}ur=n}}}var pP={getCacheForType:function(e){var t=Rr(jt),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return Rr(jt).controller.signal}},mP=typeof WeakMap=="function"?WeakMap:Map,je=0,st=null,Be=null,Me=0,Je=0,fa=null,ti=!1,Zl=!1,Py=!1,hn=0,Ft=0,vi=0,ss=0,Dy=0,ga=0,ql=0,qc=null,ea=null,Pb=!1,Rm=0,n_=0,om=1/0,nm=null,li=null,er=0,ui=null,$l=null,fn=0,Db=0,Nb=null,i_=null,$c=0,Hb=null;function ya(){return(je&2)!==0&&Me!==0?Me&-Me:se.T!==null?Hy():gI()}function s_(){if(ga===0)if((Me&536870912)===0||Pe){var e=cp;cp<<=1,(cp&3932160)===0&&(cp=262144),ga=e}else ga=536870912;return e=Sa.current,e!==null&&(e.flags|=32),ga}function ta(e,t,r){(e===st&&(Je===2||Je===9)||e.cancelPendingCommit!==null)&&(Gl(e,0),ri(e,Me,ga,!1)),ud(e,r),((je&2)===0||e!==st)&&(e===st&&((je&2)===0&&(ss|=r),Ft===4&&ri(e,Me,ga,!1)),Uo(e))}function l_(e,t,r){if((je&6)!==0)throw Error(D(327));var a=!r&&(t&127)===0&&(t&e.expiredLanes)===0||ld(e,t),o=a?hP(e,t):Y0(e,t,!0),n=a;do{if(o===0){Zl&&!a&&ri(e,t,0,!1);break}else{if(r=e.current.alternate,n&&!gP(r)){o=Y0(e,t,!1),n=!1;continue}if(o===2){if(n=t,e.errorRecoveryDisabledLanes&n)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var s=e;o=qc;var l=s.current.memoizedState.isDehydrated;if(l&&(Gl(s,i).flags|=256),i=Y0(s,i,!1),i!==2){if(Py&&!l){s.errorRecoveryDisabledLanes|=n,ss|=n,o=4;break e}n=ea,ea=o,n!==null&&(ea===null?ea=n:ea.push.apply(ea,n))}o=i}if(n=!1,o!==2)continue}}if(o===1){Gl(e,0),ri(e,t,0,!0);break}e:{switch(a=e,n=o,n){case 0:case 1:throw Error(D(345));case 4:if((t&4194048)!==t)break;case 6:ri(a,t,ga,!ti);break e;case 2:ea=null;break;case 3:case 5:break;default:throw Error(D(329))}if((t&62914560)===t&&(o=Rm+300-va(),10<o)){if(ri(a,t,ga,!ti),vm(a,0,!0)!==0)break e;fn=t,a.timeoutHandle=w_(_L.bind(null,a,r,ea,nm,Pb,t,ga,ss,ql,ti,n,"Throttled",-0,0),o);break e}_L(a,r,ea,nm,Pb,t,ga,ss,ql,ti,n,null,-0,0)}}break}while(!0);Uo(e)}function _L(e,t,r,a,o,n,i,s,l,u,c,d,f,m){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)===16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ln},t_(t,n,d);var h=(n&62914560)===n?Rm-va():(n&4194048)===n?n_-va():0;if(h=QP(d,h),h!==null){fn=n,e.cancelPendingCommit=h(wL.bind(null,e,t,n,r,a,o,i,s,l,c,d,null,f,m)),ri(e,n,i,!u);return}}wL(e,t,n,r,a,o,i,s,l)}function gP(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var a=0;a<r.length;a++){var o=r[a],n=o.getSnapshot;o=o.value;try{if(!xa(n(),o))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 ri(e,t,r,a){t&=~Dy,t&=~ss,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var n=31-ba(o),i=1<<n;a[n]=-1,o&=~i}r!==0&&fI(e,r,t)}function wm(){return(je&6)===0?(gd(0,!1),!1):!0}function Ny(){if(Be!==null){if(Je===0)var e=Be.return;else e=Be,un=hs=null,Ly(e),Ml=null,Zc=0,e=Be;for(;e!==null;)zE(e.alternate,e),e=e.return;Be=null}}function Gl(e,t){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,BP(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),fn=0,Ny(),st=e,Be=r=cn(e.current,null),Me=t,Je=0,fa=null,ti=!1,Zl=ld(e,t),Py=!1,ql=ga=Dy=ss=vi=Ft=0,ea=qc=null,Pb=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var o=31-ba(a),n=1<<o;t|=e[o],a&=~n}return hn=t,xm(),r}function u_(e,t){ge=null,se.H=ed,t===Ql||t===Cm?(t=oL(),Je=3):t===vy?(t=oL(),Je=4):Je=t===Oy?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,fa=t,Be===null&&(Ft=1,tm(e,Ua(t,e.current)))}function c_(){var e=Sa.current;return e===null?!0:(Me&4194048)===Me?Va===null:(Me&62914560)===Me||(Me&536870912)!==0?e===Va:!1}function d_(){var e=se.H;return se.H=ed,e===null?ed:e}function f_(){var e=se.A;return se.A=pP,e}function im(){Ft=4,ti||(Me&4194048)!==Me&&Sa.current!==null||(Zl=!0),(vi&134217727)===0&&(ss&134217727)===0||st===null||ri(st,Me,ga,!1)}function Y0(e,t,r){var a=je;je|=2;var o=d_(),n=f_();(st!==e||Me!==t)&&(nm=null,Gl(e,t)),t=!1;var i=Ft;e:do try{if(Je!==0&&Be!==null){var s=Be,l=fa;switch(Je){case 8:Ny(),i=6;break e;case 3:case 2:case 9:case 6:Sa.current===null&&(t=!0);var u=Je;if(Je=0,fa=null,Tl(e,s,l,u),r&&Zl){i=0;break e}break;default:u=Je,Je=0,fa=null,Tl(e,s,l,u)}}vP(),i=Ft;break}catch(c){u_(e,c)}while(!0);return t&&e.shellSuspendCounter++,un=hs=null,je=a,se.H=o,se.A=n,Be===null&&(st=null,Me=0,xm()),i}function vP(){for(;Be!==null;)p_(Be)}function hP(e,t){var r=je;je|=2;var a=d_(),o=f_();st!==e||Me!==t?(nm=null,om=va()+500,Gl(e,t)):Zl=ld(e,t);e:do try{if(Je!==0&&Be!==null){t=Be;var n=fa;t:switch(Je){case 1:Je=0,fa=null,Tl(e,t,n,1);break;case 2:case 9:if(aL(n)){Je=0,fa=null,RL(t);break}t=function(){Je!==2&&Je!==9||st!==e||(Je=7),Uo(e)},n.then(t,t);break e;case 3:Je=7;break e;case 4:Je=5;break e;case 7:aL(n)?(Je=0,fa=null,RL(t)):(Je=0,fa=null,Tl(e,t,n,7));break;case 5:var i=null;switch(Be.tag){case 26:i=Be.memoizedState;case 5:case 27:var s=Be;if(i?B_(i):s.stateNode.complete){Je=0,fa=null;var l=s.sibling;if(l!==null)Be=l;else{var u=s.return;u!==null?(Be=u,Tm(u)):Be=null}break t}}Je=0,fa=null,Tl(e,t,n,5);break;case 6:Je=0,fa=null,Tl(e,t,n,6);break;case 8:Ny(),Ft=6;break e;default:throw Error(D(462))}}bP();break}catch(c){u_(e,c)}while(!0);return un=hs=null,se.H=a,se.A=o,je=r,Be!==null?0:(st=null,Me=0,xm(),Ft)}function bP(){for(;Be!==null&&!z4();)p_(Be)}function p_(e){var t=UE(e.alternate,e,hn);e.memoizedProps=e.pendingProps,t===null?Tm(e):Be=t}function RL(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=xL(r,t,t.pendingProps,t.type,void 0,Me);break;case 11:t=xL(r,t,t.pendingProps,t.type.render,t.ref,Me);break;case 5:Ly(t);default:zE(r,t),t=Be=zI(t,hn),t=UE(r,t,hn)}e.memoizedProps=e.pendingProps,t===null?Tm(e):Be=t}function Tl(e,t,r,a){un=hs=null,Ly(t),Ml=null,Zc=0;var o=t.return;try{if(iP(e,o,t,r,Me)){Ft=1,tm(e,Ua(r,e.current)),Be=null;return}}catch(n){if(o!==null)throw Be=o,n;Ft=1,tm(e,Ua(r,e.current)),Be=null;return}t.flags&32768?(Pe||a===1?e=!0:Zl||(Me&536870912)!==0?e=!1:(ti=e=!0,(a===2||a===9||a===3||a===6)&&(a=Sa.current,a!==null&&a.tag===13&&(a.flags|=16384))),m_(t,e)):Tm(t)}function Tm(e){var t=e;do{if((t.flags&32768)!==0){m_(t,ti);return}e=t.return;var r=uP(t.alternate,t,hn);if(r!==null){Be=r;return}if(t=t.sibling,t!==null){Be=t;return}Be=t=e}while(t!==null);Ft===0&&(Ft=5)}function m_(e,t){do{var r=cP(e.alternate,e);if(r!==null){r.flags&=32767,Be=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Be=e;return}Be=e=r}while(e!==null);Ft=6,Be=null}function wL(e,t,r,a,o,n,i,s,l){e.cancelPendingCommit=null;do km();while(er!==0);if((je&6)!==0)throw Error(D(327));if(t!==null){if(t===e.current)throw Error(D(177));if(n=t.lanes|t.childLanes,n|=uy,Q4(e,r,n,i,s,l),e===st&&(Be=st=null,Me=0),$l=t,ui=e,fn=r,Db=n,Nb=o,i_=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,CP($p,function(){return y_(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=se.T,se.T=null,o=We.p,We.p=2,i=je,je|=4;try{dP(e,t,r)}finally{je=i,We.p=o,se.T=a}}er=1,g_(),v_(),h_()}}function g_(){if(er===1){er=0;var e=ui,t=$l,r=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||r){r=se.T,se.T=null;var a=We.p;We.p=2;var o=je;je|=4;try{ZE(t,e);var n=qb,i=BI(e.containerInfo),s=n.focusedElem,l=n.selectionRange;if(i!==s&&s&&s.ownerDocument&&OI(s.ownerDocument.documentElement,s)){if(l!==null&&ly(s)){var u=l.start,c=l.end;if(c===void 0&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var m=f.getSelection(),h=s.textContent.length,y=Math.min(l.start,h),S=l.end===void 0?y:Math.min(l.end,h);!m.extend&&y>S&&(i=S,S=y,y=i);var g=X2(s,y),p=X2(s,S);if(g&&p&&(m.rangeCount!==1||m.anchorNode!==g.node||m.anchorOffset!==g.offset||m.focusNode!==p.node||m.focusOffset!==p.offset)){var v=d.createRange();v.setStart(g.node,g.offset),m.removeAllRanges(),y>S?(m.addRange(v),m.extend(p.node,p.offset)):(v.setEnd(p.node,p.offset),m.addRange(v))}}}}for(d=[],m=s;m=m.parentNode;)m.nodeType===1&&d.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}mm=!!Vb,qb=Vb=null}finally{je=o,We.p=a,se.T=r}}e.current=t,er=2}}function v_(){if(er===2){er=0;var e=ui,t=$l,r=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||r){r=se.T,se.T=null;var a=We.p;We.p=2;var o=je;je|=4;try{WE(e,t.alternate,t)}finally{je=o,We.p=a,se.T=r}}er=3}}function h_(){if(er===4||er===3){er=0,V4();var e=ui,t=$l,r=fn,a=i_;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?er=5:(er=0,$l=ui=null,b_(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(li=null),ty(r),t=t.stateNode,ha&&typeof ha.onCommitFiberRoot=="function")try{ha.onCommitFiberRoot(sd,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=se.T,o=We.p,We.p=2,se.T=null;try{for(var n=e.onRecoverableError,i=0;i<a.length;i++){var s=a[i];n(s.value,{componentStack:s.stack})}}finally{se.T=t,We.p=o}}(fn&3)!==0&&km(),Uo(e),o=e.pendingLanes,(r&261930)!==0&&(o&42)!==0?e===Hb?$c++:($c=0,Hb=e):$c=0,gd(0,!1)}}function b_(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,fd(t)))}function km(){return g_(),v_(),h_(),y_()}function y_(){if(er!==5)return!1;var e=ui,t=Db;Db=0;var r=ty(fn),a=se.T,o=We.p;try{We.p=32>r?32:r,se.T=null,r=Nb,Nb=null;var n=ui,i=fn;if(er=0,$l=ui=null,fn=0,(je&6)!==0)throw Error(D(331));var s=je;if(je|=4,a_(n.current),e_(n,n.current,i,r),je=s,gd(0,!1),ha&&typeof ha.onPostCommitFiberRoot=="function")try{ha.onPostCommitFiberRoot(sd,n)}catch{}return!0}finally{We.p=o,se.T=a,b_(e,t)}}function TL(e,t,r){t=Ua(r,t),t=Ob(e.stateNode,t,2),e=si(e,t,2),e!==null&&(ud(e,2),Uo(e))}function et(e,t,r){if(e.tag===3)TL(e,e,r);else for(;t!==null;){if(t.tag===3){TL(t,e,r);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(li===null||!li.has(a))){e=Ua(r,e),r=ME(2),a=si(t,r,2),a!==null&&(FE(r,a,t,e),ud(a,2),Uo(a));break}}t=t.return}}function X0(e,t,r){var a=e.pingCache;if(a===null){a=e.pingCache=new mP;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(r)||(Py=!0,o.add(r),e=yP.bind(null,e,t,r),t.then(e,e))}function yP(e,t,r){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,st===e&&(Me&r)===r&&(Ft===4||Ft===3&&(Me&62914560)===Me&&300>va()-Rm?(je&2)===0&&Gl(e,0):Dy|=r,ql===Me&&(ql=0)),Uo(e)}function x_(e,t){t===0&&(t=dI()),e=vs(e,t),e!==null&&(ud(e,t),Uo(e))}function xP(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),x_(e,r)}function SP(e,t){var r=0;switch(e.tag){case 31:case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(D(314))}a!==null&&a.delete(t),x_(e,r)}function CP(e,t){return Jb(e,t)}var sm=null,hl=null,Ub=!1,lm=!1,Q0=!1,ai=0;function Uo(e){e!==hl&&e.next===null&&(hl===null?sm=hl=e:hl=hl.next=e),lm=!0,Ub||(Ub=!0,IP())}function gd(e,t){if(!Q0&&lm){Q0=!0;do for(var r=!1,a=sm;a!==null;){if(!t)if(e!==0){var o=a.pendingLanes;if(o===0)var n=0;else{var i=a.suspendedLanes,s=a.pingedLanes;n=(1<<31-ba(42|e)+1)-1,n&=o&~(i&~s),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(r=!0,kL(a,n))}else n=Me,n=vm(a,a===st?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||ld(a,n)||(r=!0,kL(a,n));a=a.next}while(r);Q0=!1}}function LP(){S_()}function S_(){lm=Ub=!1;var e=0;ai!==0&&OP()&&(e=ai);for(var t=va(),r=null,a=sm;a!==null;){var o=a.next,n=C_(a,t);n===0?(a.next=null,r===null?sm=o:r.next=o,o===null&&(hl=r)):(r=a,(e!==0||(n&3)!==0)&&(lm=!0)),a=o}er!==0&&er!==5||gd(e,!1),ai!==0&&(ai=0)}function C_(e,t){for(var r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,n=e.pendingLanes&-62914561;0<n;){var i=31-ba(n),s=1<<i,l=o[i];l===-1?((s&r)===0||(s&a)!==0)&&(o[i]=X4(s,t)):l<=t&&(e.expiredLanes|=s),n&=~s}if(t=st,r=Me,r=vm(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,r===0||e===t&&(Je===2||Je===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&_0(a),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||ld(e,r)){if(t=r&-r,t===e.callbackPriority)return t;switch(a!==null&&_0(a),ty(r)){case 2:case 8:r=uI;break;case 32:r=$p;break;case 268435456:r=cI;break;default:r=$p}return a=L_.bind(null,e),r=Jb(r,a),e.callbackPriority=t,e.callbackNode=r,t}return a!==null&&a!==null&&_0(a),e.callbackPriority=2,e.callbackNode=null,2}function L_(e,t){if(er!==0&&er!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(km()&&e.callbackNode!==r)return null;var a=Me;return a=vm(e,e===st?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(l_(e,a,t),C_(e,va()),e.callbackNode!=null&&e.callbackNode===r?L_.bind(null,e):null)}function kL(e,t){if(km())return null;l_(e,t,!0)}function IP(){MP(function(){(je&6)!==0?Jb(lI,LP):S_()})}function Hy(){if(ai===0){var e=Ul;e===0&&(e=up,up<<=1,(up&261888)===0&&(up=256)),ai=e}return ai}function AL(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Rp(""+e)}function OL(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function EP(e,t,r,a,o){if(t==="submit"&&r&&r.stateNode===o){var n=AL((o[ra]||null).action),i=a.submitter;i&&(t=(t=i[ra]||null)?AL(t.formAction):i.getAttribute("formAction"),t!==null&&(n=t,i=null));var s=new hm("action","action",null,a,o);e.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ai!==0){var l=i?OL(o,i):new FormData(o);kb(r,{pending:!0,data:l,method:o.method,action:n},null,l)}}else typeof n=="function"&&(s.preventDefault(),l=i?OL(o,i):new FormData(o),kb(r,{pending:!0,data:l,method:o.method,action:n},n,l))},currentTarget:o}]})}}for(Sp=0;Sp<bb.length;Sp++)Cp=bb[Sp],BL=Cp.toLowerCase(),ML=Cp[0].toUpperCase()+Cp.slice(1),po(BL,"on"+ML);var Cp,BL,ML,Sp;po(FI,"onAnimationEnd");po(PI,"onAnimationIteration");po(DI,"onAnimationStart");po("dblclick","onDoubleClick");po("focusin","onFocus");po("focusout","onBlur");po(qF,"onTransitionRun");po($F,"onTransitionStart");po(GF,"onTransitionCancel");po(NI,"onTransitionEnd");Nl("onMouseEnter",["mouseout","mouseover"]);Nl("onMouseLeave",["mouseout","mouseover"]);Nl("onPointerEnter",["pointerout","pointerover"]);Nl("onPointerLeave",["pointerout","pointerover"]);ps("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ps("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ps("onBeforeInput",["compositionend","keypress","textInput","paste"]);ps("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ps("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ps("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var td="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(" "),_P=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(td));function I_(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var a=e[r],o=a.event;a=a.listeners;e:{var n=void 0;if(t)for(var i=a.length-1;0<=i;i--){var s=a[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==n&&o.isPropagationStopped())break e;n=s,o.currentTarget=u;try{n(o)}catch(c){jp(c)}o.currentTarget=null,n=l}else for(i=0;i<a.length;i++){if(s=a[i],l=s.instance,u=s.currentTarget,s=s.listener,l!==n&&o.isPropagationStopped())break e;n=s,o.currentTarget=u;try{n(o)}catch(c){jp(c)}o.currentTarget=null,n=l}}}}function Oe(e,t){var r=t[cb];r===void 0&&(r=t[cb]=new Set);var a=e+"__bubble";r.has(a)||(E_(t,e,2,!1),r.add(a))}function Z0(e,t,r){var a=0;t&&(a|=4),E_(r,e,a,t)}var Lp="_reactListening"+Math.random().toString(36).slice(2);function Uy(e){if(!e[Lp]){e[Lp]=!0,vI.forEach(function(r){r!=="selectionchange"&&(_P.has(r)||Z0(r,!1,e),Z0(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Lp]||(t[Lp]=!0,Z0("selectionchange",!1,t))}}function E_(e,t,r,a){switch(N_(t)){case 2:var o=eD;break;case 8:o=tD;break;default:o=$y}r=o.bind(null,t,r,e),o=void 0,!gb||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function J0(e,t,r,a,o){var n=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var s=a.stateNode.containerInfo;if(s===o)break;if(i===4)for(i=a.return;i!==null;){var l=i.tag;if((l===3||l===4)&&i.stateNode.containerInfo===o)return;i=i.return}for(;s!==null;){if(i=xl(s),i===null)return;if(l=i.tag,l===5||l===6||l===26||l===27){a=n=i;continue e}s=s.parentNode}}a=a.return}II(function(){var u=n,c=oy(r),d=[];e:{var f=HI.get(e);if(f!==void 0){var m=hm,h=e;switch(e){case"keypress":if(Tp(r)===0)break e;case"keydown":case"keyup":m=SF;break;case"focusin":h="focus",m=A0;break;case"focusout":h="blur",m=A0;break;case"beforeblur":case"afterblur":m=A0;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=z2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=uF;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=IF;break;case FI:case PI:case DI:m=fF;break;case NI:m=_F;break;case"scroll":case"scrollend":m=sF;break;case"wheel":m=wF;break;case"copy":case"cut":case"paste":m=mF;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=q2;break;case"toggle":case"beforetoggle":m=kF}var y=(t&4)!==0,S=!y&&(e==="scroll"||e==="scrollend"),g=y?f!==null?f+"Capture":null:f;y=[];for(var p=u,v;p!==null;){var b=p;if(v=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||v===null||g===null||(b=Wc(p,g),b!=null&&y.push(rd(p,b,v))),S)break;p=p.return}0<y.length&&(f=new m(f,h,null,r,c),d.push({event:f,listeners:y}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",f&&r!==mb&&(h=r.relatedTarget||r.fromElement)&&(xl(h)||h[Kl]))break e;if((m||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,m?(h=r.relatedTarget||r.toElement,m=u,h=h?xl(h):null,h!==null&&(S=id(h),y=h.tag,h!==S||y!==5&&y!==27&&y!==6)&&(h=null)):(m=null,h=u),m!==h)){if(y=z2,b="onMouseLeave",g="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(y=q2,b="onPointerLeave",g="onPointerEnter",p="pointer"),S=m==null?f:kc(m),v=h==null?f:kc(h),f=new y(b,p+"leave",m,r,c),f.target=S,f.relatedTarget=v,b=null,xl(c)===u&&(y=new y(g,p+"enter",h,r,c),y.target=v,y.relatedTarget=S,b=y),S=b,m&&h)t:{for(y=RP,g=m,p=h,v=0,b=g;b;b=y(b))v++;b=0;for(var C=p;C;C=y(C))b++;for(;0<v-b;)g=y(g),v--;for(;0<b-v;)p=y(p),b--;for(;v--;){if(g===p||p!==null&&g===p.alternate){y=g;break t}g=y(g),p=y(p)}y=null}else y=null;m!==null&&FL(d,f,m,y,!1),h!==null&&S!==null&&FL(d,S,h,y,!0)}}e:{if(f=u?kc(u):window,m=f.nodeName&&f.nodeName.toLowerCase(),m==="select"||m==="input"&&f.type==="file")var L=W2;else if(j2(f))if(kI)L=UF;else{L=NF;var x=DF}else m=f.nodeName,!m||m.toLowerCase()!=="input"||f.type!=="checkbox"&&f.type!=="radio"?u&&ay(u.elementType)&&(L=W2):L=HF;if(L&&(L=L(e,u))){TI(d,L,r,c);break e}x&&x(e,f,u),e==="focusout"&&u&&f.type==="number"&&u.memoizedProps.value!=null&&pb(f,"number",f.value)}switch(x=u?kc(u):window,e){case"focusin":(j2(x)||x.contentEditable==="true")&&(Ll=x,vb=u,Fc=null);break;case"focusout":Fc=vb=Ll=null;break;case"mousedown":hb=!0;break;case"contextmenu":case"mouseup":case"dragend":hb=!1,Q2(d,r,c);break;case"selectionchange":if(VF)break;case"keydown":case"keyup":Q2(d,r,c)}var I;if(sy)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else Cl?RI(e,r)&&(E="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(E="onCompositionStart");E&&(_I&&r.locale!=="ko"&&(Cl||E!=="onCompositionStart"?E==="onCompositionEnd"&&Cl&&(I=EI()):(ei=c,ny="value"in ei?ei.value:ei.textContent,Cl=!0)),x=um(u,E),0<x.length&&(E=new V2(E,e,null,r,c),d.push({event:E,listeners:x}),I?E.data=I:(I=wI(r),I!==null&&(E.data=I)))),(I=OF?BF(e,r):MF(e,r))&&(E=um(u,"onBeforeInput"),0<E.length&&(x=new V2("onBeforeInput","beforeinput",null,r,c),d.push({event:x,listeners:E}),x.data=I)),EP(d,e,u,r,c)}I_(d,t)})}function rd(e,t,r){return{instance:e,listener:t,currentTarget:r}}function um(e,t){for(var r=t+"Capture",a=[];e!==null;){var o=e,n=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||n===null||(o=Wc(e,r),o!=null&&a.unshift(rd(e,o,n)),o=Wc(e,t),o!=null&&a.push(rd(e,o,n))),e.tag===3)return a;e=e.return}return[]}function RP(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function FL(e,t,r,a,o){for(var n=t._reactName,i=[];r!==null&&r!==a;){var s=r,l=s.alternate,u=s.stateNode;if(s=s.tag,l!==null&&l===a)break;s!==5&&s!==26&&s!==27||u===null||(l=u,o?(u=Wc(r,n),u!=null&&i.unshift(rd(r,u,l))):o||(u=Wc(r,n),u!=null&&i.push(rd(r,u,l)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var wP=/\r\n?/g,TP=/\u0000|\uFFFD/g;function PL(e){return(typeof e=="string"?e:""+e).replace(wP,`
9
- `).replace(TP,"")}function __(e,t){return t=PL(t),PL(e)===t}function at(e,t,r,a,o,n){switch(r){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Hl(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Hl(e,""+a);break;case"className":fp(e,"class",a);break;case"tabIndex":fp(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":fp(e,r,a);break;case"style":LI(e,a,n);break;case"data":if(t!=="object"){fp(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(r);break}a=Rp(""+a),e.setAttribute(r,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(r,"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 n=="function"&&(r==="formAction"?(t!=="input"&&at(e,t,"name",o.name,o,null),at(e,t,"formEncType",o.formEncType,o,null),at(e,t,"formMethod",o.formMethod,o,null),at(e,t,"formTarget",o.formTarget,o,null)):(at(e,t,"encType",o.encType,o,null),at(e,t,"method",o.method,o,null),at(e,t,"target",o.target,o,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(r);break}a=Rp(""+a),e.setAttribute(r,a);break;case"onClick":a!=null&&(e.onclick=ln);break;case"onScroll":a!=null&&Oe("scroll",e);break;case"onScrollEnd":a!=null&&Oe("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(D(61));if(r=a.__html,r!=null){if(o.children!=null)throw Error(D(60));e.innerHTML=r}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}r=Rp(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(r,""+a):e.removeAttribute(r);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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":a===!0?e.setAttribute(r,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(r,a):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(r,a):e.removeAttribute(r);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(r):e.setAttribute(r,a);break;case"popover":Oe("beforetoggle",e),Oe("toggle",e),_p(e,"popover",a);break;case"xlinkActuate":Jo(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Jo(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Jo(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Jo(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Jo(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Jo(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Jo(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Jo(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Jo(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":_p(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=nF.get(r)||r,_p(e,r,a))}}function zb(e,t,r,a,o,n){switch(r){case"style":LI(e,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(D(61));if(r=a.__html,r!=null){if(o.children!=null)throw Error(D(60));e.innerHTML=r}}break;case"children":typeof a=="string"?Hl(e,a):(typeof a=="number"||typeof a=="bigint")&&Hl(e,""+a);break;case"onScroll":a!=null&&Oe("scroll",e);break;case"onScrollEnd":a!=null&&Oe("scrollend",e);break;case"onClick":a!=null&&(e.onclick=ln);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!hI.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(o=r.endsWith("Capture"),t=r.slice(2,o?r.length-7:void 0),n=e[ra]||null,n=n!=null?n[r]:null,typeof n=="function"&&e.removeEventListener(t,n,o),typeof a=="function")){typeof n!="function"&&n!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,a,o);break e}r in e?e[r]=a:a===!0?e.setAttribute(r,""):_p(e,r,a)}}}function wr(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oe("error",e),Oe("load",e);var a=!1,o=!1,n;for(n in r)if(r.hasOwnProperty(n)){var i=r[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(D(137,t));default:at(e,t,n,i,r,null)}}o&&at(e,t,"srcSet",r.srcSet,r,null),a&&at(e,t,"src",r.src,r,null);return;case"input":Oe("invalid",e);var s=n=i=o=null,l=null,u=null;for(a in r)if(r.hasOwnProperty(a)){var c=r[a];if(c!=null)switch(a){case"name":o=c;break;case"type":i=c;break;case"checked":l=c;break;case"defaultChecked":u=c;break;case"value":n=c;break;case"defaultValue":s=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(D(137,t));break;default:at(e,t,a,c,r,null)}}xI(e,n,s,l,u,i,o,!1);return;case"select":Oe("invalid",e),a=i=n=null;for(o in r)if(r.hasOwnProperty(o)&&(s=r[o],s!=null))switch(o){case"value":n=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:at(e,t,o,s,r,null)}t=n,r=i,e.multiple=!!a,t!=null?Al(e,!!a,t,!1):r!=null&&Al(e,!!a,r,!0);return;case"textarea":Oe("invalid",e),n=o=a=null;for(i in r)if(r.hasOwnProperty(i)&&(s=r[i],s!=null))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"children":n=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(D(91));break;default:at(e,t,i,s,r,null)}CI(e,a,o,n);return;case"option":for(l in r)if(r.hasOwnProperty(l)&&(a=r[l],a!=null))switch(l){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:at(e,t,l,a,r,null)}return;case"dialog":Oe("beforetoggle",e),Oe("toggle",e),Oe("cancel",e),Oe("close",e);break;case"iframe":case"object":Oe("load",e);break;case"video":case"audio":for(a=0;a<td.length;a++)Oe(td[a],e);break;case"image":Oe("error",e),Oe("load",e);break;case"details":Oe("toggle",e);break;case"embed":case"source":case"link":Oe("error",e),Oe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in r)if(r.hasOwnProperty(u)&&(a=r[u],a!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(D(137,t));default:at(e,t,u,a,r,null)}return;default:if(ay(t)){for(c in r)r.hasOwnProperty(c)&&(a=r[c],a!==void 0&&zb(e,t,c,a,r,void 0));return}}for(s in r)r.hasOwnProperty(s)&&(a=r[s],a!=null&&at(e,t,s,a,r,null))}function kP(e,t,r,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,n=null,i=null,s=null,l=null,u=null,c=null;for(m in r){var d=r[m];if(r.hasOwnProperty(m)&&d!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":l=d;default:a.hasOwnProperty(m)||at(e,t,m,null,a,d)}}for(var f in a){var m=a[f];if(d=r[f],a.hasOwnProperty(f)&&(m!=null||d!=null))switch(f){case"type":n=m;break;case"name":o=m;break;case"checked":u=m;break;case"defaultChecked":c=m;break;case"value":i=m;break;case"defaultValue":s=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(D(137,t));break;default:m!==d&&at(e,t,f,m,a,d)}}fb(e,i,s,l,u,c,n,o);return;case"select":m=i=s=f=null;for(n in r)if(l=r[n],r.hasOwnProperty(n)&&l!=null)switch(n){case"value":break;case"multiple":m=l;default:a.hasOwnProperty(n)||at(e,t,n,null,a,l)}for(o in a)if(n=a[o],l=r[o],a.hasOwnProperty(o)&&(n!=null||l!=null))switch(o){case"value":f=n;break;case"defaultValue":s=n;break;case"multiple":i=n;default:n!==l&&at(e,t,o,n,a,l)}t=s,r=i,a=m,f!=null?Al(e,!!r,f,!1):!!a!=!!r&&(t!=null?Al(e,!!r,t,!0):Al(e,!!r,r?[]:"",!1));return;case"textarea":m=f=null;for(s in r)if(o=r[s],r.hasOwnProperty(s)&&o!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:at(e,t,s,null,a,o)}for(i in a)if(o=a[i],n=r[i],a.hasOwnProperty(i)&&(o!=null||n!=null))switch(i){case"value":f=o;break;case"defaultValue":m=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(D(91));break;default:o!==n&&at(e,t,i,o,a,n)}SI(e,f,m);return;case"option":for(var h in r)if(f=r[h],r.hasOwnProperty(h)&&f!=null&&!a.hasOwnProperty(h))switch(h){case"selected":e.selected=!1;break;default:at(e,t,h,null,a,f)}for(l in a)if(f=a[l],m=r[l],a.hasOwnProperty(l)&&f!==m&&(f!=null||m!=null))switch(l){case"selected":e.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:at(e,t,l,f,a,m)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var y in r)f=r[y],r.hasOwnProperty(y)&&f!=null&&!a.hasOwnProperty(y)&&at(e,t,y,null,a,f);for(u in a)if(f=a[u],m=r[u],a.hasOwnProperty(u)&&f!==m&&(f!=null||m!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(D(137,t));break;default:at(e,t,u,f,a,m)}return;default:if(ay(t)){for(var S in r)f=r[S],r.hasOwnProperty(S)&&f!==void 0&&!a.hasOwnProperty(S)&&zb(e,t,S,void 0,a,f);for(c in a)f=a[c],m=r[c],!a.hasOwnProperty(c)||f===m||f===void 0&&m===void 0||zb(e,t,c,f,a,m);return}}for(var g in r)f=r[g],r.hasOwnProperty(g)&&f!=null&&!a.hasOwnProperty(g)&&at(e,t,g,null,a,f);for(d in a)f=a[d],m=r[d],!a.hasOwnProperty(d)||f===m||f==null&&m==null||at(e,t,d,f,a,m)}function DL(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function AP(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),a=0;a<r.length;a++){var o=r[a],n=o.transferSize,i=o.initiatorType,s=o.duration;if(n&&s&&DL(i)){for(i=0,s=o.responseEnd,a+=1;a<r.length;a++){var l=r[a],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&DL(d)&&(l=l.responseEnd,i+=c*(l<s?1:(s-u)/(l-u)))}if(--a,t+=8*(n+i)/(o.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 Vb=null,qb=null;function cm(e){return e.nodeType===9?e:e.ownerDocument}function NL(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 R_(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 $b(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 eb=null;function OP(){var e=window.event;return e&&e.type==="popstate"?e===eb?!1:(eb=e,!0):(eb=null,!1)}var w_=typeof setTimeout=="function"?setTimeout:void 0,BP=typeof clearTimeout=="function"?clearTimeout:void 0,HL=typeof Promise=="function"?Promise:void 0,MP=typeof queueMicrotask=="function"?queueMicrotask:typeof HL<"u"?function(e){return HL.resolve(null).then(e).catch(FP)}:w_;function FP(e){setTimeout(function(){throw e})}function bi(e){return e==="head"}function UL(e,t){var r=t,a=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"||r==="/&"){if(a===0){e.removeChild(o),Wl(t);return}a--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")a++;else if(r==="html")Gc(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,Gc(r);for(var n=r.firstChild;n;){var i=n.nextSibling,s=n.nodeName;n[cd]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&n.rel.toLowerCase()==="stylesheet"||r.removeChild(n),n=i}}else r==="body"&&Gc(e.ownerDocument.body);r=o}while(r);Wl(t)}function zL(e,t){var r=e;e=0;do{var a=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=a}while(r)}function Gb(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Gb(r),ry(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function PP(e,t,r,a){for(;e.nodeType===1;){var o=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[cd])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(n=e.getAttribute("rel"),n==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(n!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(n=e.getAttribute("src"),(n!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&n&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var n=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===n)return e}else return e;if(e=qa(e.nextSibling),e===null)break}return null}function DP(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=qa(e.nextSibling),e===null))return null;return e}function T_(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=qa(e.nextSibling),e===null))return null;return e}function jb(e){return e.data==="$?"||e.data==="$~"}function Wb(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function NP(e,t){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||r.readyState!=="loading")t();else{var a=function(){t(),r.removeEventListener("DOMContentLoaded",a)};r.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function qa(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 Kb=null;function VL(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(t===0)return qa(e.nextSibling);t--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||t++}e=e.nextSibling}return null}function qL(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(t===0)return e;t--}else r!=="/$"&&r!=="/&"||t++}e=e.previousSibling}return null}function k_(e,t,r){switch(t=cm(r),e){case"html":if(e=t.documentElement,!e)throw Error(D(452));return e;case"head":if(e=t.head,!e)throw Error(D(453));return e;case"body":if(e=t.body,!e)throw Error(D(454));return e;default:throw Error(D(451))}}function Gc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ry(e)}var $a=new Map,$L=new Set;function dm(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var bn=We.d;We.d={f:HP,r:UP,D:zP,C:VP,L:qP,m:$P,X:jP,S:GP,M:WP};function HP(){var e=bn.f(),t=wm();return e||t}function UP(e){var t=Yl(e);t!==null&&t.tag===5&&t.type==="form"?LE(t):bn.r(e)}var Jl=typeof document>"u"?null:document;function A_(e,t,r){var a=Jl;if(a&&typeof t=="string"&&t){var o=Ha(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof r=="string"&&(o+='[crossorigin="'+r+'"]'),$L.has(o)||($L.add(o),e={rel:e,crossOrigin:r,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),wr(t,"link",e),cr(t),a.head.appendChild(t)))}}function zP(e){bn.D(e),A_("dns-prefetch",e,null)}function VP(e,t){bn.C(e,t),A_("preconnect",e,t)}function qP(e,t,r){bn.L(e,t,r);var a=Jl;if(a&&e&&t){var o='link[rel="preload"][as="'+Ha(t)+'"]';t==="image"&&r&&r.imageSrcSet?(o+='[imagesrcset="'+Ha(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(o+='[imagesizes="'+Ha(r.imageSizes)+'"]')):o+='[href="'+Ha(e)+'"]';var n=o;switch(t){case"style":n=jl(e);break;case"script":n=eu(e)}$a.has(n)||(e=gt({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),$a.set(n,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(vd(n))||t==="script"&&a.querySelector(hd(n))||(t=a.createElement("link"),wr(t,"link",e),cr(t),a.head.appendChild(t)))}}function $P(e,t){bn.m(e,t);var r=Jl;if(r&&e){var a=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ha(a)+'"][href="'+Ha(e)+'"]',n=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=eu(e)}if(!$a.has(n)&&(e=gt({rel:"modulepreload",href:e},t),$a.set(n,e),r.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(hd(n)))return}a=r.createElement("link"),wr(a,"link",e),cr(a),r.head.appendChild(a)}}}function GP(e,t,r){bn.S(e,t,r);var a=Jl;if(a&&e){var o=kl(a).hoistableStyles,n=jl(e);t=t||"default";var i=o.get(n);if(!i){var s={loading:0,preload:null};if(i=a.querySelector(vd(n)))s.loading=5;else{e=gt({rel:"stylesheet",href:e,"data-precedence":t},r),(r=$a.get(n))&&zy(e,r);var l=i=a.createElement("link");cr(l),wr(l,"link",e),l._p=new Promise(function(u,c){l.onload=u,l.onerror=c}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Dp(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:s},o.set(n,i)}}}function jP(e,t){bn.X(e,t);var r=Jl;if(r&&e){var a=kl(r).hoistableScripts,o=eu(e),n=a.get(o);n||(n=r.querySelector(hd(o)),n||(e=gt({src:e,async:!0},t),(t=$a.get(o))&&Vy(e,t),n=r.createElement("script"),cr(n),wr(n,"link",e),r.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(o,n))}}function WP(e,t){bn.M(e,t);var r=Jl;if(r&&e){var a=kl(r).hoistableScripts,o=eu(e),n=a.get(o);n||(n=r.querySelector(hd(o)),n||(e=gt({src:e,async:!0,type:"module"},t),(t=$a.get(o))&&Vy(e,t),n=r.createElement("script"),cr(n),wr(n,"link",e),r.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(o,n))}}function GL(e,t,r,a){var o=(o=oi.current)?dm(o):null;if(!o)throw Error(D(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=jl(r.href),r=kl(o).hoistableStyles,a=r.get(t),a||(a={type:"style",instance:null,count:0,state:null},r.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=jl(r.href);var n=kl(o).hoistableStyles,i=n.get(e);if(i||(o=o.ownerDocument||o,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(e,i),(n=o.querySelector(vd(e)))&&!n._p&&(i.instance=n,i.state.loading=5),$a.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},$a.set(e,r),n||KP(o,e,r,i.state))),t&&a===null)throw Error(D(528,""));return i}if(t&&a!==null)throw Error(D(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=eu(r),r=kl(o).hoistableScripts,a=r.get(t),a||(a={type:"script",instance:null,count:0,state:null},r.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(D(444,e))}}function jl(e){return'href="'+Ha(e)+'"'}function vd(e){return'link[rel="stylesheet"]['+e+"]"}function O_(e){return gt({},e,{"data-precedence":e.precedence,precedence:null})}function KP(e,t,r,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),wr(t,"link",r),cr(t),e.head.appendChild(t))}function eu(e){return'[src="'+Ha(e)+'"]'}function hd(e){return"script[async]"+e}function jL(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ha(r.href)+'"]');if(a)return t.instance=a,cr(a),a;var o=gt({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),cr(a),wr(a,"style",o),Dp(a,r.precedence,e),t.instance=a;case"stylesheet":o=jl(r.href);var n=e.querySelector(vd(o));if(n)return t.state.loading|=4,t.instance=n,cr(n),n;a=O_(r),(o=$a.get(o))&&zy(a,o),n=(e.ownerDocument||e).createElement("link"),cr(n);var i=n;return i._p=new Promise(function(s,l){i.onload=s,i.onerror=l}),wr(n,"link",a),t.state.loading|=4,Dp(n,r.precedence,e),t.instance=n;case"script":return n=eu(r.src),(o=e.querySelector(hd(n)))?(t.instance=o,cr(o),o):(a=r,(o=$a.get(n))&&(a=gt({},r),Vy(a,o)),e=e.ownerDocument||e,o=e.createElement("script"),cr(o),wr(o,"link",a),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(D(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Dp(a,r.precedence,e));return t.instance}function Dp(e,t,r){for(var a=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,n=o,i=0;i<a.length;i++){var s=a[i];if(s.dataset.precedence===t)n=s;else if(n!==o)break}n?n.parentNode.insertBefore(e,n.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function zy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Vy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Np=null;function WL(e,t,r){if(Np===null){var a=new Map,o=Np=new Map;o.set(r,a)}else o=Np,a=o.get(r),a||(a=new Map,o.set(r,a));if(a.has(e))return a;for(a.set(e,null),r=r.getElementsByTagName(e),o=0;o<r.length;o++){var n=r[o];if(!(n[cd]||n[Er]||e==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(t)||"";i=e+i;var s=a.get(i);s?s.push(n):a.set(i,[n])}}return a}function KL(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function YP(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function B_(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function XP(e,t,r,a){if(r.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var o=jl(a.href),n=t.querySelector(vd(o));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=fm.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=n,cr(n);return}n=t.ownerDocument||t,a=O_(a),(o=$a.get(o))&&zy(a,o),n=n.createElement("link"),cr(n);var i=n;i._p=new Promise(function(s,l){i.onload=s,i.onerror=l}),wr(n,"link",a),r.instance=n}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=fm.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}var tb=0;function QP(e,t){return e.stylesheets&&e.count===0&&Hp(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var a=setTimeout(function(){if(e.stylesheets&&Hp(e,e.stylesheets),e.unsuspend){var n=e.unsuspend;e.unsuspend=null,n()}},6e4+t);0<e.imgBytes&&tb===0&&(tb=62500*AP());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Hp(e,e.stylesheets),e.unsuspend)){var n=e.unsuspend;e.unsuspend=null,n()}},(e.imgBytes>tb?50:800)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}:null}function fm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Hp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var pm=null;function Hp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,pm=new Map,t.forEach(ZP,e),pm=null,fm.call(e))}function ZP(e,t){if(!(t.state.loading&4)){var r=pm.get(e);if(r)var a=r.get(null);else{r=new Map,pm.set(e,r);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<o.length;n++){var i=o[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(r.set(i.dataset.precedence,i),a=i)}a&&r.set(null,a)}o=t.instance,i=o.getAttribute("data-precedence"),n=r.get(i)||a,n===a&&r.set(null,o),r.set(i,o),this.count++,a=fm.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),n?n.parentNode.insertBefore(o,n.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var ad={$$typeof:sn,Provider:null,Consumer:null,_currentValue:as,_currentValue2:as,_threadCount:0};function JP(e,t,r,a,o,n,i,s,l){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=R0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=R0(0),this.hiddenUpdates=R0(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function M_(e,t,r,a,o,n,i,s,l,u,c,d){return e=new JP(e,t,r,i,l,u,c,d,s),t=1,n===!0&&(t|=24),n=ma(3,null,null,t),e.current=n,n.stateNode=e,t=my(),t.refCount++,e.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:r,cache:t},hy(n),e}function F_(e){return e?(e=_l,e):_l}function P_(e,t,r,a,o,n){o=F_(o),a.context===null?a.context=o:a.pendingContext=o,a=ii(t),a.payload={element:r},n=n===void 0?null:n,n!==null&&(a.callback=n),r=si(e,a,t),r!==null&&(ta(r,e,t),Dc(r,e,t))}function YL(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function qy(e,t){YL(e,t),(e=e.alternate)&&YL(e,t)}function D_(e){if(e.tag===13||e.tag===31){var t=vs(e,67108864);t!==null&&ta(t,e,67108864),qy(e,67108864)}}function XL(e){if(e.tag===13||e.tag===31){var t=ya();t=ey(t);var r=vs(e,t);r!==null&&ta(r,e,t),qy(e,t)}}var mm=!0;function eD(e,t,r,a){var o=se.T;se.T=null;var n=We.p;try{We.p=2,$y(e,t,r,a)}finally{We.p=n,se.T=o}}function tD(e,t,r,a){var o=se.T;se.T=null;var n=We.p;try{We.p=8,$y(e,t,r,a)}finally{We.p=n,se.T=o}}function $y(e,t,r,a){if(mm){var o=Yb(a);if(o===null)J0(e,t,a,gm,r),QL(e,a);else if(aD(o,e,t,r,a))a.stopPropagation();else if(QL(e,a),t&4&&-1<rD.indexOf(e)){for(;o!==null;){var n=Yl(o);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=es(n.pendingLanes);if(i!==0){var s=n;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-ba(i);s.entanglements[1]|=l,i&=~l}Uo(n),(je&6)===0&&(om=va()+500,gd(0,!1))}}break;case 31:case 13:s=vs(n,2),s!==null&&ta(s,n,2),wm(),qy(n,2)}if(n=Yb(a),n===null&&J0(e,t,a,gm,r),n===o)break;o=n}o!==null&&a.stopPropagation()}else J0(e,t,a,null,r)}}function Yb(e){return e=oy(e),Gy(e)}var gm=null;function Gy(e){if(gm=null,e=xl(e),e!==null){var t=id(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=aI(t),e!==null)return e;e=null}else if(r===31){if(e=oI(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return gm=e,null}function N_(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(q4()){case lI:return 2;case uI:return 8;case $p:case $4:return 32;case cI:return 268435456;default:return 32}default:return 32}}var Xb=!1,ci=null,di=null,fi=null,od=new Map,nd=new Map,Zn=[],rD="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 QL(e,t){switch(e){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":di=null;break;case"mouseover":case"mouseout":fi=null;break;case"pointerover":case"pointerout":od.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":nd.delete(t.pointerId)}}function _c(e,t,r,a,o,n){return e===null||e.nativeEvent!==n?(e={blockedOn:t,domEventName:r,eventSystemFlags:a,nativeEvent:n,targetContainers:[o]},t!==null&&(t=Yl(t),t!==null&&D_(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function aD(e,t,r,a,o){switch(t){case"focusin":return ci=_c(ci,e,t,r,a,o),!0;case"dragenter":return di=_c(di,e,t,r,a,o),!0;case"mouseover":return fi=_c(fi,e,t,r,a,o),!0;case"pointerover":var n=o.pointerId;return od.set(n,_c(od.get(n)||null,e,t,r,a,o)),!0;case"gotpointercapture":return n=o.pointerId,nd.set(n,_c(nd.get(n)||null,e,t,r,a,o)),!0}return!1}function H_(e){var t=xl(e.target);if(t!==null){var r=id(t);if(r!==null){if(t=r.tag,t===13){if(t=aI(r),t!==null){e.blockedOn=t,M2(e.priority,function(){XL(r)});return}}else if(t===31){if(t=oI(r),t!==null){e.blockedOn=t,M2(e.priority,function(){XL(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Up(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Yb(e.nativeEvent);if(r===null){r=e.nativeEvent;var a=new r.constructor(r.type,r);mb=a,r.target.dispatchEvent(a),mb=null}else return t=Yl(r),t!==null&&D_(t),e.blockedOn=r,!1;t.shift()}return!0}function ZL(e,t,r){Up(e)&&r.delete(t)}function oD(){Xb=!1,ci!==null&&Up(ci)&&(ci=null),di!==null&&Up(di)&&(di=null),fi!==null&&Up(fi)&&(fi=null),od.forEach(ZL),nd.forEach(ZL)}function Ip(e,t){e.blockedOn===t&&(e.blockedOn=null,Xb||(Xb=!0,tr.unstable_scheduleCallback(tr.unstable_NormalPriority,oD)))}var Ep=null;function JL(e){Ep!==e&&(Ep=e,tr.unstable_scheduleCallback(tr.unstable_NormalPriority,function(){Ep===e&&(Ep=null);for(var t=0;t<e.length;t+=3){var r=e[t],a=e[t+1],o=e[t+2];if(typeof a!="function"){if(Gy(a||r)===null)continue;break}var n=Yl(r);n!==null&&(e.splice(t,3),t-=3,kb(n,{pending:!0,data:o,method:r.method,action:a},a,o))}}))}function Wl(e){function t(l){return Ip(l,e)}ci!==null&&Ip(ci,e),di!==null&&Ip(di,e),fi!==null&&Ip(fi,e),od.forEach(t),nd.forEach(t);for(var r=0;r<Zn.length;r++){var a=Zn[r];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Zn.length&&(r=Zn[0],r.blockedOn===null);)H_(r),r.blockedOn===null&&Zn.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(a=0;a<r.length;a+=3){var o=r[a],n=r[a+1],i=o[ra]||null;if(typeof n=="function")i||JL(r);else if(i){var s=null;if(n&&n.hasAttribute("formAction")){if(o=n,i=n[ra]||null)s=i.formAction;else if(Gy(o)!==null)continue}else s=i.action;typeof s=="function"?r[a+1]=s:(r.splice(a,3),a-=3),JL(r)}}}function U_(){function e(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return o=i})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),a||setTimeout(r,20)}function r(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function jy(e){this._internalRoot=e}Am.prototype.render=jy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));var r=t.current,a=ya();P_(r,a,e,t,null,null)};Am.prototype.unmount=jy.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;P_(e.current,2,null,e,null,null),wm(),t[Kl]=null}};function Am(e){this._internalRoot=e}Am.prototype.unstable_scheduleHydration=function(e){if(e){var t=gI();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Zn.length&&t!==0&&t<Zn[r].priority;r++);Zn.splice(r,0,e),r===0&&H_(e)}};var eI=tI.version;if(eI!=="19.2.8")throw Error(D(527,eI,"19.2.8"));We.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=P4(t),e=e!==null?nI(e):null,e=e===null?null:e.stateNode,e};var nD={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:se,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Rc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Rc.isDisabled&&Rc.supportsFiber))try{sd=Rc.inject(nD),ha=Rc}catch{}var Rc;Om.createRoot=function(e,t){if(!rI(e))throw Error(D(299));var r=!1,a="",o=AE,n=OE,i=BE;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=M_(e,1,!1,null,null,r,a,null,o,n,i,U_),e[Kl]=t.current,Uy(e),new jy(t)};Om.hydrateRoot=function(e,t,r){if(!rI(e))throw Error(D(299));var a=!1,o="",n=AE,i=OE,s=BE,l=null;return r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onUncaughtError!==void 0&&(n=r.onUncaughtError),r.onCaughtError!==void 0&&(i=r.onCaughtError),r.onRecoverableError!==void 0&&(s=r.onRecoverableError),r.formState!==void 0&&(l=r.formState)),t=M_(e,1,!0,t,r??null,a,o,l,n,i,s,U_),t.context=F_(null),r=t.current,a=ya(),a=ey(a),o=ii(a),o.callback=null,si(r,o,a),r=a,t.current.lanes=r,ud(t,r),Uo(t),e[Kl]=t.current,Uy(e),new Am(t)};Om.version="19.2.8"});var $_=qr((E$,q_)=>{"use strict";function V_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(V_)}catch(e){console.error(e)}}V_(),q_.exports=z_()});var qe=qr((TQ,Rg)=>{"use strict";(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var o="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(o=a(o,r(i)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var n="";for(var i in o)e.call(o,i)&&o[i]&&(n=a(n,i));return n}function a(o,n){return n?o?o+" "+n:o+n:o}typeof Rg<"u"&&Rg.exports?(t.default=t,Rg.exports=t):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return t}):window.classNames=t})()});var JT=qr(tt=>{"use strict";var xS=Symbol.for("react.element"),SS=Symbol.for("react.portal"),Ng=Symbol.for("react.fragment"),Hg=Symbol.for("react.strict_mode"),Ug=Symbol.for("react.profiler"),zg=Symbol.for("react.provider"),Vg=Symbol.for("react.context"),MN=Symbol.for("react.server_context"),qg=Symbol.for("react.forward_ref"),$g=Symbol.for("react.suspense"),Gg=Symbol.for("react.suspense_list"),jg=Symbol.for("react.memo"),Wg=Symbol.for("react.lazy"),FN=Symbol.for("react.offscreen"),ZT;ZT=Symbol.for("react.module.reference");function Xa(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case xS:switch(e=e.type,e){case Ng:case Ug:case Hg:case $g:case Gg:return e;default:switch(e=e&&e.$$typeof,e){case MN:case Vg:case qg:case Wg:case jg:case zg:return e;default:return t}}case SS:return t}}}tt.ContextConsumer=Vg;tt.ContextProvider=zg;tt.Element=xS;tt.ForwardRef=qg;tt.Fragment=Ng;tt.Lazy=Wg;tt.Memo=jg;tt.Portal=SS;tt.Profiler=Ug;tt.StrictMode=Hg;tt.Suspense=$g;tt.SuspenseList=Gg;tt.isAsyncMode=function(){return!1};tt.isConcurrentMode=function(){return!1};tt.isContextConsumer=function(e){return Xa(e)===Vg};tt.isContextProvider=function(e){return Xa(e)===zg};tt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===xS};tt.isForwardRef=function(e){return Xa(e)===qg};tt.isFragment=function(e){return Xa(e)===Ng};tt.isLazy=function(e){return Xa(e)===Wg};tt.isMemo=function(e){return Xa(e)===jg};tt.isPortal=function(e){return Xa(e)===SS};tt.isProfiler=function(e){return Xa(e)===Ug};tt.isStrictMode=function(e){return Xa(e)===Hg};tt.isSuspense=function(e){return Xa(e)===$g};tt.isSuspenseList=function(e){return Xa(e)===Gg};tt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ng||e===Ug||e===Hg||e===$g||e===Gg||e===FN||typeof e=="object"&&e!==null&&(e.$$typeof===Wg||e.$$typeof===jg||e.$$typeof===zg||e.$$typeof===Vg||e.$$typeof===qg||e.$$typeof===ZT||e.getModuleId!==void 0)};tt.typeOf=Xa});var tk=qr((FZ,ek)=>{"use strict";ek.exports=JT()});var m5=qr((wye,p5)=>{"use strict";p5.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],a=0;a<e.rangeCount;a++)r.push(e.getRangeAt(a));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(o){e.addRange(o)}),t&&t.focus()}}});var h5=qr((Tye,v5)=>{"use strict";var Qz=m5(),g5={"text/plain":"Text","text/html":"Url",default:"Text"},Zz="Copy to clipboard: #{key}, Enter";function Jz(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function eV(e,t){var r,a,o,n,i,s,l=!1;t||(t={}),r=t.debug||!1;try{o=Qz(),n=document.createRange(),i=document.getSelection(),s=document.createElement("span"),s.textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(c){if(c.stopPropagation(),t.format)if(c.preventDefault(),typeof c.clipboardData>"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=g5[t.format]||g5.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(s),n.selectNodeContents(s),i.addRange(n);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");l=!0}catch(c){r&&console.error("unable to copy using execCommand: ",c),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(d){r&&console.error("unable to copy using clipboardData: ",d),r&&console.error("falling back to prompt"),a=Jz("message"in t?t.message:Zz),window.prompt(a,e)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(n):i.removeAllRanges()),s&&document.body.removeChild(s),o()}return l}v5.exports=eV});var pM=qr(Uh=>{"use strict";var tq=Symbol.for("react.transitional.element"),rq=Symbol.for("react.fragment");function fM(e,t,r){var a=null;if(r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),"key"in t){r={};for(var o in t)o!=="key"&&(r[o]=t[o])}else r=t;return t=r.ref,{$$typeof:tq,type:e,key:a,ref:t!==void 0?t:null,props:r}}Uh.Fragment=rq;Uh.jsx=fM;Uh.jsxs=fM});var ka=qr((jCe,mM)=>{"use strict";mM.exports=pM()});var At=R(O()),r4=R($_());var Mm=R(O());var G_=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),iD=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,a)=>a?a.toUpperCase():r.toLowerCase()),Wy=e=>{let t=iD(e);return t.charAt(0).toUpperCase()+t.slice(1)},Bm=(...e)=>e.filter((t,r,a)=>!!t&&t.trim()!==""&&a.indexOf(t)===r).join(" ").trim(),j_=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var bd=R(O());var W_={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var K_=(0,bd.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:o="",children:n,iconNode:i,...s},l)=>(0,bd.createElement)("svg",{ref:l,...W_,width:t,height:t,stroke:e,strokeWidth:a?Number(r)*24/Number(t):r,className:Bm("lucide",o),...!n&&!j_(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,bd.createElement)(u,c)),...Array.isArray(n)?n:[n]]));var zo=(e,t)=>{let r=(0,Mm.forwardRef)(({className:a,...o},n)=>(0,Mm.createElement)(K_,{ref:n,iconNode:t,className:Bm(`lucide-${G_(Wy(e))}`,`lucide-${e}`,a),...o}));return r.displayName=Wy(e),r};var sD=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],bs=zo("check",sD);var lD=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],yd=zo("chevron-right",lD);var uD=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],yi=zo("circle-alert",uD);var cD=[["path",{d:"M5 12h14",key:"1ays0h"}]],xd=zo("minus",cD);var dD=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Sd=zo("plus",dD);var fr=function(){return fr=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},fr.apply(this,arguments)};function tu(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++)(n||!(a in t))&&(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}var _t=R(O());var lt="-ms-",ys="-moz-",He="-webkit-",Fm="comm",xi="rule",ru="decl";var Y_="@import";var X_="@namespace",Pm="@keyframes";var Q_="@layer";var Ky=Math.abs,Cd=String.fromCharCode,Ld=Object.assign;function Z_(e,t){return wt(e,0)^45?(((t<<2^wt(e,0))<<2^wt(e,1))<<2^wt(e,2))<<2^wt(e,3):0}function Dm(e){return e.trim()}function mo(e,t){return(e=t.exec(e))?e[0]:e}function me(e,t,r){return e.replace(t,r)}function au(e,t,r){return e.indexOf(t,r)}function wt(e,t){return e.charCodeAt(t)|0}function go(e,t,r){return e.slice(t,r)}function Pr(e){return e.length}function Nm(e){return e.length}function xs(e,t){return t.push(e),e}function J_(e,t){return e.map(t).join("")}function Yy(e,t){return e.filter(function(r){return!mo(r,t)})}var Hm=1,ou=1,eR=0,Ga=0,Kt=0,iu="";function Id(e,t,r,a,o,n,i,s){return{value:e,root:t,parent:r,type:a,props:o,children:n,line:Hm,column:ou,length:i,return:"",siblings:s}}function yn(e,t){return Ld(Id("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ss(e){for(;e.root;)e=yn(e.root,{children:[e]});xs(e,e.siblings)}function tR(){return Kt}function rR(){return Kt=Ga>0?wt(iu,--Ga):0,ou--,Kt===10&&(ou=1,Hm--),Kt}function ja(){return Kt=Ga<eR?wt(iu,Ga++):0,ou++,Kt===10&&(ou=1,Hm++),Kt}function xn(){return wt(iu,Ga)}function Ed(){return Ga}function Um(e,t){return go(iu,e,t)}function nu(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function aR(e){return Hm=ou=1,eR=Pr(iu=e),Ga=0,[]}function oR(e){return iu="",e}function zm(e){return Dm(Um(Ga-1,Xy(e===91?e+2:e===40?e+1:e)))}function nR(e){for(;(Kt=xn())&&Kt<33;)ja();return nu(e)>2||nu(Kt)>3?"":" "}function iR(e,t){for(;--t&&ja()&&!(Kt<48||Kt>102||Kt>57&&Kt<65||Kt>70&&Kt<97););return Um(e,Ed()+(t<6&&xn()==32&&ja()==32))}function Xy(e){for(;ja();)switch(Kt){case e:return Ga;case 34:case 39:e!==34&&e!==39&&Xy(Kt);break;case 40:e===41&&Xy(e);break;case 92:ja();break}return Ga}function sR(e,t){for(;ja()&&e+Kt!==57;)if(e+Kt===84&&xn()===47)break;return"/*"+Um(t,Ga-1)+"*"+Cd(e===47?e:ja())}function lR(e){for(;!nu(xn());)ja();return Um(e,Ga)}function qm(e){return oR(Vm("",null,null,null,[""],e=aR(e),0,[0],e))}function Vm(e,t,r,a,o,n,i,s,l){for(var u=0,c=0,d=i,f=0,m=0,h=0,y=1,S=1,g=1,p=0,v="",b=o,C=n,L=a,x=v;S;)switch(h=p,p=ja()){case 40:if(h!=108&&wt(x,d-1)==58){au(x+=me(zm(p),"&","&\f"),"&\f",Ky(u?s[u-1]:0))!=-1&&(g=-1);break}case 34:case 39:case 91:x+=zm(p);break;case 9:case 10:case 13:case 32:x+=nR(h);break;case 92:x+=iR(Ed()-1,7);continue;case 47:switch(xn()){case 42:case 47:xs(fD(sR(ja(),Ed()),t,r,l),l),(nu(h||1)==5||nu(xn()||1)==5)&&Pr(x)&&go(x,-1,void 0)!==" "&&(x+=" ");break;default:x+="/"}break;case 123*y:s[u++]=Pr(x)*g;case 125*y:case 59:case 0:switch(p){case 0:case 125:S=0;case 59+c:g==-1&&(x=me(x,/\f/g,"")),m>0&&(Pr(x)-d||y===0&&h===47)&&xs(m>32?cR(x+";",a,r,d-1,l):cR(me(x," ","")+";",a,r,d-2,l),l);break;case 59:x+=";";default:if(xs(L=uR(x,t,r,u,c,o,s,v,b=[],C=[],d,n),n),p===123)if(c===0)Vm(x,t,L,L,b,n,d,s,C);else{switch(f){case 99:if(wt(x,3)===110)break;case 108:if(wt(x,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Vm(e,L,L,a&&xs(uR(e,L,L,0,0,o,s,v,o,b=[],d,C),C),o,C,d,s,a?b:C):Vm(x,L,L,L,[""],C,0,s,C)}}u=c=m=0,y=g=1,v=x="",d=i;break;case 58:d=1+Pr(x),m=h;default:if(y<1){if(p==123)--y;else if(p==125&&y++==0&&rR()==125)continue}switch(x+=Cd(p),p*y){case 38:g=c>0?1:(x+="\f",-1);break;case 44:s[u++]=(Pr(x)-1)*g,g=1;break;case 64:xn()===45&&(x+=zm(ja())),f=xn(),c=d=Pr(v=x+=lR(Ed())),p++;break;case 45:h===45&&Pr(x)==2&&(y=0)}}return n}function uR(e,t,r,a,o,n,i,s,l,u,c,d){for(var f=o-1,m=o===0?n:[""],h=Nm(m),y=0,S=0,g=0;y<a;++y)for(var p=0,v=go(e,f+1,f=Ky(S=i[y])),b=e;p<h;++p)(b=Dm(S>0?m[p]+" "+v:me(v,/&\f/g,m[p])))&&(l[g++]=b);return Id(e,t,r,o===0?xi:s,l,u,c,d)}function fD(e,t,r,a){return Id(e,t,r,Fm,Cd(tR()),go(e,2,-2),0,a)}function cR(e,t,r,a,o){return Id(e,t,r,ru,go(e,0,a),go(e,a+1,-1),a,o)}function Qy(e,t,r){switch(Z_(e,t)){case 5103:return He+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return He+e+e;case 4855:return He+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return ys+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return He+e+ys+e+lt+e+e;case 5936:switch(wt(e,t+11)){case 114:return He+e+lt+me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return He+e+lt+me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return He+e+lt+me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return He+e+lt+e+e;case 6165:return He+e+lt+"flex-"+e+e;case 5187:return He+e+me(e,/(\w+).+(:[^]+)/,He+"box-$1$2"+lt+"flex-$1$2")+e;case 5443:return He+e+lt+"flex-item-"+me(e,/flex-|-self/g,"")+(mo(e,/flex-|baseline/)?"":lt+"grid-row-"+me(e,/flex-|-self/g,""))+e;case 4675:return He+e+lt+"flex-line-pack"+me(e,/align-content|flex-|-self/g,"")+e;case 5548:return He+e+lt+me(e,"shrink","negative")+e;case 5292:return He+e+lt+me(e,"basis","preferred-size")+e;case 6060:return He+"box-"+me(e,"-grow","")+He+e+lt+me(e,"grow","positive")+e;case 4554:return He+me(e,/([^-])(transform)/g,"$1"+He+"$2")+e;case 6187:return me(me(me(e,/(zoom-|grab)/,He+"$1"),/(image-set)/,He+"$1"),e,"")+e;case 5495:case 3959:return me(e,/(image-set\([^]*)/,He+"$1$`$1");case 4968:return me(me(e,/(.+:)(flex-)?(.*)/,He+"box-pack:$3"+lt+"flex-pack:$3"),/space-between/,"justify")+He+e+e;case 4200:if(!mo(e,/flex-|baseline/))return lt+"grid-column-align"+go(e,t)+e;break;case 2592:case 3360:return lt+me(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(a,o){return t=o,mo(a.props,/grid-\w+-end/)})?~au(e+(r=r[t].value),"span",0)?e:lt+me(e,"-start","")+e+lt+"grid-row-span:"+(~au(r,"span",0)?mo(r,/\d+/):+mo(r,/\d+/)-+mo(e,/\d+/))+";":lt+me(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(a){return mo(a.props,/grid-\w+-start/)})?e:lt+me(me(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return me(e,/(.+)-inline(.+)/,He+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Pr(e)-1-t>6)switch(wt(e,t+1)){case 109:if(wt(e,t+4)!==45)break;case 102:return me(e,/(.+:)(.+)-([^]+)/,"$1"+He+"$2-$3$1"+ys+(wt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~au(e,"stretch",0)?Qy(me(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return me(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(a,o,n,i,s,l,u){return lt+o+":"+n+u+(i?lt+o+"-span:"+(s?l:+l-+n)+u:"")+e});case 4949:if(wt(e,t+6)===121)return me(e,":",":"+He)+e;break;case 6444:switch(wt(e,wt(e,14)===45?18:11)){case 120:return me(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+He+(wt(e,14)===45?"inline-":"")+"box$3$1"+He+"$2$3$1"+lt+"$2box$3")+e;case 100:return me(e,":",":"+lt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return me(e,"scroll-","scroll-snap-")+e}return e}function Si(e,t){for(var r="",a=0;a<e.length;a++)r+=t(e[a],a,e,t)||"";return r}function $m(e,t,r,a){switch(e.type){case Q_:if(e.children.length)break;case Y_:case X_:case ru:return e.return=e.return||e.value;case Fm:return"";case Pm:return e.return=e.value+"{"+Si(e.children,a)+"}";case xi:if(!Pr(e.value=e.props.join(",")))return""}return Pr(r=Si(e.children,a))?e.return=e.value+"{"+r+"}":""}function dR(e){var t=Nm(e);return function(r,a,o,n){for(var i="",s=0;s<t;s++)i+=e[s](r,a,o,n)||"";return i}}function fR(e){return function(t){t.root||(t=t.return)&&e(t)}}function pR(e,t,r,a){if(e.length>-1&&!e.return)switch(e.type){case ru:e.return=Qy(e.value,e.length,r);return;case Pm:return Si([yn(e,{value:me(e.value,"@","@"+He)})],a);case xi:if(e.length)return J_(r=e.props,function(o){switch(mo(o,a=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ss(yn(e,{props:[me(o,/:(read-\w+)/,":"+ys+"$1")]})),Ss(yn(e,{props:[o]})),Ld(e,{props:Yy(r,a)});break;case"::placeholder":Ss(yn(e,{props:[me(o,/:(plac\w+)/,":"+He+"input-$1")]})),Ss(yn(e,{props:[me(o,/:(plac\w+)/,":"+ys+"$1")]})),Ss(yn(e,{props:[me(o,/:(plac\w+)/,lt+"input-$1")]})),Ss(yn(e,{props:[o]})),Ld(e,{props:Yy(r,a)});break}return""})}}var mR={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Ln=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",_R="active",Wm="data-styled-version",su="6.3.9",cx=`/*!sc*/
10
- `,Rd=typeof window<"u"&&typeof document<"u",Cn=_t.default.createContext===void 0,pD=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY);var dx=Object.freeze([]),lu=Object.freeze({});function mD(e,t,r){return r===void 0&&(r=lu),e.theme!==r.theme&&e.theme||t||r.theme}var RR=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),gD=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,vD=/(^-|-$)/g;function gR(e){return e.replace(gD,"-").replace(vD,"")}var hD=/(a)(d)/gi,vR=function(e){return String.fromCharCode(e+(e>25?39:97))};function rx(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=vR(t%52)+r;return(vR(t%52)+r).replace(hD,"$1-$2")}var Zy,Cs=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},wR=function(e){return Cs(5381,e)};function TR(e){return rx(wR(e)>>>0)}function bD(e){return e.displayName||e.name||"Component"}function Jy(e){return typeof e=="string"&&!0}var kR=typeof Symbol=="function"&&Symbol.for,AR=kR?Symbol.for("react.memo"):60115,yD=kR?Symbol.for("react.forward_ref"):60112,xD={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},SD={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},OR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CD=((Zy={})[yD]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zy[AR]=OR,Zy);function hR(e){return("type"in(t=e)&&t.type.$$typeof)===AR?OR:"$$typeof"in e?CD[e.$$typeof]:xD;var t}var LD=Object.defineProperty,ID=Object.getOwnPropertyNames,bR=Object.getOwnPropertySymbols,ED=Object.getOwnPropertyDescriptor,_D=Object.getPrototypeOf,yR=Object.prototype;function BR(e,t,r){if(typeof t!="string"){if(yR){var a=_D(t);a&&a!==yR&&BR(e,a,r)}var o=ID(t);bR&&(o=o.concat(bR(t)));for(var n=hR(e),i=hR(t),s=0;s<o.length;++s){var l=o[s];if(!(l in SD||r&&r[l]||i&&l in i||n&&l in n)){var u=ED(t,l);try{LD(e,l,u)}catch{}}}}return e}function Es(e){return typeof e=="function"}function fx(e){return typeof e=="object"&&"styledComponentId"in e}function Is(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function wd(e,t){return e.join(t||"")}function Td(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ax(e,t,r){if(r===void 0&&(r=!1),!r&&!Td(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var a=0;a<t.length;a++)e[a]=ax(e[a],t[a]);else if(Td(t))for(var a in t)e[a]=ax(e[a],t[a]);return e}function px(e,t){Object.defineProperty(e,"toString",{value:t})}function vo(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var RD=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var a=this._cGroup;a<t;a++)r+=this.groupSizes[a];else for(a=this._cGroup-1;a>=t;a--)r-=this.groupSizes[a];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var a=this.groupSizes,o=a.length,n=o;t>=n;)if((n<<=1)<0)throw vo(16,"".concat(t));this.groupSizes=new Uint32Array(n),this.groupSizes.set(a),this.length=n;for(var i=o;i<n;i++)this.groupSizes[i]=0}for(var s=this.indexOfGroup(t+1),l=0,u=(i=0,r.length);i<u;i++)this.tag.insertRule(s,r[i])&&(this.groupSizes[t]++,s++,l++);l>0&&this._cGroup>t&&(this._cIndex+=l)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],a=this.indexOfGroup(t),o=a+r;this.groupSizes[t]=0;for(var n=a;n<o;n++)this.tag.deleteRule(a);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var a=this.groupSizes[t],o=this.indexOfGroup(t),n=o+a,i=o;i<n;i++)r+=this.tag.getRule(i)+cx;return r},e})(),wG=1<<30,Gm=new Map,Km=new Map,jm=1,_d=function(e){if(Gm.has(e))return Gm.get(e);for(;Km.has(jm);)jm++;var t=jm++;return Gm.set(e,t),Km.set(t,e),t},wD=function(e,t){jm=t+1,Gm.set(e,t),Km.set(t,e)},TD="style[".concat(Ln,"][").concat(Wm,'="').concat(su,'"]'),kD=new RegExp("^".concat(Ln,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),xR=function(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},ox=function(e){if(!e)return document;if(xR(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(xR(t))return t}return document},AD=function(e,t,r){for(var a,o=r.split(","),n=0,i=o.length;n<i;n++)(a=o[n])&&e.registerName(t,a)},OD=function(e,t){for(var r,a=((r=t.textContent)!==null&&r!==void 0?r:"").split(cx),o=[],n=0,i=a.length;n<i;n++){var s=a[n].trim();if(s){var l=s.match(kD);if(l){var u=0|parseInt(l[1],10),c=l[2];u!==0&&(wD(c,u),AD(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},ex=function(e){for(var t=ox(e.options.target).querySelectorAll(TD),r=0,a=t.length;r<a;r++){var o=t[r];o&&o.getAttribute(Ln)!==_R&&(OD(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function nx(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var MR=function(e){var t=document.head,r=e||t,a=document.createElement("style"),o=(function(s){var l=Array.from(s.querySelectorAll("style[".concat(Ln,"]")));return l[l.length-1]})(r),n=o!==void 0?o.nextSibling:null;a.setAttribute(Ln,_R),a.setAttribute(Wm,su);var i=nx();return i&&a.setAttribute("nonce",i),r.insertBefore(a,n),a},BD=(function(){function e(t){this.element=MR(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){var a;if(r.sheet)return r.sheet;for(var o=(a=r.getRootNode().styleSheets)!==null&&a!==void 0?a:document.styleSheets,n=0,i=o.length;n<i;n++){var s=o[n];if(s.ownerNode===r)return s}throw vo(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),MD=(function(){function e(t){this.element=MR(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var a=document.createTextNode(r);return this.element.insertBefore(a,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),FD=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),SR=Rd,PD={isServer:!Rd,useCSSOMInjection:!pD},kd=(function(){function e(t,r,a){t===void 0&&(t=lu),r===void 0&&(r={});var o=this;this.options=fr(fr({},PD),t),this.gs=r,this.names=new Map(a),this.server=!!t.isServer,!this.server&&Rd&&SR&&(SR=!1,ex(this)),px(this,function(){return(function(n){for(var i=n.getTag(),s=i.length,l="",u=function(d){var f=(function(g){return Km.get(g)})(d);if(f===void 0)return"continue";var m=n.names.get(f);if(m===void 0||!m.size)return"continue";var h=i.getGroup(d);if(h.length===0)return"continue";var y=Ln+".g"+d+'[id="'+f+'"]',S="";m.forEach(function(g){g.length>0&&(S+=g+",")}),l+=h+y+'{content:"'+S+'"}'+cx},c=0;c<s;c++)u(c);return l})(o)})}return e.registerId=function(t){return _d(t)},e.prototype.rehydrate=function(){!this.server&&Rd&&ex(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var a=new e(fr(fr({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Rd&&t.target!==this.options.target&&ox(this.options.target)!==ox(t.target)&&ex(a),a},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var a=r.useCSSOMInjection,o=r.target;return r.isServer?new FD(o):a?new BD(o):new MD(o)})(this.options),new RD(t)));var t},e.prototype.hasNameForId=function(t,r){var a,o;return(o=(a=this.names.get(t))===null||a===void 0?void 0:a.has(r))!==null&&o!==void 0&&o},e.prototype.registerName=function(t,r){_d(t);var a=this.names.get(t);a?a.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,a){this.registerName(t,r),this.getTag().insertRules(_d(t),a)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(_d(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),DD=/&/g,Sn=47,Ls=42;function CR(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,r=0,a=0,o=!1,n=0;n<t;n++){var i=e.charCodeAt(n);if(a!==0||o||i!==Sn||e.charCodeAt(n+1)!==Ls)if(o)i===Ls&&e.charCodeAt(n+1)===Sn&&(o=!1,n++);else if(i!==34&&i!==39||n!==0&&e.charCodeAt(n-1)===92){if(a===0){if(i===123)r++;else if(i===125&&--r<0)return!0}}else a===0?a=i:a===i&&(a=0);else o=!0,n++}return r!==0||a!==0}function FR(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(a){return"".concat(t," ").concat(a)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=FR(r.children,t)),r})}function PR(e){var t,r,a,o=e===void 0?lu:e,n=o.options,i=n===void 0?lu:n,s=o.plugins,l=s===void 0?dx:s,u=function(h,y,S){return S.startsWith(r)&&S.endsWith(r)&&S.replaceAll(r,"").length>0?".".concat(t):h},c=l.slice();c.push(function(h){h.type===xi&&h.value.includes("&")&&(a||(a=new RegExp("\\".concat(r,"\\b"),"g")),h.props[0]=h.props[0].replace(DD,r).replace(a,u))}),i.prefix&&c.push(pR),c.push($m);var d=[],f=dR(c.concat(fR(function(h){return d.push(h)}))),m=function(h,y,S,g){y===void 0&&(y=""),S===void 0&&(S=""),g===void 0&&(g="&"),t=g,r=y,a=void 0;var p=(function(b){if(!CR(b))return b;for(var C=b.length,L="",x=0,I=0,E=0,T=!1,k=0;k<C;k++){var M=b.charCodeAt(k);if(E!==0||T||M!==Sn||b.charCodeAt(k+1)!==Ls)if(T)M===Ls&&b.charCodeAt(k+1)===Sn&&(T=!1,k++);else if(M!==34&&M!==39||k!==0&&b.charCodeAt(k-1)===92){if(E===0)if(M===123)I++;else if(M===125){if(--I<0){for(var A=k+1;A<C;){var B=b.charCodeAt(A);if(B===59||B===10)break;A++}A<C&&b.charCodeAt(A)===59&&A++,I=0,k=A-1,x=A;continue}I===0&&(L+=b.substring(x,k+1),x=k+1)}else M===59&&I===0&&(L+=b.substring(x,k+1),x=k+1)}else E===0?E=M:E===M&&(E=0);else T=!0,k++}if(x<C){var H=b.substring(x);CR(H)||(L+=H)}return L})((function(b){if(b.indexOf("//")===-1)return b;for(var C=b.length,L=[],x=0,I=0,E=0,T=0;I<C;){var k=b.charCodeAt(I);if(k!==34&&k!==39||I!==0&&b.charCodeAt(I-1)===92)if(E===0)if(k===Sn&&I+1<C&&b.charCodeAt(I+1)===Ls){for(I+=2;I+1<C&&(b.charCodeAt(I)!==Ls||b.charCodeAt(I+1)!==Sn);)I++;I+=2}else if(k===40&&I>=3&&(32|b.charCodeAt(I-1))==108&&(32|b.charCodeAt(I-2))==114&&(32|b.charCodeAt(I-3))==117)T=1,I++;else if(T>0)k===41?T--:k===40&&T++,I++;else if(k===Ls&&I+1<C&&b.charCodeAt(I+1)===Sn)I>x&&L.push(b.substring(x,I)),x=I+=2;else if(k===Sn&&I+1<C&&b.charCodeAt(I+1)===Sn){for(I>x&&L.push(b.substring(x,I));I<C&&b.charCodeAt(I)!==10;)I++;x=I}else I++;else I++;else E===0?E=k:E===k&&(E=0),I++}return x===0?b:(x<C&&L.push(b.substring(x)),L.join(""))})(h)),v=qm(S||y?"".concat(S," ").concat(y," { ").concat(p," }"):p);return i.namespace&&(v=FR(v,i.namespace)),d=[],Si(v,f),d};return m.hash=l.length?l.reduce(function(h,y){return y.name||vo(15),Cs(h,y.name)},5381).toString():"",m}var ND=new kd,ix=PR(),sx={shouldForwardProp:void 0,styleSheet:ND,stylis:ix},mx=Cn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(sx)}}:_t.default.createContext(sx),TG=mx.Consumer,HD=Cn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:_t.default.createContext(void 0);function lx(){return Cn?sx:_t.default.useContext(mx)}function UD(e){if(Cn||!_t.default.useMemo)return e.children;var t=lx().styleSheet,r=_t.default.useMemo(function(){var n=t;return e.sheet?n=e.sheet:e.target&&(n=n.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[e.disableCSSOMInjection,e.sheet,e.target,t]),a=_t.default.useMemo(function(){return PR({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=_t.default.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:r,stylis:a}},[e.shouldForwardProp,r,a]);return _t.default.createElement(mx.Provider,{value:o},_t.default.createElement(HD.Provider,{value:a},e.children))}var DR=(function(){function e(t,r){var a=this;this.inject=function(o,n){n===void 0&&(n=ix);var i=a.name+n.hash;o.hasNameForId(a.id,i)||o.insertRules(a.id,i,n(a.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,px(this,function(){throw vo(12,String(a.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=ix),this.name+t.hash},e})();function zD(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in mR||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var VD=function(e){return e>="A"&&e<="Z"};function LR(e){for(var t="",r=0;r<e.length;r++){var a=e[r];if(r===1&&a==="-"&&e[0]==="-")return e;VD(a)?t+="-"+a.toLowerCase():t+=a}return t.startsWith("ms-")?"-"+t:t}var NR=function(e){return e==null||e===!1||e===""},HR=function(e){var t=[];for(var r in e){var a=e[r];e.hasOwnProperty(r)&&!NR(a)&&(Array.isArray(a)&&a.isCss||Es(a)?t.push("".concat(LR(r),":"),a,";"):Td(a)?t.push.apply(t,tu(tu(["".concat(r," {")],HR(a),!1),["}"],!1)):t.push("".concat(LR(r),": ").concat(zD(r,a),";")))}return t};function Ci(e,t,r,a,o){if(o===void 0&&(o=[]),typeof e=="string")return e&&o.push(e),o;if(NR(e))return o;if(fx(e))return o.push(".".concat(e.styledComponentId)),o;if(Es(e)){if(!Es(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return o.push(e),o;var n=e(t);return Ci(n,t,r,a,o)}var i;if(e instanceof DR)return r?(e.inject(r,a),o.push(e.getName(a))):o.push(e),o;if(Td(e)){for(var s=HR(e),l=0;l<s.length;l++)o.push(s[l]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(l=0;l<e.length;l++)Ci(e[l],t,r,a,o);return o}function UR(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Es(r)&&!fx(r))return!1}return!0}var qD=wR(su),$D=(function(){function e(t,r,a){this.rules=t,this.staticRulesId="",this.isStatic=(a===void 0||a.isStatic)&&UR(t),this.componentId=r,this.baseHash=Cs(qD,r),this.baseStyle=a,kd.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,a){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,a).className:"";if(this.isStatic&&!a.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=Is(o,this.staticRulesId);else{var n=wd(Ci(this.rules,t,r,a)),i=rx(Cs(this.baseHash,n)>>>0);if(!r.hasNameForId(this.componentId,i)){var s=a(n,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,s)}o=Is(o,i),this.staticRulesId=i}else{for(var l=Cs(this.baseHash,a.hash),u="",c=0;c<this.rules.length;c++){var d=this.rules[c];if(typeof d=="string")u+=d;else if(d){var f=wd(Ci(d,t,r,a));l=Cs(Cs(l,String(c)),f),u+=f}}if(u){var m=rx(l>>>0);if(!r.hasNameForId(this.componentId,m)){var h=a(u,".".concat(m),void 0,this.componentId);r.insertRules(this.componentId,m,h)}o=Is(o,m)}}return{className:o,css:typeof window>"u"?r.getTag().getGroup(_d(this.componentId)):""}},e})(),Ym=Cn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:_t.default.createContext(void 0),kG=Ym.Consumer;function zR(e){if(Cn)return e.children;var t=_t.default.useContext(Ym),r=_t.default.useMemo(function(){return(function(a,o){if(!a)throw vo(14);if(Es(a)){var n=a(o);return n}if(Array.isArray(a)||typeof a!="object")throw vo(8);return o?fr(fr({},o),a):a})(e.theme,t)},[e.theme,t]);return e.children?_t.default.createElement(Ym.Provider,{value:r},e.children):null}var tx={};function GD(e,t,r){var a=fx(e),o=e,n=!Jy(e),i=t.attrs,s=i===void 0?dx:i,l=t.componentId,u=l===void 0?(function(b,C){var L=typeof b!="string"?"sc":gR(b);tx[L]=(tx[L]||0)+1;var x="".concat(L,"-").concat(TR(su+L+tx[L]));return C?"".concat(C,"-").concat(x):x})(t.displayName,t.parentComponentId):l,c=t.displayName,d=c===void 0?(function(b){return Jy(b)?"styled.".concat(b):"Styled(".concat(bD(b),")")})(e):c,f=t.displayName&&t.componentId?"".concat(gR(t.displayName),"-").concat(t.componentId):t.componentId||u,m=a&&o.attrs?o.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(a&&o.shouldForwardProp){var y=o.shouldForwardProp;if(t.shouldForwardProp){var S=t.shouldForwardProp;h=function(b,C){return y(b,C)&&S(b,C)}}else h=y}var g=new $D(r,f,a?o.componentStyle:void 0);function p(b,C){return(function(L,x,I){var E=L.attrs,T=L.componentStyle,k=L.defaultProps,M=L.foldedComponentIds,A=L.styledComponentId,B=L.target,H=Cn?void 0:_t.default.useContext(Ym),N=lx(),U=L.shouldForwardProp||N.shouldForwardProp,F=mD(x,H,k)||(Cn?void 0:lu),j=(function(Ne,fe,we){for(var ye,J=fr(fr({},fe),{className:void 0,theme:we}),xe=0;xe<Ne.length;xe+=1){var Se=Es(ye=Ne[xe])?ye(J):ye;for(var te in Se)te==="className"?J.className=Is(J.className,Se[te]):te==="style"?J.style=fr(fr({},J.style),Se[te]):J[te]=Se[te]}return"className"in fe&&typeof fe.className=="string"&&(J.className=Is(J.className,fe.className)),J})(E,x,F),W=j.as||B,K={};for(var z in j)j[z]===void 0||z[0]==="$"||z==="as"||z==="theme"&&j.theme===F||(z==="forwardedAs"?K.as=j.forwardedAs:U&&!U(z,W)||(K[z]=j[z]));var X=(function(Ne,fe){var we=lx(),ye=Ne.generateAndInjectStyles(fe,we.styleSheet,we.stylis);return ye})(T,j),$=X.className,ue=X.css,ne=Is(M,A);$&&(ne+=" "+$),j.className&&(ne+=" "+j.className),K[Jy(W)&&!RR.has(W)?"class":"className"]=ne,I&&(K.ref=I);var Re=(0,_t.createElement)(W,K);return Cn&&ue?_t.default.createElement(_t.default.Fragment,null,_t.default.createElement("style",{precedence:"styled-components",href:"sc-".concat(A,"-").concat($),children:ue}),Re):Re})(v,b,C)}p.displayName=d;var v=_t.default.forwardRef(p);return v.attrs=m,v.componentStyle=g,v.displayName=d,v.shouldForwardProp=h,v.foldedComponentIds=a?Is(o.foldedComponentIds,o.styledComponentId):"",v.styledComponentId=f,v.target=a?o.target:e,Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(b){this._foldedDefaultProps=a?(function(C){for(var L=[],x=1;x<arguments.length;x++)L[x-1]=arguments[x];for(var I=0,E=L;I<E.length;I++)ax(C,E[I],!0);return C})({},o.defaultProps,b):b}}),px(v,function(){return".".concat(v.styledComponentId)}),n&&BR(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}function IR(e,t){for(var r=[e[0]],a=0,o=t.length;a<o;a+=1)r.push(t[a],e[a+1]);return r}var ER=function(e){return Object.assign(e,{isCss:!0})};function In(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Es(e)||Td(e))return ER(Ci(IR(dx,tu([e],t,!0))));var a=e;return t.length===0&&a.length===1&&typeof a[0]=="string"?Ci(a):ER(Ci(IR(a,t)))}function ux(e,t,r){if(r===void 0&&(r=lu),!t)throw vo(1,t);var a=function(o){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return e(t,r,In.apply(void 0,tu([o],n,!1)))};return a.attrs=function(o){return ux(e,t,fr(fr({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},a.withConfig=function(o){return ux(e,t,fr(fr({},r),o))},a}var VR=function(e){return ux(GD,e)},Z=VR;RR.forEach(function(e){Z[e]=VR(e)});var AG=(function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=UR(t),kd.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,r,a,o){var n=o(wd(Ci(this.rules,r,a,o)),""),i=this.componentId+t;a.insertRules(i,i,n)},e.prototype.removeStyles=function(t,r){r.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,r,a,o){t>2&&kd.registerId(this.componentId+t);var n=this.componentId+t;this.isStatic?a.hasNameForId(n,n)||this.createStyles(t,r,a,o):(this.removeStyles(t,a),this.createStyles(t,r,a,o))},e})();function qR(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var a=wd(In.apply(void 0,tu([e],t,!1))),o=TR(a);return new DR(o,a)}var OG=(function(){function e(){var t=this;this._emitSheetCSS=function(){var r=t.instance.toString();if(!r)return"";var a=nx(),o=wd([a&&'nonce="'.concat(a,'"'),"".concat(Ln,'="true"'),"".concat(Wm,'="').concat(su,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(r,"</style>")},this.getStyleTags=function(){if(t.sealed)throw vo(2);return t._emitSheetCSS()},this.getStyleElement=function(){var r;if(t.sealed)throw vo(2);var a=t.instance.toString();if(!a)return[];var o=((r={})[Ln]="",r[Wm]=su,r.dangerouslySetInnerHTML={__html:a},r),n=nx();return n&&(o.nonce=n),[_t.default.createElement("style",fr({},o,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new kd({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw vo(2);return _t.default.createElement(UD,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){throw vo(3)},e})();var BG="__sc-".concat(Ln,"__");var $R=Object.prototype.toString;function Ad(e){switch($R.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Vo(e,Error)}}function uu(e,t){return $R.call(e)===`[object ${t}]`}function cu(e){return uu(e,"ErrorEvent")}function Xm(e){return uu(e,"DOMError")}function gx(e){return uu(e,"DOMException")}function oa(e){return uu(e,"String")}function Qm(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Od(e){return e===null||Qm(e)||typeof e!="object"&&typeof e!="function"}function Li(e){return uu(e,"Object")}function _s(e){return typeof Event<"u"&&Vo(e,Event)}function vx(e){return typeof Element<"u"&&Vo(e,Element)}function hx(e){return uu(e,"RegExp")}function Rs(e){return!!(e&&e.then&&typeof e.then=="function")}function bx(e){return Li(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function yx(e){return typeof e=="number"&&e!==e}function Vo(e,t){try{return e instanceof t}catch{return!1}}function Bd(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function du(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Zm(e,t){if(!Array.isArray(e))return"";let r=[];for(let a=0;a<e.length;a++){let o=e[a];try{Bd(o)?r.push("[VueViewModel]"):r.push(String(o))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function GR(e,t,r=!1){return oa(e)?hx(t)?t.test(e):oa(t)?r?e===t:e.includes(t):!1:!1}function fu(e,t=[],r=!1){return t.some(a=>GR(e,a,r))}function Md(e,t,r=250,a,o,n,i){if(!n.exception||!n.exception.values||!i||!Vo(i.originalException,Error))return;let s=n.exception.values.length>0?n.exception.values[n.exception.values.length-1]:void 0;s&&(n.exception.values=jD(xx(e,t,o,i.originalException,a,n.exception.values,s,0),r))}function xx(e,t,r,a,o,n,i,s){if(n.length>=r+1)return n;let l=[...n];if(Vo(a[o],Error)){jR(i,s);let u=e(t,a[o]),c=l.length;WR(u,o,c,s),l=xx(e,t,r,a[o],o,[u,...l],u,c)}return Array.isArray(a.errors)&&a.errors.forEach((u,c)=>{if(Vo(u,Error)){jR(i,s);let d=e(t,u),f=l.length;WR(d,`errors[${c}]`,f,s),l=xx(e,t,r,u,o,[d,...l],d,f)}}),l}function jR(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function WR(e,t,r,a){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:a}}function jD(e,t){return e.map(r=>(r.value&&(r.value=du(r.value,t)),r))}function Jm(e){return e&&e.Math==Math?e:void 0}var he=typeof globalThis=="object"&&Jm(globalThis)||typeof window=="object"&&Jm(window)||typeof self=="object"&&Jm(self)||typeof global=="object"&&Jm(global)||(function(){return this})()||{};function ws(){return he}function Fd(e,t,r){let a=r||he,o=a.__SENTRY__=a.__SENTRY__||{};return o[e]||(o[e]=t())}var Sx=ws(),WD=80;function Pd(e,t={}){if(!e)return"<unknown>";try{let r=e,a=5,o=[],n=0,i=0,s=" > ",l=s.length,u,c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||WD;for(;r&&n++<a&&(u=KD(r,c),!(u==="html"||n>1&&i+o.length*l+u.length>=d));)o.push(u),i+=u.length,r=r.parentNode;return o.reverse().join(s)}catch{return"<unknown>"}}function KD(e,t){let r=e,a=[],o,n,i,s,l;if(!r||!r.tagName)return"";if(Sx.HTMLElement&&r instanceof HTMLElement&&r.dataset&&r.dataset.sentryComponent)return r.dataset.sentryComponent;a.push(r.tagName.toLowerCase());let u=t&&t.length?t.filter(d=>r.getAttribute(d)).map(d=>[d,r.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{a.push(`[${d[0]}="${d[1]}"]`)});else if(r.id&&a.push(`#${r.id}`),o=r.className,o&&oa(o))for(n=o.split(/\s+/),l=0;l<n.length;l++)a.push(`.${n[l]}`);let c=["aria-label","type","name","title","alt"];for(l=0;l<c.length;l++)i=c[l],s=r.getAttribute(i),s&&a.push(`[${i}="${s}"]`);return a.join("")}function Cx(){try{return Sx.document.location.href}catch{return""}}function Lx(e){if(!Sx.HTMLElement)return null;let t=e,r=5;for(let a=0;a<r;a++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}var Ii=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var YD="Sentry Logger ",Dd=["debug","info","warn","error","log","assert","trace"],pu={};function eg(e){if(!("console"in he))return e();let t=he.console,r={},a=Object.keys(pu);a.forEach(o=>{let n=pu[o];r[o]=t[o],t[o]=n});try{return e()}finally{a.forEach(o=>{t[o]=r[o]})}}function XD(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Ii?Dd.forEach(r=>{t[r]=(...a)=>{e&&eg(()=>{he.console[r](`${YD}[${r}]:`,...a)})}}):Dd.forEach(r=>{t[r]=()=>{}}),t}var Ve=XD();function Rt(e,t,r){if(!(t in e))return;let a=e[t],o=r(a);typeof o=="function"&&tg(o,a),e[t]=o}function Ts(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{Ii&&Ve.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function tg(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,Ts(e,"__sentry_original__",t)}catch{}}function ks(e){return e.__sentry_original__}function rg(e){if(Ad(e))return{message:e.message,name:e.name,stack:e.stack,...YR(e)};if(_s(e)){let t={type:e.type,target:KR(e.target),currentTarget:KR(e.currentTarget),...YR(e)};return typeof CustomEvent<"u"&&Vo(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function KR(e){try{return vx(e)?Pd(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function YR(e){if(typeof e=="object"&&e!==null){let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}else return{}}function Ex(e,t=40){let r=Object.keys(rg(e));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=t)return du(r[0],t);for(let a=r.length;a>0;a--){let o=r.slice(0,a).join(", ");if(!(o.length>t))return a===r.length?o:du(o,t)}return""}function Wa(e){return Ix(e,new Map)}function Ix(e,t){if(QD(e)){let r=t.get(e);if(r!==void 0)return r;let a={};t.set(e,a);for(let o of Object.keys(e))typeof e[o]<"u"&&(a[o]=Ix(e[o],t));return a}if(Array.isArray(e)){let r=t.get(e);if(r!==void 0)return r;let a=[];return t.set(e,a),e.forEach(o=>{a.push(Ix(o,t))}),a}return e}function QD(e){if(!Li(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}var _x="<anonymous>";function Ka(e){try{return!e||typeof e!="function"?_x:e.name||_x}catch{return _x}}var ag={},XR={};function na(e,t){ag[e]=ag[e]||[],ag[e].push(t)}function ia(e,t){XR[e]||(t(),XR[e]=!0)}function pr(e,t){let r=e&&ag[e];if(r)for(let a of r)try{a(t)}catch(o){Ii&&Ve.error(`Error while triggering instrumentation handler.
9
+ `).replace(TP,"")}function __(e,t){return t=PL(t),PL(e)===t}function at(e,t,r,a,o,n){switch(r){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Hl(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Hl(e,""+a);break;case"className":fp(e,"class",a);break;case"tabIndex":fp(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":fp(e,r,a);break;case"style":LI(e,a,n);break;case"data":if(t!=="object"){fp(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(r);break}a=Rp(""+a),e.setAttribute(r,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(r,"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 n=="function"&&(r==="formAction"?(t!=="input"&&at(e,t,"name",o.name,o,null),at(e,t,"formEncType",o.formEncType,o,null),at(e,t,"formMethod",o.formMethod,o,null),at(e,t,"formTarget",o.formTarget,o,null)):(at(e,t,"encType",o.encType,o,null),at(e,t,"method",o.method,o,null),at(e,t,"target",o.target,o,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(r);break}a=Rp(""+a),e.setAttribute(r,a);break;case"onClick":a!=null&&(e.onclick=ln);break;case"onScroll":a!=null&&Oe("scroll",e);break;case"onScrollEnd":a!=null&&Oe("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(D(61));if(r=a.__html,r!=null){if(o.children!=null)throw Error(D(60));e.innerHTML=r}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}r=Rp(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(r,""+a):e.removeAttribute(r);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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":a===!0?e.setAttribute(r,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(r,a):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(r,a):e.removeAttribute(r);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(r):e.setAttribute(r,a);break;case"popover":Oe("beforetoggle",e),Oe("toggle",e),_p(e,"popover",a);break;case"xlinkActuate":Jo(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Jo(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Jo(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Jo(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Jo(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Jo(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Jo(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Jo(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Jo(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":_p(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=nF.get(r)||r,_p(e,r,a))}}function zb(e,t,r,a,o,n){switch(r){case"style":LI(e,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(D(61));if(r=a.__html,r!=null){if(o.children!=null)throw Error(D(60));e.innerHTML=r}}break;case"children":typeof a=="string"?Hl(e,a):(typeof a=="number"||typeof a=="bigint")&&Hl(e,""+a);break;case"onScroll":a!=null&&Oe("scroll",e);break;case"onScrollEnd":a!=null&&Oe("scrollend",e);break;case"onClick":a!=null&&(e.onclick=ln);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!hI.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(o=r.endsWith("Capture"),t=r.slice(2,o?r.length-7:void 0),n=e[ra]||null,n=n!=null?n[r]:null,typeof n=="function"&&e.removeEventListener(t,n,o),typeof a=="function")){typeof n!="function"&&n!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,a,o);break e}r in e?e[r]=a:a===!0?e.setAttribute(r,""):_p(e,r,a)}}}function wr(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oe("error",e),Oe("load",e);var a=!1,o=!1,n;for(n in r)if(r.hasOwnProperty(n)){var i=r[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(D(137,t));default:at(e,t,n,i,r,null)}}o&&at(e,t,"srcSet",r.srcSet,r,null),a&&at(e,t,"src",r.src,r,null);return;case"input":Oe("invalid",e);var s=n=i=o=null,l=null,u=null;for(a in r)if(r.hasOwnProperty(a)){var c=r[a];if(c!=null)switch(a){case"name":o=c;break;case"type":i=c;break;case"checked":l=c;break;case"defaultChecked":u=c;break;case"value":n=c;break;case"defaultValue":s=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(D(137,t));break;default:at(e,t,a,c,r,null)}}xI(e,n,s,l,u,i,o,!1);return;case"select":Oe("invalid",e),a=i=n=null;for(o in r)if(r.hasOwnProperty(o)&&(s=r[o],s!=null))switch(o){case"value":n=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:at(e,t,o,s,r,null)}t=n,r=i,e.multiple=!!a,t!=null?Al(e,!!a,t,!1):r!=null&&Al(e,!!a,r,!0);return;case"textarea":Oe("invalid",e),n=o=a=null;for(i in r)if(r.hasOwnProperty(i)&&(s=r[i],s!=null))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"children":n=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(D(91));break;default:at(e,t,i,s,r,null)}CI(e,a,o,n);return;case"option":for(l in r)if(r.hasOwnProperty(l)&&(a=r[l],a!=null))switch(l){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:at(e,t,l,a,r,null)}return;case"dialog":Oe("beforetoggle",e),Oe("toggle",e),Oe("cancel",e),Oe("close",e);break;case"iframe":case"object":Oe("load",e);break;case"video":case"audio":for(a=0;a<td.length;a++)Oe(td[a],e);break;case"image":Oe("error",e),Oe("load",e);break;case"details":Oe("toggle",e);break;case"embed":case"source":case"link":Oe("error",e),Oe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in r)if(r.hasOwnProperty(u)&&(a=r[u],a!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(D(137,t));default:at(e,t,u,a,r,null)}return;default:if(ay(t)){for(c in r)r.hasOwnProperty(c)&&(a=r[c],a!==void 0&&zb(e,t,c,a,r,void 0));return}}for(s in r)r.hasOwnProperty(s)&&(a=r[s],a!=null&&at(e,t,s,a,r,null))}function kP(e,t,r,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,n=null,i=null,s=null,l=null,u=null,c=null;for(m in r){var d=r[m];if(r.hasOwnProperty(m)&&d!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":l=d;default:a.hasOwnProperty(m)||at(e,t,m,null,a,d)}}for(var f in a){var m=a[f];if(d=r[f],a.hasOwnProperty(f)&&(m!=null||d!=null))switch(f){case"type":n=m;break;case"name":o=m;break;case"checked":u=m;break;case"defaultChecked":c=m;break;case"value":i=m;break;case"defaultValue":s=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(D(137,t));break;default:m!==d&&at(e,t,f,m,a,d)}}fb(e,i,s,l,u,c,n,o);return;case"select":m=i=s=f=null;for(n in r)if(l=r[n],r.hasOwnProperty(n)&&l!=null)switch(n){case"value":break;case"multiple":m=l;default:a.hasOwnProperty(n)||at(e,t,n,null,a,l)}for(o in a)if(n=a[o],l=r[o],a.hasOwnProperty(o)&&(n!=null||l!=null))switch(o){case"value":f=n;break;case"defaultValue":s=n;break;case"multiple":i=n;default:n!==l&&at(e,t,o,n,a,l)}t=s,r=i,a=m,f!=null?Al(e,!!r,f,!1):!!a!=!!r&&(t!=null?Al(e,!!r,t,!0):Al(e,!!r,r?[]:"",!1));return;case"textarea":m=f=null;for(s in r)if(o=r[s],r.hasOwnProperty(s)&&o!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:at(e,t,s,null,a,o)}for(i in a)if(o=a[i],n=r[i],a.hasOwnProperty(i)&&(o!=null||n!=null))switch(i){case"value":f=o;break;case"defaultValue":m=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(D(91));break;default:o!==n&&at(e,t,i,o,a,n)}SI(e,f,m);return;case"option":for(var h in r)if(f=r[h],r.hasOwnProperty(h)&&f!=null&&!a.hasOwnProperty(h))switch(h){case"selected":e.selected=!1;break;default:at(e,t,h,null,a,f)}for(l in a)if(f=a[l],m=r[l],a.hasOwnProperty(l)&&f!==m&&(f!=null||m!=null))switch(l){case"selected":e.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:at(e,t,l,f,a,m)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var y in r)f=r[y],r.hasOwnProperty(y)&&f!=null&&!a.hasOwnProperty(y)&&at(e,t,y,null,a,f);for(u in a)if(f=a[u],m=r[u],a.hasOwnProperty(u)&&f!==m&&(f!=null||m!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(D(137,t));break;default:at(e,t,u,f,a,m)}return;default:if(ay(t)){for(var S in r)f=r[S],r.hasOwnProperty(S)&&f!==void 0&&!a.hasOwnProperty(S)&&zb(e,t,S,void 0,a,f);for(c in a)f=a[c],m=r[c],!a.hasOwnProperty(c)||f===m||f===void 0&&m===void 0||zb(e,t,c,f,a,m);return}}for(var g in r)f=r[g],r.hasOwnProperty(g)&&f!=null&&!a.hasOwnProperty(g)&&at(e,t,g,null,a,f);for(d in a)f=a[d],m=r[d],!a.hasOwnProperty(d)||f===m||f==null&&m==null||at(e,t,d,f,a,m)}function DL(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function AP(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),a=0;a<r.length;a++){var o=r[a],n=o.transferSize,i=o.initiatorType,s=o.duration;if(n&&s&&DL(i)){for(i=0,s=o.responseEnd,a+=1;a<r.length;a++){var l=r[a],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&DL(d)&&(l=l.responseEnd,i+=c*(l<s?1:(s-u)/(l-u)))}if(--a,t+=8*(n+i)/(o.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 Vb=null,qb=null;function cm(e){return e.nodeType===9?e:e.ownerDocument}function NL(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 R_(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 $b(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 eb=null;function OP(){var e=window.event;return e&&e.type==="popstate"?e===eb?!1:(eb=e,!0):(eb=null,!1)}var w_=typeof setTimeout=="function"?setTimeout:void 0,BP=typeof clearTimeout=="function"?clearTimeout:void 0,HL=typeof Promise=="function"?Promise:void 0,MP=typeof queueMicrotask=="function"?queueMicrotask:typeof HL<"u"?function(e){return HL.resolve(null).then(e).catch(FP)}:w_;function FP(e){setTimeout(function(){throw e})}function bi(e){return e==="head"}function UL(e,t){var r=t,a=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"||r==="/&"){if(a===0){e.removeChild(o),Wl(t);return}a--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")a++;else if(r==="html")Gc(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,Gc(r);for(var n=r.firstChild;n;){var i=n.nextSibling,s=n.nodeName;n[cd]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&n.rel.toLowerCase()==="stylesheet"||r.removeChild(n),n=i}}else r==="body"&&Gc(e.ownerDocument.body);r=o}while(r);Wl(t)}function zL(e,t){var r=e;e=0;do{var a=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=a}while(r)}function Gb(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Gb(r),ry(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function PP(e,t,r,a){for(;e.nodeType===1;){var o=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[cd])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(n=e.getAttribute("rel"),n==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(n!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(n=e.getAttribute("src"),(n!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&n&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var n=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===n)return e}else return e;if(e=qa(e.nextSibling),e===null)break}return null}function DP(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=qa(e.nextSibling),e===null))return null;return e}function T_(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=qa(e.nextSibling),e===null))return null;return e}function jb(e){return e.data==="$?"||e.data==="$~"}function Wb(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function NP(e,t){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||r.readyState!=="loading")t();else{var a=function(){t(),r.removeEventListener("DOMContentLoaded",a)};r.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function qa(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 Kb=null;function VL(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(t===0)return qa(e.nextSibling);t--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||t++}e=e.nextSibling}return null}function qL(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(t===0)return e;t--}else r!=="/$"&&r!=="/&"||t++}e=e.previousSibling}return null}function k_(e,t,r){switch(t=cm(r),e){case"html":if(e=t.documentElement,!e)throw Error(D(452));return e;case"head":if(e=t.head,!e)throw Error(D(453));return e;case"body":if(e=t.body,!e)throw Error(D(454));return e;default:throw Error(D(451))}}function Gc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ry(e)}var $a=new Map,$L=new Set;function dm(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var bn=We.d;We.d={f:HP,r:UP,D:zP,C:VP,L:qP,m:$P,X:jP,S:GP,M:WP};function HP(){var e=bn.f(),t=wm();return e||t}function UP(e){var t=Yl(e);t!==null&&t.tag===5&&t.type==="form"?LE(t):bn.r(e)}var Jl=typeof document>"u"?null:document;function A_(e,t,r){var a=Jl;if(a&&typeof t=="string"&&t){var o=Ha(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof r=="string"&&(o+='[crossorigin="'+r+'"]'),$L.has(o)||($L.add(o),e={rel:e,crossOrigin:r,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),wr(t,"link",e),cr(t),a.head.appendChild(t)))}}function zP(e){bn.D(e),A_("dns-prefetch",e,null)}function VP(e,t){bn.C(e,t),A_("preconnect",e,t)}function qP(e,t,r){bn.L(e,t,r);var a=Jl;if(a&&e&&t){var o='link[rel="preload"][as="'+Ha(t)+'"]';t==="image"&&r&&r.imageSrcSet?(o+='[imagesrcset="'+Ha(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(o+='[imagesizes="'+Ha(r.imageSizes)+'"]')):o+='[href="'+Ha(e)+'"]';var n=o;switch(t){case"style":n=jl(e);break;case"script":n=eu(e)}$a.has(n)||(e=gt({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),$a.set(n,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(vd(n))||t==="script"&&a.querySelector(hd(n))||(t=a.createElement("link"),wr(t,"link",e),cr(t),a.head.appendChild(t)))}}function $P(e,t){bn.m(e,t);var r=Jl;if(r&&e){var a=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ha(a)+'"][href="'+Ha(e)+'"]',n=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=eu(e)}if(!$a.has(n)&&(e=gt({rel:"modulepreload",href:e},t),$a.set(n,e),r.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(hd(n)))return}a=r.createElement("link"),wr(a,"link",e),cr(a),r.head.appendChild(a)}}}function GP(e,t,r){bn.S(e,t,r);var a=Jl;if(a&&e){var o=kl(a).hoistableStyles,n=jl(e);t=t||"default";var i=o.get(n);if(!i){var s={loading:0,preload:null};if(i=a.querySelector(vd(n)))s.loading=5;else{e=gt({rel:"stylesheet",href:e,"data-precedence":t},r),(r=$a.get(n))&&zy(e,r);var l=i=a.createElement("link");cr(l),wr(l,"link",e),l._p=new Promise(function(u,c){l.onload=u,l.onerror=c}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Dp(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:s},o.set(n,i)}}}function jP(e,t){bn.X(e,t);var r=Jl;if(r&&e){var a=kl(r).hoistableScripts,o=eu(e),n=a.get(o);n||(n=r.querySelector(hd(o)),n||(e=gt({src:e,async:!0},t),(t=$a.get(o))&&Vy(e,t),n=r.createElement("script"),cr(n),wr(n,"link",e),r.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(o,n))}}function WP(e,t){bn.M(e,t);var r=Jl;if(r&&e){var a=kl(r).hoistableScripts,o=eu(e),n=a.get(o);n||(n=r.querySelector(hd(o)),n||(e=gt({src:e,async:!0,type:"module"},t),(t=$a.get(o))&&Vy(e,t),n=r.createElement("script"),cr(n),wr(n,"link",e),r.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(o,n))}}function GL(e,t,r,a){var o=(o=oi.current)?dm(o):null;if(!o)throw Error(D(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=jl(r.href),r=kl(o).hoistableStyles,a=r.get(t),a||(a={type:"style",instance:null,count:0,state:null},r.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=jl(r.href);var n=kl(o).hoistableStyles,i=n.get(e);if(i||(o=o.ownerDocument||o,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(e,i),(n=o.querySelector(vd(e)))&&!n._p&&(i.instance=n,i.state.loading=5),$a.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},$a.set(e,r),n||KP(o,e,r,i.state))),t&&a===null)throw Error(D(528,""));return i}if(t&&a!==null)throw Error(D(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=eu(r),r=kl(o).hoistableScripts,a=r.get(t),a||(a={type:"script",instance:null,count:0,state:null},r.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(D(444,e))}}function jl(e){return'href="'+Ha(e)+'"'}function vd(e){return'link[rel="stylesheet"]['+e+"]"}function O_(e){return gt({},e,{"data-precedence":e.precedence,precedence:null})}function KP(e,t,r,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),wr(t,"link",r),cr(t),e.head.appendChild(t))}function eu(e){return'[src="'+Ha(e)+'"]'}function hd(e){return"script[async]"+e}function jL(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ha(r.href)+'"]');if(a)return t.instance=a,cr(a),a;var o=gt({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),cr(a),wr(a,"style",o),Dp(a,r.precedence,e),t.instance=a;case"stylesheet":o=jl(r.href);var n=e.querySelector(vd(o));if(n)return t.state.loading|=4,t.instance=n,cr(n),n;a=O_(r),(o=$a.get(o))&&zy(a,o),n=(e.ownerDocument||e).createElement("link"),cr(n);var i=n;return i._p=new Promise(function(s,l){i.onload=s,i.onerror=l}),wr(n,"link",a),t.state.loading|=4,Dp(n,r.precedence,e),t.instance=n;case"script":return n=eu(r.src),(o=e.querySelector(hd(n)))?(t.instance=o,cr(o),o):(a=r,(o=$a.get(n))&&(a=gt({},r),Vy(a,o)),e=e.ownerDocument||e,o=e.createElement("script"),cr(o),wr(o,"link",a),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(D(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Dp(a,r.precedence,e));return t.instance}function Dp(e,t,r){for(var a=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,n=o,i=0;i<a.length;i++){var s=a[i];if(s.dataset.precedence===t)n=s;else if(n!==o)break}n?n.parentNode.insertBefore(e,n.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function zy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Vy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Np=null;function WL(e,t,r){if(Np===null){var a=new Map,o=Np=new Map;o.set(r,a)}else o=Np,a=o.get(r),a||(a=new Map,o.set(r,a));if(a.has(e))return a;for(a.set(e,null),r=r.getElementsByTagName(e),o=0;o<r.length;o++){var n=r[o];if(!(n[cd]||n[Er]||e==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(t)||"";i=e+i;var s=a.get(i);s?s.push(n):a.set(i,[n])}}return a}function KL(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function YP(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function B_(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function XP(e,t,r,a){if(r.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var o=jl(a.href),n=t.querySelector(vd(o));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=fm.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=n,cr(n);return}n=t.ownerDocument||t,a=O_(a),(o=$a.get(o))&&zy(a,o),n=n.createElement("link"),cr(n);var i=n;i._p=new Promise(function(s,l){i.onload=s,i.onerror=l}),wr(n,"link",a),r.instance=n}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=fm.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}var tb=0;function QP(e,t){return e.stylesheets&&e.count===0&&Hp(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var a=setTimeout(function(){if(e.stylesheets&&Hp(e,e.stylesheets),e.unsuspend){var n=e.unsuspend;e.unsuspend=null,n()}},6e4+t);0<e.imgBytes&&tb===0&&(tb=62500*AP());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Hp(e,e.stylesheets),e.unsuspend)){var n=e.unsuspend;e.unsuspend=null,n()}},(e.imgBytes>tb?50:800)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}:null}function fm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Hp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var pm=null;function Hp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,pm=new Map,t.forEach(ZP,e),pm=null,fm.call(e))}function ZP(e,t){if(!(t.state.loading&4)){var r=pm.get(e);if(r)var a=r.get(null);else{r=new Map,pm.set(e,r);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<o.length;n++){var i=o[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(r.set(i.dataset.precedence,i),a=i)}a&&r.set(null,a)}o=t.instance,i=o.getAttribute("data-precedence"),n=r.get(i)||a,n===a&&r.set(null,o),r.set(i,o),this.count++,a=fm.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),n?n.parentNode.insertBefore(o,n.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var ad={$$typeof:sn,Provider:null,Consumer:null,_currentValue:as,_currentValue2:as,_threadCount:0};function JP(e,t,r,a,o,n,i,s,l){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=R0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=R0(0),this.hiddenUpdates=R0(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function M_(e,t,r,a,o,n,i,s,l,u,c,d){return e=new JP(e,t,r,i,l,u,c,d,s),t=1,n===!0&&(t|=24),n=ma(3,null,null,t),e.current=n,n.stateNode=e,t=my(),t.refCount++,e.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:r,cache:t},hy(n),e}function F_(e){return e?(e=_l,e):_l}function P_(e,t,r,a,o,n){o=F_(o),a.context===null?a.context=o:a.pendingContext=o,a=ii(t),a.payload={element:r},n=n===void 0?null:n,n!==null&&(a.callback=n),r=si(e,a,t),r!==null&&(ta(r,e,t),Dc(r,e,t))}function YL(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function qy(e,t){YL(e,t),(e=e.alternate)&&YL(e,t)}function D_(e){if(e.tag===13||e.tag===31){var t=vs(e,67108864);t!==null&&ta(t,e,67108864),qy(e,67108864)}}function XL(e){if(e.tag===13||e.tag===31){var t=ya();t=ey(t);var r=vs(e,t);r!==null&&ta(r,e,t),qy(e,t)}}var mm=!0;function eD(e,t,r,a){var o=se.T;se.T=null;var n=We.p;try{We.p=2,$y(e,t,r,a)}finally{We.p=n,se.T=o}}function tD(e,t,r,a){var o=se.T;se.T=null;var n=We.p;try{We.p=8,$y(e,t,r,a)}finally{We.p=n,se.T=o}}function $y(e,t,r,a){if(mm){var o=Yb(a);if(o===null)J0(e,t,a,gm,r),QL(e,a);else if(aD(o,e,t,r,a))a.stopPropagation();else if(QL(e,a),t&4&&-1<rD.indexOf(e)){for(;o!==null;){var n=Yl(o);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=es(n.pendingLanes);if(i!==0){var s=n;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-ba(i);s.entanglements[1]|=l,i&=~l}Uo(n),(je&6)===0&&(om=va()+500,gd(0,!1))}}break;case 31:case 13:s=vs(n,2),s!==null&&ta(s,n,2),wm(),qy(n,2)}if(n=Yb(a),n===null&&J0(e,t,a,gm,r),n===o)break;o=n}o!==null&&a.stopPropagation()}else J0(e,t,a,null,r)}}function Yb(e){return e=oy(e),Gy(e)}var gm=null;function Gy(e){if(gm=null,e=xl(e),e!==null){var t=id(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=aI(t),e!==null)return e;e=null}else if(r===31){if(e=oI(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return gm=e,null}function N_(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(q4()){case lI:return 2;case uI:return 8;case $p:case $4:return 32;case cI:return 268435456;default:return 32}default:return 32}}var Xb=!1,ci=null,di=null,fi=null,od=new Map,nd=new Map,Zn=[],rD="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 QL(e,t){switch(e){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":di=null;break;case"mouseover":case"mouseout":fi=null;break;case"pointerover":case"pointerout":od.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":nd.delete(t.pointerId)}}function _c(e,t,r,a,o,n){return e===null||e.nativeEvent!==n?(e={blockedOn:t,domEventName:r,eventSystemFlags:a,nativeEvent:n,targetContainers:[o]},t!==null&&(t=Yl(t),t!==null&&D_(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function aD(e,t,r,a,o){switch(t){case"focusin":return ci=_c(ci,e,t,r,a,o),!0;case"dragenter":return di=_c(di,e,t,r,a,o),!0;case"mouseover":return fi=_c(fi,e,t,r,a,o),!0;case"pointerover":var n=o.pointerId;return od.set(n,_c(od.get(n)||null,e,t,r,a,o)),!0;case"gotpointercapture":return n=o.pointerId,nd.set(n,_c(nd.get(n)||null,e,t,r,a,o)),!0}return!1}function H_(e){var t=xl(e.target);if(t!==null){var r=id(t);if(r!==null){if(t=r.tag,t===13){if(t=aI(r),t!==null){e.blockedOn=t,M2(e.priority,function(){XL(r)});return}}else if(t===31){if(t=oI(r),t!==null){e.blockedOn=t,M2(e.priority,function(){XL(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Up(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Yb(e.nativeEvent);if(r===null){r=e.nativeEvent;var a=new r.constructor(r.type,r);mb=a,r.target.dispatchEvent(a),mb=null}else return t=Yl(r),t!==null&&D_(t),e.blockedOn=r,!1;t.shift()}return!0}function ZL(e,t,r){Up(e)&&r.delete(t)}function oD(){Xb=!1,ci!==null&&Up(ci)&&(ci=null),di!==null&&Up(di)&&(di=null),fi!==null&&Up(fi)&&(fi=null),od.forEach(ZL),nd.forEach(ZL)}function Ip(e,t){e.blockedOn===t&&(e.blockedOn=null,Xb||(Xb=!0,tr.unstable_scheduleCallback(tr.unstable_NormalPriority,oD)))}var Ep=null;function JL(e){Ep!==e&&(Ep=e,tr.unstable_scheduleCallback(tr.unstable_NormalPriority,function(){Ep===e&&(Ep=null);for(var t=0;t<e.length;t+=3){var r=e[t],a=e[t+1],o=e[t+2];if(typeof a!="function"){if(Gy(a||r)===null)continue;break}var n=Yl(r);n!==null&&(e.splice(t,3),t-=3,kb(n,{pending:!0,data:o,method:r.method,action:a},a,o))}}))}function Wl(e){function t(l){return Ip(l,e)}ci!==null&&Ip(ci,e),di!==null&&Ip(di,e),fi!==null&&Ip(fi,e),od.forEach(t),nd.forEach(t);for(var r=0;r<Zn.length;r++){var a=Zn[r];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Zn.length&&(r=Zn[0],r.blockedOn===null);)H_(r),r.blockedOn===null&&Zn.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(a=0;a<r.length;a+=3){var o=r[a],n=r[a+1],i=o[ra]||null;if(typeof n=="function")i||JL(r);else if(i){var s=null;if(n&&n.hasAttribute("formAction")){if(o=n,i=n[ra]||null)s=i.formAction;else if(Gy(o)!==null)continue}else s=i.action;typeof s=="function"?r[a+1]=s:(r.splice(a,3),a-=3),JL(r)}}}function U_(){function e(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return o=i})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),a||setTimeout(r,20)}function r(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function jy(e){this._internalRoot=e}Am.prototype.render=jy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));var r=t.current,a=ya();P_(r,a,e,t,null,null)};Am.prototype.unmount=jy.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;P_(e.current,2,null,e,null,null),wm(),t[Kl]=null}};function Am(e){this._internalRoot=e}Am.prototype.unstable_scheduleHydration=function(e){if(e){var t=gI();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Zn.length&&t!==0&&t<Zn[r].priority;r++);Zn.splice(r,0,e),r===0&&H_(e)}};var eI=tI.version;if(eI!=="19.2.8")throw Error(D(527,eI,"19.2.8"));We.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=P4(t),e=e!==null?nI(e):null,e=e===null?null:e.stateNode,e};var nD={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:se,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Rc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Rc.isDisabled&&Rc.supportsFiber))try{sd=Rc.inject(nD),ha=Rc}catch{}var Rc;Om.createRoot=function(e,t){if(!rI(e))throw Error(D(299));var r=!1,a="",o=AE,n=OE,i=BE;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=M_(e,1,!1,null,null,r,a,null,o,n,i,U_),e[Kl]=t.current,Uy(e),new jy(t)};Om.hydrateRoot=function(e,t,r){if(!rI(e))throw Error(D(299));var a=!1,o="",n=AE,i=OE,s=BE,l=null;return r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onUncaughtError!==void 0&&(n=r.onUncaughtError),r.onCaughtError!==void 0&&(i=r.onCaughtError),r.onRecoverableError!==void 0&&(s=r.onRecoverableError),r.formState!==void 0&&(l=r.formState)),t=M_(e,1,!0,t,r??null,a,o,l,n,i,s,U_),t.context=F_(null),r=t.current,a=ya(),a=ey(a),o=ii(a),o.callback=null,si(r,o,a),r=a,t.current.lanes=r,ud(t,r),Uo(t),e[Kl]=t.current,Uy(e),new Am(t)};Om.version="19.2.8"});var $_=qr((_$,q_)=>{"use strict";function V_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(V_)}catch(e){console.error(e)}}V_(),q_.exports=z_()});var qe=qr((kQ,Rg)=>{"use strict";(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var o="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(o=a(o,r(i)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var n="";for(var i in o)e.call(o,i)&&o[i]&&(n=a(n,i));return n}function a(o,n){return n?o?o+" "+n:o+n:o}typeof Rg<"u"&&Rg.exports?(t.default=t,Rg.exports=t):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return t}):window.classNames=t})()});var JT=qr(tt=>{"use strict";var xS=Symbol.for("react.element"),SS=Symbol.for("react.portal"),Ng=Symbol.for("react.fragment"),Hg=Symbol.for("react.strict_mode"),Ug=Symbol.for("react.profiler"),zg=Symbol.for("react.provider"),Vg=Symbol.for("react.context"),MN=Symbol.for("react.server_context"),qg=Symbol.for("react.forward_ref"),$g=Symbol.for("react.suspense"),Gg=Symbol.for("react.suspense_list"),jg=Symbol.for("react.memo"),Wg=Symbol.for("react.lazy"),FN=Symbol.for("react.offscreen"),ZT;ZT=Symbol.for("react.module.reference");function Xa(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case xS:switch(e=e.type,e){case Ng:case Ug:case Hg:case $g:case Gg:return e;default:switch(e=e&&e.$$typeof,e){case MN:case Vg:case qg:case Wg:case jg:case zg:return e;default:return t}}case SS:return t}}}tt.ContextConsumer=Vg;tt.ContextProvider=zg;tt.Element=xS;tt.ForwardRef=qg;tt.Fragment=Ng;tt.Lazy=Wg;tt.Memo=jg;tt.Portal=SS;tt.Profiler=Ug;tt.StrictMode=Hg;tt.Suspense=$g;tt.SuspenseList=Gg;tt.isAsyncMode=function(){return!1};tt.isConcurrentMode=function(){return!1};tt.isContextConsumer=function(e){return Xa(e)===Vg};tt.isContextProvider=function(e){return Xa(e)===zg};tt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===xS};tt.isForwardRef=function(e){return Xa(e)===qg};tt.isFragment=function(e){return Xa(e)===Ng};tt.isLazy=function(e){return Xa(e)===Wg};tt.isMemo=function(e){return Xa(e)===jg};tt.isPortal=function(e){return Xa(e)===SS};tt.isProfiler=function(e){return Xa(e)===Ug};tt.isStrictMode=function(e){return Xa(e)===Hg};tt.isSuspense=function(e){return Xa(e)===$g};tt.isSuspenseList=function(e){return Xa(e)===Gg};tt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ng||e===Ug||e===Hg||e===$g||e===Gg||e===FN||typeof e=="object"&&e!==null&&(e.$$typeof===Wg||e.$$typeof===jg||e.$$typeof===zg||e.$$typeof===Vg||e.$$typeof===qg||e.$$typeof===ZT||e.getModuleId!==void 0)};tt.typeOf=Xa});var tk=qr((PZ,ek)=>{"use strict";ek.exports=JT()});var m5=qr((Tye,p5)=>{"use strict";p5.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],a=0;a<e.rangeCount;a++)r.push(e.getRangeAt(a));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(o){e.addRange(o)}),t&&t.focus()}}});var h5=qr((kye,v5)=>{"use strict";var Qz=m5(),g5={"text/plain":"Text","text/html":"Url",default:"Text"},Zz="Copy to clipboard: #{key}, Enter";function Jz(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function eV(e,t){var r,a,o,n,i,s,l=!1;t||(t={}),r=t.debug||!1;try{o=Qz(),n=document.createRange(),i=document.getSelection(),s=document.createElement("span"),s.textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(c){if(c.stopPropagation(),t.format)if(c.preventDefault(),typeof c.clipboardData>"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=g5[t.format]||g5.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(s),n.selectNodeContents(s),i.addRange(n);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");l=!0}catch(c){r&&console.error("unable to copy using execCommand: ",c),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(d){r&&console.error("unable to copy using clipboardData: ",d),r&&console.error("falling back to prompt"),a=Jz("message"in t?t.message:Zz),window.prompt(a,e)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(n):i.removeAllRanges()),s&&document.body.removeChild(s),o()}return l}v5.exports=eV});var pM=qr(Uh=>{"use strict";var tq=Symbol.for("react.transitional.element"),rq=Symbol.for("react.fragment");function fM(e,t,r){var a=null;if(r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),"key"in t){r={};for(var o in t)o!=="key"&&(r[o]=t[o])}else r=t;return t=r.ref,{$$typeof:tq,type:e,key:a,ref:t!==void 0?t:null,props:r}}Uh.Fragment=rq;Uh.jsx=fM;Uh.jsxs=fM});var ka=qr((WCe,mM)=>{"use strict";mM.exports=pM()});var At=R(O()),r4=R($_());var Mm=R(O());var G_=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),iD=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,a)=>a?a.toUpperCase():r.toLowerCase()),Wy=e=>{let t=iD(e);return t.charAt(0).toUpperCase()+t.slice(1)},Bm=(...e)=>e.filter((t,r,a)=>!!t&&t.trim()!==""&&a.indexOf(t)===r).join(" ").trim(),j_=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var bd=R(O());var W_={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var K_=(0,bd.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:o="",children:n,iconNode:i,...s},l)=>(0,bd.createElement)("svg",{ref:l,...W_,width:t,height:t,stroke:e,strokeWidth:a?Number(r)*24/Number(t):r,className:Bm("lucide",o),...!n&&!j_(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,bd.createElement)(u,c)),...Array.isArray(n)?n:[n]]));var zo=(e,t)=>{let r=(0,Mm.forwardRef)(({className:a,...o},n)=>(0,Mm.createElement)(K_,{ref:n,iconNode:t,className:Bm(`lucide-${G_(Wy(e))}`,`lucide-${e}`,a),...o}));return r.displayName=Wy(e),r};var sD=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],bs=zo("check",sD);var lD=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],yd=zo("chevron-right",lD);var uD=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],yi=zo("circle-alert",uD);var cD=[["path",{d:"M5 12h14",key:"1ays0h"}]],xd=zo("minus",cD);var dD=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Sd=zo("plus",dD);var fr=function(){return fr=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},fr.apply(this,arguments)};function tu(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++)(n||!(a in t))&&(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}var _t=R(O());var lt="-ms-",ys="-moz-",He="-webkit-",Fm="comm",xi="rule",ru="decl";var Y_="@import";var X_="@namespace",Pm="@keyframes";var Q_="@layer";var Ky=Math.abs,Cd=String.fromCharCode,Ld=Object.assign;function Z_(e,t){return wt(e,0)^45?(((t<<2^wt(e,0))<<2^wt(e,1))<<2^wt(e,2))<<2^wt(e,3):0}function Dm(e){return e.trim()}function mo(e,t){return(e=t.exec(e))?e[0]:e}function me(e,t,r){return e.replace(t,r)}function au(e,t,r){return e.indexOf(t,r)}function wt(e,t){return e.charCodeAt(t)|0}function go(e,t,r){return e.slice(t,r)}function Pr(e){return e.length}function Nm(e){return e.length}function xs(e,t){return t.push(e),e}function J_(e,t){return e.map(t).join("")}function Yy(e,t){return e.filter(function(r){return!mo(r,t)})}var Hm=1,ou=1,eR=0,Ga=0,Kt=0,iu="";function Id(e,t,r,a,o,n,i,s){return{value:e,root:t,parent:r,type:a,props:o,children:n,line:Hm,column:ou,length:i,return:"",siblings:s}}function yn(e,t){return Ld(Id("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ss(e){for(;e.root;)e=yn(e.root,{children:[e]});xs(e,e.siblings)}function tR(){return Kt}function rR(){return Kt=Ga>0?wt(iu,--Ga):0,ou--,Kt===10&&(ou=1,Hm--),Kt}function ja(){return Kt=Ga<eR?wt(iu,Ga++):0,ou++,Kt===10&&(ou=1,Hm++),Kt}function xn(){return wt(iu,Ga)}function Ed(){return Ga}function Um(e,t){return go(iu,e,t)}function nu(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function aR(e){return Hm=ou=1,eR=Pr(iu=e),Ga=0,[]}function oR(e){return iu="",e}function zm(e){return Dm(Um(Ga-1,Xy(e===91?e+2:e===40?e+1:e)))}function nR(e){for(;(Kt=xn())&&Kt<33;)ja();return nu(e)>2||nu(Kt)>3?"":" "}function iR(e,t){for(;--t&&ja()&&!(Kt<48||Kt>102||Kt>57&&Kt<65||Kt>70&&Kt<97););return Um(e,Ed()+(t<6&&xn()==32&&ja()==32))}function Xy(e){for(;ja();)switch(Kt){case e:return Ga;case 34:case 39:e!==34&&e!==39&&Xy(Kt);break;case 40:e===41&&Xy(e);break;case 92:ja();break}return Ga}function sR(e,t){for(;ja()&&e+Kt!==57;)if(e+Kt===84&&xn()===47)break;return"/*"+Um(t,Ga-1)+"*"+Cd(e===47?e:ja())}function lR(e){for(;!nu(xn());)ja();return Um(e,Ga)}function qm(e){return oR(Vm("",null,null,null,[""],e=aR(e),0,[0],e))}function Vm(e,t,r,a,o,n,i,s,l){for(var u=0,c=0,d=i,f=0,m=0,h=0,y=1,S=1,g=1,p=0,v="",b=o,C=n,L=a,x=v;S;)switch(h=p,p=ja()){case 40:if(h!=108&&wt(x,d-1)==58){au(x+=me(zm(p),"&","&\f"),"&\f",Ky(u?s[u-1]:0))!=-1&&(g=-1);break}case 34:case 39:case 91:x+=zm(p);break;case 9:case 10:case 13:case 32:x+=nR(h);break;case 92:x+=iR(Ed()-1,7);continue;case 47:switch(xn()){case 42:case 47:xs(fD(sR(ja(),Ed()),t,r,l),l),(nu(h||1)==5||nu(xn()||1)==5)&&Pr(x)&&go(x,-1,void 0)!==" "&&(x+=" ");break;default:x+="/"}break;case 123*y:s[u++]=Pr(x)*g;case 125*y:case 59:case 0:switch(p){case 0:case 125:S=0;case 59+c:g==-1&&(x=me(x,/\f/g,"")),m>0&&(Pr(x)-d||y===0&&h===47)&&xs(m>32?cR(x+";",a,r,d-1,l):cR(me(x," ","")+";",a,r,d-2,l),l);break;case 59:x+=";";default:if(xs(L=uR(x,t,r,u,c,o,s,v,b=[],C=[],d,n),n),p===123)if(c===0)Vm(x,t,L,L,b,n,d,s,C);else{switch(f){case 99:if(wt(x,3)===110)break;case 108:if(wt(x,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Vm(e,L,L,a&&xs(uR(e,L,L,0,0,o,s,v,o,b=[],d,C),C),o,C,d,s,a?b:C):Vm(x,L,L,L,[""],C,0,s,C)}}u=c=m=0,y=g=1,v=x="",d=i;break;case 58:d=1+Pr(x),m=h;default:if(y<1){if(p==123)--y;else if(p==125&&y++==0&&rR()==125)continue}switch(x+=Cd(p),p*y){case 38:g=c>0?1:(x+="\f",-1);break;case 44:s[u++]=(Pr(x)-1)*g,g=1;break;case 64:xn()===45&&(x+=zm(ja())),f=xn(),c=d=Pr(v=x+=lR(Ed())),p++;break;case 45:h===45&&Pr(x)==2&&(y=0)}}return n}function uR(e,t,r,a,o,n,i,s,l,u,c,d){for(var f=o-1,m=o===0?n:[""],h=Nm(m),y=0,S=0,g=0;y<a;++y)for(var p=0,v=go(e,f+1,f=Ky(S=i[y])),b=e;p<h;++p)(b=Dm(S>0?m[p]+" "+v:me(v,/&\f/g,m[p])))&&(l[g++]=b);return Id(e,t,r,o===0?xi:s,l,u,c,d)}function fD(e,t,r,a){return Id(e,t,r,Fm,Cd(tR()),go(e,2,-2),0,a)}function cR(e,t,r,a,o){return Id(e,t,r,ru,go(e,0,a),go(e,a+1,-1),a,o)}function Qy(e,t,r){switch(Z_(e,t)){case 5103:return He+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return He+e+e;case 4855:return He+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return ys+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return He+e+ys+e+lt+e+e;case 5936:switch(wt(e,t+11)){case 114:return He+e+lt+me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return He+e+lt+me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return He+e+lt+me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return He+e+lt+e+e;case 6165:return He+e+lt+"flex-"+e+e;case 5187:return He+e+me(e,/(\w+).+(:[^]+)/,He+"box-$1$2"+lt+"flex-$1$2")+e;case 5443:return He+e+lt+"flex-item-"+me(e,/flex-|-self/g,"")+(mo(e,/flex-|baseline/)?"":lt+"grid-row-"+me(e,/flex-|-self/g,""))+e;case 4675:return He+e+lt+"flex-line-pack"+me(e,/align-content|flex-|-self/g,"")+e;case 5548:return He+e+lt+me(e,"shrink","negative")+e;case 5292:return He+e+lt+me(e,"basis","preferred-size")+e;case 6060:return He+"box-"+me(e,"-grow","")+He+e+lt+me(e,"grow","positive")+e;case 4554:return He+me(e,/([^-])(transform)/g,"$1"+He+"$2")+e;case 6187:return me(me(me(e,/(zoom-|grab)/,He+"$1"),/(image-set)/,He+"$1"),e,"")+e;case 5495:case 3959:return me(e,/(image-set\([^]*)/,He+"$1$`$1");case 4968:return me(me(e,/(.+:)(flex-)?(.*)/,He+"box-pack:$3"+lt+"flex-pack:$3"),/space-between/,"justify")+He+e+e;case 4200:if(!mo(e,/flex-|baseline/))return lt+"grid-column-align"+go(e,t)+e;break;case 2592:case 3360:return lt+me(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(a,o){return t=o,mo(a.props,/grid-\w+-end/)})?~au(e+(r=r[t].value),"span",0)?e:lt+me(e,"-start","")+e+lt+"grid-row-span:"+(~au(r,"span",0)?mo(r,/\d+/):+mo(r,/\d+/)-+mo(e,/\d+/))+";":lt+me(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(a){return mo(a.props,/grid-\w+-start/)})?e:lt+me(me(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return me(e,/(.+)-inline(.+)/,He+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Pr(e)-1-t>6)switch(wt(e,t+1)){case 109:if(wt(e,t+4)!==45)break;case 102:return me(e,/(.+:)(.+)-([^]+)/,"$1"+He+"$2-$3$1"+ys+(wt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~au(e,"stretch",0)?Qy(me(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return me(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(a,o,n,i,s,l,u){return lt+o+":"+n+u+(i?lt+o+"-span:"+(s?l:+l-+n)+u:"")+e});case 4949:if(wt(e,t+6)===121)return me(e,":",":"+He)+e;break;case 6444:switch(wt(e,wt(e,14)===45?18:11)){case 120:return me(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+He+(wt(e,14)===45?"inline-":"")+"box$3$1"+He+"$2$3$1"+lt+"$2box$3")+e;case 100:return me(e,":",":"+lt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return me(e,"scroll-","scroll-snap-")+e}return e}function Si(e,t){for(var r="",a=0;a<e.length;a++)r+=t(e[a],a,e,t)||"";return r}function $m(e,t,r,a){switch(e.type){case Q_:if(e.children.length)break;case Y_:case X_:case ru:return e.return=e.return||e.value;case Fm:return"";case Pm:return e.return=e.value+"{"+Si(e.children,a)+"}";case xi:if(!Pr(e.value=e.props.join(",")))return""}return Pr(r=Si(e.children,a))?e.return=e.value+"{"+r+"}":""}function dR(e){var t=Nm(e);return function(r,a,o,n){for(var i="",s=0;s<t;s++)i+=e[s](r,a,o,n)||"";return i}}function fR(e){return function(t){t.root||(t=t.return)&&e(t)}}function pR(e,t,r,a){if(e.length>-1&&!e.return)switch(e.type){case ru:e.return=Qy(e.value,e.length,r);return;case Pm:return Si([yn(e,{value:me(e.value,"@","@"+He)})],a);case xi:if(e.length)return J_(r=e.props,function(o){switch(mo(o,a=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ss(yn(e,{props:[me(o,/:(read-\w+)/,":"+ys+"$1")]})),Ss(yn(e,{props:[o]})),Ld(e,{props:Yy(r,a)});break;case"::placeholder":Ss(yn(e,{props:[me(o,/:(plac\w+)/,":"+He+"input-$1")]})),Ss(yn(e,{props:[me(o,/:(plac\w+)/,":"+ys+"$1")]})),Ss(yn(e,{props:[me(o,/:(plac\w+)/,lt+"input-$1")]})),Ss(yn(e,{props:[o]})),Ld(e,{props:Yy(r,a)});break}return""})}}var mR={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Ln=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",_R="active",Wm="data-styled-version",su="6.3.9",cx=`/*!sc*/
10
+ `,Rd=typeof window<"u"&&typeof document<"u",Cn=_t.default.createContext===void 0,pD=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY);var dx=Object.freeze([]),lu=Object.freeze({});function mD(e,t,r){return r===void 0&&(r=lu),e.theme!==r.theme&&e.theme||t||r.theme}var RR=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),gD=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,vD=/(^-|-$)/g;function gR(e){return e.replace(gD,"-").replace(vD,"")}var hD=/(a)(d)/gi,vR=function(e){return String.fromCharCode(e+(e>25?39:97))};function rx(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=vR(t%52)+r;return(vR(t%52)+r).replace(hD,"$1-$2")}var Zy,Cs=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},wR=function(e){return Cs(5381,e)};function TR(e){return rx(wR(e)>>>0)}function bD(e){return e.displayName||e.name||"Component"}function Jy(e){return typeof e=="string"&&!0}var kR=typeof Symbol=="function"&&Symbol.for,AR=kR?Symbol.for("react.memo"):60115,yD=kR?Symbol.for("react.forward_ref"):60112,xD={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},SD={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},OR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CD=((Zy={})[yD]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zy[AR]=OR,Zy);function hR(e){return("type"in(t=e)&&t.type.$$typeof)===AR?OR:"$$typeof"in e?CD[e.$$typeof]:xD;var t}var LD=Object.defineProperty,ID=Object.getOwnPropertyNames,bR=Object.getOwnPropertySymbols,ED=Object.getOwnPropertyDescriptor,_D=Object.getPrototypeOf,yR=Object.prototype;function BR(e,t,r){if(typeof t!="string"){if(yR){var a=_D(t);a&&a!==yR&&BR(e,a,r)}var o=ID(t);bR&&(o=o.concat(bR(t)));for(var n=hR(e),i=hR(t),s=0;s<o.length;++s){var l=o[s];if(!(l in SD||r&&r[l]||i&&l in i||n&&l in n)){var u=ED(t,l);try{LD(e,l,u)}catch{}}}}return e}function Es(e){return typeof e=="function"}function fx(e){return typeof e=="object"&&"styledComponentId"in e}function Is(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function wd(e,t){return e.join(t||"")}function Td(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ax(e,t,r){if(r===void 0&&(r=!1),!r&&!Td(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var a=0;a<t.length;a++)e[a]=ax(e[a],t[a]);else if(Td(t))for(var a in t)e[a]=ax(e[a],t[a]);return e}function px(e,t){Object.defineProperty(e,"toString",{value:t})}function vo(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var RD=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var a=this._cGroup;a<t;a++)r+=this.groupSizes[a];else for(a=this._cGroup-1;a>=t;a--)r-=this.groupSizes[a];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var a=this.groupSizes,o=a.length,n=o;t>=n;)if((n<<=1)<0)throw vo(16,"".concat(t));this.groupSizes=new Uint32Array(n),this.groupSizes.set(a),this.length=n;for(var i=o;i<n;i++)this.groupSizes[i]=0}for(var s=this.indexOfGroup(t+1),l=0,u=(i=0,r.length);i<u;i++)this.tag.insertRule(s,r[i])&&(this.groupSizes[t]++,s++,l++);l>0&&this._cGroup>t&&(this._cIndex+=l)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],a=this.indexOfGroup(t),o=a+r;this.groupSizes[t]=0;for(var n=a;n<o;n++)this.tag.deleteRule(a);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var a=this.groupSizes[t],o=this.indexOfGroup(t),n=o+a,i=o;i<n;i++)r+=this.tag.getRule(i)+cx;return r},e})(),TG=1<<30,Gm=new Map,Km=new Map,jm=1,_d=function(e){if(Gm.has(e))return Gm.get(e);for(;Km.has(jm);)jm++;var t=jm++;return Gm.set(e,t),Km.set(t,e),t},wD=function(e,t){jm=t+1,Gm.set(e,t),Km.set(t,e)},TD="style[".concat(Ln,"][").concat(Wm,'="').concat(su,'"]'),kD=new RegExp("^".concat(Ln,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),xR=function(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},ox=function(e){if(!e)return document;if(xR(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(xR(t))return t}return document},AD=function(e,t,r){for(var a,o=r.split(","),n=0,i=o.length;n<i;n++)(a=o[n])&&e.registerName(t,a)},OD=function(e,t){for(var r,a=((r=t.textContent)!==null&&r!==void 0?r:"").split(cx),o=[],n=0,i=a.length;n<i;n++){var s=a[n].trim();if(s){var l=s.match(kD);if(l){var u=0|parseInt(l[1],10),c=l[2];u!==0&&(wD(c,u),AD(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},ex=function(e){for(var t=ox(e.options.target).querySelectorAll(TD),r=0,a=t.length;r<a;r++){var o=t[r];o&&o.getAttribute(Ln)!==_R&&(OD(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function nx(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var MR=function(e){var t=document.head,r=e||t,a=document.createElement("style"),o=(function(s){var l=Array.from(s.querySelectorAll("style[".concat(Ln,"]")));return l[l.length-1]})(r),n=o!==void 0?o.nextSibling:null;a.setAttribute(Ln,_R),a.setAttribute(Wm,su);var i=nx();return i&&a.setAttribute("nonce",i),r.insertBefore(a,n),a},BD=(function(){function e(t){this.element=MR(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){var a;if(r.sheet)return r.sheet;for(var o=(a=r.getRootNode().styleSheets)!==null&&a!==void 0?a:document.styleSheets,n=0,i=o.length;n<i;n++){var s=o[n];if(s.ownerNode===r)return s}throw vo(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),MD=(function(){function e(t){this.element=MR(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var a=document.createTextNode(r);return this.element.insertBefore(a,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),FD=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),SR=Rd,PD={isServer:!Rd,useCSSOMInjection:!pD},kd=(function(){function e(t,r,a){t===void 0&&(t=lu),r===void 0&&(r={});var o=this;this.options=fr(fr({},PD),t),this.gs=r,this.names=new Map(a),this.server=!!t.isServer,!this.server&&Rd&&SR&&(SR=!1,ex(this)),px(this,function(){return(function(n){for(var i=n.getTag(),s=i.length,l="",u=function(d){var f=(function(g){return Km.get(g)})(d);if(f===void 0)return"continue";var m=n.names.get(f);if(m===void 0||!m.size)return"continue";var h=i.getGroup(d);if(h.length===0)return"continue";var y=Ln+".g"+d+'[id="'+f+'"]',S="";m.forEach(function(g){g.length>0&&(S+=g+",")}),l+=h+y+'{content:"'+S+'"}'+cx},c=0;c<s;c++)u(c);return l})(o)})}return e.registerId=function(t){return _d(t)},e.prototype.rehydrate=function(){!this.server&&Rd&&ex(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var a=new e(fr(fr({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Rd&&t.target!==this.options.target&&ox(this.options.target)!==ox(t.target)&&ex(a),a},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var a=r.useCSSOMInjection,o=r.target;return r.isServer?new FD(o):a?new BD(o):new MD(o)})(this.options),new RD(t)));var t},e.prototype.hasNameForId=function(t,r){var a,o;return(o=(a=this.names.get(t))===null||a===void 0?void 0:a.has(r))!==null&&o!==void 0&&o},e.prototype.registerName=function(t,r){_d(t);var a=this.names.get(t);a?a.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,a){this.registerName(t,r),this.getTag().insertRules(_d(t),a)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(_d(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),DD=/&/g,Sn=47,Ls=42;function CR(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,r=0,a=0,o=!1,n=0;n<t;n++){var i=e.charCodeAt(n);if(a!==0||o||i!==Sn||e.charCodeAt(n+1)!==Ls)if(o)i===Ls&&e.charCodeAt(n+1)===Sn&&(o=!1,n++);else if(i!==34&&i!==39||n!==0&&e.charCodeAt(n-1)===92){if(a===0){if(i===123)r++;else if(i===125&&--r<0)return!0}}else a===0?a=i:a===i&&(a=0);else o=!0,n++}return r!==0||a!==0}function FR(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(a){return"".concat(t," ").concat(a)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=FR(r.children,t)),r})}function PR(e){var t,r,a,o=e===void 0?lu:e,n=o.options,i=n===void 0?lu:n,s=o.plugins,l=s===void 0?dx:s,u=function(h,y,S){return S.startsWith(r)&&S.endsWith(r)&&S.replaceAll(r,"").length>0?".".concat(t):h},c=l.slice();c.push(function(h){h.type===xi&&h.value.includes("&")&&(a||(a=new RegExp("\\".concat(r,"\\b"),"g")),h.props[0]=h.props[0].replace(DD,r).replace(a,u))}),i.prefix&&c.push(pR),c.push($m);var d=[],f=dR(c.concat(fR(function(h){return d.push(h)}))),m=function(h,y,S,g){y===void 0&&(y=""),S===void 0&&(S=""),g===void 0&&(g="&"),t=g,r=y,a=void 0;var p=(function(b){if(!CR(b))return b;for(var C=b.length,L="",x=0,I=0,E=0,T=!1,k=0;k<C;k++){var M=b.charCodeAt(k);if(E!==0||T||M!==Sn||b.charCodeAt(k+1)!==Ls)if(T)M===Ls&&b.charCodeAt(k+1)===Sn&&(T=!1,k++);else if(M!==34&&M!==39||k!==0&&b.charCodeAt(k-1)===92){if(E===0)if(M===123)I++;else if(M===125){if(--I<0){for(var A=k+1;A<C;){var B=b.charCodeAt(A);if(B===59||B===10)break;A++}A<C&&b.charCodeAt(A)===59&&A++,I=0,k=A-1,x=A;continue}I===0&&(L+=b.substring(x,k+1),x=k+1)}else M===59&&I===0&&(L+=b.substring(x,k+1),x=k+1)}else E===0?E=M:E===M&&(E=0);else T=!0,k++}if(x<C){var H=b.substring(x);CR(H)||(L+=H)}return L})((function(b){if(b.indexOf("//")===-1)return b;for(var C=b.length,L=[],x=0,I=0,E=0,T=0;I<C;){var k=b.charCodeAt(I);if(k!==34&&k!==39||I!==0&&b.charCodeAt(I-1)===92)if(E===0)if(k===Sn&&I+1<C&&b.charCodeAt(I+1)===Ls){for(I+=2;I+1<C&&(b.charCodeAt(I)!==Ls||b.charCodeAt(I+1)!==Sn);)I++;I+=2}else if(k===40&&I>=3&&(32|b.charCodeAt(I-1))==108&&(32|b.charCodeAt(I-2))==114&&(32|b.charCodeAt(I-3))==117)T=1,I++;else if(T>0)k===41?T--:k===40&&T++,I++;else if(k===Ls&&I+1<C&&b.charCodeAt(I+1)===Sn)I>x&&L.push(b.substring(x,I)),x=I+=2;else if(k===Sn&&I+1<C&&b.charCodeAt(I+1)===Sn){for(I>x&&L.push(b.substring(x,I));I<C&&b.charCodeAt(I)!==10;)I++;x=I}else I++;else I++;else E===0?E=k:E===k&&(E=0),I++}return x===0?b:(x<C&&L.push(b.substring(x)),L.join(""))})(h)),v=qm(S||y?"".concat(S," ").concat(y," { ").concat(p," }"):p);return i.namespace&&(v=FR(v,i.namespace)),d=[],Si(v,f),d};return m.hash=l.length?l.reduce(function(h,y){return y.name||vo(15),Cs(h,y.name)},5381).toString():"",m}var ND=new kd,ix=PR(),sx={shouldForwardProp:void 0,styleSheet:ND,stylis:ix},mx=Cn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(sx)}}:_t.default.createContext(sx),kG=mx.Consumer,HD=Cn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:_t.default.createContext(void 0);function lx(){return Cn?sx:_t.default.useContext(mx)}function UD(e){if(Cn||!_t.default.useMemo)return e.children;var t=lx().styleSheet,r=_t.default.useMemo(function(){var n=t;return e.sheet?n=e.sheet:e.target&&(n=n.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[e.disableCSSOMInjection,e.sheet,e.target,t]),a=_t.default.useMemo(function(){return PR({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=_t.default.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:r,stylis:a}},[e.shouldForwardProp,r,a]);return _t.default.createElement(mx.Provider,{value:o},_t.default.createElement(HD.Provider,{value:a},e.children))}var DR=(function(){function e(t,r){var a=this;this.inject=function(o,n){n===void 0&&(n=ix);var i=a.name+n.hash;o.hasNameForId(a.id,i)||o.insertRules(a.id,i,n(a.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,px(this,function(){throw vo(12,String(a.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=ix),this.name+t.hash},e})();function zD(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in mR||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var VD=function(e){return e>="A"&&e<="Z"};function LR(e){for(var t="",r=0;r<e.length;r++){var a=e[r];if(r===1&&a==="-"&&e[0]==="-")return e;VD(a)?t+="-"+a.toLowerCase():t+=a}return t.startsWith("ms-")?"-"+t:t}var NR=function(e){return e==null||e===!1||e===""},HR=function(e){var t=[];for(var r in e){var a=e[r];e.hasOwnProperty(r)&&!NR(a)&&(Array.isArray(a)&&a.isCss||Es(a)?t.push("".concat(LR(r),":"),a,";"):Td(a)?t.push.apply(t,tu(tu(["".concat(r," {")],HR(a),!1),["}"],!1)):t.push("".concat(LR(r),": ").concat(zD(r,a),";")))}return t};function Ci(e,t,r,a,o){if(o===void 0&&(o=[]),typeof e=="string")return e&&o.push(e),o;if(NR(e))return o;if(fx(e))return o.push(".".concat(e.styledComponentId)),o;if(Es(e)){if(!Es(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return o.push(e),o;var n=e(t);return Ci(n,t,r,a,o)}var i;if(e instanceof DR)return r?(e.inject(r,a),o.push(e.getName(a))):o.push(e),o;if(Td(e)){for(var s=HR(e),l=0;l<s.length;l++)o.push(s[l]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(l=0;l<e.length;l++)Ci(e[l],t,r,a,o);return o}function UR(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Es(r)&&!fx(r))return!1}return!0}var qD=wR(su),$D=(function(){function e(t,r,a){this.rules=t,this.staticRulesId="",this.isStatic=(a===void 0||a.isStatic)&&UR(t),this.componentId=r,this.baseHash=Cs(qD,r),this.baseStyle=a,kd.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,a){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,a).className:"";if(this.isStatic&&!a.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=Is(o,this.staticRulesId);else{var n=wd(Ci(this.rules,t,r,a)),i=rx(Cs(this.baseHash,n)>>>0);if(!r.hasNameForId(this.componentId,i)){var s=a(n,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,s)}o=Is(o,i),this.staticRulesId=i}else{for(var l=Cs(this.baseHash,a.hash),u="",c=0;c<this.rules.length;c++){var d=this.rules[c];if(typeof d=="string")u+=d;else if(d){var f=wd(Ci(d,t,r,a));l=Cs(Cs(l,String(c)),f),u+=f}}if(u){var m=rx(l>>>0);if(!r.hasNameForId(this.componentId,m)){var h=a(u,".".concat(m),void 0,this.componentId);r.insertRules(this.componentId,m,h)}o=Is(o,m)}}return{className:o,css:typeof window>"u"?r.getTag().getGroup(_d(this.componentId)):""}},e})(),Ym=Cn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:_t.default.createContext(void 0),AG=Ym.Consumer;function zR(e){if(Cn)return e.children;var t=_t.default.useContext(Ym),r=_t.default.useMemo(function(){return(function(a,o){if(!a)throw vo(14);if(Es(a)){var n=a(o);return n}if(Array.isArray(a)||typeof a!="object")throw vo(8);return o?fr(fr({},o),a):a})(e.theme,t)},[e.theme,t]);return e.children?_t.default.createElement(Ym.Provider,{value:r},e.children):null}var tx={};function GD(e,t,r){var a=fx(e),o=e,n=!Jy(e),i=t.attrs,s=i===void 0?dx:i,l=t.componentId,u=l===void 0?(function(b,C){var L=typeof b!="string"?"sc":gR(b);tx[L]=(tx[L]||0)+1;var x="".concat(L,"-").concat(TR(su+L+tx[L]));return C?"".concat(C,"-").concat(x):x})(t.displayName,t.parentComponentId):l,c=t.displayName,d=c===void 0?(function(b){return Jy(b)?"styled.".concat(b):"Styled(".concat(bD(b),")")})(e):c,f=t.displayName&&t.componentId?"".concat(gR(t.displayName),"-").concat(t.componentId):t.componentId||u,m=a&&o.attrs?o.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(a&&o.shouldForwardProp){var y=o.shouldForwardProp;if(t.shouldForwardProp){var S=t.shouldForwardProp;h=function(b,C){return y(b,C)&&S(b,C)}}else h=y}var g=new $D(r,f,a?o.componentStyle:void 0);function p(b,C){return(function(L,x,I){var E=L.attrs,T=L.componentStyle,k=L.defaultProps,M=L.foldedComponentIds,A=L.styledComponentId,B=L.target,H=Cn?void 0:_t.default.useContext(Ym),N=lx(),U=L.shouldForwardProp||N.shouldForwardProp,F=mD(x,H,k)||(Cn?void 0:lu),j=(function(Ne,fe,we){for(var ye,J=fr(fr({},fe),{className:void 0,theme:we}),xe=0;xe<Ne.length;xe+=1){var Se=Es(ye=Ne[xe])?ye(J):ye;for(var te in Se)te==="className"?J.className=Is(J.className,Se[te]):te==="style"?J.style=fr(fr({},J.style),Se[te]):J[te]=Se[te]}return"className"in fe&&typeof fe.className=="string"&&(J.className=Is(J.className,fe.className)),J})(E,x,F),W=j.as||B,K={};for(var z in j)j[z]===void 0||z[0]==="$"||z==="as"||z==="theme"&&j.theme===F||(z==="forwardedAs"?K.as=j.forwardedAs:U&&!U(z,W)||(K[z]=j[z]));var X=(function(Ne,fe){var we=lx(),ye=Ne.generateAndInjectStyles(fe,we.styleSheet,we.stylis);return ye})(T,j),$=X.className,ue=X.css,ne=Is(M,A);$&&(ne+=" "+$),j.className&&(ne+=" "+j.className),K[Jy(W)&&!RR.has(W)?"class":"className"]=ne,I&&(K.ref=I);var Re=(0,_t.createElement)(W,K);return Cn&&ue?_t.default.createElement(_t.default.Fragment,null,_t.default.createElement("style",{precedence:"styled-components",href:"sc-".concat(A,"-").concat($),children:ue}),Re):Re})(v,b,C)}p.displayName=d;var v=_t.default.forwardRef(p);return v.attrs=m,v.componentStyle=g,v.displayName=d,v.shouldForwardProp=h,v.foldedComponentIds=a?Is(o.foldedComponentIds,o.styledComponentId):"",v.styledComponentId=f,v.target=a?o.target:e,Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(b){this._foldedDefaultProps=a?(function(C){for(var L=[],x=1;x<arguments.length;x++)L[x-1]=arguments[x];for(var I=0,E=L;I<E.length;I++)ax(C,E[I],!0);return C})({},o.defaultProps,b):b}}),px(v,function(){return".".concat(v.styledComponentId)}),n&&BR(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}function IR(e,t){for(var r=[e[0]],a=0,o=t.length;a<o;a+=1)r.push(t[a],e[a+1]);return r}var ER=function(e){return Object.assign(e,{isCss:!0})};function In(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Es(e)||Td(e))return ER(Ci(IR(dx,tu([e],t,!0))));var a=e;return t.length===0&&a.length===1&&typeof a[0]=="string"?Ci(a):ER(Ci(IR(a,t)))}function ux(e,t,r){if(r===void 0&&(r=lu),!t)throw vo(1,t);var a=function(o){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return e(t,r,In.apply(void 0,tu([o],n,!1)))};return a.attrs=function(o){return ux(e,t,fr(fr({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},a.withConfig=function(o){return ux(e,t,fr(fr({},r),o))},a}var VR=function(e){return ux(GD,e)},Z=VR;RR.forEach(function(e){Z[e]=VR(e)});var OG=(function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=UR(t),kd.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,r,a,o){var n=o(wd(Ci(this.rules,r,a,o)),""),i=this.componentId+t;a.insertRules(i,i,n)},e.prototype.removeStyles=function(t,r){r.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,r,a,o){t>2&&kd.registerId(this.componentId+t);var n=this.componentId+t;this.isStatic?a.hasNameForId(n,n)||this.createStyles(t,r,a,o):(this.removeStyles(t,a),this.createStyles(t,r,a,o))},e})();function qR(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var a=wd(In.apply(void 0,tu([e],t,!1))),o=TR(a);return new DR(o,a)}var BG=(function(){function e(){var t=this;this._emitSheetCSS=function(){var r=t.instance.toString();if(!r)return"";var a=nx(),o=wd([a&&'nonce="'.concat(a,'"'),"".concat(Ln,'="true"'),"".concat(Wm,'="').concat(su,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(r,"</style>")},this.getStyleTags=function(){if(t.sealed)throw vo(2);return t._emitSheetCSS()},this.getStyleElement=function(){var r;if(t.sealed)throw vo(2);var a=t.instance.toString();if(!a)return[];var o=((r={})[Ln]="",r[Wm]=su,r.dangerouslySetInnerHTML={__html:a},r),n=nx();return n&&(o.nonce=n),[_t.default.createElement("style",fr({},o,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new kd({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw vo(2);return _t.default.createElement(UD,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){throw vo(3)},e})();var MG="__sc-".concat(Ln,"__");var $R=Object.prototype.toString;function Ad(e){switch($R.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Vo(e,Error)}}function uu(e,t){return $R.call(e)===`[object ${t}]`}function cu(e){return uu(e,"ErrorEvent")}function Xm(e){return uu(e,"DOMError")}function gx(e){return uu(e,"DOMException")}function oa(e){return uu(e,"String")}function Qm(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Od(e){return e===null||Qm(e)||typeof e!="object"&&typeof e!="function"}function Li(e){return uu(e,"Object")}function _s(e){return typeof Event<"u"&&Vo(e,Event)}function vx(e){return typeof Element<"u"&&Vo(e,Element)}function hx(e){return uu(e,"RegExp")}function Rs(e){return!!(e&&e.then&&typeof e.then=="function")}function bx(e){return Li(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function yx(e){return typeof e=="number"&&e!==e}function Vo(e,t){try{return e instanceof t}catch{return!1}}function Bd(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function du(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Zm(e,t){if(!Array.isArray(e))return"";let r=[];for(let a=0;a<e.length;a++){let o=e[a];try{Bd(o)?r.push("[VueViewModel]"):r.push(String(o))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function GR(e,t,r=!1){return oa(e)?hx(t)?t.test(e):oa(t)?r?e===t:e.includes(t):!1:!1}function fu(e,t=[],r=!1){return t.some(a=>GR(e,a,r))}function Md(e,t,r=250,a,o,n,i){if(!n.exception||!n.exception.values||!i||!Vo(i.originalException,Error))return;let s=n.exception.values.length>0?n.exception.values[n.exception.values.length-1]:void 0;s&&(n.exception.values=jD(xx(e,t,o,i.originalException,a,n.exception.values,s,0),r))}function xx(e,t,r,a,o,n,i,s){if(n.length>=r+1)return n;let l=[...n];if(Vo(a[o],Error)){jR(i,s);let u=e(t,a[o]),c=l.length;WR(u,o,c,s),l=xx(e,t,r,a[o],o,[u,...l],u,c)}return Array.isArray(a.errors)&&a.errors.forEach((u,c)=>{if(Vo(u,Error)){jR(i,s);let d=e(t,u),f=l.length;WR(d,`errors[${c}]`,f,s),l=xx(e,t,r,u,o,[d,...l],d,f)}}),l}function jR(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function WR(e,t,r,a){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:a}}function jD(e,t){return e.map(r=>(r.value&&(r.value=du(r.value,t)),r))}function Jm(e){return e&&e.Math==Math?e:void 0}var he=typeof globalThis=="object"&&Jm(globalThis)||typeof window=="object"&&Jm(window)||typeof self=="object"&&Jm(self)||typeof global=="object"&&Jm(global)||(function(){return this})()||{};function ws(){return he}function Fd(e,t,r){let a=r||he,o=a.__SENTRY__=a.__SENTRY__||{};return o[e]||(o[e]=t())}var Sx=ws(),WD=80;function Pd(e,t={}){if(!e)return"<unknown>";try{let r=e,a=5,o=[],n=0,i=0,s=" > ",l=s.length,u,c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||WD;for(;r&&n++<a&&(u=KD(r,c),!(u==="html"||n>1&&i+o.length*l+u.length>=d));)o.push(u),i+=u.length,r=r.parentNode;return o.reverse().join(s)}catch{return"<unknown>"}}function KD(e,t){let r=e,a=[],o,n,i,s,l;if(!r||!r.tagName)return"";if(Sx.HTMLElement&&r instanceof HTMLElement&&r.dataset&&r.dataset.sentryComponent)return r.dataset.sentryComponent;a.push(r.tagName.toLowerCase());let u=t&&t.length?t.filter(d=>r.getAttribute(d)).map(d=>[d,r.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{a.push(`[${d[0]}="${d[1]}"]`)});else if(r.id&&a.push(`#${r.id}`),o=r.className,o&&oa(o))for(n=o.split(/\s+/),l=0;l<n.length;l++)a.push(`.${n[l]}`);let c=["aria-label","type","name","title","alt"];for(l=0;l<c.length;l++)i=c[l],s=r.getAttribute(i),s&&a.push(`[${i}="${s}"]`);return a.join("")}function Cx(){try{return Sx.document.location.href}catch{return""}}function Lx(e){if(!Sx.HTMLElement)return null;let t=e,r=5;for(let a=0;a<r;a++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}var Ii=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var YD="Sentry Logger ",Dd=["debug","info","warn","error","log","assert","trace"],pu={};function eg(e){if(!("console"in he))return e();let t=he.console,r={},a=Object.keys(pu);a.forEach(o=>{let n=pu[o];r[o]=t[o],t[o]=n});try{return e()}finally{a.forEach(o=>{t[o]=r[o]})}}function XD(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Ii?Dd.forEach(r=>{t[r]=(...a)=>{e&&eg(()=>{he.console[r](`${YD}[${r}]:`,...a)})}}):Dd.forEach(r=>{t[r]=()=>{}}),t}var Ve=XD();function Rt(e,t,r){if(!(t in e))return;let a=e[t],o=r(a);typeof o=="function"&&tg(o,a),e[t]=o}function Ts(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{Ii&&Ve.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function tg(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,Ts(e,"__sentry_original__",t)}catch{}}function ks(e){return e.__sentry_original__}function rg(e){if(Ad(e))return{message:e.message,name:e.name,stack:e.stack,...YR(e)};if(_s(e)){let t={type:e.type,target:KR(e.target),currentTarget:KR(e.currentTarget),...YR(e)};return typeof CustomEvent<"u"&&Vo(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function KR(e){try{return vx(e)?Pd(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function YR(e){if(typeof e=="object"&&e!==null){let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}else return{}}function Ex(e,t=40){let r=Object.keys(rg(e));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=t)return du(r[0],t);for(let a=r.length;a>0;a--){let o=r.slice(0,a).join(", ");if(!(o.length>t))return a===r.length?o:du(o,t)}return""}function Wa(e){return Ix(e,new Map)}function Ix(e,t){if(QD(e)){let r=t.get(e);if(r!==void 0)return r;let a={};t.set(e,a);for(let o of Object.keys(e))typeof e[o]<"u"&&(a[o]=Ix(e[o],t));return a}if(Array.isArray(e)){let r=t.get(e);if(r!==void 0)return r;let a=[];return t.set(e,a),e.forEach(o=>{a.push(Ix(o,t))}),a}return e}function QD(e){if(!Li(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}var _x="<anonymous>";function Ka(e){try{return!e||typeof e!="function"?_x:e.name||_x}catch{return _x}}var ag={},XR={};function na(e,t){ag[e]=ag[e]||[],ag[e].push(t)}function ia(e,t){XR[e]||(t(),XR[e]=!0)}function pr(e,t){let r=e&&ag[e];if(r)for(let a of r)try{a(t)}catch(o){Ii&&Ve.error(`Error while triggering instrumentation handler.
11
11
  Type: ${e}
12
12
  Name: ${Ka(a)}
13
13
  Error:`,o)}}function Rx(e){let t="console";na(t,e),ia(t,ZD)}function ZD(){"console"in he&&Dd.forEach(function(e){e in he.console&&Rt(he.console,e,function(t){return pu[e]=t,function(...r){pr("console",{args:r,level:e});let o=pu[e];o&&o.apply(he.console,r)}})})}function Dr(){let e=he,t=e.crypto||e.msCrypto,r=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(r=()=>{let a=new Uint8Array(1);return t.getRandomValues(a),a[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,a=>(a^(r()&15)>>a/4).toString(16))}function QR(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ho(e){let{message:t,event_id:r}=e;if(t)return t;let a=QR(e);return a?a.type&&a.value?`${a.type}: ${a.value}`:a.type||a.value||r||"<unknown>":r||"<unknown>"}function mu(e,t,r){let a=e.exception=e.exception||{},o=a.values=a.values||[],n=o[0]=o[0]||{};n.value||(n.value=t||""),n.type||(n.type=r||"Error")}function gu(e,t){let r=QR(e);if(!r)return;let a={type:"generic",handled:!0},o=r.mechanism;if(r.mechanism={...a,...o,...t},t&&"data"in t){let n={...o&&o.data,...t.data};r.mechanism.data=n}}function wx(e){return Array.isArray(e)?e:[e]}var vu=he,JD=1e3,ZR,Tx,kx;function Ax(e){na("dom",e),ia("dom",e6)}function e6(){if(!vu.document)return;let e=pr.bind(null,"dom"),t=JR(e,!0);vu.document.addEventListener("click",t,!1),vu.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(r=>{let a=vu[r]&&vu[r].prototype;!a||!a.hasOwnProperty||!a.hasOwnProperty("addEventListener")||(Rt(a,"addEventListener",function(o){return function(n,i,s){if(n==="click"||n=="keypress")try{let l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[n]=u[n]||{refCount:0};if(!c.handler){let d=JR(e);c.handler=d,o.call(this,n,d,s)}c.refCount++}catch{}return o.call(this,n,i,s)}}),Rt(a,"removeEventListener",function(o){return function(n,i,s){if(n==="click"||n=="keypress")try{let l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[n];c&&(c.refCount--,c.refCount<=0&&(o.call(this,n,c.handler,s),c.handler=void 0,delete u[n]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return o.call(this,n,i,s)}}))})}function t6(e){if(e.type!==Tx)return!1;try{if(!e.target||e.target._sentryId!==kx)return!1}catch{}return!0}function r6(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function JR(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;let a=a6(r);if(r6(r.type,a))return;Ts(r,"_sentryCaptured",!0),a&&!a._sentryId&&Ts(a,"_sentryId",Dr());let o=r.type==="keypress"?"input":r.type;t6(r)||(e({event:r,name:o,global:t}),Tx=r.type,kx=a?a._sentryId:void 0),clearTimeout(ZR),ZR=vu.setTimeout(()=>{kx=void 0,Tx=void 0},JD)}}function a6(e){try{return e.target}catch{return null}}var Ox=ws();function o6(){if(!("fetch"in Ox))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function ew(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function tw(){if(typeof EdgeRuntime=="string")return!0;if(!o6())return!1;if(ew(Ox.fetch))return!0;let e=!1,t=Ox.document;if(t&&typeof t.createElement=="function")try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=ew(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){Ii&&Ve.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function Mx(e){let t="fetch";na(t,e),ia(t,n6)}function n6(){tw()&&Rt(he,"fetch",function(e){return function(...t){let{method:r,url:a}=i6(t),o={args:t,fetchData:{method:r,url:a},startTimestamp:Date.now()};return pr("fetch",{...o}),e.apply(he,t).then(n=>{let i={...o,endTimestamp:Date.now(),response:n};return pr("fetch",i),n},n=>{let i={...o,endTimestamp:Date.now(),error:n};throw pr("fetch",i),n})}})}function Bx(e,t){return!!e&&typeof e=="object"&&!!e[t]}function rw(e){return typeof e=="string"?e:e?Bx(e,"url")?e.url:e.toString?e.toString():"":""}function i6(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){let[r,a]=e;return{url:rw(r),method:Bx(a,"method")?String(a.method).toUpperCase():"GET"}}let t=e[0];return{url:rw(t),method:Bx(t,"method")?String(t.method).toUpperCase():"GET"}}var og=null;function Fx(e){let t="error";na(t,e),ia(t,s6)}function s6(){og=he.onerror,he.onerror=function(e,t,r,a,o){return pr("error",{column:a,error:o,line:r,msg:e,url:t}),og&&!og.__SENTRY_LOADER__?og.apply(this,arguments):!1},he.onerror.__SENTRY_INSTRUMENTED__=!0}var ng=null;function Px(e){let t="unhandledrejection";na(t,e),ia(t,l6)}function l6(){ng=he.onunhandledrejection,he.onunhandledrejection=function(e){return pr("unhandledrejection",e),ng&&!ng.__SENTRY_LOADER__?ng.apply(this,arguments):!0},he.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var ig=ws();function aw(){let e=ig.chrome,t=e&&e.app&&e.app.runtime,r="history"in ig&&!!ig.history.pushState&&!!ig.history.replaceState;return!t&&r}var Nd=he,sg;function Dx(e){let t="history";na(t,e),ia(t,u6)}function u6(){if(!aw())return;let e=Nd.onpopstate;Nd.onpopstate=function(...r){let a=Nd.location.href,o=sg;if(sg=a,pr("history",{from:o,to:a}),e)try{return e.apply(this,r)}catch{}};function t(r){return function(...a){let o=a.length>2?a[2]:void 0;if(o){let n=sg,i=String(o);sg=i,pr("history",{from:n,to:i})}return r.apply(this,a)}}Rt(Nd.history,"pushState",t),Rt(Nd.history,"replaceState",t)}var c6=he,As="__sentry_xhr_v3__";function Nx(e){na("xhr",e),ia("xhr",d6)}function d6(){if(!c6.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;Rt(e,"open",function(t){return function(...r){let a=Date.now(),o=oa(r[0])?r[0].toUpperCase():void 0,n=f6(r[1]);if(!o||!n)return t.apply(this,r);this[As]={method:o,url:n,request_headers:{}},o==="POST"&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let i=()=>{let s=this[As];if(s&&this.readyState===4){try{s.status_code=this.status}catch{}let l={args:[o,n],endTimestamp:Date.now(),startTimestamp:a,xhr:this};pr("xhr",l)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?Rt(this,"onreadystatechange",function(s){return function(...l){return i(),s.apply(this,l)}}):this.addEventListener("readystatechange",i),Rt(this,"setRequestHeader",function(s){return function(...l){let[u,c]=l,d=this[As];return d&&oa(u)&&oa(c)&&(d.request_headers[u.toLowerCase()]=c),s.apply(this,l)}}),t.apply(this,r)}}),Rt(e,"send",function(t){return function(...r){let a=this[As];if(!a)return t.apply(this,r);r[0]!==void 0&&(a.body=r[0]);let o={args:[a.method,a.url],startTimestamp:Date.now(),xhr:this};return pr("xhr",o),t.apply(this,r)}})}function f6(e){if(oa(e))return e;try{return e.toString()}catch{}}function ow(){let e=typeof WeakSet=="function",t=e?new WeakSet:[];function r(o){if(e)return t.has(o)?!0:(t.add(o),!1);for(let n=0;n<t.length;n++)if(t[n]===o)return!0;return t.push(o),!1}function a(o){if(e)t.delete(o);else for(let n=0;n<t.length;n++)if(t[n]===o){t.splice(n,1);break}}return[r,a]}function nw(e,t=100,r=1/0){try{return lg("",e,t,r)}catch(a){return{ERROR:`**non-serializable** (${a})`}}}function ug(e,t=3,r=100*1024){let a=nw(e,t);return v6(a)>r?ug(e,t-1,r):a}function lg(e,t,r=1/0,a=1/0,o=ow()){let[n,i]=o;if(t==null||["number","boolean","string"].includes(typeof t)&&!yx(t))return t;let s=p6(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;let l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:r;if(l===0)return s.replace("object ","");if(n(t))return"[Circular ~]";let u=t;if(u&&typeof u.toJSON=="function")try{let m=u.toJSON();return lg("",m,l-1,a,o)}catch{}let c=Array.isArray(t)?[]:{},d=0,f=rg(t);for(let m in f){if(!Object.prototype.hasOwnProperty.call(f,m))continue;if(d>=a){c[m]="[MaxProperties ~]";break}let h=f[m];c[m]=lg(m,h,l-1,a,o),d++}return i(t),c}function p6(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(Bd(t))return"[VueViewModel]";if(bx(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${Ka(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;let r=m6(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function m6(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function g6(e){return~-encodeURI(e).split(/%..|./).length}function v6(e){return g6(JSON.stringify(e))}var En;(function(e){e[e.PENDING=0]="PENDING";let r=1;e[e.RESOLVED=r]="RESOLVED";let a=2;e[e.REJECTED=a]="REJECTED"})(En||(En={}));var Hd=class e{constructor(t){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._state=En.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(r){this._reject(r)}}then(t,r){return new e((a,o)=>{this._handlers.push([!1,n=>{if(!t)a(n);else try{a(t(n))}catch(i){o(i)}},n=>{if(!r)o(n);else try{a(r(n))}catch(i){o(i)}}]),this._executeHandlers()})}catch(t){return this.then(r=>r,t)}finally(t){return new e((r,a)=>{let o,n;return this.then(i=>{n=!1,o=i,t&&t()},i=>{n=!0,o=i,t&&t()}).then(()=>{if(n){a(o);return}r(o)})})}__init(){this._resolve=t=>{this._setResult(En.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(En.REJECTED,t)}}__init3(){this._setResult=(t,r)=>{if(this._state===En.PENDING){if(Rs(r)){r.then(this._resolve,this._reject);return}this._state=t,this._value=r,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===En.PENDING)return;let t=this._handlers.slice();this._handlers=[],t.forEach(r=>{r[0]||(this._state===En.RESOLVED&&r[1](this._value),this._state===En.REJECTED&&r[2](this._value),r[0]=!0)})}}};function Ud(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",a=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:a,relative:t[5]+r+a}}var iw=["fatal","error","warning","log","info","debug"];function Hx(e){return e==="warn"?"warning":iw.includes(e)?e:"log"}var sw=1e3;function hu(){return Date.now()/sw}function h6(){let{performance:e}=he;if(!e||!e.now)return hu;let t=Date.now()-e.now(),r=e.timeOrigin==null?t:e.timeOrigin;return()=>(r+e.now())/sw}var Vd=h6();var zd,b6=(()=>{let{performance:e}=he;if(!e||!e.now){zd="none";return}let t=3600*1e3,r=e.now(),a=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+r-a):t,n=o<t,i=e.timing&&e.timing.navigationStart,l=typeof i=="number"?Math.abs(i+r-a):t,u=l<t;return n||u?o<=l?(zd="timeOrigin",e.timeOrigin):(zd="navigationStart",i):(zd="dateNow",a)})();function lw(e,t){return e(t.stack||"",1)}function Ux(e,t){let r={type:t.name||t.constructor.name,value:t.message},a=lw(e,t);return a.length&&(r.stacktrace={frames:a}),r}var sa=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var cg="production";function uw(){return Fd("globalEventProcessors",()=>[])}function dg(e,t,r,a=0){return new Hd((o,n)=>{let i=e[a];if(t===null||typeof i!="function")o(t);else{let s=i({...t},r);sa&&i.id&&s===null&&Ve.log(`Event processor "${i.id}" dropped event`),Rs(s)?s.then(l=>dg(e,l,r,a+1).then(o)).then(null,n):dg(e,s,r,a+1).then(o).then(null,n)}})}function cw(e){let t=Vd(),r={sid:Dr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>x6(r)};return e&&bu(r,e),r}function bu(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Vd(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Dr()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{let r=e.timestamp-e.started;e.duration=r>=0?r:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function dw(e,t){let r={};t?r={status:t}:e.status==="ok"&&(r={status:"exited"}),bu(e,r)}function x6(e){return Wa({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}var S6=1;function fw(e){let{spanId:t,traceId:r}=e.spanContext(),{data:a,op:o,parent_span_id:n,status:i,tags:s,origin:l}=yu(e);return Wa({data:a,op:o,parent_span_id:n,span_id:t,status:i,tags:s,trace_id:r,origin:l})}function yu(e){return C6(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function C6(e){return typeof e.getSpanJSON=="function"}function pw(e){let{traceFlags:t}=e.spanContext();return!!(t&S6)}function mw(e){if(e)return L6(e)?{captureContext:e}:E6(e)?{captureContext:e}:e}function L6(e){return e instanceof Ei||typeof e=="function"}var I6=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function E6(e){return Object.keys(e).some(t=>I6.includes(t))}function Nr(e,t){return _i().captureException(e,mw(t))}function qd(e,t){return _i().captureEvent(e,t)}function qo(e,t){_i().addBreadcrumb(e,t)}function fg(...e){let t=_i();if(e.length===2){let[r,a]=e;return r?t.withScope(()=>(t.getStackTop().scope=r,a(r))):t.withScope(a)}return t.withScope(e[0])}function rr(){return _i().getClient()}function pg(){return _i().getScope()}function mg(e){return e.transaction}function _6(e,t,r){let a=t.getOptions(),{publicKey:o}=t.getDsn()||{},{segment:n}=r&&r.getUser()||{},i=Wa({environment:a.environment||cg,release:a.release,user_segment:n,public_key:o,trace_id:e});return t.emit&&t.emit("createDsc",i),i}function gw(e){let t=rr();if(!t)return{};let r=_6(yu(e).trace_id||"",t,pg()),a=mg(e);if(!a)return r;let o=a&&a._frozenDynamicSamplingContext;if(o)return o;let{sampleRate:n,source:i}=a.metadata;n!=null&&(r.sample_rate=`${n}`);let s=yu(a);return i&&i!=="url"&&(r.transaction=s.description),r.sampled=String(pw(a)),t.emit&&t.emit("createDsc",r),r}function vw(e,t){let{fingerprint:r,span:a,breadcrumbs:o,sdkProcessingMetadata:n}=t;R6(e,t),a&&k6(e,a),A6(e,r),w6(e,o),T6(e,n)}function R6(e,t){let{extra:r,tags:a,user:o,contexts:n,level:i,transactionName:s}=t,l=Wa(r);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let u=Wa(a);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=Wa(o);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=Wa(n);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),i&&(e.level=i),s&&(e.transaction=s)}function w6(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}function T6(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function k6(e,t){e.contexts={trace:fw(t),...e.contexts};let r=mg(t);if(r){e.sdkProcessingMetadata={dynamicSamplingContext:gw(t),...e.sdkProcessingMetadata};let a=yu(r).description;a&&(e.tags={transaction:a,...e.tags})}}function A6(e,t){e.fingerprint=e.fingerprint?wx(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}var O6=100;var Ei=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=hw()}static clone(t){return t?t.clone():new e}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&bu(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,r){return this._tags={...this._tags,[t]:r},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,r){return this._extra={...this._extra,[t]:r},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,r){return r===null?delete this._contexts[t]:this._contexts[t]=r,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let r=typeof t=="function"?t(this):t;if(r instanceof e){let a=r.getScopeData();this._tags={...this._tags,...a.tags},this._extra={...this._extra,...a.extra},this._contexts={...this._contexts,...a.contexts},a.user&&Object.keys(a.user).length&&(this._user=a.user),a.level&&(this._level=a.level),a.fingerprint.length&&(this._fingerprint=a.fingerprint),r.getRequestSession()&&(this._requestSession=r.getRequestSession()),a.propagationContext&&(this._propagationContext=a.propagationContext)}else if(Li(r)){let a=t;this._tags={...this._tags,...a.tags},this._extra={...this._extra,...a.extra},this._contexts={...this._contexts,...a.contexts},a.user&&(this._user=a.user),a.level&&(this._level=a.level),a.fingerprint&&(this._fingerprint=a.fingerprint),a.requestSession&&(this._requestSession=a.requestSession),a.propagationContext&&(this._propagationContext=a.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=hw(),this}addBreadcrumb(t,r){let a=typeof r=="number"?r:O6;if(a<=0)return this;let o={timestamp:hu(),...t},n=this._breadcrumbs;return n.push(o),this._breadcrumbs=n.length>a?n.slice(-a):n,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:t,_attachments:r,_contexts:a,_tags:o,_extra:n,_user:i,_level:s,_fingerprint:l,_eventProcessors:u,_propagationContext:c,_sdkProcessingMetadata:d,_transactionName:f,_span:m}=this;return{breadcrumbs:t,attachments:r,contexts:a,tags:o,extra:n,user:i,level:s,fingerprint:l||[],eventProcessors:u,propagationContext:c,sdkProcessingMetadata:d,transactionName:f,span:m}}applyToEvent(t,r={},a=[]){vw(t,this.getScopeData());let o=[...a,...uw(),...this._eventProcessors];return dg(o,t,r)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,r){let a=r&&r.event_id?r.event_id:Dr();if(!this._client)return Ve.warn("No client configured on scope - will not capture exception!"),a;let o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...r,event_id:a},this),a}captureMessage(t,r,a){let o=a&&a.event_id?a.event_id:Dr();if(!this._client)return Ve.warn("No client configured on scope - will not capture message!"),o;let n=new Error(t);return this._client.captureMessage(t,r,{originalException:t,syntheticException:n,...a,event_id:o},this),o}captureEvent(t,r){let a=r&&r.event_id?r.event_id:Dr();return this._client?(this._client.captureEvent(t,{...r,event_id:a},this),a):(Ve.warn("No client configured on scope - will not capture event!"),a)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}};function hw(){return{traceId:Dr(),spanId:Dr().substring(16)}}var zx="7.120.4";var bw=parseFloat(zx),B6=100,$d=class{constructor(t,r,a,o=bw){this._version=o;let n;r?n=r:(n=new Ei,n.setClient(t));let i;a?i=a:(i=new Ei,i.setClient(t)),this._stack=[{scope:n}],t&&this.bindClient(t),this._isolationScope=i}isOlderThan(t){return this._version<t}bindClient(t){let r=this.getStackTop();r.client=t,r.scope.setClient(t),t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){let t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){let r=this.pushScope(),a;try{a=t(r)}catch(o){throw this.popScope(),o}return Rs(a)?a.then(o=>(this.popScope(),o),o=>{throw this.popScope(),o}):(this.popScope(),a)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,r){let a=this._lastEventId=r&&r.event_id?r.event_id:Dr(),o=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:o,...r,event_id:a}),a}captureMessage(t,r,a){let o=this._lastEventId=a&&a.event_id?a.event_id:Dr(),n=new Error(t);return this.getScope().captureMessage(t,r,{originalException:t,syntheticException:n,...a,event_id:o}),o}captureEvent(t,r){let a=r&&r.event_id?r.event_id:Dr();return t.type||(this._lastEventId=a),this.getScope().captureEvent(t,{...r,event_id:a}),a}lastEventId(){return this._lastEventId}addBreadcrumb(t,r){let{scope:a,client:o}=this.getStackTop();if(!o)return;let{beforeBreadcrumb:n=null,maxBreadcrumbs:i=B6}=o.getOptions&&o.getOptions()||{};if(i<=0)return;let l={timestamp:hu(),...t},u=n?eg(()=>n(l,r)):l;u!==null&&(o.emit&&o.emit("beforeAddBreadcrumb",u,r),a.addBreadcrumb(u,i))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,r){this.getScope().setTag(t,r),this.getIsolationScope().setTag(t,r)}setExtra(t,r){this.getScope().setExtra(t,r),this.getIsolationScope().setExtra(t,r)}setContext(t,r){this.getScope().setContext(t,r),this.getIsolationScope().setContext(t,r)}configureScope(t){let{scope:r,client:a}=this.getStackTop();a&&t(r)}run(t){let r=Vx(this);try{t(this)}finally{Vx(r)}}getIntegration(t){let r=this.getClient();if(!r)return null;try{return r.getIntegration(t)}catch{return sa&&Ve.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,r){let a=this._callExtensionMethod("startTransaction",t,r);return sa&&!a&&(this.getClient()?Ve.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
@@ -20,7 +20,7 @@ Event: ${ho(e)}`),!0):q6(e,t.denyUrls)?(sa&&Ve.warn(`Event dropped due to being
20
20
  Event: ${ho(e)}.
21
21
  Url: ${hg(e)}`),!0):$6(e,t.allowUrls)?!1:(sa&&Ve.warn(`Event dropped due to not being matched by \`allowUrls\` option.
22
22
  Event: ${ho(e)}.
23
- Url: ${hg(e)}`),!0)}function z6(e,t){return e.type||!t||!t.length?!1:G6(e).some(r=>fu(r,t))}function V6(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;let r=e.transaction;return r?fu(r,t):!1}function q6(e,t){if(!t||!t.length)return!1;let r=hg(e);return r?fu(r,t):!1}function $6(e,t){if(!t||!t.length)return!0;let r=hg(e);return r?fu(r,t):!0}function G6(e){let t=[];e.message&&t.push(e.message);let r;try{r=e.exception.values[e.exception.values.length-1]}catch{}return r&&r.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`)),sa&&t.length===0&&Ve.error(`Could not extract message for event ${ho(e)}`),t}function j6(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function W6(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function hg(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?W6(t):null}catch{return sa&&Ve.error(`Cannot extract url for event ${ho(e)}`),null}}var Cw,Iw="FunctionToString",Lw=new WeakMap,K6=(()=>({name:Iw,setupOnce(){Cw=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=ks(this),r=Lw.has(rr())&&t!==void 0?t:this;return Cw.apply(r,e)}}catch{}},setup(e){Lw.set(e,!0)}})),Ew=K6,$x=ar(Iw,Ew);var Y6="cause",X6=5,_w="LinkedErrors",Q6=((e={})=>{let t=e.limit||X6,r=e.key||Y6;return{name:_w,setupOnce(){},preprocessEvent(a,o,n){let i=n.getOptions();Md(Ux,i.stackParser,i.maxValueLength,r,t,a,o)}}}),Z6=Q6,Rw=ar(_w,Z6);var Gx={};e2(Gx,{FunctionToString:()=>$x,InboundFilters:()=>qx,LinkedErrors:()=>Rw});var ww=Gx;var Yt=he,jx=0;function Wx(){return jx>0}function b8(){jx++,setTimeout(()=>{jx--})}function Os(e,t={},r){if(typeof e!="function")return e;try{let o=e.__sentry_wrapped__;if(o)return typeof o=="function"?o:e;if(ks(e))return e}catch{return e}let a=function(){let o=Array.prototype.slice.call(arguments);try{r&&typeof r=="function"&&r.apply(this,arguments);let n=o.map(i=>Os(i,t));return e.apply(this,n)}catch(n){throw b8(),fg(i=>{i.addEventProcessor(s=>(t.mechanism&&(mu(s,void 0,void 0),gu(s,t.mechanism)),s.extra={...s.extra,arguments:o},s)),Nr(n)}),n}};try{for(let o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}catch{}tg(a,e),Ts(e,"__sentry_wrapped__",a);try{Object.getOwnPropertyDescriptor(a,"name").configurable&&Object.defineProperty(a,"name",{get(){return e.name}})}catch{}return a}var xu=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Yx(e,t){let r=Xx(e,t),a={type:t&&t.name,value:C8(t)};return r.length&&(a.stacktrace={frames:r}),a.type===void 0&&a.value===""&&(a.value="Unrecoverable error caught"),a}function y8(e,t,r,a){let o=rr(),n=o&&o.getOptions().normalizeDepth,i={exception:{values:[{type:_s(t)?t.constructor.name:a?"UnhandledRejection":"Error",value:L8(t,{isUnhandledRejection:a})}]},extra:{__serialized__:ug(t,n)}};if(r){let s=Xx(e,r);s.length&&(i.exception.values[0].stacktrace={frames:s})}return i}function Kx(e,t){return{exception:{values:[Yx(e,t)]}}}function Xx(e,t){let r=t.stacktrace||t.stack||"",a=S8(t);try{return e(r,a)}catch{}return[]}var x8=/Minified React error #\d+;/i;function S8(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(x8.test(e.message))return 1}return 0}function C8(e){let t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Qx(e,t,r,a,o){let n;if(cu(t)&&t.error)return Kx(e,t.error);if(Xm(t)||gx(t)){let i=t;if("stack"in t)n=Kx(e,t);else{let s=i.name||(Xm(i)?"DOMError":"DOMException"),l=i.message?`${s}: ${i.message}`:s;n=Tw(e,l,r,a),mu(n,l)}return"code"in i&&(n.tags={...n.tags,"DOMException.code":`${i.code}`}),n}return Ad(t)?Kx(e,t):Li(t)||_s(t)?(n=y8(e,t,r,o),gu(n,{synthetic:!0}),n):(n=Tw(e,t,r,a),mu(n,`${t}`,void 0),gu(n,{synthetic:!0}),n)}function Tw(e,t,r,a){let o={};if(a&&r){let n=Xx(e,r);n.length&&(o.exception={values:[{value:t,stacktrace:{frames:n}}]})}if(Qm(t)){let{__sentry_template_string__:n,__sentry_template_values__:i}=t;return o.logentry={message:n,params:i},o}return o.message=t,o}function L8(e,{isUnhandledRejection:t}){let r=Ex(e),a=t?"promise rejection":"exception";return cu(e)?`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``:_s(e)?`Event \`${I8(e)}\` (type=${e.type}) captured as ${a}`:`Object captured as ${a} with keys: ${r}`}function I8(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}var bg=1024,kw="Breadcrumbs",E8=((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:kw,setupOnce(){},setup(r){t.console&&Rx(T8(r)),t.dom&&Ax(w8(r,t.dom)),t.xhr&&Nx(k8(r)),t.fetch&&Mx(A8(r)),t.history&&Dx(O8(r)),t.sentry&&r.on&&r.on("beforeSendEvent",R8(r))}}}),_8=E8,Aw=ar(kw,_8);function R8(e){return function(r){rr()===e&&qo({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:ho(r)},{event:r})}}function w8(e,t){return function(a){if(rr()!==e)return;let o,n,i=typeof t=="object"?t.serializeAttribute:void 0,s=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;s&&s>bg&&(xu&&Ve.warn(`\`dom.maxStringLength\` cannot exceed ${bg}, but a value of ${s} was configured. Sentry will use ${bg} instead.`),s=bg),typeof i=="string"&&(i=[i]);try{let u=a.event,c=B8(u)?u.target:u;o=Pd(c,{keyAttrs:i,maxStringLength:s}),n=Lx(c)}catch{o="<unknown>"}if(o.length===0)return;let l={category:`ui.${a.name}`,message:o};n&&(l.data={"ui.component_name":n}),qo(l,{event:a.event,name:a.name,global:a.global})}}function T8(e){return function(r){if(rr()!==e)return;let a={category:"console",data:{arguments:r.args,logger:"console"},level:Hx(r.level),message:Zm(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)a.message=`Assertion failed: ${Zm(r.args.slice(1)," ")||"console.assert"}`,a.data.arguments=r.args.slice(1);else return;qo(a,{input:r.args,level:r.level})}}function k8(e){return function(r){if(rr()!==e)return;let{startTimestamp:a,endTimestamp:o}=r,n=r.xhr[As];if(!a||!o||!n)return;let{method:i,url:s,status_code:l,body:u}=n,c={method:i,url:s,status_code:l},d={xhr:r.xhr,input:u,startTimestamp:a,endTimestamp:o};qo({category:"xhr",data:c,type:"http"},d)}}function A8(e){return function(r){if(rr()!==e)return;let{startTimestamp:a,endTimestamp:o}=r;if(o&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.error){let n=r.fetchData,i={data:r.error,input:r.args,startTimestamp:a,endTimestamp:o};qo({category:"fetch",data:n,level:"error",type:"http"},i)}else{let n=r.response,i={...r.fetchData,status_code:n&&n.status},s={input:r.args,response:n,startTimestamp:a,endTimestamp:o};qo({category:"fetch",data:i,type:"http"},s)}}}function O8(e){return function(r){if(rr()!==e)return;let a=r.from,o=r.to,n=Ud(Yt.location.href),i=a?Ud(a):void 0,s=Ud(o);(!i||!i.path)&&(i=n),n.protocol===s.protocol&&n.host===s.host&&(o=s.relative),n.protocol===i.protocol&&n.host===i.host&&(a=i.relative),qo({category:"navigation",data:{from:a,to:o}})}}function B8(e){return!!e&&!!e.target}var Mw="Dedupe",M8=(()=>{let e;return{name:Mw,setupOnce(){},processEvent(t){if(t.type)return t;try{if(P8(t,e))return xu&&Ve.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),F8=M8,Fw=ar(Mw,F8);function P8(e,t){return t?!!(D8(e,t)||N8(e,t)):!1}function D8(e,t){let r=e.message,a=t.message;return!(!r&&!a||r&&!a||!r&&a||r!==a||!Dw(e,t)||!Pw(e,t))}function N8(e,t){let r=Ow(t),a=Ow(e);return!(!r||!a||r.type!==a.type||r.value!==a.value||!Dw(e,t)||!Pw(e,t))}function Pw(e,t){let r=Bw(e),a=Bw(t);if(!r&&!a)return!0;if(r&&!a||!r&&a||(r=r,a=a,a.length!==r.length))return!1;for(let o=0;o<a.length;o++){let n=a[o],i=r[o];if(n.filename!==i.filename||n.lineno!==i.lineno||n.colno!==i.colno||n.function!==i.function)return!1}return!0}function Dw(e,t){let r=e.fingerprint,a=t.fingerprint;if(!r&&!a)return!0;if(r&&!a||!r&&a)return!1;r=r,a=a;try{return r.join("")===a.join("")}catch{return!1}}function Ow(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Bw(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var Hw="GlobalHandlers",H8=((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:Hw,setupOnce(){Error.stackTraceLimit=50},setup(r){t.onerror&&(z8(r),Nw("onerror")),t.onunhandledrejection&&(V8(r),Nw("onunhandledrejection"))}}}),U8=H8,Uw=ar(Hw,U8);function z8(e){Fx(t=>{let{stackParser:r,attachStacktrace:a}=Vw();if(rr()!==e||Wx())return;let{msg:o,url:n,line:i,column:s,error:l}=t,u=l===void 0&&oa(o)?G8(o,n,i,s):zw(Qx(r,l||o,void 0,a,!1),n,i,s);u.level="error",qd(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function V8(e){Px(t=>{let{stackParser:r,attachStacktrace:a}=Vw();if(rr()!==e||Wx())return;let o=q8(t),n=Od(o)?$8(o):Qx(r,o,void 0,a,!0);n.level="error",qd(n,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function q8(e){if(Od(e))return e;let t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return e}function $8(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function G8(e,t,r,a){let o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,n=cu(e)?e.message:e,i="Error",s=n.match(o);return s&&(i=s[1],n=s[2]),zw({exception:{values:[{type:i,value:n}]}},t,r,a)}function zw(e,t,r,a){let o=e.exception=e.exception||{},n=o.values=o.values||[],i=n[0]=n[0]||{},s=i.stacktrace=i.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(a,10))?void 0:a,c=isNaN(parseInt(r,10))?void 0:r,d=oa(t)&&t.length>0?t:Cx();return l.length===0&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function Nw(e){xu&&Ve.log(`Global Handler attached: ${e}`)}function Vw(){let e=rr();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}var qw="HttpContext",j8=(()=>({name:qw,setupOnce(){},preprocessEvent(e){if(!Yt.navigator&&!Yt.location&&!Yt.document)return;let t=e.request&&e.request.url||Yt.location&&Yt.location.href,{referrer:r}=Yt.document||{},{userAgent:a}=Yt.navigator||{},o={...e.request&&e.request.headers,...r&&{Referer:r},...a&&{"User-Agent":a}},n={...e.request,...t&&{url:t},headers:o};e.request=n}})),W8=j8,$w=ar(qw,W8);var K8="cause",Y8=5,Gw="LinkedErrors",X8=((e={})=>{let t=e.limit||Y8,r=e.key||K8;return{name:Gw,setupOnce(){},preprocessEvent(a,o,n){let i=n.getOptions();Md(Yx,i.stackParser,i.maxValueLength,r,t,a,o)}}}),Q8=X8,jw=ar(Gw,Q8);var Z8=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Kw="TryCatch",J8=((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Kw,setupOnce(){t.setTimeout&&Rt(Yt,"setTimeout",Ww),t.setInterval&&Rt(Yt,"setInterval",Ww),t.requestAnimationFrame&&Rt(Yt,"requestAnimationFrame",tN),t.XMLHttpRequest&&"XMLHttpRequest"in Yt&&Rt(XMLHttpRequest.prototype,"send",rN);let r=t.eventTarget;r&&(Array.isArray(r)?r:Z8).forEach(aN)}}}),eN=J8,Yw=ar(Kw,eN);function Ww(e){return function(...t){let r=t[0];return t[0]=Os(r,{mechanism:{data:{function:Ka(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function tN(e){return function(t){return e.apply(this,[Os(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Ka(e)},handled:!1,type:"instrument"}})])}}function rN(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in r&&typeof r[o]=="function"&&Rt(r,o,function(n){let i={mechanism:{data:{function:o,handler:Ka(n)},handled:!1,type:"instrument"}},s=ks(n);return s&&(i.mechanism.data.handler=Ka(s)),Os(n,i)})}),e.apply(this,t)}}function aN(e){let t=Yt,r=t[e]&&t[e].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Rt(r,"addEventListener",function(a){return function(o,n,i){try{typeof n.handleEvent=="function"&&(n.handleEvent=Os(n.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ka(n),target:e},handled:!1,type:"instrument"}}))}catch{}return a.apply(this,[o,Os(n,{mechanism:{data:{function:"addEventListener",handler:Ka(n),target:e},handled:!1,type:"instrument"}}),i])}}),Rt(r,"removeEventListener",function(a){return function(o,n,i){let s=n;try{let l=s&&s.__sentry_wrapped__;l&&a.call(this,o,l,i)}catch{}return a.call(this,o,s,i)}}))}var Zx={};e2(Zx,{Breadcrumbs:()=>Aw,Dedupe:()=>Fw,GlobalHandlers:()=>Uw,HttpContext:()=>$w,LinkedErrors:()=>jw,TryCatch:()=>Yw});var Xw={};Yt.Sentry&&Yt.Sentry.Integrations&&(Xw=Yt.Sentry.Integrations);var vX={...Xw,...ww,...Zx};function Qw(e){if(e!=null)return e;throw new Error("Object null")}var LX=2*6e4;var IX=2*1024*1024,Zw=(A=>(A.NotRegistered="not_registered",A.AppNotInstalled="app_not_installed",A.AppNotRunning="app_not_running",A.AppConnectionFailed="app_connection_failed",A.StartupTimeout="startup_timeout",A.WorkspaceUnavailable="workspace_unavailable",A.InvalidWorkspace="invalid_workspace",A.InvalidArguments="invalid_arguments",A.InvalidRequest="invalid_request",A.InvalidPrompt="invalid_prompt",A.InvalidAttachment="invalid_attachment",A.UnknownTool="unknown_tool",A.NotSignedIn="not_signed_in",A.NotAvailable="not_available",A.AccountBlocked="account_blocked",A.NoCredits="no_credits",A.ChatUnavailable="chat_unavailable",A.WorkspaceUnbound="workspace_unbound",A.KombaiRestarting="kombai_restarting",A.KombaiOutdated="kombai_outdated",A.GatewayOutdated="gateway_outdated",A.UnknownDownload="unknown_download",A.UnknownSubscription="unknown_subscription",A.UnknownResource="unknown_resource",A.ProjectUnavailable="project_unavailable",A.QuestionNotPending="question_not_pending",A.ModelUnavailable="model_unavailable",A.NestedChat="nested_chat",A.Unknown="chat_mcp_error",A))(Zw||{}),EX=new Set(Object.values(Zw).filter(e=>e!=="chat_mcp_error"));var Jw=Qw("prod")==="prod"?"":"prod";var AX=`kombai.authToken${Jw}`;var OX=`kombai.userDetails${Jw}`;var BX=900*1e3,MX=2100*1e3;var yg=e=>parseInt(e.split("_")[3],10)||0,oN=e=>e.toLowerCase().endsWith("_affiliate"),xg=e=>{let t=e.split("_")[2];if(t==="month")return"month";if(t==="quarter")return"quarter";if(t==="year")return"year"},Gd=e=>{let t=xg(e);return t==="month"&&oN(e)?"quarter":t};var eT=e=>Gd(e)==="year";var tT=(e,t)=>t==="quarter"?e/3:e;function rT(e){return"isTeamPlan"in e}var qX={fetchState:"pending",subscriptionPlan:"Free",totalCredits:5,refillOn:new Date().toISOString(),remainingCredits:5,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),subscriptionStatus:"Free",billingCycle:new Date().toISOString(),lookupKey:"",endsOn:new Date().toISOString(),paymentDueInfo:{invoiceStatus:"void",invoiceUrl:""},isAStripeCustomer:!1,hasUserCanceledSubscription:!1,referralCode:void 0,referredBy:void 0,referees:void 0,referredByEmail:void 0};var nN=e=>e?.audience==="affiliate"?"affiliate":"standard",Cu=e=>nN(e)==="affiliate";var Sg=(e,t)=>t==="year"?"year":t==="quarter"||Cu(e)?"quarter":"month";var Su=(e,t)=>{let r=e?.prices?.[t];return Array.isArray(r)?r:[]},aT=e=>Cu(e)?["month"]:["month",...Su(e,"quarter").length>0?["quarter"]:[],...Su(e,"year").length>0?["year"]:[]];function oT(e){return!!e&&typeof e.discountedPrice=="number"&&Number.isFinite(e.discountedPrice)&&typeof e.originalPrice=="number"&&Number.isFinite(e.originalPrice)&&typeof e.offerTag=="string"&&e.offerTag.length>0&&typeof e.percentageOff=="number"&&Number.isFinite(e.percentageOff)}function iN(e){return e?.toLowerCase().split("_")[1]==="Free".toLowerCase()}function Cg(e,t){if(sN(t)&&e?.frequency==="month"&&oT(e.offer))return e.offer}function sN(e){return rT(e)?!1:e.subscriptionStatus==="Free"&&e.fetchState==="success"&&iN(e.lookupKey)}function iT(e){return Math.round(e)}var Ah=R(O());function jd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function sT(e){if(Array.isArray(e))return jd(e)}function Lg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lu(e,t){if(e){if(typeof e=="string")return jd(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jd(e,t):void 0}}function lT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
23
+ Url: ${hg(e)}`),!0)}function z6(e,t){return e.type||!t||!t.length?!1:G6(e).some(r=>fu(r,t))}function V6(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;let r=e.transaction;return r?fu(r,t):!1}function q6(e,t){if(!t||!t.length)return!1;let r=hg(e);return r?fu(r,t):!1}function $6(e,t){if(!t||!t.length)return!0;let r=hg(e);return r?fu(r,t):!0}function G6(e){let t=[];e.message&&t.push(e.message);let r;try{r=e.exception.values[e.exception.values.length-1]}catch{}return r&&r.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`)),sa&&t.length===0&&Ve.error(`Could not extract message for event ${ho(e)}`),t}function j6(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function W6(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function hg(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?W6(t):null}catch{return sa&&Ve.error(`Cannot extract url for event ${ho(e)}`),null}}var Cw,Iw="FunctionToString",Lw=new WeakMap,K6=(()=>({name:Iw,setupOnce(){Cw=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=ks(this),r=Lw.has(rr())&&t!==void 0?t:this;return Cw.apply(r,e)}}catch{}},setup(e){Lw.set(e,!0)}})),Ew=K6,$x=ar(Iw,Ew);var Y6="cause",X6=5,_w="LinkedErrors",Q6=((e={})=>{let t=e.limit||X6,r=e.key||Y6;return{name:_w,setupOnce(){},preprocessEvent(a,o,n){let i=n.getOptions();Md(Ux,i.stackParser,i.maxValueLength,r,t,a,o)}}}),Z6=Q6,Rw=ar(_w,Z6);var Gx={};e2(Gx,{FunctionToString:()=>$x,InboundFilters:()=>qx,LinkedErrors:()=>Rw});var ww=Gx;var Yt=he,jx=0;function Wx(){return jx>0}function b8(){jx++,setTimeout(()=>{jx--})}function Os(e,t={},r){if(typeof e!="function")return e;try{let o=e.__sentry_wrapped__;if(o)return typeof o=="function"?o:e;if(ks(e))return e}catch{return e}let a=function(){let o=Array.prototype.slice.call(arguments);try{r&&typeof r=="function"&&r.apply(this,arguments);let n=o.map(i=>Os(i,t));return e.apply(this,n)}catch(n){throw b8(),fg(i=>{i.addEventProcessor(s=>(t.mechanism&&(mu(s,void 0,void 0),gu(s,t.mechanism)),s.extra={...s.extra,arguments:o},s)),Nr(n)}),n}};try{for(let o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}catch{}tg(a,e),Ts(e,"__sentry_wrapped__",a);try{Object.getOwnPropertyDescriptor(a,"name").configurable&&Object.defineProperty(a,"name",{get(){return e.name}})}catch{}return a}var xu=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Yx(e,t){let r=Xx(e,t),a={type:t&&t.name,value:C8(t)};return r.length&&(a.stacktrace={frames:r}),a.type===void 0&&a.value===""&&(a.value="Unrecoverable error caught"),a}function y8(e,t,r,a){let o=rr(),n=o&&o.getOptions().normalizeDepth,i={exception:{values:[{type:_s(t)?t.constructor.name:a?"UnhandledRejection":"Error",value:L8(t,{isUnhandledRejection:a})}]},extra:{__serialized__:ug(t,n)}};if(r){let s=Xx(e,r);s.length&&(i.exception.values[0].stacktrace={frames:s})}return i}function Kx(e,t){return{exception:{values:[Yx(e,t)]}}}function Xx(e,t){let r=t.stacktrace||t.stack||"",a=S8(t);try{return e(r,a)}catch{}return[]}var x8=/Minified React error #\d+;/i;function S8(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(x8.test(e.message))return 1}return 0}function C8(e){let t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Qx(e,t,r,a,o){let n;if(cu(t)&&t.error)return Kx(e,t.error);if(Xm(t)||gx(t)){let i=t;if("stack"in t)n=Kx(e,t);else{let s=i.name||(Xm(i)?"DOMError":"DOMException"),l=i.message?`${s}: ${i.message}`:s;n=Tw(e,l,r,a),mu(n,l)}return"code"in i&&(n.tags={...n.tags,"DOMException.code":`${i.code}`}),n}return Ad(t)?Kx(e,t):Li(t)||_s(t)?(n=y8(e,t,r,o),gu(n,{synthetic:!0}),n):(n=Tw(e,t,r,a),mu(n,`${t}`,void 0),gu(n,{synthetic:!0}),n)}function Tw(e,t,r,a){let o={};if(a&&r){let n=Xx(e,r);n.length&&(o.exception={values:[{value:t,stacktrace:{frames:n}}]})}if(Qm(t)){let{__sentry_template_string__:n,__sentry_template_values__:i}=t;return o.logentry={message:n,params:i},o}return o.message=t,o}function L8(e,{isUnhandledRejection:t}){let r=Ex(e),a=t?"promise rejection":"exception";return cu(e)?`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``:_s(e)?`Event \`${I8(e)}\` (type=${e.type}) captured as ${a}`:`Object captured as ${a} with keys: ${r}`}function I8(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}var bg=1024,kw="Breadcrumbs",E8=((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:kw,setupOnce(){},setup(r){t.console&&Rx(T8(r)),t.dom&&Ax(w8(r,t.dom)),t.xhr&&Nx(k8(r)),t.fetch&&Mx(A8(r)),t.history&&Dx(O8(r)),t.sentry&&r.on&&r.on("beforeSendEvent",R8(r))}}}),_8=E8,Aw=ar(kw,_8);function R8(e){return function(r){rr()===e&&qo({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:ho(r)},{event:r})}}function w8(e,t){return function(a){if(rr()!==e)return;let o,n,i=typeof t=="object"?t.serializeAttribute:void 0,s=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;s&&s>bg&&(xu&&Ve.warn(`\`dom.maxStringLength\` cannot exceed ${bg}, but a value of ${s} was configured. Sentry will use ${bg} instead.`),s=bg),typeof i=="string"&&(i=[i]);try{let u=a.event,c=B8(u)?u.target:u;o=Pd(c,{keyAttrs:i,maxStringLength:s}),n=Lx(c)}catch{o="<unknown>"}if(o.length===0)return;let l={category:`ui.${a.name}`,message:o};n&&(l.data={"ui.component_name":n}),qo(l,{event:a.event,name:a.name,global:a.global})}}function T8(e){return function(r){if(rr()!==e)return;let a={category:"console",data:{arguments:r.args,logger:"console"},level:Hx(r.level),message:Zm(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)a.message=`Assertion failed: ${Zm(r.args.slice(1)," ")||"console.assert"}`,a.data.arguments=r.args.slice(1);else return;qo(a,{input:r.args,level:r.level})}}function k8(e){return function(r){if(rr()!==e)return;let{startTimestamp:a,endTimestamp:o}=r,n=r.xhr[As];if(!a||!o||!n)return;let{method:i,url:s,status_code:l,body:u}=n,c={method:i,url:s,status_code:l},d={xhr:r.xhr,input:u,startTimestamp:a,endTimestamp:o};qo({category:"xhr",data:c,type:"http"},d)}}function A8(e){return function(r){if(rr()!==e)return;let{startTimestamp:a,endTimestamp:o}=r;if(o&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.error){let n=r.fetchData,i={data:r.error,input:r.args,startTimestamp:a,endTimestamp:o};qo({category:"fetch",data:n,level:"error",type:"http"},i)}else{let n=r.response,i={...r.fetchData,status_code:n&&n.status},s={input:r.args,response:n,startTimestamp:a,endTimestamp:o};qo({category:"fetch",data:i,type:"http"},s)}}}function O8(e){return function(r){if(rr()!==e)return;let a=r.from,o=r.to,n=Ud(Yt.location.href),i=a?Ud(a):void 0,s=Ud(o);(!i||!i.path)&&(i=n),n.protocol===s.protocol&&n.host===s.host&&(o=s.relative),n.protocol===i.protocol&&n.host===i.host&&(a=i.relative),qo({category:"navigation",data:{from:a,to:o}})}}function B8(e){return!!e&&!!e.target}var Mw="Dedupe",M8=(()=>{let e;return{name:Mw,setupOnce(){},processEvent(t){if(t.type)return t;try{if(P8(t,e))return xu&&Ve.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),F8=M8,Fw=ar(Mw,F8);function P8(e,t){return t?!!(D8(e,t)||N8(e,t)):!1}function D8(e,t){let r=e.message,a=t.message;return!(!r&&!a||r&&!a||!r&&a||r!==a||!Dw(e,t)||!Pw(e,t))}function N8(e,t){let r=Ow(t),a=Ow(e);return!(!r||!a||r.type!==a.type||r.value!==a.value||!Dw(e,t)||!Pw(e,t))}function Pw(e,t){let r=Bw(e),a=Bw(t);if(!r&&!a)return!0;if(r&&!a||!r&&a||(r=r,a=a,a.length!==r.length))return!1;for(let o=0;o<a.length;o++){let n=a[o],i=r[o];if(n.filename!==i.filename||n.lineno!==i.lineno||n.colno!==i.colno||n.function!==i.function)return!1}return!0}function Dw(e,t){let r=e.fingerprint,a=t.fingerprint;if(!r&&!a)return!0;if(r&&!a||!r&&a)return!1;r=r,a=a;try{return r.join("")===a.join("")}catch{return!1}}function Ow(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Bw(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var Hw="GlobalHandlers",H8=((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:Hw,setupOnce(){Error.stackTraceLimit=50},setup(r){t.onerror&&(z8(r),Nw("onerror")),t.onunhandledrejection&&(V8(r),Nw("onunhandledrejection"))}}}),U8=H8,Uw=ar(Hw,U8);function z8(e){Fx(t=>{let{stackParser:r,attachStacktrace:a}=Vw();if(rr()!==e||Wx())return;let{msg:o,url:n,line:i,column:s,error:l}=t,u=l===void 0&&oa(o)?G8(o,n,i,s):zw(Qx(r,l||o,void 0,a,!1),n,i,s);u.level="error",qd(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function V8(e){Px(t=>{let{stackParser:r,attachStacktrace:a}=Vw();if(rr()!==e||Wx())return;let o=q8(t),n=Od(o)?$8(o):Qx(r,o,void 0,a,!0);n.level="error",qd(n,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function q8(e){if(Od(e))return e;let t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return e}function $8(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function G8(e,t,r,a){let o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,n=cu(e)?e.message:e,i="Error",s=n.match(o);return s&&(i=s[1],n=s[2]),zw({exception:{values:[{type:i,value:n}]}},t,r,a)}function zw(e,t,r,a){let o=e.exception=e.exception||{},n=o.values=o.values||[],i=n[0]=n[0]||{},s=i.stacktrace=i.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(a,10))?void 0:a,c=isNaN(parseInt(r,10))?void 0:r,d=oa(t)&&t.length>0?t:Cx();return l.length===0&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function Nw(e){xu&&Ve.log(`Global Handler attached: ${e}`)}function Vw(){let e=rr();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}var qw="HttpContext",j8=(()=>({name:qw,setupOnce(){},preprocessEvent(e){if(!Yt.navigator&&!Yt.location&&!Yt.document)return;let t=e.request&&e.request.url||Yt.location&&Yt.location.href,{referrer:r}=Yt.document||{},{userAgent:a}=Yt.navigator||{},o={...e.request&&e.request.headers,...r&&{Referer:r},...a&&{"User-Agent":a}},n={...e.request,...t&&{url:t},headers:o};e.request=n}})),W8=j8,$w=ar(qw,W8);var K8="cause",Y8=5,Gw="LinkedErrors",X8=((e={})=>{let t=e.limit||Y8,r=e.key||K8;return{name:Gw,setupOnce(){},preprocessEvent(a,o,n){let i=n.getOptions();Md(Yx,i.stackParser,i.maxValueLength,r,t,a,o)}}}),Q8=X8,jw=ar(Gw,Q8);var Z8=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Kw="TryCatch",J8=((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Kw,setupOnce(){t.setTimeout&&Rt(Yt,"setTimeout",Ww),t.setInterval&&Rt(Yt,"setInterval",Ww),t.requestAnimationFrame&&Rt(Yt,"requestAnimationFrame",tN),t.XMLHttpRequest&&"XMLHttpRequest"in Yt&&Rt(XMLHttpRequest.prototype,"send",rN);let r=t.eventTarget;r&&(Array.isArray(r)?r:Z8).forEach(aN)}}}),eN=J8,Yw=ar(Kw,eN);function Ww(e){return function(...t){let r=t[0];return t[0]=Os(r,{mechanism:{data:{function:Ka(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function tN(e){return function(t){return e.apply(this,[Os(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Ka(e)},handled:!1,type:"instrument"}})])}}function rN(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in r&&typeof r[o]=="function"&&Rt(r,o,function(n){let i={mechanism:{data:{function:o,handler:Ka(n)},handled:!1,type:"instrument"}},s=ks(n);return s&&(i.mechanism.data.handler=Ka(s)),Os(n,i)})}),e.apply(this,t)}}function aN(e){let t=Yt,r=t[e]&&t[e].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Rt(r,"addEventListener",function(a){return function(o,n,i){try{typeof n.handleEvent=="function"&&(n.handleEvent=Os(n.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ka(n),target:e},handled:!1,type:"instrument"}}))}catch{}return a.apply(this,[o,Os(n,{mechanism:{data:{function:"addEventListener",handler:Ka(n),target:e},handled:!1,type:"instrument"}}),i])}}),Rt(r,"removeEventListener",function(a){return function(o,n,i){let s=n;try{let l=s&&s.__sentry_wrapped__;l&&a.call(this,o,l,i)}catch{}return a.call(this,o,s,i)}}))}var Zx={};e2(Zx,{Breadcrumbs:()=>Aw,Dedupe:()=>Fw,GlobalHandlers:()=>Uw,HttpContext:()=>$w,LinkedErrors:()=>jw,TryCatch:()=>Yw});var Xw={};Yt.Sentry&&Yt.Sentry.Integrations&&(Xw=Yt.Sentry.Integrations);var hX={...Xw,...ww,...Zx};function Qw(e){if(e!=null)return e;throw new Error("Object null")}var IX=2*6e4;var EX=2*1024*1024,Zw=(A=>(A.NotRegistered="not_registered",A.AppNotInstalled="app_not_installed",A.AppNotRunning="app_not_running",A.AppConnectionFailed="app_connection_failed",A.StartupTimeout="startup_timeout",A.WorkspaceUnavailable="workspace_unavailable",A.InvalidWorkspace="invalid_workspace",A.InvalidArguments="invalid_arguments",A.InvalidRequest="invalid_request",A.InvalidPrompt="invalid_prompt",A.InvalidAttachment="invalid_attachment",A.UnknownTool="unknown_tool",A.NotSignedIn="not_signed_in",A.NotAvailable="not_available",A.AccountBlocked="account_blocked",A.NoCredits="no_credits",A.ChatUnavailable="chat_unavailable",A.WorkspaceUnbound="workspace_unbound",A.KombaiRestarting="kombai_restarting",A.KombaiOutdated="kombai_outdated",A.GatewayOutdated="gateway_outdated",A.UnknownDownload="unknown_download",A.UnknownSubscription="unknown_subscription",A.UnknownResource="unknown_resource",A.ProjectUnavailable="project_unavailable",A.QuestionNotPending="question_not_pending",A.ModelUnavailable="model_unavailable",A.NestedChat="nested_chat",A.Unknown="chat_mcp_error",A))(Zw||{}),_X=new Set(Object.values(Zw).filter(e=>e!=="chat_mcp_error"));var Jw=Qw("prod")==="prod"?"":"prod";var OX=`kombai.authToken${Jw}`;var BX=`kombai.userDetails${Jw}`;var MX=900*1e3,FX=2100*1e3;var yg=e=>parseInt(e.split("_")[3],10)||0,oN=e=>e.toLowerCase().endsWith("_affiliate"),xg=e=>{let t=e.split("_")[2];if(t==="month")return"month";if(t==="quarter")return"quarter";if(t==="year")return"year"},Gd=e=>{let t=xg(e);return t==="month"&&oN(e)?"quarter":t};var eT=e=>Gd(e)==="year";var tT=(e,t)=>t==="quarter"?e/3:e;function rT(e){return"isTeamPlan"in e}var $X={fetchState:"pending",subscriptionPlan:"Free",totalCredits:5,refillOn:new Date().toISOString(),remainingCredits:5,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),subscriptionStatus:"Free",billingCycle:new Date().toISOString(),lookupKey:"",endsOn:new Date().toISOString(),paymentDueInfo:{invoiceStatus:"void",invoiceUrl:""},isAStripeCustomer:!1,hasUserCanceledSubscription:!1,referralCode:void 0,referredBy:void 0,referees:void 0,referredByEmail:void 0};var nN=e=>e?.audience==="affiliate"?"affiliate":"standard",Cu=e=>nN(e)==="affiliate";var Sg=(e,t)=>t==="year"?"year":t==="quarter"||Cu(e)?"quarter":"month";var Su=(e,t)=>{let r=e?.prices?.[t];return Array.isArray(r)?r:[]},aT=e=>Cu(e)?["month"]:["month",...Su(e,"quarter").length>0?["quarter"]:[],...Su(e,"year").length>0?["year"]:[]];function oT(e){return!!e&&typeof e.discountedPrice=="number"&&Number.isFinite(e.discountedPrice)&&typeof e.originalPrice=="number"&&Number.isFinite(e.originalPrice)&&typeof e.offerTag=="string"&&e.offerTag.length>0&&typeof e.percentageOff=="number"&&Number.isFinite(e.percentageOff)}function iN(e){return e?.toLowerCase().split("_")[1]==="Free".toLowerCase()}function Cg(e,t){if(sN(t)&&e?.frequency==="month"&&oT(e.offer))return e.offer}function sN(e){return rT(e)?!1:e.subscriptionStatus==="Free"&&e.fetchState==="success"&&iN(e.lookupKey)}function iT(e){return Math.round(e)}var Ah=R(O());function jd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function sT(e){if(Array.isArray(e))return jd(e)}function Lg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lu(e,t){if(e){if(typeof e=="string")return jd(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jd(e,t):void 0}}function lT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
24
24
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G(e){return sT(e)||Lg(e)||Lu(e)||lT()}var _e=R(O());function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},ve.apply(null,arguments)}var Dg=R(O());var lN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},uT=lN;function Ig(e){if(Array.isArray(e))return e}function cT(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,o,n,i,s=[],l=!0,u=!1;try{if(n=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=n.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}function Eg(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
25
25
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P(e,t){return Ig(e)||cT(e,t)||Lu(e,t)||Eg()}function V(e){"@babel/helpers - typeof";return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(e)}function dT(e,t){if(V(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(V(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _g(e){var t=dT(e,"string");return V(t)=="symbol"?t:t+""}function _(e,t,r){return(t=_g(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fT(e,t){if(e==null)return{};var r={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;r[a]=e[a]}return r}function Ye(e,t){if(e==null)return{};var r,a,o=fT(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Fs=R(O()),KT=R(qe());var mr=Math.round;function Jx(e,t){let r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=r.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)a[o]=t(a[o]||0,r[o]||"",o);return r[3]?a[3]=r[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}var pT=(e,t,r)=>r===0?e:e/100;function Wd(e,t){let r=t||255;return e>r?r:e<0?0:e}var $e=class e{constructor(t){_(this,"isValid",!0),_(this,"r",0),_(this,"g",0),_(this,"b",0),_(this,"a",1),_(this,"_h",void 0),_(this,"_s",void 0),_(this,"_l",void 0),_(this,"_v",void 0),_(this,"_max",void 0),_(this,"_min",void 0),_(this,"_brightness",void 0);function r(o){return o[0]in t&&o[1]in t&&o[2]in t}if(t)if(typeof t=="string"){let n=function(i){return o.startsWith(i)};var a=n;let o=t.trim();/^#?[A-F\d]{3,8}$/i.test(o)?this.fromHexString(o):n("rgb")?this.fromRgbString(o):n("hsl")?this.fromHslString(o):(n("hsv")||n("hsb"))&&this.fromHsvString(o)}else if(t instanceof e)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=Wd(t.r),this.g=Wd(t.g),this.b=Wd(t.b),this.a=typeof t.a=="number"?Wd(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){let r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(n){let i=n/255;return i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}let r=t(this.r),a=t(this.g),o=t(this.b);return .2126*r+.7152*a+.0722*o}getHue(){if(typeof this._h>"u"){let t=this.getMax()-this.getMin();t===0?this._h=0:this._h=mr(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){let t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){let r=this.getHue(),a=this.getSaturation(),o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:r,s:a,l:o,a:this.a})}lighten(t=10){let r=this.getHue(),a=this.getSaturation(),o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:r,s:a,l:o,a:this.a})}mix(t,r=50){let a=this._c(t),o=r/100,n=s=>(a[s]-this[s])*o+this[s],i={r:mr(n("r")),g:mr(n("g")),b:mr(n("b")),a:mr(n("a")*100)/100};return this._c(i)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){let r=this._c(t),a=this.a+r.a*(1-this.a),o=n=>mr((this[n]*this.a+r[n]*r.a*(1-this.a))/a);return this._c({r:o("r"),g:o("g"),b:o("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#",r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;let a=(this.g||0).toString(16);t+=a.length===2?a:"0"+a;let o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){let n=mr(this.a*255).toString(16);t+=n.length===2?n:"0"+n}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),r=mr(this.getSaturation()*100),a=mr(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${a}%,${this.a})`:`hsl(${t},${r}%,${a}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,a){let o=this.clone();return o[t]=Wd(r,a),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){let r=t.replace("#","");function a(o,n){return parseInt(r[o]+r[n||o],16)}r.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=r[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=r[6]?a(6,7)/255:1)}fromHsl({h:t,s:r,l:a,a:o}){if(this._h=t%360,this._s=r,this._l=a,this.a=typeof o=="number"?o:1,r<=0){let f=mr(a*255);this.r=f,this.g=f,this.b=f}let n=0,i=0,s=0,l=t/60,u=(1-Math.abs(2*a-1))*r,c=u*(1-Math.abs(l%2-1));l>=0&&l<1?(n=u,i=c):l>=1&&l<2?(n=c,i=u):l>=2&&l<3?(i=u,s=c):l>=3&&l<4?(i=c,s=u):l>=4&&l<5?(n=c,s=u):l>=5&&l<6&&(n=u,s=c);let d=a-u/2;this.r=mr((n+d)*255),this.g=mr((i+d)*255),this.b=mr((s+d)*255)}fromHsv({h:t,s:r,v:a,a:o}){this._h=t%360,this._s=r,this._v=a,this.a=typeof o=="number"?o:1;let n=mr(a*255);if(this.r=n,this.g=n,this.b=n,r<=0)return;let i=t/60,s=Math.floor(i),l=i-s,u=mr(a*(1-r)*255),c=mr(a*(1-r*l)*255),d=mr(a*(1-r*(1-l))*255);switch(s){case 0:this.g=d,this.b=u;break;case 1:this.r=c,this.b=u;break;case 2:this.r=u,this.b=d;break;case 3:this.r=u,this.g=c;break;case 4:this.r=d,this.g=u;break;case 5:default:this.g=u,this.b=c;break}}fromHsvString(t){let r=Jx(t,pT);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){let r=Jx(t,pT);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){let r=Jx(t,(a,o)=>o.includes("%")?mr(a/100*255):a);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}};var wg=2,mT=.16,uN=.05,cN=.05,dN=.15,bT=5,yT=4,fN=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function gT(e,t,r){var a;return Math.round(e.h)>=60&&Math.round(e.h)<=240?a=r?Math.round(e.h)-wg*t:Math.round(e.h)+wg*t:a=r?Math.round(e.h)+wg*t:Math.round(e.h)-wg*t,a<0?a+=360:a>=360&&(a-=360),a}function vT(e,t,r){if(e.h===0&&e.s===0)return e.s;var a;return r?a=e.s-mT*t:t===yT?a=e.s+mT:a=e.s+uN*t,a>1&&(a=1),r&&t===bT&&a>.1&&(a=.1),a<.06&&(a=.06),Math.round(a*100)/100}function hT(e,t,r){var a;return r?a=e.v+cN*t:a=e.v-dN*t,a=Math.max(0,Math.min(1,a)),Math.round(a*100)/100}function bo(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],a=new $e(e),o=a.toHsv(),n=bT;n>0;n-=1){var i=new $e({h:gT(o,n,!0),s:vT(o,n,!0),v:hT(o,n,!0)});r.push(i)}r.push(a);for(var s=1;s<=yT;s+=1){var l=new $e({h:gT(o,s),s:vT(o,s),v:hT(o,s)});r.push(l)}return t.theme==="dark"?fN.map(function(u){var c=u.index,d=u.amount;return new $e(t.backgroundColor||"#141414").mix(r[c],d).toHexString()}):r.map(function(u){return u.toHexString()})}var Tg={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},eS=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];eS.primary=eS[5];var tS=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];tS.primary=tS[5];var rS=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];rS.primary=rS[5];var Kd=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Kd.primary=Kd[5];var aS=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];aS.primary=aS[5];var oS=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];oS.primary=oS[5];var nS=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];nS.primary=nS[5];var iS=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];iS.primary=iS[5];var Yd=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Yd.primary=Yd[5];var sS=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];sS.primary=sS[5];var lS=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];lS.primary=lS[5];var uS=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];uS.primary=uS[5];var cS=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];cS.primary=cS[5];var kg={red:eS,volcano:tS,orange:rS,gold:Kd,yellow:aS,lime:oS,green:nS,cyan:iS,blue:Yd,geekblue:sS,purple:lS,magenta:uS,grey:cS},xT=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];xT.primary=xT[5];var ST=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];ST.primary=ST[5];var CT=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];CT.primary=CT[5];var LT=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];LT.primary=LT[5];var IT=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];IT.primary=IT[5];var ET=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];ET.primary=ET[5];var _T=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];_T.primary=_T[5];var RT=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];RT.primary=RT[5];var wT=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];wT.primary=wT[5];var TT=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];TT.primary=TT[5];var kT=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];kT.primary=kT[5];var AT=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];AT.primary=AT[5];var OT=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];OT.primary=OT[5];var BT=R(O()),pN=(0,BT.createContext)({}),Iu=pN;function MT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,a)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?MT(Object(r),!0).forEach(function(a){_(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MT(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}var jT=R(O());function ct(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function dS(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var FT="data-rc-order",PT="data-rc-priority",mN="rc-util-key",fS=new Map;function DT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):mN}function Ag(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function gN(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function pS(e){return Array.from((fS.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function NT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ct())return null;var r=t.csp,a=t.prepend,o=t.priority,n=o===void 0?0:o,i=gN(a),s=i==="prependQueue",l=document.createElement("style");l.setAttribute(FT,i),s&&n&&l.setAttribute(PT,"".concat(n)),r!=null&&r.nonce&&(l.nonce=r?.nonce),l.innerHTML=e;var u=Ag(t),c=u.firstChild;if(a){if(s){var d=(t.styles||pS(u)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(FT)))return!1;var m=Number(f.getAttribute(PT)||0);return n>=m});if(d.length)return u.insertBefore(l,d[d.length-1].nextSibling),l}u.insertBefore(l,c)}else u.appendChild(l);return l}function HT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ag(t);return(t.styles||pS(r)).find(function(a){return a.getAttribute(DT(t))===e})}function $o(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=HT(e,t);if(r){var a=Ag(t);a.removeChild(r)}}function vN(e,t){var r=fS.get(e);if(!r||!dS(document,r)){var a=NT("",t),o=a.parentNode;fS.set(e,o),e.removeChild(a)}}function Tr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=Ag(r),o=pS(a),n=w(w({},r),{},{styles:o});vN(a,n);var i=HT(t,n);if(i){var s,l;if((s=n.csp)!==null&&s!==void 0&&s.nonce&&i.nonce!==((l=n.csp)===null||l===void 0?void 0:l.nonce)){var u;i.nonce=(u=n.csp)===null||u===void 0?void 0:u.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var c=NT(e,n);return c.setAttribute(DT(n),t),c}function UT(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function hN(e){return UT(e)instanceof ShadowRoot}function Bs(e){return hN(e)?UT(e):null}var mS={},bN=[],yN=function(t){bN.push(t)};function gS(e,t){if(0)var r}function xN(e,t){if(0)var r}function zT(){mS={}}function VT(e,t,r){!t&&!mS[r]&&(e(!1,r),mS[r]=!0)}function Og(e,t){VT(gS,e,t)}function SN(e,t){VT(xN,e,t)}Og.preMessage=yN;Og.resetWarned=zT;Og.noteOnce=SN;var or=Og;var Ms=R(O());function CN(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function $T(e,t){or(e,"[@ant-design/icons] ".concat(t))}function vS(e){return V(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(V(e.icon)==="object"||typeof e.icon=="function")}function qT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var a=e[r];switch(r){case"class":t.className=a,delete t.class;break;default:delete t[r],t[CN(r)]=a}return t},{})}function Bg(e,t,r){return r?Ms.default.createElement(e.tag,w(w({key:t},qT(e.attrs)),r),(e.children||[]).map(function(a,o){return Bg(a,"".concat(t,"-").concat(e.tag,"-").concat(o))})):Ms.default.createElement(e.tag,w({key:t},qT(e.attrs)),(e.children||[]).map(function(a,o){return Bg(a,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function hS(e){return bo(e)[0]}function Mg(e){return e?Array.isArray(e)?e:[e]:[]}var LN=`
26
26
  .anticon {
@@ -79,9 +79,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
79
79
  }
80
80
  `,GT=function(t){var r=(0,Ms.useContext)(Iu),a=r.csp,o=r.prefixCls,n=r.layer,i=LN;o&&(i=i.replace(/anticon/g,o)),n&&(i="@layer ".concat(n,` {
81
81
  `).concat(i,`
82
- }`)),(0,Ms.useEffect)(function(){var s=t.current,l=Bs(s);Tr(i,"@ant-design-icons",{prepend:!n,csp:a,attachTo:l})},[])};var IN=["icon","className","onClick","style","primaryColor","secondaryColor"],Xd={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function EN(e){var t=e.primaryColor,r=e.secondaryColor;Xd.primaryColor=t,Xd.secondaryColor=r||hS(t),Xd.calculated=!!r}function _N(){return w({},Xd)}var Fg=function(t){var r=t.icon,a=t.className,o=t.onClick,n=t.style,i=t.primaryColor,s=t.secondaryColor,l=Ye(t,IN),u=jT.useRef(),c=Xd;if(i&&(c={primaryColor:i,secondaryColor:s||hS(i)}),GT(u),$T(vS(r),"icon should be icon definiton, but got ".concat(r)),!vS(r))return null;var d=r;return d&&typeof d.icon=="function"&&(d=w(w({},d),{},{icon:d.icon(c.primaryColor,c.secondaryColor)})),Bg(d.icon,"svg-".concat(d.name),w(w({className:a,onClick:o,style:n,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:u}))};Fg.displayName="IconReact";Fg.getTwoToneColors=_N;Fg.setTwoToneColors=EN;var Qd=Fg;function bS(e){var t=Mg(e),r=P(t,2),a=r[0],o=r[1];return Qd.setTwoToneColors({primaryColor:a,secondaryColor:o})}function WT(){var e=Qd.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var RN=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];bS(Yd.primary);var Pg=Fs.forwardRef(function(e,t){var r=e.className,a=e.icon,o=e.spin,n=e.rotate,i=e.tabIndex,s=e.onClick,l=e.twoToneColor,u=Ye(e,RN),c=Fs.useContext(Iu),d=c.prefixCls,f=d===void 0?"anticon":d,m=c.rootClassName,h=(0,KT.default)(m,f,_(_({},"".concat(f,"-").concat(a.name),!!a.name),"".concat(f,"-spin"),!!o||a.name==="loading"),r),y=i;y===void 0&&s&&(y=-1);var S=n?{msTransform:"rotate(".concat(n,"deg)"),transform:"rotate(".concat(n,"deg)")}:void 0,g=Mg(l),p=P(g,2),v=p[0],b=p[1];return Fs.createElement("span",ve({role:"img","aria-label":a.name},u,{ref:t,tabIndex:y,onClick:s,className:h}),Fs.createElement(Qd,{icon:a,primaryColor:v,secondaryColor:b,style:S}))});Pg.displayName="AntdIcon";Pg.getTwoToneColor=WT;Pg.setTwoToneColor=bS;var la=Pg;var wN=function(t,r){return Dg.createElement(la,ve({},t,{ref:r,icon:uT}))},TN=Dg.forwardRef(wN),YT=TN;var U5=R(qe());var Jg=R(O());var kN=Symbol.for("react.element"),AN=Symbol.for("react.transitional.element"),ON=Symbol.for("react.fragment");function Zd(e){return e&&V(e)==="object"&&(e.$$typeof===kN||e.$$typeof===AN)&&e.type===ON}var XT=R(O());function Ya(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return XT.default.Children.forEach(e,function(a){a==null&&!t.keepEmpty||(Array.isArray(a)?r=r.concat(Ya(a)):Zd(a)&&a.props?r=r.concat(Ya(a.props.children,t)):r.push(a))}),r}var QT=R(O()),yS=R(fl());function Ps(e){return e instanceof HTMLElement||e instanceof SVGElement}function BN(e){return e&&V(e)==="object"&&Ps(e.nativeElement)?e.nativeElement:Ps(e)?e:null}function Ds(e){var t=BN(e);if(t)return t;if(e instanceof QT.default.Component){var r;return(r=yS.default.findDOMNode)===null||r===void 0?void 0:r.call(yS.default,e)}return null}var Kg=R(O()),Jd=R(tk());var rk=R(O());function Ri(e,t,r){var a=rk.useRef({});return(!("value"in a.current)||r(a.current.condition,t))&&(a.current.value=e(),a.current.condition=t),a.current.value}var PN=Number(Kg.version.split(".")[0]),ef=function(t,r){typeof t=="function"?t(r):V(t)==="object"&&t&&"current"in t&&(t.current=r)},Qa=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var o=r.filter(Boolean);return o.length<=1?o[0]:function(n){r.forEach(function(i){ef(i,n)})}},Ns=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return Ri(function(){return Qa.apply(void 0,r)},r,function(o,n){return o.length!==n.length||o.every(function(i,s){return i!==n[s]})})},yo=function(t){var r,a;if(!t)return!1;if(ak(t)&&PN>=19)return!0;var o=(0,Jd.isMemo)(t)?t.type.type:t.type;return!(typeof o=="function"&&!((r=o.prototype)!==null&&r!==void 0&&r.render)&&o.$$typeof!==Jd.ForwardRef||typeof t=="function"&&!((a=t.prototype)!==null&&a!==void 0&&a.render)&&t.$$typeof!==Jd.ForwardRef)};function ak(e){return(0,Kg.isValidElement)(e)&&!Zd(e)}var wi=function(t){if(t&&ak(t)){var r=t;return r.props.propertyIsEnumerable("ref")?r.props.ref:r.ref}return null};var zt=R(O());var xo=R(O()),Yg=xo.createContext(null);function ok(e){var t=e.children,r=e.onBatchResize,a=xo.useRef(0),o=xo.useRef([]),n=xo.useContext(Yg),i=xo.useCallback(function(s,l,u){a.current+=1;var c=a.current;o.current.push({size:s,element:l,data:u}),Promise.resolve().then(function(){c===a.current&&(r?.(o.current),o.current=[])}),n?.(s,l,u)},[r,n]);return xo.createElement(Yg.Provider,{value:i},t)}var ik=(function(){if(typeof Map<"u")return Map;function e(t,r){var a=-1;return t.some(function(o,n){return o[0]===r?(a=n,!0):!1}),a}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var a=e(this.__entries__,r),o=this.__entries__[a];return o&&o[1]},t.prototype.set=function(r,a){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=a:this.__entries__.push([r,a])},t.prototype.delete=function(r){var a=this.__entries__,o=e(a,r);~o&&a.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,a){a===void 0&&(a=null);for(var o=0,n=this.__entries__;o<n.length;o++){var i=n[o];r.call(a,i[1],i[0])}},t})()})(),CS=typeof window<"u"&&typeof document<"u"&&window.document===document,Xg=(function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),DN=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Xg):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),NN=2;function HN(e,t){var r=!1,a=!1,o=0;function n(){r&&(r=!1,e()),a&&s()}function i(){DN(n)}function s(){var l=Date.now();if(r){if(l-o<NN)return;a=!0}else r=!0,a=!1,setTimeout(i,t);o=l}return s}var UN=20,zN=["top","right","bottom","left","width","height","size","weight"],VN=typeof MutationObserver<"u",qN=(function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=HN(this.refresh.bind(this),UN)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,a=r.indexOf(t);~a&&r.splice(a,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!CS||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),VN?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!CS||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,a=r===void 0?"":r,o=zN.some(function(n){return!!~a.indexOf(n)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),sk=(function(e,t){for(var r=0,a=Object.keys(t);r<a.length;r++){var o=a[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e}),Eu=(function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Xg}),lk=Zg(0,0,0,0);function Qg(e){return parseFloat(e)||0}function nk(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(a,o){var n=e["border-"+o+"-width"];return a+Qg(n)},0)}function $N(e){for(var t=["top","right","bottom","left"],r={},a=0,o=t;a<o.length;a++){var n=o[a],i=e["padding-"+n];r[n]=Qg(i)}return r}function GN(e){var t=e.getBBox();return Zg(0,0,t.width,t.height)}function jN(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return lk;var a=Eu(e).getComputedStyle(e),o=$N(a),n=o.left+o.right,i=o.top+o.bottom,s=Qg(a.width),l=Qg(a.height);if(a.boxSizing==="border-box"&&(Math.round(s+n)!==t&&(s-=nk(a,"left","right")+n),Math.round(l+i)!==r&&(l-=nk(a,"top","bottom")+i)),!KN(e)){var u=Math.round(s+n)-t,c=Math.round(l+i)-r;Math.abs(u)!==1&&(s-=u),Math.abs(c)!==1&&(l-=c)}return Zg(o.left,o.top,s,l)}var WN=(function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Eu(e).SVGGraphicsElement}:function(e){return e instanceof Eu(e).SVGElement&&typeof e.getBBox=="function"}})();function KN(e){return e===Eu(e).document.documentElement}function YN(e){return CS?WN(e)?GN(e):jN(e):lk}function XN(e){var t=e.x,r=e.y,a=e.width,o=e.height,n=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(n.prototype);return sk(i,{x:t,y:r,width:a,height:o,top:r,right:t+a,bottom:o+r,left:t}),i}function Zg(e,t,r,a){return{x:e,y:t,width:r,height:a}}var QN=(function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zg(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=YN(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e})(),ZN=(function(){function e(t,r){var a=XN(r);sk(this,{target:t,contentRect:a})}return e})(),JN=(function(){function e(t,r,a){if(this.activeObservations_=[],this.observations_=new ik,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=a}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Eu(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new QN(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Eu(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(a){return new ZN(a.target,a.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e})(),uk=typeof WeakMap<"u"?new WeakMap:new ik,ck=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=qN.getInstance(),a=new JN(t,r,this);uk.set(this,a)}return e})();["observe","unobserve","disconnect"].forEach(function(e){ck.prototype[e]=function(){var t;return(t=uk.get(this))[e].apply(t,arguments)}});var e9=(function(){return typeof Xg.ResizeObserver<"u"?Xg.ResizeObserver:ck})(),dk=e9;var Ti=new Map;function t9(e){e.forEach(function(t){var r,a=t.target;(r=Ti.get(a))===null||r===void 0||r.forEach(function(o){return o(a)})})}var fk=new dk(t9);function pk(e,t){Ti.has(e)||(Ti.set(e,new Set),fk.observe(e)),Ti.get(e).add(t)}function mk(e,t){Ti.has(e)&&(Ti.get(e).delete(t),Ti.get(e).size||(fk.unobserve(e),Ti.delete(e)))}function Le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gk(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,_g(a.key),a)}}function Ie(e,t,r){return t&&gk(e.prototype,t),r&&gk(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ki(e,t){return ki=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},ki(e,t)}function gr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ki(e,t)}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Hs(e)}function tf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tf=function(){return!!e})()}function le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vk(e,t){if(t&&(V(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return le(e)}function vr(e){var t=tf();return function(){var r,a=Hs(e);if(t){var o=Hs(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return vk(this,r)}}var hk=R(O()),bk=(function(e){gr(r,e);var t=vr(r);function r(){return Le(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){return this.props.children}}]),r})(hk.Component);function r9(e,t){var r=e.children,a=e.disabled,o=zt.useRef(null),n=zt.useRef(null),i=zt.useContext(Yg),s=typeof r=="function",l=s?r(o):r,u=zt.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),c=!s&&zt.isValidElement(l)&&yo(l),d=c?wi(l):null,f=Ns(d,o),m=function(){var g;return Ds(o.current)||(o.current&&V(o.current)==="object"?Ds((g=o.current)===null||g===void 0?void 0:g.nativeElement):null)||Ds(n.current)};zt.useImperativeHandle(t,function(){return m()});var h=zt.useRef(e);h.current=e;var y=zt.useCallback(function(S){var g=h.current,p=g.onResize,v=g.data,b=S.getBoundingClientRect(),C=b.width,L=b.height,x=S.offsetWidth,I=S.offsetHeight,E=Math.floor(C),T=Math.floor(L);if(u.current.width!==E||u.current.height!==T||u.current.offsetWidth!==x||u.current.offsetHeight!==I){var k={width:E,height:T,offsetWidth:x,offsetHeight:I};u.current=k;var M=x===Math.round(C)?C:x,A=I===Math.round(L)?L:I,B=w(w({},k),{},{offsetWidth:M,offsetHeight:A});i?.(B,S,v),p&&Promise.resolve().then(function(){p(B,S)})}},[]);return zt.useEffect(function(){var S=m();return S&&!a&&pk(S,y),function(){return mk(S,y)}},[o.current,a]),zt.createElement(bk,{ref:n},c?zt.cloneElement(l,{ref:f}):l)}var a9=zt.forwardRef(r9),yk=a9;var o9="rc-observer-key";function n9(e,t){var r=e.children,a=typeof r=="function"?[r]:Ya(r);return a.map(function(o,n){var i=o?.key||"".concat(o9,"-").concat(n);return Jg.createElement(yk,ve({},e,{key:i,ref:n===0?t:void 0}),o)})}var xk=Jg.forwardRef(n9);xk.Collection=ok;var Ai=xk;var _u=R(O());var Sk=ct()?_u.useLayoutEffect:_u.useEffect,Ck=function(t,r){var a=_u.useRef(!0);Sk(function(){return t(a.current)},r),Sk(function(){return a.current=!1,function(){a.current=!0}},[])},LS=function(t,r){Ck(function(a){if(!a)return t()},r)},Ge=Ck;var ev=R(O());function vt(e){var t=ev.useRef();t.current=e;var r=ev.useCallback(function(){for(var a,o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return(a=t.current)===null||a===void 0?void 0:a.call.apply(a,[t].concat(n))},[]);return r}var Ru=R(O());function Rn(e){var t=Ru.useRef(!1),r=Ru.useState(e),a=P(r,2),o=a[0],n=a[1];Ru.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(s,l){l&&t.current||n(s)}return[o,i]}function IS(e){return e!==void 0}function Ca(e,t){var r=t||{},a=r.defaultValue,o=r.value,n=r.onChange,i=r.postState,s=Rn(function(){return IS(o)?o:IS(a)?typeof a=="function"?a():a:typeof e=="function"?e():e}),l=P(s,2),u=l[0],c=l[1],d=o!==void 0?o:u,f=i?i(d):d,m=vt(n),h=Rn([d]),y=P(h,2),S=y[0],g=y[1];LS(function(){var v=S[0];u!==v&&m(u,v)},[S]),LS(function(){IS(o)||c(o)},[o]);var p=vt(function(v,b){c(v,b),g([d],b)});return[f,p]}function wn(e,t){var r=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(a){delete r[a]}),r}var Lk=function(t){if(ct()&&window.document.documentElement){var r=Array.isArray(t)?t:[t],a=window.document.documentElement;return r.some(function(o){return o in a.style})}return!1},i9=function(t,r){if(!Lk(t))return!1;var a=document.createElement("div"),o=a.style[t];return a.style[t]=r,a.style[t]!==o};function tv(e,t){return!Array.isArray(e)&&t!==void 0?i9(e,t):Lk(e)}var ht=R(O());function s9(e){for(var t=0,r,a=0,o=e.length;o>=4;++a,o-=4)r=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Oi=s9;var Bk=R(O());function l9(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=new Set;function o(n,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=a.has(n);if(or(!l,"Warning: There may be circular references"),l)return!1;if(n===i)return!0;if(r&&s>1)return!1;a.add(n);var u=s+1;if(Array.isArray(n)){if(!Array.isArray(i)||n.length!==i.length)return!1;for(var c=0;c<n.length;c++)if(!o(n[c],i[c],u))return!1;return!0}if(n&&i&&V(n)==="object"&&V(i)==="object"){var d=Object.keys(n);return d.length!==Object.keys(i).length?!1:d.every(function(f){return o(n[f],i[f],u)})}return!1}return o(e,t)}var wu=l9;var av=R(O());var u9="%";function rv(e){return e.join(u9)}var c9=(function(){function e(t){Le(this,e),_(this,"instanceId",void 0),_(this,"cache",new Map),_(this,"extracted",new Set),this.instanceId=t}return Ie(e,[{key:"get",value:function(r){return this.opGet(rv(r))}},{key:"opGet",value:function(r){return this.cache.get(r)||null}},{key:"update",value:function(r,a){return this.opUpdate(rv(r),a)}},{key:"opUpdate",value:function(r,a){var o=this.cache.get(r),n=a(o);n===null?this.cache.delete(r):this.cache.set(r,n)}}]),e})(),Ik=c9;var Go="data-token-hash",Hr="data-css-hash";var So="__cssinjs_instance__";function Ek(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Hr,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[So]=o[So]||e,o[So]===e&&document.head.insertBefore(o,r)});var a={};Array.from(document.querySelectorAll("style[".concat(Hr,"]"))).forEach(function(o){var n=o.getAttribute(Hr);if(a[n]){if(o[So]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else a[n]=!0})}return new Ik(e)}var d9=av.createContext({hashPriority:"low",cache:Ek(),defaultCache:!0});var Co=d9;var p9="CALC_UNIT",vee=new RegExp(p9,"g");function m9(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var rf=(function(){function e(){Le(this,e),_(this,"cache",void 0),_(this,"keys",void 0),_(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Ie(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var a,o,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return r.forEach(function(s){if(!i)i=void 0;else{var l;i=(l=i)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(a=i)!==null&&a!==void 0&&a.value&&n&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var a;return(a=this.internalGet(r,!0))===null||a===void 0?void 0:a[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,a){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var n=this.keys.reduce(function(u,c){var d=P(u,2),f=d[1];return o.internalGet(c)[1]<f?[c,o.internalGet(c)[1]]:u},[this.keys[0],this.cacheCallTimes]),i=P(n,1),s=i[0];this.delete(s)}this.keys.push(r)}var l=this.cache;r.forEach(function(u,c){if(c===r.length-1)l.set(u,{value:[a,o.cacheCallTimes++]});else{var d=l.get(u);d?d.map||(d.map=new Map):l.set(u,{map:new Map}),l=l.get(u).map}})}},{key:"deleteByPath",value:function(r,a){var o=r.get(a[0]);if(a.length===1){var n;return o.map?r.set(a[0],{map:o.map}):r.delete(a[0]),(n=o.value)===null||n===void 0?void 0:n[0]}var i=this.deleteByPath(o.map,a.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(a[0]),i}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(a){return!m9(a,r)}),this.deleteByPath(this.cache,r)}}]),e})();_(rf,"MAX_CACHE_SIZE",20);_(rf,"MAX_CACHE_OFFSET",5);var _k=0,Tu=(function(){function e(t){Le(this,e),_(this,"derivatives",void 0),_(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=_k,t.length===0&&gS(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),_k+=1}return Ie(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(a,o){return o(r,a)},void 0)}}]),e})();var ES=new rf;function Bi(e){var t=Array.isArray(e)?e:[e];return ES.has(t)||ES.set(t,new Tu(t)),ES.get(t)}var v9=new WeakMap,_S={};function wk(e,t){for(var r=v9,a=0;a<t.length;a+=1){var o=t[a];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(_S)||r.set(_S,e()),r.get(_S)}var Rk=new WeakMap;function ku(e){var t=Rk.get(e)||"";return t||(Object.keys(e).forEach(function(r){var a=e[r];t+=r,a instanceof Tu?t+=a.id:a&&V(a)==="object"?t+=ku(a):t+=a}),t=Oi(t),Rk.set(e,t)),t}function RS(e,t){return Oi("".concat(t,"_").concat(ku(e)))}var ate="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var af=ct();function Ee(e){return typeof e=="number"?"".concat(e,"px"):e}function Mi(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var n=w(w({},a),{},_(_({},Go,t),Hr,r)),i=Object.keys(n).map(function(s){var l=n[s];return l?"".concat(s,'="').concat(l,'"'):null}).filter(function(s){return s}).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Au=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(r?"".concat(r,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},h9=function(t,r,a){return Object.keys(t).length?".".concat(r).concat(a!=null&&a.scope?".".concat(a.scope):"","{").concat(Object.entries(t).map(function(o){var n=P(o,2),i=n[0],s=n[1];return"".concat(i,":").concat(s,";")}).join(""),"}"):""},ov=function(t,r,a){var o={},n={};return Object.entries(t).forEach(function(i){var s,l,u=P(i,2),c=u[0],d=u[1];if(a!=null&&(s=a.preserve)!==null&&s!==void 0&&s[c])n[c]=d;else if((typeof d=="string"||typeof d=="number")&&!(a!=null&&(l=a.ignore)!==null&&l!==void 0&&l[c])){var f,m=Au(c,a?.prefix);o[m]=typeof d=="number"&&!(a!=null&&(f=a.unitless)!==null&&f!==void 0&&f[c])?"".concat(d,"px"):String(d),n[c]="var(".concat(m,")")}}),[n,h9(o,r,{scope:a?.scope})]};var nv=R(O());var wS=R(O()),b9=w({},wS),Tk=b9.useInsertionEffect,y9=function(t,r,a){wS.useMemo(t,a),Ge(function(){return r(!0)},a)},x9=Tk?function(e,t,r){return Tk(function(){return e(),t()},r)}:y9,kk=x9;var TS=R(O()),S9=w({},TS),C9=S9.useInsertionEffect,L9=function(t){var r=[],a=!1;function o(n){a||r.push(n)}return TS.useEffect(function(){return a=!1,function(){a=!0,r.length&&r.forEach(function(n){return n()})}},t),o},I9=function(){return function(t){t()}},E9=typeof C9<"u"?L9:I9,Ak=E9;function _9(){return!1}var Ok=_9;function Us(e,t,r,a,o){var n=nv.useContext(Co),i=n.cache,s=[e].concat(G(t)),l=rv(s),u=Ak([l]),c=Ok(),d=function(y){i.opUpdate(l,function(S){var g=S||[void 0,void 0],p=P(g,2),v=p[0],b=v===void 0?0:v,C=p[1],L=C,x=L||r(),I=[b,x];return y?y(I):I})};nv.useMemo(function(){d()},[l]);var f=i.opGet(l),m=f[1];return kk(function(){o?.(m)},function(h){return d(function(y){var S=P(y,2),g=S[0],p=S[1];return h&&g===0&&o?.(m),[g+1,p]}),function(){i.opUpdate(l,function(y){var S=y||[],g=P(S,2),p=g[0],v=p===void 0?0:p,b=g[1],C=v-1;return C===0?(u(function(){(h||!i.opGet(l))&&a?.(b,!1)}),null):[v-1,b]})}},[l]),m}var R9={},w9="css",zs=new Map;function T9(e){zs.set(e,(zs.get(e)||0)+1)}function k9(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(Go,'="').concat(e,'"]'));r.forEach(function(a){if(a[So]===t){var o;(o=a.parentNode)===null||o===void 0||o.removeChild(a)}})}}var A9=0;function O9(e,t){zs.set(e,(zs.get(e)||0)-1);var r=new Set;zs.forEach(function(a,o){a<=0&&r.add(o)}),zs.size-r.size>A9&&r.forEach(function(a){k9(a,t),zs.delete(a)})}var Mk=function(t,r,a,o){var n=a.getDerivativeToken(t),i=w(w({},n),r);return o&&(i=o(i)),i},kS="token";function iv(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=(0,Bk.useContext)(Co),o=a.cache.instanceId,n=a.container,i=r.salt,s=i===void 0?"":i,l=r.override,u=l===void 0?R9:l,c=r.formatToken,d=r.getComputedToken,f=r.cssVar,m=wk(function(){return Object.assign.apply(Object,[{}].concat(G(t)))},t),h=ku(m),y=ku(u),S=f?ku(f):"",g=Us(kS,[s,e.id,h,y,S],function(){var p,v=d?d(m,u,e):Mk(m,u,e,c),b=w({},v),C="";if(f){var L=ov(v,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),x=P(L,2);v=x[0],C=x[1]}var I=RS(v,s);v._tokenKey=I,b._tokenKey=RS(b,s);var E=(p=f?.key)!==null&&p!==void 0?p:I;v._themeKey=E,T9(E);var T="".concat(w9,"-").concat(Oi(I));return v._hashId=T,[v,T,b,C,f?.key||""]},function(p){O9(p[0]._themeKey,o)},function(p){var v=P(p,4),b=v[0],C=v[3];if(f&&C){var L=Tr(C,Oi("css-variables-".concat(b._themeKey)),{mark:Hr,prepend:"queue",attachTo:n,priority:-999});L[So]=o,L.setAttribute(Go,b._themeKey)}});return g}var Fk=function(t,r,a){var o=P(t,5),n=o[2],i=o[3],s=o[4],l=a||{},u=l.plain;if(!i)return null;var c=n._tokenKey,d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},m=Mi(i,s,c,f,u);return[d,c,m]};var Vk=R(O());var Fi=R(O());var B9={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},AS=B9;var OS="data-ant-cssinjs-cache-path",BS="_FILE_STYLE__";var Vs,Pk=!0;function N9(){if(!Vs&&(Vs={},ct())){var e=document.createElement("div");e.className=OS,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var n=o.split(":"),i=P(n,2),s=i[0],l=i[1];Vs[s]=l});var r=document.querySelector("style[".concat(OS,"]"));if(r){var a;Pk=!1,(a=r.parentNode)===null||a===void 0||a.removeChild(r)}document.body.removeChild(e)}}function Dk(e){return N9(),!!Vs[e]}function Nk(e){var t=Vs[e],r=null;if(t&&ct())if(Pk)r=BS;else{var a=document.querySelector("style[".concat(Hr,'="').concat(Vs[e],'"]'));a?r=a.innerHTML:delete Vs[e]}return[r,t]}var H9="_skip_check_",Uk="_multi_value_";function sv(e){var t=Si(qm(e),$m);return t.replace(/\{%%%\:[^;];}/g,";")}function U9(e){return V(e)==="object"&&e&&(H9 in e||Uk in e)}function Hk(e,t,r){if(!t)return e;var a=".".concat(t),o=r==="low"?":where(".concat(a,")"):a,n=e.split(",").map(function(i){var s,l=i.trim().split(/\s+/),u=l[0]||"",c=((s=u.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return u="".concat(c).concat(o).concat(u.slice(c.length)),[u].concat(G(l.slice(1))).join(" ")});return n.join(",")}var z9=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=a.root,n=a.injectHash,i=a.parentSelectors,s=r.hashId,l=r.layer,u=r.path,c=r.hashPriority,d=r.transformers,f=d===void 0?[]:d,m=r.linters,h=m===void 0?[]:m,y="",S={};function g(b){var C=b.getName(s);if(!S[C]){var L=e(b.style,r,{root:!1,parentSelectors:i}),x=P(L,1),I=x[0];S[C]="@keyframes ".concat(b.getName(s)).concat(I)}}function p(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return b.forEach(function(L){Array.isArray(L)?p(L,C):L&&C.push(L)}),C}var v=p(Array.isArray(t)?t:[t]);return v.forEach(function(b){var C=typeof b=="string"&&!o?{}:b;if(typeof C=="string")y+="".concat(C,`
82
+ }`)),(0,Ms.useEffect)(function(){var s=t.current,l=Bs(s);Tr(i,"@ant-design-icons",{prepend:!n,csp:a,attachTo:l})},[])};var IN=["icon","className","onClick","style","primaryColor","secondaryColor"],Xd={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function EN(e){var t=e.primaryColor,r=e.secondaryColor;Xd.primaryColor=t,Xd.secondaryColor=r||hS(t),Xd.calculated=!!r}function _N(){return w({},Xd)}var Fg=function(t){var r=t.icon,a=t.className,o=t.onClick,n=t.style,i=t.primaryColor,s=t.secondaryColor,l=Ye(t,IN),u=jT.useRef(),c=Xd;if(i&&(c={primaryColor:i,secondaryColor:s||hS(i)}),GT(u),$T(vS(r),"icon should be icon definiton, but got ".concat(r)),!vS(r))return null;var d=r;return d&&typeof d.icon=="function"&&(d=w(w({},d),{},{icon:d.icon(c.primaryColor,c.secondaryColor)})),Bg(d.icon,"svg-".concat(d.name),w(w({className:a,onClick:o,style:n,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:u}))};Fg.displayName="IconReact";Fg.getTwoToneColors=_N;Fg.setTwoToneColors=EN;var Qd=Fg;function bS(e){var t=Mg(e),r=P(t,2),a=r[0],o=r[1];return Qd.setTwoToneColors({primaryColor:a,secondaryColor:o})}function WT(){var e=Qd.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var RN=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];bS(Yd.primary);var Pg=Fs.forwardRef(function(e,t){var r=e.className,a=e.icon,o=e.spin,n=e.rotate,i=e.tabIndex,s=e.onClick,l=e.twoToneColor,u=Ye(e,RN),c=Fs.useContext(Iu),d=c.prefixCls,f=d===void 0?"anticon":d,m=c.rootClassName,h=(0,KT.default)(m,f,_(_({},"".concat(f,"-").concat(a.name),!!a.name),"".concat(f,"-spin"),!!o||a.name==="loading"),r),y=i;y===void 0&&s&&(y=-1);var S=n?{msTransform:"rotate(".concat(n,"deg)"),transform:"rotate(".concat(n,"deg)")}:void 0,g=Mg(l),p=P(g,2),v=p[0],b=p[1];return Fs.createElement("span",ve({role:"img","aria-label":a.name},u,{ref:t,tabIndex:y,onClick:s,className:h}),Fs.createElement(Qd,{icon:a,primaryColor:v,secondaryColor:b,style:S}))});Pg.displayName="AntdIcon";Pg.getTwoToneColor=WT;Pg.setTwoToneColor=bS;var la=Pg;var wN=function(t,r){return Dg.createElement(la,ve({},t,{ref:r,icon:uT}))},TN=Dg.forwardRef(wN),YT=TN;var U5=R(qe());var Jg=R(O());var kN=Symbol.for("react.element"),AN=Symbol.for("react.transitional.element"),ON=Symbol.for("react.fragment");function Zd(e){return e&&V(e)==="object"&&(e.$$typeof===kN||e.$$typeof===AN)&&e.type===ON}var XT=R(O());function Ya(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return XT.default.Children.forEach(e,function(a){a==null&&!t.keepEmpty||(Array.isArray(a)?r=r.concat(Ya(a)):Zd(a)&&a.props?r=r.concat(Ya(a.props.children,t)):r.push(a))}),r}var QT=R(O()),yS=R(fl());function Ps(e){return e instanceof HTMLElement||e instanceof SVGElement}function BN(e){return e&&V(e)==="object"&&Ps(e.nativeElement)?e.nativeElement:Ps(e)?e:null}function Ds(e){var t=BN(e);if(t)return t;if(e instanceof QT.default.Component){var r;return(r=yS.default.findDOMNode)===null||r===void 0?void 0:r.call(yS.default,e)}return null}var Kg=R(O()),Jd=R(tk());var rk=R(O());function Ri(e,t,r){var a=rk.useRef({});return(!("value"in a.current)||r(a.current.condition,t))&&(a.current.value=e(),a.current.condition=t),a.current.value}var PN=Number(Kg.version.split(".")[0]),ef=function(t,r){typeof t=="function"?t(r):V(t)==="object"&&t&&"current"in t&&(t.current=r)},Qa=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var o=r.filter(Boolean);return o.length<=1?o[0]:function(n){r.forEach(function(i){ef(i,n)})}},Ns=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return Ri(function(){return Qa.apply(void 0,r)},r,function(o,n){return o.length!==n.length||o.every(function(i,s){return i!==n[s]})})},yo=function(t){var r,a;if(!t)return!1;if(ak(t)&&PN>=19)return!0;var o=(0,Jd.isMemo)(t)?t.type.type:t.type;return!(typeof o=="function"&&!((r=o.prototype)!==null&&r!==void 0&&r.render)&&o.$$typeof!==Jd.ForwardRef||typeof t=="function"&&!((a=t.prototype)!==null&&a!==void 0&&a.render)&&t.$$typeof!==Jd.ForwardRef)};function ak(e){return(0,Kg.isValidElement)(e)&&!Zd(e)}var wi=function(t){if(t&&ak(t)){var r=t;return r.props.propertyIsEnumerable("ref")?r.props.ref:r.ref}return null};var zt=R(O());var xo=R(O()),Yg=xo.createContext(null);function ok(e){var t=e.children,r=e.onBatchResize,a=xo.useRef(0),o=xo.useRef([]),n=xo.useContext(Yg),i=xo.useCallback(function(s,l,u){a.current+=1;var c=a.current;o.current.push({size:s,element:l,data:u}),Promise.resolve().then(function(){c===a.current&&(r?.(o.current),o.current=[])}),n?.(s,l,u)},[r,n]);return xo.createElement(Yg.Provider,{value:i},t)}var ik=(function(){if(typeof Map<"u")return Map;function e(t,r){var a=-1;return t.some(function(o,n){return o[0]===r?(a=n,!0):!1}),a}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var a=e(this.__entries__,r),o=this.__entries__[a];return o&&o[1]},t.prototype.set=function(r,a){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=a:this.__entries__.push([r,a])},t.prototype.delete=function(r){var a=this.__entries__,o=e(a,r);~o&&a.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,a){a===void 0&&(a=null);for(var o=0,n=this.__entries__;o<n.length;o++){var i=n[o];r.call(a,i[1],i[0])}},t})()})(),CS=typeof window<"u"&&typeof document<"u"&&window.document===document,Xg=(function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),DN=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Xg):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),NN=2;function HN(e,t){var r=!1,a=!1,o=0;function n(){r&&(r=!1,e()),a&&s()}function i(){DN(n)}function s(){var l=Date.now();if(r){if(l-o<NN)return;a=!0}else r=!0,a=!1,setTimeout(i,t);o=l}return s}var UN=20,zN=["top","right","bottom","left","width","height","size","weight"],VN=typeof MutationObserver<"u",qN=(function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=HN(this.refresh.bind(this),UN)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,a=r.indexOf(t);~a&&r.splice(a,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!CS||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),VN?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!CS||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,a=r===void 0?"":r,o=zN.some(function(n){return!!~a.indexOf(n)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),sk=(function(e,t){for(var r=0,a=Object.keys(t);r<a.length;r++){var o=a[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e}),Eu=(function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Xg}),lk=Zg(0,0,0,0);function Qg(e){return parseFloat(e)||0}function nk(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(a,o){var n=e["border-"+o+"-width"];return a+Qg(n)},0)}function $N(e){for(var t=["top","right","bottom","left"],r={},a=0,o=t;a<o.length;a++){var n=o[a],i=e["padding-"+n];r[n]=Qg(i)}return r}function GN(e){var t=e.getBBox();return Zg(0,0,t.width,t.height)}function jN(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return lk;var a=Eu(e).getComputedStyle(e),o=$N(a),n=o.left+o.right,i=o.top+o.bottom,s=Qg(a.width),l=Qg(a.height);if(a.boxSizing==="border-box"&&(Math.round(s+n)!==t&&(s-=nk(a,"left","right")+n),Math.round(l+i)!==r&&(l-=nk(a,"top","bottom")+i)),!KN(e)){var u=Math.round(s+n)-t,c=Math.round(l+i)-r;Math.abs(u)!==1&&(s-=u),Math.abs(c)!==1&&(l-=c)}return Zg(o.left,o.top,s,l)}var WN=(function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Eu(e).SVGGraphicsElement}:function(e){return e instanceof Eu(e).SVGElement&&typeof e.getBBox=="function"}})();function KN(e){return e===Eu(e).document.documentElement}function YN(e){return CS?WN(e)?GN(e):jN(e):lk}function XN(e){var t=e.x,r=e.y,a=e.width,o=e.height,n=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(n.prototype);return sk(i,{x:t,y:r,width:a,height:o,top:r,right:t+a,bottom:o+r,left:t}),i}function Zg(e,t,r,a){return{x:e,y:t,width:r,height:a}}var QN=(function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zg(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=YN(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e})(),ZN=(function(){function e(t,r){var a=XN(r);sk(this,{target:t,contentRect:a})}return e})(),JN=(function(){function e(t,r,a){if(this.activeObservations_=[],this.observations_=new ik,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=a}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Eu(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new QN(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Eu(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(a){return new ZN(a.target,a.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e})(),uk=typeof WeakMap<"u"?new WeakMap:new ik,ck=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=qN.getInstance(),a=new JN(t,r,this);uk.set(this,a)}return e})();["observe","unobserve","disconnect"].forEach(function(e){ck.prototype[e]=function(){var t;return(t=uk.get(this))[e].apply(t,arguments)}});var e9=(function(){return typeof Xg.ResizeObserver<"u"?Xg.ResizeObserver:ck})(),dk=e9;var Ti=new Map;function t9(e){e.forEach(function(t){var r,a=t.target;(r=Ti.get(a))===null||r===void 0||r.forEach(function(o){return o(a)})})}var fk=new dk(t9);function pk(e,t){Ti.has(e)||(Ti.set(e,new Set),fk.observe(e)),Ti.get(e).add(t)}function mk(e,t){Ti.has(e)&&(Ti.get(e).delete(t),Ti.get(e).size||(fk.unobserve(e),Ti.delete(e)))}function Le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gk(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,_g(a.key),a)}}function Ie(e,t,r){return t&&gk(e.prototype,t),r&&gk(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ki(e,t){return ki=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},ki(e,t)}function gr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ki(e,t)}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Hs(e)}function tf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tf=function(){return!!e})()}function le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vk(e,t){if(t&&(V(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return le(e)}function vr(e){var t=tf();return function(){var r,a=Hs(e);if(t){var o=Hs(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return vk(this,r)}}var hk=R(O()),bk=(function(e){gr(r,e);var t=vr(r);function r(){return Le(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){return this.props.children}}]),r})(hk.Component);function r9(e,t){var r=e.children,a=e.disabled,o=zt.useRef(null),n=zt.useRef(null),i=zt.useContext(Yg),s=typeof r=="function",l=s?r(o):r,u=zt.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),c=!s&&zt.isValidElement(l)&&yo(l),d=c?wi(l):null,f=Ns(d,o),m=function(){var g;return Ds(o.current)||(o.current&&V(o.current)==="object"?Ds((g=o.current)===null||g===void 0?void 0:g.nativeElement):null)||Ds(n.current)};zt.useImperativeHandle(t,function(){return m()});var h=zt.useRef(e);h.current=e;var y=zt.useCallback(function(S){var g=h.current,p=g.onResize,v=g.data,b=S.getBoundingClientRect(),C=b.width,L=b.height,x=S.offsetWidth,I=S.offsetHeight,E=Math.floor(C),T=Math.floor(L);if(u.current.width!==E||u.current.height!==T||u.current.offsetWidth!==x||u.current.offsetHeight!==I){var k={width:E,height:T,offsetWidth:x,offsetHeight:I};u.current=k;var M=x===Math.round(C)?C:x,A=I===Math.round(L)?L:I,B=w(w({},k),{},{offsetWidth:M,offsetHeight:A});i?.(B,S,v),p&&Promise.resolve().then(function(){p(B,S)})}},[]);return zt.useEffect(function(){var S=m();return S&&!a&&pk(S,y),function(){return mk(S,y)}},[o.current,a]),zt.createElement(bk,{ref:n},c?zt.cloneElement(l,{ref:f}):l)}var a9=zt.forwardRef(r9),yk=a9;var o9="rc-observer-key";function n9(e,t){var r=e.children,a=typeof r=="function"?[r]:Ya(r);return a.map(function(o,n){var i=o?.key||"".concat(o9,"-").concat(n);return Jg.createElement(yk,ve({},e,{key:i,ref:n===0?t:void 0}),o)})}var xk=Jg.forwardRef(n9);xk.Collection=ok;var Ai=xk;var _u=R(O());var Sk=ct()?_u.useLayoutEffect:_u.useEffect,Ck=function(t,r){var a=_u.useRef(!0);Sk(function(){return t(a.current)},r),Sk(function(){return a.current=!1,function(){a.current=!0}},[])},LS=function(t,r){Ck(function(a){if(!a)return t()},r)},Ge=Ck;var ev=R(O());function vt(e){var t=ev.useRef();t.current=e;var r=ev.useCallback(function(){for(var a,o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return(a=t.current)===null||a===void 0?void 0:a.call.apply(a,[t].concat(n))},[]);return r}var Ru=R(O());function Rn(e){var t=Ru.useRef(!1),r=Ru.useState(e),a=P(r,2),o=a[0],n=a[1];Ru.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(s,l){l&&t.current||n(s)}return[o,i]}function IS(e){return e!==void 0}function Ca(e,t){var r=t||{},a=r.defaultValue,o=r.value,n=r.onChange,i=r.postState,s=Rn(function(){return IS(o)?o:IS(a)?typeof a=="function"?a():a:typeof e=="function"?e():e}),l=P(s,2),u=l[0],c=l[1],d=o!==void 0?o:u,f=i?i(d):d,m=vt(n),h=Rn([d]),y=P(h,2),S=y[0],g=y[1];LS(function(){var v=S[0];u!==v&&m(u,v)},[S]),LS(function(){IS(o)||c(o)},[o]);var p=vt(function(v,b){c(v,b),g([d],b)});return[f,p]}function wn(e,t){var r=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(a){delete r[a]}),r}var Lk=function(t){if(ct()&&window.document.documentElement){var r=Array.isArray(t)?t:[t],a=window.document.documentElement;return r.some(function(o){return o in a.style})}return!1},i9=function(t,r){if(!Lk(t))return!1;var a=document.createElement("div"),o=a.style[t];return a.style[t]=r,a.style[t]!==o};function tv(e,t){return!Array.isArray(e)&&t!==void 0?i9(e,t):Lk(e)}var ht=R(O());function s9(e){for(var t=0,r,a=0,o=e.length;o>=4;++a,o-=4)r=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Oi=s9;var Bk=R(O());function l9(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=new Set;function o(n,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=a.has(n);if(or(!l,"Warning: There may be circular references"),l)return!1;if(n===i)return!0;if(r&&s>1)return!1;a.add(n);var u=s+1;if(Array.isArray(n)){if(!Array.isArray(i)||n.length!==i.length)return!1;for(var c=0;c<n.length;c++)if(!o(n[c],i[c],u))return!1;return!0}if(n&&i&&V(n)==="object"&&V(i)==="object"){var d=Object.keys(n);return d.length!==Object.keys(i).length?!1:d.every(function(f){return o(n[f],i[f],u)})}return!1}return o(e,t)}var wu=l9;var av=R(O());var u9="%";function rv(e){return e.join(u9)}var c9=(function(){function e(t){Le(this,e),_(this,"instanceId",void 0),_(this,"cache",new Map),_(this,"extracted",new Set),this.instanceId=t}return Ie(e,[{key:"get",value:function(r){return this.opGet(rv(r))}},{key:"opGet",value:function(r){return this.cache.get(r)||null}},{key:"update",value:function(r,a){return this.opUpdate(rv(r),a)}},{key:"opUpdate",value:function(r,a){var o=this.cache.get(r),n=a(o);n===null?this.cache.delete(r):this.cache.set(r,n)}}]),e})(),Ik=c9;var Go="data-token-hash",Hr="data-css-hash";var So="__cssinjs_instance__";function Ek(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Hr,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[So]=o[So]||e,o[So]===e&&document.head.insertBefore(o,r)});var a={};Array.from(document.querySelectorAll("style[".concat(Hr,"]"))).forEach(function(o){var n=o.getAttribute(Hr);if(a[n]){if(o[So]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else a[n]=!0})}return new Ik(e)}var d9=av.createContext({hashPriority:"low",cache:Ek(),defaultCache:!0});var Co=d9;var p9="CALC_UNIT",hee=new RegExp(p9,"g");function m9(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var rf=(function(){function e(){Le(this,e),_(this,"cache",void 0),_(this,"keys",void 0),_(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Ie(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var a,o,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return r.forEach(function(s){if(!i)i=void 0;else{var l;i=(l=i)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(a=i)!==null&&a!==void 0&&a.value&&n&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var a;return(a=this.internalGet(r,!0))===null||a===void 0?void 0:a[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,a){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var n=this.keys.reduce(function(u,c){var d=P(u,2),f=d[1];return o.internalGet(c)[1]<f?[c,o.internalGet(c)[1]]:u},[this.keys[0],this.cacheCallTimes]),i=P(n,1),s=i[0];this.delete(s)}this.keys.push(r)}var l=this.cache;r.forEach(function(u,c){if(c===r.length-1)l.set(u,{value:[a,o.cacheCallTimes++]});else{var d=l.get(u);d?d.map||(d.map=new Map):l.set(u,{map:new Map}),l=l.get(u).map}})}},{key:"deleteByPath",value:function(r,a){var o=r.get(a[0]);if(a.length===1){var n;return o.map?r.set(a[0],{map:o.map}):r.delete(a[0]),(n=o.value)===null||n===void 0?void 0:n[0]}var i=this.deleteByPath(o.map,a.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(a[0]),i}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(a){return!m9(a,r)}),this.deleteByPath(this.cache,r)}}]),e})();_(rf,"MAX_CACHE_SIZE",20);_(rf,"MAX_CACHE_OFFSET",5);var _k=0,Tu=(function(){function e(t){Le(this,e),_(this,"derivatives",void 0),_(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=_k,t.length===0&&gS(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),_k+=1}return Ie(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(a,o){return o(r,a)},void 0)}}]),e})();var ES=new rf;function Bi(e){var t=Array.isArray(e)?e:[e];return ES.has(t)||ES.set(t,new Tu(t)),ES.get(t)}var v9=new WeakMap,_S={};function wk(e,t){for(var r=v9,a=0;a<t.length;a+=1){var o=t[a];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(_S)||r.set(_S,e()),r.get(_S)}var Rk=new WeakMap;function ku(e){var t=Rk.get(e)||"";return t||(Object.keys(e).forEach(function(r){var a=e[r];t+=r,a instanceof Tu?t+=a.id:a&&V(a)==="object"?t+=ku(a):t+=a}),t=Oi(t),Rk.set(e,t)),t}function RS(e,t){return Oi("".concat(t,"_").concat(ku(e)))}var ote="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var af=ct();function Ee(e){return typeof e=="number"?"".concat(e,"px"):e}function Mi(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var n=w(w({},a),{},_(_({},Go,t),Hr,r)),i=Object.keys(n).map(function(s){var l=n[s];return l?"".concat(s,'="').concat(l,'"'):null}).filter(function(s){return s}).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Au=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(r?"".concat(r,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},h9=function(t,r,a){return Object.keys(t).length?".".concat(r).concat(a!=null&&a.scope?".".concat(a.scope):"","{").concat(Object.entries(t).map(function(o){var n=P(o,2),i=n[0],s=n[1];return"".concat(i,":").concat(s,";")}).join(""),"}"):""},ov=function(t,r,a){var o={},n={};return Object.entries(t).forEach(function(i){var s,l,u=P(i,2),c=u[0],d=u[1];if(a!=null&&(s=a.preserve)!==null&&s!==void 0&&s[c])n[c]=d;else if((typeof d=="string"||typeof d=="number")&&!(a!=null&&(l=a.ignore)!==null&&l!==void 0&&l[c])){var f,m=Au(c,a?.prefix);o[m]=typeof d=="number"&&!(a!=null&&(f=a.unitless)!==null&&f!==void 0&&f[c])?"".concat(d,"px"):String(d),n[c]="var(".concat(m,")")}}),[n,h9(o,r,{scope:a?.scope})]};var nv=R(O());var wS=R(O()),b9=w({},wS),Tk=b9.useInsertionEffect,y9=function(t,r,a){wS.useMemo(t,a),Ge(function(){return r(!0)},a)},x9=Tk?function(e,t,r){return Tk(function(){return e(),t()},r)}:y9,kk=x9;var TS=R(O()),S9=w({},TS),C9=S9.useInsertionEffect,L9=function(t){var r=[],a=!1;function o(n){a||r.push(n)}return TS.useEffect(function(){return a=!1,function(){a=!0,r.length&&r.forEach(function(n){return n()})}},t),o},I9=function(){return function(t){t()}},E9=typeof C9<"u"?L9:I9,Ak=E9;function _9(){return!1}var Ok=_9;function Us(e,t,r,a,o){var n=nv.useContext(Co),i=n.cache,s=[e].concat(G(t)),l=rv(s),u=Ak([l]),c=Ok(),d=function(y){i.opUpdate(l,function(S){var g=S||[void 0,void 0],p=P(g,2),v=p[0],b=v===void 0?0:v,C=p[1],L=C,x=L||r(),I=[b,x];return y?y(I):I})};nv.useMemo(function(){d()},[l]);var f=i.opGet(l),m=f[1];return kk(function(){o?.(m)},function(h){return d(function(y){var S=P(y,2),g=S[0],p=S[1];return h&&g===0&&o?.(m),[g+1,p]}),function(){i.opUpdate(l,function(y){var S=y||[],g=P(S,2),p=g[0],v=p===void 0?0:p,b=g[1],C=v-1;return C===0?(u(function(){(h||!i.opGet(l))&&a?.(b,!1)}),null):[v-1,b]})}},[l]),m}var R9={},w9="css",zs=new Map;function T9(e){zs.set(e,(zs.get(e)||0)+1)}function k9(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(Go,'="').concat(e,'"]'));r.forEach(function(a){if(a[So]===t){var o;(o=a.parentNode)===null||o===void 0||o.removeChild(a)}})}}var A9=0;function O9(e,t){zs.set(e,(zs.get(e)||0)-1);var r=new Set;zs.forEach(function(a,o){a<=0&&r.add(o)}),zs.size-r.size>A9&&r.forEach(function(a){k9(a,t),zs.delete(a)})}var Mk=function(t,r,a,o){var n=a.getDerivativeToken(t),i=w(w({},n),r);return o&&(i=o(i)),i},kS="token";function iv(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=(0,Bk.useContext)(Co),o=a.cache.instanceId,n=a.container,i=r.salt,s=i===void 0?"":i,l=r.override,u=l===void 0?R9:l,c=r.formatToken,d=r.getComputedToken,f=r.cssVar,m=wk(function(){return Object.assign.apply(Object,[{}].concat(G(t)))},t),h=ku(m),y=ku(u),S=f?ku(f):"",g=Us(kS,[s,e.id,h,y,S],function(){var p,v=d?d(m,u,e):Mk(m,u,e,c),b=w({},v),C="";if(f){var L=ov(v,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),x=P(L,2);v=x[0],C=x[1]}var I=RS(v,s);v._tokenKey=I,b._tokenKey=RS(b,s);var E=(p=f?.key)!==null&&p!==void 0?p:I;v._themeKey=E,T9(E);var T="".concat(w9,"-").concat(Oi(I));return v._hashId=T,[v,T,b,C,f?.key||""]},function(p){O9(p[0]._themeKey,o)},function(p){var v=P(p,4),b=v[0],C=v[3];if(f&&C){var L=Tr(C,Oi("css-variables-".concat(b._themeKey)),{mark:Hr,prepend:"queue",attachTo:n,priority:-999});L[So]=o,L.setAttribute(Go,b._themeKey)}});return g}var Fk=function(t,r,a){var o=P(t,5),n=o[2],i=o[3],s=o[4],l=a||{},u=l.plain;if(!i)return null;var c=n._tokenKey,d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},m=Mi(i,s,c,f,u);return[d,c,m]};var Vk=R(O());var Fi=R(O());var B9={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},AS=B9;var OS="data-ant-cssinjs-cache-path",BS="_FILE_STYLE__";var Vs,Pk=!0;function N9(){if(!Vs&&(Vs={},ct())){var e=document.createElement("div");e.className=OS,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var n=o.split(":"),i=P(n,2),s=i[0],l=i[1];Vs[s]=l});var r=document.querySelector("style[".concat(OS,"]"));if(r){var a;Pk=!1,(a=r.parentNode)===null||a===void 0||a.removeChild(r)}document.body.removeChild(e)}}function Dk(e){return N9(),!!Vs[e]}function Nk(e){var t=Vs[e],r=null;if(t&&ct())if(Pk)r=BS;else{var a=document.querySelector("style[".concat(Hr,'="').concat(Vs[e],'"]'));a?r=a.innerHTML:delete Vs[e]}return[r,t]}var H9="_skip_check_",Uk="_multi_value_";function sv(e){var t=Si(qm(e),$m);return t.replace(/\{%%%\:[^;];}/g,";")}function U9(e){return V(e)==="object"&&e&&(H9 in e||Uk in e)}function Hk(e,t,r){if(!t)return e;var a=".".concat(t),o=r==="low"?":where(".concat(a,")"):a,n=e.split(",").map(function(i){var s,l=i.trim().split(/\s+/),u=l[0]||"",c=((s=u.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return u="".concat(c).concat(o).concat(u.slice(c.length)),[u].concat(G(l.slice(1))).join(" ")});return n.join(",")}var z9=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=a.root,n=a.injectHash,i=a.parentSelectors,s=r.hashId,l=r.layer,u=r.path,c=r.hashPriority,d=r.transformers,f=d===void 0?[]:d,m=r.linters,h=m===void 0?[]:m,y="",S={};function g(b){var C=b.getName(s);if(!S[C]){var L=e(b.style,r,{root:!1,parentSelectors:i}),x=P(L,1),I=x[0];S[C]="@keyframes ".concat(b.getName(s)).concat(I)}}function p(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return b.forEach(function(L){Array.isArray(L)?p(L,C):L&&C.push(L)}),C}var v=p(Array.isArray(t)?t:[t]);return v.forEach(function(b){var C=typeof b=="string"&&!o?{}:b;if(typeof C=="string")y+="".concat(C,`
83
83
  `);else if(C._keyframe)g(C);else{var L=f.reduce(function(x,I){var E;return(I==null||(E=I.visit)===null||E===void 0?void 0:E.call(I,x))||x},C);Object.keys(L).forEach(function(x){var I=L[x];if(V(I)==="object"&&I&&(x!=="animationName"||!I._keyframe)&&!U9(I)){var E=!1,T=x.trim(),k=!1;(o||n)&&s?T.startsWith("@")?E=!0:T==="&"?T=Hk("",s,c):T=Hk(x,s,c):o&&!s&&(T==="&"||T==="")&&(T="",k=!0);var M=e(I,r,{root:k,injectHash:E,parentSelectors:[].concat(G(i),[T])}),A=P(M,2),B=A[0],H=A[1];S=w(w({},S),H),y+="".concat(T).concat(B)}else{let j=function(W,K){var z=W.replace(/[A-Z]/g,function($){return"-".concat($.toLowerCase())}),X=K;!AS[W]&&typeof X=="number"&&X!==0&&(X="".concat(X,"px")),W==="animationName"&&K!==null&&K!==void 0&&K._keyframe&&(g(K),X=K.getName(s)),y+="".concat(z,":").concat(X,";")};var F=j,N,U=(N=I?.value)!==null&&N!==void 0?N:I;V(I)==="object"&&I!==null&&I!==void 0&&I[Uk]&&Array.isArray(U)?U.forEach(function(W){j(x,W)}):j(x,U)}})}}),o?l&&(y&&(y="@layer ".concat(l.name," {").concat(y,"}")),l.dependencies&&(S["@layer ".concat(l.name)]=l.dependencies.map(function(b){return"@layer ".concat(b,", ").concat(l.name,";")}).join(`
84
- `))):y="{".concat(y,"}"),[y,S]};function MS(e,t){return Oi("".concat(e.join("%")).concat(t))}function V9(){return null}var FS="style";function Pi(e,t){var r=e.token,a=e.path,o=e.hashId,n=e.layer,i=e.nonce,s=e.clientOnly,l=e.order,u=l===void 0?0:l,c=Fi.useContext(Co),d=c.autoClear,f=c.mock,m=c.defaultCache,h=c.hashPriority,y=c.container,S=c.ssrInline,g=c.transformers,p=c.linters,v=c.cache,b=c.layer,C=r._tokenKey,L=[C];b&&L.push("layer"),L.push.apply(L,G(a));var x=af,I=Us(FS,L,function(){var A=L.join("|");if(Dk(A)){var B=Nk(A),H=P(B,2),N=H[0],U=H[1];if(N)return[N,C,U,{},s,u]}var F=t(),j=z9(F,{hashId:o,hashPriority:h,layer:b?n:void 0,path:a.join("-"),transformers:g,linters:p}),W=P(j,2),K=W[0],z=W[1],X=sv(K),$=MS(L,X);return[X,C,$,z,s,u]},function(A,B){var H=P(A,3),N=H[2];(B||d)&&af&&$o(N,{mark:Hr,attachTo:y})},function(A){var B=P(A,4),H=B[0],N=B[1],U=B[2],F=B[3];if(x&&H!==BS){var j={mark:Hr,prepend:b?!1:"queue",attachTo:y,priority:u},W=typeof i=="function"?i():i;W&&(j.csp={nonce:W});var K=[],z=[];Object.keys(F).forEach(function($){$.startsWith("@layer")?K.push($):z.push($)}),K.forEach(function($){Tr(sv(F[$]),"_layer-".concat($),w(w({},j),{},{prepend:!0}))});var X=Tr(H,U,j);X[So]=v.instanceId,X.setAttribute(Go,C),z.forEach(function($){Tr(sv(F[$]),"_effect-".concat($),j)})}}),E=P(I,3),T=E[0],k=E[1],M=E[2];return function(A){var B;return!S||x||!m?B=Fi.createElement(V9,null):B=Fi.createElement("style",ve({},_(_({},Go,k),Hr,M),{dangerouslySetInnerHTML:{__html:T}})),Fi.createElement(Fi.Fragment,null,B,A)}}var zk=function(t,r,a){var o=P(t,6),n=o[0],i=o[1],s=o[2],l=o[3],u=o[4],c=o[5],d=a||{},f=d.plain;if(u)return null;var m=n,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return m=Mi(n,i,s,h,f),l&&Object.keys(l).forEach(function(y){if(!r[y]){r[y]=!0;var S=sv(l[y]),g=Mi(S,i,"_effect-".concat(y),h,f);y.startsWith("@layer")?m=g+m:m+=g}}),[c,s,m]};var PS="cssVar",q9=function(t,r){var a=t.key,o=t.prefix,n=t.unitless,i=t.ignore,s=t.token,l=t.scope,u=l===void 0?"":l,c=(0,Vk.useContext)(Co),d=c.cache.instanceId,f=c.container,m=s._tokenKey,h=[].concat(G(t.path),[a,u,m]),y=Us(PS,h,function(){var S=r(),g=ov(S,a,{prefix:o,unitless:n,ignore:i,scope:u}),p=P(g,2),v=p[0],b=p[1],C=MS(h,b);return[v,b,C,a]},function(S){var g=P(S,3),p=g[2];af&&$o(p,{mark:Hr,attachTo:f})},function(S){var g=P(S,3),p=g[1],v=g[2];if(p){var b=Tr(p,v,{mark:Hr,prepend:"queue",attachTo:f,priority:-999});b[So]=d,b.setAttribute(Go,a)}});return y},qk=function(t,r,a){var o=P(t,4),n=o[1],i=o[2],s=o[3],l=a||{},u=l.plain;if(!n)return null;var c=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},f=Mi(n,s,i,d,u);return[c,i,f]},DS=q9;var qre=_(_(_({},FS,zk),kS,Fk),PS,qk);var $9=(function(){function e(t,r){Le(this,e),_(this,"name",void 0),_(this,"style",void 0),_(this,"_keyframe",!0),this.name=t,this.style=r}return Ie(e,[{key:"getName",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return r?"".concat(r,"-").concat(this.name):this.name}}]),e})(),ua=$9;function Ou(e){return e.notSplit=!0,e}var Xre={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Ou(["borderTop","borderBottom"]),borderBlockStart:Ou(["borderTop"]),borderBlockEnd:Ou(["borderBottom"]),borderInline:Ou(["borderLeft","borderRight"]),borderInlineStart:Ou(["borderLeft"]),borderInlineEnd:Ou(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function $k(e){return Ig(e)||Lg(e)||Lu(e)||Eg()}function kr(e,t){for(var r=e,a=0;a<t.length;a+=1){if(r==null)return;r=r[t[a]]}return r}function jk(e,t,r,a){if(!t.length)return r;var o=$k(t),n=o[0],i=o.slice(1),s;return!e&&typeof n=="number"?s=[]:Array.isArray(e)?s=G(e):s=w({},e),a&&r===void 0&&i.length===1?delete s[n][i[0]]:s[n]=jk(s[n],i,r,a),s}function Wr(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&a&&r===void 0&&!kr(e,t.slice(0,-1))?e:jk(e,t,r,a)}function G9(e){return V(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Gk(e){return Array.isArray(e)?[]:{}}var j9=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Tn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=Gk(t[0]);return t.forEach(function(o){function n(i,s){var l=new Set(s),u=kr(o,i),c=Array.isArray(u);if(c||G9(u)){if(!l.has(u)){l.add(u);var d=kr(a,i);c?a=Wr(a,i,[]):(!d||V(d)!=="object")&&(a=Wr(a,i,Gk(u))),j9(u).forEach(function(f){n([].concat(G(i),[f]),l)})}}else a=Wr(a,i,u)}n([])}),a}var NS=R(O());function W9(){}var Wk=NS.createContext({}),lv=()=>{let e=()=>{};return e.deprecated=W9,e};var Kk=R(O()),Yk=(0,Kk.createContext)(void 0);var Mu=R(O());var K9={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},Xk=K9;var Qk={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0};var Y9=w(w({},Qk),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),Zk=Y9;var X9={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},uv=X9;var Q9={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Zk),timePickerLocale:Object.assign({},uv)},cv=Q9;var Jk=cv;var La="${label} is not a valid ${type}",Z9={locale:"en",Pagination:Xk,DatePicker:cv,TimePicker:uv,Calendar:Jk,global:{placeholder:"Please select",close:"Close"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:La,method:La,array:La,object:La,number:La,date:La,boolean:La,integer:La,float:La,regexp:La,email:La,url:La,hex:La},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},Lo=Z9;var HS=Object.assign({},Lo.Modal),dv=[],eA=()=>dv.reduce((e,t)=>Object.assign(Object.assign({},e),t),Lo.Modal);function tA(e){if(e){let t=Object.assign({},e);return dv.push(t),HS=eA(),()=>{dv=dv.filter(r=>r!==t),HS=eA()}}HS=Object.assign({},Lo.Modal)}var rA=R(O()),J9=(0,rA.createContext)(void 0),Bu=J9;var nf=R(O());var eH=(e,t)=>{let r=nf.useContext(Bu),a=nf.useMemo(()=>{var n;let i=t||Lo[e],s=(n=r?.[e])!==null&&n!==void 0?n:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),s||{})},[e,t,r]),o=nf.useMemo(()=>{let n=r?.locale;return r?.exist&&!n?Lo.locale:n},[r]);return[a,o]},sf=eH;var aA="internalMark",tH=e=>{let{locale:t={},children:r,_ANT_MARK__:a}=e;Mu.useEffect(()=>tA(t?.Modal),[t]);let o=Mu.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return Mu.createElement(Bu.Provider,{value:o},r)},oA=tH;var cA=R(O());var US={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},rH=Object.assign(Object.assign({},US),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
84
+ `))):y="{".concat(y,"}"),[y,S]};function MS(e,t){return Oi("".concat(e.join("%")).concat(t))}function V9(){return null}var FS="style";function Pi(e,t){var r=e.token,a=e.path,o=e.hashId,n=e.layer,i=e.nonce,s=e.clientOnly,l=e.order,u=l===void 0?0:l,c=Fi.useContext(Co),d=c.autoClear,f=c.mock,m=c.defaultCache,h=c.hashPriority,y=c.container,S=c.ssrInline,g=c.transformers,p=c.linters,v=c.cache,b=c.layer,C=r._tokenKey,L=[C];b&&L.push("layer"),L.push.apply(L,G(a));var x=af,I=Us(FS,L,function(){var A=L.join("|");if(Dk(A)){var B=Nk(A),H=P(B,2),N=H[0],U=H[1];if(N)return[N,C,U,{},s,u]}var F=t(),j=z9(F,{hashId:o,hashPriority:h,layer:b?n:void 0,path:a.join("-"),transformers:g,linters:p}),W=P(j,2),K=W[0],z=W[1],X=sv(K),$=MS(L,X);return[X,C,$,z,s,u]},function(A,B){var H=P(A,3),N=H[2];(B||d)&&af&&$o(N,{mark:Hr,attachTo:y})},function(A){var B=P(A,4),H=B[0],N=B[1],U=B[2],F=B[3];if(x&&H!==BS){var j={mark:Hr,prepend:b?!1:"queue",attachTo:y,priority:u},W=typeof i=="function"?i():i;W&&(j.csp={nonce:W});var K=[],z=[];Object.keys(F).forEach(function($){$.startsWith("@layer")?K.push($):z.push($)}),K.forEach(function($){Tr(sv(F[$]),"_layer-".concat($),w(w({},j),{},{prepend:!0}))});var X=Tr(H,U,j);X[So]=v.instanceId,X.setAttribute(Go,C),z.forEach(function($){Tr(sv(F[$]),"_effect-".concat($),j)})}}),E=P(I,3),T=E[0],k=E[1],M=E[2];return function(A){var B;return!S||x||!m?B=Fi.createElement(V9,null):B=Fi.createElement("style",ve({},_(_({},Go,k),Hr,M),{dangerouslySetInnerHTML:{__html:T}})),Fi.createElement(Fi.Fragment,null,B,A)}}var zk=function(t,r,a){var o=P(t,6),n=o[0],i=o[1],s=o[2],l=o[3],u=o[4],c=o[5],d=a||{},f=d.plain;if(u)return null;var m=n,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return m=Mi(n,i,s,h,f),l&&Object.keys(l).forEach(function(y){if(!r[y]){r[y]=!0;var S=sv(l[y]),g=Mi(S,i,"_effect-".concat(y),h,f);y.startsWith("@layer")?m=g+m:m+=g}}),[c,s,m]};var PS="cssVar",q9=function(t,r){var a=t.key,o=t.prefix,n=t.unitless,i=t.ignore,s=t.token,l=t.scope,u=l===void 0?"":l,c=(0,Vk.useContext)(Co),d=c.cache.instanceId,f=c.container,m=s._tokenKey,h=[].concat(G(t.path),[a,u,m]),y=Us(PS,h,function(){var S=r(),g=ov(S,a,{prefix:o,unitless:n,ignore:i,scope:u}),p=P(g,2),v=p[0],b=p[1],C=MS(h,b);return[v,b,C,a]},function(S){var g=P(S,3),p=g[2];af&&$o(p,{mark:Hr,attachTo:f})},function(S){var g=P(S,3),p=g[1],v=g[2];if(p){var b=Tr(p,v,{mark:Hr,prepend:"queue",attachTo:f,priority:-999});b[So]=d,b.setAttribute(Go,a)}});return y},qk=function(t,r,a){var o=P(t,4),n=o[1],i=o[2],s=o[3],l=a||{},u=l.plain;if(!n)return null;var c=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},f=Mi(n,s,i,d,u);return[c,i,f]},DS=q9;var $re=_(_(_({},FS,zk),kS,Fk),PS,qk);var $9=(function(){function e(t,r){Le(this,e),_(this,"name",void 0),_(this,"style",void 0),_(this,"_keyframe",!0),this.name=t,this.style=r}return Ie(e,[{key:"getName",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return r?"".concat(r,"-").concat(this.name):this.name}}]),e})(),ua=$9;function Ou(e){return e.notSplit=!0,e}var Qre={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Ou(["borderTop","borderBottom"]),borderBlockStart:Ou(["borderTop"]),borderBlockEnd:Ou(["borderBottom"]),borderInline:Ou(["borderLeft","borderRight"]),borderInlineStart:Ou(["borderLeft"]),borderInlineEnd:Ou(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function $k(e){return Ig(e)||Lg(e)||Lu(e)||Eg()}function kr(e,t){for(var r=e,a=0;a<t.length;a+=1){if(r==null)return;r=r[t[a]]}return r}function jk(e,t,r,a){if(!t.length)return r;var o=$k(t),n=o[0],i=o.slice(1),s;return!e&&typeof n=="number"?s=[]:Array.isArray(e)?s=G(e):s=w({},e),a&&r===void 0&&i.length===1?delete s[n][i[0]]:s[n]=jk(s[n],i,r,a),s}function Wr(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&a&&r===void 0&&!kr(e,t.slice(0,-1))?e:jk(e,t,r,a)}function G9(e){return V(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Gk(e){return Array.isArray(e)?[]:{}}var j9=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Tn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=Gk(t[0]);return t.forEach(function(o){function n(i,s){var l=new Set(s),u=kr(o,i),c=Array.isArray(u);if(c||G9(u)){if(!l.has(u)){l.add(u);var d=kr(a,i);c?a=Wr(a,i,[]):(!d||V(d)!=="object")&&(a=Wr(a,i,Gk(u))),j9(u).forEach(function(f){n([].concat(G(i),[f]),l)})}}else a=Wr(a,i,u)}n([])}),a}var NS=R(O());function W9(){}var Wk=NS.createContext({}),lv=()=>{let e=()=>{};return e.deprecated=W9,e};var Kk=R(O()),Yk=(0,Kk.createContext)(void 0);var Mu=R(O());var K9={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},Xk=K9;var Qk={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0};var Y9=w(w({},Qk),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),Zk=Y9;var X9={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},uv=X9;var Q9={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Zk),timePickerLocale:Object.assign({},uv)},cv=Q9;var Jk=cv;var La="${label} is not a valid ${type}",Z9={locale:"en",Pagination:Xk,DatePicker:cv,TimePicker:uv,Calendar:Jk,global:{placeholder:"Please select",close:"Close"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:La,method:La,array:La,object:La,number:La,date:La,boolean:La,integer:La,float:La,regexp:La,email:La,url:La,hex:La},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},Lo=Z9;var HS=Object.assign({},Lo.Modal),dv=[],eA=()=>dv.reduce((e,t)=>Object.assign(Object.assign({},e),t),Lo.Modal);function tA(e){if(e){let t=Object.assign({},e);return dv.push(t),HS=eA(),()=>{dv=dv.filter(r=>r!==t),HS=eA()}}HS=Object.assign({},Lo.Modal)}var rA=R(O()),J9=(0,rA.createContext)(void 0),Bu=J9;var nf=R(O());var eH=(e,t)=>{let r=nf.useContext(Bu),a=nf.useMemo(()=>{var n;let i=t||Lo[e],s=(n=r?.[e])!==null&&n!==void 0?n:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),s||{})},[e,t,r]),o=nf.useMemo(()=>{let n=r?.locale;return r?.exist&&!n?Lo.locale:n},[r]);return[a,o]},sf=eH;var aA="internalMark",tH=e=>{let{locale:t={},children:r,_ANT_MARK__:a}=e;Mu.useEffect(()=>tA(t?.Modal),[t]);let o=Mu.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return Mu.createElement(Bu.Provider,{value:o},r)},oA=tH;var cA=R(O());var US={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},rH=Object.assign(Object.assign({},US),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
85
85
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
86
86
  'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),kn=rH;function zS(e,{generateColorPalettes:t,generateNeutralColorPalettes:r}){let{colorSuccess:a,colorWarning:o,colorError:n,colorInfo:i,colorPrimary:s,colorBgBase:l,colorTextBase:u}=e,c=t(s),d=t(a),f=t(o),m=t(n),h=t(i),y=r(l,u),S=e.colorLink||e.colorInfo,g=t(S),p=new $e(m[1]).mix(new $e(m[3]),50).toHexString();return Object.assign(Object.assign({},y),{colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:p,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:g[4],colorLink:g[6],colorLinkActive:g[7],colorBgMask:new $e("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}var aH=e=>{let t=e,r=e,a=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?a=1:e>=6&&(a=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:a,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},nA=aH;function VS(e){let{motionUnit:t,motionBase:r,borderRadius:a,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},nA(a))}var oH=e=>{let{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},iA=oH;function nH(e){return(e+8)/e}function qS(e){let t=Array.from({length:10}).map((r,a)=>{let o=a-1,n=e*Math.pow(Math.E,o/5),i=a>1?Math.floor(n):Math.ceil(n);return Math.floor(i/2)*2});return t[1]=e,t.map(r=>({size:r,lineHeight:nH(r)}))}var iH=e=>{let t=qS(e),r=t.map(c=>c.size),a=t.map(c=>c.lineHeight),o=r[1],n=r[0],i=r[2],s=a[1],l=a[0],u=a[2];return{fontSizeSM:n,fontSize:o,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:s,lineHeightLG:u,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(u*i),fontHeightSM:Math.round(l*n),lineHeightHeading1:a[6],lineHeightHeading2:a[5],lineHeightHeading3:a[4],lineHeightHeading4:a[3],lineHeightHeading5:a[2]}},sA=iH;function $S(e){let{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}var Ia=(e,t)=>new $e(e).setA(t).toRgbString(),Fu=(e,t)=>new $e(e).darken(t).toHexString();var lA=e=>{let t=bo(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},uA=(e,t)=>{let r=e||"#fff",a=t||"#000";return{colorBgBase:r,colorTextBase:a,colorText:Ia(a,.88),colorTextSecondary:Ia(a,.65),colorTextTertiary:Ia(a,.45),colorTextQuaternary:Ia(a,.25),colorFill:Ia(a,.15),colorFillSecondary:Ia(a,.06),colorFillTertiary:Ia(a,.04),colorFillQuaternary:Ia(a,.02),colorBgSolid:Ia(a,1),colorBgSolidHover:Ia(a,.75),colorBgSolidActive:Ia(a,.95),colorBgLayout:Fu(r,4),colorBgContainer:Fu(r,0),colorBgElevated:Fu(r,0),colorBgSpotlight:Ia(a,.85),colorBgBlur:"transparent",colorBorder:Fu(r,15),colorBorderSecondary:Fu(r,6)}};function GS(e){Tg.pink=Tg.magenta,kg.pink=kg.magenta;let t=Object.keys(US).map(r=>{let a=e[r]===Tg[r]?kg[r]:bo(e[r]);return Array.from({length:10},()=>1).reduce((o,n,i)=>(o[`${r}-${i+1}`]=a[i],o[`${r}${i+1}`]=a[i],o),{})}).reduce((r,a)=>(r=Object.assign(Object.assign({},r),a),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),zS(e,{generateColorPalettes:lA,generateNeutralColorPalettes:uA})),sA(e.fontSize)),$S(e)),iA(e)),VS(e))}var sH=Bi(GS),lf=sH;var uf={token:kn,override:{override:kn},hashed:!0},cf=cA.default.createContext(uf);var fv=R(O()),Pu="ant",df="anticon",jS=["outlined","borderless","filled","underlined"],lH=(e,t)=>t||(e?`${Pu}-${e}`:Pu),Tt=fv.createContext({getPrefixCls:lH,iconPrefixCls:df}),{Consumer:uH}=Tt,dA={};function Du(e){let t=fv.useContext(Tt),{getPrefixCls:r,direction:a,getPopupContainer:o}=t,n=t[e];return Object.assign(Object.assign({classNames:dA,styles:dA},n),{getPrefixCls:r,direction:a,getPopupContainer:o})}var cH=`-ant-${Date.now()}-${Math.random()}`;function dH(e,t){let r={},a=(i,s)=>{let l=i.clone();return l=s?.(l)||l,l.toRgbString()},o=(i,s)=>{let l=new $e(i),u=bo(l.toRgbString());r[`${s}-color`]=a(l),r[`${s}-color-disabled`]=u[1],r[`${s}-color-hover`]=u[4],r[`${s}-color-active`]=u[6],r[`${s}-color-outline`]=l.clone().setA(.2).toRgbString(),r[`${s}-color-deprecated-bg`]=u[0],r[`${s}-color-deprecated-border`]=u[2]};if(t.primaryColor){o(t.primaryColor,"primary");let i=new $e(t.primaryColor),s=bo(i.toRgbString());s.forEach((u,c)=>{r[`primary-${c+1}`]=u}),r["primary-color-deprecated-l-35"]=a(i,u=>u.lighten(35)),r["primary-color-deprecated-l-20"]=a(i,u=>u.lighten(20)),r["primary-color-deprecated-t-20"]=a(i,u=>u.tint(20)),r["primary-color-deprecated-t-50"]=a(i,u=>u.tint(50)),r["primary-color-deprecated-f-12"]=a(i,u=>u.setA(u.a*.12));let l=new $e(s[0]);r["primary-color-active-deprecated-f-30"]=a(l,u=>u.setA(u.a*.3)),r["primary-color-active-deprecated-d-02"]=a(l,u=>u.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`
87
87
  :root {
@@ -145,7 +145,7 @@ html body {
145
145
  onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
146
146
  onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
147
147
  onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
148
- onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,CU="".concat(xU," ").concat(SU).split(/[\s\n]+/),LU="aria-",IU="data-";function U3(e,t){return e.indexOf(t)===0}function ZC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r;t===!1?r={aria:!0,data:!0,attr:!0}:t===!0?r={aria:!0}:r=w({},t);var a={};return Object.keys(e).forEach(function(o){(r.aria&&(o==="role"||U3(o,LU))||r.data&&U3(o,IU)||r.attr&&CU.includes(o))&&(a[o]=e[o])}),a}function EU(...e){let t={};return e.forEach(r=>{r&&Object.keys(r).forEach(a=>{r[a]!==void 0&&(t[a]=r[a])})}),t}var JC=EU;function e1(e){if(!e)return;let{closable:t,closeIcon:r}=e;return{closable:t,closeIcon:r}}function z3(e){let{closable:t,closeIcon:r}=e||{};return Fn.default.useMemo(()=>{if(!t&&(t===!1||r===!1||r===null))return!1;if(t===void 0&&r===void 0)return null;let a={closeIcon:typeof r!="boolean"&&r!==null?r:void 0};return t&&typeof t=="object"&&(a=Object.assign(Object.assign({},a),t)),a},[t,r])}var _U={},V3=(e,t,r=_U)=>{let a=z3(e),o=z3(t),[n]=sf("global",Lo.global),i=typeof a!="boolean"?!!a?.disabled:!1,s=Fn.default.useMemo(()=>Object.assign({closeIcon:Fn.default.createElement(H3,null)},r),[r]),l=Fn.default.useMemo(()=>a===!1?!1:a?JC(s,o,a):o===!1?!1:o?JC(s,o):s.closable?s:!1,[a,o,s]);return Fn.default.useMemo(()=>{var u,c;if(l===!1)return[!1,null,i,{}];let{closeIconRender:d}=s,{closeIcon:f}=l,m=f,h=ZC(l,!0);return m!=null&&(d&&(m=d(f)),m=Fn.default.isValidElement(m)?Fn.default.cloneElement(m,Object.assign(Object.assign(Object.assign({},m.props),{"aria-label":(c=(u=m.props)===null||u===void 0?void 0:u["aria-label"])!==null&&c!==void 0?c:n.close}),h)):Fn.default.createElement("span",Object.assign({"aria-label":n.close},h),m)),[!0,m,i,h]},[i,n.close,l,s])};var $3=R(O());var q3=R(O()),RU=q3.default.createContext(void 0),sh=RU;var Pn=100,wU=10,TU=Pn*wU,Wge=TU+Pn,G3={Modal:Pn,Drawer:Pn,Popover:Pn,Popconfirm:Pn,Tooltip:Pn,Tour:Pn,FloatButton:Pn},kU={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function AU(e){return e in G3}var j3=(e,t)=>{let[,r]=Ur(),a=$3.default.useContext(sh),o=AU(e),n;if(t!==void 0)n=[t,t];else{let i=a??0;o?i+=(a?0:r.zIndexPopupBase)+G3[e]:i+=kU[e],n=[a===void 0?t:i,i]}return n};var W3=(e,t,r)=>r!==void 0?r:`${e}-${t}`;function K3(e){let{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:a}=e,o=t/2,n=0,i=o,s=a*1/Math.sqrt(2),l=o-a*(1-1/Math.sqrt(2)),u=o-r*(1/Math.sqrt(2)),c=a*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),d=2*o-u,f=c,m=2*o-s,h=l,y=2*o-n,S=i,g=o*Math.sqrt(2)+a*(Math.sqrt(2)-2),p=a*(Math.sqrt(2)-1),v=`polygon(${p}px 100%, 50% ${p}px, ${2*o-p}px 100%, ${p}px 100%)`,b=`path('M ${n} ${i} A ${a} ${a} 0 0 0 ${s} ${l} L ${u} ${c} A ${r} ${r} 0 0 1 ${d} ${f} L ${m} ${h} A ${a} ${a} 0 0 0 ${y} ${S} Z')`;return{arrowShadowWidth:g,arrowPath:b,arrowPolygon:v}}var Y3=(e,t,r)=>{let{sizePopupArrow:a,arrowPolygon:o,arrowPath:n,arrowShadowWidth:i,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:a,height:a,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:a,height:l(a).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,n]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Ee(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}};var t1=8;function uh(e){let{contentRadius:t,limitVerticalRadius:r}=e,a=t>12?t+2:12;return{arrowOffsetHorizontal:a,arrowOffsetVertical:r?t1:a}}function lh(e,t){return e?t:{}}function r1(e,t,r){let{componentCls:a,boxShadowPopoverArrow:o,arrowOffsetVertical:n,arrowOffsetHorizontal:i}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=r||{};return{[a]:Object.assign(Object.assign(Object.assign(Object.assign({[`${a}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},Y3(e,t,o)),{"&:before":{background:t}})]},lh(!!l.top,{[[`&-placement-top > ${a}-arrow`,`&-placement-topLeft > ${a}-arrow`,`&-placement-topRight > ${a}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${a}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${a}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Ee(i)})`,[`> ${a}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),lh(!!l.bottom,{[[`&-placement-bottom > ${a}-arrow`,`&-placement-bottomLeft > ${a}-arrow`,`&-placement-bottomRight > ${a}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${a}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${a}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Ee(i)})`,[`> ${a}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),lh(!!l.left,{[[`&-placement-left > ${a}-arrow`,`&-placement-leftTop > ${a}-arrow`,`&-placement-leftBottom > ${a}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${a}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${a}-arrow`]:{top:n},[`&-placement-leftBottom > ${a}-arrow`]:{bottom:n}})),lh(!!l.right,{[[`&-placement-right > ${a}-arrow`,`&-placement-rightTop > ${a}-arrow`,`&-placement-rightBottom > ${a}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${a}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${a}-arrow`]:{top:n},[`&-placement-rightBottom > ${a}-arrow`]:{bottom:n}}))}}function OU(e,t,r,a){if(a===!1)return{adjustX:!1,adjustY:!1};let o=a&&typeof a=="object"?a:{},n={};switch(e){case"top":case"bottom":n.shiftX=t.arrowOffsetHorizontal*2+r,n.shiftY=!0,n.adjustY=!0;break;case"left":case"right":n.shiftY=t.arrowOffsetVertical*2+r,n.shiftX=!0,n.adjustX=!0;break}let i=Object.assign(Object.assign({},n),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}var X3={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},BU={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},MU=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function a1(e){let{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:a,offset:o,borderRadius:n,visibleFirst:i}=e,s=t/2,l={},u=uh({contentRadius:n,limitVerticalRadius:!0});return Object.keys(X3).forEach(c=>{let d=a&&BU[c]||X3[c],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(l[c]=f,MU.has(c)&&(f.autoArrow=!1),c){case"top":case"topLeft":case"topRight":f.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+o;break}if(a)switch(c){case"topLeft":case"bottomLeft":f.offset[0]=-u.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":f.offset[0]=u.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":f.offset[1]=-u.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":f.offset[1]=u.arrowOffsetHorizontal*2-s;break}f.overflow=OU(c,u,t,r),i&&(f.htmlRegion="visibleFirst")}),l}var wf=R(O());function Q3(e){return e&&wf.default.isValidElement(e)&&e.type===wf.default.Fragment}var o1=(e,t,r)=>wf.default.isValidElement(e)?wf.default.cloneElement(e,typeof r=="function"?r(e.props||{}):r):t;function Zu(e,t){return o1(e,e,t)}var Ju=R(O()),vB=R(qe());var FU=e=>({animationDuration:e,animationFillMode:"both"}),PU=e=>({animationDuration:e,animationFillMode:"both"}),Z3=(e,t,r,a,o=!1)=>{let n=o?"&":"";return{[`
148
+ onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,CU="".concat(xU," ").concat(SU).split(/[\s\n]+/),LU="aria-",IU="data-";function U3(e,t){return e.indexOf(t)===0}function ZC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r;t===!1?r={aria:!0,data:!0,attr:!0}:t===!0?r={aria:!0}:r=w({},t);var a={};return Object.keys(e).forEach(function(o){(r.aria&&(o==="role"||U3(o,LU))||r.data&&U3(o,IU)||r.attr&&CU.includes(o))&&(a[o]=e[o])}),a}function EU(...e){let t={};return e.forEach(r=>{r&&Object.keys(r).forEach(a=>{r[a]!==void 0&&(t[a]=r[a])})}),t}var JC=EU;function e1(e){if(!e)return;let{closable:t,closeIcon:r}=e;return{closable:t,closeIcon:r}}function z3(e){let{closable:t,closeIcon:r}=e||{};return Fn.default.useMemo(()=>{if(!t&&(t===!1||r===!1||r===null))return!1;if(t===void 0&&r===void 0)return null;let a={closeIcon:typeof r!="boolean"&&r!==null?r:void 0};return t&&typeof t=="object"&&(a=Object.assign(Object.assign({},a),t)),a},[t,r])}var _U={},V3=(e,t,r=_U)=>{let a=z3(e),o=z3(t),[n]=sf("global",Lo.global),i=typeof a!="boolean"?!!a?.disabled:!1,s=Fn.default.useMemo(()=>Object.assign({closeIcon:Fn.default.createElement(H3,null)},r),[r]),l=Fn.default.useMemo(()=>a===!1?!1:a?JC(s,o,a):o===!1?!1:o?JC(s,o):s.closable?s:!1,[a,o,s]);return Fn.default.useMemo(()=>{var u,c;if(l===!1)return[!1,null,i,{}];let{closeIconRender:d}=s,{closeIcon:f}=l,m=f,h=ZC(l,!0);return m!=null&&(d&&(m=d(f)),m=Fn.default.isValidElement(m)?Fn.default.cloneElement(m,Object.assign(Object.assign(Object.assign({},m.props),{"aria-label":(c=(u=m.props)===null||u===void 0?void 0:u["aria-label"])!==null&&c!==void 0?c:n.close}),h)):Fn.default.createElement("span",Object.assign({"aria-label":n.close},h),m)),[!0,m,i,h]},[i,n.close,l,s])};var $3=R(O());var q3=R(O()),RU=q3.default.createContext(void 0),sh=RU;var Pn=100,wU=10,TU=Pn*wU,Kge=TU+Pn,G3={Modal:Pn,Drawer:Pn,Popover:Pn,Popconfirm:Pn,Tooltip:Pn,Tour:Pn,FloatButton:Pn},kU={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function AU(e){return e in G3}var j3=(e,t)=>{let[,r]=Ur(),a=$3.default.useContext(sh),o=AU(e),n;if(t!==void 0)n=[t,t];else{let i=a??0;o?i+=(a?0:r.zIndexPopupBase)+G3[e]:i+=kU[e],n=[a===void 0?t:i,i]}return n};var W3=(e,t,r)=>r!==void 0?r:`${e}-${t}`;function K3(e){let{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:a}=e,o=t/2,n=0,i=o,s=a*1/Math.sqrt(2),l=o-a*(1-1/Math.sqrt(2)),u=o-r*(1/Math.sqrt(2)),c=a*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),d=2*o-u,f=c,m=2*o-s,h=l,y=2*o-n,S=i,g=o*Math.sqrt(2)+a*(Math.sqrt(2)-2),p=a*(Math.sqrt(2)-1),v=`polygon(${p}px 100%, 50% ${p}px, ${2*o-p}px 100%, ${p}px 100%)`,b=`path('M ${n} ${i} A ${a} ${a} 0 0 0 ${s} ${l} L ${u} ${c} A ${r} ${r} 0 0 1 ${d} ${f} L ${m} ${h} A ${a} ${a} 0 0 0 ${y} ${S} Z')`;return{arrowShadowWidth:g,arrowPath:b,arrowPolygon:v}}var Y3=(e,t,r)=>{let{sizePopupArrow:a,arrowPolygon:o,arrowPath:n,arrowShadowWidth:i,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:a,height:a,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:a,height:l(a).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,n]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Ee(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}};var t1=8;function uh(e){let{contentRadius:t,limitVerticalRadius:r}=e,a=t>12?t+2:12;return{arrowOffsetHorizontal:a,arrowOffsetVertical:r?t1:a}}function lh(e,t){return e?t:{}}function r1(e,t,r){let{componentCls:a,boxShadowPopoverArrow:o,arrowOffsetVertical:n,arrowOffsetHorizontal:i}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=r||{};return{[a]:Object.assign(Object.assign(Object.assign(Object.assign({[`${a}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},Y3(e,t,o)),{"&:before":{background:t}})]},lh(!!l.top,{[[`&-placement-top > ${a}-arrow`,`&-placement-topLeft > ${a}-arrow`,`&-placement-topRight > ${a}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${a}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${a}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Ee(i)})`,[`> ${a}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),lh(!!l.bottom,{[[`&-placement-bottom > ${a}-arrow`,`&-placement-bottomLeft > ${a}-arrow`,`&-placement-bottomRight > ${a}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${a}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${a}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Ee(i)})`,[`> ${a}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),lh(!!l.left,{[[`&-placement-left > ${a}-arrow`,`&-placement-leftTop > ${a}-arrow`,`&-placement-leftBottom > ${a}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${a}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${a}-arrow`]:{top:n},[`&-placement-leftBottom > ${a}-arrow`]:{bottom:n}})),lh(!!l.right,{[[`&-placement-right > ${a}-arrow`,`&-placement-rightTop > ${a}-arrow`,`&-placement-rightBottom > ${a}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${a}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${a}-arrow`]:{top:n},[`&-placement-rightBottom > ${a}-arrow`]:{bottom:n}}))}}function OU(e,t,r,a){if(a===!1)return{adjustX:!1,adjustY:!1};let o=a&&typeof a=="object"?a:{},n={};switch(e){case"top":case"bottom":n.shiftX=t.arrowOffsetHorizontal*2+r,n.shiftY=!0,n.adjustY=!0;break;case"left":case"right":n.shiftY=t.arrowOffsetVertical*2+r,n.shiftX=!0,n.adjustX=!0;break}let i=Object.assign(Object.assign({},n),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}var X3={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},BU={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},MU=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function a1(e){let{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:a,offset:o,borderRadius:n,visibleFirst:i}=e,s=t/2,l={},u=uh({contentRadius:n,limitVerticalRadius:!0});return Object.keys(X3).forEach(c=>{let d=a&&BU[c]||X3[c],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(l[c]=f,MU.has(c)&&(f.autoArrow=!1),c){case"top":case"topLeft":case"topRight":f.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+o;break}if(a)switch(c){case"topLeft":case"bottomLeft":f.offset[0]=-u.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":f.offset[0]=u.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":f.offset[1]=-u.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":f.offset[1]=u.arrowOffsetHorizontal*2-s;break}f.overflow=OU(c,u,t,r),i&&(f.htmlRegion="visibleFirst")}),l}var wf=R(O());function Q3(e){return e&&wf.default.isValidElement(e)&&e.type===wf.default.Fragment}var o1=(e,t,r)=>wf.default.isValidElement(e)?wf.default.cloneElement(e,typeof r=="function"?r(e.props||{}):r):t;function Zu(e,t){return o1(e,e,t)}var Ju=R(O()),vB=R(qe());var FU=e=>({animationDuration:e,animationFillMode:"both"}),PU=e=>({animationDuration:e,animationFillMode:"both"}),Z3=(e,t,r,a,o=!1)=>{let n=o?"&":"";return{[`
149
149
  ${n}${e}-enter,
150
150
  ${n}${e}-appear
151
151
  `]:Object.assign(Object.assign({},FU(a)),{animationPlayState:"paused"}),[`${n}${e}-leave`]:Object.assign(Object.assign({},PU(a)),{animationPlayState:"paused"}),[`
@@ -180,7 +180,7 @@ html body {
180
180
  & > ${r}-cascader-picker:last-child ${t},
181
181
  & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Dz=e=>{let{componentCls:t,controlHeightSM:r,lineWidth:a,calc:o}=e,i=o(r).sub(o(a).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gs(e)),e5(e)),$B(e)),KB(e)),jB(e)),QB(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},Nz=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Ee(e.inputAffixPadding)}`}}}},Hz=e=>{let{componentCls:t,inputAffixPadding:r,colorTextDescription:a,motionDurationSlow:o,colorIcon:n,colorIconHover:i,iconCls:s}=e,l=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},e5(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:a,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),Nz(e)),{[`${s}${t}-password-icon`]:{color:n,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}}),[`${t}-underlined`]:{borderRadius:0},[u]:{[`${s}${t}-password-icon`]:{color:n,cursor:"not-allowed","&:hover":{color:n}}}}},Uz=e=>{let{componentCls:t,borderRadiusLG:r,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Gs(e)),Pz(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}}},GB(e)),YB(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},zz=e=>{let{componentCls:t,antCls:r}=e,a=`${t}-search`;return{[a]:{[t]:{"&:not([disabled]):hover, &:not([disabled]):focus":{[`+ ${t}-group-addon ${a}-button:not(${r}-btn-color-primary):not(${r}-btn-variant-text)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${a}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${a}-button:not(${r}-btn-color-primary)`]:{color:e.colorTextDescription,"&:not([disabled]):hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{inset:0}}}},[`${a}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${a}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${a}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
182
182
  > ${t},
183
- ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Vz=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},t5=Za(["Input","Shared"],e=>{let t=Xt(e,kf(e));return[Dz(t),Hz(t)]},Af,{resetFont:!1}),$be=Za(["Input","Component"],e=>{let t=Xt(e,kf(e));return[Uz(t),zz(t),Vz(t),DB(t)]},Af,{resetFont:!1});var $z=e=>{let{componentCls:t,paddingLG:r}=e,a=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[a]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
183
+ ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Vz=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},t5=Za(["Input","Shared"],e=>{let t=Xt(e,kf(e));return[Dz(t),Hz(t)]},Af,{resetFont:!1}),Gbe=Za(["Input","Component"],e=>{let t=Xt(e,kf(e));return[Uz(t),zz(t),Vz(t),DB(t)]},Af,{resetFont:!1});var $z=e=>{let{componentCls:t,paddingLG:r}=e,a=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[a]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
184
184
  &-allow-clear > ${t},
185
185
  &-affix-wrapper${a}-has-feedback ${t}
186
186
  `]:{paddingInlineEnd:r},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${a}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},r5=Za(["Input","TextArea"],e=>{let t=Xt(e,kf(e));return $z(t)},Af,{resetFont:!1});var Gz=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},jz=(0,a5.forwardRef)((e,t)=>{var r;let{prefixCls:a,bordered:o=!0,size:n,disabled:i,status:s,allowClear:l,classNames:u,rootClassName:c,className:d,style:f,styles:m,variant:h,showCount:y,onMouseDown:S,onResize:g}=e,p=Gz(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:v,direction:b,allowClear:C,autoComplete:L,className:x,style:I,classNames:E,styles:T}=Du("textArea"),k=wa.useContext(pv),M=i??k,{status:A,hasFeedback:B,feedbackIcon:H}=wa.useContext(nh),N=MB(A,s),U=wa.useRef(null);wa.useImperativeHandle(t,()=>{var ee;return{resizableTextArea:(ee=U.current)===null||ee===void 0?void 0:ee.resizableTextArea,focus:de=>{var Te,ke;vh((ke=(Te=U.current)===null||Te===void 0?void 0:Te.resizableTextArea)===null||ke===void 0?void 0:ke.textArea,de)},blur:()=>{var de;return(de=U.current)===null||de===void 0?void 0:de.blur()}}});let F=v("input",a),j=FB(F),[W,K,z]=t5(F,c),[X]=r5(F,j),{compactSize:$,compactItemClassnames:ue}=F3(F,b),ne=O3(ee=>{var de;return(de=n??$)!==null&&de!==void 0?de:ee}),[Re,Ne]=PB("textArea",h,o),fe=AB(l??C),[we,ye]=wa.useState(!1),[J,xe]=wa.useState(!1),Se=ee=>{ye(!0),S?.(ee);let de=()=>{ye(!1),document.removeEventListener("mouseup",de)};document.addEventListener("mouseup",de)},te=ee=>{var de,Te;if(g?.(ee),we&&typeof getComputedStyle=="function"){let ke=(Te=(de=U.current)===null||de===void 0?void 0:de.nativeElement)===null||Te===void 0?void 0:Te.querySelector("textarea");ke&&getComputedStyle(ke).resize==="both"&&xe(!0)}};return W(X(wa.createElement(RB,Object.assign({autoComplete:L},p,{style:Object.assign(Object.assign({},I),f),styles:Object.assign(Object.assign({},T),m),disabled:M,allowClear:fe,className:(0,Of.default)(z,j,d,c,ue,x,J&&`${F}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),E),{textarea:(0,Of.default)({[`${F}-sm`]:ne==="small",[`${F}-lg`]:ne==="large"},K,u?.textarea,E.textarea,we&&`${F}-mouse-active`),variant:(0,Of.default)({[`${F}-${Re}`]:Ne},BB(F,N)),affixWrapper:(0,Of.default)(`${F}-textarea-affix-wrapper`,{[`${F}-affix-wrapper-rtl`]:b==="rtl",[`${F}-affix-wrapper-sm`]:ne==="small",[`${F}-affix-wrapper-lg`]:ne==="large",[`${F}-textarea-show-count`]:y||((r=e.count)===null||r===void 0?void 0:r.show)},K)}),prefixCls:F,suffix:B&&wa.createElement("span",{className:`${F}-textarea-suffix`},H),showCount:y,ref:U,onResize:te,onMouseDown:Se}))))}),o5=jz;var Wz=(e,t,r,a)=>{let{titleMarginBottom:o,fontWeightStrong:n}=a;return{marginBottom:o,color:r,fontWeight:n,fontSize:e,lineHeight:t}},n5=e=>{let t=[1,2,3,4,5],r={};return t.forEach(a=>{r[`
@@ -199,39 +199,39 @@ html body {
199
199
  ${t}-collapse,
200
200
  ${t}-edit,
201
201
  ${t}-copy
202
- `]:Object.assign(Object.assign({},Sv(e)),{marginInlineStart:e.marginXXS})}),l5(e)),u5(e)),c5()),{"&-rtl":{direction:"rtl"}})}},Yz=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),Sh=Za("Typography",Kz,Yz);var Xz=e=>{let{prefixCls:t,"aria-label":r,className:a,style:o,direction:n,maxLength:i,autoSize:s=!0,value:l,onSave:u,onCancel:c,onEnd:d,component:f,enterIcon:m=Ta.createElement(xB,null)}=e,h=Ta.useRef(null),y=Ta.useRef(!1),S=Ta.useRef(null),[g,p]=Ta.useState(l);Ta.useEffect(()=>{p(l)},[l]),Ta.useEffect(()=>{var B;if(!((B=h.current)===null||B===void 0)&&B.resizableTextArea){let{textArea:H}=h.current.resizableTextArea;H.focus();let{length:N}=H.value;H.setSelectionRange(N,N)}},[]);let v=({target:B})=>{p(B.value.replace(/[\n\r]/g,""))},b=()=>{y.current=!0},C=()=>{y.current=!1},L=({keyCode:B})=>{y.current||(S.current=B)},x=()=>{u(g.trim())},I=({keyCode:B,ctrlKey:H,altKey:N,metaKey:U,shiftKey:F})=>{S.current!==B||y.current||H||N||U||F||(B===p1.ENTER?(x(),d?.()):B===p1.ESC&&c())},E=()=>{x()},[T,k,M]=Sh(t),A=(0,d5.default)(t,`${t}-edit-content`,{[`${t}-rtl`]:n==="rtl",[`${t}-${f}`]:!!f},a,k,M);return T(Ta.createElement("div",{className:A,style:o},Ta.createElement(o5,{ref:h,maxLength:i,value:g,onChange:v,onKeyDown:L,onKeyUp:I,onCompositionStart:b,onCompositionEnd:C,onBlur:E,"aria-label":r,rows:1,autoSize:s}),m!==null?Zu(m,{className:`${t}-edit-content-confirm`}):null))},f5=Xz;var Qs=R(O()),y5=R(h5());var tV=(e,t=!1)=>t&&e==null?[]:Array.isArray(e)?e:[e],b5=tV;var rV=function(e,t,r,a){function o(n){return n instanceof r?n:new r(function(i){i(n)})}return new(r||(r=Promise))(function(n,i){function s(c){try{u(a.next(c))}catch(d){i(d)}}function l(c){try{u(a.throw(c))}catch(d){i(d)}}function u(c){c.done?n(c.value):o(c.value).then(s,l)}u((a=a.apply(e,t||[])).next())})},aV=({copyConfig:e,children:t})=>{let[r,a]=Qs.useState(!1),[o,n]=Qs.useState(!1),i=Qs.useRef(null),s=()=>{i.current&&clearTimeout(i.current)},l={};e.format&&(l.format=e.format),Qs.useEffect(()=>s,[]);let u=vt(c=>rV(void 0,void 0,void 0,function*(){var d;c?.preventDefault(),c?.stopPropagation(),n(!0);try{let f=typeof e.text=="function"?yield e.text():e.text;(0,y5.default)(f||b5(t,!0).join("")||"",l),n(!1),a(!0),s(),i.current=setTimeout(()=>{a(!1)},3e3),(d=e.onCopy)===null||d===void 0||d.call(e,c)}catch(f){throw n(!1),f}}));return{copied:r,copyLoading:o,onClick:u}},x5=aV;var S5=R(O());function Bf(e,t){return S5.useMemo(()=>{let r=!!e;return[r,Object.assign(Object.assign({},t),r&&typeof e=="object"?e:null)]},[e])}var Ch=R(O()),oV=e=>{let t=(0,Ch.useRef)(void 0);return(0,Ch.useEffect)(()=>{t.current=e}),t.current},C5=oV;var Lh=R(O()),nV=(e,t,r)=>(0,Lh.useMemo)(()=>e===!0?{title:t??r}:(0,Lh.isValidElement)(e)?{title:e}:typeof e=="object"?Object.assign({title:t??r},e):{title:e},[e,t,r]),L5=nV;var Ih=R(O()),I5=R(qe());var iV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},sV=Ih.forwardRef((e,t)=>{let{prefixCls:r,component:a="article",className:o,rootClassName:n,setContentRef:i,children:s,direction:l,style:u}=e,c=iV(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:d,direction:f,className:m,style:h}=Du("typography"),y=l??f,S=i?Qa(t,i):t,g=d("typography",r),[p,v,b]=Sh(g),C=(0,I5.default)(g,m,{[`${g}-rtl`]:y==="rtl"},o,n,v,b),L=Object.assign(Object.assign({},h),u);return p(Ih.createElement(a,Object.assign({className:C,style:L,ref:S},c),s))}),E5=sV;var rc=R(O());var Eh=R(O());var lV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},_5=lV;var uV=function(t,r){return Eh.createElement(la,ve({},t,{ref:r,icon:_5}))},cV=Eh.forwardRef(uV),R5=cV;var _h=R(O());var dV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},w5=dV;var fV=function(t,r){return _h.createElement(la,ve({},t,{ref:r,icon:w5}))},pV=_h.forwardRef(fV),T5=pV;var Rh=R(O());var mV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},k5=mV;var gV=function(t,r){return Rh.createElement(la,ve({},t,{ref:r,icon:k5}))},vV=Rh.forwardRef(gV),A5=vV;var B5=R(qe());function C1(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function wh(e,t,r){return e===!0||e===void 0?t:e||r&&t}function O5(e){let t=document.createElement("em");e.appendChild(t);let r=e.getBoundingClientRect(),a=t.getBoundingClientRect();return e.removeChild(t),r.left>a.left||a.right>r.right||r.top>a.top||a.bottom>r.bottom}var Mf=e=>["string","number"].includes(typeof e);var hV=({prefixCls:e,copied:t,locale:r,iconOnly:a,tooltips:o,icon:n,tabIndex:i,onCopy:s,loading:l})=>{let u=C1(o),c=C1(n),{copied:d,copy:f}=r??{},m=t?d:f,h=wh(u[t?1:0],m),y=typeof h=="string"?h:m;return rc.createElement(ec,{title:h},rc.createElement("button",{type:"button",className:(0,B5.default)(`${e}-copy`,{[`${e}-copy-success`]:t,[`${e}-copy-icon-only`]:a}),onClick:s,"aria-label":y,tabIndex:i},t?wh(c[1],rc.createElement(R5,null),!0):wh(c[0],l?rc.createElement(A5,null):rc.createElement(T5,null),!0)))},M5=hV;var De=R(O());var Th=De.forwardRef(({style:e,children:t},r)=>{let a=De.useRef(null);return De.useImperativeHandle(r,()=>({isExceed:()=>{let o=a.current;return o.scrollHeight>o.clientHeight},getHeight:()=>a.current.clientHeight})),De.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},e)},t)}),bV=e=>e.reduce((t,r)=>t+(Mf(r)?String(r).length:1),0);function F5(e,t){let r=0,a=[];for(let o=0;o<e.length;o+=1){if(r===t)return a;let n=e[o],s=Mf(n)?String(n).length:1,l=r+s;if(l>t){let u=t-r;return a.push(String(n).slice(0,u)),a}a.push(n),r=l}return e}var L1=0,I1=1,E1=2,_1=3,P5=4,kh={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function R1(e){let{enableMeasure:t,width:r,text:a,children:o,rows:n,expanded:i,miscDeps:s,onEllipsis:l}=e,u=De.useMemo(()=>Ya(a),[a]),c=De.useMemo(()=>bV(u),[a]),d=De.useMemo(()=>o(u,!1),[a]),[f,m]=De.useState(null),h=De.useRef(null),y=De.useRef(null),S=De.useRef(null),g=De.useRef(null),p=De.useRef(null),[v,b]=De.useState(!1),[C,L]=De.useState(L1),[x,I]=De.useState(0),[E,T]=De.useState(null);Ge(()=>{L(t&&r&&c?I1:L1)},[r,a,n,t,u]),Ge(()=>{var B,H,N,U;if(C===I1){L(E1);let F=y.current&&getComputedStyle(y.current).whiteSpace;T(F)}else if(C===E1){let F=!!(!((B=S.current)===null||B===void 0)&&B.isExceed());L(F?_1:P5),m(F?[0,c]:null),b(F);let j=((H=S.current)===null||H===void 0?void 0:H.getHeight())||0,W=n===1?0:((N=g.current)===null||N===void 0?void 0:N.getHeight())||0,K=((U=p.current)===null||U===void 0?void 0:U.getHeight())||0,z=Math.max(j,W+K);I(z+1),l(F)}},[C]);let k=f?Math.ceil((f[0]+f[1])/2):0;Ge(()=>{var B;let[H,N]=f||[0,0];if(H!==N){let F=(((B=h.current)===null||B===void 0?void 0:B.getHeight())||0)>x,j=k;N-H===1&&(j=F?H:N),m(F?[H,j]:[j,N])}},[f,k]);let M=De.useMemo(()=>{if(!t)return o(u,!1);if(C!==_1||!f||f[0]!==f[1]){let B=o(u,!1);return[P5,L1].includes(C)?B:De.createElement("span",{style:Object.assign(Object.assign({},kh),{WebkitLineClamp:n})},B)}return o(i?u:F5(u,f[0]),v)},[i,C,f,u].concat(G(s))),A={width:r,margin:0,padding:0,whiteSpace:E==="nowrap"?"normal":"inherit"};return De.createElement(De.Fragment,null,M,C===E1&&De.createElement(De.Fragment,null,De.createElement(Th,{style:Object.assign(Object.assign(Object.assign({},A),kh),{WebkitLineClamp:n}),ref:S},d),De.createElement(Th,{style:Object.assign(Object.assign(Object.assign({},A),kh),{WebkitLineClamp:n-1}),ref:g},d),De.createElement(Th,{style:Object.assign(Object.assign(Object.assign({},A),kh),{WebkitLineClamp:1}),ref:p},o([],!0))),C===_1&&f&&f[0]!==f[1]&&De.createElement(Th,{style:Object.assign(Object.assign({},A),{top:400}),ref:h},o(F5(u,k),!0)),C===I1&&De.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var D5=R(O());var yV=({enableEllipsis:e,isEllipsis:t,children:r,tooltipProps:a})=>!a?.title||!e?r:D5.createElement(ec,Object.assign({open:t?void 0:!1},a),r),N5=yV;var xV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r};function SV({mark:e,code:t,underline:r,delete:a,strong:o,keyboard:n,italic:i},s){let l=s;function u(c,d){d&&(l=_e.createElement(c,{},l))}return u("strong",o),u("u",r),u("del",a),u("code",t),u("mark",e),u("kbd",n),u("i",i),l}var CV="...",H5=["delete","mark","code","underline","strong","keyboard","italic"],LV=_e.forwardRef((e,t)=>{var r;let{prefixCls:a,className:o,style:n,type:i,disabled:s,children:l,ellipsis:u,editable:c,copyable:d,component:f,title:m}=e,h=xV(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:y,direction:S}=_e.useContext(Tt),[g]=sf("Text"),p=_e.useRef(null),v=_e.useRef(null),b=y("typography",a),C=wn(h,H5),[L,x]=Bf(c),[I,E]=Ca(!1,{value:x.editing}),{triggerType:T=["icon"]}=x,k=Q=>{var ae;Q&&((ae=x.onStart)===null||ae===void 0||ae.call(x)),E(Q)},M=C5(I);Ge(()=>{var Q;!I&&M&&((Q=v.current)===null||Q===void 0||Q.focus())},[I]);let A=Q=>{Q?.preventDefault(),k(!0)},B=Q=>{var ae;(ae=x.onChange)===null||ae===void 0||ae.call(x,Q),k(!1)},H=()=>{var Q;(Q=x.onCancel)===null||Q===void 0||Q.call(x),k(!1)},[N,U]=Bf(d),{copied:F,copyLoading:j,onClick:W}=x5({copyConfig:U,children:l}),[K,z]=_e.useState(!1),[X,$]=_e.useState(!1),[ue,ne]=_e.useState(!1),[Re,Ne]=_e.useState(!1),[fe,we]=_e.useState(!0),[ye,J]=Bf(u,{expandable:!1,symbol:Q=>Q?g?.collapse:g?.expand}),[xe,Se]=Ca(J.defaultExpanded||!1,{value:J.expanded}),te=ye&&(!xe||J.expandable==="collapsible"),{rows:ee=1}=J,de=_e.useMemo(()=>te&&(J.suffix!==void 0||J.onEllipsis||J.expandable||L||N),[te,J,L,N]);Ge(()=>{ye&&!de&&(z(tv("webkitLineClamp")),$(tv("textOverflow")))},[de,ye]);let[Te,ke]=_e.useState(te),Vt=_e.useMemo(()=>de?!1:ee===1?X:K,[de,X,K]);Ge(()=>{ke(Vt&&te)},[Vt,te]);let Ae=te&&(Te?Re:ue),ze=te&&ee===1&&Te,yt=te&&ee>1&&Te,Ce=(Q,ae)=>{var Pt;Se(ae.expanded),(Pt=J.onExpand)===null||Pt===void 0||Pt.call(J,Q,ae)},[Jt,dt]=_e.useState(0),Oa=({offsetWidth:Q})=>{dt(Q)},Sr=Q=>{var ae;ne(Q),ue!==Q&&((ae=J.onEllipsis)===null||ae===void 0||ae.call(J,Q))};_e.useEffect(()=>{let Q=p.current;if(ye&&Te&&Q){let ae=O5(Q);Re!==ae&&Ne(ae)}},[ye,Te,l,yt,fe,Jt]),_e.useEffect(()=>{let Q=p.current;if(typeof IntersectionObserver>"u"||!Q||!Te||!te)return;let ae=new IntersectionObserver(()=>{we(!!Q.offsetParent)});return ae.observe(Q),()=>{ae.disconnect()}},[Te,te]);let qt=L5(J.tooltip,x.text,l),sr=_e.useMemo(()=>{if(!(!ye||Te))return[x.text,l,m,qt.title].find(Mf)},[ye,Te,m,qt.title,Ae]);if(I)return _e.createElement(f5,{value:(r=x.text)!==null&&r!==void 0?r:typeof l=="string"?l:"",onSave:B,onCancel:H,onEnd:x.onEnd,prefixCls:b,className:o,style:n,direction:S,component:f,maxLength:x.maxLength,autoSize:x.autoSize,enterIcon:x.enterIcon});let it=()=>{let{expandable:Q,symbol:ae}=J;return Q?_e.createElement("button",{type:"button",key:"expand",className:`${b}-${xe?"collapse":"expand"}`,onClick:Pt=>Ce(Pt,{expanded:!xe}),"aria-label":xe?g.collapse:g?.expand},typeof ae=="function"?ae(xe):ae):null},Qe=()=>{if(!L)return;let{icon:Q,tooltip:ae,tabIndex:Pt}=x,Xo=Ya(ae)[0]||g?.edit,Gi=typeof Xo=="string"?Xo:"";return T.includes("icon")?_e.createElement(ec,{key:"edit",title:ae===!1?"":Xo},_e.createElement("button",{type:"button",ref:v,className:`${b}-edit`,onClick:A,"aria-label":Gi,tabIndex:Pt},Q||_e.createElement(YT,{role:"button"}))):null},Fe=()=>N?_e.createElement(M5,Object.assign({key:"copy"},U,{prefixCls:b,copied:F,locale:g,onCopy:W,loading:j,iconOnly:l==null})):null,ce=Q=>[Q&&it(),Qe(),Fe()],xt=Q=>[Q&&!xe&&_e.createElement("span",{"aria-hidden":!0,key:"ellipsis"},CV),J.suffix,ce(Q)];return _e.createElement(Ai,{onResize:Oa,disabled:!te},Q=>_e.createElement(N5,{tooltipProps:qt,enableEllipsis:te,isEllipsis:Ae},_e.createElement(E5,Object.assign({className:(0,U5.default)({[`${b}-${i}`]:i,[`${b}-disabled`]:s,[`${b}-ellipsis`]:ye,[`${b}-ellipsis-single-line`]:ze,[`${b}-ellipsis-multiple-line`]:yt},o),prefixCls:a,style:Object.assign(Object.assign({},n),{WebkitLineClamp:yt?ee:void 0}),component:f,ref:Qa(Q,p,t),direction:S,onClick:T.includes("text")?A:void 0,"aria-label":sr?.toString(),title:m},C),_e.createElement(R1,{enableMeasure:te&&!Te,text:l,rows:ee,width:Jt,onEllipsis:Sr,expanded:xe,miscDeps:[F,xe,j,L,N,g].concat(G(H5.map(ae=>e[ae])))},(ae,Pt)=>SV(e,_e.createElement(_e.Fragment,null,ae.length>0&&Pt&&!xe&&sr?_e.createElement("span",{key:"show-content","aria-hidden":!0},ae):ae,xt(Pt)))))))}),$i=LV;var IV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},EV=Ah.forwardRef((e,t)=>{let{children:r}=e,a=IV(e,["children"]);return Ah.createElement($i,Object.assign({ref:t},a,{component:"div"}),r)}),z5=EV;var ac=R(O());var _V=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},RV=(e,t)=>{let{ellipsis:r,children:a}=e,o=_V(e,["ellipsis","children"]),n=ac.useMemo(()=>r&&typeof r=="object"?wn(r,["expandable","rows"]):r,[r]);return ac.createElement($i,Object.assign({ref:t},o,{ellipsis:n,component:"span"}),a)},V5=ac.forwardRef(RV);var Oh=R(O());var wV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},TV=[1,2,3,4,5],kV=Oh.forwardRef((e,t)=>{let{level:r=1,children:a}=e,o=wV(e,["level","children"]),n=TV.includes(r)?`h${r}`:"h1";return Oh.createElement($i,Object.assign({ref:t},o,{component:n}),a)}),q5=kV;var Bh=R(O());var AV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},OV=Bh.forwardRef((e,t)=>{let{ellipsis:r,rel:a,children:o,navigate:n}=e,i=AV(e,["ellipsis","rel","children","navigate"]),s=Object.assign(Object.assign({},i),{rel:a===void 0&&i.target==="_blank"?"noopener noreferrer":a});return Bh.createElement($i,Object.assign({},s,{ref:t,ellipsis:!!r,component:"a"}),o)}),$5=OV;var UV=R(O()),Jxe=R(fl());var BV=R(fl()),Ff=w({},BV),MV=Ff.version,w1=Ff.render,FV=Ff.unmountComponentAtNode,Fh;try{G5=Number((MV||"").split(".")[0]),G5>=18&&(Fh=Ff.createRoot)}catch{}var G5;function j5(e){var t=Ff.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&V(t)==="object"&&(t.usingClientEntryPoint=e)}var Mh="__rc_react_root__";function PV(e,t){j5(!0);var r=t[Mh]||Fh(t);j5(!1),r.render(e),t[Mh]=r}function DV(e,t){w1?.(e,t)}function W5(e,t){if(Fh){PV(e,t);return}DV(e,t)}function NV(e){return T1.apply(this,arguments)}function T1(){return T1=Wo(nr().mark(function e(t){return nr().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",Promise.resolve().then(function(){var o;(o=t[Mh])===null||o===void 0||o.unmount(),delete t[Mh]}));case 1:case"end":return a.stop()}},e)})),T1.apply(this,arguments)}function HV(e){FV(e)}function K5(e){return k1.apply(this,arguments)}function k1(){return k1=Wo(nr().mark(function e(t){return nr().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(Fh===void 0){a.next=2;break}return a.abrupt("return",NV(t));case 2:HV(t);case 3:case"end":return a.stop()}},e)})),k1.apply(this,arguments)}var zV=(e,t)=>(W5(e,t),()=>K5(t)),Y5=zV;function X5(e){return e&&(Y5=e),Y5}var Zs=R(O()),rM=R(qe());var VV=e=>{let{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Q5=nC("Wave",VV);var Dh=R(O());var Ph=`${Pu}-wave-target`;var yr=R(O()),J5=R(qe());function qV(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"&&e!=="canvastext"}function Z5(e){var t;let{borderTopColor:r,borderColor:a,backgroundColor:o}=getComputedStyle(e);return(t=[r,a,o].find(qV))!==null&&t!==void 0?t:null}function A1(e){return Number.isNaN(e)?0:e}var $V=e=>{let{className:t,target:r,component:a,registerUnmount:o}=e,n=yr.useRef(null),i=yr.useRef(null);yr.useEffect(()=>{i.current=o()},[]);let[s,l]=yr.useState(null),[u,c]=yr.useState([]),[d,f]=yr.useState(0),[m,h]=yr.useState(0),[y,S]=yr.useState(0),[g,p]=yr.useState(0),[v,b]=yr.useState(!1),C={left:d,top:m,width:y,height:g,borderRadius:u.map(I=>`${I}px`).join(" ")};s&&(C["--wave-color"]=s);function L(){let I=getComputedStyle(r);l(Z5(r));let E=I.position==="static",{borderLeftWidth:T,borderTopWidth:k}=I;f(E?r.offsetLeft:A1(-Number.parseFloat(T))),h(E?r.offsetTop:A1(-Number.parseFloat(k))),S(r.offsetWidth),p(r.offsetHeight);let{borderTopLeftRadius:M,borderTopRightRadius:A,borderBottomLeftRadius:B,borderBottomRightRadius:H}=I;c([M,A,H,B].map(N=>A1(Number.parseFloat(N))))}if(yr.useEffect(()=>{if(r){let I=Ja(()=>{L(),b(!0)}),E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(L),E.observe(r)),()=>{Ja.cancel(I),E?.disconnect()}}},[r]),!v)return null;let x=(a==="Checkbox"||a==="Radio")&&r?.classList.contains(Ph);return yr.createElement(zu,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(I,E)=>{var T,k;if(E.deadline||E.propertyName==="opacity"){let M=(T=n.current)===null||T===void 0?void 0:T.parentElement;(k=i.current)===null||k===void 0||k.call(i).then(()=>{M?.remove()})}return!1}},({className:I},E)=>yr.createElement("div",{ref:Qa(n,E),className:(0,J5.default)(t,I,{"wave-quick":x}),style:C}))},GV=(e,t)=>{var r;let{component:a}=t;if(a==="Checkbox"&&!(!((r=e.querySelector("input"))===null||r===void 0)&&r.checked))return;let o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e?.insertBefore(o,e?.firstChild);let n=X5(),i=null;function s(){return i}i=n(yr.createElement($V,Object.assign({},t,{target:e,registerUnmount:s})),o)},eM=GV;var jV=(e,t,r)=>{let{wave:a}=Dh.useContext(Tt),[,o,n]=Ur(),i=vt(u=>{let c=e.current;if(a?.disabled||!c)return;let d=c.querySelector(`.${Ph}`)||c,{showEffect:f}=a||{};(f||eM)(d,{className:t,token:o,component:r,event:u,hashId:n})}),s=Dh.useRef(null);return u=>{Ja.cancel(s.current),s.current=Ja(()=>{i(u)})}},tM=jV;var WV=e=>{let{children:t,disabled:r,component:a}=e,{getPrefixCls:o}=(0,Zs.useContext)(Tt),n=(0,Zs.useRef)(null),i=o("wave"),[,s]=Q5(i),l=tM(n,(0,rM.default)(i,s),a);if(Zs.default.useEffect(()=>{let c=n.current;if(!c||c.nodeType!==window.Node.ELEMENT_NODE||r)return;let d=f=>{!$v(f.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")&&!c.className.includes("disabled:")||c.getAttribute("aria-disabled")==="true"||c.className.includes("-leave")||l(f)};return c.addEventListener("click",d,!0),()=>{c.removeEventListener("click",d,!0)}},[r]),!Zs.default.isValidElement(t))return t??null;let u=yo(t)?Qa(wi(t),n):n;return Zu(t,{ref:u})},aM=WV;var xr=R(O()),B1=R(qe());var Js=R(O()),oM=R(qe());var KV=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:a,componentCls:o,calc:n}=e,i=n(a).sub(r).equal(),s=n(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},Gs(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Pf=e=>{let{lineWidth:t,fontSizeIcon:r,calc:a}=e,o=e.fontSizeSM;return Xt(e,{tagFontSize:o,tagLineHeight:Ee(a(e.lineHeightSM).mul(o).equal()),tagIconSize:a(r).sub(a(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Df=e=>({defaultBg:new $e(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Nh=Za("Tag",e=>{let t=Pf(e);return KV(t)},Df);var YV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},XV=Js.forwardRef((e,t)=>{let{prefixCls:r,style:a,className:o,checked:n,children:i,icon:s,onChange:l,onClick:u}=e,c=YV(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:d,tag:f}=Js.useContext(Tt),m=v=>{l?.(!n),u?.(v)},h=d("tag",r),[y,S,g]=Nh(h),p=(0,oM.default)(h,`${h}-checkable`,{[`${h}-checkable-checked`]:n},f?.className,o,S,g);return y(Js.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},a),f?.style),className:p,onClick:m}),s,Js.createElement("span",null,i)))}),nM=XV;var QV=e=>Uu(e,(t,{textColor:r,lightBorderColor:a,lightColor:o,darkColor:n})=>({[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:n,borderColor:n},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}})),iM=pf(["Tag","preset"],e=>{let t=Pf(e);return QV(t)},Df);function O1(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}var Hh=(e,t,r)=>{let a=O1(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${a}Bg`],borderColor:e[`color${a}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},sM=pf(["Tag","status"],e=>{let t=Pf(e);return[Hh(t,"success","Success"),Hh(t,"processing","Info"),Hh(t,"error","Error"),Hh(t,"warning","Warning")]},Df);var ZV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},JV=xr.forwardRef((e,t)=>{let{prefixCls:r,className:a,rootClassName:o,style:n,children:i,icon:s,color:l,onClose:u,bordered:c=!0,visible:d}=e,f=ZV(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:h,tag:y}=xr.useContext(Tt),[S,g]=xr.useState(!0),p=wn(f,["closeIcon","closable"]);xr.useEffect(()=>{d!==void 0&&g(d)},[d]);let v=dh(l),b=uB(l),C=v||b,L=Object.assign(Object.assign({backgroundColor:l&&!C?l:void 0},y?.style),n),x=m("tag",r),[I,E,T]=Nh(x),k=(0,B1.default)(x,y?.className,{[`${x}-${l}`]:C,[`${x}-has-color`]:l&&!C,[`${x}-hidden`]:!S,[`${x}-rtl`]:h==="rtl",[`${x}-borderless`]:!c},a,o,E,T),M=F=>{F.stopPropagation(),u?.(F),!F.defaultPrevented&&g(!1)},[,A]=V3(e1(e),e1(y),{closable:!1,closeIconRender:F=>{let j=xr.createElement("span",{className:`${x}-close-icon`,onClick:M},F);return o1(F,j,W=>({onClick:K=>{var z;(z=W?.onClick)===null||z===void 0||z.call(W,K),M(K)},className:(0,B1.default)(W?.className,`${x}-close-icon`)}))}}),B=typeof f.onClick=="function"||i&&i.type==="a",H=s||null,N=H?xr.createElement(xr.Fragment,null,H,i&&xr.createElement("span",null,i)):i,U=xr.createElement("span",Object.assign({},p,{ref:t,className:k,style:L}),N,A,v&&xr.createElement(iM,{key:"preset",prefixCls:x}),b&&xr.createElement(sM,{key:"status",prefixCls:x}));return I(B?xr.createElement(aM,{component:"Tag"},U):U)}),lM=JV;lM.CheckableTag=nM;var M1=lM;var oc={unsavedEditablePlan:"var(--vscode-gitDecoration-stageModifiedResourceForeground)",savedEditablePlan:"var(--vscode-notebookStatusSuccessIcon-foreground)",foreground:{default:"var(--vscode-foreground)",inputForeground:"var(--vscode-input-foreground)",inputPlaceholderForeground:"var(--vscode-input-placeholderForeground)",editorForeground:"var(--vscode-editor-foreground)",errorForeground:"var(--vscode-editorError-foreground)",errorForegroundAlt:"var(--vscode-errorForeground)",bannerForeground:"var(--vscode-banner-foreground)",warningForeground:"var(--vscode-editorWarning-foreground)",infoForeground:"var(--vscode-editorInfo-foreground)",warningBadgeForeground:"var(--vscode-activityWarningBadge-foreground)",activityBarBadgeForeground:"var(--vscode-activityBarBadge-foreground)",textLinkForeground:"var(--vscode-textLink-foreground)",textPreformatForeground:"var(--vscode-textPreformat-foreground)",descriptionForeground:"var(--vscode-descriptionForeground)",editorHoverWidgetForeground:"var(--vscode-editorHoverWidget-foreground)",dropdownForeground:"var(--vscode-dropdown-foreground)"},background:{default:"var(--vscode-editor-background)",inputBackground:"var(--vscode-input-background)",listHoverBackground:"var(--primary-soft)",listActiveSelectionBackground:"var(--primary-medium)",surfaceBackground:"var(--vscode-sideBar-background)",editorWidgetBackground:"var(--vscode-editorWidget-background)",editorHoverWidgetBackground:"var(--vscode-editorHoverWidget-background)",bannerBackground:"var(--vscode-banner-background)",tabActiveBackground:"var(--vscode-tab-activeBackground)",warningBadgeBackground:"var(--vscode-activityWarningBadge-background)",activityBarBadgeBackground:"var(--primary-soft)",welcomePageTileBackground:"var(--vscode-welcomePage-tileBackground)",welcomePageTileHoverBackground:"var(--vscode-welcomePage-tileHoverBackground)",inputOptionHoverBackground:"var(--vscode-inputOption-hoverBackground)",chartsBlue:"var(--vscode-charts-blue)",progressBar:"var(--vscode-progressBar-background)",notificationsBackground:"var(--vscode-notifications-background)",textBlockQuoteBackground:"var(--vscode-textBlockQuote-background)",scrollbarSliderBackground:"var(--vscode-scrollbarSlider-background)",panelBackground:"var(--vscode-panel-background)",dropdownBackground:"var(--vscode-dropdown-background)"},icon:{default:"var(--vscode-icon-foreground)",error:"var(--vscode-problemsErrorIcon-foreground)",warning:"var(--vscode-problemsWarningIcon-foreground)",info:"var(--vscode-problemsInfoIcon-foreground)",success:"var(--vscode-notebookStatusSuccessIcon-foreground)",folder:"var(--vscode-symbolIcon-folderForeground)",package:"var(--vscode-symbolIcon-packageForeground)"},button:{background:"var(--primary)",foreground:"var(--primary-foreground)",hoverBackground:"var(--primary-hover)",secondaryBackground:"var(--vscode-button-secondaryBackground)",secondaryForeground:"var(--vscode-button-secondaryForeground)",secondaryHoverBackground:"var(--vscode-button-secondaryHoverBackground)"},borderColors:{default:"var(--vscode-sideBySideEditor-horizontalBorder)",selectBorder:"var(--vscode-dropdown-border)",focus:"var(--primary-focus-border)",inputBorder:"var(--vscode-input-border)",cellBorder:"var(--vscode-notebook-cellToolbarSeparator)",welcomePageTileBorder:"var(--vscode-welcomePage-tileBorder)",editorHoverWidgetBorder:"var(--vscode-editorHoverWidget-border)",panelBorder:"var(--vscode-panel-border)",notificationsBorder:"var(--vscode-notifications-border)"},text:{warning:"var(--ant-color-warning)",link:"var(--vscode-textLink-foreground)"},diff:{insertedLineBackground:"var(--vscode-diffEditor-insertedLineBackground)",removedLineBackground:"var(--vscode-diffEditor-removedLineBackground)",insertedBorder:"var(--vscode-terminal-ansiGreen)",removedBorder:"var(--vscode-terminal-ansiRed)",addedForeground:"var(--vscode-gitDecoration-addedResourceForeground)",deletedForeground:"var(--vscode-gitDecoration-deletedResourceForeground)"},chatMode:{ask:"var(--vscode-charts-green)",plan:"var(--vscode-charts-yellow)",debug:"var(--vscode-charts-red)",design:"var(--vscode-terminal-ansiBrightMagenta)"},transparent:"transparent"};var pCe=Z(z5)`
202
+ `]:Object.assign(Object.assign({},Sv(e)),{marginInlineStart:e.marginXXS})}),l5(e)),u5(e)),c5()),{"&-rtl":{direction:"rtl"}})}},Yz=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),Sh=Za("Typography",Kz,Yz);var Xz=e=>{let{prefixCls:t,"aria-label":r,className:a,style:o,direction:n,maxLength:i,autoSize:s=!0,value:l,onSave:u,onCancel:c,onEnd:d,component:f,enterIcon:m=Ta.createElement(xB,null)}=e,h=Ta.useRef(null),y=Ta.useRef(!1),S=Ta.useRef(null),[g,p]=Ta.useState(l);Ta.useEffect(()=>{p(l)},[l]),Ta.useEffect(()=>{var B;if(!((B=h.current)===null||B===void 0)&&B.resizableTextArea){let{textArea:H}=h.current.resizableTextArea;H.focus();let{length:N}=H.value;H.setSelectionRange(N,N)}},[]);let v=({target:B})=>{p(B.value.replace(/[\n\r]/g,""))},b=()=>{y.current=!0},C=()=>{y.current=!1},L=({keyCode:B})=>{y.current||(S.current=B)},x=()=>{u(g.trim())},I=({keyCode:B,ctrlKey:H,altKey:N,metaKey:U,shiftKey:F})=>{S.current!==B||y.current||H||N||U||F||(B===p1.ENTER?(x(),d?.()):B===p1.ESC&&c())},E=()=>{x()},[T,k,M]=Sh(t),A=(0,d5.default)(t,`${t}-edit-content`,{[`${t}-rtl`]:n==="rtl",[`${t}-${f}`]:!!f},a,k,M);return T(Ta.createElement("div",{className:A,style:o},Ta.createElement(o5,{ref:h,maxLength:i,value:g,onChange:v,onKeyDown:L,onKeyUp:I,onCompositionStart:b,onCompositionEnd:C,onBlur:E,"aria-label":r,rows:1,autoSize:s}),m!==null?Zu(m,{className:`${t}-edit-content-confirm`}):null))},f5=Xz;var Qs=R(O()),y5=R(h5());var tV=(e,t=!1)=>t&&e==null?[]:Array.isArray(e)?e:[e],b5=tV;var rV=function(e,t,r,a){function o(n){return n instanceof r?n:new r(function(i){i(n)})}return new(r||(r=Promise))(function(n,i){function s(c){try{u(a.next(c))}catch(d){i(d)}}function l(c){try{u(a.throw(c))}catch(d){i(d)}}function u(c){c.done?n(c.value):o(c.value).then(s,l)}u((a=a.apply(e,t||[])).next())})},aV=({copyConfig:e,children:t})=>{let[r,a]=Qs.useState(!1),[o,n]=Qs.useState(!1),i=Qs.useRef(null),s=()=>{i.current&&clearTimeout(i.current)},l={};e.format&&(l.format=e.format),Qs.useEffect(()=>s,[]);let u=vt(c=>rV(void 0,void 0,void 0,function*(){var d;c?.preventDefault(),c?.stopPropagation(),n(!0);try{let f=typeof e.text=="function"?yield e.text():e.text;(0,y5.default)(f||b5(t,!0).join("")||"",l),n(!1),a(!0),s(),i.current=setTimeout(()=>{a(!1)},3e3),(d=e.onCopy)===null||d===void 0||d.call(e,c)}catch(f){throw n(!1),f}}));return{copied:r,copyLoading:o,onClick:u}},x5=aV;var S5=R(O());function Bf(e,t){return S5.useMemo(()=>{let r=!!e;return[r,Object.assign(Object.assign({},t),r&&typeof e=="object"?e:null)]},[e])}var Ch=R(O()),oV=e=>{let t=(0,Ch.useRef)(void 0);return(0,Ch.useEffect)(()=>{t.current=e}),t.current},C5=oV;var Lh=R(O()),nV=(e,t,r)=>(0,Lh.useMemo)(()=>e===!0?{title:t??r}:(0,Lh.isValidElement)(e)?{title:e}:typeof e=="object"?Object.assign({title:t??r},e):{title:e},[e,t,r]),L5=nV;var Ih=R(O()),I5=R(qe());var iV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},sV=Ih.forwardRef((e,t)=>{let{prefixCls:r,component:a="article",className:o,rootClassName:n,setContentRef:i,children:s,direction:l,style:u}=e,c=iV(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:d,direction:f,className:m,style:h}=Du("typography"),y=l??f,S=i?Qa(t,i):t,g=d("typography",r),[p,v,b]=Sh(g),C=(0,I5.default)(g,m,{[`${g}-rtl`]:y==="rtl"},o,n,v,b),L=Object.assign(Object.assign({},h),u);return p(Ih.createElement(a,Object.assign({className:C,style:L,ref:S},c),s))}),E5=sV;var rc=R(O());var Eh=R(O());var lV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},_5=lV;var uV=function(t,r){return Eh.createElement(la,ve({},t,{ref:r,icon:_5}))},cV=Eh.forwardRef(uV),R5=cV;var _h=R(O());var dV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},w5=dV;var fV=function(t,r){return _h.createElement(la,ve({},t,{ref:r,icon:w5}))},pV=_h.forwardRef(fV),T5=pV;var Rh=R(O());var mV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},k5=mV;var gV=function(t,r){return Rh.createElement(la,ve({},t,{ref:r,icon:k5}))},vV=Rh.forwardRef(gV),A5=vV;var B5=R(qe());function C1(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function wh(e,t,r){return e===!0||e===void 0?t:e||r&&t}function O5(e){let t=document.createElement("em");e.appendChild(t);let r=e.getBoundingClientRect(),a=t.getBoundingClientRect();return e.removeChild(t),r.left>a.left||a.right>r.right||r.top>a.top||a.bottom>r.bottom}var Mf=e=>["string","number"].includes(typeof e);var hV=({prefixCls:e,copied:t,locale:r,iconOnly:a,tooltips:o,icon:n,tabIndex:i,onCopy:s,loading:l})=>{let u=C1(o),c=C1(n),{copied:d,copy:f}=r??{},m=t?d:f,h=wh(u[t?1:0],m),y=typeof h=="string"?h:m;return rc.createElement(ec,{title:h},rc.createElement("button",{type:"button",className:(0,B5.default)(`${e}-copy`,{[`${e}-copy-success`]:t,[`${e}-copy-icon-only`]:a}),onClick:s,"aria-label":y,tabIndex:i},t?wh(c[1],rc.createElement(R5,null),!0):wh(c[0],l?rc.createElement(A5,null):rc.createElement(T5,null),!0)))},M5=hV;var De=R(O());var Th=De.forwardRef(({style:e,children:t},r)=>{let a=De.useRef(null);return De.useImperativeHandle(r,()=>({isExceed:()=>{let o=a.current;return o.scrollHeight>o.clientHeight},getHeight:()=>a.current.clientHeight})),De.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},e)},t)}),bV=e=>e.reduce((t,r)=>t+(Mf(r)?String(r).length:1),0);function F5(e,t){let r=0,a=[];for(let o=0;o<e.length;o+=1){if(r===t)return a;let n=e[o],s=Mf(n)?String(n).length:1,l=r+s;if(l>t){let u=t-r;return a.push(String(n).slice(0,u)),a}a.push(n),r=l}return e}var L1=0,I1=1,E1=2,_1=3,P5=4,kh={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function R1(e){let{enableMeasure:t,width:r,text:a,children:o,rows:n,expanded:i,miscDeps:s,onEllipsis:l}=e,u=De.useMemo(()=>Ya(a),[a]),c=De.useMemo(()=>bV(u),[a]),d=De.useMemo(()=>o(u,!1),[a]),[f,m]=De.useState(null),h=De.useRef(null),y=De.useRef(null),S=De.useRef(null),g=De.useRef(null),p=De.useRef(null),[v,b]=De.useState(!1),[C,L]=De.useState(L1),[x,I]=De.useState(0),[E,T]=De.useState(null);Ge(()=>{L(t&&r&&c?I1:L1)},[r,a,n,t,u]),Ge(()=>{var B,H,N,U;if(C===I1){L(E1);let F=y.current&&getComputedStyle(y.current).whiteSpace;T(F)}else if(C===E1){let F=!!(!((B=S.current)===null||B===void 0)&&B.isExceed());L(F?_1:P5),m(F?[0,c]:null),b(F);let j=((H=S.current)===null||H===void 0?void 0:H.getHeight())||0,W=n===1?0:((N=g.current)===null||N===void 0?void 0:N.getHeight())||0,K=((U=p.current)===null||U===void 0?void 0:U.getHeight())||0,z=Math.max(j,W+K);I(z+1),l(F)}},[C]);let k=f?Math.ceil((f[0]+f[1])/2):0;Ge(()=>{var B;let[H,N]=f||[0,0];if(H!==N){let F=(((B=h.current)===null||B===void 0?void 0:B.getHeight())||0)>x,j=k;N-H===1&&(j=F?H:N),m(F?[H,j]:[j,N])}},[f,k]);let M=De.useMemo(()=>{if(!t)return o(u,!1);if(C!==_1||!f||f[0]!==f[1]){let B=o(u,!1);return[P5,L1].includes(C)?B:De.createElement("span",{style:Object.assign(Object.assign({},kh),{WebkitLineClamp:n})},B)}return o(i?u:F5(u,f[0]),v)},[i,C,f,u].concat(G(s))),A={width:r,margin:0,padding:0,whiteSpace:E==="nowrap"?"normal":"inherit"};return De.createElement(De.Fragment,null,M,C===E1&&De.createElement(De.Fragment,null,De.createElement(Th,{style:Object.assign(Object.assign(Object.assign({},A),kh),{WebkitLineClamp:n}),ref:S},d),De.createElement(Th,{style:Object.assign(Object.assign(Object.assign({},A),kh),{WebkitLineClamp:n-1}),ref:g},d),De.createElement(Th,{style:Object.assign(Object.assign(Object.assign({},A),kh),{WebkitLineClamp:1}),ref:p},o([],!0))),C===_1&&f&&f[0]!==f[1]&&De.createElement(Th,{style:Object.assign(Object.assign({},A),{top:400}),ref:h},o(F5(u,k),!0)),C===I1&&De.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var D5=R(O());var yV=({enableEllipsis:e,isEllipsis:t,children:r,tooltipProps:a})=>!a?.title||!e?r:D5.createElement(ec,Object.assign({open:t?void 0:!1},a),r),N5=yV;var xV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r};function SV({mark:e,code:t,underline:r,delete:a,strong:o,keyboard:n,italic:i},s){let l=s;function u(c,d){d&&(l=_e.createElement(c,{},l))}return u("strong",o),u("u",r),u("del",a),u("code",t),u("mark",e),u("kbd",n),u("i",i),l}var CV="...",H5=["delete","mark","code","underline","strong","keyboard","italic"],LV=_e.forwardRef((e,t)=>{var r;let{prefixCls:a,className:o,style:n,type:i,disabled:s,children:l,ellipsis:u,editable:c,copyable:d,component:f,title:m}=e,h=xV(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:y,direction:S}=_e.useContext(Tt),[g]=sf("Text"),p=_e.useRef(null),v=_e.useRef(null),b=y("typography",a),C=wn(h,H5),[L,x]=Bf(c),[I,E]=Ca(!1,{value:x.editing}),{triggerType:T=["icon"]}=x,k=Q=>{var ae;Q&&((ae=x.onStart)===null||ae===void 0||ae.call(x)),E(Q)},M=C5(I);Ge(()=>{var Q;!I&&M&&((Q=v.current)===null||Q===void 0||Q.focus())},[I]);let A=Q=>{Q?.preventDefault(),k(!0)},B=Q=>{var ae;(ae=x.onChange)===null||ae===void 0||ae.call(x,Q),k(!1)},H=()=>{var Q;(Q=x.onCancel)===null||Q===void 0||Q.call(x),k(!1)},[N,U]=Bf(d),{copied:F,copyLoading:j,onClick:W}=x5({copyConfig:U,children:l}),[K,z]=_e.useState(!1),[X,$]=_e.useState(!1),[ue,ne]=_e.useState(!1),[Re,Ne]=_e.useState(!1),[fe,we]=_e.useState(!0),[ye,J]=Bf(u,{expandable:!1,symbol:Q=>Q?g?.collapse:g?.expand}),[xe,Se]=Ca(J.defaultExpanded||!1,{value:J.expanded}),te=ye&&(!xe||J.expandable==="collapsible"),{rows:ee=1}=J,de=_e.useMemo(()=>te&&(J.suffix!==void 0||J.onEllipsis||J.expandable||L||N),[te,J,L,N]);Ge(()=>{ye&&!de&&(z(tv("webkitLineClamp")),$(tv("textOverflow")))},[de,ye]);let[Te,ke]=_e.useState(te),Vt=_e.useMemo(()=>de?!1:ee===1?X:K,[de,X,K]);Ge(()=>{ke(Vt&&te)},[Vt,te]);let Ae=te&&(Te?Re:ue),ze=te&&ee===1&&Te,yt=te&&ee>1&&Te,Ce=(Q,ae)=>{var Pt;Se(ae.expanded),(Pt=J.onExpand)===null||Pt===void 0||Pt.call(J,Q,ae)},[Jt,dt]=_e.useState(0),Oa=({offsetWidth:Q})=>{dt(Q)},Sr=Q=>{var ae;ne(Q),ue!==Q&&((ae=J.onEllipsis)===null||ae===void 0||ae.call(J,Q))};_e.useEffect(()=>{let Q=p.current;if(ye&&Te&&Q){let ae=O5(Q);Re!==ae&&Ne(ae)}},[ye,Te,l,yt,fe,Jt]),_e.useEffect(()=>{let Q=p.current;if(typeof IntersectionObserver>"u"||!Q||!Te||!te)return;let ae=new IntersectionObserver(()=>{we(!!Q.offsetParent)});return ae.observe(Q),()=>{ae.disconnect()}},[Te,te]);let qt=L5(J.tooltip,x.text,l),sr=_e.useMemo(()=>{if(!(!ye||Te))return[x.text,l,m,qt.title].find(Mf)},[ye,Te,m,qt.title,Ae]);if(I)return _e.createElement(f5,{value:(r=x.text)!==null&&r!==void 0?r:typeof l=="string"?l:"",onSave:B,onCancel:H,onEnd:x.onEnd,prefixCls:b,className:o,style:n,direction:S,component:f,maxLength:x.maxLength,autoSize:x.autoSize,enterIcon:x.enterIcon});let it=()=>{let{expandable:Q,symbol:ae}=J;return Q?_e.createElement("button",{type:"button",key:"expand",className:`${b}-${xe?"collapse":"expand"}`,onClick:Pt=>Ce(Pt,{expanded:!xe}),"aria-label":xe?g.collapse:g?.expand},typeof ae=="function"?ae(xe):ae):null},Qe=()=>{if(!L)return;let{icon:Q,tooltip:ae,tabIndex:Pt}=x,Xo=Ya(ae)[0]||g?.edit,Gi=typeof Xo=="string"?Xo:"";return T.includes("icon")?_e.createElement(ec,{key:"edit",title:ae===!1?"":Xo},_e.createElement("button",{type:"button",ref:v,className:`${b}-edit`,onClick:A,"aria-label":Gi,tabIndex:Pt},Q||_e.createElement(YT,{role:"button"}))):null},Fe=()=>N?_e.createElement(M5,Object.assign({key:"copy"},U,{prefixCls:b,copied:F,locale:g,onCopy:W,loading:j,iconOnly:l==null})):null,ce=Q=>[Q&&it(),Qe(),Fe()],xt=Q=>[Q&&!xe&&_e.createElement("span",{"aria-hidden":!0,key:"ellipsis"},CV),J.suffix,ce(Q)];return _e.createElement(Ai,{onResize:Oa,disabled:!te},Q=>_e.createElement(N5,{tooltipProps:qt,enableEllipsis:te,isEllipsis:Ae},_e.createElement(E5,Object.assign({className:(0,U5.default)({[`${b}-${i}`]:i,[`${b}-disabled`]:s,[`${b}-ellipsis`]:ye,[`${b}-ellipsis-single-line`]:ze,[`${b}-ellipsis-multiple-line`]:yt},o),prefixCls:a,style:Object.assign(Object.assign({},n),{WebkitLineClamp:yt?ee:void 0}),component:f,ref:Qa(Q,p,t),direction:S,onClick:T.includes("text")?A:void 0,"aria-label":sr?.toString(),title:m},C),_e.createElement(R1,{enableMeasure:te&&!Te,text:l,rows:ee,width:Jt,onEllipsis:Sr,expanded:xe,miscDeps:[F,xe,j,L,N,g].concat(G(H5.map(ae=>e[ae])))},(ae,Pt)=>SV(e,_e.createElement(_e.Fragment,null,ae.length>0&&Pt&&!xe&&sr?_e.createElement("span",{key:"show-content","aria-hidden":!0},ae):ae,xt(Pt)))))))}),$i=LV;var IV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},EV=Ah.forwardRef((e,t)=>{let{children:r}=e,a=IV(e,["children"]);return Ah.createElement($i,Object.assign({ref:t},a,{component:"div"}),r)}),z5=EV;var ac=R(O());var _V=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},RV=(e,t)=>{let{ellipsis:r,children:a}=e,o=_V(e,["ellipsis","children"]),n=ac.useMemo(()=>r&&typeof r=="object"?wn(r,["expandable","rows"]):r,[r]);return ac.createElement($i,Object.assign({ref:t},o,{ellipsis:n,component:"span"}),a)},V5=ac.forwardRef(RV);var Oh=R(O());var wV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},TV=[1,2,3,4,5],kV=Oh.forwardRef((e,t)=>{let{level:r=1,children:a}=e,o=wV(e,["level","children"]),n=TV.includes(r)?`h${r}`:"h1";return Oh.createElement($i,Object.assign({ref:t},o,{component:n}),a)}),q5=kV;var Bh=R(O());var AV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},OV=Bh.forwardRef((e,t)=>{let{ellipsis:r,rel:a,children:o,navigate:n}=e,i=AV(e,["ellipsis","rel","children","navigate"]),s=Object.assign(Object.assign({},i),{rel:a===void 0&&i.target==="_blank"?"noopener noreferrer":a});return Bh.createElement($i,Object.assign({},s,{ref:t,ellipsis:!!r,component:"a"}),o)}),$5=OV;var UV=R(O()),eSe=R(fl());var BV=R(fl()),Ff=w({},BV),MV=Ff.version,w1=Ff.render,FV=Ff.unmountComponentAtNode,Fh;try{G5=Number((MV||"").split(".")[0]),G5>=18&&(Fh=Ff.createRoot)}catch{}var G5;function j5(e){var t=Ff.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&V(t)==="object"&&(t.usingClientEntryPoint=e)}var Mh="__rc_react_root__";function PV(e,t){j5(!0);var r=t[Mh]||Fh(t);j5(!1),r.render(e),t[Mh]=r}function DV(e,t){w1?.(e,t)}function W5(e,t){if(Fh){PV(e,t);return}DV(e,t)}function NV(e){return T1.apply(this,arguments)}function T1(){return T1=Wo(nr().mark(function e(t){return nr().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",Promise.resolve().then(function(){var o;(o=t[Mh])===null||o===void 0||o.unmount(),delete t[Mh]}));case 1:case"end":return a.stop()}},e)})),T1.apply(this,arguments)}function HV(e){FV(e)}function K5(e){return k1.apply(this,arguments)}function k1(){return k1=Wo(nr().mark(function e(t){return nr().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(Fh===void 0){a.next=2;break}return a.abrupt("return",NV(t));case 2:HV(t);case 3:case"end":return a.stop()}},e)})),k1.apply(this,arguments)}var zV=(e,t)=>(W5(e,t),()=>K5(t)),Y5=zV;function X5(e){return e&&(Y5=e),Y5}var Zs=R(O()),rM=R(qe());var VV=e=>{let{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Q5=nC("Wave",VV);var Dh=R(O());var Ph=`${Pu}-wave-target`;var yr=R(O()),J5=R(qe());function qV(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"&&e!=="canvastext"}function Z5(e){var t;let{borderTopColor:r,borderColor:a,backgroundColor:o}=getComputedStyle(e);return(t=[r,a,o].find(qV))!==null&&t!==void 0?t:null}function A1(e){return Number.isNaN(e)?0:e}var $V=e=>{let{className:t,target:r,component:a,registerUnmount:o}=e,n=yr.useRef(null),i=yr.useRef(null);yr.useEffect(()=>{i.current=o()},[]);let[s,l]=yr.useState(null),[u,c]=yr.useState([]),[d,f]=yr.useState(0),[m,h]=yr.useState(0),[y,S]=yr.useState(0),[g,p]=yr.useState(0),[v,b]=yr.useState(!1),C={left:d,top:m,width:y,height:g,borderRadius:u.map(I=>`${I}px`).join(" ")};s&&(C["--wave-color"]=s);function L(){let I=getComputedStyle(r);l(Z5(r));let E=I.position==="static",{borderLeftWidth:T,borderTopWidth:k}=I;f(E?r.offsetLeft:A1(-Number.parseFloat(T))),h(E?r.offsetTop:A1(-Number.parseFloat(k))),S(r.offsetWidth),p(r.offsetHeight);let{borderTopLeftRadius:M,borderTopRightRadius:A,borderBottomLeftRadius:B,borderBottomRightRadius:H}=I;c([M,A,H,B].map(N=>A1(Number.parseFloat(N))))}if(yr.useEffect(()=>{if(r){let I=Ja(()=>{L(),b(!0)}),E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(L),E.observe(r)),()=>{Ja.cancel(I),E?.disconnect()}}},[r]),!v)return null;let x=(a==="Checkbox"||a==="Radio")&&r?.classList.contains(Ph);return yr.createElement(zu,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(I,E)=>{var T,k;if(E.deadline||E.propertyName==="opacity"){let M=(T=n.current)===null||T===void 0?void 0:T.parentElement;(k=i.current)===null||k===void 0||k.call(i).then(()=>{M?.remove()})}return!1}},({className:I},E)=>yr.createElement("div",{ref:Qa(n,E),className:(0,J5.default)(t,I,{"wave-quick":x}),style:C}))},GV=(e,t)=>{var r;let{component:a}=t;if(a==="Checkbox"&&!(!((r=e.querySelector("input"))===null||r===void 0)&&r.checked))return;let o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e?.insertBefore(o,e?.firstChild);let n=X5(),i=null;function s(){return i}i=n(yr.createElement($V,Object.assign({},t,{target:e,registerUnmount:s})),o)},eM=GV;var jV=(e,t,r)=>{let{wave:a}=Dh.useContext(Tt),[,o,n]=Ur(),i=vt(u=>{let c=e.current;if(a?.disabled||!c)return;let d=c.querySelector(`.${Ph}`)||c,{showEffect:f}=a||{};(f||eM)(d,{className:t,token:o,component:r,event:u,hashId:n})}),s=Dh.useRef(null);return u=>{Ja.cancel(s.current),s.current=Ja(()=>{i(u)})}},tM=jV;var WV=e=>{let{children:t,disabled:r,component:a}=e,{getPrefixCls:o}=(0,Zs.useContext)(Tt),n=(0,Zs.useRef)(null),i=o("wave"),[,s]=Q5(i),l=tM(n,(0,rM.default)(i,s),a);if(Zs.default.useEffect(()=>{let c=n.current;if(!c||c.nodeType!==window.Node.ELEMENT_NODE||r)return;let d=f=>{!$v(f.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")&&!c.className.includes("disabled:")||c.getAttribute("aria-disabled")==="true"||c.className.includes("-leave")||l(f)};return c.addEventListener("click",d,!0),()=>{c.removeEventListener("click",d,!0)}},[r]),!Zs.default.isValidElement(t))return t??null;let u=yo(t)?Qa(wi(t),n):n;return Zu(t,{ref:u})},aM=WV;var xr=R(O()),B1=R(qe());var Js=R(O()),oM=R(qe());var KV=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:a,componentCls:o,calc:n}=e,i=n(a).sub(r).equal(),s=n(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},Gs(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Pf=e=>{let{lineWidth:t,fontSizeIcon:r,calc:a}=e,o=e.fontSizeSM;return Xt(e,{tagFontSize:o,tagLineHeight:Ee(a(e.lineHeightSM).mul(o).equal()),tagIconSize:a(r).sub(a(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Df=e=>({defaultBg:new $e(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Nh=Za("Tag",e=>{let t=Pf(e);return KV(t)},Df);var YV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},XV=Js.forwardRef((e,t)=>{let{prefixCls:r,style:a,className:o,checked:n,children:i,icon:s,onChange:l,onClick:u}=e,c=YV(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:d,tag:f}=Js.useContext(Tt),m=v=>{l?.(!n),u?.(v)},h=d("tag",r),[y,S,g]=Nh(h),p=(0,oM.default)(h,`${h}-checkable`,{[`${h}-checkable-checked`]:n},f?.className,o,S,g);return y(Js.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},a),f?.style),className:p,onClick:m}),s,Js.createElement("span",null,i)))}),nM=XV;var QV=e=>Uu(e,(t,{textColor:r,lightBorderColor:a,lightColor:o,darkColor:n})=>({[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:n,borderColor:n},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}})),iM=pf(["Tag","preset"],e=>{let t=Pf(e);return QV(t)},Df);function O1(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}var Hh=(e,t,r)=>{let a=O1(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${a}Bg`],borderColor:e[`color${a}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},sM=pf(["Tag","status"],e=>{let t=Pf(e);return[Hh(t,"success","Success"),Hh(t,"processing","Info"),Hh(t,"error","Error"),Hh(t,"warning","Warning")]},Df);var ZV=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},JV=xr.forwardRef((e,t)=>{let{prefixCls:r,className:a,rootClassName:o,style:n,children:i,icon:s,color:l,onClose:u,bordered:c=!0,visible:d}=e,f=ZV(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:h,tag:y}=xr.useContext(Tt),[S,g]=xr.useState(!0),p=wn(f,["closeIcon","closable"]);xr.useEffect(()=>{d!==void 0&&g(d)},[d]);let v=dh(l),b=uB(l),C=v||b,L=Object.assign(Object.assign({backgroundColor:l&&!C?l:void 0},y?.style),n),x=m("tag",r),[I,E,T]=Nh(x),k=(0,B1.default)(x,y?.className,{[`${x}-${l}`]:C,[`${x}-has-color`]:l&&!C,[`${x}-hidden`]:!S,[`${x}-rtl`]:h==="rtl",[`${x}-borderless`]:!c},a,o,E,T),M=F=>{F.stopPropagation(),u?.(F),!F.defaultPrevented&&g(!1)},[,A]=V3(e1(e),e1(y),{closable:!1,closeIconRender:F=>{let j=xr.createElement("span",{className:`${x}-close-icon`,onClick:M},F);return o1(F,j,W=>({onClick:K=>{var z;(z=W?.onClick)===null||z===void 0||z.call(W,K),M(K)},className:(0,B1.default)(W?.className,`${x}-close-icon`)}))}}),B=typeof f.onClick=="function"||i&&i.type==="a",H=s||null,N=H?xr.createElement(xr.Fragment,null,H,i&&xr.createElement("span",null,i)):i,U=xr.createElement("span",Object.assign({},p,{ref:t,className:k,style:L}),N,A,v&&xr.createElement(iM,{key:"preset",prefixCls:x}),b&&xr.createElement(sM,{key:"status",prefixCls:x}));return I(B?xr.createElement(aM,{component:"Tag"},U):U)}),lM=JV;lM.CheckableTag=nM;var M1=lM;var oc={unsavedEditablePlan:"var(--vscode-gitDecoration-stageModifiedResourceForeground)",savedEditablePlan:"var(--vscode-notebookStatusSuccessIcon-foreground)",foreground:{default:"var(--vscode-foreground)",inputForeground:"var(--vscode-input-foreground)",inputPlaceholderForeground:"var(--vscode-input-placeholderForeground)",editorForeground:"var(--vscode-editor-foreground)",errorForeground:"var(--vscode-editorError-foreground)",errorForegroundAlt:"var(--vscode-errorForeground)",bannerForeground:"var(--vscode-banner-foreground)",warningForeground:"var(--vscode-editorWarning-foreground)",infoForeground:"var(--vscode-editorInfo-foreground)",warningBadgeForeground:"var(--vscode-activityWarningBadge-foreground)",activityBarBadgeForeground:"var(--vscode-activityBarBadge-foreground)",textLinkForeground:"var(--vscode-textLink-foreground)",textPreformatForeground:"var(--vscode-textPreformat-foreground)",descriptionForeground:"var(--vscode-descriptionForeground)",editorHoverWidgetForeground:"var(--vscode-editorHoverWidget-foreground)",dropdownForeground:"var(--vscode-dropdown-foreground)"},background:{default:"var(--vscode-editor-background)",inputBackground:"var(--vscode-input-background)",listHoverBackground:"var(--primary-soft)",listActiveSelectionBackground:"var(--primary-medium)",surfaceBackground:"var(--vscode-sideBar-background)",editorWidgetBackground:"var(--vscode-editorWidget-background)",editorHoverWidgetBackground:"var(--vscode-editorHoverWidget-background)",bannerBackground:"var(--vscode-banner-background)",tabActiveBackground:"var(--vscode-tab-activeBackground)",warningBadgeBackground:"var(--vscode-activityWarningBadge-background)",activityBarBadgeBackground:"var(--primary-soft)",welcomePageTileBackground:"var(--vscode-welcomePage-tileBackground)",welcomePageTileHoverBackground:"var(--vscode-welcomePage-tileHoverBackground)",inputOptionHoverBackground:"var(--vscode-inputOption-hoverBackground)",chartsBlue:"var(--vscode-charts-blue)",progressBar:"var(--vscode-progressBar-background)",notificationsBackground:"var(--vscode-notifications-background)",textBlockQuoteBackground:"var(--vscode-textBlockQuote-background)",scrollbarSliderBackground:"var(--vscode-scrollbarSlider-background)",panelBackground:"var(--vscode-panel-background)",dropdownBackground:"var(--vscode-dropdown-background)"},icon:{default:"var(--vscode-icon-foreground)",error:"var(--vscode-problemsErrorIcon-foreground)",warning:"var(--vscode-problemsWarningIcon-foreground)",info:"var(--vscode-problemsInfoIcon-foreground)",success:"var(--vscode-notebookStatusSuccessIcon-foreground)",folder:"var(--vscode-symbolIcon-folderForeground)",package:"var(--vscode-symbolIcon-packageForeground)"},button:{background:"var(--primary)",foreground:"var(--primary-foreground)",hoverBackground:"var(--primary-hover)",secondaryBackground:"var(--vscode-button-secondaryBackground)",secondaryForeground:"var(--vscode-button-secondaryForeground)",secondaryHoverBackground:"var(--vscode-button-secondaryHoverBackground)"},borderColors:{default:"var(--vscode-sideBySideEditor-horizontalBorder)",selectBorder:"var(--vscode-dropdown-border)",focus:"var(--primary-focus-border)",inputBorder:"var(--vscode-input-border)",cellBorder:"var(--vscode-notebook-cellToolbarSeparator)",welcomePageTileBorder:"var(--vscode-welcomePage-tileBorder)",editorHoverWidgetBorder:"var(--vscode-editorHoverWidget-border)",panelBorder:"var(--vscode-panel-border)",notificationsBorder:"var(--vscode-notifications-border)"},text:{warning:"var(--ant-color-warning)",link:"var(--vscode-textLink-foreground)"},diff:{insertedLineBackground:"var(--vscode-diffEditor-insertedLineBackground)",removedLineBackground:"var(--vscode-diffEditor-removedLineBackground)",insertedBorder:"var(--vscode-terminal-ansiGreen)",removedBorder:"var(--vscode-terminal-ansiRed)",addedForeground:"var(--vscode-gitDecoration-addedResourceForeground)",deletedForeground:"var(--vscode-gitDecoration-deletedResourceForeground)"},chatMode:{ask:"var(--vscode-charts-green)",plan:"var(--vscode-charts-yellow)",debug:"var(--vscode-charts-red)",design:"var(--vscode-terminal-ansiBrightMagenta)"},transparent:"transparent"};var mCe=Z(z5)`
203
203
  ${({size:e,theme:t})=>e?`--ant-font-size: ${t.fontSize(e)}; --ant-line-height: ${t.lineHeight(e)};`:`--ant-font-size: inherit; font-size: inherit; --ant-line-height: ${wo.sm}; line-height: ${wo.sm};`}
204
204
  margin-bottom: ${({mb:e="sm",theme:t})=>t.space(e)} !important;
205
205
  opacity: ${({$lighter:e})=>e?"0.6":"0.8"};
206
206
  ${({align:e})=>e&&`text-align: ${e} !important;`}
207
- `,mCe=Z(V5)`
207
+ `,gCe=Z(V5)`
208
208
  ${({size:e,theme:t})=>e?`--ant-font-size: ${t.fontSize(e)};`:`--ant-font-size: inherit; font-size: inherit; --ant-line-height: ${wo.sm}; line-height: ${wo.sm};`}
209
209
  opacity: ${({$lighter:e,opacity:t})=>t||(e?.6:.8)};
210
210
  ${({ellipsis:e})=>e&&"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"}
211
211
  ${({color:e})=>e?`color: ${e};`:""}
212
212
  ${({weight:e})=>e&&`font-weight: ${e};`}
213
213
  ${({align:e})=>e&&`text-align: ${e} !important;`}
214
- `,gCe=Z(q5)`
214
+ `,vCe=Z(q5)`
215
215
  --ant-typography-title-margin-bottom: ${({mb:e="md",theme:t})=>t.spacing[e]} !important;
216
216
  ${({mt:e,theme:t})=>e!==void 0&&`margin-top: ${t.space(e)} !important;`}
217
217
  ${({size:e,theme:t})=>e!==void 0&&`font-size: ${t.fontSize(e)} !important;`}
218
218
  ${({weight:e,theme:t})=>e&&`font-weight: ${t.fontWeight(e)} !important;`}
219
219
  ${({align:e})=>e&&`text-align: ${e} !important;`}
220
- `,vCe=Z($5)`
220
+ `,hCe=Z($5)`
221
221
  ${({size:e,theme:t})=>e?`--ant-font-size: ${t.fontSize(e)};`:`--ant-font-size: inherit; font-size: inherit; --ant-line-height: ${wo.sm}; line-height: ${wo.sm};`}
222
222
  opacity: ${({$lighter:e})=>e?"0.6":"0.8"};
223
223
  ${({ellipsis:e})=>e&&"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"}
224
224
  ${({underline:e})=>e&&"text-decoration: underline !important;"}
225
225
  ${({$underlineOnHover:e})=>e&&"&:hover { text-decoration: underline !important; }"}
226
226
  ${({color:e})=>e?`color: ${e} !important;`:""}
227
- `,hCe=Z(M1)`
227
+ `,bCe=Z(M1)`
228
228
  padding: 0 var(--spacing-xs);
229
229
  ${({color:e})=>e&&`color: ${e} !important;`}
230
230
  ${({background:e})=>e&&`background: ${e} !important;`}
231
231
  ${({borderColor:e})=>e&&`border-color: ${e} !important;`}
232
232
  ${({size:e,theme:t})=>e&&`font-size: ${t.fontSize(e)} !important;`}
233
233
  ${({weight:e,theme:t})=>e&&`font-weight: ${t.fontWeight(e)} !important;`}
234
- `,nc={primary:13,secondary:12,tertiary:11},el={xl_2:"24px",xl_1:"20px",xl:"18px",lg:"16px",md:"var(--font-size-primary)",md_1:"var(--font-size-primary)",sm:"var(--font-size-secondary)",sm_1:"var(--font-size-tertiary)",xs:"var(--font-size-tertiary)",xxs:"var(--font-size-tertiary)"},bCe={xl_2:24,xl_1:20,xl:18,lg:16,md:nc.primary,md_1:nc.primary,sm:nc.secondary,sm_1:nc.tertiary,xs:nc.tertiary,xxs:nc.tertiary};var wo={xl_2:"1.8",xl_1:"1.8",xxl:"1.8",xl:"1.6",lg:"1.6",md:"1.6",md_1:"1.6",sm:"1.6",xs:"1.5",sm_1:"1.5",xxs:"1.5",xxxs:"1.4",1:"1"};var F1={normal:"400",medium:"500",semibold:"600",bold:"700"};var P1={xxxl:"48px",xxl:"32px",xl:"24px",xl_1:"22px",lg_2:"20px",lg_1:"18px",lg:"16px",md_1:"14px",md:"12px",sm:"8px",xs_1:"6px",xs:"4px",xxs:"2px",0:"0px","-ve-sm":"-8px"};var D1={pill:"999px",linearProgress:"100px",lg_2:"10px",lg:"8px",md:"5px",sm:"4px",xs:"2px",none:"0px"};var N1={slow:"0.3s",normal:"0.2s",fast:"0.15s",instant:"0s"};var H1={maxWrapperWidth:"440px"};var eq={globalNotifications:99999999,systemTooltips:999999,criticalTooltips:100006,criticalOverlaysOrModals:100005,pages:100003,modals:99999,modalBackdrops:10003,mentionTooltips:1e4,loadingOverlays:9999,resizeHandles:9998,navigationPanels:2e3,pageHeaders:1e3,generalTooltips:1e3,scrollButtons:999,actionButtons:999,overlayControls:999,stickyHeaders:100,contentDividers:35,actionPills:10,thumbnails:9,searchBars:1,buttonLabels:1,pageBackgrounds:0};function uM(e){return eq[e]}var ic={tintPercent:65,blurPx:8,saturatePercent:140,get alpha(){return this.tintPercent/100}},LCe=In`
234
+ `,nc={primary:13,secondary:12,tertiary:11},el={xl_2:"24px",xl_1:"20px",xl:"18px",lg:"16px",md:"var(--font-size-primary)",md_1:"var(--font-size-primary)",sm:"var(--font-size-secondary)",sm_1:"var(--font-size-tertiary)",xs:"var(--font-size-tertiary)",xxs:"var(--font-size-tertiary)"},yCe={xl_2:24,xl_1:20,xl:18,lg:16,md:nc.primary,md_1:nc.primary,sm:nc.secondary,sm_1:nc.tertiary,xs:nc.tertiary,xxs:nc.tertiary};var wo={xl_2:"1.8",xl_1:"1.8",xxl:"1.8",xl:"1.6",lg:"1.6",md:"1.6",md_1:"1.6",sm:"1.6",xs:"1.5",sm_1:"1.5",xxs:"1.5",xxxs:"1.4",1:"1"};var F1={normal:"400",medium:"500",semibold:"600",bold:"700"};var P1={xxxl:"48px",xxl:"32px",xl:"24px",xl_1:"22px",lg_2:"20px",lg_1:"18px",lg:"16px",md_1:"14px",md:"12px",sm:"8px",xs_1:"6px",xs:"4px",xxs:"2px",0:"0px","-ve-sm":"-8px"};var D1={pill:"999px",linearProgress:"100px",lg_2:"10px",lg:"8px",md:"5px",sm:"4px",xs:"2px",none:"0px"};var N1={slow:"0.3s",normal:"0.2s",fast:"0.15s",instant:"0s"};var H1={maxWrapperWidth:"440px"};var eq={globalNotifications:99999999,systemTooltips:999999,criticalTooltips:100006,criticalOverlaysOrModals:100005,pages:100003,modals:99999,modalBackdrops:10003,mentionTooltips:1e4,loadingOverlays:9999,resizeHandles:9998,navigationPanels:2e3,pageHeaders:1e3,generalTooltips:1e3,scrollButtons:999,actionButtons:999,overlayControls:999,stickyHeaders:100,contentDividers:35,actionPills:10,thumbnails:9,searchBars:1,buttonLabels:1,pageBackgrounds:0};function uM(e){return eq[e]}var ic={tintPercent:65,blurPx:8,saturatePercent:140,get alpha(){return this.tintPercent/100}},ICe=In`
235
235
  background: color-mix(in srgb, ${oc.background.default} ${ic.tintPercent}%, transparent);
236
236
  backdrop-filter: blur(${ic.blurPx}px) saturate(${ic.saturatePercent}%);
237
237
  -webkit-backdrop-filter: blur(${ic.blurPx}px) saturate(${ic.saturatePercent}%);
@@ -243,7 +243,7 @@ html body {
243
243
  body.kombai-no-glass & {
244
244
  background: ${oc.background.default};
245
245
  }
246
- `,ICe=In`
246
+ `,ECe=In`
247
247
  background: rgba(0, 0, 0, ${ic.alpha});
248
248
  `;var cM={typography:{bodyFontSizeKey:"md",bodyLineHeightKey:"md_1",pillFontSizeKey:"sm_1",hintFontSizeKey:"xs",get bodyFontSize(){return el[this.bodyFontSizeKey]},get bodyLineHeight(){return wo[this.bodyLineHeightKey]},get pillFontSize(){return el[this.pillFontSizeKey]},get hintFontSize(){return el[this.hintFontSizeKey]}}};var dM={fontSizes:el,lineHeights:wo,fontWeights:F1,spacing:P1,borderRadius:D1,transitions:N1,width:H1,colors:oc,chatTokens:cM,fontSize:(e="md")=>el[e],lineHeight:(e="md")=>wo[e],fontWeight:(e="normal")=>F1[e],space:(e="md")=>P1[e],radius:(e="md")=>D1[e],transition:(e="normal")=>N1[e],widthValue:e=>H1[e],zIndex:e=>uM(e)};var vM=R(ka()),gM=({children:e})=>(0,vM.jsx)(zR,{theme:dM,children:e});var hM=(e,t)=>e==="year"||t==="year",zh=(e,t,r)=>r?tT(t,Gd(e)):t,aq=(e,t,r)=>{let a=xg(e);if(a===t)return e;let o=hM(a,t),n=zh(e,yg(e),o);return r.find(i=>zh(i.lookupKey,i.credits,o)===n)?.lookupKey??null},oq=(e,t,r,a=null)=>{if(e.length===0)return null;if(a&&e.some(i=>i.lookupKey===a))return a;let o=hM(xg(r),t),n=zh(r,yg(r),o);return e.find(i=>zh(i.lookupKey,i.credits,o)>n)?.lookupKey??e[e.length-1].lookupKey},nq=(e,t,r,a,o=null)=>{let n=a?aq(a,t,e):null;return n&&e.some(s=>s.lookupKey===n)?n:oq(e,t,r,o)},bM=(e,t,r,a)=>{let o=Su(e,t);if(o.length===0)return{selectOptions:[],selectedLookupKey:null};let n=[...o].sort((y,S)=>y.amount-S.amount),i=yg(r.lookupKey),s=eT(r.lookupKey),l=n.map(y=>({lookupKey:y.lookupKey,credits:parseInt(y.lookupKey.split("_")[3]),frequency:y.frequency})),u=l.filter(y=>y.frequency===t),d=Cu(e)&&r.subscriptionStatus==="Free"?n.find(y=>y.recommended)?.lookupKey??null:null,f=nq(u.length>0?u:l,t,r.lookupKey,a,d),m=t==="year"?"month":Sg(e,t);return{selectOptions:n.map(y=>{let S=y.lookupKey.split("_")[3],g=!1;s&&(y.frequency!=="year"||parseInt(S)<=i)&&(g=!0);let p=Cg(y,r),v=`$${y.amount}`;return y.frequency==="year"?v=`$${y.priceToShow}`:p&&(v=`$${p.discountedPrice} first ${m}`),{value:y.lookupKey,label:`${S} credits / ${m} (${v}) ${r.lookupKey===y.lookupKey?"- current plan":""}`,disabled:g}}),selectedLookupKey:f}};var yM="Save 20%";var iq={month:"Monthly",quarter:"Quarterly",year:"Yearly"},xM=e=>iq[e],SM=(e,t)=>{let r=aT(e);return t?r:r.filter(a=>a!=="quarter")},CM=e=>{let t=Gd(e);return t==="quarter"||t==="year"?t:"month"},LM=(e,t,r)=>Cu(e)?"month":t==="quarter"&&!r.includes("quarter")?"month":t;var sc=R(ka()),sq=Z.div`
249
249
  display: flex;
@@ -339,13 +339,15 @@ html body {
339
339
  }
340
340
  `,pq=Z.div`
341
341
  display: flex;
342
- align-items: center;
342
+ align-items: ${e=>e.$top?"flex-start":"center"};
343
343
  gap: 10px;
344
344
  min-width: 0;
345
345
  `,mq=Z.span`
346
346
  position: relative;
347
347
  flex: none;
348
348
  display: flex;
349
+ /* Centred on the title's 24px first line. */
350
+ ${e=>e.$top?"margin-top: 2px;":""}
349
351
  `,gq=Z.img`
350
352
  width: 20px;
351
353
  height: 20px;
@@ -369,8 +371,11 @@ html body {
369
371
  font-weight: 600;
370
372
  line-height: 24px;
371
373
  color: var(--vscode-foreground);
374
+ ${e=>e.$lines?`display: -webkit-box; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical;
375
+ -webkit-line-clamp: ${e.$lines};`:""}
372
376
  `,RM=Z(oo)`
373
377
  flex: none;
378
+ ${e=>e.$top?"line-height: 24px;":""}
374
379
  `,bq=Z(RM)`
375
380
  margin-left: auto;
376
381
  `,yq=Z.div`
@@ -379,7 +384,7 @@ html body {
379
384
  font-size: var(--font-size-primary);
380
385
  line-height: 20px;
381
386
  color: ${e=>e.theme.colors.foreground.descriptionForeground};
382
- `;function Hf({title:e,body:t,guest:r=!1,done:a=!1,aside:o}){return(0,Zt.jsxs)("div",{children:[(0,Zt.jsxs)(pq,{children:[(0,Zt.jsxs)(mq,{children:[(0,Zt.jsx)(gq,{src:EM,alt:""}),a&&(0,Zt.jsx)(vq,{"aria-hidden":!0,children:(0,Zt.jsx)(bs,{size:10,strokeWidth:3})})]}),(0,Zt.jsx)(hq,{children:e}),r&&(0,Zt.jsx)(RM,{children:"Guest"}),o&&(0,Zt.jsx)(bq,{children:o})]}),t&&(0,Zt.jsx)(yq,{children:t})]})}var Uf=Z.div`
387
+ `;function Hf({title:e,body:t,guest:r=!1,done:a=!1,aside:o,titleLines:n}){let i=n!==void 0;return(0,Zt.jsxs)("div",{children:[(0,Zt.jsxs)(pq,{$top:i,children:[(0,Zt.jsxs)(mq,{$top:i,children:[(0,Zt.jsx)(gq,{src:EM,alt:""}),a&&(0,Zt.jsx)(vq,{"aria-hidden":!0,children:(0,Zt.jsx)(bs,{size:10,strokeWidth:3})})]}),(0,Zt.jsx)(hq,{$lines:n,title:i&&typeof e=="string"?e:void 0,children:e}),r&&(0,Zt.jsx)(RM,{$top:i,children:"Guest"}),o&&(0,Zt.jsx)(bq,{$top:i,children:o})]}),t&&(0,Zt.jsx)(yq,{children:t})]})}var Uf=Z.div`
383
388
  border: 1px solid ${Ko(10)};
384
389
  border-radius: ${e=>e.theme.borderRadius.lg};
385
390
  background: ${Ko(4)};
@@ -2633,7 +2638,7 @@ body.vscode-light {
2633
2638
  --vscode-widget-border: #2a2b2c;
2634
2639
  --vscode-widget-shadow: rgba(0, 0, 0, 0.36);
2635
2640
  }
2636
- `;var PM=e=>e==="dark"?FM:MM,DM="vscode-light";var Tq=`
2641
+ `;var PM=e=>e==="dark"?FM:MM;var DM="vscode-light";var Tq=`
2637
2642
  /* The desktop app resets this globally; without it a full-width row plus its padding overflows the frame. */
2638
2643
  *, *::before, *::after { box-sizing: border-box; }
2639
2644
  html, body { margin: 0; background: transparent; }
@@ -2642,46 +2647,46 @@ body {
2642
2647
  font-size: var(--font-size-primary);
2643
2648
  color: var(--vscode-foreground);
2644
2649
  }
2645
- `,NM=document.createElement("style"),HM=document.createElement("style");HM.textContent=Tq;document.head.append(NM,HM);function V1(e){NM.textContent=PM(e),document.documentElement.style.colorScheme=e,document.body?.classList.toggle(DM,e==="light")}V1(window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light");var jh=(l=>(l.CanvasFull="canvas_full",l.SecondCanvas="second_canvas",l.Taste="taste",l.Assets="assets",l.RepoImages="repo_images",l.Account="account",l.Ending="ending",l.Start="start",l))(jh||{});var kq=/^[A-Za-z0-9_-]{1,64}$/,Aq=Object.values(jh);function q1(e){let t=e.structuredContent;if(!kt(t)||!kt(t.sign_in))return null;let{reason:r,line:a}=t.sign_in;return typeof a!="string"||a===""?null:{reason:typeof r=="string"&&Aq.includes(r)?r:"account",line:a,guest:t.sign_in.guest===!0,appBrowser:Oq(t.sign_in.app_browser)}}function Oq(e){return typeof e=="string"&&/^[A-Za-z][A-Za-z0-9 ]{0,31}$/.test(e)?e:null}var Bq=/^codex:\/\/browser\?url=[^\s#]+$/,Gh={status:"failed",error:null};function Mq(e){if(!Array.isArray(e))return[];let t=new Map;for(let r of e)!kt(r)||typeof r.id!="string"||!kq.test(r.id)||typeof r.name!="string"||t.has(r.id)||t.set(r.id,{id:r.id,name:r.name});return[...t.values()]}var Fq=/^https:\/\/[^\s]+$/;function Pq(e){let t=typeof e.canvas_name=="string"&&e.canvas_name!==""?e.canvas_name:null,r=typeof e.designs=="number"&&Number.isInteger(e.designs)&&e.designs>=0?e.designs:null,a=typeof e.url=="string"&&Fq.test(e.url)?e.url:null;return t===null&&r===null&&a===null?null:{name:t,designs:r,url:a}}function UM(e){let t=e.structuredContent;if(!kt(t))return Gh;switch(t.status){case"signing_in":return{status:"signing_in",match_code:typeof t.match_code=="string"&&t.match_code!==""?t.match_code:null,openLink:typeof t.open_link=="string"&&Bq.test(t.open_link)?t.open_link:null,openNow:t.open_now===!0};case"claimed":return typeof t.canvas=="string"?{status:"claimed",canvas:t.canvas,moved:Pq(t),besideChat:t.beside_chat===!0}:Gh;case"needs_org":{let r=Mq(t.orgs);return r.length?{status:"needs_org",orgs:r}:Gh}case"claim_pending":return{status:"claim_pending"};case"signed_in":return{status:"signed_in"};case"guest":return{status:"guest"};case"failed":{let{error:r}=t;return{status:"failed",error:kt(r)&&typeof r.code=="string"&&typeof r.message=="string"&&r.message!==""?{code:r.code,message:r.message}:null}}default:return Gh}}var Hn=R(O());var uc="Your guest canvas comes with you, at the same link.",Dq=20,zM=30,Nq={canvas_full:{title:"Your guest canvas is full",body:`Sign in to keep designing. ${uc}`},second_canvas:{title:"Sign in to make more canvases",body:`A guest gets one canvas. ${uc}`},taste:{title:"Sign in to explore design directions",body:`Taste explores several directions before Kombai designs, and needs an account. ${uc}`},assets:{title:"Sign in to make AI images and video",body:`Kombai makes AI images and video with your account's credits, so they need an account. ${uc}`},repo_images:{title:"Sign in to use your project's images",body:`Guests can't upload images from this project. ${uc}`}};function VM(e){switch(e.reason){case"start":return e.guest?{title:"Kombai works best signed in",body:`Sign in for Taste, AI images and video, your project's images, design systems and sharing. Or try it without an account: one canvas, kept for ${zM} days.`}:{title:"Sign in to Kombai",body:"This machine has signed in to Kombai before. Sign in again to keep designing."};case"ending":return{title:"Keep your canvas",body:`${e.line} Sign in to keep it and every design on it.`};case"account":return{title:"Sign in to Kombai",body:`${e.line} ${uc}`};default:return Nq[e.reason]}}function qM(e){return e?`Opens Kombai in ${e}\u2019s browser.`:"Opens Kombai in your browser."}function $M(e){let t=e?`${e}\u2019s browser`:"your browser";return{title:`Approve in ${t}`,body:`Check that ${t} shows this code, then approve.`}}var Wh={status:"Waiting for approval\u2026",reopen:"Open the page again",cancel:"Cancel"},cc={title:"You're signed in",body:"This canvas is now in your Kombai account, at the same link.",open:"Open canvas",next:"Tell your agent to carry on.",besideChat:"Ask your agent to show it beside this chat, or to carry on."},$1={title:"You're signed in",body:"Tell your agent to carry on."},GM="Try without an account",Kh={title:"You're trying Kombai as a guest",body:`One canvas with up to ${Dq} designs, kept for ${zM} days. Sign in any time to keep it.`,next:"Tell your agent to carry on."},G1=["Explore directions with Taste","Make AI images and video","Make more canvases","Use your project's images","Share canvases with your team"];function jM(e){return e===null?null:e===1?"1 design":`${e} designs`}var j1={title:"Your canvas is still moving",body:"You're signed in, but moving this canvas into your account didn't finish."},W1={title:"Choose where this canvas goes",body:"You're in more than one organization. The canvas moves into the one you pick."};var zr=R(ka());function Nn({title:e,body:t,guest:r=!0,done:a=!1,children:o}){return(0,zr.jsxs)(qh,{"aria-live":"polite",children:[(0,zr.jsx)(Hf,{title:e,body:t,guest:r,done:a}),o]})}var Hq=Z(Uf)`
2650
+ `,NM=document.createElement("style"),HM=document.createElement("style");HM.textContent=Tq;document.head.append(NM,HM);var kq="light";function V1(e){kq=e,NM.textContent=PM(e),document.documentElement.style.colorScheme=e,document.body?.classList.toggle(DM,e==="light")}V1(window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light");var jh=(l=>(l.CanvasFull="canvas_full",l.SecondCanvas="second_canvas",l.Taste="taste",l.Assets="assets",l.RepoImages="repo_images",l.Account="account",l.Ending="ending",l.Start="start",l))(jh||{});var Aq=/^[A-Za-z0-9_-]{1,64}$/,Oq=Object.values(jh);function q1(e){let t=e.structuredContent;if(!kt(t)||!kt(t.sign_in))return null;let{reason:r,line:a}=t.sign_in;return typeof a!="string"||a===""?null:{reason:typeof r=="string"&&Oq.includes(r)?r:"account",line:a,guest:t.sign_in.guest===!0,appBrowser:Bq(t.sign_in.app_browser)}}function Bq(e){return typeof e=="string"&&/^[A-Za-z][A-Za-z0-9 ]{0,31}$/.test(e)?e:null}var Mq=/^codex:\/\/browser\?url=[^\s#]+$/,Gh={status:"failed",error:null};function Fq(e){if(!Array.isArray(e))return[];let t=new Map;for(let r of e)!kt(r)||typeof r.id!="string"||!Aq.test(r.id)||typeof r.name!="string"||t.has(r.id)||t.set(r.id,{id:r.id,name:r.name});return[...t.values()]}var Pq=/^https:\/\/[^\s]+$/;function Dq(e){let t=typeof e.canvas_name=="string"&&e.canvas_name!==""?e.canvas_name:null,r=typeof e.designs=="number"&&Number.isInteger(e.designs)&&e.designs>=0?e.designs:null,a=typeof e.url=="string"&&Pq.test(e.url)?e.url:null;return t===null&&r===null&&a===null?null:{name:t,designs:r,url:a}}function UM(e){let t=e.structuredContent;if(!kt(t))return Gh;switch(t.status){case"signing_in":return{status:"signing_in",match_code:typeof t.match_code=="string"&&t.match_code!==""?t.match_code:null,openLink:typeof t.open_link=="string"&&Mq.test(t.open_link)?t.open_link:null,openNow:t.open_now===!0};case"claimed":return typeof t.canvas=="string"?{status:"claimed",canvas:t.canvas,moved:Dq(t),besideChat:t.beside_chat===!0}:Gh;case"needs_org":{let r=Fq(t.orgs);return r.length?{status:"needs_org",orgs:r}:Gh}case"claim_pending":return{status:"claim_pending"};case"signed_in":return{status:"signed_in"};case"guest":return{status:"guest"};case"failed":{let{error:r}=t;return{status:"failed",error:kt(r)&&typeof r.code=="string"&&typeof r.message=="string"&&r.message!==""?{code:r.code,message:r.message}:null}}default:return Gh}}var Hn=R(O());var uc="Your guest canvas comes with you, at the same link.",Nq=20,zM=30,Hq={canvas_full:{title:"Your guest canvas is full",body:`Sign in to keep designing. ${uc}`},second_canvas:{title:"Sign in to make more canvases",body:`A guest gets one canvas. ${uc}`},taste:{title:"Sign in to explore design directions",body:`Taste explores several directions before Kombai designs, and needs an account. ${uc}`},assets:{title:"Sign in to make AI images and video",body:`Kombai makes AI images and video with your account's credits, so they need an account. ${uc}`},repo_images:{title:"Sign in to use your project's images",body:`Guests can't upload images from this project. ${uc}`}};function VM(e){switch(e.reason){case"start":return e.guest?{title:"Kombai works best signed in",body:`Sign in for Taste, AI images and video, your project's images, design systems and sharing. Or try it without an account: one canvas, kept for ${zM} days.`}:{title:"Sign in to Kombai",body:"This machine has signed in to Kombai before. Sign in again to keep designing."};case"ending":return{title:"Keep your canvas",body:`${e.line} Sign in to keep it and every design on it.`};case"account":return{title:"Sign in to Kombai",body:`${e.line} ${uc}`};default:return Hq[e.reason]}}function qM(e){return e?`Opens Kombai in ${e}\u2019s browser.`:"Opens Kombai in your browser."}function $M(e){let t=e?`${e}\u2019s browser`:"your browser";return{title:`Approve in ${t}`,body:`Check that ${t} shows this code, then approve.`}}var Wh={status:"Waiting for approval\u2026",reopen:"Open the page again",cancel:"Cancel"},cc={title:"You're signed in",body:"This canvas is now in your Kombai account, at the same link.",open:"Open canvas",next:"Tell your agent to carry on.",besideChat:"Ask your agent to show it beside this chat, or to carry on."},$1={title:"You're signed in",body:"Tell your agent to carry on."},GM="Try without an account",Kh={title:"You're trying Kombai as a guest",body:`One canvas with up to ${Nq} designs, kept for ${zM} days. Sign in any time to keep it.`,next:"Tell your agent to carry on."},G1=["Explore directions with Taste","Make AI images and video","Make more canvases","Use your project's images","Share canvases with your team"];function jM(e){return e===null?null:e===1?"1 design":`${e} designs`}var j1={title:"Your canvas is still moving",body:"You're signed in, but moving this canvas into your account didn't finish."},W1={title:"Choose where this canvas goes",body:"You're in more than one organization. The canvas moves into the one you pick."};var zr=R(ka());function Nn({title:e,body:t,guest:r=!0,done:a=!1,children:o}){return(0,zr.jsxs)(qh,{"aria-live":"polite",children:[(0,zr.jsx)(Hf,{title:e,body:t,guest:r,done:a}),o]})}var Uq=Z(Uf)`
2646
2651
  display: flex;
2647
2652
  align-items: center;
2648
2653
  justify-content: space-between;
2649
2654
  gap: ${e=>e.theme.spacing.md};
2650
2655
  padding: ${e=>e.theme.spacing.md} ${e=>e.theme.spacing.lg};
2651
- `,Uq=Z.code`
2656
+ `,zq=Z.code`
2652
2657
  font-family: var(--vscode-editor-font-family, ui-monospace, Menlo, monospace);
2653
2658
  font-size: 20px;
2654
2659
  font-weight: 600;
2655
2660
  letter-spacing: 0.12em;
2656
2661
  color: var(--vscode-foreground);
2657
- `,zq=qR`
2662
+ `,Vq=qR`
2658
2663
  to { transform: rotate(360deg); }
2659
- `,Vq=Z.span`
2664
+ `,qq=Z.span`
2660
2665
  flex: none;
2661
2666
  width: 14px;
2662
2667
  height: 14px;
2663
2668
  border: 2px solid color-mix(in srgb, var(--vscode-foreground) 20%, transparent);
2664
2669
  border-top-color: var(--primary, #48de94);
2665
2670
  border-radius: 50%;
2666
- animation: ${zq} 0.9s linear infinite;
2671
+ animation: ${Vq} 0.9s linear infinite;
2667
2672
  @media (prefers-reduced-motion: reduce) {
2668
2673
  animation: none;
2669
2674
  }
2670
- `,qq=Z(oo)`
2675
+ `,$q=Z(oo)`
2671
2676
  display: flex;
2672
2677
  align-items: center;
2673
2678
  gap: ${e=>e.theme.spacing.sm};
2674
- `;function WM({matchCode:e,status:t}){return(0,zr.jsxs)(Hq,{children:[e&&(0,zr.jsx)(Uq,{"aria-label":`Match code ${e}`,children:e}),(0,zr.jsxs)(qq,{role:"status",children:[(0,zr.jsx)(Vq,{"aria-hidden":!0}),t]})]})}var KM=Z.div`
2679
+ `;function WM({matchCode:e,status:t}){return(0,zr.jsxs)(Uq,{children:[e&&(0,zr.jsx)(zq,{"aria-label":`Match code ${e}`,children:e}),(0,zr.jsxs)($q,{role:"status",children:[(0,zr.jsx)(qq,{"aria-hidden":!0}),t]})]})}var KM=Z.div`
2675
2680
  display: flex;
2676
2681
  flex-direction: column;
2677
2682
  gap: ${e=>e.theme.spacing.sm};
2678
- `,$q=Z(Uf)`
2683
+ `,Gq=Z(Uf)`
2679
2684
  display: flex;
2680
2685
  align-items: center;
2681
2686
  gap: ${e=>e.theme.spacing.md};
2682
2687
  padding: 10px;
2683
2688
  min-width: 0;
2684
- `,Gq=Z.span`
2689
+ `,jq=Z.span`
2685
2690
  flex: none;
2686
2691
  width: 48px;
2687
2692
  height: 36px;
@@ -2693,17 +2698,17 @@ body {
2693
2698
  linear-gradient(color-mix(in srgb, var(--vscode-foreground) 22%, transparent), transparent) 26px 7px / 15px 22px
2694
2699
  no-repeat,
2695
2700
  color-mix(in srgb, var(--vscode-foreground) 8%, transparent);
2696
- `,jq=Z.div`
2701
+ `,Wq=Z.div`
2697
2702
  display: flex;
2698
2703
  flex-direction: column;
2699
2704
  min-width: 0;
2700
- `,Wq=Z.span`
2705
+ `,Kq=Z.span`
2701
2706
  font-weight: 600;
2702
2707
  color: var(--vscode-foreground);
2703
2708
  overflow: hidden;
2704
2709
  text-overflow: ellipsis;
2705
2710
  white-space: nowrap;
2706
- `;function YM({name:e,detail:t}){return(0,zr.jsxs)($q,{children:[(0,zr.jsx)(Gq,{"aria-hidden":!0}),(0,zr.jsxs)(jq,{children:[(0,zr.jsx)(Wq,{children:e}),t&&(0,zr.jsx)(oo,{children:t})]})]})}var Kq=Z.ul`
2711
+ `;function YM({name:e,detail:t}){return(0,zr.jsxs)(Gq,{children:[(0,zr.jsx)(jq,{"aria-hidden":!0}),(0,zr.jsxs)(Wq,{children:[(0,zr.jsx)(Kq,{children:e}),t&&(0,zr.jsx)(oo,{children:t})]})]})}var Yq=Z.ul`
2707
2712
  display: grid;
2708
2713
  grid-template-columns: 1fr 1fr;
2709
2714
  gap: ${e=>e.theme.spacing.xs_1} ${e=>e.theme.spacing.xl};
@@ -2720,7 +2725,7 @@ body {
2720
2725
  flex: none;
2721
2726
  color: var(--primary, #48de94);
2722
2727
  }
2723
- `;function K1({items:e}){return(0,zr.jsx)(Kq,{"aria-label":"Included with your account",children:e.map(t=>(0,zr.jsxs)("li",{children:[(0,zr.jsx)(bs,{size:13,strokeWidth:2.5,"aria-hidden":!0}),t]},t))})}var Xe=R(ka()),XM="chat_sign_in",Xq="chat_guest",Qq=20,Zq=11*6e4,Y1="Sign-in didn't finish.";var no={state:"idle",matchCode:null,orgs:[],failure:Y1,moved:null,besideChat:!1,openLink:null};function Jq(e,t){switch(e.status){case"signing_in":return{...no,state:"waiting",matchCode:e.match_code??t.matchCode,openLink:e.openLink??t.openLink};case"claimed":return{...no,state:"claimed",moved:e.moved,besideChat:e.besideChat};case"needs_org":return{...no,state:"needs_org",orgs:e.orgs};case"claim_pending":return{...no,state:"pending"};case"signed_in":return{...no,state:"signed_in"};case"guest":return{...no,state:"guest"};case"failed":return{...no,state:"failed",failure:e.error?.message??Y1}}}function QM({data:e,host:t,subsystem:r,intro:a}){let[o,n]=(0,Hn.useState)(no),[i,s]=(0,Hn.useState)(!1),l=(0,Hn.useRef)(!1),u=(0,Hn.useRef)(0),c=(0,Hn.useRef)(!0);(0,Hn.useEffect)(()=>(c.current=!0,()=>{c.current=!1}),[]);let d=p=>void t.openLink(p).catch(v=>Nr(v,{tags:{subsystem:r}})),f=async(p,v=XM)=>{if(l.current)return;l.current=!0;let b=++u.current,C=()=>c.current&&u.current===b;s(!0);let L=p,x=no,I=Date.now()+Zq;try{for(;;){let E=UM(await t.callTool(v,L));if(!C())return;if(E.status==="signing_in"&&Date.now()>=I){n({...no,state:"failed"});return}if(x=Jq(E,x),n(x),E.status==="signing_in"&&E.openNow&&x.openLink&&d(x.openLink),E.status!=="signing_in")return;L={wait:Qq}}}catch(E){Nr(E,{tags:{subsystem:r}}),C()&&n({...no,state:"failed",failure:E instanceof Error&&E.message?E.message:Y1})}finally{u.current===b&&(l.current=!1,c.current&&s(!1))}},m=()=>{u.current++,l.current=!1,s(!1),n(no)},h=()=>o.openLink?d(o.openLink):void t.callTool(XM,{reopen:!0}).catch(p=>Nr(p,{tags:{subsystem:r}})),y=e.reason==="start"&&e.guest,S=(p,v=!0)=>(0,Xe.jsxs)(Yo,{children:[v&&(0,Xe.jsx)(Vh,{children:qM(e.appBrowser)}),y&&(0,Xe.jsx)(Aa,{type:"button",$look:"outline",disabled:i,onClick:()=>void f({},Xq),children:GM}),(0,Xe.jsx)(Aa,{type:"button",disabled:i,onClick:()=>void f({wait:0}),children:p})]}),g=a??VM(e);switch(o.state){case"idle":return(0,Xe.jsx)(Nn,{guest:e.reason!=="start",title:g.title,body:g.body,children:S("Sign in")});case"waiting":{let p=$M(e.appBrowser);return(0,Xe.jsxs)(Nn,{title:p.title,body:p.body,children:[(0,Xe.jsx)(WM,{matchCode:o.matchCode,status:Wh.status}),(0,Xe.jsxs)(Yo,{children:[(0,Xe.jsx)(Aa,{type:"button",$look:"plain",onClick:m,children:Wh.cancel}),(0,Xe.jsx)(Aa,{type:"button",$look:"outline",onClick:h,children:Wh.reopen})]})]})}case"claimed":{let{moved:p,besideChat:v}=o,b=v?null:p?.url;return(0,Xe.jsxs)(Nn,{guest:!1,done:!0,title:cc.title,body:cc.body,children:[p?.name?(0,Xe.jsx)(YM,{name:p.name,detail:jM(p.designs)}):(0,Xe.jsx)(K1,{items:G1}),(0,Xe.jsxs)(Yo,{children:[(0,Xe.jsx)(Vh,{children:v?cc.besideChat:cc.next}),b&&(0,Xe.jsx)(Aa,{type:"button",$look:"outline",onClick:()=>d(b),children:cc.open})]})]})}case"needs_org":return(0,Xe.jsx)(Nn,{title:W1.title,body:W1.body,children:(0,Xe.jsx)(KM,{children:o.orgs.map(p=>(0,Xe.jsx)(wM,{disabled:i,onClick:()=>void f({claimOrg:p.id}),children:p.name},p.id))})});case"pending":return(0,Xe.jsx)(Nn,{guest:!1,title:j1.title,body:j1.body,children:S("Try again",!1)});case"guest":return(0,Xe.jsx)(Nn,{done:!0,title:Kh.title,body:Kh.body,children:(0,Xe.jsxs)(Yo,{children:[(0,Xe.jsx)(Vh,{children:Kh.next}),(0,Xe.jsx)(Aa,{type:"button",$look:"outline",disabled:i,onClick:()=>void f({wait:0}),children:"Sign in"})]})});case"signed_in":return(0,Xe.jsx)(Nn,{guest:!1,done:!0,title:$1.title,body:$1.body,children:(0,Xe.jsx)(K1,{items:G1})});case"failed":return(0,Xe.jsxs)(Nn,{title:g.title,body:g.body,children:[(0,Xe.jsx)(lc,{children:o.failure}),S("Sign in")]})}}var q=R(ka()),dc="mcp-plans",e$=new Set(["team_plan","plans_unavailable"]);function t$(e){let t=/^(.*?)\s*\(([A-Z][A-Z0-9_]*)\)\.?$/.exec(e);return t?{message:`${t[1]}.`,code:t[2]}:{message:e,code:null}}var Q1=e=>e.replace(/^[a-z_]+: /,"");function a4(e){let t=q1(e);if(t)return t;let r=e.structuredContent;if(e.isError!==!0&&kt(r)&&kt(r.plans)&&kt(r.account))return r;let a=AM(e);try{let o=a?JSON.parse(a):null;if(kt(o)&&o.error_code==="plans_unavailable")return{message:"Kombai can't show its plans here. You can buy in the Kombai app.",plansLink:kt(o.plans_link)?o.plans_link:null,info:!0};if(kt(o)){let n=typeof o.error_message=="string"?Q1(o.error_message):"Kombai could not load its plans.";return{...typeof o.error_code=="string"&&e$.has(o.error_code)?{message:n,info:!0}:t$(n),plansLink:kt(o.plans_link)?o.plans_link:null}}}catch{}return{message:a?Q1(a):"Kombai could not load its plans.",plansLink:null}}function r$(e){return{lookupKey:e.lookup_key,subscriptionStatus:e.subscription_status,fetchState:e.fetch_state,remainingCredits:e.remaining_credits,totalCredits:e.total_credits}}var a$=Z.div`
2728
+ `;function K1({items:e}){return(0,zr.jsx)(Yq,{"aria-label":"Included with your account",children:e.map(t=>(0,zr.jsxs)("li",{children:[(0,zr.jsx)(bs,{size:13,strokeWidth:2.5,"aria-hidden":!0}),t]},t))})}var Xe=R(ka()),XM="chat_sign_in",Qq="chat_guest",Zq=20,Jq=11*6e4,Y1="Sign-in didn't finish.";var no={state:"idle",matchCode:null,orgs:[],failure:Y1,moved:null,besideChat:!1,openLink:null};function e$(e,t){switch(e.status){case"signing_in":return{...no,state:"waiting",matchCode:e.match_code??t.matchCode,openLink:e.openLink??t.openLink};case"claimed":return{...no,state:"claimed",moved:e.moved,besideChat:e.besideChat};case"needs_org":return{...no,state:"needs_org",orgs:e.orgs};case"claim_pending":return{...no,state:"pending"};case"signed_in":return{...no,state:"signed_in"};case"guest":return{...no,state:"guest"};case"failed":return{...no,state:"failed",failure:e.error?.message??Y1}}}function QM({data:e,host:t,subsystem:r,intro:a}){let[o,n]=(0,Hn.useState)(no),[i,s]=(0,Hn.useState)(!1),l=(0,Hn.useRef)(!1),u=(0,Hn.useRef)(0),c=(0,Hn.useRef)(!0);(0,Hn.useEffect)(()=>(c.current=!0,()=>{c.current=!1}),[]);let d=p=>void t.openLink(p).catch(v=>Nr(v,{tags:{subsystem:r}})),f=async(p,v=XM)=>{if(l.current)return;l.current=!0;let b=++u.current,C=()=>c.current&&u.current===b;s(!0);let L=p,x=no,I=Date.now()+Jq;try{for(;;){let E=UM(await t.callTool(v,L));if(!C())return;if(E.status==="signing_in"&&Date.now()>=I){n({...no,state:"failed"});return}if(x=e$(E,x),n(x),E.status==="signing_in"&&E.openNow&&x.openLink&&d(x.openLink),E.status!=="signing_in")return;L={wait:Zq}}}catch(E){Nr(E,{tags:{subsystem:r}}),C()&&n({...no,state:"failed",failure:E instanceof Error&&E.message?E.message:Y1})}finally{u.current===b&&(l.current=!1,c.current&&s(!1))}},m=()=>{u.current++,l.current=!1,s(!1),n(no)},h=()=>o.openLink?d(o.openLink):void t.callTool(XM,{reopen:!0}).catch(p=>Nr(p,{tags:{subsystem:r}})),y=e.reason==="start"&&e.guest,S=(p,v=!0)=>(0,Xe.jsxs)(Yo,{children:[v&&(0,Xe.jsx)(Vh,{children:qM(e.appBrowser)}),y&&(0,Xe.jsx)(Aa,{type:"button",$look:"outline",disabled:i,onClick:()=>void f({},Qq),children:GM}),(0,Xe.jsx)(Aa,{type:"button",disabled:i,onClick:()=>void f({wait:0}),children:p})]}),g=a??VM(e);switch(o.state){case"idle":return(0,Xe.jsx)(Nn,{guest:e.reason!=="start",title:g.title,body:g.body,children:S("Sign in")});case"waiting":{let p=$M(e.appBrowser);return(0,Xe.jsxs)(Nn,{title:p.title,body:p.body,children:[(0,Xe.jsx)(WM,{matchCode:o.matchCode,status:Wh.status}),(0,Xe.jsxs)(Yo,{children:[(0,Xe.jsx)(Aa,{type:"button",$look:"plain",onClick:m,children:Wh.cancel}),(0,Xe.jsx)(Aa,{type:"button",$look:"outline",onClick:h,children:Wh.reopen})]})]})}case"claimed":{let{moved:p,besideChat:v}=o,b=v?null:p?.url;return(0,Xe.jsxs)(Nn,{guest:!1,done:!0,title:cc.title,body:cc.body,children:[p?.name?(0,Xe.jsx)(YM,{name:p.name,detail:jM(p.designs)}):(0,Xe.jsx)(K1,{items:G1}),(0,Xe.jsxs)(Yo,{children:[(0,Xe.jsx)(Vh,{children:v?cc.besideChat:cc.next}),b&&(0,Xe.jsx)(Aa,{type:"button",$look:"outline",onClick:()=>d(b),children:cc.open})]})]})}case"needs_org":return(0,Xe.jsx)(Nn,{title:W1.title,body:W1.body,children:(0,Xe.jsx)(KM,{children:o.orgs.map(p=>(0,Xe.jsx)(wM,{disabled:i,onClick:()=>void f({claimOrg:p.id}),children:p.name},p.id))})});case"pending":return(0,Xe.jsx)(Nn,{guest:!1,title:j1.title,body:j1.body,children:S("Try again",!1)});case"guest":return(0,Xe.jsx)(Nn,{done:!0,title:Kh.title,body:Kh.body,children:(0,Xe.jsxs)(Yo,{children:[(0,Xe.jsx)(Vh,{children:Kh.next}),(0,Xe.jsx)(Aa,{type:"button",$look:"outline",disabled:i,onClick:()=>void f({wait:0}),children:"Sign in"})]})});case"signed_in":return(0,Xe.jsx)(Nn,{guest:!1,done:!0,title:$1.title,body:$1.body,children:(0,Xe.jsx)(K1,{items:G1})});case"failed":return(0,Xe.jsxs)(Nn,{title:g.title,body:g.body,children:[(0,Xe.jsx)(lc,{children:o.failure}),S("Sign in")]})}}var q=R(ka()),dc="mcp-plans",t$=new Set(["team_plan","plans_unavailable"]);function r$(e){let t=/^(.*?)\s*\(([A-Z][A-Z0-9_]*)\)\.?$/.exec(e);return t?{message:`${t[1]}.`,code:t[2]}:{message:e,code:null}}var Q1=e=>e.replace(/^[a-z_]+: /,"");function a4(e){let t=q1(e);if(t)return t;let r=e.structuredContent;if(e.isError!==!0&&kt(r)&&kt(r.plans)&&kt(r.account))return r;let a=AM(e);try{let o=a?JSON.parse(a):null;if(kt(o)&&o.error_code==="plans_unavailable")return{message:"Kombai can't show its plans here. You can buy in the Kombai app.",plansLink:kt(o.plans_link)?o.plans_link:null,info:!0};if(kt(o)){let n=typeof o.error_message=="string"?Q1(o.error_message):"Kombai could not load its plans.";return{...typeof o.error_code=="string"&&t$.has(o.error_code)?{message:n,info:!0}:r$(n),plansLink:kt(o.plans_link)?o.plans_link:null}}}catch{}return{message:a?Q1(a):"Kombai could not load its plans.",plansLink:null}}function a$(e){return{lookupKey:e.lookup_key,subscriptionStatus:e.subscription_status,fetchState:e.fetch_state,remainingCredits:e.remaining_credits,totalCredits:e.total_credits}}var o$=Z.div`
2724
2729
  display: grid;
2725
2730
  grid-template-columns: 1fr 1fr;
2726
2731
  padding: 2px;
@@ -2747,7 +2752,7 @@ body {
2747
2752
  text-align: right;
2748
2753
  font-variant-numeric: tabular-nums;
2749
2754
  color: ${e=>e.theme.colors.foreground.descriptionForeground};
2750
- `,o$=Z.div`
2755
+ `,n$=Z.div`
2751
2756
  display: flex;
2752
2757
  align-items: center;
2753
2758
  gap: ${e=>e.theme.spacing.md};
@@ -2756,7 +2761,7 @@ body {
2756
2761
  & > span:first-child {
2757
2762
  flex: 1;
2758
2763
  }
2759
- `,n$=Z.div`
2764
+ `,i$=Z.div`
2760
2765
  display: inline-flex;
2761
2766
  flex: none;
2762
2767
  align-items: center;
@@ -2785,7 +2790,7 @@ body {
2785
2790
  font-variant-numeric: tabular-nums;
2786
2791
  color: var(--vscode-foreground);
2787
2792
  }
2788
- `;function i$(e,t,r){let[a,o]=(0,At.useState)("idle"),[n,i]=(0,At.useState)(null),[s,l]=(0,At.useState)(null),u=async(f,m)=>{if(a!=="opening"){o("opening"),i(null),l({order:f,summary:m});try{let h=await e.callTool("chat_checkout",{workspace_root:t,...f,purchase_id:crypto.randomUUID()}),y=q1(h);if(y){o("idle"),r(y);return}let S=h.structuredContent;if(h.isError===!0||!kt(S)||S.opened_in_browser!==!0){let g=a4(h);throw new Error("message"in g?g.message:"Kombai did not open a payment page.")}o("opened")}catch(h){Nr(h,{tags:{subsystem:dc}}),i(Q1(h instanceof Error?h.message:String(h))),o("failed")}}};return{state:a,error:n,start:u,again:()=>s?void u(s.order,s.summary):void 0,reset:()=>{o("idle"),i(null)},summary:s?.summary??null}}var s$=Z(Uf)`
2793
+ `;function s$(e,t,r){let[a,o]=(0,At.useState)("idle"),[n,i]=(0,At.useState)(null),[s,l]=(0,At.useState)(null),u=async(f,m)=>{if(a!=="opening"){o("opening"),i(null),l({order:f,summary:m});try{let h=await e.callTool("chat_checkout",{workspace_root:t,...f,purchase_id:crypto.randomUUID()}),y=q1(h);if(y){o("idle"),r(y);return}let S=h.structuredContent;if(h.isError===!0||!kt(S)||S.opened_in_browser!==!0){let g=a4(h);throw new Error("message"in g?g.message:"Kombai did not open a payment page.")}o("opened")}catch(h){Nr(h,{tags:{subsystem:dc}}),i(Q1(h instanceof Error?h.message:String(h))),o("failed")}}};return{state:a,error:n,start:u,again:()=>s?void u(s.order,s.summary):void 0,reset:()=>{o("idle"),i(null)},summary:s?.summary??null}}var l$=Z(Uf)`
2789
2794
  display: flex;
2790
2795
  align-items: center;
2791
2796
  justify-content: space-between;
@@ -2795,7 +2800,7 @@ body {
2795
2800
  font-weight: 500;
2796
2801
  color: var(--vscode-foreground);
2797
2802
  }
2798
- `,l$=Z.div`
2803
+ `,u$=Z.div`
2799
2804
  font-size: var(--font-size-primary);
2800
2805
  line-height: 20px;
2801
2806
  color: ${e=>e.theme.colors.foreground.descriptionForeground};
@@ -2812,14 +2817,14 @@ body {
2812
2817
  }
2813
2818
  `,i4=Z(n4)`
2814
2819
  margin-right: auto;
2815
- `,u$=Z.div`
2820
+ `,c$=Z.div`
2816
2821
  display: flex;
2817
2822
  flex-direction: column;
2818
2823
  gap: ${e=>e.theme.spacing.md};
2819
2824
  &[hidden] {
2820
2825
  display: none;
2821
2826
  }
2822
- `;function c$(e,t,r){return e.frequency==="year"?{slashed:`$${e.slashedPrice}`,big:`$${e.priceToShow}`,per:"/ month, billed yearly"}:t?{slashed:`$${t.originalPrice}`,big:`$${t.discountedPrice}`,per:`first ${r}, then $${t.originalPrice} / ${r}`}:{big:`$${e.amount}`,per:`/ ${r}`}}var zf=e=>e.replace(/\d{4,}/g,t=>Number(t).toLocaleString("en-US"));function s4({parts:e}){return(0,q.jsxs)(q.Fragment,{children:[e.slashed&&(0,q.jsx)("s",{children:zf(e.slashed)}),(0,q.jsx)("b",{children:zf(e.big)})," ",zf(e.per)]})}function JM(e){let t=/^(.*?) \((.*)\)\s*(- current plan)?\s*$/.exec(e);return{name:zf(t?t[1]:e),price:t?zf(t[2]):"",current:!!t?.[3]}}var d$=Z.label`
2827
+ `;function d$(e,t,r){return e.frequency==="year"?{slashed:`$${e.slashedPrice}`,big:`$${e.priceToShow}`,per:"/ month, billed yearly"}:t?{slashed:`$${t.originalPrice}`,big:`$${t.discountedPrice}`,per:`first ${r}, then $${t.originalPrice} / ${r}`}:{big:`$${e.amount}`,per:`/ ${r}`}}var zf=e=>e.replace(/\d{4,}/g,t=>Number(t).toLocaleString("en-US"));function s4({parts:e}){return(0,q.jsxs)(q.Fragment,{children:[e.slashed&&(0,q.jsx)("s",{children:zf(e.slashed)}),(0,q.jsx)("b",{children:zf(e.big)})," ",zf(e.per)]})}function JM(e){let t=/^(.*?) \((.*)\)\s*(- current plan)?\s*$/.exec(e);return{name:zf(t?t[1]:e),price:t?zf(t[2]):"",current:!!t?.[3]}}var f$=Z.label`
2823
2828
  display: flex;
2824
2829
  align-items: center;
2825
2830
  gap: ${e=>e.theme.spacing.md};
@@ -2852,4 +2857,4 @@ body {
2852
2857
  outline: 2px solid var(--primary, #48de94);
2853
2858
  outline-offset: 1px;
2854
2859
  }
2855
- `;function f$({data:e,checkout:t}){let r=(0,At.useMemo)(()=>r$(e.account),[e.account]),a=(0,At.useMemo)(()=>SM(e.plans,!1),[e.plans]),[o,n]=(0,At.useState)(()=>CM(e.account.lookup_key)),i=LM(e.plans,o,a),[s,l]=(0,At.useState)(null),{selectOptions:u,selectedLookupKey:c}=(0,At.useMemo)(()=>bM(e.plans,i,r,s),[e.plans,i,r,s]),d=Su(e.plans,i).find(b=>b.lookupKey===c),f=Cg(d,r),m=d?c$(d,f,Sg(e.plans,i)):null,h=t.state,y=t.error,S=u.find(b=>b.value===c)?.label,g=S?JM(S).name:null,p=g?.split(" / ")[0]??null,v=()=>{c&&m&&g&&t.start({lookup_key:c},{title:g,price:m})};return(0,q.jsxs)(q.Fragment,{children:[a.length>1&&(0,q.jsx)(IM,{intervals:a,value:i,onChange:b=>{n(b),l(null)},align:"start",disabled:h==="opening"}),(0,q.jsx)(z1,{role:"radiogroup","aria-label":"Plan",children:u.map(b=>{let C=JM(b.label);return(0,q.jsxs)(d$,{$selected:b.value===c,$disabled:!!b.disabled,children:[(0,q.jsx)("input",{type:"radio",name:"kombai-plan",value:b.value,checked:b.value===c,disabled:!!b.disabled||h==="opening",onChange:()=>l(b.value)}),(0,q.jsx)("span",{children:C.name}),C.current&&(0,q.jsx)(oo,{children:"Current plan"}),(0,q.jsx)(o4,{children:C.price})]},b.value)})}),y&&(0,q.jsx)(lc,{children:y}),(0,q.jsxs)(Yo,{children:[m&&(0,q.jsxs)(i4,{children:[(0,q.jsx)(s4,{parts:m}),p&&` \xB7 ${p}`]}),(0,q.jsx)(Aa,{type:"button",disabled:!c||h==="opening",onClick:v,children:h==="opening"?"Processing\u2026":"Buy"})]})]})}function p$({data:e,checkout:t}){let r=(0,At.useMemo)(()=>[...e.plans.creditPacks??[]].sort((c,d)=>c.credits-d.credits),[e.plans.creditPacks]),[a,o]=(0,At.useState)(()=>r.length?{[r[0].lookupKey]:1}:{}),n=r.filter(c=>(a[c.lookupKey]??0)>0).map(c=>({lookup_key:c.lookupKey,quantity:a[c.lookupKey]})),i=r.reduce((c,d)=>c+d.credits*(a[d.lookupKey]??0),0),s=r.reduce((c,d)=>c+d.amount*(a[d.lookupKey]??0),0),l=t.state==="opening",u=(c,d)=>o(f=>({...f,[c]:Math.max(0,(f[c]??0)+d)}));return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(oo,{children:"Credits you buy once are added now and do not renew."}),(0,q.jsx)(z1,{children:r.map(c=>{let d=a[c.lookupKey]??0;return(0,q.jsxs)(o$,{children:[(0,q.jsxs)("span",{children:[c.credits.toLocaleString("en-US")," credits"]}),(0,q.jsxs)(o4,{children:["$",c.amount]}),(0,q.jsxs)(n$,{children:[(0,q.jsx)("button",{type:"button","aria-label":`One fewer ${c.credits} credit pack`,disabled:d===0||l,onClick:()=>u(c.lookupKey,-1),children:(0,q.jsx)(xd,{size:12,"aria-hidden":!0})}),(0,q.jsx)("span",{children:d}),(0,q.jsx)("button",{type:"button","aria-label":`One more ${c.credits} credit pack`,disabled:l,onClick:()=>u(c.lookupKey,1),children:(0,q.jsx)(Sd,{size:12,"aria-hidden":!0})})]})]},c.lookupKey)})}),t.error&&(0,q.jsx)(lc,{children:t.error}),(0,q.jsxs)(Yo,{children:[(0,q.jsx)(i4,{children:n.length?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)("b",{children:["$",s]})," \xB7 ",i.toLocaleString("en-US")," credits"]}):"Pick a pack"}),(0,q.jsx)(Aa,{type:"button",disabled:!n.length||l,onClick:()=>void t.start({credit_packs:n},{title:`${i.toLocaleString("en-US")} one-time credits`,price:{big:`$${s}`,per:"once"}}),children:l?"Processing\u2026":"Buy"})]})]})}var e4=e=>iT(e).toLocaleString("en-US");var m$=e=>e.account.subscription_status!=="Free"&&!e.account.payment_due&&!!e.plans.creditPacks?.length;function g$({data:e,host:t,onSignIn:r}){let a=m$(e),[o,n]=(0,At.useState)("plans"),i=i$(t,e.workspace_root,r),s=i.state==="opened";return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Hf,{title:"Kombai plans",aside:`${e4(e.account.remaining_credits)} of ${e4(e.account.total_credits)} credits left`}),s&&(0,q.jsxs)(q.Fragment,{children:[i.summary&&(0,q.jsxs)(s$,{children:[(0,q.jsx)("span",{children:i.summary.title}),(0,q.jsx)(n4,{children:(0,q.jsx)(s4,{parts:i.summary.price})})]}),(0,q.jsx)(l$,{children:"The payment page is open in your browser. When you've paid, come back here and tell your agent to continue."}),(0,q.jsxs)(Yo,{children:[(0,q.jsx)(Aa,{type:"button",$look:"plain",onClick:i.reset,children:"Back to plans"}),(0,q.jsx)(Aa,{type:"button",$look:"outline",onClick:i.again,children:"Re-open the payment page"})]})]}),(0,q.jsxs)(u$,{hidden:s,children:[a&&(0,q.jsxs)(a$,{role:"tablist","aria-label":"What to buy",children:[(0,q.jsx)(ZM,{type:"button",role:"tab","aria-selected":o==="plans",$on:o==="plans",onClick:()=>n("plans"),children:"Plans"}),(0,q.jsx)(ZM,{type:"button",role:"tab","aria-selected":o==="credits",$on:o==="credits",onClick:()=>n("credits"),children:"One-time credits"})]}),o==="credits"&&a?(0,q.jsx)(p$,{data:e,checkout:i}):(0,q.jsx)(f$,{data:e,checkout:i})]})]})}var t4=e=>Math.ceil(e.getBoundingClientRect().bottom);function v$(){let e=(0,At.useRef)(null),[t,r]=(0,At.useState)(null),[a,o]=(0,At.useState)(null),[n,i]=(0,At.useState)(null),[s,l]=(0,At.useState)(null);(0,At.useEffect)(()=>{l(OM({name:"kombai-plans",version:window.__kombaiPlans?.appVersion??"unknown",subsystem:dc},{onTheme:V1,onToolResult:c=>{let d=a4(c);"plans"in d?(r(d),i(null),o(null)):"line"in d?(i(d),r(null),o(null)):(o(d),r(null),i(null))},onFailure:c=>o({message:c,plansLink:null})}))},[]),(0,At.useEffect)(()=>{let c=e.current;if(!c||!s)return;let d=new ResizeObserver(()=>s.reportHeight(t4(c)));return d.observe(c),()=>d.disconnect()},[s]),(0,At.useEffect)(()=>{let c=e.current;c&&s&&s.reportHeight(t4(c))},[s,t,a,n]);let u;return a?u=(0,q.jsxs)(qh,{children:[(0,q.jsx)(Hf,{title:"Kombai plans",body:a.info?a.message:void 0}),!a.info&&(0,q.jsx)(lc,{code:a.code,children:a.message}),a.plansLink&&s&&(0,q.jsx)(Yo,{children:(0,q.jsx)(Aa,{type:"button",$look:"outline",onClick:()=>void s.openLink(a.plansLink.url).catch(c=>{Nr(c,{tags:{subsystem:dc}})}),children:"Open Kombai's plans"})})]}):n&&s?u=(0,q.jsx)(Nf,{subsystem:dc,fallback:(0,q.jsx)(oo,{children:"Kombai could not draw its sign-in here."}),children:(0,q.jsx)(QM,{data:n,host:s,subsystem:dc})}):!t||!s?u=(0,q.jsx)(oo,{children:"Loading Kombai plans\u2026"}):u=(0,q.jsx)(Nf,{subsystem:dc,fallback:(0,q.jsx)(oo,{children:"Kombai could not draw its plans here."}),children:(0,q.jsx)(g$,{data:t,host:s,onSignIn:i})}),(0,q.jsx)(TM,{ref:e,children:u})}var X1=document.getElementById("kombai-plans");X1&&(X1.replaceChildren(),(0,r4.createRoot)(X1).render((0,q.jsx)(gM,{children:(0,q.jsx)(v$,{})})));})();
2860
+ `;function p$({data:e,checkout:t}){let r=(0,At.useMemo)(()=>a$(e.account),[e.account]),a=(0,At.useMemo)(()=>SM(e.plans,!1),[e.plans]),[o,n]=(0,At.useState)(()=>CM(e.account.lookup_key)),i=LM(e.plans,o,a),[s,l]=(0,At.useState)(null),{selectOptions:u,selectedLookupKey:c}=(0,At.useMemo)(()=>bM(e.plans,i,r,s),[e.plans,i,r,s]),d=Su(e.plans,i).find(b=>b.lookupKey===c),f=Cg(d,r),m=d?d$(d,f,Sg(e.plans,i)):null,h=t.state,y=t.error,S=u.find(b=>b.value===c)?.label,g=S?JM(S).name:null,p=g?.split(" / ")[0]??null,v=()=>{c&&m&&g&&t.start({lookup_key:c},{title:g,price:m})};return(0,q.jsxs)(q.Fragment,{children:[a.length>1&&(0,q.jsx)(IM,{intervals:a,value:i,onChange:b=>{n(b),l(null)},align:"start",disabled:h==="opening"}),(0,q.jsx)(z1,{role:"radiogroup","aria-label":"Plan",children:u.map(b=>{let C=JM(b.label);return(0,q.jsxs)(f$,{$selected:b.value===c,$disabled:!!b.disabled,children:[(0,q.jsx)("input",{type:"radio",name:"kombai-plan",value:b.value,checked:b.value===c,disabled:!!b.disabled||h==="opening",onChange:()=>l(b.value)}),(0,q.jsx)("span",{children:C.name}),C.current&&(0,q.jsx)(oo,{children:"Current plan"}),(0,q.jsx)(o4,{children:C.price})]},b.value)})}),y&&(0,q.jsx)(lc,{children:y}),(0,q.jsxs)(Yo,{children:[m&&(0,q.jsxs)(i4,{children:[(0,q.jsx)(s4,{parts:m}),p&&` \xB7 ${p}`]}),(0,q.jsx)(Aa,{type:"button",disabled:!c||h==="opening",onClick:v,children:h==="opening"?"Processing\u2026":"Buy"})]})]})}function m$({data:e,checkout:t}){let r=(0,At.useMemo)(()=>[...e.plans.creditPacks??[]].sort((c,d)=>c.credits-d.credits),[e.plans.creditPacks]),[a,o]=(0,At.useState)(()=>r.length?{[r[0].lookupKey]:1}:{}),n=r.filter(c=>(a[c.lookupKey]??0)>0).map(c=>({lookup_key:c.lookupKey,quantity:a[c.lookupKey]})),i=r.reduce((c,d)=>c+d.credits*(a[d.lookupKey]??0),0),s=r.reduce((c,d)=>c+d.amount*(a[d.lookupKey]??0),0),l=t.state==="opening",u=(c,d)=>o(f=>({...f,[c]:Math.max(0,(f[c]??0)+d)}));return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(oo,{children:"Credits you buy once are added now and do not renew."}),(0,q.jsx)(z1,{children:r.map(c=>{let d=a[c.lookupKey]??0;return(0,q.jsxs)(n$,{children:[(0,q.jsxs)("span",{children:[c.credits.toLocaleString("en-US")," credits"]}),(0,q.jsxs)(o4,{children:["$",c.amount]}),(0,q.jsxs)(i$,{children:[(0,q.jsx)("button",{type:"button","aria-label":`One fewer ${c.credits} credit pack`,disabled:d===0||l,onClick:()=>u(c.lookupKey,-1),children:(0,q.jsx)(xd,{size:12,"aria-hidden":!0})}),(0,q.jsx)("span",{children:d}),(0,q.jsx)("button",{type:"button","aria-label":`One more ${c.credits} credit pack`,disabled:l,onClick:()=>u(c.lookupKey,1),children:(0,q.jsx)(Sd,{size:12,"aria-hidden":!0})})]})]},c.lookupKey)})}),t.error&&(0,q.jsx)(lc,{children:t.error}),(0,q.jsxs)(Yo,{children:[(0,q.jsx)(i4,{children:n.length?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)("b",{children:["$",s]})," \xB7 ",i.toLocaleString("en-US")," credits"]}):"Pick a pack"}),(0,q.jsx)(Aa,{type:"button",disabled:!n.length||l,onClick:()=>void t.start({credit_packs:n},{title:`${i.toLocaleString("en-US")} one-time credits`,price:{big:`$${s}`,per:"once"}}),children:l?"Processing\u2026":"Buy"})]})]})}var e4=e=>iT(e).toLocaleString("en-US");var g$=e=>e.account.subscription_status!=="Free"&&!e.account.payment_due&&!!e.plans.creditPacks?.length;function v$({data:e,host:t,onSignIn:r}){let a=g$(e),[o,n]=(0,At.useState)("plans"),i=s$(t,e.workspace_root,r),s=i.state==="opened";return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Hf,{title:"Kombai plans",aside:`${e4(e.account.remaining_credits)} of ${e4(e.account.total_credits)} credits left`}),s&&(0,q.jsxs)(q.Fragment,{children:[i.summary&&(0,q.jsxs)(l$,{children:[(0,q.jsx)("span",{children:i.summary.title}),(0,q.jsx)(n4,{children:(0,q.jsx)(s4,{parts:i.summary.price})})]}),(0,q.jsx)(u$,{children:"The payment page is open in your browser. When you've paid, come back here and tell your agent to continue."}),(0,q.jsxs)(Yo,{children:[(0,q.jsx)(Aa,{type:"button",$look:"plain",onClick:i.reset,children:"Back to plans"}),(0,q.jsx)(Aa,{type:"button",$look:"outline",onClick:i.again,children:"Re-open the payment page"})]})]}),(0,q.jsxs)(c$,{hidden:s,children:[a&&(0,q.jsxs)(o$,{role:"tablist","aria-label":"What to buy",children:[(0,q.jsx)(ZM,{type:"button",role:"tab","aria-selected":o==="plans",$on:o==="plans",onClick:()=>n("plans"),children:"Plans"}),(0,q.jsx)(ZM,{type:"button",role:"tab","aria-selected":o==="credits",$on:o==="credits",onClick:()=>n("credits"),children:"One-time credits"})]}),o==="credits"&&a?(0,q.jsx)(m$,{data:e,checkout:i}):(0,q.jsx)(p$,{data:e,checkout:i})]})]})}var t4=e=>Math.ceil(e.getBoundingClientRect().bottom);function h$(){let e=(0,At.useRef)(null),[t,r]=(0,At.useState)(null),[a,o]=(0,At.useState)(null),[n,i]=(0,At.useState)(null),[s,l]=(0,At.useState)(null);(0,At.useEffect)(()=>{l(OM({name:"kombai-plans",version:window.__kombaiPlans?.appVersion??"unknown",subsystem:dc},{onTheme:V1,onToolResult:c=>{let d=a4(c);"plans"in d?(r(d),i(null),o(null)):"line"in d?(i(d),r(null),o(null)):(o(d),r(null),i(null))},onFailure:c=>o({message:c,plansLink:null})}))},[]),(0,At.useEffect)(()=>{let c=e.current;if(!c||!s)return;let d=new ResizeObserver(()=>s.reportHeight(t4(c)));return d.observe(c),()=>d.disconnect()},[s]),(0,At.useEffect)(()=>{let c=e.current;c&&s&&s.reportHeight(t4(c))},[s,t,a,n]);let u;return a?u=(0,q.jsxs)(qh,{children:[(0,q.jsx)(Hf,{title:"Kombai plans",body:a.info?a.message:void 0}),!a.info&&(0,q.jsx)(lc,{code:a.code,children:a.message}),a.plansLink&&s&&(0,q.jsx)(Yo,{children:(0,q.jsx)(Aa,{type:"button",$look:"outline",onClick:()=>void s.openLink(a.plansLink.url).catch(c=>{Nr(c,{tags:{subsystem:dc}})}),children:"Open Kombai's plans"})})]}):n&&s?u=(0,q.jsx)(Nf,{subsystem:dc,fallback:(0,q.jsx)(oo,{children:"Kombai could not draw its sign-in here."}),children:(0,q.jsx)(QM,{data:n,host:s,subsystem:dc})}):!t||!s?u=(0,q.jsx)(oo,{children:"Loading Kombai plans\u2026"}):u=(0,q.jsx)(Nf,{subsystem:dc,fallback:(0,q.jsx)(oo,{children:"Kombai could not draw its plans here."}),children:(0,q.jsx)(v$,{data:t,host:s,onSignIn:i})}),(0,q.jsx)(TM,{ref:e,children:u})}var X1=document.getElementById("kombai-plans");X1&&(X1.replaceChildren(),(0,r4.createRoot)(X1).render((0,q.jsx)(gM,{children:(0,q.jsx)(h$,{})})));})();